@conduction/nextcloud-vue 2.170.0 → 2.172.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/CnActionDialog/CnActionDialog.vue.js +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js +22 -3
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js +9 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js +242 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js +200 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroup.vue3.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js +9 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js +186 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js +24 -0
- package/dist/esm/components/CnConditionGroupEditor/CnConditionGroupEditor.vue3.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue.js +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js +3 -15
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue2.js.map +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js +16 -61
- package/dist/esm/components/CnConditionListEditor/CnConditionListEditor.vue3.js.map +1 -1
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js +9 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js +120 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue2.js.map +1 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js +86 -0
- package/dist/esm/components/CnConditionListEditor/CnConditionRow.vue3.js.map +1 -0
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js +9 -9
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js.map +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue.js +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js +75 -4
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js +8 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue.js.map +1 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js +101 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue2.js.map +1 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js +54 -0
- package/dist/esm/components/CnDialogActions/CnDialogActions.vue3.js.map +1 -0
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +7 -3
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +14 -2
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/filesBrowser.js +21 -2
- package/dist/esm/components/CnFilesBrowser/filesBrowser.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue.js +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js +7 -0
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js +2 -2
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js +11 -0
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js +2 -1
- package/dist/esm/components/CnFlowsPage/CnFlowEditorPage.vue3.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue.js +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnLinkedWidget/CnLinkedWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js +9 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue.js.map +1 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js +248 -0
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue2.js.map +1 -0
- package/dist/esm/components/{CnMassDeleteDialog/CnMassDeleteDialog.vue3.js → CnMassActionDialog/CnMassActionDialog.vue3.js} +66 -52
- package/dist/esm/components/CnMassActionDialog/CnMassActionDialog.vue3.js.map +1 -0
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js +0 -3
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js.map +1 -1
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js +25 -121
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue.js +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js +11 -3
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue2.js.map +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js +1 -1
- package/dist/esm/components/CnNotesCard/CnNotesCard.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js +21 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js +2 -2
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +23 -5
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js +3 -0
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +14 -4
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue.js +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue2.js.map +1 -1
- package/dist/esm/dialogs/CnConfirmDialog.vue3.js +5 -3
- package/dist/esm/dialogs/CnConfirmDialog.vue3.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/l10n/en.json.js +16 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +16 -1
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +908 -464
- package/dist/esm/utils/builtInFormatters.js +19 -1
- package/dist/esm/utils/builtInFormatters.js.map +1 -1
- package/dist/esm/utils/noteThreads.js +14 -2
- package/dist/esm/utils/noteThreads.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +11435 -10084
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +908 -464
- package/l10n/en.json +16 -1
- package/l10n/nl.json +16 -1
- package/package.json +1 -1
- package/scripts/.jsdoc-baselines.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +4 -1
- package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +24 -3
- package/src/components/CnConditionGroupEditor/CnConditionGroup.vue +528 -0
- package/src/components/CnConditionGroupEditor/CnConditionGroupEditor.vue +211 -0
- package/src/components/CnConditionGroupEditor/index.js +9 -0
- package/src/components/CnConditionListEditor/CnConditionListEditor.vue +15 -78
- package/src/components/CnConditionListEditor/CnConditionRow.vue +226 -0
- package/src/components/CnDetailPage/CnDetailPage.vue +8 -8
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue +6 -0
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHost.vue +0 -6
- package/src/components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue +75 -4
- package/src/components/CnDialogActions/CnDialogActions.vue +124 -0
- package/src/components/CnDialogActions/index.js +7 -0
- package/src/components/CnFactsWidget/CnFactsWidget.vue +7 -3
- package/src/components/CnFilesBrowser/CnFilesBrowser.vue +15 -3
- package/src/components/CnFilesBrowser/filesBrowser.js +21 -2
- package/src/components/CnFlowsPage/CnFlowBoard.vue +10 -3
- package/src/components/CnFlowsPage/CnFlowEditorPage.vue +12 -0
- package/src/components/CnLinkedWidget/CnLinkedWidget.vue +7 -0
- package/src/components/CnMassActionDialog/CnMassActionDialog.vue +382 -0
- package/src/components/CnMassActionDialog/index.js +7 -0
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.md +4 -0
- package/src/components/CnMassDeleteDialog/CnMassDeleteDialog.vue +25 -254
- package/src/components/CnNotesCard/CnNotesCard.vue +12 -4
- package/src/components/CnObjectSidebar/CnNotesTab.vue +23 -3
- package/src/components/CnTreeView/CnTreeNode.vue +10 -1
- package/src/components/CnTreeView/CnTreeView.vue +9 -0
- package/src/components/index.js +3 -0
- package/src/css/context-menu.css +7 -0
- package/src/css/look-board-detail.css +220 -2
- package/src/css/look-board-index.css +7 -6
- package/src/css/look-board.css +43 -2
- package/src/css/patches.css +4 -1
- package/src/dialogs/CnConfirmDialog.vue +3 -1
- package/src/index.js +3 -0
- package/src/utils/builtInFormatters.js +18 -0
- package/src/utils/noteThreads.js +13 -1
- package/dist/esm/components/CnMassDeleteDialog/CnMassDeleteDialog.vue3.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CnConfirmDialog.vue2.js","sources":["../../../src/dialogs/CnConfirmDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2026 Conduction B.V.\n - SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<CnDialog\n\t\t:look=\"look\"\n\t\t:width=\"width\"\n\t\tdefaultWidth=\"confirm\"\n\t\t:eyebrow=\"eyebrow\"\n\t\t:subtitle=\"subtitle\"\n\t\t:name=\"dialogTitle\"\n\t\tsize=\"small\"\n\t\t:noClose=\"loading\"\n\t\t@closing=\"$emit('close')\">\n\t\t<!-- Result phase -->\n\t\t<div v-if=\"result !== null\"\n\t\t\tclass=\"cn-confirm__result\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"result\">\n\t\t\t<NcNoteCard v-if=\"result.success\" type=\"success\">\n\t\t\t\t{{ successText }}\n\t\t\t</NcNoteCard>\n\t\t\t<NcNoteCard v-if=\"result.error\" type=\"error\">\n\t\t\t\t{{ result.error }}\n\t\t\t</NcNoteCard>\n\t\t</div>\n\n\t\t<!-- Confirm phase -->\n\t\t<div v-else\n\t\t\tclass=\"cn-confirm__confirm\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"confirm\">\n\t\t\t<p v-if=\"isBoardLook\"\n\t\t\t\tclass=\"cn-dialog__sentence\"\n\t\t\t\tdata-testid=\"cn-confirm-sentence\">\n\t\t\t\t{{ message }}\n\t\t\t</p>\n\t\t\t<NcNoteCard v-else :type=\"variant === 'error' ? 'warning' : 'info'\">\n\t\t\t\t{{ message }}\n\t\t\t</NcNoteCard>\n\t\t\t<CnConfirmValueField v-if=\"confirmValue !== ''\"\n\t\t\t\tv-model=\"typedConfirmValue\"\n\t\t\t\t:value=\"confirmValue\"\n\t\t\t\t:label=\"confirmFieldLabel\" />\n\t\t</div>\n\n\t\t<template #actions>\n\t\t\t<NcButton @click=\"$emit('close')\">\n\t\t\t\t{{ result !== null ? closeLabel : cancelLabel }}\n\t\t\t</NcButton>\n\t\t\t<NcButton\n\t\t\t\tv-if=\"result === null\"\n\t\t\t\t:variant=\"variant\"\n\t\t\t\t:class=\"{ 'cn-dialog__confirm-pending': confirmValuePending }\"\n\t\t\t\t:disabled=\"loading || confirmValuePending\"\n\t\t\t\t:aria-disabled=\"confirmValuePending ? 'true' : undefined\"\n\t\t\t\tdata-testid=\"cn-confirm-dialog-confirm\"\n\t\t\t\t@click=\"executeConfirm\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<!--\n\t\t\t\t\t\t`name` is REQUIRED for accessibility, not decoration.\n\t\t\t\t\t\tNcLoadingIcon always renders `role=\"img\"`, and without a\n\t\t\t\t\t\t`name` it emits `aria-label=\"\"` — a role=\"img\" with no\n\t\t\t\t\t\taccessible name, which fails WCAG 1.1.1 / 4.1.2 (axe\n\t\t\t\t\t\t`role-img-alt`). The spinner is also the ONLY thing that\n\t\t\t\t\t\tannounces the in-flight state here: the button is\n\t\t\t\t\t\t`:disabled` while loading and its visible text does not\n\t\t\t\t\t\tchange, so a screen-reader user otherwise gets no signal\n\t\t\t\t\t\tthat the confirm is running.\n\t\t\t\t\t-->\n\t\t\t\t\t<NcLoadingIcon\n\t\t\t\t\t\tv-if=\"loading\"\n\t\t\t\t\t\t:size=\"20\"\n\t\t\t\t\t\t:name=\"t('nextcloud-vue', 'Loading …')\" />\n\t\t\t\t\t<CnIcon v-else-if=\"confirmIcon\" :name=\"confirmIcon\" :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ confirmLabel }}\n\t\t\t</NcButton>\n\t\t</template>\n\t</CnDialog>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport { NcButton, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue'\nimport CnConfirmValueField from '../components/CnConfirmValueField/CnConfirmValueField.vue'\nimport CnDialog from '../components/CnDialog/CnDialog.vue'\nimport { CnIcon } from '../components/CnIcon/index.js'\nimport { confirmValueMixin } from '../mixins/confirmValue.js'\nimport { dialogBoardMixin } from '../mixins/dialogBoard.js'\n\n/**\n * CnConfirmDialog — generic, verb-agnostic confirmation dialog.\n *\n * Two-phase UI (confirm → result), same pattern as `CnDeleteDialog` but\n * with no delete-specific copy or store coupling: the dialog does NOT\n * perform the confirmed operation itself — it emits a `confirm` event and\n * the parent performs the actual call, then reports back via `setResult()`\n * on a ref. Used by `CnWidgetObjectTable` to confirm-gate declarative\n * `object-op` actions (delete always; patch/create on `confirm: true`),\n * and reusable for any confirm→do→report flow.\n *\n * Destructive operations pass `variant=\"error\"` so the primary button and\n * note-card styling read as destructive.\n *\n * ```vue\n * <CnConfirmDialog\n * v-if=\"showConfirm\"\n * ref=\"confirmDialog\"\n * :dialog-title=\"t('myapp', 'Accept request')\"\n * :message=\"t('myapp', 'Accept this request?')\"\n * @confirm=\"onConfirm\"\n * @close=\"showConfirm = false\" />\n * ```\n *\n * // In methods:\n * async onConfirm() {\n * const ok = await doTheThing()\n * this.$refs.confirmDialog.setResult(ok ? { success: true } : { error: 'It failed' })\n * }\n */\nexport default {\n\tname: 'CnConfirmDialog',\n\n\tcomponents: {\n\t\tCnDialog,\n\t\tCnIcon,\n\t\tNcButton,\n\t\tNcNoteCard,\n\t\tNcLoadingIcon,\n\t\tCnConfirmValueField,\n\t},\n\n\tmixins: [dialogBoardMixin, confirmValueMixin],\n\n\tprops: {\n\t\t/** Dialog title shown in the NcDialog header. */\n\t\tdialogTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm action'),\n\t\t},\n\n\t\t/** Confirmation question shown in the confirm phase's note card. */\n\t\tmessage: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Are you sure you want to continue?'),\n\t\t},\n\n\t\t/**\n\t\t * Visual variant of the primary confirm button. Use `error` for\n\t\t * destructive operations (delete) — the confirm-phase note card then\n\t\t * renders as a warning instead of an info note.\n\t\t */\n\t\tvariant: {\n\t\t\ttype: String,\n\t\t\tdefault: 'primary',\n\t\t\tvalidator: (v) => ['primary', 'error', 'warning', 'success'].includes(v),\n\t\t},\n\n\t\t/**\n\t\t * A CnIcon name drawn on the primary button, e.g. `DeleteOutline` for a\n\t\t * delete (board DqFilterVerwijderen). Empty draws none.\n\t\t */\n\t\tconfirmIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/** Label of the primary button that fires the `confirm` event. */\n\t\tconfirmLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm'),\n\t\t},\n\n\t\t/** Label of the cancel button (visible during the confirm phase). */\n\t\tcancelLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Cancel'),\n\t\t},\n\n\t\t/** Label of the close button (visible during the result phase). */\n\t\tcloseLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Close'),\n\t\t},\n\n\t\t/** Success message shown in the result phase after `setResult({ success: true })`. */\n\t\tsuccessText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Done.'),\n\t\t},\n\t},\n\n\temits: ['close', 'confirm'],\n\n\tdata() {\n\t\treturn {\n\t\t\t/** True between the confirm click and the parent's setResult() call. */\n\t\t\tloading: false,\n\t\t\t/** @type {{ success?: boolean, error?: string }|null} Result phase payload (null = confirm phase). */\n\t\t\tresult: null,\n\t\t\t/** Auto-close timer handle for the success result phase. */\n\t\t\tcloseTimeout: null,\n\t\t}\n\t},\n\n\tbeforeUnmount() {\n\t\tif (this.closeTimeout) {\n\t\t\tclearTimeout(this.closeTimeout)\n\t\t}\n\t},\n\n\tmethods: {\n\t\t// Exposed to the template for the loading spinner's accessible name —\n\t\t// the same `methods: { t }` pattern the other dialogs in this folder\n\t\t// use (e.g. CnEditPagesModal). The prop defaults above call `t()`\n\t\t// directly at module scope, which the template cannot do.\n\t\tt,\n\t\t/**\n\t\t * Primary-button click: enter the loading state and hand control to\n\t\t * the parent, which performs the confirmed operation.\n\t\t */\n\t\texecuteConfirm() {\n\t\t\tif (!this.confirmValueMatches) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\t/**\n\t\t\t * @event confirm Emitted when the user confirms. The parent performs\n\t\t\t * the actual operation and reports back via `setResult()`.\n\t\t\t */\n\t\t\tthis.$emit('confirm')\n\t\t},\n\n\t\t/**\n\t\t * Report the confirmed operation's outcome. Call this from the parent\n\t\t * after the operation completes; flips the dialog into its result\n\t\t * phase. A success auto-closes after 2 seconds.\n\t\t *\n\t\t * @param {{ success?: boolean, error?: string }} resultData The outcome to display.\n\t\t * @public\n\t\t */\n\t\tsetResult(resultData) {\n\t\t\tthis.loading = false\n\t\t\tthis.result = resultData\n\t\t\tif (resultData && resultData.success) {\n\t\t\t\tthis.closeTimeout = setTimeout(() => {\n\t\t\t\t\t/**\n\t\t\t\t\t * @event close Emitted when the dialog should close (cancel,\n\t\t\t\t\t * close button, or auto-close 2s after a success result).\n\t\t\t\t\t */\n\t\t\t\t\tthis.$emit('close')\n\t\t\t\t}, 2000)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-confirm__confirm {\n\tpadding: 4px 0;\n}\n</style>\n"],"names":["CnDialog","CnIcon","CnConfirmValueField","t"],"mappings":";;;;;;;;AA8FA;;AAEC;;;;AAIA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;;AAGD,aAAe;CACd,IAAI,EAAE,iBAAiB;;CAEvB,UAAU,EAAE;AACX,YAAAA,UAAQ;AACR,UAAAC,YAAM;AACN,EAAA,QAAQ;EACR,UAAU;EACV,aAAa;AACb,uBAAAC,YAAmB;EAC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;GACA,MAAM,EAAE,IAAI;;AAEZ,GAAA,YAAY,EAAE,IAAI;AACnB,GAAA;EACA;;AAED,CAAA,aAAa,GAAG;AACf,EAAA,IAAI,IAAI,CAAC,YAAY,EAAE;AACtB,GAAA,YAAY,CAAC,IAAI,CAAC,YAAY,EAAA;AAC/B,GAAA;EACA;;AAED,CAAA,OAAO,EAAE;;;;;KAKRA,SAAC;AACD;;AAEC;;AAED,EAAA,cAAc,GAAG;GAChB,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE;IAC9B,MAAK;AACN,IAAA;AACA,GAAA,IAAI,CAAC,OAAM,GAAI,KAAG;AAClB;;;;AAIA,GAAA,IAAI,CAAC,KAAK,CAAC,SAAS,EAAA;GACpB;;AAED;;;AAGC;AACA;AACA;AACA;;AAED,EAAA,SAAS,CAAC,UAAU,EAAE;AACrB,GAAA,IAAI,CAAC,OAAQ,GAAE,MAAI;AACnB,GAAA,IAAI,CAAC,SAAS,WAAS;AACvB,GAAA,IAAI,UAAW,IAAG,UAAU,CAAC,OAAO,EAAE;AACrC,IAAA,IAAI,CAAC,YAAa,GAAE,UAAU,CAAC,MAAM;AACpC;;;;AAIA,KAAA,IAAI,CAAC,KAAK,CAAC,OAAO,EAAA;AACnB,KAAC,EAAE,IAAI,EAAA;AACR,IAAA;GACA;EACD;AACF;;;;"}
|
|
1
|
+
{"version":3,"file":"CnConfirmDialog.vue2.js","sources":["../../../src/dialogs/CnConfirmDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2026 Conduction B.V.\n - SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<CnDialog\n\t\t:look=\"look\"\n\t\t:width=\"width\"\n\t\tdefaultWidth=\"confirm\"\n\t\t:eyebrow=\"eyebrow\"\n\t\t:subtitle=\"subtitle\"\n\t\t:name=\"dialogTitle\"\n\t\tsize=\"small\"\n\t\t:noClose=\"loading\"\n\t\t@closing=\"$emit('close')\">\n\t\t<!-- Result phase -->\n\t\t<div v-if=\"result !== null\"\n\t\t\tclass=\"cn-confirm__result\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"result\">\n\t\t\t<NcNoteCard v-if=\"result.success\" type=\"success\">\n\t\t\t\t{{ successText }}\n\t\t\t</NcNoteCard>\n\t\t\t<NcNoteCard v-if=\"result.error\" type=\"error\">\n\t\t\t\t{{ result.error }}\n\t\t\t</NcNoteCard>\n\t\t</div>\n\n\t\t<!-- Confirm phase -->\n\t\t<div v-else\n\t\t\tclass=\"cn-confirm__confirm\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"confirm\">\n\t\t\t<p v-if=\"isBoardLook\"\n\t\t\t\tclass=\"cn-dialog__sentence\"\n\t\t\t\tdata-testid=\"cn-confirm-sentence\">\n\t\t\t\t{{ message }}\n\t\t\t</p>\n\t\t\t<NcNoteCard v-else :type=\"variant === 'error' ? 'warning' : 'info'\">\n\t\t\t\t{{ message }}\n\t\t\t</NcNoteCard>\n\t\t\t<!-- @slot default Extra body content below the message in the confirm phase, such as a checkbox, a list or a note. -->\n\t\t\t<slot />\n\t\t\t<CnConfirmValueField v-if=\"confirmValue !== ''\"\n\t\t\t\tv-model=\"typedConfirmValue\"\n\t\t\t\t:value=\"confirmValue\"\n\t\t\t\t:label=\"confirmFieldLabel\" />\n\t\t</div>\n\n\t\t<template #actions>\n\t\t\t<NcButton :disabled=\"loading\" @click=\"$emit('close')\">\n\t\t\t\t{{ result !== null ? closeLabel : cancelLabel }}\n\t\t\t</NcButton>\n\t\t\t<NcButton\n\t\t\t\tv-if=\"result === null\"\n\t\t\t\t:variant=\"variant\"\n\t\t\t\t:class=\"{ 'cn-dialog__confirm-pending': confirmValuePending }\"\n\t\t\t\t:disabled=\"loading || confirmValuePending\"\n\t\t\t\t:aria-disabled=\"confirmValuePending ? 'true' : undefined\"\n\t\t\t\tdata-testid=\"cn-confirm-dialog-confirm\"\n\t\t\t\t@click=\"executeConfirm\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<!--\n\t\t\t\t\t\t`name` is REQUIRED for accessibility, not decoration.\n\t\t\t\t\t\tNcLoadingIcon always renders `role=\"img\"`, and without a\n\t\t\t\t\t\t`name` it emits `aria-label=\"\"` — a role=\"img\" with no\n\t\t\t\t\t\taccessible name, which fails WCAG 1.1.1 / 4.1.2 (axe\n\t\t\t\t\t\t`role-img-alt`). The spinner is also the ONLY thing that\n\t\t\t\t\t\tannounces the in-flight state here: the button is\n\t\t\t\t\t\t`:disabled` while loading and its visible text does not\n\t\t\t\t\t\tchange, so a screen-reader user otherwise gets no signal\n\t\t\t\t\t\tthat the confirm is running.\n\t\t\t\t\t-->\n\t\t\t\t\t<NcLoadingIcon\n\t\t\t\t\t\tv-if=\"loading\"\n\t\t\t\t\t\t:size=\"20\"\n\t\t\t\t\t\t:name=\"t('nextcloud-vue', 'Loading …')\" />\n\t\t\t\t\t<CnIcon v-else-if=\"confirmIcon\" :name=\"confirmIcon\" :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ confirmLabel }}\n\t\t\t</NcButton>\n\t\t</template>\n\t</CnDialog>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport { NcButton, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue'\nimport CnConfirmValueField from '../components/CnConfirmValueField/CnConfirmValueField.vue'\nimport CnDialog from '../components/CnDialog/CnDialog.vue'\nimport { CnIcon } from '../components/CnIcon/index.js'\nimport { confirmValueMixin } from '../mixins/confirmValue.js'\nimport { dialogBoardMixin } from '../mixins/dialogBoard.js'\n\n/**\n * CnConfirmDialog — generic, verb-agnostic confirmation dialog.\n *\n * Two-phase UI (confirm → result), same pattern as `CnDeleteDialog` but\n * with no delete-specific copy or store coupling: the dialog does NOT\n * perform the confirmed operation itself — it emits a `confirm` event and\n * the parent performs the actual call, then reports back via `setResult()`\n * on a ref. Used by `CnWidgetObjectTable` to confirm-gate declarative\n * `object-op` actions (delete always; patch/create on `confirm: true`),\n * and reusable for any confirm→do→report flow.\n *\n * Destructive operations pass `variant=\"error\"` so the primary button and\n * note-card styling read as destructive.\n *\n * ```vue\n * <CnConfirmDialog\n * v-if=\"showConfirm\"\n * ref=\"confirmDialog\"\n * :dialog-title=\"t('myapp', 'Accept request')\"\n * :message=\"t('myapp', 'Accept this request?')\"\n * @confirm=\"onConfirm\"\n * @close=\"showConfirm = false\" />\n * ```\n *\n * // In methods:\n * async onConfirm() {\n * const ok = await doTheThing()\n * this.$refs.confirmDialog.setResult(ok ? { success: true } : { error: 'It failed' })\n * }\n */\nexport default {\n\tname: 'CnConfirmDialog',\n\n\tcomponents: {\n\t\tCnDialog,\n\t\tCnIcon,\n\t\tNcButton,\n\t\tNcNoteCard,\n\t\tNcLoadingIcon,\n\t\tCnConfirmValueField,\n\t},\n\n\tmixins: [dialogBoardMixin, confirmValueMixin],\n\n\tprops: {\n\t\t/** Dialog title shown in the NcDialog header. */\n\t\tdialogTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm action'),\n\t\t},\n\n\t\t/** Confirmation question shown in the confirm phase's note card. */\n\t\tmessage: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Are you sure you want to continue?'),\n\t\t},\n\n\t\t/**\n\t\t * Visual variant of the primary confirm button. Use `error` for\n\t\t * destructive operations (delete) — the confirm-phase note card then\n\t\t * renders as a warning instead of an info note.\n\t\t */\n\t\tvariant: {\n\t\t\ttype: String,\n\t\t\tdefault: 'primary',\n\t\t\tvalidator: (v) => ['primary', 'error', 'warning', 'success'].includes(v),\n\t\t},\n\n\t\t/**\n\t\t * A CnIcon name drawn on the primary button, e.g. `DeleteOutline` for a\n\t\t * delete (board DqFilterVerwijderen). Empty draws none.\n\t\t */\n\t\tconfirmIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/** Label of the primary button that fires the `confirm` event. */\n\t\tconfirmLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm'),\n\t\t},\n\n\t\t/** Label of the cancel button (visible during the confirm phase). */\n\t\tcancelLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Cancel'),\n\t\t},\n\n\t\t/** Label of the close button (visible during the result phase). */\n\t\tcloseLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Close'),\n\t\t},\n\n\t\t/** Success message shown in the result phase after `setResult({ success: true })`. */\n\t\tsuccessText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Done.'),\n\t\t},\n\t},\n\n\temits: ['close', 'confirm'],\n\n\tdata() {\n\t\treturn {\n\t\t\t/** True between the confirm click and the parent's setResult() call. */\n\t\t\tloading: false,\n\t\t\t/** @type {{ success?: boolean, error?: string }|null} Result phase payload (null = confirm phase). */\n\t\t\tresult: null,\n\t\t\t/** Auto-close timer handle for the success result phase. */\n\t\t\tcloseTimeout: null,\n\t\t}\n\t},\n\n\tbeforeUnmount() {\n\t\tif (this.closeTimeout) {\n\t\t\tclearTimeout(this.closeTimeout)\n\t\t}\n\t},\n\n\tmethods: {\n\t\t// Exposed to the template for the loading spinner's accessible name —\n\t\t// the same `methods: { t }` pattern the other dialogs in this folder\n\t\t// use (e.g. CnEditPagesModal). The prop defaults above call `t()`\n\t\t// directly at module scope, which the template cannot do.\n\t\tt,\n\t\t/**\n\t\t * Primary-button click: enter the loading state and hand control to\n\t\t * the parent, which performs the confirmed operation.\n\t\t */\n\t\texecuteConfirm() {\n\t\t\tif (!this.confirmValueMatches) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\t/**\n\t\t\t * @event confirm Emitted when the user confirms. The parent performs\n\t\t\t * the actual operation and reports back via `setResult()`.\n\t\t\t */\n\t\t\tthis.$emit('confirm')\n\t\t},\n\n\t\t/**\n\t\t * Report the confirmed operation's outcome. Call this from the parent\n\t\t * after the operation completes; flips the dialog into its result\n\t\t * phase. A success auto-closes after 2 seconds.\n\t\t *\n\t\t * @param {{ success?: boolean, error?: string }} resultData The outcome to display.\n\t\t * @public\n\t\t */\n\t\tsetResult(resultData) {\n\t\t\tthis.loading = false\n\t\t\tthis.result = resultData\n\t\t\tif (resultData && resultData.success) {\n\t\t\t\tthis.closeTimeout = setTimeout(() => {\n\t\t\t\t\t/**\n\t\t\t\t\t * @event close Emitted when the dialog should close (cancel,\n\t\t\t\t\t * close button, or auto-close 2s after a success result).\n\t\t\t\t\t */\n\t\t\t\t\tthis.$emit('close')\n\t\t\t\t}, 2000)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-confirm__confirm {\n\tpadding: 4px 0;\n}\n</style>\n"],"names":["CnDialog","CnIcon","CnConfirmValueField","t"],"mappings":";;;;;;;;AAgGA;;AAEC;;;;AAIA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;;AAGD,aAAe;CACd,IAAI,EAAE,iBAAiB;;CAEvB,UAAU,EAAE;AACX,YAAAA,UAAQ;AACR,UAAAC,YAAM;AACN,EAAA,QAAQ;EACR,UAAU;EACV,aAAa;AACb,uBAAAC,YAAmB;EACnB;;AAED,CAAA,MAAM,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;;AAE7C,CAAA,KAAK,EAAE;AACN;EACA,WAAW,EAAE;GACZ,IAAI,EAAE,MAAM;GACZ,OAAO,EAAE,MAAMC,SAAC,CAAC,eAAe,EAAE,gBAAgB,CAAC;GACnD;;;AAGD,EAAA,OAAO,EAAE;GACR,IAAI,EAAE,MAAM;GACZ,OAAO,EAAE,MAAMA,SAAC,CAAC,eAAe,EAAE,oCAAoC,CAAC;GACvE;;AAED;;;AAGC;;AAED,EAAA,OAAO,EAAE;GACR,IAAI,E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OAAM,GAAI,KAAG;AAClB;;;;AAIA,GAAA,IAAI,CAAC,KAAK,CAAC,SAAS,EAAA;GACpB;;AAED;;;AAGC;AACA;AACA;AACA;;AAED,EAAA,SAAS,CAAC,UAAU,EAAE;AACrB,GAAA,IAAI,CAAC,OAAQ,GAAE,MAAI;AACnB,GAAA,IAAI,CAAC,SAAS,WAAS;AACvB,GAAA,IAAI,UAAW,IAAG,UAAU,CAAC,OAAO,EAAE;AACrC,IAAA,IAAI,CAAC,YAAa,GAAE,UAAU,CAAC,MAAM;AACpC;;;;AAIA,KAAA,IAAI,CAAC,KAAK,CAAC,OAAO,EAAA;AACnB,KAAC,EAAE,IAAI,EAAA;AACR,IAAA;GACA;EACD;AACF;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, toDisplayString, normalizeClass, createCommentVNode, createElementBlock } from 'vue';
|
|
1
|
+
import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, toDisplayString, normalizeClass, createCommentVNode, createElementBlock, renderSlot } from 'vue';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -41,13 +41,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41
41
|
}, {
|
|
42
42
|
actions: withCtx(() => [
|
|
43
43
|
createVNode(_component_NcButton, {
|
|
44
|
+
disabled: $data.loading,
|
|
44
45
|
onClick: _cache[1] || (_cache[1] = $event => (_ctx.$emit('close')))
|
|
45
46
|
}, {
|
|
46
47
|
default: withCtx(() => [
|
|
47
48
|
createTextVNode(toDisplayString($data.result !== null ? $props.closeLabel : $props.cancelLabel), 1 /* TEXT */)
|
|
48
49
|
]),
|
|
49
50
|
_: 1 /* STABLE */
|
|
50
|
-
}),
|
|
51
|
+
}, 8 /* PROPS */, ["disabled"]),
|
|
51
52
|
($data.result === null)
|
|
52
53
|
? (openBlock(), createBlock(_component_NcButton, {
|
|
53
54
|
key: 0,
|
|
@@ -118,6 +119,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
119
|
]),
|
|
119
120
|
_: 1 /* STABLE */
|
|
120
121
|
}, 8 /* PROPS */, ["type"])),
|
|
122
|
+
renderSlot(_ctx.$slots, "default"),
|
|
121
123
|
(_ctx.confirmValue !== '')
|
|
122
124
|
? (openBlock(), createBlock(_component_CnConfirmValueField, {
|
|
123
125
|
key: 2,
|
|
@@ -129,7 +131,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
129
131
|
: createCommentVNode("v-if", true)
|
|
130
132
|
]))
|
|
131
133
|
]),
|
|
132
|
-
_:
|
|
134
|
+
_: 3 /* FORWARDED */
|
|
133
135
|
}, 8 /* PROPS */, ["look", "width", "eyebrow", "subtitle", "name", "noClose"]))
|
|
134
136
|
}
|
|
135
137
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CnConfirmDialog.vue3.js","sources":["../../../src/dialogs/CnConfirmDialog.vue?vue&type=template&id=3452fd7a&lang.js"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2026 Conduction B.V.\n - SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<CnDialog\n\t\t:look=\"look\"\n\t\t:width=\"width\"\n\t\tdefaultWidth=\"confirm\"\n\t\t:eyebrow=\"eyebrow\"\n\t\t:subtitle=\"subtitle\"\n\t\t:name=\"dialogTitle\"\n\t\tsize=\"small\"\n\t\t:noClose=\"loading\"\n\t\t@closing=\"$emit('close')\">\n\t\t<!-- Result phase -->\n\t\t<div v-if=\"result !== null\"\n\t\t\tclass=\"cn-confirm__result\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"result\">\n\t\t\t<NcNoteCard v-if=\"result.success\" type=\"success\">\n\t\t\t\t{{ successText }}\n\t\t\t</NcNoteCard>\n\t\t\t<NcNoteCard v-if=\"result.error\" type=\"error\">\n\t\t\t\t{{ result.error }}\n\t\t\t</NcNoteCard>\n\t\t</div>\n\n\t\t<!-- Confirm phase -->\n\t\t<div v-else\n\t\t\tclass=\"cn-confirm__confirm\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"confirm\">\n\t\t\t<p v-if=\"isBoardLook\"\n\t\t\t\tclass=\"cn-dialog__sentence\"\n\t\t\t\tdata-testid=\"cn-confirm-sentence\">\n\t\t\t\t{{ message }}\n\t\t\t</p>\n\t\t\t<NcNoteCard v-else :type=\"variant === 'error' ? 'warning' : 'info'\">\n\t\t\t\t{{ message }}\n\t\t\t</NcNoteCard>\n\t\t\t<CnConfirmValueField v-if=\"confirmValue !== ''\"\n\t\t\t\tv-model=\"typedConfirmValue\"\n\t\t\t\t:value=\"confirmValue\"\n\t\t\t\t:label=\"confirmFieldLabel\" />\n\t\t</div>\n\n\t\t<template #actions>\n\t\t\t<NcButton @click=\"$emit('close')\">\n\t\t\t\t{{ result !== null ? closeLabel : cancelLabel }}\n\t\t\t</NcButton>\n\t\t\t<NcButton\n\t\t\t\tv-if=\"result === null\"\n\t\t\t\t:variant=\"variant\"\n\t\t\t\t:class=\"{ 'cn-dialog__confirm-pending': confirmValuePending }\"\n\t\t\t\t:disabled=\"loading || confirmValuePending\"\n\t\t\t\t:aria-disabled=\"confirmValuePending ? 'true' : undefined\"\n\t\t\t\tdata-testid=\"cn-confirm-dialog-confirm\"\n\t\t\t\t@click=\"executeConfirm\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<!--\n\t\t\t\t\t\t`name` is REQUIRED for accessibility, not decoration.\n\t\t\t\t\t\tNcLoadingIcon always renders `role=\"img\"`, and without a\n\t\t\t\t\t\t`name` it emits `aria-label=\"\"` — a role=\"img\" with no\n\t\t\t\t\t\taccessible name, which fails WCAG 1.1.1 / 4.1.2 (axe\n\t\t\t\t\t\t`role-img-alt`). The spinner is also the ONLY thing that\n\t\t\t\t\t\tannounces the in-flight state here: the button is\n\t\t\t\t\t\t`:disabled` while loading and its visible text does not\n\t\t\t\t\t\tchange, so a screen-reader user otherwise gets no signal\n\t\t\t\t\t\tthat the confirm is running.\n\t\t\t\t\t-->\n\t\t\t\t\t<NcLoadingIcon\n\t\t\t\t\t\tv-if=\"loading\"\n\t\t\t\t\t\t:size=\"20\"\n\t\t\t\t\t\t:name=\"t('nextcloud-vue', 'Loading …')\" />\n\t\t\t\t\t<CnIcon v-else-if=\"confirmIcon\" :name=\"confirmIcon\" :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ confirmLabel }}\n\t\t\t</NcButton>\n\t\t</template>\n\t</CnDialog>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport { NcButton, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue'\nimport CnConfirmValueField from '../components/CnConfirmValueField/CnConfirmValueField.vue'\nimport CnDialog from '../components/CnDialog/CnDialog.vue'\nimport { CnIcon } from '../components/CnIcon/index.js'\nimport { confirmValueMixin } from '../mixins/confirmValue.js'\nimport { dialogBoardMixin } from '../mixins/dialogBoard.js'\n\n/**\n * CnConfirmDialog — generic, verb-agnostic confirmation dialog.\n *\n * Two-phase UI (confirm → result), same pattern as `CnDeleteDialog` but\n * with no delete-specific copy or store coupling: the dialog does NOT\n * perform the confirmed operation itself — it emits a `confirm` event and\n * the parent performs the actual call, then reports back via `setResult()`\n * on a ref. Used by `CnWidgetObjectTable` to confirm-gate declarative\n * `object-op` actions (delete always; patch/create on `confirm: true`),\n * and reusable for any confirm→do→report flow.\n *\n * Destructive operations pass `variant=\"error\"` so the primary button and\n * note-card styling read as destructive.\n *\n * ```vue\n * <CnConfirmDialog\n * v-if=\"showConfirm\"\n * ref=\"confirmDialog\"\n * :dialog-title=\"t('myapp', 'Accept request')\"\n * :message=\"t('myapp', 'Accept this request?')\"\n * @confirm=\"onConfirm\"\n * @close=\"showConfirm = false\" />\n * ```\n *\n * // In methods:\n * async onConfirm() {\n * const ok = await doTheThing()\n * this.$refs.confirmDialog.setResult(ok ? { success: true } : { error: 'It failed' })\n * }\n */\nexport default {\n\tname: 'CnConfirmDialog',\n\n\tcomponents: {\n\t\tCnDialog,\n\t\tCnIcon,\n\t\tNcButton,\n\t\tNcNoteCard,\n\t\tNcLoadingIcon,\n\t\tCnConfirmValueField,\n\t},\n\n\tmixins: [dialogBoardMixin, confirmValueMixin],\n\n\tprops: {\n\t\t/** Dialog title shown in the NcDialog header. */\n\t\tdialogTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm action'),\n\t\t},\n\n\t\t/** Confirmation question shown in the confirm phase's note card. */\n\t\tmessage: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Are you sure you want to continue?'),\n\t\t},\n\n\t\t/**\n\t\t * Visual variant of the primary confirm button. Use `error` for\n\t\t * destructive operations (delete) — the confirm-phase note card then\n\t\t * renders as a warning instead of an info note.\n\t\t */\n\t\tvariant: {\n\t\t\ttype: String,\n\t\t\tdefault: 'primary',\n\t\t\tvalidator: (v) => ['primary', 'error', 'warning', 'success'].includes(v),\n\t\t},\n\n\t\t/**\n\t\t * A CnIcon name drawn on the primary button, e.g. `DeleteOutline` for a\n\t\t * delete (board DqFilterVerwijderen). Empty draws none.\n\t\t */\n\t\tconfirmIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/** Label of the primary button that fires the `confirm` event. */\n\t\tconfirmLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm'),\n\t\t},\n\n\t\t/** Label of the cancel button (visible during the confirm phase). */\n\t\tcancelLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Cancel'),\n\t\t},\n\n\t\t/** Label of the close button (visible during the result phase). */\n\t\tcloseLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Close'),\n\t\t},\n\n\t\t/** Success message shown in the result phase after `setResult({ success: true })`. */\n\t\tsuccessText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Done.'),\n\t\t},\n\t},\n\n\temits: ['close', 'confirm'],\n\n\tdata() {\n\t\treturn {\n\t\t\t/** True between the confirm click and the parent's setResult() call. */\n\t\t\tloading: false,\n\t\t\t/** @type {{ success?: boolean, error?: string }|null} Result phase payload (null = confirm phase). */\n\t\t\tresult: null,\n\t\t\t/** Auto-close timer handle for the success result phase. */\n\t\t\tcloseTimeout: null,\n\t\t}\n\t},\n\n\tbeforeUnmount() {\n\t\tif (this.closeTimeout) {\n\t\t\tclearTimeout(this.closeTimeout)\n\t\t}\n\t},\n\n\tmethods: {\n\t\t// Exposed to the template for the loading spinner's accessible name —\n\t\t// the same `methods: { t }` pattern the other dialogs in this folder\n\t\t// use (e.g. CnEditPagesModal). The prop defaults above call `t()`\n\t\t// directly at module scope, which the template cannot do.\n\t\tt,\n\t\t/**\n\t\t * Primary-button click: enter the loading state and hand control to\n\t\t * the parent, which performs the confirmed operation.\n\t\t */\n\t\texecuteConfirm() {\n\t\t\tif (!this.confirmValueMatches) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\t/**\n\t\t\t * @event confirm Emitted when the user confirms. The parent performs\n\t\t\t * the actual operation and reports back via `setResult()`.\n\t\t\t */\n\t\t\tthis.$emit('confirm')\n\t\t},\n\n\t\t/**\n\t\t * Report the confirmed operation's outcome. Call this from the parent\n\t\t * after the operation completes; flips the dialog into its result\n\t\t * phase. A success auto-closes after 2 seconds.\n\t\t *\n\t\t * @param {{ success?: boolean, error?: string }} resultData The outcome to display.\n\t\t * @public\n\t\t */\n\t\tsetResult(resultData) {\n\t\t\tthis.loading = false\n\t\t\tthis.result = resultData\n\t\t\tif (resultData && resultData.success) {\n\t\t\t\tthis.closeTimeout = setTimeout(() => {\n\t\t\t\t\t/**\n\t\t\t\t\t * @event close Emitted when the dialog should close (cancel,\n\t\t\t\t\t * close button, or auto-close 2s after a success result).\n\t\t\t\t\t */\n\t\t\t\t\tthis.$emit('close')\n\t\t\t\t}, 2000)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-confirm__confirm {\n\tpadding: 4px 0;\n}\n</style>\n"],"names":["_createBlock","_createVNode","_createTextVNode","_toDisplayString","_createElementBlock"],"mappings":";;;;AAqBG,EAAA,KAAK,EAAC,oBAAoB;AACzB,EAAA,aAAU,EAAC,UAAK;AACjB,EAAA,mBAAY,EAAA,mBAAA;AACZ,EAAA,mBAAiB,EAAC,QAAQ;;;;AAW1B,EAAA,KAAK,EAAC,qBAAc;eACT,EAAC,UAAU;AACrB,EAAA,mBAAgB,EAAC,mBAAgB;qBACrB,EAAA,SAAA;;;;AAEZ,EAAA,KAAK,EAAC,qBAAqB;AAC3B,EAAA,aAAW,EAAC,qBAAA;;;;;;;;;;;uBAhCdA;AACC,IAAA,IAAI,EAAE,IAAI,CAAA,IAAA;AACV,IAAA,KAAK,EAAE,IAAK,CAAA,KAAA;AACb,IAAA,YAAW,EAAA,SAAA;AACV,IAAA,OAAO,EAAE,IAAO,CAAA,OAAA;AAChB,IAAA,QAAQ,EAAE,IAAQ,CAAA,QAAA;AAClB,IAAA,IAAI,EAAE,MAAW,CAAA,WAAA;AAClB,IAAA,IAAK,EAAA,OAAO;AACX,IAAA,OAAO,EAAE,KAAO,CAAA,OAAA;AAChB,IAAA,SAAO,uCAAE,IAAK,CAAA,KAAA,CAAA,OAAA,CAAA,CAAA,CAAA;;AAmCN,IAAA,OAAA,UACP,MAEU;MAFVC,WAEU,CAAA,mBAAA,EAAA;AAFA,QAAA,OAAK,uCAAE,IAAI,CAAA,KAAA,CAAA,OAAA,CAAA,CAAA,CAAA;;yBACrB,MAAiB;0CAAd,KAAM,CAAA,MAAA,KAAA,IAAA,GAAQ,MAAA,CAAA,UAAA,GAAA,MAAA,CAAA,WAAA,CAAA,E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AAA,qBAAA,EAAA;;AAFO,kBAAA,IAAI,EAAE,MAAC,CAAA,OAAA,KAAA,OAAA,GAAA,SAAA,GAAA,MAAA;;mCAC1B,MAAa;oDAAV,MAAO,CAAA,OAAA,CAAA,EAAA,CAAA,YAAA;;;;aAEP,IAAA,CAAA,YAAA,KAAA,EAAA;8BAAJH,WAG8B,CAAA,8BAAA,EAAA;;;;AAD5B,kBAAA,KAAK,EAAE,IAAQ,CAAA,YAAA;AACf,kBAAA,KAAK,EAAC,IAAkB,CAAA,iBAAA;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"CnConfirmDialog.vue3.js","sources":["../../../src/dialogs/CnConfirmDialog.vue?vue&type=template&id=3a1ca778&lang.js"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2026 Conduction B.V.\n - SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<CnDialog\n\t\t:look=\"look\"\n\t\t:width=\"width\"\n\t\tdefaultWidth=\"confirm\"\n\t\t:eyebrow=\"eyebrow\"\n\t\t:subtitle=\"subtitle\"\n\t\t:name=\"dialogTitle\"\n\t\tsize=\"small\"\n\t\t:noClose=\"loading\"\n\t\t@closing=\"$emit('close')\">\n\t\t<!-- Result phase -->\n\t\t<div v-if=\"result !== null\"\n\t\t\tclass=\"cn-confirm__result\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"result\">\n\t\t\t<NcNoteCard v-if=\"result.success\" type=\"success\">\n\t\t\t\t{{ successText }}\n\t\t\t</NcNoteCard>\n\t\t\t<NcNoteCard v-if=\"result.error\" type=\"error\">\n\t\t\t\t{{ result.error }}\n\t\t\t</NcNoteCard>\n\t\t</div>\n\n\t\t<!-- Confirm phase -->\n\t\t<div v-else\n\t\t\tclass=\"cn-confirm__confirm\"\n\t\t\tdata-testid=\"cn-modal\"\n\t\t\tdata-testid-modal=\"cn-confirm-dialog\"\n\t\t\tdata-testid-phase=\"confirm\">\n\t\t\t<p v-if=\"isBoardLook\"\n\t\t\t\tclass=\"cn-dialog__sentence\"\n\t\t\t\tdata-testid=\"cn-confirm-sentence\">\n\t\t\t\t{{ message }}\n\t\t\t</p>\n\t\t\t<NcNoteCard v-else :type=\"variant === 'error' ? 'warning' : 'info'\">\n\t\t\t\t{{ message }}\n\t\t\t</NcNoteCard>\n\t\t\t<!-- @slot default Extra body content below the message in the confirm phase, such as a checkbox, a list or a note. -->\n\t\t\t<slot />\n\t\t\t<CnConfirmValueField v-if=\"confirmValue !== ''\"\n\t\t\t\tv-model=\"typedConfirmValue\"\n\t\t\t\t:value=\"confirmValue\"\n\t\t\t\t:label=\"confirmFieldLabel\" />\n\t\t</div>\n\n\t\t<template #actions>\n\t\t\t<NcButton :disabled=\"loading\" @click=\"$emit('close')\">\n\t\t\t\t{{ result !== null ? closeLabel : cancelLabel }}\n\t\t\t</NcButton>\n\t\t\t<NcButton\n\t\t\t\tv-if=\"result === null\"\n\t\t\t\t:variant=\"variant\"\n\t\t\t\t:class=\"{ 'cn-dialog__confirm-pending': confirmValuePending }\"\n\t\t\t\t:disabled=\"loading || confirmValuePending\"\n\t\t\t\t:aria-disabled=\"confirmValuePending ? 'true' : undefined\"\n\t\t\t\tdata-testid=\"cn-confirm-dialog-confirm\"\n\t\t\t\t@click=\"executeConfirm\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<!--\n\t\t\t\t\t\t`name` is REQUIRED for accessibility, not decoration.\n\t\t\t\t\t\tNcLoadingIcon always renders `role=\"img\"`, and without a\n\t\t\t\t\t\t`name` it emits `aria-label=\"\"` — a role=\"img\" with no\n\t\t\t\t\t\taccessible name, which fails WCAG 1.1.1 / 4.1.2 (axe\n\t\t\t\t\t\t`role-img-alt`). The spinner is also the ONLY thing that\n\t\t\t\t\t\tannounces the in-flight state here: the button is\n\t\t\t\t\t\t`:disabled` while loading and its visible text does not\n\t\t\t\t\t\tchange, so a screen-reader user otherwise gets no signal\n\t\t\t\t\t\tthat the confirm is running.\n\t\t\t\t\t-->\n\t\t\t\t\t<NcLoadingIcon\n\t\t\t\t\t\tv-if=\"loading\"\n\t\t\t\t\t\t:size=\"20\"\n\t\t\t\t\t\t:name=\"t('nextcloud-vue', 'Loading …')\" />\n\t\t\t\t\t<CnIcon v-else-if=\"confirmIcon\" :name=\"confirmIcon\" :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ confirmLabel }}\n\t\t\t</NcButton>\n\t\t</template>\n\t</CnDialog>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport { NcButton, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue'\nimport CnConfirmValueField from '../components/CnConfirmValueField/CnConfirmValueField.vue'\nimport CnDialog from '../components/CnDialog/CnDialog.vue'\nimport { CnIcon } from '../components/CnIcon/index.js'\nimport { confirmValueMixin } from '../mixins/confirmValue.js'\nimport { dialogBoardMixin } from '../mixins/dialogBoard.js'\n\n/**\n * CnConfirmDialog — generic, verb-agnostic confirmation dialog.\n *\n * Two-phase UI (confirm → result), same pattern as `CnDeleteDialog` but\n * with no delete-specific copy or store coupling: the dialog does NOT\n * perform the confirmed operation itself — it emits a `confirm` event and\n * the parent performs the actual call, then reports back via `setResult()`\n * on a ref. Used by `CnWidgetObjectTable` to confirm-gate declarative\n * `object-op` actions (delete always; patch/create on `confirm: true`),\n * and reusable for any confirm→do→report flow.\n *\n * Destructive operations pass `variant=\"error\"` so the primary button and\n * note-card styling read as destructive.\n *\n * ```vue\n * <CnConfirmDialog\n * v-if=\"showConfirm\"\n * ref=\"confirmDialog\"\n * :dialog-title=\"t('myapp', 'Accept request')\"\n * :message=\"t('myapp', 'Accept this request?')\"\n * @confirm=\"onConfirm\"\n * @close=\"showConfirm = false\" />\n * ```\n *\n * // In methods:\n * async onConfirm() {\n * const ok = await doTheThing()\n * this.$refs.confirmDialog.setResult(ok ? { success: true } : { error: 'It failed' })\n * }\n */\nexport default {\n\tname: 'CnConfirmDialog',\n\n\tcomponents: {\n\t\tCnDialog,\n\t\tCnIcon,\n\t\tNcButton,\n\t\tNcNoteCard,\n\t\tNcLoadingIcon,\n\t\tCnConfirmValueField,\n\t},\n\n\tmixins: [dialogBoardMixin, confirmValueMixin],\n\n\tprops: {\n\t\t/** Dialog title shown in the NcDialog header. */\n\t\tdialogTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm action'),\n\t\t},\n\n\t\t/** Confirmation question shown in the confirm phase's note card. */\n\t\tmessage: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Are you sure you want to continue?'),\n\t\t},\n\n\t\t/**\n\t\t * Visual variant of the primary confirm button. Use `error` for\n\t\t * destructive operations (delete) — the confirm-phase note card then\n\t\t * renders as a warning instead of an info note.\n\t\t */\n\t\tvariant: {\n\t\t\ttype: String,\n\t\t\tdefault: 'primary',\n\t\t\tvalidator: (v) => ['primary', 'error', 'warning', 'success'].includes(v),\n\t\t},\n\n\t\t/**\n\t\t * A CnIcon name drawn on the primary button, e.g. `DeleteOutline` for a\n\t\t * delete (board DqFilterVerwijderen). Empty draws none.\n\t\t */\n\t\tconfirmIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/** Label of the primary button that fires the `confirm` event. */\n\t\tconfirmLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Confirm'),\n\t\t},\n\n\t\t/** Label of the cancel button (visible during the confirm phase). */\n\t\tcancelLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Cancel'),\n\t\t},\n\n\t\t/** Label of the close button (visible during the result phase). */\n\t\tcloseLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Close'),\n\t\t},\n\n\t\t/** Success message shown in the result phase after `setResult({ success: true })`. */\n\t\tsuccessText: {\n\t\t\ttype: String,\n\t\t\tdefault: () => t('nextcloud-vue', 'Done.'),\n\t\t},\n\t},\n\n\temits: ['close', 'confirm'],\n\n\tdata() {\n\t\treturn {\n\t\t\t/** True between the confirm click and the parent's setResult() call. */\n\t\t\tloading: false,\n\t\t\t/** @type {{ success?: boolean, error?: string }|null} Result phase payload (null = confirm phase). */\n\t\t\tresult: null,\n\t\t\t/** Auto-close timer handle for the success result phase. */\n\t\t\tcloseTimeout: null,\n\t\t}\n\t},\n\n\tbeforeUnmount() {\n\t\tif (this.closeTimeout) {\n\t\t\tclearTimeout(this.closeTimeout)\n\t\t}\n\t},\n\n\tmethods: {\n\t\t// Exposed to the template for the loading spinner's accessible name —\n\t\t// the same `methods: { t }` pattern the other dialogs in this folder\n\t\t// use (e.g. CnEditPagesModal). The prop defaults above call `t()`\n\t\t// directly at module scope, which the template cannot do.\n\t\tt,\n\t\t/**\n\t\t * Primary-button click: enter the loading state and hand control to\n\t\t * the parent, which performs the confirmed operation.\n\t\t */\n\t\texecuteConfirm() {\n\t\t\tif (!this.confirmValueMatches) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\t/**\n\t\t\t * @event confirm Emitted when the user confirms. The parent performs\n\t\t\t * the actual operation and reports back via `setResult()`.\n\t\t\t */\n\t\t\tthis.$emit('confirm')\n\t\t},\n\n\t\t/**\n\t\t * Report the confirmed operation's outcome. Call this from the parent\n\t\t * after the operation completes; flips the dialog into its result\n\t\t * phase. A success auto-closes after 2 seconds.\n\t\t *\n\t\t * @param {{ success?: boolean, error?: string }} resultData The outcome to display.\n\t\t * @public\n\t\t */\n\t\tsetResult(resultData) {\n\t\t\tthis.loading = false\n\t\t\tthis.result = resultData\n\t\t\tif (resultData && resultData.success) {\n\t\t\t\tthis.closeTimeout = setTimeout(() => {\n\t\t\t\t\t/**\n\t\t\t\t\t * @event close Emitted when the dialog should close (cancel,\n\t\t\t\t\t * close button, or auto-close 2s after a success result).\n\t\t\t\t\t */\n\t\t\t\t\tthis.$emit('close')\n\t\t\t\t}, 2000)\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-confirm__confirm {\n\tpadding: 4px 0;\n}\n</style>\n"],"names":["_createBlock","_createVNode","_createTextVNode","_toDisplayString","_createElementBlock"],"mappings":";;;;AAqBG,EAAA,KAAK,EAAC,oBAAoB;AACzB,EAAA,aAAU,EAAC,UAAK;AACjB,EAAA,mBAAY,EAAA,mBAAA;AACZ,EAAA,mBAAiB,EAAC,QAAQ;;;;AAW1B,EAAA,KAAK,EAAC,qBAAc;eACT,EAAC,UAAU;AACrB,EAAA,mBAAgB,EAAC,mBAAgB;qBACrB,EAAA,SAAA;;;;AAEZ,EAAA,KAAK,EAAC,qBAAqB;AAC3B,EAAA,aAAW,EAAC,qBAAA;;;;;;;;;;;uBAhCdA;AACC,IAAA,IAAI,EAAE,IAAI,CAAA,IAAA;AACV,IAAA,KAAK,EAAE,IAAK,CAAA,KAAA;AACb,IAAA,YAAW,EAAA,SAAA;AACV,IAAA,OAAO,EAAE,IAAO,CAAA,OAAA;AAChB,IAAA,QAAQ,EAAE,IAAQ,CAAA,QAAA;AAClB,IAAA,IAAI,EAAE,MAAW,CAAA,WAAA;AAClB,IAAA,IAAK,EAAA,OAAO;AACX,IAAA,OAAO,EAAE,KAAO,CAAA,OAAA;AAChB,IAAA,SAAO,uCAAE,IAAK,CAAA,KAAA,CAAA,OAAA,CAAA,CAAA,CAAA;;AAqCN,IAAA,OAAA,UACP,MAEU;MAFVC,WAEU,CAAA,mBAAA,EAAA;AAFA,QAAA,QAAQ,EAAE,KAAC,CAAA,OAAA;AAAA,QAAA,OAAA,uCAAA,IAAA,CAAA,KAAA,CAAA,OAAA,CAAA,CAAA,CAAA;;yBACrB,MAAiB;0CAAd,KAAM,CAAA,MAAA,KAAA,IAAA,GAAQ,MAAA,CAAA,UAAA,GAAA,MAAA,CAAA,WAAA,CAAA,EAAA,CAAA,YAAA;;;;OAGX,KAAM,CAAA,MAAA,KAAA,IAAA;wBADZD;;AAEC,YAAA,OAAO,EAAE,MAAO,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AAA,MAAA;;mCACN,MAAa;oDAAV,MAAO,CAAA,OAAA,CAAA,EAAA,CAAA,YAAA;;;;sBAGH,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;aACJ,IAAA,CAAA,YAAA,KAAA,EAAA;8BAAJA,WAG8B,CAAA,8BAAA,EAAA;;;;AAD5B,kBAAA,KAAK,EAAE,IAAQ,CAAA,YAAA;AACf,kBAAA,KAAK,EAAG,IAAgB,CAAA,iBAAA;;;;;;;;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -103,6 +103,7 @@ export { default as CnChoiceCards } from './components/CnChoiceCards/CnChoiceCar
|
|
|
103
103
|
export { default as CnChoicePickerWidget } from './components/CnChoicePickerWidget/CnChoicePickerWidget.vue.js';
|
|
104
104
|
export { default as CnColorPicker } from './components/CnColorPicker/CnColorPicker.vue.js';
|
|
105
105
|
export { default as CnCommandPalette } from './components/CnCommandPalette/CnCommandPalette.vue.js';
|
|
106
|
+
export { default as CnConditionGroupEditor } from './components/CnConditionGroupEditor/CnConditionGroupEditor.vue.js';
|
|
106
107
|
export { default as CnConditionListEditor } from './components/CnConditionListEditor/CnConditionListEditor.vue.js';
|
|
107
108
|
export { default as CnConfigurationCard } from './components/CnConfigurationCard/CnConfigurationCard.vue.js';
|
|
108
109
|
export { default as CnConnectionsPanel } from './components/CnConnectionsPanel/CnConnectionsPanel.vue.js';
|
|
@@ -143,6 +144,7 @@ export { default as CnDetailPage } from './components/CnDetailPage/CnDetailPage.
|
|
|
143
144
|
export { default as CnDetailWidgetHost } from './components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js';
|
|
144
145
|
export { default as CnDeviceFramesWidget } from './components/CnDeviceFramesWidget/CnDeviceFramesWidget.vue.js';
|
|
145
146
|
export { default as CnDialog } from './components/CnDialog/CnDialog.vue.js';
|
|
147
|
+
export { default as CnDialogActions } from './components/CnDialogActions/CnDialogActions.vue.js';
|
|
146
148
|
export { default as CnDialogHeader } from './components/CnDialogHeader/CnDialogHeader.vue.js';
|
|
147
149
|
export { default as CnDividerWidget } from './components/CnDividerWidget/CnDividerWidget.vue.js';
|
|
148
150
|
export { default as CnDividerWidgetForm } from './components/CnDividerWidgetForm/CnDividerWidgetForm.vue.js';
|
|
@@ -251,6 +253,7 @@ export { default as CnMarkdownEditor } from './components/CnMarkdownEditor/CnMar
|
|
|
251
253
|
export { default as CnMarkdownWidget } from './components/CnMarkdownWidget/CnMarkdownWidget.vue.js';
|
|
252
254
|
export { default as CnMarkdownWidgetForm } from './components/CnMarkdownWidgetForm/CnMarkdownWidgetForm.vue.js';
|
|
253
255
|
export { default as CnMassActionBar } from './components/CnMassActionBar/CnMassActionBar.vue.js';
|
|
256
|
+
export { default as CnMassActionDialog } from './components/CnMassActionDialog/CnMassActionDialog.vue.js';
|
|
254
257
|
export { default as CnMassCopyDialog } from './components/CnMassCopyDialog/CnMassCopyDialog.vue.js';
|
|
255
258
|
export { default as CnMassDeleteDialog } from './components/CnMassDeleteDialog/CnMassDeleteDialog.vue.js';
|
|
256
259
|
export { default as CnMassExportDialog } from './components/CnMassExportDialog/CnMassExportDialog.vue.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/l10n/en.json.js
CHANGED
|
@@ -2593,7 +2593,22 @@ var translations = {
|
|
|
2593
2593
|
"Shown on the card. Leave empty to show the step type.": "Shown on the card. Leave empty to show the step type.",
|
|
2594
2594
|
"The full configuration document. The fields above update along.": "The full configuration document. The fields above update along.",
|
|
2595
2595
|
"This step has no options.": "This step has no options.",
|
|
2596
|
-
"{uid} (you)": "{uid} (you)"
|
|
2596
|
+
"{uid} (you)": "{uid} (you)",
|
|
2597
|
+
"The action applies to the following items. Remove any items you want to leave out.": "The action applies to the following items. Remove any items you want to leave out.",
|
|
2598
|
+
"No items selected.": "No items selected.",
|
|
2599
|
+
"Are you sure you want to continue with {count}?": "Are you sure you want to continue with {count}?",
|
|
2600
|
+
"How the conditions combine": "How the conditions combine",
|
|
2601
|
+
"Match all conditions": "Match all conditions",
|
|
2602
|
+
"Match any condition": "Match any condition",
|
|
2603
|
+
Where: "Where",
|
|
2604
|
+
and: "and",
|
|
2605
|
+
"all of these": "all of these",
|
|
2606
|
+
"one of these": "one of these",
|
|
2607
|
+
"Add group": "Add group",
|
|
2608
|
+
"Remove group": "Remove group",
|
|
2609
|
+
Condition: "Condition",
|
|
2610
|
+
"These conditions are kept as written": "These conditions are kept as written",
|
|
2611
|
+
"This group has no conditions yet.": "This group has no conditions yet."
|
|
2597
2612
|
};
|
|
2598
2613
|
var plurals = {
|
|
2599
2614
|
"{count} member": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/l10n/nl.json.js
CHANGED
|
@@ -2858,7 +2858,22 @@ var translations = {
|
|
|
2858
2858
|
"Shown on the card. Leave empty to show the step type.": "Staat op de kaart. Laat leeg om het soort stap te tonen.",
|
|
2859
2859
|
"The full configuration document. The fields above update along.": "Alle instellingen in één document. De velden hierboven passen zich aan.",
|
|
2860
2860
|
"This step has no options.": "Deze stap heeft geen opties.",
|
|
2861
|
-
"{uid} (you)": "{uid} (jij)"
|
|
2861
|
+
"{uid} (you)": "{uid} (jij)",
|
|
2862
|
+
"The action applies to the following items. Remove any items you want to leave out.": "De actie geldt voor de volgende items. Haal items weg die je wilt overslaan.",
|
|
2863
|
+
"No items selected.": "Geen items geselecteerd.",
|
|
2864
|
+
"Are you sure you want to continue with {count}?": "Weet je zeker dat je wilt doorgaan met {count}?",
|
|
2865
|
+
"How the conditions combine": "Hoe de voorwaarden samengaan",
|
|
2866
|
+
"Match all conditions": "Voldoet aan alle voorwaarden",
|
|
2867
|
+
"Match any condition": "Voldoet aan een van de voorwaarden",
|
|
2868
|
+
Where: "Waarbij",
|
|
2869
|
+
and: "en",
|
|
2870
|
+
"all of these": "al deze",
|
|
2871
|
+
"one of these": "een van deze",
|
|
2872
|
+
"Add group": "Groep toevoegen",
|
|
2873
|
+
"Remove group": "Groep verwijderen",
|
|
2874
|
+
Condition: "Voorwaarde",
|
|
2875
|
+
"These conditions are kept as written": "Deze voorwaarden blijven zoals ze zijn geschreven",
|
|
2876
|
+
"This group has no conditions yet.": "Deze groep heeft nog geen voorwaarden."
|
|
2862
2877
|
};
|
|
2863
2878
|
var plurals = {
|
|
2864
2879
|
"{count} member": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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