@nuxt/ui 2.18.4 → 3.0.0-alpha.1
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/README.md +19 -2
- package/cli/commands/init.mjs +83 -0
- package/cli/index.mjs +15 -0
- package/cli/node_modules/.ignored/citty/LICENSE +36 -0
- package/cli/node_modules/.ignored/citty/README.md +134 -0
- package/cli/node_modules/.ignored/citty/dist/index.cjs +475 -0
- package/cli/node_modules/.ignored/citty/dist/index.d.cts +80 -0
- package/cli/node_modules/.ignored/citty/dist/index.d.mts +80 -0
- package/cli/node_modules/.ignored/citty/dist/index.d.ts +80 -0
- package/cli/node_modules/.ignored/citty/dist/index.mjs +463 -0
- package/cli/node_modules/.ignored/citty/package.json +49 -0
- package/cli/node_modules/.ignored/consola/LICENSE +47 -0
- package/cli/node_modules/.ignored/consola/README.md +318 -0
- package/cli/node_modules/.ignored/consola/core.d.ts +1 -0
- package/cli/node_modules/.ignored/consola/dist/basic.cjs +32 -0
- package/cli/node_modules/.ignored/consola/dist/basic.d.ts +9 -0
- package/cli/node_modules/.ignored/consola/dist/basic.mjs +24 -0
- package/cli/node_modules/.ignored/consola/dist/browser.cjs +80 -0
- package/cli/node_modules/.ignored/consola/dist/browser.d.ts +7 -0
- package/cli/node_modules/.ignored/consola/dist/browser.mjs +72 -0
- package/cli/node_modules/.ignored/consola/dist/chunks/prompt.cjs +436 -0
- package/cli/node_modules/.ignored/consola/dist/chunks/prompt.mjs +429 -0
- package/cli/node_modules/.ignored/consola/dist/core.cjs +415 -0
- package/cli/node_modules/.ignored/consola/dist/core.d.ts +124 -0
- package/cli/node_modules/.ignored/consola/dist/core.mjs +410 -0
- package/cli/node_modules/.ignored/consola/dist/index.cjs +21 -0
- package/cli/node_modules/.ignored/consola/dist/index.d.ts +9 -0
- package/cli/node_modules/.ignored/consola/dist/index.mjs +8 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.06ad8a64.mjs +62 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.36c0034f.mjs +636 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.4bbae468.cjs +645 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.deac7d5a.cjs +65 -0
- package/cli/node_modules/.ignored/consola/dist/utils.cjs +308 -0
- package/cli/node_modules/.ignored/consola/dist/utils.d.ts +169 -0
- package/cli/node_modules/.ignored/consola/dist/utils.mjs +284 -0
- package/cli/node_modules/.ignored/consola/lib/index.cjs +9 -0
- package/cli/node_modules/.ignored/consola/package.json +101 -0
- package/cli/node_modules/.ignored/consola/utils.d.ts +1 -0
- package/cli/node_modules/.ignored/pathe/LICENSE +44 -0
- package/cli/node_modules/.ignored/pathe/README.md +69 -0
- package/cli/node_modules/.ignored/pathe/dist/index.cjs +23 -0
- package/cli/node_modules/.ignored/pathe/dist/index.d.cts +36 -0
- package/cli/node_modules/.ignored/pathe/dist/index.d.mts +36 -0
- package/cli/node_modules/.ignored/pathe/dist/index.d.ts +36 -0
- package/cli/node_modules/.ignored/pathe/dist/index.mjs +1 -0
- package/cli/node_modules/.ignored/pathe/dist/shared/pathe.1f0a373c.cjs +238 -0
- package/cli/node_modules/.ignored/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.cjs +58 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.d.cts +5 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.d.mts +5 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.d.ts +5 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.mjs +54 -0
- package/cli/node_modules/.ignored/pathe/package.json +48 -0
- package/cli/node_modules/.ignored/pathe/utils.d.ts +1 -0
- package/cli/node_modules/.ignored/scule/LICENSE +21 -0
- package/cli/node_modules/.ignored/scule/README.md +149 -0
- package/cli/node_modules/.ignored/scule/dist/index.cjs +92 -0
- package/cli/node_modules/.ignored/scule/dist/index.d.cts +57 -0
- package/cli/node_modules/.ignored/scule/dist/index.d.mts +57 -0
- package/cli/node_modules/.ignored/scule/dist/index.d.ts +57 -0
- package/cli/node_modules/.ignored/scule/dist/index.mjs +80 -0
- package/cli/node_modules/.ignored/scule/package.json +43 -0
- package/cli/node_modules/.package-lock.json +33 -0
- package/cli/package.json +13 -0
- package/cli/templates.mjs +171 -0
- package/cli/utils.mjs +17 -0
- package/dist/module.d.mts +10 -26
- package/dist/module.d.ts +10 -26
- package/dist/module.json +4 -4
- package/dist/module.mjs +2574 -154
- package/dist/runtime/components/Accordion.vue +110 -0
- package/dist/runtime/components/Alert.vue +130 -0
- package/dist/runtime/components/App.vue +42 -0
- package/dist/runtime/components/Avatar.vue +69 -0
- package/dist/runtime/components/AvatarGroup.vue +98 -0
- package/dist/runtime/components/Badge.vue +46 -0
- package/dist/runtime/components/Breadcrumb.vue +98 -0
- package/dist/runtime/components/Button.vue +82 -0
- package/dist/runtime/components/ButtonGroup.vue +53 -0
- package/dist/runtime/components/Card.vue +52 -0
- package/dist/runtime/components/Checkbox.vue +128 -0
- package/dist/runtime/components/Chip.vue +76 -0
- package/dist/runtime/components/Collapsible.vue +54 -0
- package/dist/runtime/components/CommandPalette.vue +303 -0
- package/dist/runtime/components/Container.vue +36 -0
- package/dist/runtime/components/ContextMenu.vue +103 -0
- package/dist/runtime/components/ContextMenuContent.vue +122 -0
- package/dist/runtime/components/Drawer.vue +115 -0
- package/dist/runtime/components/DropdownMenu.vue +115 -0
- package/dist/runtime/components/DropdownMenuContent.vue +129 -0
- package/dist/runtime/components/Form.vue +227 -0
- package/dist/runtime/components/FormField.vue +107 -0
- package/dist/runtime/components/Icon.vue +26 -0
- package/dist/runtime/components/Input.vue +180 -0
- package/dist/runtime/components/InputMenu.vue +371 -0
- package/dist/runtime/components/Kbd.vue +49 -0
- package/dist/runtime/components/Link.vue +147 -0
- package/dist/runtime/components/LinkBase.vue +60 -0
- package/dist/runtime/components/Modal.vue +163 -0
- package/dist/runtime/components/ModalProvider.vue +12 -0
- package/dist/runtime/components/NavigationMenu.vue +195 -0
- package/dist/runtime/components/Pagination.vue +173 -0
- package/dist/runtime/components/Popover.vue +88 -0
- package/dist/runtime/components/Progress.vue +164 -0
- package/dist/runtime/components/RadioGroup.vue +159 -0
- package/dist/runtime/components/Select.vue +230 -0
- package/dist/runtime/components/SelectMenu.vue +306 -0
- package/dist/runtime/components/Separator.vue +82 -0
- package/dist/runtime/components/Skeleton.vue +31 -0
- package/dist/runtime/components/Slideover.vue +162 -0
- package/dist/runtime/components/SlideoverProvider.vue +12 -0
- package/dist/runtime/components/Slider.vue +113 -0
- package/dist/runtime/components/Switch.vue +124 -0
- package/dist/runtime/components/Tabs.vue +114 -0
- package/dist/runtime/components/Textarea.vue +189 -0
- package/dist/runtime/components/Toast.vue +161 -0
- package/dist/runtime/components/Toaster.vue +130 -0
- package/dist/runtime/components/Tooltip.vue +88 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +7 -5
- package/dist/runtime/composables/defineShortcuts.js +94 -65
- package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
- package/dist/runtime/composables/useAvatarGroup.js +10 -0
- package/dist/runtime/composables/useButtonGroup.d.ts +12 -17
- package/dist/runtime/composables/useButtonGroup.js +6 -56
- package/dist/runtime/composables/useComponentIcons.d.ts +26 -0
- package/dist/runtime/composables/useComponentIcons.js +26 -0
- package/dist/runtime/composables/useFormField.d.ts +34 -0
- package/dist/runtime/composables/useFormField.js +54 -0
- package/dist/runtime/composables/useKbd.d.ts +28 -0
- package/dist/runtime/composables/useKbd.js +46 -0
- package/dist/runtime/composables/useModal.d.ts +8 -4
- package/dist/runtime/composables/useModal.js +1 -0
- package/dist/runtime/composables/useSlideover.d.ts +9 -5
- package/dist/runtime/composables/useSlideover.js +3 -2
- package/dist/runtime/composables/useToast.d.ts +9 -17
- package/dist/runtime/composables/useToast.js +27 -13
- package/dist/runtime/index.css +1 -0
- package/dist/runtime/plugins/colors.js +9 -17
- package/dist/runtime/plugins/{slideovers.js → slideover.js} +3 -3
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/component.d.ts +17 -14
- package/dist/runtime/types/component.js +0 -0
- package/dist/runtime/types/form.d.ts +62 -32
- package/dist/runtime/types/form.js +12 -0
- package/dist/runtime/types/index.d.ts +41 -30
- package/dist/runtime/types/index.js +42 -31
- package/dist/runtime/types/utils.d.ts +13 -32
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/utils/form.d.ts +15 -0
- package/dist/runtime/utils/form.js +66 -0
- package/dist/runtime/utils/fuse.d.ts +4 -0
- package/dist/runtime/utils/fuse.js +63 -0
- package/dist/runtime/utils/index.d.ts +4 -10
- package/dist/runtime/utils/index.js +40 -60
- package/dist/runtime/utils/link.d.ts +26 -71
- package/dist/runtime/utils/link.js +4 -124
- package/package.json +50 -49
- package/dist/runtime/components/data/Table.vue +0 -355
- package/dist/runtime/components/data/Table.vue.d.ts +0 -439
- package/dist/runtime/components/elements/Accordion.vue +0 -185
- package/dist/runtime/components/elements/Accordion.vue.d.ts +0 -223
- package/dist/runtime/components/elements/Alert.vue +0 -139
- package/dist/runtime/components/elements/Alert.vue.d.ts +0 -194
- package/dist/runtime/components/elements/Avatar.vue +0 -160
- package/dist/runtime/components/elements/Avatar.vue.d.ts +0 -255
- package/dist/runtime/components/elements/AvatarGroup.d.ts +0 -56
- package/dist/runtime/components/elements/AvatarGroup.js +0 -58
- package/dist/runtime/components/elements/Badge.vue +0 -75
- package/dist/runtime/components/elements/Badge.vue.d.ts +0 -109
- package/dist/runtime/components/elements/Button.vue +0 -193
- package/dist/runtime/components/elements/Button.vue.d.ts +0 -504
- package/dist/runtime/components/elements/ButtonGroup.d.ts +0 -153
- package/dist/runtime/components/elements/ButtonGroup.js +0 -51
- package/dist/runtime/components/elements/Carousel.vue +0 -165
- package/dist/runtime/components/elements/Carousel.vue.d.ts +0 -159
- package/dist/runtime/components/elements/Chip.vue +0 -85
- package/dist/runtime/components/elements/Chip.vue.d.ts +0 -162
- package/dist/runtime/components/elements/Dropdown.vue +0 -254
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +0 -254
- package/dist/runtime/components/elements/Icon.vue +0 -30
- package/dist/runtime/components/elements/Icon.vue.d.ts +0 -47
- package/dist/runtime/components/elements/Kbd.vue +0 -59
- package/dist/runtime/components/elements/Kbd.vue.d.ts +0 -86
- package/dist/runtime/components/elements/Link.vue +0 -95
- package/dist/runtime/components/elements/Link.vue.d.ts +0 -225
- package/dist/runtime/components/elements/Meter.vue +0 -170
- package/dist/runtime/components/elements/Meter.vue.d.ts +0 -279
- package/dist/runtime/components/elements/MeterGroup.d.ts +0 -135
- package/dist/runtime/components/elements/MeterGroup.js +0 -159
- package/dist/runtime/components/elements/Progress.vue +0 -203
- package/dist/runtime/components/elements/Progress.vue.d.ts +0 -280
- package/dist/runtime/components/forms/Checkbox.vue +0 -143
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +0 -179
- package/dist/runtime/components/forms/Form.vue +0 -219
- package/dist/runtime/components/forms/Form.vue.d.ts +0 -53
- package/dist/runtime/components/forms/FormGroup.vue +0 -128
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +0 -169
- package/dist/runtime/components/forms/Input.vue +0 -300
- package/dist/runtime/components/forms/Input.vue.d.ts +0 -482
- package/dist/runtime/components/forms/InputMenu.vue +0 -439
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +0 -700
- package/dist/runtime/components/forms/Radio.vue +0 -140
- package/dist/runtime/components/forms/Radio.vue.d.ts +0 -168
- package/dist/runtime/components/forms/RadioGroup.vue +0 -145
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +0 -176
- package/dist/runtime/components/forms/Range.vue +0 -173
- package/dist/runtime/components/forms/Range.vue.d.ts +0 -268
- package/dist/runtime/components/forms/Select.vue +0 -322
- package/dist/runtime/components/forms/Select.vue.d.ts +0 -471
- package/dist/runtime/components/forms/SelectMenu.vue +0 -546
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +0 -754
- package/dist/runtime/components/forms/Textarea.vue +0 -231
- package/dist/runtime/components/forms/Textarea.vue.d.ts +0 -436
- package/dist/runtime/components/forms/Toggle.vue +0 -171
- package/dist/runtime/components/forms/Toggle.vue.d.ts +0 -262
- package/dist/runtime/components/layout/Card.vue +0 -63
- package/dist/runtime/components/layout/Card.vue.d.ts +0 -89
- package/dist/runtime/components/layout/Container.vue +0 -48
- package/dist/runtime/components/layout/Container.vue.d.ts +0 -53
- package/dist/runtime/components/layout/Divider.vue +0 -108
- package/dist/runtime/components/layout/Divider.vue.d.ts +0 -198
- package/dist/runtime/components/layout/Skeleton.vue +0 -46
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +0 -53
- package/dist/runtime/components/navigation/Breadcrumb.vue +0 -82
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +0 -95
- package/dist/runtime/components/navigation/CommandPalette.vue +0 -345
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +0 -390
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue +0 -152
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +0 -60
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +0 -102
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +0 -99
- package/dist/runtime/components/navigation/Pagination.vue +0 -270
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +0 -260
- package/dist/runtime/components/navigation/Tabs.vue +0 -163
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +0 -165
- package/dist/runtime/components/navigation/VerticalNavigation.vue +0 -105
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +0 -113
- package/dist/runtime/components/overlays/ContextMenu.vue +0 -85
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +0 -126
- package/dist/runtime/components/overlays/Modal.vue +0 -122
- package/dist/runtime/components/overlays/Modal.vue.d.ts +0 -166
- package/dist/runtime/components/overlays/Modals.client.vue +0 -18
- package/dist/runtime/components/overlays/Notification.vue +0 -212
- package/dist/runtime/components/overlays/Notification.vue.d.ts +0 -235
- package/dist/runtime/components/overlays/Notifications.vue +0 -69
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +0 -66
- package/dist/runtime/components/overlays/Popover.vue +0 -213
- package/dist/runtime/components/overlays/Popover.vue.d.ts +0 -220
- package/dist/runtime/components/overlays/Slideover.vue +0 -152
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +0 -167
- package/dist/runtime/components/overlays/Slideovers.client.vue +0 -18
- package/dist/runtime/components/overlays/Tooltip.vue +0 -127
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +0 -165
- package/dist/runtime/composables/useCarouselScroll.d.ts +0 -2
- package/dist/runtime/composables/useCarouselScroll.js +0 -37
- package/dist/runtime/composables/useCopyToClipboard.d.ts +0 -10
- package/dist/runtime/composables/useCopyToClipboard.js +0 -26
- package/dist/runtime/composables/useFormGroup.d.ts +0 -18
- package/dist/runtime/composables/useFormGroup.js +0 -45
- package/dist/runtime/composables/usePopper.d.ts +0 -268
- package/dist/runtime/composables/usePopper.js +0 -94
- package/dist/runtime/composables/useShortcuts.d.ts +0 -12
- package/dist/runtime/composables/useShortcuts.js +0 -26
- package/dist/runtime/composables/useTimer.d.ts +0 -8
- package/dist/runtime/composables/useTimer.js +0 -51
- package/dist/runtime/composables/useUI.d.ts +0 -10
- package/dist/runtime/composables/useUI.js +0 -24
- package/dist/runtime/types/accordion.d.ts +0 -9
- package/dist/runtime/types/alert.d.ts +0 -12
- package/dist/runtime/types/avatar.d.ts +0 -17
- package/dist/runtime/types/badge.d.ts +0 -15
- package/dist/runtime/types/breadcrumb.d.ts +0 -10
- package/dist/runtime/types/button.d.ts +0 -31
- package/dist/runtime/types/chip.d.ts +0 -15
- package/dist/runtime/types/clipboard.d.ts +0 -3
- package/dist/runtime/types/command-palette.d.ts +0 -29
- package/dist/runtime/types/divider.d.ts +0 -3
- package/dist/runtime/types/dropdown.d.ts +0 -15
- package/dist/runtime/types/form-group.d.ts +0 -5
- package/dist/runtime/types/horizontal-navigation.d.ts +0 -13
- package/dist/runtime/types/input.d.ts +0 -8
- package/dist/runtime/types/kbd.d.ts +0 -5
- package/dist/runtime/types/link.d.ts +0 -12
- package/dist/runtime/types/meter.d.ts +0 -5
- package/dist/runtime/types/modal.d.ts +0 -18
- package/dist/runtime/types/notification.d.ts +0 -24
- package/dist/runtime/types/popper.d.ts +0 -17
- package/dist/runtime/types/progress.d.ts +0 -6
- package/dist/runtime/types/range.d.ts +0 -7
- package/dist/runtime/types/select.d.ts +0 -8
- package/dist/runtime/types/slideover.d.ts +0 -16
- package/dist/runtime/types/tabs.d.ts +0 -8
- package/dist/runtime/types/textarea.d.ts +0 -8
- package/dist/runtime/types/toggle.d.ts +0 -7
- package/dist/runtime/types/tooltip.d.ts +0 -7
- package/dist/runtime/types/vertical-navigation.d.ts +0 -13
- package/dist/runtime/ui.config/data/table.d.ts +0 -81
- package/dist/runtime/ui.config/data/table.js +0 -80
- package/dist/runtime/ui.config/elements/accordion.d.ts +0 -23
- package/dist/runtime/ui.config/elements/accordion.js +0 -22
- package/dist/runtime/ui.config/elements/alert.d.ts +0 -41
- package/dist/runtime/ui.config/elements/alert.js +0 -40
- package/dist/runtime/ui.config/elements/avatar.d.ts +0 -60
- package/dist/runtime/ui.config/elements/avatar.js +0 -59
- package/dist/runtime/ui.config/elements/avatarGroup.d.ts +0 -6
- package/dist/runtime/ui.config/elements/avatarGroup.js +0 -5
- package/dist/runtime/ui.config/elements/badge.d.ts +0 -34
- package/dist/runtime/ui.config/elements/badge.js +0 -33
- package/dist/runtime/ui.config/elements/button.d.ts +0 -81
- package/dist/runtime/ui.config/elements/button.js +0 -80
- package/dist/runtime/ui.config/elements/buttonGroup.d.ts +0 -101
- package/dist/runtime/ui.config/elements/buttonGroup.js +0 -19
- package/dist/runtime/ui.config/elements/carousel.d.ts +0 -27
- package/dist/runtime/ui.config/elements/carousel.js +0 -26
- package/dist/runtime/ui.config/elements/chip.d.ts +0 -35
- package/dist/runtime/ui.config/elements/chip.js +0 -34
- package/dist/runtime/ui.config/elements/dropdown.d.ts +0 -59
- package/dist/runtime/ui.config/elements/dropdown.js +0 -57
- package/dist/runtime/ui.config/elements/kbd.d.ts +0 -17
- package/dist/runtime/ui.config/elements/kbd.js +0 -16
- package/dist/runtime/ui.config/elements/meter.d.ts +0 -77
- package/dist/runtime/ui.config/elements/meter.js +0 -76
- package/dist/runtime/ui.config/elements/meterGroup.d.ts +0 -52
- package/dist/runtime/ui.config/elements/meterGroup.js +0 -24
- package/dist/runtime/ui.config/elements/progress.d.ts +0 -75
- package/dist/runtime/ui.config/elements/progress.js +0 -74
- package/dist/runtime/ui.config/forms/checkbox.d.ts +0 -19
- package/dist/runtime/ui.config/forms/checkbox.js +0 -18
- package/dist/runtime/ui.config/forms/formGroup.d.ts +0 -26
- package/dist/runtime/ui.config/forms/formGroup.js +0 -26
- package/dist/runtime/ui.config/forms/input.d.ts +0 -110
- package/dist/runtime/ui.config/forms/input.js +0 -109
- package/dist/runtime/ui.config/forms/inputMenu.d.ts +0 -64
- package/dist/runtime/ui.config/forms/inputMenu.js +0 -62
- package/dist/runtime/ui.config/forms/radio.d.ts +0 -18
- package/dist/runtime/ui.config/forms/radio.js +0 -17
- package/dist/runtime/ui.config/forms/radioGroup.d.ts +0 -9
- package/dist/runtime/ui.config/forms/radioGroup.js +0 -8
- package/dist/runtime/ui.config/forms/range.d.ts +0 -64
- package/dist/runtime/ui.config/forms/range.js +0 -63
- package/dist/runtime/ui.config/forms/select.d.ts +0 -111
- package/dist/runtime/ui.config/forms/select.js +0 -13
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +0 -70
- package/dist/runtime/ui.config/forms/selectMenu.js +0 -32
- package/dist/runtime/ui.config/forms/textarea.d.ts +0 -109
- package/dist/runtime/ui.config/forms/textarea.js +0 -10
- package/dist/runtime/ui.config/forms/toggle.d.ts +0 -63
- package/dist/runtime/ui.config/forms/toggle.js +0 -62
- package/dist/runtime/ui.config/index.d.ts +0 -43
- package/dist/runtime/ui.config/index.js +0 -43
- package/dist/runtime/ui.config/layout/card.d.ts +0 -24
- package/dist/runtime/ui.config/layout/card.js +0 -23
- package/dist/runtime/ui.config/layout/container.d.ts +0 -6
- package/dist/runtime/ui.config/layout/container.js +0 -5
- package/dist/runtime/ui.config/layout/divider.d.ts +0 -52
- package/dist/runtime/ui.config/layout/divider.js +0 -51
- package/dist/runtime/ui.config/layout/skeleton.d.ts +0 -6
- package/dist/runtime/ui.config/layout/skeleton.js +0 -5
- package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +0 -21
- package/dist/runtime/ui.config/navigation/breadcrumb.js +0 -20
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +0 -72
- package/dist/runtime/ui.config/navigation/commandPalette.js +0 -71
- package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +0 -27
- package/dist/runtime/ui.config/navigation/horizontalNavigation.js +0 -26
- package/dist/runtime/ui.config/navigation/pagination.d.ts +0 -35
- package/dist/runtime/ui.config/navigation/pagination.js +0 -34
- package/dist/runtime/ui.config/navigation/tabs.d.ts +0 -35
- package/dist/runtime/ui.config/navigation/tabs.js +0 -34
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +0 -34
- package/dist/runtime/ui.config/navigation/verticalNavigation.js +0 -33
- package/dist/runtime/ui.config/overlays/contextMenu.d.ts +0 -31
- package/dist/runtime/ui.config/overlays/contextMenu.js +0 -25
- package/dist/runtime/ui.config/overlays/modal.d.ts +0 -36
- package/dist/runtime/ui.config/overlays/modal.js +0 -37
- package/dist/runtime/ui.config/overlays/notification.d.ts +0 -50
- package/dist/runtime/ui.config/overlays/notification.js +0 -50
- package/dist/runtime/ui.config/overlays/notifications.d.ts +0 -7
- package/dist/runtime/ui.config/overlays/notifications.js +0 -6
- package/dist/runtime/ui.config/overlays/popover.d.ts +0 -47
- package/dist/runtime/ui.config/overlays/popover.js +0 -41
- package/dist/runtime/ui.config/overlays/slideover.d.ts +0 -35
- package/dist/runtime/ui.config/overlays/slideover.js +0 -36
- package/dist/runtime/ui.config/overlays/tooltip.d.ts +0 -37
- package/dist/runtime/ui.config/overlays/tooltip.js +0 -34
- package/dist/runtime/ui.config/popper.d.ts +0 -8
- package/dist/runtime/ui.config/popper.js +0 -9
- package/dist/runtime/ui.css +0 -1
- package/dist/runtime/utils/colors.d.ts +0 -11
- package/dist/runtime/utils/colors.js +0 -307
- package/dist/runtime/utils/lodash.d.ts +0 -2
- package/dist/runtime/utils/lodash.js +0 -23
- package/dist/runtime/plugins/{modals.d.ts → modal.d.ts} +0 -0
- package/dist/runtime/plugins/{modals.js → modal.js} +1 -1
- /package/dist/runtime/plugins/{slideovers.d.ts → slideover.d.ts} +0 -0
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { AvatarSize, AvatarChipColor, AvatarChipPosition, Strategy } from '../../types/index.js';
|
|
3
|
-
declare const config: {
|
|
4
|
-
wrapper: string;
|
|
5
|
-
background: string;
|
|
6
|
-
rounded: string;
|
|
7
|
-
text: string;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
size: {
|
|
10
|
-
'3xs': string;
|
|
11
|
-
'2xs': string;
|
|
12
|
-
xs: string;
|
|
13
|
-
sm: string;
|
|
14
|
-
md: string;
|
|
15
|
-
lg: string;
|
|
16
|
-
xl: string;
|
|
17
|
-
'2xl': string;
|
|
18
|
-
'3xl': string;
|
|
19
|
-
};
|
|
20
|
-
chip: {
|
|
21
|
-
base: string;
|
|
22
|
-
background: string;
|
|
23
|
-
position: {
|
|
24
|
-
'top-right': string;
|
|
25
|
-
'bottom-right': string;
|
|
26
|
-
'top-left': string;
|
|
27
|
-
'bottom-left': string;
|
|
28
|
-
};
|
|
29
|
-
size: {
|
|
30
|
-
'3xs': string;
|
|
31
|
-
'2xs': string;
|
|
32
|
-
xs: string;
|
|
33
|
-
sm: string;
|
|
34
|
-
md: string;
|
|
35
|
-
lg: string;
|
|
36
|
-
xl: string;
|
|
37
|
-
'2xl': string;
|
|
38
|
-
'3xl': string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
icon: {
|
|
42
|
-
base: string;
|
|
43
|
-
size: {
|
|
44
|
-
'3xs': string;
|
|
45
|
-
'2xs': string;
|
|
46
|
-
xs: string;
|
|
47
|
-
sm: string;
|
|
48
|
-
md: string;
|
|
49
|
-
lg: string;
|
|
50
|
-
xl: string;
|
|
51
|
-
'2xl': string;
|
|
52
|
-
'3xl': string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
default: {
|
|
56
|
-
size: string;
|
|
57
|
-
icon: any;
|
|
58
|
-
chipColor: any;
|
|
59
|
-
chipPosition: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
declare const _default: import("vue").DefineComponent<{
|
|
63
|
-
as: {
|
|
64
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
src: {
|
|
68
|
-
type: (StringConstructor | BooleanConstructor)[];
|
|
69
|
-
default: any;
|
|
70
|
-
};
|
|
71
|
-
alt: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: any;
|
|
74
|
-
};
|
|
75
|
-
text: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: any;
|
|
78
|
-
};
|
|
79
|
-
icon: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: () => any;
|
|
82
|
-
};
|
|
83
|
-
size: {
|
|
84
|
-
type: PropType<AvatarSize>;
|
|
85
|
-
default: () => string;
|
|
86
|
-
validator(value: string): boolean;
|
|
87
|
-
};
|
|
88
|
-
chipColor: {
|
|
89
|
-
type: PropType<AvatarChipColor>;
|
|
90
|
-
default: () => any;
|
|
91
|
-
validator(value: string): boolean;
|
|
92
|
-
};
|
|
93
|
-
chipPosition: {
|
|
94
|
-
type: PropType<AvatarChipPosition>;
|
|
95
|
-
default: () => string;
|
|
96
|
-
validator(value: string): boolean;
|
|
97
|
-
};
|
|
98
|
-
chipText: {
|
|
99
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
100
|
-
default: any;
|
|
101
|
-
};
|
|
102
|
-
imgClass: {
|
|
103
|
-
type: StringConstructor;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
class: {
|
|
107
|
-
type: PropType<any>;
|
|
108
|
-
default: () => "";
|
|
109
|
-
};
|
|
110
|
-
ui: {
|
|
111
|
-
type: PropType<Partial<typeof config> & {
|
|
112
|
-
strategy?: Strategy;
|
|
113
|
-
}>;
|
|
114
|
-
default: () => {};
|
|
115
|
-
};
|
|
116
|
-
}, {
|
|
117
|
-
ui: import("vue").ComputedRef<{
|
|
118
|
-
wrapper: string;
|
|
119
|
-
background: string;
|
|
120
|
-
rounded: string;
|
|
121
|
-
text: string;
|
|
122
|
-
placeholder: string;
|
|
123
|
-
size: {
|
|
124
|
-
'3xs': string;
|
|
125
|
-
'2xs': string;
|
|
126
|
-
xs: string;
|
|
127
|
-
sm: string;
|
|
128
|
-
md: string;
|
|
129
|
-
lg: string;
|
|
130
|
-
xl: string;
|
|
131
|
-
'2xl': string;
|
|
132
|
-
'3xl': string;
|
|
133
|
-
};
|
|
134
|
-
chip: {
|
|
135
|
-
base: string;
|
|
136
|
-
background: string;
|
|
137
|
-
position: {
|
|
138
|
-
'top-right': string;
|
|
139
|
-
'bottom-right': string;
|
|
140
|
-
'top-left': string;
|
|
141
|
-
'bottom-left': string;
|
|
142
|
-
};
|
|
143
|
-
size: {
|
|
144
|
-
'3xs': string;
|
|
145
|
-
'2xs': string;
|
|
146
|
-
xs: string;
|
|
147
|
-
sm: string;
|
|
148
|
-
md: string;
|
|
149
|
-
lg: string;
|
|
150
|
-
xl: string;
|
|
151
|
-
'2xl': string;
|
|
152
|
-
'3xl': string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
icon: {
|
|
156
|
-
base: string;
|
|
157
|
-
size: {
|
|
158
|
-
'3xs': string;
|
|
159
|
-
'2xs': string;
|
|
160
|
-
xs: string;
|
|
161
|
-
sm: string;
|
|
162
|
-
md: string;
|
|
163
|
-
lg: string;
|
|
164
|
-
xl: string;
|
|
165
|
-
'2xl': string;
|
|
166
|
-
'3xl': string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
default: {
|
|
170
|
-
size: string;
|
|
171
|
-
icon: any;
|
|
172
|
-
chipColor: any;
|
|
173
|
-
chipPosition: string;
|
|
174
|
-
};
|
|
175
|
-
}>;
|
|
176
|
-
attrs: import("vue").ComputedRef<Pick<{
|
|
177
|
-
[x: string]: unknown;
|
|
178
|
-
}, string>>;
|
|
179
|
-
wrapperClass: import("vue").ComputedRef<string>;
|
|
180
|
-
imgClass: import("vue").ComputedRef<string>;
|
|
181
|
-
iconClass: import("vue").ComputedRef<string>;
|
|
182
|
-
chipClass: import("vue").ComputedRef<string>;
|
|
183
|
-
url: import("vue").ComputedRef<string>;
|
|
184
|
-
placeholder: import("vue").ComputedRef<string>;
|
|
185
|
-
error: import("vue").Ref<boolean>;
|
|
186
|
-
onError: () => void;
|
|
187
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
188
|
-
as: {
|
|
189
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
190
|
-
default: string;
|
|
191
|
-
};
|
|
192
|
-
src: {
|
|
193
|
-
type: (StringConstructor | BooleanConstructor)[];
|
|
194
|
-
default: any;
|
|
195
|
-
};
|
|
196
|
-
alt: {
|
|
197
|
-
type: StringConstructor;
|
|
198
|
-
default: any;
|
|
199
|
-
};
|
|
200
|
-
text: {
|
|
201
|
-
type: StringConstructor;
|
|
202
|
-
default: any;
|
|
203
|
-
};
|
|
204
|
-
icon: {
|
|
205
|
-
type: StringConstructor;
|
|
206
|
-
default: () => any;
|
|
207
|
-
};
|
|
208
|
-
size: {
|
|
209
|
-
type: PropType<AvatarSize>;
|
|
210
|
-
default: () => string;
|
|
211
|
-
validator(value: string): boolean;
|
|
212
|
-
};
|
|
213
|
-
chipColor: {
|
|
214
|
-
type: PropType<AvatarChipColor>;
|
|
215
|
-
default: () => any;
|
|
216
|
-
validator(value: string): boolean;
|
|
217
|
-
};
|
|
218
|
-
chipPosition: {
|
|
219
|
-
type: PropType<AvatarChipPosition>;
|
|
220
|
-
default: () => string;
|
|
221
|
-
validator(value: string): boolean;
|
|
222
|
-
};
|
|
223
|
-
chipText: {
|
|
224
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
225
|
-
default: any;
|
|
226
|
-
};
|
|
227
|
-
imgClass: {
|
|
228
|
-
type: StringConstructor;
|
|
229
|
-
default: string;
|
|
230
|
-
};
|
|
231
|
-
class: {
|
|
232
|
-
type: PropType<any>;
|
|
233
|
-
default: () => "";
|
|
234
|
-
};
|
|
235
|
-
ui: {
|
|
236
|
-
type: PropType<Partial<typeof config> & {
|
|
237
|
-
strategy?: Strategy;
|
|
238
|
-
}>;
|
|
239
|
-
default: () => {};
|
|
240
|
-
};
|
|
241
|
-
}>>, {
|
|
242
|
-
size: AvatarSize;
|
|
243
|
-
class: any;
|
|
244
|
-
as: string | Record<string, any>;
|
|
245
|
-
text: string;
|
|
246
|
-
alt: string;
|
|
247
|
-
ui: {};
|
|
248
|
-
icon: string;
|
|
249
|
-
src: string | boolean;
|
|
250
|
-
chipColor: AvatarChipColor;
|
|
251
|
-
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
252
|
-
chipText: string | number;
|
|
253
|
-
imgClass: string;
|
|
254
|
-
}, {}>;
|
|
255
|
-
export default _default;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { AvatarSize, Strategy } from '../../types/index.js';
|
|
3
|
-
declare const avatarGroupConfig: {
|
|
4
|
-
wrapper: string;
|
|
5
|
-
ring: string;
|
|
6
|
-
margin: string;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
9
|
-
size: {
|
|
10
|
-
type: PropType<AvatarSize>;
|
|
11
|
-
default: any;
|
|
12
|
-
validator(value: string): boolean;
|
|
13
|
-
};
|
|
14
|
-
max: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: any;
|
|
17
|
-
};
|
|
18
|
-
class: {
|
|
19
|
-
type: PropType<any>;
|
|
20
|
-
default: () => "";
|
|
21
|
-
};
|
|
22
|
-
ui: {
|
|
23
|
-
type: PropType<Partial<typeof avatarGroupConfig> & {
|
|
24
|
-
strategy?: Strategy;
|
|
25
|
-
}>;
|
|
26
|
-
default: () => {};
|
|
27
|
-
};
|
|
28
|
-
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
31
|
-
size: {
|
|
32
|
-
type: PropType<AvatarSize>;
|
|
33
|
-
default: any;
|
|
34
|
-
validator(value: string): boolean;
|
|
35
|
-
};
|
|
36
|
-
max: {
|
|
37
|
-
type: NumberConstructor;
|
|
38
|
-
default: any;
|
|
39
|
-
};
|
|
40
|
-
class: {
|
|
41
|
-
type: PropType<any>;
|
|
42
|
-
default: () => "";
|
|
43
|
-
};
|
|
44
|
-
ui: {
|
|
45
|
-
type: PropType<Partial<typeof avatarGroupConfig> & {
|
|
46
|
-
strategy?: Strategy;
|
|
47
|
-
}>;
|
|
48
|
-
default: () => {};
|
|
49
|
-
};
|
|
50
|
-
}>>, {
|
|
51
|
-
size: AvatarSize;
|
|
52
|
-
ui: {};
|
|
53
|
-
class: any;
|
|
54
|
-
max: number;
|
|
55
|
-
}, {}>;
|
|
56
|
-
export default _default;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { h, cloneVNode, computed, toRef, defineComponent } from "vue";
|
|
2
|
-
import { twMerge, twJoin } from "tailwind-merge";
|
|
3
|
-
import UAvatar from "./Avatar.vue";
|
|
4
|
-
import { useUI } from "../../composables/useUI.js";
|
|
5
|
-
import { mergeConfig, getSlotsChildren } from "../../utils/index.js";
|
|
6
|
-
import appConfig from "#build/app.config";
|
|
7
|
-
import { avatar, avatarGroup } from "#ui/ui.config";
|
|
8
|
-
const avatarConfig = mergeConfig(appConfig.ui.strategy, appConfig.ui.avatar, avatar);
|
|
9
|
-
const avatarGroupConfig = mergeConfig(appConfig.ui.strategy, appConfig.ui.avatarGroup, avatarGroup);
|
|
10
|
-
export default defineComponent({
|
|
11
|
-
inheritAttrs: false,
|
|
12
|
-
props: {
|
|
13
|
-
size: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: null,
|
|
16
|
-
validator(value) {
|
|
17
|
-
return Object.keys(avatarConfig.size).includes(value);
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
max: {
|
|
21
|
-
type: Number,
|
|
22
|
-
default: null
|
|
23
|
-
},
|
|
24
|
-
class: {
|
|
25
|
-
type: [String, Object, Array],
|
|
26
|
-
default: () => ""
|
|
27
|
-
},
|
|
28
|
-
ui: {
|
|
29
|
-
type: Object,
|
|
30
|
-
default: () => ({})
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
setup(props, { slots }) {
|
|
34
|
-
const { ui, attrs } = useUI("avatarGroup", toRef(props, "ui"), avatarGroupConfig, toRef(props, "class"));
|
|
35
|
-
const children = computed(() => getSlotsChildren(slots));
|
|
36
|
-
const max = computed(() => typeof props.max === "string" ? parseInt(props.max, 10) : props.max);
|
|
37
|
-
const clones = computed(() => children.value.map((node, index) => {
|
|
38
|
-
const vProps = {};
|
|
39
|
-
if (!props.max || max.value && index < max.value) {
|
|
40
|
-
if (props.size) {
|
|
41
|
-
vProps.size = props.size;
|
|
42
|
-
}
|
|
43
|
-
vProps.class = node.props.class || "";
|
|
44
|
-
vProps.class = twMerge(twJoin(vProps.class, ui.value.ring, ui.value.margin), vProps.class);
|
|
45
|
-
return cloneVNode(node, vProps);
|
|
46
|
-
}
|
|
47
|
-
if (max.value !== void 0 && index === max.value) {
|
|
48
|
-
return h(UAvatar, {
|
|
49
|
-
size: props.size || avatarConfig.default.size,
|
|
50
|
-
text: `+${children.value.length - max.value}`,
|
|
51
|
-
class: twJoin(ui.value.ring, ui.value.margin)
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
return null;
|
|
55
|
-
}).filter(Boolean).reverse());
|
|
56
|
-
return () => h("div", { class: ui.value.wrapper, ...attrs.value }, clones.value);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<span :class="badgeClass" v-bind="attrs">
|
|
3
|
-
<slot>{{ label }}</slot>
|
|
4
|
-
</span>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import { computed, toRef, defineComponent } from "vue";
|
|
9
|
-
import { twMerge, twJoin } from "tailwind-merge";
|
|
10
|
-
import { useUI } from "../../composables/useUI";
|
|
11
|
-
import { mergeConfig } from "../../utils";
|
|
12
|
-
import { useInjectButtonGroup } from "../../composables/useButtonGroup";
|
|
13
|
-
import appConfig from "#build/app.config";
|
|
14
|
-
import { badge } from "#ui/ui.config";
|
|
15
|
-
const config = mergeConfig(appConfig.ui.strategy, appConfig.ui.badge, badge);
|
|
16
|
-
export default defineComponent({
|
|
17
|
-
inheritAttrs: false,
|
|
18
|
-
props: {
|
|
19
|
-
size: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: () => config.default.size,
|
|
22
|
-
validator(value) {
|
|
23
|
-
return Object.keys(config.size).includes(value);
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
color: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: () => config.default.color,
|
|
29
|
-
validator(value) {
|
|
30
|
-
return [...appConfig.ui.colors, ...Object.keys(config.color)].includes(value);
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
variant: {
|
|
34
|
-
type: String,
|
|
35
|
-
default: () => config.default.variant,
|
|
36
|
-
validator(value) {
|
|
37
|
-
return [
|
|
38
|
-
...Object.keys(config.variant),
|
|
39
|
-
...Object.values(config.color).flatMap((value2) => Object.keys(value2))
|
|
40
|
-
].includes(value);
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
label: {
|
|
44
|
-
type: [String, Number],
|
|
45
|
-
default: null
|
|
46
|
-
},
|
|
47
|
-
class: {
|
|
48
|
-
type: [String, Object, Array],
|
|
49
|
-
default: () => ""
|
|
50
|
-
},
|
|
51
|
-
ui: {
|
|
52
|
-
type: Object,
|
|
53
|
-
default: () => ({})
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
setup(props) {
|
|
57
|
-
const { ui, attrs } = useUI("badge", toRef(props, "ui"), config);
|
|
58
|
-
const { size, rounded } = useInjectButtonGroup({ ui, props });
|
|
59
|
-
const badgeClass = computed(() => {
|
|
60
|
-
const variant = ui.value.color?.[props.color]?.[props.variant] || ui.value.variant[props.variant];
|
|
61
|
-
return twMerge(twJoin(
|
|
62
|
-
ui.value.base,
|
|
63
|
-
ui.value.font,
|
|
64
|
-
rounded.value,
|
|
65
|
-
ui.value.size[size.value],
|
|
66
|
-
variant?.replaceAll("{color}", props.color)
|
|
67
|
-
), props.class);
|
|
68
|
-
});
|
|
69
|
-
return {
|
|
70
|
-
attrs,
|
|
71
|
-
badgeClass
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
</script>
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { BadgeColor, BadgeSize, BadgeVariant, Strategy } from '../../types/index.js';
|
|
3
|
-
declare const config: {
|
|
4
|
-
base: string;
|
|
5
|
-
rounded: string;
|
|
6
|
-
font: string;
|
|
7
|
-
size: {
|
|
8
|
-
xs: string;
|
|
9
|
-
sm: string;
|
|
10
|
-
md: string;
|
|
11
|
-
lg: string;
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
white: {
|
|
15
|
-
solid: string;
|
|
16
|
-
};
|
|
17
|
-
gray: {
|
|
18
|
-
solid: string;
|
|
19
|
-
};
|
|
20
|
-
black: {
|
|
21
|
-
solid: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
variant: {
|
|
25
|
-
solid: string;
|
|
26
|
-
outline: string;
|
|
27
|
-
soft: string;
|
|
28
|
-
subtle: string;
|
|
29
|
-
};
|
|
30
|
-
default: {
|
|
31
|
-
size: string;
|
|
32
|
-
variant: string;
|
|
33
|
-
color: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
declare const _default: import("vue").DefineComponent<{
|
|
37
|
-
size: {
|
|
38
|
-
type: PropType<BadgeSize>;
|
|
39
|
-
default: () => string;
|
|
40
|
-
validator(value: string): boolean;
|
|
41
|
-
};
|
|
42
|
-
color: {
|
|
43
|
-
type: PropType<BadgeColor>;
|
|
44
|
-
default: () => string;
|
|
45
|
-
validator(value: string): boolean;
|
|
46
|
-
};
|
|
47
|
-
variant: {
|
|
48
|
-
type: PropType<BadgeVariant>;
|
|
49
|
-
default: () => string;
|
|
50
|
-
validator(value: string): boolean;
|
|
51
|
-
};
|
|
52
|
-
label: {
|
|
53
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
54
|
-
default: any;
|
|
55
|
-
};
|
|
56
|
-
class: {
|
|
57
|
-
type: PropType<any>;
|
|
58
|
-
default: () => "";
|
|
59
|
-
};
|
|
60
|
-
ui: {
|
|
61
|
-
type: PropType<Partial<typeof config> & {
|
|
62
|
-
strategy?: Strategy;
|
|
63
|
-
}>;
|
|
64
|
-
default: () => {};
|
|
65
|
-
};
|
|
66
|
-
}, {
|
|
67
|
-
attrs: import("vue").ComputedRef<Pick<{
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
}, string>>;
|
|
70
|
-
badgeClass: import("vue").ComputedRef<string>;
|
|
71
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
-
size: {
|
|
73
|
-
type: PropType<BadgeSize>;
|
|
74
|
-
default: () => string;
|
|
75
|
-
validator(value: string): boolean;
|
|
76
|
-
};
|
|
77
|
-
color: {
|
|
78
|
-
type: PropType<BadgeColor>;
|
|
79
|
-
default: () => string;
|
|
80
|
-
validator(value: string): boolean;
|
|
81
|
-
};
|
|
82
|
-
variant: {
|
|
83
|
-
type: PropType<BadgeVariant>;
|
|
84
|
-
default: () => string;
|
|
85
|
-
validator(value: string): boolean;
|
|
86
|
-
};
|
|
87
|
-
label: {
|
|
88
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
89
|
-
default: any;
|
|
90
|
-
};
|
|
91
|
-
class: {
|
|
92
|
-
type: PropType<any>;
|
|
93
|
-
default: () => "";
|
|
94
|
-
};
|
|
95
|
-
ui: {
|
|
96
|
-
type: PropType<Partial<typeof config> & {
|
|
97
|
-
strategy?: Strategy;
|
|
98
|
-
}>;
|
|
99
|
-
default: () => {};
|
|
100
|
-
};
|
|
101
|
-
}>>, {
|
|
102
|
-
size: BadgeSize;
|
|
103
|
-
class: any;
|
|
104
|
-
color: BadgeColor;
|
|
105
|
-
variant: BadgeVariant;
|
|
106
|
-
label: string | number;
|
|
107
|
-
ui: {};
|
|
108
|
-
}, {}>;
|
|
109
|
-
export default _default;
|