@indielayer/ui 2.0.0 → 2.1.0
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/docs/App.vue +19 -4
- package/docs/assets/css/tailwind.css +7 -1
- package/docs/components/Cookies.vue +3 -1
- package/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/DocsCopyPage.vue +200 -0
- package/docs/components/common/DocumentPage.vue +76 -23
- package/docs/components/toolbar/ToolbarColorToggle.vue +29 -18
- package/docs/components/toolbar/ToolbarSearch.vue +4 -4
- package/docs/composables/useDocMeta.ts +63 -4
- package/docs/icons.ts +3 -0
- package/docs/main.ts +25 -26
- package/docs/pages/component/accordion/index.vue +2 -2
- package/docs/pages/component/alert/index.vue +2 -2
- package/docs/pages/component/avatar/index.vue +4 -4
- package/docs/pages/component/badge/index.vue +2 -2
- package/docs/pages/component/breadcrumbs/index.vue +2 -2
- package/docs/pages/component/button/button-group.vue +3 -3
- package/docs/pages/component/button/index.vue +14 -7
- package/docs/pages/component/button/tooltip.vue +10 -0
- package/docs/pages/component/card/index.vue +2 -2
- package/docs/pages/component/carousel/index.vue +2 -2
- package/docs/pages/component/checkbox/index.vue +5 -5
- package/docs/pages/component/container/index.vue +2 -2
- package/docs/pages/component/datepicker/index.vue +2 -2
- package/docs/pages/component/divider/index.vue +4 -4
- package/docs/pages/component/drawer/index.vue +2 -2
- package/docs/pages/component/empty/index.vue +3 -3
- package/docs/pages/component/form/index.vue +2 -2
- package/docs/pages/component/formGroup/index.vue +2 -2
- package/docs/pages/component/infiniteLoader/index.vue +3 -3
- package/docs/pages/component/input/index.vue +5 -5
- package/docs/pages/component/inputGroup/index.vue +3 -3
- package/docs/pages/component/inputGroup/validation.vue +6 -1
- package/docs/pages/component/link/index.vue +2 -2
- package/docs/pages/component/loader/index.vue +2 -2
- package/docs/pages/component/menu/index.vue +2 -2
- package/docs/pages/component/modal/index.vue +3 -3
- package/docs/pages/component/notifications/index.vue +2 -2
- package/docs/pages/component/pagination/index.vue +2 -2
- package/docs/pages/component/popover/index.vue +2 -2
- package/docs/pages/component/popover/usage.vue +14 -0
- package/docs/pages/component/progress/index.vue +3 -3
- package/docs/pages/component/qrCode/index.vue +2 -2
- package/docs/pages/component/radio/index.vue +3 -3
- package/docs/pages/component/scroll/index.vue +3 -3
- package/docs/pages/component/select/index.vue +5 -5
- package/docs/pages/component/skeleton/index.vue +2 -2
- package/docs/pages/component/slider/index.vue +2 -2
- package/docs/pages/component/spacer/index.vue +2 -2
- package/docs/pages/component/spinner/index.vue +3 -3
- package/docs/pages/component/table/index.vue +4 -4
- package/docs/pages/component/tabs/index.vue +2 -2
- package/docs/pages/component/tabs/usage.vue +26 -0
- package/docs/pages/component/tag/index.vue +2 -2
- package/docs/pages/component/textarea/index.vue +4 -4
- package/docs/pages/component/toggle/index.vue +4 -4
- package/docs/pages/component/upload/index.vue +2 -2
- package/docs/pages/component/upload/usage.vue +1 -0
- package/docs/pages/component/virtualGrid/index.vue +2 -2
- package/docs/pages/component/virtualList/index.vue +3 -3
- package/docs/pages/icons.vue +2 -2
- package/docs/router/index.ts +39 -44
- package/docs/search/components.json +1 -1
- package/docs/search/index.json +1 -1
- package/lib/common/buttonGroupRadius.d.ts +3 -0
- package/lib/common/buttonGroupRadius.js +6 -0
- package/lib/common/props.d.ts +1 -1
- package/lib/common/props.js +10 -9
- package/lib/components/accordion/Accordion.vue.d.ts +42 -9
- package/lib/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js +18 -6
- package/lib/components/accordion/AccordionItem.vue.d.ts +33 -6
- package/lib/components/accordion/AccordionItem.vue_vue_type_script_setup_true_lang.js +31 -6
- package/lib/components/alert/Alert.vue.d.ts +27 -6
- package/lib/components/alert/Alert.vue_vue_type_script_setup_true_lang.js +20 -6
- package/lib/components/avatar/Avatar.vue.d.ts +45 -9
- package/lib/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +17 -6
- package/lib/components/badge/Badge.vue.d.ts +54 -9
- package/lib/components/badge/Badge.vue_vue_type_script_setup_true_lang.js +26 -9
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +30 -6
- package/lib/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +13 -5
- package/lib/components/button/Button.js +2 -2
- package/lib/components/button/Button.vue.d.ts +138 -28
- package/lib/components/button/Button.vue_vue_type_script_setup_true_lang.js +192 -70
- package/lib/components/button/ButtonGroup.js +4 -5
- package/lib/components/button/ButtonGroup.vue.d.ts +54 -10
- package/lib/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js +30 -19
- package/lib/components/button/theme/Button.base.theme.js +6 -5
- package/lib/components/button/theme/Button.carbon.theme.js +6 -5
- package/lib/components/card/Card.vue.d.ts +3 -0
- package/lib/components/card/Card.vue_vue_type_script_setup_true_lang.js +4 -2
- package/lib/components/carousel/Carousel.vue.d.ts +21 -3
- package/lib/components/carousel/Carousel.vue_vue_type_script_setup_true_lang.js +23 -5
- package/lib/components/carousel/CarouselSlide.js +2 -2
- package/lib/components/carousel/CarouselSlide.vue.d.ts +3 -0
- package/lib/components/carousel/CarouselSlide.vue_vue_type_script_setup_true_lang.js +3 -1
- package/lib/components/carousel/{CarouselSlide.vue_vue_type_style_index_0_scoped_e90d2127_lang.module.js → CarouselSlide.vue_vue_type_style_index_0_scoped_4f559831_lang.module.js} +1 -1
- package/lib/components/checkbox/Checkbox.vue.d.ts +198 -45
- package/lib/components/checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +20 -3
- package/lib/components/container/Container.vue.d.ts +6 -0
- package/lib/components/container/Container.vue_vue_type_script_setup_true_lang.js +5 -2
- package/lib/components/datepicker/Datepicker.vue.d.ts +462 -36
- package/lib/components/datepicker/Datepicker.vue_vue_type_script_setup_true_lang.js +294 -153
- package/lib/components/divider/Divider.vue.d.ts +12 -3
- package/lib/components/divider/Divider.vue_vue_type_script_setup_true_lang.js +6 -2
- package/lib/components/drawer/Drawer.vue.d.ts +39 -6
- package/lib/components/drawer/Drawer.vue_vue_type_script_setup_true_lang.js +30 -7
- package/lib/components/empty/Empty.vue.d.ts +30 -6
- package/lib/components/empty/Empty.vue_vue_type_script_setup_true_lang.js +17 -4
- package/lib/components/form/Form.vue.d.ts +48 -9
- package/lib/components/form/Form.vue_vue_type_script_setup_true_lang.js +34 -7
- package/lib/components/formGroup/FormGroup.vue.d.ts +171 -39
- package/lib/components/formGroup/FormGroup.vue_vue_type_script_setup_true_lang.js +15 -9
- package/lib/components/icon/Icon.vue.d.ts +9 -0
- package/lib/components/icon/Icon.vue_vue_type_script_setup_true_lang.js +6 -3
- package/lib/components/image/Image.vue.d.ts +12 -3
- package/lib/components/image/Image.vue_vue_type_script_setup_true_lang.js +5 -1
- package/lib/components/index.js +18 -18
- package/lib/components/input/Input.vue.d.ts +291 -66
- package/lib/components/input/Input.vue_vue_type_script_setup_true_lang.js +53 -15
- package/lib/components/inputFooter/InputFooter.vue.d.ts +48 -12
- package/lib/components/inputFooter/InputFooter.vue_vue_type_script_setup_true_lang.js +18 -5
- package/lib/components/inputGroup/InputGroup.vue.d.ts +171 -39
- package/lib/components/inputGroup/InputGroup.vue_vue_type_script_setup_true_lang.js +6 -1
- package/lib/components/label/Label.vue.d.ts +78 -18
- package/lib/components/label/Label.vue_vue_type_script_setup_true_lang.js +28 -8
- package/lib/components/link/Link.js +2 -2
- package/lib/components/link/Link.vue.d.ts +18 -3
- package/lib/components/link/Link.vue_vue_type_script_setup_true_lang.js +10 -5
- package/lib/components/loader/Loader.vue.d.ts +30 -6
- package/lib/components/loader/Loader.vue_vue_type_script_setup_true_lang.js +11 -3
- package/lib/components/menu/Menu.vue.d.ts +51 -9
- package/lib/components/menu/Menu.vue_vue_type_script_setup_true_lang.js +24 -8
- package/lib/components/menu/MenuItem.js +2 -2
- package/lib/components/menu/MenuItem.vue.d.ts +198 -45
- package/lib/components/menu/MenuItem.vue_vue_type_script_setup_true_lang.js +84 -23
- package/lib/components/menu/{MenuItem.vue_vue_type_style_index_0_scoped_2a6b7341_lang.module.js → MenuItem.vue_vue_type_style_index_0_scoped_5aebaff3_lang.module.js} +1 -1
- package/lib/components/modal/Modal.vue.d.ts +177 -39
- package/lib/components/modal/Modal.vue_vue_type_script_setup_true_lang.js +104 -23
- package/lib/components/notifications/Notifications.vue.d.ts +24 -0
- package/lib/components/notifications/Notifications.vue_vue_type_script_setup_true_lang.js +39 -12
- package/lib/components/pagination/Pagination.vue.d.ts +12 -0
- package/lib/components/pagination/Pagination.vue_vue_type_script_setup_true_lang.js +8 -4
- package/lib/components/pagination/PaginationItem.vue.d.ts +18 -3
- package/lib/components/pagination/PaginationItem.vue_vue_type_script_setup_true_lang.js +8 -3
- package/lib/components/popover/Popover.vue.d.ts +204 -45
- package/lib/components/popover/Popover.vue_vue_type_script_setup_true_lang.js +157 -66
- package/lib/components/popover/PopoverContainer.vue.d.ts +3 -0
- package/lib/components/popover/PopoverContainer.vue_vue_type_script_setup_true_lang.js +3 -1
- package/lib/components/popover/PopoverContentBoundary.js +5 -0
- package/lib/components/popover/PopoverContentBoundary.vue.d.ts +9 -0
- package/lib/components/popover/PopoverContentBoundary.vue_vue_type_script_setup_true_lang.js +18 -0
- package/lib/components/popover/theme/PopoverContainer.base.theme.js +1 -1
- package/lib/components/progress/Progress.vue.d.ts +9 -0
- package/lib/components/progress/Progress.vue_vue_type_script_setup_true_lang.js +7 -4
- package/lib/components/qrCode/QrCode.vue.d.ts +24 -3
- package/lib/components/qrCode/QrCode.vue_vue_type_script_setup_true_lang.js +13 -5
- package/lib/components/radio/Radio.vue.d.ts +186 -42
- package/lib/components/radio/Radio.vue_vue_type_script_setup_true_lang.js +10 -2
- package/lib/components/radioButton/RadioButton.vue.d.ts +186 -42
- package/lib/components/radioButton/RadioButton.vue_vue_type_script_setup_true_lang.js +9 -1
- package/lib/components/scroll/Scroll.vue.d.ts +3 -0
- package/lib/components/scroll/Scroll.vue_vue_type_script_setup_true_lang.js +9 -4
- package/lib/components/select/Select.vue.d.ts +633 -144
- package/lib/components/select/Select.vue_vue_type_script_setup_true_lang.js +224 -189
- package/lib/components/skeleton/Skeleton.vue.d.ts +6 -0
- package/lib/components/skeleton/Skeleton.vue_vue_type_script_setup_true_lang.js +5 -2
- package/lib/components/slider/Slider.js +1 -1
- package/lib/components/slider/Slider.vue.d.ts +180 -39
- package/lib/components/slider/Slider.vue_vue_type_script_setup_true_lang.js +14 -3
- package/lib/components/spinner/Spinner.vue.d.ts +6 -0
- package/lib/components/spinner/Spinner.vue_vue_type_script_setup_true_lang.js +3 -1
- package/lib/components/stepper/Stepper.vue.d.ts +120 -24
- package/lib/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js +63 -15
- package/lib/components/tab/Tab.vue.d.ts +112 -31
- package/lib/components/tab/Tab.vue_vue_type_script_setup_true_lang.js +166 -95
- package/lib/components/tab/TabGroup.vue.d.ts +47 -12
- package/lib/components/tab/TabGroup.vue_vue_type_script_setup_true_lang.js +93 -49
- package/lib/components/tab/theme/Tab.base.theme.js +6 -6
- package/lib/components/tab/theme/Tab.carbon.theme.js +6 -6
- package/lib/components/tab/theme/TabGroup.base.theme.js +7 -7
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +3 -3
- package/lib/components/table/Table.vue.d.ts +45 -9
- package/lib/components/table/Table.vue_vue_type_script_setup_true_lang.js +82 -27
- package/lib/components/table/TableCell.vue.d.ts +54 -12
- package/lib/components/table/TableCell.vue_vue_type_script_setup_true_lang.js +23 -8
- package/lib/components/table/TableHead.vue_vue_type_script_setup_true_lang.js +2 -1
- package/lib/components/table/TableHeader.vue.d.ts +18 -3
- package/lib/components/table/TableHeader.vue_vue_type_script_setup_true_lang.js +10 -4
- package/lib/components/table/TableRow.vue.d.ts +15 -3
- package/lib/components/table/TableRow.vue_vue_type_script_setup_true_lang.js +10 -5
- package/lib/components/tag/Tag.vue.d.ts +33 -6
- package/lib/components/tag/Tag.vue_vue_type_script_setup_true_lang.js +21 -7
- package/lib/components/textarea/Textarea.vue.d.ts +237 -54
- package/lib/components/textarea/Textarea.vue_vue_type_script_setup_true_lang.js +38 -13
- package/lib/components/themeProvider/ThemeProvider.vue.d.ts +10 -4
- package/lib/components/themeProvider/ThemeProvider.vue_vue_type_script_setup_true_lang.js +6 -1
- package/lib/components/toggle/Toggle.vue.d.ts +174 -39
- package/lib/components/toggle/Toggle.vue_vue_type_script_setup_true_lang.js +5 -1
- package/lib/components/tooltip/ToggleTip.vue.d.ts +24 -6
- package/lib/components/tooltip/ToggleTip.vue_vue_type_script_setup_true_lang.js +9 -2
- package/lib/components/tooltip/Tooltip.vue.d.ts +30 -6
- package/lib/components/tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +16 -4
- package/lib/components/upload/Upload.vue.d.ts +249 -57
- package/lib/components/upload/Upload.vue_vue_type_script_setup_true_lang.js +156 -125
- package/lib/components/upload/fileAccept.d.ts +6 -0
- package/lib/components/upload/fileAccept.js +17 -0
- package/lib/composables/useColors.d.ts +1 -0
- package/lib/composables/useColors.js +2 -1
- package/lib/composables/useCommon.d.ts +1 -0
- package/lib/composables/useCommon.js +2 -1
- package/lib/composables/useFocusTrap.js +1 -1
- package/lib/composables/useInputtable.d.ts +45 -10
- package/lib/composables/useInputtable.js +56 -14
- package/lib/composables/useInteractive.d.ts +13 -3
- package/lib/composables/useInteractive.js +14 -4
- package/lib/index.js +12 -12
- package/lib/index.umd.js +9 -10
- package/lib/themes/base/styles.d.ts +1 -1
- package/lib/themes/base/styles.js +1 -1
- package/lib/themes/carbon/styles.d.ts +1 -1
- package/lib/themes/carbon/styles.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.d.ts +27 -16
- package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue_vue_type_script_setup_true_lang.js +25 -5
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue.d.ts +108 -86
- package/lib/virtual/components/virtualGrid/VirtualGrid.vue_vue_type_script_setup_true_lang.js +91 -21
- package/lib/virtual/components/virtualList/VirtualList.vue.d.ts +62 -48
- package/lib/virtual/components/virtualList/VirtualList.vue_vue_type_script_setup_true_lang.js +64 -13
- package/lib/virtual/components/virtualList/useDynamicRowHeight.js +4 -3
- package/package.json +5 -3
- package/src/common/buttonGroupRadius.ts +16 -0
- package/src/common/props.ts +10 -9
- package/src/components/accordion/Accordion.vue +20 -4
- package/src/components/accordion/AccordionItem.vue +28 -3
- package/src/components/alert/Alert.vue +22 -6
- package/src/components/avatar/Avatar.vue +20 -5
- package/src/components/badge/Badge.vue +24 -5
- package/src/components/breadcrumbs/Breadcrumbs.vue +15 -5
- package/src/components/button/Button.vue +140 -5
- package/src/components/button/ButtonGroup.vue +41 -25
- package/src/components/button/__tests__/ Button.spec.ts +41 -0
- package/src/components/button/__tests__/ ButtonGroup.spec.ts +32 -0
- package/src/components/button/theme/Button.base.theme.ts +4 -1
- package/src/components/button/theme/Button.carbon.theme.ts +5 -4
- package/src/components/card/Card.vue +10 -2
- package/src/components/carousel/Carousel.vue +22 -2
- package/src/components/carousel/CarouselSlide.vue +6 -0
- package/src/components/checkbox/Checkbox.vue +22 -3
- package/src/components/container/Container.vue +10 -1
- package/src/components/datepicker/Datepicker.vue +466 -101
- package/src/components/datepicker/__tests__/Datepicker.spec.ts +31 -0
- package/src/components/divider/Divider.vue +9 -3
- package/src/components/drawer/Drawer.vue +27 -2
- package/src/components/empty/Empty.vue +18 -3
- package/src/components/form/Form.vue +32 -3
- package/src/components/formGroup/FormGroup.vue +12 -0
- package/src/components/icon/Icon.vue +4 -1
- package/src/components/image/Image.vue +8 -2
- package/src/components/input/Input.vue +54 -12
- package/src/components/inputFooter/InputFooter.vue +21 -6
- package/src/components/inputGroup/InputGroup.vue +12 -1
- package/src/components/label/Label.vue +31 -7
- package/src/components/link/Link.vue +16 -5
- package/src/components/loader/Loader.vue +10 -2
- package/src/components/menu/Menu.vue +23 -5
- package/src/components/menu/MenuItem.vue +78 -17
- package/src/components/modal/Modal.vue +90 -15
- package/src/components/notifications/Notifications.vue +23 -0
- package/src/components/notifications/__tests__/Notifications.spec.ts +44 -4
- package/src/components/pagination/Pagination.vue +9 -1
- package/src/components/pagination/PaginationItem.vue +11 -2
- package/src/components/popover/Popover.vue +113 -18
- package/src/components/popover/PopoverContainer.vue +9 -1
- package/src/components/popover/PopoverContentBoundary.vue +32 -0
- package/src/components/popover/__tests__/Popover.spec.ts +51 -0
- package/src/components/popover/theme/PopoverContainer.base.theme.ts +1 -1
- package/src/components/progress/Progress.vue +8 -3
- package/src/components/qrCode/QrCode.vue +9 -1
- package/src/components/radio/Radio.vue +16 -2
- package/src/components/radioButton/RadioButton.vue +15 -1
- package/src/components/scroll/Scroll.vue +15 -4
- package/src/components/select/Select.vue +53 -16
- package/src/components/skeleton/Skeleton.vue +3 -0
- package/src/components/slider/Slider.vue +15 -0
- package/src/components/spinner/Spinner.vue +2 -0
- package/src/components/stepper/Stepper.vue +57 -9
- package/src/components/tab/Tab.vue +153 -63
- package/src/components/tab/TabGroup.vue +110 -26
- package/src/components/tab/__tests__/Tab.spec.ts +53 -0
- package/src/components/tab/__tests__/TabGroup.spec.ts +113 -0
- package/src/components/tab/theme/Tab.base.theme.ts +24 -2
- package/src/components/tab/theme/Tab.carbon.theme.ts +30 -7
- package/src/components/tab/theme/TabGroup.base.theme.ts +12 -9
- package/src/components/tab/theme/TabGroup.carbon.theme.ts +6 -2
- package/src/components/table/Table.vue +76 -19
- package/src/components/table/TableCell.vue +25 -6
- package/src/components/table/TableHead.vue +9 -2
- package/src/components/table/TableHeader.vue +16 -3
- package/src/components/table/TableRow.vue +17 -5
- package/src/components/tag/Tag.vue +22 -6
- package/src/components/textarea/Textarea.vue +40 -11
- package/src/components/themeProvider/ThemeProvider.vue +22 -7
- package/src/components/toggle/Toggle.vue +9 -1
- package/src/components/tooltip/ToggleTip.vue +12 -3
- package/src/components/tooltip/Tooltip.vue +19 -3
- package/src/components/upload/Upload.vue +46 -16
- package/src/components/upload/__tests__/fileAccept.spec.ts +39 -0
- package/src/components/upload/fileAccept.ts +29 -0
- package/src/composables/useColors.ts +1 -0
- package/src/composables/useCommon.ts +1 -0
- package/src/composables/useFocusTrap.ts +3 -1
- package/src/composables/useInputtable.ts +66 -10
- package/src/composables/useInteractive.ts +13 -3
- package/src/themes/base/styles.ts +2 -3
- package/src/themes/carbon/styles.ts +2 -3
- package/src/version.ts +1 -1
- package/src/virtual/components/infiniteLoader/InfiniteLoader.vue +33 -1
- package/src/virtual/components/virtualGrid/VirtualGrid.vue +104 -10
- package/src/virtual/components/virtualList/VirtualList.vue +73 -8
- package/src/virtual/components/virtualList/useDynamicRowHeight.ts +9 -2
- package/volar.d.ts +3 -0
- package/docs/layouts/simple.vue +0 -5
- package/lib/components/button/ButtonGroup.vue_vue_type_style_index_0_lang.module.js +0 -7
- /package/lib/components/button/{Button.vue_vue_type_style_index_0_scoped_4402fde2_lang.module.js → Button.vue_vue_type_style_index_0_scoped_486cb9c0_lang.module.js} +0 -0
- /package/lib/components/link/{Link.vue_vue_type_style_index_0_scoped_8e0e4d08_lang.module.js → Link.vue_vue_type_style_index_0_scoped_3ee61e03_lang.module.js} +0 -0
|
@@ -7,36 +7,80 @@ declare const inputGroupProps: {
|
|
|
7
7
|
modelValue: {
|
|
8
8
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
9
9
|
readonly default: undefined;
|
|
10
|
+
readonly description: "Bound value (v-model).";
|
|
11
|
+
};
|
|
12
|
+
id: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly description: "Native id attribute for the input element.";
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly description: "Native name attribute for form submission.";
|
|
19
|
+
};
|
|
20
|
+
readonly: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
23
|
+
};
|
|
24
|
+
required: {
|
|
25
|
+
readonly type: BooleanConstructor;
|
|
26
|
+
readonly description: "Marks the field as required for validation.";
|
|
10
27
|
};
|
|
11
|
-
id: StringConstructor;
|
|
12
|
-
name: StringConstructor;
|
|
13
|
-
readonly: BooleanConstructor;
|
|
14
|
-
required: BooleanConstructor;
|
|
15
28
|
validateOnInput: {
|
|
16
29
|
readonly type: BooleanConstructor;
|
|
17
30
|
readonly default: true;
|
|
31
|
+
readonly description: "Runs validation on each input event when true.";
|
|
32
|
+
};
|
|
33
|
+
label: {
|
|
34
|
+
readonly type: StringConstructor;
|
|
35
|
+
readonly description: "Visible label text for the field.";
|
|
36
|
+
};
|
|
37
|
+
helper: {
|
|
38
|
+
readonly type: StringConstructor;
|
|
39
|
+
readonly description: "Helper text shown below the field.";
|
|
40
|
+
};
|
|
41
|
+
error: {
|
|
42
|
+
readonly type: StringConstructor;
|
|
43
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
44
|
+
};
|
|
45
|
+
hideFooter: {
|
|
46
|
+
readonly type: BooleanConstructor;
|
|
47
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
18
48
|
};
|
|
19
|
-
label: StringConstructor;
|
|
20
|
-
helper: StringConstructor;
|
|
21
|
-
error: StringConstructor;
|
|
22
|
-
hideFooter: BooleanConstructor;
|
|
23
49
|
rules: {
|
|
24
50
|
readonly type: ArrayConstructor;
|
|
25
51
|
readonly default: () => never[];
|
|
52
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
53
|
+
};
|
|
54
|
+
tooltip: {
|
|
55
|
+
readonly type: StringConstructor;
|
|
56
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
57
|
+
};
|
|
58
|
+
skipFormRegistry: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
readonly type: BooleanConstructor;
|
|
64
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
65
|
+
};
|
|
66
|
+
loading: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
69
|
+
};
|
|
70
|
+
loadingLabel: {
|
|
71
|
+
readonly type: StringConstructor;
|
|
72
|
+
readonly description: "Accessible label announced while loading.";
|
|
26
73
|
};
|
|
27
|
-
tooltip: StringConstructor;
|
|
28
|
-
skipFormRegistry: BooleanConstructor;
|
|
29
|
-
disabled: BooleanConstructor;
|
|
30
|
-
loading: BooleanConstructor;
|
|
31
|
-
loadingLabel: StringConstructor;
|
|
32
74
|
loadingStatus: {
|
|
33
75
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
34
76
|
readonly default: "active";
|
|
77
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
35
78
|
};
|
|
36
79
|
size: {
|
|
37
80
|
readonly type: import("vue").PropType<Size>;
|
|
38
81
|
readonly default: "md";
|
|
39
82
|
readonly validator: (value: string) => boolean;
|
|
83
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
40
84
|
};
|
|
41
85
|
};
|
|
42
86
|
export type InputGroupProps = ExtractPublicPropTypes<typeof inputGroupProps>;
|
|
@@ -66,36 +110,80 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
66
110
|
modelValue: {
|
|
67
111
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
68
112
|
readonly default: undefined;
|
|
113
|
+
readonly description: "Bound value (v-model).";
|
|
114
|
+
};
|
|
115
|
+
id: {
|
|
116
|
+
readonly type: StringConstructor;
|
|
117
|
+
readonly description: "Native id attribute for the input element.";
|
|
118
|
+
};
|
|
119
|
+
name: {
|
|
120
|
+
readonly type: StringConstructor;
|
|
121
|
+
readonly description: "Native name attribute for form submission.";
|
|
122
|
+
};
|
|
123
|
+
readonly: {
|
|
124
|
+
readonly type: BooleanConstructor;
|
|
125
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
126
|
+
};
|
|
127
|
+
required: {
|
|
128
|
+
readonly type: BooleanConstructor;
|
|
129
|
+
readonly description: "Marks the field as required for validation.";
|
|
69
130
|
};
|
|
70
|
-
id: StringConstructor;
|
|
71
|
-
name: StringConstructor;
|
|
72
|
-
readonly: BooleanConstructor;
|
|
73
|
-
required: BooleanConstructor;
|
|
74
131
|
validateOnInput: {
|
|
75
132
|
readonly type: BooleanConstructor;
|
|
76
133
|
readonly default: true;
|
|
134
|
+
readonly description: "Runs validation on each input event when true.";
|
|
135
|
+
};
|
|
136
|
+
label: {
|
|
137
|
+
readonly type: StringConstructor;
|
|
138
|
+
readonly description: "Visible label text for the field.";
|
|
139
|
+
};
|
|
140
|
+
helper: {
|
|
141
|
+
readonly type: StringConstructor;
|
|
142
|
+
readonly description: "Helper text shown below the field.";
|
|
143
|
+
};
|
|
144
|
+
error: {
|
|
145
|
+
readonly type: StringConstructor;
|
|
146
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
147
|
+
};
|
|
148
|
+
hideFooter: {
|
|
149
|
+
readonly type: BooleanConstructor;
|
|
150
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
77
151
|
};
|
|
78
|
-
label: StringConstructor;
|
|
79
|
-
helper: StringConstructor;
|
|
80
|
-
error: StringConstructor;
|
|
81
|
-
hideFooter: BooleanConstructor;
|
|
82
152
|
rules: {
|
|
83
153
|
readonly type: ArrayConstructor;
|
|
84
154
|
readonly default: () => never[];
|
|
155
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
156
|
+
};
|
|
157
|
+
tooltip: {
|
|
158
|
+
readonly type: StringConstructor;
|
|
159
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
160
|
+
};
|
|
161
|
+
skipFormRegistry: {
|
|
162
|
+
readonly type: BooleanConstructor;
|
|
163
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
164
|
+
};
|
|
165
|
+
disabled: {
|
|
166
|
+
readonly type: BooleanConstructor;
|
|
167
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
168
|
+
};
|
|
169
|
+
loading: {
|
|
170
|
+
readonly type: BooleanConstructor;
|
|
171
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
172
|
+
};
|
|
173
|
+
loadingLabel: {
|
|
174
|
+
readonly type: StringConstructor;
|
|
175
|
+
readonly description: "Accessible label announced while loading.";
|
|
85
176
|
};
|
|
86
|
-
tooltip: StringConstructor;
|
|
87
|
-
skipFormRegistry: BooleanConstructor;
|
|
88
|
-
disabled: BooleanConstructor;
|
|
89
|
-
loading: BooleanConstructor;
|
|
90
|
-
loadingLabel: StringConstructor;
|
|
91
177
|
loadingStatus: {
|
|
92
178
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
93
179
|
readonly default: "active";
|
|
180
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
94
181
|
};
|
|
95
182
|
size: {
|
|
96
183
|
readonly type: import("vue").PropType<Size>;
|
|
97
184
|
readonly default: "md";
|
|
98
185
|
readonly validator: (value: string) => boolean;
|
|
186
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
99
187
|
};
|
|
100
188
|
}>, {
|
|
101
189
|
focus: () => void;
|
|
@@ -108,36 +196,80 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
108
196
|
modelValue: {
|
|
109
197
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
110
198
|
readonly default: undefined;
|
|
199
|
+
readonly description: "Bound value (v-model).";
|
|
200
|
+
};
|
|
201
|
+
id: {
|
|
202
|
+
readonly type: StringConstructor;
|
|
203
|
+
readonly description: "Native id attribute for the input element.";
|
|
204
|
+
};
|
|
205
|
+
name: {
|
|
206
|
+
readonly type: StringConstructor;
|
|
207
|
+
readonly description: "Native name attribute for form submission.";
|
|
208
|
+
};
|
|
209
|
+
readonly: {
|
|
210
|
+
readonly type: BooleanConstructor;
|
|
211
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
212
|
+
};
|
|
213
|
+
required: {
|
|
214
|
+
readonly type: BooleanConstructor;
|
|
215
|
+
readonly description: "Marks the field as required for validation.";
|
|
111
216
|
};
|
|
112
|
-
id: StringConstructor;
|
|
113
|
-
name: StringConstructor;
|
|
114
|
-
readonly: BooleanConstructor;
|
|
115
|
-
required: BooleanConstructor;
|
|
116
217
|
validateOnInput: {
|
|
117
218
|
readonly type: BooleanConstructor;
|
|
118
219
|
readonly default: true;
|
|
220
|
+
readonly description: "Runs validation on each input event when true.";
|
|
221
|
+
};
|
|
222
|
+
label: {
|
|
223
|
+
readonly type: StringConstructor;
|
|
224
|
+
readonly description: "Visible label text for the field.";
|
|
225
|
+
};
|
|
226
|
+
helper: {
|
|
227
|
+
readonly type: StringConstructor;
|
|
228
|
+
readonly description: "Helper text shown below the field.";
|
|
229
|
+
};
|
|
230
|
+
error: {
|
|
231
|
+
readonly type: StringConstructor;
|
|
232
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
233
|
+
};
|
|
234
|
+
hideFooter: {
|
|
235
|
+
readonly type: BooleanConstructor;
|
|
236
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
119
237
|
};
|
|
120
|
-
label: StringConstructor;
|
|
121
|
-
helper: StringConstructor;
|
|
122
|
-
error: StringConstructor;
|
|
123
|
-
hideFooter: BooleanConstructor;
|
|
124
238
|
rules: {
|
|
125
239
|
readonly type: ArrayConstructor;
|
|
126
240
|
readonly default: () => never[];
|
|
241
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
242
|
+
};
|
|
243
|
+
tooltip: {
|
|
244
|
+
readonly type: StringConstructor;
|
|
245
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
246
|
+
};
|
|
247
|
+
skipFormRegistry: {
|
|
248
|
+
readonly type: BooleanConstructor;
|
|
249
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
250
|
+
};
|
|
251
|
+
disabled: {
|
|
252
|
+
readonly type: BooleanConstructor;
|
|
253
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
254
|
+
};
|
|
255
|
+
loading: {
|
|
256
|
+
readonly type: BooleanConstructor;
|
|
257
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
258
|
+
};
|
|
259
|
+
loadingLabel: {
|
|
260
|
+
readonly type: StringConstructor;
|
|
261
|
+
readonly description: "Accessible label announced while loading.";
|
|
127
262
|
};
|
|
128
|
-
tooltip: StringConstructor;
|
|
129
|
-
skipFormRegistry: BooleanConstructor;
|
|
130
|
-
disabled: BooleanConstructor;
|
|
131
|
-
loading: BooleanConstructor;
|
|
132
|
-
loadingLabel: StringConstructor;
|
|
133
263
|
loadingStatus: {
|
|
134
264
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
135
265
|
readonly default: "active";
|
|
266
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
136
267
|
};
|
|
137
268
|
size: {
|
|
138
269
|
readonly type: import("vue").PropType<Size>;
|
|
139
270
|
readonly default: "md";
|
|
140
271
|
readonly validator: (value: string) => boolean;
|
|
272
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
141
273
|
};
|
|
142
274
|
}>> & Readonly<{
|
|
143
275
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
@@ -12,10 +12,15 @@ var C = {
|
|
|
12
12
|
...r.props(),
|
|
13
13
|
...i.props(),
|
|
14
14
|
...a.props(),
|
|
15
|
-
block: n()
|
|
15
|
+
block: n("Stretches the group to the full width of the parent.")
|
|
16
16
|
}, w = /* @__PURE__ */ f({
|
|
17
17
|
name: "XInputGroup",
|
|
18
18
|
validators: { ...r.validators() },
|
|
19
|
+
docs: {
|
|
20
|
+
slots: { default: "Grouped controls (inputs, buttons, or other adornments)." },
|
|
21
|
+
emits: { ...a.emitDocs() },
|
|
22
|
+
methods: { ...a.methodDocs() }
|
|
23
|
+
},
|
|
19
24
|
props: C,
|
|
20
25
|
emits: a.emits(),
|
|
21
26
|
setup(n, { expose: r, emit: i }) {
|
|
@@ -1,21 +1,41 @@
|
|
|
1
1
|
import { type ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import { type ThemeComponent } from '../../composables/useTheme';
|
|
3
3
|
declare const labelProps: {
|
|
4
|
-
label:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
required: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
7
16
|
block: import("vue").Prop<boolean | undefined>;
|
|
8
|
-
isInsideForm:
|
|
9
|
-
|
|
17
|
+
isInsideForm: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
isInsideInputGroup: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
10
25
|
tag: {
|
|
11
26
|
type: StringConstructor;
|
|
12
27
|
default: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
tooltip: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
description: string;
|
|
13
33
|
};
|
|
14
|
-
tooltip: StringConstructor;
|
|
15
34
|
size: {
|
|
16
35
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
17
36
|
readonly default: "md";
|
|
18
37
|
readonly validator: (value: string) => boolean;
|
|
38
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
19
39
|
};
|
|
20
40
|
};
|
|
21
41
|
export type LabelProps = ExtractPublicPropTypes<typeof labelProps>;
|
|
@@ -23,38 +43,78 @@ type InternalClasses = 'wrapper' | 'label';
|
|
|
23
43
|
export interface LabelTheme extends ThemeComponent<LabelProps, InternalClasses> {
|
|
24
44
|
}
|
|
25
45
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
26
|
-
label:
|
|
27
|
-
|
|
28
|
-
|
|
46
|
+
label: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
required: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
29
58
|
block: import("vue").Prop<boolean | undefined>;
|
|
30
|
-
isInsideForm:
|
|
31
|
-
|
|
59
|
+
isInsideForm: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
isInsideInputGroup: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
32
67
|
tag: {
|
|
33
68
|
type: StringConstructor;
|
|
34
69
|
default: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
tooltip: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
description: string;
|
|
35
75
|
};
|
|
36
|
-
tooltip: StringConstructor;
|
|
37
76
|
size: {
|
|
38
77
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
39
78
|
readonly default: "md";
|
|
40
79
|
readonly validator: (value: string) => boolean;
|
|
80
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
41
81
|
};
|
|
42
82
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
label:
|
|
44
|
-
|
|
45
|
-
|
|
83
|
+
label: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
required: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
46
95
|
block: import("vue").Prop<boolean | undefined>;
|
|
47
|
-
isInsideForm:
|
|
48
|
-
|
|
96
|
+
isInsideForm: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
isInsideInputGroup: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
49
104
|
tag: {
|
|
50
105
|
type: StringConstructor;
|
|
51
106
|
default: string;
|
|
107
|
+
description: string;
|
|
108
|
+
};
|
|
109
|
+
tooltip: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
description: string;
|
|
52
112
|
};
|
|
53
|
-
tooltip: StringConstructor;
|
|
54
113
|
size: {
|
|
55
114
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
56
115
|
readonly default: "md";
|
|
57
116
|
readonly validator: (value: string) => boolean;
|
|
117
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
58
118
|
};
|
|
59
119
|
}>> & Readonly<{}>, {
|
|
60
120
|
disabled: boolean;
|
|
@@ -7,20 +7,40 @@ import { computed as a, createBlock as o, createCommentVNode as s, createElement
|
|
|
7
7
|
//#region src/components/label/Label.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = {
|
|
9
9
|
...r.props(),
|
|
10
|
-
label:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
label: {
|
|
11
|
+
type: String,
|
|
12
|
+
description: "Visible label text."
|
|
13
|
+
},
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
description: "Applies disabled styling to the label."
|
|
17
|
+
},
|
|
18
|
+
required: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
description: "Marks the label as required for form fields."
|
|
21
|
+
},
|
|
22
|
+
block: n("Stretches to the full width of the parent."),
|
|
23
|
+
isInsideForm: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
description: "Indicates the label is rendered inside a form layout."
|
|
26
|
+
},
|
|
27
|
+
isInsideInputGroup: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
description: "Indicates the label is rendered inside an input group."
|
|
30
|
+
},
|
|
16
31
|
tag: {
|
|
17
32
|
type: String,
|
|
18
|
-
default: "label"
|
|
33
|
+
default: "label",
|
|
34
|
+
description: "Root element tag. Use `fieldset` for grouped controls."
|
|
19
35
|
},
|
|
20
|
-
tooltip:
|
|
36
|
+
tooltip: {
|
|
37
|
+
type: String,
|
|
38
|
+
description: "Tooltip text shown next to the label via a toggle tip."
|
|
39
|
+
}
|
|
21
40
|
}, b = /* @__PURE__ */ l({
|
|
22
41
|
name: "XLabel",
|
|
23
42
|
validators: { ...r.validators() },
|
|
43
|
+
docs: { slots: { default: "Labeled control or content." } },
|
|
24
44
|
props: y,
|
|
25
45
|
setup(n) {
|
|
26
46
|
let r = n, l = u(e, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import t from "./Link.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
-
import n from "./Link.
|
|
4
|
-
var r = /* @__PURE__ */ e(t, [["__cssModules", { $style: n }], ["__scopeId", "data-v-
|
|
3
|
+
import n from "./Link.vue_vue_type_style_index_0_scoped_3ee61e03_lang.module.js";
|
|
4
|
+
var r = /* @__PURE__ */ e(t, [["__cssModules", { $style: n }], ["__scopeId", "data-v-3ee61e03"]]);
|
|
5
5
|
//#endregion
|
|
6
6
|
export { r as default };
|
|
@@ -4,14 +4,19 @@ declare const linkProps: {
|
|
|
4
4
|
tag: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
to: {
|
|
10
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
11
|
+
description: string;
|
|
7
12
|
};
|
|
8
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
9
13
|
shadow: import("vue").Prop<boolean | undefined>;
|
|
10
14
|
external: import("vue").Prop<boolean | undefined>;
|
|
11
15
|
underline: import("vue").Prop<boolean | undefined>;
|
|
12
16
|
color: {
|
|
13
17
|
readonly type: StringConstructor;
|
|
14
18
|
readonly default: string | undefined;
|
|
19
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
15
20
|
};
|
|
16
21
|
};
|
|
17
22
|
export type LinkProps = ExtractPublicPropTypes<typeof linkProps>;
|
|
@@ -22,27 +27,37 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
22
27
|
tag: {
|
|
23
28
|
type: StringConstructor;
|
|
24
29
|
default: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
to: {
|
|
33
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
34
|
+
description: string;
|
|
25
35
|
};
|
|
26
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
27
36
|
shadow: import("vue").Prop<boolean | undefined>;
|
|
28
37
|
external: import("vue").Prop<boolean | undefined>;
|
|
29
38
|
underline: import("vue").Prop<boolean | undefined>;
|
|
30
39
|
color: {
|
|
31
40
|
readonly type: StringConstructor;
|
|
32
41
|
readonly default: string | undefined;
|
|
42
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
33
43
|
};
|
|
34
44
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
45
|
tag: {
|
|
36
46
|
type: StringConstructor;
|
|
37
47
|
default: string;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
to: {
|
|
51
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
52
|
+
description: string;
|
|
38
53
|
};
|
|
39
|
-
to: (ObjectConstructor | StringConstructor)[];
|
|
40
54
|
shadow: import("vue").Prop<boolean | undefined>;
|
|
41
55
|
external: import("vue").Prop<boolean | undefined>;
|
|
42
56
|
underline: import("vue").Prop<boolean | undefined>;
|
|
43
57
|
color: {
|
|
44
58
|
readonly type: StringConstructor;
|
|
45
59
|
readonly default: string | undefined;
|
|
60
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
46
61
|
};
|
|
47
62
|
}>> & Readonly<{}>, {
|
|
48
63
|
tag: string;
|
|
@@ -10,16 +10,21 @@ var g = {
|
|
|
10
10
|
class: "inline-flex items-center"
|
|
11
11
|
}, _ = /* @__PURE__ */ c({
|
|
12
12
|
name: "XLink",
|
|
13
|
+
docs: { slots: { default: "Link label and content." } },
|
|
13
14
|
props: {
|
|
14
15
|
...e.props("secondary"),
|
|
15
16
|
tag: {
|
|
16
17
|
type: String,
|
|
17
|
-
default: "a"
|
|
18
|
+
default: "a",
|
|
19
|
+
description: "Root element tag. Becomes a router-link when `to` is set."
|
|
18
20
|
},
|
|
19
|
-
to:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
to: {
|
|
22
|
+
type: [String, Object],
|
|
23
|
+
description: "Vue Router location; renders as a link when set."
|
|
24
|
+
},
|
|
25
|
+
shadow: n("Inset shadow highlight under the link text."),
|
|
26
|
+
external: n("Appends an external-link icon after the label."),
|
|
27
|
+
underline: n("Underlines the link text.")
|
|
23
28
|
},
|
|
24
29
|
setup(e) {
|
|
25
30
|
let { styles: n, classes: c, className: _ } = t("Link", {}, e);
|
|
@@ -4,13 +4,21 @@ declare const loaderProps: {
|
|
|
4
4
|
status: {
|
|
5
5
|
type: PropType<LoaderStatus>;
|
|
6
6
|
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
icon: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
description: string;
|
|
7
16
|
};
|
|
8
|
-
icon: StringConstructor;
|
|
9
|
-
label: StringConstructor;
|
|
10
17
|
size: {
|
|
11
18
|
readonly type: PropType<import("../../composables/useCommon").Size>;
|
|
12
19
|
readonly default: "md";
|
|
13
20
|
readonly validator: (value: string) => boolean;
|
|
21
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
14
22
|
};
|
|
15
23
|
};
|
|
16
24
|
export type LoaderStatus = 'active' | 'success' | 'error';
|
|
@@ -22,25 +30,41 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
30
|
status: {
|
|
23
31
|
type: PropType<LoaderStatus>;
|
|
24
32
|
default: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
icon: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
label: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
description: string;
|
|
25
42
|
};
|
|
26
|
-
icon: StringConstructor;
|
|
27
|
-
label: StringConstructor;
|
|
28
43
|
size: {
|
|
29
44
|
readonly type: PropType<import("../../composables/useCommon").Size>;
|
|
30
45
|
readonly default: "md";
|
|
31
46
|
readonly validator: (value: string) => boolean;
|
|
47
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
32
48
|
};
|
|
33
49
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
50
|
status: {
|
|
35
51
|
type: PropType<LoaderStatus>;
|
|
36
52
|
default: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
icon: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
label: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
description: string;
|
|
37
62
|
};
|
|
38
|
-
icon: StringConstructor;
|
|
39
|
-
label: StringConstructor;
|
|
40
63
|
size: {
|
|
41
64
|
readonly type: PropType<import("../../composables/useCommon").Size>;
|
|
42
65
|
readonly default: "md";
|
|
43
66
|
readonly validator: (value: string) => boolean;
|
|
67
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
44
68
|
};
|
|
45
69
|
}>> & Readonly<{}>, {
|
|
46
70
|
size: import("../../composables/useCommon").Size;
|
|
@@ -9,10 +9,17 @@ var h = {
|
|
|
9
9
|
...t.props(),
|
|
10
10
|
status: {
|
|
11
11
|
type: String,
|
|
12
|
-
default: "active"
|
|
12
|
+
default: "active",
|
|
13
|
+
description: "Visual status (active spinner, success, or error)."
|
|
13
14
|
},
|
|
14
|
-
icon:
|
|
15
|
-
|
|
15
|
+
icon: {
|
|
16
|
+
type: String,
|
|
17
|
+
description: "Custom spinner icon when status is `active`."
|
|
18
|
+
},
|
|
19
|
+
label: {
|
|
20
|
+
type: String,
|
|
21
|
+
description: "Optional text shown next to the status icon."
|
|
22
|
+
}
|
|
16
23
|
}, g = /* @__PURE__ */ l({
|
|
17
24
|
name: "XLoader",
|
|
18
25
|
validators: {
|
|
@@ -23,6 +30,7 @@ var h = {
|
|
|
23
30
|
"error"
|
|
24
31
|
]
|
|
25
32
|
},
|
|
33
|
+
docs: {},
|
|
26
34
|
props: h,
|
|
27
35
|
setup(t) {
|
|
28
36
|
let { styles: l, classes: h, className: g } = e("Loader", {}, t);
|