@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
|
@@ -1,45 +1,93 @@
|
|
|
1
1
|
import { type ExtractPublicPropTypes, type Ref } from 'vue';
|
|
2
2
|
import { type ThemeComponent } from '../../composables/useTheme';
|
|
3
3
|
declare const radioProps: {
|
|
4
|
-
value:
|
|
4
|
+
value: {
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
5
8
|
glow: import("vue").Prop<boolean | undefined>;
|
|
6
9
|
modelValue: {
|
|
7
10
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
8
11
|
readonly default: undefined;
|
|
12
|
+
readonly description: "Bound value (v-model).";
|
|
13
|
+
};
|
|
14
|
+
id: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly description: "Native id attribute for the input element.";
|
|
17
|
+
};
|
|
18
|
+
name: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly description: "Native name attribute for form submission.";
|
|
21
|
+
};
|
|
22
|
+
readonly: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
25
|
+
};
|
|
26
|
+
required: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly description: "Marks the field as required for validation.";
|
|
9
29
|
};
|
|
10
|
-
id: StringConstructor;
|
|
11
|
-
name: StringConstructor;
|
|
12
|
-
readonly: BooleanConstructor;
|
|
13
|
-
required: BooleanConstructor;
|
|
14
30
|
validateOnInput: {
|
|
15
31
|
readonly type: BooleanConstructor;
|
|
16
32
|
readonly default: true;
|
|
33
|
+
readonly description: "Runs validation on each input event when true.";
|
|
34
|
+
};
|
|
35
|
+
label: {
|
|
36
|
+
readonly type: StringConstructor;
|
|
37
|
+
readonly description: "Visible label text for the field.";
|
|
38
|
+
};
|
|
39
|
+
helper: {
|
|
40
|
+
readonly type: StringConstructor;
|
|
41
|
+
readonly description: "Helper text shown below the field.";
|
|
42
|
+
};
|
|
43
|
+
error: {
|
|
44
|
+
readonly type: StringConstructor;
|
|
45
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
46
|
+
};
|
|
47
|
+
hideFooter: {
|
|
48
|
+
readonly type: BooleanConstructor;
|
|
49
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
17
50
|
};
|
|
18
|
-
label: StringConstructor;
|
|
19
|
-
helper: StringConstructor;
|
|
20
|
-
error: StringConstructor;
|
|
21
|
-
hideFooter: BooleanConstructor;
|
|
22
51
|
rules: {
|
|
23
52
|
readonly type: ArrayConstructor;
|
|
24
53
|
readonly default: () => never[];
|
|
54
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
55
|
+
};
|
|
56
|
+
tooltip: {
|
|
57
|
+
readonly type: StringConstructor;
|
|
58
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
59
|
+
};
|
|
60
|
+
skipFormRegistry: {
|
|
61
|
+
readonly type: BooleanConstructor;
|
|
62
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
63
|
+
};
|
|
64
|
+
disabled: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
67
|
+
};
|
|
68
|
+
loading: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
71
|
+
};
|
|
72
|
+
loadingLabel: {
|
|
73
|
+
readonly type: StringConstructor;
|
|
74
|
+
readonly description: "Accessible label announced while loading.";
|
|
25
75
|
};
|
|
26
|
-
tooltip: StringConstructor;
|
|
27
|
-
skipFormRegistry: BooleanConstructor;
|
|
28
|
-
disabled: BooleanConstructor;
|
|
29
|
-
loading: BooleanConstructor;
|
|
30
|
-
loadingLabel: StringConstructor;
|
|
31
76
|
loadingStatus: {
|
|
32
77
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
33
78
|
readonly default: "active";
|
|
79
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
34
80
|
};
|
|
35
81
|
color: {
|
|
36
82
|
readonly type: StringConstructor;
|
|
37
83
|
readonly default: string | undefined;
|
|
84
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
38
85
|
};
|
|
39
86
|
size: {
|
|
40
87
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
41
88
|
readonly default: "md";
|
|
42
89
|
readonly validator: (value: string) => boolean;
|
|
90
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
43
91
|
};
|
|
44
92
|
};
|
|
45
93
|
export type RadioProps = ExtractPublicPropTypes<typeof radioProps>;
|
|
@@ -52,45 +100,93 @@ type InternalExtraData = {
|
|
|
52
100
|
export interface RadioTheme extends ThemeComponent<RadioProps, InternalClasses, InternalExtraData> {
|
|
53
101
|
}
|
|
54
102
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
55
|
-
value:
|
|
103
|
+
value: {
|
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
56
107
|
glow: import("vue").Prop<boolean | undefined>;
|
|
57
108
|
modelValue: {
|
|
58
109
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
59
110
|
readonly default: undefined;
|
|
111
|
+
readonly description: "Bound value (v-model).";
|
|
112
|
+
};
|
|
113
|
+
id: {
|
|
114
|
+
readonly type: StringConstructor;
|
|
115
|
+
readonly description: "Native id attribute for the input element.";
|
|
116
|
+
};
|
|
117
|
+
name: {
|
|
118
|
+
readonly type: StringConstructor;
|
|
119
|
+
readonly description: "Native name attribute for form submission.";
|
|
120
|
+
};
|
|
121
|
+
readonly: {
|
|
122
|
+
readonly type: BooleanConstructor;
|
|
123
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
124
|
+
};
|
|
125
|
+
required: {
|
|
126
|
+
readonly type: BooleanConstructor;
|
|
127
|
+
readonly description: "Marks the field as required for validation.";
|
|
60
128
|
};
|
|
61
|
-
id: StringConstructor;
|
|
62
|
-
name: StringConstructor;
|
|
63
|
-
readonly: BooleanConstructor;
|
|
64
|
-
required: BooleanConstructor;
|
|
65
129
|
validateOnInput: {
|
|
66
130
|
readonly type: BooleanConstructor;
|
|
67
131
|
readonly default: true;
|
|
132
|
+
readonly description: "Runs validation on each input event when true.";
|
|
133
|
+
};
|
|
134
|
+
label: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly description: "Visible label text for the field.";
|
|
137
|
+
};
|
|
138
|
+
helper: {
|
|
139
|
+
readonly type: StringConstructor;
|
|
140
|
+
readonly description: "Helper text shown below the field.";
|
|
141
|
+
};
|
|
142
|
+
error: {
|
|
143
|
+
readonly type: StringConstructor;
|
|
144
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
145
|
+
};
|
|
146
|
+
hideFooter: {
|
|
147
|
+
readonly type: BooleanConstructor;
|
|
148
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
68
149
|
};
|
|
69
|
-
label: StringConstructor;
|
|
70
|
-
helper: StringConstructor;
|
|
71
|
-
error: StringConstructor;
|
|
72
|
-
hideFooter: BooleanConstructor;
|
|
73
150
|
rules: {
|
|
74
151
|
readonly type: ArrayConstructor;
|
|
75
152
|
readonly default: () => never[];
|
|
153
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
154
|
+
};
|
|
155
|
+
tooltip: {
|
|
156
|
+
readonly type: StringConstructor;
|
|
157
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
158
|
+
};
|
|
159
|
+
skipFormRegistry: {
|
|
160
|
+
readonly type: BooleanConstructor;
|
|
161
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
162
|
+
};
|
|
163
|
+
disabled: {
|
|
164
|
+
readonly type: BooleanConstructor;
|
|
165
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
166
|
+
};
|
|
167
|
+
loading: {
|
|
168
|
+
readonly type: BooleanConstructor;
|
|
169
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
170
|
+
};
|
|
171
|
+
loadingLabel: {
|
|
172
|
+
readonly type: StringConstructor;
|
|
173
|
+
readonly description: "Accessible label announced while loading.";
|
|
76
174
|
};
|
|
77
|
-
tooltip: StringConstructor;
|
|
78
|
-
skipFormRegistry: BooleanConstructor;
|
|
79
|
-
disabled: BooleanConstructor;
|
|
80
|
-
loading: BooleanConstructor;
|
|
81
|
-
loadingLabel: StringConstructor;
|
|
82
175
|
loadingStatus: {
|
|
83
176
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
84
177
|
readonly default: "active";
|
|
178
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
85
179
|
};
|
|
86
180
|
color: {
|
|
87
181
|
readonly type: StringConstructor;
|
|
88
182
|
readonly default: string | undefined;
|
|
183
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
89
184
|
};
|
|
90
185
|
size: {
|
|
91
186
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
92
187
|
readonly default: "md";
|
|
93
188
|
readonly validator: (value: string) => boolean;
|
|
189
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
94
190
|
};
|
|
95
191
|
}>, {
|
|
96
192
|
focus: () => void | undefined;
|
|
@@ -99,45 +195,93 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
99
195
|
validate: (val?: any) => boolean;
|
|
100
196
|
setError: (val: string) => void;
|
|
101
197
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
value:
|
|
198
|
+
value: {
|
|
199
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
200
|
+
description: string;
|
|
201
|
+
};
|
|
103
202
|
glow: import("vue").Prop<boolean | undefined>;
|
|
104
203
|
modelValue: {
|
|
105
204
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
106
205
|
readonly default: undefined;
|
|
206
|
+
readonly description: "Bound value (v-model).";
|
|
207
|
+
};
|
|
208
|
+
id: {
|
|
209
|
+
readonly type: StringConstructor;
|
|
210
|
+
readonly description: "Native id attribute for the input element.";
|
|
211
|
+
};
|
|
212
|
+
name: {
|
|
213
|
+
readonly type: StringConstructor;
|
|
214
|
+
readonly description: "Native name attribute for form submission.";
|
|
215
|
+
};
|
|
216
|
+
readonly: {
|
|
217
|
+
readonly type: BooleanConstructor;
|
|
218
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
219
|
+
};
|
|
220
|
+
required: {
|
|
221
|
+
readonly type: BooleanConstructor;
|
|
222
|
+
readonly description: "Marks the field as required for validation.";
|
|
107
223
|
};
|
|
108
|
-
id: StringConstructor;
|
|
109
|
-
name: StringConstructor;
|
|
110
|
-
readonly: BooleanConstructor;
|
|
111
|
-
required: BooleanConstructor;
|
|
112
224
|
validateOnInput: {
|
|
113
225
|
readonly type: BooleanConstructor;
|
|
114
226
|
readonly default: true;
|
|
227
|
+
readonly description: "Runs validation on each input event when true.";
|
|
228
|
+
};
|
|
229
|
+
label: {
|
|
230
|
+
readonly type: StringConstructor;
|
|
231
|
+
readonly description: "Visible label text for the field.";
|
|
232
|
+
};
|
|
233
|
+
helper: {
|
|
234
|
+
readonly type: StringConstructor;
|
|
235
|
+
readonly description: "Helper text shown below the field.";
|
|
236
|
+
};
|
|
237
|
+
error: {
|
|
238
|
+
readonly type: StringConstructor;
|
|
239
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
240
|
+
};
|
|
241
|
+
hideFooter: {
|
|
242
|
+
readonly type: BooleanConstructor;
|
|
243
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
115
244
|
};
|
|
116
|
-
label: StringConstructor;
|
|
117
|
-
helper: StringConstructor;
|
|
118
|
-
error: StringConstructor;
|
|
119
|
-
hideFooter: BooleanConstructor;
|
|
120
245
|
rules: {
|
|
121
246
|
readonly type: ArrayConstructor;
|
|
122
247
|
readonly default: () => never[];
|
|
248
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
249
|
+
};
|
|
250
|
+
tooltip: {
|
|
251
|
+
readonly type: StringConstructor;
|
|
252
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
253
|
+
};
|
|
254
|
+
skipFormRegistry: {
|
|
255
|
+
readonly type: BooleanConstructor;
|
|
256
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
257
|
+
};
|
|
258
|
+
disabled: {
|
|
259
|
+
readonly type: BooleanConstructor;
|
|
260
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
261
|
+
};
|
|
262
|
+
loading: {
|
|
263
|
+
readonly type: BooleanConstructor;
|
|
264
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
265
|
+
};
|
|
266
|
+
loadingLabel: {
|
|
267
|
+
readonly type: StringConstructor;
|
|
268
|
+
readonly description: "Accessible label announced while loading.";
|
|
123
269
|
};
|
|
124
|
-
tooltip: StringConstructor;
|
|
125
|
-
skipFormRegistry: BooleanConstructor;
|
|
126
|
-
disabled: BooleanConstructor;
|
|
127
|
-
loading: BooleanConstructor;
|
|
128
|
-
loadingLabel: StringConstructor;
|
|
129
270
|
loadingStatus: {
|
|
130
271
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
131
272
|
readonly default: "active";
|
|
273
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
132
274
|
};
|
|
133
275
|
color: {
|
|
134
276
|
readonly type: StringConstructor;
|
|
135
277
|
readonly default: string | undefined;
|
|
278
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
136
279
|
};
|
|
137
280
|
size: {
|
|
138
281
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
139
282
|
readonly default: "md";
|
|
140
283
|
readonly validator: (value: string) => boolean;
|
|
284
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
141
285
|
};
|
|
142
286
|
}>> & Readonly<{
|
|
143
287
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
@@ -22,11 +22,19 @@ var D = [
|
|
|
22
22
|
...e.props("primary"),
|
|
23
23
|
...i.props(),
|
|
24
24
|
...o.props(),
|
|
25
|
-
value:
|
|
26
|
-
|
|
25
|
+
value: {
|
|
26
|
+
type: [String, Number],
|
|
27
|
+
description: "Value emitted when this option is selected (v-model / form-group)."
|
|
28
|
+
},
|
|
29
|
+
glow: n("Soft colored glow behind the control.")
|
|
27
30
|
}, j = /* @__PURE__ */ p({
|
|
28
31
|
name: "XRadio",
|
|
29
32
|
validators: { ...r.validators() },
|
|
33
|
+
docs: {
|
|
34
|
+
slots: { default: "Optional content shown below the label." },
|
|
35
|
+
emits: { ...o.emitDocs(!1) },
|
|
36
|
+
methods: { ...o.methodDocs() }
|
|
37
|
+
},
|
|
30
38
|
props: A,
|
|
31
39
|
emits: o.emits(!1),
|
|
32
40
|
setup(e, { expose: n, emit: r }) {
|
|
@@ -8,44 +8,92 @@ declare const radioButtonProps: {
|
|
|
8
8
|
light: import("vue").Prop<boolean | undefined>;
|
|
9
9
|
flat: import("vue").Prop<boolean | undefined>;
|
|
10
10
|
block: import("vue").Prop<boolean | undefined>;
|
|
11
|
-
value:
|
|
11
|
+
value: {
|
|
12
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
12
15
|
modelValue: {
|
|
13
16
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
14
17
|
readonly default: undefined;
|
|
18
|
+
readonly description: "Bound value (v-model).";
|
|
19
|
+
};
|
|
20
|
+
id: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly description: "Native id attribute for the input element.";
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly description: "Native name attribute for form submission.";
|
|
27
|
+
};
|
|
28
|
+
readonly: {
|
|
29
|
+
readonly type: BooleanConstructor;
|
|
30
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
readonly type: BooleanConstructor;
|
|
34
|
+
readonly description: "Marks the field as required for validation.";
|
|
15
35
|
};
|
|
16
|
-
id: StringConstructor;
|
|
17
|
-
name: StringConstructor;
|
|
18
|
-
readonly: BooleanConstructor;
|
|
19
|
-
required: BooleanConstructor;
|
|
20
36
|
validateOnInput: {
|
|
21
37
|
readonly type: BooleanConstructor;
|
|
22
38
|
readonly default: true;
|
|
39
|
+
readonly description: "Runs validation on each input event when true.";
|
|
40
|
+
};
|
|
41
|
+
label: {
|
|
42
|
+
readonly type: StringConstructor;
|
|
43
|
+
readonly description: "Visible label text for the field.";
|
|
44
|
+
};
|
|
45
|
+
helper: {
|
|
46
|
+
readonly type: StringConstructor;
|
|
47
|
+
readonly description: "Helper text shown below the field.";
|
|
48
|
+
};
|
|
49
|
+
error: {
|
|
50
|
+
readonly type: StringConstructor;
|
|
51
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
52
|
+
};
|
|
53
|
+
hideFooter: {
|
|
54
|
+
readonly type: BooleanConstructor;
|
|
55
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
23
56
|
};
|
|
24
|
-
label: StringConstructor;
|
|
25
|
-
helper: StringConstructor;
|
|
26
|
-
error: StringConstructor;
|
|
27
|
-
hideFooter: BooleanConstructor;
|
|
28
57
|
rules: {
|
|
29
58
|
readonly type: ArrayConstructor;
|
|
30
59
|
readonly default: () => never[];
|
|
60
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
61
|
+
};
|
|
62
|
+
tooltip: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
65
|
+
};
|
|
66
|
+
skipFormRegistry: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
readonly type: BooleanConstructor;
|
|
72
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
73
|
+
};
|
|
74
|
+
loading: {
|
|
75
|
+
readonly type: BooleanConstructor;
|
|
76
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
77
|
+
};
|
|
78
|
+
loadingLabel: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly description: "Accessible label announced while loading.";
|
|
31
81
|
};
|
|
32
|
-
tooltip: StringConstructor;
|
|
33
|
-
skipFormRegistry: BooleanConstructor;
|
|
34
|
-
disabled: BooleanConstructor;
|
|
35
|
-
loading: BooleanConstructor;
|
|
36
|
-
loadingLabel: StringConstructor;
|
|
37
82
|
loadingStatus: {
|
|
38
83
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
39
84
|
readonly default: "active";
|
|
85
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
40
86
|
};
|
|
41
87
|
color: {
|
|
42
88
|
readonly type: StringConstructor;
|
|
43
89
|
readonly default: string | undefined;
|
|
90
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
44
91
|
};
|
|
45
92
|
size: {
|
|
46
93
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
47
94
|
readonly default: "md";
|
|
48
95
|
readonly validator: (value: string) => boolean;
|
|
96
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
49
97
|
};
|
|
50
98
|
};
|
|
51
99
|
export type RadioButtonProps = ExtractPublicPropTypes<typeof radioButtonProps>;
|
|
@@ -64,44 +112,92 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
64
112
|
light: import("vue").Prop<boolean | undefined>;
|
|
65
113
|
flat: import("vue").Prop<boolean | undefined>;
|
|
66
114
|
block: import("vue").Prop<boolean | undefined>;
|
|
67
|
-
value:
|
|
115
|
+
value: {
|
|
116
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
68
119
|
modelValue: {
|
|
69
120
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
70
121
|
readonly default: undefined;
|
|
122
|
+
readonly description: "Bound value (v-model).";
|
|
123
|
+
};
|
|
124
|
+
id: {
|
|
125
|
+
readonly type: StringConstructor;
|
|
126
|
+
readonly description: "Native id attribute for the input element.";
|
|
127
|
+
};
|
|
128
|
+
name: {
|
|
129
|
+
readonly type: StringConstructor;
|
|
130
|
+
readonly description: "Native name attribute for form submission.";
|
|
131
|
+
};
|
|
132
|
+
readonly: {
|
|
133
|
+
readonly type: BooleanConstructor;
|
|
134
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
135
|
+
};
|
|
136
|
+
required: {
|
|
137
|
+
readonly type: BooleanConstructor;
|
|
138
|
+
readonly description: "Marks the field as required for validation.";
|
|
71
139
|
};
|
|
72
|
-
id: StringConstructor;
|
|
73
|
-
name: StringConstructor;
|
|
74
|
-
readonly: BooleanConstructor;
|
|
75
|
-
required: BooleanConstructor;
|
|
76
140
|
validateOnInput: {
|
|
77
141
|
readonly type: BooleanConstructor;
|
|
78
142
|
readonly default: true;
|
|
143
|
+
readonly description: "Runs validation on each input event when true.";
|
|
144
|
+
};
|
|
145
|
+
label: {
|
|
146
|
+
readonly type: StringConstructor;
|
|
147
|
+
readonly description: "Visible label text for the field.";
|
|
148
|
+
};
|
|
149
|
+
helper: {
|
|
150
|
+
readonly type: StringConstructor;
|
|
151
|
+
readonly description: "Helper text shown below the field.";
|
|
152
|
+
};
|
|
153
|
+
error: {
|
|
154
|
+
readonly type: StringConstructor;
|
|
155
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
156
|
+
};
|
|
157
|
+
hideFooter: {
|
|
158
|
+
readonly type: BooleanConstructor;
|
|
159
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
79
160
|
};
|
|
80
|
-
label: StringConstructor;
|
|
81
|
-
helper: StringConstructor;
|
|
82
|
-
error: StringConstructor;
|
|
83
|
-
hideFooter: BooleanConstructor;
|
|
84
161
|
rules: {
|
|
85
162
|
readonly type: ArrayConstructor;
|
|
86
163
|
readonly default: () => never[];
|
|
164
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
165
|
+
};
|
|
166
|
+
tooltip: {
|
|
167
|
+
readonly type: StringConstructor;
|
|
168
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
169
|
+
};
|
|
170
|
+
skipFormRegistry: {
|
|
171
|
+
readonly type: BooleanConstructor;
|
|
172
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
173
|
+
};
|
|
174
|
+
disabled: {
|
|
175
|
+
readonly type: BooleanConstructor;
|
|
176
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
177
|
+
};
|
|
178
|
+
loading: {
|
|
179
|
+
readonly type: BooleanConstructor;
|
|
180
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
181
|
+
};
|
|
182
|
+
loadingLabel: {
|
|
183
|
+
readonly type: StringConstructor;
|
|
184
|
+
readonly description: "Accessible label announced while loading.";
|
|
87
185
|
};
|
|
88
|
-
tooltip: StringConstructor;
|
|
89
|
-
skipFormRegistry: BooleanConstructor;
|
|
90
|
-
disabled: BooleanConstructor;
|
|
91
|
-
loading: BooleanConstructor;
|
|
92
|
-
loadingLabel: StringConstructor;
|
|
93
186
|
loadingStatus: {
|
|
94
187
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
95
188
|
readonly default: "active";
|
|
189
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
96
190
|
};
|
|
97
191
|
color: {
|
|
98
192
|
readonly type: StringConstructor;
|
|
99
193
|
readonly default: string | undefined;
|
|
194
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
100
195
|
};
|
|
101
196
|
size: {
|
|
102
197
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
103
198
|
readonly default: "md";
|
|
104
199
|
readonly validator: (value: string) => boolean;
|
|
200
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
105
201
|
};
|
|
106
202
|
}>, {
|
|
107
203
|
focus: () => void | undefined;
|
|
@@ -117,44 +213,92 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
117
213
|
light: import("vue").Prop<boolean | undefined>;
|
|
118
214
|
flat: import("vue").Prop<boolean | undefined>;
|
|
119
215
|
block: import("vue").Prop<boolean | undefined>;
|
|
120
|
-
value:
|
|
216
|
+
value: {
|
|
217
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
218
|
+
description: string;
|
|
219
|
+
};
|
|
121
220
|
modelValue: {
|
|
122
221
|
readonly type: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
123
222
|
readonly default: undefined;
|
|
223
|
+
readonly description: "Bound value (v-model).";
|
|
224
|
+
};
|
|
225
|
+
id: {
|
|
226
|
+
readonly type: StringConstructor;
|
|
227
|
+
readonly description: "Native id attribute for the input element.";
|
|
228
|
+
};
|
|
229
|
+
name: {
|
|
230
|
+
readonly type: StringConstructor;
|
|
231
|
+
readonly description: "Native name attribute for form submission.";
|
|
232
|
+
};
|
|
233
|
+
readonly: {
|
|
234
|
+
readonly type: BooleanConstructor;
|
|
235
|
+
readonly description: "Makes the field read-only without disabling it.";
|
|
236
|
+
};
|
|
237
|
+
required: {
|
|
238
|
+
readonly type: BooleanConstructor;
|
|
239
|
+
readonly description: "Marks the field as required for validation.";
|
|
124
240
|
};
|
|
125
|
-
id: StringConstructor;
|
|
126
|
-
name: StringConstructor;
|
|
127
|
-
readonly: BooleanConstructor;
|
|
128
|
-
required: BooleanConstructor;
|
|
129
241
|
validateOnInput: {
|
|
130
242
|
readonly type: BooleanConstructor;
|
|
131
243
|
readonly default: true;
|
|
244
|
+
readonly description: "Runs validation on each input event when true.";
|
|
245
|
+
};
|
|
246
|
+
label: {
|
|
247
|
+
readonly type: StringConstructor;
|
|
248
|
+
readonly description: "Visible label text for the field.";
|
|
249
|
+
};
|
|
250
|
+
helper: {
|
|
251
|
+
readonly type: StringConstructor;
|
|
252
|
+
readonly description: "Helper text shown below the field.";
|
|
253
|
+
};
|
|
254
|
+
error: {
|
|
255
|
+
readonly type: StringConstructor;
|
|
256
|
+
readonly description: "External error message; overrides rule errors when set.";
|
|
257
|
+
};
|
|
258
|
+
hideFooter: {
|
|
259
|
+
readonly type: BooleanConstructor;
|
|
260
|
+
readonly description: "Hides the footer area (helper / error).";
|
|
132
261
|
};
|
|
133
|
-
label: StringConstructor;
|
|
134
|
-
helper: StringConstructor;
|
|
135
|
-
error: StringConstructor;
|
|
136
|
-
hideFooter: BooleanConstructor;
|
|
137
262
|
rules: {
|
|
138
263
|
readonly type: ArrayConstructor;
|
|
139
264
|
readonly default: () => never[];
|
|
265
|
+
readonly description: "Validation rule functions or rule descriptors.";
|
|
266
|
+
};
|
|
267
|
+
tooltip: {
|
|
268
|
+
readonly type: StringConstructor;
|
|
269
|
+
readonly description: "Optional tooltip text next to the label.";
|
|
270
|
+
};
|
|
271
|
+
skipFormRegistry: {
|
|
272
|
+
readonly type: BooleanConstructor;
|
|
273
|
+
readonly description: "Skips registering this field with a parent x-form.";
|
|
274
|
+
};
|
|
275
|
+
disabled: {
|
|
276
|
+
readonly type: BooleanConstructor;
|
|
277
|
+
readonly description: "Disables interaction and applies disabled styling.";
|
|
278
|
+
};
|
|
279
|
+
loading: {
|
|
280
|
+
readonly type: BooleanConstructor;
|
|
281
|
+
readonly description: "Shows a loading indicator and blocks interaction.";
|
|
282
|
+
};
|
|
283
|
+
loadingLabel: {
|
|
284
|
+
readonly type: StringConstructor;
|
|
285
|
+
readonly description: "Accessible label announced while loading.";
|
|
140
286
|
};
|
|
141
|
-
tooltip: StringConstructor;
|
|
142
|
-
skipFormRegistry: BooleanConstructor;
|
|
143
|
-
disabled: BooleanConstructor;
|
|
144
|
-
loading: BooleanConstructor;
|
|
145
|
-
loadingLabel: StringConstructor;
|
|
146
287
|
loadingStatus: {
|
|
147
288
|
readonly type: import("vue").PropType<import("../loader/Loader.vue").LoaderStatus>;
|
|
148
289
|
readonly default: "active";
|
|
290
|
+
readonly description: "Loader visual status (for example active or indeterminate).";
|
|
149
291
|
};
|
|
150
292
|
color: {
|
|
151
293
|
readonly type: StringConstructor;
|
|
152
294
|
readonly default: string | undefined;
|
|
295
|
+
readonly description: "Theme or CSS color used for the control accents.";
|
|
153
296
|
};
|
|
154
297
|
size: {
|
|
155
298
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
156
299
|
readonly default: "md";
|
|
157
300
|
readonly validator: (value: string) => boolean;
|
|
301
|
+
readonly description: "Control size. One of xs, sm, md, lg, xl.";
|
|
158
302
|
};
|
|
159
303
|
}>> & Readonly<{
|
|
160
304
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
@@ -19,11 +19,19 @@ var S = [
|
|
|
19
19
|
...e.props("primary"),
|
|
20
20
|
...i.props(),
|
|
21
21
|
...a.props(),
|
|
22
|
-
value:
|
|
22
|
+
value: {
|
|
23
|
+
type: [String, Number],
|
|
24
|
+
description: "Value emitted when this option is selected (v-model / form-group)."
|
|
25
|
+
},
|
|
23
26
|
...n()
|
|
24
27
|
}, T = /* @__PURE__ */ u({
|
|
25
28
|
name: "XRadioButton",
|
|
26
29
|
validators: { ...r.validators() },
|
|
30
|
+
docs: {
|
|
31
|
+
slots: { default: "Button label; falls back to the `label` prop." },
|
|
32
|
+
emits: { ...a.emitDocs(!1) },
|
|
33
|
+
methods: { ...a.methodDocs() }
|
|
34
|
+
},
|
|
27
35
|
props: w,
|
|
28
36
|
emits: a.emits(!1),
|
|
29
37
|
setup(e, { expose: n, emit: r }) {
|