@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.
Files changed (180) hide show
  1. package/dist/esm/components/CnActionDialog/CnActionDialog.vue.js +1 -1
  2. package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js +114 -11
  3. package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
  4. package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js +67 -17
  5. package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
  6. package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue.js +9 -0
  7. package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue.js.map +1 -0
  8. package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue2.js +352 -0
  9. package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue2.js.map +1 -0
  10. package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue3.js +266 -0
  11. package/dist/esm/components/CnBlockListEditor/CnBlockListEditor.vue3.js.map +1 -0
  12. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue.js +1 -1
  13. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js +257 -7
  14. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue2.js.map +1 -1
  15. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js +113 -59
  16. package/dist/esm/components/CnChecklistRunWidget/CnChecklistRunWidget.vue3.js.map +1 -1
  17. package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue.js +1 -1
  18. package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue2.js +210 -5
  19. package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue2.js.map +1 -1
  20. package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue3.js +134 -46
  21. package/dist/esm/components/CnChildRecordsField/CnChildRecordsField.vue3.js.map +1 -1
  22. package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue.js +9 -0
  23. package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue.js.map +1 -0
  24. package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue2.js +385 -0
  25. package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue2.js.map +1 -0
  26. package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue3.js +277 -0
  27. package/dist/esm/components/CnChoiceMatrix/CnChoiceMatrix.vue3.js.map +1 -0
  28. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue.js +1 -1
  29. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js +175 -20
  30. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue2.js.map +1 -1
  31. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js +30 -8
  32. package/dist/esm/components/CnCountdownWidget/CnCountdownWidget.vue3.js.map +1 -1
  33. package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue.js +1 -1
  34. package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue2.js +72 -6
  35. package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue2.js.map +1 -1
  36. package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue3.js +48 -14
  37. package/dist/esm/components/CnCreateFormWidget/CnCreateFormWidget.vue3.js.map +1 -1
  38. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue.js +1 -1
  39. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js +162 -9
  40. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue2.js.map +1 -1
  41. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js +63 -23
  42. package/dist/esm/components/CnDataMatrix/CnDataMatrix.vue3.js.map +1 -1
  43. package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue.js +9 -0
  44. package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue.js.map +1 -0
  45. package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue2.js +175 -0
  46. package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue2.js.map +1 -0
  47. package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue3.js +114 -0
  48. package/dist/esm/components/CnDisplayScreen/CnDisplayScreen.vue3.js.map +1 -0
  49. package/dist/esm/components/CnDurationField/CnDurationField.vue.js +1 -1
  50. package/dist/esm/components/CnDurationField/CnDurationField.vue2.js +218 -4
  51. package/dist/esm/components/CnDurationField/CnDurationField.vue2.js.map +1 -1
  52. package/dist/esm/components/CnDurationField/CnDurationField.vue3.js +133 -44
  53. package/dist/esm/components/CnDurationField/CnDurationField.vue3.js.map +1 -1
  54. package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
  55. package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
  56. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +5 -1
  57. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
  58. package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue.js +9 -0
  59. package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue.js.map +1 -0
  60. package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue2.js +113 -0
  61. package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue2.js.map +1 -0
  62. package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue3.js +43 -0
  63. package/dist/esm/components/CnGeoCaptureField/CnGeoCaptureField.vue3.js.map +1 -0
  64. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue.js +1 -1
  65. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js +110 -1
  66. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js.map +1 -1
  67. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue3.js +60 -18
  68. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue3.js.map +1 -1
  69. package/dist/esm/components/CnMenuTreeNode/CnMenuTreeNode.vue2.js +2 -2
  70. package/dist/esm/components/CnMenuTreeNode/CnMenuTreeNode.vue2.js.map +1 -1
  71. package/dist/esm/components/CnObjectKanban/CnObjectKanban.vue2.js +2 -2
  72. package/dist/esm/components/CnObjectKanban/CnObjectKanban.vue2.js.map +1 -1
  73. package/dist/esm/components/CnPageTreeNode/CnPageTreeNode.vue2.js +2 -2
  74. package/dist/esm/components/CnPageTreeNode/CnPageTreeNode.vue2.js.map +1 -1
  75. package/dist/esm/components/CnQrCode/CnQrCode.vue.js +9 -0
  76. package/dist/esm/components/CnQrCode/CnQrCode.vue.js.map +1 -0
  77. package/dist/esm/components/CnQrCode/CnQrCode.vue2.js +241 -0
  78. package/dist/esm/components/CnQrCode/CnQrCode.vue2.js.map +1 -0
  79. package/dist/esm/components/CnQrCode/CnQrCode.vue3.js +75 -0
  80. package/dist/esm/components/CnQrCode/CnQrCode.vue3.js.map +1 -0
  81. package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue.js +1 -1
  82. package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue2.js +34 -3
  83. package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue2.js.map +1 -1
  84. package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue3.js +81 -19
  85. package/dist/esm/components/CnReadinessChecklist/CnReadinessChecklist.vue3.js.map +1 -1
  86. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
  87. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +11 -0
  88. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
  89. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +112 -88
  90. package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
  91. package/dist/esm/components/CnRevealField/CnRevealField.vue.js +9 -0
  92. package/dist/esm/components/CnRevealField/CnRevealField.vue.js.map +1 -0
  93. package/dist/esm/components/CnRevealField/CnRevealField.vue2.js +157 -0
  94. package/dist/esm/components/CnRevealField/CnRevealField.vue2.js.map +1 -0
  95. package/dist/esm/components/CnRevealField/CnRevealField.vue3.js +116 -0
  96. package/dist/esm/components/CnRevealField/CnRevealField.vue3.js.map +1 -0
  97. package/dist/esm/components/CnTextWidget/CnTextWidget.vue.js +1 -1
  98. package/dist/esm/components/CnTextWidget/CnTextWidget.vue2.js +43 -3
  99. package/dist/esm/components/CnTextWidget/CnTextWidget.vue2.js.map +1 -1
  100. package/dist/esm/components/CnTextWidget/CnTextWidget.vue3.js +19 -12
  101. package/dist/esm/components/CnTextWidget/CnTextWidget.vue3.js.map +1 -1
  102. package/dist/esm/components/CnTransferCard/CnTransferCard.vue.js +9 -0
  103. package/dist/esm/components/CnTransferCard/CnTransferCard.vue.js.map +1 -0
  104. package/dist/esm/components/CnTransferCard/CnTransferCard.vue2.js +87 -0
  105. package/dist/esm/components/CnTransferCard/CnTransferCard.vue2.js.map +1 -0
  106. package/dist/esm/components/CnTransferCard/CnTransferCard.vue3.js +126 -0
  107. package/dist/esm/components/CnTransferCard/CnTransferCard.vue3.js.map +1 -0
  108. package/dist/esm/components/CnTreeView/CnTreeNode.vue.js +1 -1
  109. package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js +66 -1
  110. package/dist/esm/components/CnTreeView/CnTreeNode.vue2.js.map +1 -1
  111. package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js +129 -29
  112. package/dist/esm/components/CnTreeView/CnTreeNode.vue3.js.map +1 -1
  113. package/dist/esm/components/CnTreeView/CnTreeView.vue.js +1 -1
  114. package/dist/esm/components/CnTreeView/CnTreeView.vue2.js +158 -6
  115. package/dist/esm/components/CnTreeView/CnTreeView.vue2.js.map +1 -1
  116. package/dist/esm/components/CnTreeView/CnTreeView.vue3.js +100 -39
  117. package/dist/esm/components/CnTreeView/CnTreeView.vue3.js.map +1 -1
  118. package/dist/esm/index.js +8 -0
  119. package/dist/esm/index.js.map +1 -1
  120. package/dist/esm/l10n/en.json.js +63 -1
  121. package/dist/esm/l10n/en.json.js.map +1 -1
  122. package/dist/esm/l10n/nl.json.js +63 -1
  123. package/dist/esm/l10n/nl.json.js.map +1 -1
  124. package/dist/esm/library-style.js +1 -1
  125. package/dist/esm/nextcloud-vue.css +1134 -499
  126. package/dist/esm/node_modules/vuedraggable/dist/vuedraggable.umd.js +2 -2
  127. package/dist/esm/utils/captureLocation.js +32 -0
  128. package/dist/esm/utils/captureLocation.js.map +1 -0
  129. package/dist/esm/utils/childRecordTotals.js +157 -0
  130. package/dist/esm/utils/childRecordTotals.js.map +1 -0
  131. package/dist/esm/utils/isoDuration.js +51 -1
  132. package/dist/esm/utils/isoDuration.js.map +1 -1
  133. package/dist/esm/utils/qr.js +649 -0
  134. package/dist/esm/utils/qr.js.map +1 -0
  135. package/dist/esm/utils/schema.js +3 -0
  136. package/dist/esm/utils/schema.js.map +1 -1
  137. package/dist/esm/utils/templateVariables.js +54 -0
  138. package/dist/esm/utils/templateVariables.js.map +1 -0
  139. package/dist/nextcloud-vue.cjs.js +20307 -14544
  140. package/dist/nextcloud-vue.cjs.js.map +2 -2
  141. package/dist/nextcloud-vue.css +1134 -499
  142. package/l10n/en.json +63 -1
  143. package/l10n/nl.json +63 -1
  144. package/package.json +1 -1
  145. package/src/components/CnActionDialog/CnActionDialog.vue +156 -9
  146. package/src/components/CnBlockListEditor/CnBlockListEditor.vue +615 -0
  147. package/src/components/CnBlockListEditor/index.js +9 -0
  148. package/src/components/CnChecklistRunWidget/CnChecklistRunWidget.vue +311 -10
  149. package/src/components/CnChildRecordsField/CnChildRecordsField.vue +306 -15
  150. package/src/components/CnChoiceMatrix/CnChoiceMatrix.vue +710 -0
  151. package/src/components/CnChoiceMatrix/index.js +9 -0
  152. package/src/components/CnCountdownWidget/CnCountdownWidget.vue +223 -28
  153. package/src/components/CnCreateFormWidget/CnCreateFormWidget.vue +97 -6
  154. package/src/components/CnDataMatrix/CnDataMatrix.vue +199 -13
  155. package/src/components/CnDisplayScreen/CnDisplayScreen.vue +308 -0
  156. package/src/components/CnDisplayScreen/index.js +9 -0
  157. package/src/components/CnDurationField/CnDurationField.vue +330 -5
  158. package/src/components/CnFormDialog/CnFormDialog.vue +4 -0
  159. package/src/components/CnGeoCaptureField/CnGeoCaptureField.vue +148 -0
  160. package/src/components/CnGeoCaptureField/index.js +9 -0
  161. package/src/components/CnMarkdownEditor/CnMarkdownEditor.vue +139 -1
  162. package/src/components/CnQrCode/CnQrCode.vue +321 -0
  163. package/src/components/CnQrCode/index.js +9 -0
  164. package/src/components/CnReadinessChecklist/CnReadinessChecklist.vue +80 -3
  165. package/src/components/CnRecordListWidget/CnRecordListWidget.vue +34 -1
  166. package/src/components/CnRevealField/CnRevealField.vue +273 -0
  167. package/src/components/CnRevealField/index.js +9 -0
  168. package/src/components/CnTextWidget/CnTextWidget.vue +62 -3
  169. package/src/components/CnTransferCard/CnTransferCard.vue +205 -0
  170. package/src/components/CnTransferCard/index.js +9 -0
  171. package/src/components/CnTreeView/CnTreeNode.vue +145 -2
  172. package/src/components/CnTreeView/CnTreeView.vue +210 -6
  173. package/src/components/index.js +7 -0
  174. package/src/index.js +8 -0
  175. package/src/utils/captureLocation.js +29 -0
  176. package/src/utils/childRecordTotals.js +153 -0
  177. package/src/utils/isoDuration.js +50 -0
  178. package/src/utils/qr.js +681 -0
  179. package/src/utils/schema.js +3 -0
  180. package/src/utils/templateVariables.js +51 -0
