Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 { Parse } from "../parse"; | |
| interface Options { | |
| onChange: () => void | |
| } | |
| export function useUrlSearchParams(options?: Options) { | |
| const { onChange } = options || {}; | |
| const route = useRoute(); |
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
| <script setup lang="ts"> | |
| import { CircleXIcon, PencilIcon, Settings2Icon, TrashIcon } from 'lucide-vue-next'; | |
| defineProps<{ | |
| title: string | |
| id: number | string | |
| }>(); | |
| const showDeleteDialog = ref(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
| <script setup lang="ts"> | |
| import { cn } from '@/shared/lib/utils'; | |
| import { Check, ChevronsUpDown } from 'lucide-vue-next'; | |
| interface Props { | |
| data: string[] | |
| } | |
| const props = defineProps<Props>(); | |
| /** | |
| * Data list |
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> | |
| <button @click="handleAuthGoogle"> | |
| <svg | |
| fill="none" | |
| height="41" | |
| viewBox="0 0 40 41" | |
| width="40" | |
| xmlns="http://www.w3.org/2000/svg" | |
| > | |
| <rect |
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
Show hidden characters
| // Файл "tsconfig.json": | |
| // - устанавливает корневой каталог проекта TypeScript; | |
| // - выполняет настройку параметров компиляции; | |
| // - устанавливает файлы проекта. | |
| // Присутствие файла "tsconfig.json" в папке указывает TypeScript, что это корневая папка проекта. | |
| // Внутри "tsconfig.json" указываются настройки компилятора TypeScript и корневые файлы проекта. | |
| // Программа компилятора "tsc" ищет файл "tsconfig.json" сначала в папке, где она расположена, затем поднимается выше и ищет в родительских папках согласно их вложенности друг в друга. | |
| // Команда "tsc --project C:\path\to\my\project\folder" берет файл "tsconfig.json" из папки, расположенной по данному пути. | |
| // Файл "tsconfig.json" может быть полностью пустым, тогда компилятор скомпилирует все файлы с настройками заданными по умолчанию. | |
| // Опции компилятора, перечисленные в командной строке перезаписывают собой опции, заданные в файле "tsconfig.json". |