@anzusystems/common-admin 2.0.0-rc.12 → 2.0.0-rc.14

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.
Files changed (129) hide show
  1. package/dist/AnzuSystemsCommonAdmin.d.ts +10 -4
  2. package/dist/AnzuSystemsCommonAdmin.js.map +1 -1
  3. package/dist/common-admin.js +255 -254
  4. package/dist/domains/anzuUser/components/AUserCreateInSystemButton.vue_vue_type_script_setup_true_lang.js +1 -2
  5. package/dist/domains/anzuUser/components/AUserCreateInSystemButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  6. package/dist/domains/anzuUser/components/AUserManageButton.vue_vue_type_script_setup_true_lang.js +1 -4
  7. package/dist/domains/anzuUser/components/AUserManageButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
  8. package/dist/domains/anzuUser/components/AUserSystemOverview.vue_vue_type_script_setup_true_lang.js +93 -86
  9. package/dist/domains/anzuUser/components/AUserSystemOverview.vue_vue_type_script_setup_true_lang.js.map +1 -1
  10. package/dist/domains/anzuUser/components/AUserSystemPanel.vue_vue_type_script_setup_true_lang.js +30 -25
  11. package/dist/domains/anzuUser/components/AUserSystemPanel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  12. package/dist/domains/dam/api/damAssetApi.d.ts +5 -0
  13. package/dist/domains/dam/api/damAssetApi.js +39 -34
  14. package/dist/domains/dam/api/damAssetApi.js.map +1 -1
  15. package/dist/domains/dam/assetDetail/components/AssetMetadata.vue_vue_type_script_setup_true_lang.js.map +1 -1
  16. package/dist/domains/dam/assetSelect/api/damPodcastApi.d.ts +2 -2
  17. package/dist/domains/dam/assetSelect/api/damPodcastApi.js +4 -4
  18. package/dist/domains/dam/assetSelect/api/damPodcastApi.js.map +1 -1
  19. package/dist/domains/dam/assetSelect/components/AAssetListInner.vue_vue_type_script_setup_true_lang.js +152 -153
  20. package/dist/domains/dam/assetSelect/components/AAssetListInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  21. package/dist/domains/dam/assetSelect/components/AAssetSelect.vue.d.ts +3 -0
  22. package/dist/domains/dam/assetSelect/components/AAssetSelect.vue_vue_type_script_setup_true_lang.js +80 -72
  23. package/dist/domains/dam/assetSelect/components/AAssetSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  24. package/dist/domains/dam/assetSelect/components/AAssetSelectMedia.vue.d.ts +3 -0
  25. package/dist/domains/dam/assetSelect/components/AAssetSelectMedia.vue_vue_type_script_setup_true_lang.js +88 -80
  26. package/dist/domains/dam/assetSelect/components/AAssetSelectMedia.vue_vue_type_script_setup_true_lang.js.map +1 -1
  27. package/dist/domains/dam/assetSelect/components/AssetSelectFilter.vue.d.ts +3 -0
  28. package/dist/domains/dam/assetSelect/components/AssetSelectFilter.vue_vue_type_script_setup_true_lang.js +42 -60
  29. package/dist/domains/dam/assetSelect/components/AssetSelectFilter.vue_vue_type_script_setup_true_lang.js.map +1 -1
  30. package/dist/domains/dam/assetSelect/components/AssetSelectFilterForm.vue_vue_type_script_setup_true_lang.js +7 -9
  31. package/dist/domains/dam/assetSelect/components/AssetSelectFilterForm.vue_vue_type_script_setup_true_lang.js.map +1 -1
  32. package/dist/domains/dam/assetSelect/components/AssetSelectLicencePresetBar.js +6 -0
  33. package/dist/domains/dam/assetSelect/components/AssetSelectLicencePresetBar.js.map +1 -0
  34. package/dist/domains/dam/assetSelect/components/AssetSelectLicencePresetBar.vue.d.ts +3 -0
  35. package/dist/domains/dam/assetSelect/components/AssetSelectLicencePresetBar.vue_vue_type_script_setup_true_lang.js +27 -0
  36. package/dist/domains/dam/assetSelect/components/AssetSelectLicencePresetBar.vue_vue_type_script_setup_true_lang.js.map +1 -0
  37. package/dist/domains/dam/assetSelect/components/AssetSelectListBar.vue_vue_type_script_setup_true_lang.js +127 -106
  38. package/dist/domains/dam/assetSelect/components/AssetSelectListBar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  39. package/dist/domains/dam/assetSelect/components/AssetSelectListTable.vue_vue_type_script_setup_true_lang.js +1 -1
  40. package/dist/domains/dam/assetSelect/components/AssetSelectListTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  41. package/dist/domains/dam/assetSelect/components/FilterPodcastRemoteAutocomplete.vue.d.ts +3 -1
  42. package/dist/domains/dam/assetSelect/components/FilterPodcastRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +3 -2
  43. package/dist/domains/dam/assetSelect/components/FilterPodcastRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
  44. package/dist/domains/dam/assetSelect/composables/assetSelectItemActions.js +32 -30
  45. package/dist/domains/dam/assetSelect/composables/assetSelectItemActions.js.map +1 -1
  46. package/dist/domains/dam/assetSelect/composables/assetSelectListActions.js +96 -96
  47. package/dist/domains/dam/assetSelect/composables/assetSelectListActions.js.map +1 -1
  48. package/dist/domains/dam/assetSelect/composables/assetSelectPresetControl.d.ts +22 -0
  49. package/dist/domains/dam/assetSelect/composables/assetSelectPresetControl.js +44 -0
  50. package/dist/domains/dam/assetSelect/composables/assetSelectPresetControl.js.map +1 -0
  51. package/dist/domains/dam/assetSelect/composables/assetSelectPresets.d.ts +28 -0
  52. package/dist/domains/dam/assetSelect/composables/assetSelectPresets.js +32 -0
  53. package/dist/domains/dam/assetSelect/composables/assetSelectPresets.js.map +1 -0
  54. package/dist/domains/dam/assetSelect/composables/podcastFilterAndActions.d.ts +19 -6
  55. package/dist/domains/dam/assetSelect/composables/podcastFilterAndActions.js +9 -5
  56. package/dist/domains/dam/assetSelect/composables/podcastFilterAndActions.js.map +1 -1
  57. package/dist/domains/dam/assetSelect/store/assetSelectStore.d.ts +5 -1
  58. package/dist/domains/dam/assetSelect/store/assetSelectStore.js +97 -80
  59. package/dist/domains/dam/assetSelect/store/assetSelectStore.js.map +1 -1
  60. package/dist/domains/dam/composables/commonAdminCoreDamOptions.js +3 -3
  61. package/dist/domains/dam/composables/commonAdminCoreDamOptions.js.map +1 -1
  62. package/dist/domains/dam/imageWidget/components/AImageMediaWidget.vue.d.ts +3 -0
  63. package/dist/domains/dam/imageWidget/components/AImageMediaWidget.vue_vue_type_script_setup_true_lang.js +1 -0
  64. package/dist/domains/dam/imageWidget/components/AImageMediaWidget.vue_vue_type_script_setup_true_lang.js.map +1 -1
  65. package/dist/domains/dam/imageWidget/components/AImageWidget.vue.d.ts +3 -0
  66. package/dist/domains/dam/imageWidget/components/AImageWidget.vue_vue_type_script_setup_true_lang.js +1 -0
  67. package/dist/domains/dam/imageWidget/components/AImageWidget.vue_vue_type_script_setup_true_lang.js.map +1 -1
  68. package/dist/domains/dam/imageWidget/components/AImageWidgetMultiple.vue.d.ts +3 -0
  69. package/dist/domains/dam/imageWidget/components/AImageWidgetMultiple.vue_vue_type_script_setup_true_lang.js +1 -0
  70. package/dist/domains/dam/imageWidget/components/AImageWidgetMultiple.vue_vue_type_script_setup_true_lang.js.map +1 -1
  71. package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue.d.ts +3 -0
  72. package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue_vue_type_script_setup_true_lang.js +3 -0
  73. package/dist/domains/dam/imageWidget/components/ImageMediaWidgetInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  74. package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue.d.ts +3 -0
  75. package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue_vue_type_script_setup_true_lang.js +3 -0
  76. package/dist/domains/dam/imageWidget/components/ImageWidgetInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  77. package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue.d.ts +3 -0
  78. package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue_vue_type_script_setup_true_lang.js +3 -0
  79. package/dist/domains/dam/imageWidget/components/ImageWidgetMultipleInner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  80. package/dist/domains/dam/types/AssetLicence.d.ts +6 -6
  81. package/dist/domains/dam/types/AssetListView.d.ts +10 -0
  82. package/dist/domains/dam/types/DamCurrentUser.d.ts +3 -0
  83. package/dist/domains/dam/user/api/assetListViewApi.d.ts +7 -0
  84. package/dist/domains/dam/user/api/assetListViewApi.js +21 -0
  85. package/dist/domains/dam/user/api/assetListViewApi.js.map +1 -0
  86. package/dist/domains/dam/user/components/DamAssetLicenceGroupRemoteAutocomplete.vue.d.ts +3 -0
  87. package/dist/domains/dam/user/components/DamAssetLicenceGroupRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +18 -14
  88. package/dist/domains/dam/user/components/DamAssetLicenceGroupRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
  89. package/dist/domains/dam/user/components/DamAssetLicenceRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +31 -31
  90. package/dist/domains/dam/user/components/DamAssetLicenceRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
  91. package/dist/domains/dam/user/components/DamAssetListViewRemoteAutocomplete.js +6 -0
  92. package/dist/domains/dam/user/components/DamAssetListViewRemoteAutocomplete.js.map +1 -0
  93. package/dist/domains/dam/user/components/DamAssetListViewRemoteAutocomplete.vue.d.ts +36 -0
  94. package/dist/domains/dam/user/components/DamAssetListViewRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js +83 -0
  95. package/dist/domains/dam/user/components/DamAssetListViewRemoteAutocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -0
  96. package/dist/domains/dam/user/composables/assetListViewActions.d.ts +10 -0
  97. package/dist/domains/dam/user/composables/assetListViewActions.js +15 -0
  98. package/dist/domains/dam/user/composables/assetListViewActions.js.map +1 -0
  99. package/dist/domains/dam/user/composables/cachedAssetLicences.d.ts +3 -3
  100. package/dist/domains/dam/user/filter/AssetLicenceGroupFilter.d.ts +14 -4
  101. package/dist/domains/dam/user/filter/AssetLicenceGroupFilter.js +3 -0
  102. package/dist/domains/dam/user/filter/AssetLicenceGroupFilter.js.map +1 -1
  103. package/dist/domains/dam/user/filter/AssetListViewFilter.d.ts +24 -0
  104. package/dist/domains/dam/user/filter/AssetListViewFilter.js +25 -0
  105. package/dist/domains/dam/user/filter/AssetListViewFilter.js.map +1 -0
  106. package/dist/domains/log/components/ALogFilter.vue_vue_type_script_setup_true_lang.js +28 -32
  107. package/dist/domains/log/components/ALogFilter.vue_vue_type_script_setup_true_lang.js.map +1 -1
  108. package/dist/domains/permission/components/APermissionEditor.vue_vue_type_script_setup_true_lang.js +1 -1
  109. package/dist/domains/permission/components/APermissionEditor.vue_vue_type_script_setup_true_lang.js.map +1 -1
  110. package/dist/lib.d.ts +4 -2
  111. package/dist/locales/cs/common/anzuUser.js +4 -4
  112. package/dist/locales/cs/common/assetSelect.js +26 -0
  113. package/dist/locales/cs/common/assetSelect.js.map +1 -1
  114. package/dist/locales/cs.d.ts +5 -0
  115. package/dist/locales/en/common/anzuUser.js +4 -4
  116. package/dist/locales/en/common/assetSelect.js +26 -0
  117. package/dist/locales/en/common/assetSelect.js.map +1 -1
  118. package/dist/locales/en.d.ts +5 -0
  119. package/dist/locales/sk/common/anzuUser.js +4 -4
  120. package/dist/locales/sk/common/assetSelect.js +26 -0
  121. package/dist/locales/sk/common/assetSelect.js.map +1 -1
  122. package/dist/locales/sk.d.ts +5 -0
  123. package/dist/plugins/i18n.d.ts +5 -0
  124. package/package.json +15 -15
  125. package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.js +0 -6
  126. package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.js.map +0 -1
  127. package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.vue.d.ts +0 -25
  128. package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.vue_vue_type_script_setup_true_lang.js +0 -67
  129. package/dist/domains/ui/buttons/action/components/AActionSaveAndCloseButton.vue_vue_type_script_setup_true_lang.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"APermissionEditor.vue_vue_type_script_setup_true_lang.js","names":["_useModel","_openBlock","_createBlock","_component_VCard","_unref","_withCtx","_createVNode","_component_VCardText","_component_VTable","_createElementVNode","_toDisplayString","_createElementBlock","_Fragment","_renderList","_createTextVNode","_component_VBtn","APermissionGrantEditor","APermissionValueChip","APermissionGrantEditor_default","APermissionValueChip_default","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","APermissionEditor_vue_vue_type_script_setup_true_lang_default","\"modelValue\"","\"modelModifiers\"","props","__props","modelValue","useModel","useI18n","useAlerts","permissions","computed","cloneDeep","usePermissionConfigActions","changeGrant","permissionName","subject","action","isUndefined","grant","objectDeletePropertyByPath","objectSetValueByPath","getSelectedGrant","objectGetValueByPath","getAvailableGrants","grants","permissionConfig","RESTRICTIVE_GRANTS","Grant","isExplicitRestrictiveGrant","allowAllActions","keptRestrictiveGrantCount","showWarning","t","hasSuperAdminRole","ROLE_SUPER_ADMIN","getResolvedGrant","getGrantOrigin","GrantOrigin","GrantOriginDefault","openBlock","createBlock","VCard","unref","loadingPermissionConfig","withCtx","createVNode","VCardText","isPermissionConfigInitialized","VTable","createElementVNode","toDisplayString","createCommentVNode","createElementBlock","Fragment","renderList","permissionSubject","createTextVNode","translatePermission","VBtn","permissionAction","$event"],"sources":["../../../../src/domains/permission/components/APermissionEditor.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useAlerts } from '@/domains/system/composables/alerts'\nimport { ROLE_SUPER_ADMIN } from '@/domains/auth/composables/defineAuth'\nimport APermissionGrantEditor from '@/domains/permission/components/APermissionGrantEditor.vue'\nimport APermissionValueChip from '@/domains/permission/components/APermissionValueChip.vue'\nimport type { AxiosClientFn } from '@/domains/api/utils/client'\nimport { usePermissionConfigActions } from '@/domains/permission/config/composables/permissionConfigActions'\nimport { Grant, type GrantType } from '@/domains/auth/valueObject/Grant'\nimport { GrantOrigin, GrantOriginDefault } from '@/domains/permission/valueObject/GrantOrigin'\nimport type { Permissions } from '@/domains/auth/types/Permission'\nimport { cloneDeep, isUndefined } from '@/shared/utils/common'\nimport { objectDeletePropertyByPath, objectGetValueByPath, objectSetValueByPath } from '@/shared/utils/object'\n\nconst props = withDefaults(\n defineProps<{\n client: AxiosClientFn\n /** Which backend's permission vocabulary to draw. Never a global, see `permissionConfigActions`. */\n system: string\n entity?: string | undefined\n endPoint?: string | undefined\n /**\n * Grants the subject already has from roles and groups.\n * Undefined means the model is a group, not a user. The origin\n * column then attributes every explicit grant to the group itself.\n */\n resolvedPermissions?: Permissions | undefined\n roles?: string[]\n /** One component for detail and edit (decision 27). Readonly drops the grant column. */\n readonly?: boolean\n }>(),\n {\n entity: undefined,\n endPoint: undefined,\n resolvedPermissions: undefined,\n roles: () => [],\n readonly: false,\n }\n)\n\nconst modelValue = defineModel<Permissions>({ required: true })\n\nconst { t } = useI18n()\nconst { showWarning } = useAlerts()\n\n// A clone, because every mutation writes a whole object back through `modelValue`.\n// Editing in place would not trigger the parent's unsaved-changes watchers.\nconst permissions = computed(() => cloneDeep(modelValue.value))\n\n/* eslint-disable vue/no-setup-props-reactivity-loss */\nconst { permissionConfig, loadingPermissionConfig, isPermissionConfigInitialized, translatePermission } =\n usePermissionConfigActions({\n client: props.client,\n system: props.system,\n entity: props.entity,\n endPoint: props.endPoint,\n })\n/* eslint-enable vue/no-setup-props-reactivity-loss */\n\nconst changeGrant = (subject: string, action: string, grant?: GrantType) => {\n const permissionName = subject + '_' + action\n if (isUndefined(grant) && Object.hasOwn(permissions.value, permissionName)) {\n objectDeletePropertyByPath(permissions.value, permissionName)\n modelValue.value = permissions.value\n return\n }\n objectSetValueByPath(permissions.value, permissionName, grant)\n modelValue.value = permissions.value\n}\n\nconst getSelectedGrant = (subject: string, action: string) => {\n return objectGetValueByPath(permissions.value, subject + '_' + action)\n}\n\nconst getAvailableGrants = (subject: string, action: string): GrantType[] => {\n const grants = objectGetValueByPath(permissionConfig.value.config, subject + '.' + action + '.grants')\n if (isUndefined(grants)) {\n return permissionConfig.value.defaultGrants\n }\n return grants\n}\n\nconst RESTRICTIVE_GRANTS: GrantType[] = [Grant.Deny, Grant.AllowOwner]\n\nconst isExplicitRestrictiveGrant = (subject: string, action: string) => {\n const permissionName = subject + '_' + action\n if (!Object.hasOwn(permissions.value, permissionName)) return false\n return RESTRICTIVE_GRANTS.includes(getSelectedGrant(subject, action))\n}\n\n/**\n * Allows every action in the subject, except actions explicitly set to deny or owner-only.\n * Those are left alone and their count is reported, so the button never widens a deliberate restriction.\n */\nconst allowAllActions = (subject: string) => {\n let keptRestrictiveGrantCount = 0\n for (const action of Object.keys(permissionConfig.value.config[subject]!)) {\n if (!getAvailableGrants(subject, action).includes(Grant.Allow)) continue\n if (isExplicitRestrictiveGrant(subject, action)) {\n keptRestrictiveGrantCount++\n continue\n }\n objectSetValueByPath(permissions.value, subject + '_' + action, Grant.Allow)\n }\n modelValue.value = permissions.value\n if (keptRestrictiveGrantCount > 0) {\n showWarning(\n t('common.permissionEditor.restrictiveGrantKept', { count: keptRestrictiveGrantCount }, keptRestrictiveGrantCount)\n )\n }\n}\n\nconst hasSuperAdminRole = computed(() => props.roles.includes(ROLE_SUPER_ADMIN))\n\nconst getResolvedGrant = (subject: string, action: string) => {\n if (hasSuperAdminRole.value) return Grant.Allow\n const permissionName = subject + '_' + action\n if (props.resolvedPermissions && Object.hasOwn(props.resolvedPermissions, permissionName)) {\n return objectGetValueByPath(props.resolvedPermissions, permissionName)\n }\n if (Object.hasOwn(permissions.value, permissionName)) {\n return objectGetValueByPath(permissions.value, permissionName)\n }\n return Grant.Deny\n}\n\nconst getGrantOrigin = (subject: string, action: string) => {\n if (hasSuperAdminRole.value) return GrantOrigin.Role\n const permissionName = subject + '_' + action\n if (isUndefined(props.resolvedPermissions)) {\n if (Object.hasOwn(permissions.value, permissionName)) return GrantOrigin.Group\n return GrantOriginDefault\n }\n if (Object.hasOwn(permissions.value, permissionName)) return GrantOrigin.User\n if (Object.hasOwn(props.resolvedPermissions, permissionName)) return GrantOrigin.Group\n return GrantOriginDefault\n}\n</script>\n\n<template>\n <VCard :loading=\"loadingPermissionConfig\">\n <VCardText>\n <VTable v-if=\"isPermissionConfigInitialized\">\n <thead>\n <tr>\n <th>{{ t('common.anzuUser.table.grants') }}</th>\n <th v-if=\"!readonly\">\n {{ t('common.anzuUser.table.permissions') }}\n </th>\n <th>{{ t('common.anzuUser.table.resolvedPermissions') }}</th>\n </tr>\n </thead>\n <tbody>\n <template\n v-for=\"permissionSubject in Object.keys(permissionConfig.config)\"\n :key=\"permissionSubject\"\n >\n <tr>\n <td\n :colspan=\"readonly ? 2 : 3\"\n class=\"text-headline-small font-weight-bold\"\n >\n {{ translatePermission('subjects', permissionSubject) }}\n <VBtn\n v-if=\"!readonly\"\n size=\"x-small\"\n variant=\"text\"\n class=\"ml-2\"\n :data-cy=\"`permission-allow-all-${permissionSubject}`\"\n @click=\"allowAllActions(permissionSubject)\"\n >\n {{ t('common.permissionEditor.allowAll') }}\n </VBtn>\n </td>\n </tr>\n <tr\n v-for=\"permissionAction in Object.keys(permissionConfig.config[permissionSubject]!)\"\n :key=\"permissionAction\"\n >\n <td>\n {{ translatePermission('actions', permissionAction) }}\n <div class=\"text-body-small text-disabled\">{{ permissionSubject }}_{{ permissionAction }}</div>\n </td>\n <td v-if=\"!readonly\">\n <APermissionGrantEditor\n :available-grants=\"getAvailableGrants(permissionSubject, permissionAction)\"\n :selected-grant=\"getSelectedGrant(permissionSubject, permissionAction)\"\n @change=\"changeGrant(permissionSubject, permissionAction, $event)\"\n />\n </td>\n <td>\n <APermissionValueChip\n :grant=\"getResolvedGrant(permissionSubject, permissionAction)\"\n :grant-origin=\"getGrantOrigin(permissionSubject, permissionAction)\"\n />\n </td>\n </tr>\n </template>\n </tbody>\n </VTable>\n </VCardText>\n </VCard>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeA,IAAM2B,IAAQC,GA0BRC,IAAa7B,EAAwB4B,GAAA,YAAmB,GAExD,EAAE,SAAMG,EAAQ,GAChB,EAAE,mBAAgBC,EAAU,GAI5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EU,GAAA;OAHC,oBAAkB+B,EAAmBgC,GAAmBI,CAAgB;OACxE,kBAAgBtC,EAAiBkC,GAAmBI,CAAgB;OACpE,WAAM,MAAE9C,EAAY0C,GAAmBI,GAAkBC,CAAM;;;;;;MAGpE3E,EAKK,MAAA,MAAA,CAJHH,EAGEW,GAAA;OAFC,OAAO0C,EAAiBoB,GAAmBI,CAAgB;OAC3D,gBAAcvB,GAAemB,GAAmBI,CAAgB"}
