@wssto2/vue-core 0.19.0 → 0.21.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/CHANGELOG.md +31 -0
- package/README.md +5 -1
- package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-Bg8JFAOT.js → AccessGate.vue_vue_type_script_setup_true_lang-Dw_pnsh9.js} +1 -1
- package/dist/{AccountMenuItem.vue_vue_type_script_setup_true_lang-BIYgaihv.js → AccountMenuItem.vue_vue_type_script_setup_true_lang-C2TmmH38.js} +1 -1
- package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-B5IMNnTf.js → ActionRow.vue_vue_type_script_setup_true_lang-BEV0drwF.js} +2 -2
- package/dist/{Activity-CiYn5E6A.js → Activity-CZzAt3SH.js} +9 -9
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-oXWQTfBs.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-BkZzuICH.js} +6 -6
- package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-WuGvAOrj.js → AlertDialog.vue_vue_type_script_setup_true_lang-B0UvzCoE.js} +1 -1
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CX8mpXRE.js → AsyncSection.vue_vue_type_script_setup_true_lang-DuPS_zMX.js} +4 -4
- package/dist/{Banner.vue_vue_type_script_setup_true_lang-sv0phngk.js → Banner.vue_vue_type_script_setup_true_lang-BXZVOhfH.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-JrqhO99l.js → Button.vue_vue_type_script_setup_true_lang-CZkTqGtE.js} +1 -1
- package/dist/{Changes-Cy8STpLX.js → Changes-B0bhSNU3.js} +5 -5
- package/dist/CharacteristicsPage-fGnahf62.js +4 -0
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-Dr6nFNBB.js → CollectionPage.vue_vue_type_script_setup_true_lang-Bf5WXVFZ.js} +12 -12
- package/dist/CollectionTree.vue_vue_type_script_setup_true_lang-DV0OhquO.js +345 -0
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-D372wlxR.js → DataTable.vue_vue_type_script_setup_true_lang-Cw_E8w48.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-D0KcfW8R.js → DateField.vue_vue_type_script_setup_true_lang-Cn8CNAwM.js} +4 -4
- package/dist/{DeadLetters-DhJkMpd_.js → DeadLetters--js7aeC6.js} +4 -4
- package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-92szOrYd.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-lnFUie1d.js} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-DbZiO2RF.js → EmptyState.vue_vue_type_script_setup_true_lang-DHmu-UG-.js} +1 -1
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-lvAuBG-0.js → FormGroup.vue_vue_type_script_setup_true_lang-BUhKKybf.js} +4 -4
- package/dist/{FormRow.vue_vue_type_script_setup_true_lang-CpgNVQF4.js → FormRow.vue_vue_type_script_setup_true_lang-B-uth5RB.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-D01Jr4UU.js → FormView.vue_vue_type_script_setup_true_lang-CoQZG-hB.js} +2 -2
- package/dist/{General-CwTPC5UP.js → General-BGT9H69S.js} +8 -8
- package/dist/{HeaderAction.vue_vue_type_script_setup_true_lang-Da59TLBh.js → HeaderAction.vue_vue_type_script_setup_true_lang-Uw0vwV-o.js} +2 -2
- package/dist/{Icon.vue_vue_type_script_lang-BhhsFYwp.js → Icon.vue_vue_type_script_lang-BIzh8LF1.js} +19 -13
- package/dist/{IconTile.vue_vue_type_script_setup_true_lang-BmxCuUZ9.js → IconTile.vue_vue_type_script_setup_true_lang-DRirnJvd.js} +1 -1
- package/dist/{IncidentRecord-hXEGuLGg.js → IncidentRecord-BETFfXbI.js} +17 -17
- package/dist/{IncidentsList-C41VyDwK.js → IncidentsList-BIr3a2To.js} +6 -6
- package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CrGrjrlO.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-DjXYh-p0.js} +1 -1
- package/dist/{Menu.vue_vue_type_script_setup_true_lang-Cqu4Ebsb.js → Menu.vue_vue_type_script_setup_true_lang-D2FsOVYA.js} +1 -1
- package/dist/{MenuButton.vue_vue_type_script_setup_true_lang-C-XRr5f2.js → MenuButton.vue_vue_type_script_setup_true_lang-BNzrYIzR.js} +1 -1
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-CZ7WrDwu.js → Modal.vue_vue_type_script_setup_true_lang-BRRMKXOV.js} +2 -2
- package/dist/{NewRolePage-BYYZJkK7.js → NewRolePage-B0Y5MrTu.js} +4 -4
- package/dist/{NoAccess.vue_vue_type_script_setup_true_lang-BHzZtZ50.js → NoAccess.vue_vue_type_script_setup_true_lang-CnfE_AEl.js} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-BhNZgEW6.js → NumberField.vue_vue_type_script_setup_true_lang-BDZ_0TH7.js} +2 -2
- package/dist/{Panel.vue_vue_type_script_setup_true_lang-D_Wg42hu.js → Panel.vue_vue_type_script_setup_true_lang-CwcJadT7.js} +1 -1
- package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-mYFuG-Y3.js → PersonAccess.vue_vue_type_script_setup_true_lang-CJMV9BDQ.js} +12 -12
- package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-DmMg1T_V.js → PhotoViewer.vue_vue_type_script_setup_true_lang-BL485L63.js} +1 -1
- package/dist/{ProfilePage-DGEsIycR.js → ProfilePage-CMy2Dkr2.js} +17 -17
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-B3BnYg1x.js → RecordHeader.vue_vue_type_script_setup_true_lang-D4PcZnbo.js} +2 -2
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-1iZtj3rh.js → ResourcePage.vue_vue_type_script_setup_true_lang-CpGwm2tv.js} +4 -4
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-BslSDDiM.js → RoleEditor.vue_vue_type_script_setup_true_lang-CMo8PrO7.js} +12 -12
- package/dist/{RolePage-C08ZUqw1.js → RolePage-DGFISfM1.js} +13 -13
- package/dist/{RolesPage-FOuY1VKg.js → RolesPage-Bq9EVB_3.js} +9 -9
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-CodyVezo.js → SectionList.vue_vue_type_script_setup_true_lang-BdJ11lZo.js} +3 -3
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-DCTFxfPB.js → SectionNavigator.vue_vue_type_script_setup_true_lang-CnzECivO.js} +6 -6
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-CLR6EvzO.js → SegmentedField.vue_vue_type_script_setup_true_lang-D3IZil4q.js} +2 -2
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-D5xYofdb.js → SelectField.vue_vue_type_script_setup_true_lang-DxCEwED6.js} +6 -6
- package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-CDr4WNIb.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-DtVXUOdP.js} +8 -8
- package/dist/{ServiceAccountRecord-kWwIQGZb.js → ServiceAccountRecord-Dc7Gn52W.js} +18 -18
- package/dist/{ServiceAccountsList-CKy9_YHP.js → ServiceAccountsList-DBUFeka-.js} +10 -10
- package/dist/{Sessions-BDc8gdYH.js → Sessions-BMmqYZrJ.js} +7 -7
- package/dist/{SettingsPage-t-8kmFVT.js → SettingsPage-4Dolsr0t.js} +18 -18
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-BVU5yzXe.js +163 -0
- package/dist/{SignIn-CqtkvtCZ.js → SignIn-uFn1ZWG8.js} +8 -8
- package/dist/{SignInPage-DcdNKZIb.js → SignInPage-DouCg9aD.js} +6 -6
- package/dist/{SignIns-D4-nGu0B.js → SignIns-CqN5UNmh.js} +5 -5
- package/dist/SortableList.vue_vue_type_script_setup_true_lang-D2-5Z_jO.js +112 -0
- package/dist/{StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js → StatusLine.vue_vue_type_script_setup_true_lang-DBkQueB0.js} +1 -1
- package/dist/{SwipeActions.vue_vue_type_script_setup_true_lang-D8SiC0G7.js → SwipeActions.vue_vue_type_script_setup_true_lang-DUjUWq3G.js} +1 -1
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-CLtcuofe.js → SwitchField.vue_vue_type_script_setup_true_lang-CTMjlNid.js} +2 -2
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-7CJto6Mp.js +169 -0
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-CVGh-p3J.js → TextField.vue_vue_type_script_setup_true_lang-B6Q65aQA.js} +4 -4
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-YxUlNHSk.js → TextareaField.vue_vue_type_script_setup_true_lang-Cj0LKDdo.js} +2 -2
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-DHNC_MLt.js → TimeField.vue_vue_type_script_setup_true_lang-TSnnjMn1.js} +4 -4
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-d_KuxWjH.js → Timestamp.vue_vue_type_script_setup_true_lang-0WL7PP0j.js} +1 -1
- package/dist/{UserRecord-CwZCr9Im.js → UserRecord-CH5oNRLg.js} +10 -10
- package/dist/{UsersList-Cn19sFgv.js → UsersList-BmxWpt9h.js} +3 -3
- package/dist/{ViewTabs.vue_vue_type_script_setup_true_lang-BjdDXE3T.js → ViewTabs.vue_vue_type_script_setup_true_lang-BKI5DGuS.js} +1 -1
- package/dist/access/index.js +7 -7
- package/dist/app/index.js +2 -2
- package/dist/{application-CDSweJb9.js → application-C5fZyCB9.js} +8 -8
- package/dist/{back-LcLlFodC.js → back-CeozxCgQ.js} +2 -2
- package/dist/button/index.js +1 -1
- package/dist/characteristics/CharacteristicsPage.vue.d.ts +2 -0
- package/dist/characteristics/DeleteDialog.vue.d.ts +22 -0
- package/dist/characteristics/ItemSheet.vue.d.ts +25 -0
- package/dist/characteristics/access.d.ts +3 -0
- package/dist/characteristics/api.d.ts +23 -0
- package/dist/characteristics/context.d.ts +12 -0
- package/dist/characteristics/feature.d.ts +27 -0
- package/dist/characteristics/index.d.ts +10 -0
- package/dist/characteristics/index.js +617 -0
- package/dist/characteristics/model.d.ts +34 -0
- package/dist/characteristics/routes.d.ts +13 -0
- package/dist/collection/CollectionTree.vue.d.ts +51 -0
- package/dist/collection/CollectionTreeBranch.vue.d.ts +12 -0
- package/dist/collection/FileExplorer.vue.d.ts +53 -0
- package/dist/collection/RowMore.vue.d.ts +11 -0
- package/dist/collection/explorer.d.ts +11 -0
- package/dist/collection/index.d.ts +5 -0
- package/dist/collection/index.js +431 -158
- package/dist/collection/tree.d.ts +64 -0
- package/dist/content/DiffView.vue.d.ts +22 -0
- package/dist/content/PreviewFrame.vue.d.ts +46 -0
- package/dist/content/diff.d.ts +27 -0
- package/dist/content/index.d.ts +4 -0
- package/dist/content/index.js +552 -218
- package/dist/content/previewFrame.d.ts +50 -0
- package/dist/{contributions-B0x5x5xD.js → contributions-BSmIRPg1.js} +1 -1
- package/dist/controls/SortableList.vue.d.ts +32 -0
- package/dist/controls/Tabs.vue.d.ts +2 -0
- package/dist/controls/index.d.ts +1 -0
- package/dist/controls/index.js +18 -16
- package/dist/form/CharacteristicField.vue.d.ts +36 -0
- package/dist/form/CodeEditor.vue.d.ts +61 -0
- package/dist/form/I18nField.vue.d.ts +1 -1
- package/dist/form/MarkerList.vue.d.ts +20 -0
- package/dist/form/TextareaField.vue.d.ts +1 -1
- package/dist/form/index.d.ts +3 -0
- package/dist/form/index.js +1769 -1805
- package/dist/{guards-CNJ0ATVC.js → guards-BP9x7CLF.js} +1 -1
- package/dist/i18n/index.js +46 -46
- package/dist/icon/core.d.ts +6 -0
- package/dist/icon/index.js +1 -1
- package/dist/identity/index.js +3 -3
- package/dist/identity/profile/EmailChangeDialog.vue.d.ts +2 -2
- package/dist/incidents/index.js +1 -1
- package/dist/{index-SLJWm40T.js → index-4wyfEeIw.js} +9 -9
- package/dist/{index-BA2w8uwD.js → index-C_ZVaTkR.js} +27 -27
- package/dist/{index-1HS7O2-e.js → index-OVbtHAtG.js} +10 -10
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/modal/Sheet.vue.d.ts +13 -0
- package/dist/modal/TabbedSheet.vue.d.ts +46 -0
- package/dist/modal/index.d.ts +1 -0
- package/dist/modal/index.js +123 -41
- package/dist/modules/characteristics/entities.d.ts +67 -0
- package/dist/modules/characteristics/routes.d.ts +55 -0
- package/dist/modules/characteristics/schemas.d.ts +50 -0
- package/dist/modules/identity/entities.d.ts +1 -0
- package/dist/navigation-C05vGEN8.js +55 -0
- package/dist/{neighbors-Dg_LU9ry.js → neighbors-BqfO6zf3.js} +2 -2
- package/dist/notifications/index.js +1 -1
- package/dist/onboarding/index.js +2 -2
- package/dist/{options-mOOX6JSS.js → options-DDCG86OV.js} +2 -2
- package/dist/overlay/index.js +4 -4
- package/dist/page/SectionNavigator.vue.d.ts +1 -1
- package/dist/page/SplitPane.vue.d.ts +54 -0
- package/dist/page/WorkbenchPage.vue.d.ts +72 -0
- package/dist/page/index.d.ts +2 -0
- package/dist/page/index.js +343 -104
- package/dist/phone/index.js +3 -3
- package/dist/platform/index.js +3 -3
- package/dist/platform/navigation.d.ts +10 -0
- package/dist/{platform-DU9QFts8.js → platform-YWfOO7b2.js} +94 -88
- package/dist/pwa/index.js +3 -3
- package/dist/resource/index.js +1 -1
- package/dist/{resources-BZLlAtoS.js → resources-DkI60fHL.js} +1 -1
- package/dist/router/index.js +4 -4
- package/dist/router/navigation.d.ts +2 -0
- package/dist/routes-DC8BWFz8.js +251 -0
- package/dist/{rowLayout-PIuD7MGo.js → rowLayout-zd3Yw6fO.js} +34 -33
- package/dist/{sectionIndex-BS0ic5W7.js → sectionIndex-CSr457Lb.js} +2 -2
- package/dist/{sections-BpiRLntE.js → sections-DXso1JSV.js} +2 -2
- package/dist/shell/NavigationList.vue.d.ts +1 -1
- package/dist/shell/index.js +522 -501
- package/dist/shell/navigationGroups.d.ts +4 -1
- package/dist/state/index.js +8 -8
- package/dist/{state-z1iPF1DT.js → state-DqCZdet7.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{suggestions-DeMgs_ki.js → suggestions-DZ3B5RVH.js} +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/{useCommand-DQKvro1n.js → useCommand-DerEnzIW.js} +4 -4
- package/dist/{useGroupSheet-CRw3MUmX.js → useGroupSheet-B9TCHIKH.js} +5 -5
- package/dist/{usePreferences-DB29UTFD.js → usePreferences-D38x73re.js} +1 -1
- package/dist/{useRecordDialog-0azHxxvm.js → useRecordDialog-DX97ivZD.js} +1 -1
- package/dist/{useResourceForm-zVuWerSn.js → useResourceForm-D8T1snBQ.js} +1 -1
- package/dist/{useTypedEntry-BsMV66Yc.js → useTypedEntry-CTkgM29Y.js} +2 -2
- package/package.json +6 -2
- package/dist/Sheet.vue_vue_type_script_setup_true_lang-BG8HUNfs.js +0 -145
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-tpkGp98F.js +0 -155
- package/dist/navigation-d-JAPBGA.js +0 -53
package/dist/testing/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { nextTick as A, createApp as E, defineComponent as m, h as u } from "vue";
|
|
2
2
|
import { createMemoryHistory as w, createRouter as $, RouterView as O } from "vue-router";
|
|
3
|
-
import { c as k } from "../application-
|
|
4
|
-
import { a as M, i as R } from "../platform-
|
|
3
|
+
import { c as k } from "../application-C5fZyCB9.js";
|
|
4
|
+
import { a as M, i as R } from "../platform-YWfOO7b2.js";
|
|
5
5
|
import { createI18n as S } from "vue-i18n";
|
|
6
6
|
import { coreMessages as x } from "../i18n/index.js";
|
|
7
7
|
import { i as L, c as C } from "../format-C_HXlOYQ.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { nextTick as f, defineComponent as N, useTemplateRef as v, ref as b, provide as q, computed as L, watch as D, onBeforeUnmount as z, openBlock as p, createElementBlock as S, Fragment as F, createVNode as $, unref as y, createSlots as V, withCtx as h, createElementVNode as A, toDisplayString as O, createCommentVNode as x, renderSlot as E, createBlock as I } from "vue";
|
|
2
2
|
import { useI18n as K } from "vue-i18n";
|
|
3
3
|
import { f as R } from "./useDialog-B4_MpX2v.js";
|
|
4
|
-
import { _ as U } from "./Modal.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as G } from "./AlertDialog.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as U } from "./Modal.vue_vue_type_script_setup_true_lang-BRRMKXOV.js";
|
|
5
|
+
import { _ as G } from "./AlertDialog.vue_vue_type_script_setup_true_lang-B0UvzCoE.js";
|
|
6
6
|
import { D as M } from "./shortcut-oixX55SZ.js";
|
|
7
|
-
import { c as P } from "./FormRow.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as W, u as Y } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { c as P } from "./FormRow.vue_vue_type_script_setup_true_lang-B-uth5RB.js";
|
|
8
|
+
import { _ as W, u as Y } from "./FormGroup.vue_vue_type_script_setup_true_lang-BUhKKybf.js";
|
|
9
9
|
import { a as j } from "./leaveGuard-Cc8yeLxM.js";
|
|
10
10
|
const c = "input:not([type=hidden]):not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex='-1'])";
|
|
11
11
|
async function H(t = document, r) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as L, useModel as X, useId as Y, useTemplateRef as O, ref as y, computed as w, watch as N, nextTick as $, onMounted as H, openBlock as b, createElementBlock as _, normalizeClass as T, createElementVNode as D, unref as k, Fragment as I, renderList as Z, createTextVNode as ee, toDisplayString as j, createCommentVNode as C, mergeModels as P, onBeforeUnmount as te, createBlock as V, withCtx as z, createVNode as ae, renderSlot as J, provide as A, toRef as se, shallowRef as le, toValue as K } from "vue";
|
|
2
2
|
import { useI18n as Q } from "vue-i18n";
|
|
3
|
-
import { _ as oe } from "./Modal.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as q } from "./Banner.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as oe } from "./Modal.vue_vue_type_script_setup_true_lang-BRRMKXOV.js";
|
|
4
|
+
import { _ as q } from "./Banner.vue_vue_type_script_setup_true_lang-BXZVOhfH.js";
|
|
5
5
|
import { D as ne } from "./shortcut-oixX55SZ.js";
|
|
6
|
-
import { _ as re, r as ie, s as U, c as B, f as ue } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { f as ce } from "./useCommand-
|
|
8
|
-
import { c as de } from "./FormRow.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as re, r as ie, s as U, c as B, f as ue } from "./FormGroup.vue_vue_type_script_setup_true_lang-BUhKKybf.js";
|
|
7
|
+
import { f as ce } from "./useCommand-DerEnzIW.js";
|
|
8
|
+
import { c as de } from "./FormRow.vue_vue_type_script_setup_true_lang-B-uth5RB.js";
|
|
9
9
|
import { t as fe } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { a as ve } from "./leaveGuard-Cc8yeLxM.js";
|
|
11
11
|
const me = ["id", "value", "name", "disabled", "aria-label", "aria-invalid", "aria-describedby"], pe = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useI18n as u } from "vue-i18n";
|
|
2
2
|
import { u as c } from "./describeError-B-NMa--w.js";
|
|
3
3
|
import { t as f } from "./toast-CqSDTWRX.js";
|
|
4
|
-
import { u as l } from "./platform-
|
|
4
|
+
import { u as l } from "./platform-YWfOO7b2.js";
|
|
5
5
|
import { i as r, p as d } from "./preferences-hYhrw8Uy.js";
|
|
6
6
|
import { a as i } from "./error-CD7x0Jrz.js";
|
|
7
7
|
const p = (e) => i(e) && e.kind === "unauthorized";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef as v, watch as m, computed as f } from "vue";
|
|
2
|
-
import { u as i, c as h } from "./FormGroup.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as i, c as h } from "./FormGroup.vue_vue_type_script_setup_true_lang-BUhKKybf.js";
|
|
3
3
|
function b(u) {
|
|
4
4
|
const t = i(u), r = v(null), s = v(!1);
|
|
5
5
|
let n = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, ref as I, watch as oe, computed as _, openBlock as f, createElementBlock as b, Fragment as A, createElementVNode as h, normalizeClass as $, unref as y, createVNode as N, createTextVNode as Pe, toDisplayString as M, renderList as j, useModel as de, useId as De, useTemplateRef as ce, createCommentVNode as G, createBlock as ie, mergeModels as me, nextTick as Te, onMounted as Ee, onBeforeUnmount as Fe, normalizeStyle as X, withCtx as he } from "vue";
|
|
2
2
|
import { useI18n as J } from "vue-i18n";
|
|
3
3
|
import { u as Ce } from "./format-C_HXlOYQ.js";
|
|
4
|
-
import { _ as je } from "./Sheet.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as F } from "./Icon.vue_vue_type_script_lang-
|
|
4
|
+
import { _ as je } from "./Sheet.vue_vue_type_script_setup_true_lang-BVU5yzXe.js";
|
|
5
|
+
import { _ as F } from "./Icon.vue_vue_type_script_lang-BIzh8LF1.js";
|
|
6
6
|
import { a as Oe } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
const We = /^(\d{4})-(\d{2})-(\d{2})$/, Me = 864e5, W = (e, t = 2) => String(e).padStart(t, "0"), Re = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], He = (e) => e % 4 === 0 && e % 100 !== 0 || e % 400 === 0, re = (e, t) => t === 2 && He(e) ? 29 : Re[t - 1] ?? 0;
|
|
8
8
|
function O(e, t, a) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wssto2/vue-core",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"goCore": "v1.
|
|
3
|
+
"version": "0.21.0",
|
|
4
|
+
"goCore": "v1.34.0-rc.1",
|
|
5
5
|
"description": "Shared Vue 3 library for go-core applications: app shell, list / record / form pages and their controls.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vue",
|
|
@@ -122,6 +122,10 @@
|
|
|
122
122
|
"types": "./dist/access/index.d.ts",
|
|
123
123
|
"import": "./dist/access/index.js"
|
|
124
124
|
},
|
|
125
|
+
"./characteristics": {
|
|
126
|
+
"types": "./dist/characteristics/index.d.ts",
|
|
127
|
+
"import": "./dist/characteristics/index.js"
|
|
128
|
+
},
|
|
125
129
|
"./onboarding": {
|
|
126
130
|
"types": "./dist/onboarding/index.d.ts",
|
|
127
131
|
"import": "./dist/onboarding/index.js"
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { defineComponent as j, ref as b, useId as A, watch as N, openBlock as o, createBlock as V, Teleport as M, createElementBlock as n, unref as e, createVNode as v, Transition as k, withCtx as _, normalizeStyle as w, createCommentVNode as r, normalizeClass as S, createElementVNode as i, mergeProps as C, renderSlot as u, toDisplayString as P } from "vue";
|
|
2
|
-
import { useI18n as T } from "vue-i18n";
|
|
3
|
-
import { _ as W } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
4
|
-
import { a as F } from "./mediaQuery-CygcXmFW.js";
|
|
5
|
-
import { u as L } from "./useDialog-B4_MpX2v.js";
|
|
6
|
-
import { u as O } from "./useSheetDrag-OsD6Eb6I.js";
|
|
7
|
-
const Q = ["aria-labelledby"], q = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "flex justify-center pt-1.5",
|
|
10
|
-
"aria-hidden": "true"
|
|
11
|
-
}, G = ["id"], H = { class: "ml-auto flex items-center gap-1" }, J = ["aria-label"], K = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "shrink-0 border-t border-border-separator bg-surface-cell px-4 pt-3 pb-[max(0.75rem,var(--app-safe-bottom))]"
|
|
14
|
-
}, te = /* @__PURE__ */ j({
|
|
15
|
-
__name: "Sheet",
|
|
16
|
-
props: {
|
|
17
|
-
title: { default: void 0 },
|
|
18
|
-
grouped: { type: Boolean, default: !1 }
|
|
19
|
-
},
|
|
20
|
-
emits: ["presented", "dismissed"],
|
|
21
|
-
setup($, { expose: z, emit: B }) {
|
|
22
|
-
const l = $, y = B, { t: D } = T(), t = F("(max-width: 1023px), (pointer: coarse)"), m = b(!1), I = () => {
|
|
23
|
-
c.value || (m.value = !1);
|
|
24
|
-
}, f = b(null), g = b(null), p = A(), d = L(f, {
|
|
25
|
-
initialFocus: "panel",
|
|
26
|
-
onPresented: () => y("presented"),
|
|
27
|
-
onDismissed: () => y("dismissed")
|
|
28
|
-
}), { isOpen: c } = d;
|
|
29
|
-
N(c, (s) => {
|
|
30
|
-
s && (m.value = !0);
|
|
31
|
-
}, { flush: "sync" });
|
|
32
|
-
const a = O({
|
|
33
|
-
enabled: t,
|
|
34
|
-
panel: f,
|
|
35
|
-
body: g,
|
|
36
|
-
onDismiss: () => (d.dismissWithoutAsking(), !0)
|
|
37
|
-
});
|
|
38
|
-
function E() {
|
|
39
|
-
a.reset(), d.present();
|
|
40
|
-
}
|
|
41
|
-
function h() {
|
|
42
|
-
d.dismissWithoutAsking();
|
|
43
|
-
}
|
|
44
|
-
return z({ present: E, dismiss: h }), (s, x) => (o(), V(M, { to: "body" }, [
|
|
45
|
-
m.value ? (o(), n("div", {
|
|
46
|
-
key: 0,
|
|
47
|
-
class: "relative z-9999",
|
|
48
|
-
role: "dialog",
|
|
49
|
-
"aria-modal": "true",
|
|
50
|
-
"aria-labelledby": l.title ? e(p) : void 0
|
|
51
|
-
}, [
|
|
52
|
-
v(k, {
|
|
53
|
-
appear: "",
|
|
54
|
-
"enter-active-class": "transition-opacity duration-motion-normal ease-motion-standard",
|
|
55
|
-
"enter-from-class": "opacity-0",
|
|
56
|
-
"leave-active-class": "pointer-events-none transition-opacity duration-motion-normal ease-motion-standard",
|
|
57
|
-
"leave-to-class": "opacity-0"
|
|
58
|
-
}, {
|
|
59
|
-
default: _(() => [
|
|
60
|
-
e(c) ? (o(), n("div", {
|
|
61
|
-
key: 0,
|
|
62
|
-
class: "fixed inset-0 bg-scrim",
|
|
63
|
-
style: w(e(a).backdropStyle.value),
|
|
64
|
-
"aria-hidden": "true",
|
|
65
|
-
onClick: h
|
|
66
|
-
}, null, 4)) : r("", !0)
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}),
|
|
70
|
-
v(k, {
|
|
71
|
-
appear: "",
|
|
72
|
-
"enter-active-class": "transition-transform duration-motion-sheet ease-motion-sheet",
|
|
73
|
-
"enter-from-class": e(t) ? "translate-y-full" : "translate-x-full",
|
|
74
|
-
"leave-active-class": "pointer-events-none transition-transform duration-motion-normal ease-motion-standard",
|
|
75
|
-
"leave-to-class": e(t) ? "translate-y-full" : "translate-x-full",
|
|
76
|
-
onAfterLeave: I
|
|
77
|
-
}, {
|
|
78
|
-
default: _(() => [
|
|
79
|
-
e(c) ? (o(), n("div", {
|
|
80
|
-
key: 0,
|
|
81
|
-
ref_key: "panel",
|
|
82
|
-
ref: f,
|
|
83
|
-
tabindex: "-1",
|
|
84
|
-
"data-part": "panel",
|
|
85
|
-
class: S(["fixed flex flex-col text-content-strong shadow-dialog outline-none", [
|
|
86
|
-
l.grouped ? "bg-surface-page" : "bg-surface-cell",
|
|
87
|
-
e(t) ? "inset-x-0 bottom-0 mx-auto max-h-[90dvh] w-full max-w-readable rounded-t-sheet" : "inset-y-0 right-0 w-full max-w-md",
|
|
88
|
-
e(a).dragging.value ? "" : "transition-transform duration-motion-normal ease-motion-sheet"
|
|
89
|
-
]]),
|
|
90
|
-
style: w(e(a).panelStyle.value)
|
|
91
|
-
}, [
|
|
92
|
-
i("div", C({
|
|
93
|
-
class: ["shrink-0", e(t) ? "cursor-grab touch-none select-none" : ""]
|
|
94
|
-
}, e(a).handleEvents), [
|
|
95
|
-
e(t) ? (o(), n("div", q, [...x[0] || (x[0] = [
|
|
96
|
-
i("span", { class: "h-1.25 w-9 rounded-full bg-fill-strong" }, null, -1)
|
|
97
|
-
])])) : r("", !0),
|
|
98
|
-
u(s.$slots, "header", { titleId: e(p) }, () => [
|
|
99
|
-
i("div", {
|
|
100
|
-
class: S(["flex min-h-bar-height items-center justify-between gap-3 px-4", e(t) ? "pb-1" : "border-b border-border-separator"])
|
|
101
|
-
}, [
|
|
102
|
-
l.title ? (o(), n("h3", {
|
|
103
|
-
key: 0,
|
|
104
|
-
id: e(p),
|
|
105
|
-
class: "text-headline font-semibold"
|
|
106
|
-
}, P(l.title), 9, G)) : r("", !0),
|
|
107
|
-
i("div", H, [
|
|
108
|
-
u(s.$slots, "actions"),
|
|
109
|
-
i("button", {
|
|
110
|
-
type: "button",
|
|
111
|
-
"data-part": "close",
|
|
112
|
-
"aria-label": e(D)("core.actions.close"),
|
|
113
|
-
class: "hit-target -mr-1 flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full bg-fill text-content-muted transition-colors duration-motion-fast hover:bg-fill-strong",
|
|
114
|
-
onClick: h
|
|
115
|
-
}, [
|
|
116
|
-
v(e(W), {
|
|
117
|
-
name: "close",
|
|
118
|
-
size: 14
|
|
119
|
-
})
|
|
120
|
-
], 8, J)
|
|
121
|
-
])
|
|
122
|
-
], 2)
|
|
123
|
-
])
|
|
124
|
-
], 16),
|
|
125
|
-
i("div", C({
|
|
126
|
-
ref_key: "body",
|
|
127
|
-
ref: g,
|
|
128
|
-
class: "min-h-0 flex-1 overflow-y-auto overscroll-contain px-4 py-4"
|
|
129
|
-
}, e(a).bodyEvents), [
|
|
130
|
-
u(s.$slots, "default")
|
|
131
|
-
], 16),
|
|
132
|
-
s.$slots.footer ? (o(), n("div", K, [
|
|
133
|
-
u(s.$slots, "footer")
|
|
134
|
-
])) : r("", !0)
|
|
135
|
-
], 6)) : r("", !0)
|
|
136
|
-
]),
|
|
137
|
-
_: 3
|
|
138
|
-
}, 8, ["enter-from-class", "leave-to-class"])
|
|
139
|
-
], 8, Q)) : r("", !0)
|
|
140
|
-
]));
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
export {
|
|
144
|
-
te as _
|
|
145
|
-
};
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, useModel as M, useId as z, inject as K, useTemplateRef as I, computed as S, openBlock as o, createElementBlock as l, createElementVNode as f, Fragment as T, renderList as V, normalizeClass as r, unref as c, createTextVNode as j, toDisplayString as m, createCommentVNode as u, createBlock as h, renderSlot as R, mergeModels as D } from "vue";
|
|
2
|
-
import { routerKey as q, routeLocationKey as F } from "vue-router";
|
|
3
|
-
import { _ as y } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
4
|
-
import { u as G } from "./mediaQuery-CygcXmFW.js";
|
|
5
|
-
const H = ["aria-label"], P = ["aria-label"], J = ["id", "aria-selected", "tabindex", "aria-controls", "data-tab", "onClick", "onKeydown"], O = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "text-footnote font-normal tabular-nums"
|
|
8
|
-
}, Q = ["aria-label"], U = ["aria-label"], W = ["id", "aria-selected", "tabindex", "aria-controls", "data-tab", "onClick", "onKeydown"], X = ["id", "aria-labelledby"], ne = /* @__PURE__ */ B({
|
|
9
|
-
__name: "Tabs",
|
|
10
|
-
props: /* @__PURE__ */ D({
|
|
11
|
-
tabs: {},
|
|
12
|
-
presentation: { default: "segmented" },
|
|
13
|
-
alignment: { default: "start" },
|
|
14
|
-
stretch: { type: Boolean, default: !1 },
|
|
15
|
-
label: { default: void 0 }
|
|
16
|
-
}, {
|
|
17
|
-
modelValue: {},
|
|
18
|
-
modelModifiers: {}
|
|
19
|
-
}),
|
|
20
|
-
emits: ["update:modelValue"],
|
|
21
|
-
setup(x) {
|
|
22
|
-
const t = x, w = M(x, "modelValue"), d = z(), k = K(q, null), E = K(F, null);
|
|
23
|
-
function _() {
|
|
24
|
-
if (!k) throw new Error("Tabs: a tab has `to`, but no router is installed in the app.");
|
|
25
|
-
return k;
|
|
26
|
-
}
|
|
27
|
-
const L = G(), p = I("list"), N = S(() => t.presentation === "scope" && L.value);
|
|
28
|
-
function a(n) {
|
|
29
|
-
return n.to !== void 0 ? _().resolve(n.to).name === E?.name : n.value === w.value;
|
|
30
|
-
}
|
|
31
|
-
const $ = S(() => t.tabs.find(a)), b = (n) => `${d}-tab-${String(n.value)}`;
|
|
32
|
-
function v(n) {
|
|
33
|
-
n.to !== void 0 ? _().push(n.to) : w.value = n.value;
|
|
34
|
-
}
|
|
35
|
-
function C(n, g) {
|
|
36
|
-
const e = t.tabs.length - 1, i = { ArrowRight: g + 1, ArrowLeft: g - 1, Home: 0, End: e }[n.key];
|
|
37
|
-
if (i === void 0) return;
|
|
38
|
-
n.preventDefault();
|
|
39
|
-
const s = t.tabs[(i + t.tabs.length) % t.tabs.length];
|
|
40
|
-
s && (v(s), p.value?.querySelector(`[data-tab="${String(s.value)}"]`)?.focus());
|
|
41
|
-
}
|
|
42
|
-
const A = { start: "justify-start", center: "justify-center", end: "justify-end" };
|
|
43
|
-
return (n, g) => (o(), l("div", null, [
|
|
44
|
-
N.value ? (o(), l("nav", {
|
|
45
|
-
key: 0,
|
|
46
|
-
ref_key: "list",
|
|
47
|
-
ref: p,
|
|
48
|
-
class: "-mx-1 overflow-x-auto overflow-y-hidden",
|
|
49
|
-
"aria-label": t.label
|
|
50
|
-
}, [
|
|
51
|
-
f("ul", {
|
|
52
|
-
class: "flex gap-2 p-1",
|
|
53
|
-
role: "tablist",
|
|
54
|
-
"aria-label": t.label
|
|
55
|
-
}, [
|
|
56
|
-
(o(!0), l(T, null, V(t.tabs, (e, i) => (o(), l("li", {
|
|
57
|
-
key: e.value,
|
|
58
|
-
role: "presentation",
|
|
59
|
-
class: "shrink-0"
|
|
60
|
-
}, [
|
|
61
|
-
f("button", {
|
|
62
|
-
id: b(e),
|
|
63
|
-
type: "button",
|
|
64
|
-
role: "tab",
|
|
65
|
-
"aria-selected": a(e),
|
|
66
|
-
tabindex: a(e) ? 0 : -1,
|
|
67
|
-
"aria-controls": `${c(d)}-panel`,
|
|
68
|
-
"data-tab": String(e.value),
|
|
69
|
-
class: r(["flex min-h-[2.125rem] cursor-pointer items-center gap-1.5 whitespace-nowrap rounded-full px-3.5 text-subheadline font-semibold transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus", a(e) ? "bg-tint text-content-on-tint" : "bg-surface-cell text-content-strong shadow-group active:bg-fill"]),
|
|
70
|
-
onClick: (s) => v(e),
|
|
71
|
-
onKeydown: (s) => C(s, i)
|
|
72
|
-
}, [
|
|
73
|
-
j(m(e.shortLabel ?? e.label) + " ", 1),
|
|
74
|
-
e.badge ? (o(), l("span", O, m(e.badge), 1)) : u("", !0),
|
|
75
|
-
e.warning ? (o(), h(c(y), {
|
|
76
|
-
key: 1,
|
|
77
|
-
name: "alertTriangle",
|
|
78
|
-
size: 14,
|
|
79
|
-
label: e.warning
|
|
80
|
-
}, null, 8, ["label"])) : u("", !0)
|
|
81
|
-
], 42, J)
|
|
82
|
-
]))), 128))
|
|
83
|
-
], 8, P)
|
|
84
|
-
], 8, H)) : (o(), l("nav", {
|
|
85
|
-
key: 1,
|
|
86
|
-
ref_key: "list",
|
|
87
|
-
ref: p,
|
|
88
|
-
"aria-label": t.label,
|
|
89
|
-
class: r([
|
|
90
|
-
t.presentation === "scope" ? "" : "overflow-y-hidden overflow-x-auto whitespace-nowrap",
|
|
91
|
-
t.presentation === "plain" ? "" : "rounded-control bg-fill p-0.5"
|
|
92
|
-
])
|
|
93
|
-
}, [
|
|
94
|
-
f("ul", {
|
|
95
|
-
class: r(["flex gap-0.5", t.presentation === "scope" ? "flex-wrap whitespace-nowrap" : "", A[t.alignment]]),
|
|
96
|
-
role: "tablist",
|
|
97
|
-
"aria-label": t.label
|
|
98
|
-
}, [
|
|
99
|
-
(o(!0), l(T, null, V(t.tabs, (e, i) => (o(), l("li", {
|
|
100
|
-
key: e.value,
|
|
101
|
-
role: "presentation",
|
|
102
|
-
class: r({ "flex flex-1": t.stretch })
|
|
103
|
-
}, [
|
|
104
|
-
f("button", {
|
|
105
|
-
id: b(e),
|
|
106
|
-
type: "button",
|
|
107
|
-
role: "tab",
|
|
108
|
-
"aria-selected": a(e),
|
|
109
|
-
tabindex: a(e) ? 0 : -1,
|
|
110
|
-
"aria-controls": `${c(d)}-panel`,
|
|
111
|
-
"data-tab": String(e.value),
|
|
112
|
-
class: r([
|
|
113
|
-
"flex min-h-8 cursor-pointer items-center justify-center rounded-control px-3.5 py-1 text-subheadline transition-colors duration-motion-fast ease-motion-standard focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-border-focus",
|
|
114
|
-
a(e) ? "bg-segment-selected font-semibold text-content-strong shadow-sm" : "font-medium text-content hover:text-content-strong",
|
|
115
|
-
t.stretch ? "flex-1" : ""
|
|
116
|
-
]),
|
|
117
|
-
onClick: (s) => v(e),
|
|
118
|
-
onKeydown: (s) => C(s, i)
|
|
119
|
-
}, [
|
|
120
|
-
e.icon ? (o(), h(c(y), {
|
|
121
|
-
key: 0,
|
|
122
|
-
name: e.icon,
|
|
123
|
-
class: r(["mr-2", a(e) ? "text-content-link" : ""])
|
|
124
|
-
}, null, 8, ["name", "class"])) : u("", !0),
|
|
125
|
-
j(" " + m(e.label) + " ", 1),
|
|
126
|
-
e.badge ? (o(), l("span", {
|
|
127
|
-
key: 1,
|
|
128
|
-
class: r(["ml-2 block min-w-[1.125rem] rounded-full px-1.5 text-center text-caption font-semibold tabular-nums", a(e) ? "bg-tint-soft text-content-link" : "bg-surface-cell text-content-muted"])
|
|
129
|
-
}, m(e.badge), 3)) : u("", !0),
|
|
130
|
-
e.warning ? (o(), h(c(y), {
|
|
131
|
-
key: 2,
|
|
132
|
-
name: "alertTriangle",
|
|
133
|
-
size: 16,
|
|
134
|
-
label: e.warning,
|
|
135
|
-
class: "ml-2 text-status-warning-content"
|
|
136
|
-
}, null, 8, ["label"])) : u("", !0)
|
|
137
|
-
], 42, W)
|
|
138
|
-
], 2))), 128))
|
|
139
|
-
], 10, U)
|
|
140
|
-
], 10, Q)),
|
|
141
|
-
n.$slots.default ? (o(), l("div", {
|
|
142
|
-
key: 2,
|
|
143
|
-
id: `${c(d)}-panel`,
|
|
144
|
-
role: "tabpanel",
|
|
145
|
-
"aria-labelledby": $.value ? b($.value) : void 0,
|
|
146
|
-
class: "mt-4"
|
|
147
|
-
}, [
|
|
148
|
-
R(n.$slots, "default")
|
|
149
|
-
], 8, X)) : u("", !0)
|
|
150
|
-
]));
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
export {
|
|
154
|
-
ne as _
|
|
155
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { computed as k } from "vue";
|
|
2
|
-
import { d as y } from "./context-Ch1r4fdN.js";
|
|
3
|
-
import { h as N } from "./platform-DU9QFts8.js";
|
|
4
|
-
function F(l, a = {}) {
|
|
5
|
-
const i = /* @__PURE__ */ new Map(), o = [];
|
|
6
|
-
for (const e of l) {
|
|
7
|
-
const { destination: s } = e.binding, u = i.get(s);
|
|
8
|
-
if (u) {
|
|
9
|
-
o.push(`The destination "${s}" is bound twice: by feature "${u.feature}" and by feature "${e.feature}".`);
|
|
10
|
-
continue;
|
|
11
|
-
}
|
|
12
|
-
a.known && !a.known.includes(s) && o.push(`Feature "${e.feature}" binds the destination "${s}", which the backend's navigation does not contain.`), i.set(s, e);
|
|
13
|
-
}
|
|
14
|
-
for (const e of a.required ?? [])
|
|
15
|
-
i.has(e) || o.push(`The destination "${e}" is required but no feature binds it.`);
|
|
16
|
-
return { destinations: i, issues: o };
|
|
17
|
-
}
|
|
18
|
-
function M(l) {
|
|
19
|
-
const { session: a, router: i, i18n: o, destinations: e } = l, s = (t) => o.te(t.i18n) ? o.t(t.i18n) : t.i18n;
|
|
20
|
-
function u(t, r) {
|
|
21
|
-
return t.flatMap((n, f) => {
|
|
22
|
-
const c = `${r}/${n.route ?? f}`, d = u(n.children ?? [], c);
|
|
23
|
-
if (n.route === void 0) return d.length > 0 ? [h(n, c, null, d, !1)] : [];
|
|
24
|
-
const v = e.get(n.route);
|
|
25
|
-
if (!v) return [];
|
|
26
|
-
const { to: m, within: g = [] } = v.binding, p = g.some(($) => i.currentRoute.value.matched.some((w) => w.name === $));
|
|
27
|
-
return [h(n, c, m, d, p || b(m))];
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function b(t) {
|
|
31
|
-
const { matched: r } = i.resolve(t), n = r[r.length - 1];
|
|
32
|
-
return n !== void 0 && i.currentRoute.value.matched.includes(n);
|
|
33
|
-
}
|
|
34
|
-
const h = (t, r, n, f, c) => ({
|
|
35
|
-
key: r,
|
|
36
|
-
label: s(t),
|
|
37
|
-
icon: t.icon ?? null,
|
|
38
|
-
to: n,
|
|
39
|
-
active: c || f.some((d) => d.active),
|
|
40
|
-
children: f
|
|
41
|
-
});
|
|
42
|
-
return k(() => {
|
|
43
|
-
const t = N(a.state.value);
|
|
44
|
-
return t ? u(t.navigation ?? [], "") : [];
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
const [R, T] = y("vue-core.navigation");
|
|
48
|
-
export {
|
|
49
|
-
F as b,
|
|
50
|
-
M as c,
|
|
51
|
-
R as n,
|
|
52
|
-
T as u
|
|
53
|
-
};
|