@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,16 +7,22 @@ declare const carouselProps: {
|
|
|
7
7
|
delay: {
|
|
8
8
|
type: NumberConstructor;
|
|
9
9
|
default: number;
|
|
10
|
+
description: string;
|
|
10
11
|
};
|
|
11
12
|
showDots: {
|
|
12
13
|
type: BooleanConstructor;
|
|
13
14
|
default: boolean;
|
|
15
|
+
description: string;
|
|
14
16
|
};
|
|
15
17
|
effect: {
|
|
16
18
|
type: PropType<"slide">;
|
|
17
19
|
default: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
classDots: {
|
|
23
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
24
|
+
description: string;
|
|
18
25
|
};
|
|
19
|
-
classDots: (ArrayConstructor | StringConstructor)[];
|
|
20
26
|
};
|
|
21
27
|
export type CarouselProps = ExtractPublicPropTypes<typeof carouselProps>;
|
|
22
28
|
type InternalClasses = 'wrapper' | 'slides' | 'dots' | 'dot' | 'dotActive';
|
|
@@ -31,16 +37,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
31
37
|
delay: {
|
|
32
38
|
type: NumberConstructor;
|
|
33
39
|
default: number;
|
|
40
|
+
description: string;
|
|
34
41
|
};
|
|
35
42
|
showDots: {
|
|
36
43
|
type: BooleanConstructor;
|
|
37
44
|
default: boolean;
|
|
45
|
+
description: string;
|
|
38
46
|
};
|
|
39
47
|
effect: {
|
|
40
48
|
type: PropType<"slide">;
|
|
41
49
|
default: string;
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
classDots: {
|
|
53
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
54
|
+
description: string;
|
|
42
55
|
};
|
|
43
|
-
classDots: (ArrayConstructor | StringConstructor)[];
|
|
44
56
|
}>, {
|
|
45
57
|
to: (index: number) => void;
|
|
46
58
|
next: () => void;
|
|
@@ -50,16 +62,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
50
62
|
delay: {
|
|
51
63
|
type: NumberConstructor;
|
|
52
64
|
default: number;
|
|
65
|
+
description: string;
|
|
53
66
|
};
|
|
54
67
|
showDots: {
|
|
55
68
|
type: BooleanConstructor;
|
|
56
69
|
default: boolean;
|
|
70
|
+
description: string;
|
|
57
71
|
};
|
|
58
72
|
effect: {
|
|
59
73
|
type: PropType<"slide">;
|
|
60
74
|
default: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
classDots: {
|
|
78
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
79
|
+
description: string;
|
|
61
80
|
};
|
|
62
|
-
classDots: (ArrayConstructor | StringConstructor)[];
|
|
63
81
|
}>> & Readonly<{
|
|
64
82
|
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
65
83
|
}>, {
|
|
@@ -5,21 +5,39 @@ import { Fragment as n, computed as r, createCommentVNode as i, createElementBlo
|
|
|
5
5
|
var b = ["onClick"], x = /* @__PURE__ */ s({
|
|
6
6
|
name: "XCarousel",
|
|
7
7
|
validators: {},
|
|
8
|
+
docs: {
|
|
9
|
+
slots: {
|
|
10
|
+
default: "Slides (typically x-carousel-slide). Slot props: to, next, prev, current, total.",
|
|
11
|
+
dots: "Custom pagination dots. Slot props: to, next, prev, current, total."
|
|
12
|
+
},
|
|
13
|
+
emits: { update: "Emitted when the current slide index changes." },
|
|
14
|
+
methods: {
|
|
15
|
+
to: "Go to a slide by zero-based index.",
|
|
16
|
+
next: "Go to the next slide (wraps to the first).",
|
|
17
|
+
prev: "Go to the previous slide (wraps to the last)."
|
|
18
|
+
}
|
|
19
|
+
},
|
|
8
20
|
props: {
|
|
9
|
-
autoplay: t(),
|
|
21
|
+
autoplay: t("Advances slides automatically."),
|
|
10
22
|
delay: {
|
|
11
23
|
type: Number,
|
|
12
|
-
default: 5e3
|
|
24
|
+
default: 5e3,
|
|
25
|
+
description: "Autoplay interval in milliseconds."
|
|
13
26
|
},
|
|
14
27
|
showDots: {
|
|
15
28
|
type: Boolean,
|
|
16
|
-
default: !0
|
|
29
|
+
default: !0,
|
|
30
|
+
description: "Shows pagination dots under the slides."
|
|
17
31
|
},
|
|
18
32
|
effect: {
|
|
19
33
|
type: String,
|
|
20
|
-
default: "slide"
|
|
34
|
+
default: "slide",
|
|
35
|
+
description: "Transition effect between slides."
|
|
21
36
|
},
|
|
22
|
-
classDots:
|
|
37
|
+
classDots: {
|
|
38
|
+
type: [Array, String],
|
|
39
|
+
description: "Extra class(es) on the default dots container."
|
|
40
|
+
}
|
|
23
41
|
},
|
|
24
42
|
emits: ["update"],
|
|
25
43
|
setup(t, { expose: s, emit: x }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import t from "./CarouselSlide.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
-
import n from "./CarouselSlide.
|
|
4
|
-
var r = /* @__PURE__ */ e(t, [["__cssModules", { $style: n }], ["__scopeId", "data-v-
|
|
3
|
+
import n from "./CarouselSlide.vue_vue_type_style_index_0_scoped_4f559831_lang.module.js";
|
|
4
|
+
var r = /* @__PURE__ */ e(t, [["__cssModules", { $style: n }], ["__scopeId", "data-v-4f559831"]]);
|
|
5
5
|
//#endregion
|
|
6
6
|
export { r as default };
|
|
@@ -4,6 +4,7 @@ declare const carouselSlideProps: {
|
|
|
4
4
|
tag: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
|
+
description: string;
|
|
7
8
|
};
|
|
8
9
|
};
|
|
9
10
|
export type CarouselSlideProps = ExtractPublicPropTypes<typeof carouselSlideProps>;
|
|
@@ -14,11 +15,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
14
15
|
tag: {
|
|
15
16
|
type: StringConstructor;
|
|
16
17
|
default: string;
|
|
18
|
+
description: string;
|
|
17
19
|
};
|
|
18
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
21
|
tag: {
|
|
20
22
|
type: StringConstructor;
|
|
21
23
|
default: string;
|
|
24
|
+
description: string;
|
|
22
25
|
};
|
|
23
26
|
}>> & Readonly<{}>, {
|
|
24
27
|
tag: string;
|
|
@@ -3,9 +3,11 @@ import { createBlock as t, defineComponent as n, normalizeClass as r, normalizeS
|
|
|
3
3
|
//#region src/components/carousel/CarouselSlide.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var u = /* @__PURE__ */ n({
|
|
5
5
|
name: "XCarouselSlide",
|
|
6
|
+
docs: { slots: { default: "Slide content." } },
|
|
6
7
|
props: { tag: {
|
|
7
8
|
type: String,
|
|
8
|
-
default: "div"
|
|
9
|
+
default: "div",
|
|
10
|
+
description: "Root element tag."
|
|
9
11
|
} },
|
|
10
12
|
setup(n) {
|
|
11
13
|
let { styles: u, classes: d, className: f } = e("CarouselSlide", {}, n);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/components/carousel/CarouselSlide.vue?vue&type=style&index=0&scoped=
|
|
1
|
+
//#region src/components/carousel/CarouselSlide.vue?vue&type=style&index=0&scoped=4f559831&lang.module.css
|
|
2
2
|
var e = { "carousel-slide": "_carousel-slide_uzvvz_2" };
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as default };
|
|
@@ -1,46 +1,97 @@
|
|
|
1
1
|
import { type ExtractPublicPropTypes, type Ref } from 'vue';
|
|
2
2
|
import { type ThemeComponent } from '../../composables/useTheme';
|
|
3
3
|
declare const checkboxProps: {
|
|
4
|
-
value:
|
|
5
|
-
|
|
4
|
+
value: {
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
indeterminate: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
6
12
|
glow: import("vue").Prop<boolean | undefined>;
|
|
7
13
|
modelValue: {
|
|
8
14
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
9
15
|
readonly default: undefined;
|
|
16
|
+
readonly description: "Bound value (v-model).";
|
|
17
|
+
};
|
|
18
|
+
id: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly description: "Native id attribute for the input element.";
|
|
21
|
+
};
|
|
22
|
+
name: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly description: "Native name attribute for form submission.";
|
|
25
|
+
};
|
|
26
|
+
readonly: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
29
|
+
};
|
|
30
|
+
required: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly description: "Marks the field as required for validation.";
|
|
10
33
|
};
|
|
11
|
-
id: StringConstructor;
|
|
12
|
-
name: StringConstructor;
|
|
13
|
-
readonly: BooleanConstructor;
|
|
14
|
-
required: BooleanConstructor;
|
|
15
34
|
validateOnInput: {
|
|
16
35
|
readonly type: BooleanConstructor;
|
|
17
36
|
readonly default: true;
|
|
37
|
+
readonly description: "Runs validation on each input event when true.";
|
|
38
|
+
};
|
|
39
|
+
label: {
|
|
40
|
+
readonly type: StringConstructor;
|
|
41
|
+
readonly description: "Visible label text for the field.";
|
|
42
|
+
};
|
|
43
|
+
helper: {
|
|
44
|
+
readonly type: StringConstructor;
|
|
45
|
+
readonly description: "Helper text shown below the field.";
|
|
46
|
+
};
|
|
47
|
+
error: {
|
|
48
|
+
readonly type: StringConstructor;
|
|
49
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
50
|
+
};
|
|
51
|
+
hideFooter: {
|
|
52
|
+
readonly type: BooleanConstructor;
|
|
53
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
18
54
|
};
|
|
19
|
-
label: StringConstructor;
|
|
20
|
-
helper: StringConstructor;
|
|
21
|
-
error: StringConstructor;
|
|
22
|
-
hideFooter: BooleanConstructor;
|
|
23
55
|
rules: {
|
|
24
56
|
readonly type: ArrayConstructor;
|
|
25
57
|
readonly default: () => never[];
|
|
58
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
59
|
+
};
|
|
60
|
+
tooltip: {
|
|
61
|
+
readonly type: StringConstructor;
|
|
62
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
63
|
+
};
|
|
64
|
+
skipFormRegistry: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
67
|
+
};
|
|
68
|
+
disabled: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
71
|
+
};
|
|
72
|
+
loading: {
|
|
73
|
+
readonly type: BooleanConstructor;
|
|
74
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
75
|
+
};
|
|
76
|
+
loadingLabel: {
|
|
77
|
+
readonly type: StringConstructor;
|
|
78
|
+
readonly description: "Accessible label announced while loading.";
|
|
26
79
|
};
|
|
27
|
-
tooltip: StringConstructor;
|
|
28
|
-
skipFormRegistry: BooleanConstructor;
|
|
29
|
-
disabled: BooleanConstructor;
|
|
30
|
-
loading: BooleanConstructor;
|
|
31
|
-
loadingLabel: StringConstructor;
|
|
32
80
|
loadingStatus: {
|
|
33
81
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
34
82
|
readonly default: "active";
|
|
83
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
35
84
|
};
|
|
36
85
|
color: {
|
|
37
86
|
readonly type: StringConstructor;
|
|
38
87
|
readonly default: string | undefined;
|
|
88
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
39
89
|
};
|
|
40
90
|
size: {
|
|
41
91
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
42
92
|
readonly default: "md";
|
|
43
93
|
readonly validator: (value: string) => boolean;
|
|
94
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
44
95
|
};
|
|
45
96
|
};
|
|
46
97
|
export type CheckboxProps = ExtractPublicPropTypes<typeof checkboxProps>;
|
|
@@ -53,46 +104,97 @@ type InternalExtraData = {
|
|
|
53
104
|
export interface CheckboxTheme extends ThemeComponent<CheckboxProps, InternalClasses, InternalExtraData> {
|
|
54
105
|
}
|
|
55
106
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
56
|
-
value:
|
|
57
|
-
|
|
107
|
+
value: {
|
|
108
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
109
|
+
description: string;
|
|
110
|
+
};
|
|
111
|
+
indeterminate: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
58
115
|
glow: import("vue").Prop<boolean | undefined>;
|
|
59
116
|
modelValue: {
|
|
60
117
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
61
118
|
readonly default: undefined;
|
|
119
|
+
readonly description: "Bound value (v-model).";
|
|
120
|
+
};
|
|
121
|
+
id: {
|
|
122
|
+
readonly type: StringConstructor;
|
|
123
|
+
readonly description: "Native id attribute for the input element.";
|
|
124
|
+
};
|
|
125
|
+
name: {
|
|
126
|
+
readonly type: StringConstructor;
|
|
127
|
+
readonly description: "Native name attribute for form submission.";
|
|
128
|
+
};
|
|
129
|
+
readonly: {
|
|
130
|
+
readonly type: BooleanConstructor;
|
|
131
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
132
|
+
};
|
|
133
|
+
required: {
|
|
134
|
+
readonly type: BooleanConstructor;
|
|
135
|
+
readonly description: "Marks the field as required for validation.";
|
|
62
136
|
};
|
|
63
|
-
id: StringConstructor;
|
|
64
|
-
name: StringConstructor;
|
|
65
|
-
readonly: BooleanConstructor;
|
|
66
|
-
required: BooleanConstructor;
|
|
67
137
|
validateOnInput: {
|
|
68
138
|
readonly type: BooleanConstructor;
|
|
69
139
|
readonly default: true;
|
|
140
|
+
readonly description: "Runs validation on each input event when true.";
|
|
141
|
+
};
|
|
142
|
+
label: {
|
|
143
|
+
readonly type: StringConstructor;
|
|
144
|
+
readonly description: "Visible label text for the field.";
|
|
145
|
+
};
|
|
146
|
+
helper: {
|
|
147
|
+
readonly type: StringConstructor;
|
|
148
|
+
readonly description: "Helper text shown below the field.";
|
|
149
|
+
};
|
|
150
|
+
error: {
|
|
151
|
+
readonly type: StringConstructor;
|
|
152
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
153
|
+
};
|
|
154
|
+
hideFooter: {
|
|
155
|
+
readonly type: BooleanConstructor;
|
|
156
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
70
157
|
};
|
|
71
|
-
label: StringConstructor;
|
|
72
|
-
helper: StringConstructor;
|
|
73
|
-
error: StringConstructor;
|
|
74
|
-
hideFooter: BooleanConstructor;
|
|
75
158
|
rules: {
|
|
76
159
|
readonly type: ArrayConstructor;
|
|
77
160
|
readonly default: () => never[];
|
|
161
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
162
|
+
};
|
|
163
|
+
tooltip: {
|
|
164
|
+
readonly type: StringConstructor;
|
|
165
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
166
|
+
};
|
|
167
|
+
skipFormRegistry: {
|
|
168
|
+
readonly type: BooleanConstructor;
|
|
169
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
170
|
+
};
|
|
171
|
+
disabled: {
|
|
172
|
+
readonly type: BooleanConstructor;
|
|
173
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
174
|
+
};
|
|
175
|
+
loading: {
|
|
176
|
+
readonly type: BooleanConstructor;
|
|
177
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
178
|
+
};
|
|
179
|
+
loadingLabel: {
|
|
180
|
+
readonly type: StringConstructor;
|
|
181
|
+
readonly description: "Accessible label announced while loading.";
|
|
78
182
|
};
|
|
79
|
-
tooltip: StringConstructor;
|
|
80
|
-
skipFormRegistry: BooleanConstructor;
|
|
81
|
-
disabled: BooleanConstructor;
|
|
82
|
-
loading: BooleanConstructor;
|
|
83
|
-
loadingLabel: StringConstructor;
|
|
84
183
|
loadingStatus: {
|
|
85
184
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
86
185
|
readonly default: "active";
|
|
186
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
87
187
|
};
|
|
88
188
|
color: {
|
|
89
189
|
readonly type: StringConstructor;
|
|
90
190
|
readonly default: string | undefined;
|
|
191
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
91
192
|
};
|
|
92
193
|
size: {
|
|
93
194
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
94
195
|
readonly default: "md";
|
|
95
196
|
readonly validator: (value: string) => boolean;
|
|
197
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
96
198
|
};
|
|
97
199
|
}>, {
|
|
98
200
|
focus: () => void | undefined;
|
|
@@ -102,46 +204,97 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
102
204
|
validate: (val?: any) => boolean;
|
|
103
205
|
setError: (val: string) => void;
|
|
104
206
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
-
value:
|
|
106
|
-
|
|
207
|
+
value: {
|
|
208
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
209
|
+
description: string;
|
|
210
|
+
};
|
|
211
|
+
indeterminate: {
|
|
212
|
+
type: BooleanConstructor;
|
|
213
|
+
description: string;
|
|
214
|
+
};
|
|
107
215
|
glow: import("vue").Prop<boolean | undefined>;
|
|
108
216
|
modelValue: {
|
|
109
217
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
110
218
|
readonly default: undefined;
|
|
219
|
+
readonly description: "Bound value (v-model).";
|
|
220
|
+
};
|
|
221
|
+
id: {
|
|
222
|
+
readonly type: StringConstructor;
|
|
223
|
+
readonly description: "Native id attribute for the input element.";
|
|
224
|
+
};
|
|
225
|
+
name: {
|
|
226
|
+
readonly type: StringConstructor;
|
|
227
|
+
readonly description: "Native name attribute for form submission.";
|
|
228
|
+
};
|
|
229
|
+
readonly: {
|
|
230
|
+
readonly type: BooleanConstructor;
|
|
231
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
232
|
+
};
|
|
233
|
+
required: {
|
|
234
|
+
readonly type: BooleanConstructor;
|
|
235
|
+
readonly description: "Marks the field as required for validation.";
|
|
111
236
|
};
|
|
112
|
-
id: StringConstructor;
|
|
113
|
-
name: StringConstructor;
|
|
114
|
-
readonly: BooleanConstructor;
|
|
115
|
-
required: BooleanConstructor;
|
|
116
237
|
validateOnInput: {
|
|
117
238
|
readonly type: BooleanConstructor;
|
|
118
239
|
readonly default: true;
|
|
240
|
+
readonly description: "Runs validation on each input event when true.";
|
|
241
|
+
};
|
|
242
|
+
label: {
|
|
243
|
+
readonly type: StringConstructor;
|
|
244
|
+
readonly description: "Visible label text for the field.";
|
|
245
|
+
};
|
|
246
|
+
helper: {
|
|
247
|
+
readonly type: StringConstructor;
|
|
248
|
+
readonly description: "Helper text shown below the field.";
|
|
249
|
+
};
|
|
250
|
+
error: {
|
|
251
|
+
readonly type: StringConstructor;
|
|
252
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
253
|
+
};
|
|
254
|
+
hideFooter: {
|
|
255
|
+
readonly type: BooleanConstructor;
|
|
256
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
119
257
|
};
|
|
120
|
-
label: StringConstructor;
|
|
121
|
-
helper: StringConstructor;
|
|
122
|
-
error: StringConstructor;
|
|
123
|
-
hideFooter: BooleanConstructor;
|
|
124
258
|
rules: {
|
|
125
259
|
readonly type: ArrayConstructor;
|
|
126
260
|
readonly default: () => never[];
|
|
261
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
262
|
+
};
|
|
263
|
+
tooltip: {
|
|
264
|
+
readonly type: StringConstructor;
|
|
265
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
266
|
+
};
|
|
267
|
+
skipFormRegistry: {
|
|
268
|
+
readonly type: BooleanConstructor;
|
|
269
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
270
|
+
};
|
|
271
|
+
disabled: {
|
|
272
|
+
readonly type: BooleanConstructor;
|
|
273
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
274
|
+
};
|
|
275
|
+
loading: {
|
|
276
|
+
readonly type: BooleanConstructor;
|
|
277
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
278
|
+
};
|
|
279
|
+
loadingLabel: {
|
|
280
|
+
readonly type: StringConstructor;
|
|
281
|
+
readonly description: "Accessible label announced while loading.";
|
|
127
282
|
};
|
|
128
|
-
tooltip: StringConstructor;
|
|
129
|
-
skipFormRegistry: BooleanConstructor;
|
|
130
|
-
disabled: BooleanConstructor;
|
|
131
|
-
loading: BooleanConstructor;
|
|
132
|
-
loadingLabel: StringConstructor;
|
|
133
283
|
loadingStatus: {
|
|
134
284
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
135
285
|
readonly default: "active";
|
|
286
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
136
287
|
};
|
|
137
288
|
color: {
|
|
138
289
|
readonly type: StringConstructor;
|
|
139
290
|
readonly default: string | undefined;
|
|
291
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
140
292
|
};
|
|
141
293
|
size: {
|
|
142
294
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
143
295
|
readonly default: "md";
|
|
144
296
|
readonly validator: (value: string) => boolean;
|
|
297
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
145
298
|
};
|
|
146
299
|
}>> & Readonly<{
|
|
147
300
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
@@ -20,12 +20,29 @@ var D = ["onKeypress"], O = [
|
|
|
20
20
|
...e.props("primary"),
|
|
21
21
|
...i.props(),
|
|
22
22
|
...o.props(),
|
|
23
|
-
value:
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
value: {
|
|
24
|
+
type: [String, Number],
|
|
25
|
+
description: "Value used when the checkbox is inside an x-form-group (array selection)."
|
|
26
|
+
},
|
|
27
|
+
indeterminate: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
description: "Shows an indeterminate (mixed) check state."
|
|
30
|
+
},
|
|
31
|
+
glow: n("Soft colored glow behind the control.")
|
|
26
32
|
}, j = /* @__PURE__ */ f({
|
|
27
33
|
name: "XCheckbox",
|
|
28
34
|
validators: { ...r.validators() },
|
|
35
|
+
docs: {
|
|
36
|
+
slots: {
|
|
37
|
+
default: "Label content when the `label` prop is not set.",
|
|
38
|
+
icon: "Custom checked-state icon."
|
|
39
|
+
},
|
|
40
|
+
emits: { ...o.emitDocs(!1) },
|
|
41
|
+
methods: {
|
|
42
|
+
...o.methodDocs(),
|
|
43
|
+
toggle: "Toggle the checked state (no-op when disabled, loading, or readonly)."
|
|
44
|
+
}
|
|
45
|
+
},
|
|
29
46
|
props: A,
|
|
30
47
|
emits: o.emits(!1),
|
|
31
48
|
setup(e, { expose: n, emit: r }) {
|
|
@@ -4,10 +4,12 @@ declare const containerProps: {
|
|
|
4
4
|
tag: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
|
+
description: string;
|
|
7
8
|
};
|
|
8
9
|
fluid: {
|
|
9
10
|
type: BooleanConstructor;
|
|
10
11
|
default: boolean;
|
|
12
|
+
description: string;
|
|
11
13
|
};
|
|
12
14
|
};
|
|
13
15
|
export type ContainerProps = ExtractPublicPropTypes<typeof containerProps>;
|
|
@@ -18,19 +20,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
18
20
|
tag: {
|
|
19
21
|
type: StringConstructor;
|
|
20
22
|
default: string;
|
|
23
|
+
description: string;
|
|
21
24
|
};
|
|
22
25
|
fluid: {
|
|
23
26
|
type: BooleanConstructor;
|
|
24
27
|
default: boolean;
|
|
28
|
+
description: string;
|
|
25
29
|
};
|
|
26
30
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
31
|
tag: {
|
|
28
32
|
type: StringConstructor;
|
|
29
33
|
default: string;
|
|
34
|
+
description: string;
|
|
30
35
|
};
|
|
31
36
|
fluid: {
|
|
32
37
|
type: BooleanConstructor;
|
|
33
38
|
default: boolean;
|
|
39
|
+
description: string;
|
|
34
40
|
};
|
|
35
41
|
}>> & Readonly<{}>, {
|
|
36
42
|
tag: string;
|
|
@@ -3,14 +3,17 @@ import { createBlock as t, defineComponent as n, normalizeClass as r, normalizeS
|
|
|
3
3
|
//#region src/components/container/Container.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var u = /* @__PURE__ */ n({
|
|
5
5
|
name: "XContainer",
|
|
6
|
+
docs: { slots: { default: "Container content." } },
|
|
6
7
|
props: {
|
|
7
8
|
tag: {
|
|
8
9
|
type: String,
|
|
9
|
-
default: "div"
|
|
10
|
+
default: "div",
|
|
11
|
+
description: "Root element tag."
|
|
10
12
|
},
|
|
11
13
|
fluid: {
|
|
12
14
|
type: Boolean,
|
|
13
|
-
default: !1
|
|
15
|
+
default: !1,
|
|
16
|
+
description: "Removes max-width constraints so the container spans the full parent width."
|
|
14
17
|
}
|
|
15
18
|
},
|
|
16
19
|
setup(n) {
|