1
+ {"version":3,"file":"APermissionEditor.vue_vue_type_script_setup_true_lang.js","names":["_useModel","_openBlock","_createBlock","_component_VCard","_unref","_withCtx","_createVNode","_component_VCardText","_component_VTable","_createElementVNode","_toDisplayString","_createElementBlock","_Fragment","_renderList","_createTextVNode","_component_VBtn","APermissionGrantEditor","APermissionValueChip","APermissionGrantEditor_default","APermissionValueChip_default","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","APermissionEditor_vue_vue_type_script_setup_true_lang_default","\"modelValue\"","\"modelModifiers\"","props","__props","modelValue","useModel","useI18n","useAlerts","permissions","computed","cloneDeep","usePermissionConfigActions","changeGrant","permissionName","subject","action","isUndefined","grant","objectDeletePropertyByPath","objectSetValueByPath","getSelectedGrant","objectGetValueByPath","getAvailableGrants","grants","permissionConfig","RESTRICTIVE_GRANTS","Grant","isExplicitRestrictiveGrant","allowAllActions","keptRestrictiveGrantCount","showWarning","t","hasSuperAdminRole","ROLE_SUPER_ADMIN","getResolvedGrant","getGrantOrigin","GrantOrigin","GrantOriginDefault","openBlock","createBlock","VCard","unref","loadingPermissionConfig","withCtx","createVNode","VCardText","isPermissionConfigInitialized","VTable","createElementVNode","toDisplayString","createCommentVNode","createElementBlock","Fragment","renderList","permissionSubject","createTextVNode","translatePermission","VBtn","permissionAction","$event"],"sources":["../../../../src/domains/permission/components/APermissionEditor.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useAlerts } from '@/domains/system/composables/alerts'\nimport { ROLE_SUPER_ADMIN } from '@/domains/auth/composables/defineAuth'\nimport APermissionGrantEditor from '@/domains/permission/components/APermissionGrantEditor.vue'\nimport APermissionValueChip from '@/domains/permission/components/APermissionValueChip.vue'\nimport type { AxiosClientFn } from '@/domains/api/utils/client'\nimport { usePermissionConfigActions } from '@/domains/permission/config/composables/permissionConfigActions'\nimport { Grant, type GrantType } from '@/domains/auth/valueObject/Grant'\nimport { GrantOrigin, GrantOriginDefault } from '@/domains/permission/valueObject/GrantOrigin'\nimport type { Permissions } from '@/domains/auth/types/Permission'\nimport { cloneDeep, isUndefined } from '@/shared/utils/common'\nimport { objectDeletePropertyByPath, objectGetValueByPath, objectSetValueByPath } from '@/shared/utils/object'\n\nconst props = withDefaults(\n defineProps<{\n client: AxiosClientFn\n /** Which backend's permission vocabulary to draw. Never a global, see `permissionConfigActions`. */\n system: string\n entity?: string | undefined\n endPoint?: string | undefined\n /**\n * Grants the subject already has from roles and groups.\n * Undefined means the model is a group, not a user. The origin\n * column then attributes every explicit grant to the group itself.\n */\n resolvedPermissions?: Permissions | undefined\n roles?: string[]\n /** One component for detail and edit (decision 27). Readonly drops the grant column. */\n readonly?: boolean\n }>(),\n {\n entity: undefined,\n endPoint: undefined,\n resolvedPermissions: undefined,\n roles: () => [],\n readonly: false,\n }\n)\n\nconst modelValue = defineModel<Permissions>({ required: true })\n\nconst { t } = useI18n()\nconst { showWarning } = useAlerts()\n\n// A clone, because every mutation writes a whole object back through `modelValue`.\n// Editing in place would not trigger the parent's unsaved-changes watchers.\nconst permissions = computed(() => cloneDeep(modelValue.value))\n\n/* eslint-disable vue/no-setup-props-reactivity-loss */\nconst { permissionConfig, loadingPermissionConfig, isPermissionConfigInitialized, translatePermission } =\n usePermissionConfigActions({\n client: props.client,\n system: props.system,\n entity: props.entity,\n endPoint: props.endPoint,\n })\n/* eslint-enable vue/no-setup-props-reactivity-loss */\n\nconst changeGrant = (subject: string, action: string, grant?: GrantType) => {\n const permissionName = subject + '_' + action\n if (isUndefined(grant) && Object.hasOwn(permissions.value, permissionName)) {\n objectDeletePropertyByPath(permissions.value, permissionName)\n modelValue.value = permissions.value\n return\n }\n objectSetValueByPath(permissions.value, permissionName, grant)\n modelValue.value = permissions.value\n}\n\nconst getSelectedGrant = (subject: string, action: string) => {\n return objectGetValueByPath(permissions.value, subject + '_' + action)\n}\n\nconst getAvailableGrants = (subject: string, action: string): GrantType[] => {\n const grants = objectGetValueByPath(permissionConfig.value.config, subject + '.' + action + '.grants')\n if (isUndefined(grants)) {\n return permissionConfig.value.defaultGrants\n }\n return grants\n}\n\nconst RESTRICTIVE_GRANTS: GrantType[] = [Grant.Deny, Grant.AllowOwner]\n\nconst isExplicitRestrictiveGrant = (subject: string, action: string) => {\n const permissionName = subject + '_' + action\n if (!Object.hasOwn(permissions.value, permissionName)) return false\n return RESTRICTIVE_GRANTS.includes(getSelectedGrant(subject, action))\n}\n\n/**\n * Allows every action in the subject, except actions explicitly set to deny or owner-only.\n * Those are left alone and their count is reported, so the button never widens a deliberate restriction.\n */\nconst allowAllActions = (subject: string) => {\n let keptRestrictiveGrantCount = 0\n for (const action of Object.keys(permissionConfig.value.config[subject]!)) {\n if (!getAvailableGrants(subject, action).includes(Grant.Allow)) continue\n if (isExplicitRestrictiveGrant(subject, action)) {\n keptRestrictiveGrantCount++\n continue\n }\n objectSetValueByPath(permissions.value, subject + '_' + action, Grant.Allow)\n }\n modelValue.value = permissions.value\n if (keptRestrictiveGrantCount > 0) {\n showWarning(\n t('common.permissionEditor.restrictiveGrantKept', { count: keptRestrictiveGrantCount }, keptRestrictiveGrantCount)\n )\n }\n}\n\nconst hasSuperAdminRole = computed(() => props.roles.includes(ROLE_SUPER_ADMIN))\n\nconst getResolvedGrant = (subject: string, action: string) => {\n if (hasSuperAdminRole.value) return Grant.Allow\n const permissionName = subject + '_' + action\n if (props.resolvedPermissions && Object.hasOwn(props.resolvedPermissions, permissionName)) {\n return objectGetValueByPath(props.resolvedPermissions, permissionName)\n }\n if (Object.hasOwn(permissions.value, permissionName)) {\n return objectGetValueByPath(permissions.value, permissionName)\n }\n return Grant.Deny\n}\n\nconst getGrantOrigin = (subject: string, action: string) => {\n if (hasSuperAdminRole.value) return GrantOrigin.Role\n const permissionName = subject + '_' + action\n if (isUndefined(props.resolvedPermissions)) {\n if (Object.hasOwn(permissions.value, permissionName)) return GrantOrigin.Group\n return GrantOriginDefault\n }\n if (Object.hasOwn(permissions.value, permissionName)) return GrantOrigin.User\n if (Object.hasOwn(props.resolvedPermissions, permissionName)) return GrantOrigin.Group\n return GrantOriginDefault\n}\n</script>\n\n<template>\n <VCard :loading=\"loadingPermissionConfig\">\n <VCardText>\n <VTable v-if=\"isPermissionConfigInitialized\">\n <thead>\n <tr>\n <th>{{ t('common.anzuUser.table.grants') }}</th>\n <th v-if=\"!readonly\">\n {{ t('common.anzuUser.table.permissions') }}\n </th>\n <th>{{ t('common.anzuUser.table.resolvedPermissions') }}</th>\n </tr>\n </thead>\n <tbody>\n <template\n v-for=\"permissionSubject in Object.keys(permissionConfig.config)\"\n :key=\"permissionSubject\"\n >\n <tr>\n <td\n :colspan=\"readonly ? 2 : 3\"\n class=\"text-title-large font-weight-bold text-medium-emphasis\"\n >\n {{ translatePermission('subjects', permissionSubject) }}\n <VBtn\n v-if=\"!readonly\"\n size=\"x-small\"\n variant=\"text\"\n class=\"ml-2\"\n :data-cy=\"`permission-allow-all-${permissionSubject}`\"\n @click=\"allowAllActions(permissionSubject)\"\n >\n {{ t('common.permissionEditor.allowAll') }}\n </VBtn>\n </td>\n </tr>\n <tr\n v-for=\"permissionAction in Object.keys(permissionConfig.config[permissionSubject]!)\"\n :key=\"permissionAction\"\n >\n <td>\n {{ translatePermission('actions', permissionAction) }}\n <div class=\"text-body-small text-disabled\">{{ permissionSubject }}_{{ permissionAction }}</div>\n </td>\n <td v-if=\"!readonly\">\n <APermissionGrantEditor\n :available-grants=\"getAvailableGrants(permissionSubject, permissionAction)\"\n :selected-grant=\"getSelectedGrant(permissionSubject, permissionAction)\"\n @change=\"changeGrant(permissionSubject, permissionAction, $event)\"\n />\n </td>\n <td>\n <APermissionValueChip\n :grant=\"getResolvedGrant(permissionSubject, permissionAction)\"\n :grant-origin=\"getGrantOrigin(permissionSubject, permissionAction)\"\n />\n </td>\n </tr>\n </template>\n </tbody>\n </VTable>\n </VCardText>\n </VCard>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeA,IAAM2B,IAAQC,GA0BRC,IAAa7B,EAAwB4B,GAAA,YAAmB,GAExD,EAAE,SAAMG,EAAQ,GAChB,EAAE,mBAAgBC,EAAU,GAI5BC,IAAcC,QAAeC,EAAUN,EAAW,KAAK,CAAC,GAGxD,EAAE,qBAAkB,4BAAyB,kCAA+B,2BAChFO,EAA2B;GACzB,QAAQT,EAAM;GACd,QAAQA,EAAM;GACd,QAAQA,EAAM;GACd,UAAUA,EAAM;EAClB,CAAC,GAGGU,KAAe,GAAiB,GAAgB,MAAsB;GAC1E,IAAMC,IAAiBC,IAAU,MAAMC;GACvC,AAAIC,EAAYC,CAAK,KAAK,OAAO,OAAOT,EAAY,OAAOK,CAAc,KACvEK,EAA2BV,EAAY,OAAOK,CAAc,GAC5D,EAAW,QAAQL,EAAY,UAGjCW,EAAqBX,EAAY,OAAOK,GAAgBI,CAAK,GAC7D,EAAW,QAAQT,EAAY;EACjC,GAEMY,KAAoB,GAAiB,MAClCC,EAAqBb,EAAY,OAAOM,IAAU,MAAMC,CAAM,GAGjEO,KAAsB,GAAiB,MAAgC;GAC3E,IAAMC,IAASF,EAAqBG,EAAiB,MAAM,QAAQV,IAAU,MAAMC,IAAS,SAAS;GAIrG,OAHIC,EAAYO,CAAM,IACbC,EAAiB,MAAM,gBAEzBD;EACT,GAEME,IAAkC,CAACC,EAAM,MAAMA,EAAM,UAAU,GAE/DC,KAA8B,GAAiB,MAAmB;GACtE,IAAMd,IAAiBC,IAAU,MAAMC;GAEvC,OADK,OAAO,OAAOP,EAAY,OAAOK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AA6C,CAAA,CAAgB,CAAC,OAAO8B,EAAiB,IAAzE,OADT9E,EAAA,GAAAU,EAqBK,MAAA,EAnBF,KAAKwE,EAAgB,GAAA;MAEtB1E,EAGK,MAAA,MAAA,CAFAK,EAAAJ,EAAAN,EAAA6E,CAAA,CAAmB,CAAA,WAAYE,CAAgB,CAAA,IAAI,KACtD,CAAA,GAAA1E,EAA+F,OAA/Fa,GAA+FZ,EAAjDqE,CAAiB,IAAG,MAACrE,EAAGyE,CAAgB,GAAA,CAAA,C;MAE7EvD,EAAA,W,aAAX3B,EAAA,GAAAU,EAMK,MAAAY,GAAA,CALHjB,EAIEU,GAAA;OAHC,oBAAkB+B,EAAmBgC,GAAmBI,CAAgB;OACxE,kBAAgBtC,EAAiBkC,GAAmBI,CAAgB;OACpE,WAAM,MAAE9C,EAAY0C,GAAmBI,GAAkBC,CAAM;;;;;;MAGpE3E,EAKK,MAAA,MAAA,CAJHH,EAGEW,GAAA;OAFC,OAAO0C,EAAiBoB,GAAmBI,CAAgB;OAC3D,gBAAcvB,GAAemB,GAAmBI,CAAgB"}
package/dist/lib.d.ts CHANGED
@@ -39,7 +39,6 @@ import { default as AActionCloseButtonHistory } from './domains/ui/buttons/actio
39
39
  import { default as AActionCreateButton } from './domains/ui/buttons/action/components/AActionCreateButton.vue';
40
40
  import { default as AActionDeleteButton } from './domains/ui/buttons/action/components/AActionDeleteButton.vue';
41
41
  import { default as AActionEditButton } from './domains/ui/buttons/action/components/AActionEditButton.vue';
42
- import { default as AActionSaveAndCloseButton } from './domains/ui/buttons/action/components/AActionSaveAndCloseButton.vue';
43
42
  import { default as AActionSaveButton } from './domains/ui/buttons/action/components/AActionSaveButton.vue';
44
43
  import { default as ATableCopyIdButton } from './domains/ui/buttons/table/components/ATableCopyIdButton.vue';
45
44
  import { default as ATableDetailButton } from './domains/ui/buttons/table/components/ATableDetailButton.vue';
@@ -181,6 +180,7 @@ import { useDamKeywordFactory } from './domains/dam/keyword/factory/KeywordFacto
181
180
  import { useDamAuthorFactory } from './domains/dam/author/factory/AuthorFactory';
182
181
  import { DamCurrentUserDto } from './domains/dam/types/DamCurrentUser';
183
182
  import { DamAssetLicence, DamAssetLicenceCached, DamAssetLicenceExtended, DamAssetLicenceMinimal, DamAssetLicenceSelectFields } from './domains/dam/types/AssetLicence';
183
+ import { DamAssetListViewMinimal, DamAssetListViewResolved } from './domains/dam/types/AssetListView';
184
184
  import { DamAssetLicenceGroup } from './domains/dam/types/AssetLicenceGroup';
185
185
  import { useCollabInit } from './domains/collab/composables/collabInit';
186
186
  import { useCommonAdminCollabOptions } from './domains/collab/composables/commonAdminCollabOptions';
@@ -193,6 +193,7 @@ import { useCollabAnyDataChange } from './domains/collab/composables/collabAnyDa
193
193
  import { CollabFieldLockStatus, CollabFieldLockStatusPayload, CollabFieldLockStatusType, CollabFieldLockType, CollabFieldLockTypeType, CollabGatheringBufferDataEvent, useCollabGatheringBufferDataEventBus, useCollabReconnectEventBus } from './domains/collab/composables/collabEventBus';
194
194
  import { CollabAccessRoomStatus, CollabAccessRoomStatusType, CollabChangeRoomLockStatus, CollabChangeRoomLockStatusType, CollabComponentConfig, CollabFieldData, CollabFieldDataEnvelope, CollabFieldLock, CollabFieldLockOptions, CollabFieldName, CollabRequestToJoinStatus, CollabRequestToJoinStatusType, CollabRequestToTakeModerationStatus, CollabRequestToTakeModerationStatusType, CollabRoom, CollabRoomData, CollabRoomInfo, CollabRoomJoinStrategy, CollabRoomJoinStrategyType, CollabRoomLocks, CollabJoinAckOptions, CollabRoomOptions, CollabRoomPlainData, CollabRoomsInfo, CollabStatus, CollabStatusType, CollabConnectionState, CollabConnectionStateType, CollabReconnectVerdict, CollabReconnectVerdictType, CollabUserId, CollabUserIdNullable } from './domains/collab/types/Collab';
195
195
  import { default as ADamAssetLicenceRemoteAutocomplete } from './domains/dam/user/components/DamAssetLicenceRemoteAutocomplete.vue';
196
+ import { default as ADamAssetListViewRemoteAutocomplete } from './domains/dam/user/components/DamAssetListViewRemoteAutocomplete.vue';
196
197
  import { default as ADamAssetLicenceGroupRemoteAutocomplete } from './domains/dam/user/components/DamAssetLicenceGroupRemoteAutocomplete.vue';
197
198
  import { default as ADamExtSystemRemoteAutocomplete } from './domains/dam/user/components/DamExtSystemRemoteAutocomplete.vue';
198
199
  import { default as ADamExternalProviderAssetSelect } from './domains/dam/user/components/DamExternalProviderAssetSelect.vue';
@@ -200,6 +201,7 @@ import { default as ADamDistributionServiceSelect } from './domains/dam/user/com
200
201
  import { useDamDistributionServiceType } from './domains/dam/user/types/DamDistributionServiceType';
201
202
  import { useDamAssetLicenceInnerFilter } from './domains/dam/user/filter/AssetLicenceFilter';
202
203
  import { fetchDamAssetLicenceListByIds, useFetchDamAssetLicenceList } from './domains/dam/user/api/assetLicenceApi';
204
+ import { fetchDamAssetListViewListByIds } from './domains/dam/user/api/assetListViewApi';
203
205
  import { fetchDamAssetLicenceGroupListByIds } from './domains/dam/user/api/assetLicenceGroupApi';
204
206
  import { fetchDamExtSystemListByIds } from './domains/dam/user/api/extSystemApi';
205
207
  import { DamUser, DamUserUpdateDto } from './domains/dam/user/types/DamUser';
@@ -299,7 +301,7 @@ import { default as AUserTabsShell } from './domains/anzuUser/components/AUserTa
299
301
  import { OTHER_SYSTEMS_TAB } from './domains/anzuUser/utils/userTabs';
300
302
  import { USER_PROBE_ENTITY, UserSystemRefreshHook } from './domains/anzuUser/composables/userSystemProbe';
301
303
  import { default as AUserSystemOverview } from './domains/anzuUser/components/AUserSystemOverview.vue';
302
- export { ACard, AProgress, ARow, AChipNoLink, AAlerts, AActionbar, AActionbarTarget, ALayoutLoader, ALayoutSwitch, actionbarSlot, createTeleportSlot, type TeleportSlot, ABooleanValue, ASystemEntityScope, AFormTextField, AFormTextarea, AFormDatetimePicker, AFormFlagDatetimePicker, AFormRemoteCheckbox, AFormRemoteSwitch, AFormSwitch, AFormValueObjectOptionsSelect, ADatetime, ADatetimePicker, ADatatableConfigButton, ADialogToolbar, ACreateDialog, AJobStatusChip, ACachedChip, ACachedUserChip, AAdminSwitcher, ATimeTrackingFields, Acl, ACopyText, AIconGroup, AUserAndTimeTrackingFields, AActionCloseButtonHistory, AActionCreateButton, AActionDeleteButton, AActionEditButton, AActionSaveAndCloseButton, AActionSaveButton, ATableCopyIdButton, ATableDetailButton, ATableEditButton, ABtnSplit, AThemeSelect, ALanguageSelect, ASystemBar, AAnzuUserAvatar, AAvatarColorPicker, ACurrentUserDropdown, AJobDetailCommon, AJobPriorityChip, AJobBaseCreateForm, ACustomDataForm, ACustomDataFormElement, AImageWidget, AImageWidgetInner, AImageMediaWidget, AImageWidgetSimple, AMediaWidgetSimple, AImageWidgetMultiple, AImageWidgetMultipleInner, AImageWidgetMultipleSimple, AImageMassOperations, AImagePublicInput, ADamAssetImageRoiSelect, ACollabLockedByUser, ACollabManagement, AFileInput, AAssetSelect, AAssetListInner, ABooleanSelect, ADamExtSystemRemoteAutocomplete, ADamExternalProviderAssetSelect, ADamDistributionServiceSelect, ADamAssetLicenceRemoteAutocomplete, ADamAssetLicenceGroupRemoteAutocomplete, ADamAuthorFilterRemoteAutocomplete, ADamKeywordFilterRemoteAutocomplete, ADamUserFilterRemoteAutocomplete, ADamUserRemoteAutocomplete, ADamAdminAssetLink, ALoginView, ALogoutView, AUnauthorizedView, ANotFoundView, AGenericView, useRouteHistory, type NavigateBackOptions, type NavigateBackTarget, type RouteHistoryEntry, handleRecordLoadError, useRecordPage, type UseRecordPageOptions, type UseRecordPageReturn, defineRecordLoader, defineRecordSave, trackNavigation, isNavigationPending, usePageNavigation, type UsePageNavigationReturn, createNavigationErrorHandler, type NavigationErrorHandlerOptions, useRemainingTime, useAlerts, useTheme, defineCached, useCachedItem, Theme, type ThemeType, useLanguageSettings, modifyLanguageSettings, useLoginStatus, generateDatatableMinMaxSelectStrategy, useCustomDataFormElementType, useDamConfigState, useUploadQueueItemFactory, useDamUploadChunkSize, useDamAcceptTypeAndSizeHelper, useAssetSuggestions, destroyDamNotifications, initDamNotifications, useDamNotifications, useDamNotificationsConnection, createUploadSettlement, uploadSettlementRuntime, UPLOAD_POLL_SCHEDULE, useDropzoneGlobalDragState, useDamKeywordFactory, useDamAuthorFactory, useDamAuthorType, useDamDistributionServiceType, useDamAssetLicenceInnerFilter, useImageActions, useCommonAdminImageOptions, defineAuth, useAclAllowed, AuthUnavailableError, type AuthCookieState, createRefreshRequestInterceptor, createRefreshSession, isInCauseChain, type RefreshResult, SessionExpiredError, defineBreadcrumbs, useDamCachedUsers, useDamCachedAssetLicences, useUnreleasedFeatures, useDebugFeatures, useSentry, useUserActivity, type GrantType, Grant, useGrant, type GrantOriginType, GrantOrigin, GrantOriginDefault, useGrantOrigin, LogLevel, type LogLevelType, type IntegerId, type IntegerIdNullable, type DocId, type DocIdNullable, type DatetimeUTCNullable, type DatetimeUTC, type DateUTC, type DatetimePickerType, type AnzuUser, type BaseUser, type AnzuUserMinimal, type AnzuUserAndTimeTrackingAware, type ValueObjectOption, type CreatedByAware, type PermissionConfig, type PermissionTranslationGroup, type PermissionGroup, type PermissionGroupMinimal, type VuetifyIconValue, type JobBase, type JobUserDataDelete, JOB_RESOURCE_USER_DATA_DELETE, JobStatus, JobStatusDefault, type JobStatusType, type JobBaseResource, useCommonJobFactory, type AclValue, type AclRegistry, type AclValueOf, type RegisteredAclValue, type Permissions, type PluginOptions, type CommonAdminImageOptions, type CommonAdminCoreDamOptions, type CommonAdminCollabOptions, type LanguageCode, type Immutable, type ResourceNameSystemAware, type ValidationScope, type AFormFieldValidation, type CommonAdminGlobalComponents, type ACreateDialogValidation, type Log, type ApiInfiniteResponseList, type DatatableOrderingOption, type DatatableOrderingOptions, type DatatableSortBy, type SortOrderType, type ObjectLeaves, type UniqueValues, ensureUniqueValues, type CachedItem, type AddToCachedArgs, type CachedUnresolvedReason, type DefineCachedOptions, type RecordWasType, type UrlParams, type AssetSelectReturnData, AssetSelectReturnType, type AssetSelectReturnTypeType, type SortableItemDataAware, type AssetFileProperties, type AssetSearchListItemDto, type AssetDetailItemDto, type AssetMetadataDto, type AssetCustomData, type AssetMetadataSuggestions, AssetFileFailReason, type AssetFileFailReasonType, AssetFileProcessStatus, type AssetFileProcessStatusType, AssetFileLinkType, type AssetFileLinkTypeType, type AssetFile, type AssetFileDocument, type AssetFileVideo, type AssetFileAudio, type AssetFileImage, type AssetFileNullable, type AssetFileLink, type AssetFileLinks, type AssetFileRoute, AssetFileRouteStatus, type AssetFileRouteStatusType, type AssetFileMainRouteAware, type AssetFileDownloadLink, type AssetFileImagePreviewNullable, assetFileIsImageFile, assetFileIsVideoFile, assetFileIsAudioFile, type UploadQueue, type UploadQueueItem, UploadQueueItemStatus, type UploadQueueItemStatusType, UploadQueueItemType, type UploadQueueItemTypeType, type CustomDataAware, type CustomDataValue, type CustomDataFormElement, type CustomDataFormElementAttributes, CustomDataFormElementType, CustomDataFormElementTypeDefault, type CustomDataFormElementTypeType, DamAssetType, DamAssetTypeDefault, type DamAssetTypeType, DamAssetStatus, DamAssetStatusDefault, type DamAssetStatusType, type DamPubConfig, type DamPrvConfig, type DamExtSystemConfig, type DamDistributionServiceName, type DamExtSystemConfigItem, type DamExtSystemConfigItemImage, type DamExternalProviderAssetConfig, type DamExternalProviderAssetName, type DamDistributionConfig, type DamDistributionRequirementsConfig, DamDistributionRequirementStrategy, type DamDistributionRequirementStrategyType, type DamDistributionRequirementsCategorySelectConfig, type DamExtSystemAssetTypeExifMetadata, DamDistributionServiceType, type DamDistributionServiceTypeType, DamDistributionStatus, type DamDistributionStatusType, UserAuthType, type UserAuthTypeType, type DamUploadStartResponse, type DamNotificationNameType, DamNotificationName, type DamNotificationListenerOptions, UploadRowRole, type UploadRowRoleType, type UploadSettlement, type UploadSettlementProfile, type UploadSettlementEvent, type UploadSettlementTarget, type UploadSettlePolicy, type UploadRefreshOutcome, type UploadReadOptions, type UploadSettlementScheduler, type UploadSettlementVisibility, type ImageAware, type ImageCreateUpdateAware, type ImageCreateUpdateAwareKeyed, type UploadMetadataToImageMapFn, type UploadMetadataToImageMapItem, type AssetSelectMetadataToImageMapFn, isImageCreateUpdateAware, type ImageMediaCollabValue, type MediaAware, isMediaAware, type DamMediaFromDam, type DamMedia, DamMediaType, type DamMediaTypeType, type DamAuthor, type DamAuthorMinimal, type DamKeyword, type DamKeywordMinimal, DamAuthorType, type DamAuthorTypeType, type DamExtSystem, type DamExtSystemMinimal, type DamCurrentUserDto, type DamAssetLicence, type DamAssetLicenceCached, type DamAssetLicenceExtended, type DamAssetLicenceMinimal, type DamAssetLicenceSelectFields, type DamAssetLicenceGroup, type DamUserUpdateDto, type DamUser, type BreadcrumbItem, type Breadcrumbs, type UploadQueueKey, type DamConfigLicenceExtSystemReturnType, useAnzuUserFactory, usePermissionConfigFactory, usePermissionGroupFactory, cloneDeep, isEmpty, isEmptyObject, isObject, isArray, isFunction, isBoolean, isDocId, isNull, isUndefined, isDefined, isInt, isString, isNumber, objectGetValueByPath, objectSetValueByPath, objectDeletePropertyByPath, objectDeepFreeze, stringToInt, stringToFloat, stringToSlug, stringSplitOnFirstOccurrence, stringToKebabCase, stringIsValidEmail, stringToBooleanExact, DATETIME_MIN, DATETIME_MAX, dateTimeEndOfDay, dateTimeStartOfDay, dateTimeNow, dateTimeFriendly, dateTimePretty, dateModifyMinutes, dateToUtc, dateNow, dateTimeToDate, datePretty, dateUtcPretty, dateUtcToday, timePretty, dateDiff, type DateDiffUnit, prettyBytes, prettyDuration, booleanToInteger, arrayItemToggle, arrayFromArgs, arrayFlatten, type NestedArray, arraysHaveSameElements, browserHistoryReplaceUrlByRouter, eventClickBlur, generateUUIDv1, generateUUIDv4, isOneOf, useJobBaseResource, useJobStatus, fetchDamAssetLicenceListByIds, useFetchDamAssetLicenceList, fetchDamAssetLicenceGroupListByIds, fetchDamExtSystemListByIds, fetchDamUserListByIds, useFetchDamUserList, updateDamUser, fetchDamUser, fetchAssetAndCheckForSingleUseByFileIds, fetchAsset, fetchAssetAsCmsMedia, fetchAssetByFileId, type IdsGroupedByLicences, messagesCs, messagesEn, messagesSk, SystemScopeKey, SubjectScopeKey, HTTP_STATUS_OK, HTTP_STATUS_CREATED, HTTP_STATUS_NO_CONTENT, HTTP_STATUS_BAD_REQUEST, HTTP_STATUS_UNAUTHORIZED, HTTP_STATUS_FORBIDDEN, HTTP_STATUS_NOT_FOUND, HTTP_STATUS_UNPROCESSABLE_ENTITY, ROLE_SUPER_ADMIN, NEW_LINE_MARK, COMMON_CONFIG, SORT_BY_SCORE, SORT_BY_SCORE_BEST, SORT_BY_SCORE_DATE, SORT_BY_ID, SortOrder, ImageWidgetUploadConfigKey, useValidate, useCollabInit, useCommonAdminCollabOptions, useCollabCurrentUserId, useCollabState, useCollabField, useCollabRoom, useCollabHelpers, useCollabAnyDataChange, type CollabGatheringBufferDataEvent, useCollabReconnectEventBus, useCollabGatheringBufferDataEventBus, CollabFieldLockType, type CollabFieldLockTypeType, CollabFieldLockStatus, type CollabFieldLockStatusType, type CollabFieldLockStatusPayload, type CollabUserId, type CollabUserIdNullable, type CollabRoom, CollabStatus, type CollabStatusType, CollabConnectionState, type CollabConnectionStateType, CollabReconnectVerdict, type CollabReconnectVerdictType, type CollabRoomInfo, type CollabRoomsInfo, type CollabFieldDataEnvelope, type CollabFieldData, type CollabFieldName, type CollabFieldLock, type CollabRoomLocks, type CollabRoomData, type CollabRoomPlainData, CollabAccessRoomStatus, type CollabAccessRoomStatusType, CollabChangeRoomLockStatus, type CollabChangeRoomLockStatusType, type CollabFieldLockOptions, CollabRoomJoinStrategy, type CollabRoomJoinStrategyType, type CollabJoinAckOptions, type CollabRoomOptions, CollabRequestToTakeModerationStatus, type CollabRequestToTakeModerationStatusType, CollabRequestToJoinStatus, type CollabRequestToJoinStatusType, type CollabCachedUsersMap, type CollabComponentConfig, COLLAB_FIELD_PREFIX_COMMENT, COLLAB_FIELD_PREFIX_EMBED, useDamConfigStore, useDamConfigStoreOf, type DamConfigStore, useImageStore, type CommonAdminI18n, slovakPluralizationRule, isAnzuApiForbiddenError, axiosErrorResponseIsForbidden, AnzuApiForbiddenError, isAnzuApiResponseCodeError, AnzuApiResponseCodeError, isAnzuApiForbiddenOperationError, axiosErrorResponseHasForbiddenOperationData, AnzuApiForbiddenOperationError, isAnzuApiValidationError, hasAnzuApiValidationErrorSpecific, axiosErrorResponseHasValidationData, AnzuApiValidationError, isAnzuFatalError, AnzuFatalError, isAnzuApiTimeoutError, AnzuApiTimeoutError, AnzuApiCancelledError, isAnzuApiCancelledError, AnzuError, isAnzuError, isAnzuApiAxiosError, AnzuApiAxiosError, type ValidationError, type AnzuApiValidationResponseData, isAnzuApiDependencyExistsError, axiosErrorResponseHasDependencyExistsData, AnzuApiDependencyExistsError, AnzuSystemsCommonAdmin, useCommonVuetifyConfig, createAnzuVuetify, type CreateAnzuVuetifyOptions, loadCommonFonts, getAssetTypeByMimeType, damFileTypeFix, localTimeShiftInSeconds, useSystemBar, AFilterWrapper, AFilterWrapperSidebar, AFilterWrapperSubjectSelect, AFiltersSelected, AFilterBooleanSelect, AFilterInteger, AFilterRemoteAutocomplete, AFilterString, AFilterTimeInterval, AFilterValueObjectOptionsSelect, FilterConfigKey, FilterDataKey, FilterInnerConfigKey, FilterInnerDataKey, ADatatableOrdering, ADatatablePagination, DatatablePaginationKey, AFormRemoteAutocomplete, createFilterRemoteAutocomplete, createRemoteAutocomplete, type CreateRemoteAutocompleteOptions, type RemoteAutocompleteScope, type FilterRemoteAutocompleteComponent, type FilterRemoteAutocompleteProps, type RemoteAutocompleteComponent, type RemoteAutocompleteProps, type RemoteInnerFilter, type RemoteSelectActions, AFormRemoteAutocompleteWithCached, buildFilterHash, createFilter, createFilterStore, isRouterSafeHash, useFilterHelpers, useDatatableList, type FilterHelpersMoreOptions, type FilterConfig, type FilterData, type FilterStoreIdentifier, type MakeFilterOption, type AllowedFilterValues, type FilterField, type FilterType, type FilterVariant, TimeIntervalSpecialOptions, type TimeIntervalToolsValue, type TimeIntervalSpecialOptionsType, type Pagination, useApiFetchByIds, useApiFetchItems, useApiFetchList, useApiCommand, useApiRequest, defineApiClient, startWithEnvConfig, checkForNewVersion, requestAppReload, RELOAD_VETO_GRACE, skipUrlPrefixes, type ApiClientSetup, type ApiClientRequestInterceptor, type ApiClientResponseInterceptor, type UseApiRequestParams, type ExecuteRequestParams, type UseApiRequestReturnType, type UseApiFetchListParams, type FetchListParams, type UseApiFetchListReturnType, type UseApiFetchByIdsParams, type FetchByIdsParams, type UseApiFetchByIdsReturnType, type UseApiFetchItemsParams, type FetchItemsParams, type ItemsShape, type UseApiFetchItemsReturnType, type UseApiFetchListBatchParams, type FetchListBatchParams, type UseApiFetchListBatchReturnType, defaultApiErrorLogger, apiErrorStatus, apiErrorIsReported, setApiErrorLogger, type ApiErrorContext, type ApiErrorLogger, useApiFetchListBatch, useApiQueryBuilder, generateListQuery, usePagination, createDatatableColumnsConfig, useSubjectSelect, ASubjectSelect, AListEditor, ASortableListEditor, ANestedSortableListEditor, AUnsavedConfirmDialog, useUnsavedChangesGuard, useUnsavedSection, type UnsavedSectionDescriptor, type UnsavedSectionSource, useListEditorController, type ListEditorHandle, type ExposedListEditorHandle, type UseListEditorControllerOptions, type ListEditorChanges, type ListEditorValidationResult, type GetKey, type PositionOption, type PositionStrategy, type PositionAction, renumberPositions, sortByPosition, sortByPositionDeep, type RenumberPositionsOptions, nextListEditorTempId, type NestedViewItem, useNestedListEditorController, type NestedListEditorHandle, type ExposedNestedListEditorHandle, type ExposedNestedSortableListEditorHandle, type NestedSortableListEditorExtras, type UseNestedListEditorControllerOptions, type NestedListEditorChanges, type ListEditorKey, type ListEditorValidationState, type ListViewItem, type NestedPositionHint, type NestedTree, type NestedTreeNode, type PositionHint, useJobApi, type AxiosClientFn, useUserAdminConfigApi, type UserAdminConfig, UserAdminConfigType, type UserAdminConfigTypeType, UserAdminConfigLayoutType, type UserAdminConfigLayoutTypeType, type UserAdminConfigDataFilterBookmark, type UserAdminConfigDataPinnedWidgets, useUserAdminConfigFactory, ALogListView, ALogDetailView, LogType, LogTypeDefault, type LogTypeType, isLogType, DEFAULT_LOG_PATHS, type LogPaths, type LogTimeWindow, APermissionGroupDatatable, APermissionGroupDetail, APermissionGroupManage, usePermissionGroupActions, type PermissionGroupActionsParams, AAnzuUserDatatable, AAnzuUserForm, AUserCopyPermissionsDialog, useAnzuUserActions, type AnzuUserActionsParams, defineUserSystemDescriptor, descriptorMayWrite, type UserSystemWriteAction, resolveProbeEndpoint, resolveMetadataWrite, resolveEnabledWrite, resolveCreateEndpoint, type UserSystemDescriptor, type AnyUserSystemDescriptor, type UserSystemEndpoints, type AnzuUserEndpointPair, type BaseUserEndpointPair, type UserSystemExtraState, type UserSystemManageTarget, AUserTabsShell, OTHER_SYSTEMS_TAB, USER_PROBE_ENTITY, type UserSystemRefreshHook, AUserSystemOverview, };
304
+ export { ACard, AProgress, ARow, AChipNoLink, AAlerts, AActionbar, AActionbarTarget, ALayoutLoader, ALayoutSwitch, actionbarSlot, createTeleportSlot, type TeleportSlot, ABooleanValue, ASystemEntityScope, AFormTextField, AFormTextarea, AFormDatetimePicker, AFormFlagDatetimePicker, AFormRemoteCheckbox, AFormRemoteSwitch, AFormSwitch, AFormValueObjectOptionsSelect, ADatetime, ADatetimePicker, ADatatableConfigButton, ADialogToolbar, ACreateDialog, AJobStatusChip, ACachedChip, ACachedUserChip, AAdminSwitcher, ATimeTrackingFields, Acl, ACopyText, AIconGroup, AUserAndTimeTrackingFields, AActionCloseButtonHistory, AActionCreateButton, AActionDeleteButton, AActionEditButton, AActionSaveButton, ATableCopyIdButton, ATableDetailButton, ATableEditButton, ABtnSplit, AThemeSelect, ALanguageSelect, ASystemBar, AAnzuUserAvatar, AAvatarColorPicker, ACurrentUserDropdown, AJobDetailCommon, AJobPriorityChip, AJobBaseCreateForm, ACustomDataForm, ACustomDataFormElement, AImageWidget, AImageWidgetInner, AImageMediaWidget, AImageWidgetSimple, AMediaWidgetSimple, AImageWidgetMultiple, AImageWidgetMultipleInner, AImageWidgetMultipleSimple, AImageMassOperations, AImagePublicInput, ADamAssetImageRoiSelect, ACollabLockedByUser, ACollabManagement, AFileInput, AAssetSelect, AAssetListInner, ABooleanSelect, ADamExtSystemRemoteAutocomplete, ADamExternalProviderAssetSelect, ADamDistributionServiceSelect, ADamAssetLicenceRemoteAutocomplete, ADamAssetListViewRemoteAutocomplete, ADamAssetLicenceGroupRemoteAutocomplete, ADamAuthorFilterRemoteAutocomplete, ADamKeywordFilterRemoteAutocomplete, ADamUserFilterRemoteAutocomplete, ADamUserRemoteAutocomplete, ADamAdminAssetLink, ALoginView, ALogoutView, AUnauthorizedView, ANotFoundView, AGenericView, useRouteHistory, type NavigateBackOptions, type NavigateBackTarget, type RouteHistoryEntry, handleRecordLoadError, useRecordPage, type UseRecordPageOptions, type UseRecordPageReturn, defineRecordLoader, defineRecordSave, trackNavigation, isNavigationPending, usePageNavigation, type UsePageNavigationReturn, createNavigationErrorHandler, type NavigationErrorHandlerOptions, useRemainingTime, useAlerts, useTheme, defineCached, useCachedItem, Theme, type ThemeType, useLanguageSettings, modifyLanguageSettings, useLoginStatus, generateDatatableMinMaxSelectStrategy, useCustomDataFormElementType, useDamConfigState, useUploadQueueItemFactory, useDamUploadChunkSize, useDamAcceptTypeAndSizeHelper, useAssetSuggestions, destroyDamNotifications, initDamNotifications, useDamNotifications, useDamNotificationsConnection, createUploadSettlement, uploadSettlementRuntime, UPLOAD_POLL_SCHEDULE, useDropzoneGlobalDragState, useDamKeywordFactory, useDamAuthorFactory, useDamAuthorType, useDamDistributionServiceType, useDamAssetLicenceInnerFilter, useImageActions, useCommonAdminImageOptions, defineAuth, useAclAllowed, AuthUnavailableError, type AuthCookieState, createRefreshRequestInterceptor, createRefreshSession, isInCauseChain, type RefreshResult, SessionExpiredError, defineBreadcrumbs, useDamCachedUsers, useDamCachedAssetLicences, useUnreleasedFeatures, useDebugFeatures, useSentry, useUserActivity, type GrantType, Grant, useGrant, type GrantOriginType, GrantOrigin, GrantOriginDefault, useGrantOrigin, LogLevel, type LogLevelType, type IntegerId, type IntegerIdNullable, type DocId, type DocIdNullable, type DatetimeUTCNullable, type DatetimeUTC, type DateUTC, type DatetimePickerType, type AnzuUser, type BaseUser, type AnzuUserMinimal, type AnzuUserAndTimeTrackingAware, type ValueObjectOption, type CreatedByAware, type PermissionConfig, type PermissionTranslationGroup, type PermissionGroup, type PermissionGroupMinimal, type VuetifyIconValue, type JobBase, type JobUserDataDelete, JOB_RESOURCE_USER_DATA_DELETE, JobStatus, JobStatusDefault, type JobStatusType, type JobBaseResource, useCommonJobFactory, type AclValue, type AclRegistry, type AclValueOf, type RegisteredAclValue, type Permissions, type PluginOptions, type CommonAdminImageOptions, type CommonAdminCoreDamOptions, type CommonAdminCollabOptions, type LanguageCode, type Immutable, type ResourceNameSystemAware, type ValidationScope, type AFormFieldValidation, type CommonAdminGlobalComponents, type ACreateDialogValidation, type Log, type ApiInfiniteResponseList, type DatatableOrderingOption, type DatatableOrderingOptions, type DatatableSortBy, type SortOrderType, type ObjectLeaves, type UniqueValues, ensureUniqueValues, type CachedItem, type AddToCachedArgs, type CachedUnresolvedReason, type DefineCachedOptions, type RecordWasType, type UrlParams, type AssetSelectReturnData, AssetSelectReturnType, type AssetSelectReturnTypeType, type SortableItemDataAware, type AssetFileProperties, type AssetSearchListItemDto, type AssetDetailItemDto, type AssetMetadataDto, type AssetCustomData, type AssetMetadataSuggestions, AssetFileFailReason, type AssetFileFailReasonType, AssetFileProcessStatus, type AssetFileProcessStatusType, AssetFileLinkType, type AssetFileLinkTypeType, type AssetFile, type AssetFileDocument, type AssetFileVideo, type AssetFileAudio, type AssetFileImage, type AssetFileNullable, type AssetFileLink, type AssetFileLinks, type AssetFileRoute, AssetFileRouteStatus, type AssetFileRouteStatusType, type AssetFileMainRouteAware, type AssetFileDownloadLink, type AssetFileImagePreviewNullable, assetFileIsImageFile, assetFileIsVideoFile, assetFileIsAudioFile, type UploadQueue, type UploadQueueItem, UploadQueueItemStatus, type UploadQueueItemStatusType, UploadQueueItemType, type UploadQueueItemTypeType, type CustomDataAware, type CustomDataValue, type CustomDataFormElement, type CustomDataFormElementAttributes, CustomDataFormElementType, CustomDataFormElementTypeDefault, type CustomDataFormElementTypeType, DamAssetType, DamAssetTypeDefault, type DamAssetTypeType, DamAssetStatus, DamAssetStatusDefault, type DamAssetStatusType, type DamPubConfig, type DamPrvConfig, type DamExtSystemConfig, type DamDistributionServiceName, type DamExtSystemConfigItem, type DamExtSystemConfigItemImage, type DamExternalProviderAssetConfig, type DamExternalProviderAssetName, type DamDistributionConfig, type DamDistributionRequirementsConfig, DamDistributionRequirementStrategy, type DamDistributionRequirementStrategyType, type DamDistributionRequirementsCategorySelectConfig, type DamExtSystemAssetTypeExifMetadata, DamDistributionServiceType, type DamDistributionServiceTypeType, DamDistributionStatus, type DamDistributionStatusType, UserAuthType, type UserAuthTypeType, type DamUploadStartResponse, type DamNotificationNameType, DamNotificationName, type DamNotificationListenerOptions, UploadRowRole, type UploadRowRoleType, type UploadSettlement, type UploadSettlementProfile, type UploadSettlementEvent, type UploadSettlementTarget, type UploadSettlePolicy, type UploadRefreshOutcome, type UploadReadOptions, type UploadSettlementScheduler, type UploadSettlementVisibility, type ImageAware, type ImageCreateUpdateAware, type ImageCreateUpdateAwareKeyed, type UploadMetadataToImageMapFn, type UploadMetadataToImageMapItem, type AssetSelectMetadataToImageMapFn, isImageCreateUpdateAware, type ImageMediaCollabValue, type MediaAware, isMediaAware, type DamMediaFromDam, type DamMedia, DamMediaType, type DamMediaTypeType, type DamAuthor, type DamAuthorMinimal, type DamKeyword, type DamKeywordMinimal, DamAuthorType, type DamAuthorTypeType, type DamExtSystem, type DamExtSystemMinimal, type DamCurrentUserDto, type DamAssetLicence, type DamAssetLicenceCached, type DamAssetLicenceExtended, type DamAssetLicenceMinimal, type DamAssetLicenceSelectFields, type DamAssetListViewMinimal, type DamAssetListViewResolved, type DamAssetLicenceGroup, type DamUserUpdateDto, type DamUser, type BreadcrumbItem, type Breadcrumbs, type UploadQueueKey, type DamConfigLicenceExtSystemReturnType, useAnzuUserFactory, usePermissionConfigFactory, usePermissionGroupFactory, cloneDeep, isEmpty, isEmptyObject, isObject, isArray, isFunction, isBoolean, isDocId, isNull, isUndefined, isDefined, isInt, isString, isNumber, objectGetValueByPath, objectSetValueByPath, objectDeletePropertyByPath, objectDeepFreeze, stringToInt, stringToFloat, stringToSlug, stringSplitOnFirstOccurrence, stringToKebabCase, stringIsValidEmail, stringToBooleanExact, DATETIME_MIN, DATETIME_MAX, dateTimeEndOfDay, dateTimeStartOfDay, dateTimeNow, dateTimeFriendly, dateTimePretty, dateModifyMinutes, dateToUtc, dateNow, dateTimeToDate, datePretty, dateUtcPretty, dateUtcToday, timePretty, dateDiff, type DateDiffUnit, prettyBytes, prettyDuration, booleanToInteger, arrayItemToggle, arrayFromArgs, arrayFlatten, type NestedArray, arraysHaveSameElements, browserHistoryReplaceUrlByRouter, eventClickBlur, generateUUIDv1, generateUUIDv4, isOneOf, useJobBaseResource, useJobStatus, fetchDamAssetLicenceListByIds, fetchDamAssetListViewListByIds, useFetchDamAssetLicenceList, fetchDamAssetLicenceGroupListByIds, fetchDamExtSystemListByIds, fetchDamUserListByIds, useFetchDamUserList, updateDamUser, fetchDamUser, fetchAssetAndCheckForSingleUseByFileIds, fetchAsset, fetchAssetAsCmsMedia, fetchAssetByFileId, type IdsGroupedByLicences, messagesCs, messagesEn, messagesSk, SystemScopeKey, SubjectScopeKey, HTTP_STATUS_OK, HTTP_STATUS_CREATED, HTTP_STATUS_NO_CONTENT, HTTP_STATUS_BAD_REQUEST, HTTP_STATUS_UNAUTHORIZED, HTTP_STATUS_FORBIDDEN, HTTP_STATUS_NOT_FOUND, HTTP_STATUS_UNPROCESSABLE_ENTITY, ROLE_SUPER_ADMIN, NEW_LINE_MARK, COMMON_CONFIG, SORT_BY_SCORE, SORT_BY_SCORE_BEST, SORT_BY_SCORE_DATE, SORT_BY_ID, SortOrder, ImageWidgetUploadConfigKey, useValidate, useCollabInit, useCommonAdminCollabOptions, useCollabCurrentUserId, useCollabState, useCollabField, useCollabRoom, useCollabHelpers, useCollabAnyDataChange, type CollabGatheringBufferDataEvent, useCollabReconnectEventBus, useCollabGatheringBufferDataEventBus, CollabFieldLockType, type CollabFieldLockTypeType, CollabFieldLockStatus, type CollabFieldLockStatusType, type CollabFieldLockStatusPayload, type CollabUserId, type CollabUserIdNullable, type CollabRoom, CollabStatus, type CollabStatusType, CollabConnectionState, type CollabConnectionStateType, CollabReconnectVerdict, type CollabReconnectVerdictType, type CollabRoomInfo, type CollabRoomsInfo, type CollabFieldDataEnvelope, type CollabFieldData, type CollabFieldName, type CollabFieldLock, type CollabRoomLocks, type CollabRoomData, type CollabRoomPlainData, CollabAccessRoomStatus, type CollabAccessRoomStatusType, CollabChangeRoomLockStatus, type CollabChangeRoomLockStatusType, type CollabFieldLockOptions, CollabRoomJoinStrategy, type CollabRoomJoinStrategyType, type CollabJoinAckOptions, type CollabRoomOptions, CollabRequestToTakeModerationStatus, type CollabRequestToTakeModerationStatusType, CollabRequestToJoinStatus, type CollabRequestToJoinStatusType, type CollabCachedUsersMap, type CollabComponentConfig, COLLAB_FIELD_PREFIX_COMMENT, COLLAB_FIELD_PREFIX_EMBED, useDamConfigStore, useDamConfigStoreOf, type DamConfigStore, useImageStore, type CommonAdminI18n, slovakPluralizationRule, isAnzuApiForbiddenError, axiosErrorResponseIsForbidden, AnzuApiForbiddenError, isAnzuApiResponseCodeError, AnzuApiResponseCodeError, isAnzuApiForbiddenOperationError, axiosErrorResponseHasForbiddenOperationData, AnzuApiForbiddenOperationError, isAnzuApiValidationError, hasAnzuApiValidationErrorSpecific, axiosErrorResponseHasValidationData, AnzuApiValidationError, isAnzuFatalError, AnzuFatalError, isAnzuApiTimeoutError, AnzuApiTimeoutError, AnzuApiCancelledError, isAnzuApiCancelledError, AnzuError, isAnzuError, isAnzuApiAxiosError, AnzuApiAxiosError, type ValidationError, type AnzuApiValidationResponseData, isAnzuApiDependencyExistsError, axiosErrorResponseHasDependencyExistsData, AnzuApiDependencyExistsError, AnzuSystemsCommonAdmin, useCommonVuetifyConfig, createAnzuVuetify, type CreateAnzuVuetifyOptions, loadCommonFonts, getAssetTypeByMimeType, damFileTypeFix, localTimeShiftInSeconds, useSystemBar, AFilterWrapper, AFilterWrapperSidebar, AFilterWrapperSubjectSelect, AFiltersSelected, AFilterBooleanSelect, AFilterInteger, AFilterRemoteAutocomplete, AFilterString, AFilterTimeInterval, AFilterValueObjectOptionsSelect, FilterConfigKey, FilterDataKey, FilterInnerConfigKey, FilterInnerDataKey, ADatatableOrdering, ADatatablePagination, DatatablePaginationKey, AFormRemoteAutocomplete, createFilterRemoteAutocomplete, createRemoteAutocomplete, type CreateRemoteAutocompleteOptions, type RemoteAutocompleteScope, type FilterRemoteAutocompleteComponent, type FilterRemoteAutocompleteProps, type RemoteAutocompleteComponent, type RemoteAutocompleteProps, type RemoteInnerFilter, type RemoteSelectActions, AFormRemoteAutocompleteWithCached, buildFilterHash, createFilter, createFilterStore, isRouterSafeHash, useFilterHelpers, useDatatableList, type FilterHelpersMoreOptions, type FilterConfig, type FilterData, type FilterStoreIdentifier, type MakeFilterOption, type AllowedFilterValues, type FilterField, type FilterType, type FilterVariant, TimeIntervalSpecialOptions, type TimeIntervalToolsValue, type TimeIntervalSpecialOptionsType, type Pagination, useApiFetchByIds, useApiFetchItems, useApiFetchList, useApiCommand, useApiRequest, defineApiClient, startWithEnvConfig, checkForNewVersion, requestAppReload, RELOAD_VETO_GRACE, skipUrlPrefixes, type ApiClientSetup, type ApiClientRequestInterceptor, type ApiClientResponseInterceptor, type UseApiRequestParams, type ExecuteRequestParams, type UseApiRequestReturnType, type UseApiFetchListParams, type FetchListParams, type UseApiFetchListReturnType, type UseApiFetchByIdsParams, type FetchByIdsParams, type UseApiFetchByIdsReturnType, type UseApiFetchItemsParams, type FetchItemsParams, type ItemsShape, type UseApiFetchItemsReturnType, type UseApiFetchListBatchParams, type FetchListBatchParams, type UseApiFetchListBatchReturnType, defaultApiErrorLogger, apiErrorStatus, apiErrorIsReported, setApiErrorLogger, type ApiErrorContext, type ApiErrorLogger, useApiFetchListBatch, useApiQueryBuilder, generateListQuery, usePagination, createDatatableColumnsConfig, useSubjectSelect, ASubjectSelect, AListEditor, ASortableListEditor, ANestedSortableListEditor, AUnsavedConfirmDialog, useUnsavedChangesGuard, useUnsavedSection, type UnsavedSectionDescriptor, type UnsavedSectionSource, useListEditorController, type ListEditorHandle, type ExposedListEditorHandle, type UseListEditorControllerOptions, type ListEditorChanges, type ListEditorValidationResult, type GetKey, type PositionOption, type PositionStrategy, type PositionAction, renumberPositions, sortByPosition, sortByPositionDeep, type RenumberPositionsOptions, nextListEditorTempId, type NestedViewItem, useNestedListEditorController, type NestedListEditorHandle, type ExposedNestedListEditorHandle, type ExposedNestedSortableListEditorHandle, type NestedSortableListEditorExtras, type UseNestedListEditorControllerOptions, type NestedListEditorChanges, type ListEditorKey, type ListEditorValidationState, type ListViewItem, type NestedPositionHint, type NestedTree, type NestedTreeNode, type PositionHint, useJobApi, type AxiosClientFn, useUserAdminConfigApi, type UserAdminConfig, UserAdminConfigType, type UserAdminConfigTypeType, UserAdminConfigLayoutType, type UserAdminConfigLayoutTypeType, type UserAdminConfigDataFilterBookmark, type UserAdminConfigDataPinnedWidgets, useUserAdminConfigFactory, ALogListView, ALogDetailView, LogType, LogTypeDefault, type LogTypeType, isLogType, DEFAULT_LOG_PATHS, type LogPaths, type LogTimeWindow, APermissionGroupDatatable, APermissionGroupDetail, APermissionGroupManage, usePermissionGroupActions, type PermissionGroupActionsParams, AAnzuUserDatatable, AAnzuUserForm, AUserCopyPermissionsDialog, useAnzuUserActions, type AnzuUserActionsParams, defineUserSystemDescriptor, descriptorMayWrite, type UserSystemWriteAction, resolveProbeEndpoint, resolveMetadataWrite, resolveEnabledWrite, resolveCreateEndpoint, type UserSystemDescriptor, type AnyUserSystemDescriptor, type UserSystemEndpoints, type AnzuUserEndpointPair, type BaseUserEndpointPair, type UserSystemExtraState, type UserSystemManageTarget, AUserTabsShell, OTHER_SYSTEMS_TAB, USER_PROBE_ENTITY, type UserSystemRefreshHook, AUserSystemOverview, };
303
305
  export { createCachedChip } from './domains/cached/composables/createCachedChip';
304
306
  export type { CreateCachedChipOptions } from './domains/cached/composables/createCachedChip';
305
307
  export { createUserAndTimeTrackingFields } from './domains/cached/composables/createUserAndTimeTrackingFields';
@@ -6,7 +6,7 @@ var e = {
6
6
  b: {
7
7
  t: 2,
8
8
  i: [{ t: 3 }],
9
- s: "Detail Anzu uživatele"
9
+ s: "Detail uživatele"
10
10
  }
11
11
  },
12
12
  list: {
@@ -14,7 +14,7 @@ var e = {
14
14
  b: {
15
15
  t: 2,
16
16
  i: [{ t: 3 }],
17
- s: "Seznam Anzu uživatelů"
17
+ s: "Seznam uživatelů"
18
18
  }
19
19
  },
20
20
  edit: {
@@ -22,7 +22,7 @@ var e = {
22
22
  b: {
23
23
  t: 2,
24
24
  i: [{ t: 3 }],
25
- s: "Úprava Anzu uživatele"
25
+ s: "Úprava uživatele"
26
26
  }
27
27
  },
28
28
  create: {
@@ -30,7 +30,7 @@ var e = {
30
30
  b: {
31
31
  t: 2,
32
32
  i: [{ t: 3 }],
33
- s: "Vytvoření Anzu uživatele"
33
+ s: "Vytvoření uživatele"
34
34
  }
35
35
  }
36
36
  },
@@ -363,6 +363,32 @@ var e = {
363
363
  s: "Chyba při načítání distribučních služeb"
364
364
  }
365
365
  }
366
+ },
367
+ preset: {
368
+ label: {
369
+ t: 0,
370
+ b: {
371
+ t: 2,
372
+ i: [{ t: 3 }],
373
+ s: "Hledat v"
374
+ }
375
+ },
376
+ groupListViews: {
377
+ t: 0,
378
+ b: {
379
+ t: 2,
380
+ i: [{ t: 3 }],
381
+ s: "Výběry"
382
+ }
383
+ },
384
+ groupLicences: {
385
+ t: 0,
386
+ b: {
387
+ t: 2,
388
+ i: [{ t: 3 }],
389
+ s: "Licence"
390
+ }
391
+ }
366
392
  }
367
393
  };
