@anzusystems/common-admin 2.0.0-rc.1 → 2.0.0-rc.3
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/AnzuSystemsCommonAdmin.js +1 -2
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/assets/dam-meta-icons/2k.js +1 -2
- package/dist/assets/dam-meta-icons/4k.js +1 -2
- package/dist/assets/dam-meta-icons/8k.js +1 -2
- package/dist/assets/dam-meta-icons/fhd.js +1 -2
- package/dist/assets/dam-meta-icons/low.js +1 -2
- package/dist/assets/dam-meta-icons/qhd.js +1 -2
- package/dist/assets/dam-meta-icons/rss.js +1 -2
- package/dist/assets/dam-meta-icons/slot.js +1 -2
- package/dist/assets/dam-meta-icons/tts.js +1 -2
- package/dist/assets/image/placeholder16x9.js +1 -2
- package/dist/common-admin.js +188 -187
- package/dist/domains/anzuUser/api/anzuUserApi.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserDatatable.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserDatatable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserFilter.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserFilter.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserForm.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserRoleAutocomplete.js +1 -2
- package/dist/domains/anzuUser/components/AAnzuUserRoleAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserBulkActionDialog.js +1 -2
- package/dist/domains/anzuUser/components/AUserBulkActionDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserCopyPermissionsDialog.js +1 -2
- package/dist/domains/anzuUser/components/AUserCopyPermissionsDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserCreateInSystemButton.js +1 -2
- package/dist/domains/anzuUser/components/AUserCreateInSystemButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserEnabledSwitch.js +1 -2
- package/dist/domains/anzuUser/components/AUserEnabledSwitch.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserManageButton.js +1 -2
- package/dist/domains/anzuUser/components/AUserManageButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserMetadataForm.js +1 -2
- package/dist/domains/anzuUser/components/AUserMetadataForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserMetadataRepairDialog.js +1 -2
- package/dist/domains/anzuUser/components/AUserMetadataRepairDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserOtherSystemsTable.js +1 -2
- package/dist/domains/anzuUser/components/AUserOtherSystemsTable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserSystemOverview.js +1 -2
- package/dist/domains/anzuUser/components/AUserSystemOverview.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserSystemPanel.js +1 -2
- package/dist/domains/anzuUser/components/AUserSystemPanel.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserSystemStatusChip.js +1 -2
- package/dist/domains/anzuUser/components/AUserSystemStatusChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/components/AUserTabsShell.js +1 -2
- package/dist/domains/anzuUser/components/AUserTabsShell.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/anzuUser/composables/anzuUserActions.js +1 -2
- package/dist/domains/anzuUser/composables/anzuUserValidations.js +1 -2
- package/dist/domains/anzuUser/composables/cachedAnzuUsers.js +1 -2
- package/dist/domains/anzuUser/composables/userCrossSystemSearch.js +1 -2
- package/dist/domains/anzuUser/composables/userCrossSystemWrites.js +1 -2
- package/dist/domains/anzuUser/composables/userSystemDescriptor.js +1 -2
- package/dist/domains/anzuUser/composables/userSystemProbe.js +1 -2
- package/dist/domains/anzuUser/factory/AnzuUserFactory.js +1 -2
- package/dist/domains/anzuUser/filter/anzuUserFilter.js +1 -2
- package/dist/domains/anzuUser/store/anzuUserStore.js +1 -2
- package/dist/domains/anzuUser/store/userCrossSystemStore.js +1 -2
- package/dist/domains/anzuUser/utils/userMetadataDiff.js +1 -2
- package/dist/domains/anzuUser/utils/userSystemState.js +1 -2
- package/dist/domains/anzuUser/utils/userTabs.js +1 -2
- package/dist/domains/api/composables/defineApiClient.js +1 -2
- package/dist/domains/api/composables/pagination.js +1 -2
- package/dist/domains/api/composables/request.js +1 -2
- package/dist/domains/api/composables/useApiFetchByIds.js +0 -1
- package/dist/domains/api/composables/useApiFetchItems.js +1 -2
- package/dist/domains/api/composables/useApiFetchList.js +1 -2
- package/dist/domains/api/composables/useApiFetchListBatch.js +1 -2
- package/dist/domains/api/composables/useApiQueryBuilder.js +1 -2
- package/dist/domains/api/composables/useApiRequest.js +1 -2
- package/dist/domains/api/types/SortOrder.js +1 -2
- package/dist/domains/api/utils/apiErrors.js +1 -2
- package/dist/domains/api/utils/apiHelper.js +1 -2
- package/dist/domains/api/utils/listBody.js +1 -2
- package/dist/domains/api/utils/response.js +1 -2
- package/dist/domains/auth/components/Acl.js +1 -2
- package/dist/domains/auth/components/Acl.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/auth/composables/aclAllowed.js +1 -2
- package/dist/domains/auth/composables/defineAuth.js +1 -2
- package/dist/domains/auth/composables/refreshSession.js +1 -2
- package/dist/domains/auth/store/authStore.js +1 -2
- package/dist/domains/auth/valueObject/Grant.js +1 -2
- package/dist/domains/cached/components/ACachedChip.js +1 -2
- package/dist/domains/cached/components/ACachedChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/cached/components/ACachedUserChip.js +1 -2
- package/dist/domains/cached/components/ACachedUserChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/cached/composables/createCachedChip.js +1 -2
- package/dist/domains/cached/composables/createUserAndTimeTrackingFields.js +1 -2
- package/dist/domains/cached/composables/defineCached.js +1 -2
- package/dist/domains/cached/composables/useCachedItem.js +1 -2
- package/dist/domains/collab/components/ACollabCountdown.js +1 -2
- package/dist/domains/collab/components/ACollabCountdown.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/collab/components/ACollabLockedByUser.js +1 -2
- package/dist/domains/collab/components/ACollabLockedByUser.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/collab/components/ACollabManagement.js +1 -2
- package/dist/domains/collab/components/ACollabManagement.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/collab/composables/collabAnyDataChange.js +1 -2
- package/dist/domains/collab/composables/collabCurrentUserId.js +1 -2
- package/dist/domains/collab/composables/collabEventBus.js +1 -2
- package/dist/domains/collab/composables/collabField.js +1 -2
- package/dist/domains/collab/composables/collabHelpers.js +1 -2
- package/dist/domains/collab/composables/collabInit.js +2 -3
- package/dist/domains/collab/composables/collabInit.js.map +1 -1
- package/dist/domains/collab/composables/collabRoom.js +1 -2
- package/dist/domains/collab/composables/collabState.js +1 -2
- package/dist/domains/collab/composables/commonAdminCollabOptions.js +1 -2
- package/dist/domains/collab/types/Collab.js +1 -2
- package/dist/domains/customDataForm/components/ACustomDataForm.js +1 -2
- package/dist/domains/customDataForm/components/ACustomDataForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/customDataForm/components/ACustomDataFormElement.js +1 -2
- package/dist/domains/customDataForm/components/ACustomDataFormElement.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/customDataForm/components/ACustomDataFormHiddenPart.js +1 -2
- package/dist/domains/customDataForm/components/ACustomDataFormHiddenPart.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/customDataForm/composables/useCustomDataForm.js +1 -2
- package/dist/domains/customDataForm/types/CustomDataFormElementTypes.js +1 -2
- package/dist/domains/dam/api/damAssetApi.js +1 -2
- package/dist/domains/dam/api/damAssetLicenceApi.js +1 -2
- package/dist/domains/dam/api/damConstants.js +1 -2
- package/dist/domains/dam/api/damEndPoints.js +1 -2
- package/dist/domains/dam/api/damImageApi.js +1 -2
- package/dist/domains/dam/api/damImageRoiApi.js +1 -2
- package/dist/domains/dam/api/damfetchAssetListByFileIdsMultipleLicences.js +1 -2
- package/dist/domains/dam/api/uploadApi.js +1 -2
- package/dist/domains/dam/assetDetail/components/AColorBox.js +1 -2
- package/dist/domains/dam/assetDetail/components/AColorBox.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetCustomMetadataForm.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetCustomMetadataForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialog.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialogFrame.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialogFrame.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialogLoader.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialogLoader.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialogSidebar.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailDialogSidebar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarActionsTeleportTarget.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarActionsTeleportTarget.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarActionsWrapper.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarActionsWrapper.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarFrame.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarFrame.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarMetadata.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarMetadata.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarROI.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetDetailSidebarROI.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetFileFailReasonChip.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetFileFailReasonChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetFileInfoPanel.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetFileInfoPanel.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetFileRotate.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetFileRotate.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetImage.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetImage.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetImageMetaIcons.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetImageMetaIcons.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetInfobox.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetInfobox.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetMetadata.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetMetadata.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetMetadataImageAttributes.js +1 -2
- package/dist/domains/dam/assetDetail/components/AssetMetadataImageAttributes.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetDetail/composables/assetDetailExtSystem.js +1 -2
- package/dist/domains/dam/assetDetail/composables/assetDetailSidebarActionbar.js +1 -2
- package/dist/domains/dam/assetDetail/composables/assetDetailView.js +1 -2
- package/dist/domains/dam/assetDetail/composables/assetFileFailReason.js +1 -2
- package/dist/domains/dam/assetDetail/store/assetDetailStore.js +1 -2
- package/dist/domains/dam/assetDetail/utils/assetImageIconsConfig.js +1 -2
- package/dist/domains/dam/assetDetail/utils/assetMetadataMayStillChange.js +1 -2
- package/dist/domains/dam/assetSelect/api/damPodcastApi.js +1 -2
- package/dist/domains/dam/assetSelect/components/AAssetListInner.js +1 -2
- package/dist/domains/dam/assetSelect/components/AAssetListInner.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AAssetSelect.js +1 -2
- package/dist/domains/dam/assetSelect/components/AAssetSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AAssetSelectMedia.js +1 -2
- package/dist/domains/dam/assetSelect/components/AAssetSelectMedia.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetDistributionServiceNameFilter.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetDistributionServiceNameFilter.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetImagePreview.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetImagePreview.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectFilter.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectFilter.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectFilterForm.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectFilterForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectListBar.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectListBar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectListTable.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectListTable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectListTiles.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectListTiles.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectTableRowItem.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectTableRowItem.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectTilesItem.js +1 -2
- package/dist/domains/dam/assetSelect/components/AssetSelectTilesItem.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/components/FilterPodcastRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/assetSelect/components/FilterPodcastRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/assetSelect/composables/assetSelectFilterSidebar.js +1 -2
- package/dist/domains/dam/assetSelect/composables/assetSelectGridView.js +1 -2
- package/dist/domains/dam/assetSelect/composables/assetSelectItemActions.js +1 -2
- package/dist/domains/dam/assetSelect/composables/assetSelectListActions.js +1 -2
- package/dist/domains/dam/assetSelect/composables/podcastFilterAndActions.js +1 -2
- package/dist/domains/dam/assetSelect/filter/AssetFilter.js +1 -2
- package/dist/domains/dam/assetSelect/store/assetSelectStore.js +1 -2
- package/dist/domains/dam/author/api/authorApi.js +1 -2
- package/dist/domains/dam/author/components/AuthorCreateButton.js +1 -2
- package/dist/domains/dam/author/components/AuthorCreateButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChip.js +1 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChipConflicts.js +1 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteCachedAuthorChipConflicts.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteWithCached.js +1 -2
- package/dist/domains/dam/author/components/AuthorRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/author/components/DamAuthorFilterRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/author/components/DamAuthorFilterRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/author/composables/authorActions.js +1 -2
- package/dist/domains/dam/author/composables/authorValidation.js +1 -2
- package/dist/domains/dam/author/composables/cachedAuthors.js +1 -2
- package/dist/domains/dam/author/composables/cachedUsers.js +1 -2
- package/dist/domains/dam/author/composables/damAuthorConfig.js +1 -2
- package/dist/domains/dam/author/factory/AuthorFactory.js +1 -2
- package/dist/domains/dam/author/filter/AuthorFilter.js +1 -2
- package/dist/domains/dam/author/types/DamAuthorType.js +1 -2
- package/dist/domains/dam/components/DamAdminAssetLink.js +1 -2
- package/dist/domains/dam/components/DamAdminAssetLink.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/composables/commonAdminCoreDamOptions.js +1 -2
- package/dist/domains/dam/composables/damConfigName.js +1 -2
- package/dist/domains/dam/composables/damNotifications.js +1 -2
- package/dist/domains/dam/composables/damNotificationsConnection.js +1 -2
- package/dist/domains/dam/composables/damNotificationsEventBus.js +1 -2
- package/dist/domains/dam/composables/extSystemIdForCached.js +1 -2
- package/dist/domains/dam/composables/uploadValidations.js +1 -2
- package/dist/domains/dam/config/api/damAssetCustomFormApi.js +1 -2
- package/dist/domains/dam/config/api/damConfigApi.js +1 -2
- package/dist/domains/dam/config/composables/acceptTypeAndSizeHelper.js +1 -2
- package/dist/domains/dam/config/composables/damConfigState.js +1 -2
- package/dist/domains/dam/config/store/damConfigStore.js +1 -2
- package/dist/domains/dam/config/utils/damFilterUserAllowedUploadConfigs.js +1 -2
- package/dist/domains/dam/cropper/components/ACropper.js +1 -2
- package/dist/domains/dam/cropper/components/ACropper.js.map +1 -1
- package/dist/domains/dam/cropper/components/ACropper.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/domains/dam/cropper/components/ACropper.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/cropper/components/DamAssetImageRoiSelect.js +1 -2
- package/dist/domains/dam/cropper/components/DamAssetImageRoiSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/cropper/components/DamAssetImageRoiSelectLazy.js +1 -2
- package/dist/domains/dam/cropper/components/DamAssetImageRoiSelectLazy.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/cropper/store/imageRoiStore.js +1 -2
- package/dist/domains/dam/cropper/utils/cropperGeometry.js +2 -3
- package/dist/domains/dam/cropper/utils/cropperGeometry.js.map +1 -1
- package/dist/domains/dam/cropper/utils/cropperJsService.js +1 -2
- package/dist/domains/dam/cropper/utils/damAssetImageRoiSelectLoader.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageMediaWidget.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageMediaWidget.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImagePublicInput.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImagePublicInput.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidget.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidget.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidgetMultiple.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidgetMultiple.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidgetMultipleSimple.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidgetMultipleSimple.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidgetSimple.js +1 -2
- package/dist/domains/dam/imageWidget/components/AImageWidgetSimple.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/AMediaWidgetSimple.js +1 -2
- package/dist/domains/dam/imageWidget/components/AMediaWidgetSimple.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageDetailDialogMetadata.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageDetailDialogMetadata.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageMassOperations.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageMassOperations.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageWidgetInner.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleItem.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleItem.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleLimitDialog.js +1 -2
- package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleLimitDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/components/MediaWidgetSimpleDialog.js +1 -2
- package/dist/domains/dam/imageWidget/components/MediaWidgetSimpleDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/imageWidget/composables/commonAdminImageOptions.js +1 -2
- package/dist/domains/dam/imageWidget/composables/imageActions.js +1 -2
- package/dist/domains/dam/imageWidget/composables/imageApiCms.js +1 -2
- package/dist/domains/dam/imageWidget/composables/imageDialogDamAuthors.js +1 -2
- package/dist/domains/dam/imageWidget/composables/useImageMassOperations.js +1 -2
- package/dist/domains/dam/imageWidget/store/imageMediaWidgetStore.js +1 -2
- package/dist/domains/dam/imageWidget/store/imageStore.js +1 -2
- package/dist/domains/dam/imageWidget/utils/damImage.js +1 -2
- package/dist/domains/dam/imageWidget/utils/fieldLockTurns.js +1 -2
- package/dist/domains/dam/imageWidget/utils/imageSaves.js +1 -2
- package/dist/domains/dam/imageWidget/utils/imageWidgetInkectionKeys.js +1 -2
- package/dist/domains/dam/imageWidget/utils/metadataToImageMap.js +1 -2
- package/dist/domains/dam/imageWidget/utils/waitLimit.js +1 -2
- package/dist/domains/dam/keyword/api/keywordApi.js +1 -2
- package/dist/domains/dam/keyword/components/DamKeywordFilterRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/keyword/components/DamKeywordFilterRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteCachedKeywordChip.js +1 -2
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteCachedKeywordChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteWithCached.js +1 -2
- package/dist/domains/dam/keyword/components/KeywordRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/keyword/composables/cachedKeywords.js +1 -2
- package/dist/domains/dam/keyword/composables/damKeywordConfig.js +1 -2
- package/dist/domains/dam/keyword/composables/keywordActions.js +1 -2
- package/dist/domains/dam/keyword/factory/KeywordFactory.js +3 -4
- package/dist/domains/dam/keyword/factory/KeywordFactory.js.map +1 -1
- package/dist/domains/dam/keyword/filter/KeywordFilter.js +1 -2
- package/dist/domains/dam/types/Asset.js +1 -2
- package/dist/domains/dam/types/AssetFile.js +1 -2
- package/dist/domains/dam/types/AssetSelect.js +1 -2
- package/dist/domains/dam/types/DamConfig.js +1 -2
- package/dist/domains/dam/types/MediaAware.js +1 -2
- package/dist/domains/dam/types/UploadQueue.js +1 -2
- package/dist/domains/dam/uploadQueue/components/AssetCustomMetadataFormMassOperations.js +1 -2
- package/dist/domains/dam/uploadQueue/components/AssetCustomMetadataFormMassOperations.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/AssetQueueSelectedSidebar.js +1 -2
- package/dist/domains/dam/uploadQueue/components/AssetQueueSelectedSidebar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueButtonStop.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueButtonStop.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialog.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingle.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingle.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebar.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebarMetadata.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebarMetadata.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebarMetadataContent.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueDialogSingleSidebarMetadataContent.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueEditable.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueEditable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemEditable.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemEditable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemErrorOverlay.js +1 -2
- package/dist/domains/dam/uploadQueue/components/UploadQueueItemErrorOverlay.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/uploadQueue/components/uploadQueueBindings.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/assetSuggestions.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/damUploadChunkSize.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/uploadMeter.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/uploadQueueItemRefresh.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/uploadQueueMassOperations.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/uploadService.js +1 -2
- package/dist/domains/dam/uploadQueue/composables/useUploadQueueDialog.js +1 -2
- package/dist/domains/dam/uploadQueue/core/uploadQueueCore.js +1 -2
- package/dist/domains/dam/uploadQueue/core/uploadQueueCoreTypes.js +1 -2
- package/dist/domains/dam/uploadQueue/core/uploadQueueFill.js +1 -2
- package/dist/domains/dam/uploadQueue/factory/UploadQueueItemFactory.js +1 -2
- package/dist/domains/dam/uploadQueue/presets/queuePresets.js +1 -2
- package/dist/domains/dam/uploadQueue/presets/uploadPresets.js +1 -2
- package/dist/domains/dam/uploadQueue/settlement/uploadPollSchedule.js +1 -2
- package/dist/domains/dam/uploadQueue/settlement/uploadPoller.js +1 -2
- package/dist/domains/dam/uploadQueue/settlement/uploadSettle.js +1 -2
- package/dist/domains/dam/uploadQueue/settlement/uploadSettlement.js +1 -2
- package/dist/domains/dam/uploadQueue/settlement/uploadSettlementRuntime.js +1 -2
- package/dist/domains/dam/uploadQueue/settlement/uploadSettlementTypes.js +1 -2
- package/dist/domains/dam/uploadQueue/store/uploadQueuesStore.js +1 -2
- package/dist/domains/dam/uploadQueue/utils/mimeTypeHelper.js +1 -2
- package/dist/domains/dam/user/api/assetLicenceApi.js +1 -2
- package/dist/domains/dam/user/api/assetLicenceGroupApi.js +1 -2
- package/dist/domains/dam/user/api/extSystemApi.js +1 -2
- package/dist/domains/dam/user/api/userApi.js +1 -2
- package/dist/domains/dam/user/components/DamAssetLicenceGroupRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/user/components/DamAssetLicenceGroupRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/components/DamAssetLicenceRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/user/components/DamAssetLicenceRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/components/DamDistributionServiceSelect.js +1 -2
- package/dist/domains/dam/user/components/DamDistributionServiceSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/components/DamExtSystemRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/user/components/DamExtSystemRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/components/DamExternalProviderAssetSelect.js +1 -2
- package/dist/domains/dam/user/components/DamExternalProviderAssetSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/components/DamUserFilterRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/user/components/DamUserFilterRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/components/DamUserRemoteAutocomplete.js +1 -2
- package/dist/domains/dam/user/components/DamUserRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/dam/user/composables/assetLicenceActions.js +1 -2
- package/dist/domains/dam/user/composables/assetLicenceGroupActions.js +1 -2
- package/dist/domains/dam/user/composables/damUserSelectActions.js +1 -2
- package/dist/domains/dam/user/composables/extSystemActions.js +1 -2
- package/dist/domains/dam/user/filter/AssetLicenceFilter.js +1 -2
- package/dist/domains/dam/user/filter/AssetLicenceGroupFilter.js +1 -2
- package/dist/domains/dam/user/filter/DamUserFilter.js +1 -2
- package/dist/domains/dam/user/filter/ExtSystemFilter.js +1 -2
- package/dist/domains/dam/user/types/DamDistributionServiceType.js +1 -2
- package/dist/domains/dam/user/types/DamExternalProviderAssetType.js +1 -2
- package/dist/domains/filters/bookmarks/api/userAdminConfigApi.d.ts +1 -3
- package/dist/domains/filters/bookmarks/api/userAdminConfigApi.js +4 -5
- package/dist/domains/filters/bookmarks/api/userAdminConfigApi.js.map +1 -1
- package/dist/domains/filters/bookmarks/components/AFilterBookmarkButton.js +1 -2
- package/dist/domains/filters/bookmarks/components/AFilterBookmarkButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/bookmarks/components/FilterBookmarkDialog.js +1 -2
- package/dist/domains/filters/bookmarks/components/FilterBookmarkDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/bookmarks/components/FilterBookmarks.js +1 -2
- package/dist/domains/filters/bookmarks/components/FilterBookmarks.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/bookmarks/factory/UserAdminConfigFactory.js +1 -2
- package/dist/domains/filters/bookmarks/filter/UserAdminConfigFilter.js +1 -2
- package/dist/domains/filters/bookmarks/store/bookmarksStore.js +1 -2
- package/dist/domains/filters/bookmarks/types/UserAdminConfig.js +1 -2
- package/dist/domains/filters/components/AFilterAdvancedButton.js +1 -2
- package/dist/domains/filters/components/AFilterAdvancedButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterBooleanSelect.js +1 -2
- package/dist/domains/filters/components/AFilterBooleanSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterDatetimePicker.js +1 -2
- package/dist/domains/filters/components/AFilterDatetimePicker.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterEmpty.js +1 -2
- package/dist/domains/filters/components/AFilterEmpty.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterInteger.js +1 -2
- package/dist/domains/filters/components/AFilterInteger.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterResetButton.js +1 -2
- package/dist/domains/filters/components/AFilterResetButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterString.js +1 -2
- package/dist/domains/filters/components/AFilterString.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterSubmitButton.js +1 -2
- package/dist/domains/filters/components/AFilterSubmitButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterTimeInterval.js +1 -2
- package/dist/domains/filters/components/AFilterTimeInterval.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterValueObjectOptionsSelect.js +1 -2
- package/dist/domains/filters/components/AFilterValueObjectOptionsSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterWrapper.js +1 -2
- package/dist/domains/filters/components/AFilterWrapper.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/AFilterWrapperSidebar.js +1 -2
- package/dist/domains/filters/components/AFilterWrapperSidebar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/FilterDetailItem.js +1 -2
- package/dist/domains/filters/components/FilterDetailItem.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/components/FiltersSelected.js +1 -2
- package/dist/domains/filters/components/FiltersSelected.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/composables/filterFactory.d.ts +31 -2
- package/dist/domains/filters/composables/filterFactory.js +79 -69
- package/dist/domains/filters/composables/filterFactory.js.map +1 -1
- package/dist/domains/filters/composables/filterTimeIntervalTools.js +1 -2
- package/dist/domains/filters/datatable/components/ADatatableConfigButton.js +1 -2
- package/dist/domains/filters/datatable/components/ADatatableConfigButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/datatable/components/ADatatableOrdering.js +1 -2
- package/dist/domains/filters/datatable/components/ADatatableOrdering.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/datatable/components/ADatatablePagination.js +1 -2
- package/dist/domains/filters/datatable/components/ADatatablePagination.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/filters/datatable/composables/createDatatableColumnsConfig.js +1 -2
- package/dist/domains/filters/datatable/utils/datatable.js +1 -2
- package/dist/domains/filters/datatable/utils/datatableColumns.js +1 -2
- package/dist/domains/filters/utils/filterInjectionKeys.js +1 -2
- package/dist/domains/form/components/AFormDatetimePicker.js +1 -2
- package/dist/domains/form/components/AFormDatetimePicker.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/AFormFlagDatetimePicker.js +1 -2
- package/dist/domains/form/components/AFormFlagDatetimePicker.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/AFormRemoteCheckbox.js +1 -2
- package/dist/domains/form/components/AFormRemoteCheckbox.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/AFormRemoteSwitch.js +1 -2
- package/dist/domains/form/components/AFormRemoteSwitch.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/AFormSwitch.js +1 -2
- package/dist/domains/form/components/AFormSwitch.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/AFormTextField.js +1 -2
- package/dist/domains/form/components/AFormTextField.js.map +1 -1
- package/dist/domains/form/components/AFormTextField.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/domains/form/components/AFormTextField.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/domains/form/components/AFormTextarea.js +1 -2
- package/dist/domains/form/components/AFormTextarea.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/AFormValueObjectOptionsSelect.js +1 -2
- package/dist/domains/form/components/AFormValueObjectOptionsSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/form/components/ASystemEntityScope.js +1 -2
- package/dist/domains/form/components/ASystemEntityScope.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/job/api/jobApi.js +1 -2
- package/dist/domains/job/components/AJobBaseCreateForm.js +1 -2
- package/dist/domains/job/components/AJobBaseCreateForm.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/job/components/AJobDetailCommon.js +1 -2
- package/dist/domains/job/components/AJobDetailCommon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/job/components/AJobPriorityChip.js +1 -2
- package/dist/domains/job/components/AJobPriorityChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/job/components/AJobStatusChip.js +1 -2
- package/dist/domains/job/components/AJobStatusChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/job/composables/jobPriority.js +1 -2
- package/dist/domains/job/factory/JobFactory.js +1 -2
- package/dist/domains/job/valueObject/JobBaseResource.js +1 -2
- package/dist/domains/job/valueObject/JobStatus.js +1 -2
- package/dist/domains/listEditor/components/AListEditor.js +1 -2
- package/dist/domains/listEditor/components/AListEditor.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/ANestedSortableListEditor.js +1 -2
- package/dist/domains/listEditor/components/ANestedSortableListEditor.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/ASortableListEditor.js +1 -2
- package/dist/domains/listEditor/components/ASortableListEditor.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeChangeParentDialog.js +1 -2
- package/dist/domains/listEditor/components/internal/LeChangeParentDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeDeleteDialog.js +1 -2
- package/dist/domains/listEditor/components/internal/LeDeleteDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeDragHandle.js +1 -2
- package/dist/domains/listEditor/components/internal/LeDragHandle.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeEmptyState.js +1 -2
- package/dist/domains/listEditor/components/internal/LeEmptyState.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeMoveToPositionDialog.js +1 -2
- package/dist/domains/listEditor/components/internal/LeMoveToPositionDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeNestedRow.js +1 -2
- package/dist/domains/listEditor/components/internal/LeNestedRow.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeStatus.js +1 -2
- package/dist/domains/listEditor/components/internal/LeStatus.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/LeUnsavedLabel.js +1 -2
- package/dist/domains/listEditor/components/internal/LeUnsavedLabel.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/listEditor/components/internal/constants.js +1 -2
- package/dist/domains/listEditor/composables/useContainerWidth.js +1 -2
- package/dist/domains/listEditor/composables/useDeleteDialog.js +1 -2
- package/dist/domains/listEditor/composables/useDragInstruction.js +1 -2
- package/dist/domains/listEditor/composables/useInlineEditing.js +1 -2
- package/dist/domains/listEditor/composables/useIsTouchDevice.js +1 -2
- package/dist/domains/listEditor/composables/useKeyboardNav.js +2 -3
- package/dist/domains/listEditor/composables/useKeyboardNav.js.map +1 -1
- package/dist/domains/listEditor/composables/useListEditorController.js +1 -2
- package/dist/domains/listEditor/composables/useListEditorScopeValidity.js +1 -2
- package/dist/domains/listEditor/composables/useListEditorStateScope.js +1 -2
- package/dist/domains/listEditor/composables/useNestedListEditor.js +1 -2
- package/dist/domains/listEditor/composables/useNestedListEditorController.js +1 -2
- package/dist/domains/listEditor/composables/useReorderMode.js +1 -2
- package/dist/domains/listEditor/utils/listEditorLoader.js +1 -2
- package/dist/domains/listEditor/utils/positions.js +1 -2
- package/dist/domains/listEditor/utils/resolveCompactText.js +1 -2
- package/dist/domains/listEditor/utils/revealInvalidRows.js +1 -2
- package/dist/domains/listEditor/utils/tempId.js +1 -2
- package/dist/domains/log/api/logApi.js +0 -1
- package/dist/domains/log/components/ALogDatatable.js +1 -2
- package/dist/domains/log/components/ALogDatatable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/log/components/ALogDetail.js +1 -2
- package/dist/domains/log/components/ALogDetail.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/log/components/ALogDetailView.js +1 -2
- package/dist/domains/log/components/ALogDetailView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/log/components/ALogFilter.js +1 -2
- package/dist/domains/log/components/ALogFilter.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/log/components/ALogLevelChip.js +1 -2
- package/dist/domains/log/components/ALogLevelChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/log/components/ALogListView.js +1 -2
- package/dist/domains/log/components/ALogListView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/log/composables/logActions.js +1 -2
- package/dist/domains/log/composables/logType.js +1 -2
- package/dist/domains/log/filter/logFilter.js +1 -2
- package/dist/domains/log/valueObject/LogLevel.js +6 -7
- package/dist/domains/log/valueObject/LogLevel.js.map +1 -1
- package/dist/domains/permission/components/APermissionEditor.js +1 -2
- package/dist/domains/permission/components/APermissionEditor.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/components/APermissionGrantEditor.js +1 -2
- package/dist/domains/permission/components/APermissionGrantEditor.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/components/APermissionValueChip.js +1 -2
- package/dist/domains/permission/components/APermissionValueChip.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/composables/permissionActions.js +1 -2
- package/dist/domains/permission/config/api/permissionConfigApi.js +1 -2
- package/dist/domains/permission/config/composables/permissionConfigActions.js +1 -2
- package/dist/domains/permission/config/factory/PermissionConfigFactory.js +1 -2
- package/dist/domains/permission/config/store/permissionConfigStore.js +1 -2
- package/dist/domains/permission/group/api/permissionGroupApi.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupDatatable.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupDatatable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupDetail.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupDetail.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupFilter.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupFilter.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupManage.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupManage.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupRemoteAutocomplete.js +1 -2
- package/dist/domains/permission/group/components/APermissionGroupRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/permission/group/composables/cachedPermissionGroups.js +1 -2
- package/dist/domains/permission/group/composables/permissionGroupActions.js +1 -2
- package/dist/domains/permission/group/composables/permissionGroupValidations.js +1 -2
- package/dist/domains/permission/group/factory/PermissionGroupFactory.js +1 -2
- package/dist/domains/permission/group/filter/permissionGroupFilter.js +1 -2
- package/dist/domains/permission/group/store/permissionGroupStore.js +1 -2
- package/dist/domains/permission/valueObject/GrantOrigin.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFilterRemoteAutocomplete.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFilterRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFilterRemoteAutocompleteWithMinimal.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFilterRemoteAutocompleteWithMinimal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocomplete.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocompleteWithCached.js +1 -2
- package/dist/domains/remoteAutocomplete/components/AFormRemoteAutocompleteWithCached.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/remoteAutocomplete/composables/createRemoteAutocomplete.js +1 -2
- package/dist/domains/subjectSelect/components/AFilterWrapperSubjectSelect.js +1 -2
- package/dist/domains/subjectSelect/components/AFilterWrapperSubjectSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/subjectSelect/components/ASubjectSelect.js +1 -2
- package/dist/domains/subjectSelect/components/ASubjectSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/subjectSelect/composables/useSubjectSelect.js +1 -2
- package/dist/domains/subjectSelect/utils/selectStrategies.js +1 -2
- package/dist/domains/system/appShell/components/AActionbar.js +1 -2
- package/dist/domains/system/appShell/components/AActionbar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/appShell/components/AActionbarTarget.js +1 -2
- package/dist/domains/system/appShell/components/AActionbarTarget.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/appShell/components/ALayoutLoader.js +1 -2
- package/dist/domains/system/appShell/components/ALayoutLoader.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/appShell/components/ALayoutSwitch.js +1 -2
- package/dist/domains/system/appShell/components/ALayoutSwitch.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/appShell/composables/teleportSlot.js +1 -2
- package/dist/domains/system/components/AAdminSwitcher.js +1 -2
- package/dist/domains/system/components/AAdminSwitcher.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/components/AAlerts.js +1 -2
- package/dist/domains/system/components/AAlerts.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/components/ALanguageSelect.js +1 -2
- package/dist/domains/system/components/ALanguageSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/components/AThemeSelect.js +1 -2
- package/dist/domains/system/components/AThemeSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/composables/alerts.js +1 -2
- package/dist/domains/system/composables/alertsQueue.js +1 -2
- package/dist/domains/system/composables/breadcrumbs.d.ts +6 -6
- package/dist/domains/system/composables/breadcrumbs.js +8 -9
- package/dist/domains/system/composables/breadcrumbs.js.map +1 -1
- package/dist/domains/system/composables/languageSettings.js +1 -2
- package/dist/domains/system/composables/loginStatus.js +1 -2
- package/dist/domains/system/composables/navigationError.js +1 -2
- package/dist/domains/system/composables/pageNavigation.js +1 -2
- package/dist/domains/system/composables/recordActions.d.ts +41 -0
- package/dist/domains/system/composables/recordActions.js +32 -0
- package/dist/domains/system/composables/recordActions.js.map +1 -0
- package/dist/domains/system/composables/recordPage.d.ts +14 -4
- package/dist/domains/system/composables/recordPage.js +37 -36
- package/dist/domains/system/composables/recordPage.js.map +1 -1
- package/dist/domains/system/composables/routeHistory.js +34 -28
- package/dist/domains/system/composables/routeHistory.js.map +1 -1
- package/dist/domains/system/composables/sentry.js +1 -2
- package/dist/domains/system/composables/themeSettings.js +1 -2
- package/dist/domains/system/composables/useDebugFeatures.js +1 -2
- package/dist/domains/system/composables/useUnreleasedFeatures.js +1 -2
- package/dist/domains/system/composables/useUserActivity.js +1 -2
- package/dist/domains/system/flags/components/FlagCountry.js +1 -2
- package/dist/domains/system/flags/components/FlagCountry.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/flags/components/FlagEmpty.js +1 -2
- package/dist/domains/system/flags/components/FlagEn.js +1 -2
- package/dist/domains/system/flags/components/FlagSk.js +1 -2
- package/dist/domains/system/store/datatablePageStore.js +1 -2
- package/dist/domains/system/systemBar/components/ASystemBar.js +1 -2
- package/dist/domains/system/systemBar/components/ASystemBar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/systemBar/components/ASystemBarNewVersion.js +1 -2
- package/dist/domains/system/systemBar/components/ASystemBarNewVersion.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/system/systemBar/composables/systemBar.js +1 -2
- package/dist/domains/system/systemBar/utils/appReload.js +1 -2
- package/dist/domains/system/systemBar/utils/pageReload.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionCloseButtonHistory.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionCloseButtonHistory.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionCreateButton.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionCreateButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionDeleteButton.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionDeleteButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionEditButton.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionEditButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionSaveButton.js +1 -2
- package/dist/domains/ui/buttons/action/components/AActionSaveButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/components/ABtnSplit.js +1 -2
- package/dist/domains/ui/buttons/components/ABtnSplit.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/table/components/ATableCopyIdButton.js +1 -2
- package/dist/domains/ui/buttons/table/components/ATableCopyIdButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/table/components/ATableDetailButton.js +1 -2
- package/dist/domains/ui/buttons/table/components/ATableDetailButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/buttons/table/components/ATableEditButton.js +1 -2
- package/dist/domains/ui/buttons/table/components/ATableEditButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/AAnzuUserAvatar.js +1 -2
- package/dist/domains/ui/components/AAnzuUserAvatar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/AAvatarColorPicker.js +1 -2
- package/dist/domains/ui/components/AAvatarColorPicker.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ABooleanSelect.js +1 -2
- package/dist/domains/ui/components/ABooleanSelect.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ABooleanValue.js +1 -2
- package/dist/domains/ui/components/ABooleanValue.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ACard.js +1 -2
- package/dist/domains/ui/components/ACard.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ACardLoader.js +1 -2
- package/dist/domains/ui/components/ACardLoader.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/AChipNoLink.js +1 -2
- package/dist/domains/ui/components/AChipNoLink.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ACopyText.js +1 -2
- package/dist/domains/ui/components/ACopyText.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ACreateDialog.js +1 -2
- package/dist/domains/ui/components/ACreateDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ACurrentUserDropdown.js +1 -2
- package/dist/domains/ui/components/ACurrentUserDropdown.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ADialogToolbar.js +1 -2
- package/dist/domains/ui/components/ADialogToolbar.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/AIconGroup.js +1 -2
- package/dist/domains/ui/components/AIconGroup.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/AProgress.js +1 -2
- package/dist/domains/ui/components/AProgress.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ARow.js +1 -2
- package/dist/domains/ui/components/ARow.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/ATimeTrackingFields.js +1 -2
- package/dist/domains/ui/components/ATimeTrackingFields.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/components/AUserAndTimeTrackingFields.js +1 -2
- package/dist/domains/ui/components/AUserAndTimeTrackingFields.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/datetime/components/ADatetime.js +1 -2
- package/dist/domains/ui/datetime/components/ADatetime.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/datetime/components/ADatetimePicker.js +1 -2
- package/dist/domains/ui/datetime/components/ADatetimePicker.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/datetime/components/TimePicker.js +1 -2
- package/dist/domains/ui/datetime/components/TimePicker.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/datetime/composables/remainingTime.js +1 -2
- package/dist/domains/ui/file/components/AFileDropzone.js +1 -2
- package/dist/domains/ui/file/components/AFileDropzone.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/file/components/AFileInput.js +1 -2
- package/dist/domains/ui/file/components/AFileInput.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/file/components/AFileInputDialog.js +1 -2
- package/dist/domains/ui/file/components/AFileInputDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/file/composables/dropzone.js +1 -2
- package/dist/domains/ui/file/composables/formatAndSizeCheck.js +1 -2
- package/dist/domains/ui/file/utils/fileType.js +1 -2
- package/dist/domains/ui/view/components/AGenericView.js +1 -2
- package/dist/domains/ui/view/components/AGenericView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/view/components/ALoginView.js +1 -2
- package/dist/domains/ui/view/components/ALoginView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/view/components/ALogoutView.js +1 -2
- package/dist/domains/ui/view/components/ALogoutView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/view/components/ANotFoundView.js +1 -2
- package/dist/domains/ui/view/components/ANotFoundView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/ui/view/components/AUnauthorizedView.js +1 -2
- package/dist/domains/ui/view/components/AUnauthorizedView.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/unsavedGuard/components/AUnsavedConfirmDialog.js +1 -2
- package/dist/domains/unsavedGuard/components/AUnsavedConfirmDialog.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/domains/unsavedGuard/composables/useUnsavedChangesGuard.js +1 -2
- package/dist/domains/unsavedGuard/composables/useUnsavedSection.js +1 -2
- package/dist/lib.d.ts +3 -2
- package/dist/locales/cs/common/alert.js +1 -2
- package/dist/locales/cs/common/anzuUser.js +1 -2
- package/dist/locales/cs/common/assetSelect.js +1 -2
- package/dist/locales/cs/common/button.js +1 -2
- package/dist/locales/cs/common/collab.js +1 -2
- package/dist/locales/cs/common/confirmDialog.js +1 -2
- package/dist/locales/cs/common/customForm.js +1 -2
- package/dist/locales/cs/common/customFormElement.js +1 -2
- package/dist/locales/cs/common/damImage.js +1 -2
- package/dist/locales/cs/common/dayOfWeek.js +1 -2
- package/dist/locales/cs/common/filter.js +1 -2
- package/dist/locales/cs/common/job.js +1 -2
- package/dist/locales/cs/common/linkDto.js +1 -2
- package/dist/locales/cs/common/listItemDto.js +1 -2
- package/dist/locales/cs/common/log.js +1 -2
- package/dist/locales/cs/common/model.js +1 -2
- package/dist/locales/cs/common/permission.js +1 -2
- package/dist/locales/cs/common/permissionEditor.js +1 -2
- package/dist/locales/cs/common/permissionGroup.js +1 -2
- package/dist/locales/cs/common/routeSettings.js +1 -2
- package/dist/locales/cs/common/sortable.js +1 -2
- package/dist/locales/cs/common/subjectSelect.js +1 -2
- package/dist/locales/cs/common/system.js +1 -2
- package/dist/locales/cs/common/time.js +1 -2
- package/dist/locales/cs/common/userSystem.js +1 -2
- package/dist/locales/cs/error/apiDependencyExists.js +1 -2
- package/dist/locales/cs/error/apiForbiddenOperation.js +1 -2
- package/dist/locales/cs/error/apiTimedOut.js +1 -2
- package/dist/locales/cs/error/apiValidation.js +1 -2
- package/dist/locales/cs/error/jsValidation.js +1 -2
- package/dist/locales/cs/vuetify.js +1 -2
- package/dist/locales/cs.js +1 -2
- package/dist/locales/en/common/alert.js +1 -2
- package/dist/locales/en/common/anzuUser.js +1 -2
- package/dist/locales/en/common/assetSelect.js +1 -2
- package/dist/locales/en/common/button.js +1 -2
- package/dist/locales/en/common/collab.js +1 -2
- package/dist/locales/en/common/confirmDialog.js +1 -2
- package/dist/locales/en/common/customForm.js +1 -2
- package/dist/locales/en/common/customFormElement.js +1 -2
- package/dist/locales/en/common/damImage.js +1 -2
- package/dist/locales/en/common/dayOfWeek.js +1 -2
- package/dist/locales/en/common/filter.js +1 -2
- package/dist/locales/en/common/job.js +1 -2
- package/dist/locales/en/common/linkDto.js +1 -2
- package/dist/locales/en/common/listItemDto.js +1 -2
- package/dist/locales/en/common/log.js +1 -2
- package/dist/locales/en/common/model.js +1 -2
- package/dist/locales/en/common/permission.js +1 -2
- package/dist/locales/en/common/permissionEditor.js +1 -2
- package/dist/locales/en/common/permissionGroup.js +1 -2
- package/dist/locales/en/common/routeSettings.js +1 -2
- package/dist/locales/en/common/sortable.js +1 -2
- package/dist/locales/en/common/subjectSelect.js +1 -2
- package/dist/locales/en/common/system.js +1 -2
- package/dist/locales/en/common/time.js +1 -2
- package/dist/locales/en/common/userSystem.js +1 -2
- package/dist/locales/en/error/apiDependencyExists.js +1 -2
- package/dist/locales/en/error/apiForbiddenOperation.js +1 -2
- package/dist/locales/en/error/apiTimedOut.js +1 -2
- package/dist/locales/en/error/apiValidation.js +1 -2
- package/dist/locales/en/error/jsValidation.js +1 -2
- package/dist/locales/en/vuetify.js +1 -2
- package/dist/locales/en.js +1 -2
- package/dist/locales/sk/common/alert.js +1 -2
- package/dist/locales/sk/common/anzuUser.js +1 -2
- package/dist/locales/sk/common/assetSelect.js +1 -2
- package/dist/locales/sk/common/button.js +1 -2
- package/dist/locales/sk/common/collab.js +1 -2
- package/dist/locales/sk/common/confirmDialog.js +1 -2
- package/dist/locales/sk/common/customForm.js +1 -2
- package/dist/locales/sk/common/customFormElement.js +1 -2
- package/dist/locales/sk/common/damImage.js +1 -2
- package/dist/locales/sk/common/dayOfWeek.js +1 -2
- package/dist/locales/sk/common/filter.js +1 -2
- package/dist/locales/sk/common/job.js +1 -2
- package/dist/locales/sk/common/linkDto.js +1 -2
- package/dist/locales/sk/common/listItemDto.js +1 -2
- package/dist/locales/sk/common/log.js +1 -2
- package/dist/locales/sk/common/model.js +1 -2
- package/dist/locales/sk/common/permission.js +1 -2
- package/dist/locales/sk/common/permissionEditor.js +1 -2
- package/dist/locales/sk/common/permissionGroup.js +1 -2
- package/dist/locales/sk/common/routeSettings.js +1 -2
- package/dist/locales/sk/common/sortable.js +1 -2
- package/dist/locales/sk/common/subjectSelect.js +1 -2
- package/dist/locales/sk/common/system.js +1 -2
- package/dist/locales/sk/common/time.js +1 -2
- package/dist/locales/sk/common/userSystem.js +1 -2
- package/dist/locales/sk/error/apiDependencyExists.js +1 -2
- package/dist/locales/sk/error/apiForbiddenOperation.js +1 -2
- package/dist/locales/sk/error/apiTimedOut.js +1 -2
- package/dist/locales/sk/error/apiValidation.js +1 -2
- package/dist/locales/sk/error/jsValidation.js +1 -2
- package/dist/locales/sk/vuetify.js +1 -2
- package/dist/locales/sk.js +1 -2
- package/dist/plugins/commonVuetifyConfig.js +1 -2
- package/dist/plugins/i18n.js +1 -2
- package/dist/plugins/pluginOptions.js +1 -2
- package/dist/plugins/webfontloader.js +0 -1
- package/dist/shared/commonConfig.js +0 -1
- package/dist/shared/error/AnzuApiAxiosError.js +1 -2
- package/dist/shared/error/AnzuApiCancelledError.js +1 -2
- package/dist/shared/error/AnzuApiDependencyExistsError.js +1 -2
- package/dist/shared/error/AnzuApiForbiddenError.js +1 -2
- package/dist/shared/error/AnzuApiForbiddenOperationError.js +1 -2
- package/dist/shared/error/AnzuApiResponseCodeError.js +1 -2
- package/dist/shared/error/AnzuApiTimeoutError.js +1 -2
- package/dist/shared/error/AnzuApiValidationError.js +1 -2
- package/dist/shared/error/AnzuError.js +1 -2
- package/dist/shared/error/AnzuFatalError.js +1 -2
- package/dist/shared/error/AnzuNewVersionFetchError.js +1 -2
- package/dist/shared/error/AuthUnavailableError.js +1 -2
- package/dist/shared/error/SessionExpiredError.js +1 -2
- package/dist/shared/error/isInCauseChain.js +1 -2
- package/dist/shared/injectionKeys.js +1 -2
- package/dist/shared/statusCodes.js +1 -2
- package/dist/shared/types/CreatedByAware.js +1 -2
- package/dist/shared/types/OwnerAware.js +1 -2
- package/dist/shared/types/utils.js +1 -2
- package/dist/shared/utils/array.js +1 -2
- package/dist/shared/utils/boolean.js +1 -2
- package/dist/shared/utils/common.js +1 -2
- package/dist/shared/utils/datetime.js +0 -1
- package/dist/shared/utils/datetimePickerValue.js +0 -1
- package/dist/shared/utils/development.js +1 -2
- package/dist/shared/utils/enum.js +1 -2
- package/dist/shared/utils/envConfig.js +1 -2
- package/dist/shared/utils/event.js +1 -2
- package/dist/shared/utils/file.js +1 -2
- package/dist/shared/utils/generator.js +1 -2
- package/dist/shared/utils/history.js +1 -2
- package/dist/shared/utils/json.js +1 -2
- package/dist/shared/utils/number.js +1 -2
- package/dist/shared/utils/object.js +1 -2
- package/dist/shared/utils/string.js +1 -2
- package/dist/shared/utils/userAndTimeTracking.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateBetween.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateCompareDates.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateEmail.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateHexColor.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateMaxLength.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateMaxValue.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateMinLength.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateMinValue.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateNumeric.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateRequired.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateRequiredIf.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateSlug.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateStringArrayItemLength.js +1 -2
- package/dist/shared/validators/vuelidate/common/useValidateUrl.js +1 -2
- package/dist/shared/validators/vuelidate/useValidate.js +1 -2
- package/dist/testing/appShell.js +1 -2
- package/dist/testing/closeButtons.js +1 -2
- package/dist/testing/declaredDependencies.js +1 -2
- package/dist/testing/generatedRoutes.js +1 -2
- package/dist/testing/routeHistory.js +1 -2
- package/dist/testing/sortableLists.js +1 -2
- package/dist/testing/typedRouter.js +1 -2
- package/dist/vendor/@cropper/element/dist/element.esm.raw.js +2 -3
- package/dist/vendor/@cropper/element/dist/element.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-canvas/dist/element-canvas.esm.raw.js +2 -3
- package/dist/vendor/@cropper/element-canvas/dist/element-canvas.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-crosshair/dist/element-crosshair.esm.raw.js +2 -3
- package/dist/vendor/@cropper/element-crosshair/dist/element-crosshair.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-grid/dist/element-grid.esm.raw.js +2 -3
- package/dist/vendor/@cropper/element-grid/dist/element-grid.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-handle/dist/element-handle.esm.raw.js +2 -3
- package/dist/vendor/@cropper/element-handle/dist/element-handle.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-image/dist/element-image.esm.raw.js +77 -62
- package/dist/vendor/@cropper/element-image/dist/element-image.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-selection/dist/element-selection.esm.raw.js +199 -54
- package/dist/vendor/@cropper/element-selection/dist/element-selection.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-shade/dist/element-shade.esm.raw.js +12 -6
- package/dist/vendor/@cropper/element-shade/dist/element-shade.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/element-viewer/dist/element-viewer.esm.raw.js +9 -10
- package/dist/vendor/@cropper/element-viewer/dist/element-viewer.esm.raw.js.map +1 -1
- package/dist/vendor/@cropper/utils/dist/utils.esm.raw.js +90 -48
- package/dist/vendor/@cropper/utils/dist/utils.esm.raw.js.map +1 -1
- package/dist/vendor/{cropperjs2 → cropperjs}/dist/cropper.esm.raw.js +11 -12
- package/dist/vendor/cropperjs/dist/cropper.esm.raw.js.map +1 -0
- package/dist/vendor/rusha/dist/rusha.js +1 -2
- package/dist/vendor/uuid/dist/rng.js +1 -2
- package/dist/vendor/uuid/dist/stringify.js +1 -2
- package/dist/vendor/uuid/dist/v1.js +1 -2
- package/dist/vendor/uuid/dist/v4.js +1 -2
- package/package.json +10 -10
- package/src/eslint/adminConfig.mjs +2 -1
- package/src/eslint/oxlint-admin.json +3 -0
- package/dist/vendor/cropperjs2/dist/cropper.esm.raw.js.map +0 -1
|
@@ -8,36 +8,36 @@ import { isAppNavigationPending as a, usePageNavigation as o } from "./pageNavig
|
|
|
8
8
|
import { apiErrorStatus as s } from "../../api/utils/apiErrors.js";
|
|
9
9
|
import { forgetLeftAfterFailure as c, isLeftAfterFailureRecently as l, markLeftAfterFailure as u, useRouteHistory as d } from "./routeHistory.js";
|
|
10
10
|
import { useDatatablePageStore as f } from "../store/datatablePageStore.js";
|
|
11
|
-
import { onBeforeUnmount as p } from "vue";
|
|
12
|
-
import { useRouter as
|
|
13
|
-
|
|
14
|
-
var
|
|
11
|
+
import { onBeforeUnmount as p, onMounted as m } from "vue";
|
|
12
|
+
import { useRouter as h } from "vue-router";
|
|
13
|
+
// src/domains/system/composables/recordPage.ts
|
|
14
|
+
var g = (o, c = -1) => {
|
|
15
15
|
if (t(o) || r(o, (e) => e instanceof n)) return !1;
|
|
16
16
|
if (a()) return !0;
|
|
17
17
|
let { showErrorT: l, showErrorsDefault: u, showUnknownError: d } = i(), f = s(o);
|
|
18
18
|
return e(o) || f === 403 ? (l("common.alert.recordForbidden", c), !0) : f === 404 ? (l("common.alert.recordNotFound", c), !0) : (u(o, c) || d(c), !0);
|
|
19
|
-
},
|
|
19
|
+
}, _ = (e) => e.split(/[?#]/, 1)[0] ?? e, v = (e) => e.split("#", 1)[0] ?? e, y = /:(\w+)(?:\((?:\\.|[^\\)])*\))?([?*+])?/g, b = (e, t) => {
|
|
20
20
|
let n = e.getRoutes().find((e) => e.name === t);
|
|
21
|
-
if (n) return [...n.path.matchAll(
|
|
21
|
+
if (n) return [...n.path.matchAll(y)].map((e) => ({
|
|
22
22
|
key: e[1],
|
|
23
23
|
optional: e[2] === "?" || e[2] === "*"
|
|
24
24
|
}));
|
|
25
|
-
},
|
|
25
|
+
}, x = (e) => new Promise((t) => {
|
|
26
26
|
let n = (e) => {
|
|
27
27
|
r(), i(), t(e);
|
|
28
28
|
}, r = e.afterEach((e, t, r) => n(!r)), i = e.onError(() => n(!1));
|
|
29
|
-
}),
|
|
30
|
-
function
|
|
31
|
-
let t =
|
|
29
|
+
}), S = (e) => e.then((e) => !e, () => !1);
|
|
30
|
+
function C(e = {}) {
|
|
31
|
+
let t = h(), { history: n } = d(), { preservePageForLanding: r } = f(), { onPage: i } = o(), a = t.currentRoute.value.path;
|
|
32
32
|
c(a);
|
|
33
|
-
let s = new AbortController(),
|
|
33
|
+
let s = new AbortController(), g = !1;
|
|
34
34
|
p(() => {
|
|
35
|
-
|
|
35
|
+
g = !0, s.abort(), e.loading && (e.loading.value = !1);
|
|
36
36
|
});
|
|
37
|
-
let
|
|
38
|
-
let n = t.currentRoute.value, r = /* @__PURE__ */ new Set([
|
|
37
|
+
let y = () => !g && t.currentRoute.value.path === a, C = () => {
|
|
38
|
+
let n = t.currentRoute.value, r = /* @__PURE__ */ new Set([_(n.fullPath)]), i = /* @__PURE__ */ new Set();
|
|
39
39
|
for (let a of e.skipRouteNames ?? []) {
|
|
40
|
-
let e =
|
|
40
|
+
let e = b(t, a);
|
|
41
41
|
if (!e) continue;
|
|
42
42
|
if (e.length === 0 || e.some(({ key: e, optional: t }) => !t && !(e in n.params))) {
|
|
43
43
|
i.add(a);
|
|
@@ -45,7 +45,7 @@ function S(e = {}) {
|
|
|
45
45
|
}
|
|
46
46
|
let o = Object.fromEntries(e.filter(({ key: e }) => e in n.params).map(({ key: e }) => [e, n.params[e]]));
|
|
47
47
|
try {
|
|
48
|
-
r.add(
|
|
48
|
+
r.add(_(t.resolve({
|
|
49
49
|
name: a,
|
|
50
50
|
params: o
|
|
51
51
|
}).fullPath));
|
|
@@ -57,13 +57,13 @@ function S(e = {}) {
|
|
|
57
57
|
paths: r,
|
|
58
58
|
names: i
|
|
59
59
|
};
|
|
60
|
-
},
|
|
61
|
-
let { paths: e, names: t } =
|
|
60
|
+
}, w = () => {
|
|
61
|
+
let { paths: e, names: t } = C();
|
|
62
62
|
for (let r = n.value.length - 1; r >= 0; r--) {
|
|
63
63
|
let i = n.value[r];
|
|
64
|
-
if (!(e.has(
|
|
64
|
+
if (!(e.has(_(i.fullPath)) || l(_(i.fullPath))) && !(i.name !== void 0 && i.name !== null && t.has(i.name))) return i.fullPath;
|
|
65
65
|
}
|
|
66
|
-
},
|
|
66
|
+
}, T = async (e) => {
|
|
67
67
|
let n;
|
|
68
68
|
try {
|
|
69
69
|
n = t.resolve(e).fullPath;
|
|
@@ -71,31 +71,32 @@ function S(e = {}) {
|
|
|
71
71
|
return !1;
|
|
72
72
|
}
|
|
73
73
|
let i = t.options.history.state.back;
|
|
74
|
-
if (typeof i == "string" &&
|
|
75
|
-
let e =
|
|
74
|
+
if (typeof i == "string" && v(i) === v(n)) {
|
|
75
|
+
let e = x(t);
|
|
76
76
|
return r(t), t.back(), e;
|
|
77
77
|
}
|
|
78
78
|
let a = t.replace(e);
|
|
79
79
|
return r(t, {
|
|
80
80
|
to: e,
|
|
81
81
|
navigation: a
|
|
82
|
-
}),
|
|
83
|
-
}
|
|
84
|
-
|
|
82
|
+
}), S(a);
|
|
83
|
+
}, E = async () => {
|
|
84
|
+
if (!y() || (e.loading && (e.loading.value = !0), !i())) return !1;
|
|
85
|
+
u(a);
|
|
86
|
+
let t = w();
|
|
87
|
+
return t !== void 0 && await T(t) ? !0 : !y() || !i() || e.fallbackRouteName === void 0 ? !1 : T({
|
|
88
|
+
name: e.fallbackRouteName,
|
|
89
|
+
params: e.fallbackRouteParams
|
|
90
|
+
});
|
|
91
|
+
}, { load: D } = e;
|
|
92
|
+
return D && m(async () => {
|
|
93
|
+
await D(s.signal) === !1 && await E();
|
|
94
|
+
}), {
|
|
85
95
|
signal: s.signal,
|
|
86
|
-
leave:
|
|
87
|
-
if (!v() || (e.loading && (e.loading.value = !0), !i())) return !1;
|
|
88
|
-
u(a);
|
|
89
|
-
let t = C();
|
|
90
|
-
return t !== void 0 && await w(t) ? !0 : !v() || !i() || e.fallbackRouteName === void 0 ? !1 : w({
|
|
91
|
-
name: e.fallbackRouteName,
|
|
92
|
-
params: e.fallbackRouteParams
|
|
93
|
-
});
|
|
94
|
-
},
|
|
96
|
+
leave: E,
|
|
95
97
|
onPage: i
|
|
96
98
|
};
|
|
97
99
|
}
|
|
98
|
-
|
|
99
|
-
export { h as handleRecordLoadError, S as useRecordPage };
|
|
100
|
+
export { g as handleRecordLoadError, C as useRecordPage };
|
|
100
101
|
|
|
101
102
|
//# sourceMappingURL=recordPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordPage.js","names":["handleRecordLoadError","isAnzuApiCancelledError","error","isInCauseChain","cause","SessionExpiredError","isAppNavigationPending","useAlerts","status","apiErrorStatus","isAnzuApiForbiddenError","showErrorT","duration","showErrorsDefault","showUnknownError","pathOf","fullPath","withoutHash","PATH_PARAM","paramsOf","record","router","route","name","match","waitForLanding","done","stopAfterEach","stopError","resolve","landed","failure","settled","navigation","useRecordPage","useRouter","useRouteHistory","useDatatablePageStore","usePageNavigation","path","controller","unmounted","options","stillHere","skipped","current","paths","names","declared","optional","key","params","findTarget","i","history","entry","isLeftAfterFailureRecently","go","target","to","back","landing","preservePageForLanding","onPage"],"sources":["../../../../src/domains/system/composables/recordPage.ts"],"sourcesContent":["import { onBeforeUnmount, type Ref } from 'vue'\nimport { type NavigationFailure, type RouteLocationRaw, type RouteRecordName, type Router, useRouter } from 'vue-router'\nimport { useAlerts } from '@/domains/system/composables/alerts'\nimport {\n forgetLeftAfterFailure,\n isLeftAfterFailureRecently,\n markLeftAfterFailure,\n useRouteHistory,\n} from '@/domains/system/composables/routeHistory'\nimport { useDatatablePageStore } from '@/domains/system/store/datatablePageStore'\nimport { isAppNavigationPending, usePageNavigation } from '@/domains/system/composables/pageNavigation'\nimport { apiErrorStatus } from '@/domains/api/utils/apiErrors'\nimport { isAnzuApiCancelledError } from '@/shared/error/AnzuApiCancelledError'\nimport { isAnzuApiForbiddenError } from '@/shared/error/AnzuApiForbiddenError'\nimport { SessionExpiredError } from '@/shared/error/SessionExpiredError'\nimport { isInCauseChain } from '@/shared/error/isInCauseChain'\nimport { HTTP_STATUS_FORBIDDEN, HTTP_STATUS_NOT_FOUND } from '@/shared/statusCodes'\n\n/**\n * Shows why a record could not be loaded and says whether its page should leave.\n *\n * For the record's own get-one, not for what a page loads around it: a 404 or 403 there means the\n * record is not there for this user, a 404 of a secondary request does not. A request that was\n * stopped (the page is gone) and a session found expired (the logout is already loading) show\n * nothing and do not leave. Everything else -- a 5xx, the network, a timeout, the sign-in server --\n * shows the message `showErrorsDefault` has for it and leaves too: the page would only show an\n * empty record with live buttons. While the user is navigating to another page (`trackNavigation`)\n * it shows nothing, the message would stay there; the page's `leave` then stays put as well.\n */\nexport const handleRecordLoadError = (error: unknown, duration = -1): boolean => {\n if (isAnzuApiCancelledError(error)) return false\n if (isInCauseChain(error, (cause) => cause instanceof SessionExpiredError)) return false\n if (isAppNavigationPending()) return true\n\n const { showErrorT, showErrorsDefault, showUnknownError } = useAlerts()\n const status = apiErrorStatus(error)\n // A rejected 403 is `AnzuApiForbiddenError`, which carries no status; one let through by\n // `validateStatus` is a response code error that does.\n if (isAnzuApiForbiddenError(error) || status === HTTP_STATUS_FORBIDDEN) {\n showErrorT('common.alert.recordForbidden', duration)\n return true\n }\n if (status === HTTP_STATUS_NOT_FOUND) {\n showErrorT('common.alert.recordNotFound', duration)\n return true\n }\n if (!showErrorsDefault(error, duration)) showUnknownError(duration)\n return true\n}\n\nexport interface UseRecordPageOptions {\n /** Where to go when nothing in the history is a destination: the entity's list. */\n fallbackRouteName?: RouteRecordName\n fallbackRouteParams?: Record<string, any>\n /**\n * What the page gives its Close button: the record's sibling views and the create form. A route\n * with the record's params is skipped as that record's address only, see `leave`.\n */\n skipRouteNames?: RouteRecordName[]\n /**\n * The page's loading flag. `leave` holds it up, so the empty record's buttons never show, and the\n * page lowers it as it unmounts: the flag is often shared by every view of the entity, and the\n * next one -- a create form that loads nothing -- must not inherit it.\n */\n loading?: Ref<boolean>\n}\n\nexport interface UseRecordPageReturn {\n /** For the record's get-one: stopped when the page unmounts. */\n signal: AbortSignal\n /** Back to where the user came from, else to the fallback. Resolves whether it got there. */\n leave: () => Promise<boolean>\n /** The user is still on this page and not navigating away: for a redirect after the load. */\n onPage: () => boolean\n}\n\nconst pathOf = (fullPath: string) => fullPath.split(/[?#]/, 1)[0] ?? fullPath\nconst withoutHash = (fullPath: string) => fullPath.split('#', 1)[0] ?? fullPath\n\n// A param's name, its custom regex (whose `)` may be escaped) and its modifier: `?` and `*` make it optional.\nconst PATH_PARAM = /:(\\w+)(?:\\((?:\\\\.|[^\\\\)])*\\))?([?*+])?/g\n\nconst paramsOf = (router: Router, name: RouteRecordName) => {\n const record = router.getRoutes().find((route) => route.name === name)\n if (!record) return undefined\n return [...record.path.matchAll(PATH_PARAM)].map((match) => ({\n key: match[1]!,\n optional: match[2] === '?' || match[2] === '*',\n }))\n}\n\n// `router.back()` answers nothing; its landing, or its error, is the answer.\nconst waitForLanding = (router: Router) =>\n new Promise<boolean>((resolve) => {\n const done = (landed: boolean) => {\n stopAfterEach()\n stopError()\n resolve(landed)\n }\n const stopAfterEach = router.afterEach((_to, _from, failure) => done(!failure))\n const stopError = router.onError(() => done(false))\n })\n\nconst settled = (navigation: Promise<NavigationFailure | void | undefined>) =>\n navigation.then(\n (failure) => !failure,\n () => false\n )\n\n/**\n * For a detail or edit page: aborts the record's load when the page goes, and leaves the page when\n * the load fails.\n *\n * ```ts\n * const { signal, leave } = useRecordPage({ fallbackRouteName: '/x', skipRouteNames: [...], loading: detailLoading })\n * onMounted(async () => {\n * if ((await fetchData(id, { signal })) === false) await leave()\n * })\n * ```\n *\n * `false` from the loader means \"leave\"; `undefined` is a load that was superseded or stopped on\n * purpose, after which the page stays.\n *\n * While the user is navigating to another page (an async guard, a lazy chunk; `trackNavigation`),\n * the page does not leave: the user's navigation decides, and should it fail, the page stays with\n * its loading flag up. Not handled: a guard that refuses the step back can leave the address bar out\n * of step with the router.\n */\nexport function useRecordPage(options: UseRecordPageOptions = {}): UseRecordPageReturn {\n const router = useRouter()\n const { history } = useRouteHistory()\n const { preservePageForLanding } = useDatatablePageStore()\n const { onPage } = usePageNavigation()\n\n // The path, not the name: /x/1 and /x/2 share a name, and a late failure of the one must not move\n // the user off the other.\n const path = router.currentRoute.value.path\n // On it again: a failure there before no longer counts.\n forgetLeftAfterFailure(path)\n const controller = new AbortController()\n let unmounted = false\n onBeforeUnmount(() => {\n unmounted = true\n controller.abort()\n // Raised by `leave`, or left up by the load just aborted, whose `finally` no longer owns it. The\n // next page mounts after this one is gone and raises it again for its own load.\n if (options.loading) options.loading.value = false\n })\n\n const stillHere = () => !unmounted && router.currentRoute.value.path === path\n\n // Unlike the Close button, which skips every entry with the record's route name so that closing\n // one row never opens another, this goes back to the view the user actually came from -- another\n // record of the same entity included. Only the addresses of THIS record are skipped, compared\n // without query and hash (a tab in the query is the same view), plus the create form the record\n // may have been saved from: back there, Save would create a second record.\n const skipped = () => {\n const current = router.currentRoute.value\n const paths = new Set<string>([pathOf(current.fullPath)])\n const names = new Set<RouteRecordName>()\n for (const name of options.skipRouteNames ?? []) {\n const declared = paramsOf(router, name)\n if (!declared) continue\n // A route without params is one address; one the record cannot fill is skipped by name.\n if (declared.length === 0 || declared.some(({ key, optional }) => !optional && !(key in current.params))) {\n names.add(name)\n continue\n }\n const params = Object.fromEntries(\n declared.filter(({ key }) => key in current.params).map(({ key }) => [key, current.params[key]])\n )\n try {\n paths.add(pathOf(router.resolve({ name, params }).fullPath))\n } catch {\n names.add(name)\n }\n }\n return { paths, names }\n }\n\n const findTarget = (): string | undefined => {\n const { paths, names } = skipped()\n for (let i = history.value.length - 1; i >= 0; i--) {\n const entry = history.value[i]!\n // An address a page just left after a failure is no destination either: two failing records\n // next to each other in the history -- A, then B, while the backend is down -- would send the\n // user back and forth for as long as the outage lasts, B leaving to A, which finds B as its\n // newest entry. Skipped, the chain ends at the list.\n if (paths.has(pathOf(entry.fullPath)) || isLeftAfterFailureRecently(pathOf(entry.fullPath))) continue\n if (entry.name !== undefined && entry.name !== null && names.has(entry.name as RouteRecordName)) continue\n return entry.fullPath\n }\n return undefined\n }\n\n // Leaves no trace of the failed address: a step back when the target is the entry right before\n // it, a replace otherwise -- a push would let the browser's Back return to the page that just\n // failed, which would fail and leave again.\n const go = async (to: RouteLocationRaw): Promise<boolean> => {\n let target: string\n try {\n target = router.resolve(to).fullPath\n } catch {\n return false\n }\n // Without the hash: a list's filter writes it under the router, so the record's `state.back`\n // names the list without it, while the route history has it. The filter also keeps the list\n // entry's `current` in step, so the step back lands on the filter, and adds no entry.\n const back = router.options.history.state.back\n if (typeof back === 'string' && withoutHash(back) === withoutHash(target)) {\n const landing = waitForLanding(router)\n preservePageForLanding(router)\n router.back()\n return landing\n }\n const navigation = router.replace(to)\n preservePageForLanding(router, { to, navigation })\n return settled(navigation)\n }\n\n const leave = async (): Promise<boolean> => {\n if (!stillHere()) return false\n // Held up for good on a leave that fails: the record is not loaded, and its buttons -- Save\n // creating a new record, Delete with the address's id -- must not come back. The Close button,\n // which no page ties to loading, is the way out then.\n if (options.loading) options.loading.value = true\n // The user is on the way to another page: that navigation decides, ours would cancel it.\n if (!onPage()) return false\n markLeftAfterFailure(path)\n const target = findTarget()\n if (target !== undefined && (await go(target))) return true\n if (!stillHere() || !onPage() || options.fallbackRouteName === undefined) return false\n return go({ name: options.fallbackRouteName, params: options.fallbackRouteParams })\n }\n\n return { signal: controller.signal, leave, onPage }\n}\n"],"mappings":";;;;;;;;;;;;;AA6BA,IAAaA,KAAyB,GAAgB,IAAW,OAAgB;CAE/E,IADIC,EAAwBC,CAAK,KAC7BC,EAAeD,IAAQ,MAAUE,aAAiBC,CAAmB,GAAG,OAAO;CACnF,IAAIC,EAAuB,GAAG,OAAO;CAErC,IAAM,EAAE,eAAY,sBAAmB,wBAAqBC,EAAU,GAChEC,IAASC,EAAeP,CAAK;CAYnC,OATIQ,EAAwBR,CAAK,KAAKM,MAAA,OACpCG,EAAW,gCAAgCC,CAAQ,GAC5C,MAELJ,MAAA,OACFG,EAAW,+BAA+BC,CAAQ,GAC3C,OAEJC,EAAkBX,GAAOU,CAAQ,KAAGE,EAAiBF,CAAQ,GAC3D;AACT,GA4BMG,KAAU,MAAqBC,EAAS,MAAM,QAAQ,CAAC,CAAC,CAAC,MAAMA,GAC/DC,KAAe,MAAqBD,EAAS,MAAM,KAAK,CAAC,CAAC,CAAC,MAAMA,GAGjEE,IAAa,2CAEbC,KAAY,GAAgB,MAA0B;CAC1D,IAAMC,IAASC,EAAO,UAAU,CAAC,CAAC,MAAM,MAAUC,EAAM,SAASC,CAAI;CACrE,IAAKH,GACL,OAAO,CAAC,GAAGA,EAAO,KAAK,SAASF,CAAU,CAAC,CAAC,CAAC,KAAK,OAAW;EAC3D,KAAKM,EAAM;EACX,UAAUA,EAAM,OAAO,OAAOA,EAAM,OAAO;CAC7C,EAAE;AACJ,GAGMC,KAAkB,MACtB,IAAI,SAAkB,MAAY;CAChC,IAAMC,KAAQ,MAAoB;EAGhC,AAFAC,EAAc,GACdC,EAAU,GACVC,EAAQC,CAAM;CAChB,GACMH,IAAgBN,EAAO,WAAW,GAAK,GAAO,MAAYK,EAAK,CAACK,CAAO,CAAC,GACxEH,IAAYP,EAAO,cAAcK,EAAK,EAAK,CAAC;AACpD,CAAC,GAEGM,KAAW,MACfC,EAAW,MACR,MAAY,CAACF,SACR,EACR;AAqBF,SAAgBG,EAAc,IAAgC,CAAC,GAAwB;CACrF,IAAMb,IAASc,EAAU,GACnB,EAAE,eAAYC,EAAgB,GAC9B,EAAE,8BAA2BC,EAAsB,GACnD,EAAE,cAAWC,EAAkB,GAI/BC,IAAOlB,EAAO,aAAa,MAAM;CAEvC,EAAuBkB,CAAI;CAC3B,IAAMC,IAAa,IAAI,gBAAgB,GACnCC,IAAY;CAChB,QAAsB;EAKpB,AAJA,IAAY,IACZD,EAAW,MAAM,GAGbE,EAAQ,YAAS,EAAQ,QAAQ,QAAQ;CAC/C,CAAC;CAED,IAAMC,UAAkB,CAACF,KAAapB,EAAO,aAAa,MAAM,SAASkB,GAOnEK,UAAgB;EACpB,IAAMC,IAAUxB,EAAO,aAAa,OAC9ByB,oBAAQ,IAAI,IAAY,CAAC/B,EAAO8B,EAAQ,QAAQ,CAAC,CAAC,GAClDE,oBAAQ,IAAI,IAAqB;EACvC,KAAK,IAAMxB,KAAQmB,EAAQ,kBAAkB,CAAC,GAAG;GAC/C,IAAMM,IAAW7B,EAASE,GAAQE,CAAI;GACtC,IAAI,CAACyB,GAAU;GAEf,IAAIA,EAAS,WAAW,KAAKA,EAAS,MAAM,EAAE,QAAK,kBAAe,CAACC,KAAY,EAAEC,KAAOL,EAAQ,OAAO,GAAG;IACxG,EAAM,IAAItB,CAAI;IACd;GACF;GACA,IAAM4B,IAAS,OAAO,YACpBH,EAAS,QAAQ,EAAE,aAAUE,KAAOL,EAAQ,MAAM,CAAC,CAAC,KAAK,EAAE,aAAU,CAACK,GAAKL,EAAQ,OAAOK,EAAI,CAAC,CACjG;GACA,IAAI;IACF,EAAM,IAAInC,EAAOM,EAAO,QAAQ;KAAE;KAAM;IAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;GAC7D,QAAQ;IACN,EAAM,IAAIE,CAAI;GAChB;EACF;EACA,OAAO;GAAE;GAAO;EAAM;CACxB,GAEM6B,UAAuC;EAC3C,IAAM,EAAE,UAAO,aAAUR,EAAQ;EACjC,KAAK,IAAIS,IAAIC,EAAQ,MAAM,SAAS,GAAGD,KAAK,GAAG,KAAK;GAClD,IAAME,IAAQD,EAAQ,MAAMD;GAK5B,IAAI,IAAM,IAAItC,EAAOwC,EAAM,QAAQ,CAAC,KAAKC,EAA2BzC,EAAOwC,EAAM,QAAQ,CAAC,MACtF,IAAM,SAAS,KAAA,KAAaA,EAAM,SAAS,QAAQR,EAAM,IAAIQ,EAAM,IAAuB,IAC9F,OAAOA,EAAM;EACf;CAEF,GAKME,IAAK,OAAO,MAA2C;EAC3D,IAAIC;EACJ,IAAI;GACF,IAASrC,EAAO,QAAQsC,CAAE,CAAC,CAAC;EAC9B,QAAQ;GACN,OAAO;EACT;EAIA,IAAMC,IAAOvC,EAAO,QAAQ,QAAQ,MAAM;EAC1C,IAAI,OAAOuC,KAAS,YAAY3C,EAAY2C,CAAI,MAAM3C,EAAYyC,CAAM,GAAG;GACzE,IAAMG,IAAUpC,EAAeJ,CAAM;GAGrC,OAFAyC,EAAuBzC,CAAM,GAC7BA,EAAO,KAAK,GACLwC;EACT;EACA,IAAM5B,IAAaZ,EAAO,QAAQsC,CAAE;EAEpC,OADAG,EAAuBzC,GAAQ;GAAE;GAAI;EAAW,CAAC,GAC1CW,EAAQC,CAAU;CAC3B;CAiBA,OAAO;EAAE,QAAQO,EAAW;EAAQ,mBAfQ;GAO1C,IANI,CAACG,EAAU,MAIXD,EAAQ,YAAS,EAAQ,QAAQ,QAAQ,KAEzC,CAACqB,EAAO,IAAG,OAAO;GACtB,EAAqBxB,CAAI;GACzB,IAAMmB,IAASN,EAAW;GAG1B,OAFIM,MAAW,KAAA,KAAc,MAAMD,EAAGC,CAAM,IAAW,KACnD,CAACf,EAAU,KAAK,CAACoB,EAAO,KAAKrB,EAAQ,sBAAsB,KAAA,IAAkB,KAC1Ee,EAAG;IAAE,MAAMf,EAAQ;IAAmB,QAAQA,EAAQ;GAAoB,CAAC;EACpF;EAE2C;CAAO;AACpD"}
|
|
1
|
+
{"version":3,"file":"recordPage.js","names":["handleRecordLoadError","isAnzuApiCancelledError","error","isInCauseChain","cause","SessionExpiredError","isAppNavigationPending","useAlerts","status","apiErrorStatus","isAnzuApiForbiddenError","showErrorT","duration","showErrorsDefault","showUnknownError","pathOf","fullPath","withoutHash","PATH_PARAM","paramsOf","record","router","route","name","match","waitForLanding","done","stopAfterEach","stopError","resolve","landed","failure","settled","navigation","useRecordPage","useRouter","useRouteHistory","useDatatablePageStore","usePageNavigation","path","controller","unmounted","options","stillHere","skipped","current","paths","names","declared","optional","key","params","findTarget","i","history","entry","isLeftAfterFailureRecently","go","target","to","back","landing","preservePageForLanding","leave","onPage","load","onMounted"],"sources":["../../../../src/domains/system/composables/recordPage.ts"],"sourcesContent":["import { onBeforeUnmount, onMounted, type Ref } from 'vue'\nimport { type NavigationFailure, type RouteLocationRaw, type RouteRecordName, type Router, useRouter } from 'vue-router'\nimport { useAlerts } from '@/domains/system/composables/alerts'\nimport {\n forgetLeftAfterFailure,\n isLeftAfterFailureRecently,\n markLeftAfterFailure,\n useRouteHistory,\n} from '@/domains/system/composables/routeHistory'\nimport { useDatatablePageStore } from '@/domains/system/store/datatablePageStore'\nimport { isAppNavigationPending, usePageNavigation } from '@/domains/system/composables/pageNavigation'\nimport { apiErrorStatus } from '@/domains/api/utils/apiErrors'\nimport { isAnzuApiCancelledError } from '@/shared/error/AnzuApiCancelledError'\nimport { isAnzuApiForbiddenError } from '@/shared/error/AnzuApiForbiddenError'\nimport { SessionExpiredError } from '@/shared/error/SessionExpiredError'\nimport { isInCauseChain } from '@/shared/error/isInCauseChain'\nimport { HTTP_STATUS_FORBIDDEN, HTTP_STATUS_NOT_FOUND } from '@/shared/statusCodes'\n\n/**\n * Shows why a record could not be loaded and says whether its page should leave.\n *\n * For the record's own get-one, not for what a page loads around it: a 404 or 403 there means the\n * record is not there for this user, a 404 of a secondary request does not. A request that was\n * stopped (the page is gone) and a session found expired (the logout is already loading) show\n * nothing and do not leave. Everything else -- a 5xx, the network, a timeout, the sign-in server --\n * shows the message `showErrorsDefault` has for it and leaves too: the page would only show an\n * empty record with live buttons. While the user is navigating to another page (`trackNavigation`)\n * it shows nothing, the message would stay there; the page's `leave` then stays put as well.\n */\nexport const handleRecordLoadError = (error: unknown, duration = -1): boolean => {\n if (isAnzuApiCancelledError(error)) return false\n if (isInCauseChain(error, (cause) => cause instanceof SessionExpiredError)) return false\n if (isAppNavigationPending()) return true\n\n const { showErrorT, showErrorsDefault, showUnknownError } = useAlerts()\n const status = apiErrorStatus(error)\n // A rejected 403 is `AnzuApiForbiddenError`, which carries no status; one let through by\n // `validateStatus` is a response code error that does.\n if (isAnzuApiForbiddenError(error) || status === HTTP_STATUS_FORBIDDEN) {\n showErrorT('common.alert.recordForbidden', duration)\n return true\n }\n if (status === HTTP_STATUS_NOT_FOUND) {\n showErrorT('common.alert.recordNotFound', duration)\n return true\n }\n if (!showErrorsDefault(error, duration)) showUnknownError(duration)\n return true\n}\n\nexport interface UseRecordPageOptions {\n /** Where to go when nothing in the history is a destination: the entity's list. */\n fallbackRouteName?: RouteRecordName\n fallbackRouteParams?: Record<string, any>\n /**\n * What the page gives its Close button: the record's sibling views and the create form. A route\n * with the record's params is skipped as that record's address only, see `leave`.\n */\n skipRouteNames?: RouteRecordName[]\n /**\n * The page's loading flag. `leave` holds it up, so the empty record's buttons never show, and the\n * page lowers it as it unmounts: the flag is often shared by every view of the entity, and the\n * next one -- a create form that loads nothing -- must not inherit it.\n */\n loading?: Ref<boolean>\n /**\n * The record's load, run on mount with the page's signal; `false` from it leaves the page (`leave`), `true` and\n * `undefined` keep it. A load the page also calls later (a refresh after a save) is fine:\n * `load: () => getData()`. Leave it out, and write the `onMounted` by hand, when the page acts on the result\n * otherwise, loads in setup or makes more requests on mount.\n */\n load?: (signal: AbortSignal) => Promise<boolean | undefined>\n}\n\nexport interface UseRecordPageReturn {\n /** For the record's get-one: stopped when the page unmounts. */\n signal: AbortSignal\n /** Back to where the user came from, else to the fallback. Resolves whether it got there. */\n leave: () => Promise<boolean>\n /** The user is still on this page and not navigating away: for a redirect after the load. */\n onPage: () => boolean\n}\n\nconst pathOf = (fullPath: string) => fullPath.split(/[?#]/, 1)[0] ?? fullPath\nconst withoutHash = (fullPath: string) => fullPath.split('#', 1)[0] ?? fullPath\n\n// A param's name, its custom regex (whose `)` may be escaped) and its modifier: `?` and `*` make it optional.\nconst PATH_PARAM = /:(\\w+)(?:\\((?:\\\\.|[^\\\\)])*\\))?([?*+])?/g\n\nconst paramsOf = (router: Router, name: RouteRecordName) => {\n const record = router.getRoutes().find((route) => route.name === name)\n if (!record) return undefined\n return [...record.path.matchAll(PATH_PARAM)].map((match) => ({\n key: match[1]!,\n optional: match[2] === '?' || match[2] === '*',\n }))\n}\n\n// `router.back()` answers nothing; its landing, or its error, is the answer.\nconst waitForLanding = (router: Router) =>\n new Promise<boolean>((resolve) => {\n const done = (landed: boolean) => {\n stopAfterEach()\n stopError()\n resolve(landed)\n }\n const stopAfterEach = router.afterEach((_to, _from, failure) => done(!failure))\n const stopError = router.onError(() => done(false))\n })\n\nconst settled = (navigation: Promise<NavigationFailure | void | undefined>) =>\n navigation.then(\n (failure) => !failure,\n () => false\n )\n\n/**\n * For a detail or edit page: aborts the record's load when the page goes, and leaves the page when\n * the load fails.\n *\n * ```ts\n * useRecordPage({\n * fallbackRouteName: '/x',\n * skipRouteNames: [...],\n * loading: detailLoading,\n * load: (signal) => fetchData(id, { signal }),\n * })\n * ```\n *\n * `false` from the loader means \"leave\"; `undefined` is a load that was superseded or stopped on\n * purpose, after which the page stays. A page that does more with the load writes its own `onMounted`\n * with the returned `signal` and `leave`, see `load`.\n *\n * While the user is navigating to another page (an async guard, a lazy chunk; `trackNavigation`),\n * the page does not leave: the user's navigation decides, and should it fail, the page stays with\n * its loading flag up. Not handled: a guard that refuses the step back can leave the address bar out\n * of step with the router.\n */\nexport function useRecordPage(options: UseRecordPageOptions = {}): UseRecordPageReturn {\n const router = useRouter()\n const { history } = useRouteHistory()\n const { preservePageForLanding } = useDatatablePageStore()\n const { onPage } = usePageNavigation()\n\n // The path, not the name: /x/1 and /x/2 share a name, and a late failure of the one must not move\n // the user off the other.\n const path = router.currentRoute.value.path\n // On it again: a failure there before no longer counts.\n forgetLeftAfterFailure(path)\n const controller = new AbortController()\n let unmounted = false\n onBeforeUnmount(() => {\n unmounted = true\n controller.abort()\n // Raised by `leave`, or left up by the load just aborted, whose `finally` no longer owns it. The\n // next page mounts after this one is gone and raises it again for its own load.\n if (options.loading) options.loading.value = false\n })\n\n const stillHere = () => !unmounted && router.currentRoute.value.path === path\n\n // Unlike the Close button, which skips every entry with the record's route name so that closing\n // one row never opens another, this goes back to the view the user actually came from -- another\n // record of the same entity included. Only the addresses of THIS record are skipped, compared\n // without query and hash (a tab in the query is the same view), plus the create form the record\n // may have been saved from: back there, Save would create a second record.\n const skipped = () => {\n const current = router.currentRoute.value\n const paths = new Set<string>([pathOf(current.fullPath)])\n const names = new Set<RouteRecordName>()\n for (const name of options.skipRouteNames ?? []) {\n const declared = paramsOf(router, name)\n if (!declared) continue\n // A route without params is one address; one the record cannot fill is skipped by name.\n if (declared.length === 0 || declared.some(({ key, optional }) => !optional && !(key in current.params))) {\n names.add(name)\n continue\n }\n const params = Object.fromEntries(\n declared.filter(({ key }) => key in current.params).map(({ key }) => [key, current.params[key]])\n )\n try {\n paths.add(pathOf(router.resolve({ name, params }).fullPath))\n } catch {\n names.add(name)\n }\n }\n return { paths, names }\n }\n\n const findTarget = (): string | undefined => {\n const { paths, names } = skipped()\n for (let i = history.value.length - 1; i >= 0; i--) {\n const entry = history.value[i]!\n // An address a page just left after a failure is no destination either: two failing records\n // next to each other in the history -- A, then B, while the backend is down -- would send the\n // user back and forth for as long as the outage lasts, B leaving to A, which finds B as its\n // newest entry. Skipped, the chain ends at the list.\n if (paths.has(pathOf(entry.fullPath)) || isLeftAfterFailureRecently(pathOf(entry.fullPath))) continue\n if (entry.name !== undefined && entry.name !== null && names.has(entry.name as RouteRecordName)) continue\n return entry.fullPath\n }\n return undefined\n }\n\n // Leaves no trace of the failed address: a step back when the target is the entry right before\n // it, a replace otherwise -- a push would let the browser's Back return to the page that just\n // failed, which would fail and leave again.\n const go = async (to: RouteLocationRaw): Promise<boolean> => {\n let target: string\n try {\n target = router.resolve(to).fullPath\n } catch {\n return false\n }\n // Without the hash: a list's filter writes it under the router, so the record's `state.back`\n // names the list without it, while the route history has it. The filter also keeps the list\n // entry's `current` in step, so the step back lands on the filter, and adds no entry.\n const back = router.options.history.state.back\n if (typeof back === 'string' && withoutHash(back) === withoutHash(target)) {\n const landing = waitForLanding(router)\n preservePageForLanding(router)\n router.back()\n return landing\n }\n const navigation = router.replace(to)\n preservePageForLanding(router, { to, navigation })\n return settled(navigation)\n }\n\n const leave = async (): Promise<boolean> => {\n if (!stillHere()) return false\n // Held up for good on a leave that fails: the record is not loaded, and its buttons -- Save\n // creating a new record, Delete with the address's id -- must not come back. The Close button,\n // which no page ties to loading, is the way out then.\n if (options.loading) options.loading.value = true\n // The user is on the way to another page: that navigation decides, ours would cancel it.\n if (!onPage()) return false\n markLeftAfterFailure(path)\n const target = findTarget()\n if (target !== undefined && (await go(target))) return true\n if (!stillHere() || !onPage() || options.fallbackRouteName === undefined) return false\n return go({ name: options.fallbackRouteName, params: options.fallbackRouteParams })\n }\n\n const { load } = options\n if (load) {\n onMounted(async () => {\n if ((await load(controller.signal)) === false) await leave()\n })\n }\n\n return { signal: controller.signal, leave, onPage }\n}\n"],"mappings":"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"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { readonly as e, ref as t } from "vue";
|
|
2
|
-
|
|
3
|
-
var n = t([]), r = /* @__PURE__ */ new Map(),
|
|
2
|
+
// src/domains/system/composables/routeHistory.ts
|
|
3
|
+
var n = t([]), r = 0, i = /* @__PURE__ */ new Map(), a = 6e4, o = (e) => {
|
|
4
4
|
let t = Date.now();
|
|
5
|
-
for (let [e, n] of
|
|
6
|
-
|
|
7
|
-
}, o = (e) => {
|
|
8
|
-
r.delete(e);
|
|
5
|
+
for (let [e, n] of i) t - n >= a && i.delete(e);
|
|
6
|
+
i.set(e, t);
|
|
9
7
|
}, s = (e) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
i.delete(e);
|
|
9
|
+
}, c = (e) => {
|
|
10
|
+
let t = i.get(e);
|
|
11
|
+
return t === void 0 ? !1 : Date.now() - t < a || (i.delete(e), !1);
|
|
12
|
+
}, l = t([]), u = 10;
|
|
13
|
+
function d() {
|
|
14
14
|
let t = (e) => {
|
|
15
|
-
if (
|
|
15
|
+
if (l.value.includes(e.name)) return;
|
|
16
16
|
let [t] = e.fullPath.split("#");
|
|
17
17
|
t === window.location.pathname + window.location.search && e.hash !== window.location.hash && (e = {
|
|
18
18
|
...e,
|
|
@@ -23,32 +23,39 @@ function u() {
|
|
|
23
23
|
r && r.fullPath === e.fullPath || (n.value.push({
|
|
24
24
|
name: e.name,
|
|
25
25
|
fullPath: e.fullPath
|
|
26
|
-
}), n.value.length >
|
|
27
|
-
}, i = (e) => {
|
|
28
|
-
c.value = e;
|
|
26
|
+
}), n.value.length > u && n.value.shift());
|
|
29
27
|
}, a = (e) => {
|
|
30
|
-
|
|
28
|
+
l.value = e;
|
|
31
29
|
}, o = (e) => {
|
|
30
|
+
l.value.includes(e) || l.value.push(e);
|
|
31
|
+
}, s = (e) => {
|
|
32
32
|
for (let t = n.value.length - 1; t >= 0; t--) if (e(n.value[t])) return n.value[t];
|
|
33
33
|
};
|
|
34
34
|
return {
|
|
35
35
|
history: e(n),
|
|
36
36
|
addRoute: t,
|
|
37
37
|
clearHistory: () => {
|
|
38
|
-
n.value = [], r.clear();
|
|
38
|
+
n.value = [], r++, i.clear();
|
|
39
39
|
},
|
|
40
|
-
setBlacklistedRoutes:
|
|
41
|
-
addBlacklistedRoute:
|
|
40
|
+
setBlacklistedRoutes: a,
|
|
41
|
+
addBlacklistedRoute: o,
|
|
42
42
|
navigateBack: (e, t = {}) => {
|
|
43
|
-
let { skipRouteNames:
|
|
44
|
-
if (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
let { skipRouteNames: i, fallbackRouteName: a, fallbackRouteParams: o } = t, c = e.currentRoute.value, l = i ?? [], u = (e) => e.fullPath === c.fullPath || c.name !== void 0 && e.name === c.name, d = s((e) => !u(e) && !l.includes(e.name));
|
|
44
|
+
if (d) {
|
|
45
|
+
let t = r, i = e.push(d.fullPath);
|
|
46
|
+
return Promise.resolve(i).then((e) => {
|
|
47
|
+
if (e || t !== r) return;
|
|
48
|
+
let i = n.value.indexOf(d);
|
|
49
|
+
n.value.splice(i === -1 ? 0 : i);
|
|
50
|
+
}, () => void 0), {
|
|
51
|
+
to: d.fullPath,
|
|
52
|
+
navigation: i
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
if (a) {
|
|
49
56
|
let t = {
|
|
50
|
-
name:
|
|
51
|
-
params:
|
|
57
|
+
name: a,
|
|
58
|
+
params: o
|
|
52
59
|
};
|
|
53
60
|
return {
|
|
54
61
|
to: t,
|
|
@@ -59,7 +66,6 @@ function u() {
|
|
|
59
66
|
}
|
|
60
67
|
};
|
|
61
68
|
}
|
|
62
|
-
|
|
63
|
-
export { o as forgetLeftAfterFailure, s as isLeftAfterFailureRecently, a as markLeftAfterFailure, u as useRouteHistory };
|
|
69
|
+
export { s as forgetLeftAfterFailure, c as isLeftAfterFailureRecently, o as markLeftAfterFailure, d as useRouteHistory };
|
|
64
70
|
|
|
65
71
|
//# sourceMappingURL=routeHistory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routeHistory.js","names":["history","ref","leftAfterFailure","LEFT_AFTER_FAILURE_MS","markLeftAfterFailure","now","left","at","path","forgetLeftAfterFailure","isLeftAfterFailureRecently","blacklistedRouteNames","MAX_HISTORY","useRouteHistory","addRoute","route","pathAndQuery","lastRoute","setBlacklistedRoutes","routeNames","addBlacklistedRoute","routeName","findRouteBack","i","isDestination","readonly","options","current","router","skip","skipRouteNames","isCurrent","entry","fallbackRouteName","fallback","fallbackRouteParams"],"sources":["../../../../src/domains/system/composables/routeHistory.ts"],"sourcesContent":["import type {\n NavigationFailure,\n RouteLocationNormalized,\n RouteLocationRaw,\n RouteRecordName,\n RouteRecordNameGeneric,\n Router,\n} from 'vue-router'\nimport { readonly, type Ref, ref } from 'vue'\n\n/** A visited route, as far as going back to it needs. */\nexport interface RouteHistoryEntry {\n name: RouteRecordNameGeneric\n fullPath: string\n}\n\n// Module state, so the history is one list per document. A test that fills it has to clear it\n// again (`clearHistory`), or the next test in the file reads what the previous one left behind.\nconst history = ref<RouteHistoryEntry[]>([])\n// Paths a record page left because its record failed, with when; read by `useRecordPage`, which\n// skips them as a destination for a while. Here so that `clearHistory` clears it with the history.\nconst leftAfterFailure = new Map<string, number>()\nconst LEFT_AFTER_FAILURE_MS = 60_000\n\n/** For `useRecordPage` only. */\nexport const markLeftAfterFailure = (path: string) => {\n const now = Date.now()\n // Expired ones go here too: a path is otherwise only dropped when it is looked up again.\n for (const [left, at] of leftAfterFailure) if (now - at >= LEFT_AFTER_FAILURE_MS) leftAfterFailure.delete(left)\n leftAfterFailure.set(path, now)\n}\n\n/** For `useRecordPage` only: the page is there again, so a failure before no longer counts. */\nexport const forgetLeftAfterFailure = (path: string) => {\n leftAfterFailure.delete(path)\n}\n\n/** For `useRecordPage` only. */\nexport const isLeftAfterFailureRecently = (path: string) => {\n const at = leftAfterFailure.get(path)\n if (at === undefined) return false\n if (Date.now() - at < LEFT_AFTER_FAILURE_MS) return true\n leftAfterFailure.delete(path)\n return false\n}\nconst blacklistedRouteNames = ref<RouteRecordName[]>([])\n/**\n * How many routes back the history reaches. Note that `addRoute` drops only CONSECUTIVE duplicates,\n * so a user bouncing A -> B -> A -> B fills four of these slots and can push the listing they want\n * to return to out of the window. `fallbackRouteName` is what catches that.\n */\nconst MAX_HISTORY = 10\n\n/** Where `navigateBack` goes and its navigation, as `router.push` answers it. */\nexport interface NavigateBackTarget {\n to: RouteLocationRaw\n navigation: Promise<NavigationFailure | void | undefined>\n}\n\nexport interface NavigateBackOptions {\n /**\n * Route names that are not a destination -- typically the sibling views of the record being\n * closed and the create form it may have been reached from. The CURRENT route is always skipped\n * on top of these, so there is no need to name it here.\n */\n skipRouteNames?: RouteRecordName[]\n /** Where to go when the walk finds nothing -- a tab opened straight on the record. */\n fallbackRouteName?: RouteRecordName\n fallbackRouteParams?: Record<string, any>\n}\n\nexport function useRouteHistory(): {\n history: Readonly<Ref<readonly RouteHistoryEntry[]>>\n addRoute: (route: RouteLocationNormalized) => void\n clearHistory: () => void\n // The admin's typed router narrows `RouteRecordName` to its route names: a misspelled one does not compile.\n setBlacklistedRoutes: (routeNames: RouteRecordName[]) => void\n addBlacklistedRoute: (routeName: RouteRecordName) => void\n /** Returns where it goes and its navigation, `undefined` for a step back in the browser's history. */\n navigateBack: (router: Router, options?: NavigateBackOptions) => NavigateBackTarget | undefined\n} {\n const addRoute = (route: RouteLocationNormalized) => {\n if (blacklistedRouteNames.value.includes(route.name as RouteRecordName)) {\n return\n }\n\n // A list filter rewrites its hash with `history.replaceState`, which the router never sees. On a\n // push the address bar still shows the route being left, so its hash is the one to come back to.\n const [pathAndQuery] = route.fullPath.split('#')\n if (pathAndQuery === window.location.pathname + window.location.search && route.hash !== window.location.hash) {\n route = { ...route, hash: window.location.hash, fullPath: pathAndQuery + window.location.hash }\n }\n\n const lastRoute = history.value[history.value.length - 1]\n if (lastRoute && lastRoute.fullPath === route.fullPath) {\n return\n }\n\n history.value.push({ name: route.name, fullPath: route.fullPath })\n if (history.value.length > MAX_HISTORY) {\n history.value.shift()\n }\n }\n\n /** REPLACES the list. Two callers would overwrite each other -- to add one, use `addBlacklistedRoute`. */\n const setBlacklistedRoutes = (routeNames: RouteRecordName[]) => {\n blacklistedRouteNames.value = routeNames\n }\n\n const addBlacklistedRoute = (routeName: RouteRecordName) => {\n if (!blacklistedRouteNames.value.includes(routeName)) {\n blacklistedRouteNames.value.push(routeName)\n }\n }\n\n // Internal on purpose. A caller reaching for it directly would get the walk WITHOUT the\n // current-route exclusion `navigateBack` adds -- which is the whole trap `navigateBack` exists\n // to close.\n const findRouteBack = (isDestination: (route: RouteHistoryEntry) => boolean): RouteHistoryEntry | undefined => {\n for (let i = history.value.length - 1; i >= 0; i--) {\n if (isDestination(history.value[i]!)) {\n return history.value[i]\n }\n }\n return undefined\n }\n\n const clearHistory = () => {\n history.value = []\n leftAfterFailure.clear()\n }\n\n const navigateBack = (router: Router, options: NavigateBackOptions = {}): NavigateBackTarget | undefined => {\n const { skipRouteNames, fallbackRouteName, fallbackRouteParams } = options\n const current = router.currentRoute.value\n const skip: readonly RouteRecordNameGeneric[] = skipRouteNames ?? []\n\n // The route we are on is never a place to go back to. `addRoute` runs in `beforeEach`, so a\n // navigation that a later guard cancels still records the route we never left -- and pushing\n // that again is a silent no-op, which reads as the button doing nothing at all. Callers\n // therefore do not name their own route in `skipRouteNames`.\n //\n // Both tests sit INSIDE the walk rather than filtering its result: a route name is optional in\n // vue-router, and a nameless current route can only be recognised by its path -- rejecting the\n // candidate afterwards would stop the walk at it instead of carrying on to the entry before.\n // Names are compared with `===` so a symbol name counts too, but only when the current route\n // has one: two different nameless routes are both `undefined` and are not the same place.\n const isCurrent = (route: RouteHistoryEntry) =>\n route.fullPath === current.fullPath || (current.name !== undefined && route.name === current.name)\n\n const route = findRouteBack((entry) => !isCurrent(entry) && !skip.includes(entry.name))\n\n if (route) {\n return { to: route.fullPath, navigation: router.push(route.fullPath) }\n }\n if (fallbackRouteName) {\n const fallback = { name: fallbackRouteName, params: fallbackRouteParams }\n return { to: fallback, navigation: router.push(fallback) }\n }\n router.back()\n return undefined\n }\n\n return {\n history: readonly(history),\n addRoute,\n clearHistory,\n setBlacklistedRoutes,\n addBlacklistedRoute,\n navigateBack,\n }\n}\n"],"mappings":";;AAkBA,IAAMA,IAAUC,EAAyB,CAAC,CAAC,GAGrCC,oBAAmB,IAAI,IAAoB,GAC3CC,IAAwB,KAGjBC,KAAwB,MAAiB;CACpD,IAAMC,IAAM,KAAK,IAAI;CAErB,KAAK,IAAM,CAACC,GAAMC,MAAOL,GAAkB,AAAIG,IAAME,KAAMJ,KAAuBD,EAAiB,OAAOI,CAAI;CAC9G,EAAiB,IAAIE,GAAMH,CAAG;AAChC,GAGaI,KAA0B,MAAiB;CACtD,EAAiB,OAAOD,CAAI;AAC9B,GAGaE,KAA8B,MAAiB;CAC1D,IAAMH,IAAKL,EAAiB,IAAIM,CAAI;CAIpC,OAHID,MAAO,KAAA,IAAkB,KACzB,KAAK,IAAI,IAAIA,IAAKJ,MACtBD,EAAiB,OAAOM,CAAI,GACrB;AACT,GACMG,IAAwBV,EAAuB,CAAC,CAAC,GAMjDW,IAAc;AAoBpB,SAAgBC,IASd;CACA,IAAMC,KAAY,MAAmC;EACnD,IAAIH,EAAsB,MAAM,SAASI,EAAM,IAAuB,GACpE;EAKF,IAAM,CAACC,KAAgBD,EAAM,SAAS,MAAM,GAAG;EAC/C,AAAIC,MAAiB,OAAO,SAAS,WAAW,OAAO,SAAS,UAAUD,EAAM,SAAS,OAAO,SAAS,SACvG,IAAQ;GAAE,GAAGA;GAAO,MAAM,OAAO,SAAS;GAAM,UAAUC,IAAe,OAAO,SAAS;EAAK;EAGhG,IAAMC,IAAYjB,EAAQ,MAAMA,EAAQ,MAAM,SAAS;EACvD,AAAIiB,KAAaA,EAAU,aAAaF,EAAM,aAI9Cf,EAAQ,MAAM,KAAK;GAAE,MAAMe,EAAM;GAAM,UAAUA,EAAM;EAAS,CAAC,GAC7Df,EAAQ,MAAM,SAASY,KACzBZ,EAAQ,MAAM,MAAM;CAExB,GAGMkB,KAAwB,MAAkC;EAC9D,EAAsB,QAAQC;CAChC,GAEMC,KAAuB,MAA+B;EAC1D,AAAKT,EAAsB,MAAM,SAASU,CAAS,KACjDV,EAAsB,MAAM,KAAKU,CAAS;CAE9C,GAKMC,KAAiB,MAAwF;EAC7G,KAAK,IAAIC,IAAIvB,EAAQ,MAAM,SAAS,GAAGuB,KAAK,GAAG,KAC7C,IAAIC,EAAcxB,EAAQ,MAAMuB,EAAG,GACjC,OAAOvB,EAAQ,MAAMuB;CAI3B;CAsCA,OAAO;EACL,SAASE,EAASzB,CAAO;EACzB;EACA,oBAvCyB;GAEzB,AADA,EAAQ,QAAQ,CAAC,GACjBE,EAAiB,MAAM;EACzB;EAqCE;EACA;EACA,eArCoB,GAAgB,IAA+B,CAAC,MAAsC;GAC1G,IAAM,EAAE,mBAAgB,sBAAmB,2BAAwBwB,GAC7DC,IAAUC,EAAO,aAAa,OAC9BC,IAA0CC,KAAkB,CAAC,GAY7DC,KAAa,MACjBhB,EAAM,aAAaY,EAAQ,YAAaA,EAAQ,SAAS,KAAA,KAAaZ,EAAM,SAASY,EAAQ,MAEzFZ,IAAQO,GAAe,MAAU,CAACS,EAAUC,CAAK,KAAK,CAACH,EAAK,SAASG,EAAM,IAAI,CAAC;GAEtF,IAAIjB,GACF,OAAO;IAAE,IAAIA,EAAM;IAAU,YAAYa,EAAO,KAAKb,EAAM,QAAQ;GAAE;GAEvE,IAAIkB,GAAmB;IACrB,IAAMC,IAAW;KAAE,MAAMD;KAAmB,QAAQE;IAAoB;IACxE,OAAO;KAAE,IAAID;KAAU,YAAYN,EAAO,KAAKM,CAAQ;IAAE;GAC3D;GACA,EAAO,KAAK;EAEd;CASA;AACF"}
|
|
1
|
+
{"version":3,"file":"routeHistory.js","names":["history","ref","historyGeneration","leftAfterFailure","LEFT_AFTER_FAILURE_MS","markLeftAfterFailure","now","left","at","path","forgetLeftAfterFailure","isLeftAfterFailureRecently","blacklistedRouteNames","MAX_HISTORY","useRouteHistory","addRoute","route","pathAndQuery","lastRoute","setBlacklistedRoutes","routeNames","addBlacklistedRoute","routeName","findRouteBack","i","isDestination","readonly","options","current","router","skip","skipRouteNames","isCurrent","entry","generation","navigation","failure","fallbackRouteName","fallback","fallbackRouteParams"],"sources":["../../../../src/domains/system/composables/routeHistory.ts"],"sourcesContent":["import type {\n NavigationFailure,\n RouteLocationNormalized,\n RouteLocationRaw,\n RouteRecordName,\n RouteRecordNameGeneric,\n Router,\n} from 'vue-router'\nimport { readonly, type Ref, ref } from 'vue'\n\n/** A visited route, as far as going back to it needs. */\nexport interface RouteHistoryEntry {\n name: RouteRecordNameGeneric\n fullPath: string\n}\n\n// Module state, so the history is one list per document. A test that fills it has to clear it\n// again (`clearHistory`), or the next test in the file reads what the previous one left behind.\nconst history = ref<RouteHistoryEntry[]>([])\n// Bumped by `clearHistory`, so that a Close landing after it leaves the new list alone.\nlet historyGeneration = 0\n// Paths a record page left because its record failed, with when; read by `useRecordPage`, which\n// skips them as a destination for a while. Here so that `clearHistory` clears it with the history.\nconst leftAfterFailure = new Map<string, number>()\nconst LEFT_AFTER_FAILURE_MS = 60_000\n\n/** For `useRecordPage` only. */\nexport const markLeftAfterFailure = (path: string) => {\n const now = Date.now()\n // Expired ones go here too: a path is otherwise only dropped when it is looked up again.\n for (const [left, at] of leftAfterFailure) if (now - at >= LEFT_AFTER_FAILURE_MS) leftAfterFailure.delete(left)\n leftAfterFailure.set(path, now)\n}\n\n/** For `useRecordPage` only: the page is there again, so a failure before no longer counts. */\nexport const forgetLeftAfterFailure = (path: string) => {\n leftAfterFailure.delete(path)\n}\n\n/** For `useRecordPage` only. */\nexport const isLeftAfterFailureRecently = (path: string) => {\n const at = leftAfterFailure.get(path)\n if (at === undefined) return false\n if (Date.now() - at < LEFT_AFTER_FAILURE_MS) return true\n leftAfterFailure.delete(path)\n return false\n}\nconst blacklistedRouteNames = ref<RouteRecordName[]>([])\n/**\n * How many routes back the history reaches. Note that `addRoute` drops only CONSECUTIVE duplicates,\n * so a user bouncing A -> B -> A -> B fills four of these slots and can push the listing they want\n * to return to out of the window. `fallbackRouteName` is what catches that.\n */\nconst MAX_HISTORY = 10\n\n/** Where `navigateBack` goes and its navigation, as `router.push` answers it. */\nexport interface NavigateBackTarget {\n to: RouteLocationRaw\n navigation: Promise<NavigationFailure | void | undefined>\n}\n\nexport interface NavigateBackOptions {\n /**\n * Route names that are not a destination -- typically the sibling views of the record being\n * closed and the create form it may have been reached from. The CURRENT route is always skipped\n * on top of these, so there is no need to name it here.\n */\n skipRouteNames?: RouteRecordName[]\n /** Where to go when the walk finds nothing -- a tab opened straight on the record. */\n fallbackRouteName?: RouteRecordName\n fallbackRouteParams?: Record<string, any>\n}\n\nexport function useRouteHistory(): {\n history: Readonly<Ref<readonly RouteHistoryEntry[]>>\n addRoute: (route: RouteLocationNormalized) => void\n clearHistory: () => void\n // The admin's typed router narrows `RouteRecordName` to its route names: a misspelled one does not compile.\n setBlacklistedRoutes: (routeNames: RouteRecordName[]) => void\n addBlacklistedRoute: (routeName: RouteRecordName) => void\n /** Returns where it goes and its navigation, `undefined` for a step back in the browser's history. */\n navigateBack: (router: Router, options?: NavigateBackOptions) => NavigateBackTarget | undefined\n} {\n const addRoute = (route: RouteLocationNormalized) => {\n if (blacklistedRouteNames.value.includes(route.name as RouteRecordName)) {\n return\n }\n\n // A list filter rewrites its hash with `history.replaceState`, which the router never sees. On a\n // push the address bar still shows the route being left, so its hash is the one to come back to.\n const [pathAndQuery] = route.fullPath.split('#')\n if (pathAndQuery === window.location.pathname + window.location.search && route.hash !== window.location.hash) {\n route = { ...route, hash: window.location.hash, fullPath: pathAndQuery + window.location.hash }\n }\n\n const lastRoute = history.value[history.value.length - 1]\n if (lastRoute && lastRoute.fullPath === route.fullPath) {\n return\n }\n\n history.value.push({ name: route.name, fullPath: route.fullPath })\n if (history.value.length > MAX_HISTORY) {\n history.value.shift()\n }\n }\n\n /** REPLACES the list. Two callers would overwrite each other -- to add one, use `addBlacklistedRoute`. */\n const setBlacklistedRoutes = (routeNames: RouteRecordName[]) => {\n blacklistedRouteNames.value = routeNames\n }\n\n const addBlacklistedRoute = (routeName: RouteRecordName) => {\n if (!blacklistedRouteNames.value.includes(routeName)) {\n blacklistedRouteNames.value.push(routeName)\n }\n }\n\n // Internal on purpose. A caller reaching for it directly would get the walk WITHOUT the\n // current-route exclusion `navigateBack` adds -- which is the whole trap `navigateBack` exists\n // to close.\n const findRouteBack = (isDestination: (route: RouteHistoryEntry) => boolean): RouteHistoryEntry | undefined => {\n for (let i = history.value.length - 1; i >= 0; i--) {\n if (isDestination(history.value[i]!)) {\n return history.value[i]\n }\n }\n return undefined\n }\n\n const clearHistory = () => {\n history.value = []\n historyGeneration++\n leftAfterFailure.clear()\n }\n\n const navigateBack = (router: Router, options: NavigateBackOptions = {}): NavigateBackTarget | undefined => {\n const { skipRouteNames, fallbackRouteName, fallbackRouteParams } = options\n const current = router.currentRoute.value\n const skip: readonly RouteRecordNameGeneric[] = skipRouteNames ?? []\n\n // The route we are on is never a place to go back to. `addRoute` runs in `beforeEach`, so a\n // navigation that a later guard cancels still records the route we never left -- and pushing\n // that again is a silent no-op, which reads as the button doing nothing at all. Callers\n // therefore do not name their own route in `skipRouteNames`.\n //\n // Both tests sit INSIDE the walk rather than filtering its result: a route name is optional in\n // vue-router, and a nameless current route can only be recognised by its path -- rejecting the\n // candidate afterwards would stop the walk at it instead of carrying on to the entry before.\n // Names are compared with `===` so a symbol name counts too, but only when the current route\n // has one: two different nameless routes are both `undefined` and are not the same place.\n const isCurrent = (route: RouteHistoryEntry) =>\n route.fullPath === current.fullPath || (current.name !== undefined && route.name === current.name)\n\n const route = findRouteBack((entry) => !isCurrent(entry) && !skip.includes(entry.name))\n\n if (route) {\n const generation = historyGeneration\n const navigation = router.push(route.fullPath)\n // Back on `route`, what came after it is behind the user, the route being left included, which\n // this navigation's `beforeEach` records. Kept, it is the next Close's destination: detail A, a\n // link to detail B, Close to A, and Close on A went back to B, over and over. Dropped once the\n // navigation has landed, so one that a guard stops (unsaved changes) or a second click cancels\n // leaves the history as it was. `Promise.resolve`: a test double's `push` may answer nothing.\n Promise.resolve(navigation).then(\n (failure) => {\n if (failure || generation !== historyGeneration) return\n // Gone without `clearHistory`, `route` was pushed out at the front (`MAX_HISTORY`) by the\n // route being left: all that is still here came after it.\n const at = history.value.indexOf(route)\n history.value.splice(at === -1 ? 0 : at)\n },\n () => undefined\n )\n return { to: route.fullPath, navigation }\n }\n if (fallbackRouteName) {\n const fallback = { name: fallbackRouteName, params: fallbackRouteParams }\n return { to: fallback, navigation: router.push(fallback) }\n }\n router.back()\n return undefined\n }\n\n return {\n history: readonly(history),\n addRoute,\n clearHistory,\n setBlacklistedRoutes,\n addBlacklistedRoute,\n navigateBack,\n }\n}\n"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/domains/system/composables/sentry.ts
|
|
2
2
|
var e = null, t = () => (e ||= import("@sentry/vue").then((e) => e).catch(() => null), e);
|
|
3
3
|
function n(e = "common-admin") {
|
|
4
4
|
let n = `[${e}]`, r = (e) => {
|
|
@@ -50,7 +50,6 @@ function n(e = "common-admin") {
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
//#endregion
|
|
54
53
|
export { n as useSentry };
|
|
55
54
|
|
|
56
55
|
//# sourceMappingURL=sentry.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as e, readonly as t, ref as n } from "vue";
|
|
2
2
|
import { useStorage as r } from "@vueuse/core";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/composables/themeSettings.ts
|
|
4
4
|
var i = {
|
|
5
5
|
Light: "light",
|
|
6
6
|
Dark: "dark",
|
|
@@ -55,7 +55,6 @@ function m() {
|
|
|
55
55
|
setThemeLight: r
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
//#endregion
|
|
59
58
|
export { a as Theme, i as ThemeSettings, m as useTheme };
|
|
60
59
|
|
|
61
60
|
//# sourceMappingURL=themeSettings.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useStorage as e } from "@vueuse/core";
|
|
2
|
-
|
|
2
|
+
// src/domains/system/composables/useDebugFeatures.ts
|
|
3
3
|
var t = "debugFeatures";
|
|
4
4
|
function n() {
|
|
5
5
|
return { showDebugFeatures: e(t, !1, localStorage, { writeDefaults: !1 }) };
|
|
6
6
|
}
|
|
7
|
-
//#endregion
|
|
8
7
|
export { n as useDebugFeatures };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=useDebugFeatures.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useStorage as e } from "@vueuse/core";
|
|
2
|
-
|
|
2
|
+
// src/domains/system/composables/useUnreleasedFeatures.ts
|
|
3
3
|
var t = "unreleasedFeatures";
|
|
4
4
|
function n() {
|
|
5
5
|
return { showUnreleasedFeatures: e(t, !1, localStorage, { writeDefaults: !1 }) };
|
|
6
6
|
}
|
|
7
|
-
//#endregion
|
|
8
7
|
export { n as useUnreleasedFeatures };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=useUnreleasedFeatures.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as e } from "vue";
|
|
2
2
|
import { useDocumentVisibility as t } from "@vueuse/core";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/composables/useUserActivity.ts
|
|
4
4
|
function n() {
|
|
5
5
|
let n = t();
|
|
6
6
|
return {
|
|
@@ -8,7 +8,6 @@ function n() {
|
|
|
8
8
|
visibility: n
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { n as useUserActivity };
|
|
13
12
|
|
|
14
13
|
//# sourceMappingURL=useUserActivity.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import e from "./FlagCountry.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
|
|
2
|
+
// src/domains/system/flags/components/FlagCountry.vue
|
|
3
3
|
var t = e;
|
|
4
|
-
//#endregion
|
|
5
4
|
export { t as default };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=FlagCountry.js.map
|
package/dist/domains/system/flags/components/FlagCountry.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -2,7 +2,7 @@ import e from "./FlagSk.js";
|
|
|
2
2
|
import t from "./FlagEn.js";
|
|
3
3
|
import n from "./FlagEmpty.js";
|
|
4
4
|
import { computed as r, createBlock as i, createElementBlock as a, defineComponent as o, openBlock as s, resolveDynamicComponent as c } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/domains/system/flags/components/FlagCountry.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var l = { class: "flag" }, u = /*@__PURE__*/ o({
|
|
7
7
|
__name: "FlagCountry",
|
|
8
8
|
props: {
|
|
@@ -20,7 +20,6 @@ var l = { class: "flag" }, u = /*@__PURE__*/ o({
|
|
|
20
20
|
return (e, t) => (s(), a("div", l, [(s(), i(c(d.value), { "data-cy": o.dataCy }, null, 8, ["data-cy"]))]));
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
//#endregion
|
|
24
23
|
export { u as default };
|
|
25
24
|
|
|
26
25
|
//# sourceMappingURL=FlagCountry.vue_vue_type_script_setup_true_lang.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/flags/components/FlagEmpty.vue
|
|
4
4
|
var i = {}, a = {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
viewBox: "0 0 900 600"
|
|
@@ -13,7 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
}, null, -1)]]);
|
|
14
14
|
}
|
|
15
15
|
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
16
|
-
//#endregion
|
|
17
16
|
export { s as default };
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=FlagEmpty.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock as t, createStaticVNode as n, openBlock as r } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/flags/components/FlagEn.vue
|
|
4
4
|
var i = {}, a = {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -10,7 +10,6 @@ function o(e, i) {
|
|
|
10
10
|
return r(), t("svg", a, [...i[0] ||= [n("<path fill=\"#b22234\" d=\"M0 0h7410v3900H0z\"></path><path d=\"M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0\" stroke=\"#fff\" stroke-width=\"300\"></path><path fill=\"#3c3b6e\" d=\"M0 0h2964v2100H0z\"></path><g fill=\"#fff\"><g id=\"d\"><g id=\"c\"><g id=\"e\"><g id=\"b\"><path id=\"a\" d=\"M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z\"></path><use xlink:href=\"#a\" y=\"420\"></use><use xlink:href=\"#a\" y=\"840\"></use><use xlink:href=\"#a\" y=\"1260\"></use></g><use xlink:href=\"#a\" y=\"1680\"></use></g><use xlink:href=\"#b\" x=\"247\" y=\"210\"></use></g><use xlink:href=\"#c\" x=\"494\"></use></g><use xlink:href=\"#d\" x=\"988\"></use><use xlink:href=\"#c\" x=\"1976\"></use><use xlink:href=\"#e\" x=\"2470\"></use></g>", 4)]]);
|
|
11
11
|
}
|
|
12
12
|
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { s as default };
|
|
15
14
|
|
|
16
15
|
//# sourceMappingURL=FlagEn.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import { createElementBlock as t, createStaticVNode as n, openBlock as r } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/flags/components/FlagSk.vue
|
|
4
4
|
var i = {}, a = {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
viewBox: "0 0 900 600"
|
|
@@ -9,7 +9,6 @@ function o(e, i) {
|
|
|
9
9
|
return r(), t("svg", a, [...i[0] ||= [n("<path fill=\"#ee1c25\" d=\"M0 0h900v600H0z\"></path><path fill=\"#0b4ea2\" d=\"M0 0h900v400H0z\"></path><path fill=\"#fff\" d=\"M0 0h900v200H0z\"></path><path d=\"M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z\" fill=\"#fff\"></path><path d=\"M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z\" fill=\"#ee1c25\"></path><path d=\"M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z\" fill=\"#fff\"></path><path d=\"M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z\" fill=\"#0b4ea2\"></path>", 7)]]);
|
|
10
10
|
}
|
|
11
11
|
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
12
|
-
//#endregion
|
|
13
12
|
export { s as default };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=FlagSk.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isUndefined as e } from "../../../shared/utils/common.js";
|
|
2
2
|
import { ref as t } from "vue";
|
|
3
3
|
import { NavigationFailureType as n, isNavigationFailure as r } from "vue-router";
|
|
4
|
-
|
|
4
|
+
// src/domains/system/store/datatablePageStore.ts
|
|
5
5
|
var i = t({}), a = t(!1), o = "__unscoped", s, c = (e, t) => typeof e == "string" && typeof t == "string" ? `${e}_${t}` : o;
|
|
6
6
|
function l() {
|
|
7
7
|
return {
|
|
@@ -36,7 +36,6 @@ function l() {
|
|
|
36
36
|
consumeStoredPage: (e) => a.value ? (a.value = !1, i.value[e] ?? null) : null
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
39
|
export { c as datatablePageKey, l as useDatatablePageStore };
|
|
41
40
|
|
|
42
41
|
//# sourceMappingURL=datatablePageStore.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import e from "./ASystemBar.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
|
|
2
|
+
// src/domains/system/systemBar/components/ASystemBar.vue
|
|
3
3
|
var t = e;
|
|
4
|
-
//#endregion
|
|
5
4
|
export { t as default };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=ASystemBar.js.map
|
package/dist/domains/system/systemBar/components/ASystemBar.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useSystemBar as a } from "../composables/systemBar.js";
|
|
|
6
6
|
import { computed as o, createBlock as s, createCommentVNode as c, createElementVNode as l, defineComponent as u, onBeforeUnmount as d, openBlock as f, ref as p, resolveDynamicComponent as m, watch as h, withCtx as g } from "vue";
|
|
7
7
|
import { useIntervalFn as _ } from "@vueuse/core";
|
|
8
8
|
import { VAppBar as v } from "vuetify/components/VAppBar";
|
|
9
|
-
|
|
9
|
+
// src/domains/system/systemBar/components/ASystemBar.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var y = { class: "text-center w-100 text-body-small pb-1" }, b = 5, x = /*@__PURE__*/ u({
|
|
11
11
|
__name: "ASystemBar",
|
|
12
12
|
props: {
|
|
@@ -68,7 +68,6 @@ var y = { class: "text-center w-100 text-body-small pb-1" }, b = 5, x = /*@__PUR
|
|
|
68
68
|
})) : c("", !0);
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
|
-
//#endregion
|
|
72
71
|
export { x as default };
|
|
73
72
|
|
|
74
73
|
//# sourceMappingURL=ASystemBar.vue_vue_type_script_setup_true_lang.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import e from "./ASystemBarNewVersion.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
|
|
2
|
+
// src/domains/system/systemBar/components/ASystemBarNewVersion.vue
|
|
3
3
|
var t = e;
|
|
4
|
-
//#endregion
|
|
5
4
|
export { t as default };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=ASystemBarNewVersion.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementVNode as e, createTextVNode as t, defineComponent as n, setBlockTracking as r, toDisplayString as i, unref as a, withModifiers as o } from "vue";
|
|
2
2
|
import { useI18n as s } from "vue-i18n";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/systemBar/components/ASystemBarNewVersion.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var c = /*@__PURE__*/ n({
|
|
5
5
|
__name: "ASystemBarNewVersion",
|
|
6
6
|
setup(n) {
|
|
@@ -13,7 +13,6 @@ var c = /*@__PURE__*/ n({
|
|
|
13
13
|
}, i(a(c)("common.system.newVersionReload")), 1)])).cacheIndex = 0, r(1), s[0]);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { c as default };
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=ASystemBarNewVersion.vue_vue_type_script_setup_true_lang.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ref as e } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/domains/system/systemBar/composables/systemBar.ts
|
|
3
3
|
var t = e(!1);
|
|
4
4
|
function n() {
|
|
5
5
|
return { newVersion: t };
|
|
6
6
|
}
|
|
7
|
-
//#endregion
|
|
8
7
|
export { n as useSystemBar };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=systemBar.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSystemBar as e } from "../composables/systemBar.js";
|
|
2
2
|
import { reloadPage as t } from "./pageReload.js";
|
|
3
|
-
|
|
3
|
+
// src/domains/system/systemBar/utils/appReload.ts
|
|
4
4
|
var n = "anzu.appReloadAt", r = 3e4, i = 3e3, a = !1;
|
|
5
5
|
function o(e) {
|
|
6
6
|
if (a) return !0;
|
|
@@ -17,7 +17,6 @@ function s() {
|
|
|
17
17
|
let { newVersion: t } = e();
|
|
18
18
|
return t.value ? o() : !1;
|
|
19
19
|
}
|
|
20
|
-
//#endregion
|
|
21
20
|
export { i as RELOAD_VETO_GRACE, s as checkForNewVersion, o as requestAppReload };
|
|
22
21
|
|
|
23
22
|
//# sourceMappingURL=appReload.js.map
|