bitboss-ui 2.1.31 → 2.1.33
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 +10 -30
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +8 -24
- package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -24
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +27 -36
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
- package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -3
- package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
- package/dist/composables/useCancelableFunction.d.ts +17 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +143 -138
- package/dist/index106.js +9 -9
- package/dist/index11.js +2 -2
- package/dist/index111.js +1 -1
- package/dist/index119.js +4 -4
- package/dist/index12.js +6 -6
- package/dist/index121.js +12 -12
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +111 -93
- package/dist/index133.js +1 -1
- package/dist/index135.js +69 -2
- package/dist/index137.js +13 -377
- package/dist/index138.js +2 -9
- package/dist/index139.js +11 -25
- package/dist/index140.js +419 -2
- package/dist/index141.js +9 -5
- package/dist/index142.js +23 -7
- package/dist/index143.js +2 -6
- package/dist/index144.js +5 -3
- package/dist/index145.js +9 -3
- package/dist/index146.js +6 -3
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/index15.js +72 -74
- 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 +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index17.js +2 -2
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index180.js +1 -1
- package/dist/index181.js +3 -2
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +2 -3
- package/dist/index185.js +1 -1
- package/dist/index186.js +1 -1
- package/dist/index187.js +1 -1
- package/dist/index188.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index19.js +8 -8
- package/dist/index190.js +2 -2
- package/dist/index191.js +3 -2
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index194.js +2 -3
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +3 -138
- package/dist/index207.js +3 -2
- package/dist/index208.js +3 -2
- package/dist/index209.js +3 -34
- package/dist/index21.js +16 -16
- package/dist/index211.js +7 -13
- package/dist/index212.js +136 -9
- package/dist/index213.js +2 -5
- package/dist/index214.js +2 -5
- package/dist/index215.js +13 -5
- package/dist/index216.js +13 -5
- package/dist/index217.js +13 -5
- package/dist/index218.js +3 -5
- package/dist/index219.js +86 -2
- package/dist/index221.js +29 -2
- package/dist/index222.js +16 -19
- package/dist/index223.js +50 -68
- package/dist/index224.js +17 -0
- package/dist/index225.js +3 -13
- package/dist/index226.js +12 -117
- package/dist/index227.js +18 -0
- package/dist/index229.js +2 -4
- package/dist/index23.js +153 -153
- package/dist/index230.js +6 -2
- package/dist/index231.js +15 -50
- package/dist/index232.js +8 -15
- package/dist/index233.js +3 -106
- package/dist/index234.js +11 -0
- package/dist/index235.js +117 -96
- package/dist/index237.js +23 -4
- package/dist/index238.js +4 -197
- package/dist/index239.js +25 -0
- package/dist/index240.js +5 -86
- package/dist/index241.js +7 -0
- package/dist/index242.js +5 -29
- package/dist/index243.js +5 -15
- package/dist/index244.js +5 -3
- package/dist/index245.js +5 -12
- package/dist/index246.js +5 -16
- package/dist/index247.js +2 -183
- package/dist/index248.js +8 -3
- package/dist/index249.js +250 -2
- package/dist/index25.js +4 -4
- package/dist/index250.js +52 -2
- package/dist/index251.js +44 -7
- package/dist/index252.js +5 -7
- package/dist/index253.js +60 -5
- package/dist/index254.js +106 -5
- package/dist/index256.js +95 -245
- package/dist/index258.js +2 -44
- package/dist/index259.js +4 -5
- package/dist/index260.js +5 -60
- package/dist/index261.js +2 -7
- package/dist/index262.js +18 -16
- package/dist/index263.js +2 -12
- package/dist/index264.js +7 -6
- package/dist/index265.js +7 -229
- package/dist/index266.js +34 -10
- package/dist/index267.js +2 -3
- package/dist/index268.js +18 -6
- package/dist/index269.js +12 -16
- package/dist/index27.js +2 -2
- package/dist/index270.js +229 -3
- package/dist/index271.js +3 -9
- package/dist/index272.js +4 -23
- package/dist/index273.js +197 -9
- package/dist/index275.js +183 -8
- package/dist/index276.js +7 -67
- package/dist/index277.js +9 -5
- package/dist/index278.js +9 -5
- package/dist/index279.js +8 -8
- package/dist/index280.js +33 -2
- package/dist/index281.js +28 -2
- package/dist/index283.js +4 -0
- package/dist/index284.js +5 -7
- package/dist/index285.js +67 -3
- package/dist/index286.js +7 -4
- package/dist/index287.js +11 -7
- package/dist/index288.js +5 -11
- package/dist/index289.js +1 -1
- package/dist/index29.js +6 -6
- package/dist/index290.js +17 -3
- package/dist/index291.js +25 -14
- package/dist/index292.js +718 -3
- package/dist/index293.js +366 -3
- package/dist/index294.js +58 -3
- package/dist/index295.js +3 -28
- package/dist/index298.js +12 -121
- package/dist/index299.js +2 -2
- package/dist/index300.js +11 -10
- package/dist/index302.js +15 -12
- package/dist/index304.js +10 -11
- package/dist/index306.js +17 -17
- package/dist/index308.js +27 -5
- package/dist/index309.js +2 -6
- package/dist/index31.js +1 -1
- package/dist/index310.js +2 -19
- package/dist/index311.js +2 -2
- package/dist/index312.js +2 -27
- package/dist/index313.js +2 -2
- package/dist/index314.js +21 -1
- package/dist/index316.js +3 -2
- package/dist/index317.js +3 -2
- package/dist/index318.js +6 -22
- package/dist/index320.js +125 -2
- package/dist/index321.js +2 -718
- package/dist/index322.js +2 -366
- package/dist/index324.js +3 -5
- package/dist/index325.js +5 -2
- package/dist/index326.js +7 -32
- package/dist/index327.js +2 -28
- package/dist/index328.js +7 -0
- package/dist/index329.js +3 -8
- package/dist/index33.js +8 -8
- package/dist/index330.js +3 -5
- package/dist/index331.js +92 -7
- package/dist/index332.js +35 -8
- package/dist/index333.js +6 -129
- package/dist/index334.js +113 -353
- package/dist/index335.js +367 -56
- package/dist/index336.js +33 -33
- package/dist/index337.js +57 -227
- package/dist/index338.js +2 -7
- package/dist/index339.js +6 -6
- package/dist/index340.js +6 -18
- package/dist/index341.js +17 -45
- package/dist/index342.js +46 -92
- package/dist/index343.js +10 -0
- package/dist/index344.js +6 -3
- package/dist/index345.js +7 -128
- package/dist/index346.js +223 -431
- package/dist/index347.js +123 -121
- package/dist/index348.js +421 -473
- package/dist/index349.js +125 -48
- package/dist/index35.js +4 -4
- package/dist/index350.js +490 -0
- package/dist/index351.js +52 -0
- package/dist/index37.js +263 -271
- package/dist/index39.js +7 -7
- package/dist/index41.js +1 -1
- package/dist/index43.js +8 -8
- package/dist/index45.js +15 -15
- package/dist/index47.js +3 -3
- package/dist/index49.js +4 -4
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index6.js +1 -1
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index79.js +206 -182
- package/dist/index81.js +2 -2
- package/dist/index83.js +2 -2
- package/dist/index87.js +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.js +4 -4
- package/dist/index92.js +3 -3
- package/dist/index94.js +121 -117
- package/dist/index96.js +2 -2
- package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
- package/dist/utilities/functions/parseWidthString.d.ts +6 -0
- package/package.json +2 -2
- package/dist/index136.js +0 -13
- package/dist/index210.js +0 -15
- package/dist/index220.js +0 -4
- package/dist/index255.js +0 -10
- package/dist/index257.js +0 -54
- package/dist/index274.js +0 -11
- package/dist/index315.js +0 -4
- package/dist/index323.js +0 -60
- /package/dist/{index282.js → index319.js} +0 -0
@@ -164,12 +164,7 @@ declare function __VLS_template(): {
|
|
164
164
|
$host: Element | null;
|
165
165
|
$emit: (event: "click:clear") => void;
|
166
166
|
$el: HTMLSpanElement;
|
167
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
168
|
-
'append:icon'?: string;
|
169
|
-
clearable?: boolean;
|
170
|
-
'prepend:icon'?: string;
|
171
|
-
preventFocus?: boolean;
|
172
|
-
}> & Readonly<{
|
167
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
173
168
|
"onClick:clear"?: (() => any) | undefined;
|
174
169
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
175
170
|
"click:clear": () => any;
|
@@ -193,12 +188,7 @@ declare function __VLS_template(): {
|
|
193
188
|
$forceUpdate: () => void;
|
194
189
|
$nextTick: typeof import('vue').nextTick;
|
195
190
|
$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;
|
196
|
-
} & Readonly<{}> & Omit<Readonly<{
|
197
|
-
'append:icon'?: string;
|
198
|
-
clearable?: boolean;
|
199
|
-
'prepend:icon'?: string;
|
200
|
-
preventFocus?: boolean;
|
201
|
-
}> & Readonly<{
|
191
|
+
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
202
192
|
"onClick:clear"?: (() => any) | undefined;
|
203
193
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
204
194
|
$slots: {
|
@@ -209,6 +199,7 @@ declare function __VLS_template(): {
|
|
209
199
|
suffix?(_: {}): any;
|
210
200
|
};
|
211
201
|
}) | null;
|
202
|
+
indicator: HTMLButtonElement;
|
212
203
|
pallette: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
213
204
|
modelValue: string | null;
|
214
205
|
}> & Readonly<{
|
@@ -216,10 +207,10 @@ declare function __VLS_template(): {
|
|
216
207
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
217
208
|
"update:modelValue": (value: string) => any;
|
218
209
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
219
|
-
paletteRef:
|
210
|
+
paletteRef: HTMLSpanElement;
|
220
211
|
mainCanvasRef: HTMLCanvasElement;
|
221
212
|
hueCanvasRef: HTMLCanvasElement;
|
222
|
-
},
|
213
|
+
}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
223
214
|
P: {};
|
224
215
|
B: {};
|
225
216
|
D: {};
|
@@ -231,7 +222,6 @@ declare function __VLS_template(): {
|
|
231
222
|
}> & Readonly<{
|
232
223
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
233
224
|
}>, {}, {}, {}, {}, {}> | null;
|
234
|
-
indicator: HTMLButtonElement;
|
235
225
|
};
|
236
226
|
rootEl: HTMLSpanElement;
|
237
227
|
};
|
@@ -317,12 +307,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
317
307
|
$host: Element | null;
|
318
308
|
$emit: (event: "click:clear") => void;
|
319
309
|
$el: HTMLSpanElement;
|
320
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
321
|
-
'append:icon'?: string;
|
322
|
-
clearable?: boolean;
|
323
|
-
'prepend:icon'?: string;
|
324
|
-
preventFocus?: boolean;
|
325
|
-
}> & Readonly<{
|
310
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
326
311
|
"onClick:clear"?: (() => any) | undefined;
|
327
312
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
328
313
|
"click:clear": () => any;
|
@@ -346,12 +331,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
346
331
|
$forceUpdate: () => void;
|
347
332
|
$nextTick: typeof import('vue').nextTick;
|
348
333
|
$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;
|
349
|
-
} & Readonly<{}> & Omit<Readonly<{
|
350
|
-
'append:icon'?: string;
|
351
|
-
clearable?: boolean;
|
352
|
-
'prepend:icon'?: string;
|
353
|
-
preventFocus?: boolean;
|
354
|
-
}> & Readonly<{
|
334
|
+
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
355
335
|
"onClick:clear"?: (() => any) | undefined;
|
356
336
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
357
337
|
$slots: {
|
@@ -362,6 +342,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
362
342
|
suffix?(_: {}): any;
|
363
343
|
};
|
364
344
|
}) | null;
|
345
|
+
indicator: HTMLButtonElement;
|
365
346
|
pallette: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
366
347
|
modelValue: string | null;
|
367
348
|
}> & Readonly<{
|
@@ -369,10 +350,10 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
369
350
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
370
351
|
"update:modelValue": (value: string) => any;
|
371
352
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
372
|
-
paletteRef:
|
353
|
+
paletteRef: HTMLSpanElement;
|
373
354
|
mainCanvasRef: HTMLCanvasElement;
|
374
355
|
hueCanvasRef: HTMLCanvasElement;
|
375
|
-
},
|
356
|
+
}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
376
357
|
P: {};
|
377
358
|
B: {};
|
378
359
|
D: {};
|
@@ -384,7 +365,6 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
384
365
|
}> & Readonly<{
|
385
366
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
386
367
|
}>, {}, {}, {}, {}, {}> | null;
|
387
|
-
indicator: HTMLButtonElement;
|
388
368
|
}, HTMLSpanElement>;
|
389
369
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
390
370
|
export default _default;
|
@@ -6,8 +6,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
6
6
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
8
8
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
9
|
-
paletteRef:
|
9
|
+
paletteRef: HTMLSpanElement;
|
10
10
|
mainCanvasRef: HTMLCanvasElement;
|
11
11
|
hueCanvasRef: HTMLCanvasElement;
|
12
|
-
},
|
12
|
+
}, HTMLSpanElement>;
|
13
13
|
export default _default;
|
@@ -87,6 +87,10 @@ export type BaseDatePickerInputProps = {
|
|
87
87
|
* @param date
|
88
88
|
*/
|
89
89
|
selectable?: (date: Date) => boolean;
|
90
|
+
/**
|
91
|
+
* The transition duration of the floating component.
|
92
|
+
*/
|
93
|
+
transitionDuration?: number;
|
90
94
|
};
|
91
95
|
export type BaseDatePickerInputEvents = {
|
92
96
|
(e: 'active'): void;
|
@@ -184,12 +188,7 @@ declare function __VLS_template(): {
|
|
184
188
|
$host: Element | null;
|
185
189
|
$emit: (event: "click:clear") => void;
|
186
190
|
$el: HTMLSpanElement;
|
187
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
188
|
-
'append:icon'?: string;
|
189
|
-
clearable?: boolean;
|
190
|
-
'prepend:icon'?: string;
|
191
|
-
preventFocus?: boolean;
|
192
|
-
}> & Readonly<{
|
191
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
193
192
|
"onClick:clear"?: (() => any) | undefined;
|
194
193
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
195
194
|
"click:clear": () => any;
|
@@ -213,12 +212,7 @@ declare function __VLS_template(): {
|
|
213
212
|
$forceUpdate: () => void;
|
214
213
|
$nextTick: typeof import('vue').nextTick;
|
215
214
|
$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;
|
216
|
-
} & Readonly<{}> & Omit<Readonly<{
|
217
|
-
'append:icon'?: string;
|
218
|
-
clearable?: boolean;
|
219
|
-
'prepend:icon'?: string;
|
220
|
-
preventFocus?: boolean;
|
221
|
-
}> & Readonly<{
|
215
|
+
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
222
216
|
"onClick:clear"?: (() => any) | undefined;
|
223
217
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
224
218
|
$slots: {
|
@@ -390,12 +384,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
390
384
|
$host: Element | null;
|
391
385
|
$emit: (event: "click:clear") => void;
|
392
386
|
$el: HTMLSpanElement;
|
393
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
394
|
-
'append:icon'?: string;
|
395
|
-
clearable?: boolean;
|
396
|
-
'prepend:icon'?: string;
|
397
|
-
preventFocus?: boolean;
|
398
|
-
}> & Readonly<{
|
387
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
399
388
|
"onClick:clear"?: (() => any) | undefined;
|
400
389
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
401
390
|
"click:clear": () => any;
|
@@ -419,12 +408,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDatePickerInput
|
|
419
408
|
$forceUpdate: () => void;
|
420
409
|
$nextTick: typeof import('vue').nextTick;
|
421
410
|
$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;
|
422
|
-
} & Readonly<{}> & Omit<Readonly<{
|
423
|
-
'append:icon'?: string;
|
424
|
-
clearable?: boolean;
|
425
|
-
'prepend:icon'?: string;
|
426
|
-
preventFocus?: boolean;
|
427
|
-
}> & Readonly<{
|
411
|
+
} & Readonly<{}> & Omit<Readonly<import('../CommonInputInnerContainer.vue').CommonInputInnerContainerProps> & Readonly<{
|
428
412
|
"onClick:clear"?: (() => any) | undefined;
|
429
413
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
430
414
|
$slots: {
|
@@ -180,12 +180,7 @@ declare function __VLS_template(): {
|
|
180
180
|
$host: Element | null;
|
181
181
|
$emit: (event: "click:clear") => void;
|
182
182
|
$el: HTMLSpanElement;
|
183
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
184
|
-
'append:icon'?: string;
|
185
|
-
clearable?: boolean;
|
186
|
-
'prepend:icon'?: string;
|
187
|
-
preventFocus?: boolean;
|
188
|
-
}> & Readonly<{
|
183
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../index').CommonInputInnerContainerProps> & Readonly<{
|
189
184
|
"onClick:clear"?: (() => any) | undefined;
|
190
185
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
191
186
|
"click:clear": () => any;
|
@@ -209,12 +204,7 @@ declare function __VLS_template(): {
|
|
209
204
|
$forceUpdate: () => void;
|
210
205
|
$nextTick: typeof nextTick;
|
211
206
|
$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;
|
212
|
-
} & Readonly<{}> & Omit<Readonly<{
|
213
|
-
'append:icon'?: string;
|
214
|
-
clearable?: boolean;
|
215
|
-
'prepend:icon'?: string;
|
216
|
-
preventFocus?: boolean;
|
217
|
-
}> & Readonly<{
|
207
|
+
} & Readonly<{}> & Omit<Readonly<import('../../index').CommonInputInnerContainerProps> & Readonly<{
|
218
208
|
"onClick:clear"?: (() => any) | undefined;
|
219
209
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
220
210
|
$slots: {
|
@@ -392,12 +382,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
392
382
|
$host: Element | null;
|
393
383
|
$emit: (event: "click:clear") => void;
|
394
384
|
$el: HTMLSpanElement;
|
395
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
396
|
-
'append:icon'?: string;
|
397
|
-
clearable?: boolean;
|
398
|
-
'prepend:icon'?: string;
|
399
|
-
preventFocus?: boolean;
|
400
|
-
}> & Readonly<{
|
385
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../index').CommonInputInnerContainerProps> & Readonly<{
|
401
386
|
"onClick:clear"?: (() => any) | undefined;
|
402
387
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
403
388
|
"click:clear": () => any;
|
@@ -421,12 +406,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
|
|
421
406
|
$forceUpdate: () => void;
|
422
407
|
$nextTick: typeof nextTick;
|
423
408
|
$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;
|
424
|
-
} & Readonly<{}> & Omit<Readonly<{
|
425
|
-
'append:icon'?: string;
|
426
|
-
clearable?: boolean;
|
427
|
-
'prepend:icon'?: string;
|
428
|
-
preventFocus?: boolean;
|
429
|
-
}> & Readonly<{
|
409
|
+
} & Readonly<{}> & Omit<Readonly<import('../../index').CommonInputInnerContainerProps> & Readonly<{
|
430
410
|
"onClick:clear"?: (() => any) | undefined;
|
431
411
|
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
432
412
|
$slots: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BaseButtonProps } from '../BaseButton/BaseButton.vue';
|
2
2
|
import { CommonProps } from '../../types/CommonProps';
|
3
|
-
export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | '
|
3
|
+
export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'transitionDuration'> & {
|
4
4
|
/**
|
5
5
|
* Array used to render each dropdown button.
|
6
6
|
* They can act as `button`, as `a`, or as `router-link`
|
@@ -9,9 +9,14 @@ export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disa
|
|
9
9
|
*/
|
10
10
|
items: Item[];
|
11
11
|
/**
|
12
|
-
*
|
12
|
+
* Name of the theme to apply to the component. It creates a CSS class with the name of the theme.
|
13
|
+
* @deprecated since the popover is local you should use a normal css class applied to the top level element
|
13
14
|
*/
|
14
|
-
|
15
|
+
theme?: string;
|
16
|
+
/**
|
17
|
+
* Width of the dropdown in pixels or percentage.
|
18
|
+
*/
|
19
|
+
width?: number | string;
|
15
20
|
};
|
16
21
|
export type Item = Omit<BaseButtonProps, 'block' | 'tag' | 'type'> & {
|
17
22
|
/**
|
@@ -52,6 +57,7 @@ declare function __VLS_template(): {
|
|
52
57
|
onClick: (...args: any[]) => any;
|
53
58
|
onKeydown: (event: KeyboardEvent) => void;
|
54
59
|
disabled?: BbDropdownProps["disabled"];
|
60
|
+
ref: (reference: unknown) => void;
|
55
61
|
};
|
56
62
|
disabled?: boolean;
|
57
63
|
open: boolean;
|
@@ -101,6 +107,7 @@ declare function __VLS_template(): {
|
|
101
107
|
onClick: (...args: any[]) => any;
|
102
108
|
onKeydown: (event: KeyboardEvent) => void;
|
103
109
|
disabled?: BbDropdownProps["disabled"];
|
110
|
+
ref: (reference: unknown) => void;
|
104
111
|
};
|
105
112
|
disabled?: boolean;
|
106
113
|
open: boolean;
|
@@ -143,20 +150,19 @@ declare function __VLS_template(): {
|
|
143
150
|
}) => any;
|
144
151
|
};
|
145
152
|
refs: {
|
146
|
-
|
153
|
+
popover: ({
|
147
154
|
$: import('vue').ComponentInternalInstance;
|
148
155
|
$data: {};
|
149
156
|
$props: {
|
150
157
|
readonly modelValue?: boolean | undefined;
|
158
|
+
readonly eager?: boolean | undefined;
|
151
159
|
readonly transitionDuration?: number | undefined;
|
152
160
|
readonly arrowPadding?: number | undefined;
|
153
|
-
readonly block?: boolean | undefined;
|
154
161
|
readonly offset?: number | undefined;
|
155
162
|
readonly padding?: number | undefined;
|
156
163
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
157
|
-
readonly
|
164
|
+
readonly anchor?: any;
|
158
165
|
readonly dialog?: boolean | undefined;
|
159
|
-
readonly renderContent?: boolean | undefined;
|
160
166
|
readonly tag?: string | undefined;
|
161
167
|
readonly flip?: boolean | undefined;
|
162
168
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
@@ -168,7 +174,6 @@ declare function __VLS_template(): {
|
|
168
174
|
[x: string]: unknown;
|
169
175
|
} & {
|
170
176
|
wrapper: unknown;
|
171
|
-
content: unknown;
|
172
177
|
bubblearrow: HTMLSpanElement;
|
173
178
|
};
|
174
179
|
$slots: Readonly<{
|
@@ -181,10 +186,9 @@ declare function __VLS_template(): {
|
|
181
186
|
$el: any;
|
182
187
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
183
188
|
modelValue?: boolean;
|
184
|
-
} & Pick<CommonProps, "
|
185
|
-
|
189
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
190
|
+
anchor?: any;
|
186
191
|
dialog?: boolean;
|
187
|
-
renderContent?: boolean;
|
188
192
|
tag?: string;
|
189
193
|
flip?: boolean;
|
190
194
|
}> & Readonly<{
|
@@ -195,7 +199,6 @@ declare function __VLS_template(): {
|
|
195
199
|
transitionDuration: number;
|
196
200
|
padding: number;
|
197
201
|
tag: string;
|
198
|
-
renderContent: boolean;
|
199
202
|
flip: boolean;
|
200
203
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
201
204
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -221,31 +224,27 @@ declare function __VLS_template(): {
|
|
221
224
|
transitionDuration: number;
|
222
225
|
padding: number;
|
223
226
|
tag: string;
|
224
|
-
renderContent: boolean;
|
225
227
|
flip: boolean;
|
226
228
|
}> & Omit<Readonly<{
|
227
229
|
modelValue?: boolean;
|
228
|
-
} & Pick<CommonProps, "
|
229
|
-
|
230
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
231
|
+
anchor?: any;
|
230
232
|
dialog?: boolean;
|
231
|
-
renderContent?: boolean;
|
232
233
|
tag?: string;
|
233
234
|
flip?: boolean;
|
234
235
|
}> & Readonly<{
|
235
236
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
236
|
-
}>, "transitionDuration" | "padding" | "tag" | "
|
237
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
237
238
|
$slots: {
|
238
|
-
activator?(_: {}): any;
|
239
239
|
default?(_: {}): any;
|
240
240
|
};
|
241
241
|
}) | null;
|
242
|
-
content: HTMLSpanElement;
|
243
242
|
};
|
244
243
|
rootEl: any;
|
245
244
|
};
|
246
245
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
247
246
|
declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbDropdownProps> & Readonly<{}>, {
|
248
|
-
width: number;
|
247
|
+
width: number | string;
|
249
248
|
transitionDuration: number;
|
250
249
|
arrowPadding: number;
|
251
250
|
offset: number;
|
@@ -253,20 +252,19 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
253
252
|
placement: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
254
253
|
theme: string;
|
255
254
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
256
|
-
|
255
|
+
popover: ({
|
257
256
|
$: import('vue').ComponentInternalInstance;
|
258
257
|
$data: {};
|
259
258
|
$props: {
|
260
259
|
readonly modelValue?: boolean | undefined;
|
260
|
+
readonly eager?: boolean | undefined;
|
261
261
|
readonly transitionDuration?: number | undefined;
|
262
262
|
readonly arrowPadding?: number | undefined;
|
263
|
-
readonly block?: boolean | undefined;
|
264
263
|
readonly offset?: number | undefined;
|
265
264
|
readonly padding?: number | undefined;
|
266
265
|
readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
|
267
|
-
readonly
|
266
|
+
readonly anchor?: any;
|
268
267
|
readonly dialog?: boolean | undefined;
|
269
|
-
readonly renderContent?: boolean | undefined;
|
270
268
|
readonly tag?: string | undefined;
|
271
269
|
readonly flip?: boolean | undefined;
|
272
270
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
@@ -278,7 +276,6 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
278
276
|
[x: string]: unknown;
|
279
277
|
} & {
|
280
278
|
wrapper: unknown;
|
281
|
-
content: unknown;
|
282
279
|
bubblearrow: HTMLSpanElement;
|
283
280
|
};
|
284
281
|
$slots: Readonly<{
|
@@ -291,10 +288,9 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
291
288
|
$el: any;
|
292
289
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
293
290
|
modelValue?: boolean;
|
294
|
-
} & Pick<CommonProps, "
|
295
|
-
|
291
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
292
|
+
anchor?: any;
|
296
293
|
dialog?: boolean;
|
297
|
-
renderContent?: boolean;
|
298
294
|
tag?: string;
|
299
295
|
flip?: boolean;
|
300
296
|
}> & Readonly<{
|
@@ -305,7 +301,6 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
305
301
|
transitionDuration: number;
|
306
302
|
padding: number;
|
307
303
|
tag: string;
|
308
|
-
renderContent: boolean;
|
309
304
|
flip: boolean;
|
310
305
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
311
306
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -331,25 +326,21 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
|
|
331
326
|
transitionDuration: number;
|
332
327
|
padding: number;
|
333
328
|
tag: string;
|
334
|
-
renderContent: boolean;
|
335
329
|
flip: boolean;
|
336
330
|
}> & Omit<Readonly<{
|
337
331
|
modelValue?: boolean;
|
338
|
-
} & Pick<CommonProps, "
|
339
|
-
|
332
|
+
} & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
|
333
|
+
anchor?: any;
|
340
334
|
dialog?: boolean;
|
341
|
-
renderContent?: boolean;
|
342
335
|
tag?: string;
|
343
336
|
flip?: boolean;
|
344
337
|
}> & Readonly<{
|
345
338
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
346
|
-
}>, "transitionDuration" | "padding" | "tag" | "
|
339
|
+
}>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
347
340
|
$slots: {
|
348
|
-
activator?(_: {}): any;
|
349
341
|
default?(_: {}): any;
|
350
342
|
};
|
351
343
|
}) | null;
|
352
|
-
content: HTMLSpanElement;
|
353
344
|
}, any>;
|
354
345
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
355
346
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BbDropdownProps, MappedItem } from '../BbDropdown/BbDropdown.vue';
|
2
|
-
export type BbDropdownButtonProps = Pick<BbDropdownProps, 'arrowPadding' | '
|
2
|
+
export type BbDropdownButtonProps = Pick<BbDropdownProps, 'arrowPadding' | 'disabled' | 'eager' | 'id' | 'items' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration' | 'width'> & {
|
3
3
|
/**
|
4
4
|
* Tracks tha loading status internally.
|
5
5
|
*/
|
@@ -8,6 +8,10 @@ export type BbDropdownButtonProps = Pick<BbDropdownProps, 'arrowPadding' | 'bloc
|
|
8
8
|
* Icon to be added on the right of the text
|
9
9
|
*/
|
10
10
|
'append:icon'?: string;
|
11
|
+
/**
|
12
|
+
* Displays the component as full width.
|
13
|
+
*/
|
14
|
+
block?: boolean;
|
11
15
|
/**
|
12
16
|
* Disables the click handler while the component is loading.
|
13
17
|
*/
|