ngx-edu-sharing-ui 0.7.0 → 9.0.1

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 (367) hide show
  1. package/assets/scss/mixins.scss +4 -1
  2. package/assets/scss/variables.scss +3 -0
  3. package/esm2022/lib/actionbar/actionbar.component.mjs +188 -0
  4. package/esm2022/lib/common/edu-sharing-ui-common.module.mjs +134 -0
  5. package/esm2022/lib/directives/border-box-observer.directive.mjs +71 -0
  6. package/esm2022/lib/directives/check-text-overflow.directive.mjs +65 -0
  7. package/esm2022/lib/directives/drag-nodes/drag-nodes.mjs +14 -0
  8. package/esm2022/lib/directives/drag-nodes/nodes-drag-source.directive.mjs +79 -0
  9. package/esm2022/lib/directives/drag-nodes/nodes-drag.directive.mjs +49 -0
  10. package/esm2022/lib/directives/drag-nodes/nodes-drop-target.directive.mjs +105 -0
  11. package/esm2022/lib/directives/focus-state.directive.mjs +44 -0
  12. package/esm2022/lib/directives/icon.directive.mjs +139 -0
  13. package/esm2022/lib/dropdown/dropdown.component.mjs +70 -0
  14. package/esm2022/lib/edu-sharing-ui-configuration.mjs +41 -0
  15. package/esm2022/lib/edu-sharing-ui.module.mjs +78 -0
  16. package/esm2022/lib/list-items/available-widgets.mjs +27 -0
  17. package/esm2022/lib/list-items/format-duration.pipe.mjs +20 -0
  18. package/esm2022/lib/list-items/list-base/list-base.component.mjs +46 -0
  19. package/esm2022/lib/list-items/list-collection-info/list-collection-info.component.mjs +29 -0
  20. package/esm2022/lib/list-items/list-counts/list-counts.component.mjs +54 -0
  21. package/esm2022/lib/list-items/list-items.module.mjs +50 -0
  22. package/esm2022/lib/list-items/list-node-license/list-node-license.component.mjs +41 -0
  23. package/esm2022/lib/list-items/list-node-replication-source/list-node-replication-source.component.mjs +47 -0
  24. package/esm2022/lib/list-items/list-node-workflow/list-node-workflow.component.mjs +24 -0
  25. package/esm2022/lib/list-items/list-text/list-text.component.mjs +106 -0
  26. package/esm2022/lib/list-items/list-widget.mjs +49 -0
  27. package/esm2022/lib/list-items/node-row/node-row.component.mjs +24 -0
  28. package/esm2022/lib/list-items/node-source.pipe.mjs +49 -0
  29. package/esm2022/lib/node-entries/combined-data-source.mjs +41 -0
  30. package/esm2022/lib/node-entries/custom-templates-data-source.mjs +7 -0
  31. package/esm2022/lib/node-entries/drag-preview/drag-preview.component.mjs +21 -0
  32. package/esm2022/lib/node-entries/entries-model.mjs +23 -0
  33. package/esm2022/lib/node-entries/items-cap.mjs +47 -0
  34. package/esm2022/lib/node-entries/list-item-label.pipe.mjs +34 -0
  35. package/esm2022/lib/node-entries/node-cache.mjs +65 -0
  36. package/esm2022/lib/node-entries/node-data-source-remote.mjs +4 -0
  37. package/esm2022/lib/node-entries/node-data-source.mjs +115 -0
  38. package/esm2022/lib/node-entries/node-entries-card/node-entries-card.component.mjs +131 -0
  39. package/esm2022/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.mjs +307 -0
  40. package/esm2022/lib/node-entries/node-entries-card-small/node-entries-card-small.component.mjs +45 -0
  41. package/esm2022/lib/node-entries/node-entries-global-options/node-entries-global-options.component.mjs +23 -0
  42. package/esm2022/lib/node-entries/node-entries-global.service.mjs +58 -0
  43. package/esm2022/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.mjs +42 -0
  44. package/esm2022/lib/node-entries/node-entries-table/node-entries-table.component.mjs +290 -0
  45. package/esm2022/lib/node-entries/node-entries-templates.service.mjs +11 -0
  46. package/esm2022/lib/node-entries/node-entries-wrapper.component.mjs +324 -0
  47. package/esm2022/lib/node-entries/node-entries.component.mjs +131 -0
  48. package/esm2022/lib/node-entries/node-entries.module.mjs +161 -0
  49. package/esm2022/lib/node-entries/node-rating/node-rating.component.mjs +102 -0
  50. package/esm2022/lib/node-entries/node-stats-badges/node-stats-badges.component.mjs +48 -0
  51. package/esm2022/lib/node-entries/node-type-badge/node-type-badge.component.mjs +36 -0
  52. package/esm2022/lib/node-entries/option-button/option-button.component.mjs +62 -0
  53. package/esm2022/lib/node-entries/preview-image/preview-image.component.mjs +53 -0
  54. package/esm2022/lib/node-entries/sort-select-panel/sort-select-panel.component.mjs +41 -0
  55. package/esm2022/lib/node-url/node-url.component.mjs +128 -0
  56. package/esm2022/lib/pipes/file-size.pipe.mjs +31 -0
  57. package/esm2022/lib/pipes/format-date.pipe.mjs +38 -0
  58. package/esm2022/lib/pipes/node-icon.pipe.mjs +18 -0
  59. package/esm2022/lib/pipes/node-image-size.pipe.mjs +24 -0
  60. package/esm2022/lib/pipes/node-image.pipe.mjs +55 -0
  61. package/esm2022/lib/pipes/node-person-name.pipe.mjs +50 -0
  62. package/esm2022/lib/pipes/node-title.pipe.mjs +19 -0
  63. package/esm2022/lib/pipes/option-tooltip.pipe.mjs +33 -0
  64. package/esm2022/lib/pipes/replace-chars.pipe.mjs +29 -0
  65. package/esm2022/lib/pipes/vcard-name.pipe.mjs +19 -0
  66. package/esm2022/lib/services/abstract/app.service.mjs +3 -0
  67. package/esm2022/lib/services/abstract/keyboard-shortcuts.service.mjs +10 -0
  68. package/esm2022/lib/services/abstract/options-helper.service.mjs +3 -0
  69. package/esm2022/lib/services/abstract/toast.service.mjs +3 -0
  70. package/esm2022/lib/services/accessibility.service.mjs +73 -0
  71. package/esm2022/lib/services/local-events.service.mjs +36 -0
  72. package/esm2022/lib/services/node-entries.service.mjs +137 -0
  73. package/esm2022/lib/services/node-helper.service.mjs +234 -0
  74. package/esm2022/lib/services/nodes-drag-drop.service.mjs +155 -0
  75. package/esm2022/lib/services/options-helper-data.service.mjs +134 -0
  76. package/esm2022/lib/services/repo-url.service.mjs +49 -0
  77. package/esm2022/lib/services/temporary-storage.service.mjs +48 -0
  78. package/esm2022/lib/services/ui.service.mjs +162 -0
  79. package/esm2022/lib/sort-dropdown/sort-dropdown.component.mjs +50 -0
  80. package/esm2022/lib/spinner/spinner.component.mjs +18 -0
  81. package/esm2022/lib/translations/fallback-translation-handler.mjs +6 -0
  82. package/esm2022/lib/translations/languages.mjs +5 -0
  83. package/esm2022/lib/translations/translation-loader.mjs +149 -0
  84. package/esm2022/lib/translations/translation-source.mjs +11 -0
  85. package/esm2022/lib/translations/translations.module.mjs +67 -0
  86. package/esm2022/lib/translations/translations.service.mjs +171 -0
  87. package/esm2022/lib/types/accessibillity.mjs +19 -0
  88. package/esm2022/lib/types/api-models.mjs +2 -0
  89. package/esm2022/lib/types/drag-drop.mjs +2 -0
  90. package/esm2022/lib/types/keyboard-shortcuts.mjs +11 -0
  91. package/esm2022/lib/types/list-item.mjs +41 -0
  92. package/esm2022/lib/types/option-item.mjs +174 -0
  93. package/esm2022/lib/types/workflow.mjs +25 -0
  94. package/esm2022/lib/util/DateHelper.mjs +200 -0
  95. package/esm2022/lib/util/VCard.mjs +278 -0
  96. package/esm2022/lib/util/color-helper.mjs +124 -0
  97. package/esm2022/lib/util/duration-helper.mjs +102 -0
  98. package/esm2022/lib/util/functions.mjs +13 -0
  99. package/esm2022/lib/util/helper.mjs +64 -0
  100. package/esm2022/lib/util/isNumeric.mjs +11 -0
  101. package/esm2022/lib/util/rest-helper.mjs +33 -0
  102. package/esm2022/lib/util/ui-animation.mjs +146 -0
  103. package/esm2022/lib/util/ui-constants.mjs +21 -0
  104. package/esm2022/module.mjs +76 -0
  105. package/esm2022/ngx-edu-sharing-ui.mjs +5 -0
  106. package/fesm2022/ngx-edu-sharing-ui.mjs +6509 -0
  107. package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -0
  108. package/index.d.ts +5 -0
  109. package/lib/actionbar/actionbar.component.d.ts +74 -0
  110. package/lib/common/edu-sharing-ui-common.module.d.ts +32 -0
  111. package/lib/directives/border-box-observer.directive.d.ts +31 -0
  112. package/lib/directives/check-text-overflow.directive.d.ts +20 -0
  113. package/lib/directives/drag-nodes/drag-nodes.d.ts +16 -0
  114. package/lib/directives/drag-nodes/nodes-drag-source.directive.d.ts +37 -0
  115. package/lib/directives/drag-nodes/nodes-drag.directive.d.ts +17 -0
  116. package/lib/directives/drag-nodes/nodes-drop-target.directive.d.ts +22 -0
  117. package/lib/directives/focus-state.directive.d.ts +14 -0
  118. package/lib/directives/icon.directive.d.ts +46 -0
  119. package/lib/dropdown/dropdown.component.d.ts +40 -0
  120. package/lib/edu-sharing-ui-configuration.d.ts +11 -0
  121. package/lib/edu-sharing-ui.module.d.ts +19 -0
  122. package/lib/list-items/available-widgets.d.ts +13 -0
  123. package/lib/list-items/format-duration.pipe.d.ts +10 -0
  124. package/lib/list-items/list-base/list-base.component.d.ts +18 -0
  125. package/lib/list-items/list-collection-info/list-collection-info.component.d.ts +14 -0
  126. package/lib/list-items/list-counts/list-counts.component.d.ts +13 -0
  127. package/lib/list-items/list-items.module.d.ts +20 -0
  128. package/lib/list-items/list-node-license/list-node-license.component.d.ts +20 -0
  129. package/lib/list-items/list-node-replication-source/list-node-replication-source.component.d.ts +22 -0
  130. package/lib/list-items/list-node-workflow/list-node-workflow.component.d.ts +12 -0
  131. package/lib/list-items/list-text/list-text.component.d.ts +28 -0
  132. package/lib/list-items/list-widget.d.ts +32 -0
  133. package/lib/list-items/node-row/node-row.component.d.ts +12 -0
  134. package/lib/list-items/node-source.pipe.d.ts +16 -0
  135. package/lib/node-entries/combined-data-source.d.ts +19 -0
  136. package/{src/lib/node-entries/custom-templates-data-source.ts → lib/node-entries/custom-templates-data-source.d.ts} +2 -2
  137. package/lib/node-entries/drag-preview/drag-preview.component.d.ts +11 -0
  138. package/{src/lib/node-entries/entries-model.ts → lib/node-entries/entries-model.d.ts} +19 -47
  139. package/lib/node-entries/items-cap.d.ts +17 -0
  140. package/lib/node-entries/list-item-label.pipe.d.ts +14 -0
  141. package/lib/node-entries/node-cache.d.ts +17 -0
  142. package/{src/lib/node-entries/node-data-source-remote.ts → lib/node-entries/node-data-source-remote.d.ts} +2 -12
  143. package/lib/node-entries/node-data-source.d.ts +42 -0
  144. package/lib/node-entries/node-entries-card/node-entries-card.component.d.ts +45 -0
  145. package/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.d.ts +92 -0
  146. package/lib/node-entries/node-entries-card-small/node-entries-card-small.component.d.ts +23 -0
  147. package/lib/node-entries/node-entries-global-options/node-entries-global-options.component.d.ts +12 -0
  148. package/lib/node-entries/node-entries-global.service.d.ts +50 -0
  149. package/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.d.ts +17 -0
  150. package/lib/node-entries/node-entries-table/node-entries-table.component.d.ts +76 -0
  151. package/{src/lib/node-entries/node-entries-templates.service.ts → lib/node-entries/node-entries-templates.service.d.ts} +6 -9
  152. package/lib/node-entries/node-entries-wrapper.component.d.ts +129 -0
  153. package/lib/node-entries/node-entries.component.d.ts +32 -0
  154. package/lib/node-entries/node-entries.module.d.ts +43 -0
  155. package/lib/node-entries/node-rating/node-rating.component.d.ts +26 -0
  156. package/lib/node-entries/node-stats-badges/node-stats-badges.component.d.ts +17 -0
  157. package/lib/node-entries/node-type-badge/node-type-badge.component.d.ts +21 -0
  158. package/lib/node-entries/option-button/option-button.component.d.ts +11 -0
  159. package/lib/node-entries/preview-image/preview-image.component.d.ts +22 -0
  160. package/lib/node-entries/sort-select-panel/sort-select-panel.component.d.ts +16 -0
  161. package/lib/node-url/node-url.component.d.ts +51 -0
  162. package/lib/pipes/file-size.pipe.d.ts +10 -0
  163. package/lib/pipes/format-date.pipe.d.ts +21 -0
  164. package/lib/pipes/node-icon.pipe.d.ts +11 -0
  165. package/lib/pipes/node-image-size.pipe.d.ts +8 -0
  166. package/lib/pipes/node-image.pipe.d.ts +28 -0
  167. package/lib/pipes/node-person-name.pipe.d.ts +10 -0
  168. package/lib/pipes/node-title.pipe.d.ts +11 -0
  169. package/lib/pipes/option-tooltip.pipe.d.ts +12 -0
  170. package/lib/pipes/replace-chars.pipe.d.ts +10 -0
  171. package/lib/pipes/vcard-name.pipe.d.ts +10 -0
  172. package/{src/lib/services/abstract/app.service.ts → lib/services/abstract/app.service.d.ts} +1 -1
  173. package/lib/services/abstract/keyboard-shortcuts.service.d.ts +11 -0
  174. package/lib/services/abstract/options-helper.service.d.ts +10 -0
  175. package/{src/lib/services/abstract/toast.service.ts → lib/services/abstract/toast.service.d.ts} +1 -2
  176. package/lib/services/accessibility.service.d.ts +18 -0
  177. package/{src/lib/services/local-events.service.ts → lib/services/local-events.service.d.ts} +7 -10
  178. package/lib/services/node-entries.service.d.ts +69 -0
  179. package/lib/services/node-helper.service.d.ts +56 -0
  180. package/lib/services/nodes-drag-drop.service.d.ts +41 -0
  181. package/lib/services/options-helper-data.service.d.ts +75 -0
  182. package/lib/services/repo-url.service.d.ts +25 -0
  183. package/lib/services/temporary-storage.service.d.ts +35 -0
  184. package/lib/services/ui.service.d.ts +41 -0
  185. package/lib/sort-dropdown/sort-dropdown.component.d.ts +15 -0
  186. package/lib/spinner/spinner.component.d.ts +7 -0
  187. package/lib/translations/fallback-translation-handler.d.ts +4 -0
  188. package/lib/translations/languages.d.ts +4 -0
  189. package/lib/translations/translation-loader.d.ts +51 -0
  190. package/{src/lib/translations/translation-source.ts → lib/translations/translation-source.d.ts} +4 -4
  191. package/lib/translations/translations.module.d.ts +15 -0
  192. package/lib/translations/translations.service.d.ts +30 -0
  193. package/lib/types/accessibillity.d.ts +15 -0
  194. package/{src/lib/types/drag-drop.ts → lib/types/drag-drop.d.ts} +0 -3
  195. package/lib/types/keyboard-shortcuts.d.ts +10 -0
  196. package/lib/types/list-item.d.ts +55 -0
  197. package/lib/types/option-item.d.ts +236 -0
  198. package/lib/types/workflow.d.ts +14 -0
  199. package/lib/util/DateHelper.d.ts +44 -0
  200. package/lib/util/VCard.d.ts +66 -0
  201. package/lib/util/color-helper.d.ts +25 -0
  202. package/lib/util/duration-helper.d.ts +14 -0
  203. package/lib/util/functions.d.ts +4 -0
  204. package/lib/util/helper.d.ts +20 -0
  205. package/lib/util/isNumeric.d.ts +5 -0
  206. package/lib/util/rest-helper.d.ts +10 -0
  207. package/lib/util/ui-animation.d.ts +39 -0
  208. package/lib/util/ui-constants.d.ts +18 -0
  209. package/{src/module.ts → module.d.ts} +0 -4
  210. package/package.json +23 -9
  211. package/.browserslistrc +0 -16
  212. package/.eslintrc.json +0 -44
  213. package/karma.conf.js +0 -42
  214. package/ng-package.json +0 -10
  215. package/src/lib/actionbar/actionbar.component.html +0 -59
  216. package/src/lib/actionbar/actionbar.component.scss +0 -123
  217. package/src/lib/actionbar/actionbar.component.ts +0 -174
  218. package/src/lib/common/edu-sharing-ui-common.module.ts +0 -80
  219. package/src/lib/directives/border-box-observer.directive.ts +0 -75
  220. package/src/lib/directives/check-text-overflow.directive.ts +0 -61
  221. package/src/lib/directives/drag-nodes/drag-nodes.ts +0 -32
  222. package/src/lib/directives/drag-nodes/nodes-drag-source.directive.ts +0 -79
  223. package/src/lib/directives/drag-nodes/nodes-drag.directive.ts +0 -43
  224. package/src/lib/directives/drag-nodes/nodes-drop-target.directive.ts +0 -116
  225. package/src/lib/directives/focus-state.directive.ts +0 -34
  226. package/src/lib/directives/icon.directive.ts +0 -142
  227. package/src/lib/directives/nodes-drop-target-legacy.directive.ts +0 -155
  228. package/src/lib/dropdown/dropdown.component.html +0 -32
  229. package/src/lib/dropdown/dropdown.component.scss +0 -67
  230. package/src/lib/dropdown/dropdown.component.ts +0 -71
  231. package/src/lib/edu-sharing-ui-configuration.ts +0 -47
  232. package/src/lib/edu-sharing-ui.module.ts +0 -49
  233. package/src/lib/list-items/available-widgets.ts +0 -30
  234. package/src/lib/list-items/format-duration.pipe.ts +0 -17
  235. package/src/lib/list-items/list-base/list-base.component.html +0 -52
  236. package/src/lib/list-items/list-base/list-base.component.ts +0 -44
  237. package/src/lib/list-items/list-collection-info/list-collection-info.component.html +0 -48
  238. package/src/lib/list-items/list-collection-info/list-collection-info.component.scss +0 -8
  239. package/src/lib/list-items/list-collection-info/list-collection-info.component.ts +0 -24
  240. package/src/lib/list-items/list-counts/list-counts.component.html +0 -1
  241. package/src/lib/list-items/list-counts/list-counts.component.scss +0 -3
  242. package/src/lib/list-items/list-counts/list-counts.component.ts +0 -59
  243. package/src/lib/list-items/list-items.module.ts +0 -33
  244. package/src/lib/list-items/list-node-license/list-node-license.component.html +0 -8
  245. package/src/lib/list-items/list-node-license/list-node-license.component.ts +0 -47
  246. package/src/lib/list-items/list-node-replication-source/list-node-replication-source.component.html +0 -11
  247. package/src/lib/list-items/list-node-replication-source/list-node-replication-source.component.ts +0 -60
  248. package/src/lib/list-items/list-node-workflow/list-node-workflow.component.html +0 -3
  249. package/src/lib/list-items/list-node-workflow/list-node-workflow.component.ts +0 -21
  250. package/src/lib/list-items/list-text/list-text.component.html +0 -176
  251. package/src/lib/list-items/list-text/list-text.component.scss +0 -3
  252. package/src/lib/list-items/list-text/list-text.component.ts +0 -107
  253. package/src/lib/list-items/list-widget.ts +0 -52
  254. package/src/lib/list-items/node-row/node-row.component.html +0 -31
  255. package/src/lib/list-items/node-row/node-row.component.scss +0 -50
  256. package/src/lib/list-items/node-row/node-row.component.ts +0 -16
  257. package/src/lib/list-items/node-source.pipe.ts +0 -48
  258. package/src/lib/node-entries/combined-data-source.ts +0 -51
  259. package/src/lib/node-entries/drag-preview/drag-preview.component.html +0 -6
  260. package/src/lib/node-entries/drag-preview/drag-preview.component.scss +0 -35
  261. package/src/lib/node-entries/drag-preview/drag-preview.component.ts +0 -15
  262. package/src/lib/node-entries/items-cap.ts +0 -54
  263. package/src/lib/node-entries/list-item-label.pipe.ts +0 -28
  264. package/src/lib/node-entries/mixins.scss +0 -23
  265. package/src/lib/node-entries/node-cache.spec.ts +0 -199
  266. package/src/lib/node-entries/node-cache.ts +0 -81
  267. package/src/lib/node-entries/node-data-source.ts +0 -148
  268. package/src/lib/node-entries/node-entries-card/node-entries-card.component.html +0 -167
  269. package/src/lib/node-entries/node-entries-card/node-entries-card.component.scss +0 -28
  270. package/src/lib/node-entries/node-entries-card/node-entries-card.component.ts +0 -132
  271. package/src/lib/node-entries/node-entries-card/node-entries-card.main.scss +0 -261
  272. package/src/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.html +0 -205
  273. package/src/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.scss +0 -181
  274. package/src/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.ts +0 -361
  275. package/src/lib/node-entries/node-entries-card-small/node-entries-card-small.component.html +0 -100
  276. package/src/lib/node-entries/node-entries-card-small/node-entries-card-small.component.scss +0 -46
  277. package/src/lib/node-entries/node-entries-card-small/node-entries-card-small.component.ts +0 -40
  278. package/src/lib/node-entries/node-entries-global-options/node-entries-global-options.component.html +0 -23
  279. package/src/lib/node-entries/node-entries-global-options/node-entries-global-options.component.scss +0 -58
  280. package/src/lib/node-entries/node-entries-global-options/node-entries-global-options.component.ts +0 -16
  281. package/src/lib/node-entries/node-entries-global.service.ts +0 -79
  282. package/src/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.html +0 -25
  283. package/src/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.scss +0 -32
  284. package/src/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.ts +0 -31
  285. package/src/lib/node-entries/node-entries-table/node-entries-table.component.html +0 -270
  286. package/src/lib/node-entries/node-entries-table/node-entries-table.component.scss +0 -169
  287. package/src/lib/node-entries/node-entries-table/node-entries-table.component.ts +0 -333
  288. package/src/lib/node-entries/node-entries-wrapper.component.ts +0 -363
  289. package/src/lib/node-entries/node-entries.component.html +0 -33
  290. package/src/lib/node-entries/node-entries.component.scss +0 -13
  291. package/src/lib/node-entries/node-entries.component.ts +0 -151
  292. package/src/lib/node-entries/node-entries.module.ts +0 -93
  293. package/src/lib/node-entries/node-rating/node-rating.component.html +0 -53
  294. package/src/lib/node-entries/node-rating/node-rating.component.scss +0 -31
  295. package/src/lib/node-entries/node-rating/node-rating.component.ts +0 -105
  296. package/src/lib/node-entries/node-stats-badges/node-stats-badges.component.html +0 -39
  297. package/src/lib/node-entries/node-stats-badges/node-stats-badges.component.scss +0 -44
  298. package/src/lib/node-entries/node-stats-badges/node-stats-badges.component.ts +0 -43
  299. package/src/lib/node-entries/node-type-badge/node-type-badge.component.html +0 -31
  300. package/src/lib/node-entries/node-type-badge/node-type-badge.component.scss +0 -5
  301. package/src/lib/node-entries/node-type-badge/node-type-badge.component.ts +0 -36
  302. package/src/lib/node-entries/option-button/option-button.component.ts +0 -42
  303. package/src/lib/node-entries/preview-image/preview-image.component.html +0 -19
  304. package/src/lib/node-entries/preview-image/preview-image.component.scss +0 -31
  305. package/src/lib/node-entries/preview-image/preview-image.component.ts +0 -47
  306. package/src/lib/node-entries/sort-select-panel/sort-select-panel.component.html +0 -27
  307. package/src/lib/node-entries/sort-select-panel/sort-select-panel.component.scss +0 -9
  308. package/src/lib/node-entries/sort-select-panel/sort-select-panel.component.ts +0 -26
  309. package/src/lib/node-url/node-url.component.html +0 -66
  310. package/src/lib/node-url/node-url.component.scss +0 -32
  311. package/src/lib/node-url/node-url.component.ts +0 -136
  312. package/src/lib/pipes/file-size.pipe.ts +0 -24
  313. package/src/lib/pipes/format-date.pipe.ts +0 -39
  314. package/src/lib/pipes/node-icon.pipe.ts +0 -11
  315. package/src/lib/pipes/node-image-size.pipe.ts +0 -18
  316. package/src/lib/pipes/node-image.pipe.ts +0 -71
  317. package/src/lib/pipes/node-person-name.pipe.ts +0 -41
  318. package/src/lib/pipes/node-title.pipe.ts +0 -12
  319. package/src/lib/pipes/option-tooltip.pipe.ts +0 -32
  320. package/src/lib/pipes/replace-chars.pipe.ts +0 -21
  321. package/src/lib/pipes/vcard-name.pipe.ts +0 -11
  322. package/src/lib/services/abstract/keyboard-shortcuts.service.ts +0 -10
  323. package/src/lib/services/abstract/options-helper.service.ts +0 -29
  324. package/src/lib/services/accessibility.service.ts +0 -101
  325. package/src/lib/services/node-entries.service.ts +0 -172
  326. package/src/lib/services/node-helper.service.ts +0 -239
  327. package/src/lib/services/nodes-drag-drop.service.ts +0 -165
  328. package/src/lib/services/options-helper-data.service.ts +0 -186
  329. package/src/lib/services/repo-url.service.ts +0 -46
  330. package/src/lib/services/temporary-storage.service.ts +0 -58
  331. package/src/lib/services/ui.service.ts +0 -182
  332. package/src/lib/sort-dropdown/sort-dropdown.component.html +0 -22
  333. package/src/lib/sort-dropdown/sort-dropdown.component.scss +0 -47
  334. package/src/lib/sort-dropdown/sort-dropdown.component.ts +0 -42
  335. package/src/lib/spinner/spinner.component.html +0 -14
  336. package/src/lib/spinner/spinner.component.scss +0 -141
  337. package/src/lib/spinner/spinner.component.ts +0 -12
  338. package/src/lib/translations/README.md +0 -44
  339. package/src/lib/translations/fallback-translation-handler.ts +0 -7
  340. package/src/lib/translations/languages.ts +0 -6
  341. package/src/lib/translations/translation-loader.spec.ts +0 -352
  342. package/src/lib/translations/translation-loader.ts +0 -189
  343. package/src/lib/translations/translations.module.ts +0 -49
  344. package/src/lib/translations/translations.service.spec.ts +0 -152
  345. package/src/lib/translations/translations.service.ts +0 -188
  346. package/src/lib/types/accessibillity.ts +0 -15
  347. package/src/lib/types/keyboard-shortcuts.ts +0 -29
  348. package/src/lib/types/list-item.ts +0 -67
  349. package/src/lib/types/option-item.ts +0 -247
  350. package/src/lib/types/workflow.ts +0 -35
  351. package/src/lib/util/DateHelper.spec.ts +0 -112
  352. package/src/lib/util/DateHelper.ts +0 -197
  353. package/src/lib/util/VCard.ts +0 -277
  354. package/src/lib/util/color-helper.ts +0 -125
  355. package/src/lib/util/duration-helper.spec.ts +0 -35
  356. package/src/lib/util/duration-helper.ts +0 -98
  357. package/src/lib/util/functions.ts +0 -15
  358. package/src/lib/util/helper.ts +0 -60
  359. package/src/lib/util/isNumeric.ts +0 -13
  360. package/src/lib/util/rest-helper.ts +0 -28
  361. package/src/lib/util/ui-animation.ts +0 -154
  362. package/src/lib/util/ui-constants.ts +0 -20
  363. package/src/test.ts +0 -28
  364. package/tsconfig.lib.json +0 -15
  365. package/tsconfig.lib.prod.json +0 -10
  366. package/tsconfig.spec.json +0 -17
  367. /package/{src/lib/types/api-models.ts → lib/types/api-models.d.ts} +0 -0
