@conduction/nextcloud-vue 2.92.0 → 2.93.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 (121) hide show
  1. package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js +57 -4
  2. package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
  3. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +44 -17
  4. package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
  5. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue.js +1 -1
  6. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js +44 -2
  7. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue2.js.map +1 -1
  8. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js +140 -59
  9. package/dist/esm/components/CnChoiceCards/CnChoiceCards.vue3.js.map +1 -1
  10. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
  11. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +20 -6
  12. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
  13. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +3 -2
  14. package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
  15. package/dist/esm/components/CnDataTable/CnDataTable.vue2.js +2 -36
  16. package/dist/esm/components/CnDataTable/CnDataTable.vue2.js.map +1 -1
  17. package/dist/esm/components/CnDataTable/CnDataTable.vue3.js.map +1 -1
  18. package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +5 -3
  19. package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
  20. package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
  21. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
  22. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js +6 -4
  23. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
  24. package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
  25. package/dist/esm/components/CnFeaturesAndRoadmapPage/CnFeaturesAndRoadmapPage.vue2.js +46 -0
  26. package/dist/esm/components/CnFeaturesAndRoadmapPage/CnFeaturesAndRoadmapPage.vue2.js.map +1 -1
  27. package/dist/esm/components/CnFeaturesAndRoadmapPage/CnFeaturesAndRoadmapPage.vue3.js +6 -2
  28. package/dist/esm/components/CnFeaturesAndRoadmapPage/CnFeaturesAndRoadmapPage.vue3.js.map +1 -1
  29. package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue.js +1 -1
  30. package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue2.js +82 -9
  31. package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue2.js.map +1 -1
  32. package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue3.js +104 -90
  33. package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue3.js.map +1 -1
  34. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue.js +9 -0
  35. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue.js.map +1 -0
  36. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js +355 -0
  37. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js.map +1 -0
  38. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js +462 -0
  39. package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js.map +1 -0
  40. package/dist/esm/components/CnFormDialog/CnFormDialog.vue.js +1 -1
  41. package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +21 -0
  42. package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
  43. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +402 -391
  44. package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
  45. package/dist/esm/components/CnIcon/semanticIcons.js +2 -2
  46. package/dist/esm/components/CnIcon/semanticIcons.js.map +1 -1
  47. package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue.js +1 -1
  48. package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue2.js +22 -1
  49. package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue2.js.map +1 -1
  50. package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue3.js +20 -14
  51. package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue3.js.map +1 -1
  52. package/dist/esm/components/CnNotificationPreferences/CnNotificationPreferences.vue.js +1 -1
  53. package/dist/esm/components/CnNotificationPreferences/CnNotificationPreferences.vue2.js +2 -0
  54. package/dist/esm/components/CnNotificationPreferences/CnNotificationPreferences.vue2.js.map +1 -1
  55. package/dist/esm/components/CnNotificationPreferences/CnNotificationPreferences.vue3.js +15 -5
  56. package/dist/esm/components/CnNotificationPreferences/CnNotificationPreferences.vue3.js.map +1 -1
  57. package/dist/esm/components/CnRoadmapTab/CnRoadmapTab.vue.js +1 -1
  58. package/dist/esm/components/CnRoadmapTab/CnRoadmapTab.vue2.js +8 -30
  59. package/dist/esm/components/CnRoadmapTab/CnRoadmapTab.vue2.js.map +1 -1
  60. package/dist/esm/components/CnRoadmapTab/CnRoadmapTab.vue3.js.map +1 -1
  61. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue.js +9 -0
  62. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue.js.map +1 -0
  63. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue2.js +164 -0
  64. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue2.js.map +1 -0
  65. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue3.js +93 -0
  66. package/dist/esm/components/CnUserSettingsDialog/CnUserSettingsDialog.vue3.js.map +1 -0
  67. package/dist/esm/components/CnWidgetWrapper/CnWidgetWrapper.vue.js +1 -1
  68. package/dist/esm/components/CnWidgetWrapper/CnWidgetWrapper.vue2.js +12 -0
  69. package/dist/esm/components/CnWidgetWrapper/CnWidgetWrapper.vue2.js.map +1 -1
  70. package/dist/esm/components/CnWidgetWrapper/CnWidgetWrapper.vue3.js.map +1 -1
  71. package/dist/esm/l10n/en.json.js +24 -1
  72. package/dist/esm/l10n/en.json.js.map +1 -1
  73. package/dist/esm/l10n/nl.json.js +24 -1
  74. package/dist/esm/l10n/nl.json.js.map +1 -1
  75. package/dist/esm/library-style.js +1 -1
  76. package/dist/esm/nextcloud-vue.css +887 -247
  77. package/dist/esm/utils/featureCatalog.js +135 -0
  78. package/dist/esm/utils/featureCatalog.js.map +1 -0
  79. package/dist/esm/utils/fillTemplate.js +74 -3
  80. package/dist/esm/utils/fillTemplate.js.map +1 -1
  81. package/dist/esm/utils/headerMeta.js +62 -12
  82. package/dist/esm/utils/headerMeta.js.map +1 -1
  83. package/dist/esm/utils/roadmapIssues.js +86 -0
  84. package/dist/esm/utils/roadmapIssues.js.map +1 -0
  85. package/dist/esm/utils/userDisplayName.js +47 -0
  86. package/dist/esm/utils/userDisplayName.js.map +1 -0
  87. package/dist/esm/utils/validateManifestV2.compiled.js +3 -3
  88. package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
  89. package/dist/nextcloud-vue.cjs.js +14820 -12966
  90. package/dist/nextcloud-vue.cjs.js.map +2 -2
  91. package/dist/nextcloud-vue.css +887 -247
  92. package/l10n/en.json +24 -1
  93. package/l10n/nl.json +24 -1
  94. package/package.json +1 -1
  95. package/src/components/CnAppRoot/CnAppRoot.md +2 -0
  96. package/src/components/CnAppRoot/CnAppRoot.vue +66 -5
  97. package/src/components/CnChoiceCards/CnChoiceCards.md +27 -0
  98. package/src/components/CnChoiceCards/CnChoiceCards.vue +168 -3
  99. package/src/components/CnDashboardPage/CnDashboardPage.vue +45 -6
  100. package/src/components/CnDataTable/CnDataTable.vue +2 -36
  101. package/src/components/CnDetailPage/CnDetailPage.vue +5 -3
  102. package/src/components/CnFactsWidget/CnFactsWidget.vue +6 -4
  103. package/src/components/CnFeaturesAndRoadmapPage/CnFeaturesAndRoadmapPage.vue +51 -1
  104. package/src/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue +98 -13
  105. package/src/components/CnFeaturesBoard/CnFeaturesBoard.vue +1053 -0
  106. package/src/components/CnFormDialog/CnFormDialog.vue +606 -562
  107. package/src/components/CnNcWidgetWidget/CnNcWidgetWidget.vue +23 -2
  108. package/src/components/CnNotificationPreferences/CnNotificationPreferences.vue +5 -0
  109. package/src/components/CnRoadmapTab/CnRoadmapTab.vue +6 -28
  110. package/src/components/CnUserSettingsDialog/CnUserSettingsDialog.vue +305 -0
  111. package/src/components/CnWidgetWrapper/CnWidgetWrapper.vue +12 -0
  112. package/src/css/dialog.css +47 -0
  113. package/src/css/look-board-detail.css +8 -0
  114. package/src/css/look-board.css +33 -0
  115. package/src/schemas/app-manifest-v2.schema.json +9 -3
  116. package/src/utils/featureCatalog.js +132 -0
  117. package/src/utils/fillTemplate.js +73 -2
  118. package/src/utils/headerMeta.js +62 -12
  119. package/src/utils/roadmapIssues.js +82 -0
  120. package/src/utils/userDisplayName.js +54 -0
  121. package/src/utils/validateManifestV2.compiled.js +3 -3
