@lenne.tech/ng-base 18.1.3 → 22.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 (416) hide show
  1. package/CLAUDE.md +55 -0
  2. package/LICENSE +2 -2
  3. package/README.md +237 -44
  4. package/fesm2022/lenne.tech-ng-base-ai.mjs +771 -0
  5. package/fesm2022/lenne.tech-ng-base-ai.mjs.map +1 -0
  6. package/fesm2022/lenne.tech-ng-base-auth-provide.mjs +945 -0
  7. package/fesm2022/lenne.tech-ng-base-auth-provide.mjs.map +1 -0
  8. package/fesm2022/lenne.tech-ng-base-auth.mjs +454 -0
  9. package/fesm2022/lenne.tech-ng-base-auth.mjs.map +1 -0
  10. package/fesm2022/lenne.tech-ng-base-bug-bug-report-dialog-BRzVmKJr.mjs +825 -0
  11. package/fesm2022/lenne.tech-ng-base-bug-bug-report-dialog-BRzVmKJr.mjs.map +1 -0
  12. package/fesm2022/lenne.tech-ng-base-bug-bug-report-service-DWoTb_iw.mjs +351 -0
  13. package/fesm2022/lenne.tech-ng-base-bug-bug-report-service-DWoTb_iw.mjs.map +1 -0
  14. package/fesm2022/lenne.tech-ng-base-bug-capture-engine-TkjMDdqj.mjs +1046 -0
  15. package/fesm2022/lenne.tech-ng-base-bug-capture-engine-TkjMDdqj.mjs.map +1 -0
  16. package/fesm2022/lenne.tech-ng-base-bug-constants-Brm2KGHi.mjs +4 -0
  17. package/fesm2022/lenne.tech-ng-base-bug-constants-Brm2KGHi.mjs.map +1 -0
  18. package/fesm2022/lenne.tech-ng-base-bug-messages-BsP4fRQU.mjs +179 -0
  19. package/fesm2022/lenne.tech-ng-base-bug-messages-BsP4fRQU.mjs.map +1 -0
  20. package/fesm2022/lenne.tech-ng-base-bug-provide.mjs +26 -0
  21. package/fesm2022/lenne.tech-ng-base-bug-provide.mjs.map +1 -0
  22. package/fesm2022/lenne.tech-ng-base-bug-report-Tzlhe1Cm.mjs +62 -0
  23. package/fesm2022/lenne.tech-ng-base-bug-report-Tzlhe1Cm.mjs.map +1 -0
  24. package/fesm2022/lenne.tech-ng-base-bug-server.mjs +818 -0
  25. package/fesm2022/lenne.tech-ng-base-bug-server.mjs.map +1 -0
  26. package/fesm2022/lenne.tech-ng-base-bug.mjs +196 -0
  27. package/fesm2022/lenne.tech-ng-base-bug.mjs.map +1 -0
  28. package/fesm2022/lenne.tech-ng-base-files-ui.mjs +445 -0
  29. package/fesm2022/lenne.tech-ng-base-files-ui.mjs.map +1 -0
  30. package/fesm2022/lenne.tech-ng-base-files.mjs +474 -0
  31. package/fesm2022/lenne.tech-ng-base-files.mjs.map +1 -0
  32. package/fesm2022/lenne.tech-ng-base-server.mjs +408 -0
  33. package/fesm2022/lenne.tech-ng-base-server.mjs.map +1 -0
  34. package/fesm2022/lenne.tech-ng-base-share.mjs +76 -0
  35. package/fesm2022/lenne.tech-ng-base-share.mjs.map +1 -0
  36. package/fesm2022/lenne.tech-ng-base-sync.mjs +1096 -0
  37. package/fesm2022/lenne.tech-ng-base-sync.mjs.map +1 -0
  38. package/fesm2022/lenne.tech-ng-base-testing.mjs +171 -0
  39. package/fesm2022/lenne.tech-ng-base-testing.mjs.map +1 -0
  40. package/fesm2022/lenne.tech-ng-base-ui-provide.mjs +124 -0
  41. package/fesm2022/lenne.tech-ng-base-ui-provide.mjs.map +1 -0
  42. package/fesm2022/lenne.tech-ng-base-ui.mjs +34645 -0
  43. package/fesm2022/lenne.tech-ng-base-ui.mjs.map +1 -0
  44. package/fesm2022/lenne.tech-ng-base-utils.mjs +287 -0
  45. package/fesm2022/lenne.tech-ng-base-utils.mjs.map +1 -0
  46. package/fesm2022/lenne.tech-ng-base.mjs +615 -910
  47. package/fesm2022/lenne.tech-ng-base.mjs.map +1 -1
  48. package/i18n/auth/de.json +17 -0
  49. package/i18n/auth/en.json +17 -0
  50. package/i18n/bug/de.json +85 -0
  51. package/i18n/bug/en.json +85 -0
  52. package/i18n/de.json +8 -0
  53. package/i18n/en.json +8 -0
  54. package/i18n/files/de.json +27 -0
  55. package/i18n/files/en.json +27 -0
  56. package/i18n/share/de.json +8 -0
  57. package/i18n/share/en.json +8 -0
  58. package/i18n/ui/de.json +38 -0
  59. package/i18n/ui/en.json +38 -0
  60. package/package.json +127 -58
  61. package/types/lenne.tech-ng-base-ai.d.ts +845 -0
  62. package/types/lenne.tech-ng-base-auth-provide.d.ts +604 -0
  63. package/types/lenne.tech-ng-base-auth.d.ts +320 -0
  64. package/types/lenne.tech-ng-base-bug-provide.d.ts +272 -0
  65. package/types/lenne.tech-ng-base-bug-rolldown-runtime-C25Le4-w.d.ts +1 -0
  66. package/types/lenne.tech-ng-base-bug-server.d.ts +316 -0
  67. package/types/lenne.tech-ng-base-bug.d.ts +202 -0
  68. package/types/lenne.tech-ng-base-files-ui.d.ts +116 -0
  69. package/types/lenne.tech-ng-base-files.d.ts +288 -0
  70. package/types/lenne.tech-ng-base-server.d.ts +262 -0
  71. package/types/lenne.tech-ng-base-share.d.ts +21 -0
  72. package/types/lenne.tech-ng-base-sync.d.ts +380 -0
  73. package/types/lenne.tech-ng-base-testing.d.ts +327 -0
  74. package/types/lenne.tech-ng-base-ui-provide.d.ts +65 -0
  75. package/types/lenne.tech-ng-base-ui.d.ts +7744 -0
  76. package/types/lenne.tech-ng-base-utils.d.ts +150 -0
  77. package/types/lenne.tech-ng-base.d.ts +503 -0
  78. package/ui/styles/components/accordion.css +3 -0
  79. package/ui/styles/components/alert-dialog.css +4 -0
  80. package/ui/styles/components/alert.css +3 -0
  81. package/ui/styles/components/aspect-ratio.css +3 -0
  82. package/ui/styles/components/attachment.css +4 -0
  83. package/ui/styles/components/autocomplete.css +4 -0
  84. package/ui/styles/components/avatar.css +3 -0
  85. package/ui/styles/components/badge.css +3 -0
  86. package/ui/styles/components/breadcrumb.css +3 -0
  87. package/ui/styles/components/bubble.css +3 -0
  88. package/ui/styles/components/button-group.css +3 -0
  89. package/ui/styles/components/button.css +3 -0
  90. package/ui/styles/components/calendar.css +5 -0
  91. package/ui/styles/components/card.css +3 -0
  92. package/ui/styles/components/checkbox.css +3 -0
  93. package/ui/styles/components/code-block.css +4 -0
  94. package/ui/styles/components/collapsible.css +3 -0
  95. package/ui/styles/components/combobox.css +5 -0
  96. package/ui/styles/components/command.css +5 -0
  97. package/ui/styles/components/context-menu.css +3 -0
  98. package/ui/styles/components/date-picker.css +7 -0
  99. package/ui/styles/components/dialog.css +4 -0
  100. package/ui/styles/components/drawer.css +3 -0
  101. package/ui/styles/components/dropdown-menu.css +3 -0
  102. package/ui/styles/components/empty.css +3 -0
  103. package/ui/styles/components/field.css +5 -0
  104. package/ui/styles/components/hover-card.css +3 -0
  105. package/ui/styles/components/index.css +91 -0
  106. package/ui/styles/components/input-group.css +6 -0
  107. package/ui/styles/components/input-otp.css +3 -0
  108. package/ui/styles/components/input.css +3 -0
  109. package/ui/styles/components/item.css +4 -0
  110. package/ui/styles/components/kbd.css +3 -0
  111. package/ui/styles/components/label.css +3 -0
  112. package/ui/styles/components/lt-breadcrumb.css +3 -0
  113. package/ui/styles/components/lt-bug-attachments.css +5 -0
  114. package/ui/styles/components/lt-bug-journey-timeline.css +5 -0
  115. package/ui/styles/components/lt-bug-report-dialog.css +15 -0
  116. package/ui/styles/components/lt-bug-report.css +4 -0
  117. package/ui/styles/components/lt-color-mode-button.css +3 -0
  118. package/ui/styles/components/lt-confirm-dialog.css +4 -0
  119. package/ui/styles/components/lt-data-view.css +5 -0
  120. package/ui/styles/components/lt-date-picker.css +3 -0
  121. package/ui/styles/components/lt-date-time-picker.css +5 -0
  122. package/ui/styles/components/lt-enter-action.css +2 -0
  123. package/ui/styles/components/lt-footer.css +3 -0
  124. package/ui/styles/components/lt-form-field.css +4 -0
  125. package/ui/styles/components/lt-header.css +5 -0
  126. package/ui/styles/components/lt-imports.css +21 -0
  127. package/ui/styles/components/lt-navigation-menu.css +3 -0
  128. package/ui/styles/components/lt-notice.css +3 -0
  129. package/ui/styles/components/lt-overlay-defaults.css +3 -0
  130. package/ui/styles/components/lt-page-card.css +3 -0
  131. package/ui/styles/components/lt-page-title.css +2 -0
  132. package/ui/styles/components/lt-password-input.css +4 -0
  133. package/ui/styles/components/lt-readonly-field.css +2 -0
  134. package/ui/styles/components/lt-select.css +4 -0
  135. package/ui/styles/components/lt-text-field.css +5 -0
  136. package/ui/styles/components/lt-toolbar-item.css +2 -0
  137. package/ui/styles/components/lt-toolbar.css +3 -0
  138. package/ui/styles/components/lt-tus-upload-component.css +5 -0
  139. package/ui/styles/components/marker.css +3 -0
  140. package/ui/styles/components/menubar.css +3 -0
  141. package/ui/styles/components/message-scroller.css +4 -0
  142. package/ui/styles/components/message.css +3 -0
  143. package/ui/styles/components/native-select.css +3 -0
  144. package/ui/styles/components/navigation-menu.css +3 -0
  145. package/ui/styles/components/pagination.css +4 -0
  146. package/ui/styles/components/popover.css +3 -0
  147. package/ui/styles/components/progress.css +3 -0
  148. package/ui/styles/components/questionnaire.css +4 -0
  149. package/ui/styles/components/radio-group.css +3 -0
  150. package/ui/styles/components/resizable.css +3 -0
  151. package/ui/styles/components/select.css +3 -0
  152. package/ui/styles/components/separator.css +3 -0
  153. package/ui/styles/components/sheet.css +4 -0
  154. package/ui/styles/components/sidebar.css +9 -0
  155. package/ui/styles/components/skeleton.css +3 -0
  156. package/ui/styles/components/slider.css +3 -0
  157. package/ui/styles/components/sonner.css +4 -0
  158. package/ui/styles/components/spinner.css +3 -0
  159. package/ui/styles/components/switch.css +3 -0
  160. package/ui/styles/components/table.css +3 -0
  161. package/ui/styles/components/tabs.css +4 -0
  162. package/ui/styles/components/textarea.css +3 -0
  163. package/ui/styles/components/toggle-group.css +4 -0
  164. package/ui/styles/components/toggle.css +3 -0
  165. package/ui/styles/components/tooltip.css +3 -0
  166. package/ui/styles/components/trace.css +3 -0
  167. package/ui/styles/components/typography.css +3 -0
  168. package/ui/styles/components/utils.css +2 -0
  169. package/ui/styles/core.css +137 -0
  170. package/ui/styles/palette.css +94 -0
  171. package/ui/styles/theme.css +14 -0
  172. package/ui/styles/transitions.css +131 -0
  173. package/base-cms/index.d.ts +0 -5
  174. package/base-cms/interfaces/base-cms-module-config.interface.d.ts +0 -16
  175. package/base-cms/pages/base-cms/base-cms.component.d.ts +0 -92
  176. package/base-cms/public-api.d.ts +0 -5
  177. package/base-components/components/breadcrumb/breadcrumb.component.d.ts +0 -10
  178. package/base-components/components/change-password/change-password.component.d.ts +0 -24
  179. package/base-components/components/checkbox/checkbox.component.d.ts +0 -12
  180. package/base-components/components/delete-account/delete-account.component.d.ts +0 -15
  181. package/base-components/components/fab-button/fab-button.component.d.ts +0 -16
  182. package/base-components/components/input/input.component.d.ts +0 -27
  183. package/base-components/components/loading-bar/loading-bar.component.d.ts +0 -17
  184. package/base-components/components/model-form/model-form-base.component.d.ts +0 -64
  185. package/base-components/components/model-form/model-form.component.d.ts +0 -139
  186. package/base-components/components/model-form-sub/model-form-sub.component.d.ts +0 -56
  187. package/base-components/components/model-table/model-table.component.d.ts +0 -115
  188. package/base-components/components/refence-input/refence-input.component.d.ts +0 -84
  189. package/base-components/components/select/select.component.d.ts +0 -25
  190. package/base-components/components/skeleton-loader/skeleton-loader.component.d.ts +0 -10
  191. package/base-components/components/tags/tags.component.d.ts +0 -60
  192. package/base-components/components/textarea/textarea.component.d.ts +0 -21
  193. package/base-components/components/toast/toast.component.d.ts +0 -19
  194. package/base-components/components/upload-image/upload-image.component.d.ts +0 -111
  195. package/base-components/directives/back-button.directive.d.ts +0 -9
  196. package/base-components/directives/context-menu.directive.d.ts +0 -22
  197. package/base-components/directives/sort.directive.d.ts +0 -15
  198. package/base-components/directives/stop-propagation.directive.d.ts +0 -10
  199. package/base-components/index.d.ts +0 -5
  200. package/base-components/pipes/ellipses.pipe.d.ts +0 -10
  201. package/base-components/public-api.d.ts +0 -26
  202. package/base-prototype/index.d.ts +0 -5
  203. package/base-prototype/pages/email-verification/email-verification.component.d.ts +0 -18
  204. package/base-prototype/pages/forgot-password/forgot-password.component.d.ts +0 -26
  205. package/base-prototype/pages/login/login.component.d.ts +0 -33
  206. package/base-prototype/pages/profile/profile.component.d.ts +0 -24
  207. package/base-prototype/pages/register/register.component.d.ts +0 -31
  208. package/base-prototype/pages/set-password/set-password.component.d.ts +0 -29
  209. package/base-prototype/public-api.d.ts +0 -9
  210. package/esm2022/base-cms/interfaces/base-cms-module-config.interface.mjs +0 -3
  211. package/esm2022/base-cms/lenne.tech-ng-base-base-cms.mjs +0 -5
  212. package/esm2022/base-cms/pages/base-cms/base-cms.component.mjs +0 -238
  213. package/esm2022/base-cms/public-api.mjs +0 -8
  214. package/esm2022/base-components/components/breadcrumb/breadcrumb.component.mjs +0 -23
  215. package/esm2022/base-components/components/change-password/change-password.component.mjs +0 -97
  216. package/esm2022/base-components/components/checkbox/checkbox.component.mjs +0 -38
  217. package/esm2022/base-components/components/delete-account/delete-account.component.mjs +0 -59
  218. package/esm2022/base-components/components/fab-button/fab-button.component.mjs +0 -24
  219. package/esm2022/base-components/components/input/input.component.mjs +0 -75
  220. package/esm2022/base-components/components/loading-bar/loading-bar.component.mjs +0 -37
  221. package/esm2022/base-components/components/model-form/model-form-base.component.mjs +0 -145
  222. package/esm2022/base-components/components/model-form/model-form.component.mjs +0 -591
  223. package/esm2022/base-components/components/model-form-sub/model-form-sub.component.mjs +0 -117
  224. package/esm2022/base-components/components/model-table/model-table.component.mjs +0 -478
  225. package/esm2022/base-components/components/refence-input/refence-input.component.mjs +0 -278
  226. package/esm2022/base-components/components/select/select.component.mjs +0 -62
  227. package/esm2022/base-components/components/skeleton-loader/skeleton-loader.component.mjs +0 -33
  228. package/esm2022/base-components/components/tags/tags.component.mjs +0 -227
  229. package/esm2022/base-components/components/textarea/textarea.component.mjs +0 -79
  230. package/esm2022/base-components/components/toast/toast.component.mjs +0 -69
  231. package/esm2022/base-components/components/upload-image/upload-image.component.mjs +0 -346
  232. package/esm2022/base-components/directives/back-button.directive.mjs +0 -25
  233. package/esm2022/base-components/directives/context-menu.directive.mjs +0 -112
  234. package/esm2022/base-components/directives/sort.directive.mjs +0 -61
  235. package/esm2022/base-components/directives/stop-propagation.directive.mjs +0 -24
  236. package/esm2022/base-components/lenne.tech-ng-base-base-components.mjs +0 -5
  237. package/esm2022/base-components/pipes/ellipses.pipe.mjs +0 -23
  238. package/esm2022/base-components/public-api.mjs +0 -30
  239. package/esm2022/base-prototype/lenne.tech-ng-base-base-prototype.mjs +0 -5
  240. package/esm2022/base-prototype/pages/email-verification/email-verification.component.mjs +0 -60
  241. package/esm2022/base-prototype/pages/forgot-password/forgot-password.component.mjs +0 -78
  242. package/esm2022/base-prototype/pages/login/login.component.mjs +0 -114
  243. package/esm2022/base-prototype/pages/profile/profile.component.mjs +0 -87
  244. package/esm2022/base-prototype/pages/register/register.component.mjs +0 -100
  245. package/esm2022/base-prototype/pages/set-password/set-password.component.mjs +0 -91
  246. package/esm2022/base-prototype/public-api.mjs +0 -11
  247. package/esm2022/lenne.tech-ng-base.mjs +0 -5
  248. package/esm2022/public-api.mjs +0 -25
  249. package/esm2022/shared/classes/auth.class.mjs +0 -14
  250. package/esm2022/shared/classes/basic-user.class.mjs +0 -49
  251. package/esm2022/shared/classes/graphql-enum.class.mjs +0 -10
  252. package/esm2022/shared/classes/graphql-meta.class.mjs +0 -345
  253. package/esm2022/shared/classes/graphql-type.class.mjs +0 -14
  254. package/esm2022/shared/classes/helper.class.mjs +0 -307
  255. package/esm2022/shared/classes/sort.class.mjs +0 -38
  256. package/esm2022/shared/classes/standard.class.mjs +0 -40
  257. package/esm2022/shared/decorators/debounce.decorator.mjs +0 -12
  258. package/esm2022/shared/enums/comparison-operator.enum.mjs +0 -16
  259. package/esm2022/shared/enums/graphql-request-type.enum.mjs +0 -10
  260. package/esm2022/shared/enums/logical-operator.enum.mjs +0 -10
  261. package/esm2022/shared/enums/skeleton-type.enum.mjs +0 -7
  262. package/esm2022/shared/enums/sort-order.enum.mjs +0 -6
  263. package/esm2022/shared/enums/toast-type.enum.mjs +0 -8
  264. package/esm2022/shared/functions/ws-client.function.mjs +0 -39
  265. package/esm2022/shared/interfaces/base-module-config.interface.mjs +0 -3
  266. package/esm2022/shared/interfaces/breadcrumb.interface.mjs +0 -2
  267. package/esm2022/shared/interfaces/can-component-deactivate.interface.mjs +0 -2
  268. package/esm2022/shared/interfaces/cms-enum-values.interface.mjs +0 -2
  269. package/esm2022/shared/interfaces/cms-field-config.interface.mjs +0 -2
  270. package/esm2022/shared/interfaces/cms-model-config.interface.mjs +0 -2
  271. package/esm2022/shared/interfaces/cms-table-field.interface.mjs +0 -2
  272. package/esm2022/shared/interfaces/combined-filter-input.interface.mjs +0 -2
  273. package/esm2022/shared/interfaces/compress-options.interface.mjs +0 -2
  274. package/esm2022/shared/interfaces/cropping-options.interface.mjs +0 -2
  275. package/esm2022/shared/interfaces/field-object.interface.mjs +0 -2
  276. package/esm2022/shared/interfaces/field.interface.mjs +0 -2
  277. package/esm2022/shared/interfaces/filter-input.interface.mjs +0 -2
  278. package/esm2022/shared/interfaces/find-args.interface.mjs +0 -2
  279. package/esm2022/shared/interfaces/graphql-crud-type.interface.mjs +0 -2
  280. package/esm2022/shared/interfaces/graphql-fields-object.interface.mjs +0 -2
  281. package/esm2022/shared/interfaces/graphql-options.interface.mjs +0 -2
  282. package/esm2022/shared/interfaces/graphql-plus-options.interfacen.mjs +0 -2
  283. package/esm2022/shared/interfaces/graphql-type-collection.interface.mjs +0 -2
  284. package/esm2022/shared/interfaces/login-config.interface.mjs +0 -2
  285. package/esm2022/shared/interfaces/register-config.interface.mjs +0 -2
  286. package/esm2022/shared/interfaces/single-filter-input.interface.mjs +0 -2
  287. package/esm2022/shared/interfaces/sort-input.interface.mjs +0 -2
  288. package/esm2022/shared/interfaces/time-components.interface.mjs +0 -2
  289. package/esm2022/shared/interfaces/toast.interface.mjs +0 -2
  290. package/esm2022/shared/lenne.tech-ng-base-shared.mjs +0 -5
  291. package/esm2022/shared/public-api.mjs +0 -74
  292. package/esm2022/shared/services/auth.service.mjs +0 -152
  293. package/esm2022/shared/services/breadcrumb.service.mjs +0 -69
  294. package/esm2022/shared/services/cms.service.mjs +0 -82
  295. package/esm2022/shared/services/file.service.mjs +0 -86
  296. package/esm2022/shared/services/forms.service.mjs +0 -61
  297. package/esm2022/shared/services/graphql-meta.service.mjs +0 -132
  298. package/esm2022/shared/services/graphql-plus.service.mjs +0 -93
  299. package/esm2022/shared/services/graphql.service.mjs +0 -510
  300. package/esm2022/shared/services/image.service.mjs +0 -102
  301. package/esm2022/shared/services/loader.service.mjs +0 -78
  302. package/esm2022/shared/services/navigation.service.mjs +0 -38
  303. package/esm2022/shared/services/scroll.service.mjs +0 -207
  304. package/esm2022/shared/services/storage.service.mjs +0 -149
  305. package/esm2022/shared/services/toast.service.mjs +0 -39
  306. package/esm2022/shared/services/user.service.mjs +0 -160
  307. package/esm2022/shared/services/ws.service.mjs +0 -17
  308. package/esm2022/shared/types/graphql-fields.type.mjs +0 -2
  309. package/esm2022/shared/types/storage.type.mjs +0 -2
  310. package/esm2022/shared/validators/email.validator.mjs +0 -7
  311. package/esm2022/shared/validators/match.validator.mjs +0 -22
  312. package/esm2022/shared/validators/secure-password.validator.mjs +0 -7
  313. package/esm2022/src/base.module.mjs +0 -64
  314. package/esm2022/src/decorators/auto-unsubscribe.decorator.mjs +0 -23
  315. package/esm2022/src/directives/lazy-load.directive.mjs +0 -48
  316. package/esm2022/src/directives/match-height.directive.mjs +0 -92
  317. package/esm2022/src/directives/resizable.directive.mjs +0 -92
  318. package/esm2022/src/factories/apollo-options.factory.mjs +0 -108
  319. package/esm2022/src/functions/extract-files.function.mjs +0 -87
  320. package/esm2022/src/guards/auth.guard.mjs +0 -91
  321. package/esm2022/src/guards/can-deactivate.guard.mjs +0 -16
  322. package/esm2022/src/guards/logout.guard.mjs +0 -34
  323. package/esm2022/src/pipes/date-ago.pipe.mjs +0 -64
  324. package/esm2022/src/pipes/safe-html.pipe.mjs +0 -22
  325. package/esm2022/src/services/fullscreen.service.mjs +0 -51
  326. package/esm2022/src/services/seo.service.mjs +0 -117
  327. package/esm2022/src/services/theme.service.mjs +0 -44
  328. package/fesm2022/lenne.tech-ng-base-base-cms.mjs +0 -251
  329. package/fesm2022/lenne.tech-ng-base-base-cms.mjs.map +0 -1
  330. package/fesm2022/lenne.tech-ng-base-base-components.mjs +0 -2917
  331. package/fesm2022/lenne.tech-ng-base-base-components.mjs.map +0 -1
  332. package/fesm2022/lenne.tech-ng-base-base-prototype.mjs +0 -505
  333. package/fesm2022/lenne.tech-ng-base-base-prototype.mjs.map +0 -1
  334. package/fesm2022/lenne.tech-ng-base-shared.mjs +0 -2863
  335. package/fesm2022/lenne.tech-ng-base-shared.mjs.map +0 -1
  336. package/index.d.ts +0 -5
  337. package/public-api.d.ts +0 -17
  338. package/shared/classes/auth.class.d.ts +0 -10
  339. package/shared/classes/basic-user.class.d.ts +0 -27
  340. package/shared/classes/graphql-enum.class.d.ts +0 -7
  341. package/shared/classes/graphql-meta.class.d.ts +0 -66
  342. package/shared/classes/graphql-type.class.d.ts +0 -13
  343. package/shared/classes/helper.class.d.ts +0 -99
  344. package/shared/classes/sort.class.d.ts +0 -12
  345. package/shared/classes/standard.class.d.ts +0 -32
  346. package/shared/decorators/debounce.decorator.d.ts +0 -1
  347. package/shared/enums/comparison-operator.enum.d.ts +0 -14
  348. package/shared/enums/graphql-request-type.enum.d.ts +0 -8
  349. package/shared/enums/logical-operator.enum.d.ts +0 -8
  350. package/shared/enums/skeleton-type.enum.d.ts +0 -5
  351. package/shared/enums/sort-order.enum.d.ts +0 -4
  352. package/shared/enums/toast-type.enum.d.ts +0 -6
  353. package/shared/functions/ws-client.function.d.ts +0 -5
  354. package/shared/index.d.ts +0 -5
  355. package/shared/interfaces/base-module-config.interface.d.ts +0 -61
  356. package/shared/interfaces/breadcrumb.interface.d.ts +0 -4
  357. package/shared/interfaces/can-component-deactivate.interface.d.ts +0 -7
  358. package/shared/interfaces/cms-enum-values.interface.d.ts +0 -4
  359. package/shared/interfaces/cms-field-config.interface.d.ts +0 -45
  360. package/shared/interfaces/cms-model-config.interface.d.ts +0 -14
  361. package/shared/interfaces/cms-table-field.interface.d.ts +0 -10
  362. package/shared/interfaces/combined-filter-input.interface.d.ts +0 -9
  363. package/shared/interfaces/compress-options.interface.d.ts +0 -15
  364. package/shared/interfaces/cropping-options.interface.d.ts +0 -12
  365. package/shared/interfaces/field-object.interface.d.ts +0 -6
  366. package/shared/interfaces/field.interface.d.ts +0 -5
  367. package/shared/interfaces/filter-input.interface.d.ts +0 -9
  368. package/shared/interfaces/find-args.interface.d.ts +0 -11
  369. package/shared/interfaces/graphql-crud-type.interface.d.ts +0 -7
  370. package/shared/interfaces/graphql-fields-object.interface.d.ts +0 -6
  371. package/shared/interfaces/graphql-options.interface.d.ts +0 -11
  372. package/shared/interfaces/graphql-plus-options.interfacen.d.ts +0 -9
  373. package/shared/interfaces/graphql-type-collection.interface.d.ts +0 -7
  374. package/shared/interfaces/login-config.interface.d.ts +0 -6
  375. package/shared/interfaces/register-config.interface.d.ts +0 -4
  376. package/shared/interfaces/single-filter-input.interface.d.ts +0 -11
  377. package/shared/interfaces/sort-input.interface.d.ts +0 -5
  378. package/shared/interfaces/time-components.interface.d.ts +0 -6
  379. package/shared/interfaces/toast.interface.d.ts +0 -8
  380. package/shared/public-api.d.ts +0 -65
  381. package/shared/services/auth.service.d.ts +0 -44
  382. package/shared/services/breadcrumb.service.d.ts +0 -32
  383. package/shared/services/cms.service.d.ts +0 -27
  384. package/shared/services/file.service.d.ts +0 -22
  385. package/shared/services/forms.service.d.ts +0 -14
  386. package/shared/services/graphql-meta.service.d.ts +0 -45
  387. package/shared/services/graphql-plus.service.d.ts +0 -27
  388. package/shared/services/graphql.service.d.ts +0 -71
  389. package/shared/services/image.service.d.ts +0 -27
  390. package/shared/services/loader.service.d.ts +0 -32
  391. package/shared/services/navigation.service.d.ts +0 -15
  392. package/shared/services/scroll.service.d.ts +0 -85
  393. package/shared/services/storage.service.d.ts +0 -49
  394. package/shared/services/toast.service.d.ts +0 -15
  395. package/shared/services/user.service.d.ts +0 -77
  396. package/shared/services/ws.service.d.ts +0 -8
  397. package/shared/types/graphql-fields.type.d.ts +0 -5
  398. package/shared/types/storage.type.d.ts +0 -4
  399. package/shared/validators/email.validator.d.ts +0 -1
  400. package/shared/validators/match.validator.d.ts +0 -4
  401. package/shared/validators/secure-password.validator.d.ts +0 -1
  402. package/src/base.module.d.ts +0 -16
  403. package/src/decorators/auto-unsubscribe.decorator.d.ts +0 -5
  404. package/src/directives/lazy-load.directive.d.ts +0 -17
  405. package/src/directives/match-height.directive.d.ts +0 -20
  406. package/src/directives/resizable.directive.d.ts +0 -26
  407. package/src/factories/apollo-options.factory.d.ts +0 -16
  408. package/src/functions/extract-files.function.d.ts +0 -15
  409. package/src/guards/auth.guard.d.ts +0 -27
  410. package/src/guards/can-deactivate.guard.d.ts +0 -10
  411. package/src/guards/logout.guard.d.ts +0 -16
  412. package/src/pipes/date-ago.pipe.d.ts +0 -34
  413. package/src/pipes/safe-html.pipe.d.ts +0 -13
  414. package/src/services/fullscreen.service.d.ts +0 -18
  415. package/src/services/seo.service.d.ts +0 -61
  416. package/src/services/theme.service.d.ts +0 -17
