bitboss-ui 2.1.68 → 2.1.69
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/BaseColorInput/BaseColorInput.vue.d.ts +4 -4
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +5 -5
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +3 -2
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +25 -26
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +6 -2
- package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -4
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +8 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +2 -2
- package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -2
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +14 -2
- package/dist/components/CommonPopover.vue.d.ts +6 -0
- package/dist/components/Transitions/ScaleFade.vue.d.ts +32 -0
- package/dist/composables/useFrameworkDetection.d.ts +12 -0
- package/dist/index.css +1 -1
- package/dist/index107.js +8 -8
- package/dist/index112.js +1 -1
- package/dist/index114.js +1 -1
- package/dist/index120.js +43 -42
- package/dist/index122.js +11 -11
- package/dist/index13.js +47 -27
- package/dist/index130.js +1 -1
- package/dist/index132.js +18 -16
- package/dist/index134.js +1 -1
- package/dist/index136.js +29 -27
- package/dist/index139.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +2 -2
- package/dist/index15.js +23 -25
- package/dist/index17.js +46 -49
- package/dist/index19.js +82 -80
- package/dist/index21.js +131 -131
- package/dist/index215.js +2 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +4 -3
- package/dist/index218.js +8 -13
- package/dist/index219.js +184 -16
- package/dist/index220.js +12 -193
- package/dist/index221.js +4 -0
- package/dist/index222.js +2 -120
- package/dist/index223.js +4 -0
- package/dist/index224.js +3 -4
- package/dist/index225.js +20 -8
- package/dist/index226.js +201 -5
- package/dist/index228.js +127 -5
- package/dist/index23.js +424 -155
- package/dist/index230.js +3 -5
- package/dist/index231.js +13 -5
- package/dist/index232.js +13 -2
- package/dist/index233.js +3 -3
- package/dist/index234.js +1 -1
- package/dist/index237.js +15 -14
- package/dist/index238.js +49 -15
- package/dist/index239.js +12 -48
- package/dist/index240.js +3 -15
- package/dist/index241.js +12 -3
- package/dist/index242.js +15 -11
- package/dist/index243.js +9 -2
- package/dist/index244.js +4 -2
- package/dist/index245.js +33 -2
- package/dist/index246.js +28 -7
- package/dist/index248.js +67 -7
- package/dist/index249.js +9 -5
- package/dist/index25.js +3 -3
- package/dist/index250.js +23 -5
- package/dist/index251.js +4 -8
- package/dist/index252.js +21 -269
- package/dist/index253.js +2 -52
- package/dist/index254.js +2 -44
- package/dist/index255.js +9 -5
- package/dist/index256.js +6 -60
- package/dist/index257.js +15 -12
- package/dist/index258.js +3 -13
- package/dist/index259.js +2 -4
- package/dist/index260.js +18 -2
- package/dist/index261.js +11 -8
- package/dist/index262.js +106 -23
- package/dist/index264.js +99 -22
- package/dist/index266.js +229 -7
- package/dist/index267.js +3 -188
- package/dist/index268.js +5 -106
- package/dist/index269.js +7 -0
- package/dist/index27.js +80 -71
- package/dist/index270.js +5 -100
- package/dist/index271.js +7 -0
- package/dist/index272.js +6 -10
- package/dist/index273.js +8 -3
- package/dist/index274.js +268 -6
- package/dist/index275.js +50 -14
- package/dist/index276.js +52 -11
- package/dist/index277.js +31 -17
- package/dist/index278.js +60 -12
- package/dist/index279.js +5 -229
- package/dist/index280.js +5 -3
- package/dist/index281.js +5 -67
- package/dist/index282.js +2 -5
- package/dist/index283.js +7 -2
- package/dist/index284.js +7 -9
- package/dist/index285.js +8 -3
- package/dist/index286.js +9 -8
- package/dist/index287.js +5 -9
- package/dist/index288.js +6 -32
- package/dist/index289.js +10 -28
- package/dist/index29.js +3 -3
- package/dist/index290.js +5 -0
- package/dist/index291.js +34 -3
- package/dist/index292.js +11 -3
- package/dist/index293.js +2 -2
- package/dist/index295.js +3 -2
- package/dist/index296.js +3 -124
- package/dist/index297.js +2 -2
- package/dist/index298.js +3 -15
- package/dist/index299.js +3 -2
- package/dist/index300.js +5 -16
- package/dist/index301.js +4 -2
- package/dist/index302.js +3 -16
- package/dist/index303.js +17 -2
- package/dist/index304.js +26 -17
- package/dist/index305.js +719 -2
- package/dist/index306.js +366 -3
- package/dist/index307.js +54 -14
- package/dist/index308.js +5 -28
- package/dist/index309.js +277 -16
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -2
- package/dist/index311.js +12 -23
- package/dist/index313.js +16 -2
- package/dist/index314.js +2 -2
- package/dist/index315.js +27 -2
- package/dist/index316.js +2 -2
- package/dist/index317.js +1 -21
- package/dist/index318.js +4 -0
- package/dist/index319.js +4 -0
- package/dist/index320.js +2 -3
- package/dist/index321.js +2 -4
- package/dist/index322.js +3 -719
- package/dist/index323.js +3 -366
- package/dist/index324.js +2 -57
- package/dist/index325.js +125 -3
- package/dist/index326.js +2 -3
- package/dist/index327.js +15 -2
- package/dist/index328.js +2 -2
- package/dist/index329.js +19 -5
- package/dist/index33.js +6 -6
- package/dist/index330.js +2 -2
- package/dist/index331.js +2 -4
- package/dist/index332.js +34 -5
- package/dist/index333.js +6 -5
- package/dist/index334.js +128 -6
- package/dist/index335.js +395 -16
- package/dist/index336.js +5 -6
- package/dist/index337.js +8 -58
- package/dist/index338.js +6 -58
- package/dist/index339.js +7 -34
- package/dist/index340.js +58 -6
- package/dist/index341.js +57 -128
- package/dist/index342.js +220 -390
- package/dist/index343.js +6 -7
- package/dist/index344.js +18 -5
- package/dist/index345.js +9 -8
- package/dist/index346.js +12 -90
- package/dist/index347.js +5 -134
- package/dist/index348.js +6 -46
- package/dist/index349.js +42 -515
- package/dist/index35.js +4 -4
- package/dist/index350.js +86 -221
- package/dist/index351.js +125 -432
- package/dist/index352.js +21 -127
- package/dist/index354.js +522 -0
- package/dist/index355.js +443 -0
- package/dist/index356.js +130 -0
- package/dist/index37.js +17 -17
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +6 -6
- package/dist/index45.js +6 -6
- package/dist/index49.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +4 -4
- package/dist/index67.js +1 -1
- package/dist/index80.js +6 -6
- package/dist/index82.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- package/dist/index88.js +1 -1
- package/dist/index91.js +3 -3
- package/dist/index93.js +2 -2
- package/dist/index95.js +44 -42
- package/dist/index97.js +1 -1
- package/dist/utilities/functions/convertDateValue.d.ts +15 -0
- package/dist/utilities/functions/isDateDisabled.d.ts +13 -0
- package/dist/utilities/functions/isEqual.d.ts +1 -0
- package/dist/utilities/functions/validateDateFormat.d.ts +8 -0
- package/package.json +2 -2
- package/dist/index227.js +0 -7
- package/dist/index229.js +0 -7
- package/dist/index247.js +0 -4
- package/dist/index263.js +0 -6
- package/dist/index265.js +0 -35
- package/dist/index294.js +0 -282
- /package/dist/{index353.js → index357.js} +0 -0
|
@@ -148,7 +148,7 @@ declare function __VLS_template(): {
|
|
|
148
148
|
$forceUpdate: () => void;
|
|
149
149
|
$nextTick: typeof import('vue').nextTick;
|
|
150
150
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
151
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
151
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
152
152
|
$slots: {
|
|
153
153
|
'prepend-outer'?(_: {}): any;
|
|
154
154
|
default?(_: {}): any;
|
|
@@ -207,7 +207,7 @@ declare function __VLS_template(): {
|
|
|
207
207
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
208
208
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
209
209
|
"onClick:clear"?: (() => any) | undefined;
|
|
210
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
210
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
211
211
|
$slots: {
|
|
212
212
|
prepend?(_: {}): any;
|
|
213
213
|
prefix?(_: {}): any;
|
|
@@ -305,7 +305,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
|
305
305
|
$forceUpdate: () => void;
|
|
306
306
|
$nextTick: typeof import('vue').nextTick;
|
|
307
307
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
308
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
308
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
309
309
|
$slots: {
|
|
310
310
|
'prepend-outer'?(_: {}): any;
|
|
311
311
|
default?(_: {}): any;
|
|
@@ -364,7 +364,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
|
364
364
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
365
365
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
366
366
|
"onClick:clear"?: (() => any) | undefined;
|
|
367
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
367
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
368
368
|
$slots: {
|
|
369
369
|
prepend?(_: {}): any;
|
|
370
370
|
prefix?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as it } from 'dayjs/locale/it';
|
|
2
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type DateValue = string | string[] | null;
|
|
3
3
|
export type BaseDatePickerProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Disables the component
|
|
@@ -8,7 +8,7 @@ export type BaseDatePickerProps = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Defines the first day of the week with `0` meaning Sunday and `6` meaning Saturday
|
|
10
10
|
*/
|
|
11
|
-
firstDayOfWeek?:
|
|
11
|
+
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
12
|
/**
|
|
13
13
|
* If true the date will have a format YYYY-MM-DD instead of the default ISO string.
|
|
14
14
|
*/
|
|
@@ -61,11 +61,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
61
61
|
declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerProps, {
|
|
62
62
|
resetStatus: () => void;
|
|
63
63
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
64
|
-
"update:modelValue": (value:
|
|
64
|
+
"update:modelValue": (value: DateValue) => any;
|
|
65
65
|
}, string, import('vue').PublicProps, Readonly<BaseDatePickerProps> & Readonly<{
|
|
66
|
-
"onUpdate:modelValue"?: ((value:
|
|
66
|
+
"onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
|
-
firstDayOfWeek:
|
|
68
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
69
69
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
70
70
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
71
71
|
export default _default;
|
|
@@ -18,6 +18,7 @@ type Props = {
|
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
readonly?: boolean;
|
|
20
20
|
};
|
|
21
|
+
type DateValue = string | string[] | null;
|
|
21
22
|
declare function __VLS_template(): {
|
|
22
23
|
attrs: Partial<{}>;
|
|
23
24
|
slots: Partial<Record<"day", (_: {
|
|
@@ -44,10 +45,10 @@ declare function __VLS_template(): {
|
|
|
44
45
|
};
|
|
45
46
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
46
47
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
47
|
-
"update:modelValue": (value:
|
|
48
|
+
"update:modelValue": (value: DateValue) => any;
|
|
48
49
|
"update:cursor": (value: dayjs.Dayjs) => any;
|
|
49
50
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
-
"onUpdate:modelValue"?: ((value:
|
|
51
|
+
"onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
|
|
51
52
|
"onUpdate:cursor"?: ((value: dayjs.Dayjs) => any) | undefined;
|
|
52
53
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
53
54
|
calendar: HTMLDivElement;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as it } from 'dayjs/locale/it';
|
|
2
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
3
2
|
import { IconType } from '../../types/Icon';
|
|
4
3
|
/**
|
|
@@ -40,7 +39,7 @@ export type BaseDatePickerInputProps = {
|
|
|
40
39
|
/**
|
|
41
40
|
* Sets the first day of the week for the calendar (0 = Sunday, 6 = Saturday).
|
|
42
41
|
*/
|
|
43
|
-
firstDayOfWeek?:
|
|
42
|
+
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
44
43
|
/**
|
|
45
44
|
* Emit dates formatted as `YYYY-MM-DD` instead of ISO strings.
|
|
46
45
|
*/
|
|
@@ -175,7 +174,7 @@ declare function __VLS_template(): {
|
|
|
175
174
|
$forceUpdate: () => void;
|
|
176
175
|
$nextTick: typeof import('vue').nextTick;
|
|
177
176
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
178
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
177
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
179
178
|
$slots: {
|
|
180
179
|
'prepend-outer'?(_: {}): any;
|
|
181
180
|
default?(_: {}): any;
|
|
@@ -234,7 +233,7 @@ declare function __VLS_template(): {
|
|
|
234
233
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
235
234
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
236
235
|
"onClick:clear"?: (() => any) | undefined;
|
|
237
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
236
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
238
237
|
$slots: {
|
|
239
238
|
prepend?(_: {}): any;
|
|
240
239
|
prefix?(_: {}): any;
|
|
@@ -245,12 +244,12 @@ declare function __VLS_template(): {
|
|
|
245
244
|
}) | null;
|
|
246
245
|
input: HTMLInputElement;
|
|
247
246
|
calendar: HTMLDivElement;
|
|
248
|
-
|
|
247
|
+
baseDatePicker: ({
|
|
249
248
|
$: import('vue').ComponentInternalInstance;
|
|
250
249
|
$data: {};
|
|
251
250
|
$props: {
|
|
252
251
|
readonly disabled?: boolean | undefined;
|
|
253
|
-
readonly firstDayOfWeek?:
|
|
252
|
+
readonly firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
254
253
|
readonly floating?: boolean | undefined;
|
|
255
254
|
readonly id?: string | undefined;
|
|
256
255
|
readonly header?: boolean | undefined;
|
|
@@ -261,7 +260,7 @@ declare function __VLS_template(): {
|
|
|
261
260
|
readonly range?: boolean | undefined;
|
|
262
261
|
readonly readonly?: boolean | undefined;
|
|
263
262
|
readonly selectable?: ((date: string) => boolean) | undefined;
|
|
264
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
263
|
+
readonly "onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
265
264
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
266
265
|
$attrs: {
|
|
267
266
|
[x: string]: unknown;
|
|
@@ -275,16 +274,16 @@ declare function __VLS_template(): {
|
|
|
275
274
|
$root: import('vue').ComponentPublicInstance | null;
|
|
276
275
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
277
276
|
$host: Element | null;
|
|
278
|
-
$emit: (event: "update:modelValue", value:
|
|
277
|
+
$emit: (event: "update:modelValue", value: string | string[] | null) => void;
|
|
279
278
|
$el: HTMLDivElement;
|
|
280
279
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../..').BaseDatePickerProps> & Readonly<{
|
|
281
|
-
"onUpdate:modelValue"?: ((value:
|
|
280
|
+
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
282
281
|
}>, {
|
|
283
282
|
resetStatus: () => void;
|
|
284
283
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
285
|
-
"update:modelValue": (value:
|
|
284
|
+
"update:modelValue": (value: string | string[] | null) => any;
|
|
286
285
|
}, string, {
|
|
287
|
-
firstDayOfWeek:
|
|
286
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
288
287
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
289
288
|
beforeCreate?: (() => void) | (() => void)[];
|
|
290
289
|
created?: (() => void) | (() => void)[];
|
|
@@ -306,12 +305,12 @@ declare function __VLS_template(): {
|
|
|
306
305
|
$nextTick: typeof import('vue').nextTick;
|
|
307
306
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
308
307
|
} & Readonly<{
|
|
309
|
-
firstDayOfWeek:
|
|
308
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
310
309
|
}> & Omit<Readonly<import('../..').BaseDatePickerProps> & Readonly<{
|
|
311
|
-
"onUpdate:modelValue"?: ((value:
|
|
310
|
+
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
312
311
|
}>, "firstDayOfWeek" | "resetStatus"> & import('vue').ShallowUnwrapRef<{
|
|
313
312
|
resetStatus: () => void;
|
|
314
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
313
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
315
314
|
$slots: any;
|
|
316
315
|
}) | null;
|
|
317
316
|
};
|
|
@@ -372,7 +371,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
|
372
371
|
$forceUpdate: () => void;
|
|
373
372
|
$nextTick: typeof import('vue').nextTick;
|
|
374
373
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
375
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
374
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
376
375
|
$slots: {
|
|
377
376
|
'prepend-outer'?(_: {}): any;
|
|
378
377
|
default?(_: {}): any;
|
|
@@ -431,7 +430,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
|
431
430
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
432
431
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
433
432
|
"onClick:clear"?: (() => any) | undefined;
|
|
434
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
433
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
435
434
|
$slots: {
|
|
436
435
|
prepend?(_: {}): any;
|
|
437
436
|
prefix?(_: {}): any;
|
|
@@ -442,12 +441,12 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
|
442
441
|
}) | null;
|
|
443
442
|
input: HTMLInputElement;
|
|
444
443
|
calendar: HTMLDivElement;
|
|
445
|
-
|
|
444
|
+
baseDatePicker: ({
|
|
446
445
|
$: import('vue').ComponentInternalInstance;
|
|
447
446
|
$data: {};
|
|
448
447
|
$props: {
|
|
449
448
|
readonly disabled?: boolean | undefined;
|
|
450
|
-
readonly firstDayOfWeek?:
|
|
449
|
+
readonly firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
451
450
|
readonly floating?: boolean | undefined;
|
|
452
451
|
readonly id?: string | undefined;
|
|
453
452
|
readonly header?: boolean | undefined;
|
|
@@ -458,7 +457,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
|
458
457
|
readonly range?: boolean | undefined;
|
|
459
458
|
readonly readonly?: boolean | undefined;
|
|
460
459
|
readonly selectable?: ((date: string) => boolean) | undefined;
|
|
461
|
-
readonly "onUpdate:modelValue"?: ((value:
|
|
460
|
+
readonly "onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
462
461
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
463
462
|
$attrs: {
|
|
464
463
|
[x: string]: unknown;
|
|
@@ -472,16 +471,16 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
|
472
471
|
$root: import('vue').ComponentPublicInstance | null;
|
|
473
472
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
474
473
|
$host: Element | null;
|
|
475
|
-
$emit: (event: "update:modelValue", value:
|
|
474
|
+
$emit: (event: "update:modelValue", value: string | string[] | null) => void;
|
|
476
475
|
$el: HTMLDivElement;
|
|
477
476
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../..').BaseDatePickerProps> & Readonly<{
|
|
478
|
-
"onUpdate:modelValue"?: ((value:
|
|
477
|
+
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
479
478
|
}>, {
|
|
480
479
|
resetStatus: () => void;
|
|
481
480
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
482
|
-
"update:modelValue": (value:
|
|
481
|
+
"update:modelValue": (value: string | string[] | null) => any;
|
|
483
482
|
}, string, {
|
|
484
|
-
firstDayOfWeek:
|
|
483
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
485
484
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
486
485
|
beforeCreate?: (() => void) | (() => void)[];
|
|
487
486
|
created?: (() => void) | (() => void)[];
|
|
@@ -503,12 +502,12 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
|
503
502
|
$nextTick: typeof import('vue').nextTick;
|
|
504
503
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
505
504
|
} & Readonly<{
|
|
506
|
-
firstDayOfWeek:
|
|
505
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
507
506
|
}> & Omit<Readonly<import('../..').BaseDatePickerProps> & Readonly<{
|
|
508
|
-
"onUpdate:modelValue"?: ((value:
|
|
507
|
+
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
509
508
|
}>, "firstDayOfWeek" | "resetStatus"> & import('vue').ShallowUnwrapRef<{
|
|
510
509
|
resetStatus: () => void;
|
|
511
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
510
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
512
511
|
$slots: any;
|
|
513
512
|
}) | null;
|
|
514
513
|
}, HTMLSpanElement>;
|
|
@@ -95,7 +95,9 @@ export type BaseInputContainerSlots = {
|
|
|
95
95
|
declare function __VLS_template(): {
|
|
96
96
|
attrs: Partial<{}>;
|
|
97
97
|
slots: Readonly<BaseInputContainerSlots> & BaseInputContainerSlots;
|
|
98
|
-
refs: {
|
|
98
|
+
refs: {
|
|
99
|
+
errorsContainer: HTMLSpanElement;
|
|
100
|
+
};
|
|
99
101
|
rootEl: HTMLDivElement;
|
|
100
102
|
};
|
|
101
103
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -106,7 +108,9 @@ declare const __VLS_component: import('vue').DefineComponent<BaseInputContainerP
|
|
|
106
108
|
labelPosition: "left" | "center" | "right";
|
|
107
109
|
tag: string;
|
|
108
110
|
labelTag: string;
|
|
109
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
111
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
112
|
+
errorsContainer: HTMLSpanElement;
|
|
113
|
+
}, HTMLDivElement>;
|
|
110
114
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
111
115
|
export default _default;
|
|
112
116
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -165,7 +165,7 @@ declare function __VLS_template(): {
|
|
|
165
165
|
$forceUpdate: () => void;
|
|
166
166
|
$nextTick: typeof nextTick;
|
|
167
167
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
168
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
168
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
169
169
|
$slots: {
|
|
170
170
|
'prepend-outer'?(_: {}): any;
|
|
171
171
|
default?(_: {}): any;
|
|
@@ -224,7 +224,7 @@ declare function __VLS_template(): {
|
|
|
224
224
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
225
225
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
226
226
|
"onClick:clear"?: (() => any) | undefined;
|
|
227
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
227
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
228
228
|
$slots: {
|
|
229
229
|
prepend?(_: {}): any;
|
|
230
230
|
prefix?(_: {}): any;
|
|
@@ -383,7 +383,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
|
383
383
|
$forceUpdate: () => void;
|
|
384
384
|
$nextTick: typeof nextTick;
|
|
385
385
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
386
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
386
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
387
387
|
$slots: {
|
|
388
388
|
'prepend-outer'?(_: {}): any;
|
|
389
389
|
default?(_: {}): any;
|
|
@@ -442,7 +442,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
|
442
442
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
443
443
|
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
|
444
444
|
"onClick:clear"?: (() => any) | undefined;
|
|
445
|
-
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
445
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
446
446
|
$slots: {
|
|
447
447
|
prepend?(_: {}): any;
|
|
448
448
|
prefix?(_: {}): any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseDatePickerInputEvents } from '../BaseDatePickerInput/BaseDatePickerInput.vue';
|
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
3
|
-
import { Locale } from 'dayjs/locale/it';
|
|
4
3
|
import { IconType } from '../../types/Icon';
|
|
5
4
|
export type BbDatePickerInputProps = {
|
|
6
5
|
/**
|
|
@@ -42,7 +41,7 @@ export type BbDatePickerInputProps = {
|
|
|
42
41
|
/**
|
|
43
42
|
* Defines the first day of the week with `0` meaning Sunday and `6` meaning Saturday
|
|
44
43
|
*/
|
|
45
|
-
firstDayOfWeek?:
|
|
44
|
+
firstDayOfWeek?: 0 | 1 | 6 | 3 | 2 | 4 | 5;
|
|
46
45
|
/**
|
|
47
46
|
* If true the date will have a format YYYY-MM-DD instead of the default ISO string.
|
|
48
47
|
*/
|
|
@@ -163,6 +163,7 @@ declare function __VLS_template(): {
|
|
|
163
163
|
readonly padding?: number | undefined;
|
|
164
164
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
|
165
165
|
readonly anchor?: any;
|
|
166
|
+
readonly boundary?: (HTMLElement | Record<string, any> | string | null) | undefined;
|
|
166
167
|
readonly dialog?: boolean | undefined;
|
|
167
168
|
readonly tag?: string | undefined;
|
|
168
169
|
readonly flip?: boolean | undefined;
|
|
@@ -189,6 +190,7 @@ declare function __VLS_template(): {
|
|
|
189
190
|
modelValue?: boolean;
|
|
190
191
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
191
192
|
anchor?: any;
|
|
193
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
192
194
|
dialog?: boolean;
|
|
193
195
|
tag?: string;
|
|
194
196
|
flip?: boolean;
|
|
@@ -230,12 +232,13 @@ declare function __VLS_template(): {
|
|
|
230
232
|
modelValue?: boolean;
|
|
231
233
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
232
234
|
anchor?: any;
|
|
235
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
233
236
|
dialog?: boolean;
|
|
234
237
|
tag?: string;
|
|
235
238
|
flip?: boolean;
|
|
236
239
|
}> & Readonly<{
|
|
237
240
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
238
|
-
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
241
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
239
242
|
$slots: {
|
|
240
243
|
default?(_: {}): any;
|
|
241
244
|
};
|
|
@@ -265,6 +268,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
|
265
268
|
readonly padding?: number | undefined;
|
|
266
269
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
|
267
270
|
readonly anchor?: any;
|
|
271
|
+
readonly boundary?: (HTMLElement | Record<string, any> | string | null) | undefined;
|
|
268
272
|
readonly dialog?: boolean | undefined;
|
|
269
273
|
readonly tag?: string | undefined;
|
|
270
274
|
readonly flip?: boolean | undefined;
|
|
@@ -291,6 +295,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
|
291
295
|
modelValue?: boolean;
|
|
292
296
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
293
297
|
anchor?: any;
|
|
298
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
294
299
|
dialog?: boolean;
|
|
295
300
|
tag?: string;
|
|
296
301
|
flip?: boolean;
|
|
@@ -332,12 +337,13 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
|
332
337
|
modelValue?: boolean;
|
|
333
338
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
334
339
|
anchor?: any;
|
|
340
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
335
341
|
dialog?: boolean;
|
|
336
342
|
tag?: string;
|
|
337
343
|
flip?: boolean;
|
|
338
344
|
}> & Readonly<{
|
|
339
345
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
340
|
-
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
346
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
341
347
|
$slots: {
|
|
342
348
|
default?(_: {}): any;
|
|
343
349
|
};
|
|
@@ -259,7 +259,7 @@ declare function __VLS_template(): {
|
|
|
259
259
|
}>, "decrease" | "increase" | ("autocomplete" | "step" | "max" | "min" | "maxPrecision")> & import('vue').ShallowUnwrapRef<{
|
|
260
260
|
increase: () => void;
|
|
261
261
|
decrease: () => void;
|
|
262
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
262
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
263
263
|
$slots: Readonly<BaseNumberInputSlots> & BaseNumberInputSlots;
|
|
264
264
|
}) | null;
|
|
265
265
|
};
|
|
@@ -426,7 +426,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbNumberInputProps,
|
|
|
426
426
|
}>, "decrease" | "increase" | ("autocomplete" | "step" | "max" | "min" | "maxPrecision")> & import('vue').ShallowUnwrapRef<{
|
|
427
427
|
increase: () => void;
|
|
428
428
|
decrease: () => void;
|
|
429
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
429
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
430
430
|
$slots: Readonly<BaseNumberInputSlots> & BaseNumberInputSlots;
|
|
431
431
|
}) | null;
|
|
432
432
|
}, HTMLDivElement>;
|
|
@@ -8,6 +8,12 @@ export type BbPopoverProps = Pick<CommonProps, 'arrowPadding' | 'closeLabel' | '
|
|
|
8
8
|
* are attached programmatically to the referenced element.
|
|
9
9
|
*/
|
|
10
10
|
activator?: HTMLElement | Record<string, any> | null;
|
|
11
|
+
/**
|
|
12
|
+
* Constrains the popover within a bounding element.
|
|
13
|
+
* When provided, the popover will not overflow this container's bounds (e.g. a sidebar).
|
|
14
|
+
* Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
|
|
15
|
+
*/
|
|
16
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
11
17
|
/**
|
|
12
18
|
* Selector for the element that receives focus after opening.
|
|
13
19
|
* Defaults to the close button, or first focusable element if no close button.
|
|
@@ -87,6 +93,7 @@ declare function __VLS_template(): {
|
|
|
87
93
|
readonly padding?: number | undefined;
|
|
88
94
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
|
89
95
|
readonly anchor?: any;
|
|
96
|
+
readonly boundary?: (HTMLElement | Record<string, any> | string | null) | undefined;
|
|
90
97
|
readonly dialog?: boolean | undefined;
|
|
91
98
|
readonly tag?: string | undefined;
|
|
92
99
|
readonly flip?: boolean | undefined;
|
|
@@ -113,6 +120,7 @@ declare function __VLS_template(): {
|
|
|
113
120
|
modelValue?: boolean;
|
|
114
121
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
115
122
|
anchor?: any;
|
|
123
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
116
124
|
dialog?: boolean;
|
|
117
125
|
tag?: string;
|
|
118
126
|
flip?: boolean;
|
|
@@ -154,12 +162,13 @@ declare function __VLS_template(): {
|
|
|
154
162
|
modelValue?: boolean;
|
|
155
163
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
156
164
|
anchor?: any;
|
|
165
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
157
166
|
dialog?: boolean;
|
|
158
167
|
tag?: string;
|
|
159
168
|
flip?: boolean;
|
|
160
169
|
}> & Readonly<{
|
|
161
170
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
162
|
-
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
171
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
163
172
|
$slots: {
|
|
164
173
|
default?(_: {}): any;
|
|
165
174
|
};
|
|
@@ -206,6 +215,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
206
215
|
readonly padding?: number | undefined;
|
|
207
216
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
|
208
217
|
readonly anchor?: any;
|
|
218
|
+
readonly boundary?: (HTMLElement | Record<string, any> | string | null) | undefined;
|
|
209
219
|
readonly dialog?: boolean | undefined;
|
|
210
220
|
readonly tag?: string | undefined;
|
|
211
221
|
readonly flip?: boolean | undefined;
|
|
@@ -232,6 +242,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
232
242
|
modelValue?: boolean;
|
|
233
243
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
234
244
|
anchor?: any;
|
|
245
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
235
246
|
dialog?: boolean;
|
|
236
247
|
tag?: string;
|
|
237
248
|
flip?: boolean;
|
|
@@ -273,12 +284,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
273
284
|
modelValue?: boolean;
|
|
274
285
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
275
286
|
anchor?: any;
|
|
287
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
276
288
|
dialog?: boolean;
|
|
277
289
|
tag?: string;
|
|
278
290
|
flip?: boolean;
|
|
279
291
|
}> & Readonly<{
|
|
280
292
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
281
|
-
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
293
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
282
294
|
$slots: {
|
|
283
295
|
default?(_: {}): any;
|
|
284
296
|
};
|
|
@@ -7,6 +7,12 @@ export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disab
|
|
|
7
7
|
* are attached programmatically to the referenced element.
|
|
8
8
|
*/
|
|
9
9
|
activator?: HTMLElement | Record<string, any> | null;
|
|
10
|
+
/**
|
|
11
|
+
* Constrains the tooltip within a bounding element.
|
|
12
|
+
* When provided, the tooltip will not overflow this container's bounds (e.g. a sidebar).
|
|
13
|
+
* Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
|
|
14
|
+
*/
|
|
15
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
10
16
|
/**
|
|
11
17
|
* Name of the theme to apply to the component. It creates a CSS class with the name of the theme.
|
|
12
18
|
* @deprecated since the popover is local you should use a normal css class applied to the top level element
|
|
@@ -53,6 +59,7 @@ declare function __VLS_template(): {
|
|
|
53
59
|
readonly padding?: number | undefined;
|
|
54
60
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
|
55
61
|
readonly anchor?: any;
|
|
62
|
+
readonly boundary?: (HTMLElement | Record<string, any> | string | null) | undefined;
|
|
56
63
|
readonly dialog?: boolean | undefined;
|
|
57
64
|
readonly tag?: string | undefined;
|
|
58
65
|
readonly flip?: boolean | undefined;
|
|
@@ -79,6 +86,7 @@ declare function __VLS_template(): {
|
|
|
79
86
|
modelValue?: boolean;
|
|
80
87
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
81
88
|
anchor?: any;
|
|
89
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
82
90
|
dialog?: boolean;
|
|
83
91
|
tag?: string;
|
|
84
92
|
flip?: boolean;
|
|
@@ -120,12 +128,13 @@ declare function __VLS_template(): {
|
|
|
120
128
|
modelValue?: boolean;
|
|
121
129
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
122
130
|
anchor?: any;
|
|
131
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
123
132
|
dialog?: boolean;
|
|
124
133
|
tag?: string;
|
|
125
134
|
flip?: boolean;
|
|
126
135
|
}> & Readonly<{
|
|
127
136
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
128
|
-
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
137
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
129
138
|
$slots: {
|
|
130
139
|
default?(_: {}): any;
|
|
131
140
|
};
|
|
@@ -159,6 +168,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
159
168
|
readonly padding?: number | undefined;
|
|
160
169
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
|
161
170
|
readonly anchor?: any;
|
|
171
|
+
readonly boundary?: (HTMLElement | Record<string, any> | string | null) | undefined;
|
|
162
172
|
readonly dialog?: boolean | undefined;
|
|
163
173
|
readonly tag?: string | undefined;
|
|
164
174
|
readonly flip?: boolean | undefined;
|
|
@@ -185,6 +195,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
185
195
|
modelValue?: boolean;
|
|
186
196
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
187
197
|
anchor?: any;
|
|
198
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
188
199
|
dialog?: boolean;
|
|
189
200
|
tag?: string;
|
|
190
201
|
flip?: boolean;
|
|
@@ -226,12 +237,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
226
237
|
modelValue?: boolean;
|
|
227
238
|
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
|
228
239
|
anchor?: any;
|
|
240
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
229
241
|
dialog?: boolean;
|
|
230
242
|
tag?: string;
|
|
231
243
|
flip?: boolean;
|
|
232
244
|
}> & Readonly<{
|
|
233
245
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
234
|
-
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
246
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
|
235
247
|
$slots: {
|
|
236
248
|
default?(_: {}): any;
|
|
237
249
|
};
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { CommonProps } from '../types/CommonProps';
|
|
2
2
|
export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'eager' | 'offset' | 'padding' | 'placement' | 'transitionDuration'> & {
|
|
3
3
|
anchor?: any;
|
|
4
|
+
/**
|
|
5
|
+
* Constrains the popover within a bounding element.
|
|
6
|
+
* When provided, the popover will not overflow this container's bounds.
|
|
7
|
+
* Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
|
|
8
|
+
*/
|
|
9
|
+
boundary?: HTMLElement | Record<string, any> | string | null;
|
|
4
10
|
dialog?: boolean;
|
|
5
11
|
tag?: string;
|
|
6
12
|
flip?: boolean;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
/**
|
|
3
|
+
* Duration of the transition in milliseconds
|
|
4
|
+
* @default 200
|
|
5
|
+
*/
|
|
6
|
+
duration?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Starting scale value (0-1)
|
|
9
|
+
* @default 0.97
|
|
10
|
+
*/
|
|
11
|
+
scaleFrom?: number;
|
|
12
|
+
};
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
|
+
duration: number;
|
|
24
|
+
scaleFrom: number;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|