@@ -0,0 +1,236 @@
1
+ /**
2
+ * A option from the actionbar+dropdown menu
3
+ * Example:
4
+ this.options.push(new OptionItem("RESTORE_SINGLE","undo", (node) => this.restoreSingle(node)));
5
+ this.options.push(new OptionItem("DELETE_SINGLE","archiveDelete", (node) => this.deleteSingle(node)));
6
+
7
+ */
8
+ import { KeyboardShortcutCondition } from '../types/keyboard-shortcuts';
9
+ export declare enum NodesRightMode {
10
+ Local = 0,
11
+ Original = 1,
12
+ Both = 2
13
+ }
14
+ export declare class OptionItem {
15
+ name: string;
16
+ icon: string;
17
+ callback: (object?: Node | any, objects?: (Node | any)[]) => void;
18
+ /**
19
+ * If true, this option will be shown all the time in the node table
20
+ * @type {boolean}
21
+ */
22
+ showAlways: boolean;
23
+ /**
24
+ * If true, this option will be shown as an action (if room). If none of the items has showAsAction set, the first items will always be shown as action
25
+ * @type {boolean}
26
+ */
27
+ showAsAction: boolean;
28
+ /**
29
+ * If true, this option will be shown as a toggle on the right side (provide iconToggle as a toggle icon)
30
+ * @type {boolean}
31
+ */
32
+ isToggle: boolean;
33
+ /**
34
+ * If true, shows a line at the top.
35
+ *
36
+ * This feature is usually handled now by associating an entry to a `group`
37
+ * now. However `isSeparate` is kept as fallback for now.
38
+ */
39
+ isSeparate: boolean;
40
+ /**
41
+ * The item will be indicated with an accent color in the menu.
42
+ *
43
+ * Used by the dropdown variant of the main menu to indicate the currently
44
+ * active scope.
45
+ */
46
+ isSelected: boolean;
47
+ /**
48
+ * If true, only displayed on a mobile device (based on the navigator agent)
49
+ * @type {boolean}
50
+ */
51
+ onlyMobile: boolean;
52
+ /**
53
+ * If true, only displayed on a desktop device (based on the navigator agent)
54
+ * @type {boolean}
55
+ */
56
+ onlyDesktop: boolean;
57
+ /**
58
+ * You can set a media-query similar to CSS, see the MEDIA_QUERY constants in ui-constants
59
+ * Use in combination with mediaQueryValue
60
+ * @type {boolean}
61
+ */
62
+ mediaQueryType: string;
63
+ /**
64
+ * The value for the defined media query
65
+ */
66
+ mediaQueryValue: number;
67
+ /**
68
+ * Set to false if the action should be shown, but should not be clickable
69
+ * @type {boolean}
70
+ */
71
+ isEnabled: boolean;
72
+ /**
73
+ * Whether the option should be manually marked as primary action when always visible on an
74
+ * `actionbar`.
75
+ */
76
+ isPrimary: boolean;
77
+ /**
78
+ * A function called with the node as param which should return true or false if the option should be shown for this node
79
+ * Is handled by optionsHelper and may not be used otherwise
80
+ * Please use @customShowCallback instead
81
+ */
82
+ showCallback: (node?: Node | any) => boolean;
83
+ /**
84
+ * A function called with the node as parm which should return true or false if the option should be shown for this node
85
+ * Will be called by the optionsHelper
86
+ */
87
+ customShowCallback: (nodes?: Node[] | any[]) => boolean;
88
+ /**
89
+ * A function called with the node as param which should return true or false if the option should be enabled or not
90
+ * Is handled by optionsHelper and may not be used otherwise
91
+ * Please use @customEnabledCallback instead
92
+ */
93
+ enabledCallback: (node?: Node | any) => boolean;
94
+ /**
95
+ * A function called with the node as param which should return true or false if the option should be enabled or not
96
+ * Will be called by the optionsHelper
97
+ */
98
+ customEnabledCallback: (nodes?: Node[] | any[]) => boolean;
99
+ /**
100
+ * Optional: A callback that is called when the user clicks on the option when it's currently disabled (greyed out)
101
+ */
102
+ disabledCallback: (node?: Node | any) => void;
103
+ /**
104
+ * Show the given name (if false, only icon will show)
105
+ */
106
+ showName: boolean;
107
+ /**
108
+ * element with 0 has highest priority in it's group, higher values mean lower priority
109
+ */
110
+ priority: number;
111
+ /**
112
+ * the group this option belongs to
113
+ */
114
+ group: OptionGroup;
115
+ keyboardShortcut: KeyboardShortcutCondition;
116
+ /**
117
+ * Or concat of supported element types for the action
118
+ */
119
+ elementType: ElementType[];
120
+ permissions: string[];
121
+ constrains: Constrain[];
122
+ permissionsMode: HideMode;
123
+ permissionsRightMode: NodesRightMode;
124
+ toolpermissions: string[];
125
+ toolpermissionsMode: HideMode;
126
+ scopes: Scope[];
127
+ /**
128
+ *
129
+ * @param name the option name, which is used for the translation
130
+ * @param icon A material icon name
131
+ * @param callback A function callback when this option is chosen. Will get the current node
132
+ * passed as an argument. If available, the relevant nodes are passed as second argument,
133
+ * i.e., the selection, if any, or the current node as single-item array otherwise.
134
+ */
135
+ constructor(name: string, icon: string, callback: (object?: Node | any, objects?: (Node | any)[]) => void);
136
+ }
137
+ export declare class CustomOptions {
138
+ /**
139
+ * If true, all existing or available options for the object stay
140
+ * If false, no options will be set, only the options in "addOptions" are used
141
+ */
142
+ useDefaultOptions?: boolean;
143
+ /**
144
+ * List of ids of options to explicitly support
145
+ */
146
+ supportedOptions?: string[];
147
+ /**
148
+ * List of ids of options to explicitly remove
149
+ * Only supported if supportedOptions is empty
150
+ */
151
+ removeOptions?: string[];
152
+ /**
153
+ * Options to add/insert into the menu
154
+ */
155
+ addOptions?: OptionItem[];
156
+ }
157
+ export declare enum HideMode {
158
+ Disable = 0,
159
+ Hide = 1
160
+ }
161
+ export declare enum Scope {
162
+ Render = "Render",
163
+ Search = "Search",
164
+ SearchCollections = "SearchCollections",
165
+ SavedSearches = "SavedSearches",
166
+ CollectionsReferences = "CollectionsReferences",
167
+ CollectionsProposals = "CollectionsProposals",
168
+ CollectionsCollection = "CollectionsCollection",
169
+ WorkspaceList = "WorkspaceList",
170
+ WorkspaceTree = "WorkspaceTree",
171
+ Sharing = "Sharing",
172
+ Oer = "Oer",
173
+ UserManagement = "UserManagement",
174
+ Stream = "Stream",
175
+ CreateMenu = "CreateMenu",
176
+ MediacenterNodesList = "MediacenterNodesList",
177
+ Admin = "Admin"
178
+ }
179
+ export declare enum ElementType {
180
+ Node = 0,
181
+ NodeChild = 1,
182
+ MapRef = 2,
183
+ NodePublishedCopy = 3,
184
+ NodeBlockedImport = 4,
185
+ NodeProposal = 5,
186
+ Person = 6,
187
+ Group = 7,
188
+ SavedSearch = 8,
189
+ Unknown = 9
190
+ }
191
+ export declare class OptionGroup {
192
+ id: string;
193
+ priority: number;
194
+ /**
195
+ * @param id The group identifier. Used to seperate elements based on the group
196
+ * @param priority Group with 0 has highest priority, higher values mean lower priority
197
+ */
198
+ constructor(id: string, priority: number);
199
+ }
200
+ export declare class DefaultGroups {
201
+ static Primary: OptionGroup;
202
+ static Create: OptionGroup;
203
+ static View: OptionGroup;
204
+ static CreateConnector: OptionGroup;
205
+ static CreateLtiTools: OptionGroup;
206
+ static Reuse: OptionGroup;
207
+ static Edit: OptionGroup;
208
+ static FileOperations: OptionGroup;
209
+ static Delete: OptionGroup;
210
+ static Toggles: OptionGroup;
211
+ }
212
+ export declare enum Constrain {
213
+ CollectionReference = 0,
214
+ NoCollectionReference = 1,
215
+ Directory = 2,
216
+ Collections = 3,
217
+ Files = 4,
218
+ FilesAndDirectories = 5,
219
+ Admin = 6,
220
+ AdminOrDebug = 7,
221
+ NoBulk = 8,
222
+ NoSelection = 9,
223
+ ClipboardContent = 10,
224
+ AddObjects = 11,
225
+ HomeRepository = 12,
226
+ User = 13,
227
+ NoScope = 14,
228
+ ReurlMode = 15,
229
+ LTIMode = 16
230
+ }
231
+ export declare enum Target {
232
+ List = 0,
233
+ ListDropdown = 1,
234
+ Actionbar = 2,
235
+ CreateMenu = 3
236
+ }
@@ -0,0 +1,14 @@
1
+ export interface WorkflowDefinition {
2
+ id: string;
3
+ color: string;
4
+ hasReceiver: boolean;
5
+ next: string[];
6
+ }
7
+ export declare const WORKFLOW_STATUS_UNCHECKED: WorkflowDefinition;
8
+ export declare const WORKFLOW_STATUS_TO_CHECK: WorkflowDefinition;
9
+ export declare const WORKFLOW_STATUS_HASFLAWS: WorkflowDefinition;
10
+ export declare const WORKFLOW_STATUS_CHECKED: WorkflowDefinition;
11
+ export type WorkflowDefinitionStatus = {
12
+ current: WorkflowDefinition;
13
+ initial: WorkflowDefinition;
14
+ };
@@ -0,0 +1,44 @@
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ export declare enum RelativeMode {
3
+ off = 0,
4
+ short = 1,
5
+ medium = 2,
6
+ large = 3,
7
+ all = 4
8
+ }
9
+ export declare class FormatOptions {
10
+ showDate?: boolean;
11
+ showAlwaysTime?: boolean;
12
+ showSeconds?: boolean;
13
+ useRelativeLabels?: boolean;
14
+ relativeLabels?: RelativeMode;
15
+ }
16
+ export declare class DateHelper {
17
+ /**
18
+ * Fill a date (day + month) string, e.g. 2 -> 02
19
+ * @param date
20
+ * @returns {string}
21
+ */
22
+ private static fillDate;
23
+ /**
24
+ * Convert date to a unix timestamp
25
+ * @param date
26
+ * @returns {number}
27
+ */
28
+ static convertDate(date: any): number;
29
+ /**
30
+ * format a date with a given, fixed string
31
+ * For consistency, we use the patterns from
32
+ * https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
33
+ * @param date
34
+ * @param {string} format
35
+ * @returns {string}
36
+ */
37
+ static formatDateByPattern(date: number | any, format: string): string;
38
+ /**
39
+ * Format a date for the current language
40
+ */
41
+ static formatDate(translation: TranslateService, date: number | any, options?: FormatOptions): string;
42
+ static getDateFromDatepicker(date: Date): Date;
43
+ static getDateForNewFile(): string;
44
+ }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Created by Torsten on 28.02.2017.
3
+ */
4
+ export declare class VCard {
5
+ static TYPE_PERSON: number;
6
+ static TYPE_ORG: number;
7
+ private isDirty;
8
+ private lines;
9
+ constructor(vcard?: string);
10
+ /**
11
+ * returns true if this vcard seems to have valid data
12
+ * @param {string} data
13
+ */
14
+ isValid(): string;
15
+ set givenname(data: string);
16
+ set surname(data: string);
17
+ set title(data: string);
18
+ set org(data: string);
19
+ set orgPhone(data: string);
20
+ set url(data: string);
21
+ set email(data: string);
22
+ set uid(data: string);
23
+ set orcid(data: string);
24
+ set gnduri(data: string);
25
+ set ror(data: string);
26
+ set wikidata(data: string);
27
+ set street(data: string);
28
+ set city(data: string);
29
+ set region(data: string);
30
+ set zip(data: string);
31
+ set country(data: string);
32
+ set contributeDate(data: string);
33
+ get givenname(): string;
34
+ get surname(): string;
35
+ get orcid(): string;
36
+ get gnduri(): string;
37
+ get ror(): string;
38
+ get wikidata(): string;
39
+ get title(): string;
40
+ get org(): string;
41
+ get contributeDate(): string;
42
+ get url(): string;
43
+ get orgPhone(): string;
44
+ get email(): string;
45
+ get uid(): string;
46
+ get street(): string;
47
+ get city(): string;
48
+ get region(): string;
49
+ get zip(): string;
50
+ get country(): string;
51
+ toVCardString(): string;
52
+ getDisplayName(): string;
53
+ get(key: string, splitIndex?: number, fallback?: string): string;
54
+ remove(key: string): boolean;
55
+ set(key: string, value: string, splitIndex?: number): void;
56
+ private getNextLine;
57
+ private deEscape;
58
+ private escape;
59
+ copy(): VCard;
60
+ /**
61
+ * Apply all data from an other vcard to this object
62
+ * @param other
63
+ */
64
+ apply(other: VCard): void;
65
+ getType(): number;
66
+ }
@@ -0,0 +1,25 @@
1
+ export declare class ColorHelper {
2
+ static cssColorToRgb(color: string): number[];
3
+ /**
4
+ * returns the estimated color brightness for a css color based on a pereceived brightness factor
5
+ * Value between [0,1] and -1 if the css string was not readable
6
+ * @param {string} color
7
+ * @returns {number}
8
+ */
9
+ static getColorBrightness(color: string): number;
10
+ private static getRatio;
11
+ /**
12
+ * returns 0 (black) or 1 (white)
13
+ * @param color
14
+ */
15
+ static getPreferredColor(color: string): PreferredColor;
16
+ static rgbToHex(rgb: number[]): string;
17
+ static componentToHex(c: number): string;
18
+ static rgbToHsl(rgb: number[]): number[];
19
+ private static hue2rgb;
20
+ static hslToRgb(hsl: number[]): number[];
21
+ }
22
+ export declare enum PreferredColor {
23
+ Black = 0,
24
+ White = 1
25
+ }
@@ -0,0 +1,14 @@
1
+ export declare enum DurationFormat {
2
+ /**
3
+ * format with colon, i.e. H:MM:SS
4
+ */
5
+ Colon = "colon",
6
+ /**
7
+ * format with Hh Mm Ss
8
+ */
9
+ Hms = "hms"
10
+ }
11
+ export declare class DurationHelper {
12
+ static getDurationInSeconds(value: string): number;
13
+ static getDurationFormatted(duration: string, format?: DurationFormat): string;
14
+ }
@@ -0,0 +1,4 @@
1
+ export declare function notNull<T>(value: T): boolean;
2
+ export declare function isTrue(value: boolean): boolean;
3
+ export declare function microTick(): Promise<void>;
4
+ export declare function macroTick(): Promise<void>;
@@ -0,0 +1,20 @@
1
+ export declare class Helper {
2
+ static deepCopy(data: any): any;
3
+ static deepCopyArray(data: any[]): any[];
4
+ /**
5
+ * Returns true if both objects have the same values stored
6
+ * will not work for classes including methods or similar dynamic data
7
+ * @param object1
8
+ * @param object2
9
+ * @returns {boolean}
10
+ */
11
+ static objectEquals(object1: any, object2: any): boolean;
12
+ /**
13
+ * get data from an object based on a dotted path
14
+ * also supports arrays like "array.0.key"
15
+ * @param nested the object to return the data from
16
+ * @param path the path of the field location in dotted notation
17
+ */
18
+ static getDotPathFromNestedObject(nested: any, path: string): any;
19
+ static filterObjectPropertyNested(obj: any, property: string[]): any;
20
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copy paste from rxjs/util/isNumeric since importing it from there will trigger a warning about
3
+ * CommonJS or AMD dependencies and indeed increase the bundle size a bit.
4
+ */
5
+ export declare function isNumeric(val: any): val is number | string;
@@ -0,0 +1,10 @@
1
+ import { Node } from 'ngx-edu-sharing-api';
2
+ /**
3
+ * Different helper functions, may be used globally
4
+ */
5
+ export declare class RestHelper {
6
+ protected static SPACES_STORE_REF: string;
7
+ static getName(node: Node): string;
8
+ static getTitle(node: Node): string;
9
+ static getTitleFromProperties(properties: any): string;
10
+ }
@@ -0,0 +1,39 @@
1
+ export declare class UIAnimation {
2
+ static ANIMATION_TIME_FAST: number;
3
+ static ANIMATION_TIME_NORMAL: number;
4
+ static ANIMATION_TIME_SLOW: number;
5
+ static fade(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
6
+ static fromBottom(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
7
+ static fromLeft(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
8
+ static fromRight(time?: number | string): import("@angular/animations").AnimationTransitionMetadata[];
9
+ static infobarBottom(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
10
+ /**
11
+ * Useful animation for opening any overflow menus
12
+ * @param time
13
+ * @returns {AnimationStateTransitionMetadata[]}
14
+ */
15
+ static openOverlay(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
16
+ /**
17
+ * Useful animation for opening any overflow menus - inverted (from bottom to top)
18
+ * @param time
19
+ * @returns {AnimationStateTransitionMetadata[]}
20
+ */
21
+ static openOverlayBottom(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
22
+ /**
23
+ * Useful animation to switch different content insides a dialog (navigating between contents)
24
+ * @param time
25
+ * @returns {AnimationStateTransitionMetadata[]}
26
+ */
27
+ static switchDialog(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
28
+ /**
29
+ * Useful animation to switch different content insides a dialog (navigating between contents)
30
+ * This is a special variant which does work without ngIf fields, it will remove display states
31
+ */
32
+ static switchDialogBoolean(time?: number): (import("@angular/animations").AnimationTransitionMetadata | import("@angular/animations").AnimationStateMetadata)[];
33
+ /**
34
+ * Useful animation for showing any modal cards
35
+ * @param time
36
+ * @returns {AnimationStateTransitionMetadata[]}
37
+ */
38
+ static cardAnimation(time?: number): import("@angular/animations").AnimationTransitionMetadata[];
39
+ }
@@ -0,0 +1,18 @@
1
+ export declare class UIConstants {
2
+ static ROUTER_PREFIX: string;
3
+ static MOBILE_WIDTH: number;
4
+ static MOBILE_HEIGHT: number;
5
+ static MOBILE_HEIGHT_WITH_KEYBOARD: number;
6
+ static MOBILE_STAGE: number;
7
+ static MOBILE_TAB_SWITCH_WIDTH: number;
8
+ static MEDIA_QUERY_MIN_WIDTH: string;
9
+ static MEDIA_QUERY_MAX_WIDTH: string;
10
+ static MEDIA_QUERY_MIN_HEIGHT: string;
11
+ static MEDIA_QUERY_MAX_HEIGHT: string;
12
+ static QUERY_PARAM_LIST_VIEW_TYPE: string;
13
+ }
14
+ export declare enum OPEN_URL_MODE {
15
+ Current = 0,
16
+ Blank = 1,
17
+ BlankSystemBrowser = 2
18
+ }
@@ -1,7 +1,3 @@
1
- /*
2
- * Public API Surface of edu-sharing-ui
3
- */
4
-
5
1
  export * from './lib/edu-sharing-ui.module';
6
2
  export * from './lib/edu-sharing-ui-configuration';
7
3
  export * from './lib/translations/fallback-translation-handler';
package/package.json CHANGED
@@ -1,19 +1,33 @@
1
1
  {
2
2
  "name": "ngx-edu-sharing-ui",
3
- "version": "0.7.0",
3
+ "version": "9.0.1",
4
4
  "license": "GNU GPL v2",
5
5
  "description": "Angular components for Edu-Sharing UX parts",
6
6
  "peerDependencies": {
7
- "@angular/cdk": "~13.3.9",
8
- "@angular/common": "^13.3.0",
9
- "@angular/core": "^13.3.0",
10
- "@angular/material": "13.3.9",
7
+ "@angular/cdk": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
8
+ "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
9
+ "@angular/core": "^^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
10
+ "@angular/material": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
11
11
  "material-design-icons": "^3.0.1",
12
- "@ngx-translate/core": "^14.0.0",
12
+ "@ngx-translate/core": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
13
13
  "angular-material-css-vars": "^3.0.0",
14
- "rxjs": "^6.6.7"
14
+ "rxjs": "^6.6.7 || ^7.0.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "tslib": "^2.3.0"
18
- }
19
- }
18
+ },
19
+ "module": "fesm2022/ngx-edu-sharing-ui.mjs",
20
+ "typings": "index.d.ts",
21
+ "exports": {
22
+ "./package.json": {
23
+ "default": "./package.json"
24
+ },
25
+ ".": {
26
+ "types": "./index.d.ts",
27
+ "esm2022": "./esm2022/ngx-edu-sharing-ui.mjs",
28
+ "esm": "./esm2022/ngx-edu-sharing-ui.mjs",
29
+ "default": "./fesm2022/ngx-edu-sharing-ui.mjs"
30
+ }
31
+ },
32
+ "sideEffects": false
33
+ }
package/.browserslistrc DELETED
@@ -1,16 +0,0 @@
1
- # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2
- # For additional information regarding the format and rule options, please see:
3
- # https://github.com/browserslist/browserslist#queries
4
-
5
- # For the full list of supported browsers by the Angular framework, please see:
6
- # https://angular.io/guide/browser-support
7
-
8
- # You can see what browsers were selected by your queries by running:
9
- # npx browserslist
10
-
11
- last 1 Chrome version
12
- last 1 Firefox version
13
- last 2 Edge major versions
14
- last 2 Safari major versions
15
- last 2 iOS major versions
16
- Firefox ESR
package/.eslintrc.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "extends": "../../.eslintrc.json",
3
- "ignorePatterns": [
4
- "!**/*"
5
- ],
6
- "overrides": [
7
- {
8
- "files": [
9
- "*.ts"
10
- ],
11
- "parserOptions": {
12
- "project": [
13
- "projects/edu-sharing-ui/tsconfig.lib.json",
14
- "projects/edu-sharing-ui/tsconfig.spec.json"
15
- ],
16
- "createDefaultProgram": true
17
- },
18
- "rules": {
19
- "@angular-eslint/directive-selector": [
20
- "error",
21
- {
22
- "type": "attribute",
23
- "prefix": "lib",
24
- "style": "camelCase"
25
- }
26
- ],
27
- "@angular-eslint/component-selector": [
28
- "error",
29
- {
30
- "type": "element",
31
- "prefix": "lib",
32
- "style": "kebab-case"
33
- }
34
- ]
35
- }
36
- },
37
- {
38
- "files": [
39
- "*.html"
40
- ],
41
- "rules": {}
42
- }
43
- ]
44
- }
package/karma.conf.js DELETED
@@ -1,42 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('@angular-devkit/build-angular/plugins/karma'),
14
- ],
15
- client: {
16
- jasmine: {
17
- // you can add configuration options for Jasmine here
18
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
- // for example, you can disable the random execution with `random: false`
20
- // or set a specific seed with `seed: 4321`
21
- },
22
- clearContext: false, // leave Jasmine Spec Runner output visible in browser
23
- },
24
- jasmineHtmlReporter: {
25
- suppressAll: true, // removes the duplicated traces
26
- },
27
- coverageReporter: {
28
- dir: require('path').join(__dirname, '../../coverage/edu-sharing-ui'),
29
- subdir: '.',
30
- reporters: [{ type: 'html' }, { type: 'text-summary' }],
31
- },
32
- reporters: ['progress', 'kjhtml'],
33
- browsers: ['Chrome'],
34
- customLaunchers: {
35
- ChromeHeadlessCI: {
36
- base: 'ChromeHeadless',
37
- flags: ['--no-sandbox'],
38
- },
39
- },
40
- restartOnFileChange: true,
41
- });
42
- };
package/ng-package.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/edu-sharing-ui",
4
- "assets": [
5
- "assets/**"
6
- ],
7
- "lib": {
8
- "entryFile": "src/module.ts"
9
- }
10
- }