bitboss-ui 0.2.31 → 0.2.32
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 +6 -6
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +16 -16
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +36 -36
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +20 -20
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +21 -21
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +8 -8
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +6 -6
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +20 -20
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +20 -20
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +36 -36
- package/dist/components/BaseRating/BaseRating.vue.d.ts +17 -17
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +23 -23
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +15 -15
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +20 -20
- package/dist/components/BaseTag/BaseTag.vue.d.ts +20 -20
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +19 -19
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +18 -18
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +3 -3
- package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -3
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +8 -8
- package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +6 -6
- package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +11 -11
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +27 -27
- package/dist/components/BbChip/BbChip.vue.d.ts +2 -2
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +4 -4
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +16 -24
- package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +11 -11
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +14 -14
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +3 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +10 -10
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +9 -9
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +8 -8
- package/dist/components/BbRadio/BbRadio.vue.d.ts +10 -10
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +27 -27
- package/dist/components/BbRating/BbRating.vue.d.ts +10 -10
- package/dist/components/BbSelect/BbSelect.vue.d.ts +19 -19
- package/dist/components/BbSlider/BbSlider.vue.d.ts +8 -8
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +20 -20
- package/dist/components/BbTab/BbTab.vue.d.ts +5 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +11 -11
- package/dist/components/BbTable/types.d.ts +107 -107
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -13
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +11 -11
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +10 -10
- package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
- package/dist/composables/useConfirm.d.ts +10 -10
- package/dist/composables/useOptions.d.ts +2 -2
- package/dist/composables/useRoute.d.ts +2 -2
- package/dist/composables/useRouter.d.ts +1 -1
- package/dist/composables/useToast.d.ts +5 -5
- package/dist/composables/useWizard.d.ts +1 -1
- package/dist/index.d.ts +126 -126
- package/dist/index101.js +32 -37
- package/dist/index101.js.map +1 -1
- package/dist/index103.js +19 -19
- package/dist/index103.js.map +1 -1
- package/dist/index105.js +16 -16
- package/dist/index105.js.map +1 -1
- package/dist/index107.js +15 -15
- package/dist/index107.js.map +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +7 -7
- package/dist/index11.js.map +1 -1
- package/dist/index111.js +16 -16
- package/dist/index111.js.map +1 -1
- package/dist/index113.js +3 -3
- package/dist/index113.js.map +1 -1
- package/dist/index115.js +6 -6
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +4 -4
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +5 -5
- package/dist/index119.js.map +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -4
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +4 -1
- package/dist/index128.js.map +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +11 -11
- package/dist/index13.js.map +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +2 -2
- package/dist/index15.js +226 -224
- package/dist/index15.js.map +1 -1
- package/dist/index17.js +61 -62
- package/dist/index17.js.map +1 -1
- package/dist/index19.js +22 -22
- package/dist/index19.js.map +1 -1
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +2 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +4 -16
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +293 -14
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +23 -23
- package/dist/index2.js.map +1 -1
- package/dist/index200.js +15 -18
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +13 -17
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +18 -28
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +20 -8
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +29 -2
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +8 -378
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +2 -134
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +235 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +3 -174
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +35 -23
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +4 -4
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +6 -373
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +10 -2
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +378 -4
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +134 -3
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -3
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +172 -8
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +23 -3
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +369 -31
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +3 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +3 -2
- package/dist/index219.js.map +1 -1
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +26 -233
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +16 -8
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +2 -121
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +8 -27
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +120 -12
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +4 -295
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -6
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -2
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +14 -16
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +2 -2
- package/dist/index235.js +2 -2
- package/dist/index236.js +428 -110
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +88 -105
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +199 -3
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +1 -1
- package/dist/index240.js +1 -1
- package/dist/index241.js +2 -435
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +115 -87
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +104 -198
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +160 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +5 -162
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +1 -1
- package/dist/index249.js +37 -14
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +4 -4
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +2 -38
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +15 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +3 -2
- package/dist/index253.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index27.js +7 -7
- package/dist/index27.js.map +1 -1
- package/dist/index29.js +15 -15
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +2 -1
- package/dist/index3.js.map +1 -1
- package/dist/index31.js +28 -28
- package/dist/index31.js.map +1 -1
- package/dist/index33.js +10 -11
- package/dist/index33.js.map +1 -1
- package/dist/index35.js +2 -2
- package/dist/index35.js.map +1 -1
- package/dist/index37.js +12 -12
- package/dist/index37.js.map +1 -1
- package/dist/index39.js +5 -7
- package/dist/index39.js.map +1 -1
- package/dist/index4.js.map +1 -1
- package/dist/index41.js +5 -5
- package/dist/index41.js.map +1 -1
- package/dist/index43.js +19 -16
- package/dist/index43.js.map +1 -1
- package/dist/index45.js +9 -9
- package/dist/index45.js.map +1 -1
- package/dist/index47.js +4 -4
- package/dist/index47.js.map +1 -1
- package/dist/index49.js +1 -1
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +7 -6
- package/dist/index5.js.map +1 -1
- package/dist/index51.js +6 -6
- package/dist/index51.js.map +1 -1
- package/dist/index53.js.map +1 -1
- package/dist/index55.js +20 -20
- package/dist/index55.js.map +1 -1
- package/dist/index57.js +35 -35
- package/dist/index57.js.map +1 -1
- package/dist/index59.js +8 -8
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +38 -38
- package/dist/index6.js.map +1 -1
- package/dist/index61.js +27 -27
- package/dist/index61.js.map +1 -1
- package/dist/index63.js +4 -4
- package/dist/index63.js.map +1 -1
- package/dist/index65.js +20 -20
- package/dist/index65.js.map +1 -1
- package/dist/index67.js +26 -26
- package/dist/index67.js.map +1 -1
- package/dist/index69.js +21 -19
- package/dist/index69.js.map +1 -1
- package/dist/index7.js.map +1 -1
- package/dist/index71.js +2 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +3 -3
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +14 -14
- package/dist/index73.js.map +1 -1
- package/dist/index75.js +18 -18
- package/dist/index75.js.map +1 -1
- package/dist/index77.js +11 -11
- package/dist/index77.js.map +1 -1
- package/dist/index79.js +15 -15
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +10 -7
- package/dist/index8.js.map +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index83.js +20 -20
- package/dist/index83.js.map +1 -1
- package/dist/index85.js +34 -34
- package/dist/index85.js.map +1 -1
- package/dist/index87.js +18 -18
- package/dist/index87.js.map +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js.map +1 -1
- package/dist/index91.js +53 -53
- package/dist/index91.js.map +1 -1
- package/dist/index93.js +16 -16
- package/dist/index93.js.map +1 -1
- package/dist/index95.js +21 -21
- package/dist/index95.js.map +1 -1
- package/dist/index97.js +37 -37
- package/dist/index97.js.map +1 -1
- package/dist/index99.js +18 -18
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +18 -18
- package/dist/types/ExtractGenericFromComputedRef.d.ts +1 -1
- package/dist/types/ExtractGenericFromRef.d.ts +1 -1
- package/dist/types/VoidHtmlElements.d.ts +1 -1
- package/dist/utilities/functions/cloneDeep.d.ts +1 -1
- package/dist/utilities/functions/debounce.d.ts +1 -1
- package/dist/utilities/functions/flow.d.ts +1 -1
- package/dist/utilities/functions/get.d.ts +1 -1
- package/dist/utilities/functions/isNotNil.d.ts +1 -1
- package/dist/utilities/functions/mapValues.d.ts +1 -1
- package/dist/utilities/functions/merge.d.ts +1 -1
- package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
- package/dist/utilities/functions/overEvery.d.ts +1 -1
- package/dist/utilities/functions/percentage.d.ts +4 -4
- package/dist/utilities/functions/pick.d.ts +1 -1
- package/dist/utilities/functions/pickBy.d.ts +1 -1
- package/dist/utilities/functions/roundToTheNearest.d.ts +1 -1
- package/package.json +93 -77
- package/dist/index256.js +0 -5
- package/dist/index256.js.map +0 -1
|
@@ -18,43 +18,43 @@ type UserOptions = {
|
|
|
18
18
|
* Boolean that sets whether to display or hide the buttons.
|
|
19
19
|
* Confirms without actions can only be dismissed by clicking on the overlay or the close button.
|
|
20
20
|
*/
|
|
21
|
-
actions?: State[
|
|
21
|
+
actions?: State['actions'];
|
|
22
22
|
/**
|
|
23
23
|
* Description of the content of the modal for accessibility purposes.
|
|
24
24
|
*/
|
|
25
|
-
description?: State[
|
|
25
|
+
description?: State['description'];
|
|
26
26
|
/**
|
|
27
27
|
* Boolean that defines whether to display or hide the "No" action.
|
|
28
28
|
*/
|
|
29
|
-
no?: State[
|
|
29
|
+
no?: State['no'];
|
|
30
30
|
/**
|
|
31
31
|
* Text content of the "No" action.
|
|
32
32
|
*/
|
|
33
|
-
noText?: State[
|
|
33
|
+
noText?: State['noText'];
|
|
34
34
|
/**
|
|
35
35
|
* Text content of the modal.
|
|
36
36
|
*/
|
|
37
|
-
text: State[
|
|
37
|
+
text: State['text'];
|
|
38
38
|
/**
|
|
39
39
|
* The name of the theme it applies a css class to BbConfirm for styling.
|
|
40
40
|
*/
|
|
41
|
-
theme?: State[
|
|
41
|
+
theme?: State['theme'];
|
|
42
42
|
/**
|
|
43
43
|
* Tittle of the modal
|
|
44
44
|
*/
|
|
45
|
-
title: State[
|
|
45
|
+
title: State['title'];
|
|
46
46
|
/**
|
|
47
47
|
* Boolean that defines whether to display or hide the "Yes" action.
|
|
48
48
|
*/
|
|
49
|
-
yes?: State[
|
|
49
|
+
yes?: State['yes'];
|
|
50
50
|
/**
|
|
51
51
|
* Text content of the "Yes" action.
|
|
52
52
|
*/
|
|
53
|
-
yesText?: State[
|
|
53
|
+
yesText?: State['yesText'];
|
|
54
54
|
/**
|
|
55
55
|
* Size of the confirm modal. Use any sizes valid for `BbModal`.
|
|
56
56
|
*/
|
|
57
|
-
size?: State[
|
|
57
|
+
size?: State['size'];
|
|
58
58
|
};
|
|
59
59
|
export declare const state: {
|
|
60
60
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CommonProps } from '../types/CommonProps';
|
|
2
|
-
import type { Ref } from
|
|
2
|
+
import type { Ref } from 'vue';
|
|
3
3
|
export type BaseOption = {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
id?: string;
|
|
@@ -30,7 +30,7 @@ type Params = {
|
|
|
30
30
|
initialItems: Ref<any[] | ((prefill: boolean, modelValue?: any[]) => Promise<any[]>) | ((prefill: boolean, modelValue?: any[]) => any[])>;
|
|
31
31
|
itemText?: string | ((item: any) => string);
|
|
32
32
|
itemValue?: string | ((item: any) => any);
|
|
33
|
-
matchStrategy: Exclude<CommonProps[
|
|
33
|
+
matchStrategy: Exclude<CommonProps['matchStrategy'], undefined>;
|
|
34
34
|
modelValue: Ref<any>;
|
|
35
35
|
modelValueDebounceTime: number;
|
|
36
36
|
multiple?: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type Ref } from
|
|
2
|
-
import type { RouteLocationNormalizedLoaded } from
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
3
|
export declare function useRoute(): Ref<RouteLocationNormalizedLoaded | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Router } from
|
|
1
|
+
import type { Router } from 'vue-router';
|
|
2
2
|
export declare function useRouter(): Router | undefined;
|
|
@@ -20,8 +20,8 @@ export type Message = {
|
|
|
20
20
|
* Identifier of the message
|
|
21
21
|
*/
|
|
22
22
|
id: string;
|
|
23
|
-
} & Pick<CommonProps,
|
|
24
|
-
type MessageParameter = string | (Pick<Message,
|
|
23
|
+
} & Pick<CommonProps, 'showClose'>;
|
|
24
|
+
type MessageParameter = string | (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> & ({
|
|
25
25
|
/**
|
|
26
26
|
* Time in milliseconds before the message disappears
|
|
27
27
|
*/
|
|
@@ -34,7 +34,7 @@ type MessageParameter = string | (Pick<Message, "title" | "text" | "icon" | "the
|
|
|
34
34
|
* Whether to show the closing action to dismiss the message.
|
|
35
35
|
* Show close is optional if the message is not persistent
|
|
36
36
|
*/
|
|
37
|
-
showClose?: Message[
|
|
37
|
+
showClose?: Message['showClose'];
|
|
38
38
|
} | {
|
|
39
39
|
/**
|
|
40
40
|
* Time in milliseconds before the message disappears
|
|
@@ -48,7 +48,7 @@ type MessageParameter = string | (Pick<Message, "title" | "text" | "icon" | "the
|
|
|
48
48
|
* Whether to show the closing action to dismiss the message.
|
|
49
49
|
* Show close is optional if the message is not persistent
|
|
50
50
|
*/
|
|
51
|
-
showClose?: Message[
|
|
51
|
+
showClose?: Message['showClose'];
|
|
52
52
|
} | {
|
|
53
53
|
/**
|
|
54
54
|
* Time in milliseconds before the message disappears
|
|
@@ -76,7 +76,7 @@ export declare const state: {
|
|
|
76
76
|
};
|
|
77
77
|
export declare const useToast: () => {
|
|
78
78
|
toast: (message: MessageParameter) => string;
|
|
79
|
-
dismiss: (id: Message[
|
|
79
|
+
dismiss: (id: Message['id']) => {
|
|
80
80
|
title?: string | undefined;
|
|
81
81
|
text: string;
|
|
82
82
|
icon?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
export { useBroadcastChannelInstance } from
|
|
2
|
-
export { useConfirm } from
|
|
3
|
-
export { useCountdown } from
|
|
4
|
-
export { useToast } from
|
|
5
|
-
export { useOptions } from
|
|
6
|
-
export { useId } from
|
|
7
|
-
export { useWizard, wizardInjectionKey } from
|
|
8
|
-
export type { Step, WizardState } from
|
|
9
|
-
export type { BaseOption, Option } from
|
|
10
|
-
export { default as BaseButton } from
|
|
11
|
-
export { default as BaseCheckbox } from
|
|
12
|
-
export { default as BaseCheckboxGroup } from
|
|
13
|
-
export { default as BaseDatePicker } from
|
|
14
|
-
export { default as BaseDatePickerInput } from
|
|
15
|
-
export { default as BaseDialog } from
|
|
16
|
-
export { default as BaseInputContainer } from
|
|
17
|
-
export { default as BaseNumberInput } from
|
|
18
|
-
export { default as BaseRadio } from
|
|
19
|
-
export { default as BaseRadioGroup } from
|
|
20
|
-
export { default as BaseRating } from
|
|
21
|
-
export { default as BaseSelect } from
|
|
22
|
-
export { default as BaseSlider } from
|
|
23
|
-
export { default as BaseSwitch } from
|
|
24
|
-
export { default as BaseSwitchGroup } from
|
|
25
|
-
export { default as BaseTextarea } from
|
|
26
|
-
export { default as BaseTextInput } from
|
|
27
|
-
export { default as BbAccordion } from
|
|
28
|
-
export { default as BbAlert } from
|
|
29
|
-
export { default as BbAvatar } from
|
|
30
|
-
export { default as BbBadge } from
|
|
31
|
-
export { default as BbBreadcrumbs } from
|
|
32
|
-
export { default as BbButton } from
|
|
33
|
-
export { default as BbCheckbox } from
|
|
34
|
-
export { default as BbCheckboxGroup } from
|
|
35
|
-
export { default as BbChip } from
|
|
36
|
-
export { default as BbCollapsible } from
|
|
37
|
-
export { default as BbConfirm } from
|
|
38
|
-
export { default as BbDatePickerInput } from
|
|
39
|
-
export { default as BbDialog } from
|
|
40
|
-
export { default as BbDropdown } from
|
|
41
|
-
export { default as BbDropdownButton } from
|
|
42
|
-
export { default as BbDropzone } from
|
|
43
|
-
export { default as BbHover } from
|
|
44
|
-
export { default as BbIcon } from
|
|
45
|
-
export { default as BbIntersection } from
|
|
46
|
-
export { default as BbNumberInput } from
|
|
47
|
-
export { default as BbOffCanvas } from
|
|
48
|
-
export { default as BbPagination } from
|
|
49
|
-
export { default as BbPopover } from
|
|
50
|
-
export { default as BbProgress } from
|
|
51
|
-
export { default as BbRadio } from
|
|
52
|
-
export { default as BbRadioGroup } from
|
|
53
|
-
export { default as BbRating } from
|
|
54
|
-
export { default as BbRatio } from
|
|
55
|
-
export { default as BbSelect } from
|
|
56
|
-
export { default as BbSlider } from
|
|
57
|
-
export { default as BbSmoothHeight } from
|
|
58
|
-
export { default as BbSpinner } from
|
|
59
|
-
export { default as BbSwitch } from
|
|
60
|
-
export { default as BbSwitchGroup } from
|
|
61
|
-
export { default as BbTab } from
|
|
62
|
-
export { default as BbTable } from
|
|
63
|
-
export { default as BbTag } from
|
|
64
|
-
export { default as BbTextarea } from
|
|
65
|
-
export { default as BbTextInput } from
|
|
66
|
-
export { default as BbToast } from
|
|
67
|
-
export { default as BbTooltip } from
|
|
68
|
-
export { default as BbTree } from
|
|
69
|
-
export type { BaseButtonProps } from
|
|
70
|
-
export type { BaseCheckboxGroupProps, BaseCheckboxGroupEvents } from
|
|
71
|
-
export type { BaseCheckboxProps, BaseCheckboxEvents } from
|
|
72
|
-
export type { BaseDatePickerInputProps, BaseDatePickerInputEvents } from
|
|
73
|
-
export type { BaseDatePickerProps } from
|
|
74
|
-
export type { BaseDialogProps, Sizes as BaseDialogSizes, BaseDialogEvents } from
|
|
75
|
-
export type { BaseInputContainerProps, BaseInputContainerSlots } from
|
|
76
|
-
export type { BaseNumberInputProps, BaseNumberInputEvents } from
|
|
77
|
-
export type { BaseRadioGroupProps, BaseRadioGroupEvents } from
|
|
78
|
-
export type { BaseRadioProps, BaseRadioEvents } from
|
|
79
|
-
export type { BaseRatingProps, BaseRatingEvents } from
|
|
80
|
-
export type { BaseSelectProps, BaseSelectEvents } from
|
|
81
|
-
export type { BaseSliderProps, BaseSliderEvents } from
|
|
82
|
-
export type { BaseSwitchGroupProps, BaseSwitchGroupEvents } from
|
|
83
|
-
export type { BaseSwitchProps, BaseSwitchEvents } from
|
|
84
|
-
export type { BaseTextareaProps, BaseTextareaEvents } from
|
|
85
|
-
export type { BaseTextInputProps, BaseTextInputEvents } from
|
|
86
|
-
export type { BbAccordionProps, BbAccordionEvents } from
|
|
87
|
-
export type { BbAlertProps, BbAlertEvents } from
|
|
88
|
-
export type { BbAvatarProps } from
|
|
89
|
-
export type { BbBadgeProps } from
|
|
90
|
-
export type { BbBreadcrumbsProps, Item as BbBreadcrumbsItem } from
|
|
91
|
-
export type { BbButtonProps } from
|
|
92
|
-
export type { BbCheckboxGroupProps, BbCheckboxGroupEvents } from
|
|
93
|
-
export type { BbCheckboxProps, BbCheckboxEvents } from
|
|
94
|
-
export type { BbChipProps, BbChipEvents } from
|
|
95
|
-
export type { BbCollapsibleProps } from
|
|
96
|
-
export type { BbDatePickerInputProps, BbDatePickerInputEvents } from
|
|
97
|
-
export type { BbDialogProps, Sizes as BbDialogSizes, BbDialogEvents } from
|
|
98
|
-
export type { BbDropdownButtonProps } from
|
|
99
|
-
export type { BbDropdownProps, Item as BbDropdownItem } from
|
|
100
|
-
export type { BbDropzoneProps, DropZoneError, BbDropzoneEvents } from
|
|
101
|
-
export type { BbIconProps, Size as BbIconSizes } from
|
|
102
|
-
export type { BbIntersectionProps, BbIntersectionEvents } from
|
|
103
|
-
export type { BbNumberInputProps, BbNumberInputEvents } from
|
|
104
|
-
export type { BbOffCanvasProps, Sizes as OffCanvasSizes, BbOffCanvasEvents } from
|
|
105
|
-
export type { BbPaginationProps, BbPaginationEvents } from
|
|
106
|
-
export type { BbPopoverProps, BbPopoverEvents } from
|
|
107
|
-
export type { BbProgressProps } from
|
|
108
|
-
export type { BbRadioGroupEvents, BbRadioGroupProps } from
|
|
109
|
-
export type { BbRadioProps, BbRadioEvents } from
|
|
110
|
-
export type { BbRatingProps, BbRatingEvents } from
|
|
111
|
-
export type { BbRatioProps } from
|
|
112
|
-
export type { BbSelectProps, BbSelectEvents, BbSelectSlots } from
|
|
113
|
-
export type { BbSliderProps, BbSliderEvents } from
|
|
114
|
-
export type { BbSmoothHeightProps, BbSmoothHeightSlots } from
|
|
115
|
-
export type { BbSpinnerProps, Size as BbSpinnerSizes } from
|
|
116
|
-
export type { BbSwitchGroupEvents, BbSwitchGroupProps } from
|
|
117
|
-
export type { BbSwitchProps, BbSwitchEvents } from
|
|
118
|
-
export type { BbTableProps, TableColumn, BbTableEvents, BbTableSlots } from
|
|
119
|
-
export type { BbTabProps, BbTabEvents, BbTabItem } from
|
|
120
|
-
export type { BbStepProps, BbStepItem, BbStepEvents } from
|
|
121
|
-
export type { BbTagProps, BbTagEvents } from
|
|
122
|
-
export type { BbTextareaProps, BbTextareaEvents } from
|
|
123
|
-
export type { BbTextInputProps, BbTextInputEvents } from
|
|
124
|
-
export type { BbToastProps } from
|
|
125
|
-
export type { BbTooltipProps } from
|
|
126
|
-
export type { BbTreeProps, TreeItem, BbTreeSlots } from
|
|
1
|
+
export { useBroadcastChannelInstance } from './composables/useBroadcastChannelInstance';
|
|
2
|
+
export { useConfirm } from './composables/useConfirm';
|
|
3
|
+
export { useCountdown } from './composables/useCountdown';
|
|
4
|
+
export { useToast } from './composables/useToast';
|
|
5
|
+
export { useOptions } from './composables/useOptions';
|
|
6
|
+
export { useId } from './composables/useId';
|
|
7
|
+
export { useWizard, wizardInjectionKey } from './composables/useWizard';
|
|
8
|
+
export type { Step, WizardState } from './composables/useWizard';
|
|
9
|
+
export type { BaseOption, Option } from './composables/useOptions';
|
|
10
|
+
export { default as BaseButton } from './components/BaseButton/BaseButton.vue';
|
|
11
|
+
export { default as BaseCheckbox } from './components/BaseCheckbox/BaseCheckbox.vue';
|
|
12
|
+
export { default as BaseCheckboxGroup } from './components/BaseCheckboxGroup/BaseCheckboxGroup.vue';
|
|
13
|
+
export { default as BaseDatePicker } from './components/BaseDatePicker/BaseDatePicker.vue';
|
|
14
|
+
export { default as BaseDatePickerInput } from './components/BaseDatePickerInput/BaseDatePickerInput.vue';
|
|
15
|
+
export { default as BaseDialog } from './components/BaseDialog/BaseDialog.vue';
|
|
16
|
+
export { default as BaseInputContainer } from './components/BaseInputContainer/BaseInputContainer.vue';
|
|
17
|
+
export { default as BaseNumberInput } from './components/BaseNumberInput/BaseNumberInput.vue';
|
|
18
|
+
export { default as BaseRadio } from './components/BaseRadio/BaseRadio.vue';
|
|
19
|
+
export { default as BaseRadioGroup } from './components/BaseRadioGroup/BaseRadioGroup.vue';
|
|
20
|
+
export { default as BaseRating } from './components/BaseRating/BaseRating.vue';
|
|
21
|
+
export { default as BaseSelect } from './components/BaseSelect/BaseSelect.vue';
|
|
22
|
+
export { default as BaseSlider } from './components/BaseSlider/BaseSlider.vue';
|
|
23
|
+
export { default as BaseSwitch } from './components/BaseSwitch/BaseSwitch.vue';
|
|
24
|
+
export { default as BaseSwitchGroup } from './components/BaseSwitchGroup/BaseSwitchGroup.vue';
|
|
25
|
+
export { default as BaseTextarea } from './components/BaseTextarea/BaseTextarea.vue';
|
|
26
|
+
export { default as BaseTextInput } from './components/BaseTextInput/BaseTextInput.vue';
|
|
27
|
+
export { default as BbAccordion } from './components/BbAccordion/BbAccordion.vue';
|
|
28
|
+
export { default as BbAlert } from './components/BbAlert/BbAlert.vue';
|
|
29
|
+
export { default as BbAvatar } from './components/BbAvatar/BbAvatar.vue';
|
|
30
|
+
export { default as BbBadge } from './components/BbBadge/BbBadge.vue';
|
|
31
|
+
export { default as BbBreadcrumbs } from './components/BbBreadcrumbs/BbBreadcrumbs.vue';
|
|
32
|
+
export { default as BbButton } from './components/BbButton/BbButton.vue';
|
|
33
|
+
export { default as BbCheckbox } from './components/BbCheckbox/BbCheckbox.vue';
|
|
34
|
+
export { default as BbCheckboxGroup } from './components/BbCheckboxGroup/BbCheckboxGroup.vue';
|
|
35
|
+
export { default as BbChip } from './components/BbChip/BbChip.vue';
|
|
36
|
+
export { default as BbCollapsible } from './components/BbCollapsible/BbCollapsible.vue';
|
|
37
|
+
export { default as BbConfirm } from './components/BbConfirm/BbConfirm.vue';
|
|
38
|
+
export { default as BbDatePickerInput } from './components/BbDatePickerInput/BbDatePickerInput.vue';
|
|
39
|
+
export { default as BbDialog } from './components/BbDialog/BbDialog.vue';
|
|
40
|
+
export { default as BbDropdown } from './components/BbDropdown/BbDropdown.vue';
|
|
41
|
+
export { default as BbDropdownButton } from './components/BbDropdownButton/BbDropdownButton.vue';
|
|
42
|
+
export { default as BbDropzone } from './components/BbDropzone/BbDropzone.vue';
|
|
43
|
+
export { default as BbHover } from './components/BbHover/BbHover.vue';
|
|
44
|
+
export { default as BbIcon } from './components/BbIcon/BbIcon.vue';
|
|
45
|
+
export { default as BbIntersection } from './components/BbIntersection/BbIntersection.vue';
|
|
46
|
+
export { default as BbNumberInput } from './components/BbNumberInput/BbNumberInput.vue';
|
|
47
|
+
export { default as BbOffCanvas } from './components/BbOffCanvas/BbOffCanvas.vue';
|
|
48
|
+
export { default as BbPagination } from './components/BbPagination/BbPagination.vue';
|
|
49
|
+
export { default as BbPopover } from './components/BbPopover/BbPopover.vue';
|
|
50
|
+
export { default as BbProgress } from './components/BbProgress/BbProgress.vue';
|
|
51
|
+
export { default as BbRadio } from './components/BbRadio/BbRadio.vue';
|
|
52
|
+
export { default as BbRadioGroup } from './components/BbRadioGroup/BbRadioGroup.vue';
|
|
53
|
+
export { default as BbRating } from './components/BbRating/BbRating.vue';
|
|
54
|
+
export { default as BbRatio } from './components/BbRatio/BbRatio.vue';
|
|
55
|
+
export { default as BbSelect } from './components/BbSelect/BbSelect.vue';
|
|
56
|
+
export { default as BbSlider } from './components/BbSlider/BbSlider.vue';
|
|
57
|
+
export { default as BbSmoothHeight } from './components/BbSmoothHeight/BbSmoothHeight.vue';
|
|
58
|
+
export { default as BbSpinner } from './components/BbSpinner/BbSpinner.vue';
|
|
59
|
+
export { default as BbSwitch } from './components/BbSwitch/BbSwitch.vue';
|
|
60
|
+
export { default as BbSwitchGroup } from './components/BbSwitchGroup/BbSwitchGroup.vue';
|
|
61
|
+
export { default as BbTab } from './components/BbTab/BbTab.vue';
|
|
62
|
+
export { default as BbTable } from './components/BbTable/BbTable.vue';
|
|
63
|
+
export { default as BbTag } from './components/BbTag/BbTag.vue';
|
|
64
|
+
export { default as BbTextarea } from './components/BbTextarea/BbTextarea.vue';
|
|
65
|
+
export { default as BbTextInput } from './components/BbTextInput/BbTextInput.vue';
|
|
66
|
+
export { default as BbToast } from './components/BbToast/BbToast.vue';
|
|
67
|
+
export { default as BbTooltip } from './components/BbTooltip/BbTooltip.vue';
|
|
68
|
+
export { default as BbTree } from './components/BbTree/BbTree.vue';
|
|
69
|
+
export type { BaseButtonProps } from './components/BaseButton/BaseButton.vue';
|
|
70
|
+
export type { BaseCheckboxGroupProps, BaseCheckboxGroupEvents, } from './components/BaseCheckboxGroup/BaseCheckboxGroup.vue';
|
|
71
|
+
export type { BaseCheckboxProps, BaseCheckboxEvents, } from './components/BaseCheckbox/BaseCheckbox.vue';
|
|
72
|
+
export type { BaseDatePickerInputProps, BaseDatePickerInputEvents, } from './components/BaseDatePickerInput/BaseDatePickerInput.vue';
|
|
73
|
+
export type { BaseDatePickerProps } from './components/BaseDatePicker/BaseDatePicker.vue';
|
|
74
|
+
export type { BaseDialogProps, Sizes as BaseDialogSizes, BaseDialogEvents, } from './components/BaseDialog/BaseDialog.vue';
|
|
75
|
+
export type { BaseInputContainerProps, BaseInputContainerSlots, } from './components/BaseInputContainer/BaseInputContainer.vue';
|
|
76
|
+
export type { BaseNumberInputProps, BaseNumberInputEvents, } from './components/BaseNumberInput/BaseNumberInput.vue';
|
|
77
|
+
export type { BaseRadioGroupProps, BaseRadioGroupEvents, } from './components/BaseRadioGroup/BaseRadioGroup.vue';
|
|
78
|
+
export type { BaseRadioProps, BaseRadioEvents, } from './components/BaseRadio/BaseRadio.vue';
|
|
79
|
+
export type { BaseRatingProps, BaseRatingEvents, } from './components/BaseRating/BaseRating.vue';
|
|
80
|
+
export type { BaseSelectProps, BaseSelectEvents, } from './components/BaseSelect/BaseSelect.vue';
|
|
81
|
+
export type { BaseSliderProps, BaseSliderEvents, } from './components/BaseSlider/BaseSlider.vue';
|
|
82
|
+
export type { BaseSwitchGroupProps, BaseSwitchGroupEvents, } from './components/BaseSwitchGroup/BaseSwitchGroup.vue';
|
|
83
|
+
export type { BaseSwitchProps, BaseSwitchEvents, } from './components/BaseSwitch/BaseSwitch.vue';
|
|
84
|
+
export type { BaseTextareaProps, BaseTextareaEvents, } from './components/BaseTextarea/BaseTextarea.vue';
|
|
85
|
+
export type { BaseTextInputProps, BaseTextInputEvents, } from './components/BaseTextInput/BaseTextInput.vue';
|
|
86
|
+
export type { BbAccordionProps, BbAccordionEvents, } from './components/BbAccordion/BbAccordion.vue';
|
|
87
|
+
export type { BbAlertProps, BbAlertEvents, } from './components/BbAlert/BbAlert.vue';
|
|
88
|
+
export type { BbAvatarProps } from './components/BbAvatar/BbAvatar.vue';
|
|
89
|
+
export type { BbBadgeProps } from './components/BbBadge/BbBadge.vue';
|
|
90
|
+
export type { BbBreadcrumbsProps, Item as BbBreadcrumbsItem, } from './components/BbBreadcrumbs/BbBreadcrumbs.vue';
|
|
91
|
+
export type { BbButtonProps } from './components/BbButton/BbButton.vue';
|
|
92
|
+
export type { BbCheckboxGroupProps, BbCheckboxGroupEvents, } from './components/BbCheckboxGroup/BbCheckboxGroup.vue';
|
|
93
|
+
export type { BbCheckboxProps, BbCheckboxEvents, } from './components/BbCheckbox/BbCheckbox.vue';
|
|
94
|
+
export type { BbChipProps, BbChipEvents } from './components/BbChip/BbChip.vue';
|
|
95
|
+
export type { BbCollapsibleProps } from './components/BbCollapsible/BbCollapsible.vue';
|
|
96
|
+
export type { BbDatePickerInputProps, BbDatePickerInputEvents, } from './components/BbDatePickerInput/BbDatePickerInput.vue';
|
|
97
|
+
export type { BbDialogProps, Sizes as BbDialogSizes, BbDialogEvents, } from './components/BbDialog/BbDialog.vue';
|
|
98
|
+
export type { BbDropdownButtonProps } from './components/BbDropdownButton/BbDropdownButton.vue';
|
|
99
|
+
export type { BbDropdownProps, Item as BbDropdownItem, } from './components/BbDropdown/BbDropdown.vue';
|
|
100
|
+
export type { BbDropzoneProps, DropZoneError, BbDropzoneEvents, } from './components/BbDropzone/BbDropzone.vue';
|
|
101
|
+
export type { BbIconProps, Size as BbIconSizes, } from './components/BbIcon/BbIcon.vue';
|
|
102
|
+
export type { BbIntersectionProps, BbIntersectionEvents, } from './components/BbIntersection/BbIntersection.vue';
|
|
103
|
+
export type { BbNumberInputProps, BbNumberInputEvents, } from './components/BbNumberInput/BbNumberInput.vue';
|
|
104
|
+
export type { BbOffCanvasProps, Sizes as OffCanvasSizes, BbOffCanvasEvents, } from './components/BbOffCanvas/BbOffCanvas.vue';
|
|
105
|
+
export type { BbPaginationProps, BbPaginationEvents, } from './components/BbPagination/BbPagination.vue';
|
|
106
|
+
export type { BbPopoverProps, BbPopoverEvents, } from './components/BbPopover/BbPopover.vue';
|
|
107
|
+
export type { BbProgressProps } from './components/BbProgress/BbProgress.vue';
|
|
108
|
+
export type { BbRadioGroupEvents, BbRadioGroupProps, } from './components/BbRadioGroup/BbRadioGroup.vue';
|
|
109
|
+
export type { BbRadioProps, BbRadioEvents, } from './components/BbRadio/BbRadio.vue';
|
|
110
|
+
export type { BbRatingProps, BbRatingEvents, } from './components/BbRating/BbRating.vue';
|
|
111
|
+
export type { BbRatioProps } from './components/BbRatio/BbRatio.vue';
|
|
112
|
+
export type { BbSelectProps, BbSelectEvents, BbSelectSlots, } from './components/BbSelect/BbSelect.vue';
|
|
113
|
+
export type { BbSliderProps, BbSliderEvents, } from './components/BbSlider/BbSlider.vue';
|
|
114
|
+
export type { BbSmoothHeightProps, BbSmoothHeightSlots, } from './components/BbSmoothHeight/BbSmoothHeight.vue';
|
|
115
|
+
export type { BbSpinnerProps, Size as BbSpinnerSizes, } from './components/BbSpinner/BbSpinner.vue';
|
|
116
|
+
export type { BbSwitchGroupEvents, BbSwitchGroupProps, } from './components/BbSwitchGroup/BbSwitchGroup.vue';
|
|
117
|
+
export type { BbSwitchProps, BbSwitchEvents, } from './components/BbSwitch/BbSwitch.vue';
|
|
118
|
+
export type { BbTableProps, TableColumn, BbTableEvents, BbTableSlots, } from './components/BbTable/types';
|
|
119
|
+
export type { BbTabProps, BbTabEvents, BbTabItem, } from './components/BbTab/BbTab.vue';
|
|
120
|
+
export type { BbStepProps, BbStepItem, BbStepEvents, } from './components/BbStep/BbStep.vue';
|
|
121
|
+
export type { BbTagProps, BbTagEvents } from './components/BbTag/BbTag.vue';
|
|
122
|
+
export type { BbTextareaProps, BbTextareaEvents, } from './components/BbTextarea/BbTextarea.vue';
|
|
123
|
+
export type { BbTextInputProps, BbTextInputEvents, } from './components/BbTextInput/BbTextInput.vue';
|
|
124
|
+
export type { BbToastProps } from './components/BbToast/BbToast.vue';
|
|
125
|
+
export type { BbTooltipProps } from './components/BbTooltip/BbTooltip.vue';
|
|
126
|
+
export type { BbTreeProps, TreeItem, BbTreeSlots, } from './components/BbTree/BbTree.vue';
|
package/dist/index101.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as O, computed as p, onMounted as de, watch as q, openBlock as c, createBlock as be, resolveDynamicComponent as re, normalizeClass as f, withCtx as ue, createElementBlock as d, toDisplayString as m, createCommentVNode as v, createElementVNode as o, renderSlot as y, createVNode as J, unref as C, Fragment as N, renderList as T, createTextVNode as pe, mergeProps as fe } from "vue";
|
|
2
|
-
import { add as me } from "./
|
|
2
|
+
import { add as me } from "./index228.js";
|
|
3
3
|
import { clamp as ye } from "./index196.js";
|
|
4
4
|
import { deepEqual as he } from "./index123.js";
|
|
5
5
|
import { isNil as j } from "./index120.js";
|
|
6
6
|
import { isNotNil as _e } from "./index124.js";
|
|
7
7
|
import { useId as ke } from "./index7.js";
|
|
8
8
|
import { useItemValue as ge } from "./index126.js";
|
|
9
|
-
import { when as ve } from "./
|
|
9
|
+
import { when as ve } from "./index198.js";
|
|
10
10
|
import G from "./index11.js";
|
|
11
11
|
import "./index12.js";
|
|
12
12
|
import Ce from "./index25.js";
|
|
@@ -85,13 +85,10 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
85
85
|
} else
|
|
86
86
|
throw new Error("No match strategy has been defined");
|
|
87
87
|
}), P = p(
|
|
88
|
-
() => t.columns.reduce(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
},
|
|
93
|
-
{}
|
|
94
|
-
)
|
|
88
|
+
() => t.columns.reduce((e, a) => {
|
|
89
|
+
const l = a.key.split(/\W+/g).join("_");
|
|
90
|
+
return e[a.key] = l, e;
|
|
91
|
+
}, {})
|
|
95
92
|
), g = O([]), L = async () => {
|
|
96
93
|
let e = [];
|
|
97
94
|
Array.isArray(t.items) ? e = t.items : typeof t.items == "function" && (I.value = !0, e = await t.items(!0), I.value = !1), g.value = e;
|
|
@@ -109,19 +106,17 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
109
106
|
}, t.depsDebounceTime));
|
|
110
107
|
});
|
|
111
108
|
const te = p(
|
|
112
|
-
() => t.columns.map(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
)
|
|
109
|
+
() => t.columns.map((e) => {
|
|
110
|
+
const a = e.align || "left", { label: l, key: n } = e, h = `header_${P.value[e.key]}`;
|
|
111
|
+
let i = [`bb-table-header--${a}`];
|
|
112
|
+
return t.thClass && (i = i.concat(t.thClass)), e.thClass && (i = i.concat(e.thClass)), {
|
|
113
|
+
align: a,
|
|
114
|
+
key: n,
|
|
115
|
+
label: l,
|
|
116
|
+
slotName: h,
|
|
117
|
+
classes: i
|
|
118
|
+
};
|
|
119
|
+
})
|
|
125
120
|
), w = p(() => g.value.map((e) => {
|
|
126
121
|
const a = M(e, t.itemValue), l = JSON.stringify(a);
|
|
127
122
|
let n = !!t.selectable;
|
|
@@ -236,6 +231,8 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
236
231
|
flush: "post"
|
|
237
232
|
}
|
|
238
233
|
), (e, a) => (c(), be(re(ee.value), {
|
|
234
|
+
ref_key: "container",
|
|
235
|
+
ref: A,
|
|
239
236
|
class: f({
|
|
240
237
|
"bb-table": !0,
|
|
241
238
|
[`bb-table--align-${e.align}`]: !0,
|
|
@@ -245,9 +242,7 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
245
242
|
"bb-table--loading": F.value,
|
|
246
243
|
"bb-table--empty": !g.value.length,
|
|
247
244
|
"bb-table--selectable": e.selectable
|
|
248
|
-
})
|
|
249
|
-
ref_key: "container",
|
|
250
|
-
ref: A
|
|
245
|
+
})
|
|
251
246
|
}, {
|
|
252
247
|
default: ue(() => [
|
|
253
248
|
e.selectable ? (c(), d("legend", we, m(e.legend), 1)) : v("", !0),
|
|
@@ -282,11 +277,11 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
282
277
|
class: "bb-table-check",
|
|
283
278
|
disabled: e.disabled,
|
|
284
279
|
indeterminate: se.value,
|
|
285
|
-
readonly: e.readonly,
|
|
286
|
-
name: `select_all_${e.name || ""}`,
|
|
287
280
|
"model-value": U.value,
|
|
281
|
+
name: `select_all_${e.name || ""}`,
|
|
282
|
+
readonly: e.readonly,
|
|
288
283
|
"onUpdate:modelValue": ae
|
|
289
|
-
}, null, 8, ["disabled", "indeterminate", "
|
|
284
|
+
}, null, 8, ["disabled", "indeterminate", "model-value", "name", "readonly"]),
|
|
290
285
|
o("span", Te, m(C(Y)), 1)
|
|
291
286
|
], 2)) : e.multiple ? v("", !0) : (c(), d("span", Ae, m(C(Z)), 1))
|
|
292
287
|
])
|
|
@@ -299,8 +294,8 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
299
294
|
}, [
|
|
300
295
|
y(e.$slots, l.slotName, {
|
|
301
296
|
classes: l.classes,
|
|
302
|
-
items: g.value,
|
|
303
297
|
item: void 0,
|
|
298
|
+
items: g.value,
|
|
304
299
|
label: l.label
|
|
305
300
|
}, () => [
|
|
306
301
|
o("span", Se, m(l.label), 1)
|
|
@@ -331,16 +326,16 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
331
326
|
o("span", Ie, m(C(Q)), 1),
|
|
332
327
|
o("div", Le, [
|
|
333
328
|
(c(!0), d(N, null, T(ce.value, (l) => (c(), d("div", {
|
|
334
|
-
|
|
335
|
-
|
|
329
|
+
key: l,
|
|
330
|
+
class: "bb-table-skeleton-item"
|
|
336
331
|
}, Ee))), 128))
|
|
337
332
|
])
|
|
338
333
|
], 8, De)
|
|
339
334
|
])
|
|
340
335
|
]) : g.value.length ? y(e.$slots, "tbody", { key: 2 }, () => [
|
|
341
336
|
(c(!0), d(N, null, T(w.value, (l) => (c(), d("tr", {
|
|
342
|
-
class: "bb-table-data__row",
|
|
343
337
|
key: l.jsonValue,
|
|
338
|
+
class: "bb-table-data__row",
|
|
344
339
|
onClick: l.onRowClick,
|
|
345
340
|
onContextmenu: l.onRowContextMenu,
|
|
346
341
|
onDblclick: l.onRowDblClick
|
|
@@ -350,12 +345,12 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
350
345
|
class: f(["bb-table-data__cell bb-table-data__cell--select", e.tdClass])
|
|
351
346
|
}, [
|
|
352
347
|
y(e.$slots, "select", {
|
|
353
|
-
item: l.original,
|
|
354
|
-
value: l.value,
|
|
355
348
|
checked: l.selected,
|
|
356
349
|
disabled: !l.selectable,
|
|
357
350
|
inputName: C(D),
|
|
358
|
-
|
|
351
|
+
item: l.original,
|
|
352
|
+
readonly: !!e.readonly,
|
|
353
|
+
value: l.value
|
|
359
354
|
}, () => [
|
|
360
355
|
e.multiple ? (c(), d("label", {
|
|
361
356
|
key: 0,
|
|
@@ -364,8 +359,8 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
364
359
|
}])
|
|
365
360
|
}, [
|
|
366
361
|
J(G, {
|
|
367
|
-
class: "bb-table-check",
|
|
368
362
|
checked: l.selected || U.value,
|
|
363
|
+
class: "bb-table-check",
|
|
369
364
|
disabled: !l.selectable,
|
|
370
365
|
name: C(D),
|
|
371
366
|
readonly: e.readonly,
|
|
@@ -379,8 +374,8 @@ const we = { key: 0 }, Ve = { class: "bb-table-header-row" }, Ne = { class: "bb-
|
|
|
379
374
|
}])
|
|
380
375
|
}, [
|
|
381
376
|
J(Ce, {
|
|
382
|
-
class: "bb-table-radio",
|
|
383
377
|
checked: l.selected,
|
|
378
|
+
class: "bb-table-radio",
|
|
384
379
|
disabled: !l.selectable,
|
|
385
380
|
name: C(D),
|
|
386
381
|
readonly: e.readonly,
|