@momo-framework/ui 0.0.0-stage → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.hy.md +143 -0
- package/README.md +142 -2
- package/README.ru.md +143 -0
- package/bin/momo-ui-skills.mjs +25 -0
- package/dist/components/Accordion.d.ts +2 -0
- package/dist/components/Accordion.js +6 -0
- package/dist/components/Accordion.js.map +1 -0
- package/dist/components/Accordion.vue.d.ts +45 -0
- package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js +91 -0
- package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Alert.d.ts +2 -0
- package/dist/components/Alert.js +6 -0
- package/dist/components/Alert.js.map +1 -0
- package/dist/components/Alert.vue.d.ts +29 -0
- package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +53 -0
- package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/AppShell.d.ts +2 -0
- package/dist/components/AppShell.js +6 -0
- package/dist/components/AppShell.js.map +1 -0
- package/dist/components/AppShell.vue.d.ts +70 -0
- package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +370 -0
- package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/AspectRatio.d.ts +2 -0
- package/dist/components/AspectRatio.js +6 -0
- package/dist/components/AspectRatio.js.map +1 -0
- package/dist/components/AspectRatio.vue.d.ts +22 -0
- package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Avatar.d.ts +2 -0
- package/dist/components/Avatar.js +6 -0
- package/dist/components/Avatar.js.map +1 -0
- package/dist/components/Avatar.vue.d.ts +14 -0
- package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js +37 -0
- package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Badge.d.ts +2 -0
- package/dist/components/Badge.js +6 -0
- package/dist/components/Badge.js.map +1 -0
- package/dist/components/Badge.vue.d.ts +27 -0
- package/dist/components/Badge.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/components/Badge.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Breadcrumbs.d.ts +2 -0
- package/dist/components/Breadcrumbs.js +6 -0
- package/dist/components/Breadcrumbs.js.map +1 -0
- package/dist/components/Breadcrumbs.vue.d.ts +14 -0
- package/dist/components/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +50 -0
- package/dist/components/Breadcrumbs.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Button.d.ts +2 -0
- package/dist/components/Button.js +6 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/Button.vue.d.ts +36 -0
- package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +78 -0
- package/dist/components/Button.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ButtonGroup.d.ts +2 -0
- package/dist/components/ButtonGroup.js +6 -0
- package/dist/components/ButtonGroup.js.map +1 -0
- package/dist/components/ButtonGroup.vue.d.ts +29 -0
- package/dist/components/ButtonGroup.vue_vue_type_script_setup_true_lang.js +46 -0
- package/dist/components/ButtonGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Calendar.d.ts +2 -0
- package/dist/components/Calendar.js +6 -0
- package/dist/components/Calendar.js.map +1 -0
- package/dist/components/Calendar.vue.d.ts +30 -0
- package/dist/components/Calendar.vue_vue_type_script_setup_true_lang.js +309 -0
- package/dist/components/Calendar.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Card.d.ts +2 -0
- package/dist/components/Card.js +6 -0
- package/dist/components/Card.js.map +1 -0
- package/dist/components/Card.vue.d.ts +36 -0
- package/dist/components/Card.vue_vue_type_script_setup_true_lang.js +54 -0
- package/dist/components/Card.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Carousel.d.ts +2 -0
- package/dist/components/Carousel.js +6 -0
- package/dist/components/Carousel.js.map +1 -0
- package/dist/components/Carousel.vue.d.ts +37 -0
- package/dist/components/Carousel.vue_vue_type_script_setup_true_lang.js +146 -0
- package/dist/components/Carousel.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Checkbox.d.ts +2 -0
- package/dist/components/Checkbox.js +6 -0
- package/dist/components/Checkbox.js.map +1 -0
- package/dist/components/Checkbox.vue.d.ts +42 -0
- package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Clock.d.ts +2 -0
- package/dist/components/Clock.js +6 -0
- package/dist/components/Clock.js.map +1 -0
- package/dist/components/Clock.vue.d.ts +34 -0
- package/dist/components/Clock.vue_vue_type_script_setup_true_lang.js +330 -0
- package/dist/components/Clock.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Collapsible.d.ts +2 -0
- package/dist/components/Collapsible.js +6 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/Collapsible.vue.d.ts +33 -0
- package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ColorPicker.d.ts +2 -0
- package/dist/components/ColorPicker.js +6 -0
- package/dist/components/ColorPicker.js.map +1 -0
- package/dist/components/ColorPicker.vue.d.ts +29 -0
- package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Combobox.d.ts +2 -0
- package/dist/components/Combobox.js +6 -0
- package/dist/components/Combobox.js.map +1 -0
- package/dist/components/Combobox.vue.d.ts +55 -0
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +247 -0
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/CommandPalette.d.ts +2 -0
- package/dist/components/CommandPalette.js +6 -0
- package/dist/components/CommandPalette.js.map +1 -0
- package/dist/components/CommandPalette.vue.d.ts +31 -0
- package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +193 -0
- package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ConfirmDialog.d.ts +2 -0
- package/dist/components/ConfirmDialog.js +6 -0
- package/dist/components/ConfirmDialog.js.map +1 -0
- package/dist/components/ConfirmDialog.vue.d.ts +6 -0
- package/dist/components/ConfirmDialog.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/ConfirmDialog.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Container.d.ts +2 -0
- package/dist/components/Container.js +6 -0
- package/dist/components/Container.js.map +1 -0
- package/dist/components/Container.vue.d.ts +27 -0
- package/dist/components/Container.vue_vue_type_script_setup_true_lang.js +41 -0
- package/dist/components/Container.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ConversationItem.d.ts +2 -0
- package/dist/components/ConversationItem.js +6 -0
- package/dist/components/ConversationItem.js.map +1 -0
- package/dist/components/ConversationItem.vue.d.ts +40 -0
- package/dist/components/ConversationItem.vue_vue_type_script_setup_true_lang.js +71 -0
- package/dist/components/ConversationItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/DataTable.d.ts +2 -0
- package/dist/components/DataTable.js +6 -0
- package/dist/components/DataTable.js.map +1 -0
- package/dist/components/DataTable.vue.d.ts +67 -0
- package/dist/components/DataTable.vue_vue_type_script_setup_true_lang.js +412 -0
- package/dist/components/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/DateDivider.d.ts +2 -0
- package/dist/components/DateDivider.js +6 -0
- package/dist/components/DateDivider.js.map +1 -0
- package/dist/components/DateDivider.vue.d.ts +14 -0
- package/dist/components/DateDivider.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/DateDivider.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/DatePicker.d.ts +2 -0
- package/dist/components/DatePicker.js +6 -0
- package/dist/components/DatePicker.js.map +1 -0
- package/dist/components/DatePicker.vue.d.ts +39 -0
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +166 -0
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Defaults.d.ts +2 -0
- package/dist/components/Defaults.js +6 -0
- package/dist/components/Defaults.js.map +1 -0
- package/dist/components/Defaults.vue.d.ts +16 -0
- package/dist/components/Defaults.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/components/Defaults.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/DescriptionList.d.ts +2 -0
- package/dist/components/DescriptionList.js +6 -0
- package/dist/components/DescriptionList.js.map +1 -0
- package/dist/components/DescriptionList.vue.d.ts +32 -0
- package/dist/components/DescriptionList.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/components/DescriptionList.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Dialog.d.ts +2 -0
- package/dist/components/Dialog.js +6 -0
- package/dist/components/Dialog.js.map +1 -0
- package/dist/components/Dialog.vue.d.ts +44 -0
- package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js +119 -0
- package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Divider.d.ts +2 -0
- package/dist/components/Divider.js +6 -0
- package/dist/components/Divider.js.map +1 -0
- package/dist/components/Divider.vue.d.ts +22 -0
- package/dist/components/Divider.vue_vue_type_script_setup_true_lang.js +29 -0
- package/dist/components/Divider.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/EmptyState.d.ts +2 -0
- package/dist/components/EmptyState.js +6 -0
- package/dist/components/EmptyState.js.map +1 -0
- package/dist/components/EmptyState.vue.d.ts +20 -0
- package/dist/components/EmptyState.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/EmptyState.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Field.d.ts +2 -0
- package/dist/components/Field.js +6 -0
- package/dist/components/Field.js.map +1 -0
- package/dist/components/Field.vue.d.ts +32 -0
- package/dist/components/Field.vue_vue_type_script_setup_true_lang.js +71 -0
- package/dist/components/Field.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/FileUpload.d.ts +2 -0
- package/dist/components/FileUpload.js +6 -0
- package/dist/components/FileUpload.js.map +1 -0
- package/dist/components/FileUpload.vue.d.ts +35 -0
- package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js +150 -0
- package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/FullscreenButton.d.ts +2 -0
- package/dist/components/FullscreenButton.js +6 -0
- package/dist/components/FullscreenButton.js.map +1 -0
- package/dist/components/FullscreenButton.vue.d.ts +13 -0
- package/dist/components/FullscreenButton.vue_vue_type_script_setup_true_lang.js +48 -0
- package/dist/components/FullscreenButton.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Glyph.d.ts +2 -0
- package/dist/components/Glyph.js +6 -0
- package/dist/components/Glyph.js.map +1 -0
- package/dist/components/Glyph.vue.d.ts +7 -0
- package/dist/components/Glyph.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/components/Glyph.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Grid.d.ts +2 -0
- package/dist/components/Grid.js +6 -0
- package/dist/components/Grid.js.map +1 -0
- package/dist/components/Grid.vue.d.ts +33 -0
- package/dist/components/Grid.vue_vue_type_script_setup_true_lang.js +54 -0
- package/dist/components/Grid.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Icon.d.ts +2 -0
- package/dist/components/Icon.js +6 -0
- package/dist/components/Icon.js.map +1 -0
- package/dist/components/Icon.vue.d.ts +9 -0
- package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +68 -0
- package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Input.d.ts +2 -0
- package/dist/components/Input.js +6 -0
- package/dist/components/Input.js.map +1 -0
- package/dist/components/Input.vue.d.ts +43 -0
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +96 -0
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Kbd.d.ts +2 -0
- package/dist/components/Kbd.js +6 -0
- package/dist/components/Kbd.js.map +1 -0
- package/dist/components/Kbd.vue.d.ts +18 -0
- package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js +22 -0
- package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/List.d.ts +2 -0
- package/dist/components/List.js +6 -0
- package/dist/components/List.js.map +1 -0
- package/dist/components/List.vue.d.ts +41 -0
- package/dist/components/List.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/components/List.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/LocaleSwitcher.d.ts +2 -0
- package/dist/components/LocaleSwitcher.js +6 -0
- package/dist/components/LocaleSwitcher.js.map +1 -0
- package/dist/components/LocaleSwitcher.vue.d.ts +20 -0
- package/dist/components/LocaleSwitcher.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/LocaleSwitcher.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Menu.d.ts +2 -0
- package/dist/components/Menu.js +6 -0
- package/dist/components/Menu.js.map +1 -0
- package/dist/components/Menu.vue.d.ts +40 -0
- package/dist/components/Menu.vue_vue_type_script_setup_true_lang.js +188 -0
- package/dist/components/Menu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Message.d.ts +2 -0
- package/dist/components/Message.js +6 -0
- package/dist/components/Message.js.map +1 -0
- package/dist/components/Message.vue.d.ts +23 -0
- package/dist/components/Message.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/Message.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/MessageGroup.d.ts +2 -0
- package/dist/components/MessageGroup.js +6 -0
- package/dist/components/MessageGroup.js.map +1 -0
- package/dist/components/MessageGroup.vue.d.ts +28 -0
- package/dist/components/MessageGroup.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/components/MessageGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/NavList.d.ts +2 -0
- package/dist/components/NavList.js +6 -0
- package/dist/components/NavList.js.map +1 -0
- package/dist/components/NavList.vue.d.ts +46 -0
- package/dist/components/NavList.vue_vue_type_script_setup_true_lang.js +381 -0
- package/dist/components/NavList.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/NavigationSwitcher.d.ts +2 -0
- package/dist/components/NavigationSwitcher.js +6 -0
- package/dist/components/NavigationSwitcher.js.map +1 -0
- package/dist/components/NavigationSwitcher.vue.d.ts +26 -0
- package/dist/components/NavigationSwitcher.vue_vue_type_script_setup_true_lang.js +108 -0
- package/dist/components/NavigationSwitcher.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/NumberInput.d.ts +2 -0
- package/dist/components/NumberInput.js +6 -0
- package/dist/components/NumberInput.js.map +1 -0
- package/dist/components/NumberInput.vue.d.ts +38 -0
- package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js +184 -0
- package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/OverlayTransition.d.ts +2 -0
- package/dist/components/OverlayTransition.js +6 -0
- package/dist/components/OverlayTransition.js.map +1 -0
- package/dist/components/OverlayTransition.vue.d.ts +19 -0
- package/dist/components/OverlayTransition.vue_vue_type_script_setup_true_lang.js +43 -0
- package/dist/components/OverlayTransition.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Pagination.d.ts +2 -0
- package/dist/components/Pagination.js +6 -0
- package/dist/components/Pagination.js.map +1 -0
- package/dist/components/Pagination.vue.d.ts +22 -0
- package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js +87 -0
- package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Panel.d.ts +2 -0
- package/dist/components/Panel.js +6 -0
- package/dist/components/Panel.js.map +1 -0
- package/dist/components/Panel.vue.d.ts +29 -0
- package/dist/components/Panel.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/Panel.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/PasswordInput.d.ts +2 -0
- package/dist/components/PasswordInput.js +6 -0
- package/dist/components/PasswordInput.js.map +1 -0
- package/dist/components/PasswordInput.vue.d.ts +48 -0
- package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +206 -0
- package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/PinInput.d.ts +2 -0
- package/dist/components/PinInput.js +6 -0
- package/dist/components/PinInput.js.map +1 -0
- package/dist/components/PinInput.vue.d.ts +33 -0
- package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +145 -0
- package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Popover.d.ts +2 -0
- package/dist/components/Popover.js +6 -0
- package/dist/components/Popover.js.map +1 -0
- package/dist/components/Popover.vue.d.ts +37 -0
- package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js +92 -0
- package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Progress.d.ts +2 -0
- package/dist/components/Progress.js +6 -0
- package/dist/components/Progress.js.map +1 -0
- package/dist/components/Progress.vue.d.ts +20 -0
- package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +46 -0
- package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/QrCode.d.ts +2 -0
- package/dist/components/QrCode.js +6 -0
- package/dist/components/QrCode.js.map +1 -0
- package/dist/components/QrCode.vue.d.ts +15 -0
- package/dist/components/QrCode.vue_vue_type_script_setup_true_lang.js +57 -0
- package/dist/components/QrCode.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/RadioGroup.d.ts +2 -0
- package/dist/components/RadioGroup.js +6 -0
- package/dist/components/RadioGroup.js.map +1 -0
- package/dist/components/RadioGroup.vue.d.ts +47 -0
- package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Rating.d.ts +2 -0
- package/dist/components/Rating.js +6 -0
- package/dist/components/Rating.js.map +1 -0
- package/dist/components/Rating.vue.d.ts +29 -0
- package/dist/components/Rating.vue_vue_type_script_setup_true_lang.js +103 -0
- package/dist/components/Rating.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ScrollArea.d.ts +2 -0
- package/dist/components/ScrollArea.js +6 -0
- package/dist/components/ScrollArea.js.map +1 -0
- package/dist/components/ScrollArea.vue.d.ts +26 -0
- package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js +71 -0
- package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/SegmentedControl.d.ts +2 -0
- package/dist/components/SegmentedControl.js +6 -0
- package/dist/components/SegmentedControl.js.map +1 -0
- package/dist/components/SegmentedControl.vue.d.ts +41 -0
- package/dist/components/SegmentedControl.vue_vue_type_script_setup_true_lang.js +107 -0
- package/dist/components/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Select.d.ts +2 -0
- package/dist/components/Select.js +6 -0
- package/dist/components/Select.js.map +1 -0
- package/dist/components/Select.vue.d.ts +64 -0
- package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +364 -0
- package/dist/components/Select.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/SelectionBar.d.ts +2 -0
- package/dist/components/SelectionBar.js +6 -0
- package/dist/components/SelectionBar.js.map +1 -0
- package/dist/components/SelectionBar.vue.d.ts +27 -0
- package/dist/components/SelectionBar.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/SelectionBar.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Skeleton.d.ts +2 -0
- package/dist/components/Skeleton.js +6 -0
- package/dist/components/Skeleton.js.map +1 -0
- package/dist/components/Skeleton.vue.d.ts +14 -0
- package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Slider.d.ts +2 -0
- package/dist/components/Slider.js +6 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/Slider.vue.d.ts +30 -0
- package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js +90 -0
- package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Spacer.d.ts +2 -0
- package/dist/components/Spacer.js +6 -0
- package/dist/components/Spacer.js.map +1 -0
- package/dist/components/Spacer.vue.d.ts +8 -0
- package/dist/components/Spacer.vue_vue_type_script_setup_true_lang.js +19 -0
- package/dist/components/Spacer.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Spinner.d.ts +2 -0
- package/dist/components/Spinner.js +6 -0
- package/dist/components/Spinner.js.map +1 -0
- package/dist/components/Spinner.vue.d.ts +11 -0
- package/dist/components/Spinner.vue_vue_type_script_setup_true_lang.js +43 -0
- package/dist/components/Spinner.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Split.d.ts +2 -0
- package/dist/components/Split.js +6 -0
- package/dist/components/Split.js.map +1 -0
- package/dist/components/Split.vue.d.ts +36 -0
- package/dist/components/Split.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/Split.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Stack.d.ts +2 -0
- package/dist/components/Stack.js +6 -0
- package/dist/components/Stack.js.map +1 -0
- package/dist/components/Stack.vue.d.ts +35 -0
- package/dist/components/Stack.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/Stack.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Stat.d.ts +2 -0
- package/dist/components/Stat.js +6 -0
- package/dist/components/Stat.js.map +1 -0
- package/dist/components/Stat.vue.d.ts +25 -0
- package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js +68 -0
- package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Stepper.d.ts +2 -0
- package/dist/components/Stepper.js +6 -0
- package/dist/components/Stepper.js.map +1 -0
- package/dist/components/Stepper.vue.d.ts +29 -0
- package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js +82 -0
- package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Switch.d.ts +2 -0
- package/dist/components/Switch.js +6 -0
- package/dist/components/Switch.js.map +1 -0
- package/dist/components/Switch.vue.d.ts +33 -0
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Tabs.d.ts +2 -0
- package/dist/components/Tabs.js +6 -0
- package/dist/components/Tabs.js.map +1 -0
- package/dist/components/Tabs.vue.d.ts +38 -0
- package/dist/components/Tabs.vue_vue_type_script_setup_true_lang.js +92 -0
- package/dist/components/Tabs.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Tag.d.ts +2 -0
- package/dist/components/Tag.js +6 -0
- package/dist/components/Tag.js.map +1 -0
- package/dist/components/Tag.vue.d.ts +32 -0
- package/dist/components/Tag.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/Tag.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/TagsInput.d.ts +2 -0
- package/dist/components/TagsInput.js +6 -0
- package/dist/components/TagsInput.js.map +1 -0
- package/dist/components/TagsInput.vue.d.ts +34 -0
- package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Textarea.d.ts +2 -0
- package/dist/components/Textarea.js +6 -0
- package/dist/components/Textarea.js.map +1 -0
- package/dist/components/Textarea.vue.d.ts +32 -0
- package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +97 -0
- package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ThemeScope.d.ts +2 -0
- package/dist/components/ThemeScope.js +6 -0
- package/dist/components/ThemeScope.js.map +1 -0
- package/dist/components/ThemeScope.vue.d.ts +27 -0
- package/dist/components/ThemeScope.vue_vue_type_script_setup_true_lang.js +62 -0
- package/dist/components/ThemeScope.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ThemeSwitcher.d.ts +2 -0
- package/dist/components/ThemeSwitcher.js +6 -0
- package/dist/components/ThemeSwitcher.js.map +1 -0
- package/dist/components/ThemeSwitcher.vue.d.ts +22 -0
- package/dist/components/ThemeSwitcher.vue_vue_type_script_setup_true_lang.js +135 -0
- package/dist/components/ThemeSwitcher.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/TimePicker.d.ts +2 -0
- package/dist/components/TimePicker.js +6 -0
- package/dist/components/TimePicker.js.map +1 -0
- package/dist/components/TimePicker.vue.d.ts +39 -0
- package/dist/components/TimePicker.vue_vue_type_script_setup_true_lang.js +154 -0
- package/dist/components/TimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/TimeRangePicker.d.ts +2 -0
- package/dist/components/TimeRangePicker.js +6 -0
- package/dist/components/TimeRangePicker.js.map +1 -0
- package/dist/components/TimeRangePicker.vue.d.ts +51 -0
- package/dist/components/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +257 -0
- package/dist/components/TimeRangePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Timeline.d.ts +2 -0
- package/dist/components/Timeline.js +6 -0
- package/dist/components/Timeline.js.map +1 -0
- package/dist/components/Timeline.vue.d.ts +32 -0
- package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js +32 -0
- package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ToastViewport.d.ts +2 -0
- package/dist/components/ToastViewport.js +6 -0
- package/dist/components/ToastViewport.js.map +1 -0
- package/dist/components/ToastViewport.vue.d.ts +11 -0
- package/dist/components/ToastViewport.vue_vue_type_script_setup_true_lang.js +85 -0
- package/dist/components/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/ToggleButton.d.ts +2 -0
- package/dist/components/ToggleButton.js +6 -0
- package/dist/components/ToggleButton.js.map +1 -0
- package/dist/components/ToggleButton.vue.d.ts +36 -0
- package/dist/components/ToggleButton.vue_vue_type_script_setup_true_lang.js +68 -0
- package/dist/components/ToggleButton.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Tooltip.d.ts +2 -0
- package/dist/components/Tooltip.js +6 -0
- package/dist/components/Tooltip.js.map +1 -0
- package/dist/components/Tooltip.vue.d.ts +28 -0
- package/dist/components/Tooltip.vue_vue_type_script_setup_true_lang.js +98 -0
- package/dist/components/Tooltip.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/Tree.d.ts +2 -0
- package/dist/components/Tree.js +6 -0
- package/dist/components/Tree.js.map +1 -0
- package/dist/components/Tree.vue.d.ts +45 -0
- package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js +164 -0
- package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/VisuallyHidden.d.ts +2 -0
- package/dist/components/VisuallyHidden.js +6 -0
- package/dist/components/VisuallyHidden.js.map +1 -0
- package/dist/components/VisuallyHidden.vue.d.ts +21 -0
- package/dist/components/VisuallyHidden.vue_vue_type_script_setup_true_lang.js +26 -0
- package/dist/components/VisuallyHidden.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/composables/confirm.d.ts +17 -0
- package/dist/composables/confirm.js +36 -0
- package/dist/composables/confirm.js.map +1 -0
- package/dist/composables/dates.d.ts +14 -0
- package/dist/composables/dates.js +83 -0
- package/dist/composables/dates.js.map +1 -0
- package/dist/composables/defaults.d.ts +7 -0
- package/dist/composables/defaults.js +39 -0
- package/dist/composables/defaults.js.map +1 -0
- package/dist/composables/direction.d.ts +2 -0
- package/dist/composables/direction.js +12 -0
- package/dist/composables/direction.js.map +1 -0
- package/dist/composables/dismiss.d.ts +4 -0
- package/dist/composables/dismiss.js +39 -0
- package/dist/composables/dismiss.js.map +1 -0
- package/dist/composables/dispose.d.ts +1 -0
- package/dist/composables/dispose.js +10 -0
- package/dist/composables/dispose.js.map +1 -0
- package/dist/composables/field.d.ts +28 -0
- package/dist/composables/field.js +25 -0
- package/dist/composables/field.js.map +1 -0
- package/dist/composables/floating.d.ts +14 -0
- package/dist/composables/floating.js +124 -0
- package/dist/composables/floating.js.map +1 -0
- package/dist/composables/focus.d.ts +3 -0
- package/dist/composables/focus.js +89 -0
- package/dist/composables/focus.js.map +1 -0
- package/dist/composables/fullscreen.d.ts +8 -0
- package/dist/composables/fullscreen.js +50 -0
- package/dist/composables/fullscreen.js.map +1 -0
- package/dist/composables/layers.d.ts +7 -0
- package/dist/composables/layers.js +38 -0
- package/dist/composables/layers.js.map +1 -0
- package/dist/composables/locale.d.ts +13 -0
- package/dist/composables/locale.js +32 -0
- package/dist/composables/locale.js.map +1 -0
- package/dist/composables/mounted.d.ts +2 -0
- package/dist/composables/mounted.js +12 -0
- package/dist/composables/mounted.js.map +1 -0
- package/dist/composables/scroll-lock.d.ts +2 -0
- package/dist/composables/scroll-lock.js +45 -0
- package/dist/composables/scroll-lock.js.map +1 -0
- package/dist/composables/shell.d.ts +24 -0
- package/dist/composables/shell.js +12 -0
- package/dist/composables/shell.js.map +1 -0
- package/dist/composables/theme.d.ts +13 -0
- package/dist/composables/theme.js +58 -0
- package/dist/composables/theme.js.map +1 -0
- package/dist/composables/times.d.ts +30 -0
- package/dist/composables/times.js +130 -0
- package/dist/composables/times.js.map +1 -0
- package/dist/composables/toast.d.ts +26 -0
- package/dist/composables/toast.js +76 -0
- package/dist/composables/toast.js.map +1 -0
- package/dist/composables/use-theme.d.ts +11 -0
- package/dist/composables/use-theme.js +30 -0
- package/dist/composables/use-theme.js.map +1 -0
- package/dist/composables/view-transition.d.ts +2 -0
- package/dist/composables/view-transition.js +15 -0
- package/dist/composables/view-transition.js.map +1 -0
- package/dist/composables/visible.d.ts +1 -0
- package/dist/composables/visible.js +16 -0
- package/dist/composables/visible.js.map +1 -0
- package/dist/config.d.ts +65 -0
- package/dist/config.js +109 -0
- package/dist/config.js.map +1 -0
- package/dist/directives/ripple.d.ts +2 -0
- package/dist/directives/ripple.js +65 -0
- package/dist/directives/ripple.js.map +1 -0
- package/dist/i18n.d.ts +32 -0
- package/dist/i18n.js +81 -0
- package/dist/i18n.js.map +1 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/lucide.d.ts +153 -0
- package/dist/icons/lucide.js +193 -0
- package/dist/icons/lucide.js.map +1 -0
- package/dist/icons/registry.d.ts +6 -0
- package/dist/icons/registry.js +35 -0
- package/dist/icons/registry.js.map +1 -0
- package/dist/icons/resolve.d.ts +6 -0
- package/dist/icons/resolve.js +34 -0
- package/dist/icons/resolve.js.map +1 -0
- package/dist/icons/types.d.ts +14 -0
- package/dist/index.d.ts +3868 -0
- package/dist/index.js +199 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/en.js +115 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/hy.js +115 -0
- package/dist/locales/hy.js.map +1 -0
- package/dist/locales/ru.js +115 -0
- package/dist/locales/ru.js.map +1 -0
- package/dist/motion/enter.d.ts +9 -0
- package/dist/motion/enter.js +25 -0
- package/dist/motion/enter.js.map +1 -0
- package/dist/motion/install.d.ts +7 -0
- package/dist/motion/install.js +15 -0
- package/dist/motion/install.js.map +1 -0
- package/dist/motion/overlays.d.ts +11 -0
- package/dist/motion/overlays.js +98 -0
- package/dist/motion/overlays.js.map +1 -0
- package/dist/pt.d.ts +16 -0
- package/dist/pt.js +48 -0
- package/dist/pt.js.map +1 -0
- package/dist/scale.d.ts +8 -0
- package/dist/scale.js +29 -0
- package/dist/scale.js.map +1 -0
- package/dist/skills/momo-ui/SKILL.md +233 -0
- package/dist/skills/momo-ui/api/firstDayOf.md +17 -0
- package/dist/skills/momo-ui/api/parseDate.md +17 -0
- package/dist/skills/momo-ui/api/registerIconCollection.md +17 -0
- package/dist/skills/momo-ui/api/toIso.md +18 -0
- package/dist/skills/momo-ui/api/tokens.md +17 -0
- package/dist/skills/momo-ui/api/useColorMode.md +19 -0
- package/dist/skills/momo-ui/api/useConfig.md +15 -0
- package/dist/skills/momo-ui/api/useConfirm.md +26 -0
- package/dist/skills/momo-ui/api/useDefaults.md +17 -0
- package/dist/skills/momo-ui/api/useDismiss.md +16 -0
- package/dist/skills/momo-ui/api/useField.md +22 -0
- package/dist/skills/momo-ui/api/useFloating.md +16 -0
- package/dist/skills/momo-ui/api/useFocusTrap.md +17 -0
- package/dist/skills/momo-ui/api/useFullscreen.md +20 -0
- package/dist/skills/momo-ui/api/useLocale.md +20 -0
- package/dist/skills/momo-ui/api/usePart.md +22 -0
- package/dist/skills/momo-ui/api/useScrollLock.md +16 -0
- package/dist/skills/momo-ui/api/useShell.md +20 -0
- package/dist/skills/momo-ui/api/useT.md +16 -0
- package/dist/skills/momo-ui/api/useTheme.md +23 -0
- package/dist/skills/momo-ui/api/useToast.md +23 -0
- package/dist/skills/momo-ui/api/vRipple.md +17 -0
- package/dist/skills/momo-ui/api/withViewTransition.md +16 -0
- package/dist/skills/momo-ui/components/Accordion.md +46 -0
- package/dist/skills/momo-ui/components/Alert.md +34 -0
- package/dist/skills/momo-ui/components/AppShell.md +54 -0
- package/dist/skills/momo-ui/components/AspectRatio.md +25 -0
- package/dist/skills/momo-ui/components/Avatar.md +22 -0
- package/dist/skills/momo-ui/components/Badge.md +27 -0
- package/dist/skills/momo-ui/components/Breadcrumbs.md +30 -0
- package/dist/skills/momo-ui/components/Button.md +55 -0
- package/dist/skills/momo-ui/components/ButtonGroup.md +30 -0
- package/dist/skills/momo-ui/components/Calendar.md +35 -0
- package/dist/skills/momo-ui/components/Card.md +36 -0
- package/dist/skills/momo-ui/components/Carousel.md +33 -0
- package/dist/skills/momo-ui/components/Checkbox.md +37 -0
- package/dist/skills/momo-ui/components/Clock.md +44 -0
- package/dist/skills/momo-ui/components/Collapsible.md +33 -0
- package/dist/skills/momo-ui/components/ColorPicker.md +32 -0
- package/dist/skills/momo-ui/components/Combobox.md +49 -0
- package/dist/skills/momo-ui/components/CommandPalette.md +41 -0
- package/dist/skills/momo-ui/components/ConfirmDialog.md +16 -0
- package/dist/skills/momo-ui/components/Container.md +28 -0
- package/dist/skills/momo-ui/components/ConversationItem.md +36 -0
- package/dist/skills/momo-ui/components/DataTable.md +74 -0
- package/dist/skills/momo-ui/components/DateDivider.md +23 -0
- package/dist/skills/momo-ui/components/DatePicker.md +38 -0
- package/dist/skills/momo-ui/components/Defaults.md +19 -0
- package/dist/skills/momo-ui/components/DescriptionList.md +35 -0
- package/dist/skills/momo-ui/components/Dialog.md +41 -0
- package/dist/skills/momo-ui/components/Divider.md +26 -0
- package/dist/skills/momo-ui/components/EmptyState.md +28 -0
- package/dist/skills/momo-ui/components/Field.md +37 -0
- package/dist/skills/momo-ui/components/FileUpload.md +36 -0
- package/dist/skills/momo-ui/components/FullscreenButton.md +19 -0
- package/dist/skills/momo-ui/components/Grid.md +32 -0
- package/dist/skills/momo-ui/components/Icon.md +18 -0
- package/dist/skills/momo-ui/components/Input.md +42 -0
- package/dist/skills/momo-ui/components/Kbd.md +24 -0
- package/dist/skills/momo-ui/components/List.md +39 -0
- package/dist/skills/momo-ui/components/LocaleSwitcher.md +27 -0
- package/dist/skills/momo-ui/components/Menu.md +43 -0
- package/dist/skills/momo-ui/components/Message.md +29 -0
- package/dist/skills/momo-ui/components/MessageGroup.md +31 -0
- package/dist/skills/momo-ui/components/NavList.md +55 -0
- package/dist/skills/momo-ui/components/NavigationSwitcher.md +26 -0
- package/dist/skills/momo-ui/components/NumberInput.md +38 -0
- package/dist/skills/momo-ui/components/Pagination.md +27 -0
- package/dist/skills/momo-ui/components/Panel.md +35 -0
- package/dist/skills/momo-ui/components/PasswordInput.md +50 -0
- package/dist/skills/momo-ui/components/PinInput.md +33 -0
- package/dist/skills/momo-ui/components/Popover.md +33 -0
- package/dist/skills/momo-ui/components/Progress.md +25 -0
- package/dist/skills/momo-ui/components/QrCode.md +23 -0
- package/dist/skills/momo-ui/components/RadioGroup.md +49 -0
- package/dist/skills/momo-ui/components/Rating.md +32 -0
- package/dist/skills/momo-ui/components/ScrollArea.md +28 -0
- package/dist/skills/momo-ui/components/SegmentedControl.md +43 -0
- package/dist/skills/momo-ui/components/Select.md +64 -0
- package/dist/skills/momo-ui/components/SelectionBar.md +29 -0
- package/dist/skills/momo-ui/components/Skeleton.md +23 -0
- package/dist/skills/momo-ui/components/Slider.md +33 -0
- package/dist/skills/momo-ui/components/Spacer.md +17 -0
- package/dist/skills/momo-ui/components/Spinner.md +21 -0
- package/dist/skills/momo-ui/components/Split.md +33 -0
- package/dist/skills/momo-ui/components/Stack.md +32 -0
- package/dist/skills/momo-ui/components/Stat.md +33 -0
- package/dist/skills/momo-ui/components/Stepper.md +39 -0
- package/dist/skills/momo-ui/components/Switch.md +32 -0
- package/dist/skills/momo-ui/components/Tabs.md +42 -0
- package/dist/skills/momo-ui/components/Tag.md +34 -0
- package/dist/skills/momo-ui/components/TagsInput.md +34 -0
- package/dist/skills/momo-ui/components/Textarea.md +36 -0
- package/dist/skills/momo-ui/components/ThemeScope.md +27 -0
- package/dist/skills/momo-ui/components/ThemeSwitcher.md +27 -0
- package/dist/skills/momo-ui/components/TimePicker.md +39 -0
- package/dist/skills/momo-ui/components/TimeRangePicker.md +44 -0
- package/dist/skills/momo-ui/components/Timeline.md +38 -0
- package/dist/skills/momo-ui/components/ToastViewport.md +20 -0
- package/dist/skills/momo-ui/components/ToggleButton.md +34 -0
- package/dist/skills/momo-ui/components/Tooltip.md +28 -0
- package/dist/skills/momo-ui/components/Tree.md +47 -0
- package/dist/skills/momo-ui/components/VisuallyHidden.md +25 -0
- package/dist/styles.css +2228 -0
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.js +18 -0
- package/dist/tokens.js.map +1 -0
- package/package.json +102 -4
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { motionEnter, motionLeave } from "@momo-framework/motion";
|
|
2
|
+
// src/directives/ripple.ts
|
|
3
|
+
var SPREAD = {
|
|
4
|
+
from: { scale: 0 },
|
|
5
|
+
to: { scale: 1 },
|
|
6
|
+
pace: "slow",
|
|
7
|
+
ease: "enter"
|
|
8
|
+
};
|
|
9
|
+
var FADE = {
|
|
10
|
+
from: {},
|
|
11
|
+
leave: { opacity: 0 },
|
|
12
|
+
pace: "slow"
|
|
13
|
+
};
|
|
14
|
+
var vRipple = {
|
|
15
|
+
mounted(el, binding) {
|
|
16
|
+
const press = (event) => {
|
|
17
|
+
if (el[OFF] || event.button !== 0 || el.matches(":disabled, [aria-disabled=\"true\"], [data-disabled]")) return;
|
|
18
|
+
if (getComputedStyle(el).getPropertyValue("--m-ripple").trim() !== "on") return;
|
|
19
|
+
wave(surfaceOf(el), event);
|
|
20
|
+
};
|
|
21
|
+
el.addEventListener("pointerdown", press);
|
|
22
|
+
el[KEY] = press;
|
|
23
|
+
el[OFF] = binding.value === false;
|
|
24
|
+
},
|
|
25
|
+
updated(el, binding) {
|
|
26
|
+
el[OFF] = binding.value === false;
|
|
27
|
+
},
|
|
28
|
+
beforeUnmount(el) {
|
|
29
|
+
el.removeEventListener("pointerdown", el[KEY]);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
var KEY = Symbol("ripple");
|
|
33
|
+
var OFF = Symbol("ripple-off");
|
|
34
|
+
function surfaceOf(el) {
|
|
35
|
+
if (getComputedStyle(el).getPropertyValue("--m-ripple-surface").trim() !== "part") return el;
|
|
36
|
+
return el.querySelector("[data-ripple-surface]") ?? el;
|
|
37
|
+
}
|
|
38
|
+
function wave(el, event) {
|
|
39
|
+
if (getComputedStyle(el).position === "static") el.style.position = "relative";
|
|
40
|
+
let layer = el.querySelector(":scope > .m-ripple");
|
|
41
|
+
if (!layer) {
|
|
42
|
+
layer = document.createElement("span");
|
|
43
|
+
layer.className = "m-ripple";
|
|
44
|
+
layer.setAttribute("aria-hidden", "true");
|
|
45
|
+
el.prepend(layer);
|
|
46
|
+
}
|
|
47
|
+
const rect = el.getBoundingClientRect();
|
|
48
|
+
const x = event.clientX - rect.left;
|
|
49
|
+
const y = event.clientY - rect.top;
|
|
50
|
+
const radius = Math.hypot(Math.max(x, rect.width - x), Math.max(y, rect.height - y));
|
|
51
|
+
const span = document.createElement("span");
|
|
52
|
+
span.style.cssText = `width:${radius * 2}px;height:${radius * 2}px;left:${x - radius}px;top:${y - radius}px`;
|
|
53
|
+
layer.append(span);
|
|
54
|
+
const spreading = motionEnter(span, SPREAD);
|
|
55
|
+
const release = () => {
|
|
56
|
+
window.removeEventListener("pointerup", release);
|
|
57
|
+
window.removeEventListener("pointercancel", release);
|
|
58
|
+
spreading.then(() => motionLeave(span, FADE)).then(() => span.remove());
|
|
59
|
+
};
|
|
60
|
+
window.addEventListener("pointerup", release);
|
|
61
|
+
window.addEventListener("pointercancel", release);
|
|
62
|
+
}
|
|
63
|
+
export { vRipple };
|
|
64
|
+
|
|
65
|
+
//# sourceMappingURL=ripple.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ripple.js","names":[],"sources":["../../src/directives/ripple.ts"],"sourcesContent":["import { motionEnter, motionLeave } from '@momo-framework/motion'\nimport type { MotionPreset } from '@momo-framework/motion'\nimport type { Directive } from 'vue'\n\nconst SPREAD: MotionPreset = { from: { scale: 0 }, to: { scale: 1 }, pace: 'slow', ease: 'enter' }\nconst FADE: MotionPreset = { from: {}, leave: { opacity: 0 }, pace: 'slow' }\n\nexport const vRipple: Directive<HTMLElement, boolean | undefined> = {\n mounted(el, binding) {\n const press = (event: PointerEvent) => {\n if ((el as RippleHost)[OFF] || event.button !== 0 || el.matches(':disabled, [aria-disabled=\"true\"], [data-disabled]')) {\n return\n }\n if (getComputedStyle(el).getPropertyValue('--m-ripple').trim() !== 'on') {\n return\n }\n wave(surfaceOf(el), event)\n }\n el.addEventListener('pointerdown', press)\n ;(el as RippleHost)[KEY] = press\n ;(el as RippleHost)[OFF] = binding.value === false\n },\n updated(el, binding) {\n ;(el as RippleHost)[OFF] = binding.value === false\n },\n beforeUnmount(el) {\n el.removeEventListener('pointerdown', (el as RippleHost)[KEY] as EventListener)\n },\n}\n\nconst KEY = Symbol('ripple')\nconst OFF = Symbol('ripple-off')\n\ntype RippleHost = HTMLElement & { [KEY]?: (event: PointerEvent) => void, [OFF]?: boolean }\n\nfunction surfaceOf(el: HTMLElement): HTMLElement {\n if (getComputedStyle(el).getPropertyValue('--m-ripple-surface').trim() !== 'part') {\n return el\n }\n return el.querySelector<HTMLElement>('[data-ripple-surface]') ?? el\n}\n\nfunction wave(el: HTMLElement, event: PointerEvent): void {\n if (getComputedStyle(el).position === 'static') {\n el.style.position = 'relative'\n }\n\n let layer = el.querySelector<HTMLElement>(':scope > .m-ripple')\n if (!layer) {\n layer = document.createElement('span')\n layer.className = 'm-ripple'\n layer.setAttribute('aria-hidden', 'true')\n el.prepend(layer)\n }\n\n const rect = el.getBoundingClientRect()\n const x = event.clientX - rect.left\n const y = event.clientY - rect.top\n const radius = Math.hypot(Math.max(x, rect.width - x), Math.max(y, rect.height - y))\n const span = document.createElement('span')\n span.style.cssText = `width:${radius * 2}px;height:${radius * 2}px;left:${x - radius}px;top:${y - radius}px`\n layer.append(span)\n const spreading = motionEnter(span, SPREAD)\n\n const release = () => {\n window.removeEventListener('pointerup', release)\n window.removeEventListener('pointercancel', release)\n void spreading.then(() => motionLeave(span, FADE)).then(() => span.remove())\n }\n window.addEventListener('pointerup', release)\n window.addEventListener('pointercancel', release)\n}\n"],"mappings":";;AAIA,IAAM,SAAuB;CAAE,MAAM,EAAE,OAAO,EAAE;CAAG,IAAI,EAAE,OAAO,EAAE;CAAG,MAAM;CAAQ,MAAM;AAAQ;AACjG,IAAM,OAAqB;CAAE,MAAM,CAAC;CAAG,OAAO,EAAE,SAAS,EAAE;CAAG,MAAM;AAAO;AAE3E,IAAa,UAAuD;CAClE,QAAQ,IAAI,SAAS;EACnB,MAAM,SAAS,UAAwB;GACrC,IAAK,GAAkB,QAAQ,MAAM,WAAW,KAAK,GAAG,QAAQ,sDAAoD,GAClH;GAEF,IAAI,iBAAiB,EAAE,CAAC,CAAC,iBAAiB,YAAY,CAAC,CAAC,KAAK,MAAM,MACjE;GAEF,KAAK,UAAU,EAAE,GAAG,KAAK;EAC3B;EACA,GAAG,iBAAiB,eAAe,KAAK;EACvC,GAAmB,OAAO;EAC1B,GAAmB,OAAO,QAAQ,UAAU;CAC/C;CACA,QAAQ,IAAI,SAAS;EAClB,GAAmB,OAAO,QAAQ,UAAU;CAC/C;CACA,cAAc,IAAI;EAChB,GAAG,oBAAoB,eAAgB,GAAkB,IAAqB;CAChF;AACF;AAEA,IAAM,MAAM,OAAO,QAAQ;AAC3B,IAAM,MAAM,OAAO,YAAY;AAI/B,SAAS,UAAU,IAA8B;CAC/C,IAAI,iBAAiB,EAAE,CAAC,CAAC,iBAAiB,oBAAoB,CAAC,CAAC,KAAK,MAAM,QACzE,OAAO;CAET,OAAO,GAAG,cAA2B,uBAAuB,KAAK;AACnE;AAEA,SAAS,KAAK,IAAiB,OAA2B;CACxD,IAAI,iBAAiB,EAAE,CAAC,CAAC,aAAa,UACpC,GAAG,MAAM,WAAW;CAGtB,IAAI,QAAQ,GAAG,cAA2B,oBAAoB;CAC9D,IAAI,CAAC,OAAO;EACV,QAAQ,SAAS,cAAc,MAAM;EACrC,MAAM,YAAY;EAClB,MAAM,aAAa,eAAe,MAAM;EACxC,GAAG,QAAQ,KAAK;CAClB;CAEA,MAAM,OAAO,GAAG,sBAAsB;CACtC,MAAM,IAAI,MAAM,UAAU,KAAK;CAC/B,MAAM,IAAI,MAAM,UAAU,KAAK;CAC/B,MAAM,SAAS,KAAK,MAAM,KAAK,IAAI,GAAG,KAAK,QAAQ,CAAC,GAAG,KAAK,IAAI,GAAG,KAAK,SAAS,CAAC,CAAC;CACnF,MAAM,OAAO,SAAS,cAAc,MAAM;CAC1C,KAAK,MAAM,UAAU,SAAS,SAAS,EAAE,YAAY,SAAS,EAAE,UAAU,IAAI,OAAO,SAAS,IAAI,OAAO;CACzG,MAAM,OAAO,IAAI;CACjB,MAAM,YAAY,YAAY,MAAM,MAAM;CAE1C,MAAM,gBAAgB;EACpB,OAAO,oBAAoB,aAAa,OAAO;EAC/C,OAAO,oBAAoB,iBAAiB,OAAO;EACnD,UAAe,WAAW,YAAY,MAAM,IAAI,CAAC,CAAC,CAAC,WAAW,KAAK,OAAO,CAAC;CAC7E;CACA,OAAO,iBAAiB,aAAa,OAAO;CAC5C,OAAO,iBAAiB,iBAAiB,OAAO;AAClD"}
|
package/dist/i18n.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import en from './locales/en.json';
|
|
3
|
+
export type MessageKey = keyof typeof en.momo;
|
|
4
|
+
export type MessageParams = Record<string, string | number>;
|
|
5
|
+
export interface Messages {
|
|
6
|
+
momo: Record<MessageKey, string>;
|
|
7
|
+
}
|
|
8
|
+
export declare const messages: Record<'en' | 'ru' | 'hy', Messages>;
|
|
9
|
+
export interface Translator {
|
|
10
|
+
locale: Ref<string>;
|
|
11
|
+
locales: Ref<string[]>;
|
|
12
|
+
t: (key: MessageKey, params?: MessageParams) => string;
|
|
13
|
+
setLocale: (code: string) => void | Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
export interface VueI18nComposer {
|
|
16
|
+
locale: Ref<string> | string;
|
|
17
|
+
availableLocales: readonly string[];
|
|
18
|
+
t: (key: string, params?: MessageParams) => string;
|
|
19
|
+
te?: (key: string, locale?: string) => boolean;
|
|
20
|
+
mergeLocaleMessage?: (locale: string, messages: Messages) => void;
|
|
21
|
+
setLocale?: (code: string) => Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
export type VueI18nLike = VueI18nComposer | {
|
|
24
|
+
global: VueI18nComposer;
|
|
25
|
+
};
|
|
26
|
+
export declare function directionOf(code: string): 'ltr' | 'rtl';
|
|
27
|
+
export declare function nameOf(code: string): string;
|
|
28
|
+
export declare function registerMessages(code: string, catalog: Messages): void;
|
|
29
|
+
export declare function catalogOf(code: string): Messages | undefined;
|
|
30
|
+
export declare function wordsIn(code: string, key: MessageKey, params?: MessageParams): string | undefined;
|
|
31
|
+
export declare function createTranslator(code?: string): Translator;
|
|
32
|
+
export declare function fromVueI18n(i18n: VueI18nLike): Translator;
|
package/dist/i18n.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import en_default from "./locales/en.js";
|
|
2
|
+
import hy_default from "./locales/hy.js";
|
|
3
|
+
import ru_default from "./locales/ru.js";
|
|
4
|
+
import { computed, ref, shallowReactive } from "vue";
|
|
5
|
+
// src/i18n.ts
|
|
6
|
+
var messages = {
|
|
7
|
+
en: en_default,
|
|
8
|
+
ru: ru_default,
|
|
9
|
+
hy: hy_default
|
|
10
|
+
};
|
|
11
|
+
var RTL = /* @__PURE__ */ new Set([
|
|
12
|
+
"ar",
|
|
13
|
+
"arc",
|
|
14
|
+
"ckb",
|
|
15
|
+
"dv",
|
|
16
|
+
"fa",
|
|
17
|
+
"he",
|
|
18
|
+
"ps",
|
|
19
|
+
"sd",
|
|
20
|
+
"ug",
|
|
21
|
+
"ur",
|
|
22
|
+
"yi"
|
|
23
|
+
]);
|
|
24
|
+
function directionOf(code) {
|
|
25
|
+
return RTL.has(code.toLowerCase().replace(/-.*/, "")) ? "rtl" : "ltr";
|
|
26
|
+
}
|
|
27
|
+
function nameOf(code) {
|
|
28
|
+
try {
|
|
29
|
+
const name = String(new Intl.DisplayNames([code], { type: "language" }).of(code));
|
|
30
|
+
return name.charAt(0).toLocaleUpperCase(code) + name.slice(1);
|
|
31
|
+
} catch {
|
|
32
|
+
return code;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
var format = (message, params = {}) => message.replace(/\{(\w+)\}/g, (match, name) => name in params ? String(params[name]) : match);
|
|
36
|
+
var known = shallowReactive({ ...messages });
|
|
37
|
+
function registerMessages(code, catalog) {
|
|
38
|
+
known[code] = catalog;
|
|
39
|
+
}
|
|
40
|
+
function catalogOf(code) {
|
|
41
|
+
return known[code] ?? known[code.toLowerCase().replace(/-.*/, "")];
|
|
42
|
+
}
|
|
43
|
+
function wordsIn(code, key, params) {
|
|
44
|
+
const message = catalogOf(code)?.momo[key];
|
|
45
|
+
return message === void 0 ? void 0 : format(message, params);
|
|
46
|
+
}
|
|
47
|
+
function createTranslator(code = "en") {
|
|
48
|
+
const locale = ref(code);
|
|
49
|
+
return {
|
|
50
|
+
locale,
|
|
51
|
+
locales: computed(() => Object.keys(known)),
|
|
52
|
+
t: (key, params) => format(known[locale.value]?.momo[key] ?? en_default.momo[key], params),
|
|
53
|
+
setLocale: (next) => {
|
|
54
|
+
if (!known[next]) throw new Error(`Momo UI: no messages for "${next}". Add them with registerMessages('${next}', { momo: { ... } }) or install vue-i18n.`);
|
|
55
|
+
locale.value = next;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function fromVueI18n(i18n) {
|
|
60
|
+
const composer = "global" in i18n ? i18n.global : i18n;
|
|
61
|
+
for (const code of composer.availableLocales) {
|
|
62
|
+
const own = messages[code];
|
|
63
|
+
if (own && !composer.te?.("momo.close", code)) composer.mergeLocaleMessage?.(code, own);
|
|
64
|
+
}
|
|
65
|
+
const locale = computed({
|
|
66
|
+
get: () => typeof composer.locale === "string" ? composer.locale : composer.locale.value,
|
|
67
|
+
set: (code) => {
|
|
68
|
+
if (typeof composer.locale === "string") composer.locale = code;
|
|
69
|
+
else composer.locale.value = code;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
return {
|
|
73
|
+
locale,
|
|
74
|
+
locales: computed(() => [...composer.availableLocales]),
|
|
75
|
+
t: (key, params) => composer.t(`momo.${key}`, params ?? {}),
|
|
76
|
+
setLocale: (code) => composer.setLocale ? composer.setLocale(code) : void (locale.value = code)
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
export { catalogOf, createTranslator, directionOf, fromVueI18n, messages, nameOf, registerMessages, wordsIn };
|
|
80
|
+
|
|
81
|
+
//# sourceMappingURL=i18n.js.map
|
package/dist/i18n.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.js","names":["en"],"sources":["../src/i18n.ts"],"sourcesContent":["import { computed, ref, shallowReactive } from 'vue'\nimport type { Ref } from 'vue'\nimport en from './locales/en.json'\nimport hy from './locales/hy.json'\nimport ru from './locales/ru.json'\n\nexport type MessageKey = keyof typeof en.momo\nexport type MessageParams = Record<string, string | number>\nexport interface Messages { momo: Record<MessageKey, string> }\n\nexport const messages: Record<'en' | 'ru' | 'hy', Messages> = { en, ru, hy }\n\nexport interface Translator {\n locale: Ref<string>\n locales: Ref<string[]>\n t: (key: MessageKey, params?: MessageParams) => string\n setLocale: (code: string) => void | Promise<void>\n}\n\nexport interface VueI18nComposer {\n locale: Ref<string> | string\n availableLocales: readonly string[]\n t: (key: string, params?: MessageParams) => string\n te?: (key: string, locale?: string) => boolean\n mergeLocaleMessage?: (locale: string, messages: Messages) => void\n setLocale?: (code: string) => Promise<void>\n}\n\nexport type VueI18nLike = VueI18nComposer | { global: VueI18nComposer }\n\nconst RTL = new Set(['ar', 'arc', 'ckb', 'dv', 'fa', 'he', 'ps', 'sd', 'ug', 'ur', 'yi'])\n\nexport function directionOf(code: string): 'ltr' | 'rtl' {\n return RTL.has(code.toLowerCase().replace(/-.*/, '')) ? 'rtl' : 'ltr'\n}\n\nexport function nameOf(code: string): string {\n try {\n const name = String(new Intl.DisplayNames([code], { type: 'language' }).of(code))\n return name.charAt(0).toLocaleUpperCase(code) + name.slice(1)\n }\n catch {\n return code\n }\n}\n\nconst format = (message: string, params: MessageParams = {}) => message.replace(/\\{(\\w+)\\}/g, (match, name: string) => (name in params ? String(params[name]) : match))\n\nconst known = shallowReactive<Record<string, Messages>>({ ...messages })\n\nexport function registerMessages(code: string, catalog: Messages): void {\n known[code] = catalog\n}\n\nexport function catalogOf(code: string): Messages | undefined {\n return known[code] ?? known[code.toLowerCase().replace(/-.*/, '')]\n}\n\nexport function wordsIn(code: string, key: MessageKey, params?: MessageParams): string | undefined {\n const message = catalogOf(code)?.momo[key]\n return message === undefined ? undefined : format(message, params)\n}\n\nexport function createTranslator(code = 'en'): Translator {\n const locale = ref(code)\n return {\n locale,\n locales: computed(() => Object.keys(known)),\n t: (key, params) => format(known[locale.value]?.momo[key] ?? en.momo[key], params),\n setLocale: (next) => {\n if (!known[next]) {\n throw new Error(`Momo UI: no messages for \"${next}\". Add them with registerMessages('${next}', { momo: { ... } }) or install vue-i18n.`)\n }\n locale.value = next\n },\n }\n}\n\nexport function fromVueI18n(i18n: VueI18nLike): Translator {\n const composer = 'global' in i18n ? i18n.global : i18n\n for (const code of composer.availableLocales) {\n const own = messages[code as keyof typeof messages]\n if (own && !composer.te?.('momo.close', code)) {\n composer.mergeLocaleMessage?.(code, own)\n }\n }\n const locale = computed({\n get: () => (typeof composer.locale === 'string' ? composer.locale : composer.locale.value),\n set: (code: string) => {\n if (typeof composer.locale === 'string') {\n composer.locale = code\n }\n else {\n composer.locale.value = code\n }\n },\n })\n return {\n locale,\n locales: computed(() => [...composer.availableLocales]),\n t: (key, params) => composer.t(`momo.${key}`, params ?? {}),\n setLocale: code => (composer.setLocale ? composer.setLocale(code) : void (locale.value = code)),\n }\n}\n"],"mappings":";;;;;AAUA,IAAa,WAAiD;CAAE,IAAA;CAAI,IAAA;CAAI,IAAA;AAAG;AAoB3E,IAAM,sBAAM,IAAI,IAAI;CAAC;CAAM;CAAO;CAAO;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;AAAI,CAAC;AAExF,SAAgB,YAAY,MAA6B;CACvD,OAAO,IAAI,IAAI,KAAK,YAAY,CAAC,CAAC,QAAQ,OAAO,EAAE,CAAC,IAAI,QAAQ;AAClE;AAEA,SAAgB,OAAO,MAAsB;CAC3C,IAAI;EACF,MAAM,OAAO,OAAO,IAAI,KAAK,aAAa,CAAC,IAAI,GAAG,EAAE,MAAM,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;EAChF,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,kBAAkB,IAAI,IAAI,KAAK,MAAM,CAAC;CAC9D,QACM;EACJ,OAAO;CACT;AACF;AAEA,IAAM,UAAU,SAAiB,SAAwB,CAAC,MAAM,QAAQ,QAAQ,eAAe,OAAO,SAAkB,QAAQ,SAAS,OAAO,OAAO,KAAK,IAAI,KAAM;AAEtK,IAAM,QAAQ,gBAA0C,EAAE,GAAG,SAAS,CAAC;AAEvE,SAAgB,iBAAiB,MAAc,SAAyB;CACtE,MAAM,QAAQ;AAChB;AAEA,SAAgB,UAAU,MAAoC;CAC5D,OAAO,MAAM,SAAS,MAAM,KAAK,YAAY,CAAC,CAAC,QAAQ,OAAO,EAAE;AAClE;AAEA,SAAgB,QAAQ,MAAc,KAAiB,QAA4C;CACjG,MAAM,UAAU,UAAU,IAAI,CAAC,EAAE,KAAK;CACtC,OAAO,YAAY,KAAA,IAAY,KAAA,IAAY,OAAO,SAAS,MAAM;AACnE;AAEA,SAAgB,iBAAiB,OAAO,MAAkB;CACxD,MAAM,SAAS,IAAI,IAAI;CACvB,OAAO;EACL;EACA,SAAS,eAAe,OAAO,KAAK,KAAK,CAAC;EAC1C,IAAI,KAAK,WAAW,OAAO,MAAM,OAAO,MAAM,EAAE,KAAK,QAAQA,WAAG,KAAK,MAAM,MAAM;EACjF,YAAY,SAAS;GACnB,IAAI,CAAC,MAAM,OACT,MAAM,IAAI,MAAM,6BAA6B,KAAK,qCAAqC,KAAK,2CAA2C;GAEzI,OAAO,QAAQ;EACjB;CACF;AACF;AAEA,SAAgB,YAAY,MAA+B;CACzD,MAAM,WAAW,YAAY,OAAO,KAAK,SAAS;CAClD,KAAK,MAAM,QAAQ,SAAS,kBAAkB;EAC5C,MAAM,MAAM,SAAS;EACrB,IAAI,OAAO,CAAC,SAAS,KAAK,cAAc,IAAI,GAC1C,SAAS,qBAAqB,MAAM,GAAG;CAE3C;CACA,MAAM,SAAS,SAAS;EACtB,WAAY,OAAO,SAAS,WAAW,WAAW,SAAS,SAAS,SAAS,OAAO;EACpF,MAAM,SAAiB;GACrB,IAAI,OAAO,SAAS,WAAW,UAC7B,SAAS,SAAS;QAGlB,SAAS,OAAO,QAAQ;EAE5B;CACF,CAAC;CACD,OAAO;EACL;EACA,SAAS,eAAe,CAAC,GAAG,SAAS,gBAAgB,CAAC;EACtD,IAAI,KAAK,WAAW,SAAS,EAAE,QAAQ,OAAO,UAAU,CAAC,CAAC;EAC1D,YAAW,SAAS,SAAS,YAAY,SAAS,UAAU,IAAI,IAAI,MAAM,OAAO,QAAQ;CAC3F;AACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ICON, LUCIDE } from './lucide.js';
|
|
2
|
+
export type { IconName } from './lucide.js';
|
|
3
|
+
export { loadRemoteIcon, lookupIcon, registerIconCollection, resetIconRegistry } from './registry.js';
|
|
4
|
+
export { isIconData, isIconProp, normalizeIcon, parseIconName } from './resolve.js';
|
|
5
|
+
export type { IconData, IconifyIcon, IconProp, IconSource } from './types.js';
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { IconData } from './types.js';
|
|
2
|
+
export declare const ICON: {
|
|
3
|
+
readonly calendar: {
|
|
4
|
+
readonly viewBox: "0 0 24 24";
|
|
5
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8 2v3m8-3v3\"/><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 9h18\"/></g>";
|
|
6
|
+
};
|
|
7
|
+
readonly check: {
|
|
8
|
+
readonly viewBox: "0 0 24 24";
|
|
9
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 6L9 17l-5-5\"/>";
|
|
10
|
+
};
|
|
11
|
+
readonly chevronDown: {
|
|
12
|
+
readonly viewBox: "0 0 24 24";
|
|
13
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"/>";
|
|
14
|
+
};
|
|
15
|
+
readonly chevronLeft: {
|
|
16
|
+
readonly viewBox: "0 0 24 24";
|
|
17
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 18l-6-6l6-6\"/>";
|
|
18
|
+
};
|
|
19
|
+
readonly chevronRight: {
|
|
20
|
+
readonly viewBox: "0 0 24 24";
|
|
21
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"/>";
|
|
22
|
+
};
|
|
23
|
+
readonly chevronUp: {
|
|
24
|
+
readonly viewBox: "0 0 24 24";
|
|
25
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m18 15l-6-6l-6 6\"/>";
|
|
26
|
+
};
|
|
27
|
+
readonly chevronsLeft: {
|
|
28
|
+
readonly viewBox: "0 0 24 24";
|
|
29
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m11 17l-5-5l5-5m7 10l-5-5l5-5\"/>";
|
|
30
|
+
};
|
|
31
|
+
readonly chevronsUpDown: {
|
|
32
|
+
readonly viewBox: "0 0 24 24";
|
|
33
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 15l5 5l5-5M7 9l5-5l5 5\"/>";
|
|
34
|
+
};
|
|
35
|
+
readonly circle: {
|
|
36
|
+
readonly viewBox: "0 0 24 24";
|
|
37
|
+
readonly body: "<circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>";
|
|
38
|
+
};
|
|
39
|
+
readonly circleAlert: {
|
|
40
|
+
readonly viewBox: "0 0 24 24";
|
|
41
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 8v4m0 4h.01\"/></g>";
|
|
42
|
+
};
|
|
43
|
+
readonly circleCheck: {
|
|
44
|
+
readonly viewBox: "0 0 24 24";
|
|
45
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"m16 9l-5.5 5.5L8 12\"/></g>";
|
|
46
|
+
};
|
|
47
|
+
readonly clock: {
|
|
48
|
+
readonly viewBox: "0 0 24 24";
|
|
49
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 6v6l4 2\"/></g>";
|
|
50
|
+
};
|
|
51
|
+
readonly ellipsis: {
|
|
52
|
+
readonly viewBox: "0 0 24 24";
|
|
53
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"19\" cy=\"12\" r=\"1\"/><circle cx=\"5\" cy=\"12\" r=\"1\"/></g>";
|
|
54
|
+
};
|
|
55
|
+
readonly eye: {
|
|
56
|
+
readonly viewBox: "0 0 24 24";
|
|
57
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/></g>";
|
|
58
|
+
};
|
|
59
|
+
readonly eyeOff: {
|
|
60
|
+
readonly viewBox: "0 0 24 24";
|
|
61
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\"/><path d=\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\"/></g>";
|
|
62
|
+
};
|
|
63
|
+
readonly globe: {
|
|
64
|
+
readonly viewBox: "0 0 24 24";
|
|
65
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\"/></g>";
|
|
66
|
+
};
|
|
67
|
+
readonly gripVertical: {
|
|
68
|
+
readonly viewBox: "0 0 24 24";
|
|
69
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"9\" cy=\"12\" r=\"1\"/><circle cx=\"9\" cy=\"5\" r=\"1\"/><circle cx=\"9\" cy=\"19\" r=\"1\"/><circle cx=\"15\" cy=\"12\" r=\"1\"/><circle cx=\"15\" cy=\"5\" r=\"1\"/><circle cx=\"15\" cy=\"19\" r=\"1\"/></g>";
|
|
70
|
+
};
|
|
71
|
+
readonly info: {
|
|
72
|
+
readonly viewBox: "0 0 24 24";
|
|
73
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4m0-4h.01\"/></g>";
|
|
74
|
+
};
|
|
75
|
+
readonly maximize: {
|
|
76
|
+
readonly viewBox: "0 0 24 24";
|
|
77
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m8 0h3a2 2 0 0 0 2-2v-3\"/>";
|
|
78
|
+
};
|
|
79
|
+
readonly menu: {
|
|
80
|
+
readonly viewBox: "0 0 24 24";
|
|
81
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"/>";
|
|
82
|
+
};
|
|
83
|
+
readonly minimize: {
|
|
84
|
+
readonly viewBox: "0 0 24 24";
|
|
85
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3m8 0v-3a2 2 0 0 1 2-2h3\"/>";
|
|
86
|
+
};
|
|
87
|
+
readonly minus: {
|
|
88
|
+
readonly viewBox: "0 0 24 24";
|
|
89
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/>";
|
|
90
|
+
};
|
|
91
|
+
readonly monitor: {
|
|
92
|
+
readonly viewBox: "0 0 24 24";
|
|
93
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"20\" height=\"14\" x=\"2\" y=\"3\" rx=\"2\"/><path d=\"M8 21h8m-4-4v4\"/></g>";
|
|
94
|
+
};
|
|
95
|
+
readonly moon: {
|
|
96
|
+
readonly viewBox: "0 0 24 24";
|
|
97
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"/>";
|
|
98
|
+
};
|
|
99
|
+
readonly panelBottom: {
|
|
100
|
+
readonly viewBox: "0 0 24 24";
|
|
101
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 15h18\"/></g>";
|
|
102
|
+
};
|
|
103
|
+
readonly panelLeft: {
|
|
104
|
+
readonly viewBox: "0 0 24 24";
|
|
105
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M9 3v18\"/></g>";
|
|
106
|
+
};
|
|
107
|
+
readonly panelRight: {
|
|
108
|
+
readonly viewBox: "0 0 24 24";
|
|
109
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M15 3v18\"/></g>";
|
|
110
|
+
};
|
|
111
|
+
readonly panelTop: {
|
|
112
|
+
readonly viewBox: "0 0 24 24";
|
|
113
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 9h18\"/></g>";
|
|
114
|
+
};
|
|
115
|
+
readonly plus: {
|
|
116
|
+
readonly viewBox: "0 0 24 24";
|
|
117
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7v14\"/>";
|
|
118
|
+
};
|
|
119
|
+
readonly search: {
|
|
120
|
+
readonly viewBox: "0 0 24 24";
|
|
121
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m21 21l-4.34-4.34\"/><circle cx=\"11\" cy=\"11\" r=\"8\"/></g>";
|
|
122
|
+
};
|
|
123
|
+
readonly star: {
|
|
124
|
+
readonly viewBox: "0 0 24 24";
|
|
125
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\"/>";
|
|
126
|
+
};
|
|
127
|
+
readonly sun: {
|
|
128
|
+
readonly viewBox: "0 0 24 24";
|
|
129
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"/></g>";
|
|
130
|
+
};
|
|
131
|
+
readonly trendingDown: {
|
|
132
|
+
readonly viewBox: "0 0 24 24";
|
|
133
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 17h6v-6\"/><path d=\"m22 17l-8.5-8.5l-5 5L2 7\"/></g>";
|
|
134
|
+
};
|
|
135
|
+
readonly trendingUp: {
|
|
136
|
+
readonly viewBox: "0 0 24 24";
|
|
137
|
+
readonly body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 7h6v6\"/><path d=\"m22 7l-8.5 8.5l-5-5L2 17\"/></g>";
|
|
138
|
+
};
|
|
139
|
+
readonly triangleAlert: {
|
|
140
|
+
readonly viewBox: "0 0 24 24";
|
|
141
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\"/>";
|
|
142
|
+
};
|
|
143
|
+
readonly upload: {
|
|
144
|
+
readonly viewBox: "0 0 24 24";
|
|
145
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/>";
|
|
146
|
+
};
|
|
147
|
+
readonly x: {
|
|
148
|
+
readonly viewBox: "0 0 24 24";
|
|
149
|
+
readonly body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"/>";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
export type IconName = keyof typeof ICON;
|
|
153
|
+
export declare const LUCIDE: Record<string, IconData>;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
// src/icons/lucide.ts
|
|
2
|
+
var ICON = {
|
|
3
|
+
calendar: {
|
|
4
|
+
viewBox: "0 0 24 24",
|
|
5
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8 2v3m8-3v3\"/><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 9h18\"/></g>"
|
|
6
|
+
},
|
|
7
|
+
check: {
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 6L9 17l-5-5\"/>"
|
|
10
|
+
},
|
|
11
|
+
chevronDown: {
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"/>"
|
|
14
|
+
},
|
|
15
|
+
chevronLeft: {
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 18l-6-6l6-6\"/>"
|
|
18
|
+
},
|
|
19
|
+
chevronRight: {
|
|
20
|
+
viewBox: "0 0 24 24",
|
|
21
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"/>"
|
|
22
|
+
},
|
|
23
|
+
chevronUp: {
|
|
24
|
+
viewBox: "0 0 24 24",
|
|
25
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m18 15l-6-6l-6 6\"/>"
|
|
26
|
+
},
|
|
27
|
+
chevronsLeft: {
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m11 17l-5-5l5-5m7 10l-5-5l5-5\"/>"
|
|
30
|
+
},
|
|
31
|
+
chevronsUpDown: {
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 15l5 5l5-5M7 9l5-5l5 5\"/>"
|
|
34
|
+
},
|
|
35
|
+
circle: {
|
|
36
|
+
viewBox: "0 0 24 24",
|
|
37
|
+
body: "<circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>"
|
|
38
|
+
},
|
|
39
|
+
circleAlert: {
|
|
40
|
+
viewBox: "0 0 24 24",
|
|
41
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 8v4m0 4h.01\"/></g>"
|
|
42
|
+
},
|
|
43
|
+
circleCheck: {
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"m16 9l-5.5 5.5L8 12\"/></g>"
|
|
46
|
+
},
|
|
47
|
+
clock: {
|
|
48
|
+
viewBox: "0 0 24 24",
|
|
49
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 6v6l4 2\"/></g>"
|
|
50
|
+
},
|
|
51
|
+
ellipsis: {
|
|
52
|
+
viewBox: "0 0 24 24",
|
|
53
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"19\" cy=\"12\" r=\"1\"/><circle cx=\"5\" cy=\"12\" r=\"1\"/></g>"
|
|
54
|
+
},
|
|
55
|
+
eye: {
|
|
56
|
+
viewBox: "0 0 24 24",
|
|
57
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/></g>"
|
|
58
|
+
},
|
|
59
|
+
eyeOff: {
|
|
60
|
+
viewBox: "0 0 24 24",
|
|
61
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\"/><path d=\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\"/></g>"
|
|
62
|
+
},
|
|
63
|
+
globe: {
|
|
64
|
+
viewBox: "0 0 24 24",
|
|
65
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\"/></g>"
|
|
66
|
+
},
|
|
67
|
+
gripVertical: {
|
|
68
|
+
viewBox: "0 0 24 24",
|
|
69
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"9\" cy=\"12\" r=\"1\"/><circle cx=\"9\" cy=\"5\" r=\"1\"/><circle cx=\"9\" cy=\"19\" r=\"1\"/><circle cx=\"15\" cy=\"12\" r=\"1\"/><circle cx=\"15\" cy=\"5\" r=\"1\"/><circle cx=\"15\" cy=\"19\" r=\"1\"/></g>"
|
|
70
|
+
},
|
|
71
|
+
info: {
|
|
72
|
+
viewBox: "0 0 24 24",
|
|
73
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4m0-4h.01\"/></g>"
|
|
74
|
+
},
|
|
75
|
+
maximize: {
|
|
76
|
+
viewBox: "0 0 24 24",
|
|
77
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m8 0h3a2 2 0 0 0 2-2v-3\"/>"
|
|
78
|
+
},
|
|
79
|
+
menu: {
|
|
80
|
+
viewBox: "0 0 24 24",
|
|
81
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"/>"
|
|
82
|
+
},
|
|
83
|
+
minimize: {
|
|
84
|
+
viewBox: "0 0 24 24",
|
|
85
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3m8 0v-3a2 2 0 0 1 2-2h3\"/>"
|
|
86
|
+
},
|
|
87
|
+
minus: {
|
|
88
|
+
viewBox: "0 0 24 24",
|
|
89
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/>"
|
|
90
|
+
},
|
|
91
|
+
monitor: {
|
|
92
|
+
viewBox: "0 0 24 24",
|
|
93
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"20\" height=\"14\" x=\"2\" y=\"3\" rx=\"2\"/><path d=\"M8 21h8m-4-4v4\"/></g>"
|
|
94
|
+
},
|
|
95
|
+
moon: {
|
|
96
|
+
viewBox: "0 0 24 24",
|
|
97
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"/>"
|
|
98
|
+
},
|
|
99
|
+
panelBottom: {
|
|
100
|
+
viewBox: "0 0 24 24",
|
|
101
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 15h18\"/></g>"
|
|
102
|
+
},
|
|
103
|
+
panelLeft: {
|
|
104
|
+
viewBox: "0 0 24 24",
|
|
105
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M9 3v18\"/></g>"
|
|
106
|
+
},
|
|
107
|
+
panelRight: {
|
|
108
|
+
viewBox: "0 0 24 24",
|
|
109
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M15 3v18\"/></g>"
|
|
110
|
+
},
|
|
111
|
+
panelTop: {
|
|
112
|
+
viewBox: "0 0 24 24",
|
|
113
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 9h18\"/></g>"
|
|
114
|
+
},
|
|
115
|
+
plus: {
|
|
116
|
+
viewBox: "0 0 24 24",
|
|
117
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7v14\"/>"
|
|
118
|
+
},
|
|
119
|
+
search: {
|
|
120
|
+
viewBox: "0 0 24 24",
|
|
121
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m21 21l-4.34-4.34\"/><circle cx=\"11\" cy=\"11\" r=\"8\"/></g>"
|
|
122
|
+
},
|
|
123
|
+
star: {
|
|
124
|
+
viewBox: "0 0 24 24",
|
|
125
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\"/>"
|
|
126
|
+
},
|
|
127
|
+
sun: {
|
|
128
|
+
viewBox: "0 0 24 24",
|
|
129
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"/></g>"
|
|
130
|
+
},
|
|
131
|
+
trendingDown: {
|
|
132
|
+
viewBox: "0 0 24 24",
|
|
133
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 17h6v-6\"/><path d=\"m22 17l-8.5-8.5l-5 5L2 7\"/></g>"
|
|
134
|
+
},
|
|
135
|
+
trendingUp: {
|
|
136
|
+
viewBox: "0 0 24 24",
|
|
137
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 7h6v6\"/><path d=\"m22 7l-8.5 8.5l-5-5L2 17\"/></g>"
|
|
138
|
+
},
|
|
139
|
+
triangleAlert: {
|
|
140
|
+
viewBox: "0 0 24 24",
|
|
141
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\"/>"
|
|
142
|
+
},
|
|
143
|
+
upload: {
|
|
144
|
+
viewBox: "0 0 24 24",
|
|
145
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/>"
|
|
146
|
+
},
|
|
147
|
+
x: {
|
|
148
|
+
viewBox: "0 0 24 24",
|
|
149
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"/>"
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
var LUCIDE = {
|
|
153
|
+
"calendar": ICON.calendar,
|
|
154
|
+
"check": ICON.check,
|
|
155
|
+
"chevron-down": ICON.chevronDown,
|
|
156
|
+
"chevron-left": ICON.chevronLeft,
|
|
157
|
+
"chevron-right": ICON.chevronRight,
|
|
158
|
+
"chevron-up": ICON.chevronUp,
|
|
159
|
+
"chevrons-left": ICON.chevronsLeft,
|
|
160
|
+
"chevrons-up-down": ICON.chevronsUpDown,
|
|
161
|
+
"circle": ICON.circle,
|
|
162
|
+
"circle-alert": ICON.circleAlert,
|
|
163
|
+
"circle-check": ICON.circleCheck,
|
|
164
|
+
"clock": ICON.clock,
|
|
165
|
+
"ellipsis": ICON.ellipsis,
|
|
166
|
+
"eye": ICON.eye,
|
|
167
|
+
"eye-off": ICON.eyeOff,
|
|
168
|
+
"globe": ICON.globe,
|
|
169
|
+
"grip-vertical": ICON.gripVertical,
|
|
170
|
+
"info": ICON.info,
|
|
171
|
+
"maximize": ICON.maximize,
|
|
172
|
+
"menu": ICON.menu,
|
|
173
|
+
"minimize": ICON.minimize,
|
|
174
|
+
"minus": ICON.minus,
|
|
175
|
+
"monitor": ICON.monitor,
|
|
176
|
+
"moon": ICON.moon,
|
|
177
|
+
"panel-bottom": ICON.panelBottom,
|
|
178
|
+
"panel-left": ICON.panelLeft,
|
|
179
|
+
"panel-right": ICON.panelRight,
|
|
180
|
+
"panel-top": ICON.panelTop,
|
|
181
|
+
"plus": ICON.plus,
|
|
182
|
+
"search": ICON.search,
|
|
183
|
+
"star": ICON.star,
|
|
184
|
+
"sun": ICON.sun,
|
|
185
|
+
"trending-down": ICON.trendingDown,
|
|
186
|
+
"trending-up": ICON.trendingUp,
|
|
187
|
+
"triangle-alert": ICON.triangleAlert,
|
|
188
|
+
"upload": ICON.upload,
|
|
189
|
+
"x": ICON.x
|
|
190
|
+
};
|
|
191
|
+
export { ICON, LUCIDE };
|
|
192
|
+
|
|
193
|
+
//# sourceMappingURL=lucide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucide.js","names":[],"sources":["../../src/icons/lucide.ts"],"sourcesContent":["import type { IconData } from './types.ts'\n\nexport const ICON = {\n calendar: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8 2v3m8-3v3\"/><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 9h18\"/></g>',\n },\n check: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 6L9 17l-5-5\"/>',\n },\n chevronDown: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"/>',\n },\n chevronLeft: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 18l-6-6l6-6\"/>',\n },\n chevronRight: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"/>',\n },\n chevronUp: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m18 15l-6-6l-6 6\"/>',\n },\n chevronsLeft: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m11 17l-5-5l5-5m7 10l-5-5l5-5\"/>',\n },\n chevronsUpDown: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 15l5 5l5-5M7 9l5-5l5 5\"/>',\n },\n circle: {\n viewBox: '0 0 24 24',\n body: '<circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>',\n },\n circleAlert: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 8v4m0 4h.01\"/></g>',\n },\n circleCheck: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"m16 9l-5.5 5.5L8 12\"/></g>',\n },\n clock: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 6v6l4 2\"/></g>',\n },\n ellipsis: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"19\" cy=\"12\" r=\"1\"/><circle cx=\"5\" cy=\"12\" r=\"1\"/></g>',\n },\n eye: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/></g>',\n },\n eyeOff: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\"/><path d=\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\"/></g>',\n },\n globe: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\"/></g>',\n },\n gripVertical: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"9\" cy=\"12\" r=\"1\"/><circle cx=\"9\" cy=\"5\" r=\"1\"/><circle cx=\"9\" cy=\"19\" r=\"1\"/><circle cx=\"15\" cy=\"12\" r=\"1\"/><circle cx=\"15\" cy=\"5\" r=\"1\"/><circle cx=\"15\" cy=\"19\" r=\"1\"/></g>',\n },\n info: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4m0-4h.01\"/></g>',\n },\n maximize: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m8 0h3a2 2 0 0 0 2-2v-3\"/>',\n },\n menu: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"/>',\n },\n minimize: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3m8 0v-3a2 2 0 0 1 2-2h3\"/>',\n },\n minus: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/>',\n },\n monitor: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"20\" height=\"14\" x=\"2\" y=\"3\" rx=\"2\"/><path d=\"M8 21h8m-4-4v4\"/></g>',\n },\n moon: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"/>',\n },\n panelBottom: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 15h18\"/></g>',\n },\n panelLeft: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M9 3v18\"/></g>',\n },\n panelRight: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M15 3v18\"/></g>',\n },\n panelTop: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M3 9h18\"/></g>',\n },\n plus: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7v14\"/>',\n },\n search: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m21 21l-4.34-4.34\"/><circle cx=\"11\" cy=\"11\" r=\"8\"/></g>',\n },\n star: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\"/>',\n },\n sun: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"/></g>',\n },\n trendingDown: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 17h6v-6\"/><path d=\"m22 17l-8.5-8.5l-5 5L2 7\"/></g>',\n },\n trendingUp: {\n viewBox: '0 0 24 24',\n body: '<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 7h6v6\"/><path d=\"m22 7l-8.5 8.5l-5-5L2 17\"/></g>',\n },\n triangleAlert: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\"/>',\n },\n upload: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/>',\n },\n x: {\n viewBox: '0 0 24 24',\n body: '<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"/>',\n },\n} as const satisfies Record<string, IconData>\n\nexport type IconName = keyof typeof ICON\n\nexport const LUCIDE: Record<string, IconData> = {\n 'calendar': ICON.calendar,\n 'check': ICON.check,\n 'chevron-down': ICON.chevronDown,\n 'chevron-left': ICON.chevronLeft,\n 'chevron-right': ICON.chevronRight,\n 'chevron-up': ICON.chevronUp,\n 'chevrons-left': ICON.chevronsLeft,\n 'chevrons-up-down': ICON.chevronsUpDown,\n 'circle': ICON.circle,\n 'circle-alert': ICON.circleAlert,\n 'circle-check': ICON.circleCheck,\n 'clock': ICON.clock,\n 'ellipsis': ICON.ellipsis,\n 'eye': ICON.eye,\n 'eye-off': ICON.eyeOff,\n 'globe': ICON.globe,\n 'grip-vertical': ICON.gripVertical,\n 'info': ICON.info,\n 'maximize': ICON.maximize,\n 'menu': ICON.menu,\n 'minimize': ICON.minimize,\n 'minus': ICON.minus,\n 'monitor': ICON.monitor,\n 'moon': ICON.moon,\n 'panel-bottom': ICON.panelBottom,\n 'panel-left': ICON.panelLeft,\n 'panel-right': ICON.panelRight,\n 'panel-top': ICON.panelTop,\n 'plus': ICON.plus,\n 'search': ICON.search,\n 'star': ICON.star,\n 'sun': ICON.sun,\n 'trending-down': ICON.trendingDown,\n 'trending-up': ICON.trendingUp,\n 'triangle-alert': ICON.triangleAlert,\n 'upload': ICON.upload,\n 'x': ICON.x,\n}\n"],"mappings":";AAEA,IAAa,OAAO;CAClB,UAAU;EACR,SAAS;EACT,MAAM;CACR;CACA,OAAO;EACL,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,SAAS;EACT,MAAM;CACR;CACA,cAAc;EACZ,SAAS;EACT,MAAM;CACR;CACA,WAAW;EACT,SAAS;EACT,MAAM;CACR;CACA,cAAc;EACZ,SAAS;EACT,MAAM;CACR;CACA,gBAAgB;EACd,SAAS;EACT,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,SAAS;EACT,MAAM;CACR;CACA,OAAO;EACL,SAAS;EACT,MAAM;CACR;CACA,UAAU;EACR,SAAS;EACT,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,MAAM;CACR;CACA,OAAO;EACL,SAAS;EACT,MAAM;CACR;CACA,cAAc;EACZ,SAAS;EACT,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,MAAM;CACR;CACA,UAAU;EACR,SAAS;EACT,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,MAAM;CACR;CACA,UAAU;EACR,SAAS;EACT,MAAM;CACR;CACA,OAAO;EACL,SAAS;EACT,MAAM;CACR;CACA,SAAS;EACP,SAAS;EACT,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,SAAS;EACT,MAAM;CACR;CACA,WAAW;EACT,SAAS;EACT,MAAM;CACR;CACA,YAAY;EACV,SAAS;EACT,MAAM;CACR;CACA,UAAU;EACR,SAAS;EACT,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,MAAM;CACR;CACA,cAAc;EACZ,SAAS;EACT,MAAM;CACR;CACA,YAAY;EACV,SAAS;EACT,MAAM;CACR;CACA,eAAe;EACb,SAAS;EACT,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,MAAM;CACR;AACF;AAIA,IAAa,SAAmC;CAC9C,YAAY,KAAK;CACjB,SAAS,KAAK;CACd,gBAAgB,KAAK;CACrB,gBAAgB,KAAK;CACrB,iBAAiB,KAAK;CACtB,cAAc,KAAK;CACnB,iBAAiB,KAAK;CACtB,oBAAoB,KAAK;CACzB,UAAU,KAAK;CACf,gBAAgB,KAAK;CACrB,gBAAgB,KAAK;CACrB,SAAS,KAAK;CACd,YAAY,KAAK;CACjB,OAAO,KAAK;CACZ,WAAW,KAAK;CAChB,SAAS,KAAK;CACd,iBAAiB,KAAK;CACtB,QAAQ,KAAK;CACb,YAAY,KAAK;CACjB,QAAQ,KAAK;CACb,YAAY,KAAK;CACjB,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,QAAQ,KAAK;CACb,gBAAgB,KAAK;CACrB,cAAc,KAAK;CACnB,eAAe,KAAK;CACpB,aAAa,KAAK;CAClB,QAAQ,KAAK;CACb,UAAU,KAAK;CACf,QAAQ,KAAK;CACb,OAAO,KAAK;CACZ,iBAAiB,KAAK;CACtB,eAAe,KAAK;CACpB,kBAAkB,KAAK;CACvB,UAAU,KAAK;CACf,KAAK,KAAK;AACZ"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ShallowRef } from 'vue';
|
|
2
|
+
import type { IconData, IconifyIcon } from './types.js';
|
|
3
|
+
export declare function registerIconCollection(prefix: string, icons: Record<string, IconData | IconifyIcon>): void;
|
|
4
|
+
export declare function lookupIcon(prefix: string, name: string): IconData | null;
|
|
5
|
+
export declare function resetIconRegistry(): void;
|
|
6
|
+
export declare function loadRemoteIcon(endpoint: string, prefix: string, name: string): ShallowRef<IconData | null>;
|