package/l10n/en.json CHANGED
@@ -199,6 +199,19 @@
199
199
  "Start over": "Start over",
200
200
  "Continue where you left off": "Continue where you left off",
201
201
  "Active": "Active",
202
+ "Add block": "Add block",
203
+ "Block type": "Block type",
204
+ "Blocks": "Blocks",
205
+ "No blocks yet.": "No blocks yet.",
206
+ "Drag to change the order": "Drag to change the order",
207
+ "Keep": "Keep",
208
+ "Draft kept.": "Draft kept.",
209
+ "Draft discarded.": "Draft discarded.",
210
+ "Block removed.": "Block removed.",
211
+ "{type} block added at position {position}.": "{type} block added at position {position}.",
212
+ "Block moved to position {position} of {total}.": "Block moved to position {position} of {total}.",
213
+ "Block {position} is still a draft. Keep or discard it first.": "Block {position} is still a draft. Keep or discard it first.",
214
+ "{action}: {type} block {position}": "{action}: {type} block {position}",
202
215
  "Appraisal": "Appraisal",
203
216
  "Archiving": "Archiving",
204
217
  "Basis": "Basis",
@@ -499,6 +512,11 @@
499
512
  "Inversed by": "Inversed by",
500
513
  "Inversed by property": "Inversed by property",
