@cleavelandprice/ngx-lib 3.14.5 → 4.0.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 (283) hide show
  1. package/README.md +5 -5
  2. package/active-directory/{public_api.d.ts → active-directory.api.d.ts} +2 -4
  3. package/active-directory/active-directory.module.d.ts +2 -2
  4. package/active-directory/index.d.ts +1 -1
  5. package/active-directory/{gui → material}/components/user-chooser/user-chooser.component.d.ts +11 -31
  6. package/active-directory/{gui → material}/components/user-form-field/user-form-field.component.d.ts +5 -8
  7. package/active-directory/{gui → material}/index.d.ts +2 -2
  8. package/active-directory/{gui/public_api.d.ts → material/mat-active-directory.api.d.ts} +1 -1
  9. package/active-directory/material/mat-active-directory.module.d.ts +25 -0
  10. package/active-directory/model/active-directory-service-options.d.ts +7 -0
  11. package/active-directory/services/active-directory.service.d.ts +7 -7
  12. package/authentication/{public_api.d.ts → authentication.api.d.ts} +1 -1
  13. package/authentication/authentication.base.module.d.ts +5 -1
  14. package/authentication/index.d.ts +1 -1
  15. package/authentication/{token/gui → material}/components/login/login.component.d.ts +6 -4
  16. package/authentication/{token/gui → material}/components/login-form/login-form.component.d.ts +9 -10
  17. package/authentication/material/index.d.ts +5 -0
  18. package/authentication/material/mat-authentication.api.d.ts +6 -0
  19. package/authentication/material/mat-authentication.module.d.ts +21 -0
  20. package/authentication/material/model/mat-authentication-service-options.d.ts +6 -0
  21. package/authentication/material/services/mat-authentication.service.d.ts +11 -0
  22. package/authentication/model/abstract-authentication-service.d.ts +4 -4
  23. package/authentication/model/authentication-service-options.d.ts +8 -0
  24. package/authentication/object/authentication-object.api.d.ts +2 -0
  25. package/authentication/object/authentication-object.module.d.ts +11 -0
  26. package/authentication/object/index.d.ts +1 -1
  27. package/authentication/object/services/authentication-object.service.d.ts +23 -0
  28. package/authentication/token/authentication-token.api.d.ts +4 -0
  29. package/authentication/token/authetiction-token.module.d.ts +11 -0
  30. package/authentication/token/index.d.ts +1 -1
  31. package/authentication/token/model/authentication-token-service-options.d.ts +6 -0
  32. package/authentication/token/services/authentication-token.service.d.ts +23 -0
  33. package/dialog/components/base/base.component.d.ts +3 -3
  34. package/dialog/components/choice/choice.component.d.ts +5 -3
  35. package/dialog/components/confirmation/confirmation.component.d.ts +5 -3
  36. package/dialog/components/input/input.component.d.ts +5 -3
  37. package/dialog/components/message/message.component.d.ts +5 -3
  38. package/dialog/dialog.module.d.ts +13 -13
  39. package/dialog/index.d.ts +1 -1
  40. package/esm2022/active-directory/active-directory.api.mjs +12 -0
  41. package/esm2022/active-directory/active-directory.module.mjs +20 -10
  42. package/esm2022/active-directory/cleavelandprice-ngx-lib-active-directory.mjs +2 -2
  43. package/esm2022/active-directory/material/cleavelandprice-ngx-lib-active-directory-material.mjs +5 -0
  44. package/esm2022/active-directory/material/components/user-chooser/user-chooser.component.mjs +406 -0
  45. package/esm2022/active-directory/material/components/user-form-field/user-form-field.component.mjs +136 -0
  46. package/esm2022/active-directory/material/mat-active-directory.api.mjs +9 -0
  47. package/esm2022/active-directory/material/mat-active-directory.module.mjs +109 -0
  48. package/esm2022/active-directory/material/model/selectable-group.mjs +2 -0
  49. package/esm2022/active-directory/material/model/selectable-user.mjs +2 -0
  50. package/esm2022/active-directory/material/model/user-chooser-data.mjs +33 -0
  51. package/esm2022/active-directory/material/model/user-chooser-filter-options.mjs +10 -0
  52. package/esm2022/active-directory/{gui → material}/model/user-chooser-mode.mjs +1 -1
  53. package/esm2022/active-directory/material/model/user-chooser-pre-processing-group.mjs +9 -0
  54. package/esm2022/active-directory/model/active-directory-service-options.mjs +3 -0
  55. package/esm2022/active-directory/services/active-directory.service.mjs +61 -41
  56. package/esm2022/authentication/authentication.api.mjs +6 -0
  57. package/esm2022/authentication/authentication.base.module.mjs +28 -7
  58. package/esm2022/authentication/cleavelandprice-ngx-lib-authentication.mjs +2 -2
  59. package/esm2022/authentication/material/cleavelandprice-ngx-lib-authentication-material.mjs +5 -0
  60. package/esm2022/authentication/material/components/login/login.component.mjs +49 -0
  61. package/esm2022/authentication/material/components/login-form/login-form.component.mjs +82 -0
  62. package/esm2022/authentication/material/mat-authentication.api.mjs +7 -0
  63. package/esm2022/authentication/material/mat-authentication.module.mjs +84 -0
  64. package/esm2022/authentication/material/model/login-form-data.mjs +2 -0
  65. package/esm2022/authentication/material/model/mat-authentication-service-options.mjs +3 -0
  66. package/esm2022/authentication/material/services/mat-authentication.service.mjs +67 -0
  67. package/esm2022/authentication/model/abstract-authentication-service.mjs +1 -1
  68. package/esm2022/authentication/model/authentication-service-options.mjs +3 -0
  69. package/esm2022/authentication/object/authentication-object.api.mjs +4 -0
  70. package/esm2022/authentication/object/authentication-object.module.mjs +40 -0
  71. package/esm2022/authentication/object/cleavelandprice-ngx-lib-authentication-object.mjs +2 -2
  72. package/esm2022/authentication/object/services/authentication-object.service.mjs +119 -0
  73. package/esm2022/authentication/token/authentication-token.api.mjs +5 -0
  74. package/esm2022/authentication/token/authetiction-token.module.mjs +40 -0
  75. package/esm2022/authentication/token/cleavelandprice-ngx-lib-authentication-token.mjs +2 -2
  76. package/esm2022/authentication/token/model/authentication-token-service-options.mjs +3 -0
  77. package/esm2022/authentication/token/services/authentication-token.service.mjs +128 -0
  78. package/esm2022/dialog/cleavelandprice-ngx-lib-dialog.mjs +2 -2
  79. package/esm2022/dialog/components/base/base.component.mjs +27 -16
  80. package/esm2022/dialog/components/choice/choice.component.mjs +11 -11
  81. package/esm2022/dialog/components/confirmation/confirmation.component.mjs +11 -11
  82. package/esm2022/dialog/components/input/input.component.mjs +11 -11
  83. package/esm2022/dialog/components/message/message.component.mjs +11 -11
  84. package/esm2022/dialog/dialog.api.mjs +20 -0
  85. package/esm2022/dialog/dialog.module.mjs +25 -20
  86. package/esm2022/lib/model/caching-config.mjs +2 -0
  87. package/esm2022/lib/model/credentials.mjs +2 -0
  88. package/esm2022/lib/model/logging-config.mjs +2 -0
  89. package/esm2022/lib/model/service-options.mjs +3 -0
  90. package/esm2022/lib/ngx-lib.module.mjs +20 -10
  91. package/esm2022/lib/services/app-path-config.service.mjs +31 -24
  92. package/esm2022/lib/services/service-base.mjs +26 -0
  93. package/esm2022/msgraph/cleavelandprice-ngx-lib-msgraph.mjs +2 -2
  94. package/esm2022/msgraph/msgraph.api.mjs +19 -0
  95. package/esm2022/msgraph/msgraph.module.mjs +6 -11
  96. package/esm2022/public_api.mjs +6 -2
  97. package/esm2022/quill/cleavelandprice-ngx-lib-quill.mjs +2 -2
  98. package/esm2022/quill/components/editor/editor.component.mjs +29 -39
  99. package/esm2022/quill/components/raw/raw.component.mjs +18 -11
  100. package/esm2022/quill/mention/cleavelandprice-ngx-lib-quill-mention.mjs +2 -2
  101. package/esm2022/quill/mention/components/editor/editor.component.mjs +20 -14
  102. package/esm2022/quill/mention/quill-mention.api.mjs +8 -0
  103. package/esm2022/quill/mention/quill-mention.module.mjs +12 -12
  104. package/esm2022/quill/quill.api.mjs +9 -0
  105. package/esm2022/quill/quill.module.mjs +20 -18
  106. package/esm2022/sharepoint/cleavelandprice-ngx-lib-sharepoint.mjs +2 -2
  107. package/esm2022/sharepoint/components/user-photo/user-photo.component.mjs +13 -9
  108. package/esm2022/sharepoint/model/sharepoint-service-options.mjs +3 -0
  109. package/esm2022/sharepoint/pipes/user-photo-url.pipe.mjs +8 -9
  110. package/esm2022/sharepoint/services/sharepoint.service.mjs +74 -65
  111. package/esm2022/sharepoint/sharepoint.api.mjs +17 -0
  112. package/esm2022/sharepoint/sharepoint.module.mjs +25 -15
  113. package/esm2022/table/cleavelandprice-ngx-lib-table.mjs +2 -2
  114. package/esm2022/table/components/table/table.component.mjs +76 -74
  115. package/esm2022/table/table.api.mjs +4 -0
  116. package/esm2022/table/table.module.mjs +16 -15
  117. package/esm2022/upload/cleavelandprice-ngx-lib-upload.mjs +2 -2
  118. package/esm2022/upload/components/upload/upload.component.mjs +16 -20
  119. package/esm2022/upload/components/upload-dialog/upload-dialog.component.mjs +49 -39
  120. package/esm2022/upload/model/upload-service-options.mjs +4 -0
  121. package/esm2022/upload/model/upload-status.mjs +2 -0
  122. package/esm2022/upload/services/upload.service.mjs +44 -29
  123. package/esm2022/upload/upload.api.mjs +9 -0
  124. package/esm2022/upload/upload.module.mjs +33 -20
  125. package/esm2022/url-utilities/cleavelandprice-ngx-lib-url-utilities.mjs +2 -2
  126. package/esm2022/url-utilities/pipes/safe-resource-url.pipe.mjs +8 -9
  127. package/esm2022/url-utilities/pipes/safe-url.pipe.mjs +8 -9
  128. package/esm2022/url-utilities/pipes/uri-scheme.pipe.mjs +9 -8
  129. package/esm2022/url-utilities/url-utilities.api.mjs +13 -0
  130. package/esm2022/url-utilities/url-utilities.module.mjs +11 -11
  131. package/fesm2022/cleavelandprice-ngx-lib-active-directory-material.mjs +683 -0
  132. package/fesm2022/cleavelandprice-ngx-lib-active-directory-material.mjs.map +1 -0
  133. package/fesm2022/cleavelandprice-ngx-lib-active-directory.mjs +79 -72
  134. package/fesm2022/cleavelandprice-ngx-lib-active-directory.mjs.map +1 -1
  135. package/fesm2022/cleavelandprice-ngx-lib-authentication-material.mjs +268 -0
  136. package/fesm2022/cleavelandprice-ngx-lib-authentication-material.mjs.map +1 -0
  137. package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs +54 -49
  138. package/fesm2022/cleavelandprice-ngx-lib-authentication-object.mjs.map +1 -1
  139. package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs +50 -51
  140. package/fesm2022/cleavelandprice-ngx-lib-authentication-token.mjs.map +1 -1
  141. package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs +28 -18
  142. package/fesm2022/cleavelandprice-ngx-lib-authentication.mjs.map +1 -1
  143. package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs +87 -66
  144. package/fesm2022/cleavelandprice-ngx-lib-dialog.mjs.map +1 -1
  145. package/fesm2022/cleavelandprice-ngx-lib-msgraph.mjs +5 -10
  146. package/fesm2022/cleavelandprice-ngx-lib-msgraph.mjs.map +1 -1
  147. package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs +29 -26
  148. package/fesm2022/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -1
  149. package/fesm2022/cleavelandprice-ngx-lib-quill.mjs +61 -67
  150. package/fesm2022/cleavelandprice-ngx-lib-quill.mjs.map +1 -1
  151. package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs +115 -118
  152. package/fesm2022/cleavelandprice-ngx-lib-sharepoint.mjs.map +1 -1
  153. package/fesm2022/cleavelandprice-ngx-lib-table.mjs +85 -90
  154. package/fesm2022/cleavelandprice-ngx-lib-table.mjs.map +1 -1
  155. package/fesm2022/cleavelandprice-ngx-lib-upload.mjs +134 -117
  156. package/fesm2022/cleavelandprice-ngx-lib-upload.mjs.map +1 -1
  157. package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs +38 -33
  158. package/fesm2022/cleavelandprice-ngx-lib-url-utilities.mjs.map +1 -1
  159. package/fesm2022/cleavelandprice-ngx-lib.mjs +66 -45
  160. package/fesm2022/cleavelandprice-ngx-lib.mjs.map +1 -1
  161. package/lib/model/caching-config.d.ts +4 -0
  162. package/lib/model/credentials.d.ts +4 -0
  163. package/lib/model/logging-config.d.ts +6 -0
  164. package/lib/model/service-options.d.ts +6 -0
  165. package/lib/ngx-lib.module.d.ts +2 -2
  166. package/lib/services/app-path-config.service.d.ts +5 -4
  167. package/lib/services/service-base.d.ts +7 -0
  168. package/msgraph/index.d.ts +1 -1
  169. package/msgraph/msgraph.module.d.ts +0 -2
  170. package/package.json +28 -28
  171. package/public_api.d.ts +5 -1
  172. package/quill/components/editor/editor.component.d.ts +10 -10
  173. package/quill/components/raw/raw.component.d.ts +1 -1
  174. package/quill/index.d.ts +1 -1
  175. package/quill/mention/components/editor/editor.component.d.ts +3 -3
  176. package/quill/mention/index.d.ts +1 -1
  177. package/quill/mention/quill-mention.module.d.ts +9 -9
  178. package/quill/quill.module.d.ts +12 -14
  179. package/sharepoint/components/user-photo/user-photo.component.d.ts +2 -2
  180. package/sharepoint/index.d.ts +1 -1
  181. package/sharepoint/model/sharepoint-service-options.d.ts +19 -0
  182. package/sharepoint/pipes/user-photo-url.pipe.d.ts +2 -2
  183. package/sharepoint/services/sharepoint.service.d.ts +7 -10
  184. package/sharepoint/{public_api.d.ts → sharepoint.api.d.ts} +1 -1
  185. package/sharepoint/sharepoint.module.d.ts +6 -6
  186. package/table/components/table/table.component.d.ts +21 -22
  187. package/table/index.d.ts +1 -1
  188. package/table/table.module.d.ts +13 -13
  189. package/upload/components/upload/upload.component.d.ts +4 -8
  190. package/upload/components/upload-dialog/upload-dialog.component.d.ts +11 -9
  191. package/upload/index.d.ts +1 -1
  192. package/upload/model/upload-service-options.d.ts +16 -0
  193. package/upload/model/upload-status.d.ts +6 -0
  194. package/upload/services/upload.service.d.ts +9 -6
  195. package/upload/{public_api.d.ts → upload.api.d.ts} +2 -2
  196. package/upload/upload.module.d.ts +10 -10
  197. package/url-utilities/index.d.ts +1 -1
  198. package/url-utilities/pipes/safe-resource-url.pipe.d.ts +2 -2
  199. package/url-utilities/pipes/safe-url.pipe.d.ts +2 -2
  200. package/url-utilities/pipes/uri-scheme.pipe.d.ts +2 -3
  201. package/url-utilities/url-utilities.api.d.ts +8 -0
  202. package/url-utilities/url-utilities.module.d.ts +5 -5
  203. package/active-directory/gui/gui.module.d.ts +0 -25
  204. package/active-directory/model/caching-config.d.ts +0 -4
  205. package/active-directory/model/logging-config.d.ts +0 -6
  206. package/active-directory/model/service-config.d.ts +0 -8
  207. package/authentication/model/service-config.d.ts +0 -8
  208. package/authentication/object/model/service-config.d.ts +0 -4
  209. package/authentication/object/object.module.d.ts +0 -11
  210. package/authentication/object/public_api.d.ts +0 -3
  211. package/authentication/object/services/authentication.service.d.ts +0 -23
  212. package/authentication/token/gui/index.d.ts +0 -5
  213. package/authentication/token/gui/model/service-config.d.ts +0 -5
  214. package/authentication/token/gui/public_api.d.ts +0 -6
  215. package/authentication/token/gui/services/authentication.service.d.ts +0 -12
  216. package/authentication/token/gui/token-gui.module.d.ts +0 -21
  217. package/authentication/token/model/service-config.d.ts +0 -5
  218. package/authentication/token/public_api.d.ts +0 -4
  219. package/authentication/token/services/authentication.service.d.ts +0 -23
  220. package/authentication/token/token.module.d.ts +0 -11
  221. package/esm2022/active-directory/gui/cleavelandprice-ngx-lib-active-directory-gui.mjs +0 -5
  222. package/esm2022/active-directory/gui/components/user-chooser/user-chooser.component.mjs +0 -393
  223. package/esm2022/active-directory/gui/components/user-form-field/user-form-field.component.mjs +0 -132
  224. package/esm2022/active-directory/gui/gui.module.mjs +0 -96
  225. package/esm2022/active-directory/gui/model/selectable-group.mjs +0 -2
  226. package/esm2022/active-directory/gui/model/selectable-user.mjs +0 -2
  227. package/esm2022/active-directory/gui/model/user-chooser-data.mjs +0 -33
  228. package/esm2022/active-directory/gui/model/user-chooser-filter-options.mjs +0 -10
  229. package/esm2022/active-directory/gui/model/user-chooser-pre-processing-group.mjs +0 -9
  230. package/esm2022/active-directory/gui/public_api.mjs +0 -9
  231. package/esm2022/active-directory/model/caching-config.mjs +0 -7
  232. package/esm2022/active-directory/model/logging-config.mjs +0 -9
  233. package/esm2022/active-directory/model/service-config.mjs +0 -12
  234. package/esm2022/active-directory/public_api.mjs +0 -12
  235. package/esm2022/authentication/model/service-config.mjs +0 -12
  236. package/esm2022/authentication/object/model/service-config.mjs +0 -9
  237. package/esm2022/authentication/object/object.module.mjs +0 -39
  238. package/esm2022/authentication/object/public_api.mjs +0 -4
  239. package/esm2022/authentication/object/services/authentication.service.mjs +0 -110
  240. package/esm2022/authentication/public_api.mjs +0 -6
  241. package/esm2022/authentication/token/gui/cleavelandprice-ngx-lib-authentication-token-gui.mjs +0 -5
  242. package/esm2022/authentication/token/gui/components/login/login.component.mjs +0 -43
  243. package/esm2022/authentication/token/gui/components/login-form/login-form.component.mjs +0 -72
  244. package/esm2022/authentication/token/gui/model/login-form-data.mjs +0 -2
  245. package/esm2022/authentication/token/gui/model/service-config.mjs +0 -10
  246. package/esm2022/authentication/token/gui/public_api.mjs +0 -7
  247. package/esm2022/authentication/token/gui/services/authentication.service.mjs +0 -78
  248. package/esm2022/authentication/token/gui/token-gui.module.mjs +0 -81
  249. package/esm2022/authentication/token/model/service-config.mjs +0 -10
  250. package/esm2022/authentication/token/public_api.mjs +0 -5
  251. package/esm2022/authentication/token/services/authentication.service.mjs +0 -124
  252. package/esm2022/authentication/token/token.module.mjs +0 -39
  253. package/esm2022/dialog/public_api.mjs +0 -10
  254. package/esm2022/lib/model/service-config.mjs +0 -21
  255. package/esm2022/msgraph/public_api.mjs +0 -19
  256. package/esm2022/quill/mention/public_api.mjs +0 -8
  257. package/esm2022/quill/public_api.mjs +0 -9
  258. package/esm2022/sharepoint/model/service-config.mjs +0 -27
  259. package/esm2022/sharepoint/public_api.mjs +0 -17
  260. package/esm2022/table/public_api.mjs +0 -4
  261. package/esm2022/upload/model/service-config.mjs +0 -16
  262. package/esm2022/upload/public_api.mjs +0 -9
  263. package/esm2022/url-utilities/public_api.mjs +0 -5
  264. package/fesm2022/cleavelandprice-ngx-lib-active-directory-gui.mjs +0 -660
  265. package/fesm2022/cleavelandprice-ngx-lib-active-directory-gui.mjs.map +0 -1
  266. package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs +0 -271
  267. package/fesm2022/cleavelandprice-ngx-lib-authentication-token-gui.mjs.map +0 -1
  268. package/lib/model/service-config.d.ts +0 -6
  269. package/sharepoint/model/service-config.d.ts +0 -23
  270. package/upload/model/service-config.d.ts +0 -15
  271. package/url-utilities/public_api.d.ts +0 -4
  272. /package/active-directory/{gui → material}/model/selectable-group.d.ts +0 -0
  273. /package/active-directory/{gui → material}/model/selectable-user.d.ts +0 -0
  274. /package/active-directory/{gui → material}/model/user-chooser-data.d.ts +0 -0
  275. /package/active-directory/{gui → material}/model/user-chooser-filter-options.d.ts +0 -0
  276. /package/active-directory/{gui → material}/model/user-chooser-mode.d.ts +0 -0
  277. /package/active-directory/{gui → material}/model/user-chooser-pre-processing-group.d.ts +0 -0
  278. /package/authentication/{token/gui → material}/model/login-form-data.d.ts +0 -0
  279. /package/dialog/{public_api.d.ts → dialog.api.d.ts} +0 -0
  280. /package/msgraph/{public_api.d.ts → msgraph.api.d.ts} +0 -0
  281. /package/quill/mention/{public_api.d.ts → quill-mention.api.d.ts} +0 -0
  282. /package/quill/{public_api.d.ts → quill.api.d.ts} +0 -0
  283. /package/table/{public_api.d.ts → table.api.d.ts} +0 -0
