@lenne.tech/ng-base 15.0.0-beta-2 → 16.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 (241) hide show
  1. package/base-components/base-components.module.d.ts +1 -2
  2. package/base-components/components/checkbox/checkbox.component.d.ts +1 -1
  3. package/base-components/components/delete-account/delete-account.component.d.ts +1 -1
  4. package/base-components/components/fab-button/fab-button.component.d.ts +1 -1
  5. package/base-components/components/input/input.component.d.ts +1 -1
  6. package/base-components/components/loading-bar/loading-bar.component.d.ts +1 -1
  7. package/base-components/components/model-form/model-form-base.component.d.ts +1 -1
  8. package/base-components/components/model-form/model-form.component.d.ts +1 -1
  9. package/base-components/components/model-form-sub/model-form-sub.component.d.ts +1 -1
  10. package/base-components/components/model-table/model-table.component.d.ts +17 -5
  11. package/base-components/components/refence-input/refence-input.component.d.ts +1 -1
  12. package/base-components/components/select/select.component.d.ts +1 -1
  13. package/base-components/components/skeleton-loader/skeleton-loader.component.d.ts +1 -1
  14. package/base-components/components/tags/tags.component.d.ts +1 -1
  15. package/base-components/components/textarea/textarea.component.d.ts +1 -1
  16. package/base-components/components/toast/toast.component.d.ts +1 -1
  17. package/base-components/components/upload-image/upload-image.component.d.ts +1 -1
  18. package/base-components/directives/context-menu.directive.d.ts +1 -1
  19. package/base-components/directives/sort.directive.d.ts +3 -2
  20. package/base-prototype/pages/login/login.component.d.ts +1 -1
  21. package/base-prototype/pages/profile/profile.component.d.ts +1 -1
  22. package/base-prototype/pages/set-password/set-password.component.d.ts +1 -1
  23. package/esm2022/base-cms/base-cms-routing.module.mjs +33 -0
  24. package/esm2022/base-cms/base-cms.module.mjs +61 -0
  25. package/esm2022/base-cms/pages/base-cms/base-cms.component.mjs +233 -0
  26. package/esm2022/base-components/base-components.module.mjs +123 -0
  27. package/esm2022/base-components/components/breadcrumb/breadcrumb.component.mjs +21 -0
  28. package/esm2022/base-components/components/change-password/change-password.component.mjs +96 -0
  29. package/esm2022/base-components/components/checkbox/checkbox.component.mjs +35 -0
  30. package/esm2022/base-components/components/delete-account/delete-account.component.mjs +61 -0
  31. package/esm2022/base-components/components/fab-button/fab-button.component.mjs +21 -0
  32. package/esm2022/base-components/components/input/input.component.mjs +72 -0
  33. package/esm2022/base-components/components/loading-bar/loading-bar.component.mjs +39 -0
  34. package/esm2022/base-components/components/model-form/model-form-base.component.mjs +145 -0
  35. package/esm2022/base-components/components/model-form/model-form.component.mjs +585 -0
  36. package/esm2022/base-components/components/model-form-sub/model-form-sub.component.mjs +111 -0
  37. package/esm2022/base-components/components/model-table/model-table.component.mjs +470 -0
  38. package/esm2022/base-components/components/refence-input/refence-input.component.mjs +273 -0
  39. package/esm2022/base-components/components/select/select.component.mjs +59 -0
  40. package/esm2022/base-components/components/skeleton-loader/skeleton-loader.component.mjs +32 -0
  41. package/esm2022/base-components/components/tags/tags.component.mjs +224 -0
  42. package/esm2022/base-components/components/textarea/textarea.component.mjs +76 -0
  43. package/esm2022/base-components/components/toast/toast.component.mjs +70 -0
  44. package/esm2022/base-components/components/upload-image/upload-image.component.mjs +343 -0
  45. package/esm2022/base-components/directives/back-button.directive.mjs +25 -0
  46. package/esm2022/base-components/directives/context-menu.directive.mjs +112 -0
  47. package/esm2022/base-components/directives/sort.directive.mjs +61 -0
  48. package/esm2022/base-components/directives/stop-propagation.directive.mjs +24 -0
  49. package/esm2022/base-components/pipes/ellipses.pipe.mjs +23 -0
  50. package/esm2022/base-prototype/base-prototype.module.mjs +54 -0
  51. package/esm2022/base-prototype/pages/email-verification/email-verification.component.mjs +62 -0
  52. package/esm2022/base-prototype/pages/forgot-password/forgot-password.component.mjs +75 -0
  53. package/esm2022/base-prototype/pages/login/login.component.mjs +111 -0
  54. package/esm2022/base-prototype/pages/profile/profile.component.mjs +86 -0
  55. package/esm2022/base-prototype/pages/register/register.component.mjs +94 -0
  56. package/esm2022/base-prototype/pages/set-password/set-password.component.mjs +90 -0
  57. package/esm2022/shared/classes/auth.class.mjs +14 -0
  58. package/esm2022/shared/classes/basic-user.class.mjs +49 -0
  59. package/esm2022/shared/classes/graphql-enum.class.mjs +10 -0
  60. package/esm2022/shared/classes/graphql-meta.class.mjs +345 -0
  61. package/esm2022/shared/classes/graphql-type.class.mjs +14 -0
  62. package/esm2022/shared/classes/sort.class.mjs +38 -0
  63. package/esm2022/shared/services/auth.service.mjs +153 -0
  64. package/esm2022/shared/services/breadcrumb.service.mjs +70 -0
  65. package/{esm2020 → esm2022}/shared/services/cms.service.mjs +7 -5
  66. package/esm2022/shared/services/file.service.mjs +87 -0
  67. package/esm2022/shared/services/forms.service.mjs +62 -0
  68. package/esm2022/shared/services/graphql-meta.service.mjs +133 -0
  69. package/esm2022/shared/services/graphql-plus.service.mjs +94 -0
  70. package/esm2022/shared/services/graphql.service.mjs +511 -0
  71. package/esm2022/shared/services/image.service.mjs +103 -0
  72. package/esm2022/shared/services/loader.service.mjs +79 -0
  73. package/esm2022/shared/services/navigation.service.mjs +39 -0
  74. package/esm2022/shared/services/scroll.service.mjs +208 -0
  75. package/esm2022/shared/services/storage.service.mjs +142 -0
  76. package/esm2022/shared/services/toast.service.mjs +40 -0
  77. package/esm2022/shared/services/user.service.mjs +161 -0
  78. package/esm2022/shared/services/ws.service.mjs +18 -0
  79. package/esm2022/src/base.module.mjs +98 -0
  80. package/esm2022/src/directives/lazy-load.directive.mjs +48 -0
  81. package/esm2022/src/directives/match-height.directive.mjs +92 -0
  82. package/esm2022/src/directives/resizable.directive.mjs +92 -0
  83. package/esm2022/src/factories/apollo-options.factory.mjs +108 -0
  84. package/esm2022/src/functions/extract-files.function.mjs +87 -0
  85. package/esm2022/src/guards/auth.guard.mjs +84 -0
  86. package/esm2022/src/guards/can-deactivate.guard.mjs +17 -0
  87. package/esm2022/src/guards/logout.guard.mjs +35 -0
  88. package/esm2022/src/pipes/date-ago.pipe.mjs +64 -0
  89. package/esm2022/src/pipes/safe-html.pipe.mjs +23 -0
  90. package/esm2022/src/services/fullscreen.service.mjs +52 -0
  91. package/esm2022/src/services/seo.service.mjs +100 -0
  92. package/esm2022/src/services/theme.service.mjs +45 -0
  93. package/{fesm2020 → fesm2022}/lenne.tech-ng-base-base-cms.mjs +42 -30
  94. package/{fesm2020 → fesm2022}/lenne.tech-ng-base-base-cms.mjs.map +1 -1
  95. package/{fesm2020 → fesm2022}/lenne.tech-ng-base-base-components.mjs +467 -286
  96. package/fesm2022/lenne.tech-ng-base-base-components.mjs.map +1 -0
  97. package/{fesm2020 → fesm2022}/lenne.tech-ng-base-base-prototype.mjs +127 -87
  98. package/{fesm2015 → fesm2022}/lenne.tech-ng-base-base-prototype.mjs.map +1 -1
  99. package/{fesm2020 → fesm2022}/lenne.tech-ng-base-shared.mjs +165 -113
  100. package/{fesm2020 → fesm2022}/lenne.tech-ng-base-shared.mjs.map +1 -1
  101. package/{fesm2020 → fesm2022}/lenne.tech-ng-base.mjs +113 -90
  102. package/fesm2022/lenne.tech-ng-base.mjs.map +1 -0
  103. package/package.json +27 -42
  104. package/src/directives/lazy-load.directive.d.ts +1 -1
  105. package/src/directives/match-height.directive.d.ts +1 -1
  106. package/src/directives/resizable.directive.d.ts +1 -1
  107. package/src/guards/auth.guard.d.ts +2 -2
  108. package/src/guards/can-deactivate.guard.d.ts +1 -2
  109. package/src/guards/logout.guard.d.ts +2 -2
  110. package/esm2020/base-cms/base-cms-routing.module.mjs +0 -32
  111. package/esm2020/base-cms/base-cms.module.mjs +0 -59
  112. package/esm2020/base-cms/pages/base-cms/base-cms.component.mjs +0 -222
  113. package/esm2020/base-components/base-components.module.mjs +0 -123
  114. package/esm2020/base-components/components/breadcrumb/breadcrumb.component.mjs +0 -18
  115. package/esm2020/base-components/components/change-password/change-password.component.mjs +0 -90
  116. package/esm2020/base-components/components/checkbox/checkbox.component.mjs +0 -31
  117. package/esm2020/base-components/components/delete-account/delete-account.component.mjs +0 -56
  118. package/esm2020/base-components/components/fab-button/fab-button.component.mjs +0 -21
  119. package/esm2020/base-components/components/input/input.component.mjs +0 -67
  120. package/esm2020/base-components/components/loading-bar/loading-bar.component.mjs +0 -35
  121. package/esm2020/base-components/components/model-form/model-form-base.component.mjs +0 -136
  122. package/esm2020/base-components/components/model-form/model-form.component.mjs +0 -564
  123. package/esm2020/base-components/components/model-form-sub/model-form-sub.component.mjs +0 -102
  124. package/esm2020/base-components/components/model-table/model-table.component.mjs +0 -397
  125. package/esm2020/base-components/components/refence-input/refence-input.component.mjs +0 -261
  126. package/esm2020/base-components/components/select/select.component.mjs +0 -54
  127. package/esm2020/base-components/components/skeleton-loader/skeleton-loader.component.mjs +0 -32
  128. package/esm2020/base-components/components/tags/tags.component.mjs +0 -218
  129. package/esm2020/base-components/components/textarea/textarea.component.mjs +0 -72
  130. package/esm2020/base-components/components/toast/toast.component.mjs +0 -68
  131. package/esm2020/base-components/components/upload-image/upload-image.component.mjs +0 -324
  132. package/esm2020/base-components/directives/back-button.directive.mjs +0 -23
  133. package/esm2020/base-components/directives/context-menu.directive.mjs +0 -108
  134. package/esm2020/base-components/directives/sort.directive.mjs +0 -54
  135. package/esm2020/base-components/directives/stop-propagation.directive.mjs +0 -23
  136. package/esm2020/base-components/pipes/ellipses.pipe.mjs +0 -22
  137. package/esm2020/base-prototype/base-prototype.module.mjs +0 -53
  138. package/esm2020/base-prototype/pages/email-verification/email-verification.component.mjs +0 -55
  139. package/esm2020/base-prototype/pages/forgot-password/forgot-password.component.mjs +0 -67
  140. package/esm2020/base-prototype/pages/login/login.component.mjs +0 -102
  141. package/esm2020/base-prototype/pages/profile/profile.component.mjs +0 -81
  142. package/esm2020/base-prototype/pages/register/register.component.mjs +0 -86
  143. package/esm2020/base-prototype/pages/set-password/set-password.component.mjs +0 -82
  144. package/esm2020/shared/classes/auth.class.mjs +0 -17
  145. package/esm2020/shared/classes/basic-user.class.mjs +0 -52
  146. package/esm2020/shared/classes/graphql-enum.class.mjs +0 -9
  147. package/esm2020/shared/classes/graphql-meta.class.mjs +0 -344
  148. package/esm2020/shared/classes/graphql-type.class.mjs +0 -17
  149. package/esm2020/shared/classes/sort.class.mjs +0 -40
  150. package/esm2020/shared/services/auth.service.mjs +0 -148
  151. package/esm2020/shared/services/breadcrumb.service.mjs +0 -68
  152. package/esm2020/shared/services/file.service.mjs +0 -84
  153. package/esm2020/shared/services/forms.service.mjs +0 -59
  154. package/esm2020/shared/services/graphql-meta.service.mjs +0 -123
  155. package/esm2020/shared/services/graphql-plus.service.mjs +0 -89
  156. package/esm2020/shared/services/graphql.service.mjs +0 -507
  157. package/esm2020/shared/services/image.service.mjs +0 -102
  158. package/esm2020/shared/services/loader.service.mjs +0 -79
  159. package/esm2020/shared/services/navigation.service.mjs +0 -36
  160. package/esm2020/shared/services/scroll.service.mjs +0 -179
  161. package/esm2020/shared/services/storage.service.mjs +0 -140
  162. package/esm2020/shared/services/toast.service.mjs +0 -41
  163. package/esm2020/shared/services/user.service.mjs +0 -155
  164. package/esm2020/shared/services/ws.service.mjs +0 -16
  165. package/esm2020/src/base.module.mjs +0 -97
  166. package/esm2020/src/directives/lazy-load.directive.mjs +0 -45
  167. package/esm2020/src/directives/match-height.directive.mjs +0 -84
  168. package/esm2020/src/directives/resizable.directive.mjs +0 -90
  169. package/esm2020/src/factories/apollo-options.factory.mjs +0 -106
  170. package/esm2020/src/functions/extract-files.function.mjs +0 -84
  171. package/esm2020/src/guards/auth.guard.mjs +0 -80
  172. package/esm2020/src/guards/can-deactivate.guard.mjs +0 -16
  173. package/esm2020/src/guards/logout.guard.mjs +0 -32
  174. package/esm2020/src/pipes/date-ago.pipe.mjs +0 -65
  175. package/esm2020/src/pipes/safe-html.pipe.mjs +0 -21
  176. package/esm2020/src/services/fullscreen.service.mjs +0 -51
  177. package/esm2020/src/services/seo.service.mjs +0 -97
  178. package/esm2020/src/services/theme.service.mjs +0 -43
  179. package/fesm2015/lenne.tech-ng-base-base-cms.mjs +0 -322
  180. package/fesm2015/lenne.tech-ng-base-base-cms.mjs.map +0 -1
  181. package/fesm2015/lenne.tech-ng-base-base-components.mjs +0 -2806
  182. package/fesm2015/lenne.tech-ng-base-base-components.mjs.map +0 -1
  183. package/fesm2015/lenne.tech-ng-base-base-prototype.mjs +0 -495
  184. package/fesm2015/lenne.tech-ng-base-shared.mjs +0 -2749
  185. package/fesm2015/lenne.tech-ng-base-shared.mjs.map +0 -1
  186. package/fesm2015/lenne.tech-ng-base.mjs +0 -902
  187. package/fesm2015/lenne.tech-ng-base.mjs.map +0 -1
  188. package/fesm2020/lenne.tech-ng-base-base-components.mjs.map +0 -1
  189. package/fesm2020/lenne.tech-ng-base-base-prototype.mjs.map +0 -1
  190. package/fesm2020/lenne.tech-ng-base.mjs.map +0 -1
  191. /package/{esm2020 → esm2022}/base-cms/interfaces/base-cms-module-config.interface.mjs +0 -0
  192. /package/{esm2020 → esm2022}/base-cms/lenne.tech-ng-base-base-cms.mjs +0 -0
  193. /package/{esm2020 → esm2022}/base-cms/public-api.mjs +0 -0
  194. /package/{esm2020 → esm2022}/base-components/lenne.tech-ng-base-base-components.mjs +0 -0
  195. /package/{esm2020 → esm2022}/base-components/public-api.mjs +0 -0
  196. /package/{esm2020 → esm2022}/base-prototype/lenne.tech-ng-base-base-prototype.mjs +0 -0
  197. /package/{esm2020 → esm2022}/base-prototype/public-api.mjs +0 -0
  198. /package/{esm2020 → esm2022}/lenne.tech-ng-base.mjs +0 -0
  199. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  200. /package/{esm2020 → esm2022}/shared/classes/helper.class.mjs +0 -0
  201. /package/{esm2020 → esm2022}/shared/classes/standard.class.mjs +0 -0
  202. /package/{esm2020 → esm2022}/shared/decorators/debounce.decorator.mjs +0 -0
  203. /package/{esm2020 → esm2022}/shared/enums/comparison-operator.enum.mjs +0 -0
  204. /package/{esm2020 → esm2022}/shared/enums/graphql-request-type.enum.mjs +0 -0
  205. /package/{esm2020 → esm2022}/shared/enums/logical-operator.enum.mjs +0 -0
  206. /package/{esm2020 → esm2022}/shared/enums/skeleton-type.enum.mjs +0 -0
  207. /package/{esm2020 → esm2022}/shared/enums/sort-order.enum.mjs +0 -0
  208. /package/{esm2020 → esm2022}/shared/enums/toast-type.enum.mjs +0 -0
  209. /package/{esm2020 → esm2022}/shared/functions/ws-client.function.mjs +0 -0
  210. /package/{esm2020 → esm2022}/shared/interfaces/base-module-config.interface.mjs +0 -0
  211. /package/{esm2020 → esm2022}/shared/interfaces/breadcrumb.interface.mjs +0 -0
  212. /package/{esm2020 → esm2022}/shared/interfaces/can-component-deactivate.interface.mjs +0 -0
  213. /package/{esm2020 → esm2022}/shared/interfaces/cms-enum-values.interface.mjs +0 -0
  214. /package/{esm2020 → esm2022}/shared/interfaces/cms-field-config.interface.mjs +0 -0
  215. /package/{esm2020 → esm2022}/shared/interfaces/cms-model-config.interface.mjs +0 -0
  216. /package/{esm2020 → esm2022}/shared/interfaces/cms-table-field.interface.mjs +0 -0
  217. /package/{esm2020 → esm2022}/shared/interfaces/combined-filter-input.interface.mjs +0 -0
  218. /package/{esm2020 → esm2022}/shared/interfaces/compress-options.interface.mjs +0 -0
  219. /package/{esm2020 → esm2022}/shared/interfaces/cropping-options.interface.mjs +0 -0
  220. /package/{esm2020 → esm2022}/shared/interfaces/field-object.interface.mjs +0 -0
  221. /package/{esm2020 → esm2022}/shared/interfaces/field.interface.mjs +0 -0
  222. /package/{esm2020 → esm2022}/shared/interfaces/filter-input.interface.mjs +0 -0
  223. /package/{esm2020 → esm2022}/shared/interfaces/find-args.interface.mjs +0 -0
  224. /package/{esm2020 → esm2022}/shared/interfaces/graphql-crud-type.interface.mjs +0 -0
  225. /package/{esm2020 → esm2022}/shared/interfaces/graphql-fields-object.interface.mjs +0 -0
  226. /package/{esm2020 → esm2022}/shared/interfaces/graphql-options.interface.mjs +0 -0
  227. /package/{esm2020 → esm2022}/shared/interfaces/graphql-plus-options.interfacen.mjs +0 -0
  228. /package/{esm2020 → esm2022}/shared/interfaces/graphql-type-collection.interface.mjs +0 -0
  229. /package/{esm2020 → esm2022}/shared/interfaces/login-config.interface.mjs +0 -0
  230. /package/{esm2020 → esm2022}/shared/interfaces/single-filter-input.interface.mjs +0 -0
  231. /package/{esm2020 → esm2022}/shared/interfaces/sort-input.interface.mjs +0 -0
  232. /package/{esm2020 → esm2022}/shared/interfaces/time-components.interface.mjs +0 -0
  233. /package/{esm2020 → esm2022}/shared/interfaces/toast.interface.mjs +0 -0
  234. /package/{esm2020 → esm2022}/shared/lenne.tech-ng-base-shared.mjs +0 -0
  235. /package/{esm2020 → esm2022}/shared/public-api.mjs +0 -0
  236. /package/{esm2020 → esm2022}/shared/types/graphql-fields.type.mjs +0 -0
  237. /package/{esm2020 → esm2022}/shared/types/storage.type.mjs +0 -0
  238. /package/{esm2020 → esm2022}/shared/validators/email.validator.mjs +0 -0
  239. /package/{esm2020 → esm2022}/shared/validators/match.validator.mjs +0 -0
  240. /package/{esm2020 → esm2022}/shared/validators/secure-password.validator.mjs +0 -0
  241. /package/{esm2020 → esm2022}/src/decorators/auto-unsubscribe.decorator.mjs +0 -0