501
514
  "Invalid JSON format": "Invalid JSON format",
515
+ "This text is too long for a QR code.": "This text is too long for a QR code.",
516
+ "This code could not be refreshed and may no longer work.": "This code could not be refreshed and may no longer work.",
517
+ "QR code for: {label}": "QR code for: {label}",
518
+ "QR code": "QR code",
519
+ "Changes in {seconds} s": "Changes in {seconds} s",
502
520
  "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.",
503
521
  "IRI reference": "IRI reference",
504
522
  "Item": "Item",
@@ -799,6 +817,9 @@
799
817
  "Visible to end users": "Visible to end users",
800
818
  "Widget": "Widget",
801
819
  "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.",
820
+ "updated at {time}": "updated at {time}",
821
+ "Cannot reach the server. This shows what it knew at {time}.": "Cannot reach the server. This shows what it knew at {time}.",
822
+ "Cannot reach the server. This may be out of date.": "Cannot reach the server. This may be out of date.",
802
823
  "Widget not available": "Widget not available",
803
824
  "Write a note…": "Write a note…",
804
825
  "Write back": "Write back",
@@ -899,6 +920,7 @@
899
920
  "Connecting...": "Connecting...",
900
921
  "Loading conversations...": "Loading conversations...",
901
922
  "Could not connect to AI service": "Could not connect to AI service",
923
+ "Nothing to set yet.": "Nothing to set yet.",
902
924
  "Tool: {toolId}": "Tool: {toolId}",
903
925
  "Reply was cancelled": "Reply was cancelled",
904
926
  "No cards linked yet": "No cards linked yet",
@@ -1099,6 +1121,8 @@
1099
1121
  "Link automation": "Link automation",
1100
1122
  "Unlink automation": "Unlink automation",
1101
1123
  "Search automations": "Search automations",
1124
+ "Nothing to choose from.": "Nothing to choose from.",
1125
+ "Time left: {time}": "Time left: {time}",
1102
1126
  "No automations available": "No automations available",
1103
1127
  "No automations linked yet": "No automations linked yet",
1104
1128
  "Create an automation in NC Workflow settings first.": "Create an automation in NC Workflow settings first.",
@@ -1299,6 +1323,8 @@
1299
1323
  "Provided by": "Provided by",
1300
1324
  "this app": "this app",
1301
1325
  "another app": "another app",
1326
+ "Start timer": "Start timer",
1327
+ "Stop timer": "Stop timer",
1302
1328
  "the platform": "the platform",
1303
1329
  "We matched this row to its feature by judgement.": "We matched this row to its feature by judgement.",
1304
1330
  "No capability matches {query}": "No capability matches {query}",
@@ -1399,6 +1425,9 @@
1399
1425
  "Reset columns": "Reset columns",
1400
1426
  "Open the copy": "Open the copy",
1401
1427
  "{title} was not linked: {reason}": "{title} was not linked: {reason}",
1428
+ "Drag to reorder": "Drag to reorder",
1429
+ "{action}: {label}": "{action}: {label}",
1430
+ "{label} moved to position {position} of {total}.": "{label} moved to position {position} of {total}.",
1402
1431
  "no reason given": "no reason given",
1403
1432
  "Links to take along": "Links to take along",
1404
1433
  "Links are not copied yet. Only the fields are copied.": "Links are not copied yet. Only the fields are copied.",
@@ -1499,6 +1528,10 @@
1499
1528
  "Register {id}": "Register {id}",
1500
1529
  "Schema {id}": "Schema {id}",
1501
1530
  "The registers could not be loaded: {reason}": "The registers could not be loaded: {reason}",
1531
+ "Address (by hand)": "Address (by hand)",
1532
+ "Looking for your location…": "Looking for your location…",
1533
+ "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.",
1534
+ "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.",
1502
1535
  "no connection": "no connection",
1503
1536
  "Confirm action": "Confirm action",
1504
1537
  "Are you sure you want to continue?": "Are you sure you want to continue?",
