@vc-shell/framework 2.5.0-pr354.da09837 → 2.6.0-pr370.de147ea
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/charts/index.d.ts.map +1 -1
- package/dist/chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js.map +1 -1
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js.map +1 -1
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js.map +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-RHeDlcVB.js → VcScheduler.vue_vue_type_script_setup_true_lang-CS_aEQ84.js} +7810 -7636
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CS_aEQ84.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-BQ09AUgy.js → VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js} +1369 -1333
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-C0IjvNtI.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js} +269 -256
- package/dist/chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js.map +1 -0
- package/dist/core/blade-navigation/singletons.d.ts +3 -5
- package/dist/core/blade-navigation/singletons.d.ts.map +1 -1
- package/dist/core/blade-navigation/table-query-state/createBladeQueryState.d.ts.map +1 -1
- package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts +2 -3
- package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts.map +1 -1
- package/dist/core/blade-navigation/types/index.d.ts +9 -14
- package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts +6 -14
- package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts.map +1 -1
- package/dist/core/blade-navigation/utils/navigateToMainRoute.d.ts +9 -2
- package/dist/core/blade-navigation/utils/navigateToMainRoute.d.ts.map +1 -1
- package/dist/core/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -1
- package/dist/core/blade-navigation/utils/urlSync.d.ts +2 -3
- package/dist/core/blade-navigation/utils/urlSync.d.ts.map +1 -1
- package/dist/core/composables/useAssets/index.d.ts.map +1 -1
- package/dist/core/composables/useAssetsManager/index.d.ts.map +1 -1
- package/dist/core/composables/useAssetsManager/uploadAssets.d.ts +33 -0
- package/dist/core/composables/useAssetsManager/uploadAssets.d.ts.map +1 -0
- package/dist/core/composables/useAsync/index.d.ts +3 -4
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeForm/index.d.ts +5 -9
- package/dist/core/composables/useBladeForm/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/resolveControlKind.d.ts +12 -0
- package/dist/core/composables/useDynamicProperties/resolveControlKind.d.ts.map +1 -0
- package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -1
- package/dist/core/composables/useLatestRequest/index.d.ts +25 -18
- package/dist/core/composables/useLatestRequest/index.d.ts.map +1 -1
- package/dist/core/composables/useModificationTracker/index.d.ts +11 -0
- package/dist/core/composables/useModificationTracker/index.d.ts.map +1 -1
- package/dist/core/composables/usePlatformLocaleSync/index.d.ts +5 -13
- package/dist/core/composables/usePlatformLocaleSync/index.d.ts.map +1 -1
- package/dist/core/composables/usePopup/index.d.ts +3 -4
- package/dist/core/composables/usePopup/index.d.ts.map +1 -1
- package/dist/core/composables/usePopup/types.d.ts +9 -12
- package/dist/core/composables/usePopup/types.d.ts.map +1 -1
- package/dist/core/composables/useSlowNetworkDetection/index.d.ts.map +1 -1
- package/dist/core/composables/useToolbar/index.d.ts +3 -4
- package/dist/core/composables/useToolbar/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/notifications/composables/useBladeNotifications.d.ts +3 -7
- package/dist/core/notifications/composables/useBladeNotifications.d.ts.map +1 -1
- package/dist/core/notifications/composables/useNotificationStore.d.ts +3 -6
- package/dist/core/notifications/composables/useNotificationStore.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/types.d.ts +8 -14
- package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/store.d.ts +3 -5
- package/dist/core/plugins/extension-points/store.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/core/services/menu-service.d.ts +3 -5
- package/dist/core/services/menu-service.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +3 -5
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/types/menu-types.d.ts +2 -3
- package/dist/core/types/menu-types.d.ts.map +1 -1
- package/dist/core/utilities/backendRegistry.d.ts +3 -5
- package/dist/core/utilities/backendRegistry.d.ts.map +1 -1
- package/dist/core/utilities/buildInfo.d.ts +4 -6
- package/dist/core/utilities/buildInfo.d.ts.map +1 -1
- package/dist/core/utilities/error.d.ts.map +1 -1
- package/dist/core/utilities/focus.d.ts +7 -21
- package/dist/core/utilities/focus.d.ts.map +1 -1
- package/dist/core/utilities/pendingErrorNotifications.d.ts +5 -8
- package/dist/core/utilities/pendingErrorNotifications.d.ts.map +1 -1
- package/dist/core/utilities/sessionExpiration.d.ts +15 -21
- package/dist/core/utilities/sessionExpiration.d.ts.map +1 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +1221 -1253
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/locales/de.js +6 -1
- package/dist/locales/en.js +6 -1
- package/dist/locales/en.json +6 -1
- package/dist/locales/types.d.ts +5 -0
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/focus-target.d.ts +6 -7
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/focus-target.d.ts.map +1 -1
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
- package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts +5 -10
- package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
- package/dist/shell/_internal/notifications/components/notification-container/computeToastOffsets.d.ts +3 -4
- package/dist/shell/_internal/notifications/components/notification-container/computeToastOffsets.d.ts.map +1 -1
- package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +2 -2
- package/dist/shell/_internal/popup/components/vc-popup-container/PopupInstanceProvider.vue.d.ts +3 -4
- package/dist/shell/_internal/popup/components/vc-popup-container/PopupInstanceProvider.vue.d.ts.map +1 -1
- package/dist/shell/_internal/popup/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
- package/dist/shell/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shell/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-widget-card/dashboard-stat-item.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/DraggableDashboard.vue.d.ts +5 -2
- package/dist/shell/dashboard/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts +2 -0
- package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/types.d.ts +3 -6
- package/dist/shell/dashboard/draggable-dashboard/types.d.ts.map +1 -1
- package/dist/test-mock-factories.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-environment-banner/vc-environment-banner.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +6 -8
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +4 -6
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +2 -0
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +7 -0
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -2
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +4 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueInput.d.ts +3 -6
- package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueInput.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts +7 -0
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +2 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +3 -5
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts +4 -5
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/utils.d.ts +2 -5
- package/dist/ui/components/organisms/vc-blade/utils.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts +3 -4
- package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/HeaderTitle.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/_internal/SlotProxy.d.ts +3 -4
- package/dist/ui/components/organisms/vc-data-table/components/_internal/SlotProxy.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/cells/CellDateAgo.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/builtinCells.d.ts +2 -3
- package/dist/ui/components/organisms/vc-data-table/composables/builtinCells.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/createTableSelectionFacade.d.ts +3 -5
- package/dist/ui/components/organisms/vc-data-table/composables/createTableSelectionFacade.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +4 -11
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useMobileCardLayout.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts +2 -5
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts +4 -6
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +3 -6
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts +2 -10
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableInlineEdit.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableRowReorder.d.ts +5 -11
- package/dist/ui/components/organisms/vc-data-table/composables/useTableRowReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableSelectionV2.d.ts +3 -11
- package/dist/ui/components/organisms/vc-data-table/composables/useTableSelectionV2.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/types.d.ts +13 -14
- package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts +3 -6
- package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts +3 -4
- package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +9 -0
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/composables/useAnchoredPanelFocus.d.ts +20 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useAnchoredPanelFocus.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventColor.d.ts +5 -7
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventColor.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventInteraction.d.ts +7 -12
- package/dist/ui/components/organisms/vc-scheduler/composables/useEventInteraction.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/composables/useRecurrence.d.ts +6 -7
- package/dist/ui/components/organisms/vc-scheduler/composables/useRecurrence.d.ts.map +1 -1
- package/dist/ui/composables/useDataTablePagination.d.ts +4 -8
- package/dist/ui/composables/useDataTablePagination.d.ts.map +1 -1
- package/dist/ui/index.js +2 -2
- package/globals-augments.d.ts +3 -5
- package/globals.d.ts +5 -12
- package/package.json +4 -4
- package/shims-vue.d.ts +3 -5
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-RHeDlcVB.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BQ09AUgy.js.map +0 -1
- package/dist/chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-C0IjvNtI.js.map +0 -1
package/dist/framework.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { N as
|
|
3
|
-
import { B as Zl, a6 as
|
|
4
|
-
import { getCurrentScope as
|
|
5
|
-
import { aS as
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import { c as k, b as
|
|
9
|
-
import { A as $E, y as KE, z as zE, C as qE, D as YE, F as
|
|
10
|
-
import { H as
|
|
11
|
-
import { a as
|
|
1
|
+
import { b as Ma, c as ka } from "./chunks/vendor-vueuse-core-_wFDcFkI.js";
|
|
2
|
+
import { N as st, O as se, P as J, Q as z, l as x, R as Pe, S as Va, T as yt, p as ot, q as $, n as Se, A as Ua, U as Fa, W as Wa, X as Ha, V as Ee, Y as Ga, Z as xa, $ as $a, a0 as Ka, a1 as za, a2 as qa, a3 as Ya, a4 as Za, a5 as ja } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js";
|
|
3
|
+
import { B as Zl, a6 as jl, a as Xl, _ as Jl, b as Ql, c as eu, d as tu, e as au, f as nu, g as su, h as ou, i as ru, j as iu, k as lu, a7 as uu, a8 as cu, a9 as du, aa as Eu, ab as fu, ac as mu, ad as gu, m as Su, o as Au, r as pu, s as Tu, t as hu, u as Lu, v as Ou, w as Ru, x as _u, y as Iu, z as vu, ae as wu, af as Cu, ag as Pu, ah as bu, ai as Nu, aj as Du, ak as yu, al as Bu, am as Mu, an as ku, ao as Vu, ap as Uu, aq as Fu, ar as Wu, as as Hu, at as Gu, au as xu, av as $u, aw as Ku, ax as zu, ay as qu, C as Yu, az as Zu, aA as ju, aB as Xu, aC as Ju, D as Qu, aD as ec, aE as tc, aF as ac, aG as nc, aH as sc, aI as oc, aJ as rc, aK as ic, aL as lc, E as uc, F as cc, G as dc, L as Ec, aM as fc, H as mc, I as gc, aN as Sc, J as Ac, aO as pc, aP as Tc, aQ as hc } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js";
|
|
4
|
+
import { getCurrentScope as rt, onScopeDispose as it, computed as v, inject as Q, watch as ae, defineComponent as H, openBlock as P, createBlock as D, createSlots as Le, withCtx as T, renderSlot as Y, createElementVNode as U, normalizeClass as Xa, createElementBlock as W, Fragment as ne, createVNode as R, unref as i, createTextVNode as M, toDisplayString as y, shallowReactive as Ja, ref as b, readonly as Me, onMounted as Oe, onBeforeMount as Qa, onBeforeUnmount as en, shallowRef as tn, onUnmounted as an, provide as Bt, toValue as Mt, isRef as kt, normalizeStyle as Vt, createCommentVNode as q, withDirectives as nn, withModifiers as He, reactive as ie, createApp as sn, nextTick as be, renderList as Fe, withKeys as lt, mergeProps as re, getCurrentInstance as on, warn as rn, h as ee, toRaw as ln } from "vue";
|
|
5
|
+
import { aS as fe, aT as un, aU as cn, aV as Ut, aW as Ge, aX as dn, aY as En, aZ as fn, a_ as mn, a$ as gn, ab as Sn, b0 as xe, b1 as An, b2 as pn, b3 as Re, b4 as We, b5 as Te, b6 as F, b7 as he, b8 as Tn, b9 as hn, ba as mt, bb as Ft, F as Wt, M as Ln, Y as me, W as $e, am as On, N as Rn, ai as _n, B as _e, a3 as Ht, E as In, bc as vn, bd as wn, be as Cn, an as gt, bf as Pn, bg as bn } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CS_aEQ84.js";
|
|
6
|
+
import { bh as Oc, bi as Rc, C as _c, bj as Ic, bk as vc, bl as wc, _ as Cc, bm as Pc, bn as bc, S as Nc, bo as Dc, bp as yc, a as Bc, b as Mc, c as kc, d as Vc, e as Uc, f as Fc, T as Wc, g as Hc, h as Gc, i as xc, j as $c, k as Kc, l as zc, m as qc, bq as Yc, br as Zc, V as jc, n as Xc, o as Jc, p as Qc, q as ed, r as td, s as ad, t as nd, u as sd, v as od, w as rd, x as id, y as ld, z as ud, A as cd, D as dd, bs as Ed, bs as fd, bt as md, G as gd, H as Sd, I as Ad, J as pd, K as Td, L as hd, O as Ld, P as Od, Q as Rd, R as _d, U as Id, X as vd, Z as wd, $ as Cd, a0 as Pd, a1 as bd, a2 as Nd, a4 as Dd, a5 as yd, a6 as Bd, a7 as Md, a8 as kd, a9 as Vd, aa as Ud, ac as Fd, ad as Wd, ae as Hd, af as Gd, ag as xd, ah as $d, aj as Kd, ak as zd, al as qd, ao as Yd, ap as Zd, bu as jd, aq as Xd, bv as Jd, bw as Qd, bx as eE, by as tE, bz as aE, bA as nE, bB as sE, bC as oE, bD as rE, bE as iE, bF as lE, bG as uE, ar as cE, as as dE, at as EE, bH as fE, au as mE, av as gE, bI as SE, aw as AE, ax as pE, ay as TE, az as hE, bJ as LE, aA as OE, aB as RE, aC as _E, bK as IE, aD as vE, aE as wE, aF as CE, aG as PE, bL as bE, aH as NE, aI as DE, aJ as yE, aK as BE, aL as ME, aM as kE, aN as VE, aO as UE, aP as FE, aQ as WE, aR as HE, aq as GE } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CS_aEQ84.js";
|
|
7
|
+
import { _ as Nn } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
8
|
+
import { c as k, b as Dn, d as yn, i as et, S as Bn, W as Gt, B as xt, h as Mn, j as $t, k as kn, m as Vn, l as Kt, n as Un, _ as Fn, L as Wn, I as Hn, o as Gn, p as xn, q as $n, r as Kn, s as zn, T as qn, t as Yn, v as Zn, w as jn, x as Xn } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
|
|
9
|
+
import { A as $E, y as KE, z as zE, C as qE, D as YE, F as ZE, G as jE, H as XE, J as JE, K as QE, e as ef, f as tf, O as af, P as nf, Q as sf, R as of, U as rf, V as lf, X as uf, Y as cf, Z as df, $ as Ef, a0 as ff, E as mf, a1 as gf, a2 as Sf, a3 as Af, a4 as pf, a5 as Tf, a6 as hf, a7 as Lf, a8 as Of, M as Rf, N as _f, a9 as If, aa as vf, ab as wf, ac as Cf, ad as Pf, ae as bf, af as Nf, ag as Df, a as yf, ah as Bf, ai as Mf, aj as kf, ak as Vf, u as Uf, g as Ff } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
|
|
10
|
+
import { H as Jn, L as Qn } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
|
|
11
|
+
import { a as es } from "./chunks/index-DLsURdJp.js";
|
|
12
12
|
import { u as Hf } from "./chunks/index-DLsURdJp.js";
|
|
13
|
-
import { a as
|
|
14
|
-
import { A as xf, D as $f, E as Kf, H as zf, _ as qf, c as Yf, k as
|
|
13
|
+
import { a as ts, s as as, b as ns, d as ss, e as os, f as ut, g as rs, h as is, i as ls, j as us } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js";
|
|
14
|
+
import { A as xf, D as $f, E as Kf, H as zf, _ as qf, c as Yf, k as Zf, l as jf, m as Xf, n as Jf, o as Qf, p as em, u as tm, q as am, r as nm, t as sm } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js";
|
|
15
15
|
import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
16
16
|
import "./chunks/vendor-dompurify-DpIUMBYC.js";
|
|
17
17
|
import { u as le } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
|
|
18
|
-
import { useForm as ue, useIsFormValid as Ie, useIsFormDirty as
|
|
18
|
+
import { useForm as ue, useIsFormValid as Ie, useIsFormDirty as ct, Field as j } from "vee-validate";
|
|
19
19
|
import { useRouter as ve } from "vue-router";
|
|
20
20
|
import "./chunks/vendor-tiptap-starter-kit-ny-AoaO_.js";
|
|
21
21
|
import "./chunks/vendor-tiptap-extension-underline-Bo1pXXDN.js";
|
|
@@ -91,23 +91,23 @@ import "./assets/72de3a63bc0b70dd.svg";
|
|
|
91
91
|
import "./chunks/vendor-iso-639-1-BEjYyfKo.js";
|
|
92
92
|
import "./chunks/vendor-truncate-html-ChA1T5zy.js";
|
|
93
93
|
import "./chunks/vendor-sortablejs-Bsvu-FKn.js";
|
|
94
|
-
import { v as
|
|
94
|
+
import { v as cs } from "./chunks/vendor-vue3-touch-events-DqysuuWh.js";
|
|
95
95
|
import "./chunks/vendor-gridstack-Beau2jQ7.js";
|
|
96
|
-
import { _ as rm, a as im, b as lm, c as um, d as cm, L as dm, e as Em, f as fm, l as mm, m as gm, s as Sm, t as
|
|
96
|
+
import { _ as rm, a as im, b as lm, c as um, d as cm, L as dm, e as Em, f as fm, l as mm, m as gm, s as Sm, t as Am, u as pm } from "./chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js";
|
|
97
97
|
import { _ as hm, a as Lm, b as Om, c as Rm, d as _m, e as Im } from "./chunks/DashboardDonutChart.vue_vue_type_script_setup_true_lang-hTcM33bM.js";
|
|
98
|
-
import { A as
|
|
99
|
-
import { o as
|
|
100
|
-
import { T as
|
|
101
|
-
import { _ as
|
|
98
|
+
import { A as ds, u as Es } from "./chunks/vendor-vue3-application-insights-CAgbt8pk.js";
|
|
99
|
+
import { o as fs, c as X, d as ms, i as gs } from "./chunks/vendor-lodash-es-D2n90GJy.js";
|
|
100
|
+
import { T as Ss, x as As, b as ps, S as Ts, $ as hs } from "./chunks/vendor-web-vitals-ByFgAM-8.js";
|
|
101
|
+
import { _ as Ls } from "./chunks/index-BuTo_Lx8.js";
|
|
102
102
|
import { E as wm, d as Cm, u as Pm } from "./chunks/index-BuTo_Lx8.js";
|
|
103
|
-
function
|
|
103
|
+
function gl(e) {
|
|
104
104
|
return e.replace(/[\w]([A-Z])/g, function(t) {
|
|
105
105
|
return t[0] + "_" + t[1];
|
|
106
106
|
}).toLowerCase();
|
|
107
107
|
}
|
|
108
|
-
const
|
|
109
|
-
function
|
|
110
|
-
const t =
|
|
108
|
+
const Os = (e) => e.replace(/-./g, (t) => t[1].toUpperCase());
|
|
109
|
+
function Sl(e) {
|
|
110
|
+
const t = Os(e);
|
|
111
111
|
return t[0].toUpperCase() + t.substring(1);
|
|
112
112
|
}
|
|
113
113
|
function Al(e) {
|
|
@@ -115,19 +115,19 @@ function Al(e) {
|
|
|
115
115
|
return a.toUpperCase();
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
-
const
|
|
119
|
-
function
|
|
118
|
+
const Rs = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "svg", "gif"]);
|
|
119
|
+
function dt(e) {
|
|
120
120
|
return e.split(".").pop()?.toLowerCase();
|
|
121
121
|
}
|
|
122
122
|
function zt(e) {
|
|
123
|
-
return e ?
|
|
123
|
+
return e ? Rs.has(dt(e) ?? "") : !1;
|
|
124
124
|
}
|
|
125
125
|
function qt(e, t = 2) {
|
|
126
126
|
if (!e) return "0 Bytes";
|
|
127
127
|
const a = 1024, n = t < 0 ? 0 : t, s = ["Bytes", "KB", "MB", "GB"], o = Math.floor(Math.log(e) / Math.log(a));
|
|
128
128
|
return `${parseFloat((e / Math.pow(a, o)).toFixed(n))} ${s[o]}`;
|
|
129
129
|
}
|
|
130
|
-
const
|
|
130
|
+
const _s = {
|
|
131
131
|
pdf: "#e74c3c",
|
|
132
132
|
doc: "#2b579a",
|
|
133
133
|
docx: "#2b579a",
|
|
@@ -144,28 +144,28 @@ const Ts = {
|
|
|
144
144
|
};
|
|
145
145
|
function Yt(e) {
|
|
146
146
|
if (!e) return "var(--neutrals-400)";
|
|
147
|
-
const t =
|
|
148
|
-
return
|
|
147
|
+
const t = dt(e) ?? "";
|
|
148
|
+
return _s[t] ?? "var(--neutrals-400)";
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return e ? (
|
|
150
|
+
function Zt(e) {
|
|
151
|
+
return e ? (dt(e) ?? "FILE").toUpperCase() : "FILE";
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const Is = {
|
|
154
154
|
install(e) {
|
|
155
|
-
const { hasAccess: t } =
|
|
155
|
+
const { hasAccess: t } = st();
|
|
156
156
|
e.config.globalProperties.$hasAccess = t;
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
-
function
|
|
160
|
-
const t =
|
|
159
|
+
function pl(e) {
|
|
160
|
+
const t = fe(), a = t.subscribe({
|
|
161
161
|
types: e.types,
|
|
162
162
|
filter: e.filter,
|
|
163
163
|
handler: e.onMessage
|
|
164
164
|
});
|
|
165
|
-
|
|
166
|
-
const n =
|
|
165
|
+
rt() && it(a);
|
|
166
|
+
const n = v(
|
|
167
167
|
() => t.realtime.value.filter((r) => !(!r.notifyType || !e.types.includes(r.notifyType) || !r.isNew || e.filter && !e.filter(r)))
|
|
168
|
-
), s =
|
|
168
|
+
), s = v(() => n.value.length);
|
|
169
169
|
function o(r) {
|
|
170
170
|
t.markAsRead(r);
|
|
171
171
|
}
|
|
@@ -175,64 +175,74 @@ function Tl(e) {
|
|
|
175
175
|
markAsRead: o
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
const e = Q(
|
|
178
|
+
function Tl() {
|
|
179
|
+
const e = Q(un);
|
|
180
180
|
if (!e)
|
|
181
181
|
throw new Error("useNotificationContext() must be used inside a notification template");
|
|
182
182
|
return e;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
const e =
|
|
184
|
+
function hl() {
|
|
185
|
+
const e = fe();
|
|
186
186
|
return {
|
|
187
187
|
setBroadcastFilter: e.setBroadcastFilter,
|
|
188
188
|
clearBroadcastFilter: e.clearBroadcastFilter
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
const
|
|
191
|
+
const jt = Symbol("NotificationContainerState"), Ke = k("signalR"), vs = {
|
|
192
192
|
install(e) {
|
|
193
|
-
const t =
|
|
193
|
+
const t = fe(), { isAuthenticated: a } = se();
|
|
194
194
|
let n = !1;
|
|
195
|
-
const s =
|
|
195
|
+
const s = Nn("pushNotificationHub", { enableForVitest: !0 }) ?? new Jn().withUrl("/pushNotificationHub").withAutomaticReconnect().configureLogging(Qn.Information).build(), o = 5e3, r = 6e4;
|
|
196
|
+
let l = 0, c;
|
|
197
|
+
function u(f) {
|
|
198
|
+
return f instanceof Error && /\b401\b/.test(f.message);
|
|
199
|
+
}
|
|
200
|
+
const E = () => {
|
|
196
201
|
s.start().then(() => {
|
|
197
|
-
|
|
198
|
-
}).catch((
|
|
199
|
-
|
|
202
|
+
l = 0, Ke.info("Connected.");
|
|
203
|
+
}).catch((f) => {
|
|
204
|
+
if (Ke.error("Connection Error: ", f), u(f)) {
|
|
205
|
+
Ke.warn("Not authenticated — stopping reconnect attempts until sign-in.");
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const d = Math.min(o * 2 ** l, r);
|
|
209
|
+
l++, c = setTimeout(() => E(), d);
|
|
200
210
|
});
|
|
201
211
|
};
|
|
202
|
-
async function
|
|
203
|
-
await s.stop();
|
|
212
|
+
async function m() {
|
|
213
|
+
clearTimeout(c), c = void 0, await s.stop();
|
|
204
214
|
}
|
|
205
215
|
s.onclose(() => {
|
|
206
|
-
n &&
|
|
207
|
-
}), s.on("Send", (
|
|
208
|
-
t.ingest(
|
|
209
|
-
}), s.on("SendSystemEvents", (
|
|
210
|
-
t.ingest(
|
|
216
|
+
n && E();
|
|
217
|
+
}), s.on("Send", (f) => {
|
|
218
|
+
t.ingest(f);
|
|
219
|
+
}), s.on("SendSystemEvents", (f) => {
|
|
220
|
+
t.ingest(f, { broadcast: !0 });
|
|
211
221
|
}), ae(
|
|
212
222
|
a,
|
|
213
|
-
async (
|
|
214
|
-
|
|
223
|
+
async (f) => {
|
|
224
|
+
f ? (n = !0, l = 0, E()) : (n = !1, await m());
|
|
215
225
|
},
|
|
216
226
|
{ immediate: !0 }
|
|
217
227
|
);
|
|
218
228
|
}
|
|
219
229
|
};
|
|
220
|
-
function
|
|
221
|
-
const t = Q(
|
|
230
|
+
function Ll(e) {
|
|
231
|
+
const t = Q(cn, void 0);
|
|
222
232
|
return {
|
|
223
233
|
read: () => t ? t.read(e) : {}
|
|
224
234
|
};
|
|
225
235
|
}
|
|
226
|
-
const
|
|
227
|
-
function
|
|
236
|
+
const ws = k("modularity");
|
|
237
|
+
function Et(e) {
|
|
228
238
|
const { blades: t, locales: a, notificationTemplates: n, notifications: s } = e;
|
|
229
239
|
return {
|
|
230
240
|
install(o) {
|
|
231
|
-
const r =
|
|
241
|
+
const r = fe();
|
|
232
242
|
if (t && Object.keys(t).length > 0) {
|
|
233
243
|
const l = o.runWithContext(() => Q(Ut));
|
|
234
244
|
if (!l?._registerBladeFn)
|
|
235
|
-
|
|
245
|
+
ws.error("defineAppModule: BladeRegistry not found. Blade registration will be skipped.");
|
|
236
246
|
else
|
|
237
247
|
for (const [c, u] of Object.entries(t)) {
|
|
238
248
|
const E = u.name || c;
|
|
@@ -265,7 +275,7 @@ function dt(e) {
|
|
|
265
275
|
c.filter((E) => !r.registry.has(E)).length > 0 && r.subscribe({
|
|
266
276
|
types: c,
|
|
267
277
|
handler: (E) => {
|
|
268
|
-
E.title &&
|
|
278
|
+
E.title && J(E.title, {
|
|
269
279
|
onClose() {
|
|
270
280
|
r.markAsRead(E);
|
|
271
281
|
}
|
|
@@ -276,18 +286,18 @@ function dt(e) {
|
|
|
276
286
|
}
|
|
277
287
|
if (a)
|
|
278
288
|
for (const [l, c] of Object.entries(a))
|
|
279
|
-
|
|
289
|
+
z.global.mergeLocaleMessage(l, c);
|
|
280
290
|
}
|
|
281
291
|
};
|
|
282
292
|
}
|
|
283
|
-
function
|
|
284
|
-
return
|
|
293
|
+
function Ol(e, t, a, n) {
|
|
294
|
+
return Et({
|
|
285
295
|
blades: e,
|
|
286
296
|
locales: t,
|
|
287
297
|
notificationTemplates: a
|
|
288
298
|
});
|
|
289
299
|
}
|
|
290
|
-
async function
|
|
300
|
+
async function Cs(e, t, a, n, s, o) {
|
|
291
301
|
if (!a.workspaceUrl) return !1;
|
|
292
302
|
const r = t.getBladeByRoute(a.workspaceUrl);
|
|
293
303
|
if (!r)
|
|
@@ -297,7 +307,7 @@ async function Rs(e, t, a, n, s, o) {
|
|
|
297
307
|
`[restoreFromUrl] Blade '${r.name}' matched URL '${a.workspaceUrl}' but is not a workspace`
|
|
298
308
|
), s && Ge(s, o), !1;
|
|
299
309
|
if (n && r.data.permissions && !n(r.data.permissions))
|
|
300
|
-
return console.warn(`[restoreFromUrl] Access denied to workspace '${r.name}'`),
|
|
310
|
+
return console.warn(`[restoreFromUrl] Access denied to workspace '${r.name}'`), J.error(z.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }), s && Ge(s, o), !1;
|
|
301
311
|
if (e.workspace.value?.name !== r.name && await e.openWorkspace({ name: r.name }), a.bladeUrl) {
|
|
302
312
|
const c = t.getBladeByRoute(a.bladeUrl);
|
|
303
313
|
if (c) {
|
|
@@ -315,7 +325,7 @@ async function Rs(e, t, a, n, s, o) {
|
|
|
315
325
|
}
|
|
316
326
|
return !1;
|
|
317
327
|
}
|
|
318
|
-
async function
|
|
328
|
+
async function St(e) {
|
|
319
329
|
for (; e.blades.value.length > 1; ) {
|
|
320
330
|
const t = e.blades.value, a = t[t.length - 1];
|
|
321
331
|
if (await e.closeBlade(a.id) || e.blades.value.length >= t.length)
|
|
@@ -323,28 +333,28 @@ async function gt(e) {
|
|
|
323
333
|
}
|
|
324
334
|
return e.blades.value.length > 0 && e._restoreStack([]), !0;
|
|
325
335
|
}
|
|
326
|
-
async function
|
|
336
|
+
async function Ps(e, t, a, n, s) {
|
|
327
337
|
if (!e.matched.some((E) => E.meta?.root)) return;
|
|
328
338
|
if (!e.matched.some((E) => E.meta?.bladeCatchAll))
|
|
329
|
-
return t.blades.value.length > 0 && !await
|
|
330
|
-
const r = Object.values(e.params)?.[0] || "", l =
|
|
339
|
+
return t.blades.value.length > 0 && !await St(t) ? !1 : void 0;
|
|
340
|
+
const r = Object.values(e.params)?.[0] || "", l = dn(e.path, r);
|
|
331
341
|
if (!l.workspaceUrl)
|
|
332
|
-
return t.blades.value.length > 0 && !await
|
|
342
|
+
return t.blades.value.length > 0 && !await St(t) ? !1 : void 0;
|
|
333
343
|
const c = Object.fromEntries(Object.entries(e.params).filter(([, E]) => typeof E == "string"));
|
|
334
|
-
if (await
|
|
335
|
-
const { path: E, query: m } =
|
|
344
|
+
if (await Cs(t, a, l, n, s, c)) {
|
|
345
|
+
const { path: E, query: m } = En(r, t.blades.value);
|
|
336
346
|
return { path: E, query: m, replace: !0 };
|
|
337
347
|
}
|
|
338
348
|
}
|
|
339
|
-
const
|
|
349
|
+
const bs = {
|
|
340
350
|
install(e, t) {
|
|
341
351
|
const { router: a } = t, n = {
|
|
342
352
|
router: t.router
|
|
343
353
|
};
|
|
344
|
-
|
|
354
|
+
ss(n);
|
|
345
355
|
const s = e.runWithContext(() => {
|
|
346
356
|
try {
|
|
347
|
-
return
|
|
357
|
+
return fn();
|
|
348
358
|
} catch {
|
|
349
359
|
console.warn(
|
|
350
360
|
"[BladeNavigationPlugin] BladeRegistry not yet available. BladeStack will be created but URL restoration may be deferred."
|
|
@@ -356,20 +366,20 @@ const Is = {
|
|
|
356
366
|
console.error("[BladeNavigationPlugin] BladeRegistry is required but not found.");
|
|
357
367
|
return;
|
|
358
368
|
}
|
|
359
|
-
const { hasAccess: o } = e.runWithContext(() =>
|
|
360
|
-
r.current = c, e.provide(
|
|
361
|
-
const u =
|
|
362
|
-
e.provide(
|
|
369
|
+
const { hasAccess: o } = e.runWithContext(() => st()), r = {}, l = gn(a, () => r.current), c = ts(s, o, l);
|
|
370
|
+
r.current = c, e.provide(Dn, c), as(c);
|
|
371
|
+
const u = mn(c);
|
|
372
|
+
e.provide(yn, u), ns(u), os(s);
|
|
363
373
|
const E = a.getRoutes().find((m) => m.meta?.root);
|
|
364
374
|
E && a.addRoute(E.name, {
|
|
365
375
|
path: ":pathMatch(.*)*",
|
|
366
376
|
component: { render: () => null },
|
|
367
377
|
meta: { bladeCatchAll: !0 }
|
|
368
378
|
}), a.beforeEach(
|
|
369
|
-
(m) => l.suppressWhile(() =>
|
|
379
|
+
(m) => l.suppressWhile(() => Ps(m, c, s, o, a))
|
|
370
380
|
);
|
|
371
381
|
}
|
|
372
|
-
},
|
|
382
|
+
}, Ns = {
|
|
373
383
|
input: {
|
|
374
384
|
maxlength: 1024,
|
|
375
385
|
debounce: 0,
|
|
@@ -419,10 +429,10 @@ const Is = {
|
|
|
419
429
|
gap: 20
|
|
420
430
|
}
|
|
421
431
|
};
|
|
422
|
-
function
|
|
423
|
-
return
|
|
432
|
+
function Rl(e) {
|
|
433
|
+
return Ns[e];
|
|
424
434
|
}
|
|
425
|
-
const
|
|
435
|
+
const ft = /* @__PURE__ */ H({
|
|
426
436
|
__name: "vc-popup-base",
|
|
427
437
|
props: {
|
|
428
438
|
title: {},
|
|
@@ -442,50 +452,50 @@ const Et = /* @__PURE__ */ H({
|
|
|
442
452
|
function s(o) {
|
|
443
453
|
n("confirm"), a.closeOnConfirm && o();
|
|
444
454
|
}
|
|
445
|
-
return (o, r) => (
|
|
455
|
+
return (o, r) => (P(), D(Sn, {
|
|
446
456
|
variant: e.variant,
|
|
447
457
|
"is-mobile-fullscreen": e.isMobileFullscreen,
|
|
448
458
|
title: e.title,
|
|
449
459
|
closable: e.closable,
|
|
450
460
|
onClose: r[0] || (r[0] = (l) => o.$emit("close"))
|
|
451
|
-
},
|
|
452
|
-
content:
|
|
461
|
+
}, Le({
|
|
462
|
+
content: T(() => [
|
|
453
463
|
Y(o.$slots, "default")
|
|
454
464
|
]),
|
|
455
|
-
footer:
|
|
465
|
+
footer: T(({ close: l }) => [
|
|
456
466
|
Y(o.$slots, "footer", {
|
|
457
467
|
close: l,
|
|
458
468
|
confirm: () => s(l)
|
|
459
469
|
}, () => [
|
|
460
470
|
U("div", {
|
|
461
|
-
class:
|
|
471
|
+
class: Xa(["vc-popup-base__actions", {
|
|
462
472
|
"vc-popup-base__actions--confirm": e.mode === "confirm",
|
|
463
473
|
"vc-popup-base__actions--single": e.mode === "acknowledge"
|
|
464
474
|
}])
|
|
465
475
|
}, [
|
|
466
|
-
e.mode === "confirm" ? (
|
|
467
|
-
|
|
476
|
+
e.mode === "confirm" ? (P(), W(ne, { key: 0 }, [
|
|
477
|
+
R(i(x), {
|
|
468
478
|
text: e.confirmAsText,
|
|
469
479
|
class: "vc-popup-base__confirm",
|
|
470
480
|
onClick: (c) => s(l)
|
|
471
481
|
}, {
|
|
472
|
-
default:
|
|
482
|
+
default: T(() => [
|
|
473
483
|
M(y(e.confirmLabel), 1)
|
|
474
484
|
]),
|
|
475
485
|
_: 1
|
|
476
486
|
}, 8, ["text", "onClick"]),
|
|
477
|
-
|
|
478
|
-
default:
|
|
487
|
+
R(i(x), { onClick: l }, {
|
|
488
|
+
default: T(() => [
|
|
479
489
|
M(y(e.cancelLabel), 1)
|
|
480
490
|
]),
|
|
481
491
|
_: 1
|
|
482
492
|
}, 8, ["onClick"])
|
|
483
|
-
], 64)) : (
|
|
493
|
+
], 64)) : (P(), D(i(x), {
|
|
484
494
|
key: 1,
|
|
485
495
|
class: "vc-popup-base__single",
|
|
486
496
|
onClick: l
|
|
487
497
|
}, {
|
|
488
|
-
default:
|
|
498
|
+
default: T(() => [
|
|
489
499
|
M(y(e.actionLabel), 1)
|
|
490
500
|
]),
|
|
491
501
|
_: 1
|
|
@@ -497,21 +507,21 @@ const Et = /* @__PURE__ */ H({
|
|
|
497
507
|
}, [
|
|
498
508
|
o.$slots.header ? {
|
|
499
509
|
name: "header",
|
|
500
|
-
fn:
|
|
510
|
+
fn: T(() => [
|
|
501
511
|
Y(o.$slots, "header")
|
|
502
512
|
]),
|
|
503
513
|
key: "0"
|
|
504
514
|
} : void 0
|
|
505
515
|
]), 1032, ["variant", "is-mobile-fullscreen", "title", "closable"]));
|
|
506
516
|
}
|
|
507
|
-
}),
|
|
517
|
+
}), Ds = /* @__PURE__ */ H({
|
|
508
518
|
__name: "vc-popup-warning",
|
|
509
519
|
props: {
|
|
510
520
|
title: {}
|
|
511
521
|
},
|
|
512
522
|
emits: ["close", "confirm"],
|
|
513
523
|
setup(e) {
|
|
514
|
-
return (t, a) => (
|
|
524
|
+
return (t, a) => (P(), D(ft, {
|
|
515
525
|
variant: "warning",
|
|
516
526
|
mode: "confirm",
|
|
517
527
|
"confirm-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM"),
|
|
@@ -520,71 +530,71 @@ const Et = /* @__PURE__ */ H({
|
|
|
520
530
|
title: e.title,
|
|
521
531
|
onClose: a[0] || (a[0] = (n) => t.$emit("close")),
|
|
522
532
|
onConfirm: a[1] || (a[1] = (n) => t.$emit("confirm"))
|
|
523
|
-
},
|
|
524
|
-
default:
|
|
533
|
+
}, Le({
|
|
534
|
+
default: T(() => [
|
|
525
535
|
Y(t.$slots, "default")
|
|
526
536
|
]),
|
|
527
537
|
_: 2
|
|
528
538
|
}, [
|
|
529
539
|
t.$slots.header ? {
|
|
530
540
|
name: "header",
|
|
531
|
-
fn:
|
|
541
|
+
fn: T(() => [
|
|
532
542
|
Y(t.$slots, "header")
|
|
533
543
|
]),
|
|
534
544
|
key: "0"
|
|
535
545
|
} : void 0
|
|
536
546
|
]), 1032, ["confirm-label", "cancel-label", "title"]));
|
|
537
547
|
}
|
|
538
|
-
}),
|
|
548
|
+
}), ys = /* @__PURE__ */ H({
|
|
539
549
|
__name: "vc-popup-error",
|
|
540
550
|
props: {
|
|
541
551
|
title: {}
|
|
542
552
|
},
|
|
543
553
|
emits: ["close"],
|
|
544
554
|
setup(e) {
|
|
545
|
-
return (t, a) => (
|
|
555
|
+
return (t, a) => (P(), D(ft, {
|
|
546
556
|
variant: "error",
|
|
547
557
|
mode: "acknowledge",
|
|
548
558
|
"action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
|
|
549
559
|
title: e.title,
|
|
550
560
|
onClose: a[0] || (a[0] = (n) => t.$emit("close"))
|
|
551
|
-
},
|
|
552
|
-
default:
|
|
561
|
+
}, Le({
|
|
562
|
+
default: T(() => [
|
|
553
563
|
Y(t.$slots, "default")
|
|
554
564
|
]),
|
|
555
565
|
_: 2
|
|
556
566
|
}, [
|
|
557
567
|
t.$slots.header ? {
|
|
558
568
|
name: "header",
|
|
559
|
-
fn:
|
|
569
|
+
fn: T(() => [
|
|
560
570
|
Y(t.$slots, "header")
|
|
561
571
|
]),
|
|
562
572
|
key: "0"
|
|
563
573
|
} : void 0
|
|
564
574
|
]), 1032, ["action-label", "title"]));
|
|
565
575
|
}
|
|
566
|
-
}),
|
|
576
|
+
}), Bs = /* @__PURE__ */ H({
|
|
567
577
|
__name: "vc-popup-info",
|
|
568
578
|
props: {
|
|
569
579
|
title: {}
|
|
570
580
|
},
|
|
571
581
|
emits: ["close"],
|
|
572
582
|
setup(e) {
|
|
573
|
-
return (t, a) => (
|
|
583
|
+
return (t, a) => (P(), D(ft, {
|
|
574
584
|
variant: "info",
|
|
575
585
|
mode: "acknowledge",
|
|
576
586
|
"action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
|
|
577
587
|
title: e.title,
|
|
578
588
|
onClose: a[0] || (a[0] = (n) => t.$emit("close"))
|
|
579
|
-
},
|
|
580
|
-
default:
|
|
589
|
+
}, Le({
|
|
590
|
+
default: T(() => [
|
|
581
591
|
Y(t.$slots, "default")
|
|
582
592
|
]),
|
|
583
593
|
_: 2
|
|
584
594
|
}, [
|
|
585
595
|
t.$slots.header ? {
|
|
586
596
|
name: "header",
|
|
587
|
-
fn:
|
|
597
|
+
fn: T(() => [
|
|
588
598
|
Y(t.$slots, "header")
|
|
589
599
|
]),
|
|
590
600
|
key: "0"
|
|
@@ -592,18 +602,18 @@ const Et = /* @__PURE__ */ H({
|
|
|
592
602
|
]), 1032, ["action-label", "title"]));
|
|
593
603
|
}
|
|
594
604
|
});
|
|
595
|
-
function
|
|
596
|
-
xe("warning",
|
|
605
|
+
function Ms() {
|
|
606
|
+
xe("warning", Ds), xe("error", ys), xe("info", Bs);
|
|
597
607
|
}
|
|
598
|
-
const
|
|
608
|
+
const ks = {
|
|
599
609
|
install(e) {
|
|
600
610
|
const a = {
|
|
601
|
-
popups:
|
|
611
|
+
popups: Ja([])
|
|
602
612
|
};
|
|
603
|
-
e.config.globalProperties.$popupPlugin = a, e.provide(
|
|
613
|
+
e.config.globalProperties.$popupPlugin = a, e.provide(An, a), pn(a), Ms();
|
|
604
614
|
}
|
|
605
615
|
};
|
|
606
|
-
function
|
|
616
|
+
function Vs(e, t) {
|
|
607
617
|
let a = null;
|
|
608
618
|
return function(...n) {
|
|
609
619
|
a && clearTimeout(a), a = window.setTimeout(() => {
|
|
@@ -611,20 +621,20 @@ function Ds(e, t) {
|
|
|
611
621
|
}, t);
|
|
612
622
|
};
|
|
613
623
|
}
|
|
614
|
-
function
|
|
624
|
+
function Us(e, t = 0) {
|
|
615
625
|
setTimeout(e, t);
|
|
616
626
|
}
|
|
617
|
-
const
|
|
618
|
-
function
|
|
627
|
+
const ze = /* @__PURE__ */ new WeakMap();
|
|
628
|
+
function Fs(e) {
|
|
619
629
|
return function(...t) {
|
|
620
|
-
if (!
|
|
630
|
+
if (!ze.has(e)) {
|
|
621
631
|
const a = e(...t);
|
|
622
|
-
|
|
632
|
+
ze.set(e, a);
|
|
623
633
|
}
|
|
624
|
-
return
|
|
634
|
+
return ze.get(e);
|
|
625
635
|
};
|
|
626
636
|
}
|
|
627
|
-
function
|
|
637
|
+
function Ws(e, t) {
|
|
628
638
|
let a = !1;
|
|
629
639
|
return function(...n) {
|
|
630
640
|
a || (e(...n), a = !0, setTimeout(() => {
|
|
@@ -632,26 +642,26 @@ function Ms(e, t) {
|
|
|
632
642
|
}, t));
|
|
633
643
|
};
|
|
634
644
|
}
|
|
635
|
-
function
|
|
645
|
+
function _l() {
|
|
636
646
|
return {
|
|
637
|
-
debounce:
|
|
638
|
-
delay:
|
|
639
|
-
once:
|
|
640
|
-
throttle:
|
|
647
|
+
debounce: Vs,
|
|
648
|
+
delay: Us,
|
|
649
|
+
once: Fs,
|
|
650
|
+
throttle: Ws
|
|
641
651
|
};
|
|
642
652
|
}
|
|
643
|
-
function
|
|
644
|
-
const t =
|
|
653
|
+
function Il(e) {
|
|
654
|
+
const t = fe(), a = e ? Array.isArray(e) ? e : [e] : [];
|
|
645
655
|
let n, s;
|
|
646
656
|
a.length && (s = t.subscribe({
|
|
647
657
|
types: a,
|
|
648
658
|
handler: (r) => n?.(r)
|
|
649
|
-
}),
|
|
650
|
-
const o =
|
|
659
|
+
}), rt() && it(() => s?.()));
|
|
660
|
+
const o = v(() => a.length ? t.realtime.value.filter(
|
|
651
661
|
(r) => r.isNew && r.notifyType != null && a.includes(r.notifyType)
|
|
652
662
|
) : []);
|
|
653
663
|
return {
|
|
654
|
-
notifications:
|
|
664
|
+
notifications: v(() => fs(t.history.value, ["created"], ["desc"])),
|
|
655
665
|
moduleNotifications: o,
|
|
656
666
|
loadFromHistory: t.loadHistory,
|
|
657
667
|
addNotification: t.ingest,
|
|
@@ -662,24 +672,24 @@ function vl(e) {
|
|
|
662
672
|
}
|
|
663
673
|
};
|
|
664
674
|
}
|
|
665
|
-
let
|
|
666
|
-
const
|
|
675
|
+
let qe;
|
|
676
|
+
const Hs = k("use-async");
|
|
667
677
|
function Xt(e, t) {
|
|
668
|
-
const a =
|
|
678
|
+
const a = b(!1), n = b(null), s = t?.notify !== !1, o = t?.notifyTimeout ?? 8e3;
|
|
669
679
|
async function r(l, ...c) {
|
|
670
680
|
a.value = !0, n.value = null;
|
|
671
681
|
try {
|
|
672
682
|
return await e(l, ...c);
|
|
673
683
|
} catch (u) {
|
|
674
684
|
const E = Pe(u);
|
|
675
|
-
if (n.value = E,
|
|
685
|
+
if (n.value = E, Hs.error("Async action failed:", u), s && !et() && u && typeof u == "object") {
|
|
676
686
|
const m = `async-error-${E.message.slice(0, 80)}`, f = setTimeout(async () => {
|
|
677
|
-
|
|
687
|
+
qe || (qe = (await import("./chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js").then((S) => S.b0)).notification), qe.error(E.message, {
|
|
678
688
|
timeout: o,
|
|
679
689
|
notificationId: m
|
|
680
690
|
});
|
|
681
691
|
}, 0);
|
|
682
|
-
|
|
692
|
+
Va(u, f, m);
|
|
683
693
|
}
|
|
684
694
|
throw u;
|
|
685
695
|
} finally {
|
|
@@ -692,7 +702,7 @@ function Xt(e, t) {
|
|
|
692
702
|
action: r
|
|
693
703
|
};
|
|
694
704
|
}
|
|
695
|
-
function
|
|
705
|
+
function Gs(e) {
|
|
696
706
|
async function t() {
|
|
697
707
|
return new e();
|
|
698
708
|
}
|
|
@@ -701,11 +711,11 @@ function Vs(e) {
|
|
|
701
711
|
};
|
|
702
712
|
}
|
|
703
713
|
function Jt(...e) {
|
|
704
|
-
return
|
|
714
|
+
return v(() => e.some((t) => t.value));
|
|
705
715
|
}
|
|
706
|
-
const
|
|
716
|
+
const xs = k("use-settings");
|
|
707
717
|
function we() {
|
|
708
|
-
const e =
|
|
718
|
+
const e = b(), t = b(!1), { getApiClient: a } = Gs(Bn), { loading: n, action: s } = Xt(async () => {
|
|
709
719
|
if (t.value) return;
|
|
710
720
|
const r = await (await a()).getUICustomizationSetting();
|
|
711
721
|
let l = null;
|
|
@@ -713,7 +723,7 @@ function we() {
|
|
|
713
723
|
try {
|
|
714
724
|
l = JSON.parse(r.defaultValue);
|
|
715
725
|
} catch (c) {
|
|
716
|
-
|
|
726
|
+
xs.warn("Failed to parse UI customization settings JSON; ignoring.", c);
|
|
717
727
|
}
|
|
718
728
|
l && !e.value && (e.value = {
|
|
719
729
|
contrast_logo: l.contrast_logo,
|
|
@@ -730,75 +740,80 @@ function we() {
|
|
|
730
740
|
role: r.role
|
|
731
741
|
};
|
|
732
742
|
}
|
|
733
|
-
return
|
|
743
|
+
return Oe(async () => {
|
|
734
744
|
!e.value && !t.value && await s();
|
|
735
745
|
}), {
|
|
736
|
-
uiSettings:
|
|
746
|
+
uiSettings: v(() => e.value ?? {}),
|
|
737
747
|
applySettings: o,
|
|
738
748
|
loading: Jt(n)
|
|
739
749
|
};
|
|
740
750
|
}
|
|
741
|
-
function
|
|
742
|
-
const e =
|
|
751
|
+
function vl() {
|
|
752
|
+
const e = b(!1);
|
|
743
753
|
let t = 0, a = !1;
|
|
744
754
|
function n() {
|
|
745
|
-
const
|
|
746
|
-
let
|
|
755
|
+
const l = ++t;
|
|
756
|
+
let c = !1;
|
|
747
757
|
return a || (e.value = !0), {
|
|
748
|
-
isCurrent: () => !a &&
|
|
758
|
+
isCurrent: () => !a && l === t,
|
|
749
759
|
complete: () => {
|
|
750
|
-
|
|
760
|
+
c || (c = !0, !a && l === t && (e.value = !1));
|
|
751
761
|
}
|
|
752
762
|
};
|
|
753
763
|
}
|
|
754
|
-
function s() {
|
|
755
|
-
|
|
764
|
+
async function s(l) {
|
|
765
|
+
const c = n();
|
|
766
|
+
try {
|
|
767
|
+
const u = await l;
|
|
768
|
+
return c.isCurrent() ? u : void 0;
|
|
769
|
+
} finally {
|
|
770
|
+
c.complete();
|
|
771
|
+
}
|
|
756
772
|
}
|
|
757
773
|
function o() {
|
|
758
|
-
|
|
774
|
+
t++, e.value = !1;
|
|
775
|
+
}
|
|
776
|
+
function r() {
|
|
777
|
+
a = !0, o();
|
|
759
778
|
}
|
|
760
|
-
return
|
|
779
|
+
return rt() && it(r), {
|
|
780
|
+
latest: s,
|
|
761
781
|
begin: n,
|
|
762
|
-
invalidate:
|
|
763
|
-
dispose:
|
|
782
|
+
invalidate: o,
|
|
783
|
+
dispose: r,
|
|
764
784
|
pending: Me(e)
|
|
765
785
|
};
|
|
766
786
|
}
|
|
767
|
-
const
|
|
768
|
-
async function
|
|
787
|
+
const Qt = 4;
|
|
788
|
+
async function $s(e, t, a, n) {
|
|
769
789
|
const s = new FormData();
|
|
770
790
|
s.append("file", e);
|
|
771
|
-
const
|
|
791
|
+
const o = t.startsWith("/") ? t.slice(1) : t, l = await (await fetch(`/api/assets?folderUrl=/${o}`, {
|
|
772
792
|
method: "POST",
|
|
773
793
|
body: s
|
|
774
794
|
})).json();
|
|
775
|
-
if (
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
795
|
+
if (!l?.length) return null;
|
|
796
|
+
const c = l[0];
|
|
797
|
+
return c.createdDate = /* @__PURE__ */ new Date(), c.sortOrder = n !== void 0 && n >= 0 ? n + a + 1 : 0, c.url = c.url ? decodeURI(c.url) : "", "size" in c && (c.size = e.size), c;
|
|
798
|
+
}
|
|
799
|
+
async function ea(e, { uploadPath: t, startingSortOrder: a, concurrency: n = Qt }) {
|
|
800
|
+
const s = Array.from(e), o = [];
|
|
801
|
+
for (let r = 0; r < s.length; r += n) {
|
|
802
|
+
const l = s.slice(r, r + n), c = await Promise.all(
|
|
803
|
+
l.map((u, E) => $s(u, t, r + E, a))
|
|
804
|
+
);
|
|
805
|
+
o.push(...c);
|
|
786
806
|
}
|
|
787
|
-
return
|
|
807
|
+
return o.filter((r) => r !== null);
|
|
788
808
|
}
|
|
789
|
-
|
|
790
|
-
|
|
809
|
+
const At = k("use-assets");
|
|
810
|
+
function wl() {
|
|
811
|
+
const e = b(!1);
|
|
791
812
|
async function t(s, o, r) {
|
|
792
813
|
try {
|
|
793
|
-
e.value = !0;
|
|
794
|
-
const l = Array.from(s);
|
|
795
|
-
return (await Hs(
|
|
796
|
-
l,
|
|
797
|
-
(u, E) => Ws(u, o, E, r),
|
|
798
|
-
Fs
|
|
799
|
-
)).filter((u) => u !== null);
|
|
814
|
+
return e.value = !0, await ea(s, { uploadPath: o, startingSortOrder: r });
|
|
800
815
|
} catch (l) {
|
|
801
|
-
throw
|
|
816
|
+
throw At.error("Upload failed:", l), l;
|
|
802
817
|
} finally {
|
|
803
818
|
e.value = !1;
|
|
804
819
|
}
|
|
@@ -806,10 +821,10 @@ function Cl() {
|
|
|
806
821
|
function a(s, o, r = "url") {
|
|
807
822
|
try {
|
|
808
823
|
e.value = !0;
|
|
809
|
-
let l =
|
|
810
|
-
return l && l.length && s.length > 0 && (l =
|
|
824
|
+
let l = X(o) || [];
|
|
825
|
+
return l && l.length && s.length > 0 && (l = ms(l, s, (c, u) => c[r] === u[r])), l;
|
|
811
826
|
} catch (l) {
|
|
812
|
-
throw
|
|
827
|
+
throw At.error("Remove failed:", l), l;
|
|
813
828
|
} finally {
|
|
814
829
|
e.value = !1;
|
|
815
830
|
}
|
|
@@ -817,7 +832,7 @@ function Cl() {
|
|
|
817
832
|
function n(s, o) {
|
|
818
833
|
if (s.length === o.length)
|
|
819
834
|
return s.map((l) => ({ ...l }));
|
|
820
|
-
const r =
|
|
835
|
+
const r = X(o) || [];
|
|
821
836
|
return r && r.length && s.forEach((l) => {
|
|
822
837
|
const c = r.findIndex((u) => u.url === l.url);
|
|
823
838
|
c !== -1 && (r[c] = { ...r[c], ...l });
|
|
@@ -827,39 +842,18 @@ function Cl() {
|
|
|
827
842
|
upload: t,
|
|
828
843
|
remove: a,
|
|
829
844
|
edit: n,
|
|
830
|
-
loading:
|
|
845
|
+
loading: v(() => e.value)
|
|
831
846
|
};
|
|
832
847
|
}
|
|
833
|
-
const
|
|
834
|
-
async function $s(e, t, a, n) {
|
|
835
|
-
const s = new FormData();
|
|
836
|
-
s.append("file", e);
|
|
837
|
-
const o = t.startsWith("/") ? t.slice(1) : t, l = await (await fetch(`/api/assets?folderUrl=/${o}`, {
|
|
838
|
-
method: "POST",
|
|
839
|
-
body: s
|
|
840
|
-
})).json();
|
|
841
|
-
if (l?.length) {
|
|
842
|
-
const c = l[0];
|
|
843
|
-
return c.createdDate = /* @__PURE__ */ new Date(), c.sortOrder = n !== void 0 && n >= 0 ? n + a + 1 : 0, c.url = c.url ? decodeURI(c.url) : "", "size" in c && (c.size = e.size), c;
|
|
844
|
-
}
|
|
845
|
-
return null;
|
|
846
|
-
}
|
|
847
|
-
async function Ks(e, t, a) {
|
|
848
|
-
const n = [];
|
|
849
|
-
for (let s = 0; s < e.length; s += a) {
|
|
850
|
-
const o = e.slice(s, s + a), r = await Promise.all(o.map((l, c) => t(l, s + c)));
|
|
851
|
-
n.push(...r);
|
|
852
|
-
}
|
|
853
|
-
return n;
|
|
854
|
-
}
|
|
848
|
+
const Ks = k("use-assets-manager");
|
|
855
849
|
function pt(e) {
|
|
856
850
|
return e.map((t, a) => ({ item: t, index: a })).sort((t, a) => {
|
|
857
851
|
const n = t.item.sortOrder ?? Number.MAX_SAFE_INTEGER, s = a.item.sortOrder ?? Number.MAX_SAFE_INTEGER;
|
|
858
852
|
return n === s ? t.index - a.index : n - s;
|
|
859
853
|
}).map(({ item: t }, a) => ({ ...t, sortOrder: a }));
|
|
860
854
|
}
|
|
861
|
-
function
|
|
862
|
-
const a =
|
|
855
|
+
function Cl(e, t) {
|
|
856
|
+
const a = b(!1), n = b(pt(e.value ?? []));
|
|
863
857
|
ae(
|
|
864
858
|
() => e.value,
|
|
865
859
|
(S) => {
|
|
@@ -870,18 +864,14 @@ function Pl(e, t) {
|
|
|
870
864
|
function s() {
|
|
871
865
|
e.value = n.value;
|
|
872
866
|
}
|
|
873
|
-
const o = n, r =
|
|
867
|
+
const o = n, r = v(() => a.value), l = t.concurrency ?? Qt, c = t.assetKey ?? "url";
|
|
874
868
|
async function u(S, L) {
|
|
875
869
|
try {
|
|
876
870
|
a.value = !0;
|
|
877
|
-
const
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
)).filter((h) => h !== null);
|
|
882
|
-
n.value = [...n.value, ...O], s();
|
|
883
|
-
} catch (T) {
|
|
884
|
-
throw Gs.error("Upload failed:", T), T;
|
|
871
|
+
const h = t.uploadPath(), A = await ea(S, { uploadPath: h, startingSortOrder: L, concurrency: l });
|
|
872
|
+
n.value = [...n.value, ...A], s();
|
|
873
|
+
} catch (h) {
|
|
874
|
+
throw Ks.error("Upload failed:", h), h;
|
|
885
875
|
} finally {
|
|
886
876
|
a.value = !1;
|
|
887
877
|
}
|
|
@@ -892,17 +882,17 @@ function Pl(e, t) {
|
|
|
892
882
|
async function m(S) {
|
|
893
883
|
if (t.confirmRemove && !await t.confirmRemove())
|
|
894
884
|
return;
|
|
895
|
-
const L = new Set(S.map((
|
|
896
|
-
n.value = n.value.filter((
|
|
885
|
+
const L = new Set(S.map((h) => h[c]));
|
|
886
|
+
n.value = n.value.filter((h) => !L.has(h[c])), s();
|
|
897
887
|
}
|
|
898
888
|
function f(S) {
|
|
899
889
|
n.value = S.map((L) => ({ ...L })), s();
|
|
900
890
|
}
|
|
901
891
|
function d(S) {
|
|
902
|
-
const L = n.value.findIndex((
|
|
892
|
+
const L = n.value.findIndex((h) => h[c] === S[c]);
|
|
903
893
|
if (L !== -1) {
|
|
904
|
-
const
|
|
905
|
-
|
|
894
|
+
const h = [...n.value];
|
|
895
|
+
h[L] = { ...n.value[L], ...S }, n.value = h, s();
|
|
906
896
|
}
|
|
907
897
|
}
|
|
908
898
|
return {
|
|
@@ -916,9 +906,9 @@ function Pl(e, t) {
|
|
|
916
906
|
};
|
|
917
907
|
}
|
|
918
908
|
const zs = (e) => {
|
|
919
|
-
|
|
909
|
+
Qa(() => {
|
|
920
910
|
window.addEventListener("beforeunload", t);
|
|
921
|
-
}),
|
|
911
|
+
}), en(() => {
|
|
922
912
|
window.removeEventListener("beforeunload", t);
|
|
923
913
|
});
|
|
924
914
|
function t(a) {
|
|
@@ -928,8 +918,8 @@ const zs = (e) => {
|
|
|
928
918
|
modified: e
|
|
929
919
|
};
|
|
930
920
|
}, qs = k("use-breadcrumbs");
|
|
931
|
-
function
|
|
932
|
-
const e =
|
|
921
|
+
function Pl() {
|
|
922
|
+
const e = tn([]);
|
|
933
923
|
function t(s) {
|
|
934
924
|
const o = e.value.findIndex((r) => r.id === s);
|
|
935
925
|
o !== -1 && (e.value = e.value.slice(0, o + 1));
|
|
@@ -955,45 +945,21 @@ function bl() {
|
|
|
955
945
|
e.value = e.value.filter((o) => !s.includes(o.id));
|
|
956
946
|
}
|
|
957
947
|
return {
|
|
958
|
-
breadcrumbs:
|
|
948
|
+
breadcrumbs: v(() => e.value),
|
|
959
949
|
push: a,
|
|
960
950
|
remove: n
|
|
961
951
|
};
|
|
962
952
|
}
|
|
963
|
-
|
|
964
|
-
return !!(e == null || typeof e == "number" && isNaN(e) || typeof e == "string" && e.trim().length === 0 || typeof e == "object" && Object.keys(e).length === 0);
|
|
965
|
-
}
|
|
966
|
-
function fe(e) {
|
|
967
|
-
return !!e.multilanguage;
|
|
968
|
-
}
|
|
969
|
-
function Le(e) {
|
|
970
|
-
return !!e.multivalue;
|
|
971
|
-
}
|
|
972
|
-
function At(e) {
|
|
973
|
-
return !!e.dictionary;
|
|
974
|
-
}
|
|
975
|
-
function Ys(e) {
|
|
976
|
-
return e.valueType === "Measure";
|
|
977
|
-
}
|
|
978
|
-
function js(e) {
|
|
979
|
-
return e.valueType === "Color";
|
|
980
|
-
}
|
|
981
|
-
function F(e) {
|
|
982
|
-
return { isInherited: !1, ...e };
|
|
983
|
-
}
|
|
984
|
-
function We(e, t) {
|
|
985
|
-
e.values && (fe(e) && t ? e.values = e.values.filter((a) => a.languageCode !== t) : e.values = [], e.values.length > 0 && e.values.every((a) => Se(a.value)) && (e.values = []));
|
|
986
|
-
}
|
|
987
|
-
const Zs = {
|
|
953
|
+
const Ys = {
|
|
988
954
|
get(e, t) {
|
|
989
|
-
return
|
|
955
|
+
return Te(e) ? he(e) ? e.values?.filter((n) => n.languageCode === t) ?? [] : (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.value ?? "" : he(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
|
|
990
956
|
},
|
|
991
957
|
set(e, t, a) {
|
|
992
|
-
if (!Array.isArray(t) &&
|
|
958
|
+
if (!Array.isArray(t) && Re(t)) {
|
|
993
959
|
We(e, a.locale);
|
|
994
960
|
return;
|
|
995
961
|
}
|
|
996
|
-
if (
|
|
962
|
+
if (Te(e)) {
|
|
997
963
|
if (Array.isArray(t)) {
|
|
998
964
|
const n = e.values?.filter((o) => o.languageCode !== a.locale) ?? [], s = t.map(
|
|
999
965
|
(o) => F({ ...o, languageCode: a.locale })
|
|
@@ -1011,34 +977,34 @@ const Zs = {
|
|
|
1011
977
|
}
|
|
1012
978
|
e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [F({ value: t })];
|
|
1013
979
|
}
|
|
1014
|
-
},
|
|
980
|
+
}, Zs = {
|
|
1015
981
|
get(e, t) {
|
|
1016
|
-
return
|
|
982
|
+
return Te(e) ? (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.value ?? !1 : e.values?.[0]?.value ?? !1;
|
|
1017
983
|
},
|
|
1018
984
|
set(e, t, a) {
|
|
1019
985
|
e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [F({ value: t })];
|
|
1020
986
|
}
|
|
1021
|
-
},
|
|
987
|
+
}, js = {
|
|
1022
988
|
get(e, t) {
|
|
1023
|
-
return
|
|
989
|
+
return Te(e) ? he(e) ? e.values?.filter((n) => n.languageCode === t) ?? [] : (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.valueId ?? "" : he(e) ? e.values ?? [] : e.values?.[0]?.valueId ?? "";
|
|
1024
990
|
},
|
|
1025
991
|
set(e, t, a) {
|
|
1026
992
|
const { dictionary: n, locale: s } = a;
|
|
1027
|
-
if (!Array.isArray(t) &&
|
|
993
|
+
if (!Array.isArray(t) && Re(t)) {
|
|
1028
994
|
We(e, s);
|
|
1029
995
|
return;
|
|
1030
996
|
}
|
|
1031
|
-
n?.length && (
|
|
997
|
+
n?.length && (Te(e) ? Xs(e, t, n, s) : eo(e, t, n));
|
|
1032
998
|
}
|
|
1033
999
|
};
|
|
1034
|
-
function
|
|
1035
|
-
Array.isArray(t) ?
|
|
1000
|
+
function Xs(e, t, a, n) {
|
|
1001
|
+
Array.isArray(t) ? Js(
|
|
1036
1002
|
e,
|
|
1037
1003
|
t,
|
|
1038
1004
|
a
|
|
1039
|
-
) :
|
|
1005
|
+
) : Qs(e, t, a, n);
|
|
1040
1006
|
}
|
|
1041
|
-
function
|
|
1007
|
+
function Js(e, t, a) {
|
|
1042
1008
|
e.values = t.flatMap((n) => {
|
|
1043
1009
|
const s = a.find(
|
|
1044
1010
|
(o) => o.id === n.valueId || o.id === n.id
|
|
@@ -1055,7 +1021,7 @@ function eo(e, t, a) {
|
|
|
1055
1021
|
) : F(n);
|
|
1056
1022
|
});
|
|
1057
1023
|
}
|
|
1058
|
-
function
|
|
1024
|
+
function Qs(e, t, a, n) {
|
|
1059
1025
|
const s = a.find((o) => o.id === t);
|
|
1060
1026
|
if (!s) {
|
|
1061
1027
|
e.values = [];
|
|
@@ -1086,22 +1052,22 @@ function to(e, t, a, n) {
|
|
|
1086
1052
|
);
|
|
1087
1053
|
}
|
|
1088
1054
|
}
|
|
1089
|
-
function
|
|
1055
|
+
function eo(e, t, a) {
|
|
1090
1056
|
if (Array.isArray(t))
|
|
1091
1057
|
e.values = t.flatMap((n) => {
|
|
1092
1058
|
const s = a.find(
|
|
1093
1059
|
(o) => o.id === n.valueId || o.id === n.id
|
|
1094
1060
|
);
|
|
1095
|
-
return
|
|
1061
|
+
return s ? F({
|
|
1096
1062
|
propertyId: s.propertyId,
|
|
1097
1063
|
alias: s.alias,
|
|
1098
1064
|
value: n.value ?? s.alias,
|
|
1099
1065
|
valueId: s.id,
|
|
1100
1066
|
colorCode: s.colorCode
|
|
1101
|
-
} : n);
|
|
1067
|
+
}) : F(n);
|
|
1102
1068
|
});
|
|
1103
1069
|
else {
|
|
1104
|
-
if (
|
|
1070
|
+
if (Re(t)) {
|
|
1105
1071
|
e.values = [];
|
|
1106
1072
|
return;
|
|
1107
1073
|
}
|
|
@@ -1117,23 +1083,23 @@ function ao(e, t, a) {
|
|
|
1117
1083
|
];
|
|
1118
1084
|
}
|
|
1119
1085
|
}
|
|
1120
|
-
const
|
|
1086
|
+
const to = {
|
|
1121
1087
|
get(e, t) {
|
|
1122
1088
|
return e.values?.[0]?.value ?? "";
|
|
1123
1089
|
},
|
|
1124
1090
|
set(e, t, a) {
|
|
1125
|
-
if (
|
|
1091
|
+
if (Re(t)) {
|
|
1126
1092
|
We(e);
|
|
1127
1093
|
return;
|
|
1128
1094
|
}
|
|
1129
1095
|
e.values = [F({ value: t, unitOfMeasureId: a.unitOfMeasureId })];
|
|
1130
1096
|
}
|
|
1131
|
-
},
|
|
1097
|
+
}, ao = {
|
|
1132
1098
|
get(e, t) {
|
|
1133
|
-
return
|
|
1099
|
+
return he(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
|
|
1134
1100
|
},
|
|
1135
1101
|
set(e, t, a) {
|
|
1136
|
-
if (!Array.isArray(t) &&
|
|
1102
|
+
if (!Array.isArray(t) && Re(t)) {
|
|
1137
1103
|
We(e);
|
|
1138
1104
|
return;
|
|
1139
1105
|
}
|
|
@@ -1143,9 +1109,9 @@ const no = {
|
|
|
1143
1109
|
}
|
|
1144
1110
|
};
|
|
1145
1111
|
function Tt(e) {
|
|
1146
|
-
return
|
|
1112
|
+
return Tn(e) ? to : hn(e) && !mt(e) ? ao : e.valueType === "Boolean" ? Zs : mt(e) ? js : Ys;
|
|
1147
1113
|
}
|
|
1148
|
-
function
|
|
1114
|
+
function bl(e) {
|
|
1149
1115
|
const { searchDictionary: t, searchMeasurements: a } = e, { loading: n, action: s } = Xt(async (u) => {
|
|
1150
1116
|
if (u)
|
|
1151
1117
|
return await t(u);
|
|
@@ -1181,7 +1147,7 @@ function Nl(e) {
|
|
|
1181
1147
|
loading: Jt(n)
|
|
1182
1148
|
};
|
|
1183
1149
|
}
|
|
1184
|
-
function
|
|
1150
|
+
function Nl(e) {
|
|
1185
1151
|
const t = (n) => {
|
|
1186
1152
|
}, a = (n) => {
|
|
1187
1153
|
(e ?? t)({
|
|
@@ -1190,10 +1156,10 @@ function Dl(e) {
|
|
|
1190
1156
|
rating: n.rating
|
|
1191
1157
|
});
|
|
1192
1158
|
};
|
|
1193
|
-
|
|
1159
|
+
Ss(a), As(a), ps(a), Ts(a), hs(a);
|
|
1194
1160
|
}
|
|
1195
|
-
const
|
|
1196
|
-
function
|
|
1161
|
+
const ta = k("use-blade-widgets");
|
|
1162
|
+
function Dl(e) {
|
|
1197
1163
|
const t = Q(Gt);
|
|
1198
1164
|
if (!t)
|
|
1199
1165
|
throw new yt("WidgetService");
|
|
@@ -1203,16 +1169,16 @@ function yl(e) {
|
|
|
1203
1169
|
"[vc-shell] useBladeWidgets() requires blade context (BladeDescriptorKey). It must be called inside a blade component rendered by VcBladeSlot."
|
|
1204
1170
|
);
|
|
1205
1171
|
const s = n.value.id;
|
|
1206
|
-
|
|
1172
|
+
Oe(() => {
|
|
1207
1173
|
for (const l of e)
|
|
1208
|
-
a.registerWidget(
|
|
1209
|
-
}),
|
|
1174
|
+
a.registerWidget(no(l), s);
|
|
1175
|
+
}), an(() => {
|
|
1210
1176
|
for (const l of e)
|
|
1211
1177
|
a.unregisterWidget(l.id, s);
|
|
1212
1178
|
});
|
|
1213
1179
|
function o(l) {
|
|
1214
1180
|
const u = a.getWidgets(s).find((E) => E.id === l);
|
|
1215
|
-
u?.trigger?.onRefresh ? u.trigger.onRefresh() :
|
|
1181
|
+
u?.trigger?.onRefresh ? u.trigger.onRefresh() : ta.warn(`Widget '${l}' has no trigger.onRefresh registered.`);
|
|
1216
1182
|
}
|
|
1217
1183
|
function r() {
|
|
1218
1184
|
const l = a.getWidgets(s);
|
|
@@ -1221,15 +1187,15 @@ function yl(e) {
|
|
|
1221
1187
|
}
|
|
1222
1188
|
return { refresh: o, refreshAll: r };
|
|
1223
1189
|
}
|
|
1224
|
-
function
|
|
1225
|
-
const t = Q(
|
|
1190
|
+
function yl(e) {
|
|
1191
|
+
const t = Q(Mn);
|
|
1226
1192
|
if (!t) {
|
|
1227
|
-
|
|
1193
|
+
ta.warn("useWidgetTrigger() called outside WidgetContainer scope — trigger will not be registered.");
|
|
1228
1194
|
return;
|
|
1229
1195
|
}
|
|
1230
1196
|
t.setTrigger(e);
|
|
1231
1197
|
}
|
|
1232
|
-
function
|
|
1198
|
+
function no(e) {
|
|
1233
1199
|
const t = {
|
|
1234
1200
|
icon: e.icon,
|
|
1235
1201
|
badge: e.badge,
|
|
@@ -1246,7 +1212,7 @@ function oo(e) {
|
|
|
1246
1212
|
trigger: e.onRefresh ? { onRefresh: e.onRefresh } : void 0
|
|
1247
1213
|
};
|
|
1248
1214
|
}
|
|
1249
|
-
function
|
|
1215
|
+
function so(e) {
|
|
1250
1216
|
const t = {};
|
|
1251
1217
|
for (const a of Object.keys(e)) {
|
|
1252
1218
|
const n = e[a];
|
|
@@ -1254,13 +1220,13 @@ function ro(e) {
|
|
|
1254
1220
|
}
|
|
1255
1221
|
return t;
|
|
1256
1222
|
}
|
|
1257
|
-
function
|
|
1223
|
+
function Bl(e) {
|
|
1258
1224
|
Bt(
|
|
1259
1225
|
$t,
|
|
1260
|
-
|
|
1226
|
+
v(() => so(Mt(e)))
|
|
1261
1227
|
);
|
|
1262
1228
|
}
|
|
1263
|
-
function
|
|
1229
|
+
function Ml() {
|
|
1264
1230
|
const e = Q($t);
|
|
1265
1231
|
if (!e)
|
|
1266
1232
|
throw new yt("BladeContext");
|
|
@@ -1270,17 +1236,17 @@ function ht(e) {
|
|
|
1270
1236
|
return e == null || e === "";
|
|
1271
1237
|
}
|
|
1272
1238
|
function Lt(e, t) {
|
|
1273
|
-
return
|
|
1239
|
+
return gs(e, t, (a, n) => {
|
|
1274
1240
|
if (ht(a) && ht(n)) return !0;
|
|
1275
1241
|
});
|
|
1276
1242
|
}
|
|
1277
|
-
function
|
|
1278
|
-
const t = (r) =>
|
|
1243
|
+
function kl(e) {
|
|
1244
|
+
const t = (r) => X(i(r)), a = b(t(e)), n = b(t(e)), s = b(!1);
|
|
1279
1245
|
kt(e) && ae(
|
|
1280
1246
|
e,
|
|
1281
1247
|
(r) => {
|
|
1282
1248
|
const l = !Lt(n.value, a.value);
|
|
1283
|
-
a.value =
|
|
1249
|
+
a.value = X(r), l || (n.value = X(r));
|
|
1284
1250
|
},
|
|
1285
1251
|
{ deep: !0 }
|
|
1286
1252
|
// Deep tracking, if initialValueProp is a Ref to an object/array
|
|
@@ -1295,30 +1261,30 @@ function Vl(e) {
|
|
|
1295
1261
|
const o = (r) => {
|
|
1296
1262
|
if (r !== void 0) {
|
|
1297
1263
|
const l = t(r);
|
|
1298
|
-
a.value = l, n.value =
|
|
1264
|
+
a.value = l, n.value = X(l);
|
|
1299
1265
|
} else
|
|
1300
|
-
a.value =
|
|
1266
|
+
a.value = X(n.value);
|
|
1301
1267
|
s.value = !1;
|
|
1302
1268
|
};
|
|
1303
1269
|
return {
|
|
1304
1270
|
currentValue: n,
|
|
1305
1271
|
pristineValue: a,
|
|
1306
|
-
isModified:
|
|
1272
|
+
isModified: v(() => s.value),
|
|
1307
1273
|
resetModificationState: o
|
|
1308
1274
|
};
|
|
1309
1275
|
}
|
|
1310
|
-
const
|
|
1276
|
+
const oo = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[--assets-details-border]" }, ro = { class: "assets-details__content tw-grow tw-basis-0 tw-w-full tw-overflow-hidden" }, io = { class: "tw-p-4" }, lo = { class: "assets-details__header" }, uo = {
|
|
1311
1277
|
key: 1,
|
|
1312
1278
|
class: "assets-details__file-preview tw-shrink-0"
|
|
1313
|
-
},
|
|
1279
|
+
}, co = { class: "assets-details__meta" };
|
|
1314
1280
|
Ft("AssetsDetails", {});
|
|
1315
|
-
const
|
|
1281
|
+
const Eo = /* @__PURE__ */ H({
|
|
1316
1282
|
name: "AssetsDetails",
|
|
1317
1283
|
__name: "assets-details",
|
|
1318
1284
|
setup(e) {
|
|
1319
|
-
const { options: t, closeSelf: a } =
|
|
1285
|
+
const { options: t, closeSelf: a } = ut();
|
|
1320
1286
|
ue({ validateOnMount: !1 });
|
|
1321
|
-
const n = Ie(), s =
|
|
1287
|
+
const n = Ie(), s = ct(), { t: o } = le({ useScope: "global" }), r = b({ ...t.value?.asset }), l = v(() => t.value?.disabled), c = v({
|
|
1322
1288
|
get() {
|
|
1323
1289
|
const f = r.value.name;
|
|
1324
1290
|
if (!f) return "";
|
|
@@ -1331,7 +1297,7 @@ const mo = /* @__PURE__ */ H({
|
|
|
1331
1297
|
const S = d.lastIndexOf("."), L = S > 0 ? d.slice(S) : "";
|
|
1332
1298
|
r.value.name = f ? f + L : "";
|
|
1333
1299
|
}
|
|
1334
|
-
}), u =
|
|
1300
|
+
}), u = v(() => !s.value || !n.value), E = b([
|
|
1335
1301
|
{
|
|
1336
1302
|
id: "save",
|
|
1337
1303
|
title: o("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
|
|
@@ -1339,7 +1305,7 @@ const mo = /* @__PURE__ */ H({
|
|
|
1339
1305
|
async clickHandler() {
|
|
1340
1306
|
t.value?.assetEditHandler && typeof t.value?.assetEditHandler == "function" && (await t.value?.assetEditHandler(r.value), a());
|
|
1341
1307
|
},
|
|
1342
|
-
disabled:
|
|
1308
|
+
disabled: v(() => u.value || l.value)
|
|
1343
1309
|
},
|
|
1344
1310
|
{
|
|
1345
1311
|
id: "delete",
|
|
@@ -1348,46 +1314,46 @@ const mo = /* @__PURE__ */ H({
|
|
|
1348
1314
|
async clickHandler() {
|
|
1349
1315
|
t.value?.assetRemoveHandler && typeof t.value?.assetRemoveHandler == "function" && (await t.value?.assetRemoveHandler(r.value), a());
|
|
1350
1316
|
},
|
|
1351
|
-
disabled:
|
|
1317
|
+
disabled: v(() => l.value)
|
|
1352
1318
|
}
|
|
1353
|
-
]), m =
|
|
1354
|
-
return (f, d) => (
|
|
1319
|
+
]), m = v(() => r.value?.typeId);
|
|
1320
|
+
return (f, d) => (P(), D(i(Wt), {
|
|
1355
1321
|
title: i(t)?.asset?.name,
|
|
1356
1322
|
subtitle: i(o)("ASSETS.PAGES.DETAILS.SUBTITLE"),
|
|
1357
1323
|
"toolbar-items": E.value
|
|
1358
1324
|
}, {
|
|
1359
|
-
default:
|
|
1360
|
-
U("div",
|
|
1361
|
-
U("div",
|
|
1362
|
-
|
|
1363
|
-
default:
|
|
1364
|
-
U("div",
|
|
1365
|
-
|
|
1366
|
-
default:
|
|
1367
|
-
U("div",
|
|
1368
|
-
i(zt)(r.value.name) ? (
|
|
1325
|
+
default: T(() => [
|
|
1326
|
+
U("div", oo, [
|
|
1327
|
+
U("div", ro, [
|
|
1328
|
+
R(i(Ln), { "no-padding": !0 }, {
|
|
1329
|
+
default: T(() => [
|
|
1330
|
+
U("div", io, [
|
|
1331
|
+
R(i(me), null, {
|
|
1332
|
+
default: T(() => [
|
|
1333
|
+
U("div", lo, [
|
|
1334
|
+
i(zt)(r.value.name) ? (P(), D(i(ot), {
|
|
1369
1335
|
key: 0,
|
|
1370
1336
|
src: r.value.url,
|
|
1371
1337
|
size: "xl",
|
|
1372
1338
|
bordered: !0,
|
|
1373
1339
|
class: "tw-shrink-0"
|
|
1374
|
-
}, null, 8, ["src"])) : (
|
|
1340
|
+
}, null, 8, ["src"])) : (P(), W("div", uo, [
|
|
1375
1341
|
U("div", {
|
|
1376
1342
|
class: "assets-details__file-badge",
|
|
1377
1343
|
style: Vt({ backgroundColor: i(Yt)(r.value.name) })
|
|
1378
|
-
}, y(i(
|
|
1344
|
+
}, y(i(Zt)(r.value.name)), 5)
|
|
1379
1345
|
])),
|
|
1380
|
-
U("div",
|
|
1381
|
-
|
|
1346
|
+
U("div", co, [
|
|
1347
|
+
R(i($e), {
|
|
1382
1348
|
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.SIZE"),
|
|
1383
1349
|
"model-value": i(qt)(r.value.size)
|
|
1384
1350
|
}, null, 8, ["label", "model-value"]),
|
|
1385
|
-
|
|
1351
|
+
R(i($e), {
|
|
1386
1352
|
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE"),
|
|
1387
1353
|
"model-value": r.value.createdDate,
|
|
1388
1354
|
type: "date-ago"
|
|
1389
1355
|
}, null, 8, ["label", "model-value"]),
|
|
1390
|
-
|
|
1356
|
+
R(i($e), {
|
|
1391
1357
|
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.URL"),
|
|
1392
1358
|
"model-value": r.value.url,
|
|
1393
1359
|
"display-value": r.value.name,
|
|
@@ -1396,25 +1362,25 @@ const mo = /* @__PURE__ */ H({
|
|
|
1396
1362
|
}, null, 8, ["label", "model-value", "display-value"])
|
|
1397
1363
|
])
|
|
1398
1364
|
]),
|
|
1399
|
-
i(t)?.hiddenFields?.includes("name") ?
|
|
1365
|
+
i(t)?.hiddenFields?.includes("name") ? q("", !0) : (P(), D(i(j), {
|
|
1400
1366
|
key: 0,
|
|
1401
1367
|
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
|
|
1402
1368
|
name: "asset_name",
|
|
1403
1369
|
rules: "required",
|
|
1404
1370
|
"model-value": r.value.name
|
|
1405
1371
|
}, {
|
|
1406
|
-
default:
|
|
1407
|
-
|
|
1372
|
+
default: T(({ errorMessage: S, handleChange: L, errors: h }) => [
|
|
1373
|
+
R(i($), {
|
|
1408
1374
|
modelValue: c.value,
|
|
1409
1375
|
"onUpdate:modelValue": [
|
|
1410
|
-
d[0] || (d[0] = (
|
|
1376
|
+
d[0] || (d[0] = (A) => c.value = A),
|
|
1411
1377
|
L
|
|
1412
1378
|
],
|
|
1413
1379
|
class: "tw-mb-4",
|
|
1414
1380
|
label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
|
|
1415
1381
|
clearable: "",
|
|
1416
1382
|
required: "",
|
|
1417
|
-
error: !!
|
|
1383
|
+
error: !!h.length,
|
|
1418
1384
|
"error-message": S,
|
|
1419
1385
|
placeholder: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER"),
|
|
1420
1386
|
disabled: l.value
|
|
@@ -1422,7 +1388,7 @@ const mo = /* @__PURE__ */ H({
|
|
|
1422
1388
|
]),
|
|
1423
1389
|
_: 1
|
|
1424
1390
|
}, 8, ["label", "model-value"])),
|
|
1425
|
-
m.value === "Image" && !i(t)?.hiddenFields?.includes("altText") ? (
|
|
1391
|
+
m.value === "Image" && !i(t)?.hiddenFields?.includes("altText") ? (P(), D(i($), {
|
|
1426
1392
|
key: 1,
|
|
1427
1393
|
modelValue: r.value.altText,
|
|
1428
1394
|
"onUpdate:modelValue": d[1] || (d[1] = (S) => r.value.altText = S),
|
|
@@ -1432,8 +1398,8 @@ const mo = /* @__PURE__ */ H({
|
|
|
1432
1398
|
placeholder: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.PLACEHOLDER"),
|
|
1433
1399
|
tooltip: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.TOOLTIP"),
|
|
1434
1400
|
disabled: l.value
|
|
1435
|
-
}, null, 8, ["modelValue", "label", "placeholder", "tooltip", "disabled"])) :
|
|
1436
|
-
i(t)?.hiddenFields?.includes("description") ?
|
|
1401
|
+
}, null, 8, ["modelValue", "label", "placeholder", "tooltip", "disabled"])) : q("", !0),
|
|
1402
|
+
i(t)?.hiddenFields?.includes("description") ? q("", !0) : (P(), D(i(On), {
|
|
1437
1403
|
key: 2,
|
|
1438
1404
|
modelValue: r.value.description,
|
|
1439
1405
|
"onUpdate:modelValue": d[2] || (d[2] = (S) => r.value.description = S),
|
|
@@ -1455,89 +1421,89 @@ const mo = /* @__PURE__ */ H({
|
|
|
1455
1421
|
_: 1
|
|
1456
1422
|
}, 8, ["title", "subtitle", "toolbar-items"]));
|
|
1457
1423
|
}
|
|
1458
|
-
}),
|
|
1424
|
+
}), fo = Eo, mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1459
1425
|
__proto__: null,
|
|
1460
|
-
AssetsDetails:
|
|
1461
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1426
|
+
AssetsDetails: fo
|
|
1427
|
+
}, Symbol.toStringTag, { value: "Module" })), go = Et({ blades: mo }), So = { class: "tw-flex tw-items-center tw-justify-center" };
|
|
1462
1428
|
Ft("AssetsManager", {});
|
|
1463
|
-
const
|
|
1429
|
+
const Ao = /* @__PURE__ */ H({
|
|
1464
1430
|
name: "AssetsManager",
|
|
1465
1431
|
__name: "assets-manager",
|
|
1466
1432
|
setup(e) {
|
|
1467
|
-
const t = k("assets-manager"), { options: a, openBlade: n } =
|
|
1433
|
+
const t = k("assets-manager"), { options: a, openBlade: n } = ut(), { t: s } = le({ useScope: "global" }), o = v(() => a.value.manager), r = v(() => o.value.items.value ?? []), l = v(() => o.value.loading.value), c = v(() => a.value?.title || s("ASSETS_MANAGER.TITLE")), u = b(!1), E = b(), m = b([]), f = v(() => a.value?.disabled), d = b([
|
|
1468
1434
|
{
|
|
1469
1435
|
id: "add",
|
|
1470
|
-
title:
|
|
1436
|
+
title: v(() => s("ASSETS_MANAGER.TOOLBAR.ADD")),
|
|
1471
1437
|
icon: "lucide-plus",
|
|
1472
1438
|
clickHandler() {
|
|
1473
|
-
|
|
1439
|
+
O();
|
|
1474
1440
|
},
|
|
1475
|
-
disabled:
|
|
1476
|
-
isVisible:
|
|
1441
|
+
disabled: v(() => f.value),
|
|
1442
|
+
isVisible: v(() => !f.value)
|
|
1477
1443
|
},
|
|
1478
1444
|
{
|
|
1479
1445
|
id: "delete",
|
|
1480
|
-
title:
|
|
1446
|
+
title: v(() => s("ASSETS_MANAGER.TOOLBAR.DELETE")),
|
|
1481
1447
|
icon: "lucide-trash-2",
|
|
1482
1448
|
async clickHandler() {
|
|
1483
1449
|
await o.value.removeMany(m.value);
|
|
1484
1450
|
},
|
|
1485
|
-
disabled:
|
|
1486
|
-
isVisible:
|
|
1451
|
+
disabled: v(() => !m.value.length || f.value),
|
|
1452
|
+
isVisible: v(() => !f.value)
|
|
1487
1453
|
}
|
|
1488
1454
|
]);
|
|
1489
1455
|
async function S(p) {
|
|
1490
1456
|
if (p.dragIndex !== p.dropIndex) {
|
|
1491
|
-
const
|
|
1492
|
-
o.value.reorder(
|
|
1457
|
+
const _ = p.value.map((N, B) => (N.sortOrder = B, N));
|
|
1458
|
+
o.value.reorder(_);
|
|
1493
1459
|
}
|
|
1494
1460
|
}
|
|
1495
1461
|
function L() {
|
|
1496
1462
|
f.value || (u.value = !0);
|
|
1497
1463
|
}
|
|
1498
|
-
function
|
|
1464
|
+
function h() {
|
|
1499
1465
|
f.value || (u.value = !1);
|
|
1500
1466
|
}
|
|
1501
|
-
async function
|
|
1467
|
+
async function A(p) {
|
|
1502
1468
|
if (!f.value) {
|
|
1503
|
-
const
|
|
1504
|
-
if (
|
|
1469
|
+
const _ = p.dataTransfer?.files;
|
|
1470
|
+
if (_ && _.length)
|
|
1505
1471
|
try {
|
|
1506
|
-
await
|
|
1507
|
-
} catch (
|
|
1508
|
-
throw t.error("Failed to upload dropped files:",
|
|
1472
|
+
await C(_);
|
|
1473
|
+
} catch (N) {
|
|
1474
|
+
throw t.error("Failed to upload dropped files:", N), N;
|
|
1509
1475
|
}
|
|
1510
1476
|
u.value = !1;
|
|
1511
1477
|
}
|
|
1512
1478
|
}
|
|
1513
|
-
function
|
|
1479
|
+
function O() {
|
|
1514
1480
|
E.value.value = "", E.value.click();
|
|
1515
1481
|
}
|
|
1516
|
-
async function
|
|
1482
|
+
async function C(p) {
|
|
1517
1483
|
if (!p || p.length === 0) return;
|
|
1518
|
-
const
|
|
1484
|
+
const _ = new Set((r.value ?? []).map((B) => B.name).filter(Boolean)), N = new DataTransfer();
|
|
1519
1485
|
for (const B of Array.from(p)) {
|
|
1520
1486
|
let V = B.name;
|
|
1521
|
-
if (
|
|
1487
|
+
if (_.has(V)) {
|
|
1522
1488
|
const K = V.includes(".") ? `.${V.split(".").pop()}` : "", ce = V.slice(0, V.length - K.length);
|
|
1523
|
-
let
|
|
1524
|
-
for (;
|
|
1525
|
-
V = `${ce}_${
|
|
1489
|
+
let ge = 1;
|
|
1490
|
+
for (; _.has(V); )
|
|
1491
|
+
V = `${ce}_${ge}${K}`, ge++;
|
|
1526
1492
|
}
|
|
1527
|
-
|
|
1493
|
+
_.add(V), N.items.add(new File([B], V, { type: B.type }));
|
|
1528
1494
|
}
|
|
1529
1495
|
try {
|
|
1530
1496
|
const B = r.value.reduce((V, K) => Math.max(V, K.sortOrder ?? 0), -1);
|
|
1531
|
-
await o.value.upload(
|
|
1497
|
+
await o.value.upload(N.files, B);
|
|
1532
1498
|
} catch (B) {
|
|
1533
1499
|
throw t.error("Failed to upload assets:", B), B;
|
|
1534
1500
|
}
|
|
1535
1501
|
}
|
|
1536
|
-
async function
|
|
1537
|
-
const
|
|
1538
|
-
if (
|
|
1502
|
+
async function w(p) {
|
|
1503
|
+
const N = p.target.files;
|
|
1504
|
+
if (N && N.length)
|
|
1539
1505
|
try {
|
|
1540
|
-
await
|
|
1506
|
+
await C(N);
|
|
1541
1507
|
} catch (B) {
|
|
1542
1508
|
throw t.error("Failed to upload files:", B), B;
|
|
1543
1509
|
}
|
|
@@ -1549,112 +1515,112 @@ const To = /* @__PURE__ */ H({
|
|
|
1549
1515
|
asset: i(p),
|
|
1550
1516
|
disabled: f.value,
|
|
1551
1517
|
hiddenFields: a.value?.hiddenFields,
|
|
1552
|
-
assetEditHandler: (
|
|
1553
|
-
o.value.updateItem(
|
|
1518
|
+
assetEditHandler: (_) => {
|
|
1519
|
+
o.value.updateItem(_);
|
|
1554
1520
|
},
|
|
1555
|
-
assetRemoveHandler: async (
|
|
1556
|
-
await o.value.remove(
|
|
1521
|
+
assetRemoveHandler: async (_) => {
|
|
1522
|
+
await o.value.remove(_);
|
|
1557
1523
|
}
|
|
1558
1524
|
}
|
|
1559
|
-
}).catch((
|
|
1560
|
-
t.error("Failed to open AssetsDetails blade:",
|
|
1525
|
+
}).catch((_) => {
|
|
1526
|
+
t.error("Failed to open AssetsDetails blade:", _);
|
|
1561
1527
|
});
|
|
1562
1528
|
}
|
|
1563
|
-
const
|
|
1529
|
+
const I = () => [
|
|
1564
1530
|
{
|
|
1565
1531
|
icon: "lucide-trash-2",
|
|
1566
|
-
title:
|
|
1532
|
+
title: v(() => s("ASSETS_MANAGER.TABLE.ACTIONS.DELETE")),
|
|
1567
1533
|
type: "danger",
|
|
1568
1534
|
async clickHandler(p) {
|
|
1569
1535
|
await o.value.remove(p), m.value = [];
|
|
1570
1536
|
}
|
|
1571
1537
|
}
|
|
1572
1538
|
];
|
|
1573
|
-
return (p,
|
|
1539
|
+
return (p, _) => (P(), D(i(Wt), {
|
|
1574
1540
|
title: c.value,
|
|
1575
1541
|
"toolbar-items": d.value,
|
|
1576
1542
|
width: "70%"
|
|
1577
1543
|
}, {
|
|
1578
|
-
default:
|
|
1579
|
-
|
|
1544
|
+
default: T(() => [
|
|
1545
|
+
nn((P(), W("div", {
|
|
1580
1546
|
class: "tw-relative tw-h-full tw-flex-1",
|
|
1581
1547
|
onDragover: He(L, ["prevent", "stop"]),
|
|
1582
|
-
onDragleave: He(
|
|
1583
|
-
onDrop: He(
|
|
1548
|
+
onDragleave: He(h, ["prevent"]),
|
|
1549
|
+
onDrop: He(A, ["prevent", "stop"])
|
|
1584
1550
|
}, [
|
|
1585
|
-
|
|
1551
|
+
R(i(Rn), {
|
|
1586
1552
|
selection: m.value,
|
|
1587
|
-
"onUpdate:selection":
|
|
1553
|
+
"onUpdate:selection": _[0] || (_[0] = (N) => m.value = N),
|
|
1588
1554
|
items: r.value,
|
|
1589
1555
|
"state-key": "assets_manager",
|
|
1590
1556
|
"reorderable-rows": !f.value,
|
|
1591
1557
|
"selection-mode": f.value ? void 0 : "multiple",
|
|
1592
|
-
"row-actions": f.value ? void 0 :
|
|
1558
|
+
"row-actions": f.value ? void 0 : I,
|
|
1593
1559
|
"empty-state": {
|
|
1594
1560
|
icon: "lucide-cloud-upload",
|
|
1595
1561
|
title: p.$t("ASSETS_MANAGER.EMPTY.UPLOAD_ASSETS"),
|
|
1596
1562
|
actionLabel: p.$t("ASSETS_MANAGER.EMPTY.UPLOAD"),
|
|
1597
|
-
actionHandler:
|
|
1563
|
+
actionHandler: O
|
|
1598
1564
|
},
|
|
1599
1565
|
class: "tw-h-full tw-w-full",
|
|
1600
|
-
onRowClick:
|
|
1566
|
+
onRowClick: _[1] || (_[1] = ({ data: N }) => g(N)),
|
|
1601
1567
|
onRowReorder: S
|
|
1602
1568
|
}, {
|
|
1603
|
-
default:
|
|
1604
|
-
|
|
1569
|
+
default: T(() => [
|
|
1570
|
+
R(i(Se), {
|
|
1605
1571
|
id: "url",
|
|
1606
1572
|
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.IMAGE"),
|
|
1607
1573
|
width: "10%",
|
|
1608
1574
|
"always-visible": "",
|
|
1609
1575
|
type: "image"
|
|
1610
1576
|
}, {
|
|
1611
|
-
body:
|
|
1612
|
-
U("div",
|
|
1613
|
-
i(zt)(
|
|
1577
|
+
body: T(({ data: N }) => [
|
|
1578
|
+
U("div", So, [
|
|
1579
|
+
i(zt)(N.name ?? "") ? (P(), D(i(ot), {
|
|
1614
1580
|
key: 0,
|
|
1615
1581
|
bordered: !0,
|
|
1616
1582
|
size: "s",
|
|
1617
1583
|
aspect: "1x1",
|
|
1618
|
-
src:
|
|
1584
|
+
src: N.url,
|
|
1619
1585
|
background: "contain"
|
|
1620
|
-
}, null, 8, ["src"])) : (
|
|
1586
|
+
}, null, 8, ["src"])) : (P(), W("div", {
|
|
1621
1587
|
key: 1,
|
|
1622
1588
|
class: "assets-manager__file-badge",
|
|
1623
|
-
style: Vt({ backgroundColor: i(Yt)(
|
|
1624
|
-
}, y(i(
|
|
1589
|
+
style: Vt({ backgroundColor: i(Yt)(N.name ?? "") })
|
|
1590
|
+
}, y(i(Zt)(N.name ?? "")), 5))
|
|
1625
1591
|
])
|
|
1626
1592
|
]),
|
|
1627
1593
|
_: 1
|
|
1628
1594
|
}, 8, ["title"]),
|
|
1629
|
-
|
|
1595
|
+
R(i(Se), {
|
|
1630
1596
|
id: "name",
|
|
1631
1597
|
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.NAME"),
|
|
1632
1598
|
width: "20%",
|
|
1633
1599
|
"always-visible": ""
|
|
1634
1600
|
}, null, 8, ["title"]),
|
|
1635
|
-
|
|
1601
|
+
R(i(Se), {
|
|
1636
1602
|
id: "size",
|
|
1637
1603
|
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.SIZE"),
|
|
1638
1604
|
width: "20%",
|
|
1639
1605
|
"always-visible": ""
|
|
1640
1606
|
}, {
|
|
1641
|
-
body:
|
|
1642
|
-
U("div", null, y(i(qt)(
|
|
1607
|
+
body: T(({ data: N }) => [
|
|
1608
|
+
U("div", null, y(i(qt)(N.size ?? 0)), 1)
|
|
1643
1609
|
]),
|
|
1644
1610
|
_: 1
|
|
1645
1611
|
}, 8, ["title"]),
|
|
1646
|
-
|
|
1612
|
+
R(i(Se), {
|
|
1647
1613
|
id: "sortOrder",
|
|
1648
1614
|
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER"),
|
|
1649
1615
|
width: "25%",
|
|
1650
1616
|
"always-visible": ""
|
|
1651
1617
|
}, {
|
|
1652
|
-
body:
|
|
1653
|
-
U("div", null, y(
|
|
1618
|
+
body: T(({ data: N }) => [
|
|
1619
|
+
U("div", null, y(N.sortOrder), 1)
|
|
1654
1620
|
]),
|
|
1655
1621
|
_: 1
|
|
1656
1622
|
}, 8, ["title"]),
|
|
1657
|
-
|
|
1623
|
+
R(i(Se), {
|
|
1658
1624
|
id: "createdDate",
|
|
1659
1625
|
title: i(s)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE"),
|
|
1660
1626
|
width: "25%",
|
|
@@ -1665,7 +1631,7 @@ const To = /* @__PURE__ */ H({
|
|
|
1665
1631
|
_: 1
|
|
1666
1632
|
}, 8, ["selection", "items", "reorderable-rows", "selection-mode", "row-actions", "empty-state"])
|
|
1667
1633
|
], 32)), [
|
|
1668
|
-
[i(
|
|
1634
|
+
[i(Ua), l.value]
|
|
1669
1635
|
]),
|
|
1670
1636
|
U("input", {
|
|
1671
1637
|
ref_key: "uploader",
|
|
@@ -1674,24 +1640,24 @@ const To = /* @__PURE__ */ H({
|
|
|
1674
1640
|
hidden: "",
|
|
1675
1641
|
multiple: "",
|
|
1676
1642
|
name: "assets_manager",
|
|
1677
|
-
onChange:
|
|
1643
|
+
onChange: w
|
|
1678
1644
|
}, null, 544)
|
|
1679
1645
|
]),
|
|
1680
1646
|
_: 1
|
|
1681
1647
|
}, 8, ["title", "toolbar-items"]));
|
|
1682
1648
|
}
|
|
1683
|
-
}),
|
|
1649
|
+
}), po = Ao, To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1684
1650
|
__proto__: null,
|
|
1685
|
-
AssetsManager:
|
|
1686
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1687
|
-
function
|
|
1651
|
+
AssetsManager: po
|
|
1652
|
+
}, Symbol.toStringTag, { value: "Module" })), ho = Et({ blades: To }), Ot = k("connection-status"), Rt = "vc-framework-offline-status", _t = b(!1), It = b(!0);
|
|
1653
|
+
function aa() {
|
|
1688
1654
|
if (!_t.value && typeof window < "u") {
|
|
1689
1655
|
_t.value = !0;
|
|
1690
|
-
const { isOnline: e } =
|
|
1656
|
+
const { isOnline: e } = Ma();
|
|
1691
1657
|
ae(
|
|
1692
1658
|
e,
|
|
1693
1659
|
(t) => {
|
|
1694
|
-
It.value = t, t ? (Ot.info("Network connection restored"),
|
|
1660
|
+
It.value = t, t ? (Ot.info("Network connection restored"), J.remove(Rt), document.documentElement.classList.remove("vc-offline")) : (Ot.warn("Network connection lost"), J.warning("You are currently offline. Some features may be unavailable.", {
|
|
1695
1661
|
notificationId: Rt,
|
|
1696
1662
|
timeout: !1
|
|
1697
1663
|
}), document.documentElement.classList.add("vc-offline"));
|
|
@@ -1703,78 +1669,78 @@ function ea() {
|
|
|
1703
1669
|
isOnline: Me(It)
|
|
1704
1670
|
};
|
|
1705
1671
|
}
|
|
1706
|
-
const
|
|
1707
|
-
let
|
|
1708
|
-
const
|
|
1672
|
+
const Ye = k("slow-network"), Lo = 1e4, Oo = ["slow-2g", "2g"];
|
|
1673
|
+
let Ze = null;
|
|
1674
|
+
const na = "vc-slow-network", Ro = 3e3;
|
|
1709
1675
|
let te = null;
|
|
1710
1676
|
function vt() {
|
|
1711
|
-
|
|
1712
|
-
notificationId: ta,
|
|
1713
|
-
timeout: !1
|
|
1714
|
-
});
|
|
1677
|
+
document.documentElement.classList.add(na);
|
|
1715
1678
|
}
|
|
1716
1679
|
function wt() {
|
|
1717
|
-
|
|
1680
|
+
document.documentElement.classList.remove(na);
|
|
1718
1681
|
}
|
|
1719
|
-
const Ct =
|
|
1720
|
-
function
|
|
1682
|
+
const Ct = b(!1), ke = b(0), tt = b(!1), Ve = /* @__PURE__ */ new Map(), at = /* @__PURE__ */ new Set(), je = v(() => ke.value > 0 || tt.value);
|
|
1683
|
+
function _o(e) {
|
|
1721
1684
|
const t = setTimeout(() => {
|
|
1722
|
-
ke.value++, Ve.delete(e),
|
|
1723
|
-
},
|
|
1685
|
+
ke.value++, Ve.delete(e), at.add(e);
|
|
1686
|
+
}, Lo);
|
|
1724
1687
|
Ve.set(e, t);
|
|
1725
1688
|
}
|
|
1726
|
-
function
|
|
1689
|
+
function Io(e) {
|
|
1727
1690
|
const t = Ve.get(e);
|
|
1728
|
-
t != null ? (clearTimeout(t), Ve.delete(e)) :
|
|
1691
|
+
t != null ? (clearTimeout(t), Ve.delete(e)) : at.has(e) && (ke.value = Math.max(0, ke.value - 1), at.delete(e));
|
|
1729
1692
|
}
|
|
1730
|
-
function
|
|
1693
|
+
function sa() {
|
|
1731
1694
|
if (!Ct.value && typeof window < "u") {
|
|
1732
1695
|
Ct.value = !0;
|
|
1733
1696
|
const e = navigator.connection;
|
|
1734
|
-
e && (
|
|
1735
|
-
const a =
|
|
1736
|
-
a !==
|
|
1737
|
-
}, e.addEventListener("change",
|
|
1738
|
-
const { isOnline: t } =
|
|
1697
|
+
e && (Ze = () => {
|
|
1698
|
+
const a = Oo.includes(e.effectiveType);
|
|
1699
|
+
a !== tt.value && Ye.info(`Connection type: ${e.effectiveType} → ${a ? "slow" : "normal"}`), tt.value = a;
|
|
1700
|
+
}, e.addEventListener("change", Ze), Ze());
|
|
1701
|
+
const { isOnline: t } = aa();
|
|
1739
1702
|
ae(je, (a) => {
|
|
1740
|
-
a ? (te != null && (clearTimeout(te), te = null), t.value && (
|
|
1741
|
-
|
|
1742
|
-
},
|
|
1703
|
+
a ? (te != null && (clearTimeout(te), te = null), t.value && (Ye.info("Slow network detected"), vt())) : te = setTimeout(() => {
|
|
1704
|
+
Ye.info("Network recovered"), wt(), te = null;
|
|
1705
|
+
}, Ro);
|
|
1743
1706
|
}), ae(t, (a) => {
|
|
1744
1707
|
a ? je.value && vt() : (te != null && (clearTimeout(te), te = null), wt());
|
|
1745
1708
|
});
|
|
1746
1709
|
}
|
|
1747
1710
|
return {
|
|
1748
1711
|
isSlowNetwork: je,
|
|
1749
|
-
trackRequest:
|
|
1750
|
-
untrackRequest:
|
|
1712
|
+
trackRequest: _o,
|
|
1713
|
+
untrackRequest: Io
|
|
1751
1714
|
};
|
|
1752
1715
|
}
|
|
1753
|
-
const
|
|
1754
|
-
function
|
|
1716
|
+
const Ae = k("interceptors"), vo = /(^|\/)(login|signin|sign-in|account\/login|connect\/authorize)(\/|$)/i, wo = /* @__PURE__ */ new Set(["GET", "HEAD"]);
|
|
1717
|
+
function Co(e, t) {
|
|
1718
|
+
return (t?.method ?? (e instanceof Request ? e.method : void 0) ?? "GET").toUpperCase();
|
|
1719
|
+
}
|
|
1720
|
+
function Po(e) {
|
|
1755
1721
|
let t;
|
|
1756
1722
|
try {
|
|
1757
1723
|
t = new URL(e.url, window.location.origin).pathname;
|
|
1758
1724
|
} catch {
|
|
1759
1725
|
return !1;
|
|
1760
1726
|
}
|
|
1761
|
-
if (
|
|
1727
|
+
if (vo.test(t))
|
|
1762
1728
|
return !0;
|
|
1763
1729
|
const a = e.headers?.get?.("content-type") ?? "";
|
|
1764
1730
|
return e.redirected === !0 && a.includes("text/html");
|
|
1765
1731
|
}
|
|
1766
|
-
function
|
|
1732
|
+
function bo(e) {
|
|
1767
1733
|
if (window.fetch.__vcInterceptorsInstalled__)
|
|
1768
|
-
return
|
|
1769
|
-
const { fetch: a } = window, { signOut: n, isAuthenticated: s } = se(), { trackRequest: o, untrackRequest: r } =
|
|
1734
|
+
return Ae.warn("registerInterceptors called twice — ignoring second install"), window.fetch;
|
|
1735
|
+
const { fetch: a } = window, { signOut: n, isAuthenticated: s } = se(), { trackRequest: o, untrackRequest: r } = sa();
|
|
1770
1736
|
let l = 0;
|
|
1771
1737
|
const c = (async (...u) => {
|
|
1772
1738
|
if (window.__DEMO_MODE__)
|
|
1773
|
-
return
|
|
1739
|
+
return Ae.warn("CANCELLED FETCH WHILE IN __DEMO_MODE__: ", ...u), Ae.warn("Please logout and add APP_PLATFORM_URL into .env file of your application to enable API calls"), new Promise((E) => {
|
|
1774
1740
|
u[0] === "/api/platform/security/login" ? E({
|
|
1775
1741
|
status: 200,
|
|
1776
1742
|
text: async () => JSON.stringify({ succeeded: !0 })
|
|
1777
|
-
}) : u[0] === "/api/platform/security/currentuser" ? (
|
|
1743
|
+
}) : u[0] === "/api/platform/security/currentuser" ? (J.warning(
|
|
1778
1744
|
`You are currently in DEMO mode until the first page refresh.
|
|
1779
1745
|
All API calls are disabled. Please add APP_PLATFORM_URL to your application's .env file to enable API calls.`,
|
|
1780
1746
|
{
|
|
@@ -1789,143 +1755,144 @@ function No(e) {
|
|
|
1789
1755
|
});
|
|
1790
1756
|
});
|
|
1791
1757
|
{
|
|
1792
|
-
let E = function(
|
|
1793
|
-
const
|
|
1758
|
+
let E = function(A) {
|
|
1759
|
+
const O = typeof A == "string" ? A : A instanceof Request ? A.url : A.toString();
|
|
1760
|
+
try {
|
|
1761
|
+
const C = new URL(O, window.location.origin);
|
|
1762
|
+
return C.origin === window.location.origin && C.pathname.startsWith("/api/");
|
|
1763
|
+
} catch {
|
|
1764
|
+
return !1;
|
|
1765
|
+
}
|
|
1766
|
+
}, m = function(A) {
|
|
1767
|
+
const O = typeof A == "string" ? A : A instanceof Request ? A.url : A.toString();
|
|
1794
1768
|
try {
|
|
1795
|
-
|
|
1796
|
-
return g.origin === window.location.origin && g.pathname.startsWith("/api/");
|
|
1769
|
+
return new URL(O, window.location.origin).origin === window.location.origin;
|
|
1797
1770
|
} catch {
|
|
1798
1771
|
return !1;
|
|
1799
1772
|
}
|
|
1773
|
+
}, f = function(A) {
|
|
1774
|
+
!A || et() || !s.value || (Vn(), n().catch((O) => {
|
|
1775
|
+
Ae.error("signOut failed after session expiry:", O);
|
|
1776
|
+
}).finally(() => {
|
|
1777
|
+
No(e), J.error(z.global.t("CORE.ERRORS.SESSION_EXPIRED"));
|
|
1778
|
+
}));
|
|
1800
1779
|
};
|
|
1801
|
-
const [
|
|
1802
|
-
if (!E(
|
|
1803
|
-
|
|
1780
|
+
const [d, S] = u;
|
|
1781
|
+
if (!E(d)) {
|
|
1782
|
+
if (!m(d))
|
|
1783
|
+
return a(...u);
|
|
1784
|
+
const A = await a(...u);
|
|
1785
|
+
return f(A.status === 401), A;
|
|
1786
|
+
}
|
|
1804
1787
|
if (!navigator.onLine)
|
|
1805
|
-
return
|
|
1806
|
-
const
|
|
1807
|
-
o(
|
|
1808
|
-
const S = new AbortController();
|
|
1809
|
-
let L = !1;
|
|
1810
|
-
const T = setTimeout(() => {
|
|
1811
|
-
L = !0, S.abort();
|
|
1812
|
-
}, 3e4), v = f?.signal, w = () => S.abort();
|
|
1813
|
-
v?.aborted ? w() : v && v.addEventListener("abort", w, { once: !0 });
|
|
1788
|
+
return Ae.warn("Request blocked: browser is offline", d), Promise.reject(new Error(z.global.t("CORE.ERRORS.NETWORK_UNAVAILABLE")));
|
|
1789
|
+
const L = String(++l), h = wo.has(Co(d, S));
|
|
1790
|
+
h && o(L);
|
|
1814
1791
|
try {
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
if ((O.status === 401 || h) && !Qe() && s.value && (Nn(), n().catch((_) => {
|
|
1820
|
-
Te.error("signOut failed after session expiry:", _);
|
|
1821
|
-
}).finally(() => {
|
|
1822
|
-
Do(e), q.error(
|
|
1823
|
-
`Access Denied: Your session has expired or you do not have the necessary permissions.
|
|
1824
|
-
Please log in again or contact the administrator for assistance.`
|
|
1825
|
-
);
|
|
1826
|
-
})), h && Qe())
|
|
1827
|
-
throw new Dn();
|
|
1828
|
-
return O;
|
|
1829
|
-
} catch (O) {
|
|
1830
|
-
throw L ? new Error("Request timed out. Please try again.") : O;
|
|
1792
|
+
const A = await a(...u), O = A.ok && Po(A);
|
|
1793
|
+
if (f(A.status === 401 || O), O && et())
|
|
1794
|
+
throw new kn();
|
|
1795
|
+
return A;
|
|
1831
1796
|
} finally {
|
|
1832
|
-
|
|
1797
|
+
h && r(L);
|
|
1833
1798
|
}
|
|
1834
1799
|
}
|
|
1835
1800
|
});
|
|
1836
1801
|
return c.__vcInterceptorsInstalled__ = !0, window.fetch = c, c;
|
|
1837
1802
|
}
|
|
1838
|
-
function
|
|
1803
|
+
function No(e) {
|
|
1839
1804
|
e && e.getRoutes().some((t) => t.path === "/login" || t.name === "Login") ? e.currentRoute.value.path !== "/login" && e.push("/login") : window.location.href = window.location.origin + "/";
|
|
1840
1805
|
}
|
|
1841
|
-
const na = { THEMES: { LIGHT: "Light", DARK: "Dark" }, NOTIFICATIONS: { CLEAR_ALL: "Clear all" } }, sa = { NAVIGATION_ARIA_LABEL: "Primary navigation", SIDEBAR: { SEARCH_PLACEHOLDER: "Search keyword" }, USER: { ROLE: { ADMINISTRATOR: "Administrator" } }, ACCOUNT: { SETTINGS: "Settings", CHANGE_PASSWORD: "Change password", PROFILE: "Profile", LOGOUT: "Log Out" } }, oa = { CONTROLS: { CLEAR: "Clear", CLEAR_ALL: "Clear all", CLOSE: "Close", TOGGLE_DROPDOWN: "Toggle dropdown", SEARCH_OPTIONS: "Search options", SELECT_OPTION: "Select option", CLEAR_SELECTION: "Clear selection", COPY_TO_CLIPBOARD: "Copy to clipboard", DELETE_ITEM: "Delete item", SHOW_PASSWORD: "Show password", HIDE_PASSWORD: "Hide password" }, ATOMS: { VC_IMAGE: { LABEL: "Image" }, VC_BANNER: { SHOW_MORE: "Show more", SHOW_LESS: "Show less" }, VC_SCROLLABLE_CONTAINER: { LABEL: "Scrollable content" }, VC_VIDEO: { NO_SOURCE: "No video source" } }, MOLECULES: { VC_SELECT: { CLICK_TO_SELECT: "Click to select...", LOADING: "Loading...", LOADING_MORE: "Loading more...", NO_OPTIONS: "No options" }, VC_FILE_UPLOAD: { DRAG_HERE: "Drag and drop file here or", BROWSE: "browse your files", TAP_TO_UPLOAD: "Tap to select files", UPLOADING: "Uploading..." }, VC_INPUT: { DATE_PLACEHOLDER: "Select date", DATE_TIME_PLACEHOLDER: "Select date and time" }, VC_PAGINATION: { JUMP: "Jump to page:", LABEL: "Pagination", FIRST: "First page", PREVIOUS: "Previous page", NEXT: "Next page", LAST: "Last page", PAGE: "Page {page}" }, VC_MULTIVALUE: { ADD: "Add" }, VC_BREADCRUMBS: { BACK: "Back", LABEL: "Breadcrumb", SHOW_MORE: "Show more breadcrumbs" }, VC_COLOR_INPUT: { CLEAR: "Clear color" }, VC_DATE_PICKER: { CLEAR: "Clear date" }, VC_SLIDER: { PREVIOUS: "Previous slide", NEXT: "Next slide" }, VC_TOAST: { DISMISS: "Dismiss notification" }, VC_EDITOR: { TOOLBAR: { LABEL: "Text formatting", BOLD: "Bold", ITALIC: "Italic", UNDERLINE: "Underline", STRIKETHROUGH: "Strikethrough", HEADING_1: "Heading 1", HEADING_2: "Heading 2", HEADING_3: "Heading 3", BULLET_LIST: "Bullet list", NUMBERED_LIST: "Numbered list", BLOCKQUOTE: "Blockquote", INSERT_LINK: "Insert link", INSERT_IMAGE: "Insert image", INSERT_TABLE: "Insert table", DELETE_TABLE: "Delete table", ADD_COLUMN_BEFORE: "Add column before", ADD_COLUMN_AFTER: "Add column after", ADD_ROW_BEFORE: "Add row before", ADD_ROW_AFTER: "Add row after", DELETE_COLUMN: "Delete column", DELETE_ROW: "Delete row" }, FONT_SIZE: "Font size", VIEW: { PREVIEW: "Preview", SPLIT: "Side-by-side view", SOURCE: "Source code" } } }, ORGANISMS: { VC_DYNAMIC_PROPERTY: { ADD: "Add value", VALUE_TYPE: { COLOR: { PLACEHOLDER: "Color code", NAME: "Color name" } } }, VC_GALLERY: { INTERNAL: { VC_GALLERY_ITEM: { FULLSCREEN: "Fullscreen", EDIT: "Edit", DELETE: "Delete" }, VC_GALLERY_PREVIEW: { COPY_IMAGE_LINK: "copy image link" }, VC_GALLERY_FILMSTRIP: { PREVIOUS: "Previous images", NEXT: "Next images" } }, GALLERY_IS_EMPTY: "Gallery is empty", DROP_TO_UPLOAD: "Drop to upload", DRAG_IMAGES_HERE: "Drag images here or", BROWSE_IMAGES: "browse your files", UPLOAD: "Upload", OR_DROP_HERE: "or drop here", SHOW_ALL: "Expand ({count})", COLLAPSE: "Collapse" }, VC_APP: { NOTIFICATIONS: "Notifications", OPEN_MENU: "Open menu", CLOSE_MENU: "Close menu", INTERNAL: { VC_APP_BAR: { BACK: "Back" }, MOBILE_LAYOUT: { TAB_MENU: "Menu", TAB_HUB: "Hub" }, APP_HUB: { SEARCH_PLACEHOLDER: "Search applications and widgets", APPLICATIONS: "Applications", WIDGETS: "Widgets", NO_APPLICATIONS: "No applications found", NO_WIDGETS: "No widgets found", LIST_VIEW: "List view", TILE_VIEW: "Tile view" } } }, BLADE_NAVIGATION: { ARIA_LABEL: "Blade navigation" }, VC_BLADE: { SEE_DETAILS: "See details", UNSAVED_CHANGES: "Has unsaved changes", ERROR_POPUP: { TITLE: "Error details", COPY_ERROR: "copy content", CLOSE: "dismiss" }, MORE: "More", TOOLBAR: "Toolbar actions", CLOSE_MENU: "Close menu", PANEL: "Panel" }, VC_BLADE_HEADER: { UNSAVED_CHANGES: "Has unsaved changes", NO_CHANGES: "No unsaved changes", CLOSE: "Close", MAXIMIZE: "Maximize", RESTORE: "Restore" }, VC_TABLE: { SELECT_ROW: "Select row", SELECT_ALL_ROWS: "Select all rows", EXPAND_ROW: "Toggle row details", CURRENT_PAGE_SELECTED: "All items in this page are selected.", SELECT_ALL: "Select all items", ALL_SELECTED: "All items are selected.", ALL_SELECTED_COUNT: "All {count} items selected", SELECT_ALL_COUNT: "Select all {count} items", CANCEL: "Clear selection", ALL_ACTIONS: "All actions", MORE: "More", ALL_FILTERS: "Filters", SEARCH: "Search...", EMPTY: "List is empty.", EMPTY_TITLE: "No data", EMPTY_DESCRIPTION: "No items to display", NOT_FOUND: "Nothing found.", NOT_FOUND_TITLE: "No results found", NOT_FOUND_DESCRIPTION: "Try adjusting your search or filters", TOTALS: "Totals:", ACTIONS: "Actions", NOT_SET: "Not set", SELECTED: "Selected", SELECT_ALL_TRUNCATED: "Select all", PULL_TO_REFRESH: "Pull to refresh", RELEASE_TO_REFRESH: "Release to refresh", REFRESHING: "Refreshing...", ADD_ROW: "Add row", LOADING: "Loading...", PAGE_INFO: "Page {current} of {total}", COLUMN_FILTER: { APPLY: "Apply", CLEAR: "Clear", FROM: "From", TO: "To", TITLE: "Filter column" }, GLOBAL_FILTERS: { BUTTON: "Filters", TITLE: "Filters" }, COLUMN_SWITCHER: { BUTTON: "Columns", TITLE: "Show/Hide Columns", SHOW_ALL: "Show All", RESET: "Reset" }, OF: "of", PAGE: "Page" }, VC_POPUP: { OK: "OK", CONFIRM: "Confirm", CANCEL: "Cancel", CLOSE: "Close", TITLE: { CONFIRMATION: "Confirmation", ERROR: "Error", INFO: "Info" } } }, THEME_SELECTOR: { THEME_CHANGED: " theme", THEME_SELECTOR: "Theme" }, CHANGE_PASSWORD: { TITLE: "Change password", TITLE_FORCED: "Password expired", SUBTITLE_FORCED: "Please set a new password", FORCED: { LABEL: "Your password has expired. You must change the password to continue using the manager." }, CURRENT_PASSWORD: { LABEL: "Current password", PLACEHOLDER: "Enter password" }, NEW_PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" }, CANCEL: "Cancel", SAVE: "Update", ERRORS: { "Repeat-password": "Passwords are not same", "Equal-passwords": "The new password must not match the old one", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", "Incorrect password.": "You entered an incorrect password", "You have used this password in the past. Choose another one.": "You have used this password in the past. Choose another one." } }, APP_HUB: { TITLE: "Applications" }, NOTIFICATION_DROPDOWN: { TITLE: "Notifications", EMPTY: "No notifications yet" }, LANGUAGE_SELECTOR: { TITLE: "Language" }, FILTERS: { APPLY: "Apply filters", RESET: "Reset" } }, ra = { TITLE: "You're invited!", SUBTITLE: "Set a password for your account", FIELDS: { EMAIL: { LABEL: "Email" }, PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, ACCEPT_INVITATION: "Activate", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, ia = { TITLE: "Welcome back", SUBTITLE: "Sign in to your account to continue", FIELDS: { LOGIN: { LABEL: "Email", PLACEHOLDER: "Enter your email" }, PASSWORD: { LABEL: "Password", PLACEHOLDER: "Enter your password" }, FORGOT_PASSWORD: { TITLE: "Forgot password", LABEL: "Email", PLACEHOLDER: "Please enter your email" } }, FORGOT_PASSWORD_BUTTON: "Forgot password?", BUTTON: "Sign in", OR: "or", FORGOT_BUTTON: "Submit", BACK_BUTTON: "Back", BUTTON_OK: "Ok", RESET_EMAIL_TEXT: "We will send you an email with instructions on how to reset your password.", RESET_EMAIL_SENT: "Email with instructions has been sent to you.", SSO_NO_PROVIDERS_ERROR: "SSO authentication is not configured. Please contact your administrator.", ERRORS: { INVALID_CREDENTIALS: "The login or password is incorrect.", AUTH_WITH_CODE: "Authentication error (code: {code}).", AUTH_GENERIC: "Authentication error: {detail}" } }, la = { TITLE: "Reset your password", SUBTITLE: "Enter your email and we'll send you a reset link", FIELDS: { EMAIL: { LABEL: "Email", PLACEHOLDER: "Enter your email address" } }, SEND_BUTTON: "Send reset link", BACK_TO_LOGIN: "Back to sign in", SUCCESS_TITLE: "Check your email", SUCCESS_TEXT: "We sent a reset link to {email}" }, ua = { TITLE: "Set new password", SUBTITLE: "Enter your new password below", FIELDS: { PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, SAVE_PASSWORD: "Save", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, ca = { TITLE: "Assets", TOOLBAR: { SAVE: "Save", REFRESH: "Refresh", ADD: "Add", DELETE: "Delete selected" }, EMPTY: { NO_ASSETS: "No assets", UPLOAD_ASSETS: "Drag & drop assets here or click 'Upload' button", UPLOAD: "Upload" }, TABLE: { HEADER: { IMAGE: "Img", NAME: "Name", SIZE: "Size", SORT_ORDER: "Sort order", CREATED_DATE: "Created date" }, ACTIONS: { DELETE: "Delete", EDIT: "Edit" } } }, da = { PAGES: { DETAILS: { SUBTITLE: "Asset edit", TOOLBAR: { SAVE: "Save", DELETE: "Delete" }, FIELDS: { SIZE: "Size", CREATED_DATE: "Created date", URL: "Url", COPY: "Copy link", NAME: { TITLE: "Asset name", PLACEHOLDER: "Enter asset name" }, ALT: { TITLE: "Image alternative text", PLACEHOLDER: "Enter image alt text", TOOLTIP: "This text will be displayed in case of disabled/unloaded image on the page" }, DESCRIPTION: { TITLE: "Meta description", PLACEHOLDER: "Enter meta description" } } } } }, Ea = { _default: "The {field} is not valid", alpha: "The {field} field may only contain alphabetic characters", alpha_num: "The {field} field may only contain alpha-numeric characters", alpha_dash: "The {field} field may contain alpha-numeric characters as well as dashes and underscores", alpha_spaces: "The {field} field may only contain alphabetic characters as well as spaces", between: "The {field} field must be between 0:{min} and 1:{max}", confirmed: "The {field} field confirmation does not match", digits: "The {field} field must be numeric and exactly contain 0:{length} digits", dimensions: "The {field} field must be 0:{width} pixels by 1:{height} pixels", email: "The {field} field must be a valid email", not_one_of: "The {field} field is not a valid value", ext: "The {field} field is not a valid file", image: "The {field} field must be an image", integer: "The {field} field must be an integer", length: "The {field} field must be 0:{length} long", max_value: "The {field} field must be 0:{max} or less", max: "The {field} field may not be greater than 0:{length} characters", mimes: "The {field} field must have a valid file type", min_value: "The {field} field must be 0:{min} or more", min: "The {field} field must be at least 0:{length} characters", numeric: "The {field} field may only contain numeric characters", one_of: "The {field} field is not a valid value", regex: "The {field} field format is invalid", required_if: "The {field} field is required", required: "The {field} field is required", size: "The {field} field size must be less than 0:{size}KB", url: "The {field} field is not a valid URL", min_dimensions: { error: "Image dimensions must be greater than {height}*{width}", not_image_error: "Not image file" }, file_weight: "File size must be maximum {size} kb", before: "End date must be earlier than start date", after: "End date must be later than start date", bigint: "Unsupported number" }, fa = { ACCESS_RESTRICTED: "Access restricted" }, ma = { LOADING: "Loading Virto OZ..." }, ga = { AGENDA: "Agenda", ALL_DAY: "All day", CANCEL: "Cancel", CLOSE: "Close", COLOR: "Color", COLOR_DEFAULT: "Default color", COLOR_CUSTOM: "Custom color", COLOR_BLUE: "Blue", COLOR_GREEN: "Green", COLOR_AMBER: "Amber", COLOR_RED: "Red", COLOR_PURPLE: "Purple", COLOR_PINK: "Pink", COLOR_TEAL: "Teal", COLOR_SLATE: "Slate", DAY: "Day", DAY_N_OF_M: "Day {n} of {total}", DELETE: "Delete", DELETE_CONFIRM_BODY: `Delete "{title}"? This can't be undone.`, DELETE_CONFIRM_TITLE: "Delete event", EDIT: "Edit", EDIT_EVENT: "Edit event", EMPTY: "No events in this range", EMPTY_HINT: "No events yet. Click a day to add one.", END: "End", LOADING: "Loading events…", MORE: "+{count} more", MORE_EVENTS: "More events", MONTH: "Month", MORE_OPTIONS: "More options", NEW_EVENT: "New event", NEXT: "Next", PREVIOUS: "Previous", RECUR_SCOPE_ALL: "All events", RECUR_SCOPE_BODY_DELETE: "This event is part of a recurring series. Do you want to delete only this event or all events in the series?", RECUR_SCOPE_BODY_EDIT: "This event is part of a recurring series. Do you want to edit only this event or all events in the series?", RECUR_SCOPE_THIS: "This event", RECUR_SCOPE_TITLE: "Recurring event", REPEAT: "Repeat", REPEAT_DAILY: "Daily", REPEAT_END: "Ends", REPEAT_END_COUNT: "After", REPEAT_END_NEVER: "Never", REPEAT_END_UNTIL: "On date", REPEAT_EVERY: "Repeat every", REPEAT_UNIT_DAYS: "day(s)", REPEAT_UNIT_WEEKS: "week(s)", REPEAT_UNIT_MONTHS: "month(s)", REPEAT_UNIT_YEARS: "year(s)", REPEAT_MONTHLY: "Monthly", REPEAT_NONE: "Does not repeat", REPEAT_OCCURRENCES: "occurrence(s)", REPEAT_ON: "Repeat on", REPEAT_WEEKLY: "Weekly", REPEAT_YEARLY: "Yearly", SAVE: "Save", START: "Start", TIMELINE: "Timeline", TIMELINE_DAY: "Timeline Day", TIMELINE_WEEK: "Timeline Week", TITLE: "Title", TODAY: "Today", WEEK: "Week", WORK_WEEK: "Work week", ZOOM_IN: "Zoom in", ZOOM_OUT: "Zoom out" }, Sa = { no_options: "No options" }, yo = {
|
|
1842
|
-
CORE: na,
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1806
|
+
const oa = { ERRORS: { SESSION_EXPIRED: `Access Denied: Your session has expired or you do not have the necessary permissions.
|
|
1807
|
+
Please log in again or contact the administrator for assistance.`, NETWORK_UNAVAILABLE: "Network unavailable. Please check your connection." }, THEMES: { LIGHT: "Light", DARK: "Dark" }, NOTIFICATIONS: { CLEAR_ALL: "Clear all" } }, ra = { NAVIGATION_ARIA_LABEL: "Primary navigation", SIDEBAR: { SEARCH_PLACEHOLDER: "Search keyword" }, USER: { ROLE: { ADMINISTRATOR: "Administrator" } }, ACCOUNT: { SETTINGS: "Settings", CHANGE_PASSWORD: "Change password", PROFILE: "Profile", LOGOUT: "Log Out" } }, ia = { CONTROLS: { CLEAR: "Clear", CLEAR_ALL: "Clear all", CLOSE: "Close", TOGGLE_DROPDOWN: "Toggle dropdown", SEARCH_OPTIONS: "Search options", SELECT_OPTION: "Select option", CLEAR_SELECTION: "Clear selection", COPY_TO_CLIPBOARD: "Copy to clipboard", DELETE_ITEM: "Delete item", SHOW_PASSWORD: "Show password", HIDE_PASSWORD: "Hide password" }, ATOMS: { VC_IMAGE: { LABEL: "Image" }, VC_BANNER: { SHOW_MORE: "Show more", SHOW_LESS: "Show less" }, VC_SCROLLABLE_CONTAINER: { LABEL: "Scrollable content" }, VC_VIDEO: { NO_SOURCE: "No video source" } }, MOLECULES: { VC_SELECT: { CLICK_TO_SELECT: "Click to select...", LOADING: "Loading...", LOADING_MORE: "Loading more...", NO_OPTIONS: "No options" }, VC_FILE_UPLOAD: { DRAG_HERE: "Drag and drop file here or", BROWSE: "browse your files", TAP_TO_UPLOAD: "Tap to select files", UPLOADING: "Uploading..." }, VC_INPUT: { DATE_PLACEHOLDER: "Select date", DATE_TIME_PLACEHOLDER: "Select date and time" }, VC_PAGINATION: { JUMP: "Jump to page:", LABEL: "Pagination", FIRST: "First page", PREVIOUS: "Previous page", NEXT: "Next page", LAST: "Last page", PAGE: "Page {page}" }, VC_MULTIVALUE: { ADD: "Add" }, VC_BREADCRUMBS: { BACK: "Back", LABEL: "Breadcrumb", SHOW_MORE: "Show more breadcrumbs" }, VC_COLOR_INPUT: { CLEAR: "Clear color" }, VC_DATE_PICKER: { CLEAR: "Clear date" }, VC_SLIDER: { PREVIOUS: "Previous slide", NEXT: "Next slide" }, VC_TOAST: { DISMISS: "Dismiss notification" }, VC_EDITOR: { TOOLBAR: { LABEL: "Text formatting", BOLD: "Bold", ITALIC: "Italic", UNDERLINE: "Underline", STRIKETHROUGH: "Strikethrough", HEADING_1: "Heading 1", HEADING_2: "Heading 2", HEADING_3: "Heading 3", BULLET_LIST: "Bullet list", NUMBERED_LIST: "Numbered list", BLOCKQUOTE: "Blockquote", INSERT_LINK: "Insert link", INSERT_IMAGE: "Insert image", INSERT_TABLE: "Insert table", DELETE_TABLE: "Delete table", ADD_COLUMN_BEFORE: "Add column before", ADD_COLUMN_AFTER: "Add column after", ADD_ROW_BEFORE: "Add row before", ADD_ROW_AFTER: "Add row after", DELETE_COLUMN: "Delete column", DELETE_ROW: "Delete row" }, FONT_SIZE: "Font size", VIEW: { PREVIEW: "Preview", SPLIT: "Side-by-side view", SOURCE: "Source code" } } }, ORGANISMS: { VC_DYNAMIC_PROPERTY: { ADD: "Add value", VALUE_TYPE: { COLOR: { PLACEHOLDER: "Color code", NAME: "Color name" } } }, VC_GALLERY: { INTERNAL: { VC_GALLERY_ITEM: { FULLSCREEN: "Fullscreen", EDIT: "Edit", DELETE: "Delete" }, VC_GALLERY_PREVIEW: { COPY_IMAGE_LINK: "copy image link" }, VC_GALLERY_FILMSTRIP: { PREVIOUS: "Previous images", NEXT: "Next images" } }, GALLERY_IS_EMPTY: "Gallery is empty", DROP_TO_UPLOAD: "Drop to upload", DRAG_IMAGES_HERE: "Drag images here or", BROWSE_IMAGES: "browse your files", UPLOAD: "Upload", OR_DROP_HERE: "or drop here", SHOW_ALL: "Expand ({count})", COLLAPSE: "Collapse" }, VC_APP: { NOTIFICATIONS: "Notifications", OPEN_MENU: "Open menu", CLOSE_MENU: "Close menu", INTERNAL: { VC_APP_BAR: { BACK: "Back" }, MOBILE_LAYOUT: { TAB_MENU: "Menu", TAB_HUB: "Hub" }, APP_HUB: { SEARCH_PLACEHOLDER: "Search applications and widgets", APPLICATIONS: "Applications", WIDGETS: "Widgets", NO_APPLICATIONS: "No applications found", NO_WIDGETS: "No widgets found", LIST_VIEW: "List view", TILE_VIEW: "Tile view" } } }, BLADE_NAVIGATION: { ARIA_LABEL: "Blade navigation" }, VC_BLADE: { SEE_DETAILS: "See details", UNSAVED_CHANGES: "Has unsaved changes", ERROR_POPUP: { TITLE: "Error details", COPY_ERROR: "copy content", CLOSE: "dismiss" }, MORE: "More", TOOLBAR: "Toolbar actions", CLOSE_MENU: "Close menu", PANEL: "Panel" }, VC_BLADE_HEADER: { UNSAVED_CHANGES: "Has unsaved changes", NO_CHANGES: "No unsaved changes", CLOSE: "Close", MAXIMIZE: "Maximize", RESTORE: "Restore" }, VC_TABLE: { SELECT_ROW: "Select row", SELECT_ALL_ROWS: "Select all rows", EXPAND_ROW: "Toggle row details", CURRENT_PAGE_SELECTED: "All items in this page are selected.", SELECT_ALL: "Select all items", ALL_SELECTED: "All items are selected.", ALL_SELECTED_COUNT: "All {count} items selected", SELECT_ALL_COUNT: "Select all {count} items", CANCEL: "Clear selection", ALL_ACTIONS: "All actions", MORE: "More", ALL_FILTERS: "Filters", SEARCH: "Search...", EMPTY: "List is empty.", EMPTY_TITLE: "No data", EMPTY_DESCRIPTION: "No items to display", NOT_FOUND: "Nothing found.", NOT_FOUND_TITLE: "No results found", NOT_FOUND_DESCRIPTION: "Try adjusting your search or filters", TOTALS: "Totals:", ACTIONS: "Actions", NOT_SET: "Not set", SELECTED: "Selected", SELECT_ALL_TRUNCATED: "Select all", PULL_TO_REFRESH: "Pull to refresh", RELEASE_TO_REFRESH: "Release to refresh", REFRESHING: "Refreshing...", ADD_ROW: "Add row", LOADING: "Loading...", PAGE_INFO: "Page {current} of {total}", COLUMN_FILTER: { APPLY: "Apply", CLEAR: "Clear", FROM: "From", TO: "To", TITLE: "Filter column" }, GLOBAL_FILTERS: { BUTTON: "Filters", TITLE: "Filters" }, COLUMN_SWITCHER: { BUTTON: "Columns", TITLE: "Show/Hide Columns", SHOW_ALL: "Show All", RESET: "Reset" }, OF: "of", PAGE: "Page" }, VC_POPUP: { OK: "OK", CONFIRM: "Confirm", CANCEL: "Cancel", CLOSE: "Close", TITLE: { CONFIRMATION: "Confirmation", ERROR: "Error", INFO: "Info" } } }, THEME_SELECTOR: { THEME_CHANGED: " theme", THEME_SELECTOR: "Theme" }, CHANGE_PASSWORD: { TITLE: "Change password", TITLE_FORCED: "Password expired", SUBTITLE_FORCED: "Please set a new password", FORCED: { LABEL: "Your password has expired. You must change the password to continue using the manager." }, CURRENT_PASSWORD: { LABEL: "Current password", PLACEHOLDER: "Enter password" }, NEW_PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" }, CANCEL: "Cancel", SAVE: "Update", ERRORS: { "Repeat-password": "Passwords are not same", "Equal-passwords": "The new password must not match the old one", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", "Incorrect password.": "You entered an incorrect password", "You have used this password in the past. Choose another one.": "You have used this password in the past. Choose another one." } }, APP_HUB: { TITLE: "Applications" }, NOTIFICATION_DROPDOWN: { TITLE: "Notifications", EMPTY: "No notifications yet" }, LANGUAGE_SELECTOR: { TITLE: "Language" }, FILTERS: { APPLY: "Apply filters", RESET: "Reset" } }, la = { TITLE: "You're invited!", SUBTITLE: "Set a password for your account", FIELDS: { EMAIL: { LABEL: "Email" }, PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, ACCEPT_INVITATION: "Activate", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, ua = { TITLE: "Welcome back", SUBTITLE: "Sign in to your account to continue", FIELDS: { LOGIN: { LABEL: "Email", PLACEHOLDER: "Enter your email" }, PASSWORD: { LABEL: "Password", PLACEHOLDER: "Enter your password" }, FORGOT_PASSWORD: { TITLE: "Forgot password", LABEL: "Email", PLACEHOLDER: "Please enter your email" } }, FORGOT_PASSWORD_BUTTON: "Forgot password?", BUTTON: "Sign in", OR: "or", FORGOT_BUTTON: "Submit", BACK_BUTTON: "Back", BUTTON_OK: "Ok", RESET_EMAIL_TEXT: "We will send you an email with instructions on how to reset your password.", RESET_EMAIL_SENT: "Email with instructions has been sent to you.", SSO_NO_PROVIDERS_ERROR: "SSO authentication is not configured. Please contact your administrator.", ERRORS: { INVALID_CREDENTIALS: "The login or password is incorrect.", AUTH_WITH_CODE: "Authentication error (code: {code}).", AUTH_GENERIC: "Authentication error: {detail}" } }, ca = { TITLE: "Reset your password", SUBTITLE: "Enter your email and we'll send you a reset link", FIELDS: { EMAIL: { LABEL: "Email", PLACEHOLDER: "Enter your email address" } }, SEND_BUTTON: "Send reset link", BACK_TO_LOGIN: "Back to sign in", SUCCESS_TITLE: "Check your email", SUCCESS_TEXT: "We sent a reset link to {email}" }, da = { TITLE: "Set new password", SUBTITLE: "Enter your new password below", FIELDS: { PASSWORD: { LABEL: "New password", PLACEHOLDER: "Enter password" }, CONFIRM_PASSWORD: { LABEL: "Confirm password", PLACEHOLDER: "Confirm password" } }, SAVE_PASSWORD: "Save", ERRORS: { "Repeat-password": "Passwords are not same", "Invalid-token": "Token is invalid or expired", "Password-too-weak": "New password does not comply one or more password security policies:", PasswordTooShort: "Passwords too short", PasswordRequiresUniqueChars: "Passwords must use different characters", PasswordRequiresLower: "Passwords must have at least one lowercase ('a'-'z')", PasswordRequiresUpper: "Passwords must have at least one uppercase ('A'-'Z')", PasswordRequiresDigit: "Passwords must have at least one digit ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwords must have at least one non alphanumeric character", recentPasswordUsed: "You have used this password in the past. Choose another one." } }, Ea = { TITLE: "Assets", TOOLBAR: { SAVE: "Save", REFRESH: "Refresh", ADD: "Add", DELETE: "Delete selected" }, EMPTY: { NO_ASSETS: "No assets", UPLOAD_ASSETS: "Drag & drop assets here or click 'Upload' button", UPLOAD: "Upload" }, TABLE: { HEADER: { IMAGE: "Img", NAME: "Name", SIZE: "Size", SORT_ORDER: "Sort order", CREATED_DATE: "Created date" }, ACTIONS: { DELETE: "Delete", EDIT: "Edit" } } }, fa = { PAGES: { DETAILS: { SUBTITLE: "Asset edit", TOOLBAR: { SAVE: "Save", DELETE: "Delete" }, FIELDS: { SIZE: "Size", CREATED_DATE: "Created date", URL: "Url", COPY: "Copy link", NAME: { TITLE: "Asset name", PLACEHOLDER: "Enter asset name" }, ALT: { TITLE: "Image alternative text", PLACEHOLDER: "Enter image alt text", TOOLTIP: "This text will be displayed in case of disabled/unloaded image on the page" }, DESCRIPTION: { TITLE: "Meta description", PLACEHOLDER: "Enter meta description" } } } } }, ma = { _default: "The {field} is not valid", alpha: "The {field} field may only contain alphabetic characters", alpha_num: "The {field} field may only contain alpha-numeric characters", alpha_dash: "The {field} field may contain alpha-numeric characters as well as dashes and underscores", alpha_spaces: "The {field} field may only contain alphabetic characters as well as spaces", between: "The {field} field must be between 0:{min} and 1:{max}", confirmed: "The {field} field confirmation does not match", digits: "The {field} field must be numeric and exactly contain 0:{length} digits", dimensions: "The {field} field must be 0:{width} pixels by 1:{height} pixels", email: "The {field} field must be a valid email", not_one_of: "The {field} field is not a valid value", ext: "The {field} field is not a valid file", image: "The {field} field must be an image", integer: "The {field} field must be an integer", length: "The {field} field must be 0:{length} long", max_value: "The {field} field must be 0:{max} or less", max: "The {field} field may not be greater than 0:{length} characters", mimes: "The {field} field must have a valid file type", min_value: "The {field} field must be 0:{min} or more", min: "The {field} field must be at least 0:{length} characters", numeric: "The {field} field may only contain numeric characters", one_of: "The {field} field is not a valid value", regex: "The {field} field format is invalid", required_if: "The {field} field is required", required: "The {field} field is required", size: "The {field} field size must be less than 0:{size}KB", url: "The {field} field is not a valid URL", min_dimensions: { error: "Image dimensions must be greater than {height}*{width}", not_image_error: "Not image file" }, file_weight: "File size must be maximum {size} kb", before: "End date must be earlier than start date", after: "End date must be later than start date", bigint: "Unsupported number" }, ga = { ACCESS_RESTRICTED: "Access restricted" }, Sa = { LOADING: "Loading Virto OZ..." }, Aa = { AGENDA: "Agenda", ALL_DAY: "All day", CANCEL: "Cancel", CLOSE: "Close", COLOR: "Color", COLOR_DEFAULT: "Default color", COLOR_CUSTOM: "Custom color", COLOR_BLUE: "Blue", COLOR_GREEN: "Green", COLOR_AMBER: "Amber", COLOR_RED: "Red", COLOR_PURPLE: "Purple", COLOR_PINK: "Pink", COLOR_TEAL: "Teal", COLOR_SLATE: "Slate", DAY: "Day", DAY_N_OF_M: "Day {n} of {total}", DELETE: "Delete", DELETE_CONFIRM_BODY: `Delete "{title}"? This can't be undone.`, DELETE_CONFIRM_TITLE: "Delete event", EDIT: "Edit", EDIT_EVENT: "Edit event", EMPTY: "No events in this range", EMPTY_HINT: "No events yet. Click a day to add one.", END: "End", LOADING: "Loading events…", MORE: "+{count} more", MORE_EVENTS: "More events", MONTH: "Month", MORE_OPTIONS: "More options", NEW_EVENT: "New event", NEXT: "Next", PREVIOUS: "Previous", RECUR_SCOPE_ALL: "All events", RECUR_SCOPE_BODY_DELETE: "This event is part of a recurring series. Do you want to delete only this event or all events in the series?", RECUR_SCOPE_BODY_EDIT: "This event is part of a recurring series. Do you want to edit only this event or all events in the series?", RECUR_SCOPE_THIS: "This event", RECUR_SCOPE_TITLE: "Recurring event", REPEAT: "Repeat", REPEAT_DAILY: "Daily", REPEAT_END: "Ends", REPEAT_END_COUNT: "After", REPEAT_END_NEVER: "Never", REPEAT_END_UNTIL: "On date", REPEAT_EVERY: "Repeat every", REPEAT_UNIT_DAYS: "day(s)", REPEAT_UNIT_WEEKS: "week(s)", REPEAT_UNIT_MONTHS: "month(s)", REPEAT_UNIT_YEARS: "year(s)", REPEAT_MONTHLY: "Monthly", REPEAT_NONE: "Does not repeat", REPEAT_OCCURRENCES: "occurrence(s)", REPEAT_ON: "Repeat on", REPEAT_WEEKLY: "Weekly", REPEAT_YEARLY: "Yearly", SAVE: "Save", START: "Start", TIMELINE: "Timeline", TIMELINE_DAY: "Timeline Day", TIMELINE_WEEK: "Timeline Week", TITLE: "Title", TODAY: "Today", WEEK: "Week", WORK_WEEK: "Work week", ZOOM_IN: "Zoom in", ZOOM_OUT: "Zoom out", EVENT_DETAILS: "Event details" }, pa = { no_options: "No options" }, Do = {
|
|
1808
|
+
CORE: oa,
|
|
1809
|
+
SHELL: ra,
|
|
1810
|
+
COMPONENTS: ia,
|
|
1811
|
+
INVITATION: la,
|
|
1812
|
+
LOGIN: ua,
|
|
1813
|
+
FORGOT_PASSWORD: ca,
|
|
1814
|
+
PASSWORDRESET: da,
|
|
1815
|
+
ASSETS_MANAGER: Ea,
|
|
1816
|
+
ASSETS: fa,
|
|
1817
|
+
messages: ma,
|
|
1818
|
+
PERMISSION_MESSAGES: ga,
|
|
1819
|
+
AI_AGENT: Sa,
|
|
1820
|
+
VC_SCHEDULER: Aa,
|
|
1821
|
+
common: pa
|
|
1822
|
+
}, yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1857
1823
|
__proto__: null,
|
|
1858
|
-
AI_AGENT:
|
|
1859
|
-
ASSETS:
|
|
1860
|
-
ASSETS_MANAGER:
|
|
1861
|
-
COMPONENTS:
|
|
1862
|
-
CORE:
|
|
1863
|
-
FORGOT_PASSWORD:
|
|
1864
|
-
INVITATION:
|
|
1865
|
-
LOGIN:
|
|
1866
|
-
PASSWORDRESET:
|
|
1867
|
-
PERMISSION_MESSAGES:
|
|
1868
|
-
SHELL:
|
|
1869
|
-
VC_SCHEDULER:
|
|
1870
|
-
common:
|
|
1871
|
-
default:
|
|
1872
|
-
messages:
|
|
1873
|
-
}, Symbol.toStringTag, { value: "Module" })), pa = { THEMES: { LIGHT: "Hell", DARK: "Dunkel" }, NOTIFICATIONS: { CLEAR_ALL: "Alle löschen" } }, Aa = { NAVIGATION_ARIA_LABEL: "Hauptnavigation", SIDEBAR: { SEARCH_PLACEHOLDER: "Suchbegriff" }, USER: { ROLE: { ADMINISTRATOR: "Administrator" } }, ACCOUNT: { SETTINGS: "Einstellungen", CHANGE_PASSWORD: "Passwort ändern", PROFILE: "Profil", LOGOUT: "Abmelden" } }, Ta = { CONTROLS: { CLEAR: "Löschen", CLEAR_ALL: "Alle löschen", CLOSE: "Schließen", TOGGLE_DROPDOWN: "Dropdown umschalten", SEARCH_OPTIONS: "Optionen suchen", SELECT_OPTION: "Option auswählen", CLEAR_SELECTION: "Auswahl aufheben", COPY_TO_CLIPBOARD: "In die Zwischenablage kopieren", DELETE_ITEM: "Element löschen", SHOW_PASSWORD: "Passwort anzeigen", HIDE_PASSWORD: "Passwort verbergen" }, ATOMS: { VC_IMAGE: { LABEL: "Bild" }, VC_BANNER: { SHOW_MORE: "Mehr anzeigen", SHOW_LESS: "Weniger anzeigen" }, VC_SCROLLABLE_CONTAINER: { LABEL: "Scrollbarer Inhalt" }, VC_VIDEO: { NO_SOURCE: "Keine Videoquelle" } }, MOLECULES: { VC_SELECT: { CLICK_TO_SELECT: "Zum Auswählen klicken...", LOADING: "Wird geladen...", LOADING_MORE: "Mehr laden...", NO_OPTIONS: "Keine Optionen" }, VC_FILE_UPLOAD: { DRAG_HERE: "Datei hier ablegen oder", BROWSE: "Dateien durchsuchen", TAP_TO_UPLOAD: "Tippen, um Dateien auszuwählen", UPLOADING: "Wird hochgeladen..." }, VC_INPUT: { DATE_PLACEHOLDER: "Datum auswählen", DATE_TIME_PLACEHOLDER: "Datum und Uhrzeit auswählen" }, VC_PAGINATION: { JUMP: "Zur Seite springen:", LABEL: "Seitennummerierung", FIRST: "Erste Seite", PREVIOUS: "Vorherige Seite", NEXT: "Nächste Seite", LAST: "Letzte Seite", PAGE: "Seite {page}" }, VC_MULTIVALUE: { ADD: "Hinzufügen" }, VC_BREADCRUMBS: { BACK: "Zurück", LABEL: "Brotkrümelnavigation", SHOW_MORE: "Weitere Brotkrümel anzeigen" }, VC_COLOR_INPUT: { CLEAR: "Farbe löschen" }, VC_DATE_PICKER: { CLEAR: "Datum löschen" }, VC_SLIDER: { PREVIOUS: "Vorherige Folie", NEXT: "Nächste Folie" }, VC_TOAST: { DISMISS: "Benachrichtigung schließen" }, VC_EDITOR: { TOOLBAR: { LABEL: "Textformatierung", BOLD: "Fett", ITALIC: "Kursiv", UNDERLINE: "Unterstrichen", STRIKETHROUGH: "Durchgestrichen", HEADING_1: "Überschrift 1", HEADING_2: "Überschrift 2", HEADING_3: "Überschrift 3", BULLET_LIST: "Aufzählungsliste", NUMBERED_LIST: "Nummerierte Liste", BLOCKQUOTE: "Blockzitat", INSERT_LINK: "Link einfügen", INSERT_IMAGE: "Bild einfügen", INSERT_TABLE: "Tabelle einfügen", DELETE_TABLE: "Tabelle löschen", ADD_COLUMN_BEFORE: "Spalte davor einfügen", ADD_COLUMN_AFTER: "Spalte danach einfügen", ADD_ROW_BEFORE: "Zeile davor einfügen", ADD_ROW_AFTER: "Zeile danach einfügen", DELETE_COLUMN: "Spalte löschen", DELETE_ROW: "Zeile löschen" }, FONT_SIZE: "Schriftgröße", VIEW: { PREVIEW: "Vorschau", SPLIT: "Nebeneinander-Ansicht", SOURCE: "Quellcode" } } }, ORGANISMS: { VC_DYNAMIC_PROPERTY: { ADD: "Wert hinzufügen", VALUE_TYPE: { COLOR: { PLACEHOLDER: "Farbcode", NAME: "Farbname" } } }, VC_GALLERY: { INTERNAL: { VC_GALLERY_ITEM: { FULLSCREEN: "Vollbild", EDIT: "Bearbeiten", DELETE: "Löschen" }, VC_GALLERY_PREVIEW: { COPY_IMAGE_LINK: "Bildlink kopieren" }, VC_GALLERY_FILMSTRIP: { PREVIOUS: "Vorherige Bilder", NEXT: "Nächste Bilder" } }, GALLERY_IS_EMPTY: "Galerie ist leer", DROP_TO_UPLOAD: "Zum Hochladen ablegen", DRAG_IMAGES_HERE: "Bilder hierher ziehen oder", BROWSE_IMAGES: "Dateien durchsuchen", UPLOAD: "Hochladen", OR_DROP_HERE: "oder hierher ziehen", SHOW_ALL: "Erweitern ({count})", COLLAPSE: "Einklappen" }, VC_APP: { NOTIFICATIONS: "Benachrichtigungen", OPEN_MENU: "Menü öffnen", CLOSE_MENU: "Menü schließen", INTERNAL: { VC_APP_BAR: { BACK: "Zurück" }, MOBILE_LAYOUT: { TAB_MENU: "Menü", TAB_HUB: "Hub" }, APP_HUB: { SEARCH_PLACEHOLDER: "Anwendungen und Widgets suchen", APPLICATIONS: "Anwendungen", WIDGETS: "Widgets", NO_APPLICATIONS: "Keine Anwendungen gefunden", NO_WIDGETS: "Keine Widgets gefunden", LIST_VIEW: "Listenansicht", TILE_VIEW: "Kachelansicht" } } }, BLADE_NAVIGATION: { ARIA_LABEL: "Blade-Navigation" }, VC_BLADE: { SEE_DETAILS: "Details anzeigen", UNSAVED_CHANGES: "Hat ungespeicherte Änderungen", ERROR_POPUP: { TITLE: "Fehlerdetails", COPY_ERROR: "Inhalt kopieren", CLOSE: "schließen" }, MORE: "Mehr", TOOLBAR: "Toolbar-Aktionen", CLOSE_MENU: "Menü schließen", PANEL: "Panel" }, VC_BLADE_HEADER: { UNSAVED_CHANGES: "Hat ungespeicherte Änderungen", NO_CHANGES: "Keine ungespeicherten Änderungen", CLOSE: "Schließen", MAXIMIZE: "Maximieren", RESTORE: "Wiederherstellen" }, VC_TABLE: { SELECT_ROW: "Zeile auswählen", SELECT_ALL_ROWS: "Alle Zeilen auswählen", EXPAND_ROW: "Zeilendetails umschalten", CURRENT_PAGE_SELECTED: "Alle Elemente auf dieser Seite sind ausgewählt.", SELECT_ALL: "Alle Elemente auswählen", ALL_SELECTED: "Alle Elemente sind ausgewählt.", ALL_SELECTED_COUNT: "Alle {count} Elemente ausgewählt", SELECT_ALL_COUNT: "Alle {count} Elemente auswählen", CANCEL: "Auswahl aufheben", ALL_ACTIONS: "Alle Aktionen", MORE: "Mehr", ALL_FILTERS: "Filter", SEARCH: "Suchen...", EMPTY: "Liste ist leer.", EMPTY_TITLE: "Keine Daten", EMPTY_DESCRIPTION: "Keine Elemente zum Anzeigen", NOT_FOUND: "Nichts gefunden.", NOT_FOUND_TITLE: "Keine Ergebnisse gefunden", NOT_FOUND_DESCRIPTION: "Passen Sie Ihre Suche oder Filter an", TOTALS: "Gesamt:", ACTIONS: "Aktionen", NOT_SET: "Nicht festgelegt", SELECTED: "Ausgewählt", SELECT_ALL_TRUNCATED: "Alle auswählen", PULL_TO_REFRESH: "Zum Aktualisieren ziehen", RELEASE_TO_REFRESH: "Zum Aktualisieren loslassen", REFRESHING: "Wird aktualisiert...", ADD_ROW: "Zeile hinzufügen", LOADING: "Wird geladen...", PAGE_INFO: "Seite {current} von {total}", COLUMN_FILTER: { APPLY: "Anwenden", CLEAR: "Löschen", FROM: "Von", TO: "Bis", TITLE: "Spalte filtern" }, GLOBAL_FILTERS: { BUTTON: "Filter", TITLE: "Filter" }, COLUMN_SWITCHER: { BUTTON: "Spalten", TITLE: "Spalten ein-/ausblenden", SHOW_ALL: "Alle anzeigen", RESET: "Zurücksetzen" }, OF: "von", PAGE: "Seite" }, VC_POPUP: { OK: "OK", CONFIRM: "Bestätigen", CANCEL: "Abbrechen", CLOSE: "Schließen", TITLE: { CONFIRMATION: "Bestätigung", ERROR: "Fehler", INFO: "Info" } } }, THEME_SELECTOR: { THEME_CHANGED: " Thema", THEME_SELECTOR: "Themen" }, CHANGE_PASSWORD: { TITLE: "Passwort ändern", TITLE_FORCED: "Passwort abgelaufen", SUBTITLE_FORCED: "Bitte legen Sie ein neues Passwort fest", FORCED: { LABEL: "Ihr Passwort ist abgelaufen. Sie müssen das Passwort ändern, um den Manager weiter zu nutzen." }, CURRENT_PASSWORD: { LABEL: "Aktuelles Passwort", PLACEHOLDER: "Passwort eingeben" }, NEW_PASSWORD: { LABEL: "Neues Passwort", PLACEHOLDER: "Passwort eingeben" }, CONFIRM_PASSWORD: { LABEL: "Passwort bestätigen", PLACEHOLDER: "Passwort bestätigen" }, CANCEL: "Abbrechen", SAVE: "Aktualisieren", ERRORS: { "Repeat-password": "Passwörter stimmen nicht überein", "Equal-passwords": "Das neue Passwort darf nicht mit dem alten übereinstimmen", "Invalid-token": "Token ist ungültig oder abgelaufen", "Password-too-weak": "Neues Passwort erfüllt eine oder mehrere Passwort-Sicherheitsrichtlinien nicht:", PasswordTooShort: "Passwort zu kurz", PasswordRequiresUniqueChars: "Passwörter müssen unterschiedliche Zeichen verwenden", PasswordRequiresLower: "Passwörter müssen mindestens einen Kleinbuchstaben enthalten ('a'-'z')", PasswordRequiresUpper: "Passwörter müssen mindestens einen Großbuchstaben enthalten ('A'-'Z')", PasswordRequiresDigit: "Passwörter müssen mindestens eine Ziffer enthalten ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwörter müssen mindestens ein nicht-alphanumerisches Zeichen enthalten", "Incorrect password.": "Sie haben ein falsches Passwort eingegeben", "You have used this password in the past. Choose another one.": "Sie haben dieses Passwort in der Vergangenheit verwendet. Wählen Sie ein anderes." } }, APP_HUB: { TITLE: "Anwendungen" }, NOTIFICATION_DROPDOWN: { TITLE: "Benachrichtigungen", EMPTY: "Noch keine Benachrichtigungen" }, LANGUAGE_SELECTOR: { TITLE: "Sprache" }, FILTERS: { APPLY: "Filter anwenden", RESET: "Zurücksetzen" } }, ha = { TITLE: "Sie sind eingeladen!", SUBTITLE: "Legen Sie ein Passwort für Ihr Konto fest", FIELDS: { EMAIL: { LABEL: "E-Mail" }, PASSWORD: { LABEL: "Neues Passwort", PLACEHOLDER: "Passwort eingeben" }, CONFIRM_PASSWORD: { LABEL: "Passwort bestätigen", PLACEHOLDER: "Passwort bestätigen" } }, ACCEPT_INVITATION: "Aktivieren", ERRORS: { "Repeat-password": "Passwörter stimmen nicht überein", "Invalid-token": "Token ist ungültig oder abgelaufen", "Password-too-weak": "Neues Passwort erfüllt eine oder mehrere Passwort-Sicherheitsrichtlinien nicht:", PasswordTooShort: "Passwort zu kurz", PasswordRequiresUniqueChars: "Passwörter müssen unterschiedliche Zeichen verwenden", PasswordRequiresLower: "Passwörter müssen mindestens einen Kleinbuchstaben enthalten ('a'-'z')", PasswordRequiresUpper: "Passwörter müssen mindestens einen Großbuchstaben enthalten ('A'-'Z')", PasswordRequiresDigit: "Passwörter müssen mindestens eine Ziffer enthalten ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwörter müssen mindestens ein nicht-alphanumerisches Zeichen enthalten", recentPasswordUsed: "Sie haben dieses Passwort in der Vergangenheit verwendet. Wählen Sie ein anderes." } }, La = { TITLE: "Willkommen zurück", SUBTITLE: "Melden Sie sich bei Ihrem Konto an, um fortzufahren", FIELDS: { LOGIN: { LABEL: "E-Mail", PLACEHOLDER: "Geben Sie Ihre E-Mail-Adresse ein" }, PASSWORD: { LABEL: "Passwort", PLACEHOLDER: "Geben Sie Ihr Passwort ein" }, FORGOT_PASSWORD: { TITLE: "Passwort vergessen", LABEL: "E-Mail", PLACEHOLDER: "Bitte geben Sie Ihre E-Mail-Adresse ein" } }, FORGOT_PASSWORD_BUTTON: "Passwort vergessen?", BUTTON: "Anmelden", OR: "oder", FORGOT_BUTTON: "Absenden", BACK_BUTTON: "Zurück", BUTTON_OK: "Ok", RESET_EMAIL_TEXT: "Wir senden Ihnen eine E-Mail mit Anweisungen zum Zurücksetzen Ihres Passworts.", RESET_EMAIL_SENT: "Eine E-Mail mit Anweisungen wurde an Sie gesendet.", SSO_NO_PROVIDERS_ERROR: "SSO-Authentifizierung ist nicht konfiguriert. Bitte wenden Sie sich an Ihren Administrator.", ERRORS: { INVALID_CREDENTIALS: "Anmeldename oder Passwort ist falsch.", AUTH_WITH_CODE: "Authentifizierungsfehler (Code: {code}).", AUTH_GENERIC: "Authentifizierungsfehler: {detail}" } }, Oa = { TITLE: "Passwort zurücksetzen", SUBTITLE: "Geben Sie Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link zum Zurücksetzen", FIELDS: { EMAIL: { LABEL: "E-Mail", PLACEHOLDER: "Geben Sie Ihre E-Mail-Adresse ein" } }, SEND_BUTTON: "Link zum Zurücksetzen senden", BACK_TO_LOGIN: "Zurück zur Anmeldung", SUCCESS_TITLE: "Überprüfen Sie Ihre E-Mail", SUCCESS_TEXT: "Wir haben einen Link zum Zurücksetzen an {email} gesendet" }, Ra = { TITLE: "Neues Passwort festlegen", SUBTITLE: "Geben Sie unten Ihr neues Passwort ein", FIELDS: { PASSWORD: { LABEL: "Neues Passwort", PLACEHOLDER: "Passwort eingeben" }, CONFIRM_PASSWORD: { LABEL: "Passwort bestätigen", PLACEHOLDER: "Passwort bestätigen" } }, SAVE_PASSWORD: "Speichern", ERRORS: { "Repeat-password": "Passwörter stimmen nicht überein", "Invalid-token": "Token ist ungültig oder abgelaufen", "Password-too-weak": "Neues Passwort erfüllt eine oder mehrere Passwort-Sicherheitsrichtlinien nicht:", PasswordTooShort: "Passwort zu kurz", PasswordRequiresUniqueChars: "Passwörter müssen unterschiedliche Zeichen verwenden", PasswordRequiresLower: "Passwörter müssen mindestens einen Kleinbuchstaben enthalten ('a'-'z')", PasswordRequiresUpper: "Passwörter müssen mindestens einen Großbuchstaben enthalten ('A'-'Z')", PasswordRequiresDigit: "Passwörter müssen mindestens eine Ziffer enthalten ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwörter müssen mindestens ein nicht-alphanumerisches Zeichen enthalten", recentPasswordUsed: "Sie haben dieses Passwort in der Vergangenheit verwendet. Wählen Sie ein anderes." } }, _a = { TITLE: "Assets", TOOLBAR: { SAVE: "Speichern", REFRESH: "Aktualisieren", ADD: "Hinzufügen", DELETE: "Ausgewählte löschen" }, EMPTY: { NO_ASSETS: "Keine Assets", UPLOAD_ASSETS: "Assets hier ablegen oder auf 'Hochladen' klicken", UPLOAD: "Hochladen" }, TABLE: { HEADER: { IMAGE: "Bild", NAME: "Name", SIZE: "Größe", SORT_ORDER: "Sortierreihenfolge", CREATED_DATE: "Erstellungsdatum" }, ACTIONS: { DELETE: "Löschen", EDIT: "Bearbeiten" } } }, Ia = { PAGES: { DETAILS: { SUBTITLE: "Asset bearbeiten", TOOLBAR: { SAVE: "Speichern", DELETE: "Löschen" }, FIELDS: { SIZE: "Größe", CREATED_DATE: "Erstellungsdatum", URL: "URL", COPY: "Link kopieren", NAME: { TITLE: "Asset-Name", PLACEHOLDER: "Asset-Namen eingeben" }, ALT: { TITLE: "Alternativer Bildtext", PLACEHOLDER: "Alternativen Bildtext eingeben", TOOLTIP: "Dieser Text wird angezeigt, wenn das Bild auf der Seite deaktiviert oder nicht geladen ist" }, DESCRIPTION: { TITLE: "Meta-Beschreibung", PLACEHOLDER: "Meta-Beschreibung eingeben" } } } } }, va = { _default: "Das Feld {field} ist ungültig", alpha: "Das Feld {field} darf nur alphabetische Zeichen enthalten", alpha_num: "Das Feld {field} darf nur alphanumerische Zeichen enthalten", alpha_dash: "Das Feld {field} darf alphanumerische Zeichen sowie Bindestriche und Unterstriche enthalten", alpha_spaces: "Das Feld {field} darf nur alphabetische Zeichen und Leerzeichen enthalten", between: "Das Feld {field} muss zwischen 0:{min} und 1:{max} liegen", confirmed: "Die Bestätigung des Feldes {field} stimmt nicht überein", digits: "Das Feld {field} muss numerisch sein und genau 0:{length} Ziffern enthalten", dimensions: "Das Feld {field} muss 0:{width} Pixel breit und 1:{height} Pixel hoch sein", email: "Das Feld {field} muss eine gültige E-Mail-Adresse sein", not_one_of: "Das Feld {field} hat keinen gültigen Wert", ext: "Das Feld {field} ist keine gültige Datei", image: "Das Feld {field} muss ein Bild sein", integer: "Das Feld {field} muss eine ganze Zahl sein", length: "Das Feld {field} muss 0:{length} lang sein", max_value: "Das Feld {field} muss 0:{max} oder weniger sein", max: "Das Feld {field} darf nicht länger als 0:{length} Zeichen sein", mimes: "Das Feld {field} muss einen gültigen Dateityp haben", min_value: "Das Feld {field} muss 0:{min} oder mehr sein", min: "Das Feld {field} muss mindestens 0:{length} Zeichen lang sein", numeric: "Das Feld {field} darf nur numerische Zeichen enthalten", one_of: "Das Feld {field} hat keinen gültigen Wert", regex: "Das Format des Feldes {field} ist ungültig", required_if: "Das Feld {field} ist erforderlich", required: "Das Feld {field} ist erforderlich", size: "Die Größe des Feldes {field} muss kleiner als 0:{size}KB sein", url: "Das Feld {field} ist keine gültige URL", min_dimensions: { error: "Die Bildabmessungen müssen größer als {height}*{width} sein", not_image_error: "Keine Bilddatei" }, file_weight: "Die Dateigröße darf maximal {size} kb betragen", before: "Das Enddatum muss früher als das Startdatum sein", after: "Das Enddatum muss später als das Startdatum sein", bigint: "Nicht unterstützte Zahl" }, wa = { ACCESS_RESTRICTED: "Zugriff eingeschränkt" }, Ca = { LOADING: "Virto OZ wird geladen..." }, Pa = { AGENDA: "Ereignisliste", ALL_DAY: "Ganztägig", CANCEL: "Abbrechen", CLOSE: "Schließen", COLOR: "Farbe", COLOR_DEFAULT: "Standardfarbe", COLOR_CUSTOM: "Eigene Farbe", COLOR_BLUE: "Blau", COLOR_GREEN: "Grün", COLOR_AMBER: "Gelb", COLOR_RED: "Rot", COLOR_PURPLE: "Violett", COLOR_PINK: "Rosa", COLOR_TEAL: "Türkis", COLOR_SLATE: "Grau", DAY: "Tag", DAY_N_OF_M: "Tag {n} von {total}", DELETE: "Löschen", DELETE_CONFIRM_BODY: '"{title}" löschen? Dies kann nicht rückgängig gemacht werden.', DELETE_CONFIRM_TITLE: "Ereignis löschen", EDIT: "Bearbeiten", EDIT_EVENT: "Ereignis bearbeiten", EMPTY: "Keine Ereignisse in diesem Zeitraum", EMPTY_HINT: "Noch keine Ereignisse. Klicke auf einen Tag, um eins hinzuzufügen.", END: "Ende", LOADING: "Ereignisse werden geladen…", MORE: "+{count} weitere", MORE_EVENTS: "Weitere Ereignisse", MONTH: "Monat", MORE_OPTIONS: "Weitere Optionen", NEW_EVENT: "Neues Ereignis", NEXT: "Nächster Zeitraum", PREVIOUS: "Vorheriger Zeitraum", RECUR_SCOPE_ALL: "Alle Ereignisse", RECUR_SCOPE_BODY_DELETE: "Dieses Ereignis ist Teil einer wiederkehrenden Serie. Möchten Sie nur dieses Ereignis oder alle Ereignisse der Serie löschen?", RECUR_SCOPE_BODY_EDIT: "Dieses Ereignis ist Teil einer wiederkehrenden Serie. Möchten Sie nur dieses Ereignis oder alle Ereignisse der Serie bearbeiten?", RECUR_SCOPE_THIS: "Dieses Ereignis", RECUR_SCOPE_TITLE: "Wiederkehrendes Ereignis", REPEAT: "Wiederholen", REPEAT_DAILY: "Täglich", REPEAT_END: "Endet", REPEAT_END_COUNT: "Nach", REPEAT_END_NEVER: "Nie", REPEAT_END_UNTIL: "Am Datum", REPEAT_EVERY: "Wiederholen alle", REPEAT_UNIT_DAYS: "Tag(e)", REPEAT_UNIT_WEEKS: "Woche(n)", REPEAT_UNIT_MONTHS: "Monat(e)", REPEAT_UNIT_YEARS: "Jahr(e)", REPEAT_MONTHLY: "Monatlich", REPEAT_NONE: "Keine Wiederholung", REPEAT_OCCURRENCES: "Vorkommen", REPEAT_ON: "Wiederholen am", REPEAT_WEEKLY: "Wöchentlich", REPEAT_YEARLY: "Jährlich", SAVE: "Speichern", START: "Beginn", TIMELINE: "Zeitachse", TIMELINE_DAY: "Zeitachse Tag", TIMELINE_WEEK: "Zeitachse Woche", TITLE: "Titel", TODAY: "Heute", WEEK: "Woche", WORK_WEEK: "Arbeitswoche", ZOOM_IN: "Vergrößern", ZOOM_OUT: "Verkleinern" }, ba = { no_options: "Keine Optionen" }, Mo = {
|
|
1874
|
-
CORE: pa,
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1824
|
+
AI_AGENT: Sa,
|
|
1825
|
+
ASSETS: fa,
|
|
1826
|
+
ASSETS_MANAGER: Ea,
|
|
1827
|
+
COMPONENTS: ia,
|
|
1828
|
+
CORE: oa,
|
|
1829
|
+
FORGOT_PASSWORD: ca,
|
|
1830
|
+
INVITATION: la,
|
|
1831
|
+
LOGIN: ua,
|
|
1832
|
+
PASSWORDRESET: da,
|
|
1833
|
+
PERMISSION_MESSAGES: ga,
|
|
1834
|
+
SHELL: ra,
|
|
1835
|
+
VC_SCHEDULER: Aa,
|
|
1836
|
+
common: pa,
|
|
1837
|
+
default: Do,
|
|
1838
|
+
messages: ma
|
|
1839
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = { ERRORS: { SESSION_EXPIRED: `Zugriff verweigert: Ihre Sitzung ist abgelaufen oder Sie verfügen nicht über die erforderlichen Berechtigungen.
|
|
1840
|
+
Bitte melden Sie sich erneut an oder wenden Sie sich an den Administrator.`, NETWORK_UNAVAILABLE: "Keine Netzwerkverbindung. Bitte prüfen Sie Ihre Verbindung." }, THEMES: { LIGHT: "Hell", DARK: "Dunkel" }, NOTIFICATIONS: { CLEAR_ALL: "Alle löschen" } }, ha = { NAVIGATION_ARIA_LABEL: "Hauptnavigation", SIDEBAR: { SEARCH_PLACEHOLDER: "Suchbegriff" }, USER: { ROLE: { ADMINISTRATOR: "Administrator" } }, ACCOUNT: { SETTINGS: "Einstellungen", CHANGE_PASSWORD: "Passwort ändern", PROFILE: "Profil", LOGOUT: "Abmelden" } }, La = { CONTROLS: { CLEAR: "Löschen", CLEAR_ALL: "Alle löschen", CLOSE: "Schließen", TOGGLE_DROPDOWN: "Dropdown umschalten", SEARCH_OPTIONS: "Optionen suchen", SELECT_OPTION: "Option auswählen", CLEAR_SELECTION: "Auswahl aufheben", COPY_TO_CLIPBOARD: "In die Zwischenablage kopieren", DELETE_ITEM: "Element löschen", SHOW_PASSWORD: "Passwort anzeigen", HIDE_PASSWORD: "Passwort verbergen" }, ATOMS: { VC_IMAGE: { LABEL: "Bild" }, VC_BANNER: { SHOW_MORE: "Mehr anzeigen", SHOW_LESS: "Weniger anzeigen" }, VC_SCROLLABLE_CONTAINER: { LABEL: "Scrollbarer Inhalt" }, VC_VIDEO: { NO_SOURCE: "Keine Videoquelle" } }, MOLECULES: { VC_SELECT: { CLICK_TO_SELECT: "Zum Auswählen klicken...", LOADING: "Wird geladen...", LOADING_MORE: "Mehr laden...", NO_OPTIONS: "Keine Optionen" }, VC_FILE_UPLOAD: { DRAG_HERE: "Datei hier ablegen oder", BROWSE: "Dateien durchsuchen", TAP_TO_UPLOAD: "Tippen, um Dateien auszuwählen", UPLOADING: "Wird hochgeladen..." }, VC_INPUT: { DATE_PLACEHOLDER: "Datum auswählen", DATE_TIME_PLACEHOLDER: "Datum und Uhrzeit auswählen" }, VC_PAGINATION: { JUMP: "Zur Seite springen:", LABEL: "Seitennummerierung", FIRST: "Erste Seite", PREVIOUS: "Vorherige Seite", NEXT: "Nächste Seite", LAST: "Letzte Seite", PAGE: "Seite {page}" }, VC_MULTIVALUE: { ADD: "Hinzufügen" }, VC_BREADCRUMBS: { BACK: "Zurück", LABEL: "Brotkrümelnavigation", SHOW_MORE: "Weitere Brotkrümel anzeigen" }, VC_COLOR_INPUT: { CLEAR: "Farbe löschen" }, VC_DATE_PICKER: { CLEAR: "Datum löschen" }, VC_SLIDER: { PREVIOUS: "Vorherige Folie", NEXT: "Nächste Folie" }, VC_TOAST: { DISMISS: "Benachrichtigung schließen" }, VC_EDITOR: { TOOLBAR: { LABEL: "Textformatierung", BOLD: "Fett", ITALIC: "Kursiv", UNDERLINE: "Unterstrichen", STRIKETHROUGH: "Durchgestrichen", HEADING_1: "Überschrift 1", HEADING_2: "Überschrift 2", HEADING_3: "Überschrift 3", BULLET_LIST: "Aufzählungsliste", NUMBERED_LIST: "Nummerierte Liste", BLOCKQUOTE: "Blockzitat", INSERT_LINK: "Link einfügen", INSERT_IMAGE: "Bild einfügen", INSERT_TABLE: "Tabelle einfügen", DELETE_TABLE: "Tabelle löschen", ADD_COLUMN_BEFORE: "Spalte davor einfügen", ADD_COLUMN_AFTER: "Spalte danach einfügen", ADD_ROW_BEFORE: "Zeile davor einfügen", ADD_ROW_AFTER: "Zeile danach einfügen", DELETE_COLUMN: "Spalte löschen", DELETE_ROW: "Zeile löschen" }, FONT_SIZE: "Schriftgröße", VIEW: { PREVIEW: "Vorschau", SPLIT: "Nebeneinander-Ansicht", SOURCE: "Quellcode" } } }, ORGANISMS: { VC_DYNAMIC_PROPERTY: { ADD: "Wert hinzufügen", VALUE_TYPE: { COLOR: { PLACEHOLDER: "Farbcode", NAME: "Farbname" } } }, VC_GALLERY: { INTERNAL: { VC_GALLERY_ITEM: { FULLSCREEN: "Vollbild", EDIT: "Bearbeiten", DELETE: "Löschen" }, VC_GALLERY_PREVIEW: { COPY_IMAGE_LINK: "Bildlink kopieren" }, VC_GALLERY_FILMSTRIP: { PREVIOUS: "Vorherige Bilder", NEXT: "Nächste Bilder" } }, GALLERY_IS_EMPTY: "Galerie ist leer", DROP_TO_UPLOAD: "Zum Hochladen ablegen", DRAG_IMAGES_HERE: "Bilder hierher ziehen oder", BROWSE_IMAGES: "Dateien durchsuchen", UPLOAD: "Hochladen", OR_DROP_HERE: "oder hierher ziehen", SHOW_ALL: "Erweitern ({count})", COLLAPSE: "Einklappen" }, VC_APP: { NOTIFICATIONS: "Benachrichtigungen", OPEN_MENU: "Menü öffnen", CLOSE_MENU: "Menü schließen", INTERNAL: { VC_APP_BAR: { BACK: "Zurück" }, MOBILE_LAYOUT: { TAB_MENU: "Menü", TAB_HUB: "Hub" }, APP_HUB: { SEARCH_PLACEHOLDER: "Anwendungen und Widgets suchen", APPLICATIONS: "Anwendungen", WIDGETS: "Widgets", NO_APPLICATIONS: "Keine Anwendungen gefunden", NO_WIDGETS: "Keine Widgets gefunden", LIST_VIEW: "Listenansicht", TILE_VIEW: "Kachelansicht" } } }, BLADE_NAVIGATION: { ARIA_LABEL: "Blade-Navigation" }, VC_BLADE: { SEE_DETAILS: "Details anzeigen", UNSAVED_CHANGES: "Hat ungespeicherte Änderungen", ERROR_POPUP: { TITLE: "Fehlerdetails", COPY_ERROR: "Inhalt kopieren", CLOSE: "schließen" }, MORE: "Mehr", TOOLBAR: "Toolbar-Aktionen", CLOSE_MENU: "Menü schließen", PANEL: "Panel" }, VC_BLADE_HEADER: { UNSAVED_CHANGES: "Hat ungespeicherte Änderungen", NO_CHANGES: "Keine ungespeicherten Änderungen", CLOSE: "Schließen", MAXIMIZE: "Maximieren", RESTORE: "Wiederherstellen" }, VC_TABLE: { SELECT_ROW: "Zeile auswählen", SELECT_ALL_ROWS: "Alle Zeilen auswählen", EXPAND_ROW: "Zeilendetails umschalten", CURRENT_PAGE_SELECTED: "Alle Elemente auf dieser Seite sind ausgewählt.", SELECT_ALL: "Alle Elemente auswählen", ALL_SELECTED: "Alle Elemente sind ausgewählt.", ALL_SELECTED_COUNT: "Alle {count} Elemente ausgewählt", SELECT_ALL_COUNT: "Alle {count} Elemente auswählen", CANCEL: "Auswahl aufheben", ALL_ACTIONS: "Alle Aktionen", MORE: "Mehr", ALL_FILTERS: "Filter", SEARCH: "Suchen...", EMPTY: "Liste ist leer.", EMPTY_TITLE: "Keine Daten", EMPTY_DESCRIPTION: "Keine Elemente zum Anzeigen", NOT_FOUND: "Nichts gefunden.", NOT_FOUND_TITLE: "Keine Ergebnisse gefunden", NOT_FOUND_DESCRIPTION: "Passen Sie Ihre Suche oder Filter an", TOTALS: "Gesamt:", ACTIONS: "Aktionen", NOT_SET: "Nicht festgelegt", SELECTED: "Ausgewählt", SELECT_ALL_TRUNCATED: "Alle auswählen", PULL_TO_REFRESH: "Zum Aktualisieren ziehen", RELEASE_TO_REFRESH: "Zum Aktualisieren loslassen", REFRESHING: "Wird aktualisiert...", ADD_ROW: "Zeile hinzufügen", LOADING: "Wird geladen...", PAGE_INFO: "Seite {current} von {total}", COLUMN_FILTER: { APPLY: "Anwenden", CLEAR: "Löschen", FROM: "Von", TO: "Bis", TITLE: "Spalte filtern" }, GLOBAL_FILTERS: { BUTTON: "Filter", TITLE: "Filter" }, COLUMN_SWITCHER: { BUTTON: "Spalten", TITLE: "Spalten ein-/ausblenden", SHOW_ALL: "Alle anzeigen", RESET: "Zurücksetzen" }, OF: "von", PAGE: "Seite" }, VC_POPUP: { OK: "OK", CONFIRM: "Bestätigen", CANCEL: "Abbrechen", CLOSE: "Schließen", TITLE: { CONFIRMATION: "Bestätigung", ERROR: "Fehler", INFO: "Info" } } }, THEME_SELECTOR: { THEME_CHANGED: " Thema", THEME_SELECTOR: "Themen" }, CHANGE_PASSWORD: { TITLE: "Passwort ändern", TITLE_FORCED: "Passwort abgelaufen", SUBTITLE_FORCED: "Bitte legen Sie ein neues Passwort fest", FORCED: { LABEL: "Ihr Passwort ist abgelaufen. Sie müssen das Passwort ändern, um den Manager weiter zu nutzen." }, CURRENT_PASSWORD: { LABEL: "Aktuelles Passwort", PLACEHOLDER: "Passwort eingeben" }, NEW_PASSWORD: { LABEL: "Neues Passwort", PLACEHOLDER: "Passwort eingeben" }, CONFIRM_PASSWORD: { LABEL: "Passwort bestätigen", PLACEHOLDER: "Passwort bestätigen" }, CANCEL: "Abbrechen", SAVE: "Aktualisieren", ERRORS: { "Repeat-password": "Passwörter stimmen nicht überein", "Equal-passwords": "Das neue Passwort darf nicht mit dem alten übereinstimmen", "Invalid-token": "Token ist ungültig oder abgelaufen", "Password-too-weak": "Neues Passwort erfüllt eine oder mehrere Passwort-Sicherheitsrichtlinien nicht:", PasswordTooShort: "Passwort zu kurz", PasswordRequiresUniqueChars: "Passwörter müssen unterschiedliche Zeichen verwenden", PasswordRequiresLower: "Passwörter müssen mindestens einen Kleinbuchstaben enthalten ('a'-'z')", PasswordRequiresUpper: "Passwörter müssen mindestens einen Großbuchstaben enthalten ('A'-'Z')", PasswordRequiresDigit: "Passwörter müssen mindestens eine Ziffer enthalten ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwörter müssen mindestens ein nicht-alphanumerisches Zeichen enthalten", "Incorrect password.": "Sie haben ein falsches Passwort eingegeben", "You have used this password in the past. Choose another one.": "Sie haben dieses Passwort in der Vergangenheit verwendet. Wählen Sie ein anderes." } }, APP_HUB: { TITLE: "Anwendungen" }, NOTIFICATION_DROPDOWN: { TITLE: "Benachrichtigungen", EMPTY: "Noch keine Benachrichtigungen" }, LANGUAGE_SELECTOR: { TITLE: "Sprache" }, FILTERS: { APPLY: "Filter anwenden", RESET: "Zurücksetzen" } }, Oa = { TITLE: "Sie sind eingeladen!", SUBTITLE: "Legen Sie ein Passwort für Ihr Konto fest", FIELDS: { EMAIL: { LABEL: "E-Mail" }, PASSWORD: { LABEL: "Neues Passwort", PLACEHOLDER: "Passwort eingeben" }, CONFIRM_PASSWORD: { LABEL: "Passwort bestätigen", PLACEHOLDER: "Passwort bestätigen" } }, ACCEPT_INVITATION: "Aktivieren", ERRORS: { "Repeat-password": "Passwörter stimmen nicht überein", "Invalid-token": "Token ist ungültig oder abgelaufen", "Password-too-weak": "Neues Passwort erfüllt eine oder mehrere Passwort-Sicherheitsrichtlinien nicht:", PasswordTooShort: "Passwort zu kurz", PasswordRequiresUniqueChars: "Passwörter müssen unterschiedliche Zeichen verwenden", PasswordRequiresLower: "Passwörter müssen mindestens einen Kleinbuchstaben enthalten ('a'-'z')", PasswordRequiresUpper: "Passwörter müssen mindestens einen Großbuchstaben enthalten ('A'-'Z')", PasswordRequiresDigit: "Passwörter müssen mindestens eine Ziffer enthalten ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwörter müssen mindestens ein nicht-alphanumerisches Zeichen enthalten", recentPasswordUsed: "Sie haben dieses Passwort in der Vergangenheit verwendet. Wählen Sie ein anderes." } }, Ra = { TITLE: "Willkommen zurück", SUBTITLE: "Melden Sie sich bei Ihrem Konto an, um fortzufahren", FIELDS: { LOGIN: { LABEL: "E-Mail", PLACEHOLDER: "Geben Sie Ihre E-Mail-Adresse ein" }, PASSWORD: { LABEL: "Passwort", PLACEHOLDER: "Geben Sie Ihr Passwort ein" }, FORGOT_PASSWORD: { TITLE: "Passwort vergessen", LABEL: "E-Mail", PLACEHOLDER: "Bitte geben Sie Ihre E-Mail-Adresse ein" } }, FORGOT_PASSWORD_BUTTON: "Passwort vergessen?", BUTTON: "Anmelden", OR: "oder", FORGOT_BUTTON: "Absenden", BACK_BUTTON: "Zurück", BUTTON_OK: "Ok", RESET_EMAIL_TEXT: "Wir senden Ihnen eine E-Mail mit Anweisungen zum Zurücksetzen Ihres Passworts.", RESET_EMAIL_SENT: "Eine E-Mail mit Anweisungen wurde an Sie gesendet.", SSO_NO_PROVIDERS_ERROR: "SSO-Authentifizierung ist nicht konfiguriert. Bitte wenden Sie sich an Ihren Administrator.", ERRORS: { INVALID_CREDENTIALS: "Anmeldename oder Passwort ist falsch.", AUTH_WITH_CODE: "Authentifizierungsfehler (Code: {code}).", AUTH_GENERIC: "Authentifizierungsfehler: {detail}" } }, _a = { TITLE: "Passwort zurücksetzen", SUBTITLE: "Geben Sie Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link zum Zurücksetzen", FIELDS: { EMAIL: { LABEL: "E-Mail", PLACEHOLDER: "Geben Sie Ihre E-Mail-Adresse ein" } }, SEND_BUTTON: "Link zum Zurücksetzen senden", BACK_TO_LOGIN: "Zurück zur Anmeldung", SUCCESS_TITLE: "Überprüfen Sie Ihre E-Mail", SUCCESS_TEXT: "Wir haben einen Link zum Zurücksetzen an {email} gesendet" }, Ia = { TITLE: "Neues Passwort festlegen", SUBTITLE: "Geben Sie unten Ihr neues Passwort ein", FIELDS: { PASSWORD: { LABEL: "Neues Passwort", PLACEHOLDER: "Passwort eingeben" }, CONFIRM_PASSWORD: { LABEL: "Passwort bestätigen", PLACEHOLDER: "Passwort bestätigen" } }, SAVE_PASSWORD: "Speichern", ERRORS: { "Repeat-password": "Passwörter stimmen nicht überein", "Invalid-token": "Token ist ungültig oder abgelaufen", "Password-too-weak": "Neues Passwort erfüllt eine oder mehrere Passwort-Sicherheitsrichtlinien nicht:", PasswordTooShort: "Passwort zu kurz", PasswordRequiresUniqueChars: "Passwörter müssen unterschiedliche Zeichen verwenden", PasswordRequiresLower: "Passwörter müssen mindestens einen Kleinbuchstaben enthalten ('a'-'z')", PasswordRequiresUpper: "Passwörter müssen mindestens einen Großbuchstaben enthalten ('A'-'Z')", PasswordRequiresDigit: "Passwörter müssen mindestens eine Ziffer enthalten ('0'-'9')", PasswordRequiresNonAlphanumeric: "Passwörter müssen mindestens ein nicht-alphanumerisches Zeichen enthalten", recentPasswordUsed: "Sie haben dieses Passwort in der Vergangenheit verwendet. Wählen Sie ein anderes." } }, va = { TITLE: "Assets", TOOLBAR: { SAVE: "Speichern", REFRESH: "Aktualisieren", ADD: "Hinzufügen", DELETE: "Ausgewählte löschen" }, EMPTY: { NO_ASSETS: "Keine Assets", UPLOAD_ASSETS: "Assets hier ablegen oder auf 'Hochladen' klicken", UPLOAD: "Hochladen" }, TABLE: { HEADER: { IMAGE: "Bild", NAME: "Name", SIZE: "Größe", SORT_ORDER: "Sortierreihenfolge", CREATED_DATE: "Erstellungsdatum" }, ACTIONS: { DELETE: "Löschen", EDIT: "Bearbeiten" } } }, wa = { PAGES: { DETAILS: { SUBTITLE: "Asset bearbeiten", TOOLBAR: { SAVE: "Speichern", DELETE: "Löschen" }, FIELDS: { SIZE: "Größe", CREATED_DATE: "Erstellungsdatum", URL: "URL", COPY: "Link kopieren", NAME: { TITLE: "Asset-Name", PLACEHOLDER: "Asset-Namen eingeben" }, ALT: { TITLE: "Alternativer Bildtext", PLACEHOLDER: "Alternativen Bildtext eingeben", TOOLTIP: "Dieser Text wird angezeigt, wenn das Bild auf der Seite deaktiviert oder nicht geladen ist" }, DESCRIPTION: { TITLE: "Meta-Beschreibung", PLACEHOLDER: "Meta-Beschreibung eingeben" } } } } }, Ca = { _default: "Das Feld {field} ist ungültig", alpha: "Das Feld {field} darf nur alphabetische Zeichen enthalten", alpha_num: "Das Feld {field} darf nur alphanumerische Zeichen enthalten", alpha_dash: "Das Feld {field} darf alphanumerische Zeichen sowie Bindestriche und Unterstriche enthalten", alpha_spaces: "Das Feld {field} darf nur alphabetische Zeichen und Leerzeichen enthalten", between: "Das Feld {field} muss zwischen 0:{min} und 1:{max} liegen", confirmed: "Die Bestätigung des Feldes {field} stimmt nicht überein", digits: "Das Feld {field} muss numerisch sein und genau 0:{length} Ziffern enthalten", dimensions: "Das Feld {field} muss 0:{width} Pixel breit und 1:{height} Pixel hoch sein", email: "Das Feld {field} muss eine gültige E-Mail-Adresse sein", not_one_of: "Das Feld {field} hat keinen gültigen Wert", ext: "Das Feld {field} ist keine gültige Datei", image: "Das Feld {field} muss ein Bild sein", integer: "Das Feld {field} muss eine ganze Zahl sein", length: "Das Feld {field} muss 0:{length} lang sein", max_value: "Das Feld {field} muss 0:{max} oder weniger sein", max: "Das Feld {field} darf nicht länger als 0:{length} Zeichen sein", mimes: "Das Feld {field} muss einen gültigen Dateityp haben", min_value: "Das Feld {field} muss 0:{min} oder mehr sein", min: "Das Feld {field} muss mindestens 0:{length} Zeichen lang sein", numeric: "Das Feld {field} darf nur numerische Zeichen enthalten", one_of: "Das Feld {field} hat keinen gültigen Wert", regex: "Das Format des Feldes {field} ist ungültig", required_if: "Das Feld {field} ist erforderlich", required: "Das Feld {field} ist erforderlich", size: "Die Größe des Feldes {field} muss kleiner als 0:{size}KB sein", url: "Das Feld {field} ist keine gültige URL", min_dimensions: { error: "Die Bildabmessungen müssen größer als {height}*{width} sein", not_image_error: "Keine Bilddatei" }, file_weight: "Die Dateigröße darf maximal {size} kb betragen", before: "Das Enddatum muss früher als das Startdatum sein", after: "Das Enddatum muss später als das Startdatum sein", bigint: "Nicht unterstützte Zahl" }, Pa = { ACCESS_RESTRICTED: "Zugriff eingeschränkt" }, ba = { LOADING: "Virto OZ wird geladen..." }, Na = { AGENDA: "Ereignisliste", ALL_DAY: "Ganztägig", CANCEL: "Abbrechen", CLOSE: "Schließen", COLOR: "Farbe", COLOR_DEFAULT: "Standardfarbe", COLOR_CUSTOM: "Eigene Farbe", COLOR_BLUE: "Blau", COLOR_GREEN: "Grün", COLOR_AMBER: "Gelb", COLOR_RED: "Rot", COLOR_PURPLE: "Violett", COLOR_PINK: "Rosa", COLOR_TEAL: "Türkis", COLOR_SLATE: "Grau", DAY: "Tag", DAY_N_OF_M: "Tag {n} von {total}", DELETE: "Löschen", DELETE_CONFIRM_BODY: '"{title}" löschen? Dies kann nicht rückgängig gemacht werden.', DELETE_CONFIRM_TITLE: "Ereignis löschen", EDIT: "Bearbeiten", EDIT_EVENT: "Ereignis bearbeiten", EMPTY: "Keine Ereignisse in diesem Zeitraum", EMPTY_HINT: "Noch keine Ereignisse. Klicke auf einen Tag, um eins hinzuzufügen.", END: "Ende", LOADING: "Ereignisse werden geladen…", MORE: "+{count} weitere", MORE_EVENTS: "Weitere Ereignisse", MONTH: "Monat", MORE_OPTIONS: "Weitere Optionen", NEW_EVENT: "Neues Ereignis", NEXT: "Nächster Zeitraum", PREVIOUS: "Vorheriger Zeitraum", RECUR_SCOPE_ALL: "Alle Ereignisse", RECUR_SCOPE_BODY_DELETE: "Dieses Ereignis ist Teil einer wiederkehrenden Serie. Möchten Sie nur dieses Ereignis oder alle Ereignisse der Serie löschen?", RECUR_SCOPE_BODY_EDIT: "Dieses Ereignis ist Teil einer wiederkehrenden Serie. Möchten Sie nur dieses Ereignis oder alle Ereignisse der Serie bearbeiten?", RECUR_SCOPE_THIS: "Dieses Ereignis", RECUR_SCOPE_TITLE: "Wiederkehrendes Ereignis", REPEAT: "Wiederholen", REPEAT_DAILY: "Täglich", REPEAT_END: "Endet", REPEAT_END_COUNT: "Nach", REPEAT_END_NEVER: "Nie", REPEAT_END_UNTIL: "Am Datum", REPEAT_EVERY: "Wiederholen alle", REPEAT_UNIT_DAYS: "Tag(e)", REPEAT_UNIT_WEEKS: "Woche(n)", REPEAT_UNIT_MONTHS: "Monat(e)", REPEAT_UNIT_YEARS: "Jahr(e)", REPEAT_MONTHLY: "Monatlich", REPEAT_NONE: "Keine Wiederholung", REPEAT_OCCURRENCES: "Vorkommen", REPEAT_ON: "Wiederholen am", REPEAT_WEEKLY: "Wöchentlich", REPEAT_YEARLY: "Jährlich", SAVE: "Speichern", START: "Beginn", TIMELINE: "Zeitachse", TIMELINE_DAY: "Zeitachse Tag", TIMELINE_WEEK: "Zeitachse Woche", TITLE: "Titel", TODAY: "Heute", WEEK: "Woche", WORK_WEEK: "Arbeitswoche", ZOOM_IN: "Vergrößern", ZOOM_OUT: "Verkleinern", EVENT_DETAILS: "Termindetails" }, Da = { no_options: "Keine Optionen" }, Bo = {
|
|
1841
|
+
CORE: Ta,
|
|
1842
|
+
SHELL: ha,
|
|
1843
|
+
COMPONENTS: La,
|
|
1844
|
+
INVITATION: Oa,
|
|
1845
|
+
LOGIN: Ra,
|
|
1846
|
+
FORGOT_PASSWORD: _a,
|
|
1847
|
+
PASSWORDRESET: Ia,
|
|
1848
|
+
ASSETS_MANAGER: va,
|
|
1849
|
+
ASSETS: wa,
|
|
1850
|
+
messages: Ca,
|
|
1851
|
+
PERMISSION_MESSAGES: Pa,
|
|
1852
|
+
AI_AGENT: ba,
|
|
1853
|
+
VC_SCHEDULER: Na,
|
|
1854
|
+
common: Da
|
|
1855
|
+
}, Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1889
1856
|
__proto__: null,
|
|
1890
|
-
AI_AGENT:
|
|
1891
|
-
ASSETS:
|
|
1892
|
-
ASSETS_MANAGER:
|
|
1893
|
-
COMPONENTS:
|
|
1894
|
-
CORE:
|
|
1895
|
-
FORGOT_PASSWORD:
|
|
1896
|
-
INVITATION:
|
|
1897
|
-
LOGIN:
|
|
1898
|
-
PASSWORDRESET:
|
|
1899
|
-
PERMISSION_MESSAGES:
|
|
1900
|
-
SHELL:
|
|
1901
|
-
VC_SCHEDULER:
|
|
1902
|
-
common:
|
|
1903
|
-
default:
|
|
1904
|
-
messages:
|
|
1905
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1857
|
+
AI_AGENT: ba,
|
|
1858
|
+
ASSETS: wa,
|
|
1859
|
+
ASSETS_MANAGER: va,
|
|
1860
|
+
COMPONENTS: La,
|
|
1861
|
+
CORE: Ta,
|
|
1862
|
+
FORGOT_PASSWORD: _a,
|
|
1863
|
+
INVITATION: Oa,
|
|
1864
|
+
LOGIN: Ra,
|
|
1865
|
+
PASSWORDRESET: Ia,
|
|
1866
|
+
PERMISSION_MESSAGES: Pa,
|
|
1867
|
+
SHELL: ha,
|
|
1868
|
+
VC_SCHEDULER: Na,
|
|
1869
|
+
common: Da,
|
|
1870
|
+
default: Bo,
|
|
1871
|
+
messages: Ca
|
|
1872
|
+
}, Symbol.toStringTag, { value: "Module" })), ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1906
1873
|
__proto__: null,
|
|
1907
|
-
de:
|
|
1908
|
-
en:
|
|
1909
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1874
|
+
de: Mo,
|
|
1875
|
+
en: yo
|
|
1876
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = k("global-error-handler");
|
|
1910
1877
|
function Ne(e) {
|
|
1911
1878
|
return e instanceof Error ? `${e.name}:${e.message}` : String(e);
|
|
1912
1879
|
}
|
|
1913
|
-
const
|
|
1914
|
-
function
|
|
1915
|
-
const t = Ne(e), a = Date.now(), n =
|
|
1880
|
+
const pe = /* @__PURE__ */ new Map(), Pt = 3e3;
|
|
1881
|
+
function Je(e) {
|
|
1882
|
+
const t = Ne(e), a = Date.now(), n = pe.get(t);
|
|
1916
1883
|
if (n && a - n < Pt) return !0;
|
|
1917
|
-
if (
|
|
1918
|
-
for (const [s, o] of
|
|
1919
|
-
a - o > Pt &&
|
|
1884
|
+
if (pe.set(t, a), pe.size > 50)
|
|
1885
|
+
for (const [s, o] of pe)
|
|
1886
|
+
a - o > Pt && pe.delete(s);
|
|
1920
1887
|
return !1;
|
|
1921
1888
|
}
|
|
1922
|
-
function
|
|
1889
|
+
function Vo(e) {
|
|
1923
1890
|
const t = e.config.errorHandler;
|
|
1924
1891
|
if (e.config.errorHandler = (o, r, l) => {
|
|
1925
|
-
if (
|
|
1926
|
-
Info:`, l), !
|
|
1892
|
+
if (Xe.error("Unhandled Vue error:", o, `
|
|
1893
|
+
Info:`, l), !Je(o)) {
|
|
1927
1894
|
const c = Pe(o);
|
|
1928
|
-
|
|
1895
|
+
J.error(c.message, {
|
|
1929
1896
|
timeout: 8e3,
|
|
1930
1897
|
notificationId: `global-vue-${Ne(o)}`
|
|
1931
1898
|
});
|
|
@@ -1936,9 +1903,9 @@ Info:`, l), !Xe(o)) {
|
|
|
1936
1903
|
if (a.__VC_GLOBAL_ERROR_HANDLERS_INSTALLED__) return;
|
|
1937
1904
|
a.__VC_GLOBAL_ERROR_HANDLERS_INSTALLED__ = !0;
|
|
1938
1905
|
const n = (o) => {
|
|
1939
|
-
if (
|
|
1906
|
+
if (Xe.error("Unhandled rejection:", o.reason), !Je(o.reason)) {
|
|
1940
1907
|
const r = Pe(o.reason);
|
|
1941
|
-
|
|
1908
|
+
J.error(r.message, {
|
|
1942
1909
|
timeout: 8e3,
|
|
1943
1910
|
notificationId: `global-rejection-${Ne(o.reason)}`
|
|
1944
1911
|
});
|
|
@@ -1946,9 +1913,9 @@ Info:`, l), !Xe(o)) {
|
|
|
1946
1913
|
};
|
|
1947
1914
|
window.addEventListener("unhandledrejection", n);
|
|
1948
1915
|
const s = (o) => {
|
|
1949
|
-
if (o.error && (
|
|
1916
|
+
if (o.error && (Xe.error("Uncaught error:", o.error), !Je(o.error))) {
|
|
1950
1917
|
const r = Pe(o.error);
|
|
1951
|
-
|
|
1918
|
+
J.error(r.message, {
|
|
1952
1919
|
timeout: 8e3,
|
|
1953
1920
|
notificationId: `global-error-${Ne(o.error)}`
|
|
1954
1921
|
});
|
|
@@ -1956,7 +1923,7 @@ Info:`, l), !Xe(o)) {
|
|
|
1956
1923
|
};
|
|
1957
1924
|
window.addEventListener("error", s);
|
|
1958
1925
|
}
|
|
1959
|
-
const
|
|
1926
|
+
const Uo = k("notification-instance"), Z = {
|
|
1960
1927
|
"top-center": void 0,
|
|
1961
1928
|
"top-right": void 0,
|
|
1962
1929
|
"top-left": void 0,
|
|
@@ -1964,27 +1931,27 @@ const Fo = k("notification-instance"), j = {
|
|
|
1964
1931
|
"bottom-right": void 0,
|
|
1965
1932
|
"bottom-left": void 0
|
|
1966
1933
|
};
|
|
1967
|
-
function
|
|
1934
|
+
function Fo() {
|
|
1968
1935
|
function e(s, o, r) {
|
|
1969
|
-
document.getElementById(o) && (
|
|
1936
|
+
document.getElementById(o) && (Z[r] = s);
|
|
1970
1937
|
}
|
|
1971
1938
|
function t(s) {
|
|
1972
1939
|
try {
|
|
1973
|
-
s ?
|
|
1940
|
+
s ? Z[s] && (Z[s]?.unmount(), document.getElementById(`notification-${s}`)?.remove(), Z[s] = void 0) : (Object.keys(Z).forEach((r) => {
|
|
1974
1941
|
const l = r;
|
|
1975
|
-
|
|
1976
|
-
}), Object.values(
|
|
1942
|
+
Z[l]?.unmount(), document.getElementById(`notification-${l}`)?.remove(), Z[l] = void 0;
|
|
1943
|
+
}), Object.values(Z).some((r) => r !== void 0) || document.querySelector(".notification")?.remove());
|
|
1977
1944
|
} catch (o) {
|
|
1978
|
-
|
|
1945
|
+
Uo.error("Failed to unmount notification component:", o);
|
|
1979
1946
|
}
|
|
1980
1947
|
}
|
|
1981
1948
|
function a() {
|
|
1982
|
-
Object.keys(
|
|
1983
|
-
|
|
1949
|
+
Object.keys(Z).forEach((s) => {
|
|
1950
|
+
Z[s] && t(s);
|
|
1984
1951
|
});
|
|
1985
1952
|
}
|
|
1986
1953
|
function n(s) {
|
|
1987
|
-
return
|
|
1954
|
+
return Z[s];
|
|
1988
1955
|
}
|
|
1989
1956
|
return {
|
|
1990
1957
|
saveInstance: e,
|
|
@@ -1994,14 +1961,14 @@ function Wo() {
|
|
|
1994
1961
|
};
|
|
1995
1962
|
}
|
|
1996
1963
|
const de = k("notification-container"), G = {
|
|
1997
|
-
"top-center":
|
|
1998
|
-
"top-right":
|
|
1999
|
-
"top-left":
|
|
2000
|
-
"bottom-center":
|
|
2001
|
-
"bottom-right":
|
|
2002
|
-
"bottom-left":
|
|
2003
|
-
}, { clearContainer:
|
|
2004
|
-
function
|
|
1964
|
+
"top-center": b([]),
|
|
1965
|
+
"top-right": b([]),
|
|
1966
|
+
"top-left": b([]),
|
|
1967
|
+
"bottom-center": b([]),
|
|
1968
|
+
"bottom-right": b([]),
|
|
1969
|
+
"bottom-left": b([])
|
|
1970
|
+
}, { clearContainer: Wo, unmountComponent: Ho, saveInstance: Go, getInstanceByPosition: bt } = Fo();
|
|
1971
|
+
function xo() {
|
|
2005
1972
|
const e = ie({
|
|
2006
1973
|
timeout: 3e3,
|
|
2007
1974
|
pauseOnHover: !0,
|
|
@@ -2026,11 +1993,11 @@ function $o() {
|
|
|
2026
1993
|
const E = u.position || e.position, m = o.get(E);
|
|
2027
1994
|
if (m && await m, !bt(E)) {
|
|
2028
1995
|
const f = (async () => {
|
|
2029
|
-
const d = s(E), { default: S } = await Promise.resolve().then(() =>
|
|
1996
|
+
const d = s(E), { default: S } = await Promise.resolve().then(() => hr), L = sn(S, {
|
|
2030
1997
|
...u,
|
|
2031
1998
|
position: E
|
|
2032
1999
|
});
|
|
2033
|
-
L.use(
|
|
2000
|
+
L.use(z), L.provide(jt, { notificationContainers: G, actions: c }), L.mount(d), Go(L, d.id, E);
|
|
2034
2001
|
})();
|
|
2035
2002
|
o.set(E, f), await f, o.delete(E);
|
|
2036
2003
|
}
|
|
@@ -2054,13 +2021,13 @@ function $o() {
|
|
|
2054
2021
|
Object.entries(G).forEach(([f, d]) => {
|
|
2055
2022
|
const S = d.value.find((L) => L.notificationId === u);
|
|
2056
2023
|
S && (E = S, m = f);
|
|
2057
|
-
}), m && (G[m].value = G[m].value.filter((f) => f.notificationId !== u), G[m].value.length === 0 &&
|
|
2024
|
+
}), m && (G[m].value = G[m].value.filter((f) => f.notificationId !== u), G[m].value.length === 0 && Ho(m), be(() => {
|
|
2058
2025
|
E?.onClose && typeof E?.onClose == "function" && E.onClose(E.payload);
|
|
2059
2026
|
}));
|
|
2060
2027
|
}
|
|
2061
2028
|
},
|
|
2062
2029
|
clear() {
|
|
2063
|
-
|
|
2030
|
+
Wo(), Object.values(G).forEach((u) => {
|
|
2064
2031
|
u.value = [];
|
|
2065
2032
|
});
|
|
2066
2033
|
},
|
|
@@ -2077,7 +2044,7 @@ function $o() {
|
|
|
2077
2044
|
if (u.updateId) {
|
|
2078
2045
|
let E, m, f;
|
|
2079
2046
|
if (Object.entries(G).forEach(([d, S]) => {
|
|
2080
|
-
const L = S.value.find((
|
|
2047
|
+
const L = S.value.find((h) => h.notificationId === u.notificationId);
|
|
2081
2048
|
L && (E = L, m = S, f = d);
|
|
2082
2049
|
}), E && m) {
|
|
2083
2050
|
if (de.debug(`Updating notification ${u.notificationId} in position ${f}`), u.position && u.position !== f) {
|
|
@@ -2114,13 +2081,13 @@ function $o() {
|
|
|
2114
2081
|
getNotificationsByPosition: a,
|
|
2115
2082
|
appendInstance: r,
|
|
2116
2083
|
getNotification: n,
|
|
2117
|
-
generateNotificationId:
|
|
2084
|
+
generateNotificationId: Fa,
|
|
2118
2085
|
hasNotification: l
|
|
2119
2086
|
};
|
|
2120
2087
|
}
|
|
2121
|
-
function
|
|
2122
|
-
const e =
|
|
2123
|
-
|
|
2088
|
+
function $o() {
|
|
2089
|
+
const e = xo();
|
|
2090
|
+
Wa({
|
|
2124
2091
|
defaultOptions: e.defaultOptions,
|
|
2125
2092
|
actions: e.actions,
|
|
2126
2093
|
getAllNotifications: e.getAllNotifications,
|
|
@@ -2129,22 +2096,22 @@ function Ko() {
|
|
|
2129
2096
|
hasNotification: (t) => e.hasNotification(t)
|
|
2130
2097
|
});
|
|
2131
2098
|
}
|
|
2132
|
-
const
|
|
2133
|
-
function
|
|
2099
|
+
const Ko = "2.6.0-pr370.de147ea";
|
|
2100
|
+
function zo() {
|
|
2134
2101
|
return {
|
|
2135
|
-
version:
|
|
2136
|
-
buildDate: "2026-09-
|
|
2137
|
-
gitHash: "
|
|
2102
|
+
version: Ko,
|
|
2103
|
+
buildDate: "2026-09-23T14:05:50.939Z",
|
|
2104
|
+
gitHash: "de147ea33"
|
|
2138
2105
|
};
|
|
2139
2106
|
}
|
|
2140
|
-
function
|
|
2107
|
+
function qo(e = zo()) {
|
|
2141
2108
|
console.warn(
|
|
2142
2109
|
`%c@vc-shell/framework%c v${e.version} · ${e.buildDate} · ${e.gitHash}`,
|
|
2143
2110
|
"font-weight:bold;color:#319ED4",
|
|
2144
2111
|
"color:inherit"
|
|
2145
2112
|
);
|
|
2146
2113
|
}
|
|
2147
|
-
const
|
|
2114
|
+
const Yo = /* @__PURE__ */ H({
|
|
2148
2115
|
__name: "sidebar",
|
|
2149
2116
|
props: {
|
|
2150
2117
|
position: { default: "right" },
|
|
@@ -2155,11 +2122,11 @@ const jo = /* @__PURE__ */ H({
|
|
|
2155
2122
|
},
|
|
2156
2123
|
emits: ["close"],
|
|
2157
2124
|
setup(e, { emit: t }) {
|
|
2158
|
-
const a = e, n = t, { isMobile: s, isDesktop: o } =
|
|
2125
|
+
const a = e, n = t, { isMobile: s, isDesktop: o } = Ha(), r = v(() => a.render === "always" ? !0 : a.render === "mobile" ? s.value : o.value), l = v(() => a.isExpanded && r.value);
|
|
2159
2126
|
function c(u) {
|
|
2160
2127
|
u || n("close");
|
|
2161
2128
|
}
|
|
2162
|
-
return (u, E) => l.value ? (
|
|
2129
|
+
return (u, E) => l.value ? (P(), D(i(_n), {
|
|
2163
2130
|
key: 0,
|
|
2164
2131
|
"model-value": !0,
|
|
2165
2132
|
position: e.position,
|
|
@@ -2167,22 +2134,22 @@ const jo = /* @__PURE__ */ H({
|
|
|
2167
2134
|
"close-button": e.closeCross,
|
|
2168
2135
|
teleport: !i(o),
|
|
2169
2136
|
"onUpdate:modelValue": c
|
|
2170
|
-
},
|
|
2171
|
-
default:
|
|
2137
|
+
}, Le({
|
|
2138
|
+
default: T(() => [
|
|
2172
2139
|
Y(u.$slots, "content")
|
|
2173
2140
|
]),
|
|
2174
2141
|
_: 2
|
|
2175
2142
|
}, [
|
|
2176
2143
|
u.$slots.header ? {
|
|
2177
2144
|
name: "header",
|
|
2178
|
-
fn:
|
|
2145
|
+
fn: T(({ close: m }) => [
|
|
2179
2146
|
Y(u.$slots, "header", { close: m })
|
|
2180
2147
|
]),
|
|
2181
2148
|
key: "0"
|
|
2182
2149
|
} : void 0
|
|
2183
2150
|
]), 1032, ["position", "title", "close-button", "teleport"])) : Y(u.$slots, "content", { key: 1 });
|
|
2184
2151
|
}
|
|
2185
|
-
}),
|
|
2152
|
+
}), Vl = Yo, Zo = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, jo = /* @__PURE__ */ H({
|
|
2186
2153
|
__name: "external-provider",
|
|
2187
2154
|
props: {
|
|
2188
2155
|
logo: {},
|
|
@@ -2191,15 +2158,15 @@ const jo = /* @__PURE__ */ H({
|
|
|
2191
2158
|
},
|
|
2192
2159
|
emits: ["signIn"],
|
|
2193
2160
|
setup(e) {
|
|
2194
|
-
const t = e, a =
|
|
2195
|
-
return (n, s) => (
|
|
2161
|
+
const t = e, a = v(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
|
|
2162
|
+
return (n, s) => (P(), D(i(x), {
|
|
2196
2163
|
variant: "secondary",
|
|
2197
2164
|
class: "vc-external-provider",
|
|
2198
2165
|
onClick: s[0] || (s[0] = (o) => n.$emit("signIn"))
|
|
2199
2166
|
}, {
|
|
2200
|
-
default:
|
|
2167
|
+
default: T(() => [
|
|
2201
2168
|
U("div", Zo, [
|
|
2202
|
-
|
|
2169
|
+
R(i(ot), {
|
|
2203
2170
|
src: a.value,
|
|
2204
2171
|
class: "vc-external-provider__icon",
|
|
2205
2172
|
size: "xxs"
|
|
@@ -2210,15 +2177,15 @@ const jo = /* @__PURE__ */ H({
|
|
|
2210
2177
|
_: 1
|
|
2211
2178
|
}));
|
|
2212
2179
|
}
|
|
2213
|
-
}),
|
|
2180
|
+
}), Xo = { class: "tw-flex tw-justify-center tw-flex-col tw-gap-4" }, Jo = /* @__PURE__ */ H({
|
|
2214
2181
|
__name: "external-providers",
|
|
2215
2182
|
props: {
|
|
2216
2183
|
providers: {}
|
|
2217
2184
|
},
|
|
2218
2185
|
setup(e) {
|
|
2219
2186
|
const { signIn: t } = Kt();
|
|
2220
|
-
return (a, n) => (
|
|
2221
|
-
(
|
|
2187
|
+
return (a, n) => (P(), W("div", Xo, [
|
|
2188
|
+
(P(!0), W(ne, null, Fe(e.providers, (s) => (P(), D(jo, {
|
|
2222
2189
|
key: s.authenticationType,
|
|
2223
2190
|
logo: s.logoUrl,
|
|
2224
2191
|
"display-name": s.displayName,
|
|
@@ -2228,25 +2195,25 @@ const jo = /* @__PURE__ */ H({
|
|
|
2228
2195
|
]));
|
|
2229
2196
|
}
|
|
2230
2197
|
});
|
|
2231
|
-
function
|
|
2198
|
+
function Qo(e) {
|
|
2232
2199
|
if (!e) return "/";
|
|
2233
2200
|
const t = e.trim();
|
|
2234
2201
|
return !t.startsWith("/") || t.startsWith("//") ? "/" : t;
|
|
2235
2202
|
}
|
|
2236
|
-
function
|
|
2203
|
+
function er(e, t) {
|
|
2237
2204
|
return e.status === 401 ? t("LOGIN.ERRORS.INVALID_CREDENTIALS") : e.status ? t("LOGIN.ERRORS.AUTH_WITH_CODE", { code: e.status }) : e.error ? t("LOGIN.ERRORS.AUTH_GENERIC", { detail: e.error }) : t("LOGIN.ERRORS.INVALID_CREDENTIALS");
|
|
2238
2205
|
}
|
|
2239
|
-
function
|
|
2206
|
+
function tr(e) {
|
|
2240
2207
|
const t = [];
|
|
2241
2208
|
return e.confirmPassword !== e.password && t.push({ code: "Repeat-password" }), e.password === e.currentPassword && e.confirmPassword === e.currentPassword && t.push({ code: "Equal-passwords" }), t;
|
|
2242
2209
|
}
|
|
2243
|
-
const
|
|
2210
|
+
const ar = {
|
|
2244
2211
|
key: 0,
|
|
2245
2212
|
class: "vc-login-page__providers"
|
|
2246
|
-
},
|
|
2213
|
+
}, nr = {
|
|
2247
2214
|
key: 0,
|
|
2248
2215
|
class: "vc-login-page__separator-line"
|
|
2249
|
-
},
|
|
2216
|
+
}, sr = /* @__PURE__ */ H({
|
|
2250
2217
|
__name: "Login",
|
|
2251
2218
|
props: {
|
|
2252
2219
|
logo: {},
|
|
@@ -2256,146 +2223,146 @@ const nr = {
|
|
|
2256
2223
|
ssoOnly: { type: Boolean }
|
|
2257
2224
|
},
|
|
2258
2225
|
setup(e) {
|
|
2259
|
-
const t = k("login-page"), a = e, { t: n } = le({ useScope: "global" }), s = ve(), { validateField: o } = ue({ validateOnMount: !1 }), { uiSettings: r, loading: l } = we(), c =
|
|
2260
|
-
|
|
2226
|
+
const t = k("login-page"), a = e, { t: n } = le({ useScope: "global" }), s = ve(), { validateField: o } = ue({ validateOnMount: !1 }), { uiSettings: r, loading: l } = we(), c = b({ succeeded: !0 }), { signIn: u, loading: E, user: m } = se(), { getProviders: f } = Kt(), d = Ie(), S = b(), L = b(!1);
|
|
2227
|
+
Oe(async () => {
|
|
2261
2228
|
S.value = await f(), L.value = !0;
|
|
2262
2229
|
});
|
|
2263
|
-
const
|
|
2230
|
+
const h = v(() => ({
|
|
2264
2231
|
logo: l.value ? "" : r.value?.logo || a.logo
|
|
2265
|
-
})),
|
|
2232
|
+
})), A = ie({
|
|
2266
2233
|
username: "",
|
|
2267
2234
|
password: ""
|
|
2268
|
-
}),
|
|
2235
|
+
}), O = async () => {
|
|
2269
2236
|
if (d.value) {
|
|
2270
|
-
if (c.value.error = "", c.value = await u(
|
|
2237
|
+
if (c.value.error = "", c.value = await u(A.username, A.password), c.value.succeeded && m.value?.passwordExpired) {
|
|
2271
2238
|
await s.push({ name: "ChangePassword" });
|
|
2272
2239
|
return;
|
|
2273
2240
|
}
|
|
2274
2241
|
if (c.value.succeeded) {
|
|
2275
|
-
const
|
|
2276
|
-
localStorage.removeItem("redirectAfterLogin"), await s.push(
|
|
2242
|
+
const w = Qo(localStorage.getItem("redirectAfterLogin"));
|
|
2243
|
+
localStorage.removeItem("redirectAfterLogin"), await s.push(w);
|
|
2277
2244
|
return;
|
|
2278
2245
|
}
|
|
2279
|
-
c.value.error =
|
|
2246
|
+
c.value.error = er(c.value, n), A.password = "", o("password");
|
|
2280
2247
|
}
|
|
2281
|
-
},
|
|
2248
|
+
}, C = () => {
|
|
2282
2249
|
s.push({ name: "ForgotPassword" });
|
|
2283
2250
|
};
|
|
2284
|
-
return t.debug("Init login-page"), (
|
|
2285
|
-
logo:
|
|
2251
|
+
return t.debug("Init login-page"), (w, g) => (P(), D(i(_e), {
|
|
2252
|
+
logo: h.value.logo,
|
|
2286
2253
|
background: e.background,
|
|
2287
|
-
title: e.title ||
|
|
2288
|
-
subtitle: e.subtitle ||
|
|
2254
|
+
title: e.title || w.$t("LOGIN.TITLE"),
|
|
2255
|
+
subtitle: e.subtitle || w.$t("LOGIN.SUBTITLE"),
|
|
2289
2256
|
class: "vc-login-page"
|
|
2290
2257
|
}, {
|
|
2291
|
-
default:
|
|
2292
|
-
S.value && S.value.length ? (
|
|
2293
|
-
|
|
2294
|
-
e.ssoOnly ?
|
|
2295
|
-
])) :
|
|
2296
|
-
e.ssoOnly && L.value && !S.value?.length ? (
|
|
2258
|
+
default: T(() => [
|
|
2259
|
+
S.value && S.value.length ? (P(), W("div", ar, [
|
|
2260
|
+
R(Jo, { providers: S.value }, null, 8, ["providers"]),
|
|
2261
|
+
e.ssoOnly ? q("", !0) : (P(), W("div", nr, y(w.$t("LOGIN.OR")), 1))
|
|
2262
|
+
])) : q("", !0),
|
|
2263
|
+
e.ssoOnly && L.value && !S.value?.length ? (P(), D(i(Ee), {
|
|
2297
2264
|
key: 1,
|
|
2298
2265
|
class: "tw-mt-4 tw-text-danger-500"
|
|
2299
2266
|
}, {
|
|
2300
|
-
default:
|
|
2301
|
-
M(y(
|
|
2267
|
+
default: T(() => [
|
|
2268
|
+
M(y(w.$t("LOGIN.SSO_NO_PROVIDERS_ERROR")), 1)
|
|
2302
2269
|
]),
|
|
2303
2270
|
_: 1
|
|
2304
|
-
})) :
|
|
2305
|
-
e.ssoOnly ?
|
|
2306
|
-
|
|
2271
|
+
})) : q("", !0),
|
|
2272
|
+
e.ssoOnly ? q("", !0) : (P(), W(ne, { key: 2 }, [
|
|
2273
|
+
R(i(me), {
|
|
2307
2274
|
class: "tw-gap-5",
|
|
2308
|
-
onSubmit:
|
|
2275
|
+
onSubmit: O
|
|
2309
2276
|
}, {
|
|
2310
|
-
default:
|
|
2311
|
-
|
|
2312
|
-
label:
|
|
2277
|
+
default: T(() => [
|
|
2278
|
+
R(i(j), {
|
|
2279
|
+
label: w.$t("LOGIN.FIELDS.LOGIN.LABEL"),
|
|
2313
2280
|
name: "username",
|
|
2314
|
-
"model-value":
|
|
2281
|
+
"model-value": A.username,
|
|
2315
2282
|
rules: "required"
|
|
2316
2283
|
}, {
|
|
2317
|
-
default:
|
|
2318
|
-
|
|
2284
|
+
default: T(({ errorMessage: I, handleChange: p, errors: _ }) => [
|
|
2285
|
+
R(i($), {
|
|
2319
2286
|
ref: "loginField",
|
|
2320
|
-
modelValue:
|
|
2287
|
+
modelValue: A.username,
|
|
2321
2288
|
"onUpdate:modelValue": [
|
|
2322
|
-
g[0] || (g[0] = (
|
|
2289
|
+
g[0] || (g[0] = (N) => A.username = N),
|
|
2323
2290
|
p
|
|
2324
2291
|
],
|
|
2325
|
-
label:
|
|
2326
|
-
placeholder:
|
|
2292
|
+
label: w.$t("LOGIN.FIELDS.LOGIN.LABEL"),
|
|
2293
|
+
placeholder: w.$t("LOGIN.FIELDS.LOGIN.PLACEHOLDER"),
|
|
2327
2294
|
autocomplete: "username",
|
|
2328
2295
|
required: "",
|
|
2329
|
-
error: !!
|
|
2330
|
-
"error-message":
|
|
2296
|
+
error: !!_.length,
|
|
2297
|
+
"error-message": I
|
|
2331
2298
|
}, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
|
|
2332
2299
|
]),
|
|
2333
2300
|
_: 1
|
|
2334
2301
|
}, 8, ["label", "model-value"]),
|
|
2335
|
-
|
|
2336
|
-
label:
|
|
2302
|
+
R(i(j), {
|
|
2303
|
+
label: w.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
|
|
2337
2304
|
name: "password",
|
|
2338
|
-
"model-value":
|
|
2305
|
+
"model-value": A.password,
|
|
2339
2306
|
rules: "required"
|
|
2340
2307
|
}, {
|
|
2341
|
-
default:
|
|
2342
|
-
|
|
2308
|
+
default: T(({ errorMessage: I, handleChange: p, errors: _ }) => [
|
|
2309
|
+
R(i($), {
|
|
2343
2310
|
ref: "passwordField",
|
|
2344
|
-
modelValue:
|
|
2311
|
+
modelValue: A.password,
|
|
2345
2312
|
"onUpdate:modelValue": [
|
|
2346
|
-
g[1] || (g[1] = (
|
|
2313
|
+
g[1] || (g[1] = (N) => A.password = N),
|
|
2347
2314
|
p
|
|
2348
2315
|
],
|
|
2349
|
-
label:
|
|
2350
|
-
placeholder:
|
|
2316
|
+
label: w.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
|
|
2317
|
+
placeholder: w.$t("LOGIN.FIELDS.PASSWORD.PLACEHOLDER"),
|
|
2351
2318
|
type: "password",
|
|
2352
2319
|
autocomplete: "current-password",
|
|
2353
2320
|
required: "",
|
|
2354
|
-
error: !!
|
|
2355
|
-
"error-message":
|
|
2356
|
-
onKeyup:
|
|
2321
|
+
error: !!_.length,
|
|
2322
|
+
"error-message": I,
|
|
2323
|
+
onKeyup: lt(O, ["enter"])
|
|
2357
2324
|
}, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
|
|
2358
2325
|
]),
|
|
2359
2326
|
_: 1
|
|
2360
2327
|
}, 8, ["label", "model-value"]),
|
|
2361
|
-
|
|
2328
|
+
R(i(x), {
|
|
2362
2329
|
variant: "primary",
|
|
2363
2330
|
class: "tw-w-full",
|
|
2364
2331
|
icon: "lucide-log-in",
|
|
2365
2332
|
disabled: !i(d),
|
|
2366
2333
|
loading: i(E),
|
|
2367
|
-
onClick:
|
|
2334
|
+
onClick: O
|
|
2368
2335
|
}, {
|
|
2369
|
-
default:
|
|
2370
|
-
M(y(
|
|
2336
|
+
default: T(() => [
|
|
2337
|
+
M(y(w.$t("LOGIN.BUTTON")), 1)
|
|
2371
2338
|
]),
|
|
2372
2339
|
_: 1
|
|
2373
2340
|
}, 8, ["disabled", "loading"]),
|
|
2374
|
-
|
|
2341
|
+
R(i(x), {
|
|
2375
2342
|
variant: "link",
|
|
2376
2343
|
class: "tw-w-full tw-justify-center",
|
|
2377
2344
|
type: "button",
|
|
2378
|
-
onClick:
|
|
2345
|
+
onClick: C
|
|
2379
2346
|
}, {
|
|
2380
|
-
default:
|
|
2381
|
-
M(y(
|
|
2347
|
+
default: T(() => [
|
|
2348
|
+
M(y(w.$t("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
|
|
2382
2349
|
]),
|
|
2383
2350
|
_: 1
|
|
2384
2351
|
})
|
|
2385
2352
|
]),
|
|
2386
2353
|
_: 1
|
|
2387
2354
|
}),
|
|
2388
|
-
|
|
2355
|
+
R(i(Ls), {
|
|
2389
2356
|
name: "auth:after-form",
|
|
2390
2357
|
separator: "",
|
|
2391
2358
|
"separator-class": "tw-border-t tw-border-[color:var(--login-separator)] tw-border-solid tw-pb-5",
|
|
2392
2359
|
"wrapper-class": "vc-login-page__separator"
|
|
2393
2360
|
}),
|
|
2394
|
-
c.value.succeeded ?
|
|
2361
|
+
c.value.succeeded ? q("", !0) : (P(), D(i(Ee), {
|
|
2395
2362
|
key: 0,
|
|
2396
2363
|
class: "tw-mt-4 tw-text-danger-500"
|
|
2397
2364
|
}, {
|
|
2398
|
-
default:
|
|
2365
|
+
default: T(() => [
|
|
2399
2366
|
M(y(c.value.error), 1)
|
|
2400
2367
|
]),
|
|
2401
2368
|
_: 1
|
|
@@ -2405,7 +2372,7 @@ const nr = {
|
|
|
2405
2372
|
_: 1
|
|
2406
2373
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2407
2374
|
}
|
|
2408
|
-
}),
|
|
2375
|
+
}), Ul = sr, or = { class: "tw-text-center" }, rr = { class: "tw-text-center tw-mb-6" }, ir = { class: "tw-text-sm tw-text-neutrals-600" }, lr = /* @__PURE__ */ H({
|
|
2409
2376
|
__name: "ForgotPassword",
|
|
2410
2377
|
props: {
|
|
2411
2378
|
logo: {},
|
|
@@ -2415,104 +2382,104 @@ const nr = {
|
|
|
2415
2382
|
setup(e) {
|
|
2416
2383
|
const t = e, a = ve(), { t: n } = le({ useScope: "global" });
|
|
2417
2384
|
ue({ validateOnMount: !1 });
|
|
2418
|
-
const s = Ie(), { uiSettings: o, loading: r } = we(), l =
|
|
2385
|
+
const s = Ie(), { uiSettings: o, loading: r } = we(), l = b(!1), c = b(""), u = b(!1), E = ie({
|
|
2419
2386
|
loginOrEmail: ""
|
|
2420
2387
|
});
|
|
2421
2388
|
let m;
|
|
2422
2389
|
if (t.composable && typeof t.composable == "function")
|
|
2423
2390
|
m = t.composable().forgotPassword;
|
|
2424
2391
|
else {
|
|
2425
|
-
const { requestPasswordReset:
|
|
2426
|
-
m = async (
|
|
2427
|
-
await
|
|
2392
|
+
const { requestPasswordReset: h } = se();
|
|
2393
|
+
m = async (A) => {
|
|
2394
|
+
await h(A.loginOrEmail);
|
|
2428
2395
|
};
|
|
2429
2396
|
}
|
|
2430
|
-
const f =
|
|
2397
|
+
const f = v(() => ({
|
|
2431
2398
|
logo: r.value ? "" : o.value?.logo || t.logo
|
|
2432
|
-
})), d =
|
|
2433
|
-
const
|
|
2434
|
-
return !
|
|
2399
|
+
})), d = v(() => {
|
|
2400
|
+
const h = E.loginOrEmail, [A, O] = h.split("@");
|
|
2401
|
+
return !A || !O ? h : `${A.length > 2 ? A[0] + "***" + A[A.length - 1] : A[0] + "***"}@${O}`;
|
|
2435
2402
|
}), S = async () => {
|
|
2436
2403
|
if (!(!s.value || !m))
|
|
2437
2404
|
try {
|
|
2438
2405
|
l.value = !0, c.value = "", await m({ loginOrEmail: E.loginOrEmail }), u.value = !0;
|
|
2439
|
-
} catch (
|
|
2440
|
-
c.value =
|
|
2406
|
+
} catch (h) {
|
|
2407
|
+
c.value = h instanceof Error ? h.message : String(h);
|
|
2441
2408
|
} finally {
|
|
2442
2409
|
l.value = !1;
|
|
2443
2410
|
}
|
|
2444
2411
|
}, L = () => {
|
|
2445
2412
|
a.push({ name: "Login" });
|
|
2446
2413
|
};
|
|
2447
|
-
return (
|
|
2414
|
+
return (h, A) => (P(), D(i(_e), {
|
|
2448
2415
|
logo: f.value.logo,
|
|
2449
2416
|
background: e.background,
|
|
2450
2417
|
title: u.value ? i(n)("FORGOT_PASSWORD.SUCCESS_TITLE") : i(n)("FORGOT_PASSWORD.TITLE"),
|
|
2451
2418
|
subtitle: u.value ? void 0 : i(n)("FORGOT_PASSWORD.SUBTITLE")
|
|
2452
2419
|
}, {
|
|
2453
|
-
default:
|
|
2454
|
-
u.value ? (
|
|
2455
|
-
U("div",
|
|
2456
|
-
U("p",
|
|
2420
|
+
default: T(() => [
|
|
2421
|
+
u.value ? (P(), W(ne, { key: 1 }, [
|
|
2422
|
+
U("div", rr, [
|
|
2423
|
+
U("p", ir, y(i(n)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: d.value })), 1)
|
|
2457
2424
|
]),
|
|
2458
|
-
|
|
2425
|
+
R(i(x), {
|
|
2459
2426
|
variant: "primary",
|
|
2460
2427
|
class: "tw-w-full",
|
|
2461
2428
|
onClick: L
|
|
2462
2429
|
}, {
|
|
2463
|
-
default:
|
|
2430
|
+
default: T(() => [
|
|
2464
2431
|
M(y(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
|
|
2465
2432
|
]),
|
|
2466
2433
|
_: 1
|
|
2467
2434
|
})
|
|
2468
|
-
], 64)) : (
|
|
2469
|
-
|
|
2470
|
-
default:
|
|
2471
|
-
|
|
2435
|
+
], 64)) : (P(), W(ne, { key: 0 }, [
|
|
2436
|
+
R(i(me), { onSubmit: S }, {
|
|
2437
|
+
default: T(() => [
|
|
2438
|
+
R(i(j), {
|
|
2472
2439
|
label: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
|
|
2473
2440
|
name: "loginOrEmail",
|
|
2474
2441
|
"model-value": E.loginOrEmail,
|
|
2475
2442
|
rules: "required|email"
|
|
2476
2443
|
}, {
|
|
2477
|
-
default:
|
|
2478
|
-
|
|
2444
|
+
default: T(({ errorMessage: O, handleChange: C, errors: w }) => [
|
|
2445
|
+
R(i($), {
|
|
2479
2446
|
ref: "emailField",
|
|
2480
2447
|
modelValue: E.loginOrEmail,
|
|
2481
2448
|
"onUpdate:modelValue": [
|
|
2482
|
-
|
|
2483
|
-
|
|
2449
|
+
A[0] || (A[0] = (g) => E.loginOrEmail = g),
|
|
2450
|
+
C
|
|
2484
2451
|
],
|
|
2485
2452
|
class: "tw-mb-6",
|
|
2486
2453
|
label: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
|
|
2487
2454
|
placeholder: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.PLACEHOLDER"),
|
|
2488
2455
|
required: "",
|
|
2489
|
-
error: !!
|
|
2490
|
-
"error-message":
|
|
2456
|
+
error: !!w.length,
|
|
2457
|
+
"error-message": O
|
|
2491
2458
|
}, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
|
|
2492
2459
|
]),
|
|
2493
2460
|
_: 1
|
|
2494
2461
|
}, 8, ["label", "model-value"]),
|
|
2495
|
-
|
|
2462
|
+
R(i(x), {
|
|
2496
2463
|
variant: "primary",
|
|
2497
2464
|
class: "tw-w-full tw-mb-4",
|
|
2498
2465
|
disabled: !i(s) || l.value,
|
|
2499
2466
|
loading: l.value,
|
|
2500
2467
|
onClick: S
|
|
2501
2468
|
}, {
|
|
2502
|
-
default:
|
|
2469
|
+
default: T(() => [
|
|
2503
2470
|
M(y(i(n)("FORGOT_PASSWORD.SEND_BUTTON")), 1)
|
|
2504
2471
|
]),
|
|
2505
2472
|
_: 1
|
|
2506
2473
|
}, 8, ["disabled", "loading"]),
|
|
2507
|
-
U("div",
|
|
2508
|
-
|
|
2474
|
+
U("div", or, [
|
|
2475
|
+
R(i(x), {
|
|
2509
2476
|
variant: "link",
|
|
2510
2477
|
icon: "lucide-arrow-left",
|
|
2511
2478
|
"icon-size": "xs",
|
|
2512
2479
|
type: "button",
|
|
2513
2480
|
onClick: L
|
|
2514
2481
|
}, {
|
|
2515
|
-
default:
|
|
2482
|
+
default: T(() => [
|
|
2516
2483
|
M(y(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
|
|
2517
2484
|
]),
|
|
2518
2485
|
_: 1
|
|
@@ -2521,21 +2488,21 @@ const nr = {
|
|
|
2521
2488
|
]),
|
|
2522
2489
|
_: 1
|
|
2523
2490
|
}),
|
|
2524
|
-
c.value ? (
|
|
2491
|
+
c.value ? (P(), D(i(Ee), {
|
|
2525
2492
|
key: 0,
|
|
2526
2493
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2527
2494
|
}, {
|
|
2528
|
-
default:
|
|
2495
|
+
default: T(() => [
|
|
2529
2496
|
M(y(c.value), 1)
|
|
2530
2497
|
]),
|
|
2531
2498
|
_: 1
|
|
2532
|
-
})) :
|
|
2499
|
+
})) : q("", !0)
|
|
2533
2500
|
], 64))
|
|
2534
2501
|
]),
|
|
2535
2502
|
_: 1
|
|
2536
2503
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2537
2504
|
}
|
|
2538
|
-
}),
|
|
2505
|
+
}), Fl = lr, ur = /* @__PURE__ */ H({
|
|
2539
2506
|
__name: "ResetPassword",
|
|
2540
2507
|
props: {
|
|
2541
2508
|
userId: {},
|
|
@@ -2552,52 +2519,52 @@ const nr = {
|
|
|
2552
2519
|
password: "",
|
|
2553
2520
|
confirmPassword: ""
|
|
2554
2521
|
});
|
|
2555
|
-
|
|
2522
|
+
Oe(async () => {
|
|
2556
2523
|
f.tokenIsValid = await a(t.userId, t.token), f.tokenIsValid || f.errors.push("Invalid-token");
|
|
2557
2524
|
});
|
|
2558
|
-
const d =
|
|
2525
|
+
const d = v(() => r.value || !f.password || !f.confirmPassword || !f.isValid && f.tokenIsValid), S = async () => {
|
|
2559
2526
|
if (f.tokenIsValid) {
|
|
2560
|
-
const
|
|
2561
|
-
f.errors =
|
|
2527
|
+
const A = (await n(f.password)).errors;
|
|
2528
|
+
f.errors = A?.map((O) => O.code), f.confirmPassword !== f.password && f.errors.push("Repeat-password"), f.isValid = f.errors.length == 0;
|
|
2562
2529
|
}
|
|
2563
2530
|
}, L = async () => {
|
|
2564
|
-
const { valid:
|
|
2565
|
-
if (
|
|
2566
|
-
const
|
|
2567
|
-
if (
|
|
2568
|
-
const
|
|
2569
|
-
|
|
2531
|
+
const { valid: A } = await u();
|
|
2532
|
+
if (A) {
|
|
2533
|
+
const O = await s(t.userId, f.password, t.token);
|
|
2534
|
+
if (O.succeeded) {
|
|
2535
|
+
const C = await o(t.userName, f.password);
|
|
2536
|
+
C.succeeded ? l.push("/") : f.errors = "error" in C && [C.error] || [];
|
|
2570
2537
|
} else
|
|
2571
|
-
f.errors =
|
|
2538
|
+
f.errors = O.errors;
|
|
2572
2539
|
}
|
|
2573
|
-
},
|
|
2540
|
+
}, h = v(() => ({
|
|
2574
2541
|
logo: m.value ? "" : E.value?.logo || t.logo
|
|
2575
2542
|
}));
|
|
2576
|
-
return (
|
|
2577
|
-
logo:
|
|
2543
|
+
return (A, O) => (P(), D(i(_e), {
|
|
2544
|
+
logo: h.value.logo,
|
|
2578
2545
|
background: e.background,
|
|
2579
2546
|
title: i(c)("PASSWORDRESET.TITLE"),
|
|
2580
2547
|
subtitle: i(c)("PASSWORDRESET.SUBTITLE")
|
|
2581
2548
|
}, {
|
|
2582
|
-
default:
|
|
2583
|
-
i(r) ? (
|
|
2549
|
+
default: T(() => [
|
|
2550
|
+
i(r) ? (P(), D(i(Ht), {
|
|
2584
2551
|
key: 0,
|
|
2585
2552
|
active: ""
|
|
2586
|
-
})) :
|
|
2587
|
-
|
|
2588
|
-
default:
|
|
2589
|
-
|
|
2553
|
+
})) : q("", !0),
|
|
2554
|
+
R(i(me), null, {
|
|
2555
|
+
default: T(() => [
|
|
2556
|
+
R(i(j), {
|
|
2590
2557
|
label: i(c)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
|
|
2591
2558
|
name: "password",
|
|
2592
2559
|
"model-value": f.password,
|
|
2593
2560
|
rules: "required"
|
|
2594
2561
|
}, {
|
|
2595
|
-
default:
|
|
2596
|
-
|
|
2562
|
+
default: T(({ field: C, errorMessage: w, handleChange: g, errors: I }) => [
|
|
2563
|
+
R(i($), re(C, {
|
|
2597
2564
|
ref: "passwordField",
|
|
2598
2565
|
modelValue: f.password,
|
|
2599
2566
|
"onUpdate:modelValue": [
|
|
2600
|
-
|
|
2567
|
+
O[0] || (O[0] = (p) => f.password = p),
|
|
2601
2568
|
(p) => {
|
|
2602
2569
|
g(p), S();
|
|
2603
2570
|
}
|
|
@@ -2609,24 +2576,24 @@ const nr = {
|
|
|
2609
2576
|
autocomplete: "new-password",
|
|
2610
2577
|
disabled: !f.tokenIsValid,
|
|
2611
2578
|
required: "",
|
|
2612
|
-
error: !!
|
|
2613
|
-
"error-message":
|
|
2579
|
+
error: !!I.length,
|
|
2580
|
+
"error-message": w
|
|
2614
2581
|
}), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
|
|
2615
2582
|
]),
|
|
2616
2583
|
_: 1
|
|
2617
2584
|
}, 8, ["label", "model-value"]),
|
|
2618
|
-
|
|
2585
|
+
R(i(j), {
|
|
2619
2586
|
label: i(c)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2620
2587
|
name: "confirm_password",
|
|
2621
2588
|
"model-value": f.confirmPassword,
|
|
2622
2589
|
rules: "required"
|
|
2623
2590
|
}, {
|
|
2624
|
-
default:
|
|
2625
|
-
|
|
2591
|
+
default: T(({ field: C, errorMessage: w, handleChange: g, errors: I }) => [
|
|
2592
|
+
R(i($), re(C, {
|
|
2626
2593
|
ref: "confirmPasswordField",
|
|
2627
2594
|
modelValue: f.confirmPassword,
|
|
2628
2595
|
"onUpdate:modelValue": [
|
|
2629
|
-
|
|
2596
|
+
O[1] || (O[1] = (p) => f.confirmPassword = p),
|
|
2630
2597
|
(p) => {
|
|
2631
2598
|
g(p), S();
|
|
2632
2599
|
}
|
|
@@ -2638,31 +2605,31 @@ const nr = {
|
|
|
2638
2605
|
type: "password",
|
|
2639
2606
|
autocomplete: "new-password",
|
|
2640
2607
|
required: "",
|
|
2641
|
-
error: !!
|
|
2642
|
-
"error-message":
|
|
2643
|
-
onKeyup:
|
|
2608
|
+
error: !!I.length,
|
|
2609
|
+
"error-message": w,
|
|
2610
|
+
onKeyup: lt(L, ["enter"])
|
|
2644
2611
|
}), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
|
|
2645
2612
|
]),
|
|
2646
2613
|
_: 1
|
|
2647
2614
|
}, 8, ["label", "model-value"]),
|
|
2648
|
-
|
|
2615
|
+
R(i(x), {
|
|
2649
2616
|
variant: "primary",
|
|
2650
2617
|
class: "tw-w-full",
|
|
2651
2618
|
disabled: d.value,
|
|
2652
2619
|
loading: i(r),
|
|
2653
2620
|
onClick: L
|
|
2654
2621
|
}, {
|
|
2655
|
-
default:
|
|
2622
|
+
default: T(() => [
|
|
2656
2623
|
M(y(i(c)("PASSWORDRESET.SAVE_PASSWORD")), 1)
|
|
2657
2624
|
]),
|
|
2658
2625
|
_: 1
|
|
2659
2626
|
}, 8, ["disabled", "loading"]),
|
|
2660
|
-
(
|
|
2661
|
-
key:
|
|
2627
|
+
(P(!0), W(ne, null, Fe(f.errors, (C) => (P(), D(i(Ee), {
|
|
2628
|
+
key: C,
|
|
2662
2629
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2663
2630
|
}, {
|
|
2664
|
-
default:
|
|
2665
|
-
M(y(i(c)(`PASSWORDRESET.ERRORS.${
|
|
2631
|
+
default: T(() => [
|
|
2632
|
+
M(y(i(c)(`PASSWORDRESET.ERRORS.${C}`)), 1)
|
|
2666
2633
|
]),
|
|
2667
2634
|
_: 2
|
|
2668
2635
|
}, 1024))), 128))
|
|
@@ -2673,7 +2640,7 @@ const nr = {
|
|
|
2673
2640
|
_: 1
|
|
2674
2641
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2675
2642
|
}
|
|
2676
|
-
}),
|
|
2643
|
+
}), Wl = ur, cr = /* @__PURE__ */ H({
|
|
2677
2644
|
__name: "Invite",
|
|
2678
2645
|
props: {
|
|
2679
2646
|
userId: {},
|
|
@@ -2684,41 +2651,41 @@ const nr = {
|
|
|
2684
2651
|
},
|
|
2685
2652
|
setup(e) {
|
|
2686
2653
|
ue({ validateOnMount: !1 });
|
|
2687
|
-
const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = se(), l = ve(), { t: c } = le({ useScope: "global" }), u = Ie(), E =
|
|
2654
|
+
const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = se(), l = ve(), { t: c } = le({ useScope: "global" }), u = Ie(), E = ct(), { uiSettings: m, loading: f } = we(), d = ie({
|
|
2688
2655
|
isValid: !1,
|
|
2689
2656
|
tokenIsValid: !1,
|
|
2690
2657
|
errors: [],
|
|
2691
2658
|
password: "",
|
|
2692
2659
|
confirmPassword: ""
|
|
2693
|
-
}), S =
|
|
2694
|
-
|
|
2660
|
+
}), S = v(() => !E.value || !u.value);
|
|
2661
|
+
Oe(async () => {
|
|
2695
2662
|
d.tokenIsValid = await a(t.userId, t.token), d.tokenIsValid || d.errors.push("Invalid-token");
|
|
2696
2663
|
});
|
|
2697
2664
|
const L = async () => {
|
|
2698
2665
|
if (d.tokenIsValid) {
|
|
2699
|
-
const
|
|
2700
|
-
d.errors =
|
|
2666
|
+
const O = (await n(d.password)).errors;
|
|
2667
|
+
d.errors = O?.map((C) => C.code), d.confirmPassword && d.confirmPassword !== d.password && d.errors.push("Repeat-password"), d.isValid = d.errors.length == 0 && !S.value;
|
|
2701
2668
|
}
|
|
2702
|
-
},
|
|
2703
|
-
const
|
|
2704
|
-
|
|
2705
|
-
},
|
|
2669
|
+
}, h = async () => {
|
|
2670
|
+
const O = await s(t.userId, d.password, t.token);
|
|
2671
|
+
O.succeeded ? (await o(t.userName, d.password)).succeeded && l.push("/") : d.errors = O.errors;
|
|
2672
|
+
}, A = v(() => ({
|
|
2706
2673
|
logo: f.value ? "" : m.value?.logo || t.logo
|
|
2707
2674
|
}));
|
|
2708
|
-
return (
|
|
2709
|
-
logo:
|
|
2675
|
+
return (O, C) => (P(), D(i(_e), {
|
|
2676
|
+
logo: A.value.logo,
|
|
2710
2677
|
background: e.background,
|
|
2711
2678
|
title: i(c)("INVITATION.TITLE"),
|
|
2712
2679
|
subtitle: i(c)("INVITATION.SUBTITLE")
|
|
2713
2680
|
}, {
|
|
2714
|
-
default:
|
|
2715
|
-
i(r) ? (
|
|
2681
|
+
default: T(() => [
|
|
2682
|
+
i(r) ? (P(), D(i(Ht), {
|
|
2716
2683
|
key: 0,
|
|
2717
2684
|
active: ""
|
|
2718
|
-
})) :
|
|
2719
|
-
|
|
2720
|
-
default:
|
|
2721
|
-
|
|
2685
|
+
})) : q("", !0),
|
|
2686
|
+
R(i(me), null, {
|
|
2687
|
+
default: T(() => [
|
|
2688
|
+
R(i($), {
|
|
2722
2689
|
class: "tw-mb-4",
|
|
2723
2690
|
label: i(c)("INVITATION.FIELDS.EMAIL.LABEL"),
|
|
2724
2691
|
"model-value": e.userName,
|
|
@@ -2726,20 +2693,20 @@ const nr = {
|
|
|
2726
2693
|
autocomplete: "username",
|
|
2727
2694
|
disabled: ""
|
|
2728
2695
|
}, null, 8, ["label", "model-value"]),
|
|
2729
|
-
|
|
2696
|
+
R(i(j), {
|
|
2730
2697
|
label: i(c)("INVITATION.FIELDS.PASSWORD.LABEL"),
|
|
2731
2698
|
"model-value": d.password,
|
|
2732
2699
|
rules: "required",
|
|
2733
2700
|
name: "password"
|
|
2734
2701
|
}, {
|
|
2735
|
-
default:
|
|
2736
|
-
|
|
2702
|
+
default: T(({ field: w, errorMessage: g, handleChange: I, errors: p }) => [
|
|
2703
|
+
R(i($), re(w, {
|
|
2737
2704
|
ref: "passwordField",
|
|
2738
2705
|
modelValue: d.password,
|
|
2739
2706
|
"onUpdate:modelValue": [
|
|
2740
|
-
|
|
2741
|
-
(
|
|
2742
|
-
_
|
|
2707
|
+
C[0] || (C[0] = (_) => d.password = _),
|
|
2708
|
+
(_) => {
|
|
2709
|
+
I(_), L();
|
|
2743
2710
|
}
|
|
2744
2711
|
],
|
|
2745
2712
|
class: "tw-mb-4",
|
|
@@ -2755,20 +2722,20 @@ const nr = {
|
|
|
2755
2722
|
]),
|
|
2756
2723
|
_: 1
|
|
2757
2724
|
}, 8, ["label", "model-value"]),
|
|
2758
|
-
|
|
2725
|
+
R(i(j), {
|
|
2759
2726
|
label: i(c)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
|
|
2760
2727
|
"model-value": d.confirmPassword,
|
|
2761
2728
|
rules: "required",
|
|
2762
2729
|
name: "confirm_password"
|
|
2763
2730
|
}, {
|
|
2764
|
-
default:
|
|
2765
|
-
|
|
2731
|
+
default: T(({ field: w, errorMessage: g, handleChange: I, errors: p }) => [
|
|
2732
|
+
R(i($), re(w, {
|
|
2766
2733
|
ref: "confirmPasswordField",
|
|
2767
2734
|
modelValue: d.confirmPassword,
|
|
2768
2735
|
"onUpdate:modelValue": [
|
|
2769
|
-
|
|
2770
|
-
(
|
|
2771
|
-
_
|
|
2736
|
+
C[1] || (C[1] = (_) => d.confirmPassword = _),
|
|
2737
|
+
(_) => {
|
|
2738
|
+
I(_), L();
|
|
2772
2739
|
}
|
|
2773
2740
|
],
|
|
2774
2741
|
class: "tw-mb-6",
|
|
@@ -2780,29 +2747,29 @@ const nr = {
|
|
|
2780
2747
|
error: !!p.length,
|
|
2781
2748
|
"error-message": g,
|
|
2782
2749
|
required: "",
|
|
2783
|
-
onKeyup:
|
|
2750
|
+
onKeyup: lt(h, ["enter"])
|
|
2784
2751
|
}), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
|
|
2785
2752
|
]),
|
|
2786
2753
|
_: 1
|
|
2787
2754
|
}, 8, ["label", "model-value"]),
|
|
2788
|
-
|
|
2755
|
+
R(i(x), {
|
|
2789
2756
|
variant: "primary",
|
|
2790
2757
|
class: "tw-w-full",
|
|
2791
2758
|
disabled: i(r) || !d.isValid || !d.tokenIsValid,
|
|
2792
2759
|
loading: i(r),
|
|
2793
|
-
onClick:
|
|
2760
|
+
onClick: h
|
|
2794
2761
|
}, {
|
|
2795
|
-
default:
|
|
2762
|
+
default: T(() => [
|
|
2796
2763
|
M(y(i(c)("INVITATION.ACCEPT_INVITATION")), 1)
|
|
2797
2764
|
]),
|
|
2798
2765
|
_: 1
|
|
2799
2766
|
}, 8, ["disabled", "loading"]),
|
|
2800
|
-
(
|
|
2801
|
-
key:
|
|
2767
|
+
(P(!0), W(ne, null, Fe(d.errors, (w) => (P(), D(i(Ee), {
|
|
2768
|
+
key: w,
|
|
2802
2769
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2803
2770
|
}, {
|
|
2804
|
-
default:
|
|
2805
|
-
M(y(i(c)(`INVITATION.ERRORS.${
|
|
2771
|
+
default: T(() => [
|
|
2772
|
+
M(y(i(c)(`INVITATION.ERRORS.${w}`)), 1)
|
|
2806
2773
|
]),
|
|
2807
2774
|
_: 2
|
|
2808
2775
|
}, 1024))), 128))
|
|
@@ -2813,10 +2780,10 @@ const nr = {
|
|
|
2813
2780
|
_: 1
|
|
2814
2781
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2815
2782
|
}
|
|
2816
|
-
}),
|
|
2783
|
+
}), Hl = cr, dr = {
|
|
2817
2784
|
key: 0,
|
|
2818
2785
|
class: "tw-mb-4"
|
|
2819
|
-
},
|
|
2786
|
+
}, Er = { class: "tw-flex tw-gap-3" }, fr = /* @__PURE__ */ H({
|
|
2820
2787
|
__name: "ChangePassword",
|
|
2821
2788
|
props: {
|
|
2822
2789
|
forced: { type: Boolean },
|
|
@@ -2824,70 +2791,70 @@ const nr = {
|
|
|
2824
2791
|
background: {}
|
|
2825
2792
|
},
|
|
2826
2793
|
setup(e) {
|
|
2827
|
-
const t = e, { t: a } = le({ useScope: "global" }), { changeUserPassword: n, loading: s, validatePassword: o, signOut: r } = se(), { uiSettings: l, loading: c } = we(), u =
|
|
2794
|
+
const t = e, { t: a } = le({ useScope: "global" }), { changeUserPassword: n, loading: s, validatePassword: o, signOut: r } = se(), { uiSettings: l, loading: c } = we(), u = v(() => ({
|
|
2828
2795
|
logo: c.value ? "" : l.value?.logo || t.logo
|
|
2829
2796
|
}));
|
|
2830
2797
|
ue({ validateOnMount: !1 });
|
|
2831
|
-
const E = Ie(), m =
|
|
2798
|
+
const E = Ie(), m = ct(), f = ve(), d = ie({
|
|
2832
2799
|
isValid: !1,
|
|
2833
2800
|
errors: [],
|
|
2834
2801
|
currentPassword: "",
|
|
2835
2802
|
password: "",
|
|
2836
2803
|
confirmPassword: ""
|
|
2837
|
-
}), S =
|
|
2804
|
+
}), S = v(() => !m.value || !E.value);
|
|
2838
2805
|
async function L() {
|
|
2839
2806
|
await r(), await f.push("/login");
|
|
2840
2807
|
}
|
|
2841
|
-
async function
|
|
2842
|
-
const
|
|
2843
|
-
|
|
2808
|
+
async function h() {
|
|
2809
|
+
const O = await n(d.currentPassword, d.password);
|
|
2810
|
+
O?.succeeded ? await f.push("/") : O?.errors && (d.errors = O?.errors, d.isValid = d.errors.length == 0);
|
|
2844
2811
|
}
|
|
2845
|
-
function
|
|
2812
|
+
function A() {
|
|
2846
2813
|
be(async () => {
|
|
2847
2814
|
if (d.password || d.confirmPassword) {
|
|
2848
|
-
const
|
|
2815
|
+
const O = (await o(d.password)).errors ?? [], C = tr({
|
|
2849
2816
|
password: d.password,
|
|
2850
2817
|
confirmPassword: d.confirmPassword,
|
|
2851
2818
|
currentPassword: d.currentPassword
|
|
2852
2819
|
});
|
|
2853
|
-
d.errors = [...
|
|
2820
|
+
d.errors = [...O, ...C], d.isValid = d.errors.length == 0;
|
|
2854
2821
|
}
|
|
2855
2822
|
});
|
|
2856
2823
|
}
|
|
2857
|
-
return (
|
|
2824
|
+
return (O, C) => (P(), D(i(_e), {
|
|
2858
2825
|
logo: u.value.logo,
|
|
2859
2826
|
background: e.background,
|
|
2860
2827
|
title: e.forced ? i(a)("COMPONENTS.CHANGE_PASSWORD.TITLE_FORCED") : i(a)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
|
|
2861
2828
|
subtitle: e.forced ? i(a)("COMPONENTS.CHANGE_PASSWORD.SUBTITLE_FORCED") : void 0
|
|
2862
2829
|
}, {
|
|
2863
|
-
default:
|
|
2864
|
-
e.forced ? (
|
|
2865
|
-
|
|
2830
|
+
default: T(() => [
|
|
2831
|
+
e.forced ? (P(), W("div", dr, [
|
|
2832
|
+
R(i(In), {
|
|
2866
2833
|
variant: "info",
|
|
2867
2834
|
icon: "lucide-lightbulb",
|
|
2868
2835
|
"icon-size": "l"
|
|
2869
2836
|
}, {
|
|
2870
|
-
default:
|
|
2837
|
+
default: T(() => [
|
|
2871
2838
|
M(y(i(a)("COMPONENTS.CHANGE_PASSWORD.FORCED.LABEL")), 1)
|
|
2872
2839
|
]),
|
|
2873
2840
|
_: 1
|
|
2874
2841
|
})
|
|
2875
|
-
])) :
|
|
2876
|
-
|
|
2877
|
-
default:
|
|
2878
|
-
|
|
2842
|
+
])) : q("", !0),
|
|
2843
|
+
R(i(me), null, {
|
|
2844
|
+
default: T(() => [
|
|
2845
|
+
R(i(j), {
|
|
2879
2846
|
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
2880
2847
|
name: "current",
|
|
2881
2848
|
rules: "required|min:6",
|
|
2882
2849
|
"model-value": d.currentPassword
|
|
2883
2850
|
}, {
|
|
2884
|
-
default:
|
|
2885
|
-
|
|
2851
|
+
default: T(({ field: w, errorMessage: g, errors: I }) => [
|
|
2852
|
+
R(i($), re(w, {
|
|
2886
2853
|
ref: "passwordField",
|
|
2887
2854
|
modelValue: d.currentPassword,
|
|
2888
2855
|
"onUpdate:modelValue": [
|
|
2889
|
-
|
|
2890
|
-
|
|
2856
|
+
C[0] || (C[0] = (p) => d.currentPassword = p),
|
|
2857
|
+
A
|
|
2891
2858
|
],
|
|
2892
2859
|
class: "tw-mb-4",
|
|
2893
2860
|
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
@@ -2895,25 +2862,25 @@ const nr = {
|
|
|
2895
2862
|
type: "password",
|
|
2896
2863
|
autocomplete: "current-password",
|
|
2897
2864
|
required: "",
|
|
2898
|
-
error: !!
|
|
2865
|
+
error: !!I.length,
|
|
2899
2866
|
"error-message": g
|
|
2900
2867
|
}), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
|
|
2901
2868
|
]),
|
|
2902
2869
|
_: 1
|
|
2903
2870
|
}, 8, ["label", "model-value"]),
|
|
2904
|
-
|
|
2871
|
+
R(i(j), {
|
|
2905
2872
|
label: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
2906
2873
|
name: "new_pass",
|
|
2907
2874
|
rules: "required|min:6",
|
|
2908
2875
|
"model-value": d.password
|
|
2909
2876
|
}, {
|
|
2910
|
-
default:
|
|
2911
|
-
|
|
2877
|
+
default: T(({ field: w, errorMessage: g, errors: I }) => [
|
|
2878
|
+
R(i($), re(w, {
|
|
2912
2879
|
ref: "newPasswordField",
|
|
2913
2880
|
modelValue: d.password,
|
|
2914
2881
|
"onUpdate:modelValue": [
|
|
2915
|
-
|
|
2916
|
-
|
|
2882
|
+
C[1] || (C[1] = (p) => d.password = p),
|
|
2883
|
+
A
|
|
2917
2884
|
],
|
|
2918
2885
|
class: "tw-mb-4",
|
|
2919
2886
|
label: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
|
|
@@ -2921,25 +2888,25 @@ const nr = {
|
|
|
2921
2888
|
type: "password",
|
|
2922
2889
|
autocomplete: "new-password",
|
|
2923
2890
|
required: "",
|
|
2924
|
-
error: !!
|
|
2891
|
+
error: !!I.length,
|
|
2925
2892
|
"error-message": g
|
|
2926
2893
|
}), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
|
|
2927
2894
|
]),
|
|
2928
2895
|
_: 1
|
|
2929
2896
|
}, 8, ["label", "model-value"]),
|
|
2930
|
-
|
|
2897
|
+
R(i(j), {
|
|
2931
2898
|
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
2932
2899
|
name: "confirm_pass",
|
|
2933
2900
|
rules: "required|min:6",
|
|
2934
2901
|
"model-value": d.confirmPassword
|
|
2935
2902
|
}, {
|
|
2936
|
-
default:
|
|
2937
|
-
|
|
2903
|
+
default: T(({ field: w, errorMessage: g, errors: I }) => [
|
|
2904
|
+
R(i($), re(w, {
|
|
2938
2905
|
ref: "confirmPasswordField",
|
|
2939
2906
|
modelValue: d.confirmPassword,
|
|
2940
2907
|
"onUpdate:modelValue": [
|
|
2941
|
-
|
|
2942
|
-
|
|
2908
|
+
C[2] || (C[2] = (p) => d.confirmPassword = p),
|
|
2909
|
+
A
|
|
2943
2910
|
],
|
|
2944
2911
|
class: "tw-mb-6",
|
|
2945
2912
|
label: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
|
|
@@ -2947,42 +2914,42 @@ const nr = {
|
|
|
2947
2914
|
type: "password",
|
|
2948
2915
|
autocomplete: "new-password",
|
|
2949
2916
|
required: "",
|
|
2950
|
-
error: !!
|
|
2917
|
+
error: !!I.length,
|
|
2951
2918
|
"error-message": g
|
|
2952
2919
|
}), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
|
|
2953
2920
|
]),
|
|
2954
2921
|
_: 1
|
|
2955
2922
|
}, 8, ["label", "model-value"]),
|
|
2956
|
-
U("div",
|
|
2957
|
-
|
|
2923
|
+
U("div", Er, [
|
|
2924
|
+
R(i(x), {
|
|
2958
2925
|
variant: "secondary",
|
|
2959
2926
|
class: "tw-flex-1",
|
|
2960
2927
|
onClick: L
|
|
2961
2928
|
}, {
|
|
2962
|
-
default:
|
|
2929
|
+
default: T(() => [
|
|
2963
2930
|
M(y(i(a)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
|
|
2964
2931
|
]),
|
|
2965
2932
|
_: 1
|
|
2966
2933
|
}),
|
|
2967
|
-
|
|
2934
|
+
R(i(x), {
|
|
2968
2935
|
variant: "primary",
|
|
2969
2936
|
class: "tw-flex-1",
|
|
2970
2937
|
disabled: i(s) || !d.isValid || S.value,
|
|
2971
2938
|
loading: i(s),
|
|
2972
|
-
onClick:
|
|
2939
|
+
onClick: h
|
|
2973
2940
|
}, {
|
|
2974
|
-
default:
|
|
2941
|
+
default: T(() => [
|
|
2975
2942
|
M(y(i(a)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
|
|
2976
2943
|
]),
|
|
2977
2944
|
_: 1
|
|
2978
2945
|
}, 8, ["disabled", "loading"])
|
|
2979
2946
|
]),
|
|
2980
|
-
(
|
|
2947
|
+
(P(!0), W(ne, null, Fe(d.errors, (w, g) => (P(), D(i(Ee), {
|
|
2981
2948
|
key: g,
|
|
2982
2949
|
class: "tw-mt-3 tw-text-danger-500"
|
|
2983
2950
|
}, {
|
|
2984
|
-
default:
|
|
2985
|
-
M(y(
|
|
2951
|
+
default: T(() => [
|
|
2952
|
+
M(y(w.code ? i(a)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${w.code}`) : w), 1)
|
|
2986
2953
|
]),
|
|
2987
2954
|
_: 2
|
|
2988
2955
|
}, 1024))), 128))
|
|
@@ -2993,10 +2960,10 @@ const nr = {
|
|
|
2993
2960
|
_: 1
|
|
2994
2961
|
}, 8, ["logo", "background", "title", "subtitle"]));
|
|
2995
2962
|
}
|
|
2996
|
-
}),
|
|
2963
|
+
}), Gl = fr, Qe = k("use-blade-navigation-adapter"), nt = /* @__PURE__ */ new Set();
|
|
2997
2964
|
function oe(e, t) {
|
|
2998
|
-
if (
|
|
2999
|
-
|
|
2965
|
+
if (nt.has(e)) return;
|
|
2966
|
+
nt.add(e);
|
|
3000
2967
|
const a = `[useBladeNavigation] "${e}" is deprecated.`;
|
|
3001
2968
|
console.warn(t ? `${a} Use ${t} instead.` : a);
|
|
3002
2969
|
}
|
|
@@ -3007,7 +2974,7 @@ function Nt(e, t, a) {
|
|
|
3007
2974
|
idx: t,
|
|
3008
2975
|
instance: e.title != null ? { title: e.title } : void 0,
|
|
3009
2976
|
isVisible: e.visible,
|
|
3010
|
-
error:
|
|
2977
|
+
error: b(e.error ? new Error(String(e.error)) : null)
|
|
3011
2978
|
},
|
|
3012
2979
|
param: e.param,
|
|
3013
2980
|
options: e.options,
|
|
@@ -3018,22 +2985,22 @@ function Nt(e, t, a) {
|
|
|
3018
2985
|
};
|
|
3019
2986
|
}
|
|
3020
2987
|
let De, ye;
|
|
3021
|
-
function
|
|
3022
|
-
De = void 0, ye = void 0,
|
|
2988
|
+
function xl() {
|
|
2989
|
+
De = void 0, ye = void 0, nt.clear();
|
|
3023
2990
|
}
|
|
3024
|
-
function
|
|
3025
|
-
const e =
|
|
2991
|
+
function mr() {
|
|
2992
|
+
const e = is, t = us, a = ls;
|
|
3026
2993
|
if (!e || !t)
|
|
3027
2994
|
throw new Error(
|
|
3028
2995
|
"[useBladeNavigation adapter] BladeStack or BladeMessaging not available. Ensure plugin-v2 is installed before calling useBladeNavigation()."
|
|
3029
2996
|
);
|
|
3030
|
-
const n =
|
|
2997
|
+
const n = rs?.router;
|
|
3031
2998
|
if (!n)
|
|
3032
2999
|
throw new Error("[@vc-shell/framework#useBladeNavigation] Vue Router instance is not available.");
|
|
3033
|
-
return De || (De =
|
|
3000
|
+
return De || (De = v(() => {
|
|
3034
3001
|
const s = e.activeBlade.value?.id;
|
|
3035
3002
|
return e.blades.value.map((o, r) => Nt(o, r, s));
|
|
3036
|
-
})), ye || (ye =
|
|
3003
|
+
})), ye || (ye = v(() => {
|
|
3037
3004
|
const s = e.workspace.value;
|
|
3038
3005
|
if (s)
|
|
3039
3006
|
return Nt(s, 0, e.activeBlade.value?.id);
|
|
@@ -3046,7 +3013,7 @@ function gr() {
|
|
|
3046
3013
|
activeWorkspace: ye
|
|
3047
3014
|
};
|
|
3048
3015
|
}
|
|
3049
|
-
function
|
|
3016
|
+
function gr(e) {
|
|
3050
3017
|
if (!e)
|
|
3051
3018
|
throw new Error("Blade cannot be null or undefined.");
|
|
3052
3019
|
if (typeof e == "object" && "name" in e && typeof e.name == "string")
|
|
@@ -3058,76 +3025,76 @@ function Dt(e) {
|
|
|
3058
3025
|
const [t, a = ""] = e.replace(/^#/, "").split("?");
|
|
3059
3026
|
return [t, a];
|
|
3060
3027
|
}
|
|
3061
|
-
function
|
|
3028
|
+
function Sr(e) {
|
|
3062
3029
|
const t = Number(e);
|
|
3063
3030
|
return !isNaN(t) && String(t) === e ? t : e;
|
|
3064
3031
|
}
|
|
3065
|
-
function
|
|
3066
|
-
const { bladeStack: e, messaging: t, bladeRegistry: a, router: n, blades: s, activeWorkspace: o } =
|
|
3032
|
+
function $l() {
|
|
3033
|
+
const { bladeStack: e, messaging: t, bladeRegistry: a, router: n, blades: s, activeWorkspace: o } = mr(), r = on() ? Q(xt, void 0) : void 0;
|
|
3067
3034
|
function l() {
|
|
3068
3035
|
return r ? r.value.id : e.activeBlade.value?.id;
|
|
3069
3036
|
}
|
|
3070
3037
|
function c(g) {
|
|
3071
|
-
const
|
|
3072
|
-
if (g >= 0 && g <
|
|
3073
|
-
return
|
|
3038
|
+
const I = e.blades.value;
|
|
3039
|
+
if (g >= 0 && g < I.length)
|
|
3040
|
+
return I[g].id;
|
|
3074
3041
|
}
|
|
3075
|
-
async function u(g,
|
|
3076
|
-
const
|
|
3077
|
-
name:
|
|
3042
|
+
async function u(g, I) {
|
|
3043
|
+
const _ = {
|
|
3044
|
+
name: gr(g.blade),
|
|
3078
3045
|
param: g.param,
|
|
3079
3046
|
options: g.options,
|
|
3080
3047
|
onOpen: g.onOpen,
|
|
3081
3048
|
onClose: g.onClose,
|
|
3082
3049
|
replaceCurrentBlade: g.replaceCurrentBlade
|
|
3083
3050
|
};
|
|
3084
|
-
if (
|
|
3085
|
-
await e.openWorkspace(
|
|
3051
|
+
if (I)
|
|
3052
|
+
await e.openWorkspace(_);
|
|
3086
3053
|
else if (g.replaceCurrentBlade)
|
|
3087
|
-
await e.coverCurrentBlade(
|
|
3054
|
+
await e.coverCurrentBlade(_);
|
|
3088
3055
|
else {
|
|
3089
|
-
const
|
|
3090
|
-
await e.openBlade({ ...
|
|
3056
|
+
const N = l();
|
|
3057
|
+
await e.openBlade({ ..._, parentId: N });
|
|
3091
3058
|
}
|
|
3092
3059
|
}
|
|
3093
3060
|
async function E(g) {
|
|
3094
3061
|
oe("closeBlade(index)", "useBlade().closeSelf()");
|
|
3095
|
-
const
|
|
3096
|
-
return
|
|
3062
|
+
const I = c(g);
|
|
3063
|
+
return I ? e.closeBlade(I) : (Qe.error(`closeBlade: No blade found at index ${g}.`), !1);
|
|
3097
3064
|
}
|
|
3098
3065
|
function m() {
|
|
3099
3066
|
oe("goToRoot()");
|
|
3100
|
-
const g = n
|
|
3101
|
-
if (
|
|
3067
|
+
const g = vn(n);
|
|
3068
|
+
if (g?.name)
|
|
3102
3069
|
return {
|
|
3103
|
-
name:
|
|
3070
|
+
name: g.name,
|
|
3104
3071
|
params: n.currentRoute.value.params
|
|
3105
3072
|
};
|
|
3106
|
-
const
|
|
3107
|
-
return { path:
|
|
3073
|
+
const I = wn(n);
|
|
3074
|
+
return { path: I ? `/${I}` : "/" };
|
|
3108
3075
|
}
|
|
3109
|
-
async function f(g,
|
|
3076
|
+
async function f(g, I) {
|
|
3110
3077
|
oe("onParentCall(args, index)", "useBlade().callParent(method, args)");
|
|
3111
3078
|
let p;
|
|
3112
|
-
if (
|
|
3113
|
-
|
|
3079
|
+
if (I !== void 0 ? p = c(I) : p = l(), !p) {
|
|
3080
|
+
Qe.error("onParentCall: Could not determine caller blade.");
|
|
3114
3081
|
return;
|
|
3115
3082
|
}
|
|
3116
3083
|
try {
|
|
3117
|
-
const
|
|
3118
|
-
typeof g.callback == "function" && g.callback(
|
|
3119
|
-
} catch (
|
|
3120
|
-
|
|
3084
|
+
const _ = await t.callParent(p, g.method, g.args);
|
|
3085
|
+
typeof g.callback == "function" && g.callback(_);
|
|
3086
|
+
} catch (_) {
|
|
3087
|
+
Qe.error(`onParentCall: Failed to call parent method "${g.method}":`, _);
|
|
3121
3088
|
}
|
|
3122
3089
|
}
|
|
3123
3090
|
function d(g) {
|
|
3124
3091
|
oe("onBeforeClose(cb)", "useBlade().onBeforeClose(guard)");
|
|
3125
|
-
const
|
|
3126
|
-
if (!
|
|
3127
|
-
|
|
3092
|
+
const I = l();
|
|
3093
|
+
if (!I) {
|
|
3094
|
+
rn("onBeforeClose: Could not determine current blade.");
|
|
3128
3095
|
return;
|
|
3129
3096
|
}
|
|
3130
|
-
e.registerBeforeClose(
|
|
3097
|
+
e.registerBeforeClose(I, async () => await g() === !1);
|
|
3131
3098
|
}
|
|
3132
3099
|
function S(g) {
|
|
3133
3100
|
return a.getBladeComponent(g);
|
|
@@ -3135,43 +3102,43 @@ function Kl() {
|
|
|
3135
3102
|
function L(g) {
|
|
3136
3103
|
oe("routeResolver", "plugin-v2 handles URL resolution automatically");
|
|
3137
3104
|
}
|
|
3138
|
-
function
|
|
3105
|
+
function h(g) {
|
|
3139
3106
|
oe("setNavigationQuery");
|
|
3140
|
-
const
|
|
3141
|
-
if (!
|
|
3142
|
-
const p =
|
|
3107
|
+
const I = e.workspace.value;
|
|
3108
|
+
if (!I) return;
|
|
3109
|
+
const p = I.name.toLowerCase(), [_, N] = Dt(window.location.hash), B = new URLSearchParams(N);
|
|
3143
3110
|
for (const K of [...B.keys()])
|
|
3144
3111
|
K.startsWith(`${p}_`) && B.delete(K);
|
|
3145
3112
|
for (const [K, ce] of Object.entries(g))
|
|
3146
3113
|
ce != null && B.set(`${p}_${K}`, String(ce));
|
|
3147
3114
|
const V = B.toString();
|
|
3148
|
-
n.options.history.replace(V ? `${
|
|
3115
|
+
n.options.history.replace(V ? `${_}?${V}` : _);
|
|
3149
3116
|
}
|
|
3150
|
-
function
|
|
3117
|
+
function A() {
|
|
3151
3118
|
oe("getNavigationQuery");
|
|
3152
3119
|
const g = e.workspace.value;
|
|
3153
3120
|
if (!g) return;
|
|
3154
|
-
const
|
|
3155
|
-
for (const [
|
|
3156
|
-
|
|
3157
|
-
return Object.keys(
|
|
3121
|
+
const I = g.name.toLowerCase(), p = new URLSearchParams(Dt(window.location.hash)[1]), _ = {};
|
|
3122
|
+
for (const [N, B] of p.entries())
|
|
3123
|
+
N.startsWith(`${I}_`) && (_[N.replace(`${I}_`, "")] = Sr(B));
|
|
3124
|
+
return Object.keys(_).length > 0 ? _ : void 0;
|
|
3158
3125
|
}
|
|
3159
|
-
function
|
|
3126
|
+
function O(g, I) {
|
|
3160
3127
|
const p = c(g);
|
|
3161
|
-
p && e.setBladeError(p,
|
|
3128
|
+
p && e.setBladeError(p, I);
|
|
3162
3129
|
}
|
|
3163
|
-
function
|
|
3164
|
-
const
|
|
3165
|
-
|
|
3130
|
+
function C(g) {
|
|
3131
|
+
const I = c(g);
|
|
3132
|
+
I && e.clearBladeError(I);
|
|
3166
3133
|
}
|
|
3167
|
-
const
|
|
3134
|
+
const w = v(() => {
|
|
3168
3135
|
if (!r) return;
|
|
3169
3136
|
const g = r.value;
|
|
3170
3137
|
return {
|
|
3171
|
-
idx: e.blades.value.findIndex((
|
|
3138
|
+
idx: e.blades.value.findIndex((_) => _.id === g.id),
|
|
3172
3139
|
instance: g.title != null ? { title: g.title } : void 0,
|
|
3173
3140
|
isVisible: g.visible,
|
|
3174
|
-
error:
|
|
3141
|
+
error: b(g.error ? new Error(String(g.error)) : null)
|
|
3175
3142
|
};
|
|
3176
3143
|
});
|
|
3177
3144
|
return {
|
|
@@ -3184,11 +3151,11 @@ function Kl() {
|
|
|
3184
3151
|
onBeforeClose: d,
|
|
3185
3152
|
resolveBladeByName: S,
|
|
3186
3153
|
routeResolver: L,
|
|
3187
|
-
setNavigationQuery:
|
|
3188
|
-
getNavigationQuery:
|
|
3189
|
-
setBladeError:
|
|
3190
|
-
clearBladeError:
|
|
3191
|
-
currentBladeNavigationData:
|
|
3154
|
+
setNavigationQuery: h,
|
|
3155
|
+
getNavigationQuery: A,
|
|
3156
|
+
setBladeError: O,
|
|
3157
|
+
clearBladeError: C,
|
|
3158
|
+
currentBladeNavigationData: w
|
|
3192
3159
|
};
|
|
3193
3160
|
}
|
|
3194
3161
|
function Ce(e) {
|
|
@@ -3204,7 +3171,7 @@ function Ue(e, t) {
|
|
|
3204
3171
|
if (!Ue(a[o], n[o])) return !1;
|
|
3205
3172
|
return !0;
|
|
3206
3173
|
}
|
|
3207
|
-
function
|
|
3174
|
+
function Kl(e) {
|
|
3208
3175
|
const {
|
|
3209
3176
|
data: t,
|
|
3210
3177
|
canSaveOverride: a,
|
|
@@ -3212,50 +3179,50 @@ function zl(e) {
|
|
|
3212
3179
|
autoBeforeUnload: s = !0,
|
|
3213
3180
|
closeConfirmMessage: o,
|
|
3214
3181
|
onRevert: r
|
|
3215
|
-
} = e, { meta: l, setFieldError: c, errorBag: u } = ue({ validateOnMount: !1 }), E =
|
|
3182
|
+
} = e, { meta: l, setFieldError: c, errorBag: u } = ue({ validateOnMount: !1 }), E = b(X(t.value)), m = b(!1);
|
|
3216
3183
|
ae(
|
|
3217
3184
|
t,
|
|
3218
|
-
(
|
|
3219
|
-
f.value && (m.value = !Ue(
|
|
3185
|
+
(O) => {
|
|
3186
|
+
f.value && (m.value = !Ue(O, E.value));
|
|
3220
3187
|
},
|
|
3221
3188
|
{ deep: !0 }
|
|
3222
3189
|
);
|
|
3223
|
-
const f =
|
|
3190
|
+
const f = b(!1), d = v(() => f.value && m.value), S = v(() => !(!f.value || !l.value.valid || !m.value || a && !a.value));
|
|
3224
3191
|
function L() {
|
|
3225
|
-
E.value =
|
|
3192
|
+
E.value = X(t.value), m.value = !1, f.value = !0;
|
|
3226
3193
|
}
|
|
3227
|
-
function
|
|
3194
|
+
function h() {
|
|
3228
3195
|
f.value = !0, m.value = !Ue(t.value, E.value);
|
|
3229
3196
|
}
|
|
3230
|
-
function
|
|
3197
|
+
function A() {
|
|
3231
3198
|
if (r)
|
|
3232
3199
|
return r();
|
|
3233
|
-
t.value =
|
|
3200
|
+
t.value = X(E.value);
|
|
3234
3201
|
}
|
|
3235
3202
|
if (s && zs(d), n !== !1) {
|
|
3236
|
-
const { onBeforeClose:
|
|
3237
|
-
|
|
3238
|
-
let
|
|
3239
|
-
if (typeof n == "object" ?
|
|
3203
|
+
const { onBeforeClose: O } = ut(), { showConfirmation: C } = Cn();
|
|
3204
|
+
O(async () => {
|
|
3205
|
+
let w;
|
|
3206
|
+
if (typeof n == "object" ? w = n.value && d.value : w = d.value, w) {
|
|
3240
3207
|
const g = o ? Mt(o) : "You have unsaved changes. Are you sure you want to leave?";
|
|
3241
|
-
return !await
|
|
3208
|
+
return !await C(g);
|
|
3242
3209
|
}
|
|
3243
3210
|
return !1;
|
|
3244
3211
|
});
|
|
3245
3212
|
}
|
|
3246
|
-
return Bt(
|
|
3213
|
+
return Bt(Un, { isModified: d, canSave: S }), {
|
|
3247
3214
|
setBaseline: L,
|
|
3248
|
-
markReady:
|
|
3249
|
-
revert:
|
|
3215
|
+
markReady: h,
|
|
3216
|
+
revert: A,
|
|
3250
3217
|
canSave: S,
|
|
3251
3218
|
isModified: d,
|
|
3252
|
-
isReady:
|
|
3219
|
+
isReady: v(() => f.value),
|
|
3253
3220
|
formMeta: l,
|
|
3254
3221
|
setFieldError: c,
|
|
3255
3222
|
errorBag: u
|
|
3256
3223
|
};
|
|
3257
3224
|
}
|
|
3258
|
-
const Be = 14,
|
|
3225
|
+
const Be = 14, ya = 3;
|
|
3259
3226
|
function Ar(e, t, a) {
|
|
3260
3227
|
const n = e.length, s = (u) => u !== void 0 && t.get(u) || 0, o = n > 0 ? e[n - 1] : void 0, r = s(o), l = e.map((u, E) => {
|
|
3261
3228
|
const m = n - 1 - E;
|
|
@@ -3279,11 +3246,11 @@ function Ar(e, t, a) {
|
|
|
3279
3246
|
const m = u * Be + E, f = s(e[0]);
|
|
3280
3247
|
c = m + f;
|
|
3281
3248
|
} else
|
|
3282
|
-
c = r + Math.min(n - 1,
|
|
3249
|
+
c = r + Math.min(n - 1, ya - 1) * Be;
|
|
3283
3250
|
return { toasts: l, frontHeight: r, groupHeight: c };
|
|
3284
3251
|
}
|
|
3285
|
-
function
|
|
3286
|
-
const e =
|
|
3252
|
+
function pr() {
|
|
3253
|
+
const e = b(!1), t = b(!1);
|
|
3287
3254
|
let a = null;
|
|
3288
3255
|
function n() {
|
|
3289
3256
|
a && (clearTimeout(a), a = null), e.value = !0;
|
|
@@ -3319,7 +3286,7 @@ function Tr() {
|
|
|
3319
3286
|
setInteracting: u
|
|
3320
3287
|
};
|
|
3321
3288
|
}
|
|
3322
|
-
const
|
|
3289
|
+
const Tr = H({
|
|
3323
3290
|
name: "NotificationContainer",
|
|
3324
3291
|
inheritAttrs: !1,
|
|
3325
3292
|
props: {
|
|
@@ -3375,7 +3342,7 @@ const hr = H({
|
|
|
3375
3342
|
}
|
|
3376
3343
|
},
|
|
3377
3344
|
setup(e) {
|
|
3378
|
-
const { notificationContainers: t, actions: a } = Q(
|
|
3345
|
+
const { notificationContainers: t, actions: a } = Q(jt), n = v(() => t[e.position].value || []), {
|
|
3379
3346
|
expanded: s,
|
|
3380
3347
|
heightsMap: o,
|
|
3381
3348
|
expandStack: r,
|
|
@@ -3384,42 +3351,42 @@ const hr = H({
|
|
|
3384
3351
|
forgetHeight: u,
|
|
3385
3352
|
clearHeights: E,
|
|
3386
3353
|
setInteracting: m
|
|
3387
|
-
} =
|
|
3388
|
-
function f(
|
|
3389
|
-
return typeof
|
|
3354
|
+
} = pr();
|
|
3355
|
+
function f(h) {
|
|
3356
|
+
return typeof h == "object" && (!!h?.render || !!h?.setup);
|
|
3390
3357
|
}
|
|
3391
|
-
function d(
|
|
3392
|
-
|
|
3358
|
+
function d(h) {
|
|
3359
|
+
h && (u(h), a.remove(h));
|
|
3393
3360
|
}
|
|
3394
3361
|
function S() {
|
|
3395
3362
|
a.clear(), E();
|
|
3396
3363
|
}
|
|
3397
|
-
const L =
|
|
3364
|
+
const L = v(() => (e.position || "top-center").startsWith("top"));
|
|
3398
3365
|
return () => {
|
|
3399
|
-
const
|
|
3400
|
-
|
|
3366
|
+
const h = n.value, A = h.length, O = s.value || A <= 1, C = A > 1, w = Ar(
|
|
3367
|
+
h.map((p) => p.notificationId),
|
|
3401
3368
|
o,
|
|
3402
|
-
|
|
3403
|
-
), g =
|
|
3404
|
-
const { sonnerIndex:
|
|
3405
|
-
"--toasts-before":
|
|
3369
|
+
O
|
|
3370
|
+
), g = h.map((p, _) => {
|
|
3371
|
+
const { sonnerIndex: N, zIndex: B, offset: V, initialHeight: K } = w.toasts[_], ce = {
|
|
3372
|
+
"--toasts-before": N,
|
|
3406
3373
|
"--z-index": B,
|
|
3407
3374
|
"--offset": `${V}px`,
|
|
3408
3375
|
"--initial-height": K ? `${K}px` : "auto"
|
|
3409
|
-
},
|
|
3376
|
+
}, ge = {
|
|
3410
3377
|
...p,
|
|
3411
3378
|
onClose: d,
|
|
3412
3379
|
onReportHeight: c,
|
|
3413
|
-
toastIndex:
|
|
3414
|
-
toastsCount:
|
|
3415
|
-
expanded:
|
|
3416
|
-
visibleToasts:
|
|
3380
|
+
toastIndex: N,
|
|
3381
|
+
toastsCount: A,
|
|
3382
|
+
expanded: O,
|
|
3383
|
+
visibleToasts: ya,
|
|
3417
3384
|
style: ce
|
|
3418
|
-
},
|
|
3419
|
-
return ee("li", { key: p.notificationId, style: { display: "contents" } }, [
|
|
3385
|
+
}, Ba = p.content && f(p.content) ? ee(gt, { ...ge, content: ee(ln(p.content)) }) : ee(gt, ge);
|
|
3386
|
+
return ee("li", { key: p.notificationId, style: { display: "contents" } }, [Ba]);
|
|
3420
3387
|
});
|
|
3421
|
-
let
|
|
3422
|
-
return
|
|
3388
|
+
let I = null;
|
|
3389
|
+
return C && (I = ee(
|
|
3423
3390
|
"li",
|
|
3424
3391
|
{
|
|
3425
3392
|
class: "notification__clear-all",
|
|
@@ -3429,8 +3396,8 @@ const hr = H({
|
|
|
3429
3396
|
left: "var(--width, 356px)",
|
|
3430
3397
|
"margin-left": "8px",
|
|
3431
3398
|
"list-style": "none",
|
|
3432
|
-
opacity:
|
|
3433
|
-
"pointer-events":
|
|
3399
|
+
opacity: O ? "1" : "0",
|
|
3400
|
+
"pointer-events": O ? "auto" : "none",
|
|
3434
3401
|
transition: "opacity 200ms ease"
|
|
3435
3402
|
}
|
|
3436
3403
|
},
|
|
@@ -3442,8 +3409,8 @@ const hr = H({
|
|
|
3442
3409
|
onClick: S
|
|
3443
3410
|
},
|
|
3444
3411
|
[
|
|
3445
|
-
ee(
|
|
3446
|
-
|
|
3412
|
+
ee(Fn, { icon: "lucide-x", size: "xs", "aria-hidden": "true" }),
|
|
3413
|
+
z.global.t("CORE.NOTIFICATIONS.CLEAR_ALL")
|
|
3447
3414
|
]
|
|
3448
3415
|
)
|
|
3449
3416
|
]
|
|
@@ -3451,14 +3418,14 @@ const hr = H({
|
|
|
3451
3418
|
"ol",
|
|
3452
3419
|
{
|
|
3453
3420
|
class: "notification__toast-group",
|
|
3454
|
-
"data-expanded": String(
|
|
3421
|
+
"data-expanded": String(O),
|
|
3455
3422
|
"data-position": e.position || "top-center",
|
|
3456
3423
|
"data-y-position": L.value ? "top" : "bottom",
|
|
3457
3424
|
style: {
|
|
3458
|
-
"--front-toast-height": `${
|
|
3425
|
+
"--front-toast-height": `${w.frontHeight}px`,
|
|
3459
3426
|
"--gap": `${Be}px`,
|
|
3460
3427
|
width: "var(--width, 356px)",
|
|
3461
|
-
height: `${
|
|
3428
|
+
height: `${w.groupHeight}px`
|
|
3462
3429
|
},
|
|
3463
3430
|
onMouseenter: r,
|
|
3464
3431
|
onMouseleave: l,
|
|
@@ -3469,44 +3436,44 @@ const hr = H({
|
|
|
3469
3436
|
m(!1);
|
|
3470
3437
|
}
|
|
3471
3438
|
},
|
|
3472
|
-
[...g,
|
|
3439
|
+
[...g, I]
|
|
3473
3440
|
);
|
|
3474
3441
|
};
|
|
3475
3442
|
}
|
|
3476
|
-
}),
|
|
3443
|
+
}), hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3477
3444
|
__proto__: null,
|
|
3478
|
-
default:
|
|
3445
|
+
default: Tr
|
|
3479
3446
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3480
|
-
function
|
|
3481
|
-
t.i18n?.locale && (
|
|
3482
|
-
const a =
|
|
3483
|
-
e.provide(
|
|
3447
|
+
function Lr(e, t) {
|
|
3448
|
+
t.i18n?.locale && (z.global.locale.value = t.i18n.locale), t.i18n?.fallbackLocale && (z.global.fallbackLocale.value = t.i18n.fallbackLocale), e.use(z);
|
|
3449
|
+
const a = Pn();
|
|
3450
|
+
e.provide(Wn, a);
|
|
3484
3451
|
const { resolveCamelCaseLocale: n } = a;
|
|
3485
3452
|
e.config.globalProperties.$mergeLocaleMessage = (s, o) => {
|
|
3486
|
-
|
|
3487
|
-
}, Object.entries(
|
|
3488
|
-
|
|
3453
|
+
z.global.mergeLocaleMessage(n(s), o);
|
|
3454
|
+
}, Object.entries(ko).forEach(([s, o]) => {
|
|
3455
|
+
z.global.mergeLocaleMessage(n(s), o);
|
|
3489
3456
|
});
|
|
3490
3457
|
}
|
|
3491
|
-
function
|
|
3492
|
-
const t =
|
|
3458
|
+
function Or(e) {
|
|
3459
|
+
const t = ka({
|
|
3493
3460
|
phone: 480,
|
|
3494
3461
|
desktop: 1024
|
|
3495
3462
|
});
|
|
3496
|
-
e.config.globalProperties.$isPhone = t.smaller("phone"), e.config.globalProperties.$isTablet = t.between("phone", "desktop"), e.config.globalProperties.$isMobile = t.smaller("desktop"), e.config.globalProperties.$isDesktop = t.greater("desktop"), e.config.globalProperties.$isTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0, e.provide(
|
|
3463
|
+
e.config.globalProperties.$isPhone = t.smaller("phone"), e.config.globalProperties.$isTablet = t.between("phone", "desktop"), e.config.globalProperties.$isMobile = t.smaller("desktop"), e.config.globalProperties.$isDesktop = t.greater("desktop"), e.config.globalProperties.$isTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0, e.provide(Hn, e.config.globalProperties.$isPhone), e.provide(Gn, e.config.globalProperties.$isTablet), e.provide(xn, e.config.globalProperties.$isMobile), e.provide($n, e.config.globalProperties.$isDesktop), e.provide(Kn, e.config.globalProperties.$isTouch);
|
|
3497
3464
|
}
|
|
3498
|
-
function
|
|
3499
|
-
e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(
|
|
3465
|
+
function Rr(e) {
|
|
3466
|
+
e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(zn, e.config.globalProperties.bladeRoutes);
|
|
3500
3467
|
}
|
|
3501
|
-
function
|
|
3502
|
-
e.provide(Gt,
|
|
3503
|
-
const t =
|
|
3468
|
+
function _r(e) {
|
|
3469
|
+
e.provide(Gt, xa()), e.provide(qn, $a()), e.provide(Yn, Ka()), e.provide(Zn, za()), e.provide(jn, qa()), e.provide(Xn, fe());
|
|
3470
|
+
const t = bn(e);
|
|
3504
3471
|
e.provide(Ut, t);
|
|
3505
3472
|
}
|
|
3506
|
-
function
|
|
3507
|
-
|
|
3473
|
+
function Ir(e, t) {
|
|
3474
|
+
$o(), e.use(bs, { router: t.router }), e.use(ks), e.use(go), e.use(ho), e.use(vs), e.use(Is), e.use(cs), e.use(es, t.aiAgent);
|
|
3508
3475
|
}
|
|
3509
|
-
function
|
|
3476
|
+
function vr(e, t) {
|
|
3510
3477
|
if (!t.applicationInsights?.instrumentationKey) return;
|
|
3511
3478
|
const a = {
|
|
3512
3479
|
appInsightsConfig: {
|
|
@@ -3519,9 +3486,9 @@ function wr(e, t) {
|
|
|
3519
3486
|
cloudRole: t.applicationInsights?.cloudRole,
|
|
3520
3487
|
cloudRoleInstance: t.applicationInsights?.cloudRoleInstance
|
|
3521
3488
|
};
|
|
3522
|
-
e.provide(
|
|
3489
|
+
e.provide(Ya, a);
|
|
3523
3490
|
}
|
|
3524
|
-
function
|
|
3491
|
+
function wr(e, t) {
|
|
3525
3492
|
if (!t.applicationInsights?.instrumentationKey) return;
|
|
3526
3493
|
const a = {
|
|
3527
3494
|
appInsightsConfig: {
|
|
@@ -3534,10 +3501,10 @@ function Cr(e, t) {
|
|
|
3534
3501
|
cloudRole: t.applicationInsights?.cloudRole,
|
|
3535
3502
|
cloudRoleInstance: t.applicationInsights?.cloudRoleInstance
|
|
3536
3503
|
};
|
|
3537
|
-
e.use(
|
|
3538
|
-
const n = e.runWithContext(() =>
|
|
3539
|
-
e.provide(
|
|
3540
|
-
const { setupPageTracking: s } =
|
|
3504
|
+
e.use(ds, a);
|
|
3505
|
+
const n = e.runWithContext(() => Es());
|
|
3506
|
+
e.provide(Za, n), e.runWithContext(() => {
|
|
3507
|
+
const { setupPageTracking: s } = ja();
|
|
3541
3508
|
t.router.beforeEach((o) => {
|
|
3542
3509
|
s.beforeEach({ name: o.name });
|
|
3543
3510
|
}), t.router.afterEach((o) => {
|
|
@@ -3545,7 +3512,7 @@ function Cr(e, t) {
|
|
|
3545
3512
|
});
|
|
3546
3513
|
});
|
|
3547
3514
|
}
|
|
3548
|
-
function
|
|
3515
|
+
function Cr(e) {
|
|
3549
3516
|
const t = (a) => {
|
|
3550
3517
|
let n = {};
|
|
3551
3518
|
return Object.keys(a.params).length > 0 && (n = Object.fromEntries(Object.entries(a.params).filter(([s]) => s !== "pathMatch"))), n;
|
|
@@ -3560,11 +3527,11 @@ function Pr(e) {
|
|
|
3560
3527
|
return localStorage.setItem("redirectAfterLogin", a.fullPath), { name: "Login" };
|
|
3561
3528
|
}
|
|
3562
3529
|
}), e.beforeEach((a, n) => {
|
|
3563
|
-
const { hasAccess: s } =
|
|
3530
|
+
const { hasAccess: s } = st();
|
|
3564
3531
|
if (a.meta.permissions) {
|
|
3565
3532
|
if (s(a.meta.permissions)) return !0;
|
|
3566
3533
|
{
|
|
3567
|
-
|
|
3534
|
+
J.error(z.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), {
|
|
3568
3535
|
timeout: 3e3
|
|
3569
3536
|
});
|
|
3570
3537
|
const o = t(a);
|
|
@@ -3573,10 +3540,10 @@ function Pr(e) {
|
|
|
3573
3540
|
} else return !0;
|
|
3574
3541
|
});
|
|
3575
3542
|
}
|
|
3576
|
-
const
|
|
3543
|
+
const zl = {
|
|
3577
3544
|
install(e, t) {
|
|
3578
|
-
|
|
3579
|
-
performance.mark("vc:deferred-plugins-start"),
|
|
3545
|
+
qo(), Ga().register([{ key: "light", localizationKey: "core.themes.light" }]), window.fetch = bo(t.router), Lr(e, t), Or(e), Rr(e), _r(e), Ir(e, t), vr(e, t), Vo(e), typeof window < "u" && (e.runWithContext(() => aa()), e.runWithContext(() => sa())), Cr(t.router), setTimeout(() => {
|
|
3546
|
+
performance.mark("vc:deferred-plugins-start"), wr(e, t), performance.mark("vc:deferred-plugins-done");
|
|
3580
3547
|
}, 0);
|
|
3581
3548
|
}
|
|
3582
3549
|
};
|
|
@@ -3585,16 +3552,16 @@ export {
|
|
|
3585
3552
|
$E as AiAgentServiceKey,
|
|
3586
3553
|
KE as ApiException,
|
|
3587
3554
|
zE as AppBarMobileButtonsServiceKey,
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3555
|
+
Yn as AppBarWidgetServiceKey,
|
|
3556
|
+
Za as AppInsightsInstanceKey,
|
|
3557
|
+
Ya as AppInsightsOptionsKey,
|
|
3591
3558
|
qE as AppManifestClient,
|
|
3592
3559
|
YE as AppPlacement,
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3560
|
+
ZE as AppRootElementKey,
|
|
3561
|
+
jE as AppsClient,
|
|
3562
|
+
go as AssetsDetailsModule,
|
|
3563
|
+
po as AssetsManager,
|
|
3564
|
+
ho as AssetsManagerModule,
|
|
3598
3565
|
XE as AuthApiBase,
|
|
3599
3566
|
JE as AuthorizationClient,
|
|
3600
3567
|
Zl as BUILTIN_CELL_TYPES,
|
|
@@ -3603,36 +3570,36 @@ export {
|
|
|
3603
3570
|
$t as BladeContextKey,
|
|
3604
3571
|
tf as BladeDataKey,
|
|
3605
3572
|
xt as BladeDescriptorKey,
|
|
3606
|
-
|
|
3607
|
-
|
|
3573
|
+
jl as BladeError,
|
|
3574
|
+
Un as BladeFormKey,
|
|
3608
3575
|
af as BladeLoadingKey,
|
|
3609
3576
|
nf as BladeMaximizedKey,
|
|
3610
|
-
|
|
3577
|
+
yn as BladeMessagingKey,
|
|
3611
3578
|
sf as BladeRenderingStateKey,
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3579
|
+
zn as BladeRoutesKey,
|
|
3580
|
+
Dn as BladeStackKey,
|
|
3581
|
+
Xl as ButtonGroupKey,
|
|
3582
|
+
Ns as COMPONENT_DEFAULTS,
|
|
3583
|
+
Jl as CellDate,
|
|
3584
|
+
Ql as CellDateAgo,
|
|
3585
|
+
eu as CellDefault,
|
|
3586
|
+
tu as CellEditableWrapper,
|
|
3587
|
+
au as CellHtml,
|
|
3588
|
+
nu as CellImage,
|
|
3589
|
+
su as CellLink,
|
|
3590
|
+
ou as CellMoney,
|
|
3591
|
+
ru as CellNumber,
|
|
3592
|
+
iu as CellStatus,
|
|
3593
|
+
lu as CellStatusIcon,
|
|
3627
3594
|
of as ChangeLogClient,
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3595
|
+
Oc as ChangePassword,
|
|
3596
|
+
Rc as ChangePasswordButton,
|
|
3597
|
+
Gl as ChangePasswordPage,
|
|
3631
3598
|
hm as ChartContainer,
|
|
3632
3599
|
Lm as ChartLegend,
|
|
3633
3600
|
Om as ChartTooltip,
|
|
3634
3601
|
rf as CloseSettingsMenuKey,
|
|
3635
|
-
|
|
3602
|
+
_c as ColumnCollector,
|
|
3636
3603
|
$f as DEFAULT_AI_AGENT_CONFIG,
|
|
3637
3604
|
Rm as DashboardBarChart,
|
|
3638
3605
|
_m as DashboardDonutChart,
|
|
@@ -3644,7 +3611,7 @@ export {
|
|
|
3644
3611
|
um as DashboardWidgetCard,
|
|
3645
3612
|
uf as DeveloperToolsClient,
|
|
3646
3613
|
cf as DiagnosticsClient,
|
|
3647
|
-
|
|
3614
|
+
uu as DisplayableError,
|
|
3648
3615
|
cm as DraggableDashboard,
|
|
3649
3616
|
df as DynamicModulesKey,
|
|
3650
3617
|
Ef as DynamicPropertiesClient,
|
|
@@ -3652,319 +3619,320 @@ export {
|
|
|
3652
3619
|
Kf as EMBEDDED_TO_HOST_MESSAGE_TYPES,
|
|
3653
3620
|
mf as EmbeddedModeKey,
|
|
3654
3621
|
gf as EntryState,
|
|
3655
|
-
|
|
3656
|
-
|
|
3622
|
+
Ic as ErrorInterceptor,
|
|
3623
|
+
Ls as ExtensionPoint,
|
|
3657
3624
|
wm as ExtensionPoints,
|
|
3658
|
-
|
|
3625
|
+
Jo as ExternalProviders,
|
|
3659
3626
|
Sf as ExternalSignInClient,
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3627
|
+
cu as FALLBACK_BLADE_ID,
|
|
3628
|
+
Fl as ForgotPassword,
|
|
3629
|
+
du as FrameworkError,
|
|
3663
3630
|
zf as HOST_TO_EMBEDDED_MESSAGE_TYPES,
|
|
3664
3631
|
yt as InjectionError,
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3632
|
+
Af as InternalRoutesKey,
|
|
3633
|
+
Hl as Invite,
|
|
3634
|
+
$n as IsDesktopKey,
|
|
3635
|
+
xn as IsMobileKey,
|
|
3636
|
+
Hn as IsPhoneKey,
|
|
3637
|
+
Gn as IsTabletKey,
|
|
3638
|
+
Kn as IsTouchKey,
|
|
3639
|
+
pf as JobsClient,
|
|
3673
3640
|
Tf as JsonValueKind,
|
|
3674
3641
|
dm as LAYOUT_STORAGE_KEY,
|
|
3675
|
-
|
|
3676
|
-
|
|
3642
|
+
vc as LanguageSelector,
|
|
3643
|
+
Wn as LanguageServiceKey,
|
|
3677
3644
|
hf as LocalizableSettingsClient,
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3645
|
+
Ul as Login,
|
|
3646
|
+
wc as LogoutButton,
|
|
3647
|
+
Cc as MenuBurgerIcon,
|
|
3648
|
+
Zn as MenuServiceKey,
|
|
3649
|
+
Eu as ModuleLoadError,
|
|
3683
3650
|
Lf as ModulesClient,
|
|
3684
3651
|
Of as ModulesLoadErrorKey,
|
|
3685
3652
|
Rf as ModulesReadyKey,
|
|
3686
3653
|
_f as NOOP_URL_SINK,
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3654
|
+
Tr as NotificationContainer,
|
|
3655
|
+
un as NotificationContextKey,
|
|
3656
|
+
Pc as NotificationDropdown,
|
|
3657
|
+
Xn as NotificationStoreKey,
|
|
3658
|
+
bc as NotificationTemplate,
|
|
3692
3659
|
If as OAuthAppsClient,
|
|
3693
3660
|
vf as ProgressMessageLevel,
|
|
3694
3661
|
wf as PushNotificationClient,
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3662
|
+
fu as RegistrationError,
|
|
3663
|
+
Wl as ResetPassword,
|
|
3664
|
+
Nc as SCHEDULER_ZOOM_LEVELS,
|
|
3698
3665
|
Cf as SecurityClient,
|
|
3699
|
-
|
|
3700
|
-
|
|
3666
|
+
mu as ServiceError,
|
|
3667
|
+
Bn as SettingClient,
|
|
3701
3668
|
Pf as SettingValueType,
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3669
|
+
Dc as SettingsMenu,
|
|
3670
|
+
yc as SettingsMenuItem,
|
|
3671
|
+
jn as SettingsMenuServiceKey,
|
|
3705
3672
|
bf as SettingsV2Client,
|
|
3706
3673
|
Nf as ShellIndicatorsKey,
|
|
3707
|
-
|
|
3674
|
+
Vl as Sidebar,
|
|
3708
3675
|
Df as SortDirection,
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3676
|
+
Bc as Table,
|
|
3677
|
+
Mc as TableBody,
|
|
3678
|
+
kc as TableCell,
|
|
3679
|
+
Vc as TableCheckbox,
|
|
3680
|
+
Uc as TableColumnSwitcher,
|
|
3681
|
+
Fc as TableEmpty,
|
|
3682
|
+
Wc as TableFooter,
|
|
3683
|
+
Hc as TableGroupRow,
|
|
3684
|
+
Gc as TableHead,
|
|
3685
|
+
xc as TableHeader,
|
|
3686
|
+
$c as TableRow,
|
|
3687
|
+
Kc as TableRowActions,
|
|
3688
|
+
zc as TableSearchHeader,
|
|
3689
|
+
qc as TableSelectAllBar,
|
|
3690
|
+
Yc as ThemeSelector,
|
|
3691
|
+
qn as ToolbarServiceKey,
|
|
3725
3692
|
Zc as UserDropdownButton,
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3693
|
+
gu as ValidationError,
|
|
3694
|
+
jc as VcAccordion,
|
|
3695
|
+
Xc as VcAccordionItem,
|
|
3729
3696
|
qf as VcAiAgentPanel,
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3697
|
+
Jc as VcApp,
|
|
3698
|
+
Qc as VcAppBarMobileActions,
|
|
3699
|
+
ed as VcAppBarOverlay,
|
|
3700
|
+
td as VcAppBarWidgetContent,
|
|
3701
|
+
ad as VcAppBarWidgetItem,
|
|
3702
|
+
nd as VcAppBarWidgetsMenu,
|
|
3703
|
+
sd as VcAppDesktopLayout,
|
|
3704
|
+
od as VcAppMenu,
|
|
3705
|
+
rd as VcAppMenuSidebar,
|
|
3706
|
+
id as VcAppMobileLayout,
|
|
3707
|
+
ld as VcAppSidebarCollapseButton,
|
|
3708
|
+
ud as VcAppSidebarContent,
|
|
3709
|
+
cd as VcAppSidebarHeader,
|
|
3743
3710
|
_e as VcAuthLayout,
|
|
3744
|
-
|
|
3745
|
-
|
|
3711
|
+
dd as VcBadge,
|
|
3712
|
+
In as VcBanner,
|
|
3746
3713
|
Wt as VcBlade,
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3714
|
+
Ed as VcBladeNavigation,
|
|
3715
|
+
bs as VcBladeNavigationComponent,
|
|
3716
|
+
fd as VcBladeNavigationV2,
|
|
3717
|
+
md as VcBladeSlot,
|
|
3718
|
+
gd as VcBreadcrumbs,
|
|
3752
3719
|
x as VcButton,
|
|
3753
|
-
|
|
3720
|
+
Sd as VcButtonGroup,
|
|
3754
3721
|
Ad as VcCard,
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3722
|
+
pd as VcCheckbox,
|
|
3723
|
+
Td as VcCheckboxGroup,
|
|
3724
|
+
hd as VcCol,
|
|
3725
|
+
Su as VcColorInput,
|
|
3726
|
+
Se as VcColumn,
|
|
3727
|
+
Ln as VcContainer,
|
|
3728
|
+
Rn as VcDataTable,
|
|
3762
3729
|
Au as VcDatePicker,
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3730
|
+
Ld as VcDropdown,
|
|
3731
|
+
Od as VcDropdownItem,
|
|
3732
|
+
Rd as VcDynamicProperty,
|
|
3733
|
+
_d as VcEditor,
|
|
3734
|
+
Id as VcEnvironmentBanner,
|
|
3768
3735
|
$e as VcField,
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3736
|
+
vd as VcFileUpload,
|
|
3737
|
+
me as VcForm,
|
|
3738
|
+
wd as VcGallery,
|
|
3772
3739
|
Ee as VcHint,
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3740
|
+
Fn as VcIcon,
|
|
3741
|
+
ot as VcImage,
|
|
3742
|
+
Cd as VcImageTile,
|
|
3743
|
+
Pd as VcImageUpload,
|
|
3777
3744
|
$ as VcInput,
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3745
|
+
pu as VcInputCurrency,
|
|
3746
|
+
Tu as VcInputDropdown,
|
|
3747
|
+
bd as VcInputGroup,
|
|
3748
|
+
hu as VcLabel,
|
|
3749
|
+
Nd as VcLanguageSelector,
|
|
3750
|
+
Lu as VcLink,
|
|
3784
3751
|
Ht as VcLoading,
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3752
|
+
Dd as VcMenu,
|
|
3753
|
+
yd as VcMenuExpandedKey,
|
|
3754
|
+
Bd as VcMenuGroup,
|
|
3755
|
+
Md as VcMenuItem,
|
|
3756
|
+
kd as VcMultivalue,
|
|
3757
|
+
Vd as VcPagination,
|
|
3758
|
+
Ud as VcPopover,
|
|
3759
|
+
Sn as VcPopup,
|
|
3760
|
+
Fd as VcProgress,
|
|
3761
|
+
Wd as VcRadioButton,
|
|
3762
|
+
Hd as VcRadioGroup,
|
|
3763
|
+
Gd as VcRating,
|
|
3764
|
+
xd as VcRow,
|
|
3765
|
+
$d as VcScheduler,
|
|
3766
|
+
Ou as VcScrollableContainer,
|
|
3767
|
+
Ru as VcSelect,
|
|
3768
|
+
_n as VcSidebar,
|
|
3769
|
+
_u as VcSkeleton,
|
|
3770
|
+
Kd as VcSlider,
|
|
3771
|
+
Iu as VcStatus,
|
|
3772
|
+
vu as VcStatusIcon,
|
|
3773
|
+
zd as VcSwitch,
|
|
3774
|
+
qd as VcTable,
|
|
3775
|
+
On as VcTextarea,
|
|
3776
|
+
gt as VcToast,
|
|
3810
3777
|
yf as VcTooltip,
|
|
3811
|
-
|
|
3778
|
+
Yd as VcVideo,
|
|
3812
3779
|
Zd as VcWidget,
|
|
3813
|
-
|
|
3780
|
+
Mn as WidgetScopeKey,
|
|
3814
3781
|
Gt as WidgetServiceKey,
|
|
3815
3782
|
Ft as __registerBladeConfig,
|
|
3816
|
-
|
|
3783
|
+
jd as _createEnvironmentNameLogic,
|
|
3817
3784
|
Bf as _createInternalUserLogic,
|
|
3818
|
-
|
|
3785
|
+
xl as _resetAdapterState,
|
|
3819
3786
|
Mf as _sharedInternalUserLogic,
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3787
|
+
wu as addAppBarWidget,
|
|
3788
|
+
Cu as addMenuItem,
|
|
3789
|
+
Pu as addSettingsMenuItem,
|
|
3790
|
+
bu as after,
|
|
3791
|
+
es as aiAgentPlugin,
|
|
3792
|
+
Xd as autofocus,
|
|
3793
|
+
Nu as before,
|
|
3794
|
+
Du as bigInt,
|
|
3795
|
+
gl as camelToSnake,
|
|
3829
3796
|
Al as camelize,
|
|
3830
3797
|
Em as clearLayoutStorage,
|
|
3831
|
-
|
|
3832
|
-
|
|
3798
|
+
yu as convertColorNameToHex,
|
|
3799
|
+
Bu as convertMomentFormat,
|
|
3833
3800
|
Yf as createAiAgentToolbarButton,
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3801
|
+
Ol as createAppModule,
|
|
3802
|
+
Mu as createBackendRegistry,
|
|
3803
|
+
ku as createKeyedBackendRegistry,
|
|
3837
3804
|
k as createLogger,
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3805
|
+
zl as default,
|
|
3806
|
+
Et as defineAppModule,
|
|
3807
|
+
Bl as defineBladeContext,
|
|
3841
3808
|
Cm as defineExtensionPoint,
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3809
|
+
Jd as detectThemePreset,
|
|
3810
|
+
Zf as expectedCode,
|
|
3811
|
+
jf as expectedEventKey,
|
|
3812
|
+
Vu as fileWeight,
|
|
3813
|
+
Qd as focusFallbackTarget,
|
|
3846
3814
|
eE as focusIfLoose,
|
|
3847
3815
|
tE as formatBadgeCount,
|
|
3848
|
-
|
|
3849
|
-
|
|
3816
|
+
Uu as formatDateRelative,
|
|
3817
|
+
Fu as formatDateWithPattern,
|
|
3850
3818
|
Xf as formatShortcut,
|
|
3851
3819
|
fm as fromGridstackNode,
|
|
3852
|
-
|
|
3820
|
+
Fa as generateId,
|
|
3853
3821
|
aE as getAllBladeConfigs,
|
|
3854
|
-
|
|
3822
|
+
Wu as getBestThumbnailSize,
|
|
3855
3823
|
nE as getBladeConfig,
|
|
3856
|
-
|
|
3824
|
+
Rl as getComponentDefaults,
|
|
3857
3825
|
Yt as getExtensionColor,
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3826
|
+
Zt as getExtensionLabel,
|
|
3827
|
+
Hu as getMenuBadge,
|
|
3828
|
+
Gu as getMenuBadges,
|
|
3829
|
+
xu as getThumbnailUrl,
|
|
3862
3830
|
Jf as hotkey,
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3831
|
+
z as i18n,
|
|
3832
|
+
Ml as injectBladeContext,
|
|
3833
|
+
$u as isFrameworkError,
|
|
3866
3834
|
zt as isImage,
|
|
3867
3835
|
Qf as isTextInputFocused,
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3836
|
+
Ku as isValidHexColor,
|
|
3837
|
+
Os as kebabToCamel,
|
|
3838
|
+
Sl as kebabToPascal,
|
|
3871
3839
|
sE as languageToCountryMap,
|
|
3872
3840
|
mm as loadLayoutFromStorage,
|
|
3873
|
-
|
|
3841
|
+
Ua as loading,
|
|
3874
3842
|
kf as logger,
|
|
3875
3843
|
Vf as loggers,
|
|
3876
3844
|
em as matchesEvent,
|
|
3877
3845
|
gm as mergeLayoutWithWidgets,
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3846
|
+
zu as mindimensions,
|
|
3847
|
+
qu as normalizeHexColor,
|
|
3848
|
+
J as notification,
|
|
3881
3849
|
Pe as parseError,
|
|
3882
|
-
|
|
3883
|
-
|
|
3850
|
+
Is as permissions,
|
|
3851
|
+
Yu as provideAppBarState,
|
|
3884
3852
|
oE as provideAppBarWidget,
|
|
3885
3853
|
Zu as provideDashboardService,
|
|
3886
3854
|
rE as provideLanguages,
|
|
3887
|
-
|
|
3888
|
-
|
|
3855
|
+
ju as provideMenuService,
|
|
3856
|
+
Xu as provideSettingsMenu,
|
|
3889
3857
|
iE as provideSidebarState,
|
|
3890
|
-
|
|
3858
|
+
Ju as provideToolbarService,
|
|
3891
3859
|
qt as readableSize,
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3860
|
+
Qu as registerBuiltinCells,
|
|
3861
|
+
ec as registerDashboardWidget,
|
|
3862
|
+
tc as registerExternalWidget,
|
|
3863
|
+
ac as registerToolbarItem,
|
|
3864
|
+
nc as registerWidget,
|
|
3865
|
+
sc as removeMenuBadge,
|
|
3866
|
+
oc as removeRegisteredMenuItem,
|
|
3899
3867
|
lE as resolveEnvironment,
|
|
3900
|
-
|
|
3901
|
-
|
|
3868
|
+
rc as resolveLocale,
|
|
3869
|
+
ic as resolveLocaleSync,
|
|
3902
3870
|
Sm as saveLayoutToStorage,
|
|
3903
|
-
|
|
3871
|
+
lc as setMenuBadge,
|
|
3904
3872
|
uE as sidebarStorageKey,
|
|
3905
|
-
|
|
3873
|
+
vs as signalR,
|
|
3906
3874
|
cE as stripTenantPrefix,
|
|
3907
|
-
|
|
3875
|
+
Am as toGridstackWidget,
|
|
3908
3876
|
dE as useAdaptiveItems,
|
|
3909
3877
|
tm as useAiAgent,
|
|
3910
3878
|
Hf as useAiAgentContext,
|
|
3911
|
-
|
|
3879
|
+
Gs as useApiClient,
|
|
3912
3880
|
EE as useAppBarMobileActions,
|
|
3913
|
-
|
|
3881
|
+
uc as useAppBarState,
|
|
3914
3882
|
fE as useAppBarWidget,
|
|
3915
3883
|
mE as useAppBarWidgets,
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3884
|
+
ja as useAppInsights,
|
|
3885
|
+
wl as useAssets,
|
|
3886
|
+
Cl as useAssetsManager,
|
|
3919
3887
|
Xt as useAsync,
|
|
3920
3888
|
gE as useBadge,
|
|
3921
3889
|
zs as useBeforeUnload,
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3890
|
+
ut as useBlade,
|
|
3891
|
+
Kl as useBladeForm,
|
|
3892
|
+
cc as useBladeLoading,
|
|
3925
3893
|
SE as useBladeMessaging,
|
|
3926
|
-
|
|
3927
|
-
|
|
3894
|
+
$l as useBladeNavigation,
|
|
3895
|
+
pl as useBladeNotifications,
|
|
3928
3896
|
am as useBladeStack,
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3897
|
+
Dl as useBladeWidgets,
|
|
3898
|
+
Pl as useBreadcrumbs,
|
|
3899
|
+
hl as useBroadcastFilter,
|
|
3900
|
+
dc as useCellRegistry,
|
|
3901
|
+
AE as useCollapsible,
|
|
3902
|
+
pE as useColumnFilter,
|
|
3903
|
+
xo as useContainer,
|
|
3904
|
+
Ec as useDashboard,
|
|
3937
3905
|
TE as useDataTablePagination,
|
|
3938
3906
|
hE as useDataTableSort,
|
|
3939
|
-
|
|
3907
|
+
bl as useDynamicProperties,
|
|
3940
3908
|
LE as useEnvironmentName,
|
|
3941
|
-
|
|
3909
|
+
fc as useErrorHandler,
|
|
3942
3910
|
Pm as useExtensionPoint,
|
|
3943
3911
|
OE as useFilterState,
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3912
|
+
mc as useFloatingPosition,
|
|
3913
|
+
gc as useFormField,
|
|
3914
|
+
_l as useFunctions,
|
|
3947
3915
|
RE as useGalleryPreview,
|
|
3948
|
-
|
|
3916
|
+
pm as useGridstack,
|
|
3949
3917
|
_E as useImageLoad,
|
|
3950
|
-
|
|
3918
|
+
Fo as useInstance,
|
|
3951
3919
|
nm as useIsMac,
|
|
3952
3920
|
sm as useKeyboardShortcuts,
|
|
3953
3921
|
IE as useLanguages,
|
|
3954
|
-
|
|
3922
|
+
vl as useLatestRequest,
|
|
3955
3923
|
Jt as useLoading,
|
|
3956
3924
|
vE as useMenuActiveState,
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3925
|
+
Sc as useMenuService,
|
|
3926
|
+
kl as useModificationTracker,
|
|
3927
|
+
Tl as useNotificationContext,
|
|
3928
|
+
fe as useNotificationStore,
|
|
3929
|
+
Il as useNotifications,
|
|
3930
|
+
st as usePermissions,
|
|
3931
|
+
Cn as usePopup,
|
|
3932
|
+
Ha as useResponsive,
|
|
3965
3933
|
Ac as useScrollArrows,
|
|
3966
3934
|
we as useSettings,
|
|
3967
|
-
|
|
3935
|
+
pc as useSettingsMenu,
|
|
3968
3936
|
wE as useShellBootstrap,
|
|
3969
3937
|
CE as useShellLifecycle,
|
|
3970
3938
|
PE as useShellNavigation,
|
|
@@ -3973,21 +3941,21 @@ export {
|
|
|
3973
3941
|
DE as useTableColumnsResize,
|
|
3974
3942
|
yE as useTableContext,
|
|
3975
3943
|
BE as useTableInlineEdit,
|
|
3976
|
-
|
|
3944
|
+
Ll as useTableQueryState,
|
|
3977
3945
|
ME as useTableRowGrouping,
|
|
3978
3946
|
kE as useTableRowReorder,
|
|
3979
3947
|
VE as useTableSearch,
|
|
3980
3948
|
UE as useTableSelection,
|
|
3981
3949
|
FE as useTableSort,
|
|
3982
3950
|
Uf as useTeleportTarget,
|
|
3983
|
-
|
|
3951
|
+
Ga as useTheme,
|
|
3984
3952
|
WE as useToggleableContent,
|
|
3985
|
-
|
|
3953
|
+
Tc as useToolbar,
|
|
3986
3954
|
Ff as useUser,
|
|
3987
3955
|
HE as useVirtualScroll,
|
|
3988
|
-
|
|
3989
|
-
|
|
3956
|
+
Nl as useWebVitals,
|
|
3957
|
+
yl as useWidgetTrigger,
|
|
3990
3958
|
GE as vAutofocus,
|
|
3991
|
-
|
|
3992
|
-
|
|
3959
|
+
Ua as vLoading,
|
|
3960
|
+
hc as wrapError
|
|
3993
3961
|
};
|