@@ -1,11 +1,11 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from "@angular/forms";
3
3
  import { Blur, ContentChange, EditorChangeContent, EditorChangeSelection, Focus, QuillEditorComponent, SelectionChange } from 'ngx-quill';
4
4
  import { Config } from '../../model/config';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class EditorComponent implements OnInit, ControlValueAccessor {
7
7
  #private;
8
- editor?: QuillEditorComponent;
8
+ editor: import("@angular/core").Signal<QuillEditorComponent | undefined>;
9
9
  value: any;
10
10
  onChange: (_: any) => void;
11
11
  onTouched: () => void;
@@ -26,13 +26,13 @@ export declare class EditorComponent implements OnInit, ControlValueAccessor {
26
26
  imageResizeModule?: boolean;
27
27
  imageDropModule?: boolean;
28
28
  syntaxModule?: boolean;
29
- fullscreenChanged: EventEmitter<boolean>;
30
- onBlur: EventEmitter<Blur>;
31
- onContentChanged: EventEmitter<ContentChange>;
32
- onEditorChanged: EventEmitter<EditorChangeContent | EditorChangeSelection>;
33
- onEditorCreated: EventEmitter<any>;
34
- onFocus: EventEmitter<Focus>;
35
- onSelectionChanged: EventEmitter<SelectionChange>;
29
+ fullscreenChanged: import("@angular/core").OutputEmitterRef<boolean>;
30
+ onBlur: import("@angular/core").OutputEmitterRef<Blur>;
31
+ onContentChanged: import("@angular/core").OutputEmitterRef<ContentChange>;
32
+ onEditorChanged: import("@angular/core").OutputEmitterRef<EditorChangeContent | EditorChangeSelection>;
33
+ onEditorCreated: import("@angular/core").OutputEmitterRef<void>;
34
+ onFocus: import("@angular/core").OutputEmitterRef<Focus>;
35
+ onSelectionChanged: import("@angular/core").OutputEmitterRef<SelectionChange>;
36
36
  ngOnInit(): void;
37
37
  initialize(): void;
38
38
  toggleFullscreen(): void;
@@ -44,5 +44,5 @@ export declare class EditorComponent implements OnInit, ControlValueAccessor {
44
44
  registerOnChange(fn: any): void;
45
45
  registerOnTouched(fn: any): void;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor", never, { "config": { "alias": "config"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "fullscreenHeight": { "alias": "fullscreenHeight"; "required": false; }; "fullscreenWidth": { "alias": "fullscreenWidth"; "required": false; }; "fullscreenMode": { "alias": "fullscreenMode"; "required": false; }; "enableTooltips": { "alias": "enableTooltips"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "applyReadonlyStyle": { "alias": "applyReadonlyStyle"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showBorder": { "alias": "showBorder"; "required": false; }; "imageResizeModule": { "alias": "imageResizeModule"; "required": false; }; "imageDropModule": { "alias": "imageDropModule"; "required": false; }; "syntaxModule": { "alias": "syntaxModule"; "required": false; }; }, { "fullscreenChanged": "fullscreenChanged"; "onBlur": "onBlur"; "onContentChanged": "onContentChanged"; "onEditorChanged": "onEditorChanged"; "onEditorCreated": "onEditorCreated"; "onFocus": "onFocus"; "onSelectionChanged": "onSelectionChanged"; }, never, never, false, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor", never, { "config": { "alias": "config"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "fullscreenHeight": { "alias": "fullscreenHeight"; "required": false; }; "fullscreenWidth": { "alias": "fullscreenWidth"; "required": false; }; "fullscreenMode": { "alias": "fullscreenMode"; "required": false; }; "enableTooltips": { "alias": "enableTooltips"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "applyReadonlyStyle": { "alias": "applyReadonlyStyle"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showBorder": { "alias": "showBorder"; "required": false; }; "imageResizeModule": { "alias": "imageResizeModule"; "required": false; }; "imageDropModule": { "alias": "imageDropModule"; "required": false; }; "syntaxModule": { "alias": "syntaxModule"; "required": false; }; }, { "fullscreenChanged": "fullscreenChanged"; "onBlur": "onBlur"; "onContentChanged": "onContentChanged"; "onEditorChanged": "onEditorChanged"; "onEditorCreated": "onEditorCreated"; "onFocus": "onFocus"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
48
48
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class RawComponent {
3
3
  data: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<RawComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<RawComponent, "cpquill-raw", never, {}, {}, never, never, false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<RawComponent, "cpquill-raw", never, {}, {}, never, never, true, never>;
6
6
  }
package/quill/index.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@cleavelandprice/ngx-lib/quill" />
5
- export * from './public_api';
5
+ export * from './quill.api';
@@ -10,8 +10,8 @@ export declare class EditorComponent extends EditorComponentBase implements OnIn
10
10
  (): import("@angular/core").InputSignal<User[] | undefined>;
11
11
  (initialValue: User[], opts?: import("@angular/core").InputOptionsWithoutTransform<User[]> | undefined): import("@angular/core").InputSignal<User[]>;
12
12
  required: {
13
- <ReadT>(opts?: import("@angular/core").InputOptionsWithoutTransform<ReadT> | undefined): import("@angular/core").InputSignal<ReadT>;
14
- <ReadT_1, WriteT>(opts: import("@angular/core").InputOptionsWithTransform<ReadT_1, WriteT>): import("@angular/core").InputSignalWithTransform<ReadT_1, WriteT>;
13
+ <T>(opts?: import("@angular/core").InputOptionsWithoutTransform<T> | undefined): import("@angular/core").InputSignal<T>;
14
+ <T_1, TransformT>(opts: import("@angular/core").InputOptionsWithTransform<T_1, TransformT>): import("@angular/core").InputSignalWithTransform<T_1, TransformT>;
15
15
  };
16
16
  };
17
17
  _users: User[];
@@ -19,5 +19,5 @@ export declare class EditorComponent extends EditorComponentBase implements OnIn
19
19
  toggleFullscreen(): void;
20
20
  get modules(): {};
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor-with-mention", never, {}, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor-with-mention", never, {}, {}, never, never, true, never>;
23
23
  }
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@cleavelandprice/ngx-lib/quill/mention" />
5
- export * from './public_api';
5
+ export * from './quill-mention.api';
@@ -1,17 +1,17 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- import * as i1 from "./components/editor/editor.component";
4
- import * as i2 from "@angular/common";
5
- import * as i3 from "@angular/forms";
6
- import * as i4 from "@angular/material/button";
7
- import * as i5 from "@angular/material/dialog";
8
- import * as i6 from "@angular/material/icon";
9
- import * as i7 from "@angular/material/tooltip";
10
- import * as i8 from "ngx-quill";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/forms";
5
+ import * as i3 from "@angular/material/button";
6
+ import * as i4 from "@angular/material/dialog";
7
+ import * as i5 from "@angular/material/icon";
8
+ import * as i6 from "@angular/material/tooltip";
9
+ import * as i7 from "ngx-quill";
10
+ import * as i8 from "./components/editor/editor.component";
11
11
  export declare class QuillMentionModule {
12
12
  static forRoot(): ModuleWithProviders<QuillMentionModule>;
13
13
  constructor(parentModule: QuillMentionModule);
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<QuillMentionModule, [{ optional: true; skipSelf: true; }]>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<QuillMentionModule, [typeof i1.EditorComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MatDialogModule, typeof i6.MatIconModule, typeof i7.MatTooltipModule, typeof i8.QuillModule], [typeof i1.EditorComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QuillMentionModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatButtonModule, typeof i4.MatDialogModule, typeof i5.MatIconModule, typeof i6.MatTooltipModule, typeof i7.QuillModule, typeof i8.EditorComponent], [typeof i8.EditorComponent]>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<QuillMentionModule>;
17
17
  }
