@conduction/nextcloud-vue 2.162.0 → 2.163.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/esm/components/CnChipListManager/CnChipListManager.vue.js +9 -0
  2. package/dist/esm/components/CnChipListManager/CnChipListManager.vue.js.map +1 -0
  3. package/dist/esm/components/CnChipListManager/CnChipListManager.vue2.js +304 -0
  4. package/dist/esm/components/CnChipListManager/CnChipListManager.vue2.js.map +1 -0
  5. package/dist/esm/components/CnChipListManager/CnChipListManager.vue3.js +161 -0
  6. package/dist/esm/components/CnChipListManager/CnChipListManager.vue3.js.map +1 -0
  7. package/dist/esm/components/CnFilesBrowser/openRegisterSource.js +2 -1
  8. package/dist/esm/components/CnFilesBrowser/openRegisterSource.js.map +1 -1
  9. package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue.js +1 -1
  10. package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue2.js +4 -0
  11. package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue2.js.map +1 -1
  12. package/dist/esm/components/CnFilterRowsEditor/CnFilterRowsEditor.vue3.js.map +1 -1
  13. package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
  14. package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +2 -2
  15. package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
  16. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
  17. package/dist/esm/components/CnIconPicker/CnIconPicker.vue.js +1 -1
  18. package/dist/esm/components/CnIconPicker/CnIconPicker.vue2.js +4 -3
  19. package/dist/esm/components/CnIconPicker/CnIconPicker.vue2.js.map +1 -1
  20. package/dist/esm/components/CnIconPicker/CnIconPicker.vue3.js.map +1 -1
  21. package/dist/esm/components/CnIconPicker/iconCatalogues.js +16 -3
  22. package/dist/esm/components/CnIconPicker/iconCatalogues.js.map +1 -1
  23. package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +76 -8
  24. package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
  25. package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +2 -2
  26. package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
  27. package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue.js +1 -1
  28. package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue2.js +2 -1
  29. package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue2.js.map +1 -1
  30. package/dist/esm/components/CnLinksWidgetForm/CnLinksWidgetForm.vue3.js.map +1 -1
  31. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue.js +1 -1
  32. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js +6 -1
  33. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue2.js.map +1 -1
  34. package/dist/esm/components/CnMarkdownEditor/CnMarkdownEditor.vue3.js.map +1 -1
  35. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue.js +1 -1
  36. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js +1 -1
  37. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue2.js.map +1 -1
  38. package/dist/esm/components/CnObjectListWidget/CnObjectListWidget.vue3.js.map +1 -1
  39. package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue.js +1 -1
  40. package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue2.js +4 -0
  41. package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue2.js.map +1 -1
  42. package/dist/esm/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue3.js.map +1 -1
  43. package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue.js +1 -1
  44. package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue2.js +10 -1
  45. package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue2.js.map +1 -1
  46. package/dist/esm/components/CnPageTreeNode/CnPageTreeRow.vue3.js.map +1 -1
  47. package/dist/esm/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue2.js +22 -0
  48. package/dist/esm/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue2.js.map +1 -1
  49. package/dist/esm/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue3.js.map +1 -1
  50. package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue.js +1 -1
  51. package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue2.js +4 -0
  52. package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue2.js.map +1 -1
  53. package/dist/esm/components/CnStagesWidgetForm/CnStagesWidgetForm.vue3.js.map +1 -1
  54. package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue.js +1 -1
  55. package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js +1 -1
  56. package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js.map +1 -1
  57. package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue3.js.map +1 -1
  58. package/dist/esm/composables/indexSources.js +30 -2
  59. package/dist/esm/composables/indexSources.js.map +1 -1
  60. package/dist/esm/index.js +1 -0
  61. package/dist/esm/index.js.map +1 -1
  62. package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue.js +1 -1
  63. package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue2.js +2 -1
  64. package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue2.js.map +1 -1
  65. package/dist/esm/integrations/builtin/analytics/CnAnalyticsCard.vue3.js.map +1 -1
  66. package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue.js +1 -1
  67. package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue2.js +3 -2
  68. package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue2.js.map +1 -1
  69. package/dist/esm/integrations/builtin/analytics/CnAnalyticsTab.vue3.js.map +1 -1
  70. package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue.js +1 -1
  71. package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue2.js +2 -1
  72. package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue2.js.map +1 -1
  73. package/dist/esm/integrations/builtin/photos/CnPhotosCard.vue3.js.map +1 -1
  74. package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue.js +1 -1
  75. package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue2.js +2 -1
  76. package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue2.js.map +1 -1
  77. package/dist/esm/integrations/builtin/photos/CnPhotosTab.vue3.js.map +1 -1
  78. package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue.js +1 -1
  79. package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue2.js +2 -6
  80. package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue2.js.map +1 -1
  81. package/dist/esm/integrations/builtin/xwiki/CnXwikiCard.vue3.js.map +1 -1
  82. package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue.js +1 -1
  83. package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue2.js +2 -6
  84. package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue2.js.map +1 -1
  85. package/dist/esm/integrations/builtin/xwiki/CnXwikiTab.vue3.js.map +1 -1
  86. package/dist/esm/integrations/utils/marker.js +35 -6
  87. package/dist/esm/integrations/utils/marker.js.map +1 -1
  88. package/dist/esm/l10n/en.json.js +8 -0
  89. package/dist/esm/l10n/en.json.js.map +1 -1
  90. package/dist/esm/l10n/nl.json.js +8 -0
  91. package/dist/esm/l10n/nl.json.js.map +1 -1
  92. package/dist/esm/library-style.js +1 -1
  93. package/dist/esm/nextcloud-vue.css +478 -334
  94. package/dist/esm/utils/fillTemplate.js +3 -0
  95. package/dist/esm/utils/fillTemplate.js.map +1 -1
  96. package/dist/esm/utils/htmlToText.js +36 -0
  97. package/dist/esm/utils/htmlToText.js.map +1 -0
  98. package/dist/esm/utils/prototypeKeys.js +20 -0
  99. package/dist/esm/utils/prototypeKeys.js.map +1 -0
  100. package/dist/esm/utils/toastUiRawHtmlGuard.js +166 -0
  101. package/dist/esm/utils/toastUiRawHtmlGuard.js.map +1 -0
  102. package/dist/nextcloud-vue.cjs.js +11501 -10640
  103. package/dist/nextcloud-vue.cjs.js.map +2 -2
  104. package/dist/nextcloud-vue.css +478 -334
  105. package/l10n/en.json +8 -0
  106. package/l10n/nl.json +8 -0
  107. package/package.json +1 -1
  108. package/src/components/CnChipListManager/CnChipListManager.vue +504 -0
  109. package/src/components/CnChipListManager/index.js +4 -0
  110. package/src/components/CnFilesBrowser/openRegisterSource.js +2 -1
  111. package/src/components/CnFilterRowsEditor/CnFilterRowsEditor.vue +4 -0
  112. package/src/components/CnFormDialog/CnFormDialog.vue +2 -2
  113. package/src/components/CnIconPicker/CnIconPicker.vue +4 -3
  114. package/src/components/CnIconPicker/iconCatalogues.js +16 -3
  115. package/src/components/CnIndexPage/CnIndexPage.vue +78 -10
  116. package/src/components/CnLinksWidgetForm/CnLinksWidgetForm.vue +2 -1
  117. package/src/components/CnMarkdownEditor/CnMarkdownEditor.vue +6 -1
  118. package/src/components/CnObjectListWidget/CnObjectListWidget.vue +1 -1
  119. package/src/components/CnObjectListWidgetForm/CnObjectListWidgetForm.vue +4 -0
  120. package/src/components/CnPageTreeNode/CnPageTreeRow.vue +10 -1
  121. package/src/components/CnSchemaFormDialog/CnSchemaPropertyActions.vue +22 -0
  122. package/src/components/CnStagesWidgetForm/CnStagesWidgetForm.vue +4 -0
  123. package/src/components/CnWalkthrough/CnWalkthrough.vue +1 -1
  124. package/src/components/index.js +1 -0
  125. package/src/composables/indexSources.js +30 -2
  126. package/src/css/look-board-detail.css +6 -4
  127. package/src/css/look-board.css +46 -1
  128. package/src/index.js +1 -0
  129. package/src/integrations/builtin/analytics/CnAnalyticsCard.vue +2 -1
  130. package/src/integrations/builtin/analytics/CnAnalyticsTab.vue +3 -2
  131. package/src/integrations/builtin/photos/CnPhotosCard.vue +2 -1
  132. package/src/integrations/builtin/photos/CnPhotosTab.vue +2 -1
  133. package/src/integrations/builtin/xwiki/CnXwikiCard.vue +2 -6
  134. package/src/integrations/builtin/xwiki/CnXwikiTab.vue +2 -6
  135. package/src/integrations/utils/marker.js +35 -6
  136. package/src/utils/fillTemplate.js +3 -0
  137. package/src/utils/htmlToText.js +33 -0
  138. package/src/utils/prototypeKeys.js +17 -0
  139. package/src/utils/toastUiRawHtmlGuard.js +162 -0
