This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const h = { | |
| jn: { | |
| ...this.m, | |
| c: 3, | |
| m: { | |
| d: 4, | |
| e: 5, | |
| }, | |
| }, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { apiCall } from '../apiTasks/apiUtils.ts'; | |
| export default function useAddBookForm() { | |
| const [name, setName] = useState<string>(''); | |
| const [author, setAuthor] = useState<string>(''); | |
| const [description, setDescription] = useState<string>(''); | |
| const [image, setImage] = useState<string>(''); | |
| const [qrCode, setQrCode] = useState<string>(''); | |
| const [amount, setAmount] = useState<number>(1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useEffect, useRef, useState } from 'react'; | |
| import { BrowserMultiFormatReader, IScannerControls } from '@zxing/browser'; | |
| const BarcodeScanner = ({ onResult }: { onResult: (text: string) => void }) => { | |
| const videoRef = useRef<HTMLVideoElement | null>(null); | |
| const codeReader = useRef(new BrowserMultiFormatReader()); | |
| const [controls, setControls] = useState<IScannerControls | null>(null); | |
| const [devices, setDevices] = useState<MediaDeviceInfo[]>([]); | |
| const [selectedDeviceId, setSelectedDeviceId] = useState<string | null>(null); | |
| const [scanning, setScanning] = useState(false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <h1>{{message.sender}}:{{message.content}}</h1> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| name: "Standart", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class="w-25"> | |
| <h1>Register for Business</h1> | |
| <form @submit.prevent="registerBusiness"> | |
| <div class="form-group mb-3 d-flex "> | |
| <label for="businessName" class="input-group-text">Business Name:</label> | |
| <input class="form-control" type="text" v-model="newBusiness.businessName" /> | |
| </div> | |
| <div class="form-group mb-3 d-flex "> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "server", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "src/app.ts", | |
| "scripts": { | |
| "start": "node dist/app.js", | |
| "build": "tsc", | |
| "watch": "nodemon src/app.ts", | |
| "test": "jest --watchAll --detectOpenHandles", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>סרטוני הדרכה</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| direction: rtl; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>סרטוני הדרכה</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| direction: rtl; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>סרטוני הדרכ</title> | |
| <style> | |
| body { | |
| text-align: center; | |
| font-family: Arial, sans-serif; | |
| background-color: skyblue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { createRef, useState } from "react"; | |
| import { useDisclosure } from "@mantine/hooks"; | |
| import { Modal, Button } from "@mantine/core"; | |
| import { addLinkLogic } from "../../logic/links.ts"; | |
| const AddLink = () => { | |
| const [opened, { open, close }] = useDisclosure(false); | |
| const [link, setLink] = useState<string>(""); | |
| const [error, setError] = useState<string>(""); | |
| const [fileState, setFileState] = useState<any>(""); |
NewerOlder