@@ -25,9 +25,8 @@ import * as i23 from "@angular/forms";
25
25
  import * as i24 from "@angular/common";
26
26
  import * as i25 from "@angular/router";
27
27
  import * as i26 from "ngx-image-cropper";
28
- import * as i27 from "@ng-bootstrap/ng-bootstrap";
29
28
  export declare class BaseComponentsModule {
30
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentsModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<BaseComponentsModule, [typeof i1.SortDirective, typeof i2.BackButtonDirective, typeof i3.ContextMenuDirective, typeof i4.StopPropagationDirective, typeof i5.InputComponent, typeof i6.SelectComponent, typeof i7.CheckboxComponent, typeof i8.TextareaComponent, typeof i9.ToastComponent, typeof i10.TagsComponent, typeof i11.LoadingBarComponent, typeof i12.SkeletonLoaderComponent, typeof i13.BreadcrumbComponent, typeof i14.ModelFormComponent, typeof i15.ModelTableComponent, typeof i16.ModelFormSubComponent, typeof i17.UploadImageComponent, typeof i18.RefenceInputComponent, typeof i19.ChangePasswordComponent, typeof i20.DeleteAccountComponent, typeof i21.FabButtonComponent, typeof i22.EllipsesPipe], [typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.CommonModule, typeof i25.RouterModule, typeof i26.ImageCropperModule, typeof i27.NgbTooltipModule], [typeof i1.SortDirective, typeof i2.BackButtonDirective, typeof i3.ContextMenuDirective, typeof i4.StopPropagationDirective, typeof i5.InputComponent, typeof i6.SelectComponent, typeof i7.CheckboxComponent, typeof i8.TextareaComponent, typeof i9.ToastComponent, typeof i10.TagsComponent, typeof i11.LoadingBarComponent, typeof i12.SkeletonLoaderComponent, typeof i13.BreadcrumbComponent, typeof i14.ModelFormComponent, typeof i15.ModelTableComponent, typeof i16.ModelFormSubComponent, typeof i17.UploadImageComponent, typeof i18.RefenceInputComponent, typeof i19.ChangePasswordComponent, typeof i20.DeleteAccountComponent, typeof i21.FabButtonComponent, typeof i22.EllipsesPipe]>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BaseComponentsModule, [typeof i1.SortDirective, typeof i2.BackButtonDirective, typeof i3.ContextMenuDirective, typeof i4.StopPropagationDirective, typeof i5.InputComponent, typeof i6.SelectComponent, typeof i7.CheckboxComponent, typeof i8.TextareaComponent, typeof i9.ToastComponent, typeof i10.TagsComponent, typeof i11.LoadingBarComponent, typeof i12.SkeletonLoaderComponent, typeof i13.BreadcrumbComponent, typeof i14.ModelFormComponent, typeof i15.ModelTableComponent, typeof i16.ModelFormSubComponent, typeof i17.UploadImageComponent, typeof i18.RefenceInputComponent, typeof i19.ChangePasswordComponent, typeof i20.DeleteAccountComponent, typeof i21.FabButtonComponent, typeof i22.EllipsesPipe], [typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.CommonModule, typeof i25.RouterModule, typeof i26.ImageCropperModule], [typeof i1.SortDirective, typeof i2.BackButtonDirective, typeof i3.ContextMenuDirective, typeof i4.StopPropagationDirective, typeof i5.InputComponent, typeof i6.SelectComponent, typeof i7.CheckboxComponent, typeof i8.TextareaComponent, typeof i9.ToastComponent, typeof i10.TagsComponent, typeof i11.LoadingBarComponent, typeof i12.SkeletonLoaderComponent, typeof i13.BreadcrumbComponent, typeof i14.ModelFormComponent, typeof i15.ModelTableComponent, typeof i16.ModelFormSubComponent, typeof i17.UploadImageComponent, typeof i18.RefenceInputComponent, typeof i19.ChangePasswordComponent, typeof i20.DeleteAccountComponent, typeof i21.FabButtonComponent, typeof i22.EllipsesPipe]>;
32
31
  static ɵinj: i0.ɵɵInjectorDeclaration<BaseComponentsModule>;
33
32
  }
