@adyen/bento-vue3 1.7.0 → 1.8.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 +1 -1
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +11 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +7 -2
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +25 -13
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +25 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +13 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +153 -12
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +319 -96
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +12 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +30 -24
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +11 -1
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.types.d.ts +13 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-memory.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-memory.types.d.ts +22 -0
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +48 -0
- package/dist/@types/packages/vue2/src/components/internal/field-label/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +11 -0
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +18 -24
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +20 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +19 -2
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +4 -2
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +21 -3
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +146 -116
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/field-label.css +1 -0
- package/dist/assets/grid-layout.css +1 -1
- 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 -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/loading-button.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +53 -51
- package/dist/button.js.map +1 -1
- package/dist/card.js +2 -2
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.7897a95e.js → base-button.aa085dfa.js} +2 -2
- package/dist/chunks/{base-button.7897a95e.js.map → base-button.aa085dfa.js.map} +1 -1
- package/dist/chunks/{base-modal.0c85e7cb.js → base-modal.3dcf8376.js} +119 -105
- package/dist/chunks/base-modal.3dcf8376.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.fa35390c.js → button-actions-with-menu.3f52ea2d.js} +7 -7
- package/dist/chunks/{button-actions-with-menu.fa35390c.js.map → button-actions-with-menu.3f52ea2d.js.map} +1 -1
- package/dist/chunks/{button.e5177388.js → button.82ed953e.js} +2 -2
- package/dist/chunks/button.82ed953e.js.map +1 -0
- package/dist/chunks/calendar.d4ab387d.js +1037 -0
- package/dist/chunks/calendar.d4ab387d.js.map +1 -0
- package/dist/chunks/checkbox.03c4b0fe.js +265 -0
- package/dist/chunks/checkbox.03c4b0fe.js.map +1 -0
- package/dist/chunks/controls-group.807b5fb0.js +95 -0
- package/dist/chunks/controls-group.807b5fb0.js.map +1 -0
- package/dist/chunks/{copy.86236c8d.js → copy.28bd4298.js} +4 -4
- package/dist/chunks/{copy.86236c8d.js.map → copy.28bd4298.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.0b38fac3.js → dropdown-default-textbox.74c4584a.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.0b38fac3.js.map → dropdown-default-textbox.74c4584a.js.map} +1 -1
- package/dist/chunks/{dropdown.afff433b.js → dropdown.502e1f5c.js} +314 -337
- package/dist/chunks/dropdown.502e1f5c.js.map +1 -0
- package/dist/chunks/field-label.61679178.js +132 -0
- package/dist/chunks/field-label.61679178.js.map +1 -0
- package/dist/chunks/{fixed-scroller.e5aa7b00.js → fixed-scroller.92bb77a6.js} +2 -2
- package/dist/chunks/{fixed-scroller.e5aa7b00.js.map → fixed-scroller.92bb77a6.js.map} +1 -1
- package/dist/chunks/{footer-actions.1ce44374.js → footer-actions.cefaf1e2.js} +3 -3
- package/dist/chunks/{footer-actions.1ce44374.js.map → footer-actions.cefaf1e2.js.map} +1 -1
- package/dist/chunks/{grid-layout.7c919507.js → grid-layout.c2fe3057.js} +43 -34
- package/dist/chunks/grid-layout.c2fe3057.js.map +1 -0
- package/dist/chunks/{index.fa7b44f1.js → index.0ee895e0.js} +2 -2
- package/dist/chunks/{index.fa7b44f1.js.map → index.0ee895e0.js.map} +1 -1
- package/dist/chunks/{index.bcc58fdd.js → index.7262642e.js} +3 -3
- package/dist/chunks/{index.bcc58fdd.js.map → index.7262642e.js.map} +1 -1
- package/dist/chunks/index.726e2f3c.js +339 -0
- package/dist/chunks/index.726e2f3c.js.map +1 -0
- package/dist/chunks/{index.2bd3812b.js → index.75f3672e.js} +2 -2
- package/dist/chunks/{index.2bd3812b.js.map → index.75f3672e.js.map} +1 -1
- package/dist/chunks/{index.6a665ade.js → index.abb2a1d5.js} +3 -3
- package/dist/chunks/{index.6a665ade.js.map → index.abb2a1d5.js.map} +1 -1
- package/dist/chunks/index.b043371e.js +150 -0
- package/dist/chunks/index.b043371e.js.map +1 -0
- package/dist/chunks/{index.e579bc02.js → index.cf0d3be3.js} +19 -17
- package/dist/chunks/{index.e579bc02.js.map → index.cf0d3be3.js.map} +1 -1
- package/dist/chunks/{index.c207e9ab.js → index.d2542c6a.js} +132 -135
- package/dist/chunks/index.d2542c6a.js.map +1 -0
- package/dist/chunks/index.d80206ed.js +10 -0
- package/dist/chunks/index.d80206ed.js.map +1 -0
- package/dist/chunks/index.e9156fe3.js +817 -0
- package/dist/chunks/index.e9156fe3.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.809ec40e.js → listbox-option-tag.5b00c85f.js} +3 -3
- package/dist/chunks/{listbox-option-tag.809ec40e.js.map → listbox-option-tag.5b00c85f.js.map} +1 -1
- package/dist/chunks/{listbox.f6e5a11d.js → listbox.d07c24e6.js} +4 -4
- package/dist/chunks/{listbox.f6e5a11d.js.map → listbox.d07c24e6.js.map} +1 -1
- package/dist/chunks/loading-button.ad7cfaee.js +108 -0
- package/dist/chunks/loading-button.ad7cfaee.js.map +1 -0
- package/dist/chunks/{tooltip.f769eb14.js → tooltip.054d2eb6.js} +3 -3
- package/dist/chunks/{tooltip.f769eb14.js.map → tooltip.054d2eb6.js.map} +1 -1
- package/dist/code-snippet.js +6 -6
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +847 -820
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +114 -138
- 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 +3 -3
- package/dist/filter-bar.js +17 -16
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +76 -80
- package/dist/header.js.map +1 -1
- package/dist/index.js +207 -205
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +136 -158
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +14 -13
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal.js +4 -4
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +3 -359
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +5 -5
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +4 -4
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +125 -149
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +312 -229
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +49 -49
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -120
- package/dist/assets/error-message.css +0 -1
- package/dist/chunks/base-modal.0c85e7cb.js.map +0 -1
- package/dist/chunks/button.e5177388.js.map +0 -1
- package/dist/chunks/calendar.c83d4e99.js +0 -898
- package/dist/chunks/calendar.c83d4e99.js.map +0 -1
- package/dist/chunks/checkbox.3cdbdd52.js +0 -235
- package/dist/chunks/checkbox.3cdbdd52.js.map +0 -1
- package/dist/chunks/controls-group.38b436f6.js +0 -136
- package/dist/chunks/controls-group.38b436f6.js.map +0 -1
- package/dist/chunks/dropdown.afff433b.js.map +0 -1
- package/dist/chunks/error-message.64e1964b.js +0 -49
- package/dist/chunks/error-message.64e1964b.js.map +0 -1
- package/dist/chunks/grid-layout.7c919507.js.map +0 -1
- package/dist/chunks/index.369b0e66.js +0 -734
- package/dist/chunks/index.369b0e66.js.map +0 -1
- package/dist/chunks/index.77f35162.js +0 -134
- package/dist/chunks/index.77f35162.js.map +0 -1
- package/dist/chunks/index.c207e9ab.js.map +0 -1
- package/dist/chunks/loading-button.746b7fa1.js +0 -109
- package/dist/chunks/loading-button.746b7fa1.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,66 +3,67 @@ var h = (t, e, r) => e in t ? S(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var f = (t, e, r) => (h(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
4
|
import { reactive as C, defineComponent as b, computed as k, openBlock as a, createElementBlock as v, mergeProps as s, unref as m, createBlock as p, withCtx as l, renderSlot as i, createElementVNode as D } from "vue";
|
|
5
5
|
import { g as I } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { B as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import { a as
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
6
|
+
import { BentoActionBar as K } from "./action-bar.js";
|
|
7
|
+
import { BentoAccordion as W, BentoAccordionItem as j } from "./accordion.js";
|
|
8
|
+
import { BentoAlert as J, BentoAlertEvent as X, BentoAlertTypeOption as Y, BentoAlertVariant as Z } from "./alert.js";
|
|
9
|
+
import { a as te, b as oe, B as re } from "./chunks/button.82ed953e.js";
|
|
10
|
+
import { BentoCard as ae, BentoCardBackground as ie, BentoCardTitleSize as Be } from "./card.js";
|
|
11
|
+
import { BentoColumnOverflow as me, BentoDataGrid as pe, BentoDatagridAriaSortValue as le, BentoDatagridEvent as de, BentoDatagridSortDirection as ue, BentoDatagridStyleState as fe } from "./data-grid.js";
|
|
12
|
+
import { BentoDatePicker as ye, BentoDatePickerEvent as xe } from "./date-picker.js";
|
|
13
|
+
import { B as Te, a as Se } from "./chunks/index.e9156fe3.js";
|
|
14
|
+
import { B as Ce, u as be } from "./chunks/dropdown.502e1f5c.js";
|
|
15
|
+
import { BentoDropdownAvatar as ve, BentoDropdownCountry as De, BentoDropdownCurrency as Ie, BentoDropdownPaymentMethod as Ee, BentoDropdownTag as Le } from "./dropdown.js";
|
|
16
|
+
import { BentoDivider as Fe } from "./divider.js";
|
|
17
|
+
import { B as Ve, b as we, a as Ae } from "./chunks/checkbox.03c4b0fe.js";
|
|
18
|
+
import { BentoClickOutside as Me } from "./click-outside.js";
|
|
19
|
+
import { BentoCodeSnippet as $e, BentoCodeSnippetEvent as Re, BentoCodeSnippetSupportedLanguage as Ue, BentoCodeSnippetVariant as Ne } from "./code-snippet.js";
|
|
20
|
+
import { BentoCountry as ze, BentoCountryCode as Ke, BentoCountryVariant as Qe, useCountryCapital as We, useCountryName as je, useCountryPhoneCode as He } from "./country.js";
|
|
21
|
+
import { BentoCurrency as Xe, BentoCurrencyISOCode as Ye } from "./currency.js";
|
|
22
|
+
import { B as et, a as tt } from "./chunks/index.0ee895e0.js";
|
|
23
|
+
import { BentoEmptyState as rt, BentoEmptyStateImage as nt, BentoEmptyStateImageVariant as at, BentoEmptyStateVariant as it } from "./empty-state.js";
|
|
24
|
+
import { BentoFilterBar as st, BentoFilterBarEvent as mt, BentoFilterEvent as pt, BentoFilterItemType as lt } from "./filter-bar.js";
|
|
25
|
+
import { BentoFormLayout as ut, BentoFormLayoutFieldTip as ft, BentoFormLayoutGroup as ct, BentoFormLayoutTitle as yt } from "./form-layout.js";
|
|
26
|
+
import { BentoImage as gt, BentoImageAspectRatio as Tt, BentoImageObjectFit as St } from "./image.js";
|
|
27
|
+
import { BentoInfoIcon as Ct } from "./info-icon.js";
|
|
28
|
+
import { BentoInputField as kt, BentoInputFieldElementPosition as vt, BentoInputFieldEvent as Dt, BentoInputFieldStateClass as It, BentoInputFieldType as Et, BentoInputFieldVariant as Lt } from "./input-field.js";
|
|
29
|
+
import { BentoLoadingIndicator as Ft, BentoLoadingIndicatorEvent as _t } from "./loading-indicator.js";
|
|
30
|
+
import { B as wt, a as At } from "./chunks/index.d2542c6a.js";
|
|
31
|
+
import { BentoModal as Mt } from "./modal.js";
|
|
32
|
+
import { b as $t, d as Rt, e as Ut, c as Nt, a as qt, B as zt } from "./chunks/base-modal.3dcf8376.js";
|
|
33
|
+
import { BentoHeader as Qt } from "./header.js";
|
|
34
|
+
import { BentoPagination as jt } from "./pagination.js";
|
|
35
|
+
import { BentoPaymentMethod as Jt, BentoPaymentMethodType as Xt } from "./payment-method.js";
|
|
36
|
+
import { a as Zt, B as eo } from "./chunks/index.726e2f3c.js";
|
|
37
|
+
import { BentoRadioGroup as oo, BentoRadioGroupVariant as ro } from "./radio-group.js";
|
|
38
|
+
import { BentoSearchBar as ao, BentoSearchBarEvent as io, BentoSearchBarInternalEvent as Bo } from "./search-bar.js";
|
|
39
|
+
import { BentoSegmentedControl as mo, BentoSegmentedControlEvent as po } from "./segmented-control.js";
|
|
40
|
+
import { BentoStatus as uo, BentoStatusVariant as fo } from "./status.js";
|
|
41
|
+
import { BentoStep as yo, BentoStepper as xo, BentoStepperTypeOption as go, BentoStepperVariantOption as To } from "./stepper.js";
|
|
42
|
+
import { B as ho, a as Co } from "./chunks/index.b043371e.js";
|
|
43
|
+
import { BentoSummaryGrid as ko, BentoSummaryGridItemAmount as vo, BentoSummaryGridItemCustom as Do, BentoSummaryGridItemNumeric as Io, BentoSummaryGridItemPercentage as Eo, BentoSummaryGridItemSize as Lo, BentoSummaryGridItemText as Po, BentoSummaryGridItemTrendDirection as Fo } from "./summary-grid.js";
|
|
44
|
+
import { BentoTab as Vo, BentoTabs as wo } from "./tabs.js";
|
|
45
|
+
import { BentoTag as Go, BentoTagVariant as Mo } from "./tag.js";
|
|
46
|
+
import { BentoTextarea as $o } from "./textarea.js";
|
|
47
|
+
import { BentoTimeline as Uo, BentoTimelineGapUnit as No, BentoTimelineItem as qo, BentoTimelineItemVariant as zo, BentoTimelineShowMorePlacement as Ko } from "./timeline.js";
|
|
48
|
+
import { BentoToast as Wo } from "./toast.js";
|
|
49
|
+
import { u as Ho } from "./chunks/toastController.0b01d2e8.js";
|
|
50
|
+
import { BentoToggle as Xo, BentoToggleLabelPosition as Yo, BentoTogglePropClass as Zo } from "./toggle.js";
|
|
51
|
+
import { B as c } from "./chunks/index.75f3672e.js";
|
|
52
|
+
import { c as tr, b as or, a as rr } from "./chunks/index.75f3672e.js";
|
|
53
|
+
import { D as ar } from "./chunks/date-input.9186a0bf.js";
|
|
54
|
+
import { a as Br, B as sr } from "./chunks/keyboard-navigation.ca47dfa8.js";
|
|
55
|
+
import { a as pr, b as lr } from "./chunks/listbox.d07c24e6.js";
|
|
56
|
+
import { B as ur } from "./chunks/directive.0408e565.js";
|
|
57
|
+
import { b as cr, B as yr, a as xr } from "./chunks/tooltip.054d2eb6.js";
|
|
58
|
+
import { BentoButtonActions as Tr, BentoButtonActionsLayout as Sr, BentoButtonActionsLayoutBasic as hr, BentoButtonActionsLayoutExtended as Cr } from "./button.js";
|
|
59
|
+
import { B as kr, a as vr } from "./chunks/loading-button.ad7cfaee.js";
|
|
60
|
+
import { b as Ir, b as Er } from "./chunks/calendar.d4ab387d.js";
|
|
61
|
+
import { BentoCheckboxGroup as Pr, BentoCheckboxGroupVariant as Fr } from "./checkbox.js";
|
|
61
62
|
import { BentoLinkVariant as d } from "./link.js";
|
|
62
63
|
import { RouterLink as y } from "vue-router";
|
|
63
64
|
import { _ as E } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
64
|
-
import { BentoTutorial as
|
|
65
|
-
import "./assets/
|
|
65
|
+
import { BentoTutorial as Vr } from "./tutorial.js";
|
|
66
|
+
import "./assets/index6.css";
|
|
66
67
|
class L {
|
|
67
68
|
constructor() {
|
|
68
69
|
f(this, "_state");
|
|
@@ -168,157 +169,158 @@ const x = (t) => {
|
|
|
168
169
|
});
|
|
169
170
|
const U = /* @__PURE__ */ E(_, [["__scopeId", "data-v-bdaab366"]]);
|
|
170
171
|
export {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
Z as
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
re as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
Ae as
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
it as
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
lt as
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
St as
|
|
241
|
-
Ct as
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
172
|
+
W as BentoAccordion,
|
|
173
|
+
j as BentoAccordionItem,
|
|
174
|
+
K as BentoActionBar,
|
|
175
|
+
J as BentoAlert,
|
|
176
|
+
X as BentoAlertEvent,
|
|
177
|
+
Y as BentoAlertTypeOption,
|
|
178
|
+
Z as BentoAlertVariant,
|
|
179
|
+
te as BentoButton,
|
|
180
|
+
Tr as BentoButtonActions,
|
|
181
|
+
Sr as BentoButtonActionsLayout,
|
|
182
|
+
hr as BentoButtonActionsLayoutBasic,
|
|
183
|
+
Cr as BentoButtonActionsLayoutExtended,
|
|
184
|
+
oe as BentoButtonPropClass,
|
|
185
|
+
re as BentoButtonVariant,
|
|
186
|
+
ae as BentoCard,
|
|
187
|
+
ie as BentoCardBackground,
|
|
188
|
+
Be as BentoCardTitleSize,
|
|
189
|
+
Ve as BentoCheckbox,
|
|
190
|
+
we as BentoCheckboxEvent,
|
|
191
|
+
Pr as BentoCheckboxGroup,
|
|
192
|
+
Fr as BentoCheckboxGroupVariant,
|
|
193
|
+
Ae as BentoCheckboxState,
|
|
194
|
+
Me as BentoClickOutside,
|
|
195
|
+
ur as BentoClickOutsideDirective,
|
|
196
|
+
$e as BentoCodeSnippet,
|
|
197
|
+
Re as BentoCodeSnippetEvent,
|
|
198
|
+
Ue as BentoCodeSnippetSupportedLanguage,
|
|
199
|
+
Ne as BentoCodeSnippetVariant,
|
|
200
|
+
me as BentoColumnOverflow,
|
|
201
|
+
ze as BentoCountry,
|
|
202
|
+
Ke as BentoCountryCode,
|
|
203
|
+
Qe as BentoCountryVariant,
|
|
204
|
+
Xe as BentoCurrency,
|
|
205
|
+
Ye as BentoCurrencyISOCode,
|
|
206
|
+
pe as BentoDataGrid,
|
|
207
|
+
le as BentoDatagridAriaSortValue,
|
|
208
|
+
de as BentoDatagridEvent,
|
|
209
|
+
ue as BentoDatagridSortDirection,
|
|
210
|
+
fe as BentoDatagridStyleState,
|
|
211
|
+
et as BentoDate,
|
|
212
|
+
tt as BentoDateFormat,
|
|
213
|
+
ye as BentoDatePicker,
|
|
214
|
+
xe as BentoDatePickerEvent,
|
|
215
|
+
Ir as BentoDatePickerFirstDayOfWeek,
|
|
216
|
+
Te as BentoDateRangePicker,
|
|
217
|
+
Se as BentoDateRangePickerEvent,
|
|
218
|
+
Er as BentoDateRangePickerFirstDayOfWeek,
|
|
219
|
+
Fe as BentoDivider,
|
|
220
|
+
Ce as BentoDropdown,
|
|
221
|
+
ve as BentoDropdownAvatar,
|
|
222
|
+
De as BentoDropdownCountry,
|
|
223
|
+
Ie as BentoDropdownCurrency,
|
|
224
|
+
Ee as BentoDropdownPaymentMethod,
|
|
225
|
+
Le as BentoDropdownTag,
|
|
226
|
+
rt as BentoEmptyState,
|
|
227
|
+
nt as BentoEmptyStateImage,
|
|
228
|
+
at as BentoEmptyStateImageVariant,
|
|
229
|
+
it as BentoEmptyStateVariant,
|
|
230
|
+
st as BentoFilterBar,
|
|
231
|
+
mt as BentoFilterBarEvent,
|
|
232
|
+
pt as BentoFilterEvent,
|
|
233
|
+
lt as BentoFilterItemType,
|
|
234
|
+
ut as BentoFormLayout,
|
|
235
|
+
ft as BentoFormLayoutFieldTip,
|
|
236
|
+
ct as BentoFormLayoutGroup,
|
|
237
|
+
yt as BentoFormLayoutTitle,
|
|
238
|
+
Qt as BentoHeader,
|
|
239
|
+
gt as BentoImage,
|
|
240
|
+
Tt as BentoImageAspectRatio,
|
|
241
|
+
St as BentoImageObjectFit,
|
|
242
|
+
Ct as BentoInfoIcon,
|
|
243
|
+
kt as BentoInputField,
|
|
244
|
+
vt as BentoInputFieldElementPosition,
|
|
245
|
+
Dt as BentoInputFieldEvent,
|
|
246
|
+
It as BentoInputFieldStateClass,
|
|
247
|
+
Et as BentoInputFieldType,
|
|
248
|
+
Lt as BentoInputFieldVariant,
|
|
249
|
+
Br as BentoKeyboardNavigationDirective,
|
|
250
|
+
sr as BentoKeyboardNavigationKeyDownEvent,
|
|
249
251
|
U as BentoLink,
|
|
250
252
|
d as BentoLinkVariant,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
253
|
+
pr as BentoListboxEvent,
|
|
254
|
+
lr as BentoListboxLazyLoadType,
|
|
255
|
+
kr as BentoLoadingButton,
|
|
256
|
+
vr as BentoLoadingButtonState,
|
|
257
|
+
Ft as BentoLoadingIndicator,
|
|
258
|
+
_t as BentoLoadingIndicatorEvent,
|
|
259
|
+
wt as BentoMenu,
|
|
260
|
+
At as BentoMenuEvent,
|
|
261
|
+
Mt as BentoModal,
|
|
262
|
+
$t as BentoModalColumnLayoutVariant,
|
|
263
|
+
Rt as BentoModalDialogType,
|
|
264
|
+
Ut as BentoModalEvent,
|
|
265
|
+
Nt as BentoModalRole,
|
|
266
|
+
qt as BentoModalSize,
|
|
267
|
+
zt as BentoModalVariant,
|
|
268
|
+
jt as BentoPagination,
|
|
269
|
+
Jt as BentoPaymentMethod,
|
|
270
|
+
Xt as BentoPaymentMethodType,
|
|
271
|
+
Zt as BentoPopover,
|
|
272
|
+
eo as BentoPopoverPositions,
|
|
273
|
+
oo as BentoRadioGroup,
|
|
274
|
+
ro as BentoRadioGroupVariant,
|
|
275
|
+
ao as BentoSearchBar,
|
|
276
|
+
io as BentoSearchBarEvent,
|
|
277
|
+
Bo as BentoSearchBarInternalEvent,
|
|
278
|
+
mo as BentoSegmentedControl,
|
|
279
|
+
po as BentoSegmentedControlEvent,
|
|
280
|
+
uo as BentoStatus,
|
|
281
|
+
fo as BentoStatusVariant,
|
|
282
|
+
yo as BentoStep,
|
|
283
|
+
xo as BentoStepper,
|
|
284
|
+
go as BentoStepperTypeOption,
|
|
285
|
+
To as BentoStepperVariantOption,
|
|
286
|
+
ho as BentoStructuredList,
|
|
287
|
+
Co as BentoStructuredListItem,
|
|
288
|
+
ko as BentoSummaryGrid,
|
|
289
|
+
vo as BentoSummaryGridItemAmount,
|
|
290
|
+
Do as BentoSummaryGridItemCustom,
|
|
291
|
+
Io as BentoSummaryGridItemNumeric,
|
|
292
|
+
Eo as BentoSummaryGridItemPercentage,
|
|
293
|
+
Lo as BentoSummaryGridItemSize,
|
|
294
|
+
Po as BentoSummaryGridItemText,
|
|
295
|
+
Fo as BentoSummaryGridItemTrendDirection,
|
|
296
|
+
Vo as BentoTab,
|
|
297
|
+
wo as BentoTabs,
|
|
298
|
+
Go as BentoTag,
|
|
299
|
+
Mo as BentoTagVariant,
|
|
300
|
+
$o as BentoTextarea,
|
|
301
|
+
Uo as BentoTimeline,
|
|
302
|
+
No as BentoTimelineGapUnit,
|
|
303
|
+
qo as BentoTimelineItem,
|
|
304
|
+
zo as BentoTimelineItemVariant,
|
|
305
|
+
Ko as BentoTimelineShowMorePlacement,
|
|
306
|
+
Wo as BentoToast,
|
|
307
|
+
Xo as BentoToggle,
|
|
308
|
+
Yo as BentoToggleLabelPosition,
|
|
309
|
+
Zo as BentoTogglePropClass,
|
|
310
|
+
cr as BentoTooltipDirective,
|
|
311
|
+
yr as BentoTooltipPosition,
|
|
312
|
+
xr as BentoTooltipState,
|
|
313
|
+
Vr as BentoTutorial,
|
|
312
314
|
c as BentoTypography,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
tr as BentoTypographyElement,
|
|
316
|
+
or as BentoTypographyModifier,
|
|
317
|
+
rr as BentoTypographyVariant,
|
|
318
|
+
ar as DateFormat,
|
|
317
319
|
R as default,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
320
|
+
Ho as useBentoToastController,
|
|
321
|
+
We as useCountryCapital,
|
|
322
|
+
je as useCountryName,
|
|
323
|
+
He as useCountryPhoneCode,
|
|
324
|
+
be as useSearchBarFilter
|
|
323
325
|
};
|
|
324
326
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../vue2/src/plugins/toastController.ts","../../vue2/src/install.ts","../src/components/link/link.vue"],"sourcesContent":["import { reactive } from 'vue';\nimport { generateUid } from '@/utils/ts/unique-id';\nimport { BentoToastItem } from '@/components/toast/components/toast-item';\n\n/* eslint-disable no-underscore-dangle */\nexport default class ToastController {\n get state(): { queue: Array<BentoToastItem> } {\n return this._state;\n }\n\n private _state: { queue: Array<BentoToastItem> };\n\n constructor() {\n this._state = reactive({ queue: [] });\n }\n\n private dismissToast(toast: BentoToastItem): void {\n this._state.queue.splice(this._state.queue.indexOf(toast), 1);\n }\n\n public addToast(params: BentoToastItem) {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => this.dismissToast(toast),\n };\n\n // new messages always appear in front\n this._state.queue.push(toast);\n\n // return API to manipulate toast\n return {\n dismiss: () => this.dismissToast(toast),\n };\n }\n}\n/* eslint-enable no-underscore-dangle */\n","import type { PluginObject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport ToastController from './plugins/toastController';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n if (isVue2) {\n // Adds a new property to the Vue instance\n // eslint-disable-next-line no-param-reassign\n (Vue as any).prototype.$bentoToastController = new ToastController();\n } else {\n // eslint-disable-next-line no-param-reassign\n (Vue as any).config.globalProperties.$bentoToastController = new ToastController();\n }\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n","<template>\n <a\n v-if=\"external\"\n v-bind=\"$attrs\"\n :href=\"to\"\n target=\"_blank\"\n class=\"b-link\"\n :class=\"conditionalClasses\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </a>\n <router-link v-else v-slot=\"{ href, navigate }\" v-bind=\"$props\" custom @click=\"onClick\">\n <a v-bind=\"$attrs\" :href=\"href\" class=\"b-link\" :class=\"conditionalClasses\" @click=\"navigate\">\n <bento-typography v-if=\"!disableTypography\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </a>\n </router-link>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoLinkVariant } from '@/core/components/link/link.types';\n import BentoTypography from '@/components/typography/typography.vue';\n import { computed, type PropType } from 'vue';\n import { RouterLink } from 'vue-router';\n import type { RouterLinkSlotArgument } from 'vue-router/types/router';\n\n const props = defineProps({\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n ...RouterLink.props,\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: { type: Boolean, default: false },\n /**\n * Disable the default typography for the component. Only use this when the component is inside another typography component.\n */\n disableTypography: { type: Boolean, default: false },\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant: { type: String as PropType<BentoLinkVariant>, default: BentoLinkVariant.DEFAULT },\n });\n const emit = defineEmits(['click']);\n const conditionalClasses = computed(() => ({\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n }));\n\n const onClick = (e: MouseEvent, navigateCallback?: RouterLinkSlotArgument['navigate']) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/link/link.scss\" />\n"],"names":["ToastController","__publicField","reactive","toast","params","id","generateUid","setTheme","theme","plugin","Vue","options","conditionalClasses","computed","BentoLinkVariant","props","onClick","e","navigateCallback","emit"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../vue2/src/plugins/toastController.ts","../../vue2/src/install.ts","../src/components/link/link.vue"],"sourcesContent":["import { reactive } from 'vue';\nimport { generateUid } from '@/utils/ts/unique-id';\nimport { BentoToastItem } from '@/components/toast/components/toast-item';\n\n/* eslint-disable no-underscore-dangle */\nexport default class ToastController {\n get state(): { queue: Array<BentoToastItem> } {\n return this._state;\n }\n\n private _state: { queue: Array<BentoToastItem> };\n\n constructor() {\n this._state = reactive({ queue: [] });\n }\n\n private dismissToast(toast: BentoToastItem): void {\n this._state.queue.splice(this._state.queue.indexOf(toast), 1);\n }\n\n public addToast(params: BentoToastItem) {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => this.dismissToast(toast),\n };\n\n // new messages always appear in front\n this._state.queue.push(toast);\n\n // return API to manipulate toast\n return {\n dismiss: () => this.dismissToast(toast),\n };\n }\n}\n/* eslint-enable no-underscore-dangle */\n","import type { PluginObject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport ToastController from './plugins/toastController';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n if (isVue2) {\n // Adds a new property to the Vue instance\n // eslint-disable-next-line no-param-reassign\n (Vue as any).prototype.$bentoToastController = new ToastController();\n } else {\n // eslint-disable-next-line no-param-reassign\n (Vue as any).config.globalProperties.$bentoToastController = new ToastController();\n }\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n","<template>\n <a\n v-if=\"external\"\n v-bind=\"$attrs\"\n :href=\"to\"\n target=\"_blank\"\n class=\"b-link\"\n :class=\"conditionalClasses\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </a>\n <router-link v-else v-slot=\"{ href, navigate }\" v-bind=\"$props\" custom @click=\"onClick\">\n <a v-bind=\"$attrs\" :href=\"href\" class=\"b-link\" :class=\"conditionalClasses\" @click=\"navigate\">\n <bento-typography v-if=\"!disableTypography\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </a>\n </router-link>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoLinkVariant } from '@/core/components/link/link.types';\n import BentoTypography from '@/components/typography/typography.vue';\n import { computed, type PropType } from 'vue';\n import { RouterLink } from 'vue-router';\n import type { RouterLinkSlotArgument } from 'vue-router/types/router';\n\n const props = defineProps({\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n ...RouterLink.props,\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: { type: Boolean, default: false },\n /**\n * Disable the default typography for the component. Only use this when the component is inside another typography component.\n */\n disableTypography: { type: Boolean, default: false },\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant: { type: String as PropType<BentoLinkVariant>, default: BentoLinkVariant.DEFAULT },\n });\n const emit = defineEmits(['click']);\n const conditionalClasses = computed(() => ({\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n }));\n\n const onClick = (e: MouseEvent, navigateCallback?: RouterLinkSlotArgument['navigate']) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/link/link.scss\" />\n"],"names":["ToastController","__publicField","reactive","toast","params","id","generateUid","setTheme","theme","plugin","Vue","options","conditionalClasses","computed","BentoLinkVariant","props","onClick","e","navigateCallback","emit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAAA,EAAA;AAAA,EAKY,cAAA;AAFR,IAAAC,EAAA;AAKI,SAAA,SAAAC,EAAA,EAAA,OAAA,CAAA,EAAA,CAAA;AAAA,EAAoC;AAAA,EARP,IAAA,QAAA;AAE7B,WAAA,KAAA;AAAA,EAAY;AAAA,EAOhB,aAAAC,GAAA;AAGI,SAAA,OAAA,MAAA,OAAA,KAAA,OAAA,MAAA,QAAAA,CAAA,GAAA,CAAA;AAAA,EAA4D;AAAA,EAChE,SAAAC,GAAA;AAGI,UAAAC,IAAAC,EAAA,OAAA,GACAH,IAAA;AAAA,MAAc,GAAAC;AAAA,MACP,IAAAC;AAAA,MACH,SAAA,MAAA,KAAA,aAAAF,CAAA;AAAA,IACsC;AAI1C,gBAAA,OAAA,MAAA,KAAAA,CAAA,GAGA;AAAA,MAAO,SAAA,MAAA,KAAA,aAAAA,CAAA;AAAA,IACmC;AAAA,EAC1C;AAER;ACrBA,MAAAI,IAAA,CAAAC,MAAA;AACI,WAAA,KAAA,UAAA,IAAAA,CAAA;AACJ,GAEAC,IAAA;AAAA,EAA6C,SAAA,OAAAC,GAAAC,MAAA;AAErC,IAAAA,KAAA,QAAAA,EAAA,cAOQD,EAAA,OAAA,iBAAA,wBAAA,IAAAV,EAAA,KAIRW,KAAA,gBAAAA,EAAA,WAAA,oBACIJ;AAAA,MAAA;AAAA;AAAA,IAAA,GACA,MAAA,OAAA,qEAAA,MAA6EI,KAAA,gBAAAA,EAAA,WAAA,wBAE7EJ;AAAA,MAAA;AAAA;AAAA,IAAA,GACA,MAAA,OAAA,yEAAA,KAEA,MAAA,OAAA,8DAAA,GAGJI,KAAA,QAAAA,EAAA,sBACI,MAAA,OAAA,4DAAA;AAAA,EACJ;AAER;;;;;;;;;;;;;;;;;;;;;;iBCKIC,IAAAC,EAAA,OAAA;AAAA,MAA2C,CAAA,WAAAC,EAAA,OAAA,GAAAC,EAAA,YAAAD,EAAA;AAAA,IACmC,EAAA,GAG9EE,IAAA,CAAAC,GAAAC,MAAA;AACI,MAAAC,EAAA,SAAAF,CAAA,GACAC,KACIA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/info-icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as i, createElementBlock as n, mergeProps as f, toDisplayString as h, createCommentVNode as v, createElementVNode as e, pushScopeId as m, popScopeId as g, defineComponent as b, resolveComponent as $, resolveDirective as I, withDirectives as w, createVNode as y } from "vue";
|
|
2
|
-
import { c as s } from "./chunks/index.
|
|
3
|
-
import { b as S } from "./chunks/tooltip.
|
|
2
|
+
import { c as s } from "./chunks/index.7262642e.js";
|
|
3
|
+
import { b as S } from "./chunks/tooltip.054d2eb6.js";
|
|
4
4
|
import { _ as r } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
5
|
-
import "./assets/
|
|
5
|
+
import "./assets/index27.css";
|
|
6
6
|
let c = 0;
|
|
7
7
|
const P = {
|
|
8
8
|
beforeCreate() {
|