@@ -1698,7 +1731,14 @@
1698
1731
  "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.",
1699
1732
  "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.",
1700
1733
  "This version cannot be removed while a run is still using it.": "This version cannot be removed while a run is still using it.",
1734
+ "Score: {score} of {max}": "Score: {score} of {max}",
1735
+ "(weight {weight})": "(weight {weight})",
1736
+ "{points} point": "{points} point",
1737
+ "{points} points": "{points} points",
1701
1738
  "That change was refused by the flow's current state.": "That change was refused by the flow's current state.",
1739
+ "The connection dropped. It carries on from where it stopped.": "The connection dropped. It carries on from where it stopped.",
1740
+ "Resume": "Resume",
1741
+ "{done} {unit} of {total} {unit}": "{done} {unit} of {total} {unit}",
1702
1742
  "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.",
1703
1743
  "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.",
1704
1744
  "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.",
@@ -1902,6 +1942,12 @@
1902
1942
  "You are not allowed to see this plan.": "You are not allowed to see this plan.",
1903
1943
  "The plan could not be loaded. Try again.": "The plan could not be loaded. Try again.",
1904
1944
  "Start": "Start",
1945
+ "Reset": "Reset",
1946
+ "Timer": "Timer",
1947
+ "Close to the norm": "Close to the norm",
1948
+ "Over the norm": "Over the norm",
1949
+ "{elapsed} of {norm}": "{elapsed} of {norm}",
1950
+ "Enter minutes, or minutes and seconds as 04:23.": "Enter minutes, or minutes and seconds as 04:23.",
1905
1951
  "Stop": "Stop",
1906
1952
  "Can start": "Can start",
1907
1953
  "Stopped": "Stopped",
@@ -2610,6 +2656,7 @@
2610
2656
  "Condition": "Condition",
2611
2657
  "These conditions are kept as written": "These conditions are kept as written",
2612
2658
  "This group has no conditions yet.": "This group has no conditions yet.",
2659
+ "Rank": "Rank",
2613
2660
  "Keep this one": "Keep this one",
2614
2661
  "Keep the server one": "Keep the server one",
2615
2662
  "Conflict: which version do you keep?": "Conflict: which version do you keep?",
@@ -2617,7 +2664,22 @@
2617
2664
  "The conflicts could not be read.": "The conflicts could not be read.",
2618
2665
  "This choice was not saved.": "This choice was not saved.",
2619
2666
  "On this device: \"{value}\"": "On this device: \"{value}\"",
2620
- "On the server: \"{value}\"": "On the server: \"{value}\""
2667
+ "On the server: \"{value}\"": "On the server: \"{value}\"",
2668
+ "Hide": "Hide",
2669
+ "Hide {label}": "Hide {label}",
2670
+ "Why do you need to see this?": "Why do you need to see this?",
2671
+ "The value could not be shown. Try again later.": "The value could not be shown. Try again later.",
2672
+ "Add from a list": "Add from a list",
2673
+ "Scan or type a code": "Scan or type a code",
2674
+ "No record has the code {code}.": "No record has the code {code}.",
2675
+ "More than one record has the code {code}.": "More than one record has the code {code}.",
2676
+ "The code {code} could not be looked up.": "The code {code} could not be looked up.",
2677
+ "Added {name}.": "Added {name}.",
2678
+ "Insert variable": "Insert variable",
2679
+ "Unknown variable: {names}.": "Unknown variable: {names}.",
2680
+ "Unknown variables: {names}.": "Unknown variables: {names}.",
2681
+ "Remove {row}": "Remove {row}",
2682
+ "Removed {row}.": "Removed {row}."
2621
2683
  },