@@ -6,6 +6,7 @@ import { generateUrl } from '@nextcloud/router';
6
6
  import { NcAppContent, NcAppSettingsDialog, NcAppSettingsSection, NcButton, NcContent, NcEmptyContent, NcLoadingIcon, NcNoteCard } from '@nextcloud/vue';
7
7
  import { computed, shallowRef, watch, reactive } from 'vue';
8
8
  import DatabaseSearchOutline from 'vue-material-design-icons/DatabaseSearchOutline.vue';
9
+ import KeyOutline from 'vue-material-design-icons/KeyOutline.vue';
9
10
  import OpenInNew from 'vue-material-design-icons/OpenInNew.vue';
10
11
  import Play from 'vue-material-design-icons/Play.vue';
11
12
  import Restart from 'vue-material-design-icons/Restart.vue';
@@ -14,14 +15,15 @@ import __sfc_main$2 from '../CnAppLoading/CnAppLoading.vue.js';
14
15
  import __sfc_main$1 from '../CnAppNav/CnAppNav.vue.js';
15
16
  import __sfc_main from '../CnBrandBar/CnBrandBar.vue.js';
16
17
  import __sfc_main$8 from '../CnCommandPalette/CnCommandPalette.vue.js';
17
- import __sfc_main$c from '../CnCredentials/CnCredentials.vue.js';
18
+ import __sfc_main$d from '../CnCredentials/CnCredentials.vue.js';
18
19
  import __sfc_main$3 from '../CnDependencyMissing/CnDependencyMissing.vue.js';