@@ -8,5 +8,5 @@ export declare class CheckboxComponent {
8
8
  required: boolean;
9
9
  objectPath: string;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "base-checkbox", never, { "id": "id"; "name": "name"; "label": "label"; "value": "value"; "control": "control"; "required": "required"; "objectPath": "objectPath"; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "base-checkbox", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "control": { "alias": "control"; "required": false; }; "required": { "alias": "required"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; }, {}, never, ["*"], false, never>;
12
12
  }
@@ -11,5 +11,5 @@ export declare class DeleteAccountComponent {
11
11
  constructor(userService: UserService, authService: AuthService, toastService: ToastService, router: Router);
12
12
  deleteAccount(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DeleteAccountComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<DeleteAccountComponent, "base-delete-account", never, { "description": "description"; }, {}, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeleteAccountComponent, "base-delete-account", never, { "description": { "alias": "description"; "required": false; }; }, {}, never, never, false, never>;
15
15
  }
@@ -12,5 +12,5 @@ export declare class FabButtonComponent {
12
12
  buttons: Button[];
13
13
  toggle: boolean;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<FabButtonComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FabButtonComponent, "base-fab-button", never, { "fabIcon": "fabIcon"; "buttons": "buttons"; }, {}, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<FabButtonComponent, "base-fab-button", never, { "fabIcon": { "alias": "fabIcon"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
@@ -23,5 +23,5 @@ export declare class InputComponent {
23
23
  */
24
24
  togglePasswordType(): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "base-input", never, { "id": "id"; "name": "name"; "infoText": "infoText"; "label": "label"; "placeholder": "placeholder"; "autocomplete": "autocomplete"; "tabIndex": "tabIndex"; "control": "control"; "type": "type"; "required": "required"; "eyeButton": "eyeButton"; "objectPath": "objectPath"; }, { "enter": "enter"; }, never, never, false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "base-input", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "control": { "alias": "control"; "required": false; }; "type": { "alias": "type"; "required": false; }; "required": { "alias": "required"; "required": false; }; "eyeButton": { "alias": "eyeButton"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; }, { "enter": "enter"; }, never, never, false, never>;
27
27
  }
@@ -13,5 +13,5 @@ export declare class LoadingBarComponent implements OnInit, OnDestroy {
13
13
  ngOnInit(): void;
14
14
  ngOnDestroy(): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadingBarComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingBarComponent, "base-loading-bar", never, { "manuallyLoading": "manuallyLoading"; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingBarComponent, "base-loading-bar", never, { "manuallyLoading": { "alias": "manuallyLoading"; "required": false; }; }, {}, never, never, false, never>;
17
17
  }
@@ -60,5 +60,5 @@ export declare abstract class ModelFormBaseComponent implements OnInit {
60
60
  transformToControl(control: AbstractControl | null | undefined): UntypedFormControl;
61
61
  formatDate(date: any): string;
62
62
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelFormBaseComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelFormBaseComponent, "ng-component", never, { "modelName": "modelName"; "label": "label"; "id": "id"; "delete": "delete"; "onlyUpdateMode": "onlyUpdateMode"; "duplicate": "duplicate"; "logging": "logging"; "config": "config"; "showFavButton": "showFavButton"; }, { "finished": "finished"; }, never, never, false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModelFormBaseComponent, "ng-component", never, { "modelName": { "alias": "modelName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "onlyUpdateMode": { "alias": "onlyUpdateMode"; "required": false; }; "duplicate": { "alias": "duplicate"; "required": false; }; "logging": { "alias": "logging"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showFavButton": { "alias": "showFavButton"; "required": false; }; }, { "finished": "finished"; }, never, never, false, never>;
64
64
  }
@@ -135,5 +135,5 @@ export declare class ModelFormComponent implements OnInit, OnChanges {
135
135
  private formatDate;
136
136
  private nestedObject;
137
137
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelFormComponent, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelFormComponent, "base-model-form", never, { "modelName": "modelName"; "label": "label"; "id": "id"; "delete": "delete"; "onlyUpdateMode": "onlyUpdateMode"; "duplicate": "duplicate"; "logging": "logging"; "config": "config"; "showFavButton": "showFavButton"; }, { "finished": "finished"; }, never, never, false, never>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModelFormComponent, "base-model-form", never, { "modelName": { "alias": "modelName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "onlyUpdateMode": { "alias": "onlyUpdateMode"; "required": false; }; "duplicate": { "alias": "duplicate"; "required": false; }; "logging": { "alias": "logging"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showFavButton": { "alias": "showFavButton"; "required": false; }; }, { "finished": "finished"; }, never, never, false, never>;
139
139
  }
@@ -52,5 +52,5 @@ export declare class ModelFormSubComponent implements OnInit {
52
52
  */
53
53
  transformToControl(control: AbstractControl | null | undefined): UntypedFormControl;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelFormSubComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelFormSubComponent, "base-model-form-sub", never, { "id": "id"; "parentKey": "parentKey"; "fields": "fields"; "form": "form"; "config": "config"; }, { "imageChanged": "imageChanged"; "fileChanged": "fileChanged"; }, never, never, false, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModelFormSubComponent, "base-model-form-sub", never, { "id": { "alias": "id"; "required": false; }; "parentKey": { "alias": "parentKey"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "form": { "alias": "form"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "imageChanged": "imageChanged"; "fileChanged": "fileChanged"; }, never, never, false, never>;
56
56
  }
@@ -1,12 +1,15 @@
1
- import { AfterViewInit, ComponentRef, EventEmitter, OnChanges, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { CMSFieldConfig, CMSModelConfig, CmsService, CMSTableField, GraphQLMeta, GraphQLMetaService, GraphQLService, GraphQLType, ScrollService, ToastService } from '@lenne.tech/ng-base/shared';
1
+ import { AfterViewInit, ComponentRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import { CMSFieldConfig, CMSModelConfig, CmsService, CMSTableField, GraphQLMeta, GraphQLMetaService, GraphQLService, GraphQLType, ScrollService, StorageService, ToastService } from '@lenne.tech/ng-base/shared';
3
+ import { FormControl } from '@angular/forms';
4
+ import { Subscription } from 'rxjs';
3
5
  import * as i0 from "@angular/core";
4
- export declare class ModelTableComponent implements OnInit, OnChanges, AfterViewInit {
6
+ export declare class ModelTableComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
5
7
  private graphQLMetaService;
6
8
  private graphQLService;
7
9
  private cmsService;
8
10
  private toastService;
9
11
  private scrollService;
12
+ private storageService;
10
13
  modelName: string;
11
14
  objectId: string;
12
15
  createMode: boolean;
@@ -38,15 +41,23 @@ export declare class ModelTableComponent implements OnInit, OnChanges, AfterView
38
41
  totalCount: number;
39
42
  selectedPageIndex: number;
40
43
  pages: any[];
41
- constructor(graphQLMetaService: GraphQLMetaService, graphQLService: GraphQLService, cmsService: CmsService, toastService: ToastService, scrollService: ScrollService);
44
+ pageItemsLimitControl: FormControl<number>;
45
+ pageOptions: {
46
+ text: string;
47
+ value: number;
48
+ }[];
49
+ subscription: Subscription;
50
+ constructor(graphQLMetaService: GraphQLMetaService, graphQLService: GraphQLService, cmsService: CmsService, toastService: ToastService, scrollService: ScrollService, storageService: StorageService);
42
51
  ngAfterViewInit(): void;
43
52
  ngOnInit(): void;
44
53
  ngOnChanges(changes: SimpleChanges): void;
54
+ ngOnDestroy(): void;
45
55
  /**
46
56
  * We're using the `meta` service to get the fields that are available for the `find` query for the model we're working
47
57
  * with. We're then using that information to populate the `availableFields` array
48
58
  */
49
59
  init(): Promise<void>;
60
+ subscribeToPageItems(): void;
50
61
  integrateCustomFormComponent(): void;
51
62
  setChangesInComponentRef(): void;
52
63
  /**
@@ -67,6 +78,7 @@ export declare class ModelTableComponent implements OnInit, OnChanges, AfterView
67
78
  * selectedId property
68
79
  */
69
80
  selectId(object: any): void;
81
+ openNewTab(object: any): void;
70
82
  /**
71
83
  * It calls the duplicateObject function in the cmsService, passing in the id of the object to be duplicated and the
72
84
  * modelName of the object
@@ -99,5 +111,5 @@ export declare class ModelTableComponent implements OnInit, OnChanges, AfterView
99
111
  getAllKeys(): any[];
100
112
  selectPage(i: number): Promise<void>;
101
113
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelTableComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<ModelTableComponent, "base-model-table", never, { "modelName": "modelName"; "objectId": "objectId"; "createMode": "createMode"; "logging": "logging"; "create": "create"; "update": "update"; "delete": "delete"; "import": "import"; "export": "export"; "duplicate": "duplicate"; "modelConfig": "modelConfig"; "config": "config"; "showFavButton": "showFavButton"; }, { "idSelected": "idSelected"; "createModeChanged": "createModeChanged"; }, never, never, false, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModelTableComponent, "base-model-table", never, { "modelName": { "alias": "modelName"; "required": false; }; "objectId": { "alias": "objectId"; "required": false; }; "createMode": { "alias": "createMode"; "required": false; }; "logging": { "alias": "logging"; "required": false; }; "create": { "alias": "create"; "required": false; }; "update": { "alias": "update"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "import": { "alias": "import"; "required": false; }; "export": { "alias": "export"; "required": false; }; "duplicate": { "alias": "duplicate"; "required": false; }; "modelConfig": { "alias": "modelConfig"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showFavButton": { "alias": "showFavButton"; "required": false; }; }, { "idSelected": "idSelected"; "createModeChanged": "createModeChanged"; }, never, never, false, never>;
103
115
  }
@@ -80,5 +80,5 @@ export declare class RefenceInputComponent implements OnInit, OnDestroy {
80
80
  */
81
81
  checkForNameFields(object: any): any;
82
82
  static ɵfac: i0.ɵɵFactoryDeclaration<RefenceInputComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<RefenceInputComponent, "base-refence-input", never, { "id": "id"; "name": "name"; "infoText": "infoText"; "label": "label"; "isList": "isList"; "search": "search"; "useParamAsArg": "useParamAsArg"; "param": "param"; "placeholder": "placeholder"; "autocomplete": "autocomplete"; "tabIndex": "tabIndex"; "control": "control"; "required": "required"; "method": "method"; "fields": "fields"; "valueField": "valueField"; "objectPath": "objectPath"; "nameField": "nameField"; "creationLink": "creationLink"; }, {}, never, never, false, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<RefenceInputComponent, "base-refence-input", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isList": { "alias": "isList"; "required": false; }; "search": { "alias": "search"; "required": false; }; "useParamAsArg": { "alias": "useParamAsArg"; "required": false; }; "param": { "alias": "param"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "control": { "alias": "control"; "required": false; }; "required": { "alias": "required"; "required": false; }; "method": { "alias": "method"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "nameField": { "alias": "nameField"; "required": false; }; "creationLink": { "alias": "creationLink"; "required": false; }; }, {}, never, never, false, never>;
84
84
  }
@@ -20,6 +20,6 @@ export declare class SelectComponent implements OnInit {
20
20
  options: Option[];
21
21
  ngOnInit(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "base-select", never, { "id": "id"; "name": "name"; "infoText": "infoText"; "label": "label"; "placeholder": "placeholder"; "objectPath": "objectPath"; "control": "control"; "tabIndex": "tabIndex"; "required": "required"; "multiple": "multiple"; "search": "search"; "options": "options"; }, {}, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "base-select", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "control": { "alias": "control"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "search": { "alias": "search"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
24
24
  }
25
25
  export {};
@@ -6,5 +6,5 @@ export declare class SkeletonLoaderComponent {
6
6
  size: number;
7
7
  convertToArray(value: any): any;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "base-skeleton-loader", never, { "type": "type"; "count": "count"; "size": "size"; }, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "base-skeleton-loader", never, { "type": { "alias": "type"; "required": false; }; "count": { "alias": "count"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
10
10
  }
@@ -56,5 +56,5 @@ export declare class TagsComponent {
56
56
  */
57
57
  onFocus(event?: any): void;
58
58
  static ɵfac: i0.ɵɵFactoryDeclaration<TagsComponent, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "base-tags", never, { "id": "id"; "name": "name"; "infoText": "infoText"; "label": "label"; "placeholder": "placeholder"; "autocomplete": "autocomplete"; "tabIndex": "tabIndex"; "control": "control"; "options": "options"; "custom": "custom"; "removeByKey": "removeByKey"; "required": "required"; "objectPath": "objectPath"; "validators": "validators"; }, {}, never, never, false, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "base-tags", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "control": { "alias": "control"; "required": false; }; "options": { "alias": "options"; "required": false; }; "custom": { "alias": "custom"; "required": false; }; "removeByKey": { "alias": "removeByKey"; "required": false; }; "required": { "alias": "required"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; }, {}, never, never, false, never>;
60
60
  }
@@ -17,5 +17,5 @@ export declare class TextareaComponent implements OnChanges {
17
17
  adjustInitHeight(): void;
18
18
  adjustHeight(event: any): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "base-textarea", never, { "id": "id"; "name": "name"; "infoText": "infoText"; "label": "label"; "placeholder": "placeholder"; "control": "control"; "rows": "rows"; "required": "required"; "autoHeight": "autoHeight"; "tabIndex": "tabIndex"; "objectPath": "objectPath"; }, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "base-textarea", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "control": { "alias": "control"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; }, {}, never, never, false, never>;
21
21
  }
@@ -15,5 +15,5 @@ export declare class ToastComponent implements OnInit, OnDestroy {
15
15
  getDefaultDescription(toast: Toast): string;
16
16
  reload(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "base-toast", never, { "position": "position"; }, {}, never, never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "base-toast", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
19
19
  }
@@ -107,5 +107,5 @@ export declare class UploadImageComponent implements OnInit {
107
107
  finishedCropping(): void;
108
108
  loadImageFailed(): void;
109
109
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadImageComponent, never>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadImageComponent, "base-upload-image", never, { "id": "id"; "name": "name"; "infoText": "infoText"; "label": "label"; "supportText": "supportText"; "required": "required"; "defaultDragText": "defaultDragText"; "defaultReleaseText": "defaultReleaseText"; "preButtonText": "preButtonText"; "buttonText": "buttonText"; "validExtensions": "validExtensions"; "control": "control"; "url": "url"; "uploadPath": "uploadPath"; "deletePath": "deletePath"; "path": "path"; "compressOptions": "compressOptions"; "maxSize": "maxSize"; "uploadDirectly": "uploadDirectly"; "croppingImage": "croppingImage"; "croppingOptions": "croppingOptions"; "objectPath": "objectPath"; "mode": "mode"; }, { "imageUploaded": "imageUploaded"; "imageDeleted": "imageDeleted"; "fileChanged": "fileChanged"; }, never, never, false, never>;
110
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadImageComponent, "base-upload-image", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "defaultDragText": { "alias": "defaultDragText"; "required": false; }; "defaultReleaseText": { "alias": "defaultReleaseText"; "required": false; }; "preButtonText": { "alias": "preButtonText"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "validExtensions": { "alias": "validExtensions"; "required": false; }; "control": { "alias": "control"; "required": false; }; "url": { "alias": "url"; "required": false; }; "uploadPath": { "alias": "uploadPath"; "required": false; }; "deletePath": { "alias": "deletePath"; "required": false; }; "path": { "alias": "path"; "required": false; }; "compressOptions": { "alias": "compressOptions"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "uploadDirectly": { "alias": "uploadDirectly"; "required": false; }; "croppingImage": { "alias": "croppingImage"; "required": false; }; "croppingOptions": { "alias": "croppingOptions"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "imageUploaded": "imageUploaded"; "imageDeleted": "imageDeleted"; "fileChanged": "fileChanged"; }, never, never, false, never>;
111
111
  }
@@ -18,5 +18,5 @@ export declare class ContextMenuDirective implements OnInit {
18
18
  ngOnInit(): void;
19
19
  showContextMenu(event: any, show: boolean): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[ltContextMenu]", ["contextMenuData"], { "contextMenuData": "contextMenuData"; "ltContextMenu": "ltContextMenu"; "xGap": "xGap"; "yGap": "yGap"; "overflowSpace": "overflowSpace"; "selectors": "selectors"; }, { "clickedElement": "clickedElement"; }, never, never, false, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[ltContextMenu]", ["contextMenuData"], { "contextMenuData": { "alias": "contextMenuData"; "required": false; }; "ltContextMenu": { "alias": "ltContextMenu"; "required": false; }; "xGap": { "alias": "xGap"; "required": false; }; "yGap": { "alias": "yGap"; "required": false; }; "overflowSpace": { "alias": "overflowSpace"; "required": false; }; "selectors": { "alias": "selectors"; "required": false; }; }, { "clickedElement": "clickedElement"; }, never, never, false, never>;
22
22
  }
@@ -1,14 +1,15 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
1
+ import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SortDirective {
4
4
  private renderer;
5
5
  private targetElem;
6
6
  baseSort: Array<any>;
7
+ baseSorted: EventEmitter<any[]>;
7
8
  constructor(renderer: Renderer2, targetElem: ElementRef, document: Document);
8
9
  /**
9
10
  * Sorts columns on click
10
11
  */
11
12
  sortColumn(): void;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SortDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[baseSort]", never, { "baseSort": "baseSort"; }, {}, never, never, false, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[baseSort]", never, { "baseSort": { "alias": "baseSort"; "required": false; }; }, { "baseSorted": "baseSorted"; }, never, never, false, never>;
14
15
  }
@@ -29,5 +29,5 @@ export declare class LoginComponent implements OnInit, OnDestroy {
29
29
  submit(): void;
30
30
  scrollToTop(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "base-login", never, { "config": "config"; }, {}, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "base-login", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
33
33
  }
@@ -20,5 +20,5 @@ export declare class ProfileComponent implements OnInit {
20
20
  */
21
21
  updateSessionUser(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ProfileComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ProfileComponent, "base-profile", never, { "config": "config"; }, {}, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileComponent, "base-profile", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
24
24
  }
@@ -25,5 +25,5 @@ export declare class SetPasswordComponent implements OnInit {
25
25
  */
26
26
  submit(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<SetPasswordComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<SetPasswordComponent, "base-set-password", never, { "redirectUrl": "redirectUrl"; }, {}, never, never, false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<SetPasswordComponent, "base-set-password", never, { "redirectUrl": { "alias": "redirectUrl"; "required": false; }; }, {}, never, never, false, never>;
29
29
  }
@@ -0,0 +1,33 @@
1
+ import { RouterModule } from '@angular/router';
2
+ import { NgModule } from '@angular/core';
3
+ import { BaseCmsComponent } from './pages/base-cms/base-cms.component';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/router";
6
+ const routes = [
7
+ {
8
+ path: '',
9
+ component: BaseCmsComponent,
10
+ },
11
+ {
12
+ path: ':modelName',
13
+ component: BaseCmsComponent,
14
+ },
15
+ {
16
+ path: ':modelName/:id',
17
+ component: BaseCmsComponent,
18
+ },
19
+ ];
20
+ class BaseCMSRoutingModule {
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
23
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
24
+ }
25
+ export { BaseCMSRoutingModule };
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSRoutingModule, decorators: [{
27
+ type: NgModule,
28
+ args: [{
29
+ imports: [RouterModule.forChild(routes)],
30
+ exports: [RouterModule],
31
+ }]
32
+ }] });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jbXMtcm91dGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1iYXNlL2Jhc2UtY21zL2Jhc2UtY21zLXJvdXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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b25zdCByb3V0ZXM6IFJvdXRlcyA9IFtcbiAge1xuICAgIHBhdGg6ICcnLFxuICAgIGNvbXBvbmVudDogQmFzZUNtc0NvbXBvbmVudCxcbiAgfSxcbiAge1xuICAgIHBhdGg6ICc6bW9kZWxOYW1lJyxcbiAgICBjb21wb25lbnQ6IEJhc2VDbXNDb21wb25lbnQsXG4gIH0sXG4gIHtcbiAgICBwYXRoOiAnOm1vZGVsTmFtZS86aWQnLFxuICAgIGNvbXBvbmVudDogQmFzZUNtc0NvbXBvbmVudCxcbiAgfSxcbl07XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtSb3V0ZXJNb2R1bGUuZm9yQ2hpbGQocm91dGVzKV0sXG4gIGV4cG9ydHM6IFtSb3V0ZXJNb2R1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBCYXNlQ01TUm91dGluZ01vZHVsZSB7fVxuIl19
@@ -0,0 +1,61 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { BaseCmsComponent } from './pages/base-cms/base-cms.component';
5
+ import { BaseCMSRoutingModule } from './base-cms-routing.module';
6
+ import { BaseComponentsModule } from '@lenne.tech/ng-base/base-components';
7
+ import { BASE_CMS_MODULE_CONFIG } from './interfaces/base-cms-module-config.interface';
8
+ import * as i0 from "@angular/core";
9
+ export function CMSConfigFactory() {
10
+ return {
11
+ modelConfig: {},
12
+ fieldConfig: {},
13
+ branding: true,
14
+ logoUrl: '',
15
+ logging: false,
16
+ ...BaseCMSModule.config,
17
+ };
18
+ }
19
+ class BaseCMSModule {
20
+ static config;
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSModule, declarations: [BaseCmsComponent], imports: [
23
+ // Modules
24
+ CommonModule,
25
+ ReactiveFormsModule,
26
+ BaseCMSRoutingModule,
27
+ BaseComponentsModule] });
28
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSModule, providers: [
29
+ {
30
+ provide: BASE_CMS_MODULE_CONFIG,
31
+ useFactory: CMSConfigFactory,
32
+ },
33
+ ], imports: [
34
+ // Modules
35
+ CommonModule,
36
+ ReactiveFormsModule,
37
+ BaseCMSRoutingModule,
38
+ BaseComponentsModule] });
39
+ }
40
+ export { BaseCMSModule };
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BaseCMSModule, decorators: [{
42
+ type: NgModule,
43
+ args: [{
44
+ imports: [
45
+ // Modules
46
+ CommonModule,
47
+ ReactiveFormsModule,
48
+ BaseCMSRoutingModule,
49
+ BaseComponentsModule,
50
+ ],
51
+ declarations: [BaseCmsComponent],
52
+ exports: [],
53
+ providers: [
54
+ {
55
+ provide: BASE_CMS_MODULE_CONFIG,
56
+ useFactory: CMSConfigFactory,
57
+ },
58
+ ],
59
+ }]
60
+ }] });
61
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jbXMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctYmFzZS9iYXNlLWNtcy9iYXNlLWNtcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckQsT0FBTyxFQUFF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