@@ -1,32 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import { Breadcrumb } from '../interfaces/breadcrumb.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class BreadcrumbService {
5
- private router;
6
- private readonly _breadcrumbs;
7
- set breadcrumbs(value: Breadcrumb[]);
8
- get breadcrumbsObservable(): import("rxjs").Observable<Breadcrumb[]>;
9
- constructor(router: Router);
10
- /**
11
- * Subscribe to route changes and add element to breadcrumb
12
- */
13
- subscribeToRouteChanges(): void;
14
- /**
15
- * Add element to breadcrumb
16
- *
17
- * @param route
18
- * @param parentUrl
19
- * @param breadcrumbs
20
- * @private
21
- */
22
- private addBreadcrumb;
23
- /**
24
- * Get label for breadcrumb
25
- *
26
- * @param data
27
- * @private
28
- */
29
- private getLabel;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, never>;
31
- static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
32
- }
@@ -1,27 +0,0 @@
1
- import { GraphQLService } from './graphql.service';
2
- import * as i0 from "@angular/core";
3
- export declare class CmsService {
4
- private graphQLService;
5
- constructor(graphQLService: GraphQLService);
6
- /**
7
- * It calls the graphQLService to delete the object with the id of the object that is currently being edited
8
- */
9
- deleteObject(id: string, modelName: string): Promise<unknown>;
10
- /**
11
- * It sends a GraphQL mutation to the server to duplicate the object
12
- */
13
- duplicateObject(id: string, modelName: string): Promise<any>;
14
- /**
15
- * It takes a string, capitalizes the first letter, and returns the modified string
16
- *
17
- * @param value - The string to capitalize.
18
- * @returns The first letter of the string is being capitalized and the rest of the string is being returned.
19
- */
20
- capitalizeFirstLetter(value: string): string;
21
- /**
22
- * Transform first letter to lowercase
23
- */
24
- lowerCaseFirstLetter(value: string): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<CmsService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<CmsService>;
27
- }
@@ -1,22 +0,0 @@
1
- import { CompressOptions } from '../interfaces/compress-options.interface';
2
- import { HttpClient } from '@angular/common/http';
3
- import { AuthService } from '../services/auth.service';
4
- import * as i0 from "@angular/core";
5
- export declare class FileService {
6
- private authService;
7
- private httpClient;
8
- constructor(authService: AuthService, httpClient: HttpClient);
9
- /**
10
- * Compress file with options and return file
11
- */
12
- compress(file: File, options?: CompressOptions): Promise<File>;
13
- /**
14
- * Upload file to server
15
- */
16
- upload(url: string, path: string, file: File, compressOptions?: CompressOptions): Promise<{
17
- id: string;
18
- }>;
19
- delete(url: string, path: string, id: string): Promise<unknown>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
22
- }
@@ -1,14 +0,0 @@
1
- import { UntypedFormGroup } from '@angular/forms';
2
- import { ScrollService } from './scroll.service';
3
- import * as i0 from "@angular/core";
4
- export declare class FormsService {
5
- private document;
6
- private scrollService;
7
- constructor(document: Document, scrollService: ScrollService);
8
- validateAllFormFields(formGroup: any): void;
9
- findInvalidControls(formGroup: UntypedFormGroup): string[];
10
- private getInvalidControl;
11
- scrollToInvalidControl(form: any): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FormsService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<FormsService>;
14
- }
@@ -1,45 +0,0 @@
1
- import { Apollo } from 'apollo-angular';
2
- import { Observable } from 'rxjs';
3
- import { GraphQLSchema, IntrospectionQuery } from 'graphql';
4
- import { GraphQLMeta } from '../classes/graphql-meta.class';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * GraphQL meta service
8
- *
9
- * For collecting meta information of the GraphQL API
10
- */
11
- export declare class GraphQLMetaService {
12
- protected apollo: Apollo;
13
- protected _frozenSchema: GraphQLSchema;
14
- protected _frozenSchemaObservable: Observable<GraphQLSchema>;
15
- protected _meta: GraphQLMeta;
16
- protected _metaObservable: Observable<GraphQLMeta>;
17
- protected _schemaObservable: Observable<GraphQLSchema>;
18
- private _introspectionQuery;
19
- /**
20
- * Include services
21
- */
22
- constructor(apollo: Apollo);
23
- /**
24
- * Getter of introspectionQuery
25
- */
26
- get introspectionQuery(): IntrospectionQuery;
27
- /**
28
- * Get schema for API
29
- * See https://www.apollographql.com/blog/three-ways-to-represent-your-graphql-schema-a41f4175100d
30
- */
31
- getSchema(options?: {
32
- cache?: boolean;
33
- freeze?: boolean;
34
- }): Observable<GraphQLSchema>;
35
- /**
36
- * Get meta for API
37
- * See https://www.apollographql.com/blog/three-ways-to-represent-your-graphql-schema-a41f4175100d
38
- */
39
- getMeta(options?: {
40
- cache?: boolean;
41
- log?: boolean;
42
- }): Observable<GraphQLMeta>;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLMetaService, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLMetaService>;
45
- }
@@ -1,27 +0,0 @@
1
- import { Apollo } from 'apollo-angular';
2
- import { Observable } from 'rxjs';
3
- import { GraphQLService } from './graphql.service';
4
- import { GraphQLMetaService } from './graphql-meta.service';
5
- import { IGraphQLPlusOptions } from '../interfaces/graphql-plus-options.interfacen';
6
- import { LoaderService } from './loader.service';
7
- import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * GraphQL plus service, for extra error handling and loading indication
11
- */
12
- export declare class GraphQLPlusService extends GraphQLService {
13
- protected apollo: Apollo;
14
- protected graphqlMetaService: GraphQLMetaService;
15
- protected loaderService: LoaderService;
16
- protected moduleConfig: BaseModuleConfig;
17
- /**
18
- * Include services
19
- */
20
- constructor(apollo: Apollo, graphqlMetaService: GraphQLMetaService, loaderService: LoaderService, moduleConfig: BaseModuleConfig);
21
- graphQl(graphql: string, options?: IGraphQLPlusOptions): Observable<any>;
22
- handleLoader(state: 'start' | 'stop', options: IGraphQLPlusOptions): void;
23
- handleError(error: Error, excludedErrors?: any): void;
24
- displayError(error: any): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLPlusService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLPlusService>;
27
- }
@@ -1,71 +0,0 @@
1
- import { Apollo } from 'apollo-angular';
2
- import { IGraphQLOptions } from '../interfaces/graphql-options.interface';
3
- import { Observable } from 'rxjs';
4
- import { GraphQLMetaService } from './graphql-meta.service';
5
- import { GraphQLType } from '../classes/graphql-type.class';
6
- import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * GraphQL service
10
- */
11
- export declare class GraphQLService {
12
- protected apollo: Apollo;
13
- protected graphQLMetaService: GraphQLMetaService;
14
- protected moduleConfig: BaseModuleConfig;
15
- /**
16
- * Include services
17
- */
18
- constructor(apollo: Apollo, graphQLMetaService: GraphQLMetaService, moduleConfig: BaseModuleConfig);
19
- /**
20
- * GraphQL request
21
- */
22
- graphQl(graphqlMethodName: string, options?: IGraphQLOptions): Observable<any>;
23
- /**
24
- * Get fields / args from IGraphQLTypeCollection
25
- */
26
- protected graphQLTypeToStringArray(graphQLType: GraphQLType, current?: string, result?: any[], cacheNode?: any[]): any[];
27
- /**
28
- * Prepare arguments for GraphQL request
29
- */
30
- protected prepareArguments(args: any, options?: {
31
- allowed?: GraphQLType;
32
- level?: number;
33
- levelKey?: string;
34
- parent?: string;
35
- schemaArgs?: string[];
36
- usedArgs?: string[];
37
- variables?: {
38
- [key: string]: {
39
- type: string;
40
- value: any;
41
- };
42
- };
43
- }): {
44
- argsString: string;
45
- schemaArgs: string[];
46
- usedArgs: string[];
47
- variables: {
48
- [key: string]: {
49
- type: string;
50
- value: any;
51
- };
52
- };
53
- };
54
- /**
55
- * Prepare fields for GraphQL request
56
- */
57
- protected prepareFields(fields: any, options?: {
58
- allowed?: GraphQLType;
59
- schemaFields?: string[];
60
- usedFields?: string[];
61
- parent?: string;
62
- spaces?: number;
63
- tab?: number;
64
- }): {
65
- schemaFields: string[];
66
- fieldsString: string;
67
- usedFields: string[];
68
- };
69
- static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLService, never>;
70
- static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLService>;
71
- }
@@ -1,27 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Image service
4
- */
5
- export declare class ImageService {
6
- /**
7
- * Preaload images (for lazy handling)
8
- *
9
- * @param options
10
- * @protected
11
- */
12
- preLoadImages(options?: {
13
- doneFunction?: () => Promise<any> | any | void;
14
- elements?: Element | Element[] | HTMLCollectionOf<Element> | Node | NodeList | Document | HTMLElement | HTMLElement[];
15
- regExp?: RegExp;
16
- }): Promise<any>;
17
- /**
18
- * Load image for image element
19
- *
20
- * @param imageElement
21
- * @param src
22
- * @protected
23
- */
24
- loadImage(imageElement: HTMLImageElement, src?: string): Promise<unknown>;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<ImageService>;
27
- }
@@ -1,32 +0,0 @@
1
- import { BehaviorSubject, Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Loader service for loading indication
5
- */
6
- export declare class LoaderService {
7
- isLoading: BehaviorSubject<boolean>;
8
- private lastStartTime;
9
- /**
10
- * Start loading manually
11
- */
12
- start(): void;
13
- /**
14
- * Stop loading manually
15
- *
16
- * @param duration
17
- */
18
- stop(duration?: number): void;
19
- /**
20
- * Get loader as observable
21
- */
22
- getAsObservable(): Observable<boolean>;
23
- /**
24
- * Load until observable done
25
- *
26
- * @param observable
27
- * @param duration
28
- */
29
- loadUntilObservable(observable: Observable<unknown>, duration?: number): Observable<unknown>;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
31
- static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
32
- }
@@ -1,15 +0,0 @@
1
- import { Location } from '@angular/common';
2
- import { Router } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export declare class NavigationService {
5
- private router;
6
- private location;
7
- private history;
8
- constructor(router: Router, location: Location);
9
- /**
10
- * If the history stack is empty, navigate to the home page, otherwise go back to the previous page
11
- */
12
- back(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
15
- }
@@ -1,85 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
3
- import { ImageService } from './image.service';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Scroll service for autoscroll to specific fragments
7
- */
8
- export declare class ScrollService {
9
- protected router: Router;
10
- protected moduleConfig: BaseModuleConfig;
11
- protected imageService: ImageService;
12
- /**
13
- * Current scroll promise
14
- *
15
- * @protected
16
- */
17
- protected scrollPromise: Promise<void>;
18
- /**
19
- * Resolve function of current scroll promise
20
- *
21
- * @protected
22
- */
23
- protected scrollPromiseResolve: (value: void | PromiseLike<void>) => void;
24
- /**
25
- * Is a scroll listener set
26
- *
27
- * @protected
28
- */
29
- protected scrollListener: boolean;
30
- /**
31
- * Current scroll timer;
32
- *
33
- * @protected
34
- */
35
- protected scrollTimer: number;
36
- /**
37
- * Scroll offset
38
- */
39
- protected readonly scrollOffset: number;
40
- /**
41
- * Detection offset
42
- * Should be >= scrollOffset
43
- */
44
- protected readonly detectionOffset: number;
45
- /**
46
- * Sampling rate for scroll done detection
47
- */
48
- protected readonly scrollSamplingRate: number;
49
- /**
50
- * Initializer
51
- */
52
- constructor(router: Router, moduleConfig: BaseModuleConfig, imageService: ImageService);
53
- /**
54
- * Scroll to structureElement with specific ID
55
- */
56
- scrollTo(id: string, options?: {
57
- checkUrl?: boolean;
58
- loadImagesBefore?: boolean;
59
- resetStyles?: boolean;
60
- setOverflow?: boolean;
61
- stopPropagation?: boolean;
62
- }): Promise<boolean>;
63
- /**
64
- * Get last active structureElement
65
- */
66
- getLastActiveElement(list?: any): string;
67
- /**
68
- * Check if ID is active
69
- */
70
- isActive(id: any, list?: any, isFirst?: any): any;
71
- /**
72
- * Scroll done promise
73
- */
74
- scrollDone(options?: {
75
- doneFunction?: () => any | void;
76
- }): Promise<any>;
77
- /**
78
- * Scroll done detecton
79
- *
80
- * @protected
81
- */
82
- protected scrollDoneDetection(): Promise<void>;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollService, never>;
84
- static ɵprov: i0.ɵɵInjectableDeclaration<ScrollService>;
85
- }
@@ -1,49 +0,0 @@
1
- import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Storage service for local data storage
5
- */
6
- export declare class StorageService {
7
- private moduleConfig;
8
- private platformId;
9
- /**
10
- * Storage
11
- */
12
- protected storage: any;
13
- /**
14
- * Prefix for storage keys
15
- */
16
- protected prefix: string;
17
- /**
18
- * Initializations
19
- */
20
- constructor(moduleConfig: BaseModuleConfig, platformId: object);
21
- /**
22
- * Save itemKeys
23
- *
24
- * If you want to save one item, use itemKeys and value parameters like these:
25
- * save('KEY_OF_THE_ITEM', ITEM)
26
- *
27
- * If you want to save multiple items, use itemKeys only (value parameter will be ignored):
28
- * save({'KEY_OF_ITEM_1': ITEM_1, 'KEY_OF_ITEM_2': ITEM_2, ...})
29
- */
30
- save(itemKeys: string | {
31
- [key: string]: any;
32
- }, value?: any): boolean;
33
- /**
34
- * Load items via key(s)
35
- */
36
- load(itemKeys: string | string[]): any;
37
- /**
38
- * Remove item from storage
39
- *
40
- * @param itemKeys keys or key to remove
41
- */
42
- remove(itemKeys: string | string[]): boolean;
43
- /**
44
- * Clear local storage
45
- */
46
- reset(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
48
- static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
49
- }
@@ -1,15 +0,0 @@
1
- import { Toast } from '../interfaces/toast.interface';
2
- import * as i0 from "@angular/core";
3
- export declare class ToastService {
4
- private toastsObservables;
5
- get toastsAsObservable(): import("rxjs").Observable<Toast[]>;
6
- /**
7
- * Show new toast
8
- *
9
- * @param toast
10
- * @param duration
11
- */
12
- show(toast: Toast, duration?: number): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
15
- }
@@ -1,77 +0,0 @@
1
- import { Apollo } from 'apollo-angular';
2
- import { Auth } from '../classes/auth.class';
3
- import { AuthService } from './auth.service';
4
- import { GraphQLMetaService } from './graphql-meta.service';
5
- import { GraphQLPlusService } from './graphql-plus.service';
6
- import { LoaderService } from './loader.service';
7
- import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
8
- import * as i0 from "@angular/core";
9
- export declare class UserService extends GraphQLPlusService {
10
- protected apollo: Apollo;
11
- protected graphqlMetaService: GraphQLMetaService;
12
- protected loaderService: LoaderService;
13
- protected authService: AuthService;
14
- protected moduleConfig: BaseModuleConfig;
15
- constructor(apollo: Apollo, graphqlMetaService: GraphQLMetaService, loaderService: LoaderService, authService: AuthService, moduleConfig: BaseModuleConfig);
16
- /**
17
- * Login
18
- *
19
- * @param input
20
- */
21
- login(input: {
22
- email: string;
23
- password: string;
24
- }): import("rxjs").Observable<Auth>;
25
- /**
26
- * Register
27
- *
28
- * @param input
29
- */
30
- register(input: {
31
- firstName: string;
32
- lastName: string;
33
- email: string;
34
- password: string;
35
- }): import("rxjs").Observable<Auth>;
36
- /**
37
- * This function will make a GraphQL query to the server, and return the result
38
- *
39
- * @param id - The id of the user you want to get
40
- * @returns A GraphQLRequest object.
41
- */
42
- get(id: string): import("rxjs").Observable<any>;
43
- /**
44
- * Request password reset mail
45
- *
46
- * @param email
47
- */
48
- requestPasswordResetMail(email: string): import("rxjs").Observable<any>;
49
- /**
50
- * Change password of current user
51
- *
52
- * @param id
53
- * @param password
54
- */
55
- changePassword(id: string, password: string): import("rxjs").Observable<any>;
56
- /**
57
- * Set new password by token
58
- *
59
- * @param token
60
- * @param password
61
- */
62
- resetPassword(token: string, password: string): import("rxjs").Observable<any>;
63
- /**
64
- * Delete user by id
65
- *
66
- * @param id
67
- */
68
- delete(id: string): import("rxjs").Observable<any>;
69
- /**
70
- * Verify user by token
71
- *
72
- * @param token
73
- */
74
- verifyUser(token: string): import("rxjs").Observable<any>;
75
- static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
76
- static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
77
- }
@@ -1,8 +0,0 @@
1
- import { RestartableClient } from '../functions/ws-client.function';
2
- import * as i0 from "@angular/core";
3
- export declare class WsService {
4
- client: RestartableClient;
5
- reconnect(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<WsService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<WsService>;
8
- }
@@ -1,5 +0,0 @@
1
- import { GraphQLFieldsObject } from '../interfaces/graphql-fields-object.interface';
2
- /**
3
- * GraphQL fields
4
- */
5
- export type GraphQLFields = string | string[] | GraphQLFieldsObject;
@@ -1,4 +0,0 @@
1
- /**
2
- * Storage types
3
- */
4
- export type StorageType = 'local' | 'session';
@@ -1 +0,0 @@
1
- export declare function fullEmail(): any;
@@ -1,4 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- export declare class Validation {
3
- static match(controlName: string, checkControlName: string): ValidatorFn;
4
- }
@@ -1 +0,0 @@
1
- export declare function securePasswordValidator(): any;
@@ -1,16 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { BaseModuleConfig } from '@lenne.tech/ng-base/shared';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "apollo-angular";
5
- /**
6
- * Base module
7
- */
8
- export declare class BaseModule {
9
- /**
10
- * Set configuration of base module in root module of the app
11
- */
12
- static forRoot(baseModuleConfig?: BaseModuleConfig, AppAuthService?: any): ModuleWithProviders<BaseModule>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<BaseModule, never, [typeof i1.ApolloModule], [typeof i1.ApolloModule]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<BaseModule>;
16
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Decorator for automatically unsubscribe subscriptions
3
- * Inspired by https://codereacter.medium.com/angular-advanced-features-and-tips-you-may-not-know-about-cae3b8527184#9bd6
4
- */
5
- export declare function AutoUnsubscribe(blackList?: string[]): (constructor: any) => void;
@@ -1,17 +0,0 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directive for lazy loading images
5
- */
6
- export declare class LazyLoadDirective implements AfterViewInit {
7
- private el;
8
- srcAttr: any;
9
- src: string;
10
- constructor(el: ElementRef);
11
- ngAfterViewInit(): void;
12
- private canLazyLoad;
13
- private lazyLoadImage;
14
- private loadImage;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<LazyLoadDirective, "img[ltLazyLoad]", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
17
- }
@@ -1,20 +0,0 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
2
- import { ImageService } from '@lenne.tech/ng-base/shared';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Set same height (maximum) to different elements
6
- */
7
- export declare class MatchHeightDirective implements AfterViewInit {
8
- protected el: ElementRef;
9
- protected imageService: ImageService;
10
- ltMatchHeight: string | string[];
11
- loadImages: boolean;
12
- readonly isBrowser: boolean;
13
- observer: MutationObserver;
14
- constructor(el: ElementRef, imageService: ImageService, platformId: string);
15
- onResize(): void;
16
- ngAfterViewInit(): void;
17
- matchHeight(parent: HTMLElement, target: string | string[]): Promise<void>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchHeightDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchHeightDirective, "[ltMatchHeight]", never, { "ltMatchHeight": { "alias": "ltMatchHeight"; "required": false; }; "loadImages": { "alias": "loadImages"; "required": false; }; }, {}, never, never, true, never>;
20
- }