@adyen/bento-vue2 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +65 -0
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +3 -8
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +3 -6
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +7 -5
- package/dist/@types/packages/vue2/src/components/{internal/calendar → date-range-picker}/composables/use-granularity-memory.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +18 -19
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.types.d.ts +20 -0
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +90 -0
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.keys.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +16 -0
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +54 -0
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.types.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +80 -0
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +60 -0
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +12 -1
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.types.d.ts +3 -6
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +0 -19
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +1 -1
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/dialog-page.css +1 -0
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/teleport.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +71 -93
- package/dist/button.js.map +1 -1
- package/dist/card.js +3 -3
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.bf0c938c.js → base-button.3c3d473d.js} +2 -2
- package/dist/chunks/{base-button.bf0c938c.js.map → base-button.3c3d473d.js.map} +1 -1
- package/dist/chunks/{base-modal.1dc6cf96.js → base-modal.27c6f2db.js} +5 -5
- package/dist/chunks/{base-modal.1dc6cf96.js.map → base-modal.27c6f2db.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.4ecf3d93.js → button-actions-with-menu.a38327c2.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.4ecf3d93.js.map → button-actions-with-menu.a38327c2.js.map} +1 -1
- package/dist/chunks/button-actions.1dc90a19.js +111 -0
- package/dist/chunks/button-actions.1dc90a19.js.map +1 -0
- package/dist/chunks/{button.f5739261.js → button.0b6cda85.js} +3 -3
- package/dist/chunks/{button.f5739261.js.map → button.0b6cda85.js.map} +1 -1
- package/dist/chunks/calendar.263cfc88.js +913 -0
- package/dist/chunks/calendar.263cfc88.js.map +1 -0
- package/dist/chunks/checkbox.c7a74005.js +275 -0
- package/dist/chunks/checkbox.c7a74005.js.map +1 -0
- package/dist/chunks/{controls-group.2b645d54.js → controls-group.8abe0bd1.js} +3 -3
- package/dist/chunks/{controls-group.2b645d54.js.map → controls-group.8abe0bd1.js.map} +1 -1
- package/dist/chunks/{copy.e01532cf.js → copy.647aae54.js} +4 -4
- package/dist/chunks/{copy.e01532cf.js.map → copy.647aae54.js.map} +1 -1
- package/dist/chunks/dialog-page.f787969c.js +113 -0
- package/dist/chunks/dialog-page.f787969c.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.d45138fa.js → dropdown-default-textbox.59803edd.js} +97 -111
- package/dist/chunks/dropdown-default-textbox.59803edd.js.map +1 -0
- package/dist/chunks/{dropdown.0a9acf8b.js → dropdown.0574f613.js} +62 -61
- package/dist/chunks/dropdown.0574f613.js.map +1 -0
- package/dist/chunks/{error-message.317dd85f.js → error-message.75666843.js} +2 -2
- package/dist/chunks/{error-message.317dd85f.js.map → error-message.75666843.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.afe02620.js → fixed-scroller.06574a66.js} +2 -2
- package/dist/chunks/{fixed-scroller.afe02620.js.map → fixed-scroller.06574a66.js.map} +1 -1
- package/dist/chunks/{footer-actions.e0b866b1.js → footer-actions.0268a57b.js} +4 -4
- package/dist/chunks/{footer-actions.e0b866b1.js.map → footer-actions.0268a57b.js.map} +1 -1
- package/dist/chunks/{index.7aa428c2.js → index.026ae47b.js} +2 -2
- package/dist/chunks/{index.7aa428c2.js.map → index.026ae47b.js.map} +1 -1
- package/dist/chunks/{index.898a95bc.js → index.0bb773a7.js} +6 -6
- package/dist/chunks/{index.898a95bc.js.map → index.0bb773a7.js.map} +1 -1
- package/dist/chunks/{index.651dac2d.js → index.10b9618d.js} +3 -3
- package/dist/chunks/{index.651dac2d.js.map → index.10b9618d.js.map} +1 -1
- package/dist/chunks/{index.6c299479.js → index.302e9cf2.js} +2 -2
- package/dist/chunks/{index.6c299479.js.map → index.302e9cf2.js.map} +1 -1
- package/dist/chunks/index.408e1419.js +712 -0
- package/dist/chunks/index.408e1419.js.map +1 -0
- package/dist/chunks/{index.88ac1dab.js → index.45cd2344.js} +31 -31
- package/dist/chunks/index.45cd2344.js.map +1 -0
- package/dist/chunks/{index.6c017121.js → index.5b47c56b.js} +7 -7
- package/dist/chunks/{index.6c017121.js.map → index.5b47c56b.js.map} +1 -1
- package/dist/chunks/{index.2e70720a.js → index.5bfc67d1.js} +2 -2
- package/dist/chunks/{index.2e70720a.js.map → index.5bfc67d1.js.map} +1 -1
- package/dist/chunks/{index.e6aa2c36.js → index.932c230b.js} +6 -6
- package/dist/chunks/{index.e6aa2c36.js.map → index.932c230b.js.map} +1 -1
- package/dist/chunks/{index.81443e01.js → index.a52b98d1.js} +8 -8
- package/dist/chunks/{index.81443e01.js.map → index.a52b98d1.js.map} +1 -1
- package/dist/chunks/{index.290bbc9e.js → index.dc985e76.js} +3 -3
- package/dist/chunks/{index.290bbc9e.js.map → index.dc985e76.js.map} +1 -1
- package/dist/chunks/{index.546b27ae.js → index.de687404.js} +3 -2
- package/dist/chunks/{index.546b27ae.js.map → index.de687404.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.720eabb5.js → listbox-option-tag.89846151.js} +3 -3
- package/dist/chunks/{listbox-option-tag.720eabb5.js.map → listbox-option-tag.89846151.js.map} +1 -1
- package/dist/chunks/{listbox.dc3d986e.js → listbox.a8180c4a.js} +5 -5
- package/dist/chunks/{listbox.dc3d986e.js.map → listbox.a8180c4a.js.map} +1 -1
- package/dist/chunks/{loading-button.390228ff.js → loading-button.50dddf2f.js} +2 -2
- package/dist/chunks/{loading-button.390228ff.js.map → loading-button.50dddf2f.js.map} +1 -1
- package/dist/chunks/modal-fullscreen.keys.b9f31632.js +5 -0
- package/dist/chunks/modal-fullscreen.keys.b9f31632.js.map +1 -0
- package/dist/chunks/sidepanel.keys.1ed8a57c.js +5 -0
- package/dist/chunks/sidepanel.keys.1ed8a57c.js.map +1 -0
- package/dist/chunks/{teleport.d52e5254.js → teleport.84b0f20b.js} +14 -13
- package/dist/chunks/teleport.84b0f20b.js.map +1 -0
- package/dist/chunks/{tooltip.d452f6c4.js → tooltip.6748027a.js} +3 -3
- package/dist/chunks/{tooltip.d452f6c4.js.map → tooltip.6748027a.js.map} +1 -1
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +18 -18
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +6 -6
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +19 -19
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +4 -4
- package/dist/index.js +299 -2935
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +78 -25
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +144 -44
- package/dist/modal-fullscreen.js.map +1 -1
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +147 -78
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +78 -111
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +12 -12
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +431 -5
- package/package.json +3 -3
- package/dist/chunks/calendar.7a2d1894.js +0 -960
- package/dist/chunks/calendar.7a2d1894.js.map +0 -1
- package/dist/chunks/checkbox.1345941b.js +0 -195
- package/dist/chunks/checkbox.1345941b.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.d45138fa.js.map +0 -1
- package/dist/chunks/dropdown.0a9acf8b.js.map +0 -1
- package/dist/chunks/index.84c2cef6.js +0 -637
- package/dist/chunks/index.84c2cef6.js.map +0 -1
- package/dist/chunks/index.88ac1dab.js.map +0 -1
- package/dist/chunks/sidepanel.keys.3f8d69c1.js +0 -7
- package/dist/chunks/sidepanel.keys.3f8d69c1.js.map +0 -1
- package/dist/chunks/teleport.d52e5254.js.map +0 -1
- /package/dist/@types/packages/vue2/src/components/{internal/calendar → date-range-picker}/composables/use-granularity-memory.d.ts +0 -0
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
BentoMenu,
|
|
46
46
|
BentoModal,
|
|
47
47
|
BentoModalFullscreen,
|
|
48
|
+
BentoModalFullscreenPage,
|
|
48
49
|
BentoPagination,
|
|
49
50
|
BentoPaymentMethod,
|
|
50
51
|
BentoPopover,
|
|
@@ -74,6 +75,7 @@ import {
|
|
|
74
75
|
BentoTimelineItem,
|
|
75
76
|
BentoToast,
|
|
76
77
|
BentoToggle,
|
|
78
|
+
BentoToggleButton,
|
|
77
79
|
BentoTutorial,
|
|
78
80
|
BentoTypography,
|
|
79
81
|
} from './index';
|
|
@@ -126,6 +128,7 @@ declare module 'vue' {
|
|
|
126
128
|
BentoMenu: typeof BentoMenu;
|
|
127
129
|
BentoModal: typeof BentoModal;
|
|
128
130
|
BentoModalFullscreen: typeof BentoModalFullscreen;
|
|
131
|
+
BentoModalFullscreenPage: typeof BentoModalFullscreenPage;
|
|
129
132
|
BentoPagination: typeof BentoPagination;
|
|
130
133
|
BentoPaymentMethod: typeof BentoPaymentMethod;
|
|
131
134
|
BentoPopover: typeof BentoPopover;
|
|
@@ -154,6 +157,7 @@ declare module 'vue' {
|
|
|
154
157
|
BentoTimelineItem: typeof BentoTimelineItem;
|
|
155
158
|
BentoToast: typeof BentoToast;
|
|
156
159
|
BentoToggle: typeof BentoToggle;
|
|
160
|
+
BentoToggleButton: typeof BentoToggleButton;
|
|
157
161
|
BentoTutorial: typeof BentoTutorial;
|
|
158
162
|
BentoTypography: typeof BentoTypography;
|
|
159
163
|
BentoTextarea: typeof BentoTextarea;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoToggleButton } from './toggle-button.vue';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
condensed: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
inverse: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
variant: {
|
|
15
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | import("../../../../../../core/src/components/button/button.types.js").BentoButtonVariant>;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: import("../../../../../../core/src/components/button/button.types.js").BentoButtonVariant) => boolean;
|
|
18
|
+
};
|
|
19
|
+
toggled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
24
|
+
click: (event: MouseEvent) => void;
|
|
25
|
+
} & {
|
|
26
|
+
"update:toggled": (newToggleState: boolean) => void;
|
|
27
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
condensed: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
inverse: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
variant: {
|
|
41
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | import("../../../../../../core/src/components/button/button.types.js").BentoButtonVariant>;
|
|
42
|
+
default: string;
|
|
43
|
+
validator: (value: import("../../../../../../core/src/components/button/button.types.js").BentoButtonVariant) => boolean;
|
|
44
|
+
};
|
|
45
|
+
toggled: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
variant: "primary" | "secondary" | "tertiary" | import("../../../../../../core/src/components/button/button.types.js").BentoButtonVariant;
|
|
51
|
+
condensed: boolean;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
inverse: boolean;
|
|
54
|
+
toggled: boolean;
|
|
55
|
+
}>, Record<string, (_: {
|
|
56
|
+
key: string | number;
|
|
57
|
+
} | {
|
|
58
|
+
key?: undefined;
|
|
59
|
+
}) => any>>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle.types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BentoToggleState = 'default' | 'toggled';
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import type { BentoTag } from "../tag";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
UNCHECKED = "unchecked",
|
|
6
|
-
DISABLED = "disabled",
|
|
7
|
-
ERROR = "error",
|
|
8
|
-
READONLY = "readonly"
|
|
9
|
-
}
|
|
2
|
+
import type { BentoCheckboxType, BentoMultiCheckboxType } from '../internal/checkbox-input';
|
|
3
|
+
import { BentoCheckboxState } from '../internal/checkbox-input';
|
|
4
|
+
export { BentoCheckboxState, BentoCheckboxType, BentoMultiCheckboxType };
|
|
10
5
|
export declare enum BentoCheckboxEvent {
|
|
11
6
|
UPDATE = "update:model-value",
|
|
12
7
|
INPUT = "input"
|
|
@@ -88,20 +88,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
conditionalClass: import("vue").ComputedRef<{
|
|
89
89
|
[x: string]: boolean;
|
|
90
90
|
}>;
|
|
91
|
-
conditionalClassOutline: import("vue").ComputedRef<{
|
|
92
|
-
[x: string]: boolean;
|
|
93
|
-
}>;
|
|
94
91
|
defaultSlotValue: string;
|
|
95
92
|
descriptionSlotValue: string;
|
|
96
93
|
isCheckboxGroup: import("vue").ComputedRef<boolean>;
|
|
97
94
|
isChecked: import("vue").ComputedRef<boolean>;
|
|
98
95
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
96
|
+
shouldShowError: import("vue").ComputedRef<boolean>;
|
|
99
97
|
shouldShowErrorMessage: import("vue").ComputedRef<boolean>;
|
|
100
98
|
contentSlotAvailable: import("vue").ComputedRef<boolean>;
|
|
101
99
|
hasContentSlot: import("vue").ComputedRef<boolean>;
|
|
102
100
|
hasSlot: (name: string) => boolean;
|
|
103
|
-
onChange: (
|
|
104
|
-
onClick: (event: Event) => void;
|
|
101
|
+
onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
|
|
105
102
|
t: (key: "required" | "optional" | "ariaLabelFallback", values?: import("vue-i18n").default.Values) => string;
|
|
106
103
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
107
104
|
ariaLabel: {
|
|
@@ -189,8 +186,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
186
|
readonly: boolean;
|
|
190
187
|
errorMessage: string;
|
|
191
188
|
ariaLabel: string;
|
|
192
|
-
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
193
189
|
hasError: boolean;
|
|
194
190
|
indeterminate: boolean;
|
|
191
|
+
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
195
192
|
}>;
|
|
196
193
|
export default _default;
|
|
@@ -165,8 +165,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
165
|
tooltipText: string;
|
|
166
166
|
hideLabel: boolean;
|
|
167
167
|
errorMessage: string;
|
|
168
|
-
modelValue: (string | number)[];
|
|
169
168
|
hasError: boolean;
|
|
169
|
+
modelValue: (string | number)[];
|
|
170
170
|
formId: string;
|
|
171
171
|
}>;
|
|
172
172
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export declare enum DataGridCellPropClass {
|
|
|
5
5
|
NUMERIC = "numeric",
|
|
6
6
|
CONDENSED = "condensed",
|
|
7
7
|
FROZEN = "frozen",
|
|
8
|
-
OVERFLOW_ELLIPSIS = "ellipsis",
|
|
8
|
+
OVERFLOW_ELLIPSIS = "overflow-ellipsis",
|
|
9
9
|
IS_COLUMN_REORDERING = "is-column-re-ordering",
|
|
10
10
|
IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left",
|
|
11
11
|
IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right"
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { CalendarGranularityType } from "../../../internal";
|
|
2
3
|
import { type BentoSegmentedControlItem } from "../../../segmented-control";
|
|
3
4
|
import { DateRangePickerCalendarEvent, DateRangePickerCalendarFormData, DateRangePickerCalendarRangeSelectorItems } from './date-range-picker-calendar.types';
|
|
4
5
|
import type { BentoDateRangePickerGranularityConfig, BentoDateRangePickerValue } from '../../date-range-picker.types';
|
|
@@ -22,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
23
|
validator: (value: import("../../../internal").CalendarFirstDayOfWeek) => boolean;
|
|
23
24
|
};
|
|
24
25
|
granularities: {
|
|
25
|
-
type: PropType<BentoDateRangePickerGranularityConfig<
|
|
26
|
+
type: PropType<BentoDateRangePickerGranularityConfig<CalendarGranularityType>[]>;
|
|
26
27
|
default: any;
|
|
27
28
|
};
|
|
28
29
|
isDateDisabled: {
|
|
@@ -57,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
58
|
};
|
|
58
59
|
}, {
|
|
59
60
|
internalRangeDate: {
|
|
60
|
-
granularity?:
|
|
61
|
+
granularity?: CalendarGranularityType;
|
|
61
62
|
startDate: {
|
|
62
63
|
toString: () => string;
|
|
63
64
|
toDateString: () => string;
|
|
@@ -196,7 +197,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
196
197
|
endDateError: import("vue").Ref<boolean>;
|
|
197
198
|
endTimeError: import("vue").Ref<boolean>;
|
|
198
199
|
granularityItems: import("vue").ComputedRef<BentoSegmentedControlItem[]>;
|
|
199
|
-
selectedGranularity: import("vue").ComputedRef<BentoDateRangePickerGranularityConfig<
|
|
200
|
+
selectedGranularity: import("vue").ComputedRef<BentoDateRangePickerGranularityConfig<CalendarGranularityType>>;
|
|
200
201
|
computedMinMax: import("vue").ComputedRef<{
|
|
201
202
|
min: Date;
|
|
202
203
|
max: Date;
|
|
@@ -218,6 +219,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
218
219
|
onEndDateInput: (endDateText: string) => void;
|
|
219
220
|
onEndDateSelected: (newEndDate: Date) => void;
|
|
220
221
|
onEndTimeInput: (endDateText: string) => void;
|
|
222
|
+
onGranularityInput: (value: CalendarGranularityType) => void;
|
|
221
223
|
onRangeSelectorInput: (newCustomRangeValue: string) => void;
|
|
222
224
|
onStartDateInput: (startDateText: string) => void;
|
|
223
225
|
onStartDateSelected: (newStartDate: Date) => void;
|
|
@@ -243,7 +245,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
243
245
|
validator: (value: import("../../../internal").CalendarFirstDayOfWeek) => boolean;
|
|
244
246
|
};
|
|
245
247
|
granularities: {
|
|
246
|
-
type: PropType<BentoDateRangePickerGranularityConfig<
|
|
248
|
+
type: PropType<BentoDateRangePickerGranularityConfig<CalendarGranularityType>[]>;
|
|
247
249
|
default: any;
|
|
248
250
|
};
|
|
249
251
|
isDateDisabled: {
|
|
@@ -286,7 +288,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
288
|
numberOfMonths: number;
|
|
287
289
|
allowTimeInput: boolean;
|
|
288
290
|
dateFormData: DateRangePickerCalendarFormData;
|
|
289
|
-
granularities: BentoDateRangePickerGranularityConfig<
|
|
291
|
+
granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
|
|
290
292
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
291
293
|
}>;
|
|
292
294
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalendarGranularityType } from '
|
|
1
|
+
import type { CalendarGranularityType } from '../../internal/calendar/calendar.types';
|
|
2
2
|
export type UseGranularityMemory = () => {
|
|
3
3
|
savedRanges: {
|
|
4
4
|
daily: {
|
|
@@ -18,5 +18,5 @@ export type UseGranularityMemory = () => {
|
|
|
18
18
|
startDate: Date;
|
|
19
19
|
endDate: Date;
|
|
20
20
|
}) => void;
|
|
21
|
-
|
|
21
|
+
resetSavedRanges: () => void;
|
|
22
22
|
};
|
|
@@ -54,10 +54,10 @@ export declare enum DropdownBaseTextboxState {
|
|
|
54
54
|
ERROR = "error"
|
|
55
55
|
}
|
|
56
56
|
export declare enum DropdownBaseTextboxEvent {
|
|
57
|
-
OPEN = "open",
|
|
58
|
-
KEYDOWN = "keydown",
|
|
59
|
-
CLOSE = "close",
|
|
60
|
-
INPUT = "input",
|
|
61
|
-
CLEAR = "clear"
|
|
57
|
+
OPEN = "dropdown-base-open",
|
|
58
|
+
KEYDOWN = "dropdown-base-keydown",
|
|
59
|
+
CLOSE = "dropdown-base-close",
|
|
60
|
+
INPUT = "dropdown-base-input",
|
|
61
|
+
CLEAR = "dropdown-base-clear"
|
|
62
62
|
}
|
|
63
63
|
export default DropdownBaseTextboxProps;
|
|
@@ -70,15 +70,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
72
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
73
|
-
clear: () => void;
|
|
73
|
+
"dropdown-base-clear": () => void;
|
|
74
74
|
} & {
|
|
75
|
-
close: () => void;
|
|
75
|
+
"dropdown-base-close": () => void;
|
|
76
76
|
} & {
|
|
77
|
-
input: (searchValue: string) => void;
|
|
77
|
+
"dropdown-base-input": (searchValue: string) => void;
|
|
78
78
|
} & {
|
|
79
|
-
keydown: (event: KeyboardEvent) => void;
|
|
79
|
+
"dropdown-base-keydown": (event: KeyboardEvent) => void;
|
|
80
80
|
} & {
|
|
81
|
-
open: () => void;
|
|
81
|
+
"dropdown-base-open": () => void;
|
|
82
82
|
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
additionalItemsSelected: {
|
|
84
84
|
type: PropType<string | number>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoListboxOptionItem, Booleanish } from "../../../../types";
|
|
3
|
-
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
4
|
additionalItemsSelected: {
|
|
6
5
|
type: PropType<string | number>;
|
|
7
6
|
default: number;
|
|
@@ -70,22 +69,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
69
|
type: BooleanConstructor;
|
|
71
70
|
default: boolean;
|
|
72
71
|
};
|
|
73
|
-
}, {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
close: (e: Event) => void;
|
|
85
|
-
clear: (e: Event) => void;
|
|
86
|
-
keydown: (e: Event) => void;
|
|
87
|
-
};
|
|
88
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, DropdownBaseTextboxEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
73
|
+
clear: () => void;
|
|
74
|
+
} & {
|
|
75
|
+
close: () => void;
|
|
76
|
+
} & {
|
|
77
|
+
input: (newInput: string) => void;
|
|
78
|
+
} & {
|
|
79
|
+
keydown: (keydownEvent: KeyboardEvent) => void;
|
|
80
|
+
} & {
|
|
81
|
+
open: () => void;
|
|
82
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
89
83
|
additionalItemsSelected: {
|
|
90
84
|
type: PropType<string | number>;
|
|
91
85
|
default: number;
|
|
@@ -170,5 +164,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
164
|
isInvalid: boolean;
|
|
171
165
|
selectedValueItem: BentoListboxOptionItem | BentoListboxOptionItem[];
|
|
172
166
|
showSlotContentInMultiple: boolean;
|
|
173
|
-
}
|
|
167
|
+
}>, Record<string, (_: any) => any>>;
|
|
174
168
|
export default _default;
|
|
169
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
170
|
+
new (): {
|
|
171
|
+
$slots: S;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
@@ -54,9 +54,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
57
|
-
close: () => void;
|
|
58
|
-
} & {
|
|
59
57
|
open: () => void;
|
|
58
|
+
} & {
|
|
59
|
+
close: () => void;
|
|
60
60
|
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
61
61
|
additionalItemsSelected: {
|
|
62
62
|
type: PropType<string | number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoModalEvent } from "../../../modal";
|
|
3
|
-
import { BentoFilterBarModel, BentoFilterItemType, BentoFilterModel } from "
|
|
3
|
+
import { BentoFilterBarModel, BentoFilterItemType, BentoFilterModel } from "../../filter-bar.types";
|
|
4
4
|
import { AllFiltersModalEvent } from './all-filters-modal.types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
value: {
|
|
@@ -21,8 +21,8 @@ interface UseCalendarPaneProps {
|
|
|
21
21
|
selectedDate: Ref<CalendarValue>;
|
|
22
22
|
granularity?: Ref<CalendarGranularityConfig>;
|
|
23
23
|
firstDayOfWeek: Day;
|
|
24
|
-
min?: Date
|
|
25
|
-
max?: Date
|
|
24
|
+
min?: Ref<Date>;
|
|
25
|
+
max?: Ref<Date>;
|
|
26
26
|
}
|
|
27
27
|
export type UseCalendarPane = (propRefs: UseCalendarPaneProps, emit: any) => {
|
|
28
28
|
internalValue: UnwrapNestedRefs<CalendarRangeDateValue>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export type UseGranularityAdjustments = (firstDayOfWeek: Day
|
|
2
|
-
adjustDateForWeekly: (date: Date, endDate?: Date) => {
|
|
1
|
+
export type UseGranularityAdjustments = (firstDayOfWeek: Day) => {
|
|
2
|
+
adjustDateForWeekly: (date: Date, endDate?: Date, min?: Date, max?: Date) => {
|
|
3
3
|
startDate: Date;
|
|
4
4
|
endDate: Date;
|
|
5
5
|
};
|
|
6
|
-
adjustDateForMonthly: (date: Date, endDate?: Date) => {
|
|
6
|
+
adjustDateForMonthly: (date: Date, endDate?: Date, min?: Date, max?: Date) => {
|
|
7
7
|
startDate: Date;
|
|
8
8
|
endDate: Date;
|
|
9
9
|
};
|
|
10
|
-
adjustStartDateInputForWeekly: (date: string, formatDate: (dateToFormat?: Date) => string) => string;
|
|
11
|
-
adjustEndDateInputForWeekly: (date: string, formatDate: (dateToFormat?: Date) => string) => string;
|
|
12
|
-
adjustStartDateInputForMonthly: (date: string, formatDate: (dateToFormat?: Date) => string) => string;
|
|
13
|
-
adjustEndDateInputForMonthly: (date: string, formatDate: (dateToFormat?: Date) => string) => string;
|
|
10
|
+
adjustStartDateInputForWeekly: (date: string, formatDate: (dateToFormat?: Date) => string, min?: Date, max?: Date) => string;
|
|
11
|
+
adjustEndDateInputForWeekly: (date: string, formatDate: (dateToFormat?: Date) => string, min?: Date, max?: Date) => string;
|
|
12
|
+
adjustStartDateInputForMonthly: (date: string, formatDate: (dateToFormat?: Date) => string, min?: Date, max?: Date) => string;
|
|
13
|
+
adjustEndDateInputForMonthly: (date: string, formatDate: (dateToFormat?: Date) => string, min?: Date, max?: Date) => string;
|
|
14
14
|
};
|
package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.types.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type MultiCheckboxInputType = Array<string | number>;
|
|
2
|
+
export type CheckboxInputType = boolean | MultiCheckboxInputType;
|
|
3
|
+
export declare enum CheckboxInputState {
|
|
4
|
+
UNCHECKED = "unchecked",
|
|
5
|
+
DISABLED = "disabled",
|
|
6
|
+
ERROR = "error",
|
|
7
|
+
READONLY = "readonly"
|
|
8
|
+
}
|
|
9
|
+
export declare enum CheckboxInputEvent {
|
|
10
|
+
UPDATE = "update:model-value"
|
|
11
|
+
}
|
|
12
|
+
interface CheckboxInputGroupItem {
|
|
13
|
+
value: string | number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
hasError?: boolean;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export type CheckboxInputGroupItems = Array<CheckboxInputGroupItem>;
|
|
20
|
+
export {};
|
package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CheckboxInputGroupItems, CheckboxInputType } from './checkbox-input.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
ariaLabel: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
ariaDescribedby: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
hasError: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
id: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
indeterminate: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
modelValue: {
|
|
29
|
+
type: PropType<CheckboxInputType | CheckboxInputGroupItems>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
readonly: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
value: {
|
|
37
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
41
|
+
"update:model-value": (value: boolean | (string | number)[]) => void;
|
|
42
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
ariaLabel: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
ariaDescribedby: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
disabled: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
hasError: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
id: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
indeterminate: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
modelValue: {
|
|
68
|
+
type: PropType<CheckboxInputType | CheckboxInputGroupItems>;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
readonly: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
value: {
|
|
76
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
77
|
+
default: any;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
value: string | number;
|
|
81
|
+
disabled: boolean;
|
|
82
|
+
readonly: boolean;
|
|
83
|
+
id: string;
|
|
84
|
+
ariaLabel: string;
|
|
85
|
+
ariaDescribedby: string;
|
|
86
|
+
hasError: boolean;
|
|
87
|
+
indeterminate: boolean;
|
|
88
|
+
modelValue: CheckboxInputType | CheckboxInputGroupItems;
|
|
89
|
+
}>;
|
|
90
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as CheckboxInput } from './checkbox-input.vue';
|
|
2
|
+
export type { CheckboxInputType as BentoCheckboxType, MultiCheckboxInputType as BentoMultiCheckboxType, } from './checkbox-input.types';
|
|
3
|
+
export { CheckboxInputState as BentoCheckboxState } from './checkbox-input.types';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare enum BentoDialogPageAnimation {
|
|
3
|
+
TRANSITION_LEVEL_DEEPER = "b-dialog-page__animation--level-deeper",
|
|
4
|
+
TRANSITION_LEVEL_UPPER = "b-dialog-page__animation--level-upper"
|
|
5
|
+
}
|
|
6
|
+
export interface BentoDialogPageConfigData {
|
|
7
|
+
activePage: Ref<string>;
|
|
8
|
+
animation: Ref<string>;
|
|
9
|
+
isOpen: Ref<boolean>;
|
|
10
|
+
pages: Ref<string[]>;
|
|
11
|
+
previousPages: Ref<string[]>;
|
|
12
|
+
updatePage: (page: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export type BentoDialogPageRegisterPage = (pageId: string) => {
|
|
15
|
+
unregisterPage: () => void;
|
|
16
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { CSSProperties } from 'vue/types/jsx';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
pageId: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
alwaysShowBorder: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
backButtonStyling: {
|
|
13
|
+
type: PropType<CSSProperties>;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
previousPage: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
21
|
+
animationend: () => void;
|
|
22
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
pageId: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
alwaysShowBorder: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
backButtonStyling: {
|
|
32
|
+
type: PropType<CSSProperties>;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
previousPage: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: any;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
pageId: string;
|
|
41
|
+
alwaysShowBorder: boolean;
|
|
42
|
+
backButtonStyling: CSSProperties;
|
|
43
|
+
previousPage: string;
|
|
44
|
+
}>, {
|
|
45
|
+
header: (_: {}) => any;
|
|
46
|
+
content: (_: {}) => any;
|
|
47
|
+
footer: (_: {}) => any;
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BentoListboxOptions, BentoListboxSelectedValue, BentoListboxValue } from "../../../../../types";
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export declare const useCachedSelectedValues: (items: Ref<BentoListboxOptions>, selectedValues: Ref<BentoListboxSelectedValue>, multiple: Ref<boolean>) => {
|
|
4
|
+
cachedSelectedValues: Ref<{
|
|
5
|
+
data?: unknown;
|
|
6
|
+
description?: string;
|
|
7
|
+
value: BentoListboxValue;
|
|
8
|
+
items?: any[];
|
|
9
|
+
label: string;
|
|
10
|
+
}[]>;
|
|
11
|
+
simpleSelectedValuesCache: Ref<BentoListboxSelectedValue>;
|
|
12
|
+
resetCache: () => void;
|
|
13
|
+
setCachedValues: (newSelectedValues: BentoListboxOptions) => void;
|
|
14
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as BentoListbox } from './listbox.vue';
|
|
2
2
|
export { ListboxOptionTag } from './components/listbox-option-tag';
|
|
3
3
|
export { useMultiLevelItems } from './composables/use-multi-level-items/use-multi-level-items';
|
|
4
|
+
export { useCachedSelectedValues } from './composables/use-cached-selected-values/use-cached-selected-values';
|