@adyen/bento-vue3 1.6.1 → 1.7.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 +2 -0
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +45 -0
- package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +229 -220
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +44 -46
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +46 -28
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +22 -4
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +802 -52
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +22 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +64 -7
- package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +15 -11
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +10 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -5
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +21 -5
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +7 -4
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -2
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +173 -0
- package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +13 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +16 -0
- package/dist/@types/packages/vue2/src/composables/index.d.ts +5 -2
- package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +3 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +12 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +15 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +20 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +12 -0
- package/dist/accordion.js +52 -43
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +210 -0
- package/dist/action-bar.js.map +1 -0
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.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/checkmark.css +1 -0
- package/dist/assets/chevron-left.css +1 -0
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -0
- package/dist/assets/index.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/index2.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/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 -0
- 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/listbox.css +1 -1
- package/dist/assets/refresh.css +1 -0
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +30 -22
- package/dist/button.js.map +1 -1
- package/dist/card.js +84 -84
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.4b5ab17e.js → base-button.7897a95e.js} +2 -2
- package/dist/chunks/{base-button.4b5ab17e.js.map → base-button.7897a95e.js.map} +1 -1
- package/dist/chunks/{base-modal.53a229ac.js → base-modal.0c85e7cb.js} +4 -4
- package/dist/chunks/{base-modal.53a229ac.js.map → base-modal.0c85e7cb.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.fa35390c.js +107 -0
- package/dist/chunks/button-actions-with-menu.fa35390c.js.map +1 -0
- package/dist/chunks/{button.975d0bb8.js → button.e5177388.js} +44 -36
- package/dist/chunks/button.e5177388.js.map +1 -0
- package/dist/chunks/{calendar.cc37ac1f.js → calendar.c83d4e99.js} +274 -250
- package/dist/chunks/calendar.c83d4e99.js.map +1 -0
- package/dist/chunks/{checkbox.67ceb148.js → checkbox.3cdbdd52.js} +7 -7
- package/dist/chunks/{checkbox.67ceb148.js.map → checkbox.3cdbdd52.js.map} +1 -1
- package/dist/chunks/checkmark.83e4f1e0.js +30 -0
- package/dist/chunks/checkmark.83e4f1e0.js.map +1 -0
- package/dist/chunks/{chevron-right.aef416c6.js → chevron-left.2fd6b083.js} +10 -10
- package/dist/chunks/chevron-left.2fd6b083.js.map +1 -0
- package/dist/chunks/{controls-group.7214dc7f.js → controls-group.38b436f6.js} +2 -2
- package/dist/chunks/{controls-group.7214dc7f.js.map → controls-group.38b436f6.js.map} +1 -1
- package/dist/chunks/{copy.7a73d1fd.js → copy.86236c8d.js} +4 -4
- package/dist/chunks/{copy.7a73d1fd.js.map → copy.86236c8d.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.0f878a8d.js → dropdown-default-textbox.0b38fac3.js} +4 -4
- package/dist/chunks/dropdown-default-textbox.0b38fac3.js.map +1 -0
- package/dist/chunks/{dropdown.7a104ce3.js → dropdown.afff433b.js} +144 -110
- package/dist/chunks/dropdown.afff433b.js.map +1 -0
- package/dist/chunks/{error-message.b91afffc.js → error-message.64e1964b.js} +2 -2
- package/dist/chunks/{error-message.b91afffc.js.map → error-message.64e1964b.js.map} +1 -1
- package/dist/chunks/fixed-scroller.e5aa7b00.js +148 -0
- package/dist/chunks/fixed-scroller.e5aa7b00.js.map +1 -0
- package/dist/chunks/{footer-actions.13f19a22.js → footer-actions.1ce44374.js} +3 -3
- package/dist/chunks/{footer-actions.13f19a22.js.map → footer-actions.1ce44374.js.map} +1 -1
- package/dist/chunks/{index.7f24db66.js → index.2bd3812b.js} +2 -2
- package/dist/chunks/{index.7f24db66.js.map → index.2bd3812b.js.map} +1 -1
- package/dist/chunks/{index.1dc4ebae.js → index.369b0e66.js} +112 -92
- package/dist/chunks/index.369b0e66.js.map +1 -0
- package/dist/chunks/{index.536bcb56.js → index.6a665ade.js} +3 -3
- package/dist/chunks/{index.536bcb56.js.map → index.6a665ade.js.map} +1 -1
- package/dist/chunks/{index.4c951e0d.js → index.77f35162.js} +6 -6
- package/dist/chunks/{index.4c951e0d.js.map → index.77f35162.js.map} +1 -1
- package/dist/chunks/index.bcc58fdd.js +1334 -0
- package/dist/chunks/index.bcc58fdd.js.map +1 -0
- package/dist/chunks/index.c207e9ab.js +602 -0
- package/dist/chunks/index.c207e9ab.js.map +1 -0
- package/dist/chunks/{index.6700224a.js → index.e579bc02.js} +2 -2
- package/dist/chunks/{index.6700224a.js.map → index.e579bc02.js.map} +1 -1
- package/dist/chunks/{index.d68847b0.js → index.fa7b44f1.js} +2 -2
- package/dist/chunks/{index.d68847b0.js.map → index.fa7b44f1.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.0f31ecb2.js → listbox-option-tag.809ec40e.js} +3 -3
- package/dist/chunks/{listbox-option-tag.0f31ecb2.js.map → listbox-option-tag.809ec40e.js.map} +1 -1
- package/dist/chunks/listbox.f6e5a11d.js +1306 -0
- package/dist/chunks/listbox.f6e5a11d.js.map +1 -0
- package/dist/chunks/{loading-button.6523a015.js → loading-button.746b7fa1.js} +2 -2
- package/dist/chunks/{loading-button.6523a015.js.map → loading-button.746b7fa1.js.map} +1 -1
- package/dist/chunks/refresh.c38c9eee.js +30 -0
- package/dist/chunks/refresh.c38c9eee.js.map +1 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js +5 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js.map +1 -0
- package/dist/chunks/{tooltip.b5391514.js → tooltip.f769eb14.js} +54 -51
- package/dist/chunks/{tooltip.b5391514.js.map → tooltip.f769eb14.js.map} +1 -1
- package/dist/code-snippet.js +6 -6
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +553 -541
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +10 -10
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +129 -118
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +44 -42
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +696 -683
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +3 -3
- package/dist/header.js +121 -198
- package/dist/header.js.map +1 -1
- package/dist/image.js +4 -4
- package/dist/index.js +164 -158
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +8 -8
- package/dist/input-field.js +7 -7
- package/dist/internal.js +20 -144
- package/dist/internal.js.map +1 -1
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +3 -592
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +3 -3
- package/dist/pagination.js +37 -21
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +50 -40
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +16 -16
- package/dist/popper-container.js +6 -1276
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +128 -97
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +130 -106
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +94 -91
- 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 +146 -163
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +128 -99
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +216 -203
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +6 -6
- package/dist/tutorial.js +375 -0
- package/dist/tutorial.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -2
- package/dist/assets/chevron-right.css +0 -1
- package/dist/chunks/button.975d0bb8.js.map +0 -1
- package/dist/chunks/calendar.cc37ac1f.js.map +0 -1
- package/dist/chunks/chevron-right.aef416c6.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.0f878a8d.js.map +0 -1
- package/dist/chunks/dropdown.7a104ce3.js.map +0 -1
- package/dist/chunks/index.1dc4ebae.js.map +0 -1
- package/dist/chunks/listbox.0f25778d.js +0 -1213
- package/dist/chunks/listbox.0f25778d.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../../../vue3/node_modules/vue";
|
|
2
|
-
import { BentoTimelineDataList, BentoTimelineItemVariant, BentoTimelineTimestamp } from '../../timeline.types';
|
|
2
|
+
import { BentoTimelineDataList, BentoTimelineItemTitle, BentoTimelineItemVariant, BentoTimelineTimestamp } from '../../timeline.types';
|
|
3
3
|
declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{
|
|
4
4
|
additionalTimestamp: {
|
|
5
5
|
type: PropType<BentoTimelineTimestamp>;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
40
40
|
required: true;
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
type:
|
|
43
|
+
type: PropType<string | BentoTimelineItemTitle>;
|
|
44
44
|
required: true;
|
|
45
45
|
};
|
|
46
46
|
variant: {
|
|
@@ -61,10 +61,13 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
61
61
|
showAll: import("../../../../../../vue3/node_modules/vue").Ref<boolean>;
|
|
62
62
|
hiddenItems: import("../../../../../../vue3/node_modules/vue").Ref<number>;
|
|
63
63
|
isVisible: import("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
64
|
+
isLinkTitle: import("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
65
|
+
linkTitleProps: import("../../../../../../vue3/node_modules/vue").ComputedRef<BentoTimelineItemTitle>;
|
|
64
66
|
timegap: import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
65
67
|
timegapAriaLabel: import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
66
68
|
isLastItem: import("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
67
69
|
generateUid: (value: string) => string;
|
|
70
|
+
hasSlot: (name: string) => boolean;
|
|
68
71
|
t: import("vue-i18n-bridge").ComposerTranslation<import("../../../../utils/ts/i18n").i18nMessages, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
69
72
|
[x: string]: import("vue-i18n-bridge").LocaleMessageValue<import("vue-i18n-bridge").VueMessageType>;
|
|
70
73
|
}>, never, import("@intlify/core-base")._ResourcePath<{
|
|
@@ -112,7 +115,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
112
115
|
required: true;
|
|
113
116
|
};
|
|
114
117
|
title: {
|
|
115
|
-
type:
|
|
118
|
+
type: PropType<string | BentoTimelineItemTitle>;
|
|
116
119
|
required: true;
|
|
117
120
|
};
|
|
118
121
|
variant: {
|
|
@@ -122,8 +125,8 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
122
125
|
};
|
|
123
126
|
}>>, {
|
|
124
127
|
variant: "CrossCircleIcon" | "SquareSmallIcon" | "CheckedCircleIcon" | BentoTimelineItemVariant;
|
|
125
|
-
description: string;
|
|
126
128
|
tag: any;
|
|
129
|
+
description: string;
|
|
127
130
|
additionalTimestamp: BentoTimelineTimestamp;
|
|
128
131
|
dataList: BentoTimelineDataList;
|
|
129
132
|
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BentoDateFormat } from "../date/date.types";
|
|
2
2
|
import { BentoTag } from "../tag";
|
|
3
3
|
import { Ref } from "../../../../vue3/node_modules/vue";
|
|
4
|
+
import { RouterLinkProps } from 'vue-router/types/router';
|
|
4
5
|
export declare enum BentoTimelineShowMorePlacement {
|
|
5
6
|
BOTTOM = "bottom",
|
|
6
7
|
AFTER_FIRST = "after-first",
|
|
@@ -27,6 +28,12 @@ export declare enum BentoTimelineItemVariant {
|
|
|
27
28
|
SUCCESS = "CheckedCircleIcon",
|
|
28
29
|
CRITICAL = "CrossCircleIcon"
|
|
29
30
|
}
|
|
31
|
+
export interface BentoTimelineItemTitle extends RouterLinkProps {
|
|
32
|
+
title: string;
|
|
33
|
+
external?: boolean;
|
|
34
|
+
target?: string;
|
|
35
|
+
[name: string]: any;
|
|
36
|
+
}
|
|
30
37
|
export interface BentoTimelineTimestamp {
|
|
31
38
|
date: Date | number;
|
|
32
39
|
format?: BentoDateFormat;
|
|
@@ -39,11 +46,11 @@ export interface BentoTimelineDataListObject {
|
|
|
39
46
|
export type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
|
|
40
47
|
export type BentoTimelineTagProps = InstanceType<typeof BentoTag>['$props'];
|
|
41
48
|
export interface BentoTimelineEntry {
|
|
42
|
-
title: string;
|
|
49
|
+
title: string | BentoTimelineItemTitle;
|
|
43
50
|
date: Date | number;
|
|
44
51
|
}
|
|
45
52
|
export type BentoTimelineRegisterEntry = (props: {
|
|
46
|
-
title: string;
|
|
53
|
+
title: string | BentoTimelineItemTitle;
|
|
47
54
|
date: Date | number;
|
|
48
55
|
}) => {
|
|
49
56
|
timelineEntries: Ref<BentoTimelineEntry[]>;
|
|
@@ -84,12 +84,14 @@ export declare const Tooltip: {
|
|
|
84
84
|
$: import("../../../../vue3/node_modules/vue").ComponentInternalInstance;
|
|
85
85
|
$data: {};
|
|
86
86
|
$props: Partial<{
|
|
87
|
+
id: string;
|
|
88
|
+
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
89
|
+
offset: number[];
|
|
87
90
|
ariaRole: PopperContainerAriaRole;
|
|
88
91
|
arrow: any;
|
|
89
92
|
disabledFocusTrap: boolean;
|
|
90
93
|
fallbackPosition: import("../popper-container").FallbackPositionProp;
|
|
91
94
|
fixedPositioning: boolean;
|
|
92
|
-
id: string;
|
|
93
95
|
isHidden: boolean;
|
|
94
96
|
matchWidth: boolean;
|
|
95
97
|
middleware: {
|
|
@@ -107,8 +109,6 @@ export declare const Tooltip: {
|
|
|
107
109
|
elements: import("@floating-ui/dom").Elements;
|
|
108
110
|
}) => import("@floating-ui/core").MiddlewareReturn | Promise<import("@floating-ui/core").MiddlewareReturn>;
|
|
109
111
|
}[];
|
|
110
|
-
offset: number[];
|
|
111
|
-
position: "auto" | "top" | "right" | "bottom" | "left" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
112
112
|
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
113
113
|
ariaRole: {
|
|
114
114
|
type: PropType<PopperContainerAriaRole>;
|
|
@@ -167,7 +167,7 @@ export declare const Tooltip: {
|
|
|
167
167
|
validator: (value: number[]) => boolean;
|
|
168
168
|
};
|
|
169
169
|
position: {
|
|
170
|
-
type: PropType<"auto" | "
|
|
170
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition>;
|
|
171
171
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
172
172
|
validator: (value: unknown) => boolean;
|
|
173
173
|
};
|
|
@@ -177,7 +177,7 @@ export declare const Tooltip: {
|
|
|
177
177
|
};
|
|
178
178
|
}>> & {
|
|
179
179
|
onPlacement?: (value: import("@floating-ui/utils").Placement) => any;
|
|
180
|
-
} & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "
|
|
180
|
+
} & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "id" | "position" | "offset" | "ariaRole" | "arrow" | "disabledFocusTrap" | "fallbackPosition" | "fixedPositioning" | "isHidden" | "matchWidth" | "middleware">;
|
|
181
181
|
$attrs: {
|
|
182
182
|
[x: string]: unknown;
|
|
183
183
|
};
|
|
@@ -249,7 +249,7 @@ export declare const Tooltip: {
|
|
|
249
249
|
validator: (value: number[]) => boolean;
|
|
250
250
|
};
|
|
251
251
|
position: {
|
|
252
|
-
type: PropType<"auto" | "
|
|
252
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition>;
|
|
253
253
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
254
254
|
validator: (value: unknown) => boolean;
|
|
255
255
|
};
|
|
@@ -262,12 +262,14 @@ export declare const Tooltip: {
|
|
|
262
262
|
}, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
263
263
|
placement: (value: import("@floating-ui/utils").Placement) => void;
|
|
264
264
|
}, string, {
|
|
265
|
+
id: string;
|
|
266
|
+
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
267
|
+
offset: number[];
|
|
265
268
|
ariaRole: PopperContainerAriaRole;
|
|
266
269
|
arrow: any;
|
|
267
270
|
disabledFocusTrap: boolean;
|
|
268
271
|
fallbackPosition: import("../popper-container").FallbackPositionProp;
|
|
269
272
|
fixedPositioning: boolean;
|
|
270
|
-
id: string;
|
|
271
273
|
isHidden: boolean;
|
|
272
274
|
matchWidth: boolean;
|
|
273
275
|
middleware: {
|
|
@@ -285,8 +287,6 @@ export declare const Tooltip: {
|
|
|
285
287
|
elements: import("@floating-ui/dom").Elements;
|
|
286
288
|
}) => import("@floating-ui/core").MiddlewareReturn | Promise<import("@floating-ui/core").MiddlewareReturn>;
|
|
287
289
|
}[];
|
|
288
|
-
offset: number[];
|
|
289
|
-
position: "auto" | "top" | "right" | "bottom" | "left" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
290
290
|
}, {}, string> & {
|
|
291
291
|
beforeCreate?: (() => void) | (() => void)[];
|
|
292
292
|
created?: (() => void) | (() => void)[];
|
|
@@ -365,7 +365,7 @@ export declare const Tooltip: {
|
|
|
365
365
|
validator: (value: number[]) => boolean;
|
|
366
366
|
};
|
|
367
367
|
position: {
|
|
368
|
-
type: PropType<"auto" | "
|
|
368
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition>;
|
|
369
369
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
370
370
|
validator: (value: unknown) => boolean;
|
|
371
371
|
};
|
|
@@ -437,7 +437,7 @@ export declare const Tooltip: {
|
|
|
437
437
|
validator: (value: number[]) => boolean;
|
|
438
438
|
};
|
|
439
439
|
position: {
|
|
440
|
-
type: PropType<"auto" | "
|
|
440
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition>;
|
|
441
441
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
442
442
|
validator: (value: unknown) => boolean;
|
|
443
443
|
};
|
|
@@ -450,12 +450,14 @@ export declare const Tooltip: {
|
|
|
450
450
|
}, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
451
451
|
placement: (value: import("@floating-ui/utils").Placement) => void;
|
|
452
452
|
}, string, {
|
|
453
|
+
id: string;
|
|
454
|
+
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
455
|
+
offset: number[];
|
|
453
456
|
ariaRole: PopperContainerAriaRole;
|
|
454
457
|
arrow: any;
|
|
455
458
|
disabledFocusTrap: boolean;
|
|
456
459
|
fallbackPosition: import("../popper-container").FallbackPositionProp;
|
|
457
460
|
fixedPositioning: boolean;
|
|
458
|
-
id: string;
|
|
459
461
|
isHidden: boolean;
|
|
460
462
|
matchWidth: boolean;
|
|
461
463
|
middleware: {
|
|
@@ -473,8 +475,6 @@ export declare const Tooltip: {
|
|
|
473
475
|
elements: import("@floating-ui/dom").Elements;
|
|
474
476
|
}) => import("@floating-ui/core").MiddlewareReturn | Promise<import("@floating-ui/core").MiddlewareReturn>;
|
|
475
477
|
}[];
|
|
476
|
-
offset: number[];
|
|
477
|
-
position: "auto" | "top" | "right" | "bottom" | "left" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
478
478
|
}, {}, string> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps & (new () => {
|
|
479
479
|
$slots: {
|
|
480
480
|
default: (_: {}) => any;
|
|
@@ -576,8 +576,8 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
576
576
|
};
|
|
577
577
|
}>>, {
|
|
578
578
|
id: string;
|
|
579
|
-
offset: number;
|
|
580
579
|
position: import("../popper-container").PopperContainerPositionBasic;
|
|
580
|
+
offset: number;
|
|
581
581
|
isShown: boolean;
|
|
582
582
|
}>;
|
|
583
583
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TutorialIndicator } from './tutorial-indicator.vue';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("../../../../../../../../vue3/node_modules/vue").DefineComponent<{
|
|
2
|
+
targetElement: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
7
|
+
targetElement: {
|
|
8
|
+
type: any;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}>;
|
|
12
|
+
export default _default;
|
package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TutorialPopover } from './tutorial-popover.vue';
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { PropType, type default as Vue } from "../../../../../../vue3/node_modules/vue";
|
|
2
|
+
import { BentoPopoverPositions } from "../../../popover";
|
|
3
|
+
import { type BentoButtonActionObject } from "../../../button";
|
|
4
|
+
import type { VueNodeElement } from "../../../../types";
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
|
|
6
|
+
action: {
|
|
7
|
+
type: PropType<BentoButtonActionObject>;
|
|
8
|
+
default: any;
|
|
9
|
+
};
|
|
10
|
+
active: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
image: {
|
|
15
|
+
type: PropType<Omit<Partial<{
|
|
16
|
+
aspectRatio: "square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | import("../../../image").BentoImageAspectRatio;
|
|
17
|
+
objectFit: "fill" | "contain" | "cover" | import("../../../image").BentoImageObjectFit;
|
|
18
|
+
}> & Omit<Readonly<Vue.ExtractPropTypes<{
|
|
19
|
+
src: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
alt: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
aspectRatio: {
|
|
28
|
+
type: PropType<"square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | import("../../../image").BentoImageAspectRatio>;
|
|
29
|
+
default: any;
|
|
30
|
+
validator: (value: import("../../../image").BentoImageAspectRatio) => boolean;
|
|
31
|
+
};
|
|
32
|
+
objectFit: {
|
|
33
|
+
type: PropType<"fill" | "contain" | "cover" | import("../../../image").BentoImageObjectFit>;
|
|
34
|
+
default: any;
|
|
35
|
+
validator: (value: import("../../../image").BentoImageObjectFit) => boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & Vue.VNodeProps & Vue.AllowedComponentProps & Vue.ComponentCustomProps, "aspectRatio" | "objectFit">, "aspectRatio">>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
position: {
|
|
41
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
42
|
+
default: import("../../../popper-container").PopperContainerPositionExtended;
|
|
43
|
+
validator: (value: BentoPopoverPositions) => boolean;
|
|
44
|
+
};
|
|
45
|
+
single: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
step: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
targetElement: {
|
|
54
|
+
type: PropType<VueNodeElement>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
title: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
totalSteps: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: any;
|
|
64
|
+
};
|
|
65
|
+
}, {}, unknown, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {
|
|
66
|
+
next: () => void;
|
|
67
|
+
} & {
|
|
68
|
+
finish: () => void;
|
|
69
|
+
} & {
|
|
70
|
+
restart: () => void;
|
|
71
|
+
}, string, Vue.VNodeProps & Vue.AllowedComponentProps & Vue.ComponentCustomProps, Readonly<Vue.ExtractPropTypes<{
|
|
72
|
+
action: {
|
|
73
|
+
type: PropType<BentoButtonActionObject>;
|
|
74
|
+
default: any;
|
|
75
|
+
};
|
|
76
|
+
active: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
image: {
|
|
81
|
+
type: PropType<Omit<Partial<{
|
|
82
|
+
aspectRatio: "square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | import("../../../image").BentoImageAspectRatio;
|
|
83
|
+
objectFit: "fill" | "contain" | "cover" | import("../../../image").BentoImageObjectFit;
|
|
84
|
+
}> & Omit<Readonly<Vue.ExtractPropTypes<{
|
|
85
|
+
src: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
alt: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
aspectRatio: {
|
|
94
|
+
type: PropType<"square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | import("../../../image").BentoImageAspectRatio>;
|
|
95
|
+
default: any;
|
|
96
|
+
validator: (value: import("../../../image").BentoImageAspectRatio) => boolean;
|
|
97
|
+
};
|
|
98
|
+
objectFit: {
|
|
99
|
+
type: PropType<"fill" | "contain" | "cover" | import("../../../image").BentoImageObjectFit>;
|
|
100
|
+
default: any;
|
|
101
|
+
validator: (value: import("../../../image").BentoImageObjectFit) => boolean;
|
|
102
|
+
};
|
|
103
|
+
}>> & Vue.VNodeProps & Vue.AllowedComponentProps & Vue.ComponentCustomProps, "aspectRatio" | "objectFit">, "aspectRatio">>;
|
|
104
|
+
default: any;
|
|
105
|
+
};
|
|
106
|
+
position: {
|
|
107
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
108
|
+
default: import("../../../popper-container").PopperContainerPositionExtended;
|
|
109
|
+
validator: (value: BentoPopoverPositions) => boolean;
|
|
110
|
+
};
|
|
111
|
+
single: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
step: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
default: any;
|
|
118
|
+
};
|
|
119
|
+
targetElement: {
|
|
120
|
+
type: PropType<VueNodeElement>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
title: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
required: true;
|
|
126
|
+
};
|
|
127
|
+
totalSteps: {
|
|
128
|
+
type: NumberConstructor;
|
|
129
|
+
default: any;
|
|
130
|
+
};
|
|
131
|
+
}>> & {
|
|
132
|
+
onFinish?: () => any;
|
|
133
|
+
onNext?: () => any;
|
|
134
|
+
onRestart?: () => any;
|
|
135
|
+
}, {
|
|
136
|
+
image: Omit<Partial<{
|
|
137
|
+
aspectRatio: "square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | import("../../../image").BentoImageAspectRatio;
|
|
138
|
+
objectFit: "fill" | "contain" | "cover" | import("../../../image").BentoImageObjectFit;
|
|
139
|
+
}> & Omit<Readonly<Vue.ExtractPropTypes<{
|
|
140
|
+
src: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
required: true;
|
|
143
|
+
};
|
|
144
|
+
alt: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
required: true;
|
|
147
|
+
};
|
|
148
|
+
aspectRatio: {
|
|
149
|
+
type: PropType<"square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | import("../../../image").BentoImageAspectRatio>;
|
|
150
|
+
default: any;
|
|
151
|
+
validator: (value: import("../../../image").BentoImageAspectRatio) => boolean;
|
|
152
|
+
};
|
|
153
|
+
objectFit: {
|
|
154
|
+
type: PropType<"fill" | "contain" | "cover" | import("../../../image").BentoImageObjectFit>;
|
|
155
|
+
default: any;
|
|
156
|
+
validator: (value: import("../../../image").BentoImageObjectFit) => boolean;
|
|
157
|
+
};
|
|
158
|
+
}>> & Vue.VNodeProps & Vue.AllowedComponentProps & Vue.ComponentCustomProps, "aspectRatio" | "objectFit">, "aspectRatio">;
|
|
159
|
+
step: number;
|
|
160
|
+
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
161
|
+
single: boolean;
|
|
162
|
+
active: boolean;
|
|
163
|
+
action: BentoButtonActionObject;
|
|
164
|
+
totalSteps: number;
|
|
165
|
+
}>, {
|
|
166
|
+
default: (_: {}) => any;
|
|
167
|
+
}>;
|
|
168
|
+
export default _default;
|
|
169
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
170
|
+
new (): {
|
|
171
|
+
$slots: S;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Ref } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import type { BentoButtonActionObject } from "../button";
|
|
3
|
+
import type { BentoImage } from "../image";
|
|
4
|
+
import type { BentoPopoverPositions } from "../popover";
|
|
5
|
+
import type { VueNodeElement } from "../../types";
|
|
6
|
+
export interface BentoTutorialStep {
|
|
7
|
+
target: VueNodeElement | Ref<VueNodeElement>;
|
|
8
|
+
image?: Omit<InstanceType<typeof BentoImage>['$props'], 'aspectRatio'>;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
action?: BentoButtonActionObject;
|
|
12
|
+
position?: `${BentoPopoverPositions}`;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import type { BentoTutorialStep } from './tutorial.types';
|
|
3
|
+
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
4
|
+
steps: {
|
|
5
|
+
type: PropType<BentoTutorialStep[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
validator: (value: BentoTutorialStep[]) => boolean;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
10
|
+
steps: {
|
|
11
|
+
type: PropType<BentoTutorialStep[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
validator: (value: BentoTutorialStep[]) => boolean;
|
|
14
|
+
};
|
|
15
|
+
}>>, {}>;
|
|
16
|
+
export default _default;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from './initials';
|
|
2
|
-
export * from './use-
|
|
3
|
-
export * from './use-default-slot-validator/use-default-slot-validator';
|
|
2
|
+
export * from './use-click-outside/use-click-outside';
|
|
4
3
|
export * from './use-checkbox-select-all/use-checkbox-select-all';
|
|
4
|
+
export * from './use-default-slot-validator/use-default-slot-validator';
|
|
5
5
|
export * from './use-form-layout-loading/use-form-layout-loading';
|
|
6
|
+
export * from './use-form-validate';
|
|
7
|
+
export * from './use-has-slot/use-has-slot';
|
|
8
|
+
export * from './use-virtual-list';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { OnClickOutsideHandler, OnClickOutsideOptions } from "../../directives/click-outside/types";
|
|
2
|
+
import { MaybeElementRef } from "../../types";
|
|
3
|
+
export declare const useClickOutside: <T extends OnClickOutsideOptions>(target: MaybeElementRef, handler: OnClickOutsideHandler, options?: T) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import * as z from 'zod';
|
|
3
|
+
import { ZodSchema } from 'zod';
|
|
4
|
+
import { ErrorBag, UseForm } from './use-form.types';
|
|
5
|
+
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
6
|
+
export declare function useForm<T extends ZodSchema>({ validationSchema }: UseForm<T>): {
|
|
7
|
+
errorBag: Ref<ErrorBag<z.TypeOf<T>>>;
|
|
8
|
+
errors: z.TypeOf<T> extends infer T_1 ? T_1 extends z.TypeOf<T> ? T_1 extends Ref<any> ? T_1 : import("../../../../vue3/node_modules/vue").ShallowRef<T_1> : never : never;
|
|
9
|
+
values: [z.TypeOf<T>] extends [Ref<any>] ? z.TypeOf<T> : Ref<import("../../../../vue3/node_modules/vue").UnwrapRef<z.TypeOf<T>>>;
|
|
10
|
+
handleReset: () => void;
|
|
11
|
+
submitForm: (submitted: any) => () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Ref } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import type { UseVirtualListContainerProps, UseVirtualListOptions, UseVirtualListWrapperProps } from './use-virtual-list.types';
|
|
3
|
+
export declare function useVirtualList<T>(items: Ref<T[]>, { disabled, itemHeight, overscan, prefixHeight }: UseVirtualListOptions): {
|
|
4
|
+
containerRef: Ref<HTMLElement>;
|
|
5
|
+
containerProps: UseVirtualListContainerProps;
|
|
6
|
+
onScroll: () => void;
|
|
7
|
+
list: Ref<T[]>;
|
|
8
|
+
wrapperProps?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
containerRef: Ref<HTMLElement>;
|
|
11
|
+
containerProps: UseVirtualListContainerProps;
|
|
12
|
+
onScroll: () => void;
|
|
13
|
+
list: Ref<T[]>;
|
|
14
|
+
wrapperProps: import("../../../../vue3/node_modules/vue").ComputedRef<UseVirtualListWrapperProps>;
|
|
15
|
+
};
|
package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Ref } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import type { StyleValue } from "../../../../../node_modules/@vue/runtime-dom";
|
|
3
|
+
export type UseVirtualListItemHeight = number | ((index: number) => number);
|
|
4
|
+
export interface UseVirtualListOptions {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
prefixHeight?: Ref<number>;
|
|
7
|
+
itemHeight: UseVirtualListItemHeight;
|
|
8
|
+
overscan?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface UseVirtualListContainerProps {
|
|
11
|
+
ref: Ref<HTMLElement | null>;
|
|
12
|
+
style: StyleValue;
|
|
13
|
+
}
|
|
14
|
+
export interface UseVirtualListWrapperProps {
|
|
15
|
+
style: StyleValue;
|
|
16
|
+
}
|
|
17
|
+
export interface UseVirtualListItem<T> {
|
|
18
|
+
data: T;
|
|
19
|
+
index: number;
|
|
20
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from './components/textarea';
|
|
|
42
42
|
export * from './components/timeline';
|
|
43
43
|
export * from './components/toast';
|
|
44
44
|
export * from './components/toggle';
|
|
45
|
+
export * from './components/tutorial';
|
|
45
46
|
export * from './components/typography';
|
|
46
47
|
export * from './types';
|
|
47
48
|
export * from './directives';
|
package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
4
4
|
type: PropType<Partial<{
|
|
5
5
|
variant: "component" | "page" | import("../../components/header/header.types").BentoHeaderVariant;
|
|
6
6
|
actions: import("../..").BentoButtonActionsList;
|
|
7
|
-
lastUpdated: number | Date;
|
|
8
7
|
infoIconTooltipText: string;
|
|
8
|
+
lastUpdated: number | Date;
|
|
9
9
|
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
10
10
|
variant: {
|
|
11
11
|
type: PropType<"component" | "page" | import("../../components/header/header.types").BentoHeaderVariant>;
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
28
28
|
type: (DateConstructor | NumberConstructor)[];
|
|
29
29
|
default: any;
|
|
30
30
|
};
|
|
31
|
-
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "variant" | "actions" | "
|
|
31
|
+
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "variant" | "actions" | "infoIconTooltipText" | "lastUpdated">>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
stickyTabs: {
|
|
@@ -40,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
40
40
|
type: PropType<Partial<{
|
|
41
41
|
variant: "component" | "page" | import("../../components/header/header.types").BentoHeaderVariant;
|
|
42
42
|
actions: import("../..").BentoButtonActionsList;
|
|
43
|
-
lastUpdated: number | Date;
|
|
44
43
|
infoIconTooltipText: string;
|
|
44
|
+
lastUpdated: number | Date;
|
|
45
45
|
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
46
46
|
variant: {
|
|
47
47
|
type: PropType<"component" | "page" | import("../../components/header/header.types").BentoHeaderVariant>;
|
|
@@ -64,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
64
64
|
type: (DateConstructor | NumberConstructor)[];
|
|
65
65
|
default: any;
|
|
66
66
|
};
|
|
67
|
-
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "variant" | "actions" | "
|
|
67
|
+
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "variant" | "actions" | "infoIconTooltipText" | "lastUpdated">>;
|
|
68
68
|
required: true;
|
|
69
69
|
};
|
|
70
70
|
stickyTabs: {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { BentoSearchBarItem } from "../components/search-bar";
|
|
2
|
+
import { BentoEmptyState } from "../components/empty-state";
|
|
3
|
+
import { OmitStrict } from './omit-strict';
|
|
4
|
+
import { BentoButtonActionObject } from "../components/button";
|
|
5
|
+
import { UseVirtualListItemHeight } from "../composables/use-virtual-list";
|
|
2
6
|
export type BentoListboxValue = string | number;
|
|
3
7
|
export type BentoListboxMultiSelectValue = BentoListboxValue[];
|
|
4
8
|
export interface BentoListboxOptionItem extends BentoSearchBarItem {
|
|
@@ -29,3 +33,11 @@ export interface BentoListboxSearchOptions {
|
|
|
29
33
|
debounceTime?: number;
|
|
30
34
|
searchEvent: (searchValue: string) => void;
|
|
31
35
|
}
|
|
36
|
+
export type BentoListboxEmptyStateProps = {
|
|
37
|
+
action: {
|
|
38
|
+
icon?: any;
|
|
39
|
+
} & BentoButtonActionObject;
|
|
40
|
+
} & OmitStrict<InstanceType<typeof BentoEmptyState>['$props'], 'variant' | 'image' | 'description'>;
|
|
41
|
+
export type BentoListboxVirtulisationOptions = boolean | {
|
|
42
|
+
itemHeight: UseVirtualListItemHeight;
|
|
43
|
+
};
|