@conduction/nextcloud-vue 2.174.0 → 2.175.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 +114 -11
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js +67 -17
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue.js +9 -0
- package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue.js.map +1 -0
- package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue2.js +352 -0
- package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue2.js.map +1 -0
- package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue3.js +266 -0
- package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue3.js.map +1 -0
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js +257 -7
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js +113 -59
- package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue.js +1 -1
- package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue2.js +210 -5
- package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue2.js.map +1 -1
- package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue3.js +134 -46
- package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue3.js.map +1 -1
- package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue.js +9 -0
- package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue.js.map +1 -0
- package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue2.js +385 -0
- package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue2.js.map +1 -0
- package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue3.js +277 -0
- package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue3.js.map +1 -0
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js +175 -20
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js +30 -8
- package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue.js +1 -1
- package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue2.js +72 -6
- package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue3.js +48 -14
- package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue.js +1 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js +162 -9
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js.map +1 -1
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js +63 -23
- package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js.map +1 -1
- package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue.js +9 -0
- package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue.js.map +1 -0
- package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue2.js +175 -0
- package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue2.js.map +1 -0
- package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue3.js +114 -0
- package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue3.js.map +1 -0
- package/dist/esm/components/CnDurationField/CnDurationField.vue.js +1 -1
- package/dist/esm/components/CnDurationField/CnDurationField.vue2.js +218 -4
- package/dist/esm/components/CnDurationField/CnDurationField.vue2.js.map +1 -1
- package/dist/esm/components/CnDurationField/CnDurationField.vue3.js +133 -44
- package/dist/esm/components/CnDurationField/CnDurationField.vue3.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +5 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue.js +9 -0
- package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue.js.map +1 -0
- package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue2.js +113 -0
- package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue2.js.map +1 -0
- package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue3.js +43 -0
- package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue3.js.map +1 -0
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue.js +1 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js +110 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js.map +1 -1
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue3.js +60 -18
- package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue3.js.map +1 -1
- package/dist/esm/components/CnMenuTreeNode/CnMenuTreeNode.vue2.js +2 -2
- package/dist/esm/components/CnMenuTreeNode/CnMenuTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectKanban/CnObjectKanban.vue2.js +2 -2
- package/dist/esm/components/CnObjectKanban/CnObjectKanban.vue2.js.map +1 -1
- package/dist/esm/components/CnPageTreeNode/CnPageTreeNode.vue2.js +2 -2
- package/dist/esm/components/CnPageTreeNode/CnPageTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnQrCode/CnQrCode.vue.js +9 -0
- package/dist/esm/components/CnQrCode/CnQrCode.vue.js.map +1 -0
- package/dist/esm/components/CnQrCode/CnQrCode.vue2.js +241 -0
- package/dist/esm/components/CnQrCode/CnQrCode.vue2.js.map +1 -0
- package/dist/esm/components/CnQrCode/CnQrCode.vue3.js +75 -0
- package/dist/esm/components/CnQrCode/CnQrCode.vue3.js.map +1 -0
- package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue.js +1 -1
- package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue2.js +34 -3
- package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue2.js.map +1 -1
- package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue3.js +81 -19
- package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +11 -0
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +112 -88
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnRevealField/CnRevealField.vue.js +9 -0
- package/dist/esm/components/CnRevealField/CnRevealField.vue.js.map +1 -0
- package/dist/esm/components/CnRevealField/CnRevealField.vue2.js +157 -0
- package/dist/esm/components/CnRevealField/CnRevealField.vue2.js.map +1 -0
- package/dist/esm/components/CnRevealField/CnRevealField.vue3.js +116 -0
- package/dist/esm/components/CnRevealField/CnRevealField.vue3.js.map +1 -0
- package/dist/esm/components/CnTextWidget/CnTextWidget.vue.js +1 -1
- package/dist/esm/components/CnTextWidget/CnTextWidget.vue2.js +43 -3
- package/dist/esm/components/CnTextWidget/CnTextWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnTextWidget/CnTextWidget.vue3.js +19 -12
- package/dist/esm/components/CnTextWidget/CnTextWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnTransferCard/CnTransferCard.vue.js +9 -0
- package/dist/esm/components/CnTransferCard/CnTransferCard.vue.js.map +1 -0
- package/dist/esm/components/CnTransferCard/CnTransferCard.vue2.js +87 -0
- package/dist/esm/components/CnTransferCard/CnTransferCard.vue2.js.map +1 -0
- package/dist/esm/components/CnTransferCard/CnTransferCard.vue3.js +126 -0
- package/dist/esm/components/CnTransferCard/CnTransferCard.vue3.js.map +1 -0
- package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js +66 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +129 -29
- 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 +158 -6
- package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +100 -39
- package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/l10n/en.json.js +63 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +63 -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 +1134 -499
- package/dist/esm/node_modules/vuedraggable/dist/vuedraggable.umd.js +2 -2
- package/dist/esm/utils/captureLocation.js +32 -0
- package/dist/esm/utils/captureLocation.js.map +1 -0
- package/dist/esm/utils/childRecordTotals.js +157 -0
- package/dist/esm/utils/childRecordTotals.js.map +1 -0
- package/dist/esm/utils/isoDuration.js +51 -1
- package/dist/esm/utils/isoDuration.js.map +1 -1
- package/dist/esm/utils/qr.js +649 -0
- package/dist/esm/utils/qr.js.map +1 -0
- package/dist/esm/utils/schema.js +3 -0
- package/dist/esm/utils/schema.js.map +1 -1
- package/dist/esm/utils/templateVariables.js +54 -0
- package/dist/esm/utils/templateVariables.js.map +1 -0
- package/dist/nextcloud-vue.cjs.js +20307 -14544
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +1134 -499
- package/l10n/en.json +63 -1
- package/l10n/nl.json +63 -1
- package/package.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +156 -9
- package/src/components/CnBlockListEditor/CnBlockListEditor.vue +615 -0
- package/src/components/CnBlockListEditor/index.js +9 -0
- package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +311 -10
- package/src/components/CnChildRecordsField/CnChildRecordsField.vue +306 -15
- package/src/components/CnChoiceMatrix/CnChoiceMatrix.vue +710 -0
- package/src/components/CnChoiceMatrix/index.js +9 -0
- package/src/components/CnCountdownWidget/CnCountdownWidget.vue +223 -28
- package/src/components/CnCreateFormWidget/CnCreateFormWidget.vue +97 -6
- package/src/components/CnDataMatrix/CnDataMatrix.vue +199 -13
- package/src/components/CnDisplayScreen/CnDisplayScreen.vue +308 -0
- package/src/components/CnDisplayScreen/index.js +9 -0
- package/src/components/CnDurationField/CnDurationField.vue +330 -5
- package/src/components/CnFormDialog/CnFormDialog.vue +4 -0
- package/src/components/CnGeoCaptureField/CnGeoCaptureField.vue +148 -0
- package/src/components/CnGeoCaptureField/index.js +9 -0
- package/src/components/CnMarkdownEditor/CnMarkdownEditor.vue +139 -1
- package/src/components/CnQrCode/CnQrCode.vue +321 -0
- package/src/components/CnQrCode/index.js +9 -0
- package/src/components/CnReadinessChecklist/CnReadinessChecklist.vue +80 -3
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +34 -1
- package/src/components/CnRevealField/CnRevealField.vue +273 -0
- package/src/components/CnRevealField/index.js +9 -0
- package/src/components/CnTextWidget/CnTextWidget.vue +62 -3
- package/src/components/CnTransferCard/CnTransferCard.vue +205 -0
- package/src/components/CnTransferCard/index.js +9 -0
- package/src/components/CnTreeView/CnTreeNode.vue +145 -2
- package/src/components/CnTreeView/CnTreeView.vue +210 -6
- package/src/components/index.js +7 -0
- package/src/index.js +8 -0
- package/src/utils/captureLocation.js +29 -0
- package/src/utils/childRecordTotals.js +153 -0
- package/src/utils/isoDuration.js +50 -0
- package/src/utils/qr.js +681 -0
- package/src/utils/schema.js +3 -0
- package/src/utils/templateVariables.js +51 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, toDisplayString, createCommentVNode,
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, createSlots, renderSlot, normalizeProps, guardReactiveProps, Fragment, renderList, mergeProps, normalizeClass } from 'vue';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
class: "cn-tree-view",
|
|
@@ -21,13 +21,14 @@ const _hoisted_5 = {
|
|
|
21
21
|
class: "cn-tree-view__empty"
|
|
22
22
|
};
|
|
23
23
|
const _hoisted_6 = {
|
|
24
|
-
key:
|
|
24
|
+
key: 3,
|
|
25
25
|
class: "cn-tree-view__root",
|
|
26
26
|
role: "tree"
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30
30
|
const _component_CnTreeNode = resolveComponent("CnTreeNode");
|
|
31
|
+
const _component_Draggable = resolveComponent("Draggable");
|
|
31
32
|
|
|
32
33
|
return (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33
34
|
($props.title || $props.description)
|
|
@@ -42,43 +43,103 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42
43
|
: createCommentVNode("v-if", true),
|
|
43
44
|
($options.safeNodes.length === 0)
|
|
44
45
|
? (openBlock(), createElementBlock("p", _hoisted_5, toDisplayString($props.emptyLabel), 1 /* TEXT */))
|
|
45
|
-
: (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
46
|
+
: ($props.reorderable)
|
|
47
|
+
? (openBlock(), createBlock(_component_Draggable, {
|
|
48
|
+
key: 2,
|
|
49
|
+
modelValue: $options.safeNodes,
|
|
50
|
+
itemKey: $props.idKey,
|
|
51
|
+
tag: "ul",
|
|
52
|
+
class: "cn-tree-view__root",
|
|
53
|
+
role: "tree",
|
|
54
|
+
handle: ".cn-tree-node__handle",
|
|
55
|
+
onChange: $options.onRootDragChange
|
|
56
|
+
}, {
|
|
57
|
+
item: withCtx(({ element: node, index }) => [
|
|
58
|
+
createVNode(_component_CnTreeNode, {
|
|
59
|
+
node: node,
|
|
60
|
+
depth: 0,
|
|
61
|
+
indent: $props.indent,
|
|
62
|
+
expandedIds: $options.expandedMap,
|
|
63
|
+
selectedId: $props.selectedId,
|
|
64
|
+
idKey: $props.idKey,
|
|
65
|
+
labelKey: $props.labelKey,
|
|
66
|
+
childrenKey: $props.childrenKey,
|
|
67
|
+
expandLabel: $props.expandLabel,
|
|
68
|
+
collapseLabel: $props.collapseLabel,
|
|
69
|
+
toggleAttrs: $props.toggleAttrs,
|
|
70
|
+
rowAttrs: $props.rowAttrs,
|
|
71
|
+
focusableRows: $props.focusableRows,
|
|
72
|
+
reorderable: "",
|
|
73
|
+
reorderLabels: $options.reorderTexts,
|
|
74
|
+
siblingIndex: index,
|
|
75
|
+
siblingCount: $options.safeNodes.length,
|
|
76
|
+
onToggle: $options.toggleNode,
|
|
77
|
+
onSelect: $options.selectNode,
|
|
78
|
+
onMove: $options.moveNode
|
|
79
|
+
}, createSlots({
|
|
80
|
+
actions: withCtx((scope) => [
|
|
81
|
+
renderSlot(_ctx.$slots, "actions", normalizeProps(guardReactiveProps(scope)))
|
|
82
|
+
]),
|
|
83
|
+
_: 2 /* DYNAMIC */
|
|
84
|
+
}, [
|
|
85
|
+
(_ctx.$slots.label)
|
|
86
|
+
? {
|
|
87
|
+
name: "label",
|
|
88
|
+
fn: withCtx((scope) => [
|
|
89
|
+
renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps(scope)))
|
|
90
|
+
]),
|
|
91
|
+
key: "0"
|
|
92
|
+
}
|
|
93
|
+
: undefined
|
|
94
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["node", "indent", "expandedIds", "selectedId", "idKey", "labelKey", "childrenKey", "expandLabel", "collapseLabel", "toggleAttrs", "rowAttrs", "focusableRows", "reorderLabels", "siblingIndex", "siblingCount", "onToggle", "onSelect", "onMove"])
|
|
95
|
+
]),
|
|
96
|
+
_: 3 /* FORWARDED */
|
|
97
|
+
}, 8 /* PROPS */, ["modelValue", "itemKey", "onChange"]))
|
|
98
|
+
: (openBlock(), createElementBlock("ul", _hoisted_6, [
|
|
99
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.safeNodes, (node) => {
|
|
100
|
+
return (openBlock(), createBlock(_component_CnTreeNode, {
|
|
101
|
+
key: node[$props.idKey],
|
|
102
|
+
node: node,
|
|
103
|
+
depth: 0,
|
|
104
|
+
indent: $props.indent,
|
|
105
|
+
expandedIds: $options.expandedMap,
|
|
106
|
+
selectedId: $props.selectedId,
|
|
107
|
+
idKey: $props.idKey,
|
|
108
|
+
labelKey: $props.labelKey,
|
|
109
|
+
childrenKey: $props.childrenKey,
|
|
110
|
+
expandLabel: $props.expandLabel,
|
|
111
|
+
collapseLabel: $props.collapseLabel,
|
|
112
|
+
toggleAttrs: $props.toggleAttrs,
|
|
113
|
+
rowAttrs: $props.rowAttrs,
|
|
114
|
+
focusableRows: $props.focusableRows,
|
|
115
|
+
onToggle: $options.toggleNode,
|
|
116
|
+
onSelect: $options.selectNode
|
|
117
|
+
}, createSlots({
|
|
118
|
+
actions: withCtx((scope) => [
|
|
119
|
+
renderSlot(_ctx.$slots, "actions", mergeProps({ ref_for: true }, scope))
|
|
120
|
+
]),
|
|
121
|
+
_: 2 /* DYNAMIC */
|
|
122
|
+
}, [
|
|
123
|
+
(_ctx.$slots.label)
|
|
124
|
+
? {
|
|
125
|
+
name: "label",
|
|
126
|
+
fn: withCtx((scope) => [
|
|
127
|
+
renderSlot(_ctx.$slots, "label", mergeProps({ ref_for: true }, scope))
|
|
128
|
+
]),
|
|
129
|
+
key: "0"
|
|
130
|
+
}
|
|
131
|
+
: undefined
|
|
132
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["node", "indent", "expandedIds", "selectedId", "idKey", "labelKey", "childrenKey", "expandLabel", "collapseLabel", "toggleAttrs", "rowAttrs", "focusableRows", "onToggle", "onSelect"]))
|
|
133
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
134
|
+
])),
|
|
135
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.statusSlots, (key) => {
|
|
136
|
+
return (openBlock(), createElementBlock("p", {
|
|
137
|
+
key: key,
|
|
138
|
+
class: normalizeClass(["cn-tree-view__status", { 'hidden-visually': !$options.statusText }]),
|
|
139
|
+
role: "status",
|
|
140
|
+
"data-testid": "cn-tree-view-status"
|
|
141
|
+
}, toDisplayString($options.statusText), 3 /* TEXT, CLASS */))
|
|
142
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
82
143
|
]))
|
|
83
144
|
}
|
|
84
145
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CnTreeView.vue3.js","sources":["../../../../src/components/CnTreeView/CnTreeView.vue?vue&type=template&id=790ecd66&lang.js"],"sourcesContent":["<template>\n\t<div class=\"cn-tree-view\" data-testid=\"cn-tree-view\">\n\t\t<header v-if=\"title || description\" class=\"cn-tree-view__header\">\n\t\t\t<h3 v-if=\"title\" class=\"cn-tree-view__title\">\n\t\t\t\t{{ title }}\n\t\t\t</h3>\n\t\t\t<p v-if=\"description\" class=\"cn-tree-view__description\">\n\t\t\t\t{{ description }}\n\t\t\t</p>\n\t\t</header>\n\n\t\t<p v-if=\"safeNodes.length === 0\" class=\"cn-tree-view__empty\">\n\t\t\t{{ emptyLabel }}\n\t\t</p>\n\n\t\t<ul v-else class=\"cn-tree-view__root\" role=\"tree\">\n\t\t\t<CnTreeNode v-for=\"node in safeNodes\"\n\t\t\t\t:key=\"node[idKey]\"\n\t\t\t\t:node=\"node\"\n\t\t\t\t:depth=\"0\"\n\t\t\t\t:indent=\"indent\"\n\t\t\t\t:expandedIds=\"expandedMap\"\n\t\t\t\t:selectedId=\"selectedId\"\n\t\t\t\t:idKey=\"idKey\"\n\t\t\t\t:labelKey=\"labelKey\"\n\t\t\t\t:childrenKey=\"childrenKey\"\n\t\t\t\t:expandLabel=\"expandLabel\"\n\t\t\t\t:collapseLabel=\"collapseLabel\"\n\t\t\t\t:toggleAttrs=\"toggleAttrs\"\n\t\t\t\t:rowAttrs=\"rowAttrs\"\n\t\t\t\t:focusableRows=\"focusableRows\"\n\t\t\t\t@toggle=\"toggleNode\"\n\t\t\t\t@select=\"selectNode\">\n\t\t\t\t<template #actions=\"scope\">\n\t\t\t\t\t<!-- @slot actions Per-row actions. Scope:\n\t\t\t\t\t { node, depth }. -->\n\t\t\t\t\t<slot name=\"actions\" v-bind=\"scope\" />\n\t\t\t\t</template>\n\t\t\t\t<template v-if=\"$slots.label\" #label=\"scope\">\n\t\t\t\t\t<!-- @slot label Replaces the label text of every row. Scope:\n\t\t\t\t\t { node, depth, expanded }. Unused, the row shows\n\t\t\t\t\t `node[labelKey]`. -->\n\t\t\t\t\t<slot name=\"label\" v-bind=\"scope\" />\n\t\t\t\t</template>\n\t\t\t</CnTreeNode>\n\t\t</ul>\n\t</div>\n</template>\n\n<script>\nimport CnTreeNode from './CnTreeNode.vue'\n\n/**\n * CnTreeView — Recursive hierarchical tree widget. Renders nested\n * nodes with click-to-expand carets, optional badges + icons,\n * inline per-row actions slot, and select-on-click semantics.\n *\n * Drag-drop reorder is intentionally a follow-up (issue #278).\n * The widget's public contract (props, events, selection model)\n * is forward-compatible — adding `draggable: true` later won't\n * touch existing v-model bindings.\n *\n * ```vue\n * <CnTreeView\n * :nodes=\"[\n * { id: 1, label: 'Knowledge base', children: [\n * { id: 2, label: 'How-tos', children: [\n * { id: 3, label: 'Reset password' },\n * ] },\n * { id: 4, label: 'Reference' },\n * ] },\n * ]\"\n * v-model:expanded-ids=\"expanded\"\n * v-model:selected-id=\"selected\"\n * @select=\"onSelect\" />\n * ```\n *\n * Slots:\n * - `#actions` — inline per-row actions (e.g. edit / delete\n * buttons). Scope: `{ node, depth }`.\n * - `#label` — the label of every row, for an icon, a marker or a test id\n * next to the text. Scope: `{ node, depth, expanded }`. Unused, the row\n * shows `node[labelKey]`.\n *\n * Per-node hooks, all off by default:\n * - `expandLabel` / `collapseLabel` take a function `(node) => string` for a\n * name per row, e.g. \"Expand {name}\".\n * - `toggleAttrs` and `rowAttrs` add attributes per node to the expand button\n * and the row (test ids, `data-*`, an active class, a role).\n * - `focusableRows` lets keyboard users reach a row and select it with\n * Enter or Space.\n */\nexport default {\n\tname: 'CnTreeView',\n\tcomponents: { CnTreeNode },\n\tprops: {\n\t\t/**\n\t\t * Tree nodes (root level). Each node:\n\t\t * `{ id, label, children?, icon?, badge? }`. The keys\n\t\t * `id`, `label`, `children` are configurable via the\n\t\t * `*Key` props.\n\t\t *\n\t\t * Defaults to an empty array and is null-guarded (see `safeNodes`)\n\t\t * so a parent that hasn't loaded its data yet — passing `undefined`\n\t\t * or `null` — renders the empty state instead of throwing on\n\t\t * `nodes.length` during render (ADR-062: never crash a detail page).\n\t\t *\n\t\t * @type {Array<object>}\n\t\t */\n\t\tnodes: { type: Array, default: () => [] },\n\t\t/**\n\t\t * Set of currently-expanded node ids. Pass with `.sync`\n\t\t * (or `:expanded-ids` + `@update:expanded-ids`) to control\n\t\t * expansion state from the parent.\n\t\t *\n\t\t * @type {Array<string|number>}\n\t\t */\n\t\texpandedIds: { type: Array, default: () => [] },\n\t\t/**\n\t\t * Currently-selected node id (or null). Node ids are read off\n\t\t * `node[idKey]`, so the same `string | number` domain as `expandedIds`.\n\t\t * Pass with `.sync`.\n\t\t *\n\t\t * @type {string|number|null}\n\t\t */\n\t\tselectedId: { type: [String, Number], default: null },\n\t\t/** Override the `id` key on node objects. */\n\t\tidKey: { type: String, default: 'id' },\n\t\t/** Override the `label` key. */\n\t\tlabelKey: { type: String, default: 'label' },\n\t\t/** Override the `children` key. */\n\t\tchildrenKey: { type: String, default: 'children' },\n\t\t/** Indent per depth (px). */\n\t\tindent: { type: Number, default: 18 },\n\t\t/** Optional title rendered above the tree. */\n\t\ttitle: { type: String, default: '' },\n\t\t/** Optional description rendered under the title. */\n\t\tdescription: { type: String, default: '' },\n\t\t/** Empty-state text when nodes[] is empty. */\n\t\temptyLabel: { type: String, default: 'No items.' },\n\t\t/** A11y label for the expand button, or `(node) => string` for a name per row. */\n\t\texpandLabel: { type: [String, Function], default: 'Expand' },\n\t\t/** A11y label for the collapse button, or `(node) => string` for a name per row. */\n\t\tcollapseLabel: { type: [String, Function], default: 'Collapse' },\n\t\t/**\n\t\t * Extra attributes for each row's expand button, as `(node, depth) => object`,\n\t\t * e.g. a test id per node. Null adds none.\n\t\t */\n\t\ttoggleAttrs: { type: Function, default: null },\n\t\t/**\n\t\t * Extra attributes for each row, as `(node, depth) => object`: a class,\n\t\t * `data-*` attributes, or a `role` and `aria-label`. `class` and `style`\n\t\t * merge with the row's own. Null adds none.\n\t\t */\n\t\trowAttrs: { type: Function, default: null },\n\t\t/**\n\t\t * Makes each row reachable with Tab (`tabindex=\"0\"`); Enter or Space on\n\t\t * the row selects its node, like a click. Off, rows are click-only.\n\t\t */\n\t\tfocusableRows: { type: Boolean, default: false },\n\t\t/** Expand all nodes on mount. */\n\t\texpandAllOnMount: { type: Boolean, default: false },\n\t},\n\n\temits: ['select', 'update:expanded-ids', 'update:selected-id'],\n\tcomputed: {\n\t\t/**\n\t\t * The `nodes` prop coerced to a real array. Guards against a parent\n\t\t * that passes `null` / `undefined` (or a non-array) while its data is\n\t\t * still loading — Vue only applies the prop default for `undefined`,\n\t\t * so an explicit `null` would otherwise reach `nodes.length` and throw\n\t\t * during render.\n\t\t *\n\t\t * @return {Array<object>}\n\t\t */\n\t\tsafeNodes() {\n\t\t\treturn Array.isArray(this.nodes) ? this.nodes : []\n\t\t},\n\n\t\t/**\n\t\t * `expandedIds[]` lifted to an object map for O(1) lookups\n\t\t * inside the recursive node.\n\t\t *\n\t\t * @return {Record<string,true>}\n\t\t */\n\t\texpandedMap() {\n\t\t\tconst out = {}\n\t\t\tfor (const id of this.expandedIds) {\n\t\t\t\tout[id] = true\n\t\t\t}\n\t\t\treturn out\n\t\t},\n\t},\n\n\tmounted() {\n\t\tif (this.expandAllOnMount) {\n\t\t\tconst ids = []\n\t\t\tconst walk = (n) => {\n\t\t\t\tids.push(n[this.idKey])\n\t\t\t\tconst cs = n[this.childrenKey]\n\t\t\t\tif (Array.isArray(cs)) {\n\t\t\t\t\tcs.forEach(walk)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.safeNodes.forEach(walk)\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', ids)\n\t\t}\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Toggle a node's expanded state by id. Emits\n\t\t * `update:expanded-ids` with the new array.\n\t\t *\n\t\t * @param {string|number} id Node id.\n\t\t * @return {void}\n\t\t */\n\t\ttoggleNode(id) {\n\t\t\tconst next = [...this.expandedIds]\n\t\t\tconst idx = next.indexOf(id)\n\t\t\tif (idx >= 0) {\n\t\t\t\tnext.splice(idx, 1)\n\t\t\t} else {\n\t\t\t\tnext.push(id)\n\t\t\t}\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', next)\n\t\t},\n\n\t\t/**\n\t\t * Select a node. Emits `@select` + `update:selected-id`.\n\t\t *\n\t\t * @param {object} node The node.\n\t\t * @return {void}\n\t\t */\n\t\tselectNode(node) {\n\t\t\t// Description above the tag — see the note on `update:expanded-ids`.\n\t\t\t/**\n\t\t\t * `v-model:selected-id` counterpart. Payload is the new id (or null).\n\t\t\t *\n\t\t\t * @event update:selected-id\n\t\t\t */\n\t\t\tthis.$emit('update:selected-id', node[this.idKey])\n\t\t\t/**\n\t\t\t * @event select Emitted on row click. Payload is the\n\t\t\t * selected node object.\n\t\t\t * @type {object}\n\t\t\t */\n\t\t\tthis.$emit('select', node)\n\t\t},\n\n\t\t/**\n\t\t * Programmatically expand every node in the tree.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\texpandAll() {\n\t\t\tconst ids = []\n\t\t\tconst walk = (n) => {\n\t\t\t\tids.push(n[this.idKey])\n\t\t\t\tconst cs = n[this.childrenKey]\n\t\t\t\tif (Array.isArray(cs)) {\n\t\t\t\t\tcs.forEach(walk)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.safeNodes.forEach(walk)\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', ids)\n\t\t},\n\n\t\t/**\n\t\t * Programmatically collapse every node.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tcollapseAll() {\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', [])\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-tree-view {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n}\n\n.cn-tree-view__title {\n\tmargin: 0;\n\tfont-size: 1.1em;\n}\n\n.cn-tree-view__description {\n\tmargin: 4px 0 0;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-tree-view__empty {\n\tcolor: var(--color-text-maxcontrast);\n\tfont-style: italic;\n\tmargin: 16px 0;\n\ttext-align: center;\n}\n\n.cn-tree-view__root {\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n</style>\n"],"names":["_openBlock","_createElementBlock","_toDisplayString","_Fragment","_renderList","_createBlock","_withCtx","_renderSlot","_mergeProps"],"mappings":";;;AACM,EAAA,KAAK,EAAC,cAAe;AAAA,EAAA,aAAW,EAAC,cAAc;;;;AACf,EAAA,KAAK,EAAC,sBAAsB;;;;AAC9C,EAAA,KAAK,EAAC,qBAAqB;;;;AAGtB,EAAA,KAAK,EAAC,2BAA2B;;;;AAKvB,EAAA,KAAK,EAAC,qBAAqB;;;;AAIjD,EAAA,KAAK,EAAC,oBAAmB;AAAE,EAAA,IAAI,EAAC,MAAM;;;;;;AAdlD,EAAA,QAAAA,SAAA,EAAA,EAAAC,kBAAA,CA6CK,OA7CL,UA6CK,EAAA;AA5CU,IAAA,CAAA,MAAA,CAAA,KAAI,IAAK,MAAW,CAAA,WAAA;AAAlC,SAAAD,SAAA,EAAA,EAAAC,kBAAA,CAOQ,UAPR,UAOQ,EAAA;WANG,MAAK,CAAA,KAAA;4BAAfA,kBAEI,CAAA,IAAA,EAFJ,UAEI,EAAAC,eAAA,CADA;;WAEK,MAAW,CAAA,WAAA;4BAApBD,kBAEG,CAAA,GAAA,EAFH,UAEG,EAAAC,eAAA,CADC,MAAU,CAAA,WAAA,CAAA,EAAA,CAAA,YAAA;;;;AAIN,IAAA,CAAA,QAAA,CAAA,SAAS,CAAC,MAAK,KAAA,CAAA;sBAAxBD,kBAEG,CAAA,GAAA,EAFH,UAEG,EAAAC,eAAA,CADC,MAAS,CAAA,UAAA,CAAA,EAAA,CAAA,YAAA;AAGb,SAAAF,SAAA,EAAA,EAAAC,kBAAA,CA8BI,MA9BJ,UA8BI,EAAA;4BA7BHA,kBA4BY,CAAAE,QAAA,EAAA,IAAA,EAAAC,UAAA,CA5Be,QAAS,CAAA,SAAA,EAAA,CAAjB,IAAG,KAAA;iCAAtBC,WA4BY,CAAA,qBAAA,EAAA;cA3BV,GAAG,EAAE,IAAI,CAAC,MAAK,CAAA,KAAA,CAAA;AACf,cAAA,IAAI,EAAE,IAAI;AACV,cAAA,KAAK,EAAE,CAAC;AACR,cAAA,MAAM,EAAE,MAAM,CAAA,MAAA;AACd,cAAA,WAAW,EAAE,QAAW,CAAA,WAAA;AACxB,cAAA,UAAU,EAAE,MAAU,CAAA,UAAA;AACtB,cAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,cAAA,QAAQ,EAAE,MAAQ,CAAA,QAAA;AAClB,cAAA,WAAW,EAAE,MAAW,CAAA,WAAA;AACxB,cAAA,WAAW,EAAE,MAAW,CAAA,WAAA;AACxB,cAAA,aAAa,EAAE,MAAa,CAAA,aAAA;AAC5B,cAAA,WAAW,EAAE,MAAW,CAAA,WAAA;AACxB,cAAA,QAAQ,EAAE,MAAQ,CAAA,QAAA;AAClB,cAAA,aAAa,EAAE,MAAa,CAAA,aAAA;AAC5B,cAAA,QAAM,EAAE,QAAU,CAAA,UAAA;AAClB,cAAA,QAAM,EAAE,QAAU,CAAA,UAAA;;cACR,OAAO,EAAAC,OAAA,CAGjB,CAAqC,KAHb,KAAA;gBAGxBC,UAAqC,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,EAArCC,UAAqC,CAAA,EAAA,OAAA,EAAA,IAAA,EAAA,EAAR,KAAK,CAAA,CAAA;;;;AAEnB,cAAA,CAAA,IAAA,CAAA,MAAM,CAAC,KAAK;;0BAAG,OAAK;AAInC,oBAAA,EAAA,EAAAF,OAAA,CAAA,CAJqC,KAAK,KAAA;sBAI1CC,UAAmC,CAAA,IAAA,CAAA,MAAA,EAAA,OAAA,EAAnCC,UAAmC,CAAA,EAAA,OAAA,EAAA,IAAA,EAAA,EAAR,KAAK,CAAA,CAAA;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"CnTreeView.vue3.js","sources":["../../../../src/components/CnTreeView/CnTreeView.vue?vue&type=template&id=5e1d084c&lang.js"],"sourcesContent":["<template>\n\t<div class=\"cn-tree-view\" data-testid=\"cn-tree-view\">\n\t\t<header v-if=\"title || description\" class=\"cn-tree-view__header\">\n\t\t\t<h3 v-if=\"title\" class=\"cn-tree-view__title\">\n\t\t\t\t{{ title }}\n\t\t\t</h3>\n\t\t\t<p v-if=\"description\" class=\"cn-tree-view__description\">\n\t\t\t\t{{ description }}\n\t\t\t</p>\n\t\t</header>\n\n\t\t<p v-if=\"safeNodes.length === 0\" class=\"cn-tree-view__empty\">\n\t\t\t{{ emptyLabel }}\n\t\t</p>\n\n\t\t<Draggable v-else-if=\"reorderable\"\n\t\t\t:modelValue=\"safeNodes\"\n\t\t\t:itemKey=\"idKey\"\n\t\t\ttag=\"ul\"\n\t\t\tclass=\"cn-tree-view__root\"\n\t\t\trole=\"tree\"\n\t\t\thandle=\".cn-tree-node__handle\"\n\t\t\t@change=\"onRootDragChange\">\n\t\t\t<template #item=\"{ element: node, index }\">\n\t\t\t\t<CnTreeNode :node=\"node\"\n\t\t\t\t\t:depth=\"0\"\n\t\t\t\t\t:indent=\"indent\"\n\t\t\t\t\t:expandedIds=\"expandedMap\"\n\t\t\t\t\t:selectedId=\"selectedId\"\n\t\t\t\t\t:idKey=\"idKey\"\n\t\t\t\t\t:labelKey=\"labelKey\"\n\t\t\t\t\t:childrenKey=\"childrenKey\"\n\t\t\t\t\t:expandLabel=\"expandLabel\"\n\t\t\t\t\t:collapseLabel=\"collapseLabel\"\n\t\t\t\t\t:toggleAttrs=\"toggleAttrs\"\n\t\t\t\t\t:rowAttrs=\"rowAttrs\"\n\t\t\t\t\t:focusableRows=\"focusableRows\"\n\t\t\t\t\treorderable\n\t\t\t\t\t:reorderLabels=\"reorderTexts\"\n\t\t\t\t\t:siblingIndex=\"index\"\n\t\t\t\t\t:siblingCount=\"safeNodes.length\"\n\t\t\t\t\t@toggle=\"toggleNode\"\n\t\t\t\t\t@select=\"selectNode\"\n\t\t\t\t\t@move=\"moveNode\">\n\t\t\t\t\t<template #actions=\"scope\">\n\t\t\t\t\t\t<slot name=\"actions\" v-bind=\"scope\" />\n\t\t\t\t\t</template>\n\t\t\t\t\t<template v-if=\"$slots.label\" #label=\"scope\">\n\t\t\t\t\t\t<slot name=\"label\" v-bind=\"scope\" />\n\t\t\t\t\t</template>\n\t\t\t\t</CnTreeNode>\n\t\t\t</template>\n\t\t</Draggable>\n\t\t<ul v-else class=\"cn-tree-view__root\" role=\"tree\">\n\t\t\t<CnTreeNode v-for=\"node in safeNodes\"\n\t\t\t\t:key=\"node[idKey]\"\n\t\t\t\t:node=\"node\"\n\t\t\t\t:depth=\"0\"\n\t\t\t\t:indent=\"indent\"\n\t\t\t\t:expandedIds=\"expandedMap\"\n\t\t\t\t:selectedId=\"selectedId\"\n\t\t\t\t:idKey=\"idKey\"\n\t\t\t\t:labelKey=\"labelKey\"\n\t\t\t\t:childrenKey=\"childrenKey\"\n\t\t\t\t:expandLabel=\"expandLabel\"\n\t\t\t\t:collapseLabel=\"collapseLabel\"\n\t\t\t\t:toggleAttrs=\"toggleAttrs\"\n\t\t\t\t:rowAttrs=\"rowAttrs\"\n\t\t\t\t:focusableRows=\"focusableRows\"\n\t\t\t\t@toggle=\"toggleNode\"\n\t\t\t\t@select=\"selectNode\">\n\t\t\t\t<template #actions=\"scope\">\n\t\t\t\t\t<!-- @slot actions Per-row actions. Scope:\n\t\t\t\t\t { node, depth }. -->\n\t\t\t\t\t<slot name=\"actions\" v-bind=\"scope\" />\n\t\t\t\t</template>\n\t\t\t\t<template v-if=\"$slots.label\" #label=\"scope\">\n\t\t\t\t\t<!-- @slot label Replaces the label text of every row. Scope:\n\t\t\t\t\t { node, depth, expanded }. Unused, the row shows\n\t\t\t\t\t `node[labelKey]`. -->\n\t\t\t\t\t<slot name=\"label\" v-bind=\"scope\" />\n\t\t\t\t</template>\n\t\t\t</CnTreeNode>\n\t\t</ul>\n\n\t\t<p v-for=\"key in statusSlots\"\n\t\t\t:key=\"key\"\n\t\t\tclass=\"cn-tree-view__status\"\n\t\t\t:class=\"{ 'hidden-visually': !statusText }\"\n\t\t\trole=\"status\"\n\t\t\tdata-testid=\"cn-tree-view-status\">\n\t\t\t{{ statusText }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\nimport Draggable from 'vuedraggable'\nimport CnTreeNode from './CnTreeNode.vue'\n\n/**\n * CnTreeView — Recursive hierarchical tree widget. Renders nested\n * nodes with click-to-expand carets, optional badges + icons,\n * inline per-row actions slot, and select-on-click semantics.\n *\n * With `reorderable` a row moves among its siblings by dragging or with Move\n * up and Move down. Both say the new position, and the buttons keep focus, so\n * the tree works without a pointer (WCAG 2.2 SC 2.1.1, 2.5.7). Moving between\n * parents is not offered. The host owns the tree through `v-model:nodes`, and\n * saves on `move`.\n *\n * ```vue\n * <CnTreeView\n * :nodes=\"[\n * { id: 1, label: 'Knowledge base', children: [\n * { id: 2, label: 'How-tos', children: [\n * { id: 3, label: 'Reset password' },\n * ] },\n * { id: 4, label: 'Reference' },\n * ] },\n * ]\"\n * v-model:expanded-ids=\"expanded\"\n * v-model:selected-id=\"selected\"\n * @select=\"onSelect\" />\n * ```\n *\n * Slots:\n * - `#actions` — inline per-row actions (e.g. edit / delete\n * buttons). Scope: `{ node, depth }`.\n * - `#label` — the label of every row, for an icon, a marker or a test id\n * next to the text. Scope: `{ node, depth, expanded }`. Unused, the row\n * shows `node[labelKey]`.\n *\n * Per-node hooks, all off by default:\n * - `expandLabel` / `collapseLabel` take a function `(node) => string` for a\n * name per row, e.g. \"Expand {name}\".\n * - `toggleAttrs` and `rowAttrs` add attributes per node to the expand button\n * and the row (test ids, `data-*`, an active class, a role).\n * - `focusableRows` lets keyboard users reach a row and select it with\n * Enter or Space.\n */\nexport default {\n\tname: 'CnTreeView',\n\tcomponents: { CnTreeNode, Draggable },\n\tprops: {\n\t\t/**\n\t\t * Tree nodes (root level). Each node:\n\t\t * `{ id, label, children?, icon?, badge? }`. The keys\n\t\t * `id`, `label`, `children` are configurable via the\n\t\t * `*Key` props.\n\t\t *\n\t\t * Defaults to an empty array and is null-guarded (see `safeNodes`)\n\t\t * so a parent that hasn't loaded its data yet — passing `undefined`\n\t\t * or `null` — renders the empty state instead of throwing on\n\t\t * `nodes.length` during render (ADR-062: never crash a detail page).\n\t\t *\n\t\t * @type {Array<object>}\n\t\t */\n\t\tnodes: { type: Array, default: () => [] },\n\t\t/**\n\t\t * Set of currently-expanded node ids. Pass with `.sync`\n\t\t * (or `:expanded-ids` + `@update:expanded-ids`) to control\n\t\t * expansion state from the parent.\n\t\t *\n\t\t * @type {Array<string|number>}\n\t\t */\n\t\texpandedIds: { type: Array, default: () => [] },\n\t\t/**\n\t\t * Currently-selected node id (or null). Node ids are read off\n\t\t * `node[idKey]`, so the same `string | number` domain as `expandedIds`.\n\t\t * Pass with `.sync`.\n\t\t *\n\t\t * @type {string|number|null}\n\t\t */\n\t\tselectedId: { type: [String, Number], default: null },\n\t\t/** Override the `id` key on node objects. */\n\t\tidKey: { type: String, default: 'id' },\n\t\t/** Override the `label` key. */\n\t\tlabelKey: { type: String, default: 'label' },\n\t\t/** Override the `children` key. */\n\t\tchildrenKey: { type: String, default: 'children' },\n\t\t/** Indent per depth (px). */\n\t\tindent: { type: Number, default: 18 },\n\t\t/** Optional title rendered above the tree. */\n\t\ttitle: { type: String, default: '' },\n\t\t/** Optional description rendered under the title. */\n\t\tdescription: { type: String, default: '' },\n\t\t/** Empty-state text when nodes[] is empty. */\n\t\temptyLabel: { type: String, default: 'No items.' },\n\t\t/** A11y label for the expand button, or `(node) => string` for a name per row. */\n\t\texpandLabel: { type: [String, Function], default: 'Expand' },\n\t\t/** A11y label for the collapse button, or `(node) => string` for a name per row. */\n\t\tcollapseLabel: { type: [String, Function], default: 'Collapse' },\n\t\t/**\n\t\t * Extra attributes for each row's expand button, as `(node, depth) => object`,\n\t\t * e.g. a test id per node. Null adds none.\n\t\t */\n\t\ttoggleAttrs: { type: Function, default: null },\n\t\t/**\n\t\t * Extra attributes for each row, as `(node, depth) => object`: a class,\n\t\t * `data-*` attributes, or a `role` and `aria-label`. `class` and `style`\n\t\t * merge with the row's own. Null adds none.\n\t\t */\n\t\trowAttrs: { type: Function, default: null },\n\t\t/**\n\t\t * Makes each row reachable with Tab (`tabindex=\"0\"`); Enter or Space on\n\t\t * the row selects its node, like a click. Off, rows are click-only.\n\t\t */\n\t\tfocusableRows: { type: Boolean, default: false },\n\t\t/** Rows can be moved among their siblings: a drag handle, Move up and Move down. */\n\t\treorderable: { type: Boolean, default: false },\n\t\t/**\n\t\t * Replacement texts for reordering, already translated: `moveUp`, `moveDown`, `drag`,\n\t\t * `controlName` (`{action}`, `{label}`), `moved` (`{label}`, `{position}`, `{total}`).\n\t\t */\n\t\treorderLabels: { type: Object, default: () => ({}) },\n\t\t/** A status the host sets after saving a move, such as \"Saved\"; it replaces the spoken position. */\n\t\tmoveStatus: { type: String, default: '' },\n\t\t/** Expand all nodes on mount. */\n\t\texpandAllOnMount: { type: Boolean, default: false },\n\t},\n\n\temits: ['select', 'update:expanded-ids', 'update:selected-id', 'update:nodes', 'move'],\n\n\tdata() {\n\t\treturn {\n\t\t\tannouncement: '',\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t/** @return {object} The texts of the move controls, with library defaults. */\n\t\treorderTexts() {\n\t\t\treturn {\n\t\t\t\tmoveUp: t('nextcloud-vue', 'Move up'),\n\t\t\t\tmoveDown: t('nextcloud-vue', 'Move down'),\n\t\t\t\tdrag: t('nextcloud-vue', 'Drag to reorder'),\n\t\t\t\tcontrolName: t('nextcloud-vue', '{action}: {label}'),\n\t\t\t\tmoved: t('nextcloud-vue', '{label} moved to position {position} of {total}.'),\n\t\t\t\t...this.reorderLabels,\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * One entry when the status line shows. A `v-for` leaves no placeholder in the\n\t\t * markup when off, which `v-if` would.\n\t\t *\n\t\t * @return {string[]} The keys.\n\t\t */\n\t\tstatusSlots() {\n\t\t\treturn this.reorderable ? ['status'] : []\n\t\t},\n\n\t\t/** @return {string} What the status line says. */\n\t\tstatusText() {\n\t\t\treturn this.moveStatus || this.announcement\n\t\t},\n\n\t\t/**\n\t\t * The `nodes` prop coerced to a real array. Guards against a parent\n\t\t * that passes `null` / `undefined` (or a non-array) while its data is\n\t\t * still loading — Vue only applies the prop default for `undefined`,\n\t\t * so an explicit `null` would otherwise reach `nodes.length` and throw\n\t\t * during render.\n\t\t *\n\t\t * @return {Array<object>}\n\t\t */\n\t\tsafeNodes() {\n\t\t\treturn Array.isArray(this.nodes) ? this.nodes : []\n\t\t},\n\n\t\t/**\n\t\t * `expandedIds[]` lifted to an object map for O(1) lookups\n\t\t * inside the recursive node.\n\t\t *\n\t\t * @return {Record<string,true>}\n\t\t */\n\t\texpandedMap() {\n\t\t\tconst out = {}\n\t\t\tfor (const id of this.expandedIds) {\n\t\t\t\tout[id] = true\n\t\t\t}\n\t\t\treturn out\n\t\t},\n\t},\n\n\tmounted() {\n\t\tif (this.expandAllOnMount) {\n\t\t\tconst ids = []\n\t\t\tconst walk = (n) => {\n\t\t\t\tids.push(n[this.idKey])\n\t\t\t\tconst cs = n[this.childrenKey]\n\t\t\t\tif (Array.isArray(cs)) {\n\t\t\t\t\tcs.forEach(walk)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.safeNodes.forEach(walk)\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', ids)\n\t\t}\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Toggle a node's expanded state by id. Emits\n\t\t * `update:expanded-ids` with the new array.\n\t\t *\n\t\t * @param {string|number} id Node id.\n\t\t * @return {void}\n\t\t */\n\t\ttoggleNode(id) {\n\t\t\tconst next = [...this.expandedIds]\n\t\t\tconst idx = next.indexOf(id)\n\t\t\tif (idx >= 0) {\n\t\t\t\tnext.splice(idx, 1)\n\t\t\t} else {\n\t\t\t\tnext.push(id)\n\t\t\t}\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', next)\n\t\t},\n\n\t\t/**\n\t\t * A row at the root was dragged to another place.\n\t\t *\n\t\t * @param {{moved?: {element: object, oldIndex: number, newIndex: number}}} change What the drag changed.\n\t\t * @return {void}\n\t\t */\n\t\tonRootDragChange({ moved } = {}) {\n\t\t\tif (moved) {\n\t\t\t\tthis.moveNode({ node: moved.element, parentId: null, from: moved.oldIndex, to: moved.newIndex })\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * The nodes with one list of siblings in its new order. Only the path to\n\t\t * that list is copied.\n\t\t *\n\t\t * @param {Array<object>} list The nodes at this level.\n\t\t * @param {{parentId: string|number|null, from: number, to: number}} move The move.\n\t\t * @return {Array<object>} The new nodes.\n\t\t */\n\t\tmovedIn(list, { parentId, from, to }) {\n\t\t\tif (parentId === null) {\n\t\t\t\tconst next = [...list]\n\t\t\t\tnext.splice(to, 0, next.splice(from, 1)[0])\n\t\t\t\treturn next\n\t\t\t}\n\t\t\treturn list.map((node) => {\n\t\t\t\tconst children = node[this.childrenKey]\n\t\t\t\tif (!Array.isArray(children)) {\n\t\t\t\t\treturn node\n\t\t\t\t}\n\t\t\t\tconst reordered = node[this.idKey] === parentId\n\t\t\t\t\t? this.movedIn(children, { parentId: null, from, to })\n\t\t\t\t\t: this.movedIn(children, { parentId, from, to })\n\t\t\t\treturn { ...node, [this.childrenKey]: reordered }\n\t\t\t})\n\t\t},\n\n\t\t/**\n\t\t * The list of siblings a parent holds.\n\t\t *\n\t\t * @param {Array<object>} list The nodes to look in.\n\t\t * @param {string|number|null} parentId The parent, or null for the root.\n\t\t * @return {Array<object>|null} Its children.\n\t\t */\n\t\tsiblingsOf(list, parentId) {\n\t\t\tif (parentId === null) {\n\t\t\t\treturn list\n\t\t\t}\n\t\t\tfor (const node of list) {\n\t\t\t\tconst children = node[this.childrenKey]\n\t\t\t\tif (Array.isArray(children)) {\n\t\t\t\t\tconst found = node[this.idKey] === parentId ? children : this.siblingsOf(children, parentId)\n\t\t\t\t\tif (found) {\n\t\t\t\t\t\treturn found\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\n\t\t/**\n\t\t * Apply a move: give the host the new tree, say where the node landed, and\n\t\t * after a button keep focus on that button, or on the other one at the end.\n\t\t *\n\t\t * @param {{node: object, parentId: string|number|null, from: number, to: number, byButton?: boolean}} move The move.\n\t\t * @return {void}\n\t\t */\n\t\tmoveNode({ node, parentId, from, to, byButton }) {\n\t\t\tconst nodes = this.movedIn(this.safeNodes, { parentId, from, to })\n\t\t\tconst siblings = this.siblingsOf(nodes, parentId)\n\t\t\tif (!siblings || to < 0 || to >= siblings.length) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.$emit('update:nodes', nodes)\n\t\t\t/**\n\t\t\t * @event move A row moved. Save the order here.\n\t\t\t * @type {{node: object, parentId: string|number|null, from: number, to: number, siblings: Array<object>}}\n\t\t\t */\n\t\t\tthis.$emit('move', { node, parentId, from, to, siblings })\n\t\t\tthis.announcement = this.reorderTexts.moved\n\t\t\t\t.replace('{label}', String(node[this.labelKey] ?? ''))\n\t\t\t\t.replace('{position}', String(to + 1))\n\t\t\t\t.replace('{total}', String(siblings.length))\n\t\t\tif (byButton) {\n\t\t\t\tthis.$nextTick(() => this.focusMoveButton(node[this.idKey], to < from ? 'up' : 'down'))\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Focus a row's move button, or its other one when that is disabled.\n\t\t *\n\t\t * @param {string|number} id The node.\n\t\t * @param {string} direction `up` or `down`.\n\t\t * @return {void}\n\t\t */\n\t\tfocusMoveButton(id, direction) {\n\t\t\tconst row = [...this.$el.querySelectorAll('.cn-tree-node')]\n\t\t\t\t.find((element) => element.dataset.nodeId === String(id))\n\t\t\t\t?.querySelector(':scope > .cn-tree-node__row')\n\t\t\tconst used = row?.querySelector(`[data-move=\"${direction}\"]`)\n\t\t\tconst other = row?.querySelector(`[data-move=\"${direction === 'up' ? 'down' : 'up'}\"]`)\n\t\t\tconst target = used && !used.disabled ? used : other\n\t\t\ttarget?.focus()\n\t\t},\n\n\t\t/**\n\t\t * Select a node. Emits `@select` + `update:selected-id`.\n\t\t *\n\t\t * @param {object} node The node.\n\t\t * @return {void}\n\t\t */\n\t\tselectNode(node) {\n\t\t\t// Description above the tag — see the note on `update:expanded-ids`.\n\t\t\t/**\n\t\t\t * `v-model:selected-id` counterpart. Payload is the new id (or null).\n\t\t\t *\n\t\t\t * @event update:selected-id\n\t\t\t */\n\t\t\tthis.$emit('update:selected-id', node[this.idKey])\n\t\t\t/**\n\t\t\t * @event select Emitted on row click. Payload is the\n\t\t\t * selected node object.\n\t\t\t * @type {object}\n\t\t\t */\n\t\t\tthis.$emit('select', node)\n\t\t},\n\n\t\t/**\n\t\t * Programmatically expand every node in the tree.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\texpandAll() {\n\t\t\tconst ids = []\n\t\t\tconst walk = (n) => {\n\t\t\t\tids.push(n[this.idKey])\n\t\t\t\tconst cs = n[this.childrenKey]\n\t\t\t\tif (Array.isArray(cs)) {\n\t\t\t\t\tcs.forEach(walk)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.safeNodes.forEach(walk)\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', ids)\n\t\t},\n\n\t\t/**\n\t\t * Programmatically collapse every node.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tcollapseAll() {\n\t\t\t// Description goes ABOVE `@event`, not inline after it:\n\t\t\t// vue-docgen-api's event-name splitter stops at the first `:`, so\n\t\t\t// `@event update:expanded-ids <description>` is read as one long\n\t\t\t// event NAME and the generated docs show an empty description.\n\t\t\t/**\n\t\t\t * `v-model:expanded-ids` counterpart. Payload is the new full set.\n\t\t\t *\n\t\t\t * @event update:expanded-ids\n\t\t\t */\n\t\t\tthis.$emit('update:expanded-ids', [])\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-tree-view {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n}\n\n.cn-tree-view__title {\n\tmargin: 0;\n\tfont-size: 1.1em;\n}\n\n.cn-tree-view__description {\n\tmargin: 4px 0 0;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-tree-view__status {\n\tcolor: var(--color-text-maxcontrast);\n\tmargin: 8px 0 0;\n}\n\n.cn-tree-view__empty {\n\tcolor: var(--color-text-maxcontrast);\n\tfont-style: italic;\n\tmargin: 16px 0;\n\ttext-align: center;\n}\n\n.cn-tree-view__root {\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n</style>\n"],"names":["_openBlock","_createElementBlock","_toDisplayString","_createBlock","_withCtx","_createVNode","_renderSlot","_Fragment","_renderList","_mergeProps","_normalizeClass"],"mappings":";;;AACM,EAAA,KAAK,EAAC,cAAe;AAAA,EAAA,aAAW,EAAC,cAAc;;;;AACf,EAAA,KAAK,EAAC,sBAAsB;;;;AAC9C,EAAA,KAAK,EAAC,qBAAqB;;;;AA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Pc,QAAW,CAAA,WAAA,EAAA,CAAlB,GAAE,KAAA;2BAAZP,kBAOG,CAAA,GAAA,EAAA;AAND,QAAA,GAAG,EAAE,GAAG;QACT,KAAK,EAAAS,cAAA,CAAA,CAAC,sBAAqB,EAAA,EAAA,iBAAA,EAAA,CACG;AAC9B,QAAA,IAAI,EAAC,QAAO;AACZ,QAAA,aAAW,EAAC,qBAAqB;yBAC9B,QAAS,CAAA,UAAA,CAAA,EAAA,CAAA,mBAAA,CAAA;;;;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export { SAFE_MARKDOWN_DOMPURIFY_CONFIG } from './utils/safeMarkdownDompurifyCon
|
|
|
22
22
|
export { FOLDER_COLORS, FOLDER_ICONS, folderColorTint, resolveFolderColor, resolveFolderIcon, searchFolderIcons } from './utils/folderCustomization.js';
|
|
23
23
|
export { currentTheme, useCurrentTheme } from './composables/useCurrentTheme.js';
|
|
24
24
|
export { ROADMAP_LABEL_BLOCKLIST } from './utils/roadmapLabelBlocklist.js';
|
|
25
|
+
export { encodeQr } from './utils/qr.js';
|
|
25
26
|
export { humaniseRuleKey, notificationRuleLabel } from './utils/notificationRuleLabel.js';
|
|
26
27
|
export { readTransitionInputs } from './utils/transitionInputs.js';
|
|
27
28
|
export { conditionSentence, formatConditionValue, operatorLabel, operatorTakesValue, operatorsForType } from './components/CnConditionListEditor/conditionOperators.js';
|
|
@@ -79,6 +80,7 @@ export { default as CnAttentionFlagWidget } from './components/CnAttentionFlagWi
|
|
|
79
80
|
export { default as CnAuditTrailCard } from './components/CnAuditTrailCard/CnAuditTrailCard.vue.js';
|
|
80
81
|
export { default as CnAuditTrailWidget } from './components/CnAuditTrailWidget/CnAuditTrailWidget.vue.js';
|
|
81
82
|
export { default as CnBannerWidget } from './components/CnBannerWidget/CnBannerWidget.vue.js';
|
|
83
|
+
export { default as CnBlockListEditor } from './components/CnBlockListEditor/CnBlockListEditor.vue.js';
|
|
82
84
|
export { default as CnBoardView } from './components/CnBoardView/CnBoardView.vue.js';
|
|
83
85
|
export { default as CnBodySections } from './components/CnBodySections/CnBodySections.vue.js';
|
|
84
86
|
export { default as CnBreadcrumbs } from './components/CnBreadcrumbs/CnBreadcrumbs.vue.js';
|
|
@@ -100,6 +102,7 @@ export { default as CnChildRecordsField } from './components/CnChildRecordsField
|
|
|
100
102
|
export { default as CnChipListManager } from './components/CnChipListManager/CnChipListManager.vue.js';
|
|
101
103
|
export { default as CnChipsFieldWidget } from './components/CnChipsFieldWidget/CnChipsFieldWidget.vue.js';
|
|
102
104
|
export { default as CnChoiceCards } from './components/CnChoiceCards/CnChoiceCards.vue.js';
|
|
105
|
+
export { default as CnChoiceMatrix } from './components/CnChoiceMatrix/CnChoiceMatrix.vue.js';
|
|
103
106
|
export { default as CnChoicePickerWidget } from './components/CnChoicePickerWidget/CnChoicePickerWidget.vue.js';
|
|
104
107
|
export { default as CnColorPicker } from './components/CnColorPicker/CnColorPicker.vue.js';
|
|
105
108
|
export { default as CnCommandPalette } from './components/CnCommandPalette/CnCommandPalette.vue.js';
|
|
@@ -147,6 +150,7 @@ export { default as CnDeviceFramesWidget } from './components/CnDeviceFramesWidg
|
|
|
147
150
|
export { default as CnDialog } from './components/CnDialog/CnDialog.vue.js';
|
|
148
151
|
export { default as CnDialogActions } from './components/CnDialogActions/CnDialogActions.vue.js';
|
|
149
152
|
export { default as CnDialogHeader } from './components/CnDialogHeader/CnDialogHeader.vue.js';
|
|
153
|
+
export { default as CnDisplayScreen } from './components/CnDisplayScreen/CnDisplayScreen.vue.js';
|
|
150
154
|
export { default as CnDividerWidget } from './components/CnDividerWidget/CnDividerWidget.vue.js';
|
|
151
155
|
export { default as CnDividerWidgetForm } from './components/CnDividerWidgetForm/CnDividerWidgetForm.vue.js';
|
|
152
156
|
export { default as CnDocumentReviewList } from './components/CnDocumentReviewList/CnDocumentReviewList.vue.js';
|
|
@@ -205,6 +209,7 @@ export { default as CnFormDialog } from './components/CnFormDialog/CnFormDialog.
|
|
|
205
209
|
export { default as CnFormWidgetBase } from './components/CnFormWidgetBase/CnFormWidgetBase.vue.js';
|
|
206
210
|
export { default as CnGaugeWidget } from './components/CnGaugeWidget/CnGaugeWidget.vue.js';
|
|
207
211
|
export { default as CnGaugeWidgetForm } from './components/CnGaugeWidgetForm/CnGaugeWidgetForm.vue.js';
|
|
212
|
+
export { default as CnGeoCaptureField } from './components/CnGeoCaptureField/CnGeoCaptureField.vue.js';
|
|
208
213
|
export { default as CnGraphCanvas } from './components/CnGraphCanvas/CnGraphCanvas.vue.js';
|
|
209
214
|
export { default as CnGroupedCardsWidget } from './components/CnGroupedCardsWidget/CnGroupedCardsWidget.vue.js';
|
|
210
215
|
export { default as CnGroupedMenu } from './components/CnGroupedMenu/CnGroupedMenu.vue.js';
|
|
@@ -315,6 +320,7 @@ export { default as CnProgressBar } from './components/CnProgressBar/CnProgressB
|
|
|
315
320
|
export { default as CnPropertiesTab } from './components/CnAdvancedFormDialog/CnPropertiesTab.vue.js';
|
|
316
321
|
export { default as CnPropertySourceField } from './components/CnPropertySourceField/CnPropertySourceField.vue.js';
|
|
317
322
|
export { default as CnPropertyValueCell } from './components/CnAdvancedFormDialog/CnPropertyValueCell.vue.js';
|
|
323
|
+
export { default as CnQrCode } from './components/CnQrCode/CnQrCode.vue.js';
|
|
318
324
|
export { default as CnQuickFilterBar } from './components/CnQuickFilterBar/CnQuickFilterBar.vue.js';
|
|
319
325
|
export { default as CnQuicklinksWidget } from './components/CnQuicklinksWidget/CnQuicklinksWidget.vue.js';
|
|
320
326
|
export { default as CnQuicklinksWidgetForm } from './components/CnQuicklinksWidgetForm/CnQuicklinksWidgetForm.vue.js';
|
|
@@ -334,6 +340,7 @@ export { default as CnRelationLinkModal } from './dialogs/CnRelationLinkModal.vu
|
|
|
334
340
|
export { default as CnRelationshipGraph } from './components/CnRelationshipGraph/CnRelationshipGraph.vue.js';
|
|
335
341
|
export { default as CnResourceSelect } from './components/CnResourceSelect/CnResourceSelect.vue.js';
|
|
336
342
|
export { default as CnRetentionWidget } from './components/CnRetentionWidget/CnRetentionWidget.vue.js';
|
|
343
|
+
export { default as CnRevealField } from './components/CnRevealField/CnRevealField.vue.js';
|
|
337
344
|
export { default as CnRichSubmitDialog } from './components/CnRichSubmitDialog/CnRichSubmitDialog.vue.js';
|
|
338
345
|
export { default as CnRoadmapItem } from './components/CnRoadmapItem/CnRoadmapItem.vue.js';
|
|
339
346
|
export { default as CnRoadmapTab } from './components/CnRoadmapTab/CnRoadmapTab.vue.js';
|
|
@@ -411,6 +418,7 @@ export { default as CnTimelineStages } from './components/CnTimelineStages/CnTim
|
|
|
411
418
|
export { default as CnTimelineView } from './components/CnTimelineView/CnTimelineView.vue.js';
|
|
412
419
|
export { default as CnTimelineWidget } from './components/CnTimelineWidget/CnTimelineWidget.vue.js';
|
|
413
420
|
export { default as CnToggleTableWidget } from './components/CnToggleTableWidget/CnToggleTableWidget.vue.js';
|
|
421
|
+
export { default as CnTransferCard } from './components/CnTransferCard/CnTransferCard.vue.js';
|
|
414
422
|
export { default as CnTransitionInputFields } from './components/CnTransitionInputFields/CnTransitionInputFields.vue.js';
|
|
415
423
|
export { default as CnTranslatedBadge } from './components/CnTranslatedBadge/CnTranslatedBadge.vue.js';
|
|
416
424
|
export { default as CnTreeView } from './components/CnTreeView/CnTreeView.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
|
@@ -198,6 +198,19 @@ var translations = {
|
|
|
198
198
|
"Start over": "Start over",
|
|
199
199
|
"Continue where you left off": "Continue where you left off",
|
|
200
200
|
Active: "Active",
|
|
201
|
+
"Add block": "Add block",
|
|
202
|
+
"Block type": "Block type",
|
|
203
|
+
Blocks: "Blocks",
|
|
204
|
+
"No blocks yet.": "No blocks yet.",
|
|
205
|
+
"Drag to change the order": "Drag to change the order",
|
|
206
|
+
Keep: "Keep",
|
|
207
|
+
"Draft kept.": "Draft kept.",
|
|
208
|
+
"Draft discarded.": "Draft discarded.",
|
|
209
|
+
"Block removed.": "Block removed.",
|
|
210
|
+
"{type} block added at position {position}.": "{type} block added at position {position}.",
|
|
211
|
+
"Block moved to position {position} of {total}.": "Block moved to position {position} of {total}.",
|
|
212
|
+
"Block {position} is still a draft. Keep or discard it first.": "Block {position} is still a draft. Keep or discard it first.",
|
|
213
|
+
"{action}: {type} block {position}": "{action}: {type} block {position}",
|
|
201
214
|
Appraisal: "Appraisal",
|
|
202
215
|
Archiving: "Archiving",
|
|
203
216
|
Basis: "Basis",
|
|
@@ -498,6 +511,11 @@ var translations = {
|
|
|
498
511
|
"Inversed by": "Inversed by",
|
|
499
512
|
"Inversed by property": "Inversed by property",
|
|
500
513
|
"Invalid JSON format": "Invalid JSON format",
|
|
514
|
+
"This text is too long for a QR code.": "This text is too long for a QR code.",
|
|
515
|
+
"This code could not be refreshed and may no longer work.": "This code could not be refreshed and may no longer work.",
|
|
516
|
+
"QR code for: {label}": "QR code for: {label}",
|
|
517
|
+
"QR code": "QR code",
|
|
518
|
+
"Changes in {seconds} s": "Changes in {seconds} s",
|
|
501
519
|
"Invalid schema reference: Expected string, got number ({value}). This will be sent to backend as-is.": "Invalid schema reference: Expected string, got number ({value}). This will be sent to backend as-is.",
|
|
502
520
|
"IRI reference": "IRI reference",
|
|
503
521
|
Item: "Item",
|
|
@@ -798,6 +816,9 @@ var translations = {
|
|
|
798
816
|
"Visible to end users": "Visible to end users",
|
|
799
817
|
Widget: "Widget",
|
|
800
818
|
"When on (default), logged-in users qualify for any rule that targets the `public` group. Disable to make authenticated access strictly gated by explicit group memberships — anonymous users are unaffected either way.": "When on (default), logged-in users qualify for any rule that targets the `public` group. Disable to make authenticated access strictly gated by explicit group memberships — anonymous users are unaffected either way.",
|
|
819
|
+
"updated at {time}": "updated at {time}",
|
|
820
|
+
"Cannot reach the server. This shows what it knew at {time}.": "Cannot reach the server. This shows what it knew at {time}.",
|
|
821
|
+
"Cannot reach the server. This may be out of date.": "Cannot reach the server. This may be out of date.",
|
|
801
822
|
"Widget not available": "Widget not available",
|
|
802
823
|
"Write a note…": "Write a note…",
|
|
803
824
|
"Write back": "Write back",
|
|
@@ -898,6 +919,7 @@ var translations = {
|
|
|
898
919
|
"Connecting...": "Connecting...",
|
|
899
920
|
"Loading conversations...": "Loading conversations...",
|
|
900
921
|
"Could not connect to AI service": "Could not connect to AI service",
|
|
922
|
+
"Nothing to set yet.": "Nothing to set yet.",
|
|
901
923
|
"Tool: {toolId}": "Tool: {toolId}",
|
|
902
924
|
"Reply was cancelled": "Reply was cancelled",
|
|
903
925
|
"No cards linked yet": "No cards linked yet",
|
|
@@ -1098,6 +1120,8 @@ var translations = {
|
|
|
1098
1120
|
"Link automation": "Link automation",
|
|
1099
1121
|
"Unlink automation": "Unlink automation",
|
|
1100
1122
|
"Search automations": "Search automations",
|
|
1123
|
+
"Nothing to choose from.": "Nothing to choose from.",
|
|
1124
|
+
"Time left: {time}": "Time left: {time}",
|
|
1101
1125
|
"No automations available": "No automations available",
|
|
1102
1126
|
"No automations linked yet": "No automations linked yet",
|
|
1103
1127
|
"Create an automation in NC Workflow settings first.": "Create an automation in NC Workflow settings first.",
|
|
@@ -1298,6 +1322,8 @@ var translations = {
|
|
|
1298
1322
|
"Provided by": "Provided by",
|
|
1299
1323
|
"this app": "this app",
|
|
1300
1324
|
"another app": "another app",
|
|
1325
|
+
"Start timer": "Start timer",
|
|
1326
|
+
"Stop timer": "Stop timer",
|
|
1301
1327
|
"the platform": "the platform",
|
|
1302
1328
|
"We matched this row to its feature by judgement.": "We matched this row to its feature by judgement.",
|
|
1303
1329
|
"No capability matches {query}": "No capability matches {query}",
|
|
@@ -1398,6 +1424,9 @@ var translations = {
|
|
|
1398
1424
|
"Reset columns": "Reset columns",
|
|
1399
1425
|
"Open the copy": "Open the copy",
|
|
1400
1426
|
"{title} was not linked: {reason}": "{title} was not linked: {reason}",
|
|
1427
|
+
"Drag to reorder": "Drag to reorder",
|
|
1428
|
+
"{action}: {label}": "{action}: {label}",
|
|
1429
|
+
"{label} moved to position {position} of {total}.": "{label} moved to position {position} of {total}.",
|
|
1401
1430
|
"no reason given": "no reason given",
|
|
1402
1431
|
"Links to take along": "Links to take along",
|
|
1403
1432
|
"Links are not copied yet. Only the fields are copied.": "Links are not copied yet. Only the fields are copied.",
|
|
@@ -1498,6 +1527,10 @@ var translations = {
|
|
|
1498
1527
|
"Register {id}": "Register {id}",
|
|
1499
1528
|
"Schema {id}": "Schema {id}",
|
|
1500
1529
|
"The registers could not be loaded: {reason}": "The registers could not be loaded: {reason}",
|
|
1530
|
+
"Address (by hand)": "Address (by hand)",
|
|
1531
|
+
"Looking for your location…": "Looking for your location…",
|
|
1532
|
+
"No location found. You can carry on, or add the address by hand.": "No location found. You can carry on, or add the address by hand.",
|
|
1533
|
+
"Location is inaccurate (±{accuracy} m). Wait for a better signal or add the address by hand.": "Location is inaccurate (±{accuracy} m). Wait for a better signal or add the address by hand.",
|
|
1501
1534
|
"no connection": "no connection",
|
|
1502
1535
|
"Confirm action": "Confirm action",
|
|
1503
1536
|
"Are you sure you want to continue?": "Are you sure you want to continue?",
|
|
@@ -1697,7 +1730,14 @@ var translations = {
|
|
|
1697
1730
|
"This flow has no published version, so it cannot run. Publish a version first.": "This flow has no published version, so it cannot run. Publish a version first.",
|
|
1698
1731
|
"This version cannot be published while a step has nowhere to send its work.": "This version cannot be published while a step has nowhere to send its work.",
|
|
1699
1732
|
"This version cannot be removed while a run is still using it.": "This version cannot be removed while a run is still using it.",
|
|
1733
|
+
"Score: {score} of {max}": "Score: {score} of {max}",
|
|
1734
|
+
"(weight {weight})": "(weight {weight})",
|
|
1735
|
+
"{points} point": "{points} point",
|
|
1736
|
+
"{points} points": "{points} points",
|
|
1700
1737
|
"That change was refused by the flow's current state.": "That change was refused by the flow's current state.",
|
|
1738
|
+
"The connection dropped. It carries on from where it stopped.": "The connection dropped. It carries on from where it stopped.",
|
|
1739
|
+
Resume: "Resume",
|
|
1740
|
+
"{done} {unit} of {total} {unit}": "{done} {unit} of {total} {unit}",
|
|
1701
1741
|
"This flow could not be found. It may have been deleted, or you may not have access to it.": "This flow could not be found. It may have been deleted, or you may not have access to it.",
|
|
1702
1742
|
"This version is read-only. Create a draft to change its steps; the published version keeps running until you publish the draft.": "This version is read-only. Create a draft to change its steps; the published version keeps running until you publish the draft.",
|
|
1703
1743
|
"The list of available steps could not be read, so no steps can be added. This does not mean the instance has none.": "The list of available steps could not be read, so no steps can be added. This does not mean the instance has none.",
|
|
@@ -1901,6 +1941,12 @@ var translations = {
|
|
|
1901
1941
|
"You are not allowed to see this plan.": "You are not allowed to see this plan.",
|
|
1902
1942
|
"The plan could not be loaded. Try again.": "The plan could not be loaded. Try again.",
|
|
1903
1943
|
Start: "Start",
|
|
1944
|
+
Reset: "Reset",
|
|
1945
|
+
Timer: "Timer",
|
|
1946
|
+
"Close to the norm": "Close to the norm",
|
|
1947
|
+
"Over the norm": "Over the norm",
|
|
1948
|
+
"{elapsed} of {norm}": "{elapsed} of {norm}",
|
|
1949
|
+
"Enter minutes, or minutes and seconds as 04:23.": "Enter minutes, or minutes and seconds as 04:23.",
|
|
1904
1950
|
Stop: "Stop",
|
|
1905
1951
|
"Can start": "Can start",
|
|
1906
1952
|
Stopped: "Stopped",
|
|
@@ -2609,6 +2655,7 @@ var translations = {
|
|
|
2609
2655
|
Condition: "Condition",
|
|
2610
2656
|
"These conditions are kept as written": "These conditions are kept as written",
|
|
2611
2657
|
"This group has no conditions yet.": "This group has no conditions yet.",
|
|
2658
|
+
Rank: "Rank",
|
|
2612
2659
|
"Keep this one": "Keep this one",
|
|
2613
2660
|
"Keep the server one": "Keep the server one",
|
|
2614
2661
|
"Conflict: which version do you keep?": "Conflict: which version do you keep?",
|
|
@@ -2616,7 +2663,22 @@ var translations = {
|
|
|
2616
2663
|
"The conflicts could not be read.": "The conflicts could not be read.",
|
|
2617
2664
|
"This choice was not saved.": "This choice was not saved.",
|
|
2618
2665
|
"On this device: \"{value}\"": "On this device: \"{value}\"",
|
|
2619
|
-
"On the server: \"{value}\"": "On the server: \"{value}\""
|
|
2666
|
+
"On the server: \"{value}\"": "On the server: \"{value}\"",
|
|
2667
|
+
Hide: "Hide",
|
|
2668
|
+
"Hide {label}": "Hide {label}",
|
|
2669
|
+
"Why do you need to see this?": "Why do you need to see this?",
|
|
2670
|
+
"The value could not be shown. Try again later.": "The value could not be shown. Try again later.",
|
|
2671
|
+
"Add from a list": "Add from a list",
|
|
2672
|
+
"Scan or type a code": "Scan or type a code",
|
|
2673
|
+
"No record has the code {code}.": "No record has the code {code}.",
|
|
2674
|
+
"More than one record has the code {code}.": "More than one record has the code {code}.",
|
|
2675
|
+
"The code {code} could not be looked up.": "The code {code} could not be looked up.",
|
|
2676
|
+
"Added {name}.": "Added {name}.",
|
|
2677
|
+
"Insert variable": "Insert variable",
|
|
2678
|
+
"Unknown variable: {names}.": "Unknown variable: {names}.",
|
|
2679
|
+
"Unknown variables: {names}.": "Unknown variables: {names}.",
|
|
2680
|
+
"Remove {row}": "Remove {row}",
|
|
2681
|
+
"Removed {row}.": "Removed {row}."
|
|
2620
2682
|
};
|
|
2621
2683
|
var plurals = {
|
|
2622
2684
|
"{count} member": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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