@adyen/bento-vue3 2.1.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/bento-translation-keys.generated.d.ts +10 -0
- package/dist/@types/index.d.ts +67 -10
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- 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/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/dashboard-section.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-filter.css +1 -0
- package/dist/assets/date-range-filter.css +1 -0
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/draggable-handle.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/input-with-dropdown-filter.css +1 -0
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/navigation-menu-group.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/table-of-contents.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.C6XFuiE0.js → action-bar.BIidNGlt.js} +3 -3
- package/dist/chunks/{action-bar.C6XFuiE0.js.map → action-bar.BIidNGlt.js.map} +1 -1
- package/dist/chunks/{ai-tag.BLDTP7fs.js → ai-tag.B1YHMfAh.js} +2 -2
- package/dist/chunks/{ai-tag.BLDTP7fs.js.map → ai-tag.B1YHMfAh.js.map} +1 -1
- package/dist/chunks/{alert.BYmn1ewo.js → alert.PGzfyHZI.js} +80 -98
- package/dist/chunks/alert.PGzfyHZI.js.map +1 -0
- package/dist/chunks/{anchor-scroller.B35-JMuH.js → anchor-scroller.CSOg3htL.js} +2 -2
- package/dist/chunks/{anchor-scroller.B35-JMuH.js.map → anchor-scroller.CSOg3htL.js.map} +1 -1
- package/dist/chunks/{base-modal.CulokESn.js → base-modal.A52tojyk.js} +5 -5
- package/dist/chunks/{base-modal.CulokESn.js.map → base-modal.A52tojyk.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BsCmJeKU.js → button-actions-with-menu.DkPSfKO9.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BsCmJeKU.js.map → button-actions-with-menu.DkPSfKO9.js.map} +1 -1
- package/dist/chunks/{button-actions.DvuGEQxM.js → button-actions.BYoctIth.js} +2 -2
- package/dist/chunks/button-actions.BYoctIth.js.map +1 -0
- package/dist/chunks/{calendar.CycKx_P3.js → calendar.BhoyTBN1.js} +18 -18
- package/dist/chunks/{calendar.CycKx_P3.js.map → calendar.BhoyTBN1.js.map} +1 -1
- package/dist/chunks/{card.OErI_R47.js → card.DL3-xIH9.js} +3 -3
- package/dist/chunks/{card.OErI_R47.js.map → card.DL3-xIH9.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Bcy98dh8.js → checkbox-group.993HE54c.js} +3 -3
- package/dist/chunks/{checkbox-group.Bcy98dh8.js.map → checkbox-group.993HE54c.js.map} +1 -1
- package/dist/chunks/{checkbox.BN7ttBqd.js → checkbox.DpT4DfSl.js} +14 -14
- package/dist/chunks/{checkbox.BN7ttBqd.js.map → checkbox.DpT4DfSl.js.map} +1 -1
- package/dist/chunks/{code-snippet.3u22Ij2R.js → code-snippet.8XinCILe.js} +4 -4
- package/dist/chunks/{code-snippet.3u22Ij2R.js.map → code-snippet.8XinCILe.js.map} +1 -1
- package/dist/chunks/{controls-group.CC3yZiTT.js → controls-group.BcbFbqr-.js} +2 -2
- package/dist/chunks/{controls-group.CC3yZiTT.js.map → controls-group.BcbFbqr-.js.map} +1 -1
- package/dist/chunks/{copy.YBeE8V9S.js → copy.DrHbwkFX.js} +3 -3
- package/dist/chunks/{copy.YBeE8V9S.js.map → copy.DrHbwkFX.js.map} +1 -1
- package/dist/chunks/{dashboard-section.CjC3fVU6.js → dashboard-section.CVDLs9xL.js} +4 -4
- package/dist/chunks/dashboard-section.CVDLs9xL.js.map +1 -0
- package/dist/chunks/{dashed-underline.DAtZOaad.js → dashed-underline.BH4vfrBh.js} +3 -3
- package/dist/chunks/{dashed-underline.DAtZOaad.js.map → dashed-underline.BH4vfrBh.js.map} +1 -1
- package/dist/chunks/{data-grid-template.bPjGSga2.js → data-grid-template.5keqokzt.js} +4 -4
- package/dist/chunks/{data-grid-template.bPjGSga2.js.map → data-grid-template.5keqokzt.js.map} +1 -1
- package/dist/chunks/{data-grid.DYNep9mz.js → data-grid.DP4VPyjR.js} +20 -20
- package/dist/chunks/{data-grid.DYNep9mz.js.map → data-grid.DP4VPyjR.js.map} +1 -1
- package/dist/chunks/date-filter.EysjbedJ.js +156 -0
- package/dist/chunks/date-filter.EysjbedJ.js.map +1 -0
- package/dist/chunks/{date-picker.DjLNf7fF.js → date-picker.CQ3eoDIo.js} +10 -10
- package/dist/chunks/{date-picker.DjLNf7fF.js.map → date-picker.CQ3eoDIo.js.map} +1 -1
- package/dist/chunks/date-range-filter.DwNzkqTo.js +949 -0
- package/dist/chunks/date-range-filter.DwNzkqTo.js.map +1 -0
- package/dist/chunks/{date-range-picker.CI5hBzgs.js → date-range-picker.BYGk8uh-.js} +60 -60
- package/dist/chunks/{date-range-picker.CI5hBzgs.js.map → date-range-picker.BYGk8uh-.js.map} +1 -1
- package/dist/chunks/{draggable-handle.CKkSJP0K.js → draggable-handle.D6rFbf1V.js} +2 -2
- package/dist/chunks/{draggable-handle.CKkSJP0K.js.map → draggable-handle.D6rFbf1V.js.map} +1 -1
- package/dist/chunks/{draggable.jzTSFcM7.js → draggable.DH-Wc8GI.js} +2 -2
- package/dist/chunks/{draggable.jzTSFcM7.js.map → draggable.DH-Wc8GI.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.GOcJPx20.js → dropdown-tag.DQ_BcUK7.js} +3 -3
- package/dist/chunks/{dropdown-tag.GOcJPx20.js.map → dropdown-tag.DQ_BcUK7.js.map} +1 -1
- package/dist/chunks/{dropdown.BvrZG8Za.js → dropdown.BJ0cJ9Ea.js} +1471 -1384
- package/dist/chunks/dropdown.BJ0cJ9Ea.js.map +1 -0
- package/dist/chunks/{empty-state.BuK12EGe.js → empty-state.CECdMida.js} +2 -2
- package/dist/chunks/{empty-state.BuK12EGe.js.map → empty-state.CECdMida.js.map} +1 -1
- package/dist/chunks/{field-label.vrUwhoOg.js → field-label.Dm9I8IDI.js} +2 -2
- package/dist/chunks/{field-label.vrUwhoOg.js.map → field-label.Dm9I8IDI.js.map} +1 -1
- package/dist/chunks/{file-uploader.Cv8sm0Jd.js → file-uploader.B8c3MlBD.js} +7 -6
- package/dist/chunks/{file-uploader.Cv8sm0Jd.js.map → file-uploader.B8c3MlBD.js.map} +1 -1
- package/dist/chunks/filter-bar.BPPxuT_w.js +2552 -0
- package/dist/chunks/filter-bar.BPPxuT_w.js.map +1 -0
- package/dist/chunks/{fixed-scroller.C0nVzRBU.js → fixed-scroller.nECGGyOp.js} +15 -15
- package/dist/chunks/{fixed-scroller.C0nVzRBU.js.map → fixed-scroller.nECGGyOp.js.map} +1 -1
- package/dist/chunks/{focus-trap.Co-S6goa.js → focus-trap.BgyHTR_3.js} +1 -2
- package/dist/chunks/{focus-trap.Co-S6goa.js.map → focus-trap.BgyHTR_3.js.map} +1 -1
- package/dist/chunks/{footer-actions.BJif4sIk.js → footer-actions.B2dxp-b_.js} +2 -2
- package/dist/chunks/{footer-actions.BJif4sIk.js.map → footer-actions.B2dxp-b_.js.map} +1 -1
- package/dist/chunks/{form-layout-title.C7f1ByNh.js → form-layout-title.h-7dMAq7.js} +2 -2
- package/dist/chunks/{form-layout-title.C7f1ByNh.js.map → form-layout-title.h-7dMAq7.js.map} +1 -1
- package/dist/chunks/grid-layout.BuhsC4WZ.js +115 -0
- package/dist/chunks/grid-layout.BuhsC4WZ.js.map +1 -0
- package/dist/chunks/{header-with-views.LJ3oCsMN.js → header-with-views.Bux_-bM4.js} +308 -308
- package/dist/chunks/{header-with-views.LJ3oCsMN.js.map → header-with-views.Bux_-bM4.js.map} +1 -1
- package/dist/chunks/{header.E-KFjIG7.js → header.BEnZbxIA.js} +4 -4
- package/dist/chunks/{header.E-KFjIG7.js.map → header.BEnZbxIA.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.DqnQnwMI.js → info-icon-with-popover.BRl6sC0B.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.DqnQnwMI.js.map → info-icon-with-popover.BRl6sC0B.js.map} +1 -1
- package/dist/chunks/{info-icon.D_zu5SYT.js → info-icon.CcM7z-CY.js} +3 -3
- package/dist/chunks/{info-icon.D_zu5SYT.js.map → info-icon.CcM7z-CY.js.map} +1 -1
- package/dist/chunks/{input-field-password.CFBPscot.js → input-field-password.0W7vePC4.js} +4 -4
- package/dist/chunks/{input-field-password.CFBPscot.js.map → input-field-password.0W7vePC4.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.BNAKRBLr.js → input-field-phone-number.RblgK9OP.js} +2 -2
- package/dist/chunks/{input-field-phone-number.BNAKRBLr.js.map → input-field-phone-number.RblgK9OP.js.map} +1 -1
- package/dist/chunks/{input-field.BBSr4o-k.js → input-field.B-Nta-en.js} +3 -3
- package/dist/chunks/{input-field.BBSr4o-k.js.map → input-field.B-Nta-en.js.map} +1 -1
- package/dist/chunks/{input-time.Cdz9Jb-1.js → input-time.CMKTGRcV.js} +3 -3
- package/dist/chunks/{input-time.Cdz9Jb-1.js.map → input-time.CMKTGRcV.js.map} +1 -1
- package/dist/chunks/input-with-dropdown-filter.DXnJOBf6.js +100 -0
- package/dist/chunks/input-with-dropdown-filter.DXnJOBf6.js.map +1 -0
- package/dist/chunks/{inspector-page.DNsc0lK1.js → inspector-page.Bd39LxR2.js} +2 -2
- package/dist/chunks/{inspector-page.DNsc0lK1.js.map → inspector-page.Bd39LxR2.js.map} +1 -1
- package/dist/chunks/{inspector.BLAqbhmV.js → inspector.SmoWfjqp.js} +2 -2
- package/dist/chunks/{inspector.BLAqbhmV.js.map → inspector.SmoWfjqp.js.map} +1 -1
- package/dist/chunks/{list-item.RuGQ8Y4T.js → list-item.CoDag_QY.js} +3 -3
- package/dist/chunks/{list-item.RuGQ8Y4T.js.map → list-item.CoDag_QY.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.71rmQvG8.js → listbox-option-tag.Bhyu9LpW.js} +2 -2
- package/dist/chunks/{listbox-option-tag.71rmQvG8.js.map → listbox-option-tag.Bhyu9LpW.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.jXJnaueu.js → modal-fullscreen.D-ws4648.js} +3 -3
- package/dist/chunks/{modal-fullscreen.jXJnaueu.js.map → modal-fullscreen.D-ws4648.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BwmYlzFm.js → modal.vue_vue_type_script_setup_true_lang.DkjMGIP8.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BwmYlzFm.js.map → modal.vue_vue_type_script_setup_true_lang.DkjMGIP8.js.map} +1 -1
- package/dist/chunks/{navigation-menu-group.BnS0isK8.js → navigation-menu-group.BlkhBGX3.js} +2 -2
- package/dist/chunks/{navigation-menu-group.BnS0isK8.js.map → navigation-menu-group.BlkhBGX3.js.map} +1 -1
- package/dist/chunks/{pagination.DbGaudSO.js → pagination.CyqfmV_-.js} +4 -4
- package/dist/chunks/{pagination.DbGaudSO.js.map → pagination.CyqfmV_-.js.map} +1 -1
- package/dist/chunks/popover.types.CXIAfp1m.js +6 -0
- package/dist/chunks/{popover.types.dhllh3NP.js.map → popover.types.CXIAfp1m.js.map} +1 -1
- package/dist/chunks/{popper-container.Rfj8UdMD.js → popper-container.lfk_dyZi.js} +2 -2
- package/dist/chunks/{popper-container.Rfj8UdMD.js.map → popper-container.lfk_dyZi.js.map} +1 -1
- package/dist/chunks/promo-banner.3d1DHWas.js.map +1 -1
- package/dist/chunks/{radio-group.BTI_2U11.js → radio-group.DGwM-ijw.js} +3 -3
- package/dist/chunks/{radio-group.BTI_2U11.js.map → radio-group.DGwM-ijw.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.CjbYg6ee.js → rich-text-editor.7qlWY3xz.js} +5 -5
- package/dist/chunks/{rich-text-editor.CjbYg6ee.js.map → rich-text-editor.7qlWY3xz.js.map} +1 -1
- package/dist/chunks/{search-bar.D8LwiALL.js → search-bar.BRMyMzkF.js} +3 -3
- package/dist/chunks/{search-bar.D8LwiALL.js.map → search-bar.BRMyMzkF.js.map} +1 -1
- package/dist/chunks/{secondary-nav.CWZFULKD.js → secondary-nav.BbBhe7QI.js} +3 -3
- package/dist/chunks/{secondary-nav.CWZFULKD.js.map → secondary-nav.BbBhe7QI.js.map} +1 -1
- package/dist/chunks/{segmented-control.CarI0i3p.js → segmented-control.BTILFbBW.js} +2 -2
- package/dist/chunks/{segmented-control.CarI0i3p.js.map → segmented-control.BTILFbBW.js.map} +1 -1
- package/dist/chunks/select-avatar-filter.DdOdBb0C.js +55 -0
- package/dist/chunks/select-avatar-filter.DdOdBb0C.js.map +1 -0
- package/dist/chunks/select-country-filter.D-zpTtKe.js +56 -0
- package/dist/chunks/select-country-filter.D-zpTtKe.js.map +1 -0
- package/dist/chunks/select-currency-filter.BitX4BCE.js +91 -0
- package/dist/chunks/select-currency-filter.BitX4BCE.js.map +1 -0
- package/dist/chunks/select-payment-method-filter.BiZuCZOa.js +55 -0
- package/dist/chunks/select-payment-method-filter.BiZuCZOa.js.map +1 -0
- package/dist/chunks/select-tag-filter.BUIIqK0l.js +63 -0
- package/dist/chunks/select-tag-filter.BUIIqK0l.js.map +1 -0
- package/dist/chunks/{selection-card-group.Covrf9mH.js → selection-card-group.mCAfzxrB.js} +11 -11
- package/dist/chunks/{selection-card-group.Covrf9mH.js.map → selection-card-group.mCAfzxrB.js.map} +1 -1
- package/dist/chunks/{sidepanel.CYWPV9dE.js → sidepanel.amz6_quV.js} +12 -12
- package/dist/chunks/sidepanel.amz6_quV.js.map +1 -0
- package/dist/chunks/{structured-list-item.C6SAUS9a.js → structured-list-item.Br6cAwZk.js} +4 -4
- package/dist/chunks/{structured-list-item.C6SAUS9a.js.map → structured-list-item.Br6cAwZk.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.FTWeUNFh.js → summary-grid.types.DUEiCht4.js} +6 -6
- package/dist/chunks/{summary-grid.types.FTWeUNFh.js.map → summary-grid.types.DUEiCht4.js.map} +1 -1
- package/dist/chunks/{tab.CwXAsp9E.js → tab.Df1c3HPX.js} +3 -3
- package/dist/chunks/{tab.CwXAsp9E.js.map → tab.Df1c3HPX.js.map} +1 -1
- package/dist/chunks/{tag.BYxa556o.js → tag.Cg3joxK_.js} +2 -2
- package/dist/chunks/{tag.BYxa556o.js.map → tag.Cg3joxK_.js.map} +1 -1
- package/dist/chunks/{textarea.D4aMdmDx.js → textarea.ClWTwdJT.js} +2 -2
- package/dist/chunks/{textarea.D4aMdmDx.js.map → textarea.ClWTwdJT.js.map} +1 -1
- package/dist/chunks/{timeline-item.De8HCoYw.js → timeline-item.CdOFw-Jn.js} +144 -132
- package/dist/chunks/timeline-item.CdOFw-Jn.js.map +1 -0
- package/dist/chunks/{title-details.8cyCeaLf.js → title-details.Ccs_ltkI.js} +2 -2
- package/dist/chunks/{title-details.8cyCeaLf.js.map → title-details.Ccs_ltkI.js.map} +1 -1
- package/dist/chunks/{tooltip.0QqJo2sa.js → tooltip.B8LTTssT.js} +3 -3
- package/dist/chunks/{tooltip.0QqJo2sa.js.map → tooltip.B8LTTssT.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dn4toWHY.js → tutorial.vue_vue_type_script_setup_true_lang.CpzGxsmy.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dn4toWHY.js.map → tutorial.vue_vue_type_script_setup_true_lang.CpzGxsmy.js.map} +1 -1
- package/dist/chunks/typography.B6elnWpr.js.map +1 -1
- package/dist/chunks/{use-date-input-formatter.deZ3kB0L.js → use-date-input-formatter.COZBxMaZ.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.deZ3kB0L.js.map → use-date-input-formatter.COZBxMaZ.js.map} +1 -1
- package/dist/chunks/warning-filled.Bzh3ib0x.js +25 -0
- package/dist/chunks/warning-filled.Bzh3ib0x.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date-time-picker.js +4 -4
- package/dist/draggable.js +2 -2
- package/dist/dropdown.js +2 -2
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +257 -257
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/input-time.js +1 -1
- package/dist/inspector.js +2 -2
- package/dist/internal.js +13 -13
- package/dist/list.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/progress-bar.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/alert.BYmn1ewo.js.map +0 -1
- package/dist/chunks/button-actions.DvuGEQxM.js.map +0 -1
- package/dist/chunks/dashboard-section.CjC3fVU6.js.map +0 -1
- package/dist/chunks/dropdown.BvrZG8Za.js.map +0 -1
- package/dist/chunks/filter-bar.DrOXGxUc.js +0 -3974
- package/dist/chunks/filter-bar.DrOXGxUc.js.map +0 -1
- package/dist/chunks/grid-layout.CCWNscU_.js +0 -113
- package/dist/chunks/grid-layout.CCWNscU_.js.map +0 -1
- package/dist/chunks/popover.types.dhllh3NP.js +0 -6
- package/dist/chunks/sidepanel.CYWPV9dE.js.map +0 -1
- package/dist/chunks/timeline-item.De8HCoYw.js.map +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { getCurrentInstance as L, openBlock as a, createElementBlock as r, mergeProps as h, toDisplayString as p, createCommentVNode as v, createElementVNode as l, unref as s, createStaticVNode as Je, ref as w, reactive as g1, computed as K, watch as ie, nextTick as He, defineComponent as
|
|
1
|
+
import { getCurrentInstance as L, openBlock as a, createElementBlock as r, mergeProps as h, toDisplayString as p, createCommentVNode as v, createElementVNode as l, unref as s, createStaticVNode as Je, ref as w, reactive as g1, computed as K, watch as ie, nextTick as He, defineComponent as ke, toRef as C1, withKeys as G, withModifiers as ve, createVNode as T, withCtx as M, createBlock as N, Fragment as fe, renderList as he, normalizeClass as se, createTextVNode as X, resolveDynamicComponent as re, onMounted as Xe, useSlots as w1, createSlots as Ce, renderSlot as qe } from "vue";
|
|
2
2
|
import { B as pe } from "./button.DAcwNdtP.js";
|
|
3
|
-
import { B as Qe } from "./checkbox.
|
|
4
|
-
import { u as me, c as Ae, h as _e, f as We, B as f1 } from "./button-actions.
|
|
5
|
-
import { _ as
|
|
3
|
+
import { B as Qe } from "./checkbox.DpT4DfSl.js";
|
|
4
|
+
import { u as me, c as Ae, h as _e, f as We, B as f1 } from "./button-actions.BYoctIth.js";
|
|
5
|
+
import { _ as Ye } from "./modal.vue_vue_type_script_setup_true_lang.DkjMGIP8.js";
|
|
6
6
|
import { B as le } from "./typography.B6elnWpr.js";
|
|
7
7
|
import { u as h1 } from "./use-has-slot.CyMiImRQ.js";
|
|
8
8
|
import { u as m1 } from "./use-bento-toast-controller.CkpBtweL.js";
|
|
9
|
-
import { g as
|
|
10
|
-
import { B as _1 } from "./button-actions-with-menu.
|
|
11
|
-
import { u as Me, g as
|
|
12
|
-
import { _ as
|
|
9
|
+
import { g as Ve } from "./generate-uid.DBWe4g6T.js";
|
|
10
|
+
import { B as _1 } from "./button-actions-with-menu.DkPSfKO9.js";
|
|
11
|
+
import { u as Me, g as Be, a as V1 } from "./index.CGBfMQdv.js";
|
|
12
|
+
import { _ as b1 } from "./bin.BhoGy_Oh.js";
|
|
13
13
|
import { _ as L1 } from "./dot.BPmlsJv1.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { _ as $1 } from "./refresh.DjN1EulV.js";
|
|
16
16
|
import { h as e1, p as H1 } from "./index.DCpihRYV.js";
|
|
17
|
-
import { I as M1 } from "./info-icon-with-popover.
|
|
17
|
+
import { I as M1 } from "./info-icon-with-popover.BRl6sC0B.js";
|
|
18
18
|
import { _ as y1 } from "./grab.D4FEiPrL.js";
|
|
19
19
|
import { u as we } from "./on-click-outside.BgIzQ2G1.js";
|
|
20
|
-
import { _ as
|
|
21
|
-
import { T as D1 } from "./title-details.
|
|
22
|
-
import { B as
|
|
23
|
-
import { B as
|
|
24
|
-
import { g as
|
|
25
|
-
import { F as A1 } from "./field-label.
|
|
20
|
+
import { _ as Te } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
21
|
+
import { T as D1 } from "./title-details.Ccs_ltkI.js";
|
|
22
|
+
import { B as S1 } from "./divider.BlxQCxkM.js";
|
|
23
|
+
import { B as Z1 } from "./input-field.B-Nta-en.js";
|
|
24
|
+
import { g as k1 } from "./dropdown.BJ0cJ9Ea.js";
|
|
25
|
+
import { F as A1 } from "./field-label.Dm9I8IDI.js";
|
|
26
26
|
import "../assets/header-with-views.css";
|
|
27
|
-
const
|
|
27
|
+
const T1 = { key: 0 }, R1 = {
|
|
28
28
|
__name: "download",
|
|
29
29
|
setup(o) {
|
|
30
30
|
const i = L();
|
|
@@ -35,7 +35,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
35
35
|
height: "16",
|
|
36
36
|
fill: "none"
|
|
37
37
|
}), [
|
|
38
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
38
|
+
t.$attrs["svg-title"] ? (a(), r("title", T1, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
39
39
|
e[0] || (e[0] = l("path", {
|
|
40
40
|
fill: "#001222",
|
|
41
41
|
d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z"
|
|
@@ -68,7 +68,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
68
68
|
}, null, -1))
|
|
69
69
|
], 16));
|
|
70
70
|
}
|
|
71
|
-
},
|
|
71
|
+
}, z1 = { key: 0 }, t1 = {
|
|
72
72
|
__name: "heart",
|
|
73
73
|
setup(o) {
|
|
74
74
|
const i = L();
|
|
@@ -79,14 +79,14 @@ const k1 = { key: 0 }, R1 = {
|
|
|
79
79
|
height: "16",
|
|
80
80
|
fill: "none"
|
|
81
81
|
}), [
|
|
82
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
82
|
+
t.$attrs["svg-title"] ? (a(), r("title", z1, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
83
83
|
e[0] || (e[0] = l("path", {
|
|
84
84
|
fill: "#001222",
|
|
85
85
|
d: "M8 13.8501L7.65 13.6701C7.39 13.5301 1.25 10.2901 1.25 6.14015C1.25 5.50015 1.4 4.29015 2.4 3.33015C2.61 3.12015 3.73 2.14015 5.39 2.26015C6.41 2.33015 7.33 2.80015 8 3.53015C8.67 2.80015 9.6 2.33015 10.61 2.26015C12.27 2.14015 13.39 3.12015 13.6 3.32015C14.6 4.27015 14.75 5.49015 14.75 6.13015C14.75 10.2801 8.61 13.5301 8.35 13.6601L8 13.8401V13.8501ZM5.11 3.75015C4.16 3.75015 3.51 4.34015 3.43 4.41015C2.84 4.98015 2.75 5.73015 2.75 6.13015C2.75 8.64015 6.26 11.1601 8 12.1401C9.74 11.1501 13.25 8.64015 13.25 6.13015C13.25 5.73015 13.16 4.98015 12.57 4.41015C12.49 4.33015 11.77 3.67015 10.73 3.76015C9.84 3.82015 9.06 4.37015 8.69 5.19015L8.01 6.71015L7.33 5.19015C6.96 4.37015 6.18 3.82015 5.29 3.76015C5.23 3.76015 5.18 3.76015 5.12 3.76015L5.11 3.75015Z"
|
|
86
86
|
}, null, -1))
|
|
87
87
|
], 16));
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, P1 = { key: 0 }, i1 = {
|
|
90
90
|
__name: "options-horizontal",
|
|
91
91
|
setup(o) {
|
|
92
92
|
const i = L();
|
|
@@ -97,7 +97,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
97
97
|
height: "16",
|
|
98
98
|
fill: "none"
|
|
99
99
|
}), [
|
|
100
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
100
|
+
t.$attrs["svg-title"] ? (a(), r("title", P1, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
101
101
|
e[0] || (e[0] = l("path", {
|
|
102
102
|
fill: "#001222",
|
|
103
103
|
d: "M12 8C12 7.60217 12.158 7.22064 12.4393 6.93934C12.7206 6.65803 13.1022 6.5 13.5 6.5C13.7967 6.5 14.0867 6.58797 14.3334 6.75279C14.58 6.91762 14.7723 7.15189 14.8858 7.42597C14.9993 7.70006 15.0291 8.00166 14.9712 8.29264C14.9133 8.58361 14.7704 8.85088 14.5607 9.06066C14.3509 9.27044 14.0836 9.4133 13.7926 9.47118C13.5017 9.52906 13.2001 9.49935 12.926 9.38582C12.6519 9.27229 12.4176 9.08003 12.2528 8.83335C12.088 8.58668 12 8.29667 12 8Z"
|
|
@@ -112,7 +112,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
112
112
|
}, null, -1))
|
|
113
113
|
], 16));
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, I1 = { key: 0 }, U1 = {
|
|
116
116
|
__name: "plus",
|
|
117
117
|
setup(o) {
|
|
118
118
|
const i = L();
|
|
@@ -123,7 +123,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
123
123
|
height: "16",
|
|
124
124
|
fill: "none"
|
|
125
125
|
}), [
|
|
126
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
126
|
+
t.$attrs["svg-title"] ? (a(), r("title", I1, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
127
127
|
e[0] || (e[0] = l("path", {
|
|
128
128
|
fill: "#001222",
|
|
129
129
|
d: "M8.75 7.25V2.25H7.25V7.25H2.25V8.75H7.25V13.75H8.75V8.75H13.75V7.25H8.75Z"
|
|
@@ -184,7 +184,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
184
184
|
}, null, -1))
|
|
185
185
|
], 16));
|
|
186
186
|
}
|
|
187
|
-
},
|
|
187
|
+
}, Y1 = { key: 0 }, B1 = ["clip-path"], j1 = ["id"], J1 = {
|
|
188
188
|
__name: "car",
|
|
189
189
|
setup(o) {
|
|
190
190
|
const i = L(), t = String(i?.uid ?? i?.proxy?._uid);
|
|
@@ -195,7 +195,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
195
195
|
height: "16",
|
|
196
196
|
fill: "none"
|
|
197
197
|
}), [
|
|
198
|
-
e.$attrs["svg-title"] ? (a(), r("title",
|
|
198
|
+
e.$attrs["svg-title"] ? (a(), r("title", Y1, p(e.$attrs["svg-title"]), 1)) : v("", !0),
|
|
199
199
|
l("g", {
|
|
200
200
|
fill: "#001222",
|
|
201
201
|
"clip-path": "url(#uia-ui-assets/icons-16-car__a" + s(t) + ")"
|
|
@@ -203,7 +203,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
203
203
|
l("path", { d: "M5.75 10.25H3.25V8.75H5.75V10.25Z" }, null, -1),
|
|
204
204
|
l("path", { d: "M12.75 10.25H10.25V8.75H12.75V10.25Z" }, null, -1),
|
|
205
205
|
l("path", { d: "M10.3604 0.75C11.6685 0.750165 12.7941 1.67303 13.0547 2.96094L13.0557 2.96289L13.6143 5.75H15.75V7.25H14.8105L15.75 8.18945V15.25H11.25V13.25H4.75V15.25H0.25V8.18945L1.18945 7.25H0.25V5.75H2.38477L2.94434 2.96289L2.94531 2.95996C3.20547 1.68654 4.32777 0.750167 5.63965 0.75H10.3604ZM1.75 8.81055V13.75H3.25V11.75H12.75V13.75H14.25V8.81055L12.6895 7.25H3.31055L1.75 8.81055ZM5.63965 2.25C5.05195 2.25017 4.53498 2.67362 4.41504 3.25977L3.91504 5.75H12.085L11.585 3.25879L11.5576 3.14941C11.4004 2.6164 10.9146 2.25015 10.3604 2.25H5.63965Z" }, null, -1)
|
|
206
|
-
]), 8,
|
|
206
|
+
]), 8, B1),
|
|
207
207
|
l("defs", null, [
|
|
208
208
|
l("clipPath", {
|
|
209
209
|
id: "uia-ui-assets/icons-16-car__a" + s(t)
|
|
@@ -420,7 +420,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
420
420
|
}, null, -1))
|
|
421
421
|
], 16));
|
|
422
422
|
}
|
|
423
|
-
},
|
|
423
|
+
}, Vt = { key: 0 }, bt = {
|
|
424
424
|
__name: "hand-rock",
|
|
425
425
|
setup(o) {
|
|
426
426
|
const i = L();
|
|
@@ -431,7 +431,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
431
431
|
height: "16",
|
|
432
432
|
fill: "none"
|
|
433
433
|
}), [
|
|
434
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
434
|
+
t.$attrs["svg-title"] ? (a(), r("title", Vt, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
435
435
|
e[0] || (e[0] = l("path", {
|
|
436
436
|
fill: "#001222",
|
|
437
437
|
d: "M4.17969 0.25C5.29369 0.250066 6.19994 1.15557 6.2002 2.26953V3.50293C6.36912 3.45695 6.54617 3.42973 6.72949 3.42969C7.21332 3.42969 7.65762 3.60125 8.00586 3.88574C8.35205 3.60723 8.79147 3.44054 9.26953 3.44043C9.45359 3.44043 9.63122 3.46738 9.80078 3.51367C9.82025 2.41618 10.7182 1.53027 11.8203 1.53027C12.9342 1.53042 13.8396 2.4359 13.8398 3.5498V13C13.8397 14.5141 12.6039 15.7499 11.0898 15.75H4.91016C3.39602 15.75 2.16029 14.5141 2.16016 13V2.26953C2.16041 1.15569 3.06584 0.250254 4.17969 0.25ZM11.8203 3.03027C11.5347 3.03027 11.3001 3.26423 11.2998 3.5498V8.39062H11.29V8.64062C11.2897 9.75453 10.3835 10.6602 9.26953 10.6602C8.78871 10.66 8.3471 10.4903 8 10.209C7.65292 10.4905 7.21133 10.6601 6.73047 10.6602H4.70996V9.16016H6.73047C7.01602 9.15992 7.24993 8.92523 7.25 8.63965C7.24974 8.35422 7.0159 8.12035 6.73047 8.12012H4.17969C3.89427 8.12037 3.66041 8.35423 3.66016 8.63965V13C3.66029 13.6857 4.22445 14.25 4.91016 14.25H11.0898C11.7755 14.2499 12.3397 13.6856 12.3398 13V3.5498C12.3396 3.26432 12.1058 3.03043 11.8203 3.03027ZM9.26953 4.94043C8.98411 4.94069 8.75026 5.17454 8.75 5.45996V8.64062C8.75037 8.92594 8.98418 9.1599 9.26953 9.16016C9.55509 9.16016 9.78967 8.9261 9.79004 8.64062V5.45996C9.78978 5.17439 9.55516 4.94043 9.26953 4.94043ZM4.17969 1.75C3.89427 1.75026 3.66041 1.98411 3.66016 2.26953V6.68945C3.82606 6.64523 4.00001 6.62016 4.17969 6.62012H4.7002V2.26953C4.69994 1.984 4.46526 1.75007 4.17969 1.75ZM6.72949 4.92969C6.4442 4.92994 6.21042 5.16397 6.20996 5.44922V6.62012H6.73047C6.91019 6.62016 7.08406 6.64521 7.25 6.68945V5.44922C7.24954 5.16381 7.015 4.92969 6.72949 4.92969Z"
|
|
@@ -500,7 +500,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
500
500
|
}, null, -1))
|
|
501
501
|
], 16));
|
|
502
502
|
}
|
|
503
|
-
},
|
|
503
|
+
}, St = { key: 0 }, Zt = ["clip-path"], kt = ["id"], At = {
|
|
504
504
|
__name: "leaf",
|
|
505
505
|
setup(o) {
|
|
506
506
|
const i = L(), t = String(i?.uid ?? i?.proxy?._uid);
|
|
@@ -511,7 +511,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
511
511
|
height: "16",
|
|
512
512
|
fill: "none"
|
|
513
513
|
}), [
|
|
514
|
-
e.$attrs["svg-title"] ? (a(), r("title",
|
|
514
|
+
e.$attrs["svg-title"] ? (a(), r("title", St, p(e.$attrs["svg-title"]), 1)) : v("", !0),
|
|
515
515
|
l("g", {
|
|
516
516
|
"clip-path": "url(#uia-ui-assets/icons-16-leaf__a" + s(t) + ")"
|
|
517
517
|
}, n[0] || (n[0] = [
|
|
@@ -519,7 +519,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
519
519
|
fill: "#001222",
|
|
520
520
|
d: "M15.75 8.16992C15.75 8.89401 15.4634 9.59536 14.9395 10.1094L13.1104 11.9404C12.5927 12.458 11.9031 12.75 11.1699 12.75H4.31055L1.53027 15.5303L0.469727 14.4697L3.25 11.6895V4.83008C3.25 4.106 3.53561 3.40366 4.05957 2.88965L5.88965 1.05957C6.40726 0.54198 7.09693 0.25 7.83008 0.25H15.75V8.16992ZM5.81055 11.25H11.1699C11.4967 11.25 11.8074 11.1222 12.0498 10.8799L13.8867 9.04297C13.975 8.957 14.0489 8.85806 14.1064 8.75H8.31055L5.81055 11.25ZM7.25 1.89551C7.14218 1.95356 7.04144 2.02888 6.9502 2.12012L5.11328 3.95703C4.88182 4.1824 4.75 4.49747 4.75 4.83008V10.1895L7.25 7.68945V1.89551ZM9.81055 7.25H14.25V2.81055L9.81055 7.25ZM8.75 6.18945L13.1895 1.75H8.75V6.18945Z"
|
|
521
521
|
}, null, -1)
|
|
522
|
-
]), 8,
|
|
522
|
+
]), 8, Zt),
|
|
523
523
|
l("defs", null, [
|
|
524
524
|
l("clipPath", {
|
|
525
525
|
id: "uia-ui-assets/icons-16-leaf__a" + s(t)
|
|
@@ -529,11 +529,11 @@ const k1 = { key: 0 }, R1 = {
|
|
|
529
529
|
height: "16",
|
|
530
530
|
fill: "#fff"
|
|
531
531
|
}, null, -1)
|
|
532
|
-
]), 8,
|
|
532
|
+
]), 8, kt)
|
|
533
533
|
])
|
|
534
534
|
], 16));
|
|
535
535
|
}
|
|
536
|
-
},
|
|
536
|
+
}, Tt = { key: 0 }, Rt = {
|
|
537
537
|
__name: "lightning",
|
|
538
538
|
setup(o) {
|
|
539
539
|
const i = L();
|
|
@@ -544,7 +544,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
544
544
|
height: "16",
|
|
545
545
|
fill: "none"
|
|
546
546
|
}), [
|
|
547
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
547
|
+
t.$attrs["svg-title"] ? (a(), r("title", Tt, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
548
548
|
e[0] || (e[0] = l("path", {
|
|
549
549
|
fill: "#001222",
|
|
550
550
|
d: "M9.75 6.25V0.25H8.63L1.5 9.75H6.25V15.75H7.38L14.5 6.25H9.75ZM4.5 8.25L8.25 3.25V7.75H11.5L7.75 12.75V8.25H4.5Z"
|
|
@@ -573,7 +573,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
573
573
|
}, null, -1))
|
|
574
574
|
], 16));
|
|
575
575
|
}
|
|
576
|
-
},
|
|
576
|
+
}, zt = { key: 0 }, Pt = ["clip-path"], It = ["id"], Ut = {
|
|
577
577
|
__name: "news",
|
|
578
578
|
setup(o) {
|
|
579
579
|
const i = L(), t = String(i?.uid ?? i?.proxy?._uid);
|
|
@@ -584,7 +584,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
584
584
|
height: "16",
|
|
585
585
|
fill: "none"
|
|
586
586
|
}), [
|
|
587
|
-
e.$attrs["svg-title"] ? (a(), r("title",
|
|
587
|
+
e.$attrs["svg-title"] ? (a(), r("title", zt, p(e.$attrs["svg-title"]), 1)) : v("", !0),
|
|
588
588
|
l("g", {
|
|
589
589
|
fill: "#001222",
|
|
590
590
|
"clip-path": "url(#uia-ui-assets/icons-16-news__a" + s(t) + ")"
|
|
@@ -592,7 +592,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
592
592
|
l("path", { d: "M12.75 12.75H7.25V6.25H12.75V12.75ZM8.75 11.25H11.25V7.75H8.75V11.25Z" }, null, -1),
|
|
593
593
|
l("path", { d: "M10.75 4.75H7.25V3.25H10.75V4.75Z" }, null, -1),
|
|
594
594
|
l("path", { d: "M13 0.25C14.5188 0.25 15.75 1.48122 15.75 3V13C15.75 14.5188 14.5188 15.75 13 15.75H3.25V15.7363C3.16759 15.7438 3.08435 15.75 3 15.75C1.48122 15.75 0.25 14.5188 0.25 13V8C0.25 6.48122 1.48122 5.25 3 5.25H4.25V3C4.25 1.48122 5.48122 0.25 7 0.25H13ZM3 6.75C2.30964 6.75 1.75 7.30964 1.75 8V13C1.75 13.6904 2.30964 14.25 3 14.25C3.69036 14.25 4.25 13.6904 4.25 13V6.75H3ZM7 1.75C6.30964 1.75 5.75 2.30964 5.75 3V13C5.75 13.4506 5.63935 13.8747 5.44727 14.25H13C13.6904 14.25 14.25 13.6904 14.25 13V3C14.25 2.30964 13.6904 1.75 13 1.75H7Z" }, null, -1)
|
|
595
|
-
]), 8,
|
|
595
|
+
]), 8, Pt),
|
|
596
596
|
l("defs", null, [
|
|
597
597
|
l("clipPath", {
|
|
598
598
|
id: "uia-ui-assets/icons-16-news__a" + s(t)
|
|
@@ -603,7 +603,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
603
603
|
fill: "#fff",
|
|
604
604
|
transform: "matrix(1 0 0 -1 0 16)"
|
|
605
605
|
}, null, -1)
|
|
606
|
-
]), 8,
|
|
606
|
+
]), 8, It)
|
|
607
607
|
])
|
|
608
608
|
], 16));
|
|
609
609
|
}
|
|
@@ -658,7 +658,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
658
658
|
])
|
|
659
659
|
], 16));
|
|
660
660
|
}
|
|
661
|
-
},
|
|
661
|
+
}, Yt = { key: 0 }, Bt = {
|
|
662
662
|
__name: "retail",
|
|
663
663
|
setup(o) {
|
|
664
664
|
const i = L();
|
|
@@ -669,7 +669,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
669
669
|
height: "16",
|
|
670
670
|
fill: "none"
|
|
671
671
|
}), [
|
|
672
|
-
t.$attrs["svg-title"] ? (a(), r("title",
|
|
672
|
+
t.$attrs["svg-title"] ? (a(), r("title", Yt, p(t.$attrs["svg-title"]), 1)) : v("", !0),
|
|
673
673
|
e[0] || (e[0] = l("path", {
|
|
674
674
|
fill: "#001222",
|
|
675
675
|
d: "M8 1.25C6.48579 1.25 5.25 2.48579 5.25 4H6.75C6.75 3.31421 7.31421 2.75 8 2.75C8.68579 2.75 9.25 3.31421 9.25 4C9.25 4.68579 8.68579 5.25 8 5.25H7.25V7.53638L2.68655 9.8181C1.79233 10.2592 1.25 11.1753 1.25 12.1499C1.25 13.5841 2.41579 14.7499 3.85 14.7499H12.15C13.5842 14.7499 14.75 13.5841 14.75 12.1499C14.75 11.1624 14.1872 10.2689 13.324 9.82338L8.75 7.53638V6.64569C9.90191 6.31773 10.75 5.25441 10.75 4C10.75 2.48579 9.51421 1.25 8 1.25ZM3.35114 11.1629L8 8.83843L12.6398 11.1583C13.0144 11.3534 13.25 11.7388 13.25 12.1499C13.25 12.7557 12.7558 13.2499 12.15 13.2499H3.85C3.24421 13.2499 2.75 12.7557 2.75 12.1499C2.75 11.7253 2.98674 11.3422 3.35114 11.1629Z"
|
|
@@ -890,7 +890,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
890
890
|
}, null, -1))
|
|
891
891
|
], 16));
|
|
892
892
|
}
|
|
893
|
-
}, m5 = { key: 0 }, _5 = ["clip-path"],
|
|
893
|
+
}, m5 = { key: 0 }, _5 = ["clip-path"], V5 = ["id"], b5 = {
|
|
894
894
|
__name: "warning-diamond",
|
|
895
895
|
setup(o) {
|
|
896
896
|
const i = L(), t = String(i?.uid ?? i?.proxy?._uid);
|
|
@@ -919,7 +919,7 @@ const k1 = { key: 0 }, R1 = {
|
|
|
919
919
|
height: "16",
|
|
920
920
|
fill: "#fff"
|
|
921
921
|
}, null, -1)
|
|
922
|
-
]), 8,
|
|
922
|
+
]), 8, V5)
|
|
923
923
|
])
|
|
924
924
|
], 16));
|
|
925
925
|
}
|
|
@@ -955,11 +955,11 @@ const k1 = { key: 0 }, R1 = {
|
|
|
955
955
|
], 16));
|
|
956
956
|
}
|
|
957
957
|
};
|
|
958
|
-
var
|
|
958
|
+
var be = /* @__PURE__ */ ((o) => (o.BLUE = "blue", o.GREEN = "green", o.ORANGE = "orange", o.PRIMARY = "primary", o.RED = "red", o.YELLOW = "yellow", o))(be || {}), Le = /* @__PURE__ */ ((o) => (o.STACK = "stack", o.LEAF = "leaf", o.HAND_ROCK = "hand-rock", o.CAR = "car", o.EDUCATION = "education", o.HOTEL = "hotel", o.TRAVEL_BAG = "travel-bag", o.LIGHTNING = "lightning", o.NEWS = "news", o.PRIZE = "prize", o.LOCK = "lock", o.BAG = "bag", o.DIAMOND = "diamond", o.TARGET = "target", o.GIFT = "gift", o.CASH_STACK = "cash-stack", o.HASHTAG = "hashtag", o.CLOUD = "cloud", o.HOSPITALITY = "hospitality", o.SHOPPING_CART = "shopping-cart", o.SLEEP = "sleep", o.NOTIFICATION = "notification", o.THUMBS_UP = "thumb-up", o.THUMBS_DOWN = "thumb-down", o.STAR = "star", o.WARNING_DIAMOND = "warning-diamond", o.RETAIL = "retail", o.EMOTICON_HAPPY = "emoticon-happy", o.GAMING = "gaming", o.SUPPORT = "support", o.HEART = "heart", o.HOURGLASS = "hourglass", o.WORLD = "world", o))(Le || {});
|
|
959
959
|
const $e = {
|
|
960
960
|
stack: i5,
|
|
961
961
|
leaf: At,
|
|
962
|
-
"hand-rock":
|
|
962
|
+
"hand-rock": bt,
|
|
963
963
|
car: J1,
|
|
964
964
|
education: rt,
|
|
965
965
|
hotel: wt,
|
|
@@ -982,8 +982,8 @@ const $e = {
|
|
|
982
982
|
"thumb-up": w5,
|
|
983
983
|
"thumb-down": g5,
|
|
984
984
|
star: n5,
|
|
985
|
-
"warning-diamond":
|
|
986
|
-
retail:
|
|
985
|
+
"warning-diamond": b5,
|
|
986
|
+
retail: Bt,
|
|
987
987
|
"emoticon-happy": vt,
|
|
988
988
|
gaming: ht,
|
|
989
989
|
support: d5,
|
|
@@ -1017,61 +1017,61 @@ const $e = {
|
|
|
1017
1017
|
], 16));
|
|
1018
1018
|
}
|
|
1019
1019
|
}, Re = {
|
|
1020
|
-
"de-DE": { cancel: "Abbrechen", createView: "Ansicht erstellen", createViewToast: "„{label}“ wurde erfolgreich erstellt.", delete: "Löschen",
|
|
1021
|
-
"en-GB": { cancel: "Cancel", createView: "Create view", createViewToast: "Successfully created '{label}'", delete: "Delete",
|
|
1020
|
+
"de-DE": { cancel: "Abbrechen", createView: "Ansicht erstellen", createViewToast: "„{label}“ wurde erfolgreich erstellt.", delete: "Löschen", deleteView: "Ansicht löschen?", deleteViewDescription: "Sie sind dabei, die Ansicht {label} zu löschen. Sie können sie nicht wiederherstellen.", duplicate: "Duplizieren", edit: "Bearbeiten", editDetails: "Details bearbeiten", labelNoDuplicateError: "Ansichtstitel existiert bereits", labelRequiredError: "Titel anzeigen ist erforderlich", leave: "Verlassen", leaveView: "Ansicht verlassen?", leaveViewDescription: "Sie haben Änderungen an der Ansicht {label} vorgenommen. Wenn Sie die Seite verlassen, ohne zu speichern, gehen diese Änderungen verloren.", openViewOptions: "{label} Optionen öffnen", restoreChanges: "Änderungen wiederherstellen", saveChanges: "Änderungen speichern", saveChangesToast: "Änderungen gespeichert in „{label}“", setAsDefault: "Als Standard festlegen", setAsDefaultToast: "„{label}“ wurde erfolgreich als Standardansicht festgelegt", undo: "Rückgängig machen", viewListLabel: "Ansichten", withUnsavedChanges: "Mit nicht gespeicherten Änderungen" },
|
|
1021
|
+
"en-GB": { cancel: "Cancel", createView: "Create view", createViewToast: "Successfully created '{label}'", delete: "Delete", deleteView: "Delete view?", deleteViewDescription: "You're about to delete the view {label}. You won't be able to restore it.", duplicate: "Duplicate", edit: "Edit", editDetails: "Edit details", labelNoDuplicateError: "View title already exists", labelRequiredError: "View title is required", leave: "Leave", leaveView: "Leave view?", leaveViewDescription: "You've made changes to the view {label}. If you leave without saving, they will be lost.", openViewOptions: "Open {label} options", restoreChanges: "Restore changes", saveChanges: "Save changes", saveChangesToast: "Changes saved to '{label}'", setAsDefault: "Set as default", setAsDefaultToast: "Successfully set '{label}' as default view", undo: "Undo", viewListLabel: "Views", withUnsavedChanges: "With unsaved changes" },
|
|
1022
1022
|
"en-US": { cancel: "Cancel", createView: "Create view", createViewToast: "Successfully created “{label}”", delete: "Delete", deleteView: "Delete view?", deleteViewDescription: "You're about to delete the view {label}. You won't be able to restore it.", duplicate: "Duplicate", edit: "Edit", editDetails: "Edit details", labelNoDuplicateError: "View title already exists", labelRequiredError: "View title is required", leave: "Leave", leaveView: "Leave view?", leaveViewDescription: "You've made changes to the view {label}. If you leave without saving, they will be lost.", openViewOptions: "Open {label} options", restoreChanges: "Restore changes", saveChanges: "Save changes", saveChangesToast: "Changes saved to “{label}”", setAsDefault: "Set as default", setAsDefaultToast: "Successfully set “{label}” as default view", undo: "Undo", viewListLabel: "Views", withUnsavedChanges: "With unsaved changes" },
|
|
1023
|
-
"es-419": { cancel: "Cancelar", createView: "Crear vista", createViewToast: "Se creó con éxito “{label}”", delete: "Eliminar",
|
|
1024
|
-
"es-ES": { cancel: "Cancelar", createView: "Crear vista", createViewToast: '"{label}" creada correctamente', delete: "Eliminar",
|
|
1023
|
+
"es-419": { cancel: "Cancelar", createView: "Crear vista", createViewToast: "Se creó con éxito “{label}”", delete: "Eliminar", deleteView: "¿Eliminar vista?", deleteViewDescription: "Está a punto de eliminar la vista {label}. No podrá restaurarla.", duplicate: "Duplicar", edit: "Editar", editDetails: "Editar detalles", labelNoDuplicateError: "El título de la vista ya existe", labelRequiredError: "El título de la vista es obligatorio", leave: "Salir", leaveView: "¿Salir de la vista?", leaveViewDescription: "Ha realizado cambios en la vista {label}. Si sale sin guardar, se perderán.", openViewOptions: "Abrir opciones de {label}", restoreChanges: "Restaurar cambios", saveChanges: "Guardar cambios", saveChangesToast: "Cambios guardados en “{label}”", setAsDefault: "Establecer como predeterminado", setAsDefaultToast: "“{label}” se estableció correctamente como vista predeterminada", undo: "Deshacer", viewListLabel: "Vistas", withUnsavedChanges: "Con cambios no guardados" },
|
|
1024
|
+
"es-ES": { cancel: "Cancelar", createView: "Crear vista", createViewToast: '"{label}" creada correctamente', delete: "Eliminar", deleteView: "¿Eliminar vista?", deleteViewDescription: "Está a punto de eliminar la vista {label}. No podrá restaurarla.", duplicate: "Duplicar", edit: "Editar", editDetails: "Editar detalles", labelNoDuplicateError: "El título de la vista ya existe", labelRequiredError: "El título de la vista es obligatorio", leave: "Dejar", leaveView: "¿Salir de la vista?", leaveViewDescription: "Ha realizado cambios en la vista {label}. Si sale sin guardar, se perderán.", openViewOptions: "Abrir opciones de {label}", restoreChanges: "Restaurar cambios", saveChanges: "Guardar cambios", saveChangesToast: "Cambios guardados en “{label}”", setAsDefault: "Establecer como predeterminado", setAsDefaultToast: 'Se ha establecido correctamente "{label}" como vista predeterminada', undo: "Deshacer", viewListLabel: "Vistas", withUnsavedChanges: "Con cambios no guardados" },
|
|
1025
1025
|
"es-MX": { cancel: "Cancelar", createView: "Crear vista", createViewToast: "Se creó con éxito “{label}”", delete: "Eliminar", deleteViewAction: "Eliminar vista", deleteViewDescription: "Tu vista “{label}” no se puede recuperar una vez eliminada.", deleteViewTitle: "¿Eliminar “{label}”?", duplicate: "Duplicar", edit: "Editar", editDetails: "Editar detalles", labelNoDuplicateError: "El título de la vista ya existe", labelRequiredError: "Se requiere el título de la vista", leave: "Salir", openViewOptions: "Abrir opciones de {label}", restoreChanges: "Restaurar cambios", saveChanges: "Guardar cambios", saveChangesToast: "Cambios almacenados en “{label}”", setAsDefault: "Establecer como predeterminado", setAsDefaultToast: "Establecer correctamente “{label}” como vista predeterminada", undo: "Deshacer", unsavedChangesDescription: "Los cambios no guardados se borrarán", unsavedChangesTitle: "¿Salir de “{label}” sin guardar los cambios?", viewListLabel: "Vistas", withUnsavedChanges: "Con cambios no guardados" },
|
|
1026
|
-
"fr-FR": { cancel: "Annuler", createView: "Créer une vue", createViewToast: "« {label} » créé", delete: "Supprimer",
|
|
1027
|
-
"it-IT": { cancel: "Annulla", createView: "Crea visualizzazione", createViewToast: 'Etichetta "{label}" creata correttamente', delete: "Elimina",
|
|
1028
|
-
"ja-JP": { cancel: "キャンセル", createView: "ビューを作成", createViewToast: "「{label}」が正常に作成されました", delete: "削除",
|
|
1029
|
-
"pt-BR": { cancel: "Cancelar", createView: "Criar visualização", createViewToast: '"{label}" foi criado', delete: "Excluir",
|
|
1030
|
-
"zh-CN": { cancel: "取消", createView: "创建视图", createViewToast: "已成功创建“{label}”", delete: "删除",
|
|
1031
|
-
},
|
|
1026
|
+
"fr-FR": { cancel: "Annuler", createView: "Créer une vue", createViewToast: "« {label} » créé", delete: "Supprimer", deleteView: "Supprimer la vue ?", deleteViewDescription: "Vous êtes sur le point de supprimer la vue {label}. Vous ne pourrez pas la restaurer.", duplicate: "Dupliquer", edit: "Modifier", editDetails: "Modifier les détails", labelNoDuplicateError: "Le titre de la vue existe déjà", labelRequiredError: "Le titre de la vue est obligatoire", leave: "Quitter", leaveView: "Quitter la vue ?", leaveViewDescription: "Vous avez apporté des modifications à la vue {label}. Si vous quittez sans enregistrer, elles seront perdues.", openViewOptions: "Ouvrir les options {label}", restoreChanges: "Restaurer les modifications", saveChanges: "Enregistrer les modifications", saveChangesToast: "Modifications enregistrées dans « {label} »", setAsDefault: "Définir comme valeur par défaut", setAsDefaultToast: "« {label} » défini comme vue par défaut", undo: "Annuler", viewListLabel: "Vues", withUnsavedChanges: "Avec des modifications non enregistrées" },
|
|
1027
|
+
"it-IT": { cancel: "Annulla", createView: "Crea visualizzazione", createViewToast: 'Etichetta "{label}" creata correttamente', delete: "Elimina", deleteView: "Eliminare visualizzazione?", deleteViewDescription: "Stai per eliminare la visualizzazione {label}. Non potrai ripristinarla.", duplicate: "Duplicato", edit: "Modifica", editDetails: "Modifica dettagli", labelNoDuplicateError: "Il titolo della visualizzazione esiste già", labelRequiredError: "È necessario un titolo per la visualizzazione", leave: "Lascia", leaveView: "Mantenere la visualizzazione?", leaveViewDescription: "Ha apportato modifiche alla vista {label}. Se esce senza salvare, andranno perse.", openViewOptions: "Apri le opzioni {label}", restoreChanges: "Ripristina le modifiche", saveChanges: "Salva le modifiche", saveChangesToast: "Modifiche salvate in “{label}”", setAsDefault: "Imposta come predefinito", setAsDefaultToast: '"{label}" impostato correttamente come visualizzazione predefinita', undo: "Annulla", viewListLabel: "Visualizzazioni", withUnsavedChanges: "Con le modifiche non salvate" },
|
|
1028
|
+
"ja-JP": { cancel: "キャンセル", createView: "ビューを作成", createViewToast: "「{label}」が正常に作成されました", delete: "削除", deleteView: "ビューを削除しますか?", deleteViewDescription: "ビュー「{label}」を削除しようとしています。復元できなくなります。", duplicate: "複製", edit: "編集", editDetails: "詳細を編集", labelNoDuplicateError: "ビュータイトルはすでに存在します", labelRequiredError: "ビュータイトルは必須です", leave: "離れる", leaveView: "ビューから離れますか?", leaveViewDescription: "「{label}」ビューに変更を加えました。 保存せずに離れると、変更内容は失われます。", openViewOptions: "{label}オプションを開く", restoreChanges: "変更を復元", saveChanges: "変更を保存", saveChangesToast: "「{label}」に変更を保存しました", setAsDefault: "デフォルトとして設定", setAsDefaultToast: "「{label}」をデフォルトビューとして設定しました", undo: "元に戻す", viewListLabel: "ビュー", withUnsavedChanges: "未保存の変更あり" },
|
|
1029
|
+
"pt-BR": { cancel: "Cancelar", createView: "Criar visualização", createViewToast: '"{label}" foi criado', delete: "Excluir", deleteView: "Apagar visualização?", deleteViewDescription: "Você está prestes a apagar a visualização {label}. Você não poderá restaurá-la.", duplicate: "Duplicar", edit: "Editar", editDetails: "Editar detalhes", labelNoDuplicateError: "O título da visualização já existe", labelRequiredError: "É necessário o título da visualização", leave: "Sair", leaveView: "Sair da visualização?", leaveViewDescription: "Você fez alterações na visualização {label}. Se você sair sem salvar, elas serão perdidas.", openViewOptions: "Abrir opções de {label}", restoreChanges: "Restaurar alterações", saveChanges: "Salvar alterações", saveChangesToast: "Alterações salvas em “{label}”", setAsDefault: "Deixar como padrão", setAsDefaultToast: "“{label}” agora é a visualização padrão", undo: "Desfazer", viewListLabel: "Visualizações", withUnsavedChanges: "Com alterações não salvas" },
|
|
1030
|
+
"zh-CN": { cancel: "取消", createView: "创建视图", createViewToast: "已成功创建“{label}”", delete: "删除", deleteView: "删除视图?", deleteViewDescription: "您即将删除视图 {label}。删除后即无法恢复。", duplicate: "复制", edit: "编辑", editDetails: "编辑详情", labelNoDuplicateError: "视图标题已经存在", labelRequiredError: "视图标题为必填项", leave: "离开", leaveView: "离开视图?", leaveViewDescription: "您对视图 {label} 做了更改。如果不保存就离开,更改将丢失。", openViewOptions: "打开{label}选项", restoreChanges: "恢复更改", saveChanges: "保存更改", saveChangesToast: "更改已保存到“{label}”", setAsDefault: "设为默认", setAsDefaultToast: "成功将“{label}”设置为默认视图", undo: "撤销", viewListLabel: "浏览量", withUnsavedChanges: "有未保存的更改" }
|
|
1031
|
+
}, S5 = (o) => {
|
|
1032
1032
|
const i = w(o.views), t = g1({ label: "" }), { t: e } = Me({ messages: Re }), n = K(
|
|
1033
|
-
() => i.value.map((
|
|
1034
|
-
...
|
|
1035
|
-
iconColor:
|
|
1036
|
-
icon:
|
|
1037
|
-
label:
|
|
1038
|
-
...
|
|
1033
|
+
() => i.value.map((b) => ({
|
|
1034
|
+
...b,
|
|
1035
|
+
iconColor: b.iconColor ?? be.PRIMARY,
|
|
1036
|
+
icon: b.icon ?? Le.STACK,
|
|
1037
|
+
label: b.label,
|
|
1038
|
+
...b.isDefault !== null ? { isDefault: b.isDefault } : null,
|
|
1039
1039
|
...o?.additionalViewSetting ? {
|
|
1040
1040
|
additionalViewSetting: {
|
|
1041
1041
|
label: o.additionalViewSetting.label,
|
|
1042
|
-
value:
|
|
1042
|
+
value: b.additionalViewSetting?.value ?? o.additionalViewSetting.value
|
|
1043
1043
|
}
|
|
1044
1044
|
} : []
|
|
1045
1045
|
}))
|
|
1046
|
-
), C = (
|
|
1046
|
+
), C = (b, k) => {
|
|
1047
1047
|
let m = [...i.value];
|
|
1048
|
-
const
|
|
1048
|
+
const S = [...i.value];
|
|
1049
1049
|
let O;
|
|
1050
|
-
return m[
|
|
1051
|
-
...m[
|
|
1052
|
-
...
|
|
1053
|
-
}, O = m[
|
|
1050
|
+
return m[k] ? b ? (b.isDefault && (m = m.map((P) => P.isDefault ? { ...P, isDefault: !1 } : P)), m[k] = {
|
|
1051
|
+
...m[k],
|
|
1052
|
+
...b
|
|
1053
|
+
}, O = m[k].label) : (m.splice(k, 1), O = S[k].label) : (m.push(b), O = b.label), i.value = [...m], {
|
|
1054
1054
|
newViews: i.value,
|
|
1055
|
-
oldViews:
|
|
1055
|
+
oldViews: S,
|
|
1056
1056
|
targetViewLabel: O
|
|
1057
1057
|
};
|
|
1058
|
-
},
|
|
1059
|
-
const
|
|
1060
|
-
let m = `(1) - ${
|
|
1061
|
-
for (; n.value.some((
|
|
1062
|
-
|
|
1058
|
+
}, V = (b) => {
|
|
1059
|
+
const k = n.value[b].label;
|
|
1060
|
+
let m = `(1) - ${k}`, S = 1;
|
|
1061
|
+
for (; n.value.some((P) => P.label === m); )
|
|
1062
|
+
S++, m = `(${S}) - ${n.value[b].label}`;
|
|
1063
1063
|
const O = {
|
|
1064
|
-
...n.value[
|
|
1064
|
+
...n.value[b],
|
|
1065
1065
|
label: m
|
|
1066
1066
|
};
|
|
1067
1067
|
return {
|
|
1068
1068
|
...C(O),
|
|
1069
|
-
targetViewLabel:
|
|
1069
|
+
targetViewLabel: k
|
|
1070
1070
|
};
|
|
1071
|
-
},
|
|
1072
|
-
const
|
|
1073
|
-
return i.value =
|
|
1074
|
-
},
|
|
1071
|
+
}, z = (b) => {
|
|
1072
|
+
const k = i.value;
|
|
1073
|
+
return i.value = b, { oldViews: k, newViews: b };
|
|
1074
|
+
}, Z = () => {
|
|
1075
1075
|
t.label = "";
|
|
1076
1076
|
};
|
|
1077
1077
|
return {
|
|
@@ -1079,35 +1079,35 @@ const $e = {
|
|
|
1079
1079
|
computedViews: n,
|
|
1080
1080
|
errors: t,
|
|
1081
1081
|
// modify
|
|
1082
|
-
clearError:
|
|
1083
|
-
duplicateView:
|
|
1084
|
-
setViews:
|
|
1082
|
+
clearError: Z,
|
|
1083
|
+
duplicateView: V,
|
|
1084
|
+
setViews: z,
|
|
1085
1085
|
updateView: C,
|
|
1086
1086
|
// validations
|
|
1087
|
-
validateLabel: (
|
|
1088
|
-
const m =
|
|
1089
|
-
(O,
|
|
1087
|
+
validateLabel: (b, k) => {
|
|
1088
|
+
const m = b.trim().length === 0, S = n.value.some(
|
|
1089
|
+
(O, P) => O.label === b && k !== P
|
|
1090
1090
|
);
|
|
1091
|
-
m ? t.label = e("labelRequiredError") :
|
|
1091
|
+
m ? t.label = e("labelRequiredError") : S ? t.label = e("labelNoDuplicateError") : Z();
|
|
1092
1092
|
}
|
|
1093
1093
|
};
|
|
1094
1094
|
};
|
|
1095
|
-
var
|
|
1096
|
-
const
|
|
1097
|
-
const { itemRefs: i, items: t, onDrop: e } = o, n = w(null), C = w(null),
|
|
1095
|
+
var Se = /* @__PURE__ */ ((o) => (o.UP = "up", o.DOWN = "down", o))(Se || {});
|
|
1096
|
+
const Z5 = (o) => {
|
|
1097
|
+
const { itemRefs: i, items: t, onDrop: e } = o, n = w(null), C = w(null), V = w(0), z = w(!1), Z = w(0), f = w(null), b = w(0), k = w(0), m = w([]), S = (g) => C.value === g, O = (g, _) => {
|
|
1098
1098
|
if (!_.target.closest("[data-drag-trigger]"))
|
|
1099
1099
|
return;
|
|
1100
|
-
C.value = g,
|
|
1100
|
+
C.value = g, I();
|
|
1101
1101
|
const y = i.value[g];
|
|
1102
|
-
y && (typeof _.clientY == "number" ?
|
|
1103
|
-
},
|
|
1104
|
-
if (!
|
|
1102
|
+
y && (typeof _.clientY == "number" ? V.value = _.clientY : typeof _.key == "string" && (z.value = !0), Z.value = y.clientHeight, b.value = Z.value * (i.value.length - g - 1), k.value = -(Z.value * g), document.documentElement.style.cursor = "grabbing", document.documentElement.style.userSelect = "none");
|
|
1103
|
+
}, P = (g, _) => {
|
|
1104
|
+
if (!z.value) {
|
|
1105
1105
|
f.value = g, O(g, _);
|
|
1106
1106
|
return;
|
|
1107
1107
|
}
|
|
1108
1108
|
E();
|
|
1109
1109
|
}, x = (g, _) => {
|
|
1110
|
-
if (!
|
|
1110
|
+
if (!z.value)
|
|
1111
1111
|
return;
|
|
1112
1112
|
_.preventDefault();
|
|
1113
1113
|
const y = i.value.length - 1, D = 0, d = g === "down", $ = g === "up";
|
|
@@ -1121,10 +1121,10 @@ const S5 = (o) => {
|
|
|
1121
1121
|
if (A > y || A < D)
|
|
1122
1122
|
return;
|
|
1123
1123
|
const ge = () => {
|
|
1124
|
-
const ue = i.value[C.value], W =
|
|
1124
|
+
const ue = i.value[C.value], W = B((f.value - C.value) * Z.value);
|
|
1125
1125
|
ue.style.transform = `translateY(${W}px)`;
|
|
1126
1126
|
}, ae = () => {
|
|
1127
|
-
const ue = i.value[f.value], W = d ? -
|
|
1127
|
+
const ue = i.value[f.value], W = d ? -Z.value : Z.value;
|
|
1128
1128
|
ue.style.transform = Q ? "translateY(0px)" : `translateY(${W}px)`;
|
|
1129
1129
|
};
|
|
1130
1130
|
if (!Q) {
|
|
@@ -1133,14 +1133,14 @@ const S5 = (o) => {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
ae(), f.value = A, ge();
|
|
1135
1135
|
}, F = (g) => {
|
|
1136
|
-
g &&
|
|
1136
|
+
g && z.value && (g.stopPropagation(), g.preventDefault()), n.value = requestAnimationFrame(() => {
|
|
1137
1137
|
i.value.forEach((_) => {
|
|
1138
1138
|
const y = _;
|
|
1139
1139
|
y.style.transform = "";
|
|
1140
1140
|
}), n.value = null;
|
|
1141
|
-
}), f.value = null, C.value = null, document.documentElement.style.cursor = "", document.documentElement.style.userSelect = "",
|
|
1141
|
+
}), f.value = null, C.value = null, document.documentElement.style.cursor = "", document.documentElement.style.userSelect = "", z.value = null;
|
|
1142
1142
|
}, J = (g) => {
|
|
1143
|
-
C.value === null || n.value ||
|
|
1143
|
+
C.value === null || n.value || z.value || (n.value = requestAnimationFrame(() => {
|
|
1144
1144
|
const _ = g.clientY, y = m.value.findIndex(
|
|
1145
1145
|
(D, d) => _ >= D.top && _ <= D.bottom || _ <= D.top && d === 0 || _ >= D.bottom && d === m.value.length - 1
|
|
1146
1146
|
);
|
|
@@ -1154,12 +1154,12 @@ const S5 = (o) => {
|
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
1156
|
const y = t.value[C.value], D = [...t.value];
|
|
1157
|
-
D.splice(C.value, 1), D.splice(f.value, 0, y),
|
|
1157
|
+
D.splice(C.value, 1), D.splice(f.value, 0, y), Y(), F(), e(D);
|
|
1158
1158
|
}, q = (g) => {
|
|
1159
1159
|
const _ = i.value[C.value];
|
|
1160
1160
|
if (!_)
|
|
1161
1161
|
return;
|
|
1162
|
-
_.style.transform = `translateY(${
|
|
1162
|
+
_.style.transform = `translateY(${B(g - V.value)}px)`;
|
|
1163
1163
|
const y = 0.25, D = C.value < f.value, d = C.value > f.value;
|
|
1164
1164
|
for (let $ = 0; $ < m.value.length; $++) {
|
|
1165
1165
|
if ($ === C.value)
|
|
@@ -1168,17 +1168,17 @@ const S5 = (o) => {
|
|
|
1168
1168
|
if (Q >= y && D) {
|
|
1169
1169
|
if ($ < C.value)
|
|
1170
1170
|
continue;
|
|
1171
|
-
A.style.transform = `translateY(-${
|
|
1171
|
+
A.style.transform = `translateY(-${Z.value}px)`;
|
|
1172
1172
|
} else if (Q <= 1 - y && d) {
|
|
1173
1173
|
if ($ > C.value)
|
|
1174
1174
|
continue;
|
|
1175
|
-
A.style.transform = `translateY(${
|
|
1175
|
+
A.style.transform = `translateY(${Z.value}px)`;
|
|
1176
1176
|
} else
|
|
1177
1177
|
A.style.transform = "translateY(0px)";
|
|
1178
1178
|
}
|
|
1179
|
-
},
|
|
1179
|
+
}, Y = () => {
|
|
1180
1180
|
document.activeElement?.closest("[data-drag-item]") && i.value[f.value]?.querySelector("[data-drag-trigger]")?.focus();
|
|
1181
|
-
},
|
|
1181
|
+
}, B = (g) => Math.max(k.value, Math.min(b.value, g)), I = () => {
|
|
1182
1182
|
m.value = i.value.map((g) => {
|
|
1183
1183
|
const { top: _, bottom: y, height: D } = g.getBoundingClientRect();
|
|
1184
1184
|
return {
|
|
@@ -1191,56 +1191,56 @@ const S5 = (o) => {
|
|
|
1191
1191
|
return we(document, "pointermove", J), we(document, "pointerup", E, { capture: !0 }), we(document, "keydown", (g) => {
|
|
1192
1192
|
g.key !== "Tab" || C.value === null || g.preventDefault();
|
|
1193
1193
|
}), we(document, "pointerdown", () => {
|
|
1194
|
-
|
|
1194
|
+
z.value && F();
|
|
1195
1195
|
}), {
|
|
1196
1196
|
draggedViewIndex: C,
|
|
1197
1197
|
draggingOverViewIndex: f,
|
|
1198
|
-
isItemDragged:
|
|
1199
|
-
handleDragKeyboardToggle:
|
|
1198
|
+
isItemDragged: S,
|
|
1199
|
+
handleDragKeyboardToggle: P,
|
|
1200
1200
|
handleDragKeyboardMove: x,
|
|
1201
1201
|
handleDragStart: O,
|
|
1202
1202
|
handleDragStop: F
|
|
1203
1203
|
};
|
|
1204
|
-
},
|
|
1205
|
-
const { container: i, children: t, offset: e, activeViewIndex: n } = o, C = w(t.value.length), { width:
|
|
1204
|
+
}, k5 = (o) => {
|
|
1205
|
+
const { container: i, children: t, offset: e, activeViewIndex: n } = o, C = w(t.value.length), { width: V } = e1(i);
|
|
1206
1206
|
return ie(
|
|
1207
|
-
[
|
|
1208
|
-
async ([
|
|
1209
|
-
const
|
|
1210
|
-
if (
|
|
1207
|
+
[V, n, t],
|
|
1208
|
+
async ([z, Z, f], [, b]) => {
|
|
1209
|
+
const k = f.length;
|
|
1210
|
+
if (k === 0)
|
|
1211
1211
|
return;
|
|
1212
1212
|
let m = e.value.offsetWidth;
|
|
1213
|
-
C.value =
|
|
1214
|
-
const
|
|
1215
|
-
|
|
1216
|
-
for (let x = 0; x <
|
|
1213
|
+
C.value = k;
|
|
1214
|
+
const S = f[b];
|
|
1215
|
+
S && (S.style.display = "none");
|
|
1216
|
+
for (let x = 0; x < k; x++) {
|
|
1217
1217
|
const F = f[x];
|
|
1218
|
-
if (F.style.display = "inline-flex", m + F.offsetWidth <=
|
|
1218
|
+
if (F.style.display = "inline-flex", m + F.offsetWidth <= z)
|
|
1219
1219
|
m += F.offsetWidth;
|
|
1220
1220
|
else {
|
|
1221
1221
|
C.value = x, F.style.display = "none";
|
|
1222
1222
|
break;
|
|
1223
1223
|
}
|
|
1224
1224
|
}
|
|
1225
|
-
if (
|
|
1225
|
+
if (Z < C.value || Z === null)
|
|
1226
1226
|
return;
|
|
1227
1227
|
await He();
|
|
1228
1228
|
let O = C.value - 1;
|
|
1229
|
-
const
|
|
1230
|
-
if (
|
|
1231
|
-
|
|
1229
|
+
const P = f[Z];
|
|
1230
|
+
if (P.style.display = "inline-flex", m += P.offsetWidth, O < 0 && m > z) {
|
|
1231
|
+
P.style.display = "none";
|
|
1232
1232
|
return;
|
|
1233
1233
|
}
|
|
1234
|
-
for (; m >
|
|
1234
|
+
for (; m > z && O >= 0; ) {
|
|
1235
1235
|
const x = t.value[O];
|
|
1236
1236
|
m -= x.offsetWidth, x.style.display = "none", O--;
|
|
1237
1237
|
}
|
|
1238
1238
|
},
|
|
1239
1239
|
{ immediate: !0 }
|
|
1240
|
-
), ie([C, () => t.value.length], ([
|
|
1241
|
-
for (let f =
|
|
1242
|
-
const
|
|
1243
|
-
|
|
1240
|
+
), ie([C, () => t.value.length], ([z, Z]) => {
|
|
1241
|
+
for (let f = z; f < Z; f++) {
|
|
1242
|
+
const b = t.value[f];
|
|
1243
|
+
b.style.display = "none";
|
|
1244
1244
|
}
|
|
1245
1245
|
}), {
|
|
1246
1246
|
maxDisplayedViews: C
|
|
@@ -1257,12 +1257,12 @@ const S5 = (o) => {
|
|
|
1257
1257
|
"ja-JP": { movingDraggedToPosition: "{dragged}を{draggingOver}の位置に移動しています", openViewOptions: "{label}オプションを開く", reorderView: "{label}を並べ替え", toggleAllViews: "すべてのビューを切り替え" },
|
|
1258
1258
|
"pt-BR": { movingDraggedToPosition: "Movendo {dragged} para a posição de {draggingOver}", openViewOptions: "Abrir opções de {label}", reorderView: "Reordenar {label}", toggleAllViews: "Alternar todas as visualizações" },
|
|
1259
1259
|
"zh-CN": { movingDraggedToPosition: "将 {dragged} 移动到 {draggingOver} 位置", openViewOptions: "打开 {label} 选项", reorderView: "重新排序 {label}", toggleAllViews: "切换所有视图" }
|
|
1260
|
-
}, A5 = ["onKeydown"],
|
|
1260
|
+
}, A5 = ["onKeydown"], T5 = {
|
|
1261
1261
|
key: 0,
|
|
1262
1262
|
class: "b-header-with-views-all-views__popover-status"
|
|
1263
1263
|
}, R5 = ["onPointerdown"], O5 = { class: "b-header-with-views-all-views__popover-menu-item-content" }, E5 = {
|
|
1264
1264
|
i18n: { messages: l1 }
|
|
1265
|
-
},
|
|
1265
|
+
}, z5 = /* @__PURE__ */ ke({
|
|
1266
1266
|
...E5,
|
|
1267
1267
|
__name: "header-with-views-all-views",
|
|
1268
1268
|
props: {
|
|
@@ -1272,52 +1272,52 @@ const S5 = (o) => {
|
|
|
1272
1272
|
},
|
|
1273
1273
|
emits: ["close:all-views", "close:view-menu", "open:all-views", "open:view-menu", "select:view", "reorder:view"],
|
|
1274
1274
|
setup(o, { emit: i }) {
|
|
1275
|
-
const t = o, e = i, n = w(!1), C = w(null),
|
|
1276
|
-
me(
|
|
1275
|
+
const t = o, e = i, n = w(!1), C = w(null), V = w(null), z = w(null), Z = w(null), f = w(null), b = w(null), k = Ve("menu-popover"), { t: m } = Me({ messages: l1 });
|
|
1276
|
+
me(V, () => O(), {
|
|
1277
1277
|
ignore: [C, ...t.menuCloseOnClickOutsideOptions?.ignore ?? []]
|
|
1278
1278
|
});
|
|
1279
|
-
const
|
|
1279
|
+
const S = () => {
|
|
1280
1280
|
n.value = !0, e("open:all-views");
|
|
1281
1281
|
}, O = async () => {
|
|
1282
1282
|
n.value && (n.value = !1, e("close:all-views"), await He(), C.value.$el.focus());
|
|
1283
|
-
},
|
|
1284
|
-
_.stopPropagation(), n.value ? O() :
|
|
1283
|
+
}, P = (_) => {
|
|
1284
|
+
_.stopPropagation(), n.value ? O() : S();
|
|
1285
1285
|
}, {
|
|
1286
1286
|
draggedViewIndex: x,
|
|
1287
1287
|
draggingOverViewIndex: F,
|
|
1288
1288
|
isItemDragged: J,
|
|
1289
1289
|
handleDragKeyboardMove: E,
|
|
1290
1290
|
handleDragKeyboardToggle: q,
|
|
1291
|
-
handleDragStart:
|
|
1292
|
-
handleDragStop:
|
|
1293
|
-
} =
|
|
1291
|
+
handleDragStart: Y,
|
|
1292
|
+
handleDragStop: B
|
|
1293
|
+
} = Z5({
|
|
1294
1294
|
items: C1(t, "menuItems"),
|
|
1295
1295
|
itemRefs: f,
|
|
1296
1296
|
onDrop: (_) => e("reorder:view", _)
|
|
1297
|
-
}),
|
|
1297
|
+
}), I = (_) => ({
|
|
1298
1298
|
"b-header-with-views-all-views__popover-menu-item--dragging": J(_)
|
|
1299
1299
|
}), g = (_) => {
|
|
1300
|
-
|
|
1300
|
+
b.value[_].closeMenu(!1);
|
|
1301
1301
|
};
|
|
1302
1302
|
return (_, y) => (a(), r("div", {
|
|
1303
1303
|
ref_key: "allViewsRef",
|
|
1304
|
-
ref:
|
|
1304
|
+
ref: z,
|
|
1305
1305
|
class: "b-header-with-views-all-views",
|
|
1306
1306
|
"data-testid": "header-with-views-all-views",
|
|
1307
1307
|
onKeydown: G(ve(O, ["stop", "prevent"]), ["esc"])
|
|
1308
1308
|
}, [
|
|
1309
|
-
|
|
1309
|
+
T(s(Ae), {
|
|
1310
1310
|
ref_key: "allViewsMenuToggleRef",
|
|
1311
1311
|
ref: C,
|
|
1312
1312
|
"aria-haspopup": "true",
|
|
1313
1313
|
"aria-expanded": n.value,
|
|
1314
|
-
"aria-controls": n.value ? s(
|
|
1314
|
+
"aria-controls": n.value ? s(k) : null,
|
|
1315
1315
|
variant: "tertiary",
|
|
1316
1316
|
toggled: n.value,
|
|
1317
|
-
onClick:
|
|
1317
|
+
onClick: P
|
|
1318
1318
|
}, {
|
|
1319
1319
|
iconLeft: M(() => [
|
|
1320
|
-
|
|
1320
|
+
T(s(D5), {
|
|
1321
1321
|
"svg-title": s(m)("toggleAllViews")
|
|
1322
1322
|
}, null, 8, ["svg-title"])
|
|
1323
1323
|
]),
|
|
@@ -1325,9 +1325,9 @@ const S5 = (o) => {
|
|
|
1325
1325
|
}, 8, ["aria-expanded", "aria-controls", "toggled"]),
|
|
1326
1326
|
C.value ? (a(), N(s(_e), {
|
|
1327
1327
|
key: 0,
|
|
1328
|
-
id: s(
|
|
1328
|
+
id: s(k),
|
|
1329
1329
|
ref_key: "allViewsMenuPopoverRef",
|
|
1330
|
-
ref:
|
|
1330
|
+
ref: V,
|
|
1331
1331
|
class: "b-header-with-views-all-views__popover",
|
|
1332
1332
|
open: n.value,
|
|
1333
1333
|
"target-element": C.value,
|
|
@@ -1337,13 +1337,13 @@ const S5 = (o) => {
|
|
|
1337
1337
|
"without-space": ""
|
|
1338
1338
|
}, {
|
|
1339
1339
|
default: M(() => [
|
|
1340
|
-
s(x) !== null && s(F) !== null ? (a(), r("output",
|
|
1340
|
+
s(x) !== null && s(F) !== null ? (a(), r("output", T5, p(s(m)("movingDraggedToPosition", {
|
|
1341
1341
|
dragged: _.menuItems[s(x)].label,
|
|
1342
1342
|
draggingOver: _.menuItems[s(F)].label
|
|
1343
1343
|
})), 1)) : v("", !0),
|
|
1344
1344
|
l("ul", {
|
|
1345
1345
|
ref_key: "menuRef",
|
|
1346
|
-
ref:
|
|
1346
|
+
ref: Z,
|
|
1347
1347
|
class: "b-header-with-views-all-views__popover-menu"
|
|
1348
1348
|
}, [
|
|
1349
1349
|
(a(!0), r(fe, null, he(_.menuItems, (D, d) => (a(), r("li", {
|
|
@@ -1352,11 +1352,11 @@ const S5 = (o) => {
|
|
|
1352
1352
|
ref: f,
|
|
1353
1353
|
key: d,
|
|
1354
1354
|
"data-drag-item": "",
|
|
1355
|
-
class: se(["b-header-with-views-all-views__popover-menu-item",
|
|
1356
|
-
onPointerdown: ($) => s(
|
|
1355
|
+
class: se(["b-header-with-views-all-views__popover-menu-item", I(d)]),
|
|
1356
|
+
onPointerdown: ($) => s(Y)(d, $)
|
|
1357
1357
|
}, [
|
|
1358
1358
|
l("div", O5, [
|
|
1359
|
-
|
|
1359
|
+
T(s(pe), {
|
|
1360
1360
|
"data-drag-trigger": "",
|
|
1361
1361
|
class: "b-header-with-views-all-views__popover-menu-item-button b-header-with-views-all-views__popover-menu-item-button-reorder",
|
|
1362
1362
|
variant: "tertiary",
|
|
@@ -1364,19 +1364,19 @@ const S5 = (o) => {
|
|
|
1364
1364
|
onKeydown: [
|
|
1365
1365
|
G(($) => s(q)(d, $), ["enter", "native"]),
|
|
1366
1366
|
G(($) => s(q)(d, $), ["space", "native"]),
|
|
1367
|
-
y[0] || (y[0] = G(($) => s(E)(s(
|
|
1368
|
-
y[1] || (y[1] = G(($) => s(E)(s(
|
|
1369
|
-
G(s(
|
|
1367
|
+
y[0] || (y[0] = G(($) => s(E)(s(Se).DOWN, $), ["down", "native"])),
|
|
1368
|
+
y[1] || (y[1] = G(($) => s(E)(s(Se).UP, $), ["up", "native"])),
|
|
1369
|
+
G(s(B), ["esc", "native"])
|
|
1370
1370
|
]
|
|
1371
1371
|
}, {
|
|
1372
1372
|
iconLeft: M(() => [
|
|
1373
|
-
|
|
1373
|
+
T(s(y1), {
|
|
1374
1374
|
"svg-title": s(m)("reorderView", { label: D.label })
|
|
1375
1375
|
}, null, 8, ["svg-title"])
|
|
1376
1376
|
]),
|
|
1377
1377
|
_: 2
|
|
1378
1378
|
}, 1032, ["aria-pressed", "onKeydown"]),
|
|
1379
|
-
|
|
1379
|
+
T(s(pe), {
|
|
1380
1380
|
"data-view-select": "",
|
|
1381
1381
|
class: "b-header-with-views-all-views__popover-menu-item-button b-header-with-views-all-views__popover-menu-item-button-select",
|
|
1382
1382
|
variant: "tertiary",
|
|
@@ -1391,7 +1391,7 @@ const S5 = (o) => {
|
|
|
1391
1391
|
], 2)
|
|
1392
1392
|
]),
|
|
1393
1393
|
default: M(() => [
|
|
1394
|
-
|
|
1394
|
+
T(s(le), {
|
|
1395
1395
|
el: "span",
|
|
1396
1396
|
variant: "body",
|
|
1397
1397
|
class: "b-header-with-views-all-views__popover-menu-item-button-text"
|
|
@@ -1404,10 +1404,10 @@ const S5 = (o) => {
|
|
|
1404
1404
|
]),
|
|
1405
1405
|
_: 2
|
|
1406
1406
|
}, 1032, ["onClick"]),
|
|
1407
|
-
|
|
1407
|
+
T(s(We), {
|
|
1408
1408
|
ref_for: !0,
|
|
1409
1409
|
ref_key: "editViewMenuRefs",
|
|
1410
|
-
ref:
|
|
1410
|
+
ref: b,
|
|
1411
1411
|
"data-view-menu": "",
|
|
1412
1412
|
class: "b-header-with-views-all-views__popover-menu-item-button",
|
|
1413
1413
|
button: {
|
|
@@ -1423,7 +1423,7 @@ const S5 = (o) => {
|
|
|
1423
1423
|
onKeydownCapture: G(($) => g(d), ["tab", "native"])
|
|
1424
1424
|
}, {
|
|
1425
1425
|
iconLeft: M(() => [
|
|
1426
|
-
|
|
1426
|
+
T(s(i1), { "aria-hidden": !0 })
|
|
1427
1427
|
]),
|
|
1428
1428
|
_: 2
|
|
1429
1429
|
}, 1032, ["button", "close-on-click-outside-options", "data", "onOpen", "onClose", "onKeydownCapture"])
|
|
@@ -1435,7 +1435,7 @@ const S5 = (o) => {
|
|
|
1435
1435
|
}, 8, ["id", "open", "target-element"])) : v("", !0)
|
|
1436
1436
|
], 40, A5));
|
|
1437
1437
|
}
|
|
1438
|
-
}),
|
|
1438
|
+
}), P5 = /* @__PURE__ */ Te(z5, [["__scopeId", "data-v-6053b1b2"]]), I5 = { key: 0 }, U5 = ["clip-path"], N5 = ["id"], x5 = {
|
|
1439
1439
|
__name: "circle-filled",
|
|
1440
1440
|
setup(o) {
|
|
1441
1441
|
const i = L(), t = String(i?.uid ?? i?.proxy?._uid);
|
|
@@ -1446,7 +1446,7 @@ const S5 = (o) => {
|
|
|
1446
1446
|
height: "16",
|
|
1447
1447
|
fill: "none"
|
|
1448
1448
|
}), [
|
|
1449
|
-
e.$attrs["svg-title"] ? (a(), r("title",
|
|
1449
|
+
e.$attrs["svg-title"] ? (a(), r("title", I5, p(e.$attrs["svg-title"]), 1)) : v("", !0),
|
|
1450
1450
|
l("g", {
|
|
1451
1451
|
"clip-path": "url(#uia-ui-assets/icons-16-circle_filled__a" + s(t) + ")"
|
|
1452
1452
|
}, n[0] || (n[0] = [
|
|
@@ -1469,7 +1469,7 @@ const S5 = (o) => {
|
|
|
1469
1469
|
], 16));
|
|
1470
1470
|
}
|
|
1471
1471
|
};
|
|
1472
|
-
var
|
|
1472
|
+
var Ze = /* @__PURE__ */ ((o) => (o.EDIT = "edit", o.CREATE = "create", o))(Ze || {});
|
|
1473
1473
|
const s1 = {
|
|
1474
1474
|
"de-DE": { cancel: "Abbrechen", color: "Farbe", create: "Erstellen", icon: "Symbol", save: "Speichern", selectIcon: "Wählen Sie das Symbol {icon}", selectIconColor: "Wählen Sie die Farbe {color} des Symbols aus", selected: "Ausgewählt", title: "Titel", viewIcons: "Symbole anzeigen", viewLabel: "Label anzeigen" },
|
|
1475
1475
|
"en-GB": { cancel: "Cancel", color: "Colour", create: "Create", icon: "Icon", save: "Save", selectIcon: "Select {icon} icon", selectIconColor: "Select {colour} icon colour", selected: "Selected", title: "Title", viewIcons: "View icons", viewLabel: "View label" },
|
|
@@ -1485,33 +1485,33 @@ const s1 = {
|
|
|
1485
1485
|
}, F5 = { class: "b-header-with-views-edit-form" }, K5 = {
|
|
1486
1486
|
class: "b-header-with-views-edit-form__icon-choice-alert",
|
|
1487
1487
|
role: "alert"
|
|
1488
|
-
}, G5 = { class: "b-header-with-views-edit-form__icon-selector" }, q5 = { class: "b-header-with-views-edit-form__icon-panel" },
|
|
1488
|
+
}, G5 = { class: "b-header-with-views-edit-form__icon-selector" }, q5 = { class: "b-header-with-views-edit-form__icon-panel" }, Y5 = { class: "b-header-with-views-edit-form__icon-color-options" }, B5 = { class: "b-header-with-views-edit-form__icon-options" }, j5 = {
|
|
1489
1489
|
i18n: { messages: s1 }
|
|
1490
|
-
}, J5 = /* @__PURE__ */
|
|
1490
|
+
}, J5 = /* @__PURE__ */ ke({
|
|
1491
1491
|
...j5,
|
|
1492
1492
|
__name: "header-with-views-edit-form",
|
|
1493
1493
|
props: {
|
|
1494
1494
|
additionalFormItem: { default: null },
|
|
1495
|
-
context: { default:
|
|
1495
|
+
context: { default: Ze.CREATE },
|
|
1496
1496
|
disableCustomization: { type: Boolean, default: !1 },
|
|
1497
1497
|
errors: { default: null },
|
|
1498
1498
|
icon: { default: Le.STACK },
|
|
1499
|
-
iconColor: { default:
|
|
1499
|
+
iconColor: { default: be.PRIMARY },
|
|
1500
1500
|
label: { default: "" }
|
|
1501
1501
|
},
|
|
1502
1502
|
emits: ["cancel", "update", "delete", "input:label", "blur:label", "keydown:enter"],
|
|
1503
1503
|
setup(o, { emit: i }) {
|
|
1504
|
-
const t = o, e = i, n = w(t.label), C = w(t.icon),
|
|
1505
|
-
() => `${E("selected")}: ${C.value} ${E("icon")}, ${E("color")} ${
|
|
1504
|
+
const t = o, e = i, n = w(t.label), C = w(t.icon), V = w(t.iconColor), z = w(t.additionalFormItem?.value ?? !1), Z = w(!1), f = w(null), b = w(null), k = w(null), m = Ve("iconPopover"), S = w(!1), O = K(() => Object.values(Le)), P = K(() => Object.values(be)), x = K(() => Object.values(t.errors).some((d) => d.length > 0)), F = K(
|
|
1505
|
+
() => `${E("selected")}: ${C.value} ${E("icon")}, ${E("color")} ${V.value}`
|
|
1506
1506
|
), J = K(() => [
|
|
1507
|
-
...t.context ===
|
|
1507
|
+
...t.context === Ze.EDIT ? (
|
|
1508
1508
|
// edit mode
|
|
1509
1509
|
[
|
|
1510
1510
|
{
|
|
1511
1511
|
title: E("save"),
|
|
1512
1512
|
type: "submit",
|
|
1513
1513
|
event: () => {
|
|
1514
|
-
x.value ||
|
|
1514
|
+
x.value || I();
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
]
|
|
@@ -1522,7 +1522,7 @@ const s1 = {
|
|
|
1522
1522
|
title: E("create"),
|
|
1523
1523
|
type: "submit",
|
|
1524
1524
|
event: () => {
|
|
1525
|
-
!
|
|
1525
|
+
!Z.value || x.value || I();
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
]
|
|
@@ -1532,39 +1532,39 @@ const s1 = {
|
|
|
1532
1532
|
event: g
|
|
1533
1533
|
}
|
|
1534
1534
|
]), { t: E } = Me({ messages: s1 }), q = K(() => ({
|
|
1535
|
-
iconColor:
|
|
1535
|
+
iconColor: V.value,
|
|
1536
1536
|
icon: C.value,
|
|
1537
1537
|
label: n.value,
|
|
1538
1538
|
...t.additionalFormItem ? {
|
|
1539
1539
|
additionalViewSetting: {
|
|
1540
1540
|
label: t.additionalFormItem.label,
|
|
1541
|
-
value:
|
|
1541
|
+
value: z.value
|
|
1542
1542
|
}
|
|
1543
1543
|
} : []
|
|
1544
|
-
})),
|
|
1545
|
-
() => t.disableCustomization ? "" : `b-header-with-views-edit-form__icon-color--${
|
|
1546
|
-
),
|
|
1547
|
-
|
|
1548
|
-
},
|
|
1544
|
+
})), Y = K(
|
|
1545
|
+
() => t.disableCustomization ? "" : `b-header-with-views-edit-form__icon-color--${V.value}`
|
|
1546
|
+
), B = () => {
|
|
1547
|
+
S.value = !1;
|
|
1548
|
+
}, I = () => {
|
|
1549
1549
|
e("update", q.value);
|
|
1550
1550
|
}, g = () => {
|
|
1551
|
-
C.value = t.icon,
|
|
1552
|
-
}, _ =
|
|
1553
|
-
n.value = d,
|
|
1551
|
+
C.value = t.icon, V.value = t.iconColor, n.value = t.label, e("cancel");
|
|
1552
|
+
}, _ = k1((d) => {
|
|
1553
|
+
n.value = d, Z.value = !0;
|
|
1554
1554
|
}, 200), y = (d) => {
|
|
1555
|
-
n.value = d.target.value,
|
|
1555
|
+
n.value = d.target.value, Z.value = !0, e("keydown:enter", q.value);
|
|
1556
1556
|
}, D = (d) => {
|
|
1557
|
-
|
|
1557
|
+
z.value = d, Z.value = !0;
|
|
1558
1558
|
};
|
|
1559
|
-
return me(
|
|
1559
|
+
return me(b, B, {
|
|
1560
1560
|
ignore: [f]
|
|
1561
|
-
}), H1("Escape",
|
|
1562
|
-
target:
|
|
1561
|
+
}), H1("Escape", B, {
|
|
1562
|
+
target: b,
|
|
1563
1563
|
eventName: "keydown"
|
|
1564
1564
|
}), ie(n, (d) => e("input:label", d)), Xe(async () => {
|
|
1565
|
-
await He(),
|
|
1565
|
+
await He(), k.value.$refs.inputFieldElement.focus();
|
|
1566
1566
|
}), (d, $) => (a(), r("form", F5, [
|
|
1567
|
-
|
|
1567
|
+
T(s(A1), null, {
|
|
1568
1568
|
default: M(() => [
|
|
1569
1569
|
X(p(s(E)("title")), 1)
|
|
1570
1570
|
]),
|
|
@@ -1572,19 +1572,19 @@ const s1 = {
|
|
|
1572
1572
|
}),
|
|
1573
1573
|
l("div", K5, p(F.value), 1),
|
|
1574
1574
|
l("div", G5, [
|
|
1575
|
-
|
|
1575
|
+
T(s(Ae), {
|
|
1576
1576
|
ref_key: "iconSelectorButtonRef",
|
|
1577
1577
|
ref: f,
|
|
1578
1578
|
variant: "secondary",
|
|
1579
|
-
"aria-expanded":
|
|
1580
|
-
"aria-controls":
|
|
1579
|
+
"aria-expanded": S.value,
|
|
1580
|
+
"aria-controls": S.value ? s(m) : null,
|
|
1581
1581
|
disabled: t.disableCustomization,
|
|
1582
|
-
toggled:
|
|
1583
|
-
onClick: $[0] || ($[0] = (A) =>
|
|
1582
|
+
toggled: S.value,
|
|
1583
|
+
onClick: $[0] || ($[0] = (A) => S.value = !S.value)
|
|
1584
1584
|
}, {
|
|
1585
1585
|
iconLeft: M(() => [
|
|
1586
1586
|
(a(), N(re(s($e)[C.value]), {
|
|
1587
|
-
class: se(
|
|
1587
|
+
class: se(Y.value),
|
|
1588
1588
|
"svg-title": s(E)("viewIcons")
|
|
1589
1589
|
}, null, 8, ["class", "svg-title"]))
|
|
1590
1590
|
]),
|
|
@@ -1594,32 +1594,32 @@ const s1 = {
|
|
|
1594
1594
|
key: 0,
|
|
1595
1595
|
id: s(m),
|
|
1596
1596
|
ref_key: "iconPopoverRef",
|
|
1597
|
-
ref:
|
|
1597
|
+
ref: b,
|
|
1598
1598
|
class: "b-header-with-views-edit-form__icon-selector-popover",
|
|
1599
1599
|
"target-element": f.value,
|
|
1600
|
-
open:
|
|
1600
|
+
open: S.value,
|
|
1601
1601
|
"fallback-position": ["bottom-end"],
|
|
1602
1602
|
"fixed-positioning": !0,
|
|
1603
1603
|
"overflow-visible": !0,
|
|
1604
1604
|
position: "bottom-end",
|
|
1605
|
-
onDismiss: $[1] || ($[1] = (A) =>
|
|
1606
|
-
onKeydownCapture: $[2] || ($[2] = G(ve((A) =>
|
|
1605
|
+
onDismiss: $[1] || ($[1] = (A) => S.value = !1),
|
|
1606
|
+
onKeydownCapture: $[2] || ($[2] = G(ve((A) => S.value = !1, ["stop", "prevent"]), ["escape", "native"]))
|
|
1607
1607
|
}, {
|
|
1608
1608
|
default: M(() => [
|
|
1609
1609
|
l("div", q5, [
|
|
1610
|
-
l("div",
|
|
1611
|
-
(a(!0), r(fe, null, he(
|
|
1610
|
+
l("div", Y5, [
|
|
1611
|
+
(a(!0), r(fe, null, he(P.value, (A, j) => (a(), r("div", {
|
|
1612
1612
|
key: j,
|
|
1613
1613
|
class: "b-header-with-views-edit-form__icon-options-wrapper"
|
|
1614
1614
|
}, [
|
|
1615
|
-
|
|
1615
|
+
T(s(pe), {
|
|
1616
1616
|
class: se(["b-header-with-views-edit-form__icon-color-options-button", `b-header-with-views-edit-form__icon-color--${A}`]),
|
|
1617
|
-
"aria-selected":
|
|
1617
|
+
"aria-selected": V.value === A,
|
|
1618
1618
|
variant: "tertiary",
|
|
1619
|
-
onClick: (R) =>
|
|
1619
|
+
onClick: (R) => V.value = A
|
|
1620
1620
|
}, {
|
|
1621
1621
|
iconLeft: M(() => [
|
|
1622
|
-
|
|
1622
|
+
T(s(x5), {
|
|
1623
1623
|
"svg-title": s(E)("selectIconColor", { color: A })
|
|
1624
1624
|
}, null, 8, ["svg-title"])
|
|
1625
1625
|
]),
|
|
@@ -1627,8 +1627,8 @@ const s1 = {
|
|
|
1627
1627
|
}, 1032, ["class", "aria-selected", "onClick"])
|
|
1628
1628
|
]))), 128))
|
|
1629
1629
|
]),
|
|
1630
|
-
|
|
1631
|
-
l("div",
|
|
1630
|
+
T(s(S1)),
|
|
1631
|
+
l("div", B5, [
|
|
1632
1632
|
(a(!0), r(fe, null, he(O.value, (A, j) => (a(), N(s(pe), {
|
|
1633
1633
|
key: j,
|
|
1634
1634
|
class: "b-header-with-views-edit-form__icon-options-button",
|
|
@@ -1648,9 +1648,9 @@ const s1 = {
|
|
|
1648
1648
|
]),
|
|
1649
1649
|
_: 1
|
|
1650
1650
|
}, 8, ["id", "target-element", "open"])) : v("", !0),
|
|
1651
|
-
|
|
1651
|
+
T(s(Z1), {
|
|
1652
1652
|
ref_key: "inputFieldRef",
|
|
1653
|
-
ref:
|
|
1653
|
+
ref: k,
|
|
1654
1654
|
class: "b-header-with-views-edit-form__icon-selector-input",
|
|
1655
1655
|
"aria-label": s(E)("viewLabel"),
|
|
1656
1656
|
"error-message": d.errors.label,
|
|
@@ -1662,7 +1662,7 @@ const s1 = {
|
|
|
1662
1662
|
]),
|
|
1663
1663
|
d.additionalFormItem ? (a(), N(s(Qe), {
|
|
1664
1664
|
key: 0,
|
|
1665
|
-
"model-value":
|
|
1665
|
+
"model-value": z.value,
|
|
1666
1666
|
class: "b-header-with-views-edit-form__additional-config",
|
|
1667
1667
|
"onUpdate:modelValue": D
|
|
1668
1668
|
}, {
|
|
@@ -1671,17 +1671,17 @@ const s1 = {
|
|
|
1671
1671
|
]),
|
|
1672
1672
|
_: 1
|
|
1673
1673
|
}, 8, ["model-value"])) : v("", !0),
|
|
1674
|
-
|
|
1674
|
+
T(s(f1), {
|
|
1675
1675
|
class: "b-header-with-views-edit-form__actions",
|
|
1676
1676
|
actions: J.value,
|
|
1677
1677
|
layout: "buttons-end"
|
|
1678
1678
|
}, null, 8, ["actions"])
|
|
1679
1679
|
]));
|
|
1680
1680
|
}
|
|
1681
|
-
}), je = /* @__PURE__ */
|
|
1681
|
+
}), je = /* @__PURE__ */ Te(J5, [["__scopeId", "data-v-934f6e91"]]), X5 = { class: "b-header-with-views__title" }, Q5 = ["aria-label"], W5 = { class: "b-header-with-views__bar-tab-button--unsaved" }, ei = { class: "b-header-with-views__modal-description" }, ti = { class: "b-header-with-views__modal-description" }, ii = {
|
|
1682
1682
|
i18n: { messages: Re },
|
|
1683
1683
|
name: "bento-header-with-views"
|
|
1684
|
-
}, li = /* @__PURE__ */
|
|
1684
|
+
}, li = /* @__PURE__ */ ke({
|
|
1685
1685
|
...ii,
|
|
1686
1686
|
props: {
|
|
1687
1687
|
actions: { default: () => [] },
|
|
@@ -1700,57 +1700,57 @@ const s1 = {
|
|
|
1700
1700
|
},
|
|
1701
1701
|
emits: ["add:view", "delete:view", "duplicate:view", "reorder:view", "restore:view", "save:view", "select:view", "update:view", "update:skip-unsaved-changes", "update:active-view-index"],
|
|
1702
1702
|
setup(o, { emit: i }) {
|
|
1703
|
-
const t = o, e = i, n = 573, C =
|
|
1703
|
+
const t = o, e = i, n = 573, C = V1(), { t: V } = Me({ messages: Re }), z = w1(), Z = h1(z), f = w(null), b = w(null), k = w(null), m = w([]), S = w(null), O = w(null), P = w(null), x = w([]), F = w(null), J = w(null), E = w(!1), q = w(!1), Y = w(!1), B = w(!1), I = w(null), g = w(null), _ = w(null), y = w(null), D = w(null), d = K({
|
|
1704
1704
|
get: () => _.value,
|
|
1705
1705
|
set: (u) => {
|
|
1706
1706
|
_.value = u, e("update:active-view-index", u);
|
|
1707
1707
|
}
|
|
1708
|
-
}), $ = w(!1), A =
|
|
1709
|
-
|
|
1710
|
-
container:
|
|
1708
|
+
}), $ = w(!1), A = Ve("createViewPopover"), j = Ve("editViewPopover");
|
|
1709
|
+
k5({
|
|
1710
|
+
container: P,
|
|
1711
1711
|
children: x,
|
|
1712
1712
|
offset: F,
|
|
1713
1713
|
activeViewIndex: d
|
|
1714
1714
|
});
|
|
1715
|
-
const { computedViews: R, clearError: Q, duplicateView: ge, errors: ae, setViews: ue, updateView: W, validateLabel: de } =
|
|
1715
|
+
const { computedViews: R, clearError: Q, duplicateView: ge, errors: ae, setViews: ue, updateView: W, validateLabel: de } = S5({
|
|
1716
1716
|
additionalViewSetting: t.additionalViewSetting,
|
|
1717
1717
|
views: t.views
|
|
1718
1718
|
}), ce = async (u = !0) => {
|
|
1719
1719
|
E.value = !1, u && (await He(), f.value.$el.focus()), Q();
|
|
1720
1720
|
}, Oe = () => {
|
|
1721
|
-
(q.value ? J.value.$refs.editViewMenuRefs[
|
|
1721
|
+
(q.value ? J.value.$refs.editViewMenuRefs[I.value] : m.value[0])?.closeMenu();
|
|
1722
1722
|
};
|
|
1723
|
-
me(
|
|
1723
|
+
me(b, () => ce(!1), {
|
|
1724
1724
|
ignore: [f]
|
|
1725
|
-
}), me(
|
|
1726
|
-
ignore: [
|
|
1725
|
+
}), me(k, () => ne(), {
|
|
1726
|
+
ignore: [S]
|
|
1727
1727
|
});
|
|
1728
1728
|
const { width: a1 } = e1(O), { addToast: ye } = m1(), n1 = K(() => [
|
|
1729
1729
|
{
|
|
1730
|
-
title:
|
|
1730
|
+
title: V("leave"),
|
|
1731
1731
|
event: Ke
|
|
1732
1732
|
},
|
|
1733
1733
|
{
|
|
1734
|
-
title:
|
|
1734
|
+
title: V("saveChanges"),
|
|
1735
1735
|
event: Fe
|
|
1736
1736
|
}
|
|
1737
1737
|
]), o1 = K(() => [
|
|
1738
1738
|
{
|
|
1739
|
-
title:
|
|
1739
|
+
title: V("delete"),
|
|
1740
1740
|
event: async () => {
|
|
1741
|
-
|
|
1741
|
+
B.value = !1;
|
|
1742
1742
|
const u = W(null, D.value);
|
|
1743
1743
|
e("delete:view", u), ee(), !(d.value < D.value) && (d.value > D.value ? d.value -= 1 : d.value === D.value && (u.newViews.length === 0 ? d.value = null : d.value >= u.newViews.length && (d.value -= 1)), D.value = null);
|
|
1744
1744
|
}
|
|
1745
1745
|
},
|
|
1746
1746
|
{
|
|
1747
|
-
title:
|
|
1747
|
+
title: V("cancel"),
|
|
1748
1748
|
event: () => {
|
|
1749
|
-
|
|
1749
|
+
B.value = !1;
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
|
-
]), r1 = K(() => R.value[D.value]?.label), Ee = K(() => t.description ||
|
|
1753
|
-
"b-header-with-views__container--is-compact":
|
|
1752
|
+
]), r1 = K(() => R.value[D.value]?.label), Ee = K(() => t.description || Z("description") || t.lastUpdated), ze = K(() => a1.value <= n), u1 = K(() => ({
|
|
1753
|
+
"b-header-with-views__container--is-compact": ze.value,
|
|
1754
1754
|
"b-header-with-views__container--has-meta": Ee.value
|
|
1755
1755
|
}));
|
|
1756
1756
|
ie([d, R], ([u, c], [H, U]) => {
|
|
@@ -1760,15 +1760,15 @@ const s1 = {
|
|
|
1760
1760
|
ne();
|
|
1761
1761
|
}), ie(q, (u) => {
|
|
1762
1762
|
u || ee();
|
|
1763
|
-
}), ie(
|
|
1763
|
+
}), ie(I, (u) => {
|
|
1764
1764
|
const c = De(u) ? 2 : 0;
|
|
1765
1765
|
if (q.value) {
|
|
1766
1766
|
const U = J.value.$refs.editViewMenuRefs[g.value]?.$refs?.menuItemListRef;
|
|
1767
|
-
|
|
1767
|
+
S.value = J.value.$refs.editViewMenuRefs[g.value]?.$refs?.menuItemListRef?.$refs?.menuItemRef?.[c] ?? null, u || (U?.focusItem(), Q());
|
|
1768
1768
|
return;
|
|
1769
1769
|
}
|
|
1770
1770
|
const H = m.value.find((U) => U.$refs.menuItemListRef)?.$refs?.menuItemListRef;
|
|
1771
|
-
|
|
1771
|
+
S.value = H?.$refs?.menuItemRef?.[c] ?? null, u || (H?.focusItem(), Q());
|
|
1772
1772
|
}), ie(
|
|
1773
1773
|
() => t.activeViewIndex,
|
|
1774
1774
|
(u) => {
|
|
@@ -1782,23 +1782,23 @@ const s1 = {
|
|
|
1782
1782
|
d.value = u >= 0 ? u : 0;
|
|
1783
1783
|
}
|
|
1784
1784
|
});
|
|
1785
|
-
const
|
|
1785
|
+
const Pe = (u) => [
|
|
1786
1786
|
...De(u) ? [
|
|
1787
1787
|
{
|
|
1788
|
-
text:
|
|
1788
|
+
text: V("saveChanges"),
|
|
1789
1789
|
handler: Fe,
|
|
1790
1790
|
icon: R1
|
|
1791
1791
|
},
|
|
1792
1792
|
{
|
|
1793
1793
|
addDivider: !0,
|
|
1794
|
-
text:
|
|
1794
|
+
text: V("restoreChanges"),
|
|
1795
1795
|
handler: Ke,
|
|
1796
1796
|
icon: $1
|
|
1797
1797
|
}
|
|
1798
1798
|
] : [],
|
|
1799
1799
|
...R.value[u]?.isFixed ? [] : [
|
|
1800
1800
|
{
|
|
1801
|
-
text:
|
|
1801
|
+
text: V("edit"),
|
|
1802
1802
|
handler: () => {
|
|
1803
1803
|
ne(g.value);
|
|
1804
1804
|
},
|
|
@@ -1807,17 +1807,17 @@ const s1 = {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
],
|
|
1809
1809
|
{
|
|
1810
|
-
text:
|
|
1810
|
+
text: V("setAsDefault"),
|
|
1811
1811
|
handler: () => {
|
|
1812
1812
|
const c = W({ isDefault: !0 }, g.value);
|
|
1813
1813
|
e("update:view", c), ye({
|
|
1814
|
-
text:
|
|
1814
|
+
text: V("setAsDefaultToast", { label: c.targetViewLabel })
|
|
1815
1815
|
}), ee();
|
|
1816
1816
|
},
|
|
1817
1817
|
icon: t1
|
|
1818
1818
|
},
|
|
1819
1819
|
{
|
|
1820
|
-
text:
|
|
1820
|
+
text: V("duplicate"),
|
|
1821
1821
|
handler: () => {
|
|
1822
1822
|
const c = ge(g.value);
|
|
1823
1823
|
e("duplicate:view", c), ee(), oe(c.newViews.length - 1);
|
|
@@ -1826,30 +1826,30 @@ const s1 = {
|
|
|
1826
1826
|
},
|
|
1827
1827
|
...R.value[u]?.isFixed ? [] : [
|
|
1828
1828
|
{
|
|
1829
|
-
text:
|
|
1829
|
+
text: V("delete"),
|
|
1830
1830
|
handler: () => {
|
|
1831
|
-
D.value = g.value,
|
|
1831
|
+
D.value = g.value, B.value = !0;
|
|
1832
1832
|
},
|
|
1833
1833
|
critical: !0,
|
|
1834
|
-
icon:
|
|
1834
|
+
icon: b1
|
|
1835
1835
|
}
|
|
1836
1836
|
]
|
|
1837
|
-
],
|
|
1837
|
+
], Ie = (u) => {
|
|
1838
1838
|
g.value = u;
|
|
1839
1839
|
}, ee = () => {
|
|
1840
1840
|
g.value = null, ne();
|
|
1841
1841
|
}, ne = (u) => {
|
|
1842
|
-
u ===
|
|
1842
|
+
u === I.value ? I.value = null : I.value = u ?? null;
|
|
1843
1843
|
}, Ue = (u) => {
|
|
1844
1844
|
const c = W(u);
|
|
1845
1845
|
e("add:view", c), ce(), oe(c.newViews.findIndex((H) => c.targetViewLabel === H.label)), ye({
|
|
1846
|
-
text:
|
|
1846
|
+
text: V("createViewToast", { label: c.targetViewLabel })
|
|
1847
1847
|
});
|
|
1848
1848
|
}, Ne = (u) => {
|
|
1849
|
-
e("update:view", W(u,
|
|
1849
|
+
e("update:view", W(u, I.value)), Oe();
|
|
1850
1850
|
}, xe = (u) => {
|
|
1851
1851
|
if (de(u.label, g.value), !Object.values(ae).some((c) => c.length > 0)) {
|
|
1852
|
-
if (
|
|
1852
|
+
if (I.value) {
|
|
1853
1853
|
Ne(u);
|
|
1854
1854
|
return;
|
|
1855
1855
|
}
|
|
@@ -1860,7 +1860,7 @@ const s1 = {
|
|
|
1860
1860
|
d.value !== null && e("restore:view", R.value[d.value].label), d.value = u;
|
|
1861
1861
|
return;
|
|
1862
1862
|
}
|
|
1863
|
-
y.value = u,
|
|
1863
|
+
y.value = u, Y.value = !0;
|
|
1864
1864
|
}, d1 = (u) => {
|
|
1865
1865
|
const c = d.value !== null ? R.value[d.value]?.label : null, H = ue(u);
|
|
1866
1866
|
if (c) {
|
|
@@ -1874,15 +1874,15 @@ const s1 = {
|
|
|
1874
1874
|
m.value[0].closeMenu(!1);
|
|
1875
1875
|
}, Fe = () => {
|
|
1876
1876
|
const u = R.value[d.value].label;
|
|
1877
|
-
e("save:view", u),
|
|
1878
|
-
text:
|
|
1877
|
+
e("save:view", u), Y.value ? (e("update:skip-unsaved-changes", $.value), d.value = y.value, y.value = null, Y.value = !1) : ee(), ye({
|
|
1878
|
+
text: V("saveChangesToast", { label: u }),
|
|
1879
1879
|
action: {
|
|
1880
1880
|
handler: () => e("restore:view", u),
|
|
1881
|
-
text:
|
|
1881
|
+
text: V("undo")
|
|
1882
1882
|
}
|
|
1883
1883
|
});
|
|
1884
1884
|
}, Ke = () => {
|
|
1885
|
-
e("restore:view", R.value[d.value].label),
|
|
1885
|
+
e("restore:view", R.value[d.value].label), Y.value ? (e("update:skip-unsaved-changes", $.value), d.value = y.value, y.value = null, Y.value = !1) : ee();
|
|
1886
1886
|
}, Ge = (u) => d.value === u, De = (u) => Ge(u) && t.hasChanges;
|
|
1887
1887
|
return (u, c) => (a(), r("div", {
|
|
1888
1888
|
ref_key: "hostRef",
|
|
@@ -1893,7 +1893,7 @@ const s1 = {
|
|
|
1893
1893
|
class: se(["b-header-with-views__container", u1.value])
|
|
1894
1894
|
}, [
|
|
1895
1895
|
l("div", X5, [
|
|
1896
|
-
|
|
1896
|
+
T(s(le), {
|
|
1897
1897
|
el: "h2",
|
|
1898
1898
|
variant: "title"
|
|
1899
1899
|
}, {
|
|
@@ -1902,12 +1902,12 @@ const s1 = {
|
|
|
1902
1902
|
]),
|
|
1903
1903
|
_: 1
|
|
1904
1904
|
}),
|
|
1905
|
-
u.infoIconTooltipText || s(
|
|
1905
|
+
u.infoIconTooltipText || s(Z)("infoIconTooltipContent") ? (a(), N(s(M1), {
|
|
1906
1906
|
key: 0,
|
|
1907
1907
|
"popover-text": u.infoIconTooltipText,
|
|
1908
1908
|
class: "b-header-with-views__title-icon"
|
|
1909
1909
|
}, Ce({ _: 2 }, [
|
|
1910
|
-
s(
|
|
1910
|
+
s(Z)("infoIconTooltipContent") ? {
|
|
1911
1911
|
name: "default",
|
|
1912
1912
|
fn: M(() => [
|
|
1913
1913
|
qe(u.$slots, "infoIconTooltipContent", {}, void 0, !0)
|
|
@@ -1918,9 +1918,9 @@ const s1 = {
|
|
|
1918
1918
|
]),
|
|
1919
1919
|
l("fieldset", {
|
|
1920
1920
|
ref_key: "viewsRef",
|
|
1921
|
-
ref:
|
|
1921
|
+
ref: P,
|
|
1922
1922
|
class: "b-header-with-views__bar",
|
|
1923
|
-
"aria-label": s(
|
|
1923
|
+
"aria-label": s(V)("viewListLabel")
|
|
1924
1924
|
}, [
|
|
1925
1925
|
(a(!0), r(fe, null, he(s(R), (H, U) => (a(), r("div", {
|
|
1926
1926
|
key: U,
|
|
@@ -1929,7 +1929,7 @@ const s1 = {
|
|
|
1929
1929
|
ref: x,
|
|
1930
1930
|
class: se(["b-header-with-views__bar-tab", Ge(U) ? "b-header-with-views__bar-tab--active" : null])
|
|
1931
1931
|
}, [
|
|
1932
|
-
|
|
1932
|
+
T(s(pe), {
|
|
1933
1933
|
class: "b-header-with-views__bar-tab-button",
|
|
1934
1934
|
variant: "tertiary-with-background",
|
|
1935
1935
|
"aria-current": d.value === U ? "true" : "false",
|
|
@@ -1948,7 +1948,7 @@ const s1 = {
|
|
|
1948
1948
|
], 2)
|
|
1949
1949
|
]),
|
|
1950
1950
|
default: M(() => [
|
|
1951
|
-
|
|
1951
|
+
T(s(le), {
|
|
1952
1952
|
el: "span",
|
|
1953
1953
|
variant: "body",
|
|
1954
1954
|
stronger: "",
|
|
@@ -1966,8 +1966,8 @@ const s1 = {
|
|
|
1966
1966
|
name: "iconRight",
|
|
1967
1967
|
fn: M(() => [
|
|
1968
1968
|
l("span", W5, [
|
|
1969
|
-
|
|
1970
|
-
"svg-title": s(
|
|
1969
|
+
T(s(L1), {
|
|
1970
|
+
"svg-title": s(V)("withUnsavedChanges")
|
|
1971
1971
|
}, null, 8, ["svg-title"])
|
|
1972
1972
|
])
|
|
1973
1973
|
]),
|
|
@@ -1980,18 +1980,18 @@ const s1 = {
|
|
|
1980
1980
|
ref_key: "editViewMenuRefs",
|
|
1981
1981
|
ref: m,
|
|
1982
1982
|
class: "b-header-with-views__bar-tab-menu",
|
|
1983
|
-
button: { variant: "tertiary", "aria-label": s(
|
|
1984
|
-
data:
|
|
1983
|
+
button: { variant: "tertiary", "aria-label": s(V)("openViewOptions", { label: H.label }) },
|
|
1984
|
+
data: Pe(U),
|
|
1985
1985
|
"close-on-click-outside-options": {
|
|
1986
1986
|
ignore: [`#${s(j)}`]
|
|
1987
1987
|
},
|
|
1988
1988
|
"menu-fixed-positioning": !0,
|
|
1989
|
-
onOpen: (te) =>
|
|
1989
|
+
onOpen: (te) => Ie(U),
|
|
1990
1990
|
onClose: c[0] || (c[0] = (te) => ee()),
|
|
1991
1991
|
onKeydownCapture: G(v1, ["tab", "native"])
|
|
1992
1992
|
}, {
|
|
1993
1993
|
iconLeft: M(() => [
|
|
1994
|
-
|
|
1994
|
+
T(s(i1), { "aria-hidden": !0 })
|
|
1995
1995
|
]),
|
|
1996
1996
|
_: 2
|
|
1997
1997
|
}, 1032, ["button", "data", "close-on-click-outside-options", "onOpen"])) : v("", !0)
|
|
@@ -2001,21 +2001,21 @@ const s1 = {
|
|
|
2001
2001
|
ref: F,
|
|
2002
2002
|
class: "b-header-with-views__bar-control"
|
|
2003
2003
|
}, [
|
|
2004
|
-
s(R).length ? (a(), N(s(
|
|
2004
|
+
s(R).length ? (a(), N(s(P5), {
|
|
2005
2005
|
key: 0,
|
|
2006
2006
|
ref_key: "viewControlAllViewsRef",
|
|
2007
2007
|
ref: J,
|
|
2008
2008
|
"menu-items": s(R),
|
|
2009
|
-
"menu-items-actions":
|
|
2009
|
+
"menu-items-actions": Pe(g.value),
|
|
2010
2010
|
"menu-close-on-click-outside-options": { ignore: [`#${s(j)}`] },
|
|
2011
2011
|
"onClose:viewMenu": c[1] || (c[1] = (H) => ee()),
|
|
2012
2012
|
"onClose:allViews": c[2] || (c[2] = (H) => q.value = !1),
|
|
2013
2013
|
"onOpen:allViews": c[3] || (c[3] = (H) => q.value = !0),
|
|
2014
|
-
"onOpen:viewMenu": c[4] || (c[4] = (H) =>
|
|
2014
|
+
"onOpen:viewMenu": c[4] || (c[4] = (H) => Ie(H)),
|
|
2015
2015
|
"onReorder:view": c[5] || (c[5] = (H) => d1(H)),
|
|
2016
2016
|
"onSelect:view": c[6] || (c[6] = (H) => oe(H))
|
|
2017
2017
|
}, null, 8, ["menu-items", "menu-items-actions", "menu-close-on-click-outside-options"])) : v("", !0),
|
|
2018
|
-
|
|
2018
|
+
T(s(Ae), {
|
|
2019
2019
|
ref_key: "createViewButtonRef",
|
|
2020
2020
|
ref: f,
|
|
2021
2021
|
"aria-expanded": E.value,
|
|
@@ -2025,8 +2025,8 @@ const s1 = {
|
|
|
2025
2025
|
onClick: c[7] || (c[7] = (H) => E.value = !E.value)
|
|
2026
2026
|
}, Ce({
|
|
2027
2027
|
iconLeft: M(() => [
|
|
2028
|
-
|
|
2029
|
-
"svg-title": s(
|
|
2028
|
+
T(s(U1), {
|
|
2029
|
+
"svg-title": s(V)("createView"),
|
|
2030
2030
|
"aria-hidden": s(R).length === 0
|
|
2031
2031
|
}, null, 8, ["svg-title", "aria-hidden"])
|
|
2032
2032
|
]),
|
|
@@ -2035,7 +2035,7 @@ const s1 = {
|
|
|
2035
2035
|
s(R).length === 0 ? {
|
|
2036
2036
|
name: "default",
|
|
2037
2037
|
fn: M(() => [
|
|
2038
|
-
X(p(s(
|
|
2038
|
+
X(p(s(V)("createView")), 1)
|
|
2039
2039
|
]),
|
|
2040
2040
|
key: "0"
|
|
2041
2041
|
} : void 0
|
|
@@ -2049,7 +2049,7 @@ const s1 = {
|
|
|
2049
2049
|
"last-updated": u.lastUpdated,
|
|
2050
2050
|
"reload-button": u.reloadButton
|
|
2051
2051
|
}, Ce({ _: 2 }, [
|
|
2052
|
-
s(
|
|
2052
|
+
s(Z)("description") ? {
|
|
2053
2053
|
name: "description",
|
|
2054
2054
|
fn: M(() => [
|
|
2055
2055
|
qe(u.$slots, "description", {}, void 0, !0)
|
|
@@ -2060,7 +2060,7 @@ const s1 = {
|
|
|
2060
2060
|
u.actions ? (a(), N(_1, {
|
|
2061
2061
|
key: 1,
|
|
2062
2062
|
actions: u.actions,
|
|
2063
|
-
"actions-layout":
|
|
2063
|
+
"actions-layout": ze.value ? "buttons-start" : "buttons-end",
|
|
2064
2064
|
"displayed-actions": 2,
|
|
2065
2065
|
"disable-responsive-behavior": !0,
|
|
2066
2066
|
"hide-displayed-actions-breakpoint": n,
|
|
@@ -2071,11 +2071,11 @@ const s1 = {
|
|
|
2071
2071
|
key: 0,
|
|
2072
2072
|
id: s(A),
|
|
2073
2073
|
ref_key: "createViewPopoverRef",
|
|
2074
|
-
ref:
|
|
2074
|
+
ref: b,
|
|
2075
2075
|
dismissible: !0,
|
|
2076
2076
|
"fixed-positioning": !0,
|
|
2077
2077
|
"target-element": f.value,
|
|
2078
|
-
title: s(
|
|
2078
|
+
title: s(V)("createView"),
|
|
2079
2079
|
open: E.value,
|
|
2080
2080
|
"overflow-visible": !0,
|
|
2081
2081
|
position: "bottom-start",
|
|
@@ -2083,7 +2083,7 @@ const s1 = {
|
|
|
2083
2083
|
onKeydownCapture: G(ve(ce, ["stop", "prevent"]), ["esc", "native"])
|
|
2084
2084
|
}, {
|
|
2085
2085
|
default: M(() => [
|
|
2086
|
-
|
|
2086
|
+
T(s(je), {
|
|
2087
2087
|
context: "create",
|
|
2088
2088
|
errors: s(ae),
|
|
2089
2089
|
"additional-form-item": u.additionalViewSetting,
|
|
@@ -2097,31 +2097,31 @@ const s1 = {
|
|
|
2097
2097
|
]),
|
|
2098
2098
|
_: 1
|
|
2099
2099
|
}, 8, ["id", "target-element", "title", "open", "onKeydownCapture"])) : v("", !0),
|
|
2100
|
-
g.value !== null &&
|
|
2100
|
+
g.value !== null && S.value ? (a(), N(s(_e), {
|
|
2101
2101
|
key: 1,
|
|
2102
2102
|
id: s(j),
|
|
2103
2103
|
ref_key: "editViewPopoverRef",
|
|
2104
|
-
ref:
|
|
2104
|
+
ref: k,
|
|
2105
2105
|
"disable-focus-trap": !1,
|
|
2106
2106
|
dismissible: !0,
|
|
2107
2107
|
"fixed-positioning": !0,
|
|
2108
|
-
"target-element":
|
|
2109
|
-
title: s(
|
|
2110
|
-
open:
|
|
2108
|
+
"target-element": S.value,
|
|
2109
|
+
title: s(V)("editDetails"),
|
|
2110
|
+
open: I.value !== null,
|
|
2111
2111
|
"overflow-visible": !0,
|
|
2112
2112
|
position: "right-start",
|
|
2113
2113
|
onDismiss: c[12] || (c[12] = (H) => ne()),
|
|
2114
2114
|
onKeydownCapture: c[13] || (c[13] = G(ve((H) => ne(), ["stop", "prevent"]), ["esc", "native"]))
|
|
2115
2115
|
}, {
|
|
2116
2116
|
default: M(() => [
|
|
2117
|
-
s(R)[
|
|
2117
|
+
s(R)[I.value] ? (a(), N(s(je), {
|
|
2118
2118
|
key: 0,
|
|
2119
2119
|
context: "edit",
|
|
2120
|
-
"additional-form-item": s(R)[
|
|
2120
|
+
"additional-form-item": s(R)[I.value].additionalViewSetting,
|
|
2121
2121
|
errors: s(ae),
|
|
2122
|
-
icon: s(R)[
|
|
2123
|
-
"icon-color": s(R)[
|
|
2124
|
-
label: s(R)[
|
|
2122
|
+
icon: s(R)[I.value].icon,
|
|
2123
|
+
"icon-color": s(R)[I.value].iconColor,
|
|
2124
|
+
label: s(R)[I.value].label,
|
|
2125
2125
|
"disable-customization": u.disableCustomization,
|
|
2126
2126
|
"onBlur:label": c[10] || (c[10] = (H) => s(de)(H, g.value)),
|
|
2127
2127
|
"onInput:label": c[11] || (c[11] = (H) => s(de)(H, g.value)),
|
|
@@ -2132,22 +2132,22 @@ const s1 = {
|
|
|
2132
2132
|
]),
|
|
2133
2133
|
_: 1
|
|
2134
2134
|
}, 8, ["id", "target-element", "title", "open"])) : v("", !0),
|
|
2135
|
-
|
|
2135
|
+
T(Ye, {
|
|
2136
2136
|
actions: n1.value,
|
|
2137
2137
|
"is-dismissible": !1,
|
|
2138
|
-
"is-open":
|
|
2139
|
-
onCloseModal: c[15] || (c[15] = (H) =>
|
|
2138
|
+
"is-open": Y.value,
|
|
2139
|
+
onCloseModal: c[15] || (c[15] = (H) => Y.value = !1)
|
|
2140
2140
|
}, {
|
|
2141
2141
|
default: M(() => [
|
|
2142
|
-
X(p(s(
|
|
2142
|
+
X(p(s(V)("leaveView")), 1)
|
|
2143
2143
|
]),
|
|
2144
2144
|
content: M(() => [
|
|
2145
2145
|
l("div", ei, [
|
|
2146
|
-
|
|
2146
|
+
T(s(le), null, {
|
|
2147
2147
|
default: M(() => [
|
|
2148
|
-
(a(), N(re(s(C)), h(s(
|
|
2148
|
+
(a(), N(re(s(C)), h(s(Be)("leaveViewDescription"), { tag: "span" }), {
|
|
2149
2149
|
label: M(() => [
|
|
2150
|
-
|
|
2150
|
+
T(s(le), {
|
|
2151
2151
|
strongest: "",
|
|
2152
2152
|
el: "span"
|
|
2153
2153
|
}, {
|
|
@@ -2176,24 +2176,24 @@ const s1 = {
|
|
|
2176
2176
|
]),
|
|
2177
2177
|
_: 1
|
|
2178
2178
|
}, 8, ["actions", "is-open"]),
|
|
2179
|
-
|
|
2179
|
+
T(Ye, {
|
|
2180
2180
|
actions: o1.value,
|
|
2181
|
-
"is-open":
|
|
2181
|
+
"is-open": B.value,
|
|
2182
2182
|
"is-dismissible": !1,
|
|
2183
2183
|
"destructive-actions": "",
|
|
2184
2184
|
onClickCapture: c1,
|
|
2185
|
-
onCloseModal: c[16] || (c[16] = (H) =>
|
|
2185
|
+
onCloseModal: c[16] || (c[16] = (H) => B.value = !1)
|
|
2186
2186
|
}, {
|
|
2187
2187
|
default: M(() => [
|
|
2188
|
-
X(p(s(
|
|
2188
|
+
X(p(s(V)("deleteView")), 1)
|
|
2189
2189
|
]),
|
|
2190
2190
|
content: M(() => [
|
|
2191
2191
|
l("div", ti, [
|
|
2192
|
-
|
|
2192
|
+
T(s(le), null, {
|
|
2193
2193
|
default: M(() => [
|
|
2194
|
-
(a(), N(re(s(C)), h(s(
|
|
2194
|
+
(a(), N(re(s(C)), h(s(Be)("deleteViewDescription"), { tag: "span" }), {
|
|
2195
2195
|
label: M(() => [
|
|
2196
|
-
|
|
2196
|
+
T(s(le), {
|
|
2197
2197
|
strongest: "",
|
|
2198
2198
|
el: "span"
|
|
2199
2199
|
}, {
|
|
@@ -2214,8 +2214,8 @@ const s1 = {
|
|
|
2214
2214
|
}, 8, ["actions", "is-open"])
|
|
2215
2215
|
], 512));
|
|
2216
2216
|
}
|
|
2217
|
-
}),
|
|
2217
|
+
}), Si = /* @__PURE__ */ Te(li, [["__scopeId", "data-v-07845e6e"]]);
|
|
2218
2218
|
export {
|
|
2219
|
-
|
|
2219
|
+
Si as h
|
|
2220
2220
|
};
|
|
2221
|
-
//# sourceMappingURL=header-with-views.
|
|
2221
|
+
//# sourceMappingURL=header-with-views.Bux_-bM4.js.map
|