@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
|
@@ -5,54 +5,118 @@ declare const validators: {
|
|
|
5
5
|
size: string[];
|
|
6
6
|
};
|
|
7
7
|
declare const uploadProps: {
|
|
8
|
-
placeholder:
|
|
9
|
-
|
|
8
|
+
placeholder: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
accept: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
10
16
|
multiple: import("vue").Prop<boolean | undefined>;
|
|
11
|
-
maxFiles:
|
|
12
|
-
|
|
17
|
+
maxFiles: {
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
maxFileSize: {
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
13
25
|
variant: {
|
|
14
26
|
type: PropType<"box">;
|
|
15
27
|
default: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
action: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
headers: {
|
|
35
|
+
type: PropType<Record<string, string>>;
|
|
36
|
+
description: string;
|
|
16
37
|
};
|
|
17
|
-
action: StringConstructor;
|
|
18
|
-
headers: PropType<Record<string, string>>;
|
|
19
38
|
method: {
|
|
20
39
|
type: PropType<"POST" | "PUT">;
|
|
21
40
|
default: string;
|
|
41
|
+
description: string;
|
|
22
42
|
};
|
|
23
43
|
withCredentials: import("vue").Prop<boolean | undefined>;
|
|
24
44
|
fileFormDataName: {
|
|
25
45
|
type: StringConstructor;
|
|
26
46
|
default: string;
|
|
47
|
+
description: string;
|
|
27
48
|
};
|
|
28
49
|
modelValue: {
|
|
29
50
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
30
51
|
readonly default: undefined;
|
|
52
|
+
readonly description: "Bound value (v-model).";
|
|
53
|
+
};
|
|
54
|
+
id: {
|
|
55
|
+
readonly type: StringConstructor;
|
|
56
|
+
readonly description: "Native id attribute for the input element.";
|
|
57
|
+
};
|
|
58
|
+
name: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly description: "Native name attribute for form submission.";
|
|
61
|
+
};
|
|
62
|
+
readonly: {
|
|
63
|
+
readonly type: BooleanConstructor;
|
|
64
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
65
|
+
};
|
|
66
|
+
required: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly description: "Marks the field as required for validation.";
|
|
31
69
|
};
|
|
32
|
-
id: StringConstructor;
|
|
33
|
-
name: StringConstructor;
|
|
34
|
-
readonly: BooleanConstructor;
|
|
35
|
-
required: BooleanConstructor;
|
|
36
70
|
validateOnInput: {
|
|
37
71
|
readonly type: BooleanConstructor;
|
|
38
72
|
readonly default: true;
|
|
73
|
+
readonly description: "Runs validation on each input event when true.";
|
|
74
|
+
};
|
|
75
|
+
label: {
|
|
76
|
+
readonly type: StringConstructor;
|
|
77
|
+
readonly description: "Visible label text for the field.";
|
|
78
|
+
};
|
|
79
|
+
helper: {
|
|
80
|
+
readonly type: StringConstructor;
|
|
81
|
+
readonly description: "Helper text shown below the field.";
|
|
82
|
+
};
|
|
83
|
+
error: {
|
|
84
|
+
readonly type: StringConstructor;
|
|
85
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
86
|
+
};
|
|
87
|
+
hideFooter: {
|
|
88
|
+
readonly type: BooleanConstructor;
|
|
89
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
39
90
|
};
|
|
40
|
-
label: StringConstructor;
|
|
41
|
-
helper: StringConstructor;
|
|
42
|
-
error: StringConstructor;
|
|
43
|
-
hideFooter: BooleanConstructor;
|
|
44
91
|
rules: {
|
|
45
92
|
readonly type: ArrayConstructor;
|
|
46
93
|
readonly default: () => never[];
|
|
94
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
95
|
+
};
|
|
96
|
+
tooltip: {
|
|
97
|
+
readonly type: StringConstructor;
|
|
98
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
99
|
+
};
|
|
100
|
+
skipFormRegistry: {
|
|
101
|
+
readonly type: BooleanConstructor;
|
|
102
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
103
|
+
};
|
|
104
|
+
disabled: {
|
|
105
|
+
readonly type: BooleanConstructor;
|
|
106
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
107
|
+
};
|
|
108
|
+
loading: {
|
|
109
|
+
readonly type: BooleanConstructor;
|
|
110
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
111
|
+
};
|
|
112
|
+
loadingLabel: {
|
|
113
|
+
readonly type: StringConstructor;
|
|
114
|
+
readonly description: "Accessible label announced while loading.";
|
|
47
115
|
};
|
|
48
|
-
tooltip: StringConstructor;
|
|
49
|
-
skipFormRegistry: BooleanConstructor;
|
|
50
|
-
disabled: BooleanConstructor;
|
|
51
|
-
loading: BooleanConstructor;
|
|
52
|
-
loadingLabel: StringConstructor;
|
|
53
116
|
loadingStatus: {
|
|
54
117
|
readonly type: PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
55
118
|
readonly default: "active";
|
|
119
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
56
120
|
};
|
|
57
121
|
};
|
|
58
122
|
export type UploadFile = {
|
|
@@ -68,54 +132,118 @@ type InternalClasses = 'wrapper' | 'input';
|
|
|
68
132
|
export interface UploadTheme extends ThemeComponent<UploadProps, InternalClasses> {
|
|
69
133
|
}
|
|
70
134
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
71
|
-
placeholder:
|
|
72
|
-
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
accept: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
description: string;
|
|
142
|
+
};
|
|
73
143
|
multiple: import("vue").Prop<boolean | undefined>;
|
|
74
|
-
maxFiles:
|
|
75
|
-
|
|
144
|
+
maxFiles: {
|
|
145
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
maxFileSize: {
|
|
149
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
76
152
|
variant: {
|
|
77
153
|
type: PropType<"box">;
|
|
78
154
|
default: string;
|
|
155
|
+
description: string;
|
|
156
|
+
};
|
|
157
|
+
action: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
description: string;
|
|
160
|
+
};
|
|
161
|
+
headers: {
|
|
162
|
+
type: PropType<Record<string, string>>;
|
|
163
|
+
description: string;
|
|
79
164
|
};
|
|
80
|
-
action: StringConstructor;
|
|
81
|
-
headers: PropType<Record<string, string>>;
|
|
82
165
|
method: {
|
|
83
166
|
type: PropType<"POST" | "PUT">;
|
|
84
167
|
default: string;
|
|
168
|
+
description: string;
|
|
85
169
|
};
|
|
86
170
|
withCredentials: import("vue").Prop<boolean | undefined>;
|
|
87
171
|
fileFormDataName: {
|
|
88
172
|
type: StringConstructor;
|
|
89
173
|
default: string;
|
|
174
|
+
description: string;
|
|
90
175
|
};
|
|
91
176
|
modelValue: {
|
|
92
177
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
93
178
|
readonly default: undefined;
|
|
179
|
+
readonly description: "Bound value (v-model).";
|
|
180
|
+
};
|
|
181
|
+
id: {
|
|
182
|
+
readonly type: StringConstructor;
|
|
183
|
+
readonly description: "Native id attribute for the input element.";
|
|
184
|
+
};
|
|
185
|
+
name: {
|
|
186
|
+
readonly type: StringConstructor;
|
|
187
|
+
readonly description: "Native name attribute for form submission.";
|
|
188
|
+
};
|
|
189
|
+
readonly: {
|
|
190
|
+
readonly type: BooleanConstructor;
|
|
191
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
192
|
+
};
|
|
193
|
+
required: {
|
|
194
|
+
readonly type: BooleanConstructor;
|
|
195
|
+
readonly description: "Marks the field as required for validation.";
|
|
94
196
|
};
|
|
95
|
-
id: StringConstructor;
|
|
96
|
-
name: StringConstructor;
|
|
97
|
-
readonly: BooleanConstructor;
|
|
98
|
-
required: BooleanConstructor;
|
|
99
197
|
validateOnInput: {
|
|
100
198
|
readonly type: BooleanConstructor;
|
|
101
199
|
readonly default: true;
|
|
200
|
+
readonly description: "Runs validation on each input event when true.";
|
|
201
|
+
};
|
|
202
|
+
label: {
|
|
203
|
+
readonly type: StringConstructor;
|
|
204
|
+
readonly description: "Visible label text for the field.";
|
|
205
|
+
};
|
|
206
|
+
helper: {
|
|
207
|
+
readonly type: StringConstructor;
|
|
208
|
+
readonly description: "Helper text shown below the field.";
|
|
209
|
+
};
|
|
210
|
+
error: {
|
|
211
|
+
readonly type: StringConstructor;
|
|
212
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
213
|
+
};
|
|
214
|
+
hideFooter: {
|
|
215
|
+
readonly type: BooleanConstructor;
|
|
216
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
102
217
|
};
|
|
103
|
-
label: StringConstructor;
|
|
104
|
-
helper: StringConstructor;
|
|
105
|
-
error: StringConstructor;
|
|
106
|
-
hideFooter: BooleanConstructor;
|
|
107
218
|
rules: {
|
|
108
219
|
readonly type: ArrayConstructor;
|
|
109
220
|
readonly default: () => never[];
|
|
221
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
222
|
+
};
|
|
223
|
+
tooltip: {
|
|
224
|
+
readonly type: StringConstructor;
|
|
225
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
226
|
+
};
|
|
227
|
+
skipFormRegistry: {
|
|
228
|
+
readonly type: BooleanConstructor;
|
|
229
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
230
|
+
};
|
|
231
|
+
disabled: {
|
|
232
|
+
readonly type: BooleanConstructor;
|
|
233
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
234
|
+
};
|
|
235
|
+
loading: {
|
|
236
|
+
readonly type: BooleanConstructor;
|
|
237
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
238
|
+
};
|
|
239
|
+
loadingLabel: {
|
|
240
|
+
readonly type: StringConstructor;
|
|
241
|
+
readonly description: "Accessible label announced while loading.";
|
|
110
242
|
};
|
|
111
|
-
tooltip: StringConstructor;
|
|
112
|
-
skipFormRegistry: BooleanConstructor;
|
|
113
|
-
disabled: BooleanConstructor;
|
|
114
|
-
loading: BooleanConstructor;
|
|
115
|
-
loadingLabel: StringConstructor;
|
|
116
243
|
loadingStatus: {
|
|
117
244
|
readonly type: PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
118
245
|
readonly default: "active";
|
|
246
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
119
247
|
};
|
|
120
248
|
}>, {
|
|
121
249
|
focus: () => void | undefined;
|
|
@@ -124,54 +252,118 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
124
252
|
validate: (val?: any) => boolean;
|
|
125
253
|
setError: (val: string) => void;
|
|
126
254
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
-
placeholder:
|
|
128
|
-
|
|
255
|
+
placeholder: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
description: string;
|
|
258
|
+
};
|
|
259
|
+
accept: {
|
|
260
|
+
type: StringConstructor;
|
|
261
|
+
description: string;
|
|
262
|
+
};
|
|
129
263
|
multiple: import("vue").Prop<boolean | undefined>;
|
|
130
|
-
maxFiles:
|
|
131
|
-
|
|
264
|
+
maxFiles: {
|
|
265
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
266
|
+
description: string;
|
|
267
|
+
};
|
|
268
|
+
maxFileSize: {
|
|
269
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
270
|
+
description: string;
|
|
271
|
+
};
|
|
132
272
|
variant: {
|
|
133
273
|
type: PropType<"box">;
|
|
134
274
|
default: string;
|
|
275
|
+
description: string;
|
|
276
|
+
};
|
|
277
|
+
action: {
|
|
278
|
+
type: StringConstructor;
|
|
279
|
+
description: string;
|
|
280
|
+
};
|
|
281
|
+
headers: {
|
|
282
|
+
type: PropType<Record<string, string>>;
|
|
283
|
+
description: string;
|
|
135
284
|
};
|
|
136
|
-
action: StringConstructor;
|
|
137
|
-
headers: PropType<Record<string, string>>;
|
|
138
285
|
method: {
|
|
139
286
|
type: PropType<"POST" | "PUT">;
|
|
140
287
|
default: string;
|
|
288
|
+
description: string;
|
|
141
289
|
};
|
|
142
290
|
withCredentials: import("vue").Prop<boolean | undefined>;
|
|
143
291
|
fileFormDataName: {
|
|
144
292
|
type: StringConstructor;
|
|
145
293
|
default: string;
|
|
294
|
+
description: string;
|
|
146
295
|
};
|
|
147
296
|
modelValue: {
|
|
148
297
|
readonly type: PropType<string | number | boolean | object | any[] | undefined>;
|
|
149
298
|
readonly default: undefined;
|
|
299
|
+
readonly description: "Bound value (v-model).";
|
|
300
|
+
};
|
|
301
|
+
id: {
|
|
302
|
+
readonly type: StringConstructor;
|
|
303
|
+
readonly description: "Native id attribute for the input element.";
|
|
304
|
+
};
|
|
305
|
+
name: {
|
|
306
|
+
readonly type: StringConstructor;
|
|
307
|
+
readonly description: "Native name attribute for form submission.";
|
|
308
|
+
};
|
|
309
|
+
readonly: {
|
|
310
|
+
readonly type: BooleanConstructor;
|
|
311
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
312
|
+
};
|
|
313
|
+
required: {
|
|
314
|
+
readonly type: BooleanConstructor;
|
|
315
|
+
readonly description: "Marks the field as required for validation.";
|
|
150
316
|
};
|
|
151
|
-
id: StringConstructor;
|
|
152
|
-
name: StringConstructor;
|
|
153
|
-
readonly: BooleanConstructor;
|
|
154
|
-
required: BooleanConstructor;
|
|
155
317
|
validateOnInput: {
|
|
156
318
|
readonly type: BooleanConstructor;
|
|
157
319
|
readonly default: true;
|
|
320
|
+
readonly description: "Runs validation on each input event when true.";
|
|
321
|
+
};
|
|
322
|
+
label: {
|
|
323
|
+
readonly type: StringConstructor;
|
|
324
|
+
readonly description: "Visible label text for the field.";
|
|
325
|
+
};
|
|
326
|
+
helper: {
|
|
327
|
+
readonly type: StringConstructor;
|
|
328
|
+
readonly description: "Helper text shown below the field.";
|
|
329
|
+
};
|
|
330
|
+
error: {
|
|
331
|
+
readonly type: StringConstructor;
|
|
332
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
333
|
+
};
|
|
334
|
+
hideFooter: {
|
|
335
|
+
readonly type: BooleanConstructor;
|
|
336
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
158
337
|
};
|
|
159
|
-
label: StringConstructor;
|
|
160
|
-
helper: StringConstructor;
|
|
161
|
-
error: StringConstructor;
|
|
162
|
-
hideFooter: BooleanConstructor;
|
|
163
338
|
rules: {
|
|
164
339
|
readonly type: ArrayConstructor;
|
|
165
340
|
readonly default: () => never[];
|
|
341
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
342
|
+
};
|
|
343
|
+
tooltip: {
|
|
344
|
+
readonly type: StringConstructor;
|
|
345
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
346
|
+
};
|
|
347
|
+
skipFormRegistry: {
|
|
348
|
+
readonly type: BooleanConstructor;
|
|
349
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
350
|
+
};
|
|
351
|
+
disabled: {
|
|
352
|
+
readonly type: BooleanConstructor;
|
|
353
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
354
|
+
};
|
|
355
|
+
loading: {
|
|
356
|
+
readonly type: BooleanConstructor;
|
|
357
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
358
|
+
};
|
|
359
|
+
loadingLabel: {
|
|
360
|
+
readonly type: StringConstructor;
|
|
361
|
+
readonly description: "Accessible label announced while loading.";
|
|
166
362
|
};
|
|
167
|
-
tooltip: StringConstructor;
|
|
168
|
-
skipFormRegistry: BooleanConstructor;
|
|
169
|
-
disabled: BooleanConstructor;
|
|
170
|
-
loading: BooleanConstructor;
|
|
171
|
-
loadingLabel: StringConstructor;
|
|
172
363
|
loadingStatus: {
|
|
173
364
|
readonly type: PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
174
365
|
readonly default: "active";
|
|
366
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
175
367
|
};
|
|
176
368
|
}>> & Readonly<{
|
|
177
369
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|