@@ -1,20 +1,18 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- import * as i1 from "./components/editor/editor.component";
4
- import * as i2 from "./components/raw/raw.component";
5
- import * as i3 from "@angular/common";
6
- import * as i4 from "@angular/forms";
7
- import * as i5 from "@angular/material/button";
8
- import * as i6 from "@angular/material/dialog";
9
- import * as i7 from "@angular/material/form-field";
10
- import * as i8 from "@angular/material/icon";
11
- import * as i9 from "@angular/material/input";
12
- import * as i10 from "@angular/material/tooltip";
13
- import * as i11 from "ngx-quill";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/icon";
8
+ import * as i7 from "@angular/material/input";
9
+ import * as i8 from "@angular/material/tooltip";
10
+ import * as i9 from "ngx-quill";
11
+ import * as i10 from "./components/editor/editor.component";
12
+ import * as i11 from "./components/raw/raw.component";
14
13
  export declare class QuillModule {
15
- static forRoot(): ModuleWithProviders<QuillModule>;
16
14
  constructor(parentModule: QuillModule);
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<QuillModule, [{ optional: true; skipSelf: true; }]>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<QuillModule, [typeof i1.EditorComponent, typeof i2.RawComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatButtonModule, typeof i6.MatDialogModule, typeof i7.MatFormFieldModule, typeof i8.MatIconModule, typeof i9.MatInputModule, typeof i10.MatTooltipModule, typeof i11.QuillModule], [typeof i1.EditorComponent, typeof i2.RawComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QuillModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatButtonModule, typeof i4.MatDialogModule, typeof i5.MatFormFieldModule, typeof i6.MatIconModule, typeof i7.MatInputModule, typeof i8.MatTooltipModule, typeof i9.QuillModule, typeof i10.EditorComponent, typeof i11.RawComponent], [typeof i10.EditorComponent, typeof i11.RawComponent]>;
19
17
  static ɵinj: i0.ɵɵInjectorDeclaration<QuillModule>;
20
18
  }
