@adyen/bento-vue3 1.26.0 → 1.28.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 +8 -0
- package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +91 -0
- package/dist/@types/packages/vue2/src/components/dashed-underline/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +65 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -18
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +38 -42
- package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +59 -85
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +48 -80
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +19 -16
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +36 -54
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +27 -22
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +76 -1
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +21 -2
- package/dist/@types/packages/vue2/src/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +78 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +103 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -12
- package/dist/accordion.js +3 -125
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +2 -270
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +5 -181
- package/dist/alert.js.map +1 -1
- package/dist/assets/{index10.css → accordion-item.css} +1 -1
- package/dist/assets/{index17.css → action-bar.css} +1 -1
- package/dist/assets/alert.css +1 -0
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/{index26.css → card.css} +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/{index14.css → code-snippet.css} +1 -1
- package/dist/assets/dashboard-section.css +1 -0
- package/dist/assets/dashed-underline.css +1 -0
- package/dist/assets/data-grid-template.css +1 -0
- package/dist/assets/data-grid.css +1 -0
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/filter-bar.css +1 -0
- package/dist/assets/{index43.css → form-layout-title.css} +1 -1
- package/dist/assets/{index39.css → input-field.css} +1 -1
- package/dist/assets/link.css +1 -0
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/{index7.css → menu.css} +1 -1
- package/dist/assets/{index27.css → modal-fullscreen.css} +1 -1
- package/dist/assets/{index19.css → popover.css} +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/segmented-control.css +1 -0
- package/dist/assets/selection-card-group.css +1 -0
- package/dist/assets/{index44.css → sidepanel.css} +1 -1
- package/dist/assets/status.css +1 -0
- package/dist/assets/structured-list-item.css +1 -0
- package/dist/assets/{index32.css → tabs.css} +1 -1
- package/dist/assets/toggle.css +1 -0
- package/dist/assets/tutorial.css +1 -0
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +13 -14
- package/dist/badge.js.map +1 -1
- package/dist/button.js +14 -89
- package/dist/button.js.map +1 -1
- package/dist/card.js +4 -203
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +8 -194
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
- package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
- package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
- package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
- package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
- package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
- package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
- package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
- package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
- package/dist/chunks/{_plugin-vue_export-helper.dad06003.js → _plugin-vue_export-helper.CHgC5LLL.js} +1 -1
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
- package/dist/chunks/accordion-item.BcfGYvjn.js +126 -0
- package/dist/chunks/accordion-item.BcfGYvjn.js.map +1 -0
- package/dist/chunks/action-bar.BvAtk-jI.js +188 -0
- package/dist/chunks/action-bar.BvAtk-jI.js.map +1 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
- package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
- package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
- package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
- package/dist/chunks/alert.C0gIf7Ka.js +162 -0
- package/dist/chunks/alert.C0gIf7Ka.js.map +1 -0
- package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
- package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
- package/dist/chunks/avatar-image.DO4w_loj.js +61 -0
- package/dist/chunks/avatar-image.DO4w_loj.js.map +1 -0
- package/dist/chunks/{base-button.e84acf30.js → base-button.ewkxHD6W.js} +24 -25
- package/dist/chunks/{base-button.e84acf30.js.map → base-button.ewkxHD6W.js.map} +1 -1
- package/dist/chunks/{base-modal.29e062d0.js → base-modal.BgYlnM_Q.js} +81 -83
- package/dist/chunks/{base-modal.29e062d0.js.map → base-modal.BgYlnM_Q.js.map} +1 -1
- package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
- package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js → button-actions-with-menu.C14zvgVo.js} +14 -15
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js.map → button-actions-with-menu.C14zvgVo.js.map} +1 -1
- package/dist/chunks/{button-actions.642b37de.js → button-actions.hGhRdgC2.js} +41 -40
- package/dist/chunks/button-actions.hGhRdgC2.js.map +1 -0
- package/dist/chunks/{button.60dad578.js → button.DoqHEvPh.js} +38 -38
- package/dist/chunks/button.DoqHEvPh.js.map +1 -0
- package/dist/chunks/{calendar.f38cdab9.js → calendar.CwULNbSL.js} +285 -326
- package/dist/chunks/{calendar.f38cdab9.js.map → calendar.CwULNbSL.js.map} +1 -1
- package/dist/chunks/card.C7zLKdcy.js +205 -0
- package/dist/chunks/card.C7zLKdcy.js.map +1 -0
- package/dist/chunks/checkbox-group.BcT-eZ2p.js +192 -0
- package/dist/chunks/checkbox-group.BcT-eZ2p.js.map +1 -0
- package/dist/chunks/{checkbox-input.ab758a81.js → checkbox-input.CR1lHf7f.js} +43 -43
- package/dist/chunks/{checkbox-input.ab758a81.js.map → checkbox-input.CR1lHf7f.js.map} +1 -1
- package/dist/chunks/{checkbox.f55ee3a5.js → checkbox.xjIFibII.js} +38 -39
- package/dist/chunks/{checkbox.f55ee3a5.js.map → checkbox.xjIFibII.js.map} +1 -1
- package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +44 -0
- package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js.map → checkmark-circle-fill.D29b-JWj.js.map} +1 -1
- package/dist/chunks/{checkmark-small.d7e31e5e.js → checkmark-small.BCeGkayS.js} +10 -10
- package/dist/chunks/{checkmark-small.d7e31e5e.js.map → checkmark-small.BCeGkayS.js.map} +1 -1
- package/dist/chunks/{chevron-left.963d35e9.js → chevron-left.4JHuWe7i.js} +18 -18
- package/dist/chunks/{chevron-left.963d35e9.js.map → chevron-left.4JHuWe7i.js.map} +1 -1
- package/dist/chunks/{chevron-up.05ca20db.js → chevron-up.5-KtIp8i.js} +19 -19
- package/dist/chunks/{chevron-up.05ca20db.js.map → chevron-up.5-KtIp8i.js.map} +1 -1
- package/dist/chunks/click-outside.DABh6NLr.js +23 -0
- package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
- package/dist/chunks/code-snippet.e8bxDBCO.js +1052 -0
- package/dist/chunks/code-snippet.e8bxDBCO.js.map +1 -0
- package/dist/chunks/{controls-group.9e0f17b2.js → controls-group.DWu8NqKL.js} +17 -18
- package/dist/chunks/{controls-group.9e0f17b2.js.map → controls-group.DWu8NqKL.js.map} +1 -1
- package/dist/chunks/{copy.852d4cb8.js → copy.BhO7oRgC.js} +39 -40
- package/dist/chunks/{copy.852d4cb8.js.map → copy.BhO7oRgC.js.map} +1 -1
- package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
- package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
- package/dist/chunks/country.vX94O3uR.js +98 -0
- package/dist/chunks/country.vX94O3uR.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.81925c7f.js → cross-circle-fill.vLaelNTN.js} +12 -12
- package/dist/chunks/{cross-circle-fill.81925c7f.js.map → cross-circle-fill.vLaelNTN.js.map} +1 -1
- package/dist/chunks/cross-small.48UCoOqB.js +29 -0
- package/dist/chunks/{cross-small.9bc6a02f.js.map → cross-small.48UCoOqB.js.map} +1 -1
- package/dist/chunks/cross.BlL0FyHo.js +29 -0
- package/dist/chunks/{cross.a60533f6.js.map → cross.BlL0FyHo.js.map} +1 -1
- package/dist/chunks/currency.CgVd9fQN.js +121 -0
- package/dist/chunks/currency.CgVd9fQN.js.map +1 -0
- package/dist/chunks/dashboard-section.DKeDjvkB.js +167 -0
- package/dist/chunks/dashboard-section.DKeDjvkB.js.map +1 -0
- package/dist/chunks/dashed-underline.DGTW7Y_-.js +79 -0
- package/dist/chunks/dashed-underline.DGTW7Y_-.js.map +1 -0
- package/dist/chunks/data-grid-template.6Nls-D4o.js +89 -0
- package/dist/chunks/data-grid-template.6Nls-D4o.js.map +1 -0
- package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
- package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
- package/dist/chunks/data-grid.BwfZhc09.js +2733 -0
- package/dist/chunks/data-grid.BwfZhc09.js.map +1 -0
- package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
- package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
- package/dist/chunks/date-picker.CoPmllNh.js +273 -0
- package/dist/chunks/date-picker.CoPmllNh.js.map +1 -0
- package/dist/chunks/{index.96cd0d4c.js → date-range-picker.CiwDo2jW.js} +216 -218
- package/dist/chunks/date-range-picker.CiwDo2jW.js.map +1 -0
- package/dist/chunks/{index.146f967e.js → date.2ndGvIGE.js} +36 -41
- package/dist/chunks/date.2ndGvIGE.js.map +1 -0
- package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
- package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
- package/dist/chunks/{dialog-page.ea67bb14.js → dialog-page.BLqqR73w.js} +48 -49
- package/dist/chunks/{dialog-page.ea67bb14.js.map → dialog-page.BLqqR73w.js.map} +1 -1
- package/dist/chunks/divider.CnwfddJD.js +22 -0
- package/dist/chunks/divider.CnwfddJD.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js → dropdown-default-textbox.-Oy2eT40.js} +75 -77
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js.map → dropdown-default-textbox.-Oy2eT40.js.map} +1 -1
- package/dist/chunks/dropdown-tag.C-LxVWlt.js +201 -0
- package/dist/chunks/dropdown-tag.C-LxVWlt.js.map +1 -0
- package/dist/chunks/{dropdown.d8587f36.js → dropdown.CxBlK83Q.js} +221 -233
- package/dist/chunks/dropdown.CxBlK83Q.js.map +1 -0
- package/dist/chunks/empty-state.BBxgpI-D.js +185 -0
- package/dist/chunks/empty-state.BBxgpI-D.js.map +1 -0
- package/dist/chunks/{error-message.3fb5573a.js → error-message.DyjHMyEZ.js} +30 -32
- package/dist/chunks/{error-message.3fb5573a.js.map → error-message.DyjHMyEZ.js.map} +1 -1
- package/dist/chunks/events.CMzGybJJ.js +47 -0
- package/dist/chunks/events.CMzGybJJ.js.map +1 -0
- package/dist/chunks/filter-bar.U2ZcPmSU.js +2775 -0
- package/dist/chunks/filter-bar.U2ZcPmSU.js.map +1 -0
- package/dist/chunks/{fixed-scroller.59aefd1b.js → fixed-scroller.DV7HtKDr.js} +20 -21
- package/dist/chunks/{fixed-scroller.59aefd1b.js.map → fixed-scroller.DV7HtKDr.js.map} +1 -1
- package/dist/chunks/{index.8be283d5.js → focus-trap.CwkbHfT8.js} +20 -20
- package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -0
- package/dist/chunks/{footer-actions.89e68269.js → footer-actions.D9nQFagi.js} +20 -21
- package/dist/chunks/{footer-actions.89e68269.js.map → footer-actions.D9nQFagi.js.map} +1 -1
- package/dist/chunks/form-layout-title.4Gz8-dJv.js +204 -0
- package/dist/chunks/form-layout-title.4Gz8-dJv.js.map +1 -0
- package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
- package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
- package/dist/chunks/{get-slot-text.bead058f.js → get-slot-text.D5WBGjic.js} +1 -1
- package/dist/chunks/{get-slot-text.bead058f.js.map → get-slot-text.D5WBGjic.js.map} +1 -1
- package/dist/chunks/{grid-layout.c2fe3057.js → grid-layout.CqLbbEzI.js} +15 -15
- package/dist/chunks/{grid-layout.c2fe3057.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
- package/dist/chunks/header.Cr7115vM.js +307 -0
- package/dist/chunks/header.Cr7115vM.js.map +1 -0
- package/dist/chunks/{i18n.f7e6533e.js → i18n.DY5YXG5f.js} +46 -89
- package/dist/chunks/{i18n.f7e6533e.js.map → i18n.DY5YXG5f.js.map} +1 -1
- package/dist/chunks/image.0KzfycGE.js +78 -0
- package/dist/chunks/image.0KzfycGE.js.map +1 -0
- package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
- package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
- package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
- package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
- package/dist/chunks/index.Dytpif0G.js +125 -0
- package/dist/chunks/index.Dytpif0G.js.map +1 -0
- package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
- package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
- package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
- package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
- package/dist/chunks/info-icon.DvL1e5Iu.js +45 -0
- package/dist/chunks/info-icon.DvL1e5Iu.js.map +1 -0
- package/dist/chunks/{info.205b4496.js → info.CNegCnli.js} +17 -17
- package/dist/chunks/{info.205b4496.js.map → info.CNegCnli.js.map} +1 -1
- package/dist/chunks/input-field.iH1ICJkQ.js +344 -0
- package/dist/chunks/input-field.iH1ICJkQ.js.map +1 -0
- package/dist/chunks/internal-error.BLZodVBE.js +5 -0
- package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
- package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
- package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
- package/dist/chunks/link.DeNN3Amu.js +111 -0
- package/dist/chunks/link.DeNN3Amu.js.map +1 -0
- package/dist/chunks/listbox-option-tag.Bv4-hXnG.js +94 -0
- package/dist/chunks/listbox-option-tag.Bv4-hXnG.js.map +1 -0
- package/dist/chunks/{loading-button.0391ad8b.js → loading-button.BI32pZiW.js} +19 -20
- package/dist/chunks/{loading-button.0391ad8b.js.map → loading-button.BI32pZiW.js.map} +1 -1
- package/dist/chunks/loading-indicator.BFMEf39U.js +44 -0
- package/dist/chunks/loading-indicator.BFMEf39U.js.map +1 -0
- package/dist/chunks/{index.030c1dd7.js → menu.DN-xhDQU.js} +80 -82
- package/dist/chunks/menu.DN-xhDQU.js.map +1 -0
- package/dist/chunks/modal-fullscreen.CeogBGfr.js +264 -0
- package/dist/chunks/modal-fullscreen.CeogBGfr.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
- package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js +495 -0
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js.map +1 -0
- package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
- package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
- package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
- package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
- package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
- package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
- package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
- package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
- package/dist/chunks/pagination.BwG1MF4j.js +633 -0
- package/dist/chunks/pagination.BwG1MF4j.js.map +1 -0
- package/dist/chunks/{payment-method.31a68b9b.js → payment-method.NCItxw1D.js} +26 -27
- package/dist/chunks/{payment-method.31a68b9b.js.map → payment-method.NCItxw1D.js.map} +1 -1
- package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
- package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
- package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
- package/dist/chunks/{index.5bdebf9d.js → popover.DRb2GW7t.js} +48 -49
- package/dist/chunks/popover.DRb2GW7t.js.map +1 -0
- package/dist/chunks/{index.9bf04b01.js → popper-container.B76aE-3-.js} +180 -182
- package/dist/chunks/popper-container.B76aE-3-.js.map +1 -0
- package/dist/chunks/radio-group.B9HCffiZ.js +296 -0
- package/dist/chunks/radio-group.B9HCffiZ.js.map +1 -0
- package/dist/chunks/{radio-input.1dd15424.js → radio-input.BEzK-fgR.js} +13 -14
- package/dist/chunks/radio-input.BEzK-fgR.js.map +1 -0
- package/dist/chunks/referrals.BvtT-kQS.js +5 -0
- package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
- package/dist/chunks/referrals.aX8WZigH.js +5 -0
- package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
- package/dist/chunks/refresh.BfxRdaQb.js +29 -0
- package/dist/chunks/{refresh.53691839.js.map → refresh.BfxRdaQb.js.map} +1 -1
- package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
- package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
- package/dist/chunks/search-bar.DxskyM4e.js +107 -0
- package/dist/chunks/search-bar.DxskyM4e.js.map +1 -0
- package/dist/chunks/{search.4e4ee4dd.js → search.0lh99z1F.js} +16 -16
- package/dist/chunks/{search.4e4ee4dd.js.map → search.0lh99z1F.js.map} +1 -1
- package/dist/chunks/secondary-nav.D66nxbU-.js +112 -0
- package/dist/chunks/secondary-nav.D66nxbU-.js.map +1 -0
- package/dist/chunks/segmented-control.NnFfAdTq.js +142 -0
- package/dist/chunks/segmented-control.NnFfAdTq.js.map +1 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
- package/dist/chunks/selection-card-group.C-YLePO4.js +385 -0
- package/dist/chunks/selection-card-group.C-YLePO4.js.map +1 -0
- package/dist/chunks/sidepanel.B-LtA15e.js +230 -0
- package/dist/chunks/sidepanel.B-LtA15e.js.map +1 -0
- package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
- package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
- package/dist/chunks/status.types.Bqdcr1WO.js +42 -0
- package/dist/chunks/status.types.Bqdcr1WO.js.map +1 -0
- package/dist/chunks/step.CVoaYmVZ.js +284 -0
- package/dist/chunks/step.CVoaYmVZ.js.map +1 -0
- package/dist/chunks/structured-list-item.DQiPKhOI.js +101 -0
- package/dist/chunks/structured-list-item.DQiPKhOI.js.map +1 -0
- package/dist/chunks/success.DhioLvPD.js +5 -0
- package/dist/chunks/success.DhioLvPD.js.map +1 -0
- package/dist/chunks/success.nNwxJRBS.js +5 -0
- package/dist/chunks/success.nNwxJRBS.js.map +1 -0
- package/dist/chunks/summary-grid-item-custom.B941Kdvq.js +720 -0
- package/dist/chunks/summary-grid-item-custom.B941Kdvq.js.map +1 -0
- package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
- package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
- package/dist/chunks/tabs.TNKpNgTM.js +185 -0
- package/dist/chunks/tabs.TNKpNgTM.js.map +1 -0
- package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
- package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
- package/dist/chunks/tag.CPhtHjDD.js +75 -0
- package/dist/chunks/tag.CPhtHjDD.js.map +1 -0
- package/dist/chunks/{teleport.afeb4c3b.js → teleport.L8qFCYpr.js} +20 -21
- package/dist/chunks/{teleport.afeb4c3b.js.map → teleport.L8qFCYpr.js.map} +1 -1
- package/dist/chunks/textarea.CJ8xiMjv.js +288 -0
- package/dist/chunks/textarea.CJ8xiMjv.js.map +1 -0
- package/dist/chunks/timeline-item.Cap9MXkH.js +531 -0
- package/dist/chunks/timeline-item.Cap9MXkH.js.map +1 -0
- package/dist/chunks/toast.Bwo57uNy.js +215 -0
- package/dist/chunks/toast.Bwo57uNy.js.map +1 -0
- package/dist/chunks/toggle-button.q9F2dsIi.js +79 -0
- package/dist/chunks/toggle-button.q9F2dsIi.js.map +1 -0
- package/dist/chunks/toggle.DmTjGY0a.js +161 -0
- package/dist/chunks/toggle.DmTjGY0a.js.map +1 -0
- package/dist/chunks/{tooltip.1084d92b.js → tooltip.CTR3s-Rm.js} +60 -61
- package/dist/chunks/tooltip.CTR3s-Rm.js.map +1 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js +408 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js.map +1 -0
- package/dist/chunks/typography.D7onlQ9v.js +73 -0
- package/dist/chunks/typography.D7onlQ9v.js.map +1 -0
- package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
- package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
- package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
- package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
- package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
- package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js → use-bento-toast-controller.C0A5tZgd.js} +3 -3
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js.map → use-bento-toast-controller.C0A5tZgd.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.852aeafe.js → use-cached-selected-values.BQBWFTvi.js} +490 -476
- package/dist/chunks/use-cached-selected-values.BQBWFTvi.js.map +1 -0
- package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
- package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
- package/dist/chunks/{use-country-items.32e30471.js → use-country-items.CongYNiX.js} +4 -4
- package/dist/chunks/{use-country-items.32e30471.js.map → use-country-items.CongYNiX.js.map} +1 -1
- package/dist/chunks/{use-default-slot-validator.1169c221.js → use-default-slot-validator.O02rzsob.js} +1 -1
- package/dist/chunks/{use-default-slot-validator.1169c221.js.map → use-default-slot-validator.O02rzsob.js.map} +1 -1
- package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
- package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
- package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
- package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
- package/dist/chunks/{use-has-slot.4d98bf29.js → use-has-slot.B7eQSabc.js} +1 -1
- package/dist/chunks/{use-has-slot.4d98bf29.js.map → use-has-slot.B7eQSabc.js.map} +1 -1
- package/dist/chunks/warning-filled.DHw1rVWs.js +29 -0
- package/dist/chunks/warning-filled.DHw1rVWs.js.map +1 -0
- package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
- package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
- package/dist/click-outside.js +2 -20
- package/dist/click-outside.js.map +1 -1
- package/dist/code-snippet.js +5 -2131
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +8 -101
- package/dist/country.js.map +1 -1
- package/dist/currency.js +3 -118
- package/dist/currency.js.map +1 -1
- package/dist/dashboard-template.js +6 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/dashed-underline.js +5 -0
- package/dist/dashed-underline.js.map +1 -0
- package/dist/data-grid-template.js +2 -87
- package/dist/data-grid-template.js.map +1 -1
- package/dist/data-grid.js +8 -2643
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +5 -272
- 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 +12 -205
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +5 -176
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +5 -2778
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +5 -205
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +2 -306
- package/dist/header.js.map +1 -1
- package/dist/image.js +4 -75
- package/dist/image.js.map +1 -1
- package/dist/index.js +263 -256
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -43
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +7 -342
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +15 -15
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +3 -41
- package/dist/loading-indicator.js.map +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +3 -263
- package/dist/modal-fullscreen.js.map +1 -1
- package/dist/modal.js +11 -501
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +2 -634
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +4 -4
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +6 -296
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +6 -107
- package/dist/search-bar.js.map +1 -1
- package/dist/secondary-nav.js +2 -112
- package/dist/secondary-nav.js.map +1 -1
- package/dist/segmented-control.js +4 -255
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +4 -384
- package/dist/selection-card.js.map +1 -1
- package/dist/sidepanel.js +4 -229
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +3 -50
- package/dist/status.js.map +1 -1
- package/dist/stepper.js +5 -283
- package/dist/stepper.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +9 -720
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +3 -182
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -73
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +2 -286
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +7 -530
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +2 -215
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +4 -159
- package/dist/toggle.js.map +1 -1
- package/dist/tutorial.js +2 -392
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +10 -10
- package/dist/assets/index11.css +0 -1
- package/dist/assets/index16.css +0 -1
- package/dist/assets/index18.css +0 -1
- package/dist/assets/index24.css +0 -1
- package/dist/assets/index25.css +0 -1
- package/dist/assets/index37.css +0 -1
- package/dist/assets/index40.css +0 -1
- package/dist/assets/index42.css +0 -1
- package/dist/assets/index46.css +0 -1
- package/dist/assets/index47.css +0 -1
- package/dist/assets/index9.css +0 -1
- package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
- package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
- package/dist/chunks/1-generic-use.ccca5813.js +0 -5
- package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
- package/dist/chunks/2-generic-use.443db127.js +0 -5
- package/dist/chunks/2-generic-use.443db127.js.map +0 -1
- package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
- package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
- package/dist/chunks/3-generic-use.9f74667f.js +0 -5
- package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
- package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
- package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
- package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
- package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
- package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
- package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper.dad06003.js.map +0 -1
- package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
- package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
- package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
- package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
- package/dist/chunks/adyen-giving.480913b5.js +0 -5
- package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
- package/dist/chunks/adyen-giving.54ed984c.js +0 -5
- package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
- package/dist/chunks/button-actions.642b37de.js.map +0 -1
- package/dist/chunks/button.60dad578.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.f3a69c6a.js +0 -44
- package/dist/chunks/checkmark.87919b24.js +0 -29
- package/dist/chunks/checkmark.87919b24.js.map +0 -1
- package/dist/chunks/cross-small.9bc6a02f.js +0 -29
- package/dist/chunks/cross.a60533f6.js +0 -29
- package/dist/chunks/dropdown.d8587f36.js.map +0 -1
- package/dist/chunks/events.58c00e6d.js +0 -50
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.030c1dd7.js.map +0 -1
- package/dist/chunks/index.07122048.js +0 -23
- package/dist/chunks/index.07122048.js.map +0 -1
- package/dist/chunks/index.146f967e.js.map +0 -1
- package/dist/chunks/index.5bdebf9d.js.map +0 -1
- package/dist/chunks/index.6e0e9d21.js +0 -118
- package/dist/chunks/index.6e0e9d21.js.map +0 -1
- package/dist/chunks/index.8be283d5.js.map +0 -1
- package/dist/chunks/index.96cd0d4c.js.map +0 -1
- package/dist/chunks/index.9bf04b01.js.map +0 -1
- package/dist/chunks/index.a3d60e4f.js +0 -74
- package/dist/chunks/index.a3d60e4f.js.map +0 -1
- package/dist/chunks/index.ba3396d3.js +0 -62
- package/dist/chunks/index.ba3396d3.js.map +0 -1
- package/dist/chunks/index.c8ffede1.js +0 -168
- package/dist/chunks/index.c8ffede1.js.map +0 -1
- package/dist/chunks/internal-error.35cbb071.js +0 -5
- package/dist/chunks/internal-error.35cbb071.js.map +0 -1
- package/dist/chunks/internal-error.9a4823ed.js +0 -5
- package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
- package/dist/chunks/listbox-option-tag.b6182b2e.js +0 -129
- package/dist/chunks/listbox-option-tag.b6182b2e.js.map +0 -1
- package/dist/chunks/no-results-found.58856d70.js +0 -5
- package/dist/chunks/no-results-found.58856d70.js.map +0 -1
- package/dist/chunks/no-results-found.cbb12f78.js +0 -5
- package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
- package/dist/chunks/notifications-cleared.71025c22.js +0 -5
- package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
- package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
- package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
- package/dist/chunks/page-not-found.a500440d.js +0 -5
- package/dist/chunks/page-not-found.a500440d.js.map +0 -1
- package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
- package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
- package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
- package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
- package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
- package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
- package/dist/chunks/radio-input.1dd15424.js.map +0 -1
- package/dist/chunks/referrals.178ce0eb.js +0 -5
- package/dist/chunks/referrals.178ce0eb.js.map +0 -1
- package/dist/chunks/referrals.599047da.js +0 -5
- package/dist/chunks/referrals.599047da.js.map +0 -1
- package/dist/chunks/refresh.53691839.js +0 -29
- package/dist/chunks/success.41981fe8.js +0 -5
- package/dist/chunks/success.41981fe8.js.map +0 -1
- package/dist/chunks/success.77fac78b.js +0 -5
- package/dist/chunks/success.77fac78b.js.map +0 -1
- package/dist/chunks/tooltip.1084d92b.js.map +0 -1
- package/dist/chunks/upload-files.2708eca7.js +0 -5
- package/dist/chunks/upload-files.2708eca7.js.map +0 -1
- package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
- package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.852aeafe.js.map +0 -1
- package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
- package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
- package/dist/chunks/wrong-environment.f890a237.js +0 -5
- package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
- /package/dist/@types/packages/{vue2/src/components/internal → core/src/components}/radio-input/radio-input.types.d.ts +0 -0
- /package/dist/assets/{index13.css → avatar-image.css} +0 -0
- /package/dist/assets/{index21.css → badge.css} +0 -0
- /package/dist/assets/{index5.css → checkbox-group.css} +0 -0
- /package/dist/assets/{index4.css → country.css} +0 -0
- /package/dist/assets/{checkmark-circle-fill.css → cross.css} +0 -0
- /package/dist/assets/{index2.css → date-picker.css} +0 -0
- /package/dist/assets/{index20.css → date-range-picker.css} +0 -0
- /package/dist/assets/{index3.css → divider.css} +0 -0
- /package/dist/assets/{index48.css → dropdown-tag.css} +0 -0
- /package/dist/assets/{index8.css → empty-state.css} +0 -0
- /package/dist/assets/{index.css → focus-trap.css} +0 -0
- /package/dist/assets/{index15.css → header.css} +0 -0
- /package/dist/assets/{index6.css → info-icon.css} +0 -0
- /package/dist/assets/{index41.css → loading-indicator.css} +0 -0
- /package/dist/assets/{index28.css → pagination.css} +0 -0
- /package/dist/assets/{index29.css → popper-container.css} +0 -0
- /package/dist/assets/{index30.css → radio-group.css} +0 -0
- /package/dist/assets/{index22.css → search-bar.css} +0 -0
- /package/dist/assets/{index23.css → secondary-nav.css} +0 -0
- /package/dist/assets/{index45.css → step.css} +0 -0
- /package/dist/assets/{index31.css → summary-grid-item-custom.css} +0 -0
- /package/dist/assets/{index33.css → tag.css} +0 -0
- /package/dist/assets/{index34.css → textarea.css} +0 -0
- /package/dist/assets/{index35.css → timeline-item.css} +0 -0
- /package/dist/assets/{index36.css → toast.css} +0 -0
- /package/dist/assets/{index12.css → toggle-button.css} +0 -0
- /package/dist/assets/{index38.css → typography.css} +0 -0
|
@@ -0,0 +1,1052 @@
|
|
|
1
|
+
import { openBlock as p, createElementBlock as I, mergeProps as de, toDisplayString as Y, createCommentVNode as b, createElementVNode as A, defineComponent as be, ref as V, computed as T, shallowRef as ee, onMounted as ye, watch as Ne, watchEffect as ke, resolveComponent as h, normalizeClass as te, createBlock as L, createVNode as x, withCtx as S, createTextVNode as ne, renderSlot as ve, normalizeProps as we, guardReactiveProps as _e, pushScopeId as Ce, popScopeId as Le } from "vue";
|
|
2
|
+
import { highlightActiveLine as Ie, keymap as Ae, EditorView as oe, lineNumbers as Oe } from "@codemirror/view";
|
|
3
|
+
import { EditorSelection as Ee, Compartment as q, EditorState as ae } from "@codemirror/state";
|
|
4
|
+
import { indentWithTab as Be, history as Te } from "@codemirror/commands";
|
|
5
|
+
import { syntaxHighlighting as Se, HighlightStyle as $e } from "@codemirror/language";
|
|
6
|
+
import { B as Me } from "./dropdown.CxBlK83Q.js";
|
|
7
|
+
import { B as He } from "./button.DoqHEvPh.js";
|
|
8
|
+
import { B as Ve } from "./typography.D7onlQ9v.js";
|
|
9
|
+
import { B as xe } from "./tooltip.CTR3s-Rm.js";
|
|
10
|
+
import { B as je } from "./loading-indicator.BFMEf39U.js";
|
|
11
|
+
import { u as Re } from "./i18n.DY5YXG5f.js";
|
|
12
|
+
import { _ as pe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
13
|
+
import { h as ze } from "./base-modal.BgYlnM_Q.js";
|
|
14
|
+
import { C as Pe } from "./copy.BhO7oRgC.js";
|
|
15
|
+
import { json as De } from "@codemirror/lang-json";
|
|
16
|
+
import { xml as Je } from "@codemirror/lang-xml";
|
|
17
|
+
import { javascript as Ge } from "@codemirror/lang-javascript";
|
|
18
|
+
import { java as Ke } from "@codemirror/lang-java";
|
|
19
|
+
import { python as Ue } from "@codemirror/lang-python";
|
|
20
|
+
import "../assets/code-snippet.css";
|
|
21
|
+
let We = 0;
|
|
22
|
+
class l {
|
|
23
|
+
/**
|
|
24
|
+
Create a new node prop type.
|
|
25
|
+
*/
|
|
26
|
+
constructor(o = {}) {
|
|
27
|
+
this.id = We++, this.perNode = !!o.perNode, this.deserialize = o.deserialize || (() => {
|
|
28
|
+
throw new Error("This node type doesn't define a deserialize function");
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
This is meant to be used with
|
|
33
|
+
[`NodeSet.extend`](#common.NodeSet.extend) or
|
|
34
|
+
[`LRParser.configure`](#lr.ParserConfig.props) to compute
|
|
35
|
+
prop values for each node type in the set. Takes a [match
|
|
36
|
+
object](#common.NodeType^match) or function that returns undefined
|
|
37
|
+
if the node type doesn't get this prop, and the prop's value if
|
|
38
|
+
it does.
|
|
39
|
+
*/
|
|
40
|
+
add(o) {
|
|
41
|
+
if (this.perNode)
|
|
42
|
+
throw new RangeError("Can't add per-node props to node types");
|
|
43
|
+
return typeof o != "function" && (o = H.match(o)), (a) => {
|
|
44
|
+
let r = o(a);
|
|
45
|
+
return r === void 0 ? null : [this, r];
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
l.closedBy = new l({ deserialize: (e) => e.split(" ") });
|
|
50
|
+
l.openedBy = new l({ deserialize: (e) => e.split(" ") });
|
|
51
|
+
l.group = new l({ deserialize: (e) => e.split(" ") });
|
|
52
|
+
l.isolate = new l({ deserialize: (e) => {
|
|
53
|
+
if (e && e != "rtl" && e != "ltr" && e != "auto")
|
|
54
|
+
throw new RangeError("Invalid value for isolate: " + e);
|
|
55
|
+
return e || "auto";
|
|
56
|
+
} });
|
|
57
|
+
l.contextHash = new l({ perNode: !0 });
|
|
58
|
+
l.lookAhead = new l({ perNode: !0 });
|
|
59
|
+
l.mounted = new l({ perNode: !0 });
|
|
60
|
+
const qe = /* @__PURE__ */ Object.create(null);
|
|
61
|
+
class H {
|
|
62
|
+
/**
|
|
63
|
+
@internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(o, a, r, s = 0) {
|
|
66
|
+
this.name = o, this.props = a, this.id = r, this.flags = s;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
Define a node type.
|
|
70
|
+
*/
|
|
71
|
+
static define(o) {
|
|
72
|
+
let a = o.props && o.props.length ? /* @__PURE__ */ Object.create(null) : qe, r = (o.top ? 1 : 0) | (o.skipped ? 2 : 0) | (o.error ? 4 : 0) | (o.name == null ? 8 : 0), s = new H(o.name || "", a, o.id, r);
|
|
73
|
+
if (o.props) {
|
|
74
|
+
for (let i of o.props)
|
|
75
|
+
if (Array.isArray(i) || (i = i(s)), i) {
|
|
76
|
+
if (i[0].perNode)
|
|
77
|
+
throw new RangeError("Can't store a per-node prop on a node type");
|
|
78
|
+
a[i[0].id] = i[1];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return s;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
Retrieves a node prop for this type. Will return `undefined` if
|
|
85
|
+
the prop isn't present on this node.
|
|
86
|
+
*/
|
|
87
|
+
prop(o) {
|
|
88
|
+
return this.props[o.id];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
True when this is the top node of a grammar.
|
|
92
|
+
*/
|
|
93
|
+
get isTop() {
|
|
94
|
+
return (this.flags & 1) > 0;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
True when this node is produced by a skip rule.
|
|
98
|
+
*/
|
|
99
|
+
get isSkipped() {
|
|
100
|
+
return (this.flags & 2) > 0;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
Indicates whether this is an error node.
|
|
104
|
+
*/
|
|
105
|
+
get isError() {
|
|
106
|
+
return (this.flags & 4) > 0;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
When true, this node type doesn't correspond to a user-declared
|
|
110
|
+
named node, for example because it is used to cache repetition.
|
|
111
|
+
*/
|
|
112
|
+
get isAnonymous() {
|
|
113
|
+
return (this.flags & 8) > 0;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
Returns true when this node's name or one of its
|
|
117
|
+
[groups](#common.NodeProp^group) matches the given string.
|
|
118
|
+
*/
|
|
119
|
+
is(o) {
|
|
120
|
+
if (typeof o == "string") {
|
|
121
|
+
if (this.name == o)
|
|
122
|
+
return !0;
|
|
123
|
+
let a = this.prop(l.group);
|
|
124
|
+
return a ? a.indexOf(o) > -1 : !1;
|
|
125
|
+
}
|
|
126
|
+
return this.id == o;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
Create a function from node types to arbitrary values by
|
|
130
|
+
specifying an object whose property names are node or
|
|
131
|
+
[group](#common.NodeProp^group) names. Often useful with
|
|
132
|
+
[`NodeProp.add`](#common.NodeProp.add). You can put multiple
|
|
133
|
+
names, separated by spaces, in a single property name to map
|
|
134
|
+
multiple node names to a single value.
|
|
135
|
+
*/
|
|
136
|
+
static match(o) {
|
|
137
|
+
let a = /* @__PURE__ */ Object.create(null);
|
|
138
|
+
for (let r in o)
|
|
139
|
+
for (let s of r.split(" "))
|
|
140
|
+
a[s] = o[r];
|
|
141
|
+
return (r) => {
|
|
142
|
+
for (let s = r.prop(l.group), i = -1; i < (s ? s.length : 0); i++) {
|
|
143
|
+
let d = a[i < 0 ? r.name : s[i]];
|
|
144
|
+
if (d)
|
|
145
|
+
return d;
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
H.none = new H(
|
|
151
|
+
"",
|
|
152
|
+
/* @__PURE__ */ Object.create(null),
|
|
153
|
+
0,
|
|
154
|
+
8
|
|
155
|
+
/* NodeFlag.Anonymous */
|
|
156
|
+
);
|
|
157
|
+
var re;
|
|
158
|
+
(function(e) {
|
|
159
|
+
e[e.ExcludeBuffers = 1] = "ExcludeBuffers", e[e.IncludeAnonymous = 2] = "IncludeAnonymous", e[e.IgnoreMounts = 4] = "IgnoreMounts", e[e.IgnoreOverlays = 8] = "IgnoreOverlays";
|
|
160
|
+
})(re || (re = {}));
|
|
161
|
+
new l({ perNode: !0 });
|
|
162
|
+
let Xe = 0;
|
|
163
|
+
class f {
|
|
164
|
+
/**
|
|
165
|
+
@internal
|
|
166
|
+
*/
|
|
167
|
+
constructor(o, a, r) {
|
|
168
|
+
this.set = o, this.base = a, this.modified = r, this.id = Xe++;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
Define a new tag. If `parent` is given, the tag is treated as a
|
|
172
|
+
sub-tag of that parent, and
|
|
173
|
+
[highlighters](#highlight.tagHighlighter) that don't mention
|
|
174
|
+
this tag will try to fall back to the parent tag (or grandparent
|
|
175
|
+
tag, etc).
|
|
176
|
+
*/
|
|
177
|
+
static define(o) {
|
|
178
|
+
if (o != null && o.base)
|
|
179
|
+
throw new Error("Can not derive from a modified tag");
|
|
180
|
+
let a = new f([], null, []);
|
|
181
|
+
if (a.set.push(a), o)
|
|
182
|
+
for (let r of o.set)
|
|
183
|
+
a.set.push(r);
|
|
184
|
+
return a;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
Define a tag _modifier_, which is a function that, given a tag,
|
|
188
|
+
will return a tag that is a subtag of the original. Applying the
|
|
189
|
+
same modifier to a twice tag will return the same value (`m1(t1)
|
|
190
|
+
== m1(t1)`) and applying multiple modifiers will, regardless or
|
|
191
|
+
order, produce the same tag (`m1(m2(t1)) == m2(m1(t1))`).
|
|
192
|
+
|
|
193
|
+
When multiple modifiers are applied to a given base tag, each
|
|
194
|
+
smaller set of modifiers is registered as a parent, so that for
|
|
195
|
+
example `m1(m2(m3(t1)))` is a subtype of `m1(m2(t1))`,
|
|
196
|
+
`m1(m3(t1)`, and so on.
|
|
197
|
+
*/
|
|
198
|
+
static defineModifier() {
|
|
199
|
+
let o = new D();
|
|
200
|
+
return (a) => a.modified.indexOf(o) > -1 ? a : D.get(a.base || a, a.modified.concat(o).sort((r, s) => r.id - s.id));
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
let Ye = 0;
|
|
204
|
+
class D {
|
|
205
|
+
constructor() {
|
|
206
|
+
this.instances = [], this.id = Ye++;
|
|
207
|
+
}
|
|
208
|
+
static get(o, a) {
|
|
209
|
+
if (!a.length)
|
|
210
|
+
return o;
|
|
211
|
+
let r = a[0].instances.find((c) => c.base == o && Ze(a, c.modified));
|
|
212
|
+
if (r)
|
|
213
|
+
return r;
|
|
214
|
+
let s = [], i = new f(s, o, a);
|
|
215
|
+
for (let c of a)
|
|
216
|
+
c.instances.push(i);
|
|
217
|
+
let d = Fe(a);
|
|
218
|
+
for (let c of o.set)
|
|
219
|
+
if (!c.modified.length)
|
|
220
|
+
for (let v of d)
|
|
221
|
+
s.push(D.get(c, v));
|
|
222
|
+
return i;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
function Ze(e, o) {
|
|
226
|
+
return e.length == o.length && e.every((a, r) => a == o[r]);
|
|
227
|
+
}
|
|
228
|
+
function Fe(e) {
|
|
229
|
+
let o = [[]];
|
|
230
|
+
for (let a = 0; a < e.length; a++)
|
|
231
|
+
for (let r = 0, s = o.length; r < s; r++)
|
|
232
|
+
o.push(o[r].concat(e[a]));
|
|
233
|
+
return o.sort((a, r) => r.length - a.length);
|
|
234
|
+
}
|
|
235
|
+
new l();
|
|
236
|
+
function Qe(e, o) {
|
|
237
|
+
let a = /* @__PURE__ */ Object.create(null);
|
|
238
|
+
for (let i of e)
|
|
239
|
+
if (!Array.isArray(i.tag))
|
|
240
|
+
a[i.tag.id] = i.class;
|
|
241
|
+
else
|
|
242
|
+
for (let d of i.tag)
|
|
243
|
+
a[d.id] = i.class;
|
|
244
|
+
let { scope: r, all: s = null } = {};
|
|
245
|
+
return {
|
|
246
|
+
style: (i) => {
|
|
247
|
+
let d = s;
|
|
248
|
+
for (let c of i)
|
|
249
|
+
for (let v of c.set) {
|
|
250
|
+
let w = a[v.id];
|
|
251
|
+
if (w) {
|
|
252
|
+
d = d ? d + " " + w : w;
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return d;
|
|
257
|
+
},
|
|
258
|
+
scope: r
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
const n = f.define, j = n(), y = n(), ie = n(y), se = n(y), N = n(), R = n(N), X = n(N), m = n(), C = n(m), g = n(), u = n(), Z = n(), $ = n(Z), z = n(), t = {
|
|
262
|
+
/**
|
|
263
|
+
A comment.
|
|
264
|
+
*/
|
|
265
|
+
comment: j,
|
|
266
|
+
/**
|
|
267
|
+
A line [comment](#highlight.tags.comment).
|
|
268
|
+
*/
|
|
269
|
+
lineComment: n(j),
|
|
270
|
+
/**
|
|
271
|
+
A block [comment](#highlight.tags.comment).
|
|
272
|
+
*/
|
|
273
|
+
blockComment: n(j),
|
|
274
|
+
/**
|
|
275
|
+
A documentation [comment](#highlight.tags.comment).
|
|
276
|
+
*/
|
|
277
|
+
docComment: n(j),
|
|
278
|
+
/**
|
|
279
|
+
Any kind of identifier.
|
|
280
|
+
*/
|
|
281
|
+
name: y,
|
|
282
|
+
/**
|
|
283
|
+
The [name](#highlight.tags.name) of a variable.
|
|
284
|
+
*/
|
|
285
|
+
variableName: n(y),
|
|
286
|
+
/**
|
|
287
|
+
A type [name](#highlight.tags.name).
|
|
288
|
+
*/
|
|
289
|
+
typeName: ie,
|
|
290
|
+
/**
|
|
291
|
+
A tag name (subtag of [`typeName`](#highlight.tags.typeName)).
|
|
292
|
+
*/
|
|
293
|
+
tagName: n(ie),
|
|
294
|
+
/**
|
|
295
|
+
A property or field [name](#highlight.tags.name).
|
|
296
|
+
*/
|
|
297
|
+
propertyName: se,
|
|
298
|
+
/**
|
|
299
|
+
An attribute name (subtag of [`propertyName`](#highlight.tags.propertyName)).
|
|
300
|
+
*/
|
|
301
|
+
attributeName: n(se),
|
|
302
|
+
/**
|
|
303
|
+
The [name](#highlight.tags.name) of a class.
|
|
304
|
+
*/
|
|
305
|
+
className: n(y),
|
|
306
|
+
/**
|
|
307
|
+
A label [name](#highlight.tags.name).
|
|
308
|
+
*/
|
|
309
|
+
labelName: n(y),
|
|
310
|
+
/**
|
|
311
|
+
A namespace [name](#highlight.tags.name).
|
|
312
|
+
*/
|
|
313
|
+
namespace: n(y),
|
|
314
|
+
/**
|
|
315
|
+
The [name](#highlight.tags.name) of a macro.
|
|
316
|
+
*/
|
|
317
|
+
macroName: n(y),
|
|
318
|
+
/**
|
|
319
|
+
A literal value.
|
|
320
|
+
*/
|
|
321
|
+
literal: N,
|
|
322
|
+
/**
|
|
323
|
+
A string [literal](#highlight.tags.literal).
|
|
324
|
+
*/
|
|
325
|
+
string: R,
|
|
326
|
+
/**
|
|
327
|
+
A documentation [string](#highlight.tags.string).
|
|
328
|
+
*/
|
|
329
|
+
docString: n(R),
|
|
330
|
+
/**
|
|
331
|
+
A character literal (subtag of [string](#highlight.tags.string)).
|
|
332
|
+
*/
|
|
333
|
+
character: n(R),
|
|
334
|
+
/**
|
|
335
|
+
An attribute value (subtag of [string](#highlight.tags.string)).
|
|
336
|
+
*/
|
|
337
|
+
attributeValue: n(R),
|
|
338
|
+
/**
|
|
339
|
+
A number [literal](#highlight.tags.literal).
|
|
340
|
+
*/
|
|
341
|
+
number: X,
|
|
342
|
+
/**
|
|
343
|
+
An integer [number](#highlight.tags.number) literal.
|
|
344
|
+
*/
|
|
345
|
+
integer: n(X),
|
|
346
|
+
/**
|
|
347
|
+
A floating-point [number](#highlight.tags.number) literal.
|
|
348
|
+
*/
|
|
349
|
+
float: n(X),
|
|
350
|
+
/**
|
|
351
|
+
A boolean [literal](#highlight.tags.literal).
|
|
352
|
+
*/
|
|
353
|
+
bool: n(N),
|
|
354
|
+
/**
|
|
355
|
+
Regular expression [literal](#highlight.tags.literal).
|
|
356
|
+
*/
|
|
357
|
+
regexp: n(N),
|
|
358
|
+
/**
|
|
359
|
+
An escape [literal](#highlight.tags.literal), for example a
|
|
360
|
+
backslash escape in a string.
|
|
361
|
+
*/
|
|
362
|
+
escape: n(N),
|
|
363
|
+
/**
|
|
364
|
+
A color [literal](#highlight.tags.literal).
|
|
365
|
+
*/
|
|
366
|
+
color: n(N),
|
|
367
|
+
/**
|
|
368
|
+
A URL [literal](#highlight.tags.literal).
|
|
369
|
+
*/
|
|
370
|
+
url: n(N),
|
|
371
|
+
/**
|
|
372
|
+
A language keyword.
|
|
373
|
+
*/
|
|
374
|
+
keyword: g,
|
|
375
|
+
/**
|
|
376
|
+
The [keyword](#highlight.tags.keyword) for the self or this
|
|
377
|
+
object.
|
|
378
|
+
*/
|
|
379
|
+
self: n(g),
|
|
380
|
+
/**
|
|
381
|
+
The [keyword](#highlight.tags.keyword) for null.
|
|
382
|
+
*/
|
|
383
|
+
null: n(g),
|
|
384
|
+
/**
|
|
385
|
+
A [keyword](#highlight.tags.keyword) denoting some atomic value.
|
|
386
|
+
*/
|
|
387
|
+
atom: n(g),
|
|
388
|
+
/**
|
|
389
|
+
A [keyword](#highlight.tags.keyword) that represents a unit.
|
|
390
|
+
*/
|
|
391
|
+
unit: n(g),
|
|
392
|
+
/**
|
|
393
|
+
A modifier [keyword](#highlight.tags.keyword).
|
|
394
|
+
*/
|
|
395
|
+
modifier: n(g),
|
|
396
|
+
/**
|
|
397
|
+
A [keyword](#highlight.tags.keyword) that acts as an operator.
|
|
398
|
+
*/
|
|
399
|
+
operatorKeyword: n(g),
|
|
400
|
+
/**
|
|
401
|
+
A control-flow related [keyword](#highlight.tags.keyword).
|
|
402
|
+
*/
|
|
403
|
+
controlKeyword: n(g),
|
|
404
|
+
/**
|
|
405
|
+
A [keyword](#highlight.tags.keyword) that defines something.
|
|
406
|
+
*/
|
|
407
|
+
definitionKeyword: n(g),
|
|
408
|
+
/**
|
|
409
|
+
A [keyword](#highlight.tags.keyword) related to defining or
|
|
410
|
+
interfacing with modules.
|
|
411
|
+
*/
|
|
412
|
+
moduleKeyword: n(g),
|
|
413
|
+
/**
|
|
414
|
+
An operator.
|
|
415
|
+
*/
|
|
416
|
+
operator: u,
|
|
417
|
+
/**
|
|
418
|
+
An [operator](#highlight.tags.operator) that dereferences something.
|
|
419
|
+
*/
|
|
420
|
+
derefOperator: n(u),
|
|
421
|
+
/**
|
|
422
|
+
Arithmetic-related [operator](#highlight.tags.operator).
|
|
423
|
+
*/
|
|
424
|
+
arithmeticOperator: n(u),
|
|
425
|
+
/**
|
|
426
|
+
Logical [operator](#highlight.tags.operator).
|
|
427
|
+
*/
|
|
428
|
+
logicOperator: n(u),
|
|
429
|
+
/**
|
|
430
|
+
Bit [operator](#highlight.tags.operator).
|
|
431
|
+
*/
|
|
432
|
+
bitwiseOperator: n(u),
|
|
433
|
+
/**
|
|
434
|
+
Comparison [operator](#highlight.tags.operator).
|
|
435
|
+
*/
|
|
436
|
+
compareOperator: n(u),
|
|
437
|
+
/**
|
|
438
|
+
[Operator](#highlight.tags.operator) that updates its operand.
|
|
439
|
+
*/
|
|
440
|
+
updateOperator: n(u),
|
|
441
|
+
/**
|
|
442
|
+
[Operator](#highlight.tags.operator) that defines something.
|
|
443
|
+
*/
|
|
444
|
+
definitionOperator: n(u),
|
|
445
|
+
/**
|
|
446
|
+
Type-related [operator](#highlight.tags.operator).
|
|
447
|
+
*/
|
|
448
|
+
typeOperator: n(u),
|
|
449
|
+
/**
|
|
450
|
+
Control-flow [operator](#highlight.tags.operator).
|
|
451
|
+
*/
|
|
452
|
+
controlOperator: n(u),
|
|
453
|
+
/**
|
|
454
|
+
Program or markup punctuation.
|
|
455
|
+
*/
|
|
456
|
+
punctuation: Z,
|
|
457
|
+
/**
|
|
458
|
+
[Punctuation](#highlight.tags.punctuation) that separates
|
|
459
|
+
things.
|
|
460
|
+
*/
|
|
461
|
+
separator: n(Z),
|
|
462
|
+
/**
|
|
463
|
+
Bracket-style [punctuation](#highlight.tags.punctuation).
|
|
464
|
+
*/
|
|
465
|
+
bracket: $,
|
|
466
|
+
/**
|
|
467
|
+
Angle [brackets](#highlight.tags.bracket) (usually `<` and `>`
|
|
468
|
+
tokens).
|
|
469
|
+
*/
|
|
470
|
+
angleBracket: n($),
|
|
471
|
+
/**
|
|
472
|
+
Square [brackets](#highlight.tags.bracket) (usually `[` and `]`
|
|
473
|
+
tokens).
|
|
474
|
+
*/
|
|
475
|
+
squareBracket: n($),
|
|
476
|
+
/**
|
|
477
|
+
Parentheses (usually `(` and `)` tokens). Subtag of
|
|
478
|
+
[bracket](#highlight.tags.bracket).
|
|
479
|
+
*/
|
|
480
|
+
paren: n($),
|
|
481
|
+
/**
|
|
482
|
+
Braces (usually `{` and `}` tokens). Subtag of
|
|
483
|
+
[bracket](#highlight.tags.bracket).
|
|
484
|
+
*/
|
|
485
|
+
brace: n($),
|
|
486
|
+
/**
|
|
487
|
+
Content, for example plain text in XML or markup documents.
|
|
488
|
+
*/
|
|
489
|
+
content: m,
|
|
490
|
+
/**
|
|
491
|
+
[Content](#highlight.tags.content) that represents a heading.
|
|
492
|
+
*/
|
|
493
|
+
heading: C,
|
|
494
|
+
/**
|
|
495
|
+
A level 1 [heading](#highlight.tags.heading).
|
|
496
|
+
*/
|
|
497
|
+
heading1: n(C),
|
|
498
|
+
/**
|
|
499
|
+
A level 2 [heading](#highlight.tags.heading).
|
|
500
|
+
*/
|
|
501
|
+
heading2: n(C),
|
|
502
|
+
/**
|
|
503
|
+
A level 3 [heading](#highlight.tags.heading).
|
|
504
|
+
*/
|
|
505
|
+
heading3: n(C),
|
|
506
|
+
/**
|
|
507
|
+
A level 4 [heading](#highlight.tags.heading).
|
|
508
|
+
*/
|
|
509
|
+
heading4: n(C),
|
|
510
|
+
/**
|
|
511
|
+
A level 5 [heading](#highlight.tags.heading).
|
|
512
|
+
*/
|
|
513
|
+
heading5: n(C),
|
|
514
|
+
/**
|
|
515
|
+
A level 6 [heading](#highlight.tags.heading).
|
|
516
|
+
*/
|
|
517
|
+
heading6: n(C),
|
|
518
|
+
/**
|
|
519
|
+
A prose separator (such as a horizontal rule).
|
|
520
|
+
*/
|
|
521
|
+
contentSeparator: n(m),
|
|
522
|
+
/**
|
|
523
|
+
[Content](#highlight.tags.content) that represents a list.
|
|
524
|
+
*/
|
|
525
|
+
list: n(m),
|
|
526
|
+
/**
|
|
527
|
+
[Content](#highlight.tags.content) that represents a quote.
|
|
528
|
+
*/
|
|
529
|
+
quote: n(m),
|
|
530
|
+
/**
|
|
531
|
+
[Content](#highlight.tags.content) that is emphasized.
|
|
532
|
+
*/
|
|
533
|
+
emphasis: n(m),
|
|
534
|
+
/**
|
|
535
|
+
[Content](#highlight.tags.content) that is styled strong.
|
|
536
|
+
*/
|
|
537
|
+
strong: n(m),
|
|
538
|
+
/**
|
|
539
|
+
[Content](#highlight.tags.content) that is part of a link.
|
|
540
|
+
*/
|
|
541
|
+
link: n(m),
|
|
542
|
+
/**
|
|
543
|
+
[Content](#highlight.tags.content) that is styled as code or
|
|
544
|
+
monospace.
|
|
545
|
+
*/
|
|
546
|
+
monospace: n(m),
|
|
547
|
+
/**
|
|
548
|
+
[Content](#highlight.tags.content) that has a strike-through
|
|
549
|
+
style.
|
|
550
|
+
*/
|
|
551
|
+
strikethrough: n(m),
|
|
552
|
+
/**
|
|
553
|
+
Inserted text in a change-tracking format.
|
|
554
|
+
*/
|
|
555
|
+
inserted: n(),
|
|
556
|
+
/**
|
|
557
|
+
Deleted text.
|
|
558
|
+
*/
|
|
559
|
+
deleted: n(),
|
|
560
|
+
/**
|
|
561
|
+
Changed text.
|
|
562
|
+
*/
|
|
563
|
+
changed: n(),
|
|
564
|
+
/**
|
|
565
|
+
An invalid or unsyntactic element.
|
|
566
|
+
*/
|
|
567
|
+
invalid: n(),
|
|
568
|
+
/**
|
|
569
|
+
Metadata or meta-instruction.
|
|
570
|
+
*/
|
|
571
|
+
meta: z,
|
|
572
|
+
/**
|
|
573
|
+
[Metadata](#highlight.tags.meta) that applies to the entire
|
|
574
|
+
document.
|
|
575
|
+
*/
|
|
576
|
+
documentMeta: n(z),
|
|
577
|
+
/**
|
|
578
|
+
[Metadata](#highlight.tags.meta) that annotates or adds
|
|
579
|
+
attributes to a given syntactic element.
|
|
580
|
+
*/
|
|
581
|
+
annotation: n(z),
|
|
582
|
+
/**
|
|
583
|
+
Processing instruction or preprocessor directive. Subtag of
|
|
584
|
+
[meta](#highlight.tags.meta).
|
|
585
|
+
*/
|
|
586
|
+
processingInstruction: n(z),
|
|
587
|
+
/**
|
|
588
|
+
[Modifier](#highlight.Tag^defineModifier) that indicates that a
|
|
589
|
+
given element is being defined. Expected to be used with the
|
|
590
|
+
various [name](#highlight.tags.name) tags.
|
|
591
|
+
*/
|
|
592
|
+
definition: f.defineModifier(),
|
|
593
|
+
/**
|
|
594
|
+
[Modifier](#highlight.Tag^defineModifier) that indicates that
|
|
595
|
+
something is constant. Mostly expected to be used with
|
|
596
|
+
[variable names](#highlight.tags.variableName).
|
|
597
|
+
*/
|
|
598
|
+
constant: f.defineModifier(),
|
|
599
|
+
/**
|
|
600
|
+
[Modifier](#highlight.Tag^defineModifier) used to indicate that
|
|
601
|
+
a [variable](#highlight.tags.variableName) or [property
|
|
602
|
+
name](#highlight.tags.propertyName) is being called or defined
|
|
603
|
+
as a function.
|
|
604
|
+
*/
|
|
605
|
+
function: f.defineModifier(),
|
|
606
|
+
/**
|
|
607
|
+
[Modifier](#highlight.Tag^defineModifier) that can be applied to
|
|
608
|
+
[names](#highlight.tags.name) to indicate that they belong to
|
|
609
|
+
the language's standard environment.
|
|
610
|
+
*/
|
|
611
|
+
standard: f.defineModifier(),
|
|
612
|
+
/**
|
|
613
|
+
[Modifier](#highlight.Tag^defineModifier) that indicates a given
|
|
614
|
+
[names](#highlight.tags.name) is local to some scope.
|
|
615
|
+
*/
|
|
616
|
+
local: f.defineModifier(),
|
|
617
|
+
/**
|
|
618
|
+
A generic variant [modifier](#highlight.Tag^defineModifier) that
|
|
619
|
+
can be used to tag language-specific alternative variants of
|
|
620
|
+
some common tag. It is recommended for themes to define special
|
|
621
|
+
forms of at least the [string](#highlight.tags.string) and
|
|
622
|
+
[variable name](#highlight.tags.variableName) tags, since those
|
|
623
|
+
come up a lot.
|
|
624
|
+
*/
|
|
625
|
+
special: f.defineModifier()
|
|
626
|
+
};
|
|
627
|
+
Qe([
|
|
628
|
+
{ tag: t.link, class: "tok-link" },
|
|
629
|
+
{ tag: t.heading, class: "tok-heading" },
|
|
630
|
+
{ tag: t.emphasis, class: "tok-emphasis" },
|
|
631
|
+
{ tag: t.strong, class: "tok-strong" },
|
|
632
|
+
{ tag: t.keyword, class: "tok-keyword" },
|
|
633
|
+
{ tag: t.atom, class: "tok-atom" },
|
|
634
|
+
{ tag: t.bool, class: "tok-bool" },
|
|
635
|
+
{ tag: t.url, class: "tok-url" },
|
|
636
|
+
{ tag: t.labelName, class: "tok-labelName" },
|
|
637
|
+
{ tag: t.inserted, class: "tok-inserted" },
|
|
638
|
+
{ tag: t.deleted, class: "tok-deleted" },
|
|
639
|
+
{ tag: t.literal, class: "tok-literal" },
|
|
640
|
+
{ tag: t.string, class: "tok-string" },
|
|
641
|
+
{ tag: t.number, class: "tok-number" },
|
|
642
|
+
{ tag: [t.regexp, t.escape, t.special(t.string)], class: "tok-string2" },
|
|
643
|
+
{ tag: t.variableName, class: "tok-variableName" },
|
|
644
|
+
{ tag: t.local(t.variableName), class: "tok-variableName tok-local" },
|
|
645
|
+
{ tag: t.definition(t.variableName), class: "tok-variableName tok-definition" },
|
|
646
|
+
{ tag: t.special(t.variableName), class: "tok-variableName2" },
|
|
647
|
+
{ tag: t.definition(t.propertyName), class: "tok-propertyName tok-definition" },
|
|
648
|
+
{ tag: t.typeName, class: "tok-typeName" },
|
|
649
|
+
{ tag: t.namespace, class: "tok-namespace" },
|
|
650
|
+
{ tag: t.className, class: "tok-className" },
|
|
651
|
+
{ tag: t.macroName, class: "tok-macroName" },
|
|
652
|
+
{ tag: t.propertyName, class: "tok-propertyName" },
|
|
653
|
+
{ tag: t.operator, class: "tok-operator" },
|
|
654
|
+
{ tag: t.comment, class: "tok-comment" },
|
|
655
|
+
{ tag: t.meta, class: "tok-meta" },
|
|
656
|
+
{ tag: t.invalid, class: "tok-invalid" },
|
|
657
|
+
{ tag: t.punctuation, class: "tok-punctuation" }
|
|
658
|
+
]);
|
|
659
|
+
const et = "#c72727", tt = "#9b5700", nt = "#067934", ot = "#0063d7", at = {
|
|
660
|
+
red: et,
|
|
661
|
+
orange: tt,
|
|
662
|
+
green: nt,
|
|
663
|
+
blue: ot,
|
|
664
|
+
invalid: "#ffffff"
|
|
665
|
+
}, rt = (e) => $e.define([
|
|
666
|
+
{
|
|
667
|
+
tag: t.keyword,
|
|
668
|
+
color: e.red
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
tag: [t.name, t.deleted, t.character, t.propertyName, t.macroName],
|
|
672
|
+
color: e.green
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
tag: [t.function(t.variableName), t.labelName],
|
|
676
|
+
color: e.blue
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
tag: [t.color, t.constant(t.name), t.standard(t.name)],
|
|
680
|
+
color: e.red
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
tag: [t.definition(t.name), t.separator],
|
|
684
|
+
color: e.red
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
tag: [t.typeName, t.className, t.number, t.changed, t.annotation, t.modifier, t.self, t.namespace],
|
|
688
|
+
color: e.orange
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
tag: [t.operator, t.operatorKeyword, t.url, t.escape, t.regexp, t.link, t.special(t.string)],
|
|
692
|
+
color: e.blue
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
tag: [t.meta, t.comment],
|
|
696
|
+
color: e.orange
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
tag: t.strong,
|
|
700
|
+
fontWeight: "bold"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
tag: t.emphasis,
|
|
704
|
+
fontStyle: "italic"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
tag: t.strikethrough,
|
|
708
|
+
textDecoration: "line-through"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
tag: t.link,
|
|
712
|
+
color: e.orange,
|
|
713
|
+
textDecoration: "underline"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
tag: t.heading,
|
|
717
|
+
fontWeight: "bold",
|
|
718
|
+
color: e.blue
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
tag: [t.atom, t.bool, t.special(t.variableName)],
|
|
722
|
+
color: e.red
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
tag: [t.processingInstruction, t.string, t.inserted],
|
|
726
|
+
color: e.blue
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
tag: t.invalid,
|
|
730
|
+
color: e.invalid
|
|
731
|
+
}
|
|
732
|
+
]), it = Se(rt(at));
|
|
733
|
+
var P = /* @__PURE__ */ ((e) => (e.INLINE = "inline", e.SINGLELINE = "singleline", e.MULTILINE = "multiline", e))(P || {}), k = /* @__PURE__ */ ((e) => (e.JSON = "json", e.XML = "xml", e.JAVA = "java", e.JAVASCRIPT = "javascript", e.PYTHON = "python", e))(k || {}), M = /* @__PURE__ */ ((e) => (e.ACTION = "action", e.CHANGE = "change", e))(M || {});
|
|
734
|
+
const st = {
|
|
735
|
+
[k.JSON]: De,
|
|
736
|
+
[k.XML]: Je,
|
|
737
|
+
[k.JAVASCRIPT]: Ge,
|
|
738
|
+
[k.JAVA]: Ke,
|
|
739
|
+
[k.PYTHON]: Ue
|
|
740
|
+
}, lt = (e) => async () => st[e], ct = (e, o) => {
|
|
741
|
+
const a = e.doc.lineAt(o.from), r = /^\s*/.exec(a.text);
|
|
742
|
+
return r ? r[0] : "";
|
|
743
|
+
}, dt = {
|
|
744
|
+
key: "Enter",
|
|
745
|
+
run: ({ state: e, dispatch: o }) => {
|
|
746
|
+
const a = e.changeByRange((r) => {
|
|
747
|
+
const i = `
|
|
748
|
+
${ct(e, r)}`;
|
|
749
|
+
return {
|
|
750
|
+
changes: { from: r.from, to: r.to, insert: i },
|
|
751
|
+
range: Ee.cursor(r.from + i.length)
|
|
752
|
+
};
|
|
753
|
+
});
|
|
754
|
+
return o(e.update(a, { scrollIntoView: !0, userEvent: "input" })), !0;
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
let le = 0;
|
|
758
|
+
const pt = {
|
|
759
|
+
beforeCreate() {
|
|
760
|
+
this.uuid = le.toString(), le += 1;
|
|
761
|
+
}
|
|
762
|
+
}, gt = { key: 0 }, ut = /* @__PURE__ */ A("path", {
|
|
763
|
+
fill: "#00112C",
|
|
764
|
+
d: "M14.75 1.25V6.75H13.25V3.81083L10.0001 7.06072L8.93945 6.00006L12.1895 2.75H9.25V1.25H14.75Z"
|
|
765
|
+
}, null, -1), mt = /* @__PURE__ */ A("path", {
|
|
766
|
+
fill: "#00112C",
|
|
767
|
+
d: "M2.75 12.1895V9.25H1.25V14.75H6.75V13.25H3.81083L7.06072 10.0001L6.00006 8.93945L2.75 12.1895Z"
|
|
768
|
+
}, null, -1);
|
|
769
|
+
function ft(e, o, a, r, s, i) {
|
|
770
|
+
return p(), I("svg", de({ role: "img" }, e.$attrs, {
|
|
771
|
+
class: "ui-assets-icons-16",
|
|
772
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
773
|
+
width: "16",
|
|
774
|
+
height: "16",
|
|
775
|
+
fill: "none"
|
|
776
|
+
}), [
|
|
777
|
+
e.$attrs["svg-title"] ? (p(), I("title", gt, Y(e.$attrs["svg-title"]), 1)) : b("", !0),
|
|
778
|
+
ut,
|
|
779
|
+
mt
|
|
780
|
+
], 16);
|
|
781
|
+
}
|
|
782
|
+
const ht = /* @__PURE__ */ pe(pt, [["render", ft]]), ce = {
|
|
783
|
+
"en-US": {
|
|
784
|
+
run: "Run",
|
|
785
|
+
expand: "Expand"
|
|
786
|
+
}
|
|
787
|
+
}, bt = be({
|
|
788
|
+
i18n: { messages: ce },
|
|
789
|
+
name: "bento-code-snippet",
|
|
790
|
+
components: {
|
|
791
|
+
BentoTypography: Ve,
|
|
792
|
+
BentoButton: He,
|
|
793
|
+
BentoDropdown: Me,
|
|
794
|
+
Copy: Pe,
|
|
795
|
+
BaseModal: ze,
|
|
796
|
+
BentoLoadingIndicator: je,
|
|
797
|
+
ExpandIcon: ht
|
|
798
|
+
},
|
|
799
|
+
directives: { BentoTooltipDirective: xe },
|
|
800
|
+
props: {
|
|
801
|
+
/**
|
|
802
|
+
* Defines the variant of code-snippet
|
|
803
|
+
*/
|
|
804
|
+
variant: {
|
|
805
|
+
type: String,
|
|
806
|
+
default: P.MULTILINE,
|
|
807
|
+
validator: (e) => Object.values(P).includes(e)
|
|
808
|
+
},
|
|
809
|
+
/**
|
|
810
|
+
* Language name for syntax highlighting rules
|
|
811
|
+
*/
|
|
812
|
+
lang: {
|
|
813
|
+
type: String,
|
|
814
|
+
default: k.JSON,
|
|
815
|
+
validator: (e) => Object.values(k).includes(e)
|
|
816
|
+
},
|
|
817
|
+
/**
|
|
818
|
+
* Label to show in the action-bar, describing the language
|
|
819
|
+
*/
|
|
820
|
+
langLabel: {
|
|
821
|
+
type: String,
|
|
822
|
+
default: null
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
* The code content
|
|
826
|
+
*/
|
|
827
|
+
content: {
|
|
828
|
+
type: String,
|
|
829
|
+
default: ""
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* Allows editing of the code-snippet content by the user
|
|
833
|
+
*/
|
|
834
|
+
editable: {
|
|
835
|
+
type: Boolean,
|
|
836
|
+
default: !1
|
|
837
|
+
},
|
|
838
|
+
/**
|
|
839
|
+
* Displays a button that when clicked will emit an action event
|
|
840
|
+
* Leaves to the parent component the logic of what to do with it
|
|
841
|
+
*/
|
|
842
|
+
actionable: {
|
|
843
|
+
type: Boolean,
|
|
844
|
+
default: !1
|
|
845
|
+
},
|
|
846
|
+
/**
|
|
847
|
+
* Displays a button that can expand the codeblock into a modal to easily
|
|
848
|
+
* view large blocks of code.
|
|
849
|
+
*/
|
|
850
|
+
expandable: {
|
|
851
|
+
type: Boolean,
|
|
852
|
+
default: !1
|
|
853
|
+
},
|
|
854
|
+
/**
|
|
855
|
+
* Displays a button that when clicked will emit a run event
|
|
856
|
+
* Leaves to the parent component the logic of what to do with it
|
|
857
|
+
*/
|
|
858
|
+
actionableText: {
|
|
859
|
+
type: String,
|
|
860
|
+
default: "run"
|
|
861
|
+
},
|
|
862
|
+
/**
|
|
863
|
+
* Toggles the loading indicator within the action bar
|
|
864
|
+
*/
|
|
865
|
+
loading: {
|
|
866
|
+
type: Boolean,
|
|
867
|
+
default: !1
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
emits: [M.ACTION, M.CHANGE],
|
|
871
|
+
setup(e, { emit: o }) {
|
|
872
|
+
const { t: a } = Re({ messages: ce }), r = V(null), s = [], i = () => {
|
|
873
|
+
}, d = T(() => e.langLabel ?? e.lang.toUpperCase()), c = T(() => e.variant === P.INLINE), v = T(() => ({
|
|
874
|
+
"b-code-snippet--inline": c.value,
|
|
875
|
+
"b-code-snippet--scrollable": !c.value
|
|
876
|
+
})), w = T(() => ({
|
|
877
|
+
"b-code-snippet__code-area-content--editable": e.editable
|
|
878
|
+
})), J = lt(e.lang), O = ee(), E = ee(), G = new q(), B = new q(), ge = new q(), _ = V(null), K = V(0);
|
|
879
|
+
ye(async () => {
|
|
880
|
+
const U = await J();
|
|
881
|
+
_.value = e.content;
|
|
882
|
+
const he = ({ state: W }) => {
|
|
883
|
+
_.value = W.doc.toString();
|
|
884
|
+
}, F = [
|
|
885
|
+
Ie(),
|
|
886
|
+
Ae.of([Be, dt]),
|
|
887
|
+
G.of(U()),
|
|
888
|
+
B.of(it),
|
|
889
|
+
ge.of(ae.readOnly.of(!e.editable)),
|
|
890
|
+
oe.updateListener.of((W) => he(W))
|
|
891
|
+
];
|
|
892
|
+
e.variant === "multiline" && F.push([Oe(), Te()]);
|
|
893
|
+
const Q = ae.create({
|
|
894
|
+
doc: e.content,
|
|
895
|
+
extensions: [...F]
|
|
896
|
+
});
|
|
897
|
+
K.value = Q.doc.length, E.value = new oe({
|
|
898
|
+
state: Q,
|
|
899
|
+
parent: O.value
|
|
900
|
+
});
|
|
901
|
+
}), Ne(
|
|
902
|
+
() => e.content,
|
|
903
|
+
() => {
|
|
904
|
+
if (e.content !== _.value) {
|
|
905
|
+
const U = e.content.length;
|
|
906
|
+
E.value.dispatch({
|
|
907
|
+
changes: {
|
|
908
|
+
from: 0,
|
|
909
|
+
to: K.value,
|
|
910
|
+
insert: e.content
|
|
911
|
+
}
|
|
912
|
+
}), K.value = U;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
);
|
|
916
|
+
const ue = T(() => a(e.actionableText)), me = () => {
|
|
917
|
+
o(M.ACTION, _.value);
|
|
918
|
+
};
|
|
919
|
+
ke(() => {
|
|
920
|
+
_.value !== null && o(M.CHANGE, _.value);
|
|
921
|
+
});
|
|
922
|
+
const fe = V(!1);
|
|
923
|
+
return {
|
|
924
|
+
// Values
|
|
925
|
+
availableLanguages: s,
|
|
926
|
+
codeAreaContentConditionalClasses: w,
|
|
927
|
+
conditionalClasses: v,
|
|
928
|
+
container: O,
|
|
929
|
+
currentContents: _,
|
|
930
|
+
displayedLang: d,
|
|
931
|
+
editor: E,
|
|
932
|
+
selectedLanguage: r,
|
|
933
|
+
showModal: fe,
|
|
934
|
+
isInlineVariant: c,
|
|
935
|
+
// Methods
|
|
936
|
+
handleChangeLanguage: i,
|
|
937
|
+
onActionClicked: me,
|
|
938
|
+
runText: ue,
|
|
939
|
+
// Translations
|
|
940
|
+
t: a
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
}), yt = (e) => (Ce("data-v-5eb6a936"), e = e(), Le(), e), Nt = {
|
|
944
|
+
key: 0,
|
|
945
|
+
class: "b-code-snippet__action-bar"
|
|
946
|
+
}, kt = { class: "b-code-snippet__action-bar--start" }, vt = { class: "b-code-snippet__action-bar--end" }, wt = {
|
|
947
|
+
key: 1,
|
|
948
|
+
class: "b-code-snippet__code-area"
|
|
949
|
+
}, _t = { key: 2 }, Ct = /* @__PURE__ */ yt(() => /* @__PURE__ */ A("div", { class: "b-code-snippet__empty-state" }, "Nothing to show", -1));
|
|
950
|
+
function Lt(e, o, a, r, s, i) {
|
|
951
|
+
const d = h("bento-dropdown"), c = h("bento-typography"), v = h("bento-loading-indicator"), w = h("copy"), J = h("expand-icon"), O = h("bento-button"), E = h("bento-code-snippet"), G = h("base-modal");
|
|
952
|
+
return p(), I("div", {
|
|
953
|
+
class: te(["b-code-snippet", e.conditionalClasses])
|
|
954
|
+
}, [
|
|
955
|
+
e.isInlineVariant ? b("", !0) : (p(), I("section", Nt, [
|
|
956
|
+
A("div", kt, [
|
|
957
|
+
e.availableLanguages.length > 0 ? (p(), L(d, de({
|
|
958
|
+
key: 0,
|
|
959
|
+
modelValue: e.selectedLanguage,
|
|
960
|
+
"onUpdate:modelValue": o[0] || (o[0] = (B) => e.selectedLanguage = B)
|
|
961
|
+
}, e.$props, {
|
|
962
|
+
disabled: e.availableLanguages.length === 1,
|
|
963
|
+
items: e.availableLanguages,
|
|
964
|
+
class: "b-code-snippet__language-picker",
|
|
965
|
+
onInput: e.handleChangeLanguage
|
|
966
|
+
}), null, 16, ["modelValue", "disabled", "items", "onInput"])) : b("", !0),
|
|
967
|
+
x(c, {
|
|
968
|
+
el: "span",
|
|
969
|
+
stronger: ""
|
|
970
|
+
}, {
|
|
971
|
+
default: S(() => [
|
|
972
|
+
ne(Y(e.displayedLang), 1)
|
|
973
|
+
]),
|
|
974
|
+
_: 1
|
|
975
|
+
})
|
|
976
|
+
]),
|
|
977
|
+
A("div", vt, [
|
|
978
|
+
e.loading ? (p(), L(v, { key: 0 })) : b("", !0),
|
|
979
|
+
e.currentContents !== null ? (p(), L(w, {
|
|
980
|
+
key: 1,
|
|
981
|
+
class: "b-structured-list__icon",
|
|
982
|
+
text: e.currentContents
|
|
983
|
+
}, null, 8, ["text"])) : b("", !0),
|
|
984
|
+
e.expandable ? (p(), L(O, {
|
|
985
|
+
key: 2,
|
|
986
|
+
variant: "tertiary",
|
|
987
|
+
condensed: "",
|
|
988
|
+
"aria-label": e.t("expand"),
|
|
989
|
+
onClick: o[1] || (o[1] = (B) => e.showModal = !0)
|
|
990
|
+
}, {
|
|
991
|
+
iconLeft: S(() => [
|
|
992
|
+
x(J)
|
|
993
|
+
]),
|
|
994
|
+
_: 1
|
|
995
|
+
}, 8, ["aria-label"])) : b("", !0),
|
|
996
|
+
e.actionable ? (p(), L(O, {
|
|
997
|
+
key: 3,
|
|
998
|
+
variant: "primary",
|
|
999
|
+
tertiary: "",
|
|
1000
|
+
condensed: "",
|
|
1001
|
+
onClick: e.onActionClicked
|
|
1002
|
+
}, {
|
|
1003
|
+
iconLeft: S(() => [
|
|
1004
|
+
x(c, {
|
|
1005
|
+
el: "span",
|
|
1006
|
+
class: "b-code-snippet__action-button"
|
|
1007
|
+
}, {
|
|
1008
|
+
default: S(() => [
|
|
1009
|
+
ne(Y(e.runText), 1)
|
|
1010
|
+
]),
|
|
1011
|
+
_: 1
|
|
1012
|
+
})
|
|
1013
|
+
]),
|
|
1014
|
+
_: 1
|
|
1015
|
+
}, 8, ["onClick"])) : b("", !0)
|
|
1016
|
+
])
|
|
1017
|
+
])),
|
|
1018
|
+
e.content || e.editable ? (p(), I("code", wt, [
|
|
1019
|
+
A("div", {
|
|
1020
|
+
ref: "container",
|
|
1021
|
+
class: te(["b-code-snippet__code-area-content", e.codeAreaContentConditionalClasses])
|
|
1022
|
+
}, null, 2)
|
|
1023
|
+
])) : (p(), I("section", _t, [
|
|
1024
|
+
ve(e.$slots, "empty-state", {}, () => [
|
|
1025
|
+
Ct
|
|
1026
|
+
], !0)
|
|
1027
|
+
])),
|
|
1028
|
+
e.expandable ? (p(), L(G, {
|
|
1029
|
+
key: 3,
|
|
1030
|
+
class: "b-code-snippet__modal",
|
|
1031
|
+
"hide-close-button": !0,
|
|
1032
|
+
"custom-padding": "0px",
|
|
1033
|
+
"is-dismissible": !0,
|
|
1034
|
+
"is-open": e.showModal,
|
|
1035
|
+
size: "large",
|
|
1036
|
+
onCloseModal: o[2] || (o[2] = (B) => e.showModal = !1)
|
|
1037
|
+
}, {
|
|
1038
|
+
content: S(() => [
|
|
1039
|
+
x(E, we(_e({ ...e.$props, expandable: !1 })), null, 16)
|
|
1040
|
+
]),
|
|
1041
|
+
_: 1
|
|
1042
|
+
}, 8, ["is-open"])) : b("", !0)
|
|
1043
|
+
], 2);
|
|
1044
|
+
}
|
|
1045
|
+
const Kt = /* @__PURE__ */ pe(bt, [["render", Lt], ["__scopeId", "data-v-5eb6a936"]]);
|
|
1046
|
+
export {
|
|
1047
|
+
P as B,
|
|
1048
|
+
k as a,
|
|
1049
|
+
M as b,
|
|
1050
|
+
Kt as c
|
|
1051
|
+
};
|
|
1052
|
+
//# sourceMappingURL=code-snippet.e8bxDBCO.js.map
|