@conduction/nextcloud-vue 2.162.0 → 2.163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/CnChipListManager/CnChipListManager.vue.js +9 -0
- package/dist/esm/components/CnChipListManager/CnChipListManager.vue.js.map +1 -0
- package/dist/esm/components/CnChipListManager/CnChipListManager.vue2.js +304 -0
- package/dist/esm/components/CnChipListManager/CnChipListManager.vue2.js.map +1 -0
- package/dist/esm/components/CnChipListManager/CnChipListManager.vue3.js +161 -0
- package/dist/esm/components/CnChipListManager/CnChipListManager.vue3.js.map +1 -0
- package/dist/esm/components/CnFilesBrowser/openRegisterSource.js +2 -1
- package/dist/esm/components/CnFilesBrowser/openRegisterSource.js.map +1 -1
- package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue.js +1 -1
- package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue2.js +4 -0
- package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue2.js.map +1 -1
- package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue3.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +2 -2
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnIconPicker/CnIconPicker.vue.js +1 -1
- package/dist/esm/components/CnIconPicker/CnIconPicker.vue2.js +4 -3
- package/dist/esm/components/CnIconPicker/CnIconPicker.vue2.js.map +1 -1
- package/dist/esm/components/CnIconPicker/CnIconPicker.vue3.js.map +1 -1
- package/dist/esm/components/CnIconPicker/iconCatalogues.js +16 -3
- package/dist/esm/components/CnIconPicker/iconCatalogues.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +76 -8
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +2 -2
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue.js +1 -1
- package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue2.js +2 -1
- package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue2.js.map +1 -1
- package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue3.js.map +1 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue.js +1 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js +6 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js.map +1 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue.js +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue.js +1 -1
- package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue2.js +4 -0
- package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue3.js.map +1 -1
- package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue.js +1 -1
- package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue2.js +10 -1
- package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue2.js.map +1 -1
- package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue3.js.map +1 -1
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue2.js +22 -0
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue2.js.map +1 -1
- package/dist/esm/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue3.js.map +1 -1
- package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue.js +1 -1
- package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue2.js +4 -0
- package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue2.js.map +1 -1
- package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue3.js.map +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue.js +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js.map +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue3.js.map +1 -1
- package/dist/esm/composables/indexSources.js +30 -2
- package/dist/esm/composables/indexSources.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue.js +1 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue2.js +2 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue3.js.map +1 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue.js +1 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue2.js +3 -2
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue3.js.map +1 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue.js +1 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue2.js +2 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue3.js.map +1 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue.js +1 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue2.js +2 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue3.js.map +1 -1
- package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue.js +1 -1
- package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue2.js +2 -6
- package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue3.js.map +1 -1
- package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue.js +1 -1
- package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue2.js +2 -6
- package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue2.js.map +1 -1
- package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue3.js.map +1 -1
- package/dist/esm/integrations/utils/marker.js +35 -6
- package/dist/esm/integrations/utils/marker.js.map +1 -1
- package/dist/esm/l10n/en.json.js +8 -0
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +8 -0
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +478 -334
- package/dist/esm/utils/fillTemplate.js +3 -0
- package/dist/esm/utils/fillTemplate.js.map +1 -1
- package/dist/esm/utils/htmlToText.js +36 -0
- package/dist/esm/utils/htmlToText.js.map +1 -0
- package/dist/esm/utils/prototypeKeys.js +20 -0
- package/dist/esm/utils/prototypeKeys.js.map +1 -0
- package/dist/esm/utils/toastUiRawHtmlGuard.js +166 -0
- package/dist/esm/utils/toastUiRawHtmlGuard.js.map +1 -0
- package/dist/nextcloud-vue.cjs.js +11501 -10640
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +478 -334
- package/l10n/en.json +8 -0
- package/l10n/nl.json +8 -0
- package/package.json +1 -1
- package/src/components/CnChipListManager/CnChipListManager.vue +504 -0
- package/src/components/CnChipListManager/index.js +4 -0
- package/src/components/CnFilesBrowser/openRegisterSource.js +2 -1
- package/src/components/CnFilterRowsEditor/CnFilterRowsEditor.vue +4 -0
- package/src/components/CnFormDialog/CnFormDialog.vue +2 -2
- package/src/components/CnIconPicker/CnIconPicker.vue +4 -3
- package/src/components/CnIconPicker/iconCatalogues.js +16 -3
- package/src/components/CnIndexPage/CnIndexPage.vue +78 -10
- package/src/components/CnLinksWidgetForm/CnLinksWidgetForm.vue +2 -1
- package/src/components/CnMarkdownEditor/CnMarkdownEditor.vue +6 -1
- package/src/components/CnObjectListWidget/CnObjectListWidget.vue +1 -1
- package/src/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue +4 -0
- package/src/components/CnPageTreeNode/CnPageTreeRow.vue +10 -1
- package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +22 -0
- package/src/components/CnStagesWidgetForm/CnStagesWidgetForm.vue +4 -0
- package/src/components/CnWalkthrough/CnWalkthrough.vue +1 -1
- package/src/components/index.js +1 -0
- package/src/composables/indexSources.js +30 -2
- package/src/css/look-board-detail.css +6 -4
- package/src/css/look-board.css +46 -1
- package/src/index.js +1 -0
- package/src/integrations/builtin/analytics/CnAnalyticsCard.vue +2 -1
- package/src/integrations/builtin/analytics/CnAnalyticsTab.vue +3 -2
- package/src/integrations/builtin/photos/CnPhotosCard.vue +2 -1
- package/src/integrations/builtin/photos/CnPhotosTab.vue +2 -1
- package/src/integrations/builtin/xwiki/CnXwikiCard.vue +2 -6
- package/src/integrations/builtin/xwiki/CnXwikiTab.vue +2 -6
- package/src/integrations/utils/marker.js +35 -6
- package/src/utils/fillTemplate.js +3 -0
- package/src/utils/htmlToText.js +33 -0
- package/src/utils/prototypeKeys.js +17 -0
- package/src/utils/toastUiRawHtmlGuard.js +162 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CnSchemaPropertyActions.vue2.js","sources":["../../../../src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue"],"sourcesContent":["<template>\n\t<NcActions>\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Actions')\" />\n\t\t<NcActionButton :aria-label=\"t('nextcloud-vue', 'Copy {key}', { key: propertyKey })\" @click=\"$emit('copy-property', propertyKey)\">\n\t\t\t<template #icon>\n\t\t\t\t<ContentCopy :size=\"16\" />\n\t\t\t</template>\n\t\t\t{{ t('nextcloud-vue', 'Copy property') }}\n\t\t</NcActionButton>\n\t\t<NcActionButton :aria-label=\"t('nextcloud-vue', 'Delete {key}', { key: propertyKey })\" @click=\"$emit('delete-property', propertyKey)\">\n\t\t\t<template #icon>\n\t\t\t\t<TrashCanOutline :size=\"16\" />\n\t\t\t</template>\n\t\t\t{{ t('nextcloud-vue', 'Delete property') }}\n\t\t</NcActionButton>\n\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'General')\" />\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"isPropertyRequired(schema, propertyKey)\"\n\t\t\t@update:modelValue=\"updatePropertyRequired(propertyKey, $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Required') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.immutable || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'immutable', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Immutable') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.deprecated || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'deprecated', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Deprecated') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.visible !== false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'visible', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Visible to end users') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.hideOnCollection || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'hideOnCollection', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Hide in collection view') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.hideOnForm || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'hideOnForm', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Hide in form view') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"isFacetableEnabled(property)\"\n\t\t\t@update:modelValue=\"toggleFacetable(propertyKey, $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Facetable') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).aggregated !== false\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'aggregated', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Aggregated across schemas') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionInput\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).title || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Facet title')\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'title', $event)\" />\n\t\t<NcActionInput\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).description || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Facet description')\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'description', $event)\" />\n\t\t<NcActionInput\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).order != null ? String(getFacetConfig(property).order) : ''\"\n\t\t\ttype=\"number\"\n\t\t\t:label=\"t('nextcloud-vue', 'Facet order')\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'order', $event)\" />\n\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Properties')\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.title || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Title')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'title', $event)\" />\n\t\t<NcActionInput\n\t\t\tv-if=\"getFormatOptionsForType(property.type).length > 0\"\n\t\t\tv-model=\"schema.properties[propertyKey].format\"\n\t\t\ttype=\"multiselect\"\n\t\t\t:options=\"getFormatOptionsForType(property.type)\"\n\t\t\t:inputLabel=\"t('nextcloud-vue', 'Format')\"\n\t\t\t:label=\"t('nextcloud-vue', 'Format')\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.description || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Description')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'description', $event)\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.example || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Example')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'example', $event)\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.order || 0\"\n\t\t\ttype=\"number\"\n\t\t\t:label=\"t('nextcloud-vue', 'Order')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'order', Number($event))\" />\n\n\t\t<!-- Const and Enum Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Value constraints')\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.const || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Constant')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'const', $event === '' ? undefined : $event)\" />\n\t\t<template v-if=\"property.enum && property.enum.length > 0\">\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Current enum values ({count})', { count: property.enum.length })\" />\n\t\t\t<NcActionButton\n\t\t\t\tv-for=\"(enumValue, index) in property.enum\"\n\t\t\t\t:key=\"`enum-chip-${index}-${enumValue}`\"\n\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Remove {value}', { value: enumValue })\"\n\t\t\t\tclass=\"cn-schema-form__enum-action-chip\"\n\t\t\t\t@click=\"removeEnumValue(propertyKey, index)\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Close :size=\"16\" />\n\t\t\t\t</template>\n\t\t\t\t{{ String(enumValue) }}\n\t\t\t</NcActionButton>\n\t\t</template>\n\t\t<!--\n\t\t\tUse @submit, not @keydown.enter: NcActionInput wraps the field and its\n\t\t\ttrailing arrow button in a <form> and emits `submit` for BOTH Enter and\n\t\t\tan arrow click. Listening only for keydown.enter left the arrow — the\n\t\t\tvisible affordance most users reach for — doing nothing. Mirrors the\n\t\t\tnote-add input in CnRelatedObjectsWidget.\n\n\t\t\tMODEL PROP — applies to EVERY NcActionInput in this file:\n\t\t\t`model-value` / `@update:model-value`, never `value` / `@update:value`\n\t\t\t(and never `@input`, which the component does not emit at all).\n\t\t\t@nextcloud/vue 9's NcActionInput declares exactly one model prop,\n\t\t\t`modelValue`, and exactly two events, `submit` and\n\t\t\t`update:modelValue`. Anything else is not a warning — it is silently\n\t\t\tinert: a `:value` binding degrades to a DOM attribute on the wrapping\n\t\t\t<li>, and an `@update:value` / `@input` listener simply never fires,\n\t\t\tso the field shows nothing and reports nothing. That is what made\n\t\t\tthis whole actions menu read-only.\n\t\t-->\n\t\t<NcActionInput\n\t\t\t:modelValue=\"enumInputValue\"\n\t\t\t:label=\"t('nextcloud-vue', 'Add enum value')\"\n\t\t\t:placeholder=\"t('nextcloud-vue', 'Type a value and press Enter or the arrow')\"\n\t\t\t@update:modelValue=\"enumInputValue = $event\"\n\t\t\t@submit=\"addEnumValueAndClear(propertyKey)\" />\n\n\t\t<!-- Default Value Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Default value configuration')\" />\n\t\t<template v-if=\"property.type === 'string'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.default || ''\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'default', $event === '' ? undefined : $event)\" />\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'number' || property.type === 'integer'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.default || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'default', Number($event))\" />\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'boolean'\">\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.default === true\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'default', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Default value') }}\n\t\t\t</NcActionCheckbox>\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'array' && property.items && property.items.type === 'string'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getArrayDefaultAsString(property.default)\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default values (comma separated)')\"\n\t\t\t\tplaceholder=\"value1, value2, value3\"\n\t\t\t\t@update:modelValue=\"updateArrayDefault(propertyKey, $event)\" />\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'object'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"typeof property.default === 'object' ? JSON.stringify(property.default, null, 2) : (property.default || '{}')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default value (JSON)')\"\n\t\t\t\t@update:modelValue=\"updateObjectDefault(propertyKey, $event)\" />\n\t\t</template>\n\n\t\t<!-- Default Behavior Toggle -->\n\t\t<template v-if=\"property.default !== undefined && property.default !== null && property.default !== ''\">\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.defaultBehavior === 'falsy'\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'defaultBehavior', $event ? 'falsy' : 'false')\">\n\t\t\t\t{{ t('nextcloud-vue', 'Apply default for empty values') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"property.defaultBehavior === 'falsy'\"\n\t\t\t\t:name=\"'ℹ️ ' + t('nextcloud-vue', 'Default will be applied when value is missing, null, or empty string')\"\n\t\t\t\tstyle=\"color: var(--color-text-lighter); font-size: 11px;\" />\n\t\t\t<NcActionCaption\n\t\t\t\tv-else\n\t\t\t\t:name=\"'ℹ️ ' + t('nextcloud-vue', 'Default will only be applied when value is missing or null')\"\n\t\t\t\tstyle=\"color: var(--color-text-lighter); font-size: 11px;\" />\n\t\t</template>\n\n\t\t<!-- Type-specific configurations -->\n\t\t<template v-if=\"property.type === 'string'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'String configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.minLength || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Minimum length')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'minLength', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maxLength || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum length')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'maxLength', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.pattern || ''\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Pattern (regex)')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'pattern', $event)\" />\n\t\t</template>\n\n\t\t<template v-if=\"property.type === 'number' || property.type === 'integer'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Number configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.minimum || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Minimum value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'minimum', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maximum || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'maximum', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.multipleOf || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Multiple of')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'multipleOf', Number($event))\" />\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.exclusiveMin || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'exclusiveMin', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Exclusive minimum') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.exclusiveMax || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'exclusiveMax', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Exclusive maximum') }}\n\t\t\t</NcActionCheckbox>\n\t\t</template>\n\n\t\t<template v-if=\"property.type === 'array'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Array configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"schema.properties[propertyKey].items.type\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"arrayItemTypeOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Array item type')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Array item type')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.minItems || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Minimum items')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'minItems', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maxItems || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum items')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'maxItems', Number($event))\" />\n\n\t\t\t<!-- Show object configuration for array items when item type is object -->\n\t\t\t<template v-if=\"property.items && property.items.type === 'object'\">\n\t\t\t\t<NcActionSeparator />\n\t\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Array item object configuration')\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\tv-model=\"schema.properties[propertyKey].items.objectConfiguration.handling\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"objectHandlingOptions\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Object handling')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Object handling')\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\t:modelValue=\"arrayItemSchemaRefValueFor(propertyKey)\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"schemaRefOptions\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemSchemaReference(propertyKey, $event)\" />\n\t\t\t\t<NcActionCaption\n\t\t\t\t\tv-if=\"isArrayItemRefInvalid(propertyKey)\"\n\t\t\t\t\t:name=\"'⚠️ ' + t('nextcloud-vue', 'Invalid schema reference: Expected string, got number ({value}). This will be sent to backend as-is.', { value: schema.properties[propertyKey].items.$ref })\"\n\t\t\t\t\tstyle=\"color: var(--color-error); font-weight: bold;\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\t:modelValue=\"arrayItemRegisterValueFor(propertyKey)\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"registerSelectOptions\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Register')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Register (required when schema is selected)')\"\n\t\t\t\t\t:required=\"!!schema.properties[propertyKey].items.$ref\"\n\t\t\t\t\t:disabled=\"!schema.properties[propertyKey].items.$ref\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemRegisterReference(propertyKey, $event)\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\tv-model=\"schema.properties[propertyKey].items.inversedBy\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"getInversedByOptionsForArrayItems(propertyKey)\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Inversed by property')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Inversed by')\"\n\t\t\t\t\t:disabled=\"!schema.properties[propertyKey].items.$ref\"\n\t\t\t\t\t@update:modelValue=\"updateInversedByForArrayItems(propertyKey, $event)\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\t:modelValue=\"getArrayItemQueryParams(propertyKey)\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Query parameters')\"\n\t\t\t\t\tplaceholder=\"e.g. gemmaType=referentiecomponent&_extend=aanbevolenStandaarden\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemQueryParams(propertyKey, $event)\" />\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"property.items.writeBack || false\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemObjectConfigurationSetting(propertyKey, 'writeBack', $event)\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Write back') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"property.items.removeAfterWriteBack || false\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemObjectConfigurationSetting(propertyKey, 'removeAfterWriteBack', $event)\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Remove after write back') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"property.items.cascadeDelete || false\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemObjectConfigurationSetting(propertyKey, 'cascadeDelete', $event)\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Cascade delete') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t</template>\n\t\t</template>\n\n\t\t<template v-if=\"property.type === 'object'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Object configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"schema.properties[propertyKey].objectConfiguration.handling\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"objectHandlingOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Object handling')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Object handling')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"schemaRefValueFor(propertyKey)\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"schemaRefOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t@update:modelValue=\"updateSchemaReference(propertyKey, $event)\" />\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"isRefInvalid(propertyKey)\"\n\t\t\t\t:name=\"'⚠️ ' + t('nextcloud-vue', 'Invalid schema reference: Expected string, got number ({value}). This will be sent to backend as-is.', { value: schema.properties[propertyKey].$ref })\"\n\t\t\t\tstyle=\"color: var(--color-error); font-weight: bold;\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"registerValueFor(propertyKey)\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"registerSelectOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Register')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Register (required when schema is selected)')\"\n\t\t\t\t:required=\"!!schema.properties[propertyKey].$ref\"\n\t\t\t\t:disabled=\"!schema.properties[propertyKey].$ref\"\n\t\t\t\t@update:modelValue=\"updateRegisterReference(propertyKey, $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"schema.properties[propertyKey].inversedBy\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"getInversedByOptions(propertyKey)\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Inversed by property')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Inversed by')\"\n\t\t\t\t:disabled=\"!schema.properties[propertyKey].$ref\"\n\t\t\t\t@update:modelValue=\"updateInversedBy(propertyKey, $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getObjectQueryParams(propertyKey)\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Query parameters')\"\n\t\t\t\tplaceholder=\"e.g. gemmaType=referentiecomponent&_extend=aanbevolenStandaarden\"\n\t\t\t\t@update:modelValue=\"updateObjectQueryParams(propertyKey, $event)\" />\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.writeBack || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'writeBack', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Write back') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.removeAfterWriteBack || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'removeAfterWriteBack', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Remove after write back') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.cascadeDelete || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'cascadeDelete', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Cascade delete') }}\n\t\t\t</NcActionCheckbox>\n\t\t</template>\n\n\t\t<!-- File Configuration -->\n\t\t<template v-if=\"property.type === 'file' || (property.type === 'array' && property.items && property.items.type === 'file')\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'File configuration')\" />\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"getFilePropertySetting(propertyKey, 'autoPublish')\"\n\t\t\t\t@update:modelValue=\"updateFilePropertySetting(propertyKey, 'autoPublish', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Auto-publish files') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"getFilePropertySetting(propertyKey, 'autoPublish')\"\n\t\t\t\t:name=\"'ℹ️ ' + t('nextcloud-vue', 'Files uploaded to this property will be automatically publicly shared')\"\n\t\t\t\tstyle=\"color: var(--color-text-lighter); font-size: 11px;\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"(property.allowedTypes || []).join(', ')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Allowed MIME types (comma separated)')\"\n\t\t\t\tplaceholder=\"image/png, image/jpeg, application/pdf\"\n\t\t\t\t@update:modelValue=\"updateFileProperty(propertyKey, 'allowedTypes', $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maxSize || ''\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum file size (bytes)')\"\n\t\t\t\tplaceholder=\"5242880\"\n\t\t\t\t@update:modelValue=\"updateFileProperty(propertyKey, 'maxSize', $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getFilePropertyTags(propertyKey, 'allowedTags')\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"availableTagsOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Allowed tags')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Allowed tags (select from available tags)')\"\n\t\t\t\tmultiple\n\t\t\t\t@update:modelValue=\"updateFilePropertyTags(propertyKey, 'allowedTags', $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getFilePropertyTags(propertyKey, 'autoTags')\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"availableTagsOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Auto tags')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Auto tags (automatically applied to uploaded files)')\"\n\t\t\t\tmultiple\n\t\t\t\t@update:modelValue=\"updateFilePropertyTags(propertyKey, 'autoTags', $event)\" />\n\t\t</template>\n\n\t\t<!-- Property-level Table Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Table')\" />\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"getPropertyTableSetting(propertyKey, 'default')\"\n\t\t\t@update:modelValue=\"updatePropertyTableSetting(propertyKey, 'default', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Default') }}\n\t\t</NcActionCheckbox>\n\n\t\t<!-- Property-level Security Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Property security')\" />\n\n\t\t<template v-if=\"!loadingGroups\">\n\t\t\t<!-- Current Property Permissions List -->\n\t\t\t<div v-for=\"permission in getPropertyPermissionsList(propertyKey)\" :key=\"`${propertyKey}-perm-text-${permission.group}`\">\n\t\t\t\t<NcActionText\n\t\t\t\t\tclass=\"cn-schema-form__property-permission-text\">\n\t\t\t\t\t{{ permission.group }} ({{ permission.rights }})\n\t\t\t\t</NcActionText>\n\t\t\t\t<NcActionButton\n\t\t\t\t\tv-if=\"permission.groupId !== 'admin'\"\n\t\t\t\t\t:key=\"`${propertyKey}-perm-remove-${permission.group}`\"\n\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Remove {group} permissions', { group: permission.group })\"\n\t\t\t\t\tclass=\"cn-schema-form__property-permission-remove-btn\"\n\t\t\t\t\t@click=\"removePropertyGroupPermissions(propertyKey, permission.group)\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Close :size=\"16\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t{{ t('nextcloud-vue', 'Remove {group}', { group: permission.group }) }}\n\t\t\t\t</NcActionButton>\n\t\t\t</div>\n\n\t\t\t<!-- Show inheritance status if no specific permissions -->\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"!hasPropertyAnyPermissions(propertyKey)\"\n\t\t\t\t:name=\"'📄 ' + t('nextcloud-vue', 'Inherits schema permissions')\"\n\t\t\t\tstyle=\"color: var(--color-success); font-size: 11px;\" />\n\n\t\t\t<!-- Add Permission Interface -->\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"propertyNewPermissionGroup\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"getAvailableGroupsForProperty()\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Group')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Add group permission')\"\n\t\t\t\t:placeholder=\"t('nextcloud-vue', 'Select group…')\" />\n\n\t\t\t<template v-if=\"propertyNewPermissionGroup\">\n\t\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Select permissions:')\" />\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionCreate\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionCreate = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Create (C)') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionRead\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionRead = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Read (R)') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionUpdate\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionUpdate = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Update (U)') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionDelete\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionDelete = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Delete (D)') }}\n\t\t\t\t</NcActionCheckbox>\n\n\t\t\t\t<NcActionButton\n\t\t\t\t\tv-if=\"hasAnyPropertyNewPermissionSelected()\"\n\t\t\t\t\t@click=\"addPropertyGroupPermissions(propertyKey)\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Plus :size=\"16\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t{{ t('nextcloud-vue', 'Add permission') }}\n\t\t\t\t</NcActionButton>\n\t\t\t</template>\n\t\t</template>\n\t\t<template v-else>\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Loading groups…')\" />\n\t\t</template>\n\t</NcActions>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport {\n\tNcActionButton,\n\tNcActionCaption,\n\tNcActionCheckbox,\n\tNcActionInput,\n\tNcActions,\n\tNcActionSeparator,\n\tNcActionText,\n} from '@nextcloud/vue'\nimport Close from 'vue-material-design-icons/Close.vue'\nimport ContentCopy from 'vue-material-design-icons/ContentCopy.vue'\nimport Plus from 'vue-material-design-icons/Plus.vue'\nimport TrashCanOutline from 'vue-material-design-icons/TrashCanOutline.vue'\n\n/**\n * CnSchemaPropertyActions — NcActions dropdown for a single schema property.\n *\n * Renders all configuration sections (General, Properties, Value Constraints,\n * Default Value, type-specific configs, File, Table, Security) inside an\n * NcActions popover menu.\n *\n * Mutates schemaItem directly (passed by reference from parent).\n *\n * @event copy-property Emitted when copy is clicked. Payload: property key.\n * @event delete-property Emitted when delete is clicked. Payload: property key.\n */\nexport default {\n\tname: 'CnSchemaPropertyActions',\n\tcomponents: {\n\t\tNcActions,\n\t\tNcActionButton,\n\t\tNcActionCheckbox,\n\t\tNcActionInput,\n\t\tNcActionCaption,\n\t\tNcActionSeparator,\n\t\tNcActionText,\n\t\tContentCopy,\n\t\tTrashCanOutline,\n\t\tClose,\n\t\tPlus,\n\t},\n\n\tprops: {\n\t\t/** The property name/key in the schema */\n\t\tpropertyKey: { type: String, required: true },\n\t\t/** The property definition object */\n\t\tproperty: { type: Object, required: true },\n\t\t/** Full schemaItem (for direct mutations and required array checks) */\n\t\tschemaItem: { type: Object, required: true },\n\t\t/** Original properties snapshot for table setting comparison */\n\t\toriginalProperties: { type: Object, default: () => ({}) },\n\t\t/** Available schemas for $ref selects */\n\t\tavailableSchemas: { type: Array, default: () => [] },\n\t\t/** Available registers for register selects */\n\t\tavailableRegisters: { type: Array, default: () => [] },\n\t\t/** Available tags for file property configuration, pre-mapped to [{id, label}] */\n\t\tavailableTagsOptions: { type: Array, default: () => [] },\n\t\t/** User groups for property-level RBAC */\n\t\tuserGroups: { type: Array, default: () => [] },\n\t\t/** Filtered/sorted user groups (excludes admin/public) */\n\t\tsortedUserGroups: { type: Array, default: () => [] },\n\t\t/** Whether user groups are still loading */\n\t\tloadingGroups: { type: Boolean, default: false },\n\t},\n\n\temits: ['copy-property', 'delete-property'],\n\tdata() {\n\t\treturn {\n\t\t\tenumInputValue: '',\n\t\t\tpropertyNewPermissionGroup: null,\n\t\t\tpropertyNewPermissionCreate: false,\n\t\t\tpropertyNewPermissionRead: false,\n\t\t\tpropertyNewPermissionUpdate: false,\n\t\t\tpropertyNewPermissionDelete: false,\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t/** Local alias to avoid vue/no-mutating-props on template bindings */\n\t\tschema() {\n\t\t\treturn this.schemaItem\n\t\t},\n\n\t\tobjectHandlingOptions() {\n\t\t\treturn [\n\t\t\t\t{ id: 'nested-object', label: t('nextcloud-vue', 'Nested object') },\n\t\t\t\t{ id: 'related-object', label: t('nextcloud-vue', 'Related object') },\n\t\t\t\t{ id: 'nested-schema', label: t('nextcloud-vue', 'Nested schema') },\n\t\t\t\t{ id: 'related-schema', label: t('nextcloud-vue', 'Related schema') },\n\t\t\t\t{ id: 'uri', label: 'URI' },\n\t\t\t]\n\t\t},\n\n\t\t/**\n\t\t * Schema-reference select options as {id, label}. NcSelect renders\n\t\t * `option.label`, and the raw availableSchemas objects are keyed by\n\t\t * title/slug with NO label — binding them directly rendered every option as\n\t\t * literal \"undefined\". `id` is the $ref the backend expects (the schema's\n\t\t * reference, or `#/components/schemas/<slug>`), which updateSchemaReference\n\t\t * reads back off `value.id`.\n\t\t *\n\t\t * @return {Array<{id: string, label: string, schema: object}>} Options.\n\t\t */\n\t\tschemaRefOptions() {\n\t\t\treturn (this.availableSchemas || []).map((s) => ({\n\t\t\t\tid: s.reference || `#/components/schemas/${s.slug || s.title || s.id}`,\n\t\t\t\tlabel: s.title || s.name || s.slug || `Schema ${s.id}`,\n\t\t\t\tschema: s,\n\t\t\t}))\n\t\t},\n\n\t\t/**\n\t\t * Register select options as {id, label} — same reason as schemaRefOptions.\n\t\t *\n\t\t * @return {Array<{id: (string|number), label: string}>} Options.\n\t\t */\n\t\tregisterSelectOptions() {\n\t\t\treturn (this.availableRegisters || []).map((r) => ({\n\t\t\t\tid: r.id !== undefined ? r.id : (r.slug || r.title),\n\t\t\t\tlabel: r.title || r.name || r.label || r.slug || `Register ${r.id}`,\n\t\t\t}))\n\t\t},\n\n\t\tarrayItemTypeOptions() {\n\t\t\treturn [\n\t\t\t\t{ id: 'string', label: t('nextcloud-vue', 'String') },\n\t\t\t\t{ id: 'number', label: t('nextcloud-vue', 'Number') },\n\t\t\t\t{ id: 'integer', label: t('nextcloud-vue', 'Integer') },\n\t\t\t\t{ id: 'object', label: t('nextcloud-vue', 'Object') },\n\t\t\t\t{ id: 'boolean', label: t('nextcloud-vue', 'Boolean') },\n\t\t\t\t{ id: 'file', label: t('nextcloud-vue', 'File') },\n\t\t\t]\n\t\t},\n\t},\n\n\tmethods: {\n\t\tt,\n\n\t\t// --- General helpers ---\n\n\t\tisPropertyRequired(schema, key) {\n\t\t\tconst isInSchemaRequired = schema.required && schema.required.includes(key)\n\t\t\tconst hasPropertyRequired = schema.properties && schema.properties[key] && schema.properties[key].required === true\n\t\t\treturn isInSchemaRequired || hasPropertyRequired\n\t\t},\n\n\t\tfindSchemaBySlug(schemaSlug) {\n\t\t\tif (!schemaSlug) {\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\treturn this.availableSchemas.find((schema) => (schema.slug && schema.slug.toLowerCase() === schemaSlug.toLowerCase())\n\t\t\t\t|| schema.id === schemaSlug\n\t\t\t\t|| schema.title === schemaSlug)\n\t\t},\n\n\t\tcheckPropertiesModified() {\n\t\t\t// Bubble up to parent — the parent's deep watcher handles this\n\t\t},\n\n\t\t// --- Property setting updates ---\n\n\t\tupdatePropertySetting(key, setting, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tconst settingValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key][setting] = settingValue\n\t\t\t\tthis.ensureRefIsString(this.schema.properties, key)\n\t\t\t}\n\t\t},\n\n\t\tupdatePropertyRequired(key, isRequired) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (isRequired) {\n\t\t\t\t\tthis.schema.properties[key].required = true\n\t\t\t\t} else {\n\t\t\t\t\tdelete this.schema.properties[key].required\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!this.schema.required) {\n\t\t\t\tthis.schema.required = []\n\t\t\t}\n\n\t\t\tconst currentRequired = [...this.schema.required]\n\t\t\tif (isRequired && !currentRequired.includes(key)) {\n\t\t\t\tcurrentRequired.push(key)\n\t\t\t} else if (!isRequired && currentRequired.includes(key)) {\n\t\t\t\tconst index = currentRequired.indexOf(key)\n\t\t\t\tcurrentRequired.splice(index, 1)\n\t\t\t}\n\n\t\t\tthis.schema.required = currentRequired\n\t\t},\n\n\t\t// --- Facet ---\n\n\t\tisFacetableEnabled(property) {\n\t\t\treturn property.facetable === true\n\t\t\t\t|| (typeof property.facetable === 'object' && property.facetable !== null)\n\t\t},\n\n\t\tgetFacetConfig(property) {\n\t\t\tif (typeof property.facetable === 'object' && property.facetable !== null) {\n\t\t\t\treturn {\n\t\t\t\t\taggregated: property.facetable.aggregated ?? true,\n\t\t\t\t\ttitle: property.facetable.title ?? '',\n\t\t\t\t\tdescription: property.facetable.description ?? '',\n\t\t\t\t\torder: property.facetable.order ?? null,\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn { aggregated: true, title: '', description: '', order: null }\n\t\t},\n\n\t\ttoggleFacetable(key, enabled) {\n\t\t\tif (enabled) {\n\t\t\t\tthis.schema.properties[key].facetable = true\n\t\t\t} else {\n\t\t\t\tthis.schema.properties[key].facetable = false\n\t\t\t}\n\t\t},\n\n\t\tupdateFacetConfigField(key, property, field, value) {\n\t\t\tconst config = this.getFacetConfig(property)\n\n\t\t\tif (field === 'aggregated') {\n\t\t\t\tconfig.aggregated = value\n\t\t\t} else if (field === 'order') {\n\t\t\t\tconfig.order = value !== '' && value !== null && value !== undefined ? Number(value) : null\n\t\t\t} else {\n\t\t\t\tconfig[field] = value\n\t\t\t}\n\n\t\t\tconst hasCustomConfig = !config.aggregated\n\t\t\t\t|| (config.title && config.title.trim())\n\t\t\t\t|| (config.description && config.description.trim())\n\t\t\t\t|| (config.order !== null && config.order !== undefined)\n\n\t\t\tif (hasCustomConfig) {\n\t\t\t\tthis.schema.properties[key].facetable = {\n\t\t\t\t\taggregated: config.aggregated,\n\t\t\t\t\ttitle: config.title?.trim() || null,\n\t\t\t\t\tdescription: config.description?.trim() || null,\n\t\t\t\t\torder: config.order,\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis.schema.properties[key].facetable = true\n\t\t\t}\n\t\t},\n\n\t\t// --- Format options ---\n\n\t\tgetFormatOptionsForType(type) {\n\t\t\tconst formatMap = {\n\t\t\t\tstring: [\n\t\t\t\t\t{ id: 'text', label: t('nextcloud-vue', 'Text') },\n\t\t\t\t\t{ id: 'markdown', label: t('nextcloud-vue', 'Markdown') },\n\t\t\t\t\t{ id: 'html', label: t('nextcloud-vue', 'HTML') },\n\t\t\t\t\t{ id: 'date-time', label: t('nextcloud-vue', 'Date time') },\n\t\t\t\t\t{ id: 'date', label: t('nextcloud-vue', 'Date') },\n\t\t\t\t\t{ id: 'time', label: t('nextcloud-vue', 'Time') },\n\t\t\t\t\t{ id: 'duration', label: t('nextcloud-vue', 'Duration') },\n\t\t\t\t\t{ id: 'email', label: t('nextcloud-vue', 'Email') },\n\t\t\t\t\t{ id: 'idn-email', label: t('nextcloud-vue', 'IDN email') },\n\t\t\t\t\t{ id: 'hostname', label: t('nextcloud-vue', 'Hostname') },\n\t\t\t\t\t{ id: 'idn-hostname', label: t('nextcloud-vue', 'IDN hostname') },\n\t\t\t\t\t{ id: 'ipv4', label: 'IPv4' },\n\t\t\t\t\t{ id: 'ipv6', label: 'IPv6' },\n\t\t\t\t\t{ id: 'uri', label: 'URI' },\n\t\t\t\t\t{ id: 'uri-reference', label: t('nextcloud-vue', 'URI reference') },\n\t\t\t\t\t{ id: 'iri', label: 'IRI' },\n\t\t\t\t\t{ id: 'iri-reference', label: t('nextcloud-vue', 'IRI reference') },\n\t\t\t\t\t{ id: 'uuid', label: 'UUID' },\n\t\t\t\t\t{ id: 'uri-template', label: t('nextcloud-vue', 'URI template') },\n\t\t\t\t\t{ id: 'json-pointer', label: t('nextcloud-vue', 'JSON pointer') },\n\t\t\t\t\t{ id: 'relative-json-pointer', label: t('nextcloud-vue', 'Relative JSON pointer') },\n\t\t\t\t\t{ id: 'regex', label: t('nextcloud-vue', 'Regex') },\n\t\t\t\t\t{ id: 'binary', label: t('nextcloud-vue', 'Binary') },\n\t\t\t\t\t{ id: 'byte', label: t('nextcloud-vue', 'Byte') },\n\t\t\t\t\t{ id: 'password', label: t('nextcloud-vue', 'Password') },\n\t\t\t\t\t{ id: 'rsin', label: 'RSIN' },\n\t\t\t\t\t{ id: 'kvk', label: 'KVK' },\n\t\t\t\t\t{ id: 'bsn', label: 'BSN' },\n\t\t\t\t\t{ id: 'oidn', label: 'OIDN' },\n\t\t\t\t\t{ id: 'telephone', label: t('nextcloud-vue', 'Telephone') },\n\t\t\t\t\t{ id: 'accessUrl', label: t('nextcloud-vue', 'Access URL') },\n\t\t\t\t\t{ id: 'shareUrl', label: t('nextcloud-vue', 'Share URL') },\n\t\t\t\t\t{ id: 'downloadUrl', label: t('nextcloud-vue', 'Download URL') },\n\t\t\t\t\t{ id: 'extension', label: t('nextcloud-vue', 'Extension') },\n\t\t\t\t\t{ id: 'filename', label: t('nextcloud-vue', 'Filename') },\n\t\t\t\t\t{ id: 'semver', label: t('nextcloud-vue', 'Semantic version') },\n\t\t\t\t\t{ id: 'url', label: 'URL' },\n\t\t\t\t\t{ id: 'color', label: t('nextcloud-vue', 'Color') },\n\t\t\t\t\t{ id: 'color-hex', label: t('nextcloud-vue', 'Color hex') },\n\t\t\t\t\t{ id: 'color-hex-alpha', label: t('nextcloud-vue', 'Color hex alpha') },\n\t\t\t\t\t{ id: 'color-rgb', label: t('nextcloud-vue', 'Color RGB') },\n\t\t\t\t\t{ id: 'color-rgba', label: t('nextcloud-vue', 'Color RGBA') },\n\t\t\t\t\t{ id: 'color-hsl', label: t('nextcloud-vue', 'Color HSL') },\n\t\t\t\t\t{ id: 'color-hsla', label: t('nextcloud-vue', 'Color HSLA') },\n\t\t\t\t],\n\n\t\t\t\tnumber: [],\n\t\t\t\tinteger: [],\n\t\t\t\tboolean: [],\n\t\t\t\tarray: [],\n\t\t\t\tobject: [],\n\t\t\t}\n\t\t\treturn formatMap[type] || []\n\t\t},\n\n\t\t// --- Enum ---\n\n\t\taddEnumValue(key, value) {\n\t\t\tif (!value || !value.trim()) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst trimmedValue = value.trim()\n\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (!this.schema.properties[key].enum) {\n\t\t\t\t\tthis.schema.properties[key].enum = []\n\t\t\t\t}\n\n\t\t\t\tif (!this.schema.properties[key].enum.includes(trimmedValue)) {\n\t\t\t\t\tconst newEnum = [...this.schema.properties[key].enum, trimmedValue]\n\t\t\t\t\tthis.schema.properties[key].enum = newEnum\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\taddEnumValueAndClear(key) {\n\t\t\tif (this.enumInputValue && this.enumInputValue.trim()) {\n\t\t\t\tthis.addEnumValue(key, this.enumInputValue)\n\t\t\t\tthis.enumInputValue = ''\n\t\t\t}\n\t\t},\n\n\t\tremoveEnumValue(key, index) {\n\t\t\tif (this.schema.properties[key] && this.schema.properties[key].enum) {\n\t\t\t\tconst newEnum = this.schema.properties[key].enum.filter((_, i) => i !== index)\n\n\t\t\t\tif (newEnum.length === 0) {\n\t\t\t\t\tdelete this.schema.properties[key].enum\n\t\t\t\t} else {\n\t\t\t\t\tthis.schema.properties[key].enum = newEnum\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// --- Default values ---\n\n\t\tgetArrayDefaultAsString(defaultValue) {\n\t\t\tif (!defaultValue || !Array.isArray(defaultValue)) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\treturn defaultValue.join(', ')\n\t\t},\n\n\t\tupdateArrayDefault(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!value || value.trim() === '') {\n\t\t\t\tthis.schema.properties[key].default = undefined\n\t\t\t} else {\n\t\t\t\tconst arrayValues = value.split(',').map((item) => item.trim()).filter((item) => item !== '')\n\t\t\t\tthis.schema.properties[key].default = arrayValues\n\t\t\t}\n\t\t},\n\n\t\tupdateObjectDefault(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!value || value.trim() === '' || value.trim() === '{}') {\n\t\t\t\tthis.schema.properties[key].default = undefined\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tconst parsedValue = JSON.parse(value)\n\t\t\t\tthis.schema.properties[key].default = parsedValue\n\t\t\t} catch (e) {\n\t\t\t\t// eslint-disable-next-line no-console -- a deliberate warning to the developer integrating this component\n\t\t\t\tconsole.warn('Invalid JSON for default value:', e.message)\n\t\t\t}\n\t\t},\n\n\t\t// --- Schema references ---\n\n\t\tensureRefIsString(obj, key) {\n\t\t\tif (!obj || !key) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (obj[key] && typeof obj[key].$ref === 'object' && obj[key].$ref !== null) {\n\t\t\t\tif (obj[key].$ref.id) {\n\t\t\t\t\tobj[key].$ref = obj[key].$ref.id\n\t\t\t\t} else {\n\t\t\t\t\tobj[key].$ref = ''\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (obj[key] && obj[key].items && typeof obj[key].items.$ref === 'object' && obj[key].items.$ref !== null) {\n\t\t\t\tif (obj[key].items.$ref.id) {\n\t\t\t\t\tobj[key].items.$ref = obj[key].items.$ref.id\n\t\t\t\t} else {\n\t\t\t\t\tobj[key].items.$ref = ''\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tisRefInvalid(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.$ref) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst rawRef = typeof property.$ref === 'object' ? property.$ref.id : property.$ref\n\t\t\treturn typeof rawRef === 'number'\n\t\t},\n\n\t\tisArrayItemRefInvalid(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.items || !property.items.$ref) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst rawRef = typeof property.items.$ref === 'object' ? property.items.$ref.id : property.items.$ref\n\t\t\treturn typeof rawRef === 'number'\n\t\t},\n\n\t\tupdateSchemaReference(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst schemaRef = typeof value === 'object' && value?.id ? value.id : value\n\t\t\tthis.schema.properties[key].$ref = schemaRef\n\n\t\t\tif (!this.schema.properties[key].objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (schemaRef) {\n\t\t\t\tlet schemaSlug = schemaRef\n\t\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t\t}\n\n\t\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\t\tif (referencedSchema) {\n\t\t\t\t\tthis.schema.properties[key].objectConfiguration.schema = referencedSchema.id\n\t\t\t\t}\n\n\t\t\t\tif (this.schema.properties[key].register && !this.schema.properties[key].objectConfiguration.register) {\n\t\t\t\t\tconst oldRegister = this.schema.properties[key].register\n\t\t\t\t\tconst registerId = typeof oldRegister === 'object' && oldRegister.id ? oldRegister.id : oldRegister\n\t\t\t\t\tthis.schema.properties[key].objectConfiguration.register = registerId\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.schema\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\tupdateArrayItemSchemaReference(key, value) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst schemaRef = typeof value === 'object' && value?.id ? value.id : value\n\t\t\tthis.schema.properties[key].items.$ref = schemaRef\n\n\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (schemaRef) {\n\t\t\t\tlet schemaSlug = schemaRef\n\t\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t\t}\n\n\t\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\t\tif (referencedSchema) {\n\t\t\t\t\tthis.schema.properties[key].items.objectConfiguration.schema = referencedSchema.id\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.schema\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\t// --- Register references ---\n\n\t\tupdateRegisterReference(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tconst registerId = typeof value === 'object' && value?.id ? value.id : value\n\n\t\t\tif (registerId) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration.register = registerId\n\t\t\t\tif (this.schema.properties[key].register) {\n\t\t\t\t\tdelete this.schema.properties[key].register\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\tupdateArrayItemRegisterReference(key, value) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tconst registerId = typeof value === 'object' && value?.id ? value.id : value\n\n\t\t\tif (registerId) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration.register = registerId\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\tgetRegisterValue(key) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn null\n\t\t\t}\n\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (property.objectConfiguration && property.objectConfiguration.register !== undefined) {\n\t\t\t\treturn property.objectConfiguration.register\n\t\t\t}\n\t\t\tif (property.register !== undefined) {\n\t\t\t\treturn property.register\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\n\t\tgetArrayItemRegisterValue(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn null\n\t\t\t}\n\n\t\t\tconst items = this.schema.properties[key].items\n\t\t\tif (items.objectConfiguration && items.objectConfiguration.register !== undefined) {\n\t\t\t\treturn items.objectConfiguration.register\n\t\t\t}\n\t\t\tif (items.register !== undefined) {\n\t\t\t\treturn items.register\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\n\t\t// --- Select value resolvers (return the matched {id,label} option so the\n\t\t// multiselect displays the current selection instead of a raw string) ---\n\n\t\t/**\n\t\t * The schema-reference option currently selected for a property.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tschemaRefValueFor(key) {\n\t\t\tconst ref = this.schema.properties[key] && this.schema.properties[key].$ref\n\t\t\treturn this.matchSchemaRefOption(ref)\n\t\t},\n\n\t\t/**\n\t\t * The schema-reference option currently selected for an array property's items.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tarrayItemSchemaRefValueFor(key) {\n\t\t\tconst items = this.schema.properties[key] && this.schema.properties[key].items\n\t\t\treturn this.matchSchemaRefOption(items && items.$ref)\n\t\t},\n\n\t\t/**\n\t\t * Resolve a stored $ref to a schemaRefOptions entry, matching on the option\n\t\t * id or the referenced schema's slug/title/id so a value persisted in any of\n\t\t * those forms still shows a name. Falls back to showing the raw ref.\n\t\t *\n\t\t * @param {(string|number|object)} ref The stored $ref.\n\t\t * @return {?object} The matching option, a raw-ref fallback, or null.\n\t\t */\n\t\tmatchSchemaRefOption(ref) {\n\t\t\tif (ref === undefined || ref === null || ref === '') {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\tconst raw = typeof ref === 'object' && ref.id !== undefined ? ref.id : ref\n\t\t\tconst tail = typeof raw === 'string' && raw.includes('/') ? raw.substring(raw.lastIndexOf('/') + 1) : raw\n\t\t\treturn this.schemaRefOptions.find((o) => o.id === raw)\n\t\t\t\t|| this.schemaRefOptions.find((o) => {\n\t\t\t\t\tconst s = o.schema || {}\n\t\t\t\t\treturn s.slug === tail || s.title === tail || String(s.id) === String(tail)\n\t\t\t\t})\n\t\t\t\t|| { id: raw, label: String(raw) }\n\t\t},\n\n\t\t/**\n\t\t * The register option currently selected for a property.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tregisterValueFor(key) {\n\t\t\treturn this.matchRegisterOption(this.getRegisterValue(key))\n\t\t},\n\n\t\t/**\n\t\t * The register option currently selected for an array property's items.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tarrayItemRegisterValueFor(key) {\n\t\t\treturn this.matchRegisterOption(this.getArrayItemRegisterValue(key))\n\t\t},\n\n\t\t/**\n\t\t * Resolve a stored register id to a registerSelectOptions entry.\n\t\t *\n\t\t * @param {(string|number|object)} value The stored register value.\n\t\t * @return {?object} The matching option, a raw fallback, or null.\n\t\t */\n\t\tmatchRegisterOption(value) {\n\t\t\tif (value === undefined || value === null || value === '') {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\tconst raw = typeof value === 'object' && value.id !== undefined ? value.id : value\n\t\t\treturn this.registerSelectOptions.find((o) => String(o.id) === String(raw))\n\t\t\t\t|| { id: raw, label: String(raw) }\n\t\t},\n\n\t\t// --- InversedBy ---\n\n\t\tgetInversedByOptions(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.$ref) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst rawRef = typeof property.$ref === 'object' ? property.$ref.id : property.$ref\n\t\t\tif (typeof rawRef === 'number') {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst schemaRef = String(rawRef)\n\t\t\tlet schemaSlug = schemaRef\n\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t}\n\n\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\tif (!referencedSchema || !referencedSchema.properties) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\treturn Object.keys(referencedSchema.properties).map((propKey) => ({\n\t\t\t\tid: propKey,\n\t\t\t\tlabel: referencedSchema.properties[propKey].title || propKey,\n\t\t\t}))\n\t\t},\n\n\t\tgetInversedByOptionsForArrayItems(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.items || !property.items.$ref) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst rawRef = typeof property.items.$ref === 'object' ? property.items.$ref.id : property.items.$ref\n\t\t\tif (typeof rawRef === 'number') {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst schemaRef = String(rawRef)\n\t\t\tlet schemaSlug = schemaRef\n\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t}\n\n\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\tif (!referencedSchema || !referencedSchema.properties) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\treturn Object.keys(referencedSchema.properties).map((propKey) => ({\n\t\t\t\tid: propKey,\n\t\t\t\tlabel: referencedSchema.properties[propKey].title || propKey,\n\t\t\t}))\n\t\t},\n\n\t\tupdateInversedBy(key, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tconst inversedByValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key].inversedBy = inversedByValue\n\t\t\t}\n\t\t},\n\n\t\tupdateInversedByForArrayItems(key, value) {\n\t\t\tif (this.schema.properties[key] && this.schema.properties[key].items) {\n\t\t\t\tconst inversedByValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key].items.inversedBy = inversedByValue\n\t\t\t}\n\t\t},\n\n\t\t// --- Array item object config ---\n\n\t\tupdateArrayItemObjectConfigurationSetting(key, setting, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (!this.schema.properties[key].items) {\n\t\t\t\t\tthis.schema.properties[key].items = {}\n\t\t\t\t}\n\t\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\t\tthis.schema.properties[key].items.objectConfiguration = {}\n\t\t\t\t}\n\t\t\t\tconst settingValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key].items[setting] = settingValue\n\t\t\t}\n\t\t},\n\n\t\t// --- Query params ---\n\n\t\tgetObjectQueryParams(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].objectConfiguration) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\treturn this.schema.properties[key].objectConfiguration.queryParams || ''\n\t\t},\n\n\t\tupdateObjectQueryParams(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (value && value.trim()) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration.queryParams = value.trim()\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.queryParams\n\t\t\t}\n\t\t},\n\n\t\tgetArrayItemQueryParams(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items || !this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\treturn this.schema.properties[key].items.objectConfiguration.queryParams || ''\n\t\t},\n\n\t\tupdateArrayItemQueryParams(key, value) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (value && value.trim()) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration.queryParams = value.trim()\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.queryParams\n\t\t\t}\n\t\t},\n\n\t\t// --- File properties ---\n\n\t\tgetFilePropertySetting(key, setting) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property) {\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\tif (property.type === 'file') {\n\t\t\t\treturn property[setting] || false\n\t\t\t}\n\t\t\tif (property.type === 'array' && property.items) {\n\t\t\t\treturn property.items[setting] || false\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\n\t\tupdateFilePropertySetting(key, setting, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\tthis.schema.properties[key][setting] = value\n\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\tthis.schema.properties[key].items[setting] = value\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tupdateFileProperty(key, setting, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (['allowedTypes', 'allowedTags', 'autoTags'].includes(setting)) {\n\t\t\t\t\tconst arrayValue = value ? value.split(',').map((item) => item.trim()).filter((item) => item !== '') : []\n\t\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\t\tthis.schema.properties[key][setting] = arrayValue\n\t\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\t\tthis.schema.properties[key].items[setting] = arrayValue\n\t\t\t\t\t}\n\t\t\t\t} else if (setting === 'maxSize') {\n\t\t\t\t\tconst numValue = value ? Number(value) : undefined\n\t\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\t\tthis.schema.properties[key][setting] = numValue\n\t\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\t\tthis.schema.properties[key].items[setting] = numValue\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tgetFilePropertyTags(key, setting) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tlet tags = []\n\t\t\tif (property.type === 'file') {\n\t\t\t\ttags = property[setting] || []\n\t\t\t} else if (property.type === 'array' && property.items) {\n\t\t\t\ttags = property.items[setting] || []\n\t\t\t}\n\n\t\t\treturn tags.map((tag) => ({\n\t\t\t\tid: tag,\n\t\t\t\tlabel: tag,\n\t\t\t}))\n\t\t},\n\n\t\tupdateFilePropertyTags(key, setting, selectedOptions) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tconst tags = selectedOptions ? selectedOptions.map((option) => option.id || option) : []\n\n\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\tthis.schema.properties[key][setting] = tags\n\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\tthis.schema.properties[key].items[setting] = tags\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// --- Table config ---\n\n\t\tgetPropertyTableSetting(key, setting) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].table) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn this.schema.properties[key].table[setting] === true\n\t\t},\n\n\t\tgetOriginalPropertyTableSetting(key, setting) {\n\t\t\treturn this.originalProperties?.[key]?.table?.[setting]\n\t\t},\n\n\t\tupdatePropertyTableSetting(key, setting, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].table) {\n\t\t\t\tthis.schema.properties[key].table = {}\n\t\t\t}\n\n\t\t\tthis.schema.properties[key].table[setting] = value\n\n\t\t\tconst wasTrueOriginally = this.getOriginalPropertyTableSetting(key, setting) === true\n\t\t\tconst becameExplicitFalse = value === false\n\t\t\tconst shouldKeepExplicitFalse = setting === 'default' && becameExplicitFalse && wasTrueOriginally\n\n\t\t\tif (this.isTableConfigDefault(key) && !shouldKeepExplicitFalse) {\n\t\t\t\tdelete this.schema.properties[key].table\n\t\t\t}\n\t\t},\n\n\t\tisTableConfigDefault(key) {\n\t\t\tconst table = this.schema.properties[key]?.table\n\t\t\tif (!table) {\n\t\t\t\treturn true\n\t\t\t}\n\n\t\t\tconst defaults = { default: false }\n\t\t\treturn Object.keys(table).every((setting) => table[setting] === defaults[setting])\n\t\t},\n\n\t\thasCustomTableSettings(key) {\n\t\t\treturn !this.isTableConfigDefault(key)\n\t\t},\n\n\t\t// --- Property-level RBAC ---\n\n\t\thasPropertyAnyPermissions(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst auth = this.schema.properties[key].authorization\n\t\t\treturn Object.keys(auth).some((action) => Array.isArray(auth[action]) && auth[action].length > 0)\n\t\t},\n\n\t\tgetDisplayGroupName(groupId) {\n\t\t\tif (groupId === 'public') {\n\t\t\t\treturn t('nextcloud-vue', 'Public')\n\t\t\t}\n\t\t\tif (groupId === 'authenticated') {\n\t\t\t\treturn t('nextcloud-vue', 'Authenticated')\n\t\t\t}\n\t\t\tif (groupId === 'admin') {\n\t\t\t\treturn t('nextcloud-vue', 'Admin')\n\t\t\t}\n\n\t\t\tconst group = this.userGroups.find((g) => g.id === groupId)\n\t\t\treturn group ? (group.displayname || group.id) : groupId\n\t\t},\n\n\t\tgetPropertyPermissionsList(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst auth = this.schema.properties[key].authorization\n\t\t\tconst permissionsList = []\n\t\t\tconst processedGroups = new Set()\n\n\t\t\tObject.keys(auth).forEach((action) => {\n\t\t\t\tif (Array.isArray(auth[action])) {\n\t\t\t\t\tauth[action].forEach((groupId) => {\n\t\t\t\t\t\tif (!processedGroups.has(groupId)) {\n\t\t\t\t\t\t\tconst rights = []\n\t\t\t\t\t\t\tif (auth.create && auth.create.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('C')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (auth.read && auth.read.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('R')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (auth.update && auth.update.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('U')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (auth.delete && auth.delete.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('D')\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tpermissionsList.push({\n\t\t\t\t\t\t\t\tgroup: this.getDisplayGroupName(groupId),\n\t\t\t\t\t\t\t\tgroupId,\n\t\t\t\t\t\t\t\trights: rights.length > 0 ? rights.join(',') : 'none',\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tprocessedGroups.add(groupId)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tpermissionsList.push({\n\t\t\t\tgroup: t('nextcloud-vue', 'Admin'),\n\t\t\t\tgroupId: 'admin',\n\t\t\t\trights: 'C,R,U,D',\n\t\t\t})\n\n\t\t\treturn permissionsList.sort((a, b) => {\n\t\t\t\tif (a.groupId === 'public') {\n\t\t\t\t\treturn -1\n\t\t\t\t}\n\t\t\t\tif (b.groupId === 'public') {\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\tif (a.groupId === 'authenticated') {\n\t\t\t\t\treturn -1\n\t\t\t\t}\n\t\t\t\tif (b.groupId === 'authenticated') {\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\tif (a.groupId === 'admin') {\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\tif (b.groupId === 'admin') {\n\t\t\t\t\treturn -1\n\t\t\t\t}\n\t\t\t\treturn a.group.localeCompare(b.group)\n\t\t\t})\n\t\t},\n\n\t\tgetAvailableGroupsForProperty() {\n\t\t\treturn [\n\t\t\t\t{ id: 'public', label: t('nextcloud-vue', 'Public (unauthenticated)') },\n\t\t\t\t{ id: 'authenticated', label: t('nextcloud-vue', 'Authenticated') },\n\t\t\t\t...this.sortedUserGroups.map((group) => ({\n\t\t\t\t\tid: group.id,\n\t\t\t\t\tlabel: group.displayname || group.id,\n\t\t\t\t})),\n\t\t\t]\n\t\t},\n\n\t\thasAnyPropertyNewPermissionSelected() {\n\t\t\treturn this.propertyNewPermissionCreate\n\t\t\t\t|| this.propertyNewPermissionRead\n\t\t\t\t|| this.propertyNewPermissionUpdate\n\t\t\t\t|| this.propertyNewPermissionDelete\n\t\t},\n\n\t\thasPropertyGroupPermission(key, groupId, action) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst auth = this.schema.properties[key].authorization\n\t\t\tif (!auth[action] || !Array.isArray(auth[action])) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn auth[action].includes(groupId)\n\t\t},\n\n\t\tupdatePropertyGroupPermission(key, groupId, action, hasPermission) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].authorization) {\n\t\t\t\tthis.schema.properties[key].authorization = {}\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].authorization[action]) {\n\t\t\t\tthis.schema.properties[key].authorization[action] = []\n\t\t\t}\n\n\t\t\tconst currentPermissions = this.schema.properties[key].authorization[action]\n\t\t\tconst groupIndex = currentPermissions.indexOf(groupId)\n\n\t\t\tif (hasPermission && groupIndex === -1) {\n\t\t\t\tcurrentPermissions.push(groupId)\n\t\t\t} else if (!hasPermission && groupIndex !== -1) {\n\t\t\t\tcurrentPermissions.splice(groupIndex, 1)\n\t\t\t}\n\n\t\t\tif (currentPermissions.length === 0) {\n\t\t\t\tdelete this.schema.properties[key].authorization[action]\n\t\t\t}\n\n\t\t\tif (Object.keys(this.schema.properties[key].authorization).length === 0) {\n\t\t\t\tdelete this.schema.properties[key].authorization\n\t\t\t}\n\t\t},\n\n\t\taddPropertyGroupPermissions(key) {\n\t\t\tif (!this.propertyNewPermissionGroup) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst groupId = typeof this.propertyNewPermissionGroup === 'object'\n\t\t\t\t? this.propertyNewPermissionGroup.id\n\t\t\t\t: this.propertyNewPermissionGroup\n\n\t\t\tif (!this.schema.properties[key].authorization) {\n\t\t\t\tthis.schema.properties[key].authorization = {}\n\t\t\t}\n\n\t\t\tif (this.propertyNewPermissionCreate) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'create', true)\n\t\t\t}\n\t\t\tif (this.propertyNewPermissionRead) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'read', true)\n\t\t\t}\n\t\t\tif (this.propertyNewPermissionUpdate) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'update', true)\n\t\t\t}\n\t\t\tif (this.propertyNewPermissionDelete) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'delete', true)\n\t\t\t}\n\n\t\t\tthis.resetPropertyPermissionForm()\n\t\t},\n\n\t\tremovePropertyGroupPermissions(key, displayName) {\n\t\t\tconst permission = this.getPropertyPermissionsList(key).find((p) => p.group === displayName)\n\t\t\tif (!permission || permission.groupId === 'admin') {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst groupId = permission.groupId\n\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst actions = ['create', 'read', 'update', 'delete']\n\t\t\tactions.forEach((action) => {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, action, false)\n\t\t\t})\n\t\t},\n\n\t\tresetPropertyPermissionForm() {\n\t\t\tthis.propertyNewPermissionGroup = null\n\t\t\tthis.propertyNewPermissionCreate = false\n\t\t\tthis.propertyNewPermissionRead = false\n\t\t\tthis.propertyNewPermissionUpdate = false\n\t\t\tthis.propertyNewPermissionDelete = false\n\t\t},\n\t},\n}\n</script>\n"],"names":["t"],"mappings":";;;;;;;AA2hBA;AACC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAED,aAAe;AACd,CAAA,IAAI,EAAE,yBAAyB;CAC/B,UAAU,EAAE;AACX,EAAA,SAAS;AACT,EAAA,cAAc;AACd,EAAA,gBAAgB;EAChB,aAAa;AACb,EAAA,eAAe;AACf,EAAA,iBAAiB;EACjB,YAAY;EACZ,WAAW;AACX,EAAA,eAAe;EACf,KAAK;EACL,IAAI;EACJ;;AAED,CAAA,KAAK,EAAE;AACN;AACA,EAAA,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;AAC7C;AACA,EAAA,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;;AAE1C,EAAA,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;;EAE5C,kBAAkB,EAAE,EAAE,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ources":["../../../../src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue"],"sourcesContent":["<template>\n\t<NcActions>\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Actions')\" />\n\t\t<NcActionButton :aria-label=\"t('nextcloud-vue', 'Copy {key}', { key: propertyKey })\" @click=\"$emit('copy-property', propertyKey)\">\n\t\t\t<template #icon>\n\t\t\t\t<ContentCopy :size=\"16\" />\n\t\t\t</template>\n\t\t\t{{ t('nextcloud-vue', 'Copy property') }}\n\t\t</NcActionButton>\n\t\t<NcActionButton :aria-label=\"t('nextcloud-vue', 'Delete {key}', { key: propertyKey })\" @click=\"$emit('delete-property', propertyKey)\">\n\t\t\t<template #icon>\n\t\t\t\t<TrashCanOutline :size=\"16\" />\n\t\t\t</template>\n\t\t\t{{ t('nextcloud-vue', 'Delete property') }}\n\t\t</NcActionButton>\n\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'General')\" />\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"isPropertyRequired(schema, propertyKey)\"\n\t\t\t@update:modelValue=\"updatePropertyRequired(propertyKey, $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Required') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.immutable || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'immutable', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Immutable') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.deprecated || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'deprecated', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Deprecated') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.visible !== false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'visible', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Visible to end users') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.hideOnCollection || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'hideOnCollection', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Hide in collection view') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"property.hideOnForm || false\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'hideOnForm', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Hide in form view') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"isFacetableEnabled(property)\"\n\t\t\t@update:modelValue=\"toggleFacetable(propertyKey, $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Facetable') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionCheckbox\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).aggregated !== false\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'aggregated', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Aggregated across schemas') }}\n\t\t</NcActionCheckbox>\n\t\t<NcActionInput\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).title || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Facet title')\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'title', $event)\" />\n\t\t<NcActionInput\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).description || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Facet description')\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'description', $event)\" />\n\t\t<NcActionInput\n\t\t\tv-if=\"isFacetableEnabled(property)\"\n\t\t\t:modelValue=\"getFacetConfig(property).order != null ? String(getFacetConfig(property).order) : ''\"\n\t\t\ttype=\"number\"\n\t\t\t:label=\"t('nextcloud-vue', 'Facet order')\"\n\t\t\t@update:modelValue=\"updateFacetConfigField(propertyKey, property, 'order', $event)\" />\n\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Properties')\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.title || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Title')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'title', $event)\" />\n\t\t<NcActionInput\n\t\t\tv-if=\"getFormatOptionsForType(property.type).length > 0\"\n\t\t\tv-model=\"schema.properties[propertyKey].format\"\n\t\t\ttype=\"multiselect\"\n\t\t\t:options=\"getFormatOptionsForType(property.type)\"\n\t\t\t:inputLabel=\"t('nextcloud-vue', 'Format')\"\n\t\t\t:label=\"t('nextcloud-vue', 'Format')\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.description || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Description')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'description', $event)\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.example || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Example')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'example', $event)\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.order || 0\"\n\t\t\ttype=\"number\"\n\t\t\t:label=\"t('nextcloud-vue', 'Order')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'order', Number($event))\" />\n\n\t\t<!-- Const and Enum Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Value constraints')\" />\n\t\t<NcActionInput\n\t\t\t:modelValue=\"property.const || ''\"\n\t\t\t:label=\"t('nextcloud-vue', 'Constant')\"\n\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'const', $event === '' ? undefined : $event)\" />\n\t\t<template v-if=\"property.enum && property.enum.length > 0\">\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Current enum values ({count})', { count: property.enum.length })\" />\n\t\t\t<NcActionButton\n\t\t\t\tv-for=\"(enumValue, index) in property.enum\"\n\t\t\t\t:key=\"`enum-chip-${index}-${enumValue}`\"\n\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Remove {value}', { value: enumValue })\"\n\t\t\t\tclass=\"cn-schema-form__enum-action-chip\"\n\t\t\t\t@click=\"removeEnumValue(propertyKey, index)\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Close :size=\"16\" />\n\t\t\t\t</template>\n\t\t\t\t{{ String(enumValue) }}\n\t\t\t</NcActionButton>\n\t\t</template>\n\t\t<!--\n\t\t\tUse @submit, not @keydown.enter: NcActionInput wraps the field and its\n\t\t\ttrailing arrow button in a <form> and emits `submit` for BOTH Enter and\n\t\t\tan arrow click. Listening only for keydown.enter left the arrow — the\n\t\t\tvisible affordance most users reach for — doing nothing. Mirrors the\n\t\t\tnote-add input in CnRelatedObjectsWidget.\n\n\t\t\tMODEL PROP — applies to EVERY NcActionInput in this file:\n\t\t\t`model-value` / `@update:model-value`, never `value` / `@update:value`\n\t\t\t(and never `@input`, which the component does not emit at all).\n\t\t\t@nextcloud/vue 9's NcActionInput declares exactly one model prop,\n\t\t\t`modelValue`, and exactly two events, `submit` and\n\t\t\t`update:modelValue`. Anything else is not a warning — it is silently\n\t\t\tinert: a `:value` binding degrades to a DOM attribute on the wrapping\n\t\t\t<li>, and an `@update:value` / `@input` listener simply never fires,\n\t\t\tso the field shows nothing and reports nothing. That is what made\n\t\t\tthis whole actions menu read-only.\n\t\t-->\n\t\t<NcActionInput\n\t\t\t:modelValue=\"enumInputValue\"\n\t\t\t:label=\"t('nextcloud-vue', 'Add enum value')\"\n\t\t\t:placeholder=\"t('nextcloud-vue', 'Type a value and press Enter or the arrow')\"\n\t\t\t@update:modelValue=\"enumInputValue = $event\"\n\t\t\t@submit=\"addEnumValueAndClear(propertyKey)\" />\n\n\t\t<!-- Default Value Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Default value configuration')\" />\n\t\t<template v-if=\"property.type === 'string'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.default || ''\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'default', $event === '' ? undefined : $event)\" />\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'number' || property.type === 'integer'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.default || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'default', Number($event))\" />\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'boolean'\">\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.default === true\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'default', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Default value') }}\n\t\t\t</NcActionCheckbox>\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'array' && property.items && property.items.type === 'string'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getArrayDefaultAsString(property.default)\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default values (comma separated)')\"\n\t\t\t\tplaceholder=\"value1, value2, value3\"\n\t\t\t\t@update:modelValue=\"updateArrayDefault(propertyKey, $event)\" />\n\t\t</template>\n\t\t<template v-else-if=\"property.type === 'object'\">\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"typeof property.default === 'object' ? JSON.stringify(property.default, null, 2) : (property.default || '{}')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Default value (JSON)')\"\n\t\t\t\t@update:modelValue=\"updateObjectDefault(propertyKey, $event)\" />\n\t\t</template>\n\n\t\t<!-- Default Behavior Toggle -->\n\t\t<template v-if=\"property.default !== undefined && property.default !== null && property.default !== ''\">\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.defaultBehavior === 'falsy'\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'defaultBehavior', $event ? 'falsy' : 'false')\">\n\t\t\t\t{{ t('nextcloud-vue', 'Apply default for empty values') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"property.defaultBehavior === 'falsy'\"\n\t\t\t\t:name=\"'ℹ️ ' + t('nextcloud-vue', 'Default will be applied when value is missing, null, or empty string')\"\n\t\t\t\tstyle=\"color: var(--color-text-lighter); font-size: 11px;\" />\n\t\t\t<NcActionCaption\n\t\t\t\tv-else\n\t\t\t\t:name=\"'ℹ️ ' + t('nextcloud-vue', 'Default will only be applied when value is missing or null')\"\n\t\t\t\tstyle=\"color: var(--color-text-lighter); font-size: 11px;\" />\n\t\t</template>\n\n\t\t<!-- Type-specific configurations -->\n\t\t<template v-if=\"property.type === 'string'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'String configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.minLength || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Minimum length')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'minLength', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maxLength || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum length')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'maxLength', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.pattern || ''\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Pattern (regex)')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'pattern', $event)\" />\n\t\t</template>\n\n\t\t<template v-if=\"property.type === 'number' || property.type === 'integer'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Number configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.minimum || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Minimum value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'minimum', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maximum || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum value')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'maximum', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.multipleOf || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Multiple of')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'multipleOf', Number($event))\" />\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.exclusiveMin || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'exclusiveMin', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Exclusive minimum') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.exclusiveMax || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'exclusiveMax', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Exclusive maximum') }}\n\t\t\t</NcActionCheckbox>\n\t\t</template>\n\n\t\t<template v-if=\"property.type === 'array'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Array configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"schema.properties[propertyKey].items.type\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"arrayItemTypeOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Array item type')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Array item type')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.minItems || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Minimum items')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'minItems', Number($event))\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maxItems || 0\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum items')\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'maxItems', Number($event))\" />\n\n\t\t\t<!-- Show object configuration for array items when item type is object -->\n\t\t\t<template v-if=\"property.items && property.items.type === 'object'\">\n\t\t\t\t<NcActionSeparator />\n\t\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Array item object configuration')\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\tv-model=\"schema.properties[propertyKey].items.objectConfiguration.handling\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"objectHandlingOptions\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Object handling')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Object handling')\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\t:modelValue=\"arrayItemSchemaRefValueFor(propertyKey)\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"schemaRefOptions\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemSchemaReference(propertyKey, $event)\" />\n\t\t\t\t<NcActionCaption\n\t\t\t\t\tv-if=\"isArrayItemRefInvalid(propertyKey)\"\n\t\t\t\t\t:name=\"'⚠️ ' + t('nextcloud-vue', 'Invalid schema reference: Expected string, got number ({value}). This will be sent to backend as-is.', { value: schema.properties[propertyKey].items.$ref })\"\n\t\t\t\t\tstyle=\"color: var(--color-error); font-weight: bold;\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\t:modelValue=\"arrayItemRegisterValueFor(propertyKey)\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"registerSelectOptions\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Register')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Register (required when schema is selected)')\"\n\t\t\t\t\t:required=\"!!schema.properties[propertyKey].items.$ref\"\n\t\t\t\t\t:disabled=\"!schema.properties[propertyKey].items.$ref\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemRegisterReference(propertyKey, $event)\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\tv-model=\"schema.properties[propertyKey].items.inversedBy\"\n\t\t\t\t\ttype=\"multiselect\"\n\t\t\t\t\t:options=\"getInversedByOptionsForArrayItems(propertyKey)\"\n\t\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Inversed by property')\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Inversed by')\"\n\t\t\t\t\t:disabled=\"!schema.properties[propertyKey].items.$ref\"\n\t\t\t\t\t@update:modelValue=\"updateInversedByForArrayItems(propertyKey, $event)\" />\n\t\t\t\t<NcActionInput\n\t\t\t\t\t:modelValue=\"getArrayItemQueryParams(propertyKey)\"\n\t\t\t\t\t:label=\"t('nextcloud-vue', 'Query parameters')\"\n\t\t\t\t\tplaceholder=\"e.g. gemmaType=referentiecomponent&_extend=aanbevolenStandaarden\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemQueryParams(propertyKey, $event)\" />\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"property.items.writeBack || false\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemObjectConfigurationSetting(propertyKey, 'writeBack', $event)\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Write back') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"property.items.removeAfterWriteBack || false\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemObjectConfigurationSetting(propertyKey, 'removeAfterWriteBack', $event)\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Remove after write back') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"property.items.cascadeDelete || false\"\n\t\t\t\t\t@update:modelValue=\"updateArrayItemObjectConfigurationSetting(propertyKey, 'cascadeDelete', $event)\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Cascade delete') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t</template>\n\t\t</template>\n\n\t\t<template v-if=\"property.type === 'object'\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Object configuration')\" />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"schema.properties[propertyKey].objectConfiguration.handling\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"objectHandlingOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Object handling')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Object handling')\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"schemaRefValueFor(propertyKey)\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"schemaRefOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Schema reference')\"\n\t\t\t\t@update:modelValue=\"updateSchemaReference(propertyKey, $event)\" />\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"isRefInvalid(propertyKey)\"\n\t\t\t\t:name=\"'⚠️ ' + t('nextcloud-vue', 'Invalid schema reference: Expected string, got number ({value}). This will be sent to backend as-is.', { value: schema.properties[propertyKey].$ref })\"\n\t\t\t\tstyle=\"color: var(--color-error); font-weight: bold;\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"registerValueFor(propertyKey)\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"registerSelectOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Register')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Register (required when schema is selected)')\"\n\t\t\t\t:required=\"!!schema.properties[propertyKey].$ref\"\n\t\t\t\t:disabled=\"!schema.properties[propertyKey].$ref\"\n\t\t\t\t@update:modelValue=\"updateRegisterReference(propertyKey, $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"schema.properties[propertyKey].inversedBy\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"getInversedByOptions(propertyKey)\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Inversed by property')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Inversed by')\"\n\t\t\t\t:disabled=\"!schema.properties[propertyKey].$ref\"\n\t\t\t\t@update:modelValue=\"updateInversedBy(propertyKey, $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getObjectQueryParams(propertyKey)\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Query parameters')\"\n\t\t\t\tplaceholder=\"e.g. gemmaType=referentiecomponent&_extend=aanbevolenStandaarden\"\n\t\t\t\t@update:modelValue=\"updateObjectQueryParams(propertyKey, $event)\" />\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.writeBack || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'writeBack', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Write back') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.removeAfterWriteBack || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'removeAfterWriteBack', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Remove after write back') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"property.cascadeDelete || false\"\n\t\t\t\t@update:modelValue=\"updatePropertySetting(propertyKey, 'cascadeDelete', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Cascade delete') }}\n\t\t\t</NcActionCheckbox>\n\t\t</template>\n\n\t\t<!-- File Configuration -->\n\t\t<template v-if=\"property.type === 'file' || (property.type === 'array' && property.items && property.items.type === 'file')\">\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'File configuration')\" />\n\t\t\t<NcActionCheckbox\n\t\t\t\t:modelValue=\"getFilePropertySetting(propertyKey, 'autoPublish')\"\n\t\t\t\t@update:modelValue=\"updateFilePropertySetting(propertyKey, 'autoPublish', $event)\">\n\t\t\t\t{{ t('nextcloud-vue', 'Auto-publish files') }}\n\t\t\t</NcActionCheckbox>\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"getFilePropertySetting(propertyKey, 'autoPublish')\"\n\t\t\t\t:name=\"'ℹ️ ' + t('nextcloud-vue', 'Files uploaded to this property will be automatically publicly shared')\"\n\t\t\t\tstyle=\"color: var(--color-text-lighter); font-size: 11px;\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"(property.allowedTypes || []).join(', ')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Allowed MIME types (comma separated)')\"\n\t\t\t\tplaceholder=\"image/png, image/jpeg, application/pdf\"\n\t\t\t\t@update:modelValue=\"updateFileProperty(propertyKey, 'allowedTypes', $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"property.maxSize || ''\"\n\t\t\t\ttype=\"number\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Maximum file size (bytes)')\"\n\t\t\t\tplaceholder=\"5242880\"\n\t\t\t\t@update:modelValue=\"updateFileProperty(propertyKey, 'maxSize', $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getFilePropertyTags(propertyKey, 'allowedTags')\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"availableTagsOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Allowed tags')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Allowed tags (select from available tags)')\"\n\t\t\t\tmultiple\n\t\t\t\t@update:modelValue=\"updateFilePropertyTags(propertyKey, 'allowedTags', $event)\" />\n\t\t\t<NcActionInput\n\t\t\t\t:modelValue=\"getFilePropertyTags(propertyKey, 'autoTags')\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"availableTagsOptions\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Auto tags')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Auto tags (automatically applied to uploaded files)')\"\n\t\t\t\tmultiple\n\t\t\t\t@update:modelValue=\"updateFilePropertyTags(propertyKey, 'autoTags', $event)\" />\n\t\t</template>\n\n\t\t<!-- Property-level Table Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Table')\" />\n\t\t<NcActionCheckbox\n\t\t\t:modelValue=\"getPropertyTableSetting(propertyKey, 'default')\"\n\t\t\t@update:modelValue=\"updatePropertyTableSetting(propertyKey, 'default', $event)\">\n\t\t\t{{ t('nextcloud-vue', 'Default') }}\n\t\t</NcActionCheckbox>\n\n\t\t<!-- Property-level Security Configuration -->\n\t\t<NcActionSeparator />\n\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Property security')\" />\n\n\t\t<template v-if=\"!loadingGroups\">\n\t\t\t<!-- Current Property Permissions List -->\n\t\t\t<div v-for=\"permission in getPropertyPermissionsList(propertyKey)\" :key=\"`${propertyKey}-perm-text-${permission.group}`\">\n\t\t\t\t<NcActionText\n\t\t\t\t\tclass=\"cn-schema-form__property-permission-text\">\n\t\t\t\t\t{{ permission.group }} ({{ permission.rights }})\n\t\t\t\t</NcActionText>\n\t\t\t\t<NcActionButton\n\t\t\t\t\tv-if=\"permission.groupId !== 'admin'\"\n\t\t\t\t\t:key=\"`${propertyKey}-perm-remove-${permission.group}`\"\n\t\t\t\t\t:aria-label=\"t('nextcloud-vue', 'Remove {group} permissions', { group: permission.group })\"\n\t\t\t\t\tclass=\"cn-schema-form__property-permission-remove-btn\"\n\t\t\t\t\t@click=\"removePropertyGroupPermissions(propertyKey, permission.group)\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Close :size=\"16\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t{{ t('nextcloud-vue', 'Remove {group}', { group: permission.group }) }}\n\t\t\t\t</NcActionButton>\n\t\t\t</div>\n\n\t\t\t<!-- Show inheritance status if no specific permissions -->\n\t\t\t<NcActionCaption\n\t\t\t\tv-if=\"!hasPropertyAnyPermissions(propertyKey)\"\n\t\t\t\t:name=\"'📄 ' + t('nextcloud-vue', 'Inherits schema permissions')\"\n\t\t\t\tstyle=\"color: var(--color-success); font-size: 11px;\" />\n\n\t\t\t<!-- Add Permission Interface -->\n\t\t\t<NcActionSeparator />\n\t\t\t<NcActionInput\n\t\t\t\tv-model=\"propertyNewPermissionGroup\"\n\t\t\t\ttype=\"multiselect\"\n\t\t\t\t:options=\"getAvailableGroupsForProperty()\"\n\t\t\t\t:inputLabel=\"t('nextcloud-vue', 'Group')\"\n\t\t\t\t:label=\"t('nextcloud-vue', 'Add group permission')\"\n\t\t\t\t:placeholder=\"t('nextcloud-vue', 'Select group…')\" />\n\n\t\t\t<template v-if=\"propertyNewPermissionGroup\">\n\t\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Select permissions:')\" />\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionCreate\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionCreate = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Create (C)') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionRead\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionRead = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Read (R)') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionUpdate\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionUpdate = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Update (U)') }}\n\t\t\t\t</NcActionCheckbox>\n\t\t\t\t<NcActionCheckbox\n\t\t\t\t\t:modelValue=\"propertyNewPermissionDelete\"\n\t\t\t\t\t@update:modelValue=\"propertyNewPermissionDelete = $event\">\n\t\t\t\t\t{{ t('nextcloud-vue', 'Delete (D)') }}\n\t\t\t\t</NcActionCheckbox>\n\n\t\t\t\t<NcActionButton\n\t\t\t\t\tv-if=\"hasAnyPropertyNewPermissionSelected()\"\n\t\t\t\t\t@click=\"addPropertyGroupPermissions(propertyKey)\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Plus :size=\"16\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t{{ t('nextcloud-vue', 'Add permission') }}\n\t\t\t\t</NcActionButton>\n\t\t\t</template>\n\t\t</template>\n\t\t<template v-else>\n\t\t\t<NcActionCaption :name=\"t('nextcloud-vue', 'Loading groups…')\" />\n\t\t</template>\n\t</NcActions>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport {\n\tNcActionButton,\n\tNcActionCaption,\n\tNcActionCheckbox,\n\tNcActionInput,\n\tNcActions,\n\tNcActionSeparator,\n\tNcActionText,\n} from '@nextcloud/vue'\nimport Close from 'vue-material-design-icons/Close.vue'\nimport ContentCopy from 'vue-material-design-icons/ContentCopy.vue'\nimport Plus from 'vue-material-design-icons/Plus.vue'\nimport TrashCanOutline from 'vue-material-design-icons/TrashCanOutline.vue'\nimport { isPrototypeKey } from '../../utils/prototypeKeys.js'\n\n/**\n * CnSchemaPropertyActions — NcActions dropdown for a single schema property.\n *\n * Renders all configuration sections (General, Properties, Value Constraints,\n * Default Value, type-specific configs, File, Table, Security) inside an\n * NcActions popover menu.\n *\n * Mutates schemaItem directly (passed by reference from parent).\n *\n * @event copy-property Emitted when copy is clicked. Payload: property key.\n * @event delete-property Emitted when delete is clicked. Payload: property key.\n */\nexport default {\n\tname: 'CnSchemaPropertyActions',\n\tcomponents: {\n\t\tNcActions,\n\t\tNcActionButton,\n\t\tNcActionCheckbox,\n\t\tNcActionInput,\n\t\tNcActionCaption,\n\t\tNcActionSeparator,\n\t\tNcActionText,\n\t\tContentCopy,\n\t\tTrashCanOutline,\n\t\tClose,\n\t\tPlus,\n\t},\n\n\tprops: {\n\t\t/** The property name/key in the schema */\n\t\tpropertyKey: { type: String, required: true },\n\t\t/** The property definition object */\n\t\tproperty: { type: Object, required: true },\n\t\t/** Full schemaItem (for direct mutations and required array checks) */\n\t\tschemaItem: { type: Object, required: true },\n\t\t/** Original properties snapshot for table setting comparison */\n\t\toriginalProperties: { type: Object, default: () => ({}) },\n\t\t/** Available schemas for $ref selects */\n\t\tavailableSchemas: { type: Array, default: () => [] },\n\t\t/** Available registers for register selects */\n\t\tavailableRegisters: { type: Array, default: () => [] },\n\t\t/** Available tags for file property configuration, pre-mapped to [{id, label}] */\n\t\tavailableTagsOptions: { type: Array, default: () => [] },\n\t\t/** User groups for property-level RBAC */\n\t\tuserGroups: { type: Array, default: () => [] },\n\t\t/** Filtered/sorted user groups (excludes admin/public) */\n\t\tsortedUserGroups: { type: Array, default: () => [] },\n\t\t/** Whether user groups are still loading */\n\t\tloadingGroups: { type: Boolean, default: false },\n\t},\n\n\temits: ['copy-property', 'delete-property'],\n\tdata() {\n\t\treturn {\n\t\t\tenumInputValue: '',\n\t\t\tpropertyNewPermissionGroup: null,\n\t\t\tpropertyNewPermissionCreate: false,\n\t\t\tpropertyNewPermissionRead: false,\n\t\t\tpropertyNewPermissionUpdate: false,\n\t\t\tpropertyNewPermissionDelete: false,\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t/** Local alias to avoid vue/no-mutating-props on template bindings */\n\t\tschema() {\n\t\t\treturn this.schemaItem\n\t\t},\n\n\t\tobjectHandlingOptions() {\n\t\t\treturn [\n\t\t\t\t{ id: 'nested-object', label: t('nextcloud-vue', 'Nested object') },\n\t\t\t\t{ id: 'related-object', label: t('nextcloud-vue', 'Related object') },\n\t\t\t\t{ id: 'nested-schema', label: t('nextcloud-vue', 'Nested schema') },\n\t\t\t\t{ id: 'related-schema', label: t('nextcloud-vue', 'Related schema') },\n\t\t\t\t{ id: 'uri', label: 'URI' },\n\t\t\t]\n\t\t},\n\n\t\t/**\n\t\t * Schema-reference select options as {id, label}. NcSelect renders\n\t\t * `option.label`, and the raw availableSchemas objects are keyed by\n\t\t * title/slug with NO label — binding them directly rendered every option as\n\t\t * literal \"undefined\". `id` is the $ref the backend expects (the schema's\n\t\t * reference, or `#/components/schemas/<slug>`), which updateSchemaReference\n\t\t * reads back off `value.id`.\n\t\t *\n\t\t * @return {Array<{id: string, label: string, schema: object}>} Options.\n\t\t */\n\t\tschemaRefOptions() {\n\t\t\treturn (this.availableSchemas || []).map((s) => ({\n\t\t\t\tid: s.reference || `#/components/schemas/${s.slug || s.title || s.id}`,\n\t\t\t\tlabel: s.title || s.name || s.slug || `Schema ${s.id}`,\n\t\t\t\tschema: s,\n\t\t\t}))\n\t\t},\n\n\t\t/**\n\t\t * Register select options as {id, label} — same reason as schemaRefOptions.\n\t\t *\n\t\t * @return {Array<{id: (string|number), label: string}>} Options.\n\t\t */\n\t\tregisterSelectOptions() {\n\t\t\treturn (this.availableRegisters || []).map((r) => ({\n\t\t\t\tid: r.id !== undefined ? r.id : (r.slug || r.title),\n\t\t\t\tlabel: r.title || r.name || r.label || r.slug || `Register ${r.id}`,\n\t\t\t}))\n\t\t},\n\n\t\tarrayItemTypeOptions() {\n\t\t\treturn [\n\t\t\t\t{ id: 'string', label: t('nextcloud-vue', 'String') },\n\t\t\t\t{ id: 'number', label: t('nextcloud-vue', 'Number') },\n\t\t\t\t{ id: 'integer', label: t('nextcloud-vue', 'Integer') },\n\t\t\t\t{ id: 'object', label: t('nextcloud-vue', 'Object') },\n\t\t\t\t{ id: 'boolean', label: t('nextcloud-vue', 'Boolean') },\n\t\t\t\t{ id: 'file', label: t('nextcloud-vue', 'File') },\n\t\t\t]\n\t\t},\n\t},\n\n\tmethods: {\n\t\tt,\n\n\t\t// --- General helpers ---\n\n\t\tisPropertyRequired(schema, key) {\n\t\t\tconst isInSchemaRequired = schema.required && schema.required.includes(key)\n\t\t\tconst hasPropertyRequired = schema.properties && schema.properties[key] && schema.properties[key].required === true\n\t\t\treturn isInSchemaRequired || hasPropertyRequired\n\t\t},\n\n\t\tfindSchemaBySlug(schemaSlug) {\n\t\t\tif (!schemaSlug) {\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\treturn this.availableSchemas.find((schema) => (schema.slug && schema.slug.toLowerCase() === schemaSlug.toLowerCase())\n\t\t\t\t|| schema.id === schemaSlug\n\t\t\t\t|| schema.title === schemaSlug)\n\t\t},\n\n\t\tcheckPropertiesModified() {\n\t\t\t// Bubble up to parent — the parent's deep watcher handles this\n\t\t},\n\n\t\t// --- Property setting updates ---\n\n\t\tupdatePropertySetting(key, setting, value) {\n\t\t\tif (isPrototypeKey(key) || isPrototypeKey(setting)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tconst settingValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key][setting] = settingValue\n\t\t\t\tthis.ensureRefIsString(this.schema.properties, key)\n\t\t\t}\n\t\t},\n\n\t\tupdatePropertyRequired(key, isRequired) {\n\t\t\tif (isPrototypeKey(key)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (isRequired) {\n\t\t\t\t\tthis.schema.properties[key].required = true\n\t\t\t\t} else {\n\t\t\t\t\tdelete this.schema.properties[key].required\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!this.schema.required) {\n\t\t\t\tthis.schema.required = []\n\t\t\t}\n\n\t\t\tconst currentRequired = [...this.schema.required]\n\t\t\tif (isRequired && !currentRequired.includes(key)) {\n\t\t\t\tcurrentRequired.push(key)\n\t\t\t} else if (!isRequired && currentRequired.includes(key)) {\n\t\t\t\tconst index = currentRequired.indexOf(key)\n\t\t\t\tcurrentRequired.splice(index, 1)\n\t\t\t}\n\n\t\t\tthis.schema.required = currentRequired\n\t\t},\n\n\t\t// --- Facet ---\n\n\t\tisFacetableEnabled(property) {\n\t\t\treturn property.facetable === true\n\t\t\t\t|| (typeof property.facetable === 'object' && property.facetable !== null)\n\t\t},\n\n\t\tgetFacetConfig(property) {\n\t\t\tif (typeof property.facetable === 'object' && property.facetable !== null) {\n\t\t\t\treturn {\n\t\t\t\t\taggregated: property.facetable.aggregated ?? true,\n\t\t\t\t\ttitle: property.facetable.title ?? '',\n\t\t\t\t\tdescription: property.facetable.description ?? '',\n\t\t\t\t\torder: property.facetable.order ?? null,\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn { aggregated: true, title: '', description: '', order: null }\n\t\t},\n\n\t\ttoggleFacetable(key, enabled) {\n\t\t\tif (enabled) {\n\t\t\t\tthis.schema.properties[key].facetable = true\n\t\t\t} else {\n\t\t\t\tthis.schema.properties[key].facetable = false\n\t\t\t}\n\t\t},\n\n\t\tupdateFacetConfigField(key, property, field, value) {\n\t\t\tconst config = this.getFacetConfig(property)\n\n\t\t\tif (field === 'aggregated') {\n\t\t\t\tconfig.aggregated = value\n\t\t\t} else if (field === 'order') {\n\t\t\t\tconfig.order = value !== '' && value !== null && value !== undefined ? Number(value) : null\n\t\t\t} else {\n\t\t\t\tconfig[field] = value\n\t\t\t}\n\n\t\t\tconst hasCustomConfig = !config.aggregated\n\t\t\t\t|| (config.title && config.title.trim())\n\t\t\t\t|| (config.description && config.description.trim())\n\t\t\t\t|| (config.order !== null && config.order !== undefined)\n\n\t\t\tif (hasCustomConfig) {\n\t\t\t\tthis.schema.properties[key].facetable = {\n\t\t\t\t\taggregated: config.aggregated,\n\t\t\t\t\ttitle: config.title?.trim() || null,\n\t\t\t\t\tdescription: config.description?.trim() || null,\n\t\t\t\t\torder: config.order,\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis.schema.properties[key].facetable = true\n\t\t\t}\n\t\t},\n\n\t\t// --- Format options ---\n\n\t\tgetFormatOptionsForType(type) {\n\t\t\tconst formatMap = {\n\t\t\t\tstring: [\n\t\t\t\t\t{ id: 'text', label: t('nextcloud-vue', 'Text') },\n\t\t\t\t\t{ id: 'markdown', label: t('nextcloud-vue', 'Markdown') },\n\t\t\t\t\t{ id: 'html', label: t('nextcloud-vue', 'HTML') },\n\t\t\t\t\t{ id: 'date-time', label: t('nextcloud-vue', 'Date time') },\n\t\t\t\t\t{ id: 'date', label: t('nextcloud-vue', 'Date') },\n\t\t\t\t\t{ id: 'time', label: t('nextcloud-vue', 'Time') },\n\t\t\t\t\t{ id: 'duration', label: t('nextcloud-vue', 'Duration') },\n\t\t\t\t\t{ id: 'email', label: t('nextcloud-vue', 'Email') },\n\t\t\t\t\t{ id: 'idn-email', label: t('nextcloud-vue', 'IDN email') },\n\t\t\t\t\t{ id: 'hostname', label: t('nextcloud-vue', 'Hostname') },\n\t\t\t\t\t{ id: 'idn-hostname', label: t('nextcloud-vue', 'IDN hostname') },\n\t\t\t\t\t{ id: 'ipv4', label: 'IPv4' },\n\t\t\t\t\t{ id: 'ipv6', label: 'IPv6' },\n\t\t\t\t\t{ id: 'uri', label: 'URI' },\n\t\t\t\t\t{ id: 'uri-reference', label: t('nextcloud-vue', 'URI reference') },\n\t\t\t\t\t{ id: 'iri', label: 'IRI' },\n\t\t\t\t\t{ id: 'iri-reference', label: t('nextcloud-vue', 'IRI reference') },\n\t\t\t\t\t{ id: 'uuid', label: 'UUID' },\n\t\t\t\t\t{ id: 'uri-template', label: t('nextcloud-vue', 'URI template') },\n\t\t\t\t\t{ id: 'json-pointer', label: t('nextcloud-vue', 'JSON pointer') },\n\t\t\t\t\t{ id: 'relative-json-pointer', label: t('nextcloud-vue', 'Relative JSON pointer') },\n\t\t\t\t\t{ id: 'regex', label: t('nextcloud-vue', 'Regex') },\n\t\t\t\t\t{ id: 'binary', label: t('nextcloud-vue', 'Binary') },\n\t\t\t\t\t{ id: 'byte', label: t('nextcloud-vue', 'Byte') },\n\t\t\t\t\t{ id: 'password', label: t('nextcloud-vue', 'Password') },\n\t\t\t\t\t{ id: 'rsin', label: 'RSIN' },\n\t\t\t\t\t{ id: 'kvk', label: 'KVK' },\n\t\t\t\t\t{ id: 'bsn', label: 'BSN' },\n\t\t\t\t\t{ id: 'oidn', label: 'OIDN' },\n\t\t\t\t\t{ id: 'telephone', label: t('nextcloud-vue', 'Telephone') },\n\t\t\t\t\t{ id: 'accessUrl', label: t('nextcloud-vue', 'Access URL') },\n\t\t\t\t\t{ id: 'shareUrl', label: t('nextcloud-vue', 'Share URL') },\n\t\t\t\t\t{ id: 'downloadUrl', label: t('nextcloud-vue', 'Download URL') },\n\t\t\t\t\t{ id: 'extension', label: t('nextcloud-vue', 'Extension') },\n\t\t\t\t\t{ id: 'filename', label: t('nextcloud-vue', 'Filename') },\n\t\t\t\t\t{ id: 'semver', label: t('nextcloud-vue', 'Semantic version') },\n\t\t\t\t\t{ id: 'url', label: 'URL' },\n\t\t\t\t\t{ id: 'color', label: t('nextcloud-vue', 'Color') },\n\t\t\t\t\t{ id: 'color-hex', label: t('nextcloud-vue', 'Color hex') },\n\t\t\t\t\t{ id: 'color-hex-alpha', label: t('nextcloud-vue', 'Color hex alpha') },\n\t\t\t\t\t{ id: 'color-rgb', label: t('nextcloud-vue', 'Color RGB') },\n\t\t\t\t\t{ id: 'color-rgba', label: t('nextcloud-vue', 'Color RGBA') },\n\t\t\t\t\t{ id: 'color-hsl', label: t('nextcloud-vue', 'Color HSL') },\n\t\t\t\t\t{ id: 'color-hsla', label: t('nextcloud-vue', 'Color HSLA') },\n\t\t\t\t],\n\n\t\t\t\tnumber: [],\n\t\t\t\tinteger: [],\n\t\t\t\tboolean: [],\n\t\t\t\tarray: [],\n\t\t\t\tobject: [],\n\t\t\t}\n\t\t\treturn formatMap[type] || []\n\t\t},\n\n\t\t// --- Enum ---\n\n\t\taddEnumValue(key, value) {\n\t\t\tif (!value || !value.trim()) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst trimmedValue = value.trim()\n\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (!this.schema.properties[key].enum) {\n\t\t\t\t\tthis.schema.properties[key].enum = []\n\t\t\t\t}\n\n\t\t\t\tif (!this.schema.properties[key].enum.includes(trimmedValue)) {\n\t\t\t\t\tconst newEnum = [...this.schema.properties[key].enum, trimmedValue]\n\t\t\t\t\tthis.schema.properties[key].enum = newEnum\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\taddEnumValueAndClear(key) {\n\t\t\tif (this.enumInputValue && this.enumInputValue.trim()) {\n\t\t\t\tthis.addEnumValue(key, this.enumInputValue)\n\t\t\t\tthis.enumInputValue = ''\n\t\t\t}\n\t\t},\n\n\t\tremoveEnumValue(key, index) {\n\t\t\tif (this.schema.properties[key] && this.schema.properties[key].enum) {\n\t\t\t\tconst newEnum = this.schema.properties[key].enum.filter((_, i) => i !== index)\n\n\t\t\t\tif (newEnum.length === 0) {\n\t\t\t\t\tdelete this.schema.properties[key].enum\n\t\t\t\t} else {\n\t\t\t\t\tthis.schema.properties[key].enum = newEnum\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// --- Default values ---\n\n\t\tgetArrayDefaultAsString(defaultValue) {\n\t\t\tif (!defaultValue || !Array.isArray(defaultValue)) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\treturn defaultValue.join(', ')\n\t\t},\n\n\t\tupdateArrayDefault(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!value || value.trim() === '') {\n\t\t\t\tthis.schema.properties[key].default = undefined\n\t\t\t} else {\n\t\t\t\tconst arrayValues = value.split(',').map((item) => item.trim()).filter((item) => item !== '')\n\t\t\t\tthis.schema.properties[key].default = arrayValues\n\t\t\t}\n\t\t},\n\n\t\tupdateObjectDefault(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!value || value.trim() === '' || value.trim() === '{}') {\n\t\t\t\tthis.schema.properties[key].default = undefined\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tconst parsedValue = JSON.parse(value)\n\t\t\t\tthis.schema.properties[key].default = parsedValue\n\t\t\t} catch (e) {\n\t\t\t\t// eslint-disable-next-line no-console -- a deliberate warning to the developer integrating this component\n\t\t\t\tconsole.warn('Invalid JSON for default value:', e.message)\n\t\t\t}\n\t\t},\n\n\t\t// --- Schema references ---\n\n\t\tensureRefIsString(obj, key) {\n\t\t\tif (!obj || !key) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (obj[key] && typeof obj[key].$ref === 'object' && obj[key].$ref !== null) {\n\t\t\t\tif (obj[key].$ref.id) {\n\t\t\t\t\tobj[key].$ref = obj[key].$ref.id\n\t\t\t\t} else {\n\t\t\t\t\tobj[key].$ref = ''\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (obj[key] && obj[key].items && typeof obj[key].items.$ref === 'object' && obj[key].items.$ref !== null) {\n\t\t\t\tif (obj[key].items.$ref.id) {\n\t\t\t\t\tobj[key].items.$ref = obj[key].items.$ref.id\n\t\t\t\t} else {\n\t\t\t\t\tobj[key].items.$ref = ''\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tisRefInvalid(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.$ref) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst rawRef = typeof property.$ref === 'object' ? property.$ref.id : property.$ref\n\t\t\treturn typeof rawRef === 'number'\n\t\t},\n\n\t\tisArrayItemRefInvalid(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.items || !property.items.$ref) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst rawRef = typeof property.items.$ref === 'object' ? property.items.$ref.id : property.items.$ref\n\t\t\treturn typeof rawRef === 'number'\n\t\t},\n\n\t\tupdateSchemaReference(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst schemaRef = typeof value === 'object' && value?.id ? value.id : value\n\t\t\tthis.schema.properties[key].$ref = schemaRef\n\n\t\t\tif (!this.schema.properties[key].objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (schemaRef) {\n\t\t\t\tlet schemaSlug = schemaRef\n\t\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t\t}\n\n\t\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\t\tif (referencedSchema) {\n\t\t\t\t\tthis.schema.properties[key].objectConfiguration.schema = referencedSchema.id\n\t\t\t\t}\n\n\t\t\t\tif (this.schema.properties[key].register && !this.schema.properties[key].objectConfiguration.register) {\n\t\t\t\t\tconst oldRegister = this.schema.properties[key].register\n\t\t\t\t\tconst registerId = typeof oldRegister === 'object' && oldRegister.id ? oldRegister.id : oldRegister\n\t\t\t\t\tthis.schema.properties[key].objectConfiguration.register = registerId\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.schema\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\tupdateArrayItemSchemaReference(key, value) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst schemaRef = typeof value === 'object' && value?.id ? value.id : value\n\t\t\tthis.schema.properties[key].items.$ref = schemaRef\n\n\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (schemaRef) {\n\t\t\t\tlet schemaSlug = schemaRef\n\t\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t\t}\n\n\t\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\t\tif (referencedSchema) {\n\t\t\t\t\tthis.schema.properties[key].items.objectConfiguration.schema = referencedSchema.id\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.schema\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\t// --- Register references ---\n\n\t\tupdateRegisterReference(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tconst registerId = typeof value === 'object' && value?.id ? value.id : value\n\n\t\t\tif (registerId) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration.register = registerId\n\t\t\t\tif (this.schema.properties[key].register) {\n\t\t\t\t\tdelete this.schema.properties[key].register\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\tupdateArrayItemRegisterReference(key, value) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tconst registerId = typeof value === 'object' && value?.id ? value.id : value\n\n\t\t\tif (registerId) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration.register = registerId\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.register\n\t\t\t}\n\t\t},\n\n\t\tgetRegisterValue(key) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn null\n\t\t\t}\n\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (property.objectConfiguration && property.objectConfiguration.register !== undefined) {\n\t\t\t\treturn property.objectConfiguration.register\n\t\t\t}\n\t\t\tif (property.register !== undefined) {\n\t\t\t\treturn property.register\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\n\t\tgetArrayItemRegisterValue(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn null\n\t\t\t}\n\n\t\t\tconst items = this.schema.properties[key].items\n\t\t\tif (items.objectConfiguration && items.objectConfiguration.register !== undefined) {\n\t\t\t\treturn items.objectConfiguration.register\n\t\t\t}\n\t\t\tif (items.register !== undefined) {\n\t\t\t\treturn items.register\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\n\t\t// --- Select value resolvers (return the matched {id,label} option so the\n\t\t// multiselect displays the current selection instead of a raw string) ---\n\n\t\t/**\n\t\t * The schema-reference option currently selected for a property.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tschemaRefValueFor(key) {\n\t\t\tconst ref = this.schema.properties[key] && this.schema.properties[key].$ref\n\t\t\treturn this.matchSchemaRefOption(ref)\n\t\t},\n\n\t\t/**\n\t\t * The schema-reference option currently selected for an array property's items.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tarrayItemSchemaRefValueFor(key) {\n\t\t\tconst items = this.schema.properties[key] && this.schema.properties[key].items\n\t\t\treturn this.matchSchemaRefOption(items && items.$ref)\n\t\t},\n\n\t\t/**\n\t\t * Resolve a stored $ref to a schemaRefOptions entry, matching on the option\n\t\t * id or the referenced schema's slug/title/id so a value persisted in any of\n\t\t * those forms still shows a name. Falls back to showing the raw ref.\n\t\t *\n\t\t * @param {(string|number|object)} ref The stored $ref.\n\t\t * @return {?object} The matching option, a raw-ref fallback, or null.\n\t\t */\n\t\tmatchSchemaRefOption(ref) {\n\t\t\tif (ref === undefined || ref === null || ref === '') {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\tconst raw = typeof ref === 'object' && ref.id !== undefined ? ref.id : ref\n\t\t\tconst tail = typeof raw === 'string' && raw.includes('/') ? raw.substring(raw.lastIndexOf('/') + 1) : raw\n\t\t\treturn this.schemaRefOptions.find((o) => o.id === raw)\n\t\t\t\t|| this.schemaRefOptions.find((o) => {\n\t\t\t\t\tconst s = o.schema || {}\n\t\t\t\t\treturn s.slug === tail || s.title === tail || String(s.id) === String(tail)\n\t\t\t\t})\n\t\t\t\t|| { id: raw, label: String(raw) }\n\t\t},\n\n\t\t/**\n\t\t * The register option currently selected for a property.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tregisterValueFor(key) {\n\t\t\treturn this.matchRegisterOption(this.getRegisterValue(key))\n\t\t},\n\n\t\t/**\n\t\t * The register option currently selected for an array property's items.\n\t\t *\n\t\t * @param {string} key The property key.\n\t\t * @return {?object} The matching {id,label} option, or a display fallback.\n\t\t */\n\t\tarrayItemRegisterValueFor(key) {\n\t\t\treturn this.matchRegisterOption(this.getArrayItemRegisterValue(key))\n\t\t},\n\n\t\t/**\n\t\t * Resolve a stored register id to a registerSelectOptions entry.\n\t\t *\n\t\t * @param {(string|number|object)} value The stored register value.\n\t\t * @return {?object} The matching option, a raw fallback, or null.\n\t\t */\n\t\tmatchRegisterOption(value) {\n\t\t\tif (value === undefined || value === null || value === '') {\n\t\t\t\treturn null\n\t\t\t}\n\t\t\tconst raw = typeof value === 'object' && value.id !== undefined ? value.id : value\n\t\t\treturn this.registerSelectOptions.find((o) => String(o.id) === String(raw))\n\t\t\t\t|| { id: raw, label: String(raw) }\n\t\t},\n\n\t\t// --- InversedBy ---\n\n\t\tgetInversedByOptions(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.$ref) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst rawRef = typeof property.$ref === 'object' ? property.$ref.id : property.$ref\n\t\t\tif (typeof rawRef === 'number') {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst schemaRef = String(rawRef)\n\t\t\tlet schemaSlug = schemaRef\n\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t}\n\n\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\tif (!referencedSchema || !referencedSchema.properties) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\treturn Object.keys(referencedSchema.properties).map((propKey) => ({\n\t\t\t\tid: propKey,\n\t\t\t\tlabel: referencedSchema.properties[propKey].title || propKey,\n\t\t\t}))\n\t\t},\n\n\t\tgetInversedByOptionsForArrayItems(key) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property || !property.items || !property.items.$ref) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst rawRef = typeof property.items.$ref === 'object' ? property.items.$ref.id : property.items.$ref\n\t\t\tif (typeof rawRef === 'number') {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst schemaRef = String(rawRef)\n\t\t\tlet schemaSlug = schemaRef\n\t\t\tif (schemaRef.includes('/')) {\n\t\t\t\tschemaSlug = schemaRef.substring(schemaRef.lastIndexOf('/') + 1)\n\t\t\t}\n\n\t\t\tconst referencedSchema = this.findSchemaBySlug(schemaSlug)\n\t\t\tif (!referencedSchema || !referencedSchema.properties) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\treturn Object.keys(referencedSchema.properties).map((propKey) => ({\n\t\t\t\tid: propKey,\n\t\t\t\tlabel: referencedSchema.properties[propKey].title || propKey,\n\t\t\t}))\n\t\t},\n\n\t\tupdateInversedBy(key, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tconst inversedByValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key].inversedBy = inversedByValue\n\t\t\t}\n\t\t},\n\n\t\tupdateInversedByForArrayItems(key, value) {\n\t\t\tif (this.schema.properties[key] && this.schema.properties[key].items) {\n\t\t\t\tconst inversedByValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key].items.inversedBy = inversedByValue\n\t\t\t}\n\t\t},\n\n\t\t// --- Array item object config ---\n\n\t\tupdateArrayItemObjectConfigurationSetting(key, setting, value) {\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (!this.schema.properties[key].items) {\n\t\t\t\t\tthis.schema.properties[key].items = {}\n\t\t\t\t}\n\t\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\t\tthis.schema.properties[key].items.objectConfiguration = {}\n\t\t\t\t}\n\t\t\t\tconst settingValue = typeof value === 'object' && value?.id ? value.id : value\n\t\t\t\tthis.schema.properties[key].items[setting] = settingValue\n\t\t\t}\n\t\t},\n\n\t\t// --- Query params ---\n\n\t\tgetObjectQueryParams(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].objectConfiguration) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\treturn this.schema.properties[key].objectConfiguration.queryParams || ''\n\t\t},\n\n\t\tupdateObjectQueryParams(key, value) {\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (value && value.trim()) {\n\t\t\t\tthis.schema.properties[key].objectConfiguration.queryParams = value.trim()\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].objectConfiguration.queryParams\n\t\t\t}\n\t\t},\n\n\t\tgetArrayItemQueryParams(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items || !this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\treturn ''\n\t\t\t}\n\t\t\treturn this.schema.properties[key].items.objectConfiguration.queryParams || ''\n\t\t},\n\n\t\tupdateArrayItemQueryParams(key, value) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].items) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].items.objectConfiguration) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration = { handling: 'related-object' }\n\t\t\t}\n\n\t\t\tif (value && value.trim()) {\n\t\t\t\tthis.schema.properties[key].items.objectConfiguration.queryParams = value.trim()\n\t\t\t} else {\n\t\t\t\tdelete this.schema.properties[key].items.objectConfiguration.queryParams\n\t\t\t}\n\t\t},\n\n\t\t// --- File properties ---\n\n\t\tgetFilePropertySetting(key, setting) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property) {\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\tif (property.type === 'file') {\n\t\t\t\treturn property[setting] || false\n\t\t\t}\n\t\t\tif (property.type === 'array' && property.items) {\n\t\t\t\treturn property.items[setting] || false\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\n\t\tupdateFilePropertySetting(key, setting, value) {\n\t\t\tif (isPrototypeKey(key) || isPrototypeKey(setting)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\tthis.schema.properties[key][setting] = value\n\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\tthis.schema.properties[key].items[setting] = value\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tupdateFileProperty(key, setting, value) {\n\t\t\tif (isPrototypeKey(key) || isPrototypeKey(setting)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tif (['allowedTypes', 'allowedTags', 'autoTags'].includes(setting)) {\n\t\t\t\t\tconst arrayValue = value ? value.split(',').map((item) => item.trim()).filter((item) => item !== '') : []\n\t\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\t\tthis.schema.properties[key][setting] = arrayValue\n\t\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\t\tthis.schema.properties[key].items[setting] = arrayValue\n\t\t\t\t\t}\n\t\t\t\t} else if (setting === 'maxSize') {\n\t\t\t\t\tconst numValue = value ? Number(value) : undefined\n\t\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\t\tthis.schema.properties[key][setting] = numValue\n\t\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\t\tthis.schema.properties[key].items[setting] = numValue\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tgetFilePropertyTags(key, setting) {\n\t\t\tconst property = this.schema.properties[key]\n\t\t\tif (!property) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tlet tags = []\n\t\t\tif (property.type === 'file') {\n\t\t\t\ttags = property[setting] || []\n\t\t\t} else if (property.type === 'array' && property.items) {\n\t\t\t\ttags = property.items[setting] || []\n\t\t\t}\n\n\t\t\treturn tags.map((tag) => ({\n\t\t\t\tid: tag,\n\t\t\t\tlabel: tag,\n\t\t\t}))\n\t\t},\n\n\t\tupdateFilePropertyTags(key, setting, selectedOptions) {\n\t\t\tif (isPrototypeKey(key) || isPrototypeKey(setting)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (this.schema.properties[key]) {\n\t\t\t\tconst tags = selectedOptions ? selectedOptions.map((option) => option.id || option) : []\n\n\t\t\t\tif (this.schema.properties[key].type === 'file') {\n\t\t\t\t\tthis.schema.properties[key][setting] = tags\n\t\t\t\t} else if (this.schema.properties[key].type === 'array' && this.schema.properties[key].items) {\n\t\t\t\t\tthis.schema.properties[key].items[setting] = tags\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// --- Table config ---\n\n\t\tgetPropertyTableSetting(key, setting) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].table) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn this.schema.properties[key].table[setting] === true\n\t\t},\n\n\t\tgetOriginalPropertyTableSetting(key, setting) {\n\t\t\treturn this.originalProperties?.[key]?.table?.[setting]\n\t\t},\n\n\t\tupdatePropertyTableSetting(key, setting, value) {\n\t\t\tif (isPrototypeKey(key) || isPrototypeKey(setting)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].table) {\n\t\t\t\tthis.schema.properties[key].table = {}\n\t\t\t}\n\n\t\t\tthis.schema.properties[key].table[setting] = value\n\n\t\t\tconst wasTrueOriginally = this.getOriginalPropertyTableSetting(key, setting) === true\n\t\t\tconst becameExplicitFalse = value === false\n\t\t\tconst shouldKeepExplicitFalse = setting === 'default' && becameExplicitFalse && wasTrueOriginally\n\n\t\t\tif (this.isTableConfigDefault(key) && !shouldKeepExplicitFalse) {\n\t\t\t\tdelete this.schema.properties[key].table\n\t\t\t}\n\t\t},\n\n\t\tisTableConfigDefault(key) {\n\t\t\tconst table = this.schema.properties[key]?.table\n\t\t\tif (!table) {\n\t\t\t\treturn true\n\t\t\t}\n\n\t\t\tconst defaults = { default: false }\n\t\t\treturn Object.keys(table).every((setting) => table[setting] === defaults[setting])\n\t\t},\n\n\t\thasCustomTableSettings(key) {\n\t\t\treturn !this.isTableConfigDefault(key)\n\t\t},\n\n\t\t// --- Property-level RBAC ---\n\n\t\thasPropertyAnyPermissions(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst auth = this.schema.properties[key].authorization\n\t\t\treturn Object.keys(auth).some((action) => Array.isArray(auth[action]) && auth[action].length > 0)\n\t\t},\n\n\t\tgetDisplayGroupName(groupId) {\n\t\t\tif (groupId === 'public') {\n\t\t\t\treturn t('nextcloud-vue', 'Public')\n\t\t\t}\n\t\t\tif (groupId === 'authenticated') {\n\t\t\t\treturn t('nextcloud-vue', 'Authenticated')\n\t\t\t}\n\t\t\tif (groupId === 'admin') {\n\t\t\t\treturn t('nextcloud-vue', 'Admin')\n\t\t\t}\n\n\t\t\tconst group = this.userGroups.find((g) => g.id === groupId)\n\t\t\treturn group ? (group.displayname || group.id) : groupId\n\t\t},\n\n\t\tgetPropertyPermissionsList(key) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst auth = this.schema.properties[key].authorization\n\t\t\tconst permissionsList = []\n\t\t\tconst processedGroups = new Set()\n\n\t\t\tObject.keys(auth).forEach((action) => {\n\t\t\t\tif (Array.isArray(auth[action])) {\n\t\t\t\t\tauth[action].forEach((groupId) => {\n\t\t\t\t\t\tif (!processedGroups.has(groupId)) {\n\t\t\t\t\t\t\tconst rights = []\n\t\t\t\t\t\t\tif (auth.create && auth.create.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('C')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (auth.read && auth.read.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('R')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (auth.update && auth.update.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('U')\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (auth.delete && auth.delete.includes(groupId)) {\n\t\t\t\t\t\t\t\trights.push('D')\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tpermissionsList.push({\n\t\t\t\t\t\t\t\tgroup: this.getDisplayGroupName(groupId),\n\t\t\t\t\t\t\t\tgroupId,\n\t\t\t\t\t\t\t\trights: rights.length > 0 ? rights.join(',') : 'none',\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tprocessedGroups.add(groupId)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tpermissionsList.push({\n\t\t\t\tgroup: t('nextcloud-vue', 'Admin'),\n\t\t\t\tgroupId: 'admin',\n\t\t\t\trights: 'C,R,U,D',\n\t\t\t})\n\n\t\t\treturn permissionsList.sort((a, b) => {\n\t\t\t\tif (a.groupId === 'public') {\n\t\t\t\t\treturn -1\n\t\t\t\t}\n\t\t\t\tif (b.groupId === 'public') {\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\tif (a.groupId === 'authenticated') {\n\t\t\t\t\treturn -1\n\t\t\t\t}\n\t\t\t\tif (b.groupId === 'authenticated') {\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\tif (a.groupId === 'admin') {\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\tif (b.groupId === 'admin') {\n\t\t\t\t\treturn -1\n\t\t\t\t}\n\t\t\t\treturn a.group.localeCompare(b.group)\n\t\t\t})\n\t\t},\n\n\t\tgetAvailableGroupsForProperty() {\n\t\t\treturn [\n\t\t\t\t{ id: 'public', label: t('nextcloud-vue', 'Public (unauthenticated)') },\n\t\t\t\t{ id: 'authenticated', label: t('nextcloud-vue', 'Authenticated') },\n\t\t\t\t...this.sortedUserGroups.map((group) => ({\n\t\t\t\t\tid: group.id,\n\t\t\t\t\tlabel: group.displayname || group.id,\n\t\t\t\t})),\n\t\t\t]\n\t\t},\n\n\t\thasAnyPropertyNewPermissionSelected() {\n\t\t\treturn this.propertyNewPermissionCreate\n\t\t\t\t|| this.propertyNewPermissionRead\n\t\t\t\t|| this.propertyNewPermissionUpdate\n\t\t\t\t|| this.propertyNewPermissionDelete\n\t\t},\n\n\t\thasPropertyGroupPermission(key, groupId, action) {\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\tconst auth = this.schema.properties[key].authorization\n\t\t\tif (!auth[action] || !Array.isArray(auth[action])) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn auth[action].includes(groupId)\n\t\t},\n\n\t\tupdatePropertyGroupPermission(key, groupId, action, hasPermission) {\n\t\t\tif (isPrototypeKey(key) || isPrototypeKey(action)) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tif (!this.schema.properties[key]) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].authorization) {\n\t\t\t\tthis.schema.properties[key].authorization = {}\n\t\t\t}\n\n\t\t\tif (!this.schema.properties[key].authorization[action]) {\n\t\t\t\tthis.schema.properties[key].authorization[action] = []\n\t\t\t}\n\n\t\t\tconst currentPermissions = this.schema.properties[key].authorization[action]\n\t\t\tconst groupIndex = currentPermissions.indexOf(groupId)\n\n\t\t\tif (hasPermission && groupIndex === -1) {\n\t\t\t\tcurrentPermissions.push(groupId)\n\t\t\t} else if (!hasPermission && groupIndex !== -1) {\n\t\t\t\tcurrentPermissions.splice(groupIndex, 1)\n\t\t\t}\n\n\t\t\tif (currentPermissions.length === 0) {\n\t\t\t\tdelete this.schema.properties[key].authorization[action]\n\t\t\t}\n\n\t\t\tif (Object.keys(this.schema.properties[key].authorization).length === 0) {\n\t\t\t\tdelete this.schema.properties[key].authorization\n\t\t\t}\n\t\t},\n\n\t\taddPropertyGroupPermissions(key) {\n\t\t\tif (!this.propertyNewPermissionGroup) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst groupId = typeof this.propertyNewPermissionGroup === 'object'\n\t\t\t\t? this.propertyNewPermissionGroup.id\n\t\t\t\t: this.propertyNewPermissionGroup\n\n\t\t\tif (!this.schema.properties[key].authorization) {\n\t\t\t\tthis.schema.properties[key].authorization = {}\n\t\t\t}\n\n\t\t\tif (this.propertyNewPermissionCreate) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'create', true)\n\t\t\t}\n\t\t\tif (this.propertyNewPermissionRead) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'read', true)\n\t\t\t}\n\t\t\tif (this.propertyNewPermissionUpdate) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'update', true)\n\t\t\t}\n\t\t\tif (this.propertyNewPermissionDelete) {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, 'delete', true)\n\t\t\t}\n\n\t\t\tthis.resetPropertyPermissionForm()\n\t\t},\n\n\t\tremovePropertyGroupPermissions(key, displayName) {\n\t\t\tconst permission = this.getPropertyPermissionsList(key).find((p) => p.group === displayName)\n\t\t\tif (!permission || permission.groupId === 'admin') {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst groupId = permission.groupId\n\n\t\t\tif (!this.schema.properties[key] || !this.schema.properties[key].authorization) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst actions = ['create', 'read', 'update', 'delete']\n\t\t\tactions.forEach((action) => {\n\t\t\t\tthis.updatePropertyGroupPermission(key, groupId, action, false)\n\t\t\t})\n\t\t},\n\n\t\tresetPropertyPermissionForm() {\n\t\t\tthis.propertyNewPermissionGroup = null\n\t\t\tthis.propertyNewPermissionCreate = false\n\t\t\tthis.propertyNewPermissionRead = false\n\t\t\tthis.propertyNewPermissionUpdate = false\n\t\t\tthis.propertyNewPermissionDelete = false\n\t\t},\n\t},\n}\n</script>\n"],"names":["t"],"mappings":";;;;;;;;AA4hBA;AACC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAED,aAAe;AACd,CAAA,IAAI,EAAE,yBAAyB;CAC/B,UAAU,EAAE;AACX,EAAA,SAAS;AACT,EAAA,cAAc;AACd,EAAA,gBAAgB;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