@alfresco/aca-content 4.0.0 → 4.1.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 (307) hide show
  1. package/{lib/components/create-menu/create-menu.component.d.ts → about/about.component.d.ts} +15 -16
  2. package/about/aca-about.module.d.ts +9 -0
  3. package/about/assets/about.plugin.json +47 -0
  4. package/about/dev-mode.tokens.d.ts +25 -0
  5. package/about/index.d.ts +5 -0
  6. package/about/package-json.token.d.ts +25 -0
  7. package/about/public-api.d.ts +27 -0
  8. package/assets/app.extensions.json +158 -131
  9. package/assets/i18n/ar.json +10 -26
  10. package/assets/i18n/cs.json +10 -26
  11. package/assets/i18n/da.json +9 -25
  12. package/assets/i18n/de.json +8 -24
  13. package/assets/i18n/en.json +9 -25
  14. package/assets/i18n/es.json +8 -24
  15. package/assets/i18n/fi.json +9 -25
  16. package/assets/i18n/fr.json +9 -25
  17. package/assets/i18n/it.json +9 -25
  18. package/assets/i18n/ja.json +9 -25
  19. package/assets/i18n/nb.json +9 -25
  20. package/assets/i18n/nl.json +8 -24
  21. package/assets/i18n/pl.json +10 -26
  22. package/assets/i18n/pt-BR.json +9 -25
  23. package/assets/i18n/ru.json +10 -26
  24. package/assets/i18n/sv.json +9 -25
  25. package/assets/i18n/zh-CN.json +8 -24
  26. package/esm2020/about/about.component.mjs +73 -0
  27. package/esm2020/about/aca-about.module.mjs +46 -0
  28. package/esm2020/about/alfresco-aca-content-about.mjs +5 -0
  29. package/esm2020/about/dev-mode.tokens.mjs +26 -0
  30. package/esm2020/about/package-json.token.mjs +26 -0
  31. package/esm2020/about/public-api.mjs +28 -0
  32. package/esm2020/folder-rules/alfresco-aca-content-folder-rules.mjs +5 -0
  33. package/esm2020/folder-rules/folder-rules.module.mjs +123 -0
  34. package/esm2020/folder-rules/folder-rules.rules.mjs +28 -0
  35. package/esm2020/folder-rules/manage-rules/manage-rules.smart-component.mjs +240 -0
  36. package/esm2020/folder-rules/model/action-parameter-constraint.model.mjs +25 -0
  37. package/esm2020/folder-rules/model/rule-action.model.mjs +26 -0
  38. package/esm2020/folder-rules/model/rule-composite-condition.model.mjs +25 -0
  39. package/esm2020/folder-rules/model/rule-grouping-item.model.mjs +25 -0
  40. package/esm2020/folder-rules/model/rule-set.model.mjs +25 -0
  41. package/esm2020/folder-rules/model/rule-simple-condition.model.mjs +25 -0
  42. package/esm2020/folder-rules/model/rule.model.mjs +25 -0
  43. package/esm2020/folder-rules/public-api.mjs +26 -0
  44. package/esm2020/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +112 -0
  45. package/esm2020/folder-rules/rule-details/actions/rule-action.ui-component.mjs +277 -0
  46. package/esm2020/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +159 -0
  47. package/esm2020/folder-rules/rule-details/conditions/rule-condition-comparators.mjs +87 -0
  48. package/esm2020/folder-rules/rule-details/conditions/rule-condition-fields.mjs +62 -0
  49. package/esm2020/folder-rules/rule-details/conditions/rule-mime-types.mjs +25 -0
  50. package/esm2020/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +144 -0
  51. package/esm2020/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +70 -0
  52. package/esm2020/folder-rules/rule-details/options/rule-options.ui-component.mjs +134 -0
  53. package/esm2020/folder-rules/rule-details/rule-details.ui-component.mjs +166 -0
  54. package/esm2020/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +85 -0
  55. package/esm2020/folder-rules/rule-details/validators/rule-actions.validator.mjs +37 -0
  56. package/esm2020/folder-rules/rule-details/validators/rule-composite-condition.validator.mjs +31 -0
  57. package/esm2020/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +142 -0
  58. package/esm2020/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +77 -0
  59. package/esm2020/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +56 -0
  60. package/esm2020/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +104 -0
  61. package/esm2020/folder-rules/services/actions.service.mjs +114 -0
  62. package/esm2020/folder-rules/services/folder-rule-sets.service.mjs +221 -0
  63. package/esm2020/folder-rules/services/folder-rules.service.mjs +193 -0
  64. package/esm2020/lib/aca-content.module.mjs +55 -90
  65. package/esm2020/lib/aca-content.routes.mjs +2 -2
  66. package/esm2020/lib/components/common/common.module.mjs +8 -39
  67. package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +18 -11
  68. package/esm2020/lib/components/common/location-link/location-link.component.mjs +17 -16
  69. package/esm2020/lib/components/common/logout/logout.component.mjs +16 -9
  70. package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +29 -18
  71. package/esm2020/lib/components/common/user-info/user-info.component.mjs +24 -13
  72. package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +16 -10
  73. package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +5 -4
  74. package/esm2020/lib/components/context-menu/context-menu.component.mjs +29 -15
  75. package/esm2020/lib/components/context-menu/context-menu.service.mjs +5 -6
  76. package/esm2020/lib/components/details/details.component.mjs +41 -23
  77. package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +7 -15
  78. package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +16 -16
  79. package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +34 -12
  80. package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +32 -15
  81. package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +17 -28
  82. package/esm2020/lib/components/favorites/favorites.component.mjs +18 -34
  83. package/esm2020/lib/components/files/files.component.mjs +28 -43
  84. package/esm2020/lib/components/home/home.component.mjs +7 -6
  85. package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +15 -10
  86. package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +28 -47
  87. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +39 -17
  88. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +10 -7
  89. package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +13 -12
  90. package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +18 -10
  91. package/esm2020/lib/components/libraries/libraries.component.mjs +17 -27
  92. package/esm2020/lib/components/recent-files/recent-files.component.mjs +18 -37
  93. package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +3 -3
  94. package/esm2020/lib/components/search/search-input/search-input.component.mjs +11 -6
  95. package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +5 -5
  96. package/esm2020/lib/components/search/search-input.module.mjs +4 -4
  97. package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +5 -6
  98. package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +21 -30
  99. package/esm2020/lib/components/search/search-navigation.service.mjs +3 -3
  100. package/esm2020/lib/components/search/search-results/search-results.component.mjs +33 -41
  101. package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +6 -7
  102. package/esm2020/lib/components/search/search-results.module.mjs +31 -23
  103. package/esm2020/lib/components/shared-files/shared-files.component.mjs +18 -34
  104. package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +9 -7
  105. package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +5 -9
  106. package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +5 -5
  107. package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +5 -5
  108. package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +5 -5
  109. package/esm2020/lib/components/sidenav/directives/action.directive.mjs +3 -3
  110. package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +3 -3
  111. package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +3 -3
  112. package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +3 -3
  113. package/esm2020/lib/components/sidenav/sidenav.component.mjs +3 -3
  114. package/esm2020/lib/components/sidenav/sidenav.module.mjs +11 -9
  115. package/esm2020/lib/components/sidenav/user-menu/user-menu.component.mjs +96 -0
  116. package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +10 -17
  117. package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +3 -3
  118. package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +3 -3
  119. package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +3 -3
  120. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +3 -3
  121. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +3 -3
  122. package/esm2020/lib/components/toolbar/toolbar.module.mjs +7 -13
  123. package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +3 -3
  124. package/esm2020/lib/components/trashcan/trashcan.component.mjs +37 -29
  125. package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +3 -3
  126. package/esm2020/lib/components/view-profile/view-profile.component.mjs +35 -16
  127. package/esm2020/lib/components/view-profile/view-profile.guard.mjs +5 -5
  128. package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +16 -15
  129. package/esm2020/lib/directives/directives.module.mjs +4 -4
  130. package/esm2020/lib/directives/document-list.directive.mjs +3 -3
  131. package/esm2020/lib/extensions/core.extensions.module.mjs +4 -4
  132. package/esm2020/lib/material.module.mjs +4 -4
  133. package/esm2020/lib/services/content-management.service.mjs +3 -3
  134. package/esm2020/lib/services/content-service-extension.service.mjs +3 -3
  135. package/esm2020/lib/services/content-url.service.mjs +3 -3
  136. package/esm2020/lib/services/node-actions.service.mjs +5 -5
  137. package/esm2020/lib/services/node-template.service.mjs +3 -3
  138. package/esm2020/lib/store/app-store.module.mjs +4 -4
  139. package/esm2020/lib/store/effects/app.effects.mjs +3 -3
  140. package/esm2020/lib/store/effects/contextmenu.effects.mjs +3 -3
  141. package/esm2020/lib/store/effects/download.effects.mjs +3 -3
  142. package/esm2020/lib/store/effects/favorite.effects.mjs +3 -3
  143. package/esm2020/lib/store/effects/library.effects.mjs +3 -3
  144. package/esm2020/lib/store/effects/node.effects.mjs +3 -3
  145. package/esm2020/lib/store/effects/search.effects.mjs +3 -3
  146. package/esm2020/lib/store/effects/template.effects.mjs +3 -3
  147. package/esm2020/lib/store/effects/upload.effects.mjs +5 -5
  148. package/esm2020/lib/store/effects/viewer.effects.mjs +5 -5
  149. package/esm2020/ms-office/actions/aos.actions.mjs +31 -0
  150. package/esm2020/ms-office/alfresco-aca-content-ms-office.mjs +5 -0
  151. package/esm2020/ms-office/aos-extension.module.mjs +54 -0
  152. package/esm2020/ms-office/aos-extension.service.mjs +134 -0
  153. package/esm2020/ms-office/effects/aos.effects.mjs +48 -0
  154. package/esm2020/ms-office/public-api.mjs +28 -0
  155. package/fesm2015/alfresco-aca-content-about.mjs +194 -0
  156. package/fesm2015/alfresco-aca-content-about.mjs.map +1 -0
  157. package/fesm2015/alfresco-aca-content-folder-rules.mjs +2479 -0
  158. package/fesm2015/alfresco-aca-content-folder-rules.mjs.map +1 -0
  159. package/fesm2015/alfresco-aca-content-ms-office.mjs +260 -0
  160. package/fesm2015/alfresco-aca-content-ms-office.mjs.map +1 -0
  161. package/fesm2015/alfresco-aca-content.mjs +3457 -3847
  162. package/fesm2015/alfresco-aca-content.mjs.map +1 -1
  163. package/fesm2020/alfresco-aca-content-about.mjs +194 -0
  164. package/fesm2020/alfresco-aca-content-about.mjs.map +1 -0
  165. package/fesm2020/alfresco-aca-content-folder-rules.mjs +2538 -0
  166. package/fesm2020/alfresco-aca-content-folder-rules.mjs.map +1 -0
  167. package/fesm2020/alfresco-aca-content-ms-office.mjs +282 -0
  168. package/fesm2020/alfresco-aca-content-ms-office.mjs.map +1 -0
  169. package/fesm2020/alfresco-aca-content.mjs +4622 -4995
  170. package/fesm2020/alfresco-aca-content.mjs.map +1 -1
  171. package/folder-rules/assets/folder-rules.plugin.json +71 -0
  172. package/folder-rules/assets/i18n/ar.json +144 -0
  173. package/folder-rules/assets/i18n/cs.json +144 -0
  174. package/folder-rules/assets/i18n/da.json +144 -0
  175. package/folder-rules/assets/i18n/de.json +144 -0
  176. package/folder-rules/assets/i18n/en.json +144 -0
  177. package/folder-rules/assets/i18n/es.json +144 -0
  178. package/folder-rules/assets/i18n/fi.json +144 -0
  179. package/folder-rules/assets/i18n/fr.json +144 -0
  180. package/folder-rules/assets/i18n/it.json +144 -0
  181. package/folder-rules/assets/i18n/ja.json +144 -0
  182. package/folder-rules/assets/i18n/nb.json +144 -0
  183. package/folder-rules/assets/i18n/nl.json +144 -0
  184. package/folder-rules/assets/i18n/pl.json +144 -0
  185. package/folder-rules/assets/i18n/pt-BR.json +144 -0
  186. package/folder-rules/assets/i18n/ru.json +144 -0
  187. package/folder-rules/assets/i18n/sv.json +144 -0
  188. package/folder-rules/assets/i18n/zh-CN.json +144 -0
  189. package/folder-rules/folder-rules.module.d.ts +51 -0
  190. package/folder-rules/folder-rules.rules.d.ts +27 -0
  191. package/folder-rules/index.d.ts +5 -0
  192. package/folder-rules/manage-rules/manage-rules.smart-component.d.ts +87 -0
  193. package/folder-rules/model/action-parameter-constraint.model.d.ts +31 -0
  194. package/folder-rules/model/rule-action.model.d.ts +48 -0
  195. package/folder-rules/model/rule-composite-condition.model.d.ts +30 -0
  196. package/folder-rules/model/rule-grouping-item.model.d.ts +34 -0
  197. package/folder-rules/model/rule-set.model.d.ts +34 -0
  198. package/folder-rules/model/rule-simple-condition.model.d.ts +28 -0
  199. package/folder-rules/model/rule.model.d.ts +58 -0
  200. package/folder-rules/public-api.d.ts +25 -0
  201. package/folder-rules/rule-details/actions/rule-action-list.ui-component.d.ts +47 -0
  202. package/folder-rules/rule-details/actions/rule-action.ui-component.d.ts +75 -0
  203. package/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.d.ts +60 -0
  204. package/folder-rules/rule-details/conditions/rule-condition-comparators.d.ts +30 -0
  205. package/folder-rules/rule-details/conditions/rule-condition-fields.d.ts +31 -0
  206. package/folder-rules/rule-details/conditions/rule-mime-types.d.ts +27 -0
  207. package/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.d.ts +62 -0
  208. package/folder-rules/rule-details/edit-rule-dialog.ui-component.d.ts +53 -0
  209. package/folder-rules/rule-details/options/rule-options.ui-component.d.ts +55 -0
  210. package/folder-rules/rule-details/rule-details.ui-component.d.ts +54 -0
  211. package/folder-rules/rule-details/triggers/rule-triggers.ui-component.d.ts +43 -0
  212. package/folder-rules/rule-details/validators/rule-actions.validator.d.ts +27 -0
  213. package/folder-rules/rule-details/validators/rule-composite-condition.validator.d.ts +25 -0
  214. package/folder-rules/rule-list/rule-list/rule-list.ui-component.d.ts +57 -0
  215. package/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.d.ts +44 -0
  216. package/{lib/components/node-version/node-version-form.component.d.ts → folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.d.ts} +10 -21
  217. package/folder-rules/rule-set-picker/rule-set-picker.smart-component.d.ts +61 -0
  218. package/folder-rules/services/actions.service.d.ts +28 -0
  219. package/folder-rules/services/folder-rule-sets.service.d.ts +49 -0
  220. package/folder-rules/services/folder-rules.service.d.ts +41 -0
  221. package/lib/aca-content.module.d.ts +37 -37
  222. package/lib/components/common/common.module.d.ts +29 -17
  223. package/lib/components/common/language-picker/language-picker.component.d.ts +1 -1
  224. package/lib/components/common/location-link/location-link.component.d.ts +1 -6
  225. package/lib/components/common/logout/logout.component.d.ts +2 -3
  226. package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +9 -6
  227. package/lib/components/common/user-info/user-info.component.d.ts +15 -3
  228. package/lib/components/context-menu/context-menu-item.component.d.ts +1 -1
  229. package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +1 -1
  230. package/lib/components/context-menu/context-menu.component.d.ts +1 -1
  231. package/lib/components/details/details.component.d.ts +3 -6
  232. package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +4 -8
  233. package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +3 -3
  234. package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +5 -28
  235. package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +32 -12
  236. package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +3 -8
  237. package/lib/components/favorites/favorites.component.d.ts +2 -12
  238. package/lib/components/files/files.component.d.ts +6 -15
  239. package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +28 -3
  240. package/lib/components/info-drawer/info.drawer.module.d.ts +5 -12
  241. package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +5 -4
  242. package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +1 -1
  243. package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +2 -2
  244. package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +1 -1
  245. package/lib/components/libraries/libraries.component.d.ts +2 -31
  246. package/lib/components/recent-files/recent-files.component.d.ts +2 -13
  247. package/lib/components/search/search-input/search-input.component.d.ts +2 -1
  248. package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +2 -31
  249. package/lib/components/search/search-results/search-results.component.d.ts +7 -13
  250. package/lib/components/search/search-results-row/search-results-row.component.d.ts +1 -1
  251. package/lib/components/search/search-results.module.d.ts +7 -5
  252. package/lib/components/shared-files/shared-files.component.d.ts +2 -11
  253. package/lib/components/shared-link-view/shared-link-view.component.d.ts +3 -2
  254. package/lib/components/shared-link-view/shared-link-view.module.d.ts +5 -6
  255. package/lib/components/sidenav/sidenav.module.d.ts +5 -5
  256. package/lib/components/sidenav/user-menu/user-menu.component.d.ts +58 -0
  257. package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +2 -1
  258. package/lib/components/toolbar/toolbar.module.d.ts +13 -15
  259. package/lib/components/trashcan/trashcan.component.d.ts +4 -35
  260. package/lib/components/view-profile/view-profile.component.d.ts +11 -4
  261. package/lib/components/view-profile/view-profile.guard.d.ts +2 -2
  262. package/lib/dialogs/node-template/create-from-template.dialog.d.ts +2 -2
  263. package/lib/store/effects/upload.effects.d.ts +3 -3
  264. package/ms-office/actions/aos.actions.d.ts +31 -0
  265. package/ms-office/aos-extension.module.d.ts +34 -0
  266. package/ms-office/aos-extension.service.d.ts +48 -0
  267. package/ms-office/assets/aos.plugin.json +74 -0
  268. package/ms-office/assets/i18n/ar.json +10 -0
  269. package/ms-office/assets/i18n/cs.json +10 -0
  270. package/ms-office/assets/i18n/da.json +10 -0
  271. package/ms-office/assets/i18n/de.json +10 -0
  272. package/ms-office/assets/i18n/en.json +10 -0
  273. package/ms-office/assets/i18n/es.json +10 -0
  274. package/ms-office/assets/i18n/fi.json +10 -0
  275. package/ms-office/assets/i18n/fr.json +10 -0
  276. package/ms-office/assets/i18n/it.json +10 -0
  277. package/ms-office/assets/i18n/ja.json +10 -0
  278. package/ms-office/assets/i18n/nb.json +10 -0
  279. package/ms-office/assets/i18n/nl.json +10 -0
  280. package/ms-office/assets/i18n/pl.json +10 -0
  281. package/ms-office/assets/i18n/pt-BR.json +10 -0
  282. package/ms-office/assets/i18n/ru.json +10 -0
  283. package/ms-office/assets/i18n/sv.json +10 -0
  284. package/ms-office/assets/i18n/zh-CN.json +10 -0
  285. package/ms-office/effects/aos.effects.d.ts +11 -0
  286. package/ms-office/index.d.ts +5 -0
  287. package/ms-office/public-api.d.ts +27 -0
  288. package/package.json +37 -2
  289. package/ui/application.scss +8 -0
  290. package/ui/overrides/adf-about.theme.scss +0 -5
  291. package/ui/overrides/adf-pagination.theme.scss +0 -1
  292. package/ui/overrides/ay11.scss +1 -1
  293. package/ui/variables/variables.scss +6 -13
  294. package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -76
  295. package/esm2020/lib/components/create-menu/create-menu.component.mjs +0 -73
  296. package/esm2020/lib/components/create-menu/create-menu.module.mjs +0 -44
  297. package/esm2020/lib/components/node-version/node-version-form.component.mjs +0 -70
  298. package/esm2020/lib/components/node-version/node-version.module.mjs +0 -78
  299. package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +0 -84
  300. package/esm2020/lib/components/trashcan/trashcan.module.mjs +0 -74
  301. package/esm2020/lib/components/view-profile/view-profile.module.mjs +0 -42
  302. package/lib/components/context-menu/context-menu.module.d.ts +0 -18
  303. package/lib/components/create-menu/create-menu.module.d.ts +0 -10
  304. package/lib/components/node-version/node-version.module.d.ts +0 -16
  305. package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +0 -13
  306. package/lib/components/trashcan/trashcan.module.d.ts +0 -16
  307. package/lib/components/view-profile/view-profile.module.d.ts +0 -9