368
394
  export { e as default };
@@ -1 +1 @@
1
- {"version":3,"file":"assetSelect.js","names":["resource","\"model\"","\"id\"","\"t\"","\"b\"","\"i\"","\"s\"","\"texts\"","\"displayTitle\"","\"mainFile\"","\"fileAttributes\"","\"mimeType\"","\"size\"","\"meta\"","\"table\"","\"image\"","\"advanced\"","\"grid\"","\"masonry\"","\"thumbnail\"","\"filter\"","\"toggle\"","\"info\"","\"noAssetSelected\"","\"title\"","\"noItemsFound\"","\"pickExactCount\"","\"v\"","\"k\"","\"pickRangeCount\"","\"copyToLicence\"","\"licence\"","\"text\"","\"described\"","\"visible\"","\"generatedBySystem\"","\"assetAndMainFileIds\"","\"keywordIds\"","\"authorIds\"","\"createdByIds\"","\"inPodcast\"","\"podcastIds\"","\"distributedInServices\"","\"createdAtFrom\"","\"assetType\"","\"audio\"","\"video\"","\"document\"","\"error\"","\"unallowedLicence\"","\"noSelectLicence\"","\"loadingDistributionServices\""],"sources":[],"mappings":""}
1
+ {"version":3,"file":"assetSelect.js","names":["resource","\"model\"","\"id\"","\"t\"","\"b\"","\"i\"","\"s\"","\"texts\"","\"displayTitle\"","\"mainFile\"","\"fileAttributes\"","\"mimeType\"","\"size\"","\"meta\"","\"table\"","\"image\"","\"advanced\"","\"grid\"","\"masonry\"","\"thumbnail\"","\"filter\"","\"toggle\"","\"info\"","\"noAssetSelected\"","\"title\"","\"noItemsFound\"","\"pickExactCount\"","\"v\"","\"k\"","\"pickRangeCount\"","\"copyToLicence\"","\"licence\"","\"text\"","\"described\"","\"visible\"","\"generatedBySystem\"","\"assetAndMainFileIds\"","\"keywordIds\"","\"authorIds\"","\"createdByIds\"","\"inPodcast\"","\"podcastIds\"","\"distributedInServices\"","\"createdAtFrom\"","\"assetType\"","\"audio\"","\"video\"","\"document\"","\"error\"","\"unallowedLicence\"","\"noSelectLicence\"","\"loadingDistributionServices\"","\"preset\"","\"label\"","\"groupListViews\"","\"groupLicences\""],"sources":[],"mappings":""}
@@ -486,6 +486,11 @@ declare const _default: {
486
486
  noSelectLicence: string;
487
487
  loadingDistributionServices: string;
488
488
  };