@@ -4,6 +4,7 @@ import Close from 'vue-material-design-icons/Close.vue';
4
4
  import ContentCopy from 'vue-material-design-icons/ContentCopy.vue';
5
5
  import Plus from 'vue-material-design-icons/Plus.vue';
6
6
  import TrashCanOutline from 'vue-material-design-icons/TrashCanOutline.vue';
7
+ import { isPrototypeKey } from '../../utils/prototypeKeys.js';
7
8
 
8
9
  /**
9
10
  * CnSchemaPropertyActions — NcActions dropdown for a single schema property.
@@ -153,6 +154,9 @@ var script = {
153
154
  // --- Property setting updates ---
154
155
 
155
156
  updatePropertySetting(key, setting, value) {
157
+ if (isPrototypeKey(key) || isPrototypeKey(setting)) {
158
+ return
159
+ }
156
160
  if (this.schema.properties[key]) {
157
161
  const settingValue = typeof value === 'object' && value?.id ? value.id : value;
158
162
  this.schema.properties[key][setting] = settingValue;
@@ -161,6 +165,9 @@ var script = {
161
165
  },
162
166
 
163
167
  updatePropertyRequired(key, isRequired) {
168
+ if (isPrototypeKey(key)) {
169
+ return
170
+ }
164
171
  if (this.schema.properties[key]) {
165
172
  if (isRequired) {
166
173
  this.schema.properties[key].required = true;
@@ -790,6 +797,9 @@ var script = {
790
797
  },
791
798
 
792
799
  updateFilePropertySetting(key, setting, value) {
800
+ if (isPrototypeKey(key) || isPrototypeKey(setting)) {
801
+ return
802
+ }
793
803
  if (this.schema.properties[key]) {
794
804
  if (this.schema.properties[key].type === 'file') {
795
805
  this.schema.properties[key][setting] = value;
@@ -800,6 +810,9 @@ var script = {
800
810
  },
801
811
 
802
812
  updateFileProperty(key, setting, value) {
813
+ if (isPrototypeKey(key) || isPrototypeKey(setting)) {
814
+ return
815
+ }
803
816
  if (this.schema.properties[key]) {
804
817
  if (['allowedTypes', 'allowedTags', 'autoTags'].includes(setting)) {
805
818
  const arrayValue = value ? value.split(',').map((item) => item.trim()).filter((item) => item !== '') : [];
@@ -839,6 +852,9 @@ var script = {
839
852
  },
840
853
 
841
854
  updateFilePropertyTags(key, setting, selectedOptions) {
855
+ if (isPrototypeKey(key) || isPrototypeKey(setting)) {
856
+ return
857
+ }
842
858
  if (this.schema.properties[key]) {
843
859
  const tags = selectedOptions ? selectedOptions.map((option) => option.id || option) : [];
844
860
 
@@ -864,6 +880,9 @@ var script = {
864
880
  },
865
881
 
866
882
  updatePropertyTableSetting(key, setting, value) {
883
+ if (isPrototypeKey(key) || isPrototypeKey(setting)) {
884
+ return
885
+ }
867
886
  if (!this.schema.properties[key]) {
868
887
  return
869
888
  }
@@ -1019,6 +1038,9 @@ var script = {
1019
1038
  },
1020
1039
 
1021
1040
  updatePropertyGroupPermission(key, groupId, action, hasPermission) {
1041
+ if (isPrototypeKey(key) || isPrototypeKey(action)) {
1042
+ return
1043
+ }
1022
1044
  if (!this.schema.properties[key]) {
1023
1045
  return
1024
1046
  }