19
20
  import __sfc_main$4 from '../CnEnvironmentBanner/CnEnvironmentBanner.vue.js';
20
21
  import __sfc_main$b from '../CnNotificationPreferences/CnNotificationPreferences.vue.js';
21
22
  import __sfc_main$9 from '../CnObjectSidebar/CnObjectSidebar.vue.js';
22
23
  import __sfc_main$5 from '../CnSetupWizard/CnSetupWizard.vue.js';
23
24
  import __sfc_main$a from '../CnSupportDialog/CnSupportDialog.vue.js';
24
- import __sfc_main$d from '../CnTenantBadge/CnTenantBadge.vue.js';
25
+ import __sfc_main$e from '../CnTenantBadge/CnTenantBadge.vue.js';
26
+ import __sfc_main$c from '../CnUserSettingsDialog/CnUserSettingsDialog.vue.js';
25
27
  import __sfc_main$6 from '../CnWalkthrough/CnWalkthrough.vue.js';
26
28
  import { DEFAULT_CHAT_APP_ID } from '../../composables/aiChatConfig.js';
27
29
  import { useAppInstaller } from '../../composables/useAppInstaller.js';
@@ -122,6 +124,7 @@ var script = {
122
124
  NcLoadingIcon,
123
125
  NcNoteCard,
124
126
  DatabaseSearchOutline,
127
+ KeyOutline,
125
128
  OpenInNew,
126
129
  Play,
127
130
  Restart,
@@ -136,8 +139,9 @@ var script = {
136
139
  CnObjectSidebar: __sfc_main$9,
137
140
  CnSupportDialog: __sfc_main$a,
138
141
  CnNotificationPreferences: __sfc_main$b,
139
- CnCredentials: __sfc_main$c,
140
- CnTenantBadge: __sfc_main$d,
142
+ CnUserSettingsDialog: __sfc_main$c,
143
+ CnCredentials: __sfc_main$d,
144
+ CnTenantBadge: __sfc_main$e,
141
145
  },
142
146
 
143
147
  /**
@@ -952,6 +956,29 @@ var script = {
952
956
  default: '',
953
957
  },
954
958
 
959
+ /**
960
+ * Board look: the line above the user-settings title. Empty uses
961
+ * the library's "Your account".
962
+ *
963
+ * @type {string}
964
+ */
965
+ userSettingsEyebrow: {
966
+ type: String,
967
+ default: '',
968
+ },
969
+
970
+ /**
971
+ * Board look: the sentence under the user-settings title. Empty
972
+ * uses the library's "Only for you. Colleagues keep their own
973
+ * settings."
974
+ *
975
+ * @type {string}
976
+ */
977
+ userSettingsSubtitle: {
978
+ type: String,
979
+ default: '',
980
+ },
981
+
955
982
  /**
956
983
  * The sections of the user-settings modal, in the order they are
957
984
  * drawn. Keys: `app` (the content of the `#user-settings-sections`
@@ -2369,6 +2396,32 @@ var script = {
2369
2396
  return this.userSettingsTitle || this.libraryCopy('User settings')
2370
2397
  },
2371
2398
 
2399
+ /**
2400
+ * The props of the user-settings dialog: `NcAppSettingsDialog`'s, or
2401
+ * under the board look CnUserSettingsDialog's (eyebrow, subtitle and
2402
+ * the app's name for the footer note).
2403
+ *
2404
+ * @spec openspec/changes/user-settings-board-dialog/specs/user-settings-board-dialog/spec.md#requirement-the-user-settings-dialog-takes-the-board-look
2405
+ * @return {object}
2406
+ */
2407
+ userSettingsDialogProps() {
2408
+ if (this.resolvedLook !== 'board') {
2409
+ return { open: this.userSettingsOpen, showNavigation: true, name: this.resolvedUserSettingsTitle }
2410
+ }
2411
+ const props = {
2412
+ open: this.userSettingsOpen,
2413
+ title: this.resolvedUserSettingsTitle,
2414
+ appName: this.appDisplayName || (this.manifest && this.manifest.name) || this.appId || '',
2415
+ };
2416
+ if (this.userSettingsEyebrow) {
2417
+ props.eyebrow = this.translate(this.userSettingsEyebrow);
2418
+ }
2419
+ if (this.userSettingsSubtitle) {
2420
+ props.subtitle = this.translate(this.userSettingsSubtitle);
2421
+ }
2422
+ return props
2423
+ },
2424
+
2372
2425
  /**
2373
2426
  * Title for the admin-settings modal. Prop override, else the
2374
2427
  * translated "Administration". Mirrors `resolvedUserSettingsTitle`.