489
+ preset: {
490
+ label: string;
491
+ groupListViews: string;
492
+ groupLicences: string;
493
+ };
489
494
  };
490
495
  subjectSelect: {
491
496
  filter: {
@@ -6,7 +6,7 @@ var e = {
6
6
  b: {
7
7
  t: 2,
8
8
  i: [{ t: 3 }],
9
- s: "Anzu User Detail"
9
+ s: "User Detail"
10
10
  }
11
11
  },
12
12
  list: {
@@ -14,7 +14,7 @@ var e = {
14
14
  b: {
15
15
  t: 2,
16
16
  i: [{ t: 3 }],
17
- s: "Anzu Users List"
17
+ s: "User List"
18
18
  }
19
19
  },
20
20
  edit: {
@@ -22,7 +22,7 @@ var e = {
22
22
  b: {
23
23
  t: 2,
24
24
  i: [{ t: 3 }],
25
- s: "Anzu User Edit"
25
+ s: "User Edit"
26
26
  }
27
27
  },
28
28
  create: {
@@ -30,7 +30,7 @@ var e = {
30
30
  b: {
31
31
  t: 2,
32
32
  i: [{ t: 3 }],
33
- s: "Anzu User Create"
33
+ s: "User Create"
34
34
  }
35
35
  }
36
36
  },
@@ -363,6 +363,32 @@ var e = {
363
363
  s: "Error loading distribution services."
364
364
  }
365
365
  }
366
+ },
367
+ preset: {
368
+ label: {
369
+ t: 0,
370
+ b: {
371
+ t: 2,
372
+ i: [{ t: 3 }],
373
+ s: "Search in"
374
+ }
375
+ },
376
+ groupListViews: {
377
+ t: 0,
378
+ b: {
379
+ t: 2,
380
+ i: [{ t: 3 }],
381
+ s: "Selections"
382
+ }
383
+ },
384
+ groupLicences: {
385
+ t: 0,
386
+ b: {
387
+ t: 2,
388
+ i: [{ t: 3 }],
389
+ s: "Licences"
390
+ }
391
+ }
366
392
  }
367
393
  };
368
394
  export { e as default };
@@ -1 +1 @@
1
- {"version":3,"file":"assetSelect.js","names":["resource","\"model\"","\"id\"","\"t\"","\"b\"","\"i\"","\"s\"","\"texts\"","\"displayTitle\"","\"mainFile\"","\"fileAttributes\"","\"mimeType\"","\"size\"","\"meta\"","\"table\"","\"image\"","\"advanced\"","\"grid\"","\"masonry\"","\"thumbnail\"","\"filter\"","\"toggle\"","\"info\"","\"noAssetSelected\"","\"title\"","\"noItemsFound\"","\"pickExactCount\"","\"v\"","\"k\"","\"pickRangeCount\"","\"copyToLicence\"","\"licence\"","\"text\"","\"described\"","\"visible\"","\"generatedBySystem\"","\"assetAndMainFileIds\"","\"keywordIds\"","\"authorIds\"","\"createdByIds\"","\"inPodcast\"","\"podcastIds\"","\"distributedInServices\"","\"createdAtFrom\"","\"assetType\"","\"audio\"","\"video\"","\"document\"","\"error\"","\"unallowedLicence\"","\"noSelectLicence\"","\"loadingDistributionServices\""],"sources":[],"mappings":""}
1
+ {"version":3,"file":"assetSelect.js","names":["resource","\"model\"","\"id\"","\"t\"","\"b\"","\"i\"","\"s\"","\"texts\"","\"displayTitle\"","\"mainFile\"","\"fileAttributes\"","\"mimeType\"","\"size\"","\"meta\"","\"table\"","\"image\"","\"advanced\"","\"grid\"","\"masonry\"","\"thumbnail\"","\"filter\"","\"toggle\"","\"info\"","\"noAssetSelected\"","\"title\"","\"noItemsFound\"","\"pickExactCount\"","\"v\"","\"k\"","\"pickRangeCount\"","\"copyToLicence\"","\"licence\"","\"text\"","\"described\"","\"visible\"","\"generatedBySystem\"","\"assetAndMainFileIds\"","\"keywordIds\"","\"authorIds\"","\"createdByIds\"","\"inPodcast\"","\"podcastIds\"","\"distributedInServices\"","\"createdAtFrom\"","\"assetType\"","\"audio\"","\"video\"","\"document\"","\"error\"","\"unallowedLicence\"","\"noSelectLicence\"","\"loadingDistributionServices\"","\"preset\"","\"label\"","\"groupListViews\"","\"groupLicences\""],"sources":[],"mappings":""}
@@ -486,6 +486,11 @@ declare const _default: {
486
486
  noSelectLicence: string;
487
487
  loadingDistributionServices: string;
488
488
  };
489
+ preset: {
490
+ label: string;
491
+ groupListViews: string;
492
+ groupLicences: string;
493
+ };
489
494
  };