@@ -0,0 +1,144 @@
1
+ {
2
+ "ACA_FOLDER_RULES": {
3
+ "ACTIONS": {
4
+ "MANAGE_RULES": "管理规则"
5
+ },
6
+ "EDIT_RULE_DIALOG": {
7
+ "CANCEL": "取消",
8
+ "CREATE": "创建",
9
+ "CREATE_TITLE": "创建规则",
10
+ "UPDATE": "更新",
11
+ "UPDATE_TITLE": "编辑一个规则"
12
+ },
13
+ "RULE_DETAILS": {
14
+ "LABEL": {
15
+ "NAME": "名称",
16
+ "DESCRIPTION": "说明",
17
+ "WHEN": "什么时候",
18
+ "PERFORM_ACTIONS": "执行操作",
19
+ "OPTIONS": "其他选项"
20
+ },
21
+ "PLACEHOLDER": {
22
+ "NAME": "输入规则名称",
23
+ "DESCRIPTION": "输入规则描述",
24
+ "NO_DESCRIPTION": "没有描述",
25
+ "VALUE": "值",
26
+ "CHOOSE_FOLDER": "选择目标文件夹"
27
+ },
28
+ "ERROR": {
29
+ "REQUIRED": "此字段为必填字段",
30
+ "RULE_COMPOSITE_CONDITION_INVALID": "一个或多个条件组为空",
31
+ "INSUFFICIENT_TRIGGERS_SELECTED": "至少需要一个触发器"
32
+ },
33
+ "TRIGGERS": {
34
+ "INBOUND": "项目被创建或进入此文件夹",
35
+ "UPDATE": "项目被更新",
36
+ "OUTBOUND": "项目被删除或离开此文件夹"
37
+ },
38
+ "OPTIONS": {
39
+ "IS_INHERITABLE": "规则适用于子文件夹",
40
+ "IS_ASYNCHRONOUS": "在后台运行规则",
41
+ "DISABLE_RULE": "禁用规则",
42
+ "ERROR_SCRIPT": "如果发生错误则运行脚本",
43
+ "NO_SCRIPT": "无"
44
+ },
45
+ "COMPARATORS": {
46
+ "EQUALS": "(=) 等于",
47
+ "CONTAINS": "包含",
48
+ "STARTS_WITH": "开始于",
49
+ "ENDS_WITH": "结束于",
50
+ "GREATER_THAN": "(>) 大于",
51
+ "LESS_THAN": "(<) 小于",
52
+ "GREATER_THAN_OR_EQUAL": "(>=) 大于或等于",
53
+ "LESS_THAN_OR_EQUAL": "(<=) 小于或等于",
54
+ "ON": "(=) 当天",
55
+ "AFTER": "(>) 之后",
56
+ "BEFORE": "(<) 之后",
57
+ "ON_OR_AFTER": "(>=) 当天或之后",
58
+ "ON_OR_BEFORE": "(<=) 当天或之前",
59
+ "INSTANCE_OF": "(=) 是"
60
+ },
61
+ "FIELDS": {
62
+ "NAME": "名称",
63
+ "SIZE": "大小",
64
+ "MIMETYPE": "MIME 类型",
65
+ "ENCODING": "编码",
66
+ "HAS_CATEGORY": "有类别",
67
+ "HAS_TAG": "有标签",
68
+ "HAS_ASPECT": "有纵横比"
69
+ },
70
+ "LOGIC_OPERATORS": {
71
+ "IF": "如果",
72
+ "NOT_IF": "除非",
73
+ "AND": "与",
74
+ "OR": "或"
75
+ },
76
+ "CONDITION_BUTTONS": {
77
+ "ADD_CONDITION": "添加条件",
78
+ "ADD_GROUP": "添加条件组",
79
+ "REMOVE": "删除"
80
+ },
81
+ "NO_CONDITIONS": "无条件",
82
+ "NO_CONDITIONS_IN_GROUP": "组中无条件",
83
+ "ACTION_BUTTONS": {
84
+ "ADD_ACTION": "添加操作",
85
+ "REMOVE": "删除"
86
+ },
87
+ "ACTION_SELECT_PLACEHOLDER": "选择一个操作"
88
+ },
89
+ "MANAGE_RULES": {
90
+ "TOOLBAR": {
91
+ "BREADCRUMB": {
92
+ "RULES": "规则"
93
+ },
94
+ "ACTIONS": {
95
+ "CREATE_RULE": "创建规则",
96
+ "LINK_RULES": "链接规则",
97
+ "EDIT_RULE": "编辑",
98
+ "SEE_IN_FOLDER": "在文件夹中查看",
99
+ "INHERIT_RULES": "继承规则"
100
+ }
101
+ },
102
+ "EMPTY_RULES_LIST": {
103
+ "TITLE": "此列表为空",
104
+ "SUBTITLE": "尚未为此文件夹定义规则。"
105
+ }
106
+ },
107
+ "CONFIRMATION_DIALOG": {
108
+ "DELETE_RULE": {
109
+ "TITLE": "删除规则",
110
+ "MESSAGE": "是否确定要删除此规则?"
111
+ },
112
+ "DELETE_RULE_SET_LINK": {
113
+ "TITLE": "删除规则集链接",
114
+ "MESSAGE": "是否确定要删除此规则集的链接?"
115
+ }
116
+ },
117
+ "RULE_LIST": {
118
+ "OWNED_RULES": "来自当前文件夹的规则",
119
+ "LINKED_RULES": "来自链接文件夹的规则",
120
+ "INHERITED_RULES": "继承的规则",
121
+ "LOAD_MORE_RULE_SETS": "加载来自其他文件夹的规则",
122
+ "LOAD_MORE_RULES": "加载更多规则",
123
+ "LOADING_RULES": "正在加载规则",
124
+ "INHERITED_RULES_WILL_BE_RUN_FIRST": "首先运行继承的规则",
125
+ "ALL_LINKED_RULES_ARE_DISABLED": "禁用从此规则集链接的所有规则"
126
+ },
127
+ "LINK_RULES_DIALOG": {
128
+ "TITLE": "选择要从中链接规则的文件夹",
129
+ "CANCEL": "取消",
130
+ "SUBMIT": "选择文件夹",
131
+ "EMPTY_RULES_LIST": {
132
+ "TITLE": "无自定义规则",
133
+ "SUBTITLE": "所选文件夹不包含任何自定义规则。"
134
+ },
135
+ "LIST_OF_RULES_TO_LINK": "将链接的规则列表",
136
+ "ERRORS": {
137
+ "REQUEST_FAILED": "创建规则集链接时出错"
138
+ }
139
+ },
140
+ "ERRORS": {
141
+ "DELETE_RULE_SET_LINK_FAILED": "删除规则集链接时出错"
142
+ }
143
+ }
144
+ }
@@ -0,0 +1,51 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { TranslationService } from '@alfresco/adf-core';
25
+ import { ExtensionService } from '@alfresco/adf-extensions';
26
+ import * as i0 from "@angular/core";
27
+ import * as i1 from "./rule-details/edit-rule-dialog.ui-component";
28
+ import * as i2 from "./manage-rules/manage-rules.smart-component";
29
+ import * as i3 from "./rule-details/actions/rule-action-list.ui-component";
30
+ import * as i4 from "./rule-details/actions/rule-action.ui-component";
31
+ import * as i5 from "./rule-details/conditions/rule-composite-condition.ui-component";
32
+ import * as i6 from "./rule-details/rule-details.ui-component";
33
+ import * as i7 from "./rule-list/rule-list-grouping/rule-list-grouping.ui-component";
34
+ import * as i8 from "./rule-list/rule-list-item/rule-list-item.ui-component";
35
+ import * as i9 from "./rule-list/rule-list/rule-list.ui-component";
36
+ import * as i10 from "./rule-set-picker/rule-set-picker.smart-component";
37
+ import * as i11 from "./rule-details/conditions/rule-simple-condition.ui-component";
38
+ import * as i12 from "./rule-details/triggers/rule-triggers.ui-component";
39
+ import * as i13 from "./rule-details/options/rule-options.ui-component";
40
+ import * as i14 from "@angular/common";
41
+ import * as i15 from "@angular/router";
42
+ import * as i16 from "@alfresco/adf-core";
43
+ import * as i17 from "@alfresco/aca-shared";
44
+ import * as i18 from "@alfresco/adf-content-services";
45
+ import * as i19 from "@alfresco/adf-extensions";
46
+ export declare class AcaFolderRulesModule {
47
+ constructor(translation: TranslationService, extensions: ExtensionService);
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<AcaFolderRulesModule, never>;
49
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AcaFolderRulesModule, [typeof i1.EditRuleDialogUiComponent, typeof i2.ManageRulesSmartComponent, typeof i3.RuleActionListUiComponent, typeof i4.RuleActionUiComponent, typeof i5.RuleCompositeConditionUiComponent, typeof i6.RuleDetailsUiComponent, typeof i7.RuleListGroupingUiComponent, typeof i8.RuleListItemUiComponent, typeof i9.RuleListUiComponent, typeof i10.RuleSetPickerSmartComponent, typeof i11.RuleSimpleConditionUiComponent, typeof i12.RuleTriggersUiComponent, typeof i13.RuleOptionsUiComponent], [typeof i14.CommonModule, typeof i15.RouterModule, typeof i16.CoreModule, typeof i17.PageLayoutModule, typeof i18.BreadcrumbModule, typeof i18.DocumentListModule, typeof i19.ExtensionsModule, typeof i18.ContentNodeSelectorModule, typeof i17.GenericErrorComponent], never>;
50
+ static ɵinj: i0.ɵɵInjectorDeclaration<AcaFolderRulesModule>;
51
+ }
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { AcaRuleContext } from '@alfresco/aca-shared/rules';
25
+ export declare const isFolderRulesEnabled: (context: AcaRuleContext) => boolean;
26
+ export declare const isFolderRulesAllowed: (context: AcaRuleContext) => boolean;
27
+ export declare const canManageFolderRules: (context: AcaRuleContext) => boolean;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@alfresco/aca-content/folder-rules" />
5
+ export * from './public-api';
@@ -0,0 +1,87 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { OnDestroy, OnInit } from '@angular/core';
25
+ import { Location } from '@angular/common';
26
+ import { FolderRulesService } from '../services/folder-rules.service';
27
+ import { Observable } from 'rxjs';
28
+ import { Rule } from '../model/rule.model';
29
+ import { ActivatedRoute } from '@angular/router';
30
+ import { NodeInfo } from '@alfresco/aca-shared/store';
31
+ import { MatDialog } from '@angular/material/dialog';
32
+ import { NotificationService } from '@alfresco/adf-core';
33
+ import { ActionDefinitionTransformed } from '../model/rule-action.model';
34
+ import { ActionsService } from '../services/actions.service';
35
+ import { FolderRuleSetsService } from '../services/folder-rule-sets.service';
36
+ import { RuleSet } from '../model/rule-set.model';
37
+ import { MatSlideToggleChange } from '@angular/material/slide-toggle';
38
+ import { ActionParameterConstraint } from '../model/action-parameter-constraint.model';
39
+ import * as i0 from "@angular/core";
40
+ export declare class ManageRulesSmartComponent implements OnInit, OnDestroy {
41
+ private location;
42
+ private folderRulesService;
43
+ private route;
44
+ private matDialogService;
45
+ private notificationService;
46
+ private actionsService;
47
+ private folderRuleSetsService;
48
+ nodeId: string;
49
+ isInheritanceEnabled: boolean;
50
+ isInheritanceToggleDisabled: boolean;
51
+ mainRuleSet$: Observable<RuleSet>;
52
+ inheritedRuleSets$: Observable<RuleSet[]>;
53
+ selectedRule$: Observable<Rule>;
54
+ selectedRuleSet$: Observable<RuleSet>;
55
+ hasMoreRuleSets$: Observable<boolean>;
56
+ ruleSetsLoading$: Observable<boolean>;
57
+ folderInfo$: Observable<NodeInfo>;
58
+ actionsLoading$: Observable<boolean>;
59
+ actionDefinitions$: Observable<ActionDefinitionTransformed[]>;
60
+ parameterConstraints$: Observable<ActionParameterConstraint[]>;
61
+ canEditMainRule: boolean;
62
+ canEditSelectedRule: boolean;
63
+ isMainRuleSetNotEmpty: boolean;
64
+ isInheritedRuleSetsNotEmpty: boolean;
65
+ private destroyed$;
66
+ private _actionDefinitionsSub;
67
+ constructor(location: Location, folderRulesService: FolderRulesService, route: ActivatedRoute, matDialogService: MatDialog, notificationService: NotificationService, actionsService: ActionsService, folderRuleSetsService: FolderRuleSetsService);
68
+ ngOnInit(): void;
69
+ ngOnDestroy(): void;
70
+ goBack(): void;
71
+ onSelectRule(rule: Rule): void;
72
+ openCreateUpdateRuleDialog(model?: {}): void;
73
+ onSubmitRuleDialog(dialogRef: any): void;
74
+ onRuleUpdate(rule: Rule): Promise<void>;
75
+ onRuleCreate(ruleCreateParams: Partial<Rule>): Promise<void>;
76
+ onRuleEnabledToggle(rule: Rule, isEnabled: boolean): Promise<void>;
77
+ onInheritanceToggleChange(event: MatSlideToggleChange): Promise<void>;
78
+ onRuleDeleteButtonClicked(rule: Rule): void;
79
+ onRuleDelete(deletedRuleId: string): void;
80
+ onLoadMoreRuleSets(): void;
81
+ onLoadMoreRules(ruleSet: RuleSet): void;
82
+ canEditRule(ruleSet: RuleSet): boolean;
83
+ openLinkRulesDialog(existingRuleSet?: RuleSet): void;
84
+ onRuleSetUnlinkClicked(linkedRuleSet: RuleSet): void;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<ManageRulesSmartComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<ManageRulesSmartComponent, "aca-manage-rules", never, {}, {}, never, never, false>;
87
+ }
@@ -0,0 +1,31 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export interface ActionParameterConstraint {
25
+ name: string;
26
+ constraints: ConstraintValue[];
27
+ }
28
+ export interface ConstraintValue {
29
+ value: string;
30
+ label: string;
31
+ }
@@ -0,0 +1,48 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export interface RuleAction {
25
+ actionDefinitionId: string;
26
+ params?: {
27
+ [key: string]: unknown;
28
+ };
29
+ }
30
+ export declare const isRuleAction: (obj: any) => obj is RuleAction;
31
+ export declare const isRuleActions: (obj: any) => obj is RuleAction[];
32
+ export interface ActionDefinitionTransformed {
33
+ id: string;
34
+ name: string;
35
+ description: string;
36
+ title: string;
37
+ applicableTypes: string[];
38
+ trackStatus: boolean;
39
+ parameterDefinitions: ActionParameterDefinitionTransformed[];
40
+ }
41
+ export interface ActionParameterDefinitionTransformed {
42
+ name: string;
43
+ type: string;
44
+ multiValued: boolean;
45
+ mandatory: boolean;
46
+ displayLabel: string;
47
+ parameterConstraintName?: string;
48
+ }
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { RuleSimpleCondition } from './rule-simple-condition.model';
25
+ export interface RuleCompositeCondition {
26
+ inverted: boolean;
27
+ booleanMode: 'and' | 'or';
28
+ compositeConditions: RuleCompositeCondition[];
29
+ simpleConditions: RuleSimpleCondition[];
30
+ }
@@ -0,0 +1,34 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { Rule } from './rule.model';
25
+ import { RuleSet } from './rule-set.model';
26
+ export declare type RuleGroupingItem = {
27
+ type: 'rule';
28
+ rule: Rule;
29
+ } | {
30
+ type: 'load-more-rules';
31
+ ruleSet: RuleSet;
32
+ } | {
33
+ type: 'loading' | 'load-more-rule-sets';
34
+ };
@@ -0,0 +1,34 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { Rule } from './rule.model';
25
+ import { NodeInfo } from '@alfresco/aca-shared/store';
26
+ export interface RuleSet {
27
+ id: string;
28
+ isLinkedTo: boolean;
29
+ owningFolder: NodeInfo;
30
+ linkedToBy: string[];
31
+ rules: Rule[];
32
+ hasMoreRules: boolean;
33
+ loadingRules: boolean;
34
+ }
@@ -0,0 +1,28 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export interface RuleSimpleCondition {
25
+ field: string;
26
+ comparator: string;
27
+ parameter: string;
28
+ }
@@ -0,0 +1,58 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { RuleCompositeCondition } from './rule-composite-condition.model';
25
+ import { RuleAction } from './rule-action.model';
26
+ export declare type RuleTrigger = 'inbound' | 'update' | 'outbound';
27
+ export interface Rule {
28
+ id: string;
29
+ name: string;
30
+ description: string;
31
+ isEnabled: boolean;
32
+ isInheritable: boolean;
33
+ isAsynchronous: boolean;
34
+ errorScript: string;
35
+ isShared: boolean;
36
+ triggers: RuleTrigger[];
37
+ conditions: RuleCompositeCondition;
38
+ actions: RuleAction[];
39
+ }
40
+ export interface RuleOptions {
41
+ isEnabled: boolean;
42
+ isInheritable: boolean;
43
+ isAsynchronous: boolean;
44
+ errorScript: string;
45
+ }
46
+ export interface RuleForForm {
47
+ id: string;
48
+ name: string;
49
+ description: string;
50
+ triggers: RuleTrigger[];
51
+ conditions: RuleCompositeCondition;
52
+ actions: RuleAction[];
53
+ options: RuleOptions;
54
+ }
55
+ export interface RuleSettings {
56
+ value: boolean;
57
+ key?: string;
58
+ }
@@ -0,0 +1,25 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export * from './folder-rules.module';
25
+ export { ManageRulesSmartComponent } from './manage-rules/manage-rules.smart-component';
@@ -0,0 +1,47 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { OnDestroy } from '@angular/core';
25
+ import { ControlValueAccessor, FormArray, FormControl } from '@angular/forms';
26
+ import { ActionDefinitionTransformed, RuleAction } from '../../model/rule-action.model';
27
+ import { ActionParameterConstraint } from '../../model/action-parameter-constraint.model';
28
+ import * as i0 from "@angular/core";
29
+ export declare class RuleActionListUiComponent implements ControlValueAccessor, OnDestroy {
30
+ actionDefinitions: ActionDefinitionTransformed[];
31
+ readOnly: boolean;
32
+ parameterConstraints: ActionParameterConstraint[];
33
+ nodeId: string;
34
+ formArray: FormArray<any>;
35
+ private formArraySubscription;
36
+ formControls: FormControl[];
37
+ onChange: (actions: RuleAction[]) => void;
38
+ onTouch: () => void;
39
+ writeValue(actions: RuleAction[]): void;
40
+ registerOnChange(fn: (actions: RuleAction[]) => void): void;
41
+ registerOnTouched(fn: () => void): void;
42
+ addAction(): void;
43
+ ngOnDestroy(): void;
44
+ removeAction(control: FormControl): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<RuleActionListUiComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<RuleActionListUiComponent, "aca-rule-action-list", never, { "actionDefinitions": "actionDefinitions"; "readOnly": "readOnly"; "parameterConstraints": "parameterConstraints"; "nodeId": "nodeId"; }, {}, never, never, false>;
47
+ }