@@ -3,7 +3,7 @@ import { CleavelandPriceUser } from '@cleavelandprice/ngx-lib/active-directory';
3
3
  import { PhotoItem } from '../../model/photo-item';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class UserPhotoComponent implements OnInit {
6
- private activeDirectoryService;
6
+ #private;
7
7
  user: import("@angular/core").InputSignal<string | CleavelandPriceUser>;
8
8
  protected _user: CleavelandPriceUser;
9
9
  userPhotos: import("@angular/core").InputSignal<PhotoItem[] | undefined>;
@@ -11,5 +11,5 @@ export declare class UserPhotoComponent implements OnInit {
11
11
  notRound: import("@angular/core").InputSignal<boolean>;
12
12
  ngOnInit(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<UserPhotoComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<UserPhotoComponent, "user-photo", never, { "user": { "alias": "user"; "required": true; "isSignal": true; }; "userPhotos": { "alias": "userPhotos"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "notRound": { "alias": "notRound"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserPhotoComponent, "user-photo", never, { "user": { "alias": "user"; "required": true; "isSignal": true; }; "userPhotos": { "alias": "userPhotos"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "notRound": { "alias": "notRound"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
15
  }
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@cleavelandprice/ngx-lib/sharepoint" />
5
- export * from './public_api';
5
+ export * from './sharepoint.api';
@@ -0,0 +1,19 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ import { CachingConfig, Credentials, LoggingConfig, NgxLibServiceOptions } from "@cleavelandprice/ngx-lib";
3
+ export interface SharePointEndpoints {
4
+ users?: string;
5
+ listItems?: string;
6
+ }
7
+ export interface SharePointPhotos {
8
+ site?: string;
9
+ list?: string;
10
+ additionalPropertiesToRetrieve?: string[];
11
+ }
12
+ export interface SharePointServiceOptions extends NgxLibServiceOptions {
13
+ credentials?: Credentials;
14
+ caching?: CachingConfig;
15
+ endpoints?: SharePointEndpoints;
16
+ photos?: SharePointPhotos;
17
+ logging?: LoggingConfig;
18
+ }
19
+ export declare const SharePointServiceOptionsToken: InjectionToken<SharePointServiceOptions>;
@@ -3,8 +3,8 @@ import { CleavelandPriceUser } from '@cleavelandprice/ngx-lib/active-directory';
3
3
  import { PhotoItem } from '../model/photo-item';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class UserPhotoUrlPipe implements PipeTransform {
6
- private sharePointService;
6
+ #private;
7
7
  transform(user: CleavelandPriceUser, userPhotos?: PhotoItem[]): any;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<UserPhotoUrlPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<UserPhotoUrlPipe, "userPhotoUrl", false>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<UserPhotoUrlPipe, "userPhotoUrl", true>;
10
10
  }
@@ -1,23 +1,20 @@
1
1
  import { Observable } from 'rxjs';
2
+ import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
2
3
  import { ListItem } from '../model/list-item';
3
4
  import { ListItemsRequest } from '../model/list-items-request';
4
5
  import { PhotoItem } from '../model/photo-item';
6
+ import { SharePointServiceOptions } from '../model/sharepoint-service-options';
5
7
  import { User } from '../model/user';
6
8
  import { UserRequest } from '../model/user-request';
7
9
  import * as i0 from "@angular/core";
8
- export declare class SharePointService {
9
- private config;
10
- private http;
11
- private cache;
12
- private defaultCacheLifeMinutes;
13
- private cacheExpired;
14
- constructor();
15
- private configureCaching;
16
- private configureLogging;
10
+ export declare class SharePointService extends NgxLibServiceBase {
11
+ #private;
12
+ private options;
13
+ constructor(options: SharePointServiceOptions);
17
14
  getListItems(request: ListItemsRequest): Observable<ListItem[]>;
18
15
  getPhotos(): Observable<PhotoItem[]>;
19
16
  getUsers(request: UserRequest, id?: number): Observable<User | User[]>;
20
17
  clearCache(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<SharePointService, never>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharePointService, [{ optional: true; }]>;
22
19
  static ɵprov: i0.ɵɵInjectableDeclaration<SharePointService>;
23
20
  }
@@ -6,7 +6,7 @@ export * from './model/folder-request';
6
6
  export * from './model/list-item';
7
7
  export * from './model/list-items-request';
8
8
  export * from './model/photo-item';
9
- export * from './model/service-config';
9
+ export * from './model/sharepoint-service-options';
10
10
  export * from './model/uri-request';
11
11
  export * from './model/user';
12
12
  export * from './model/user-request';
@@ -1,13 +1,13 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
- import { ServiceConfig } from './model/service-config';
2
+ import { SharePointServiceOptions } from './model/sharepoint-service-options';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "./pipes/user-photo-url.pipe";
5
- import * as i2 from "./components/user-photo/user-photo.component";
6
- import * as i3 from "@angular/common";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "./pipes/user-photo-url.pipe";
6
+ import * as i3 from "./components/user-photo/user-photo.component";
7
7
  export declare class SharePointModule {
8
- static forRoot(config: ServiceConfig): ModuleWithProviders<SharePointModule>;
8
+ static forRoot(options: SharePointServiceOptions): ModuleWithProviders<SharePointModule>;
9
9
  constructor(parentModule: SharePointModule);
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SharePointModule, [{ optional: true; skipSelf: true; }]>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharePointModule, [typeof i1.UserPhotoUrlPipe, typeof i2.UserPhotoComponent], [typeof i3.CommonModule], [typeof i1.UserPhotoUrlPipe, typeof i2.UserPhotoComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharePointModule, never, [typeof i1.CommonModule, typeof i2.UserPhotoUrlPipe, typeof i3.UserPhotoComponent], [typeof i2.UserPhotoUrlPipe, typeof i3.UserPhotoComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<SharePointModule>;
13
13
  }
@@ -1,36 +1,35 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { MatTableDataSource } from '@angular/material/table';
1
+ import { AfterViewInit } from '@angular/core';
3
2
  import { MatPaginator } from '@angular/material/paginator';
4
3
  import { MatSort } from '@angular/material/sort';
4
+ import { MatTableDataSource } from '@angular/material/table';
5
5
  import { TableColumn } from '../../model/table-column';
6
6
  import * as i0 from "@angular/core";
7
- export declare class TableComponent {
8
- title: string;
9
- tableData: any[];
10
- columns: TableColumn[];
11
- showPaginator: boolean;
12
- showSearch: boolean;
13
- maxTableHeight: string;
14
- shrinkTableRowHeight: boolean;
15
- paginatorSticky: boolean;
16
- isMobile: boolean;
17
- buttonClicked: EventEmitter<{
7
+ export declare class TableComponent implements AfterViewInit {
8
+ #private;
9
+ title: import("@angular/core").InputSignal<string>;
10
+ tableData: import("@angular/core").InputSignal<any[]>;
11
+ columns: import("@angular/core").InputSignal<TableColumn[]>;
12
+ showPaginator: import("@angular/core").InputSignal<boolean>;
13
+ showSearch: import("@angular/core").InputSignal<boolean>;
14
+ maxTableHeight: import("@angular/core").InputSignal<string>;
15
+ shrinkTable: import("@angular/core").InputSignal<boolean>;
16
+ paginatorSticky: import("@angular/core").InputSignal<boolean>;
17
+ sortingDataAccessor: import("@angular/core").InputSignal<((data: any, sortHeaderId: string) => string) | undefined>;
18
+ buttonClicked: import("@angular/core").OutputEmitterRef<{
18
19
  rowData: any;
19
20
  field: string;
20
21
  }>;
21
- dataSource: MatTableDataSource<any, MatPaginator>;
22
+ isMobile: boolean;
23
+ dataSource: MatTableDataSource<any>;
22
24
  pageSizeOptions: number[];
23
- get columnNames(): string[];
24
- private paginator;
25
- private sort;
26
- set matSort(ms: MatSort);
27
- set matPaginator(mp: MatPaginator);
28
- constructor();
25
+ columnNames: string[];
26
+ paginator: import("@angular/core").Signal<MatPaginator | undefined>;
27
+ sort: import("@angular/core").Signal<MatSort | undefined>;
29
28
  ngOnInit(): void;
29
+ ngAfterViewInit(): void;
30
30
  searchFilterChange(event: Event): void;
31
31
  buttonClick(rowData: any, field: string): void;
32
32
  getNestedFieldValue(rowData: any, nestedFieldName: string | undefined): any;
33
- private setTablePageSizeOptions;
34
33
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "lib-table", never, { "title": { "alias": "title"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "maxTableHeight": { "alias": "maxTableHeight"; "required": false; }; "shrinkTableRowHeight": { "alias": "shrinkTableRowHeight"; "required": false; }; "paginatorSticky": { "alias": "paginatorSticky"; "required": false; }; }, { "buttonClicked": "buttonClicked"; }, never, never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "lib-table", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "tableData": { "alias": "tableData"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "showPaginator": { "alias": "showPaginator"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "maxTableHeight": { "alias": "maxTableHeight"; "required": false; "isSignal": true; }; "shrinkTable": { "alias": "shrinkTable"; "required": false; "isSignal": true; }; "paginatorSticky": { "alias": "paginatorSticky"; "required": false; "isSignal": true; }; "sortingDataAccessor": { "alias": "sortingDataAccessor"; "required": false; "isSignal": true; }; }, { "buttonClicked": "buttonClicked"; }, never, never, true, never>;
36
35
  }
package/table/index.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@cleavelandprice/ngx-lib/table" />
5
- export * from './public_api';
5
+ export * from './table.api';
@@ -1,18 +1,18 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./components/table/table.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/button";
6
- import * as i5 from "@angular/material/checkbox";
7
- import * as i6 from "@angular/material/form-field";
8
- import * as i7 from "@angular/material/input";
9
- import * as i8 from "@angular/material/table";
10
- import * as i9 from "@angular/material/sort";
11
- import * as i10 from "@angular/material/paginator";
12
- import * as i11 from "@angular/material/tooltip";
13
- import * as i12 from "@angular/material/icon";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/checkbox";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/material/table";
9
+ import * as i8 from "@angular/material/sort";
10
+ import * as i9 from "@angular/material/paginator";
11
+ import * as i10 from "@angular/material/tooltip";
12
+ import * as i11 from "@angular/material/icon";
13
+ import * as i12 from "./components/table/table.component";
14
14
  export declare class TableModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MatCheckboxModule, typeof i6.MatFormFieldModule, typeof i7.MatInputModule, typeof i8.MatTableModule, typeof i9.MatSortModule, typeof i10.MatPaginatorModule, typeof i11.MatTooltipModule, typeof i12.MatIconModule], [typeof i1.TableComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatButtonModule, typeof i4.MatCheckboxModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatTableModule, typeof i8.MatSortModule, typeof i9.MatPaginatorModule, typeof i10.MatTooltipModule, typeof i11.MatIconModule, typeof i12.TableComponent], [typeof i12.TableComponent]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
18
18
  }
@@ -1,14 +1,10 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
1
  import { UploadService } from './../../services/upload.service';
4
2
  import * as i0 from "@angular/core";
5
- export declare class UploadComponent implements OnInit {
6
- dialog: MatDialog;
3
+ export declare class UploadComponent {
4
+ #private;
7
5
  uploadService: UploadService;
8
- dialogClosed: EventEmitter<any>;
9
- uploadButtonText: string;
10
- ngOnInit(): void;
6
+ dialogClosed: import("@angular/core").OutputEmitterRef<void>;
11
7
  openUploadDialog(): void;
12
8
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "cp-upload", never, {}, { "dialogClosed": "dialogClosed"; }, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "cp-upload", never, {}, { "dialogClosed": "dialogClosed"; }, never, never, true, never>;
14
10
  }
@@ -1,23 +1,25 @@
1
- import { ElementRef, OnInit } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
+ import { UploadStatus } from '../../model/upload-status';
3
4
  import { UploadService } from './../../services/upload.service';
4
5
  import * as i0 from "@angular/core";
5
- export declare class UploadDialogComponent implements OnInit {
6
- dialogRef: MatDialogRef<any, any>;
7
- uploadService: UploadService;
8
- file: ElementRef;
6
+ export declare class UploadDialogComponent {
7
+ services: {
8
+ dialogRef: MatDialogRef<any, any>;
9
+ upload: UploadService;
10
+ };
11
+ file: import("@angular/core").Signal<ElementRef<any>>;
9
12
  files: Set<File>;
10
13
  existingFileConflict?: string;
11
- progress: any;
14
+ progress?: UploadStatus;
12
15
  canBeClosed: boolean;
13
- primaryButtonText?: string;
16
+ primaryButtonText: string | undefined;
14
17
  showCancelButton: boolean;
15
18
  uploading: boolean;
16
19
  uploadSuccessful: boolean;
17
- ngOnInit(): void;
18
20
  addFiles(): void;
19
21
  onFilesAdded(): void;
20
22
  closeDialog(): void;
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadDialogComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadDialogComponent, "ng-component", never, {}, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
23
25
  }
package/upload/index.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@cleavelandprice/ngx-lib/upload" />
5
- export * from './public_api';
5
+ export * from './upload.api';
@@ -0,0 +1,16 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ import { NgxLibServiceOptions } from "@cleavelandprice/ngx-lib";
3
+ export interface UploadServiceOptions extends NgxLibServiceOptions {
4
+ databaseEndpoint?: string;
5
+ uploadPath?: string;
6
+ comment?: string;
7
+ dbAppId?: string;
8
+ externalReferenceId?: string;
9
+ uploadDialogTitle?: string;
10
+ uploadButtonText?: string;
11
+ uploadDialogCancelButtonText?: string;
12
+ uploadDialogFinishButtonText?: string;
13
+ uploadDialogUploadButtonText?: string;
14
+ uploadDialogAddFilesButtonText?: string;
15
+ }
16
+ export declare const UploadServiceOptionsToken: InjectionToken<UploadServiceOptions>;
@@ -0,0 +1,6 @@
1
+ import { Observable } from "rxjs";
2
+ export interface UploadStatus {
3
+ [key: string]: {
4
+ progress: Observable<number>;
5
+ };
6
+ }
@@ -1,16 +1,19 @@
1
1
  import { Observable } from 'rxjs';
2
+ import { NgxLibServiceBase } from '@cleavelandprice/ngx-lib';
2
3
  import { DatabaseFileInfo } from '../model/database-file-info';
3
4
  import { FileUploadRequest } from '../model/file-upload-request';
4
5
  import { FilesystemFileInfo } from '../model/filesystem-file-info';
5
- import { ServiceConfig } from '../model/service-config';
6
+ import { UploadServiceOptions } from '../model/upload-service-options';
7
+ import { UploadStatus } from '../model/upload-status';
6
8
  import * as i0 from "@angular/core";
7
- export declare class UploadService {
8
- private http;
9
- config: ServiceConfig;
10
- upload(files: Set<File>): any;
9
+ export declare class UploadService extends NgxLibServiceBase {
10
+ #private;
11
+ options: UploadServiceOptions;
12
+ constructor(options: UploadServiceOptions);
13
+ upload(files: Set<File>): UploadStatus;
11
14
  exists(fileName: string): Observable<boolean>;
12
15
  download(request: FileUploadRequest): Observable<Blob>;
13
16
  getUploadInfo(request: FileUploadRequest): Observable<DatabaseFileInfo | DatabaseFileInfo[] | FilesystemFileInfo | FilesystemFileInfo[]>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadService, never>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<UploadService, [{ optional: true; }]>;
15
18
  static ɵprov: i0.ɵɵInjectableDeclaration<UploadService>;
16
19
  }
@@ -1,8 +1,8 @@
1
1
  export * from './model/database-file-info';
2
2
  export * from './model/file-upload-request';
3
3
  export * from './model/filesystem-file-info';
4
- export * from './model/service-config';
5
- export * from './components/upload/upload.component';
4
+ export * from './model/upload-service-options';
6
5
  export * from './components/upload-dialog/upload-dialog.component';
6
+ export * from './components/upload/upload.component';
7
7
  export * from './services/upload.service';
8
8
  export * from './upload.module';
@@ -1,17 +1,17 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
- import { ServiceConfig } from './model/service-config';
2
+ import { UploadServiceOptions } from './model/upload-service-options';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "./components/upload/upload.component";
5
- import * as i2 from "./components/upload-dialog/upload-dialog.component";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/material/button";
8
- import * as i5 from "@angular/material/dialog";
9
- import * as i6 from "@angular/material/list";
10
- import * as i7 from "@angular/material/progress-bar";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/material/button";
6
+ import * as i3 from "@angular/material/dialog";
7
+ import * as i4 from "@angular/material/list";
8
+ import * as i5 from "@angular/material/progress-bar";
9
+ import * as i6 from "./components/upload/upload.component";
10
+ import * as i7 from "./components/upload-dialog/upload-dialog.component";
11
11
  export declare class UploadModule {
12
- static forRoot(uploadConfig: ServiceConfig): ModuleWithProviders<UploadModule>;
12
+ static forRoot(options: UploadServiceOptions): ModuleWithProviders<UploadModule>;
13
13
  constructor(parentModule: UploadModule);
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadModule, [{ optional: true; skipSelf: true; }]>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, [typeof i1.UploadComponent, typeof i2.UploadDialogComponent], [typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i5.MatDialogModule, typeof i6.MatListModule, typeof i7.MatProgressBarModule], [typeof i1.UploadComponent, typeof i2.UploadDialogComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.MatDialogModule, typeof i4.MatListModule, typeof i5.MatProgressBarModule, typeof i6.UploadComponent, typeof i7.UploadDialogComponent], [typeof i6.UploadComponent, typeof i7.UploadDialogComponent]>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<UploadModule>;
17
17
  }
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@cleavelandprice/ngx-lib/url-utilities" />
5
- export * from './public_api';
5
+ export * from './url-utilities.api';
@@ -2,8 +2,8 @@ import { PipeTransform } from '@angular/core';
2
2
  import { SafeUrl } from '@angular/platform-browser';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SafeResourceUrlPipe implements PipeTransform {
5
- private domSanitizer;
5
+ #private;
6
6
  transform(value: string): SafeUrl;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SafeResourceUrlPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeResourceUrlPipe, "safeResourceUrl", false>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeResourceUrlPipe, "safeResourceUrl", true>;
9
9
  }
@@ -2,8 +2,8 @@ import { PipeTransform } from '@angular/core';
2
2
  import { SafeUrl } from '@angular/platform-browser';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SafeUrlPipe implements PipeTransform {
5
- private domSanitizer;
5
+ #private;
6
6
  transform(value: string): SafeUrl;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SafeUrlPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "safeUrl", false>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "safeUrl", true>;
9
9
  }
@@ -1,9 +1,8 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class UriSchemePipe implements PipeTransform {
4
+ #private;
4
5
  transform(value: string, ignoreLocalStorage?: boolean): string;
5
- private app;
6
- private command;
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<UriSchemePipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<UriSchemePipe, "uriScheme", false>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<UriSchemePipe, "uriScheme", true>;
9
8
  }
@@ -0,0 +1,8 @@
1
+ import { SafeResourceUrlPipe } from './pipes/safe-resource-url.pipe';
2
+ import { SafeUrlPipe } from './pipes/safe-url.pipe';
3
+ import { UriSchemePipe } from './pipes/uri-scheme.pipe';
4
+ export * from './pipes/safe-resource-url.pipe';
5
+ export * from './pipes/safe-url.pipe';
6
+ export * from './pipes/uri-scheme.pipe';
7
+ export * from './url-utilities.module';
8
+ export declare const CP_URL_PIPES: readonly [typeof SafeResourceUrlPipe, typeof SafeUrlPipe, typeof UriSchemePipe];