490
495
  subjectSelect: {
491
496
  filter: {
@@ -6,7 +6,7 @@ var e = {
6
6
  b: {
7
7
  t: 2,
8
8
  i: [{ t: 3 }],
9
- s: "Detail Anzu používateľa"
9
+ s: "Detail používateľa"
10
10
  }
11
11
  },
12
12
  list: {
@@ -14,7 +14,7 @@ var e = {
14
14
  b: {
15
15
  t: 2,
16
16
  i: [{ t: 3 }],
17
- s: "Zoznam Anzu používateľov"
17
+ s: "Zoznam používateľov"
18
18
  }
19
19
  },
20
20
  edit: {
@@ -22,7 +22,7 @@ var e = {
22
22
  b: {
23
23
  t: 2,
24
24
  i: [{ t: 3 }],
25
- s: "Úprava Anzu používateľa"
25
+ s: "Úprava používateľa"
26
26
  }
27
27
  },
28
28
  create: {
@@ -30,7 +30,7 @@ var e = {
30
30
  b: {
31
31
  t: 2,
32
32
  i: [{ t: 3 }],
33
- s: "Vytvorenie Anzu používateľa"
33
+ s: "Vytvorenie používateľa"
34
34
  }
35
35
  }
36
36
  },
@@ -363,6 +363,32 @@ var e = {
363
363
  s: "Chyba pri načítaní distribučných služieb"
364
364
  }
365
365
  }
366
+ },
367
+ preset: {
368
+ label: {
369
+ t: 0,
370
+ b: {
371
+ t: 2,
372
+ i: [{ t: 3 }],
373
+ s: "Hľadať v"
374
+ }
375
+ },
376
+ groupListViews: {
377
+ t: 0,
378
+ b: {
379
+ t: 2,
380
+ i: [{ t: 3 }],
381
+ s: "Výbery"
382
+ }
383
+ },
384
+ groupLicences: {
385
+ t: 0,
386
+ b: {
387
+ t: 2,
388
+ i: [{ t: 3 }],
389
+ s: "Licencie"
390
+ }
391
+ }
366
392
  }
367
393
  };
368
394
  export { e as default };
@@ -1 +1 @@
1
- {"version":3,"file":"assetSelect.js","names":["resource","\"model\"","\"id\"","\"t\"","\"b\"","\"i\"","\"s\"","\"texts\"","\"displayTitle\"","\"mainFile\"","\"fileAttributes\"","\"mimeType\"","\"size\"","\"meta\"","\"table\"","\"image\"","\"advanced\"","\"grid\"","\"masonry\"","\"thumbnail\"","\"filter\"","\"toggle\"","\"info\"","\"noAssetSelected\"","\"title\"","\"noItemsFound\"","\"pickExactCount\"","\"v\"","\"k\"","\"pickRangeCount\"","\"copyToLicence\"","\"licence\"","\"text\"","\"described\"","\"visible\"","\"generatedBySystem\"","\"assetAndMainFileIds\"","\"keywordIds\"","\"authorIds\"","\"createdByIds\"","\"inPodcast\"","\"podcastIds\"","\"distributedInServices\"","\"createdAtFrom\"","\"assetType\"","\"audio\"","\"video\"","\"document\"","\"error\"","\"unallowedLicence\"","\"noSelectLicence\"","\"loadingDistributionServices\""],"sources":[],"mappings":""}
1
+ {"version":3,"file":"assetSelect.js","names":["resource","\"model\"","\"id\"","\"t\"","\"b\"","\"i\"","\"s\"","\"texts\"","\"displayTitle\"","\"mainFile\"","\"fileAttributes\"","\"mimeType\"","\"size\"","\"meta\"","\"table\"","\"image\"","\"advanced\"","\"grid\"","\"masonry\"","\"thumbnail\"","\"filter\"","\"toggle\"","\"info\"","\"noAssetSelected\"","\"title\"","\"noItemsFound\"","\"pickExactCount\"","\"v\"","\"k\"","\"pickRangeCount\"","\"copyToLicence\"","\"licence\"","\"text\"","\"described\"","\"visible\"","\"generatedBySystem\"","\"assetAndMainFileIds\"","\"keywordIds\"","\"authorIds\"","\"createdByIds\"","\"inPodcast\"","\"podcastIds\"","\"distributedInServices\"","\"createdAtFrom\"","\"assetType\"","\"audio\"","\"video\"","\"document\"","\"error\"","\"unallowedLicence\"","\"noSelectLicence\"","\"loadingDistributionServices\"","\"preset\"","\"label\"","\"groupListViews\"","\"groupLicences\""],"sources":[],"mappings":""}
@@ -486,6 +486,11 @@ declare const _default: {
486
486
  noSelectLicence: string;
487
487
  loadingDistributionServices: string;
488
488
  };
489
+ preset: {
490
+ label: string;
491
+ groupListViews: string;
492
+ groupLicences: string;
493
+ };
489
494
  };