2622
2684
  "plurals": {
2623
2685
  "{count} member": [
package/l10n/nl.json CHANGED
@@ -199,6 +199,19 @@
199
199
  "Ownership": "Eigendom",
200
200
  "Record archival metadata": "Archiefmetadata van het object",
201
201
  "Record state": "Archiefstatus",
202
+ "Add block": "Blok toevoegen",
203
+ "Block type": "Soort blok",
204
+ "Blocks": "Blokken",
205
+ "No blocks yet.": "Nog geen blokken.",
206
+ "Drag to change the order": "Sleep om de volgorde te wijzigen",
207
+ "Keep": "Bewaren",
208
+ "Draft kept.": "Concept bewaard.",
209
+ "Draft discarded.": "Concept weggegooid.",
210
+ "Block removed.": "Blok verwijderd.",
211
+ "{type} block added at position {position}.": "Blok {type} toegevoegd op positie {position}.",
212
+ "Block moved to position {position} of {total}.": "Blok verplaatst naar positie {position} van {total}.",
213
+ "Block {position} is still a draft. Keep or discard it first.": "Blok {position} is nog een concept. Bewaar of verwijder het eerst.",
214
+ "{action}: {type} block {position}": "{action}: blok {type} {position}",
202
215
  "Recorded on the object": "Vastgelegd op het object",
203
216
  "Retention period": "Bewaartermijn",
204
217
  "Schema archival annotation": "Archiveringsannotatie van het schema",
@@ -499,6 +512,11 @@
499
512
  "Hostname": "Hostnaam",
500
513
  "ID": "ID",
501
514
  "ID / UUID:": "ID / UUID:",
515
+ "This text is too long for a QR code.": "Deze tekst is te lang voor een QR-code.",
516
+ "This code could not be refreshed and may no longer work.": "Deze code kon niet worden vernieuwd en werkt misschien niet meer.",
517
+ "QR code for: {label}": "QR-code voor: {label}",
518
+ "QR code": "QR-code",
519
+ "Changes in {seconds} s": "Verandert over {seconds} s",
502
520
  "IDN email": "IDN e-mail",
503
521
  "image, document, audio, video": "afbeelding, document, audio, video",
504
522
  "IDN hostname": "IDN-hostnaam",
@@ -799,6 +817,9 @@
799
817
  "Title *": "Titel *",
800
818
  "Type": "Type",
801
819
  "Type to search…": "Typ om te zoeken…",
820
+ "updated at {time}": "bijgewerkt om {time}",
821
+ "Cannot reach the server. This shows what it knew at {time}.": "De server is niet bereikbaar. Dit is de stand van {time}.",
822
+ "Cannot reach the server. This may be out of date.": "De server is niet bereikbaar. Dit kan verouderd zijn.",
802
823
  "Type value and press Enter": "Typ een waarde en druk op Enter",
803
824
  "(technical) Property name": "(technische) Eigenschapsnaam",
804
825
  "false — field must not exist": "false — veld mag niet bestaan",
@@ -899,6 +920,7 @@
899
920
  "Start new chat": "Nieuwe chat starten",
900
921
  "History": "Historie",
901
922
  "No audit entries yet": "Nog geen wijzigingen vastgelegd",
923
+ "Nothing to set yet.": "Nog niets in te stellen.",
902
924
  "Meetings": "Afspraken",
903
925
  "No meetings": "Geen afspraken",
904
926
  "Open in Calendar": "Openen in Agenda",
@@ -1099,6 +1121,8 @@
1099
1121
  "Create new project": "Nieuw project aanmaken",
1100
1122
  "Search projects": "Projecten zoeken",
1101
1123
  "No projects available": "Geen projecten beschikbaar",
1124
+ "Nothing to choose from.": "Niets om uit te kiezen.",
1125
+ "Time left: {time}": "Resterende tijd: {time}",
1102
1126
  "Create a project in NC Costs first, or use the create dialog.": "Maak eerst een project aan in NC Kosten, of gebruik het aanmaakvenster.",
1103
1127
  "NC Costs is not installed.": "NC Kosten is niet geïnstalleerd.",
1104
1128
  "Link project": "Project koppelen",
@@ -1299,6 +1323,8 @@
1299
1323
  "This run recorded no steps.": "Deze uitvoering heeft geen stappen vastgelegd.",
1300
1324
  "Replay on the canvas": "Opnieuw afspelen op het canvas",
1301
1325
  "Add a step": "Een stap toevoegen",
1326
+ "Start timer": "Timer starten",
1327
+ "Stop timer": "Timer stoppen",
1302
1328
  "Version number. A semantic version appears once the flow is published.": "Versienummer. Een semantische versie verschijnt zodra de flow is gepubliceerd.",
1303
1329
  "Numbered when semantic versions were introduced, not derived from a comparison.": "Genummerd toen semantische versies werden ingevoerd, niet afgeleid uit een vergelijking.",
1304
1330
  "A major version means a step, a connection or a setting was removed.": "Een major versie betekent dat een stap, een verbinding of een instelling is verwijderd.",
@@ -1399,6 +1425,9 @@
1399
1425
  "Show capabilities": "Toon functionaliteiten",
1400
1426
  "Provided by": "Geleverd door",
1401
1427
  "this app": "deze app",
1428
+ "Drag to reorder": "Sleep om te ordenen",
1429
+ "{action}: {label}": "{action}: {label}",
1430
+ "{label} moved to position {position} of {total}.": "{label} verplaatst naar positie {position} van {total}.",
1402
1431
  "another app": "andere app",
1403
1432
  "the platform": "het platform",
1404
1433
  "We matched this row to its feature by judgement.": "Wij hebben deze rij op inschatting aan een functie gekoppeld.",
@@ -1499,6 +1528,10 @@
1499
1528
  "Unpin {column}": "{column} losmaken",
1500
1529
  "Reset columns": "Kolommen herstellen",
1501
1530
  "Open the copy": "De kopie openen",
1531
+ "Address (by hand)": "Adres (handmatig)",
1532
+ "Looking for your location…": "Je locatie wordt gezocht…",
1533
+ "No location found. You can carry on, or add the address by hand.": "Geen locatie gevonden. Je kunt doorgaan, of het adres handmatig toevoegen.",
1534
+ "Location is inaccurate (±{accuracy} m). Wait for a better signal or add the address by hand.": "Locatie onnauwkeurig (±{accuracy} m). Wacht op beter signaal of voeg het adres handmatig toe.",
1502
1535
  "{title} was not linked: {reason}": "{title} is niet gekoppeld: {reason}",
1503
1536
  "no reason given": "geen reden opgegeven",
1504
1537
  "Links to take along": "Koppelingen meenemen",
@@ -1698,7 +1731,14 @@
1698
1731
  "Action completed.": "Actie uitgevoerd.",
1699
1732
  "Run queued": "Run staat in de wachtrij",
1700
1733
  "Agent runtime unavailable": "De agent-runtime is niet beschikbaar",
1734
+ "Score: {score} of {max}": "Score: {score} van {max}",
1735
+ "(weight {weight})": "(weging {weight})",
1736
+ "{points} point": "{points} punt",
1737
+ "{points} points": "{points} punten",
1701
1738
  "Run completed.": "Run voltooid.",
1739
+ "The connection dropped. It carries on from where it stopped.": "De verbinding viel weg. Het gaat verder waar het was.",
1740
+ "Resume": "Hervatten",
1741
+ "{done} {unit} of {total} {unit}": "{done} {unit} van {total} {unit}",
1702
1742
  "Edit with Buildiq": "Bewerken met Buildiq",
1703
1743
  "Save page": "Pagina opslaan",
1704
1744
  "Edit in Buildiq": "Bewerken in Buildiq",
@@ -2114,6 +2154,12 @@
2114
2154
  "You are not allowed to see this plan.": "Je mag dit plan niet zien.",
2115
2155
  "The plan could not be loaded. Try again.": "Het plan kon niet worden geladen. Probeer het opnieuw.",
2116
2156
  "Start": "Starten",
2157
+ "Reset": "Reset",
2158
+ "Timer": "Timer",
2159
+ "Close to the norm": "Bijna aan de norm",
2160
+ "Over the norm": "Over de norm",
2161
+ "{elapsed} of {norm}": "{elapsed} van {norm}",
2162
+ "Enter minutes, or minutes and seconds as 04:23.": "Vul minuten in, of minuten en seconden als 04:23.",
2117
2163
  "Stop": "Stoppen",
2118
2164
  "Can start": "Kan starten",
2119
2165
  "Stopped": "Gestopt",
@@ -2875,6 +2921,7 @@
2875
2921
  "Condition": "Voorwaarde",
2876
2922
  "These conditions are kept as written": "Deze voorwaarden blijven zoals ze zijn geschreven",
2877
2923
  "This group has no conditions yet.": "Deze groep heeft nog geen voorwaarden.",
2924
+ "Rank": "Rang",
2878
2925
  "Keep this one": "Deze houden",
2879
2926
  "Keep the server one": "Die van de server",
2880
2927
  "Conflict: which version do you keep?": "Conflict: welke versie houdt u?",
@@ -2882,7 +2929,22 @@
2882
2929
  "The conflicts could not be read.": "De conflicten konden niet worden gelezen.",
2883
2930
  "This choice was not saved.": "Deze keuze is niet opgeslagen.",
2884
2931
  "On this device: \"{value}\"": "Op dit toestel: \"{value}\"",
2885
- "On the server: \"{value}\"": "Op de server: \"{value}\""
2932
+ "On the server: \"{value}\"": "Op de server: \"{value}\"",
2933
+ "Hide": "Verbergen",
2934
+ "Hide {label}": "{label} verbergen",
2935
+ "Why do you need to see this?": "Waarom wil je dit zien?",
2936
+ "The value could not be shown. Try again later.": "De waarde kon niet worden getoond. Probeer het later opnieuw.",
2937
+ "Add from a list": "Toevoegen uit een lijst",
2938
+ "Scan or type a code": "Scan of typ een code",
2939
+ "No record has the code {code}.": "Geen record heeft de code {code}.",
2940
+ "More than one record has the code {code}.": "Meer dan één record heeft de code {code}.",
2941
+ "The code {code} could not be looked up.": "De code {code} kon niet worden opgezocht.",
2942
+ "Added {name}.": "{name} toegevoegd.",
2943
+ "Insert variable": "Variabele invoegen",
2944
+ "Unknown variable: {names}.": "Onbekende variabele: {names}.",
2945
+ "Unknown variables: {names}.": "Onbekende variabelen: {names}.",
2946
+ "Remove {row}": "{row} verwijderen",
2947
+ "Removed {row}.": "{row} verwijderd."
2886
2948
  },
2887
2949
  "plurals": {
2888
2950
  "{count} member": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/nextcloud-vue",
3
- "version": "2.174.0",
3
+ "version": "2.175.0",
4
4
  "description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
5
5
  "homepage": "https://github.com/ConductionNL/nextcloud-vue#readme",
6
6
  "bugs": {
@@ -103,6 +103,35 @@
103
103
  :placeholder="fill(field.placeholder)"
104
104
  @search="(typed) => onSearch(field, typed)"
105
105
  @update:modelValue="(value) => setValue(field.field, value && typeof value === 'object' ? value.id : value)" />
106
+ <!-- Several items to tick, listed from the record or the config
107
+ (DqZaakDialogen "Documenten die meegaan"). -->
108
+ <fieldset v-else-if="field.type === 'checks'"
109
+ class="cn-action-dialog__checks"
110
+ :data-testid="`cn-action-dialog-checks-${field.field}`">
111
+ <legend class="cn-action-dialog__checks-legend">
112
+ {{ fill(field.label) || field.field }}
113
+ </legend>
114
+ <NcCheckboxRadioSwitch v-for="item in checkItems(field)"
115
+ :key="item.value"
116
+ :modelValue="checksValue(field).includes(item.value)"
117
+ type="checkbox"
118
+ @update:modelValue="(on) => setCheck(field, item.value, on)">
119
+ <span class="cn-action-dialog__checkbox-text">
120
+ <strong class="cn-action-dialog__checkbox-label">{{ item.label }}</strong>
121
+ <span v-if="item.secondary" class="cn-action-dialog__muted">{{ item.secondary }}</span>
122
+ </span>
123
+ </NcCheckboxRadioSwitch>
124
+ <span v-if="checkItems(field).length === 0" class="cn-action-dialog__muted">
125
+ {{ text(field.emptyText) || t('nextcloud-vue', 'Nothing to choose from.') }}
126
+ </span>
127
+ </fieldset>
128
+ <!-- One choice out of a few explained options (DqZaakSamenwerken
129
+ "Delen" or "Overdragen"). -->
130
+ <CnChoiceCards v-else-if="field.type === 'cards'"
131
+ :modelValue="cardsValue(field)"
132
+ :options="cardOptions(field)"
133
+ :label="fill(field.label) || field.field"
134
+ @update:modelValue="(value) => setValue(field.field, value)" />
106
135
  <!-- An optional select or text field: its label above the control,
107
136
  "(optional)" in grey after it (DqUwWachtrij "Sjabloon (niet
108
137
  verplicht)"). -->
@@ -126,7 +155,7 @@
126
155
  :label="text(field.label) || field.field"
127
156
  :placeholder="secretStored(field) ? t('nextcloud-vue', 'Stored. Type a new value to replace it.') : ''"
128
157
  @update:modelValue="(value) => setValue(field.field, value)" />
129
- <NcTextField v-else-if="field.type !== 'checkbox' && field.type !== 'search'"
158
+ <NcTextField v-else-if="!['checkbox', 'search', 'checks', 'cards'].includes(field.type)"
130
159
  :id="controlId(field)"
131
160
  :modelValue="values[field.field] || ''"
132
161
  :type="field.type === 'datetime' ? 'datetime-local' : (field.type === 'date' ? 'date' : 'text')"
@@ -173,7 +202,7 @@
173
202
  </div>
174
203
 
175
204
  <p v-else role="status" data-testid="cn-action-dialog-done">
176
- {{ text(config.doneText) || t('nextcloud-vue', 'Done') }}
205
+ {{ answerText || text(config.doneText) || t('nextcloud-vue', 'Done') }}
177
206
  </p>
178
207
 
179
208
  <template #actions>
@@ -208,6 +237,7 @@ import { fetchEndpointSource, interpolateUrlTokens } from '../../composables/use
208
237
  import { BUILT_IN_FORMATTERS } from '../../utils/builtInFormatters.js'
209
238
  import { fillTemplate } from '../../utils/fillTemplate.js'
210
239
  import { readPath } from '../../utils/readPath.js'
240
+ import { CnChoiceCards } from '../CnChoiceCards/index.js'
211
241
  import { CnDialog } from '../CnDialog/index.js'
212
242
  import { CnIcon } from '../CnIcon/index.js'
213
243
  import { CnSearchSelect } from '../CnSearchSelect/index.js'
@@ -256,7 +286,13 @@ let reasonSeq = 0
256
286
  * `excludeSelf`, and sends the chosen record's id. Every field's `label`,
257
287
  * `hint` and `placeholder` (search and select) are templates filled from the record.
258
288
  * An optional select or text field (`required: false`) draws its label above
259
- * the control with "(optional)" after it.
289
+ * the control with "(optional)" after it. A `checks` field ticks several
290
+ * items, listed in `options` or read off the record at `itemsPath`
291
+ * (`optionValue`, `optionLabel` and `optionSecondary` name their parts),
292
+ * starts on `default` (a list, or "all") and sends the ticked values as a
293
+ * list; required means at least one. A `cards` field is one choice out of
294
+ * `options` `[{ value, label, description? }]` drawn as cards, starting on
295
+ * `default`.
260
296
  * - `reason`: `{ label?, hint?, required?, field?, rows? }`: a text area; required by
261
297
  * default; sent as `field` (default `reason`). `rows` is its height in lines
262
298
  * (default 2; board DqBesluit draws 4).
@@ -264,16 +300,18 @@ let reasonSeq = 0
264
300
  * icon name in place of the variant's own ("LockOutline").
265
301
  * - `fieldsAfterNote`: true draws the fields after the reason and the note
266
302
  * instead of before them (DqArchiveren's checkbox at the end).
267
- * - `confirm`: `{ label, icon?, request?: { method?, url, body? }, action? }`.
303
+ * - `confirm`: `{ label, icon?, request?: { method?, url, body?, answerPath? }, action? }`.
268
304
  * `request` posts itself (`body` templates filled with the record and
269
305
  * `{reason}`); `action` dispatches a manifest action through the page.
306
+ * `answerPath` shows the text at that path of the answer once the act ran,
307
+ * in place of `doneText` (a lookup that says what it found).
270
308
  *
271
309
  * Tokens (`@objectId`, `@object.<field>`) resolve in every url.
272
310
  */
273
311
  export default {
274
312
  name: 'CnActionDialog',
275
313
 
276
- components: { CheckCircle, CircleOutline, CnDialog, CnFormField, CnIcon, CnSearchSelect, HelpCircleOutline, NcButton, NcCheckboxRadioSwitch, NcNoteCard, NcSelect, NcTextArea, NcTextField },
314
+ components: { CheckCircle, CircleOutline, CnChoiceCards, CnDialog, CnFormField, CnIcon, CnSearchSelect, HelpCircleOutline, NcButton, NcCheckboxRadioSwitch, NcNoteCard, NcSelect, NcTextArea, NcTextField },
277
315
 
278
316
  inject: {
279
317
  /** The host app's translate (CnAppRoot `cnTranslate`). */
@@ -329,6 +367,7 @@ export default {
329
367
  busy: false,
330
368
  refusal: '',
331
369
  done: false,
370
+ answerText: '',
332
371
  reasonId: `cn-action-dialog-reason-${++reasonSeq}`,
333
372
  fieldIdPrefix: `cn-action-dialog-field-${reasonSeq}`,
334
373
  }
@@ -464,7 +503,13 @@ export default {
464
503
  fieldValues() {
465
504
  const out = { ...this.values }
466
505
  for (const field of this.fields) {
467
- out[field.field] = field.type === 'checkbox' ? this.checkboxValue(field) : (this.values[field.field] ?? '')
506
+ if (field.type === 'checks') {
507
+ out[field.field] = this.checksValue(field)
508
+ } else if (field.type === 'cards') {
509
+ out[field.field] = this.cardsValue(field)
510
+ } else {
511
+ out[field.field] = field.type === 'checkbox' ? this.checkboxValue(field) : (this.values[field.field] ?? '')
512
+ }
468
513
  }
469
514
  return out
470
515
  },
@@ -485,6 +530,12 @@ export default {
485
530
  if (f.type === 'checkbox') {
486
531
  return f.required !== true || this.checkboxValue(f)
487
532
  }
533
+ if (f.type === 'checks') {
534
+ return f.required === false || this.checksValue(f).length > 0
535
+ }
536
+ if (f.type === 'cards') {
537
+ return f.required === false || String(this.cardsValue(f)) !== ''
538
+ }
488
539
  return f.required === false || this.secretStored(f) || String(this.values[f.field] ?? '').trim() !== ''
489
540
  })
490
541
  },
@@ -518,7 +569,7 @@ export default {
518
569
  * @return {boolean}
519
570
  */
520
571
  labelsOutside(field) {
521
- return field.required === false && !['checkbox', 'search', 'secret'].includes(field.type)
572
+ return field.required === false && !['checkbox', 'search', 'secret', 'checks', 'cards'].includes(field.type)
522
573
  },
523
574
 
524
575
  /**
@@ -587,6 +638,83 @@ export default {
587
638
  }
588
639
  },
589
640
 
641
+ /**
642
+ * The items of a checks field, from `options` or the record's `itemsPath`.
643
+ *
644
+ * @spec openspec/changes/action-dialog-checks-cards/specs/action-dialog-checks-cards/spec.md#requirement-a-field-ticks-several-items
645
+ * @param {object} field The field.
646
+ * @return {Array<{value: string, label: string, secondary: string}>}
647
+ */
648
+ checkItems(field) {
649
+ const listed = Array.isArray(field.options) ? field.options : readPath(this.record || {}, field.itemsPath || '')
650
+ return (Array.isArray(listed) ? listed : []).map((item) => {
651
+ if (item === null || typeof item !== 'object') {
652
+ return { value: String(item), label: String(item), secondary: '' }
653
+ }
654
+ return {
655
+ value: String(readPath(item, field.optionValue || 'value') ?? item.id ?? ''),
656
+ label: fillTemplate(field.optionLabel || '{label}', item),
657
+ secondary: field.optionSecondary ? fillTemplate(field.optionSecondary, item) : '',
658
+ }
659
+ }).filter((item) => item.value !== '')
660
+ },
661
+
662
+ /**
663
+ * The ticked values of a checks field: what the reader ticked, else its
664
+ * `default`, a list or "all".
665
+ *
666
+ * @spec openspec/changes/action-dialog-checks-cards/specs/action-dialog-checks-cards/spec.md#requirement-a-field-ticks-several-items
667
+ * @param {object} field The field.
668
+ * @return {Array<string>}
669
+ */
670
+ checksValue(field) {
671
+ if (Array.isArray(this.values[field.field])) {
672
+ return this.values[field.field]
673
+ }
674
+ if (field.default === 'all') {
675
+ return this.checkItems(field).map((item) => item.value)
676
+ }
677
+ return Array.isArray(field.default) ? field.default.map(String) : []
678
+ },
679
+
680
+ /**
681
+ * Tick or untick one item of a checks field.
682
+ *
683
+ * @param {object} field The field.
684
+ * @param {string} value The item's value.
685
+ * @param {boolean} on Ticked.
686
+ * @return {void}
687
+ */
688
+ setCheck(field, value, on) {
689
+ const others = this.checksValue(field).filter((held) => held !== value)
690
+ this.values = { ...this.values, [field.field]: on ? [...others, value] : others }
691
+ },
692
+
693
+ /**
694
+ * The options of a cards field, through the host translate.
695
+ *
696
+ * @spec openspec/changes/action-dialog-checks-cards/specs/action-dialog-checks-cards/spec.md#requirement-a-field-offers-one-choice-as-cards
697
+ * @param {object} field The field.
698
+ * @return {Array<object>}
699
+ */
700
+ cardOptions(field) {
701
+ return (Array.isArray(field.options) ? field.options : []).map((option) => ({
702
+ ...option,
703
+ label: this.text(option.label) || String(option.value),
704
+ description: this.text(option.description),
705
+ }))
706
+ },
707
+
708
+ /**
709
+ * The value of a cards field: what the reader chose, else its `default`.
710
+ *
711
+ * @param {object} field The field.
712
+ * @return {string}
713
+ */
714
+ cardsValue(field) {
715
+ return this.values[field.field] ?? field.default ?? ''
716
+ },
717
+
590
718
  /**
591
719
  * A checkbox field's state: what was ticked, else its `default`.
592
720
  *
@@ -774,7 +902,11 @@ export default {
774
902
  }
775
903
  Object.assign(body, values)
776
904
  const method = String(request.method || 'POST').toLowerCase()
777
- await axios[['post', 'put', 'patch', 'delete'].includes(method) ? method : 'post'](/^https?:\/\//i.test(url) ? url : generateUrl(url), body)
905
+ const answer = await axios[['post', 'put', 'patch', 'delete'].includes(method) ? method : 'post'](/^https?:\/\//i.test(url) ? url : generateUrl(url), body)
906
+ if (request.answerPath) {
907
+ const said = readPath(answer?.data, request.answerPath)
908
+ this.answerText = said === null || said === undefined ? '' : String(said)
909
+ }
778
910
  } else if (this.confirmConfig.action && typeof this.cnDispatchAction === 'function') {
779
911
  await this.cnDispatchAction({ ...this.confirmConfig.action, args: [...(this.confirmConfig.action.args || []), { ...this.fieldValues, reason }] })
780
912
  }
@@ -803,7 +935,7 @@ export default {
803
935
  }
804
936
  const values = { ...this.values }
805
937
  for (const field of this.fields) {
806
- if (field.valuePath && field.type !== 'secret' && !(field.field in values)) {
938
+ if (field.valuePath && !['secret', 'checks'].includes(field.type) && !(field.field in values)) {
807
939
  const value = readPath(this.record, field.valuePath)
808
940
  if (value !== null && value !== undefined) {
809
941
  values[field.field] = String(value)
@@ -1042,6 +1174,21 @@ export default {
1042
1174
  font-size: 13px;
1043
1175
  }
1044
1176
 
1177
+ .cn-action-dialog__checks {
1178
+ border: 0;
1179
+ display: flex;
1180
+ flex-direction: column;
1181
+ gap: 4px;
1182
+ margin: 0;
1183
+ padding: 0;
1184
+ }
1185
+
1186
+ .cn-action-dialog__checks-legend {
1187
+ font-weight: 600;
1188
+ margin-bottom: 4px;
1189
+ padding: 0;
1190
+ }
1191
+
1045
1192
  .cn-action-dialog__field {
1046
1193
  display: flex;
1047
1194
  flex-direction: column;