@adyen/bento-vue2 1.1.0 → 1.2.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/packages/vue2/src/components/alert/alert.vue.d.ts +15 -11
- 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 +14 -14
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +20 -16
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +13 -9
- package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +9 -7
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +7 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +2 -2
- 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/composables/useDropdownOptionsListbox.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +87 -85
- 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/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +18 -16
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +22 -20
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +17 -15
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +17 -15
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +14 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +26 -26
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +23 -15
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +1 -1
- 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/copy/copy.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/link/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +24 -16
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +4 -4
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +62 -46
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +38 -30
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +20 -20
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +25 -25
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/alert.js +34 -32
- package/dist/alert.js.map +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.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/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/index4.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/listbox.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +60 -51
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +10 -10
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.e7630a1d.js → base-button.d4487ac9.js} +2 -2
- package/dist/chunks/{base-button.e7630a1d.js.map → base-button.d4487ac9.js.map} +1 -1
- package/dist/chunks/{button-actions.03751d96.js → button-actions.cf73ed47.js} +10 -10
- package/dist/chunks/{button-actions.03751d96.js.map → button-actions.cf73ed47.js.map} +1 -1
- package/dist/chunks/{button.f64585fc.js → button.c27a7ce2.js} +11 -11
- package/dist/chunks/button.c27a7ce2.js.map +1 -0
- package/dist/chunks/{calendar.c9cfce76.js → calendar.8f50a65a.js} +4 -4
- package/dist/chunks/{calendar.c9cfce76.js.map → calendar.8f50a65a.js.map} +1 -1
- package/dist/chunks/{checkbox.27fae2af.js → checkbox.c06daf12.js} +3 -3
- package/dist/chunks/{checkbox.27fae2af.js.map → checkbox.c06daf12.js.map} +1 -1
- package/dist/chunks/{controls-group.e4745546.js → controls-group.9d58a091.js} +2 -2
- package/dist/chunks/{controls-group.e4745546.js.map → controls-group.9d58a091.js.map} +1 -1
- package/dist/chunks/{copy.888486ff.js → copy.b62beae5.js} +3 -3
- package/dist/chunks/{copy.888486ff.js.map → copy.b62beae5.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.e425fc5b.js → dropdown-default-textbox.a5eca928.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.e425fc5b.js.map → dropdown-default-textbox.a5eca928.js.map} +1 -1
- package/dist/chunks/{dropdown.e298bb6c.js → dropdown.368486b1.js} +60 -58
- package/dist/chunks/dropdown.368486b1.js.map +1 -0
- package/dist/chunks/{error-message.4269d92b.js → error-message.a581a172.js} +2 -2
- package/dist/chunks/{error-message.4269d92b.js.map → error-message.a581a172.js.map} +1 -1
- package/dist/chunks/{index.e1fcc9e0.js → index.175f9e2d.js} +3 -3
- package/dist/chunks/index.175f9e2d.js.map +1 -0
- package/dist/chunks/{index.ada08445.js → index.3b6fc08a.js} +6 -6
- package/dist/chunks/{index.ada08445.js.map → index.3b6fc08a.js.map} +1 -1
- package/dist/chunks/{index.7bbd6611.js → index.3dfea3bd.js} +3 -3
- package/dist/chunks/{index.7bbd6611.js.map → index.3dfea3bd.js.map} +1 -1
- package/dist/chunks/{index.96e2f563.js → index.ad39b625.js} +2 -2
- package/dist/chunks/{index.96e2f563.js.map → index.ad39b625.js.map} +1 -1
- package/dist/chunks/{index.8d590c55.js → index.d07f9800.js} +33 -32
- package/dist/chunks/{index.8d590c55.js.map → index.d07f9800.js.map} +1 -1
- package/dist/chunks/{index.bc51abe9.js → index.f0d99471.js} +8 -8
- package/dist/chunks/{index.bc51abe9.js.map → index.f0d99471.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.aae99730.js → listbox-option-tag.c7e9a228.js} +3 -3
- package/dist/chunks/{listbox-option-tag.aae99730.js.map → listbox-option-tag.c7e9a228.js.map} +1 -1
- package/dist/chunks/{listbox.99d23071.js → listbox.f51e92cd.js} +28 -27
- package/dist/chunks/{listbox.99d23071.js.map → listbox.f51e92cd.js.map} +1 -1
- package/dist/chunks/{loading-button.f7768964.js → loading-button.6d34f66f.js} +2 -2
- package/dist/chunks/{loading-button.f7768964.js.map → loading-button.6d34f66f.js.map} +1 -1
- package/dist/chunks/{tooltip.1e7cda50.js → tooltip.9af34fba.js} +2 -2
- package/dist/chunks/{tooltip.1e7cda50.js.map → tooltip.9af34fba.js.map} +1 -1
- package/dist/chunks/useCountryItems.5d7b436e.js.map +1 -1
- package/dist/code-snippet.js +132 -130
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +17 -16
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +112 -112
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +7 -7
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +13 -13
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header.js +30 -30
- package/dist/header.js.map +1 -1
- package/dist/index.js +147 -147
- package/dist/info-icon.js +13 -12
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +45 -41
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +6 -6
- package/dist/link.js +12 -12
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +5 -5
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +85 -81
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +12 -11
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +5 -5
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +14 -14
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +14 -14
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/status.js +9 -9
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +101 -88
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +2 -2
- package/dist/tag.js +13 -13
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +27 -23
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +6 -6
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +117 -2
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +60 -60
- package/package.json +4 -3
- package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
- package/dist/chunks/button.f64585fc.js.map +0 -1
- package/dist/chunks/dropdown.e298bb6c.js.map +0 -1
- package/dist/chunks/index.4ec4409f.js +0 -121
- package/dist/chunks/index.4ec4409f.js.map +0 -1
- package/dist/chunks/index.e1fcc9e0.js.map +0 -1
package/dist/code-snippet.js
CHANGED
|
@@ -7,14 +7,14 @@ import { json as qe } from "@codemirror/lang-json";
|
|
|
7
7
|
import { xml as Xe } from "@codemirror/lang-xml";
|
|
8
8
|
import { javascript as $e } from "@codemirror/lang-javascript";
|
|
9
9
|
import { java as Ye } from "@codemirror/lang-java";
|
|
10
|
-
import { B as Qe } from "./chunks/dropdown.
|
|
11
|
-
import { B as Ze, a as et } from "./chunks/button.
|
|
12
|
-
import { B as tt, a as nt } from "./chunks/index.
|
|
10
|
+
import { B as Qe } from "./chunks/dropdown.368486b1.js";
|
|
11
|
+
import { B as Ze, a as et } from "./chunks/button.c27a7ce2.js";
|
|
12
|
+
import { B as tt, a as nt } from "./chunks/index.175f9e2d.js";
|
|
13
13
|
import { u as rt } from "./chunks/i18n.155748d6.js";
|
|
14
|
-
import { C as it } from "./chunks/copy.
|
|
15
|
-
import { b as st } from "./chunks/tooltip.
|
|
14
|
+
import { C as it } from "./chunks/copy.b62beae5.js";
|
|
15
|
+
import { b as st } from "./chunks/tooltip.9af34fba.js";
|
|
16
16
|
import { n as lt } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
17
|
-
import "./assets/
|
|
17
|
+
import "./assets/index14.css";
|
|
18
18
|
const ot = 1024;
|
|
19
19
|
let at = 0;
|
|
20
20
|
class _ {
|
|
@@ -262,15 +262,15 @@ class J {
|
|
|
262
262
|
*/
|
|
263
263
|
iterate(e) {
|
|
264
264
|
let { enter: t, leave: n, from: r = 0, to: s = this.length } = e, l = e.mode || 0, h = (l & S.IncludeAnonymous) > 0;
|
|
265
|
-
for (let
|
|
265
|
+
for (let f = this.cursor(l | S.IncludeAnonymous); ; ) {
|
|
266
266
|
let x = !1;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
267
|
+
if (f.from <= s && f.to >= r && (!h && f.type.isAnonymous || t(f) !== !1)) {
|
|
268
|
+
if (f.firstChild())
|
|
269
269
|
continue;
|
|
270
270
|
x = !0;
|
|
271
271
|
}
|
|
272
|
-
for (; x && n && (h || !
|
|
273
|
-
if (!
|
|
272
|
+
for (; x && n && (h || !f.type.isAnonymous) && n(f), !f.nextSibling(); ) {
|
|
273
|
+
if (!f.parent())
|
|
274
274
|
return;
|
|
275
275
|
x = !0;
|
|
276
276
|
}
|
|
@@ -377,7 +377,7 @@ class G {
|
|
|
377
377
|
*/
|
|
378
378
|
findChild(e, t, n, r, s) {
|
|
379
379
|
let { buffer: l } = this, h = -1;
|
|
380
|
-
for (let
|
|
380
|
+
for (let f = e; f != t && !(Te(s, r, l[f + 1], l[f + 2]) && (h = f, n > 0)); f = l[f + 3])
|
|
381
381
|
;
|
|
382
382
|
return h;
|
|
383
383
|
}
|
|
@@ -386,10 +386,10 @@ class G {
|
|
|
386
386
|
*/
|
|
387
387
|
slice(e, t, n) {
|
|
388
388
|
let r = this.buffer, s = new Uint16Array(t - e), l = 0;
|
|
389
|
-
for (let h = e,
|
|
390
|
-
s[
|
|
391
|
-
let x = s[
|
|
392
|
-
s[
|
|
389
|
+
for (let h = e, f = 0; h < t; ) {
|
|
390
|
+
s[f++] = r[h++], s[f++] = r[h++] - n;
|
|
391
|
+
let x = s[f++] = r[h++] - n;
|
|
392
|
+
s[f++] = r[h++] - e, l = Math.max(l, x);
|
|
393
393
|
}
|
|
394
394
|
return new G(s, l, this.set);
|
|
395
395
|
}
|
|
@@ -428,7 +428,7 @@ function se(i, e, t, n) {
|
|
|
428
428
|
i = l;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
class
|
|
431
|
+
class je {
|
|
432
432
|
cursor(e = 0) {
|
|
433
433
|
return new xe(this, e);
|
|
434
434
|
}
|
|
@@ -465,7 +465,7 @@ class Me {
|
|
|
465
465
|
return this.parent;
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
class z extends
|
|
468
|
+
class z extends je {
|
|
469
469
|
constructor(e, t, n, r) {
|
|
470
470
|
super(), this._tree = e, this.from = t, this.index = n, this._parent = r;
|
|
471
471
|
}
|
|
@@ -480,15 +480,15 @@ class z extends Me {
|
|
|
480
480
|
}
|
|
481
481
|
nextChild(e, t, n, r, s = 0) {
|
|
482
482
|
for (let l = this; ; ) {
|
|
483
|
-
for (let { children: h, positions:
|
|
484
|
-
let C = h[e], A =
|
|
483
|
+
for (let { children: h, positions: f } = l._tree, x = t > 0 ? h.length : -1; e != x; e += t) {
|
|
484
|
+
let C = h[e], A = f[e] + l.from;
|
|
485
485
|
if (Te(r, n, A, A + C.length)) {
|
|
486
486
|
if (C instanceof G) {
|
|
487
487
|
if (s & S.ExcludeBuffers)
|
|
488
488
|
continue;
|
|
489
489
|
let B = C.findChild(0, C.buffer.length, t, n - A, r);
|
|
490
490
|
if (B > -1)
|
|
491
|
-
return new F(new
|
|
491
|
+
return new F(new ut(l, C, e, A), null, B);
|
|
492
492
|
} else if (s & S.IncludeAnonymous || !C.type.isAnonymous || Ce(C)) {
|
|
493
493
|
let B;
|
|
494
494
|
if (!(s & S.IgnoreMounts) && (B = ce.get(C)) && !B.overlay)
|
|
@@ -616,12 +616,12 @@ function ye(i, e, t = e.length - 1) {
|
|
|
616
616
|
}
|
|
617
617
|
return !0;
|
|
618
618
|
}
|
|
619
|
-
class
|
|
619
|
+
class ut {
|
|
620
620
|
constructor(e, t, n, r) {
|
|
621
621
|
this.parent = e, this.buffer = t, this.index = n, this.start = r;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
class F extends
|
|
624
|
+
class F extends je {
|
|
625
625
|
get name() {
|
|
626
626
|
return this.type.name;
|
|
627
627
|
}
|
|
@@ -721,7 +721,7 @@ class F extends Me {
|
|
|
721
721
|
return this.context.buffer.childString(this.index);
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
-
function
|
|
724
|
+
function Me(i) {
|
|
725
725
|
if (!i.length)
|
|
726
726
|
return null;
|
|
727
727
|
let e = 0, t = i[0];
|
|
@@ -730,14 +730,14 @@ function je(i) {
|
|
|
730
730
|
(l.from > t.from || l.to < t.to) && (t = l, e = s);
|
|
731
731
|
}
|
|
732
732
|
let n = t instanceof z && t.index < 0 ? null : t.parent, r = i.slice();
|
|
733
|
-
return n ? r[e] = n : r.splice(e, 1), new
|
|
733
|
+
return n ? r[e] = n : r.splice(e, 1), new ft(r, t);
|
|
734
734
|
}
|
|
735
|
-
class
|
|
735
|
+
class ft {
|
|
736
736
|
constructor(e, t) {
|
|
737
737
|
this.heads = e, this.node = t;
|
|
738
738
|
}
|
|
739
739
|
get next() {
|
|
740
|
-
return
|
|
740
|
+
return Me(this.heads);
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
function ct(i, e, t) {
|
|
@@ -753,7 +753,7 @@ function ct(i, e, t) {
|
|
|
753
753
|
(r || (r = [n])).push(se(h, e, t, !1));
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
return r ?
|
|
756
|
+
return r ? Me(r) : n;
|
|
757
757
|
}
|
|
758
758
|
class xe {
|
|
759
759
|
/**
|
|
@@ -1057,13 +1057,13 @@ function Ce(i) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
function dt(i) {
|
|
1059
1059
|
var e;
|
|
1060
|
-
let { buffer: t, nodeSet: n, maxBufferLength: r = ot, reused: s = [], minRepeatType: l = n.types.length } = i, h = Array.isArray(t) ? new _e(t, t.length) : t,
|
|
1061
|
-
function A(m, p,
|
|
1060
|
+
let { buffer: t, nodeSet: n, maxBufferLength: r = ot, reused: s = [], minRepeatType: l = n.types.length } = i, h = Array.isArray(t) ? new _e(t, t.length) : t, f = n.types, x = 0, C = 0;
|
|
1061
|
+
function A(m, p, u, k, b, g) {
|
|
1062
1062
|
let { id: c, start: d, end: v, size: y } = h, I = C;
|
|
1063
1063
|
for (; y < 0; )
|
|
1064
1064
|
if (h.next(), y == -1) {
|
|
1065
1065
|
let U = s[c];
|
|
1066
|
-
|
|
1066
|
+
u.push(U), k.push(d - m);
|
|
1067
1067
|
return;
|
|
1068
1068
|
} else if (y == -3) {
|
|
1069
1069
|
x = c;
|
|
@@ -1073,27 +1073,27 @@ function dt(i) {
|
|
|
1073
1073
|
return;
|
|
1074
1074
|
} else
|
|
1075
1075
|
throw new RangeError(`Unrecognized record size: ${y}`);
|
|
1076
|
-
let q =
|
|
1077
|
-
if (v - d <= r && (X =
|
|
1078
|
-
let U = new Uint16Array(X.size - X.skip), O = h.pos - X.size,
|
|
1076
|
+
let q = f[c], ee, X, Ne = d - m;
|
|
1077
|
+
if (v - d <= r && (X = re(h.pos - p, b))) {
|
|
1078
|
+
let U = new Uint16Array(X.size - X.skip), O = h.pos - X.size, j = U.length;
|
|
1079
1079
|
for (; h.pos > O; )
|
|
1080
|
-
|
|
1081
|
-
|
|
1080
|
+
j = Z(X.start, U, j);
|
|
1081
|
+
ee = new G(U, v - X.start, n), Ne = X.start - m;
|
|
1082
1082
|
} else {
|
|
1083
1083
|
let U = h.pos - y;
|
|
1084
1084
|
h.next();
|
|
1085
|
-
let O = [],
|
|
1085
|
+
let O = [], j = [], $ = c >= l ? c : -1, te = 0, le = v;
|
|
1086
1086
|
for (; h.pos > U; )
|
|
1087
|
-
$ >= 0 && h.id == $ && h.size >= 0 ? (h.end <= le - r && (w(O,
|
|
1088
|
-
if ($ >= 0 &&
|
|
1087
|
+
$ >= 0 && h.id == $ && h.size >= 0 ? (h.end <= le - r && (w(O, j, d, te, h.end, le, $, I), te = O.length, le = h.end), h.next()) : g > 2500 ? B(d, U, O, j) : A(d, U, O, j, $, g + 1);
|
|
1088
|
+
if ($ >= 0 && te > 0 && te < O.length && w(O, j, d, te, d, le, $, I), O.reverse(), j.reverse(), $ > -1 && te > 0) {
|
|
1089
1089
|
let Se = P(q);
|
|
1090
|
-
|
|
1090
|
+
ee = we(q, O, j, 0, O.length, 0, v - d, Se, Se);
|
|
1091
1091
|
} else
|
|
1092
|
-
|
|
1092
|
+
ee = L(q, O, j, v - d, I - v);
|
|
1093
1093
|
}
|
|
1094
|
-
|
|
1094
|
+
u.push(ee), k.push(Ne);
|
|
1095
1095
|
}
|
|
1096
|
-
function B(m, p,
|
|
1096
|
+
function B(m, p, u, k) {
|
|
1097
1097
|
let b = [], g = 0, c = -1;
|
|
1098
1098
|
for (; h.pos > p; ) {
|
|
1099
1099
|
let { id: d, start: v, end: y, size: I } = h;
|
|
@@ -1109,27 +1109,27 @@ function dt(i) {
|
|
|
1109
1109
|
let d = new Uint16Array(g * 4), v = b[b.length - 2];
|
|
1110
1110
|
for (let y = b.length - 3, I = 0; y >= 0; y -= 3)
|
|
1111
1111
|
d[I++] = b[y], d[I++] = b[y + 1] - v, d[I++] = b[y + 2] - v, d[I++] = I;
|
|
1112
|
-
|
|
1112
|
+
u.push(new G(d, b[2] - v, n)), k.push(v - m);
|
|
1113
1113
|
}
|
|
1114
1114
|
}
|
|
1115
1115
|
function P(m) {
|
|
1116
|
-
return (p,
|
|
1116
|
+
return (p, u, k) => {
|
|
1117
1117
|
let b = 0, g = p.length - 1, c, d;
|
|
1118
1118
|
if (g >= 0 && (c = p[g]) instanceof J) {
|
|
1119
1119
|
if (!g && c.type == m && c.length == k)
|
|
1120
1120
|
return c;
|
|
1121
|
-
(d = c.prop(_.lookAhead)) && (b =
|
|
1121
|
+
(d = c.prop(_.lookAhead)) && (b = u[g] + c.length + d);
|
|
1122
1122
|
}
|
|
1123
|
-
return L(m, p,
|
|
1123
|
+
return L(m, p, u, k, b);
|
|
1124
1124
|
};
|
|
1125
1125
|
}
|
|
1126
|
-
function w(m, p,
|
|
1126
|
+
function w(m, p, u, k, b, g, c, d) {
|
|
1127
1127
|
let v = [], y = [];
|
|
1128
1128
|
for (; m.length > k; )
|
|
1129
|
-
v.push(m.pop()), y.push(p.pop() +
|
|
1130
|
-
m.push(L(n.types[c], v, y, g - b, d - g)), p.push(b -
|
|
1129
|
+
v.push(m.pop()), y.push(p.pop() + u - b);
|
|
1130
|
+
m.push(L(n.types[c], v, y, g - b, d - g)), p.push(b - u);
|
|
1131
1131
|
}
|
|
1132
|
-
function L(m, p,
|
|
1132
|
+
function L(m, p, u, k, b = 0, g) {
|
|
1133
1133
|
if (x) {
|
|
1134
1134
|
let c = [_.contextHash, x];
|
|
1135
1135
|
g = g ? [c].concat(g) : [c];
|
|
@@ -1138,57 +1138,57 @@ function dt(i) {
|
|
|
1138
1138
|
let c = [_.lookAhead, b];
|
|
1139
1139
|
g = g ? [c].concat(g) : [c];
|
|
1140
1140
|
}
|
|
1141
|
-
return new J(m, p,
|
|
1141
|
+
return new J(m, p, u, k, g);
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
let
|
|
1143
|
+
function re(m, p) {
|
|
1144
|
+
let u = h.fork(), k = 0, b = 0, g = 0, c = u.end - r, d = { size: 0, start: 0, skip: 0 };
|
|
1145
1145
|
e:
|
|
1146
|
-
for (let v =
|
|
1147
|
-
let y =
|
|
1148
|
-
if (
|
|
1149
|
-
d.size = k, d.start = b, d.skip = g, g += 4, k += 4,
|
|
1146
|
+
for (let v = u.pos - m; u.pos > v; ) {
|
|
1147
|
+
let y = u.size;
|
|
1148
|
+
if (u.id == p && y >= 0) {
|
|
1149
|
+
d.size = k, d.start = b, d.skip = g, g += 4, k += 4, u.next();
|
|
1150
1150
|
continue;
|
|
1151
1151
|
}
|
|
1152
|
-
let I =
|
|
1153
|
-
if (y < 0 || I < v ||
|
|
1152
|
+
let I = u.pos - y;
|
|
1153
|
+
if (y < 0 || I < v || u.start < c)
|
|
1154
1154
|
break;
|
|
1155
|
-
let q =
|
|
1156
|
-
for (
|
|
1157
|
-
if (
|
|
1158
|
-
if (
|
|
1155
|
+
let q = u.id >= l ? 4 : 0, ee = u.start;
|
|
1156
|
+
for (u.next(); u.pos > I; ) {
|
|
1157
|
+
if (u.size < 0)
|
|
1158
|
+
if (u.size == -3)
|
|
1159
1159
|
q += 4;
|
|
1160
1160
|
else
|
|
1161
1161
|
break e;
|
|
1162
1162
|
else
|
|
1163
|
-
|
|
1164
|
-
|
|
1163
|
+
u.id >= l && (q += 4);
|
|
1164
|
+
u.next();
|
|
1165
1165
|
}
|
|
1166
|
-
b =
|
|
1166
|
+
b = ee, k += y, g += q;
|
|
1167
1167
|
}
|
|
1168
1168
|
return (p < 0 || k == m) && (d.size = k, d.start = b, d.skip = g), d.size > 4 ? d : void 0;
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function Z(m, p, u) {
|
|
1171
1171
|
let { id: k, start: b, end: g, size: c } = h;
|
|
1172
1172
|
if (h.next(), c >= 0 && k < l) {
|
|
1173
|
-
let d =
|
|
1173
|
+
let d = u;
|
|
1174
1174
|
if (c > 4) {
|
|
1175
1175
|
let v = h.pos - (c - 4);
|
|
1176
1176
|
for (; h.pos > v; )
|
|
1177
|
-
|
|
1177
|
+
u = Z(m, p, u);
|
|
1178
1178
|
}
|
|
1179
|
-
p[--
|
|
1179
|
+
p[--u] = d, p[--u] = g - m, p[--u] = b - m, p[--u] = k;
|
|
1180
1180
|
} else
|
|
1181
1181
|
c == -3 ? x = k : c == -4 && (C = k);
|
|
1182
|
-
return
|
|
1182
|
+
return u;
|
|
1183
1183
|
}
|
|
1184
1184
|
let E = [], N = [];
|
|
1185
1185
|
for (; h.pos > 0; )
|
|
1186
1186
|
A(i.start || 0, i.bufferStart || 0, E, N, -1, 0);
|
|
1187
1187
|
let T = (e = i.length) !== null && e !== void 0 ? e : E.length ? N[0] + E[0].length : 0;
|
|
1188
|
-
return new J(
|
|
1188
|
+
return new J(f[i.topID], E.reverse(), N.reverse(), T);
|
|
1189
1189
|
}
|
|
1190
1190
|
const ze = /* @__PURE__ */ new WeakMap();
|
|
1191
|
-
function
|
|
1191
|
+
function fe(i, e) {
|
|
1192
1192
|
if (!i.isAnonymous || e instanceof G || e.type != i)
|
|
1193
1193
|
return 1;
|
|
1194
1194
|
let t = ze.get(e);
|
|
@@ -1199,44 +1199,44 @@ function ue(i, e) {
|
|
|
1199
1199
|
t = 1;
|
|
1200
1200
|
break;
|
|
1201
1201
|
}
|
|
1202
|
-
t +=
|
|
1202
|
+
t += fe(i, n);
|
|
1203
1203
|
}
|
|
1204
1204
|
ze.set(e, t);
|
|
1205
1205
|
}
|
|
1206
1206
|
return t;
|
|
1207
1207
|
}
|
|
1208
|
-
function we(i, e, t, n, r, s, l, h,
|
|
1208
|
+
function we(i, e, t, n, r, s, l, h, f) {
|
|
1209
1209
|
let x = 0;
|
|
1210
1210
|
for (let w = n; w < r; w++)
|
|
1211
|
-
x +=
|
|
1211
|
+
x += fe(i, e[w]);
|
|
1212
1212
|
let C = Math.ceil(
|
|
1213
1213
|
x * 1.5 / 8
|
|
1214
1214
|
/* Balance.BranchFactor */
|
|
1215
1215
|
), A = [], B = [];
|
|
1216
|
-
function P(w, L,
|
|
1217
|
-
for (let N =
|
|
1218
|
-
let T = N, m = L[N], p =
|
|
1219
|
-
for (N++; N <
|
|
1220
|
-
let
|
|
1221
|
-
if (p +
|
|
1216
|
+
function P(w, L, re, Z, E) {
|
|
1217
|
+
for (let N = re; N < Z; ) {
|
|
1218
|
+
let T = N, m = L[N], p = fe(i, w[N]);
|
|
1219
|
+
for (N++; N < Z; N++) {
|
|
1220
|
+
let u = fe(i, w[N]);
|
|
1221
|
+
if (p + u >= C)
|
|
1222
1222
|
break;
|
|
1223
|
-
p +=
|
|
1223
|
+
p += u;
|
|
1224
1224
|
}
|
|
1225
1225
|
if (N == T + 1) {
|
|
1226
1226
|
if (p > C) {
|
|
1227
|
-
let
|
|
1228
|
-
P(
|
|
1227
|
+
let u = w[T];
|
|
1228
|
+
P(u.children, u.positions, 0, u.children.length, L[T] + E);
|
|
1229
1229
|
continue;
|
|
1230
1230
|
}
|
|
1231
1231
|
A.push(w[T]);
|
|
1232
1232
|
} else {
|
|
1233
|
-
let
|
|
1234
|
-
A.push(we(i, w, L, T, N, m,
|
|
1233
|
+
let u = L[N - 1] + w[N - 1].length - m;
|
|
1234
|
+
A.push(we(i, w, L, T, N, m, u, null, f));
|
|
1235
1235
|
}
|
|
1236
1236
|
B.push(m + E - s);
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
return P(e, t, n, r, 0), (h ||
|
|
1239
|
+
return P(e, t, n, r, 0), (h || f)(A, B, l);
|
|
1240
1240
|
}
|
|
1241
1241
|
new _({ perNode: !0 });
|
|
1242
1242
|
let pt = 0;
|
|
@@ -1297,8 +1297,8 @@ class de {
|
|
|
1297
1297
|
let l = bt(t);
|
|
1298
1298
|
for (let h of e.set)
|
|
1299
1299
|
if (!h.modified.length)
|
|
1300
|
-
for (let
|
|
1301
|
-
r.push(de.get(h,
|
|
1300
|
+
for (let f of l)
|
|
1301
|
+
r.push(de.get(h, f));
|
|
1302
1302
|
return s;
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
@@ -1326,8 +1326,8 @@ function yt(i, e) {
|
|
|
1326
1326
|
style: (s) => {
|
|
1327
1327
|
let l = r;
|
|
1328
1328
|
for (let h of s)
|
|
1329
|
-
for (let
|
|
1330
|
-
let x = t[
|
|
1329
|
+
for (let f of h.set) {
|
|
1330
|
+
let x = t[f.id];
|
|
1331
1331
|
if (x) {
|
|
1332
1332
|
l = l ? l + " " + x : x;
|
|
1333
1333
|
break;
|
|
@@ -1338,7 +1338,7 @@ function yt(i, e) {
|
|
|
1338
1338
|
scope: n
|
|
1339
1339
|
};
|
|
1340
1340
|
}
|
|
1341
|
-
const a = D.define, ae = a(), W = a(), Ee = a(W), Pe = a(W), K = a(), he = a(K), be = a(K), H = a(), Y = a(H),
|
|
1341
|
+
const a = D.define, ae = a(), W = a(), Ee = a(W), Pe = a(W), K = a(), he = a(K), be = a(K), H = a(), Y = a(H), M = a(), R = a(), ke = a(), ie = a(ke), ue = a(), o = {
|
|
1342
1342
|
/**
|
|
1343
1343
|
A comment.
|
|
1344
1344
|
*/
|
|
@@ -1451,45 +1451,45 @@ const a = D.define, ae = a(), W = a(), Ee = a(W), Pe = a(W), K = a(), he = a(K),
|
|
|
1451
1451
|
/**
|
|
1452
1452
|
A language keyword.
|
|
1453
1453
|
*/
|
|
1454
|
-
keyword:
|
|
1454
|
+
keyword: M,
|
|
1455
1455
|
/**
|
|
1456
1456
|
The [keyword](#highlight.tags.keyword) for the self or this
|
|
1457
1457
|
object.
|
|
1458
1458
|
*/
|
|
1459
|
-
self: a(
|
|
1459
|
+
self: a(M),
|
|
1460
1460
|
/**
|
|
1461
1461
|
The [keyword](#highlight.tags.keyword) for null.
|
|
1462
1462
|
*/
|
|
1463
|
-
null: a(
|
|
1463
|
+
null: a(M),
|
|
1464
1464
|
/**
|
|
1465
1465
|
A [keyword](#highlight.tags.keyword) denoting some atomic value.
|
|
1466
1466
|
*/
|
|
1467
|
-
atom: a(
|
|
1467
|
+
atom: a(M),
|
|
1468
1468
|
/**
|
|
1469
1469
|
A [keyword](#highlight.tags.keyword) that represents a unit.
|
|
1470
1470
|
*/
|
|
1471
|
-
unit: a(
|
|
1471
|
+
unit: a(M),
|
|
1472
1472
|
/**
|
|
1473
1473
|
A modifier [keyword](#highlight.tags.keyword).
|
|
1474
1474
|
*/
|
|
1475
|
-
modifier: a(
|
|
1475
|
+
modifier: a(M),
|
|
1476
1476
|
/**
|
|
1477
1477
|
A [keyword](#highlight.tags.keyword) that acts as an operator.
|
|
1478
1478
|
*/
|
|
1479
|
-
operatorKeyword: a(
|
|
1479
|
+
operatorKeyword: a(M),
|
|
1480
1480
|
/**
|
|
1481
1481
|
A control-flow related [keyword](#highlight.tags.keyword).
|
|
1482
1482
|
*/
|
|
1483
|
-
controlKeyword: a(
|
|
1483
|
+
controlKeyword: a(M),
|
|
1484
1484
|
/**
|
|
1485
1485
|
A [keyword](#highlight.tags.keyword) that defines something.
|
|
1486
1486
|
*/
|
|
1487
|
-
definitionKeyword: a(
|
|
1487
|
+
definitionKeyword: a(M),
|
|
1488
1488
|
/**
|
|
1489
1489
|
A [keyword](#highlight.tags.keyword) related to defining or
|
|
1490
1490
|
interfacing with modules.
|
|
1491
1491
|
*/
|
|
1492
|
-
moduleKeyword: a(
|
|
1492
|
+
moduleKeyword: a(M),
|
|
1493
1493
|
/**
|
|
1494
1494
|
An operator.
|
|
1495
1495
|
*/
|
|
@@ -1542,27 +1542,27 @@ const a = D.define, ae = a(), W = a(), Ee = a(W), Pe = a(W), K = a(), he = a(K),
|
|
|
1542
1542
|
/**
|
|
1543
1543
|
Bracket-style [punctuation](#highlight.tags.punctuation).
|
|
1544
1544
|
*/
|
|
1545
|
-
bracket:
|
|
1545
|
+
bracket: ie,
|
|
1546
1546
|
/**
|
|
1547
1547
|
Angle [brackets](#highlight.tags.bracket) (usually `<` and `>`
|
|
1548
1548
|
tokens).
|
|
1549
1549
|
*/
|
|
1550
|
-
angleBracket: a(
|
|
1550
|
+
angleBracket: a(ie),
|
|
1551
1551
|
/**
|
|
1552
1552
|
Square [brackets](#highlight.tags.bracket) (usually `[` and `]`
|
|
1553
1553
|
tokens).
|
|
1554
1554
|
*/
|
|
1555
|
-
squareBracket: a(
|
|
1555
|
+
squareBracket: a(ie),
|
|
1556
1556
|
/**
|
|
1557
1557
|
Parentheses (usually `(` and `)` tokens). Subtag of
|
|
1558
1558
|
[bracket](#highlight.tags.bracket).
|
|
1559
1559
|
*/
|
|
1560
|
-
paren: a(
|
|
1560
|
+
paren: a(ie),
|
|
1561
1561
|
/**
|
|
1562
1562
|
Braces (usually `{` and `}` tokens). Subtag of
|
|
1563
1563
|
[bracket](#highlight.tags.bracket).
|
|
1564
1564
|
*/
|
|
1565
|
-
brace: a(
|
|
1565
|
+
brace: a(ie),
|
|
1566
1566
|
/**
|
|
1567
1567
|
Content, for example plain text in XML or markup documents.
|
|
1568
1568
|
*/
|
|
@@ -1648,22 +1648,22 @@ const a = D.define, ae = a(), W = a(), Ee = a(W), Pe = a(W), K = a(), he = a(K),
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
Metadata or meta-instruction.
|
|
1650
1650
|
*/
|
|
1651
|
-
meta:
|
|
1651
|
+
meta: ue,
|
|
1652
1652
|
/**
|
|
1653
1653
|
[Metadata](#highlight.tags.meta) that applies to the entire
|
|
1654
1654
|
document.
|
|
1655
1655
|
*/
|
|
1656
|
-
documentMeta: a(
|
|
1656
|
+
documentMeta: a(ue),
|
|
1657
1657
|
/**
|
|
1658
1658
|
[Metadata](#highlight.tags.meta) that annotates or adds
|
|
1659
1659
|
attributes to a given syntactic element.
|
|
1660
1660
|
*/
|
|
1661
|
-
annotation: a(
|
|
1661
|
+
annotation: a(ue),
|
|
1662
1662
|
/**
|
|
1663
1663
|
Processing instruction or preprocessor directive. Subtag of
|
|
1664
1664
|
[meta](#highlight.tags.meta).
|
|
1665
1665
|
*/
|
|
1666
|
-
processingInstruction: a(
|
|
1666
|
+
processingInstruction: a(ue),
|
|
1667
1667
|
/**
|
|
1668
1668
|
[Modifier](#highlight.Tag^defineModifier) that indicates that a
|
|
1669
1669
|
given element is being defined. Expected to be used with the
|
|
@@ -1810,12 +1810,12 @@ const xt = "#c72727", kt = "#9b5700", vt = "#067934", _t = "#0063d7", Ct = {
|
|
|
1810
1810
|
color: i.invalid
|
|
1811
1811
|
}
|
|
1812
1812
|
]), Nt = Fe(wt(Ct));
|
|
1813
|
-
var
|
|
1813
|
+
var ne = /* @__PURE__ */ ((i) => (i.INLINE = "inline", i.SINGLELINE = "singleline", i.MULTILINE = "multiline", i))(ne || {}), Q = /* @__PURE__ */ ((i) => (i.JSON = "json", i.XML = "xml", i.JAVA = "java", i.JAVASCRIPT = "javascript", i))(Q || {}), ve = /* @__PURE__ */ ((i) => (i.ACTION = "action", i))(ve || {});
|
|
1814
1814
|
const St = {
|
|
1815
|
-
[
|
|
1816
|
-
[
|
|
1817
|
-
[
|
|
1818
|
-
[
|
|
1815
|
+
[Q.JSON]: qe,
|
|
1816
|
+
[Q.XML]: Xe,
|
|
1817
|
+
[Q.JAVASCRIPT]: $e,
|
|
1818
|
+
[Q.JAVA]: Ye
|
|
1819
1819
|
}, At = (i) => ({
|
|
1820
1820
|
loadLang: async () => St[i]
|
|
1821
1821
|
}), It = {
|
|
@@ -1838,14 +1838,16 @@ const St = {
|
|
|
1838
1838
|
*/
|
|
1839
1839
|
variant: {
|
|
1840
1840
|
type: String,
|
|
1841
|
-
default:
|
|
1841
|
+
default: ne.MULTILINE,
|
|
1842
|
+
validator: (i) => Object.values(ne).includes(i)
|
|
1842
1843
|
},
|
|
1843
1844
|
/**
|
|
1844
1845
|
* Language name for syntax highlighting rules
|
|
1845
1846
|
*/
|
|
1846
1847
|
lang: {
|
|
1847
1848
|
type: String,
|
|
1848
|
-
default:
|
|
1849
|
+
default: Q.JSON,
|
|
1850
|
+
validator: (i) => Object.values(Q).includes(i)
|
|
1849
1851
|
},
|
|
1850
1852
|
/**
|
|
1851
1853
|
* Label to show in the action-bar, describing the language
|
|
@@ -1889,11 +1891,11 @@ const St = {
|
|
|
1889
1891
|
setup(i, { emit: e }) {
|
|
1890
1892
|
const { t } = rt(), n = pe(null), r = [], s = () => {
|
|
1891
1893
|
}, l = ge(() => i.langLabel ?? i.lang.toUpperCase()), h = ge(() => ({
|
|
1892
|
-
"b-code-snippet--inline": i.variant ===
|
|
1893
|
-
"b-code-snippet--scrollable": i.variant !==
|
|
1894
|
-
})), { loadLang:
|
|
1894
|
+
"b-code-snippet--inline": i.variant === ne.INLINE,
|
|
1895
|
+
"b-code-snippet--scrollable": i.variant !== ne.INLINE
|
|
1896
|
+
})), { loadLang: f } = At(i.lang), x = Ae(), C = Ae(), A = new me(), B = new me(), P = new me(), w = pe(""), L = pe(0);
|
|
1895
1897
|
He(async () => {
|
|
1896
|
-
const E = await
|
|
1898
|
+
const E = await f();
|
|
1897
1899
|
w.value = i.content;
|
|
1898
1900
|
const N = ({ state: p }) => {
|
|
1899
1901
|
w.value = p.doc.toString();
|
|
@@ -1927,12 +1929,12 @@ const St = {
|
|
|
1927
1929
|
}), L.value = E;
|
|
1928
1930
|
}
|
|
1929
1931
|
);
|
|
1930
|
-
const
|
|
1932
|
+
const re = ge(() => t(i.actionableText));
|
|
1931
1933
|
return {
|
|
1932
1934
|
// Enums
|
|
1933
1935
|
BentoTypographyElement: nt,
|
|
1934
1936
|
BentoButtonVariant: et,
|
|
1935
|
-
BentoCodeSnippetVariant:
|
|
1937
|
+
BentoCodeSnippetVariant: ne,
|
|
1936
1938
|
// Values
|
|
1937
1939
|
container: x,
|
|
1938
1940
|
editor: C,
|
|
@@ -1943,7 +1945,7 @@ const St = {
|
|
|
1943
1945
|
selectedLanguage: n,
|
|
1944
1946
|
// Methods
|
|
1945
1947
|
handleChangeLanguage: s,
|
|
1946
|
-
runText:
|
|
1948
|
+
runText: re,
|
|
1947
1949
|
onActionClicked: () => {
|
|
1948
1950
|
e(ve.ACTION, w);
|
|
1949
1951
|
}
|
|
@@ -1965,7 +1967,7 @@ var Lt = function() {
|
|
|
1965
1967
|
Ot,
|
|
1966
1968
|
!1,
|
|
1967
1969
|
null,
|
|
1968
|
-
"
|
|
1970
|
+
"5b8e340a",
|
|
1969
1971
|
null,
|
|
1970
1972
|
null
|
|
1971
1973
|
);
|
|
@@ -1973,7 +1975,7 @@ const Xt = zt.exports;
|
|
|
1973
1975
|
export {
|
|
1974
1976
|
Xt as BentoCodeSnippet,
|
|
1975
1977
|
ve as BentoCodeSnippetEvent,
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
+
Q as BentoCodeSnippetSupportedLanguage,
|
|
1979
|
+
ne as BentoCodeSnippetVariant
|
|
1978
1980
|
};
|
|
1979
1981
|
//# sourceMappingURL=code-snippet.js.map
|