bitboss-ui 2.0.38 → 2.0.39
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/dist/components/BaseButton/BaseButton.vue.d.ts +14 -31
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +19 -50
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +28 -244
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +100 -0
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +6 -28
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +5 -15
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +30 -31
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +4 -14
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +4 -14
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +168 -52
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +25 -45
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +10 -35
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +16 -49
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +15 -34
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +28 -247
- package/dist/components/BaseRating/BaseRating.vue.d.ts +15 -46
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +348 -59
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +19 -53
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +15 -46
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +32 -244
- package/dist/components/BaseTag/BaseTag.vue.d.ts +214 -50
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +15 -44
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +13 -30
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +31 -45
- package/dist/components/BbAlert/BbAlert.vue.d.ts +26 -43
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +15 -28
- package/dist/components/BbBadge/BbBadge.vue.d.ts +13 -24
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +51 -66
- package/dist/components/BbButton/BbButton.vue.d.ts +13 -31
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +30 -65
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +36 -279
- package/dist/components/BbChip/BbChip.vue.d.ts +15 -32
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +13 -30
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +124 -0
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +24 -17
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +36 -51
- package/dist/components/BbDialog/BbDialog.vue.d.ts +14 -29
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +169 -193
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +190 -209
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +32 -45
- package/dist/components/BbIcon/BbIcon.vue.d.ts +2 -24
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +27 -50
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +102 -54
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +26 -48
- package/dist/components/BbPagination/BbPagination.vue.d.ts +35 -55
- package/dist/components/BbPopover/BbPopover.vue.d.ts +71 -93
- package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -27
- package/dist/components/BbRadio/BbRadio.vue.d.ts +30 -63
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +38 -281
- package/dist/components/BbRating/BbRating.vue.d.ts +23 -56
- package/dist/components/BbRatio/BbRatio.vue.d.ts +14 -31
- package/dist/components/BbSelect/BbSelect.vue.d.ts +16 -158
- package/dist/components/BbSlider/BbSlider.vue.d.ts +23 -54
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +12 -34
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -24
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +30 -63
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +38 -278
- package/dist/components/BbTab/BbTab.vue.d.ts +92 -107
- package/dist/components/BbTable/BbTable.vue.d.ts +93 -134
- package/dist/components/BbTable/types.d.ts +0 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -46
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +21 -40
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +21 -40
- package/dist/components/BbToast/BbToast.vue.d.ts +3 -24
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +5 -27
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +15 -36
- package/dist/components/BbTree/BbTree.vue.d.ts +9 -29
- package/dist/components/ChipsBox.vue.d.ts +6 -16
- package/dist/components/CommaBox.vue.d.ts +6 -16
- package/dist/components/CommonFloating.vue.d.ts +14 -26
- package/dist/components/CommonInputInnerContainer.vue.d.ts +16 -15
- package/dist/components/CommonInputOuterContainer.vue.d.ts +12 -5
- package/dist/components/ErrorIcon.vue.d.ts +1 -1
- package/dist/components/ListBox.vue.d.ts +30 -47
- package/dist/components/OptionsContainer.vue.d.ts +30 -90
- package/dist/components/Transitions/Slide.vue.d.ts +12 -30
- package/dist/components/Transitions/SlideBack.vue.d.ts +12 -30
- package/dist/composables/useArray.d.ts +0 -1
- package/dist/composables/useBroadcastChannelInstance.d.ts +2 -2
- package/dist/composables/useConfirm.d.ts +0 -1
- package/dist/composables/useOptions.d.ts +0 -1
- package/dist/composables/useRoute.d.ts +0 -1
- package/dist/composables/useRouter.d.ts +0 -1
- package/dist/composables/useToast.d.ts +1 -2
- package/dist/composables/useWizard.d.ts +1 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +142 -136
- package/dist/index100.js +129 -54
- package/dist/index102.js +66 -79
- package/dist/index104.js +85 -280
- package/dist/index106.js +108 -390
- package/dist/index108.js +280 -102
- package/dist/index11.js +1 -1
- package/dist/index110.js +391 -95
- package/dist/index112.js +55 -50
- package/dist/index114.js +106 -23
- package/dist/index116.js +101 -156
- package/dist/index118.js +22 -114
- package/dist/index12.js +6 -6
- package/dist/index120.js +143 -34
- package/dist/index122.js +116 -40
- package/dist/index124.js +36 -31
- package/dist/index125.js +44 -2
- package/dist/index126.js +44 -21
- package/dist/index127.js +47 -2
- package/dist/index128.js +32 -313
- package/dist/index129.js +2 -24
- package/dist/index13.js +1 -1
- package/dist/index130.js +21 -2
- package/dist/index131.js +2 -5
- package/dist/index132.js +315 -7
- package/dist/index133.js +24 -5
- package/dist/index134.js +2 -3
- package/dist/index135.js +5 -3
- package/dist/index136.js +9 -3
- package/dist/index137.js +6 -3
- package/dist/index138.js +1 -1
- package/dist/index139.js +1 -1
- package/dist/index140.js +1 -1
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- package/dist/index144.js +1 -1
- package/dist/index145.js +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/index15.js +122 -117
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index160.js +2 -2
- package/dist/{index177.js → index161.js} +1 -1
- package/dist/index162.js +2 -2
- package/dist/{index166.js → index163.js} +1 -1
- package/dist/index165.js +2 -2
- package/dist/index167.js +2 -2
- package/dist/index169.js +1 -1
- package/dist/index17.js +119 -118
- package/dist/index170.js +2 -2
- package/dist/{index168.js → index171.js} +1 -1
- package/dist/index172.js +3 -2
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +2 -2
- package/dist/index178.js +2 -3
- package/dist/index179.js +1 -1
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +2 -2
- package/dist/index185.js +5 -0
- package/dist/index186.js +2 -2
- package/dist/index187.js +5 -0
- package/dist/index19.js +121 -211
- package/dist/index190.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +3 -116
- package/dist/index199.js +3 -2
- package/dist/index200.js +3 -3
- package/dist/index201.js +3 -35
- package/dist/index202.js +3 -6
- package/dist/index203.js +3 -7
- package/dist/index204.js +2 -8
- package/dist/index205.js +112 -154
- package/dist/index206.js +47 -78
- package/dist/index208.js +13 -2
- package/dist/index209.js +158 -4
- package/dist/index21.js +197 -279
- package/dist/index210.js +84 -2
- package/dist/index212.js +2 -126
- package/dist/index213.js +4 -5
- package/dist/index214.js +2 -123
- package/dist/index215.js +124 -17
- package/dist/index216.js +5 -16
- package/dist/index217.js +122 -13
- package/dist/index218.js +19 -2
- package/dist/index219.js +16 -2
- package/dist/index220.js +14 -172
- package/dist/index221.js +2 -43
- package/dist/index222.js +4 -0
- package/dist/index223.js +40 -12
- package/dist/index224.js +20 -5
- package/dist/index225.js +6 -369
- package/dist/index226.js +5 -2
- package/dist/index227.js +368 -17
- package/dist/index228.js +6 -104
- package/dist/index229.js +21 -0
- package/dist/index23.js +287 -245
- package/dist/index230.js +27 -100
- package/dist/index231.js +5 -0
- package/dist/index232.js +249 -2
- package/dist/index233.js +52 -3
- package/dist/index234.js +44 -19
- package/dist/index235.js +5 -27
- package/dist/index236.js +43 -243
- package/dist/index237.js +3 -52
- package/dist/index238.js +7 -44
- package/dist/index239.js +4 -5
- package/dist/index240.js +2 -49
- package/dist/index241.js +2 -10
- package/dist/index242.js +17 -2
- package/dist/index243.js +104 -429
- package/dist/index245.js +100 -4
- package/dist/index247.js +3 -3
- package/dist/index248.js +9 -11
- package/dist/index249.js +3 -9
- package/dist/index25.js +249 -120
- package/dist/index250.js +3 -9
- package/dist/index251.js +12 -17
- package/dist/index252.js +9 -3
- package/dist/index253.js +8 -8
- package/dist/index254.js +17 -23
- package/dist/index255.js +3 -6
- package/dist/index257.js +7 -9
- package/dist/index258.js +4 -224
- package/dist/index266.js +19 -19
- package/dist/index267.js +431 -3
- package/dist/index268.js +178 -0
- package/dist/index269.js +22 -7
- package/dist/index27.js +119 -142
- package/dist/index272.js +2 -436
- package/dist/index273.js +2 -127
- package/dist/index274.js +2 -3
- package/dist/index275.js +2 -3
- package/dist/index276.js +2 -211
- package/dist/index278.js +22 -2
- package/dist/index280.js +5 -1
- package/dist/index281.js +16 -2
- package/dist/index282.js +3 -2
- package/dist/index283.js +9 -2
- package/dist/index284.js +23 -22
- package/dist/index286.js +200 -2
- package/dist/index287.js +434 -64
- package/dist/index288.js +127 -5
- package/dist/index289.js +8 -14
- package/dist/index29.js +139 -84
- package/dist/index290.js +3 -79
- package/dist/{index193.js → index291.js} +1 -1
- package/dist/index292.js +211 -4
- package/dist/index293.js +224 -4
- package/dist/index294.js +34 -58
- package/dist/index295.js +66 -11
- package/dist/index296.js +2 -35
- package/dist/index297.js +4 -46
- package/dist/index298.js +7 -6
- package/dist/index299.js +10 -18
- package/dist/index300.js +5 -7
- package/dist/index301.js +4 -2
- package/dist/index302.js +4 -480
- package/dist/index303.js +6 -0
- package/dist/index304.js +53 -415
- package/dist/index305.js +6 -46
- package/dist/index306.js +19 -2
- package/dist/index307.js +9 -0
- package/dist/index308.js +81 -0
- package/dist/index31.js +85 -115
- package/dist/index310.js +49 -0
- package/dist/index311.js +4 -0
- package/dist/index313.js +482 -0
- package/dist/index314.js +426 -0
- package/dist/index315.js +49 -0
- package/dist/index316.js +4 -0
- package/dist/index33.js +111 -113
- package/dist/index35.js +114 -366
- package/dist/index37.js +361 -284
- package/dist/index39.js +288 -107
- package/dist/index41.js +114 -121
- package/dist/index43.js +113 -201
- package/dist/index45.js +182 -92
- package/dist/index47.js +110 -78
- package/dist/index49.js +89 -54
- package/dist/index51.js +54 -78
- package/dist/index53.js +83 -61
- package/dist/index55.js +59 -40
- package/dist/index57.js +42 -55
- package/dist/index59.js +53 -106
- package/dist/index6.js +1 -1
- package/dist/index61.js +104 -89
- package/dist/index63.js +61 -88
- package/dist/index65.js +119 -77
- package/dist/index67.js +56 -45
- package/dist/index69.js +79 -54
- package/dist/index7.js +2 -2
- package/dist/index71.js +88 -268
- package/dist/index73.js +49 -148
- package/dist/index75.js +259 -204
- package/dist/index77.js +152 -39
- package/dist/index79.js +224 -0
- package/dist/index8.js +6 -14
- package/dist/index81.js +46 -0
- package/dist/index82.js +116 -166
- package/dist/index84.js +222 -171
- package/dist/index86.js +171 -25
- package/dist/index88.js +177 -84
- package/dist/index9.js +1 -1
- package/dist/index90.js +27 -123
- package/dist/index92.js +47 -51
- package/dist/index94.js +120 -15
- package/dist/index96.js +55 -132
- package/dist/index98.js +15 -105
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +0 -1
- package/dist/types/ExtractGenericFromComputedRef.d.ts +0 -1
- package/dist/types/ExtractGenericFromRef.d.ts +0 -1
- package/dist/utilities/functions/booleanishToBoolean.d.ts +1 -1
- package/dist/utilities/functions/deburr.d.ts +1 -1
- package/dist/utilities/functions/flattenTree.d.ts +1 -1
- package/dist/utilities/functions/groupBy.d.ts +1 -1
- package/dist/utilities/functions/indexBy.d.ts +1 -1
- package/dist/utilities/functions/isHex.d.ts +1 -0
- package/dist/utilities/functions/mapValues.d.ts +1 -1
- package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
- package/dist/utilities/functions/replace.d.ts +1 -1
- package/dist/utilities/functions/retry.d.ts +1 -1
- package/dist/utilities/functions/throttle.d.ts +2 -2
- package/dist/utilities/functions/tryTo.d.ts +0 -1
- package/package.json +29 -29
- package/dist/index121.js +0 -46
- package/dist/index123.js +0 -49
- package/dist/index191.js +0 -5
- package/dist/index211.js +0 -5
- package/dist/index246.js +0 -202
- package/dist/index256.js +0 -18
- package/dist/index270.js +0 -24
- package/dist/index78.js +0 -129
- package/dist/index80.js +0 -238
- /package/dist/{index279.js → index271.js} +0 -0
- /package/dist/{index244.js → index285.js} +0 -0
@@ -1,5 +1,4 @@
|
|
1
1
|
import { InputHTMLAttributes, HTMLAttributes } from 'vue';
|
2
|
-
|
3
2
|
export type BaseRadioProps = {
|
4
3
|
/**
|
5
4
|
* Guides to the browser as to the type of information expected in the field.
|
@@ -76,41 +75,23 @@ export type SlotAttributes = {
|
|
76
75
|
readonly: BaseRadioProps['readonly'];
|
77
76
|
value: any;
|
78
77
|
};
|
79
|
-
declare
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
input: (event: Event) => void;
|
85
|
-
keydown: (event: KeyboardEvent) => void;
|
86
|
-
mousedown: (event: MouseEvent) => void;
|
87
|
-
mouseup: (event: MouseEvent) => void;
|
88
|
-
"update:modelValue": (value: any) => void;
|
89
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BaseRadioProps>>> & {
|
90
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
91
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
92
|
-
onChange?: ((event: Event) => any) | undefined;
|
93
|
-
onInput?: ((event: Event) => any) | undefined;
|
94
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
95
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
96
|
-
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
97
|
-
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
98
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
99
|
-
}, {}, {}>, Readonly<{
|
100
|
-
icon?: ((props: SlotAttributes) => any) | undefined;
|
101
|
-
}> & {
|
102
|
-
icon?: ((props: SlotAttributes) => any) | undefined;
|
103
|
-
}>;
|
104
|
-
export default _default;
|
105
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
106
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
107
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
108
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
109
|
-
} : {
|
110
|
-
type: import('vue').PropType<T[K]>;
|
111
|
-
required: true;
|
78
|
+
declare function __VLS_template(): {
|
79
|
+
slots: Readonly<{
|
80
|
+
icon?: (props: SlotAttributes) => any;
|
81
|
+
}> & {
|
82
|
+
icon?: (props: SlotAttributes) => any;
|
112
83
|
};
|
84
|
+
refs: {};
|
85
|
+
attrs: Partial<{}>;
|
113
86
|
};
|
87
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
88
|
+
declare const __VLS_component: import('vue').DefineComponent<BaseRadioProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
89
|
+
[x: string]: any;
|
90
|
+
}, string, import('vue').PublicProps, Readonly<BaseRadioProps> & Readonly<{
|
91
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
92
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
93
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
94
|
+
export default _default;
|
114
95
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
115
96
|
new (): {
|
116
97
|
$slots: S;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { InputHTMLAttributes, HTMLAttributes } from 'vue';
|
2
2
|
import { NestedKeyOf } from '../../types/NestedKeyOf';
|
3
3
|
import { SlotAttributes } from '../BaseRadio/BaseRadio.vue';
|
4
|
-
|
5
4
|
export type BaseRadioGroupProps<T> = {
|
6
5
|
/**
|
7
6
|
* Guides to the browser as to the type of information expected in the field.
|
@@ -107,292 +106,74 @@ export type BaseRadioGroupEvents = {
|
|
107
106
|
(e: 'mouseup', event: MouseEvent): void;
|
108
107
|
(e: 'update:modelValue', value: any): void;
|
109
108
|
};
|
110
|
-
declare const _default: <T = any>(__VLS_props: {
|
111
|
-
|
112
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
113
|
-
onChange?: ((event: Event) => any) | undefined;
|
114
|
-
onInput?: ((event: Event) => any) | undefined;
|
115
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
116
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
117
|
-
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
118
|
-
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
119
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
120
|
-
id?: string | undefined;
|
121
|
-
name: string | undefined;
|
122
|
-
readonly?: (boolean | "true" | "false") | undefined;
|
123
|
-
color?: string | undefined;
|
124
|
-
dependencies?: any[] | undefined;
|
125
|
-
depsDebounceTime?: number | undefined;
|
126
|
-
direction?: "horizontal" | "vertical" | undefined;
|
127
|
-
disabled?: boolean | undefined;
|
128
|
-
enforceCoherence?: boolean | undefined;
|
129
|
-
hasErrors?: boolean | undefined;
|
130
|
-
hideLabel?: boolean | undefined;
|
131
|
-
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
132
|
-
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
133
|
-
loadingText?: string | undefined;
|
134
|
-
modelValueDebounceTime?: number | undefined;
|
135
|
-
noDataText?: string | undefined;
|
136
|
-
required?: boolean | undefined;
|
137
|
-
modelValue: any;
|
138
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
139
|
-
ariaDescribedby?: string | undefined;
|
140
|
-
onInactive?: (() => any) | undefined;
|
141
|
-
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
142
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
143
|
-
attrs: any;
|
144
|
-
slots: Readonly<{
|
145
|
-
prepend?: ((props: object) => any) | undefined;
|
146
|
-
loading?: ((props: object) => any) | undefined;
|
147
|
-
'no-data'?: ((props: object) => any) | undefined;
|
148
|
-
'option:prepend'?: ((props: {
|
149
|
-
checked: boolean;
|
150
|
-
disabled: boolean;
|
151
|
-
id?: string;
|
152
|
-
item: T;
|
153
|
-
text: string;
|
154
|
-
}) => any) | undefined;
|
155
|
-
icon?: ((props: SlotAttributes & {
|
156
|
-
item: T;
|
157
|
-
text: string;
|
158
|
-
}) => any) | undefined;
|
159
|
-
label?: ((props: {
|
160
|
-
item: T;
|
161
|
-
text: string;
|
162
|
-
checked: boolean;
|
163
|
-
}) => any) | undefined;
|
164
|
-
'option:append'?: ((props: {
|
165
|
-
checked: boolean;
|
166
|
-
disabled: boolean;
|
167
|
-
id?: string;
|
168
|
-
item: T;
|
169
|
-
text: string;
|
170
|
-
}) => any) | undefined;
|
171
|
-
append?: ((props: object) => any) | undefined;
|
172
|
-
}> & {
|
173
|
-
prepend?: ((props: object) => any) | undefined;
|
174
|
-
loading?: ((props: object) => any) | undefined;
|
175
|
-
'no-data'?: ((props: object) => any) | undefined;
|
176
|
-
'option:prepend'?: ((props: {
|
177
|
-
checked: boolean;
|
178
|
-
disabled: boolean;
|
179
|
-
id?: string;
|
180
|
-
item: T;
|
181
|
-
text: string;
|
182
|
-
}) => any) | undefined;
|
183
|
-
icon?: ((props: SlotAttributes & {
|
184
|
-
item: T;
|
185
|
-
text: string;
|
186
|
-
}) => any) | undefined;
|
187
|
-
label?: ((props: {
|
188
|
-
item: T;
|
189
|
-
text: string;
|
190
|
-
checked: boolean;
|
191
|
-
}) => any) | undefined;
|
192
|
-
'option:append'?: ((props: {
|
193
|
-
checked: boolean;
|
194
|
-
disabled: boolean;
|
195
|
-
id?: string;
|
196
|
-
item: T;
|
197
|
-
text: string;
|
198
|
-
}) => any) | undefined;
|
199
|
-
append?: ((props: object) => any) | undefined;
|
200
|
-
};
|
201
|
-
emit: BaseRadioGroupEvents;
|
202
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
203
|
-
props: {
|
204
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
205
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
206
|
-
onChange?: ((event: Event) => any) | undefined;
|
207
|
-
onInput?: ((event: Event) => any) | undefined;
|
208
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
209
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
210
|
-
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
211
|
-
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
212
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
213
|
-
id?: string | undefined;
|
214
|
-
name: string | undefined;
|
215
|
-
readonly?: (boolean | "true" | "false") | undefined;
|
216
|
-
color?: string | undefined;
|
217
|
-
dependencies?: any[] | undefined;
|
218
|
-
depsDebounceTime?: number | undefined;
|
219
|
-
direction?: "horizontal" | "vertical" | undefined;
|
220
|
-
disabled?: boolean | undefined;
|
221
|
-
enforceCoherence?: boolean | undefined;
|
222
|
-
hasErrors?: boolean | undefined;
|
223
|
-
hideLabel?: boolean | undefined;
|
224
|
-
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
225
|
-
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
226
|
-
loadingText?: string | undefined;
|
227
|
-
modelValueDebounceTime?: number | undefined;
|
228
|
-
noDataText?: string | undefined;
|
229
|
-
required?: boolean | undefined;
|
230
|
-
modelValue: any;
|
231
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
232
|
-
ariaDescribedby?: string | undefined;
|
233
|
-
onInactive?: (() => any) | undefined;
|
234
|
-
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
235
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
109
|
+
declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
110
|
+
props: __VLS_PrettifyLocal<any & BaseRadioGroupProps<T>> & import('vue').PublicProps;
|
236
111
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
237
112
|
attrs: any;
|
238
113
|
slots: Readonly<{
|
239
|
-
prepend?: (
|
240
|
-
loading?: (
|
241
|
-
'no-data'?: (
|
242
|
-
'option:prepend'?: (
|
114
|
+
prepend?: (props: object) => any;
|
115
|
+
loading?: (props: object) => any;
|
116
|
+
'no-data'?: (props: object) => any;
|
117
|
+
'option:prepend'?: (props: {
|
243
118
|
checked: boolean;
|
244
119
|
disabled: boolean;
|
245
120
|
id?: string;
|
246
121
|
item: T;
|
247
122
|
text: string;
|
248
|
-
}) => any
|
249
|
-
icon?: (
|
123
|
+
}) => any;
|
124
|
+
icon?: (props: SlotAttributes & {
|
250
125
|
item: T;
|
251
126
|
text: string;
|
252
|
-
}) => any
|
253
|
-
label?: (
|
127
|
+
}) => any;
|
128
|
+
label?: (props: {
|
254
129
|
item: T;
|
255
130
|
text: string;
|
256
131
|
checked: boolean;
|
257
|
-
}) => any
|
258
|
-
'option:append'?: (
|
132
|
+
}) => any;
|
133
|
+
'option:append'?: (props: {
|
259
134
|
checked: boolean;
|
260
135
|
disabled: boolean;
|
261
136
|
id?: string;
|
262
137
|
item: T;
|
263
138
|
text: string;
|
264
|
-
}) => any
|
265
|
-
append?: (
|
139
|
+
}) => any;
|
140
|
+
append?: (props: object) => any;
|
266
141
|
}> & {
|
267
|
-
prepend?: (
|
268
|
-
loading?: (
|
269
|
-
'no-data'?: (
|
270
|
-
'option:prepend'?: (
|
142
|
+
prepend?: (props: object) => any;
|
143
|
+
loading?: (props: object) => any;
|
144
|
+
'no-data'?: (props: object) => any;
|
145
|
+
'option:prepend'?: (props: {
|
271
146
|
checked: boolean;
|
272
147
|
disabled: boolean;
|
273
148
|
id?: string;
|
274
149
|
item: T;
|
275
150
|
text: string;
|
276
|
-
}) => any
|
277
|
-
icon?: (
|
151
|
+
}) => any;
|
152
|
+
icon?: (props: SlotAttributes & {
|
278
153
|
item: T;
|
279
154
|
text: string;
|
280
|
-
}) => any
|
281
|
-
label?: (
|
155
|
+
}) => any;
|
156
|
+
label?: (props: {
|
282
157
|
item: T;
|
283
158
|
text: string;
|
284
159
|
checked: boolean;
|
285
|
-
}) => any
|
286
|
-
'option:append'?: (
|
160
|
+
}) => any;
|
161
|
+
'option:append'?: (props: {
|
287
162
|
checked: boolean;
|
288
163
|
disabled: boolean;
|
289
164
|
id?: string;
|
290
165
|
item: T;
|
291
166
|
text: string;
|
292
|
-
}) => any
|
293
|
-
append?: (
|
167
|
+
}) => any;
|
168
|
+
append?: (props: object) => any;
|
294
169
|
};
|
295
170
|
emit: BaseRadioGroupEvents;
|
296
171
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
297
172
|
[key: string]: any;
|
298
173
|
}> & {
|
299
|
-
__ctx?:
|
300
|
-
props: {
|
301
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
302
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
303
|
-
onChange?: ((event: Event) => any) | undefined;
|
304
|
-
onInput?: ((event: Event) => any) | undefined;
|
305
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
306
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
307
|
-
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
308
|
-
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
309
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
310
|
-
id?: string | undefined;
|
311
|
-
name: string | undefined;
|
312
|
-
readonly?: (boolean | "true" | "false") | undefined;
|
313
|
-
color?: string | undefined;
|
314
|
-
dependencies?: any[] | undefined;
|
315
|
-
depsDebounceTime?: number | undefined;
|
316
|
-
direction?: "horizontal" | "vertical" | undefined;
|
317
|
-
disabled?: boolean | undefined;
|
318
|
-
enforceCoherence?: boolean | undefined;
|
319
|
-
hasErrors?: boolean | undefined;
|
320
|
-
hideLabel?: boolean | undefined;
|
321
|
-
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
322
|
-
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
323
|
-
loadingText?: string | undefined;
|
324
|
-
modelValueDebounceTime?: number | undefined;
|
325
|
-
noDataText?: string | undefined;
|
326
|
-
required?: boolean | undefined;
|
327
|
-
modelValue: any;
|
328
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
329
|
-
ariaDescribedby?: string | undefined;
|
330
|
-
onInactive?: (() => any) | undefined;
|
331
|
-
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
332
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
333
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
334
|
-
attrs: any;
|
335
|
-
slots: Readonly<{
|
336
|
-
prepend?: ((props: object) => any) | undefined;
|
337
|
-
loading?: ((props: object) => any) | undefined;
|
338
|
-
'no-data'?: ((props: object) => any) | undefined;
|
339
|
-
'option:prepend'?: ((props: {
|
340
|
-
checked: boolean;
|
341
|
-
disabled: boolean;
|
342
|
-
id?: string;
|
343
|
-
item: T;
|
344
|
-
text: string;
|
345
|
-
}) => any) | undefined;
|
346
|
-
icon?: ((props: SlotAttributes & {
|
347
|
-
item: T;
|
348
|
-
text: string;
|
349
|
-
}) => any) | undefined;
|
350
|
-
label?: ((props: {
|
351
|
-
item: T;
|
352
|
-
text: string;
|
353
|
-
checked: boolean;
|
354
|
-
}) => any) | undefined;
|
355
|
-
'option:append'?: ((props: {
|
356
|
-
checked: boolean;
|
357
|
-
disabled: boolean;
|
358
|
-
id?: string;
|
359
|
-
item: T;
|
360
|
-
text: string;
|
361
|
-
}) => any) | undefined;
|
362
|
-
append?: ((props: object) => any) | undefined;
|
363
|
-
}> & {
|
364
|
-
prepend?: ((props: object) => any) | undefined;
|
365
|
-
loading?: ((props: object) => any) | undefined;
|
366
|
-
'no-data'?: ((props: object) => any) | undefined;
|
367
|
-
'option:prepend'?: ((props: {
|
368
|
-
checked: boolean;
|
369
|
-
disabled: boolean;
|
370
|
-
id?: string;
|
371
|
-
item: T;
|
372
|
-
text: string;
|
373
|
-
}) => any) | undefined;
|
374
|
-
icon?: ((props: SlotAttributes & {
|
375
|
-
item: T;
|
376
|
-
text: string;
|
377
|
-
}) => any) | undefined;
|
378
|
-
label?: ((props: {
|
379
|
-
item: T;
|
380
|
-
text: string;
|
381
|
-
checked: boolean;
|
382
|
-
}) => any) | undefined;
|
383
|
-
'option:append'?: ((props: {
|
384
|
-
checked: boolean;
|
385
|
-
disabled: boolean;
|
386
|
-
id?: string;
|
387
|
-
item: T;
|
388
|
-
text: string;
|
389
|
-
}) => any) | undefined;
|
390
|
-
append?: ((props: object) => any) | undefined;
|
391
|
-
};
|
392
|
-
emit: BaseRadioGroupEvents;
|
393
|
-
} | undefined;
|
174
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
394
175
|
};
|
395
176
|
export default _default;
|
396
|
-
type
|
177
|
+
type __VLS_PrettifyLocal<T> = {
|
397
178
|
[K in keyof T]: T[K];
|
398
179
|
} & {};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { InputHTMLAttributes, HTMLAttributes } from 'vue';
|
2
2
|
import { BbIconProps } from '../BbIcon/BbIcon.vue';
|
3
|
-
|
4
3
|
export type BaseRatingProps = {
|
5
4
|
/**
|
6
5
|
* Guides to the browser as to the type of information expected in the field.
|
@@ -73,53 +72,23 @@ export type BaseRatingSlots = {
|
|
73
72
|
prepend?: (props: object) => any;
|
74
73
|
append?: (props: object) => any;
|
75
74
|
};
|
76
|
-
declare
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
change: (event: Event) => void;
|
81
|
-
click: (event: MouseEvent) => void;
|
82
|
-
focus: (event: FocusEvent) => void;
|
83
|
-
inactive: () => void;
|
84
|
-
input: (event: Event) => void;
|
85
|
-
keydown: (event: KeyboardEvent) => void;
|
86
|
-
mousedown: (event: MouseEvent) => void;
|
87
|
-
mouseup: (event: MouseEvent) => void;
|
88
|
-
"update:modelValue": (value: number | null) => void;
|
89
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseRatingProps>, {
|
90
|
-
stars: number;
|
91
|
-
}>>> & {
|
92
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
93
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
94
|
-
onChange?: ((event: Event) => any) | undefined;
|
95
|
-
onInput?: ((event: Event) => any) | undefined;
|
96
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
97
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
98
|
-
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
99
|
-
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
100
|
-
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
101
|
-
onInactive?: (() => any) | undefined;
|
102
|
-
}, {
|
103
|
-
stars: number;
|
104
|
-
}, {}>, Readonly<BaseRatingSlots> & BaseRatingSlots>;
|
105
|
-
export default _default;
|
106
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
107
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
108
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
109
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
110
|
-
} : {
|
111
|
-
type: import('vue').PropType<T[K]>;
|
112
|
-
required: true;
|
75
|
+
declare function __VLS_template(): {
|
76
|
+
slots: Readonly<BaseRatingSlots> & BaseRatingSlots;
|
77
|
+
refs: {
|
78
|
+
container: HTMLSpanElement;
|
113
79
|
};
|
80
|
+
attrs: Partial<{}>;
|
114
81
|
};
|
115
|
-
type
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
};
|
120
|
-
|
121
|
-
|
122
|
-
}
|
82
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
83
|
+
declare const __VLS_component: import('vue').DefineComponent<BaseRatingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
84
|
+
[x: string]: any;
|
85
|
+
}, string, import('vue').PublicProps, Readonly<BaseRatingProps> & Readonly<{
|
86
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
87
|
+
}>, {
|
88
|
+
stars: number;
|
89
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
90
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
91
|
+
export default _default;
|
123
92
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
124
93
|
new (): {
|
125
94
|
$slots: S;
|