@wssto2/vue-core 0.1.0 → 0.3.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/README.md +53 -9
- package/dist/AccessGate.vue_vue_type_script_setup_true_lang-DKX3PH2n.js +22 -0
- package/dist/AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js +76 -0
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-B7Lpfkf6.js +45 -0
- package/dist/Activity-DviO0VQ8.js +156 -0
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CKghARkW.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js} +48 -47
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-BZb4qKXo.js → AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js} +2 -2
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-B82bl36A.js → AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js} +4 -4
- package/dist/Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js +51 -0
- package/dist/{Banner.vue_vue_type_script_setup_true_lang-n_wGPIIu.js → Banner.vue_vue_type_script_setup_true_lang-Cib_YYpr.js} +1 -1
- package/dist/{BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js → BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js} +1 -1
- package/dist/Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js +182 -0
- package/dist/Changes-DlT5mN9G.js +129 -0
- package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-CXILftEc.js +1481 -0
- package/dist/CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js +299 -0
- package/dist/DataTable.vue_vue_type_script_setup_true_lang-DSYgS9lC.js +52 -0
- package/dist/DateField.vue_vue_type_script_setup_true_lang-DMVjNsaM.js +1099 -0
- package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-Bx5O1RZJ.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-Cb3xJI1x.js} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js → EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js} +1 -1
- package/dist/FormErrors.vue_vue_type_script_setup_true_lang-DVgNBQ8p.js +276 -0
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-0mfG8TkU.js +136 -0
- package/dist/FormView.vue_vue_type_script_setup_true_lang-Bz2m3AtF.js +38 -0
- package/dist/General-BD-Hcz0a.js +145 -0
- package/dist/{Icon.vue_vue_type_script_lang-DtC4_mkz.js → Icon.vue_vue_type_script_lang-VvcV2Bzo.js} +46 -33
- package/dist/{IconTile.vue_vue_type_script_setup_true_lang-Csfv6Sel.js → IconTile.vue_vue_type_script_setup_true_lang-D7QgnUyN.js} +1 -1
- package/dist/KeyValue.vue_vue_type_script_setup_true_lang-wcZcvnow.js +35 -0
- package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-DH6EB8br.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js} +2 -2
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-D44EHXQZ.js → Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js} +61 -57
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-DYQgaUtj.js → Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js} +139 -129
- package/dist/NewRolePage-Dla4YnMs.js +42 -0
- package/dist/NoAccess.vue_vue_type_script_setup_true_lang-8m9cNptR.js +31 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-CYRg7Kfg.js +113 -0
- package/dist/OtpInput.vue_vue_type_script_setup_true_lang-gp4FfWAH.js +95 -0
- package/dist/PageBar.vue_vue_type_script_setup_true_lang-Cfr5xsJx.js +47 -0
- package/dist/{Panel.vue_vue_type_script_setup_true_lang-BQmv3cLb.js → Panel.vue_vue_type_script_setup_true_lang-BCRxRK4D.js} +1 -1
- package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-DDVQXJRB.js → PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js} +2 -2
- package/dist/Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js +125 -0
- package/dist/ProfilePage-OJMQ8cr8.js +691 -0
- package/dist/{ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.js → ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js} +2 -2
- package/dist/RecordHeader.vue_vue_type_script_setup_true_lang-DKsaKlAq.js +64 -0
- package/dist/ResourcePage.vue_vue_type_script_setup_true_lang-CJcKa9SW.js +173 -0
- package/dist/RoleEditor.vue_vue_type_script_setup_true_lang-DuEPOmjI.js +299 -0
- package/dist/RolePage-bZzv_E4l.js +315 -0
- package/dist/RolesPage-BniZv0nB.js +115 -0
- package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +23 -0
- package/dist/SectionList.vue_vue_type_script_setup_true_lang-BKP_bge8.js +148 -0
- package/dist/SectionNavigator.vue_vue_type_script_setup_true_lang-BgGEGxSI.js +314 -0
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BZ9UdgA1.js +58 -0
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-BiGaEKBQ.js +422 -0
- package/dist/SessionList.vue_vue_type_script_setup_true_lang-DUQpr7gb.js +111 -0
- package/dist/Sessions-Co5-xdeb.js +96 -0
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js +142 -0
- package/dist/SignIn-BWwFbxki.js +140 -0
- package/dist/SignInPage-FnLtoi2q.js +60 -0
- package/dist/SignInTable.vue_vue_type_script_setup_true_lang-Dnx3T_42.js +79 -0
- package/dist/SignIns-3UcI64_h.js +66 -0
- package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-4I8m27ol.js +93 -0
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-BeGaydRr.js +155 -0
- package/dist/TextField.vue_vue_type_script_setup_true_lang-C_FMf3Vc.js +269 -0
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CU3KTKIJ.js +127 -0
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-CSY_mMm1.js → Timestamp.vue_vue_type_script_setup_true_lang-1RJGKxbD.js} +1 -1
- package/dist/{Tooltip.vue_vue_type_script_setup_true_lang-BJWPVyfT.js → Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.js} +1 -1
- package/dist/UserRecord-Ci8HfwbX.js +267 -0
- package/dist/UsersList-vEJ-cgkT.js +155 -0
- package/dist/ViewTabs.vue_vue_type_script_setup_true_lang-ByqTU2JT.js +28 -0
- package/dist/access/AddRoleDialog.vue.d.ts +19 -0
- package/dist/access/BindingRow.vue.d.ts +19 -0
- package/dist/access/EffectiveAccess.vue.d.ts +12 -0
- package/dist/access/NewRolePage.vue.d.ts +2 -0
- package/dist/access/PermissionTree.vue.d.ts +13 -0
- package/dist/access/PersonAccess.vue.d.ts +21 -0
- package/dist/access/ReplaceRoleDialog.vue.d.ts +17 -0
- package/dist/access/RoleCompareDialog.vue.d.ts +14 -0
- package/dist/access/RoleEditor.vue.d.ts +28 -0
- package/dist/access/RolePage.vue.d.ts +2 -0
- package/dist/access/RolesPage.vue.d.ts +2 -0
- package/dist/access/api.d.ts +26 -0
- package/dist/access/catalogue.d.ts +64 -0
- package/dist/access/context.d.ts +20 -0
- package/dist/access/effective.d.ts +42 -0
- package/dist/access/feature.d.ts +27 -0
- package/dist/access/index.d.ts +13 -0
- package/dist/access/index.js +15 -0
- package/dist/access/labels.d.ts +35 -0
- package/dist/access/refusals.d.ts +6 -0
- package/dist/access/routes.d.ts +45 -0
- package/dist/access/scopes.d.ts +20 -0
- package/dist/app/application.d.ts +5 -0
- package/dist/app/contributions.d.ts +1 -1
- package/dist/app/environment.d.ts +2 -0
- package/dist/app/feature.d.ts +8 -0
- package/dist/app/index.js +260 -294
- package/dist/bottomDock-BZEiOPYZ.js +12 -0
- package/dist/button/Button.vue.d.ts +3 -3
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.js +5 -3
- package/dist/button/shortcut.d.ts +28 -2
- package/dist/chrome-BS3xJcad.js +93 -0
- package/dist/client/client.d.ts +13 -0
- package/dist/client/index.d.ts +3 -1
- package/dist/client/index.js +19 -138
- package/dist/client/route.d.ts +59 -0
- package/dist/client-Bw0aM5Gu.js +147 -0
- package/dist/closeOverlays-CjVsIrpL.js +8 -0
- package/dist/collection/CollectionPage.vue.d.ts +1 -0
- package/dist/collection/CollectionRows.vue.d.ts +59 -0
- package/dist/collection/CollectionTable.vue.d.ts +1 -1
- package/dist/collection/DataTable.vue.d.ts +47 -0
- package/dist/collection/RowActions.vue.d.ts +19 -0
- package/dist/collection/columns.d.ts +2 -0
- package/dist/collection/http.d.ts +4 -2
- package/dist/collection/index.d.ts +4 -2
- package/dist/collection/index.js +87 -2299
- package/dist/collection/rowLayout.d.ts +10 -0
- package/dist/collection/slots.d.ts +6 -3
- package/dist/content/index.js +37 -66
- package/dist/contributions-CDDg3fKp.js +26 -0
- package/dist/controls/DateButton.vue.d.ts +1 -1
- package/dist/controls/PopupButton.vue.d.ts +1 -1
- package/dist/controls/index.js +11 -10
- package/dist/defineRoutes-BGAdiIrt.js +19 -0
- package/dist/describeError-Ctga6GcS.js +41 -0
- package/dist/dialogStack-DZZg55w0.js +31 -0
- package/dist/environment-Dva-SG8D.js +6 -0
- package/dist/{error-Bb_dr_Ay.js → error-CD7x0Jrz.js} +2 -2
- package/dist/feature-DdUAfyi4.js +25 -0
- package/dist/fieldMessages-C3Rpbktw.js +25 -0
- package/dist/form/CheckboxField.vue.d.ts +1 -1
- package/dist/form/CommandDialog.vue.d.ts +13 -2
- package/dist/form/DateField.vue.d.ts +1 -1
- package/dist/form/DateTimeField.vue.d.ts +1 -1
- package/dist/form/EditorPage.vue.d.ts +1 -1
- package/dist/form/Field.vue.d.ts +1 -1
- package/dist/form/FileField.vue.d.ts +1 -1
- package/dist/form/FormGroup.vue.d.ts +1 -1
- package/dist/form/FormGroupButton.vue.d.ts +1 -1
- package/dist/form/FormRow.vue.d.ts +1 -1
- package/dist/form/I18nField.vue.d.ts +3 -3
- package/dist/form/MoneyField.vue.d.ts +1 -1
- package/dist/form/MonthYearField.vue.d.ts +1 -1
- package/dist/form/MultiSelectField.vue.d.ts +4 -1
- package/dist/form/NumberCell.vue.d.ts +1 -1
- package/dist/form/NumberField.vue.d.ts +8 -2
- package/dist/form/OptionList.vue.d.ts +6 -2
- package/dist/form/OtpInput.vue.d.ts +2 -2
- package/dist/form/PhotoField.vue.d.ts +1 -1
- package/dist/form/SelectField.vue.d.ts +4 -1
- package/dist/form/SwitchField.vue.d.ts +1 -1
- package/dist/form/TextField.vue.d.ts +3 -3
- package/dist/form/TextareaField.vue.d.ts +3 -3
- package/dist/form/TimeField.vue.d.ts +1 -1
- package/dist/form/date/DatePickerSheet.vue.d.ts +1 -1
- package/dist/form/date/MonthYearPanel.vue.d.ts +1 -1
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +1273 -3509
- package/dist/form/suggestions.d.ts +11 -0
- package/dist/form/useOptions.d.ts +60 -0
- package/dist/guards-Cd1V28oG.js +51 -0
- package/dist/http-DGGSKWvU.js +193 -0
- package/dist/i18n/describeError.d.ts +31 -0
- package/dist/i18n/index.d.ts +307 -0
- package/dist/i18n/index.js +54 -52
- package/dist/icon/core.d.ts +13 -0
- package/dist/icon/index.js +1 -1
- package/dist/identity/ImpersonationBanner.vue.d.ts +2 -0
- package/dist/identity/LocaleSync.vue.d.ts +2 -0
- package/dist/identity/SessionExpiry.vue.d.ts +2 -0
- package/dist/identity/SignInAsButton.vue.d.ts +15 -0
- package/dist/identity/SignInPage.vue.d.ts +2 -0
- package/dist/identity/context.d.ts +7 -0
- package/dist/identity/feature.d.ts +16 -0
- package/dist/identity/fieldMessages.d.ts +15 -0
- package/dist/identity/index.d.ts +16 -0
- package/dist/identity/index.js +18 -0
- package/dist/identity/profile/DetailsPanel.vue.d.ts +11 -0
- package/dist/identity/profile/EmailChangeDialog.vue.d.ts +14 -0
- package/dist/identity/profile/EmailPanel.vue.d.ts +11 -0
- package/dist/identity/profile/PanelActions.vue.d.ts +17 -0
- package/dist/identity/profile/PasswordPanel.vue.d.ts +2 -0
- package/dist/identity/profile/ProfileMenuItem.vue.d.ts +2 -0
- package/dist/identity/profile/ProfilePage.vue.d.ts +2 -0
- package/dist/identity/profile/SessionsPanel.vue.d.ts +2 -0
- package/dist/identity/profile/SignInsPanel.vue.d.ts +2 -0
- package/dist/identity/profile/VerifyCode.vue.d.ts +49 -0
- package/dist/identity/profile/routes.d.ts +13 -0
- package/dist/identity/session.d.ts +30 -0
- package/dist/identity/shared/ActionRow.vue.d.ts +20 -0
- package/dist/identity/shared/ChangeFeed.vue.d.ts +11 -0
- package/dist/identity/shared/PageBar.vue.d.ts +12 -0
- package/dist/identity/shared/SectionIntro.vue.d.ts +16 -0
- package/dist/identity/shared/SessionList.vue.d.ts +19 -0
- package/dist/{phone/CountryFlag.vue.d.ts → identity/shared/SignInTable.vue.d.ts} +5 -4
- package/dist/identity/shared/ViewTabs.vue.d.ts +23 -0
- package/dist/identity/shared/signInEvents.d.ts +9 -0
- package/dist/identity/signIn.d.ts +27 -0
- package/dist/identity/useSignInForm.d.ts +20 -0
- package/dist/identity/user.d.ts +6 -0
- package/dist/identity/users/DeactivateDialog.vue.d.ts +18 -0
- package/dist/identity/users/NewUserDialog.vue.d.ts +9 -0
- package/dist/identity/users/SetPasswordDialog.vue.d.ts +16 -0
- package/dist/identity/users/UserRecord.vue.d.ts +2 -0
- package/dist/identity/users/UsersList.vue.d.ts +2 -0
- package/dist/identity/users/access.d.ts +4 -0
- package/dist/identity/users/context.d.ts +9 -0
- package/dist/identity/users/feature.d.ts +34 -0
- package/dist/identity/users/languages.d.ts +4 -0
- package/dist/identity/users/list.d.ts +8 -0
- package/dist/identity/users/person.d.ts +26 -0
- package/dist/identity/users/personSections.d.ts +22 -0
- package/dist/identity/users/routes.d.ts +22 -0
- package/dist/identity/users/sections/Activity.vue.d.ts +2 -0
- package/dist/identity/users/sections/Changes.vue.d.ts +2 -0
- package/dist/identity/users/sections/General.vue.d.ts +2 -0
- package/dist/identity/users/sections/Sessions.vue.d.ts +2 -0
- package/dist/identity/users/sections/SignIn.vue.d.ts +2 -0
- package/dist/identity/users/sections/SignIns.vue.d.ts +2 -0
- package/dist/identity/users/status.d.ts +4 -0
- package/dist/index-B2dbYZR9.js +706 -0
- package/dist/index-BAcl44SC.js +459 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/CountryFlag.vue.d.ts +10 -0
- package/dist/internal/languageName.d.ts +2 -0
- package/dist/keepAlive-WYQGRhuz.js +48 -0
- package/dist/languageName-CItV_SOv.js +11 -0
- package/dist/languages-BShG9LpE.js +10 -0
- package/dist/leaveGuard-Cc8yeLxM.js +72 -0
- package/dist/modal/Modal.vue.d.ts +4 -0
- package/dist/modal/ShortcutHelp.vue.d.ts +2 -0
- package/dist/modal/index.d.ts +2 -0
- package/dist/modal/index.js +64 -6
- package/dist/modal/placement.d.ts +22 -0
- package/dist/modules/access/entities.d.ts +112 -0
- package/dist/modules/access/routes.d.ts +67 -0
- package/dist/modules/access/schemas.d.ts +73 -0
- package/dist/modules/identity/entities.d.ts +150 -0
- package/dist/modules/identity/routes.d.ts +118 -0
- package/dist/modules/identity/schemas.d.ts +145 -0
- package/dist/{navigation-B33ikiCS.js → navigation-BPWa63ge.js} +21 -20
- package/dist/neighbors-D0WRBxXI.js +86 -0
- package/dist/{options-CjSz2dQK.js → options-BXkMR63B.js} +48 -49
- package/dist/overlay/AlertDialog.vue.d.ts +3 -3
- package/dist/overlay/Popover.vue.d.ts +4 -1
- package/dist/overlay/closeOverlays.d.ts +7 -0
- package/dist/overlay/dialogStack.d.ts +9 -0
- package/dist/overlay/index.d.ts +1 -1
- package/dist/overlay/index.js +20 -18
- package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
- package/dist/page/ResourceHeader.vue.d.ts +2 -2
- package/dist/page/index.js +99 -457
- package/dist/phone/PhoneField.vue.d.ts +2 -2
- package/dist/phone/index.js +247 -540
- package/dist/platform/AccessGate.vue.d.ts +50 -0
- package/dist/platform/index.d.ts +4 -2
- package/dist/platform/index.js +38 -35
- package/dist/platform/platform.d.ts +2 -2
- package/dist/platform/session.d.ts +22 -1
- package/dist/platform-hunMqFdB.js +255 -0
- package/dist/resource/index.js +8 -248
- package/dist/routeResource-DstM0hvf.js +82 -0
- package/dist/router/guards.d.ts +7 -1
- package/dist/router/index.js +23 -37
- package/dist/router/navigation.d.ts +1 -1
- package/dist/rowLayout-BI7a3Kom.js +603 -0
- package/dist/sectionIndex-BS0ic5W7.js +86 -0
- package/dist/{sections-LtxV5Mtk.js → sections-BEqW1dOc.js} +1 -1
- package/dist/shell/AccountMenuItem.vue.d.ts +4 -1
- package/dist/shell/BackofficeShell.vue.d.ts +2 -2
- package/dist/shell/ShellBrand.vue.d.ts +1 -1
- package/dist/shell/backofficeShell.d.ts +1 -1
- package/dist/shell/identity.d.ts +1 -1
- package/dist/shell/index.js +476 -532
- package/dist/state/Badge.vue.d.ts +17 -10
- package/dist/state/ProgressTrack.vue.d.ts +1 -1
- package/dist/state/hue.d.ts +8 -0
- package/dist/state/index.d.ts +2 -0
- package/dist/state/index.js +34 -31
- package/dist/state/useLoad.d.ts +41 -0
- package/dist/status-C9aXR-Jb.js +33 -0
- package/dist/styles.css +1 -1
- package/dist/suggestions-BJAqOj4c.js +138 -0
- package/dist/testing/app.d.ts +61 -0
- package/dist/testing/async.d.ts +12 -0
- package/dist/testing/collection.d.ts +18 -0
- package/dist/testing/format.d.ts +9 -0
- package/dist/testing/i18n.d.ts +16 -0
- package/dist/testing/index.d.ts +14 -0
- package/dist/testing/index.js +178 -0
- package/dist/testing/media.d.ts +23 -0
- package/dist/testing/platform.d.ts +40 -0
- package/dist/testing/transport.d.ts +40 -0
- package/dist/toast-D9Z5To38.js +13 -0
- package/dist/useCommand-BgRwnYlV.js +135 -0
- package/dist/{useDialog-wmyNx2j_.js → useDialog-CXR3hN0G.js} +1 -1
- package/dist/useLoad-CYRVx6HW.js +39 -0
- package/dist/useResourceForm-Bgc9jMcu.js +52 -0
- package/dist/useSaveChrome-chi6D3HY.js +25 -0
- package/dist/useSheetDrag-OsD6Eb6I.js +72 -0
- package/package.json +26 -5
- package/src/styles/theme.css +60 -0
- package/dist/Badge.vue_vue_type_script_setup_true_lang-DKc6ugmr.js +0 -31
- package/dist/Button.vue_vue_type_script_setup_true_lang-3f0emVNU.js +0 -141
- package/dist/NoAccess.vue_vue_type_script_setup_true_lang-OKW8pKYU.js +0 -78
- package/dist/SectionList.vue_vue_type_script_setup_true_lang-DGcKX_OJ.js +0 -230
- package/dist/SelectField.vue_vue_type_script_setup_true_lang-SyFWE33A.js +0 -422
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-BLBD5ps8.js +0 -210
- package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-CGTuEnTv.js +0 -243
- package/dist/chrome-D9pwD6iS.js +0 -101
- package/dist/dialogStack-DiTG1rZc.js +0 -26
- package/dist/environment-D3nozt9a.js +0 -75
- package/dist/feature-DyDtyMLU.js +0 -47
- package/dist/platform-jqlKVJ2e.js +0 -244
- package/dist/toast-BTeX0r66.js +0 -129
- /package/dist/{phone → internal}/flagLoaders.d.ts +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { defineComponent as G, useModel as I, useTemplateRef as R, computed as _, ref as w, watch as F, openBlock as y, createBlock as S, mergeProps as W, unref as B, withCtx as $, createElementVNode as D, normalizeClass as A, createElementBlock as q, toDisplayString as N, createCommentVNode as M, mergeModels as E, mergeDefaults as O } from "vue";
|
|
2
|
+
import { b as P } from "./controlSurface-t7OEFESJ.js";
|
|
3
|
+
import { u as z } from "./format-B8mJm946.js";
|
|
4
|
+
import { a as T, g as j, _ as H, f as J, b as K } from "./options-BXkMR63B.js";
|
|
5
|
+
function L(n) {
|
|
6
|
+
const r = n.number(1234.5, { minimumFractionDigits: 1, maximumFractionDigits: 1, useGrouping: !0 }), e = /^\d(\D)\d/.exec(r)?.[1] ?? "";
|
|
7
|
+
return { decimal: r.charAt(r.length - 2) || ".", group: e === "." || e === "," ? e : "" };
|
|
8
|
+
}
|
|
9
|
+
function Q(n, r) {
|
|
10
|
+
const e = n.trim().startsWith("-"), t = n.replace(/[^\d.,]/g, "");
|
|
11
|
+
if (t === "") return e ? void 0 : null;
|
|
12
|
+
const c = [...t].filter((a) => a === "." || a === ",");
|
|
13
|
+
let d = t, p = "";
|
|
14
|
+
if (r.decimals > 0 && c.length > 0) {
|
|
15
|
+
const a = Math.max(t.lastIndexOf("."), t.lastIndexOf(",")), m = t.charAt(a), f = t.slice(a + 1), s = t.includes(".") && t.includes(","), l = c.filter((k) => k === m).length > 1, h = !s && m === r.group && f.length === 3;
|
|
16
|
+
(s || !l && !h) && (d = t.slice(0, a), p = f);
|
|
17
|
+
}
|
|
18
|
+
const g = (a) => a.replace(/\D/g, ""), v = +`${g(d) || "0"}.${g(p) || "0"}`;
|
|
19
|
+
if (!Number.isFinite(v)) return;
|
|
20
|
+
const u = Number(v.toFixed(r.decimals));
|
|
21
|
+
return e ? -u || 0 : u;
|
|
22
|
+
}
|
|
23
|
+
const U = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "shrink-0 text-footnote text-content-muted"
|
|
26
|
+
}, X = ["id", "value", "name", "placeholder", "disabled", "required", "aria-required", "aria-invalid", "aria-describedby"], Y = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "shrink-0 text-footnote text-content-muted"
|
|
29
|
+
}, ie = /* @__PURE__ */ G({
|
|
30
|
+
__name: "NumberField",
|
|
31
|
+
props: /* @__PURE__ */ E(/* @__PURE__ */ O({
|
|
32
|
+
label: {},
|
|
33
|
+
hint: {},
|
|
34
|
+
error: {},
|
|
35
|
+
required: { type: Boolean },
|
|
36
|
+
editable: { type: Boolean },
|
|
37
|
+
disabled: { type: Boolean },
|
|
38
|
+
lockedReason: {},
|
|
39
|
+
presentation: {},
|
|
40
|
+
name: {},
|
|
41
|
+
decimals: {},
|
|
42
|
+
negative: { type: Boolean },
|
|
43
|
+
grouping: { type: Boolean },
|
|
44
|
+
placeholder: {},
|
|
45
|
+
prefix: {},
|
|
46
|
+
suffix: {},
|
|
47
|
+
width: {}
|
|
48
|
+
}, { ...K, decimals: 0, negative: !1, grouping: !0, placeholder: void 0, prefix: void 0, suffix: void 0, width: "sm" }), {
|
|
49
|
+
modelValue: { default: null },
|
|
50
|
+
modelModifiers: {}
|
|
51
|
+
}),
|
|
52
|
+
emits: ["update:modelValue"],
|
|
53
|
+
setup(n, { expose: r }) {
|
|
54
|
+
const e = n, t = I(n, "modelValue"), c = z(), d = R("input"), p = !!T(), g = j("text", () => e.error ? "error" : e.disabled ? "locked" : "rest"), v = _(() => p ? P(e.width) : "w-full"), u = _(() => L(c)), a = (i) => i === null ? "" : c.number(i, { minimumFractionDigits: e.decimals, maximumFractionDigits: e.decimals, useGrouping: e.grouping }), m = (i) => i === null ? "" : String(i).replace(".", u.value.decimal), f = (i) => Q(i, { decimals: e.decimals, group: e.grouping ? u.value.group : "" }), s = w(!1), l = w(a(t.value));
|
|
55
|
+
F(t, (i) => {
|
|
56
|
+
s.value ? f(l.value) !== i && (l.value = m(i)) : l.value = a(i);
|
|
57
|
+
}), F(() => [e.decimals, e.grouping, u.value.decimal], () => {
|
|
58
|
+
s.value || (l.value = a(t.value));
|
|
59
|
+
});
|
|
60
|
+
function h(i) {
|
|
61
|
+
const x = i.target;
|
|
62
|
+
let o = x.value.replace(/[^\d.,\-\s]/g, "");
|
|
63
|
+
e.negative ? o = o.replace(/(?!^)-/g, "") : o = o.replace(/-/g, ""), o !== x.value && (x.value = o), l.value = o;
|
|
64
|
+
const b = f(o);
|
|
65
|
+
b !== void 0 ? t.value = b : t.value = null;
|
|
66
|
+
}
|
|
67
|
+
function k() {
|
|
68
|
+
s.value = !0, l.value = m(t.value);
|
|
69
|
+
}
|
|
70
|
+
function C() {
|
|
71
|
+
s.value = !1, l.value = a(t.value);
|
|
72
|
+
}
|
|
73
|
+
return r({ focus: () => d.value?.focus() }), (i, x) => (y(), S(H, W(B(J)(e), {
|
|
74
|
+
value: t.value === null ? null : a(t.value),
|
|
75
|
+
prefix: e.prefix,
|
|
76
|
+
suffix: e.suffix,
|
|
77
|
+
"value-style": "numeric"
|
|
78
|
+
}), {
|
|
79
|
+
default: $(({ id: o, describedby: b, invalid: V }) => [
|
|
80
|
+
D("div", {
|
|
81
|
+
class: A(["flex items-center gap-1.5", [B(g), v.value]])
|
|
82
|
+
}, [
|
|
83
|
+
e.prefix ? (y(), q("span", U, N(e.prefix), 1)) : M("", !0),
|
|
84
|
+
D("input", {
|
|
85
|
+
id: o,
|
|
86
|
+
ref_key: "input",
|
|
87
|
+
ref: d,
|
|
88
|
+
value: l.value,
|
|
89
|
+
type: "text",
|
|
90
|
+
inputmode: "decimal",
|
|
91
|
+
autocomplete: "off",
|
|
92
|
+
name: e.name,
|
|
93
|
+
placeholder: e.placeholder,
|
|
94
|
+
disabled: e.disabled,
|
|
95
|
+
required: e.required,
|
|
96
|
+
"aria-required": e.required || void 0,
|
|
97
|
+
"aria-invalid": V || void 0,
|
|
98
|
+
"aria-describedby": b,
|
|
99
|
+
class: "block w-full min-w-0 border-0 bg-transparent px-0 py-1 text-right text-body tabular-nums text-content-strong placeholder:text-content-disabled focus:outline-none focus:ring-0 disabled:cursor-not-allowed",
|
|
100
|
+
onInput: h,
|
|
101
|
+
onFocus: k,
|
|
102
|
+
onBlur: C
|
|
103
|
+
}, null, 40, X),
|
|
104
|
+
e.suffix ? (y(), q("span", Y, N(e.suffix), 1)) : M("", !0)
|
|
105
|
+
], 2)
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}, 16, ["value", "prefix", "suffix"]));
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
ie as _
|
|
113
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent as S, useModel as F, useId as T, useTemplateRef as $, ref as c, computed as v, watch as h, nextTick as f, onMounted as A, openBlock as s, createElementBlock as u, normalizeClass as k, createElementVNode as E, unref as R, Fragment as B, renderList as _, createTextVNode as j, toDisplayString as q, createCommentVNode as K, mergeModels as V } from "vue";
|
|
2
|
+
import { useI18n as L } from "vue-i18n";
|
|
3
|
+
const O = ["id", "value", "name", "disabled", "aria-label", "aria-invalid", "aria-describedby"], P = {
|
|
4
|
+
key: 1,
|
|
5
|
+
class: "h-5 w-px animate-caret-blink bg-content-strong"
|
|
6
|
+
}, J = /* @__PURE__ */ S({
|
|
7
|
+
__name: "OtpInput",
|
|
8
|
+
props: /* @__PURE__ */ V({
|
|
9
|
+
length: { default: 6 },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
invalid: { type: Boolean, default: !1 },
|
|
12
|
+
autofocus: { type: Boolean, default: !1 },
|
|
13
|
+
name: { default: void 0 },
|
|
14
|
+
label: { default: void 0 },
|
|
15
|
+
describedBy: { default: void 0 }
|
|
16
|
+
}, {
|
|
17
|
+
modelValue: { default: "" },
|
|
18
|
+
modelModifiers: {}
|
|
19
|
+
}),
|
|
20
|
+
emits: /* @__PURE__ */ V(["complete"], ["update:modelValue"]),
|
|
21
|
+
setup(p, { expose: w, emit: z }) {
|
|
22
|
+
const a = p, m = F(p, "modelValue"), C = z, { t: D } = L(), I = T(), n = $("input"), r = c(!1), g = c(0), d = c(!1), b = (l) => l.replace(/\D/g, "").slice(0, a.length), o = v(() => b(m.value)), x = v(() => Math.min(g.value, a.length - 1)), M = v(() => a.label ?? D("core.form.otp.label", { length: a.length }));
|
|
23
|
+
function i() {
|
|
24
|
+
g.value = n.value?.selectionStart ?? o.value.length;
|
|
25
|
+
}
|
|
26
|
+
function y(l) {
|
|
27
|
+
const e = b(l);
|
|
28
|
+
n.value && n.value.value !== e && (n.value.value = e);
|
|
29
|
+
const t = e !== o.value;
|
|
30
|
+
m.value = e, f(i), t && e.length === a.length && C("complete", e);
|
|
31
|
+
}
|
|
32
|
+
function N(l) {
|
|
33
|
+
const e = l.clipboardData?.getData("text") ?? "";
|
|
34
|
+
e && (l.preventDefault(), y(e), f(() => {
|
|
35
|
+
const t = o.value.length;
|
|
36
|
+
n.value?.setSelectionRange(t, t), i();
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
return h(
|
|
40
|
+
() => a.invalid,
|
|
41
|
+
(l) => {
|
|
42
|
+
l && (d.value = !1, requestAnimationFrame(() => d.value = !0));
|
|
43
|
+
}
|
|
44
|
+
), h(o, (l) => {
|
|
45
|
+
n.value && n.value.value !== l && (n.value.value = l, f(i));
|
|
46
|
+
}), A(() => {
|
|
47
|
+
a.autofocus && n.value?.focus();
|
|
48
|
+
}), w({ focus: () => n.value?.focus() }), (l, e) => (s(), u("div", {
|
|
49
|
+
class: k(["relative inline-flex gap-2 sm:gap-3", { "motion-safe:animate-shake": d.value }]),
|
|
50
|
+
"data-test": "otp-input",
|
|
51
|
+
onAnimationend: e[3] || (e[3] = (t) => d.value = !1)
|
|
52
|
+
}, [
|
|
53
|
+
E("input", {
|
|
54
|
+
id: R(I),
|
|
55
|
+
ref_key: "input",
|
|
56
|
+
ref: n,
|
|
57
|
+
value: o.value,
|
|
58
|
+
name: a.name,
|
|
59
|
+
type: "text",
|
|
60
|
+
inputmode: "numeric",
|
|
61
|
+
autocomplete: "one-time-code",
|
|
62
|
+
pattern: "\\d*",
|
|
63
|
+
spellcheck: "false",
|
|
64
|
+
disabled: a.disabled,
|
|
65
|
+
"aria-label": M.value,
|
|
66
|
+
"aria-invalid": a.invalid || void 0,
|
|
67
|
+
"aria-describedby": a.describedBy,
|
|
68
|
+
"data-test": "otp-input-field",
|
|
69
|
+
class: "absolute inset-0 z-10 h-full w-full cursor-text border-0 bg-transparent p-0 text-base text-transparent caret-transparent outline-none selection:bg-transparent disabled:cursor-not-allowed",
|
|
70
|
+
onInput: e[0] || (e[0] = (t) => y(t.target.value)),
|
|
71
|
+
onPaste: N,
|
|
72
|
+
onFocus: e[1] || (e[1] = (t) => {
|
|
73
|
+
r.value = !0, i();
|
|
74
|
+
}),
|
|
75
|
+
onBlur: e[2] || (e[2] = (t) => r.value = !1),
|
|
76
|
+
onKeyup: i,
|
|
77
|
+
onClick: i,
|
|
78
|
+
onSelect: i
|
|
79
|
+
}, null, 40, O),
|
|
80
|
+
(s(!0), u(B, null, _(a.length, (t) => (s(), u("div", {
|
|
81
|
+
key: t,
|
|
82
|
+
"aria-hidden": "true",
|
|
83
|
+
"data-test": "otp-input-cell",
|
|
84
|
+
class: k(["flex size-11 items-center justify-center rounded-control bg-fill text-lg font-medium tabular-nums text-content-strong transition-[box-shadow] sm:size-13 sm:text-xl", [a.invalid ? "bg-status-danger-surface ring-[1.5px] ring-inset ring-border-destructive" : r.value && x.value === t - 1 ? "bg-surface-cell ring-[1.5px] ring-inset ring-border-focus outline-3 outline-border-focus/20" : "", a.disabled ? "opacity-45" : ""]])
|
|
85
|
+
}, [
|
|
86
|
+
o.value[t - 1] ? (s(), u(B, { key: 0 }, [
|
|
87
|
+
j(q(o.value[t - 1]), 1)
|
|
88
|
+
], 64)) : r.value && x.value === t - 1 ? (s(), u("span", P)) : K("", !0)
|
|
89
|
+
], 2))), 128))
|
|
90
|
+
], 34));
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
export {
|
|
94
|
+
J as _
|
|
95
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as u, openBlock as f, createElementBlock as _, createElementVNode as p, toDisplayString as o, unref as t, createVNode as l, withCtx as r, createTextVNode as i, createCommentVNode as x } from "vue";
|
|
2
|
+
import { useI18n as b } from "vue-i18n";
|
|
3
|
+
import { _ as c } from "./Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js";
|
|
4
|
+
const k = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "flex items-center justify-between gap-3 px-row-inset text-footnote text-content-muted",
|
|
7
|
+
"data-page-bar": ""
|
|
8
|
+
}, C = { class: "flex gap-2" }, w = /* @__PURE__ */ u({
|
|
9
|
+
__name: "PageBar",
|
|
10
|
+
props: {
|
|
11
|
+
page: {},
|
|
12
|
+
lastPage: {},
|
|
13
|
+
total: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:page"],
|
|
16
|
+
setup(d, { emit: g }) {
|
|
17
|
+
const e = d, n = g, { t: s } = b();
|
|
18
|
+
return (P, a) => e.lastPage > 1 ? (f(), _("div", k, [
|
|
19
|
+
p("span", null, o(t(s)("core.collection.page.page_of", { current: e.page, total: e.lastPage })) + " · " + o(e.total), 1),
|
|
20
|
+
p("span", C, [
|
|
21
|
+
l(t(c), {
|
|
22
|
+
size: "sm",
|
|
23
|
+
disabled: e.page <= 1,
|
|
24
|
+
onClick: a[0] || (a[0] = (m) => n("update:page", e.page - 1))
|
|
25
|
+
}, {
|
|
26
|
+
default: r(() => [
|
|
27
|
+
i(o(t(s)("core.collection.page.previous")), 1)
|
|
28
|
+
]),
|
|
29
|
+
_: 1
|
|
30
|
+
}, 8, ["disabled"]),
|
|
31
|
+
l(t(c), {
|
|
32
|
+
size: "sm",
|
|
33
|
+
disabled: e.page >= e.lastPage,
|
|
34
|
+
onClick: a[1] || (a[1] = (m) => n("update:page", e.page + 1))
|
|
35
|
+
}, {
|
|
36
|
+
default: r(() => [
|
|
37
|
+
i(o(t(s)("core.collection.page.next")), 1)
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 8, ["disabled"])
|
|
41
|
+
])
|
|
42
|
+
])) : x("", !0);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
w as _
|
|
47
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as D, useModel as L, useSlots as N, useId as V, computed as y, openBlock as t, createElementBlock as l, normalizeClass as a, createBlock as i, resolveDynamicComponent as p, withCtx as f, toDisplayString as r, createCommentVNode as s, createElementVNode as $, renderSlot as b, unref as c, createTextVNode as M, createVNode as z, withDirectives as E, vShow as I, mergeModels as T } from "vue";
|
|
2
|
-
import { _ as g } from "./Icon.vue_vue_type_script_lang-
|
|
2
|
+
import { _ as g } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
|
|
3
3
|
const j = ["data-presentation"], P = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex min-w-0 items-center gap-3 px-0.5"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Ae, useModel as Re, ref as _, useTemplateRef as se, watch as Q, computed as g, onBeforeUnmount as Ne, nextTick as ye, onMounted as Xe, openBlock as m, createBlock as Ve, Teleport as Ye, createElementBlock as f, createVNode as T, Transition as Ze, withCtx as Ee, unref as u, createElementVNode as h, toDisplayString as ee, createCommentVNode as k, renderSlot as Ke, normalizeClass as M, withModifiers as re, normalizeStyle as te, Fragment as We, renderList as je, mergeModels as be } from "vue";
|
|
2
2
|
import { useI18n as Ue } from "vue-i18n";
|
|
3
|
-
import { _ as S } from "./Icon.vue_vue_type_script_lang-
|
|
4
|
-
import { u as Fe } from "./useDialog-
|
|
3
|
+
import { _ as S } from "./Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
|
|
4
|
+
import { u as Fe } from "./useDialog-CXR3hN0G.js";
|
|
5
5
|
const _e = [1, 1.5, 2, 3, 4, 5], ke = 1, ue = 5, He = (a) => Math.min(ue, Math.max(ke, a)), Me = (a, l) => l % 2 === 0 ? a : { width: a.height, height: a.width };
|
|
6
6
|
function qe(a, l, s) {
|
|
7
7
|
const i = Me(a, s);
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { defineComponent as F, useId as M, ref as l, watch as W, nextTick as T, onUnmounted as U, computed as j, openBlock as c, createElementBlock as f, normalizeClass as d, createElementVNode as G, renderSlot as C, createVNode as H, Transition as K, withCtx as Y, normalizeStyle as L, unref as t, createCommentVNode as O } from "vue";
|
|
2
|
+
import { f as B } from "./useDialog-CXR3hN0G.js";
|
|
3
|
+
import { u as q, a as u } from "./anchored-Cj4--8dT.js";
|
|
4
|
+
import { C as S } from "./closeOverlays-CjVsIrpL.js";
|
|
5
|
+
const J = ["aria-label"], N = 12, Q = 640, oe = /* @__PURE__ */ F({
|
|
6
|
+
__name: "Popover",
|
|
7
|
+
props: {
|
|
8
|
+
label: {},
|
|
9
|
+
placement: { default: "bottom" },
|
|
10
|
+
width: { default: "lg" },
|
|
11
|
+
arrow: { type: Boolean, default: !0 },
|
|
12
|
+
matchTriggerWidth: { type: Boolean, default: !1 },
|
|
13
|
+
block: { type: Boolean, default: !1 },
|
|
14
|
+
autofocus: { type: Boolean, default: !0 }
|
|
15
|
+
},
|
|
16
|
+
emits: ["presented", "dismissed"],
|
|
17
|
+
setup(P, { expose: R, emit: V }) {
|
|
18
|
+
const n = P, p = V, $ = { sm: "w-56", md: "w-72", lg: "w-80", auto: "w-max" }, m = `popover-${M()}`, o = l(!1), a = l(null), i = l(null), v = l(null), { style: I, arrowStyle: z, resolvedPlacement: s } = q(i, {
|
|
19
|
+
reference: () => a.value?.firstElementChild ?? a.value,
|
|
20
|
+
placement: () => n.placement,
|
|
21
|
+
offset: 10,
|
|
22
|
+
padding: N,
|
|
23
|
+
arrow: v,
|
|
24
|
+
fit: (e, k) => {
|
|
25
|
+
const _ = a.value?.firstElementChild ?? a.value;
|
|
26
|
+
Object.assign(e.style, window.innerWidth < Q ? { width: `${window.innerWidth - N * 2}px`, maxWidth: "", minWidth: "" } : { width: "", maxWidth: `${Math.max(0, k.width)}px`, minWidth: n.matchTriggerWidth && _ ? `${Math.round(_.getBoundingClientRect().width)}px` : "" });
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
function w() {
|
|
30
|
+
o.value || (o.value = !0, p("presented"));
|
|
31
|
+
}
|
|
32
|
+
function r(e = !1) {
|
|
33
|
+
o.value && (o.value = !1, p("dismissed"), e && T(() => B(a.value)[0]?.focus()));
|
|
34
|
+
}
|
|
35
|
+
function h() {
|
|
36
|
+
o.value ? r() : w();
|
|
37
|
+
}
|
|
38
|
+
function g(e) {
|
|
39
|
+
e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), r(!0));
|
|
40
|
+
}
|
|
41
|
+
function y(e) {
|
|
42
|
+
return e instanceof Node && (!!i.value?.contains(e) || !!a.value?.contains(e));
|
|
43
|
+
}
|
|
44
|
+
function x(e) {
|
|
45
|
+
y(e.target) || r();
|
|
46
|
+
}
|
|
47
|
+
function A(e) {
|
|
48
|
+
e.relatedTarget && !y(e.relatedTarget) && r();
|
|
49
|
+
}
|
|
50
|
+
W(i, (e) => {
|
|
51
|
+
e && n.autofocus && T(() => (B(e)[0] ?? e).focus({ preventScroll: !0 }));
|
|
52
|
+
});
|
|
53
|
+
function E() {
|
|
54
|
+
r();
|
|
55
|
+
}
|
|
56
|
+
function b() {
|
|
57
|
+
window.removeEventListener("keydown", g, !0), document.removeEventListener("pointerdown", x, !0), document.removeEventListener(S, E);
|
|
58
|
+
}
|
|
59
|
+
W(o, (e) => {
|
|
60
|
+
e ? (window.addEventListener("keydown", g, !0), document.addEventListener("pointerdown", x, !0), document.addEventListener(S, E)) : b();
|
|
61
|
+
}), U(b);
|
|
62
|
+
const D = j(() => ({
|
|
63
|
+
"aria-expanded": o.value,
|
|
64
|
+
"aria-haspopup": "dialog",
|
|
65
|
+
"aria-controls": m
|
|
66
|
+
}));
|
|
67
|
+
return R({ present: w, dismiss: () => r(), toggle: h }), (e, k) => (c(), f("span", {
|
|
68
|
+
class: d(n.block ? "flex w-full" : "inline-flex"),
|
|
69
|
+
onFocusout: A
|
|
70
|
+
}, [
|
|
71
|
+
G("span", {
|
|
72
|
+
ref_key: "anchor",
|
|
73
|
+
ref: a,
|
|
74
|
+
class: d(n.block ? "flex w-full" : "inline-flex")
|
|
75
|
+
}, [
|
|
76
|
+
C(e.$slots, "trigger", {
|
|
77
|
+
presented: o.value,
|
|
78
|
+
toggle: h,
|
|
79
|
+
attrs: D.value
|
|
80
|
+
})
|
|
81
|
+
], 2),
|
|
82
|
+
H(K, {
|
|
83
|
+
"enter-active-class": "transition-opacity duration-motion-fast ease-motion-standard",
|
|
84
|
+
"enter-from-class": "opacity-0",
|
|
85
|
+
"leave-active-class": "pointer-events-none transition-opacity duration-motion-fast ease-motion-standard",
|
|
86
|
+
"leave-to-class": "opacity-0"
|
|
87
|
+
}, {
|
|
88
|
+
default: Y(() => [
|
|
89
|
+
o.value ? (c(), f("div", {
|
|
90
|
+
key: 0,
|
|
91
|
+
id: m,
|
|
92
|
+
ref_key: "panel",
|
|
93
|
+
ref: i,
|
|
94
|
+
role: "dialog",
|
|
95
|
+
"aria-label": n.label,
|
|
96
|
+
tabindex: "-1",
|
|
97
|
+
class: d(["z-1000 rounded-menu bg-surface-overlay p-3 text-content-strong shadow-float outline-none", $[n.width]]),
|
|
98
|
+
style: L(t(I))
|
|
99
|
+
}, [
|
|
100
|
+
C(e.$slots, "default", {
|
|
101
|
+
dismiss: () => r(!0)
|
|
102
|
+
}),
|
|
103
|
+
n.arrow ? (c(), f("span", {
|
|
104
|
+
key: 0,
|
|
105
|
+
ref_key: "arrowEl",
|
|
106
|
+
ref: v,
|
|
107
|
+
"aria-hidden": "true",
|
|
108
|
+
class: d(["absolute size-2.5 rotate-45 bg-surface-overlay", {
|
|
109
|
+
"-bottom-[5px]": t(u)(t(s)) === "bottom",
|
|
110
|
+
"-top-[5px]": t(u)(t(s)) === "top",
|
|
111
|
+
"-left-[5px]": t(u)(t(s)) === "left",
|
|
112
|
+
"-right-[5px]": t(u)(t(s)) === "right"
|
|
113
|
+
}]),
|
|
114
|
+
style: L(t(z))
|
|
115
|
+
}, null, 6)) : O("", !0)
|
|
116
|
+
], 14, J)) : O("", !0)
|
|
117
|
+
]),
|
|
118
|
+
_: 3
|
|
119
|
+
})
|
|
120
|
+
], 34));
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
export {
|
|
124
|
+
oe as _
|
|
125
|
+
};
|