490
495
  subjectSelect: {
491
496
  filter: {
@@ -514,6 +514,11 @@ export declare const i18n: I18n<{
514
514
  noSelectLicence: string;
515
515
  loadingDistributionServices: string;
516
516
  };
517
+ preset: {
518
+ label: string;
519
+ groupListViews: string;
520
+ groupLicences: string;
521
+ };
517
522
  };
518
523
  subjectSelect: {
519
524
  filter: {
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "./package.json": "./package.json"
42
42
  },
43
- "version": "2.0.0-rc.12",
43
+ "version": "2.0.0-rc.14",
44
44
  "license": "Apache-2.0",
45
45
  "repository": {
46
46
  "type": "git",
@@ -80,17 +80,17 @@
80
80
  "release:cleanup": "npx -y --allow-git=all github:anzusystems/release-tools#main cleanup"
81
81
  },
82
82
  "devDependencies": {
83
- "@anzusystems/common-admin": "2.0.0-rc.12",
83
+ "@anzusystems/common-admin": "2.0.0-rc.14",
84
84
  "@intlify/unplugin-vue-i18n": "^11.2.8",
85
85
  "@mdi/font": "^7.4.47",
86
- "@sentry/vite-plugin": "11.11.0",
87
- "@sentry/vue": "^11.11.0",
88
- "@tsconfig/node22": "^22.0.6",
86
+ "@sentry/vite-plugin": "11.12.0",
87
+ "@sentry/vue": "^11.12.0",
88
+ "@tsconfig/node22": "^22.0.7",
89
89
  "@types/node": "^24.19.2",
90
90
  "@types/rusha": "^0.8.3",
91
91
  "@types/sortablejs": "^1.15.9",
92
92
  "@typescript-eslint/parser": "^8.72.2",
93
- "@vitejs/plugin-vue": "^6.0.10",
93
+ "@vitejs/plugin-vue": "^6.0.11",
94
94
  "@vitest/browser": "^5.1.0",
95
95
  "@vitest/browser-playwright": "^5.1.0",
96
96
  "@vitest/ui": "^5.1.0",
@@ -111,7 +111,7 @@
111
111
  "eslint": "^10.14.0",
112
112
  "eslint-plugin-oxlint": "1.93.0",
113
113
  "eslint-plugin-pinia": "^0.4.2",
114
- "eslint-plugin-vue": "10.12.0",
114
+ "eslint-plugin-vue": "10.12.1",
115
115
  "eslint-plugin-vuetify": "^2.7.3",
116
116
  "npm-run-all2": "^9.0.4",
117
117
  "oxfmt": "^0.78.0",
@@ -121,7 +121,7 @@
121
121
  "postcss": "^8.5.32",
122
122
  "postcss-html": "^2.0.0",
123
123
  "rusha": "^0.8.14",
124
- "sass": "1.108.1",
124
+ "sass": "1.108.2",
125
125
  "socket.io-client": "4.8.4",
126
126
  "sortablejs": "^1.15.7",
127
127
  "stylelint": "17.16.0",
@@ -133,20 +133,20 @@
133
133
  "unplugin": "3.7.0",
134
134
  "unplugin-dts": "^1.1.2",
135
135
  "uuid": "^14.0.3",
136
- "vite": "8.3.7",
136
+ "vite": "8.3.8",
137
137
  "vite-plugin-vuetify": "^2.1.3",
138
138
  "vitest": "^5.1.0",
139
139
  "vue": "3.5.45",
140
140
  "vue-eslint-parser": "^10.4.2",
141
141
  "vue-i18n": "11.4.18",
142
- "vue-router": "5.4.0",
142
+ "vue-router": "5.5.0",
143
143
  "vue-tsc": "3.3.14",
144
144
  "vuetify": "4.3.3"
145
145
  },
146
146
  "peerDependencies": {
147
147
  "@mdi/font": "^7.4.47",
148
- "@sentry/vite-plugin": "^11.11.0",
149
- "@sentry/vue": "^11.11.0",
148
+ "@sentry/vite-plugin": "^11.12.0",
149
+ "@sentry/vue": "^11.12.0",
150
150
  "@vue/eslint-config-typescript": "^14.9.0",
151
151
  "@vuelidate/core": "^2.0.3",
152
152
  "@vuelidate/validators": "^2.0.4",
@@ -158,18 +158,18 @@
158
158
  "eslint": "^10.14.0",
159
159
  "eslint-plugin-oxlint": "^1.93.0",
160
160
  "eslint-plugin-pinia": "^0.4.2",
161
- "eslint-plugin-vue": "^10.12.0",
161
+ "eslint-plugin-vue": "^10.12.1",
162
162
  "eslint-plugin-vuetify": "^2.7.3",
163
163
  "oxlint": "^1.93.0",
164
164
  "pinia": "^4.1.0",
165
165
  "playwright": "^1.65.0",
166
166
  "socket.io-client": "^4.8.4",
167
167
  "sortablejs": "^1.15.7",
168
- "vite": "^8.3.7",
168
+ "vite": "^8.3.8",
169
169
  "vitest": "^5.1.0",
170
170
  "vue": "^3.5.45",
171
171
  "vue-i18n": "^11.4.18",
172
- "vue-router": "^5.4.0",
172
+ "vue-router": "^5.5.0",
173
173
  "vuetify": "^4.3.3"
174
174
  },
175
175
  "peerDependenciesMeta": {
@@ -1,6 +0,0 @@
1
- import e from "./AActionSaveAndCloseButton.vue_vue_type_script_setup_true_lang.js";
2
- // src/domains/ui/buttons/action/components/AActionSaveAndCloseButton.vue
3
- var t = e;
4
- export { t as default };
5
-
6
- //# sourceMappingURL=AActionSaveAndCloseButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AActionSaveAndCloseButton.js","names":["AActionSaveAndCloseButton_vue_vue_type_script_setup_true_lang_default","AActionSaveAndCloseButton_default"],"sources":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- import { RegisteredAclValue } from '../../../../auth/types/Permission';
2
- type __VLS_Props = {
3
- buttonT?: string;
4
- buttonClass?: string;
5
- dataCy?: string;
6
- loading?: boolean;
7
- disabled?: boolean;
8
- acl?: RegisteredAclValue | RegisteredAclValue[];
9
- subject?: object;
10
- };
11
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
- saveRecordAndClose: () => any;
13
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
- onSaveRecordAndClose?: (() => any) | undefined;
15
- }>, {
16
- disabled: boolean;
17
- loading: boolean;
18
- dataCy: string;
19
- subject: object;
20
- buttonT: string;
21
- buttonClass: string;
22
- acl: `${string}_${string}_${string}` | `${string}_${string}_${string}`[];
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;