@abp/ng.theme.shared 7.2.2 → 7.3.0-rc.2

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 (316) hide show
  1. package/README.md +129 -2
  2. package/{esm2020 → esm2022}/abp-ng.theme.shared.mjs +4 -4
  3. package/{esm2020 → esm2022}/extensions/abp-ng.theme.shared-extensions.mjs +4 -4
  4. package/esm2022/extensions/lib/adapters/date-time.adapter.mjs +45 -0
  5. package/esm2022/extensions/lib/adapters/date.adapter.mjs +42 -0
  6. package/esm2022/extensions/lib/adapters/time.adapter.mjs +37 -0
  7. package/esm2022/extensions/lib/components/abstract-actions/abstract-actions.component.mjs +26 -0
  8. package/esm2022/extensions/lib/components/date-time-picker/date-time-picker.component.mjs +110 -0
  9. package/esm2022/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +199 -0
  10. package/esm2022/extensions/lib/components/extensible-form/extensible-form.component.mjs +74 -0
  11. package/esm2022/extensions/lib/components/extensible-table/extensible-table.component.mjs +137 -0
  12. package/esm2022/extensions/lib/components/grid-actions/grid-actions.component.mjs +40 -0
  13. package/esm2022/extensions/lib/components/page-toolbar/page-toolbar.component.mjs +39 -0
  14. package/{esm2020 → esm2022}/extensions/lib/constants/extra-properties.mjs +1 -1
  15. package/esm2022/extensions/lib/directives/disabled.directive.mjs +30 -0
  16. package/esm2022/extensions/lib/directives/prop-data.directive.mjs +42 -0
  17. package/{esm2020 → esm2022}/extensions/lib/enums/components.mjs +1 -1
  18. package/{esm2020 → esm2022}/extensions/lib/enums/props.enum.mjs +1 -1
  19. package/{esm2020 → esm2022}/extensions/lib/models/actions.mjs +46 -46
  20. package/{esm2020 → esm2022}/extensions/lib/models/entity-actions.mjs +28 -28
  21. package/esm2022/extensions/lib/models/entity-props.mjs +44 -0
  22. package/esm2022/extensions/lib/models/form-props.mjs +76 -0
  23. package/{esm2020 → esm2022}/extensions/lib/models/internal/object-extensions.mjs +2 -2
  24. package/{esm2020 → esm2022}/extensions/lib/models/object-extensions.mjs +2 -2
  25. package/esm2022/extensions/lib/models/props.mjs +54 -0
  26. package/{esm2020 → esm2022}/extensions/lib/models/toolbar-actions.mjs +43 -43
  27. package/esm2022/extensions/lib/pipes/create-injector.pipe.mjs +37 -0
  28. package/esm2022/extensions/lib/services/extensions.service.mjs +25 -0
  29. package/{esm2020 → esm2022}/extensions/lib/tokens/extensible-form-view-provider.token.mjs +2 -2
  30. package/{esm2020 → esm2022}/extensions/lib/tokens/extensions.token.mjs +11 -11
  31. package/esm2022/extensions/lib/ui-extensions.module.mjs +100 -0
  32. package/{esm2020 → esm2022}/extensions/lib/utils/actions.util.mjs +8 -8
  33. package/{esm2020 → esm2022}/extensions/lib/utils/enum.util.mjs +41 -41
  34. package/{esm2020 → esm2022}/extensions/lib/utils/factory.util.mjs +3 -3
  35. package/esm2022/extensions/lib/utils/form-props.util.mjs +51 -0
  36. package/{esm2020 → esm2022}/extensions/lib/utils/localization.util.mjs +12 -12
  37. package/{esm2020 → esm2022}/extensions/lib/utils/props.util.mjs +13 -13
  38. package/esm2022/extensions/lib/utils/state.util.mjs +126 -0
  39. package/{esm2020 → esm2022}/extensions/lib/utils/typeahead.util.mjs +51 -51
  40. package/{esm2020 → esm2022}/extensions/lib/utils/validation.util.mjs +10 -10
  41. package/{esm2020 → esm2022}/extensions/public-api.mjs +30 -30
  42. package/{esm2020 → esm2022}/lib/animations/bounce.animations.mjs +16 -16
  43. package/{esm2020 → esm2022}/lib/animations/collapse.animations.mjs +49 -49
  44. package/{esm2020 → esm2022}/lib/animations/fade.animations.mjs +37 -37
  45. package/{esm2020 → esm2022}/lib/animations/index.mjs +6 -6
  46. package/{esm2020 → esm2022}/lib/animations/modal.animations.mjs +10 -10
  47. package/{esm2020 → esm2022}/lib/animations/slide.animations.mjs +7 -7
  48. package/{esm2020 → esm2022}/lib/animations/toast.animations.mjs +12 -12
  49. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +44 -0
  50. package/esm2022/lib/components/breadcrumb-items/breadcrumb-items.component.mjs +20 -0
  51. package/esm2022/lib/components/button/button.component.mjs +103 -0
  52. package/{esm2020 → esm2022}/lib/components/card/card-body.component.mjs +27 -26
  53. package/esm2022/lib/components/card/card-footer.component.mjs +31 -0
  54. package/esm2022/lib/components/card/card-header.component.mjs +31 -0
  55. package/esm2022/lib/components/card/card-header.directive.mjs +20 -0
  56. package/esm2022/lib/components/card/card-img-top.directive.mjs +20 -0
  57. package/esm2022/lib/components/card/card-subtitle.directive.mjs +20 -0
  58. package/esm2022/lib/components/card/card-title.directive.mjs +20 -0
  59. package/esm2022/lib/components/card/card.component.mjs +24 -0
  60. package/esm2022/lib/components/card/card.module.mjs +50 -0
  61. package/{esm2020 → esm2022}/lib/components/card/index.mjs +9 -9
  62. package/esm2022/lib/components/checkbox/checkbox.component.mjs +89 -0
  63. package/esm2022/lib/components/confirmation/confirmation.component.mjs +46 -0
  64. package/esm2022/lib/components/form-input/form-input.component.mjs +95 -0
  65. package/esm2022/lib/components/http-error-wrapper/http-error-wrapper.component.mjs +60 -0
  66. package/{esm2020 → esm2022}/lib/components/index.mjs +16 -16
  67. package/esm2022/lib/components/loader-bar/loader-bar.component.mjs +122 -0
  68. package/esm2022/lib/components/loading/loading.component.mjs +20 -0
  69. package/esm2022/lib/components/modal/modal-close.directive.mjs +28 -0
  70. package/esm2022/lib/components/modal/modal-ref.service.mjs +27 -0
  71. package/esm2022/lib/components/modal/modal.component.mjs +190 -0
  72. package/esm2022/lib/components/password/password.component.mjs +39 -0
  73. package/esm2022/lib/components/toast/toast.component.mjs +56 -0
  74. package/esm2022/lib/components/toast-container/toast-container.component.mjs +59 -0
  75. package/{esm2020 → esm2022}/lib/constants/styles.mjs +1 -1
  76. package/{esm2020 → esm2022}/lib/constants/validation.mjs +19 -19
  77. package/esm2022/lib/directives/ellipsis.directive.mjs +65 -0
  78. package/{esm2020 → esm2022}/lib/directives/index.mjs +5 -5
  79. package/esm2022/lib/directives/loading.directive.mjs +90 -0
  80. package/esm2022/lib/directives/ngx-datatable-default.directive.mjs +76 -0
  81. package/esm2022/lib/directives/ngx-datatable-list.directive.mjs +95 -0
  82. package/esm2022/lib/directives/visible.directive.mjs +63 -0
  83. package/{esm2020 → esm2022}/lib/enums/form.mjs +5 -5
  84. package/{esm2020 → esm2022}/lib/enums/index.mjs +2 -2
  85. package/{esm2020 → esm2022}/lib/enums/route-names.mjs +1 -1
  86. package/esm2022/lib/handlers/document-dir.handler.mjs +32 -0
  87. package/esm2022/lib/handlers/error.handler.mjs +294 -0
  88. package/{esm2020 → esm2022}/lib/handlers/index.mjs +2 -2
  89. package/{esm2020 → esm2022}/lib/models/common.mjs +1 -1
  90. package/{esm2020 → esm2022}/lib/models/confirmation.mjs +9 -9
  91. package/{esm2020 → esm2022}/lib/models/index.mjs +7 -7
  92. package/{esm2020 → esm2022}/lib/models/nav-item.mjs +5 -5
  93. package/{esm2020 → esm2022}/lib/models/statistics.mjs +1 -1
  94. package/{esm2020 → esm2022}/lib/models/toaster.mjs +1 -1
  95. package/{esm2020 → esm2022}/lib/models/user-menu.mjs +3 -3
  96. package/{esm2020 → esm2022}/lib/models/validation.mjs +1 -1
  97. package/{esm2020 → esm2022}/lib/providers/index.mjs +2 -2
  98. package/{esm2020 → esm2022}/lib/providers/ng-bootstrap-config.provider.mjs +16 -16
  99. package/{esm2020 → esm2022}/lib/providers/route.provider.mjs +17 -17
  100. package/{esm2020 → esm2022}/lib/services/abstract-menu.service.mjs +49 -49
  101. package/esm2022/lib/services/confirmation.service.mjs +69 -0
  102. package/{esm2020 → esm2022}/lib/services/index.mjs +5 -5
  103. package/esm2022/lib/services/nav-items.service.mjs +18 -0
  104. package/esm2022/lib/services/page-alert.service.mjs +29 -0
  105. package/esm2022/lib/services/toaster.service.mjs +104 -0
  106. package/esm2022/lib/services/user-menu.service.mjs +18 -0
  107. package/esm2022/lib/theme-shared.module.mjs +202 -0
  108. package/{esm2020 → esm2022}/lib/tokens/append-content.token.mjs +10 -10
  109. package/{esm2020 → esm2022}/lib/tokens/confirmation-icons.token.mjs +10 -10
  110. package/{esm2020 → esm2022}/lib/tokens/http-error.token.mjs +13 -13
  111. package/{esm2020 → esm2022}/lib/tokens/index.mjs +4 -4
  112. package/{esm2020 → esm2022}/lib/tokens/ngx-datatable-messages.token.mjs +7 -7
  113. package/{esm2020 → esm2022}/lib/tokens/suppress-unsaved-changes-warning.token.mjs +2 -2
  114. package/esm2022/lib/utils/date-parser-formatter.mjs +59 -0
  115. package/{esm2020 → esm2022}/lib/utils/index.mjs +2 -2
  116. package/{esm2020 → esm2022}/lib/utils/validation-utils.mjs +61 -61
  117. package/{esm2020 → esm2022}/public-api.mjs +15 -15
  118. package/{esm2020 → esm2022}/testing/abp-ng.theme.shared-testing.mjs +4 -4
  119. package/{esm2020 → esm2022}/testing/lib/models/config.mjs +1 -1
  120. package/{esm2020 → esm2022}/testing/lib/models/index.mjs +1 -1
  121. package/esm2022/testing/lib/theme-shared-testing.module.mjs +47 -0
  122. package/{esm2020 → esm2022}/testing/public-api.mjs +3 -3
  123. package/extensions/index.d.ts +5 -5
  124. package/extensions/lib/adapters/date-time.adapter.d.ts +11 -11
  125. package/extensions/lib/adapters/date.adapter.d.ts +9 -9
  126. package/extensions/lib/adapters/time.adapter.d.ts +8 -8
  127. package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +12 -12
  128. package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +16 -16
  129. package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +43 -43
  130. package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +25 -25
  131. package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +38 -38
  132. package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +13 -13
  133. package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +20 -20
  134. package/extensions/lib/constants/extra-properties.d.ts +1 -1
  135. package/extensions/lib/directives/disabled.directive.d.ts +11 -11
  136. package/extensions/lib/directives/prop-data.directive.d.ts +19 -19
  137. package/extensions/lib/enums/components.d.ts +3 -3
  138. package/extensions/lib/enums/props.enum.d.ts +16 -16
  139. package/extensions/lib/models/actions.d.ts +36 -36
  140. package/extensions/lib/models/entity-actions.d.ts +22 -22
  141. package/extensions/lib/models/entity-props.d.ts +30 -29
  142. package/extensions/lib/models/form-props.d.ts +59 -58
  143. package/extensions/lib/models/internal/object-extensions.d.ts +86 -85
  144. package/extensions/lib/models/object-extensions.d.ts +2 -2
  145. package/extensions/lib/models/props.d.ts +45 -44
  146. package/extensions/lib/models/toolbar-actions.d.ts +38 -38
  147. package/extensions/lib/pipes/create-injector.pipe.d.ts +8 -8
  148. package/extensions/lib/services/extensions.service.d.ts +14 -14
  149. package/extensions/lib/tokens/extensible-form-view-provider.token.d.ts +5 -5
  150. package/extensions/lib/tokens/extensions.token.d.ts +20 -24
  151. package/extensions/lib/ui-extensions.module.d.ts +24 -24
  152. package/extensions/lib/utils/actions.util.d.ts +7 -7
  153. package/extensions/lib/utils/enum.util.d.ts +7 -7
  154. package/extensions/lib/utils/factory.util.d.ts +1 -1
  155. package/extensions/lib/utils/form-props.util.d.ts +3 -3
  156. package/extensions/lib/utils/localization.util.d.ts +3 -3
  157. package/extensions/lib/utils/props.util.d.ts +9 -9
  158. package/extensions/lib/utils/state.util.d.ts +5 -5
  159. package/extensions/lib/utils/typeahead.util.d.ts +11 -11
  160. package/extensions/lib/utils/validation.util.d.ts +3 -3
  161. package/extensions/public-api.d.ts +30 -30
  162. package/{fesm2020 → fesm2022}/abp-ng.theme.shared-extensions.mjs +1340 -1331
  163. package/fesm2022/abp-ng.theme.shared-extensions.mjs.map +1 -0
  164. package/{fesm2020 → fesm2022}/abp-ng.theme.shared-testing.mjs +40 -40
  165. package/{fesm2015 → fesm2022}/abp-ng.theme.shared-testing.mjs.map +1 -1
  166. package/{fesm2020 → fesm2022}/abp-ng.theme.shared.mjs +2292 -2290
  167. package/fesm2022/abp-ng.theme.shared.mjs.map +1 -0
  168. package/index.d.ts +5 -5
  169. package/lib/animations/bounce.animations.d.ts +1 -1
  170. package/lib/animations/collapse.animations.d.ts +9 -9
  171. package/lib/animations/fade.animations.d.ts +10 -10
  172. package/lib/animations/index.d.ts +6 -6
  173. package/lib/animations/modal.animations.d.ts +2 -2
  174. package/lib/animations/slide.animations.d.ts +1 -1
  175. package/lib/animations/toast.animations.d.ts +1 -1
  176. package/lib/components/breadcrumb/breadcrumb.component.d.ts +16 -16
  177. package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +7 -7
  178. package/lib/components/button/button.component.d.ts +26 -26
  179. package/lib/components/card/card-body.component.d.ts +8 -8
  180. package/lib/components/card/card-footer.component.d.ts +8 -8
  181. package/lib/components/card/card-header.component.d.ts +8 -8
  182. package/lib/components/card/card-header.directive.d.ts +6 -6
  183. package/lib/components/card/card-img-top.directive.d.ts +6 -6
  184. package/lib/components/card/card-subtitle.directive.d.ts +6 -6
  185. package/lib/components/card/card-title.directive.d.ts +6 -6
  186. package/lib/components/card/card.component.d.ts +7 -7
  187. package/lib/components/card/card.module.d.ts +15 -15
  188. package/lib/components/card/index.d.ts +9 -9
  189. package/lib/components/checkbox/checkbox.component.d.ts +18 -18
  190. package/lib/components/confirmation/confirmation.component.d.ts +19 -19
  191. package/lib/components/form-input/form-input.component.d.ts +19 -19
  192. package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +27 -27
  193. package/lib/components/index.d.ts +16 -16
  194. package/lib/components/loader-bar/loader-bar.component.d.ts +33 -33
  195. package/lib/components/loading/loading.component.d.ts +5 -5
  196. package/lib/components/modal/modal-close.directive.d.ts +9 -9
  197. package/lib/components/modal/modal-ref.service.d.ts +13 -13
  198. package/lib/components/modal/modal.component.d.ts +50 -50
  199. package/lib/components/password/password.component.d.ts +12 -12
  200. package/lib/components/toast/toast.component.d.ts +14 -14
  201. package/lib/components/toast-container/toast-container.component.d.ts +22 -22
  202. package/lib/constants/styles.d.ts +2 -2
  203. package/lib/constants/validation.d.ts +19 -19
  204. package/lib/directives/ellipsis.directive.d.ts +21 -21
  205. package/lib/directives/index.d.ts +5 -5
  206. package/lib/directives/loading.directive.d.ts +25 -25
  207. package/lib/directives/ngx-datatable-default.directive.d.ts +30 -30
  208. package/lib/directives/ngx-datatable-list.directive.d.ts +24 -24
  209. package/lib/directives/visible.directive.d.ts +18 -18
  210. package/lib/enums/form.d.ts +4 -4
  211. package/lib/enums/index.d.ts +2 -2
  212. package/lib/enums/route-names.d.ts +3 -3
  213. package/lib/handlers/document-dir.handler.d.ts +13 -13
  214. package/lib/handlers/error.handler.d.ts +83 -83
  215. package/lib/handlers/index.d.ts +2 -2
  216. package/lib/models/common.d.ts +21 -21
  217. package/lib/models/confirmation.d.ts +27 -27
  218. package/lib/models/index.d.ts +7 -7
  219. package/lib/models/nav-item.d.ts +13 -13
  220. package/lib/models/statistics.d.ts +12 -12
  221. package/lib/models/toaster.d.ts +30 -30
  222. package/lib/models/user-menu.d.ts +8 -8
  223. package/lib/models/validation.d.ts +1 -1
  224. package/lib/providers/index.d.ts +2 -2
  225. package/lib/providers/ng-bootstrap-config.provider.d.ts +8 -8
  226. package/lib/providers/route.provider.d.ts +8 -8
  227. package/lib/services/abstract-menu.service.d.ts +13 -13
  228. package/lib/services/confirmation.service.d.ts +21 -21
  229. package/lib/services/index.d.ts +5 -5
  230. package/lib/services/nav-items.service.d.ts +8 -8
  231. package/lib/services/page-alert.service.d.ts +18 -18
  232. package/lib/services/toaster.service.d.ts +60 -60
  233. package/lib/services/user-menu.service.d.ts +8 -8
  234. package/lib/theme-shared.module.d.ts +38 -38
  235. package/lib/tokens/append-content.token.d.ts +2 -2
  236. package/lib/tokens/confirmation-icons.token.d.ts +11 -11
  237. package/lib/tokens/http-error.token.d.ts +5 -5
  238. package/lib/tokens/index.d.ts +4 -4
  239. package/lib/tokens/ngx-datatable-messages.token.d.ts +12 -12
  240. package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +2 -2
  241. package/lib/utils/date-parser-formatter.d.ts +12 -12
  242. package/lib/utils/index.d.ts +2 -2
  243. package/lib/utils/validation-utils.d.ts +5 -5
  244. package/package.json +28 -24
  245. package/public-api.d.ts +12 -12
  246. package/testing/index.d.ts +5 -5
  247. package/testing/lib/models/config.d.ts +4 -4
  248. package/testing/lib/models/index.d.ts +1 -1
  249. package/testing/lib/theme-shared-testing.module.d.ts +14 -14
  250. package/testing/public-api.d.ts +3 -3
  251. package/esm2020/extensions/lib/adapters/date-time.adapter.mjs +0 -44
  252. package/esm2020/extensions/lib/adapters/date.adapter.mjs +0 -41
  253. package/esm2020/extensions/lib/adapters/time.adapter.mjs +0 -36
  254. package/esm2020/extensions/lib/components/abstract-actions/abstract-actions.component.mjs +0 -25
  255. package/esm2020/extensions/lib/components/date-time-picker/date-time-picker.component.mjs +0 -109
  256. package/esm2020/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +0 -198
  257. package/esm2020/extensions/lib/components/extensible-form/extensible-form.component.mjs +0 -73
  258. package/esm2020/extensions/lib/components/extensible-table/extensible-table.component.mjs +0 -135
  259. package/esm2020/extensions/lib/components/grid-actions/grid-actions.component.mjs +0 -39
  260. package/esm2020/extensions/lib/components/page-toolbar/page-toolbar.component.mjs +0 -38
  261. package/esm2020/extensions/lib/directives/disabled.directive.mjs +0 -29
  262. package/esm2020/extensions/lib/directives/prop-data.directive.mjs +0 -41
  263. package/esm2020/extensions/lib/models/entity-props.mjs +0 -43
  264. package/esm2020/extensions/lib/models/form-props.mjs +0 -75
  265. package/esm2020/extensions/lib/models/props.mjs +0 -53
  266. package/esm2020/extensions/lib/pipes/create-injector.pipe.mjs +0 -36
  267. package/esm2020/extensions/lib/services/extensions.service.mjs +0 -24
  268. package/esm2020/extensions/lib/ui-extensions.module.mjs +0 -95
  269. package/esm2020/extensions/lib/utils/form-props.util.mjs +0 -51
  270. package/esm2020/extensions/lib/utils/state.util.mjs +0 -123
  271. package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -43
  272. package/esm2020/lib/components/breadcrumb-items/breadcrumb-items.component.mjs +0 -19
  273. package/esm2020/lib/components/button/button.component.mjs +0 -102
  274. package/esm2020/lib/components/card/card-footer.component.mjs +0 -30
  275. package/esm2020/lib/components/card/card-header.component.mjs +0 -30
  276. package/esm2020/lib/components/card/card-header.directive.mjs +0 -19
  277. package/esm2020/lib/components/card/card-img-top.directive.mjs +0 -19
  278. package/esm2020/lib/components/card/card-subtitle.directive.mjs +0 -19
  279. package/esm2020/lib/components/card/card-title.directive.mjs +0 -19
  280. package/esm2020/lib/components/card/card.component.mjs +0 -23
  281. package/esm2020/lib/components/card/card.module.mjs +0 -49
  282. package/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -88
  283. package/esm2020/lib/components/confirmation/confirmation.component.mjs +0 -45
  284. package/esm2020/lib/components/form-input/form-input.component.mjs +0 -94
  285. package/esm2020/lib/components/http-error-wrapper/http-error-wrapper.component.mjs +0 -59
  286. package/esm2020/lib/components/loader-bar/loader-bar.component.mjs +0 -121
  287. package/esm2020/lib/components/loading/loading.component.mjs +0 -19
  288. package/esm2020/lib/components/modal/modal-close.directive.mjs +0 -27
  289. package/esm2020/lib/components/modal/modal-ref.service.mjs +0 -26
  290. package/esm2020/lib/components/modal/modal.component.mjs +0 -189
  291. package/esm2020/lib/components/password/password.component.mjs +0 -38
  292. package/esm2020/lib/components/toast/toast.component.mjs +0 -55
  293. package/esm2020/lib/components/toast-container/toast-container.component.mjs +0 -58
  294. package/esm2020/lib/directives/ellipsis.directive.mjs +0 -63
  295. package/esm2020/lib/directives/loading.directive.mjs +0 -89
  296. package/esm2020/lib/directives/ngx-datatable-default.directive.mjs +0 -75
  297. package/esm2020/lib/directives/ngx-datatable-list.directive.mjs +0 -94
  298. package/esm2020/lib/directives/visible.directive.mjs +0 -62
  299. package/esm2020/lib/handlers/document-dir.handler.mjs +0 -31
  300. package/esm2020/lib/handlers/error.handler.mjs +0 -291
  301. package/esm2020/lib/services/confirmation.service.mjs +0 -68
  302. package/esm2020/lib/services/nav-items.service.mjs +0 -17
  303. package/esm2020/lib/services/page-alert.service.mjs +0 -28
  304. package/esm2020/lib/services/toaster.service.mjs +0 -103
  305. package/esm2020/lib/services/user-menu.service.mjs +0 -17
  306. package/esm2020/lib/theme-shared.module.mjs +0 -200
  307. package/esm2020/lib/utils/date-parser-formatter.mjs +0 -58
  308. package/esm2020/testing/lib/theme-shared-testing.module.mjs +0 -46
  309. package/fesm2015/abp-ng.theme.shared-extensions.mjs +0 -1460
  310. package/fesm2015/abp-ng.theme.shared-extensions.mjs.map +0 -1
  311. package/fesm2015/abp-ng.theme.shared-testing.mjs +0 -54
  312. package/fesm2015/abp-ng.theme.shared.mjs +0 -2767
  313. package/fesm2015/abp-ng.theme.shared.mjs.map +0 -1
  314. package/fesm2020/abp-ng.theme.shared-extensions.mjs.map +0 -1
  315. package/fesm2020/abp-ng.theme.shared-testing.mjs.map +0 -1
  316. package/fesm2020/abp-ng.theme.shared.mjs.map +0 -1
@@ -1,60 +1,60 @@
1
- import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
2
- import { Toaster } from '../models';
3
- import * as i0 from "@angular/core";
4
- export declare class ToasterService implements ToasterContract {
5
- private contentProjectionService;
6
- private toasts$;
7
- private lastId;
8
- private toasts;
9
- private containerComponentRef;
10
- constructor(contentProjectionService: ContentProjectionService);
11
- private setContainer;
12
- /**
13
- * Creates an info toast with given parameters.
14
- * @param message Content of the toast
15
- * @param title Title of the toast
16
- * @param options Spesific style or structural options for individual toast
17
- */
18
- info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
19
- /**
20
- * Creates a success toast with given parameters.
21
- * @param message Content of the toast
22
- * @param title Title of the toast
23
- * @param options Spesific style or structural options for individual toast
24
- */
25
- success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
26
- /**
27
- * Creates a warning toast with given parameters.
28
- * @param message Content of the toast
29
- * @param title Title of the toast
30
- * @param options Spesific style or structural options for individual toast
31
- */
32
- warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
33
- /**
34
- * Creates an error toast with given parameters.
35
- * @param message Content of the toast
36
- * @param title Title of the toast
37
- * @param options Spesific style or structural options for individual toast
38
- */
39
- error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
40
- /**
41
- * Creates a toast with given parameters.
42
- * @param message Content of the toast
43
- * @param title Title of the toast
44
- * @param severity Sets color of the toast. "success", "warning" etc.
45
- * @param options Spesific style or structural options for individual toast
46
- */
47
- show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
48
- /**
49
- * Removes the toast with given id.
50
- * @param id ID of the toast to be removed.
51
- */
52
- remove: (id: number) => void;
53
- /**
54
- * Removes all open toasts at once.
55
- */
56
- clear(containerKey?: string): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
59
- }
60
- export declare type ToasterContract = Strict<ToasterService, Toaster.Service>;
1
+ import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
2
+ import { Toaster } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ToasterService implements ToasterContract {
5
+ private contentProjectionService;
6
+ private toasts$;
7
+ private lastId;
8
+ private toasts;
9
+ private containerComponentRef;
10
+ constructor(contentProjectionService: ContentProjectionService);
11
+ private setContainer;
12
+ /**
13
+ * Creates an info toast with given parameters.
14
+ * @param message Content of the toast
15
+ * @param title Title of the toast
16
+ * @param options Spesific style or structural options for individual toast
17
+ */
18
+ info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
19
+ /**
20
+ * Creates a success toast with given parameters.
21
+ * @param message Content of the toast
22
+ * @param title Title of the toast
23
+ * @param options Spesific style or structural options for individual toast
24
+ */
25
+ success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
26
+ /**
27
+ * Creates a warning toast with given parameters.
28
+ * @param message Content of the toast
29
+ * @param title Title of the toast
30
+ * @param options Spesific style or structural options for individual toast
31
+ */
32
+ warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
33
+ /**
34
+ * Creates an error toast with given parameters.
35
+ * @param message Content of the toast
36
+ * @param title Title of the toast
37
+ * @param options Spesific style or structural options for individual toast
38
+ */
39
+ error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
40
+ /**
41
+ * Creates a toast with given parameters.
42
+ * @param message Content of the toast
43
+ * @param title Title of the toast
44
+ * @param severity Sets color of the toast. "success", "warning" etc.
45
+ * @param options Spesific style or structural options for individual toast
46
+ */
47
+ show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
48
+ /**
49
+ * Removes the toast with given id.
50
+ * @param id ID of the toast to be removed.
51
+ */
52
+ remove: (id: number) => void;
53
+ /**
54
+ * Removes all open toasts at once.
55
+ */
56
+ clear(containerKey?: string): void;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
58
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
59
+ }
60
+ export type ToasterContract = Strict<ToasterService, Toaster.Service>;
@@ -1,8 +1,8 @@
1
- import { UserMenu } from '../models/user-menu';
2
- import { AbstractMenuService } from './abstract-menu.service';
3
- import * as i0 from "@angular/core";
4
- export declare class UserMenuService extends AbstractMenuService<UserMenu> {
5
- protected baseClass: typeof UserMenu;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<UserMenuService>;
8
- }
1
+ import { UserMenu } from '../models/user-menu';
2
+ import { AbstractMenuService } from './abstract-menu.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UserMenuService extends AbstractMenuService<UserMenu> {
5
+ protected baseClass: typeof UserMenu;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserMenuService>;
8
+ }
@@ -1,38 +1,38 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { RootParams } from './models/common';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./components/breadcrumb/breadcrumb.component";
5
- import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
6
- import * as i3 from "./components/button/button.component";
7
- import * as i4 from "./components/confirmation/confirmation.component";
8
- import * as i5 from "./components/loader-bar/loader-bar.component";
9
- import * as i6 from "./components/loading/loading.component";
10
- import * as i7 from "./components/modal/modal.component";
11
- import * as i8 from "./components/toast/toast.component";
12
- import * as i9 from "./components/toast-container/toast-container.component";
13
- import * as i10 from "./components/password/password.component";
14
- import * as i11 from "./directives/ngx-datatable-default.directive";
15
- import * as i12 from "./directives/ngx-datatable-list.directive";
16
- import * as i13 from "./directives/loading.directive";
17
- import * as i14 from "./components/modal/modal-close.directive";
18
- import * as i15 from "./directives/visible.directive";
19
- import * as i16 from "./components/form-input/form-input.component";
20
- import * as i17 from "./components/checkbox/checkbox.component";
21
- import * as i18 from "./components/http-error-wrapper/http-error-wrapper.component";
22
- import * as i19 from "@abp/ng.core";
23
- import * as i20 from "@swimlane/ngx-datatable";
24
- import * as i21 from "@ngx-validate/core";
25
- import * as i22 from "@ng-bootstrap/ng-bootstrap";
26
- import * as i23 from "./directives/ellipsis.directive";
27
- import * as i24 from "./components/card/card.module";
28
- export declare class BaseThemeSharedModule {
29
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent, typeof i18.HttpErrorWrapperComponent], [typeof i19.CoreModule, typeof i20.NgxDatatableModule, typeof i21.NgxValidateCoreModule, typeof i22.NgbPaginationModule, typeof i23.EllipsisModule, typeof i24.CardModule], [typeof i20.NgxDatatableModule, typeof i23.EllipsisModule, typeof i21.NgxValidateCoreModule, typeof i24.CardModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent]>;
31
- static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
32
- }
33
- export declare class ThemeSharedModule {
34
- static forRoot({ httpErrorConfig, validation, confirmationIcons }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
36
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
37
- static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
38
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { RootParams } from './models/common';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./components/breadcrumb/breadcrumb.component";
5
+ import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
6
+ import * as i3 from "./components/button/button.component";
7
+ import * as i4 from "./components/confirmation/confirmation.component";
8
+ import * as i5 from "./components/loader-bar/loader-bar.component";
9
+ import * as i6 from "./components/loading/loading.component";
10
+ import * as i7 from "./components/modal/modal.component";
11
+ import * as i8 from "./components/toast/toast.component";
12
+ import * as i9 from "./components/toast-container/toast-container.component";
13
+ import * as i10 from "./components/password/password.component";
14
+ import * as i11 from "./directives/ngx-datatable-default.directive";
15
+ import * as i12 from "./directives/ngx-datatable-list.directive";
16
+ import * as i13 from "./directives/loading.directive";
17
+ import * as i14 from "./components/modal/modal-close.directive";
18
+ import * as i15 from "./directives/visible.directive";
19
+ import * as i16 from "./components/form-input/form-input.component";
20
+ import * as i17 from "./components/checkbox/checkbox.component";
21
+ import * as i18 from "./components/http-error-wrapper/http-error-wrapper.component";
22
+ import * as i19 from "@abp/ng.core";
23
+ import * as i20 from "@swimlane/ngx-datatable";
24
+ import * as i21 from "@ngx-validate/core";
25
+ import * as i22 from "@ng-bootstrap/ng-bootstrap";
26
+ import * as i23 from "./directives/ellipsis.directive";
27
+ import * as i24 from "./components/card/card.module";
28
+ export declare class BaseThemeSharedModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent, typeof i18.HttpErrorWrapperComponent], [typeof i19.CoreModule, typeof i20.NgxDatatableModule, typeof i21.NgxValidateCoreModule, typeof i22.NgbPaginationModule, typeof i23.EllipsisModule, typeof i24.CardModule], [typeof i20.NgxDatatableModule, typeof i23.EllipsisModule, typeof i21.NgxValidateCoreModule, typeof i24.CardModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent]>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
32
+ }
33
+ export declare class ThemeSharedModule {
34
+ static forRoot({ httpErrorConfig, validation, confirmationIcons }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
37
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
38
+ }
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
@@ -1,11 +1,11 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface ConfirmationIcons {
3
- info: string;
4
- success: string;
5
- warning: string;
6
- error: string;
7
- default: string;
8
- neutral: string;
9
- }
10
- export declare const CONFIRMATION_ICONS: InjectionToken<Partial<ConfirmationIcons>>;
11
- export declare const DEFAULT_CONFIRMATION_ICONS: ConfirmationIcons;
1
+ import { InjectionToken } from '@angular/core';
2
+ export interface ConfirmationIcons {
3
+ info: string;
4
+ success: string;
5
+ warning: string;
6
+ error: string;
7
+ default: string;
8
+ neutral: string;
9
+ }
10
+ export declare const CONFIRMATION_ICONS: InjectionToken<Partial<ConfirmationIcons>>;
11
+ export declare const DEFAULT_CONFIRMATION_ICONS: ConfirmationIcons;
@@ -1,5 +1,5 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
3
- export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
4
- export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
5
- export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
3
+ export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
4
+ export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
5
+ export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
@@ -1,4 +1,4 @@
1
- export * from './append-content.token';
2
- export * from './http-error.token';
3
- export * from './ngx-datatable-messages.token';
4
- export * from './suppress-unsaved-changes-warning.token';
1
+ export * from './append-content.token';
2
+ export * from './http-error.token';
3
+ export * from './ngx-datatable-messages.token';
4
+ export * from './suppress-unsaved-changes-warning.token';
@@ -1,12 +1,12 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface NgxDatatableMessages {
3
- emptyMessage: string;
4
- totalMessage: string;
5
- selectedMessage: string;
6
- }
7
- export declare const defaultNgxDatatableMessages: {
8
- emptyMessage: string;
9
- totalMessage: string;
10
- selectedMessage: string;
11
- };
12
- export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export interface NgxDatatableMessages {
3
+ emptyMessage: string;
4
+ totalMessage: string;
5
+ selectedMessage: string;
6
+ }
7
+ export declare const defaultNgxDatatableMessages: {
8
+ emptyMessage: string;
9
+ totalMessage: string;
10
+ selectedMessage: string;
11
+ };
12
+ export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
@@ -1,12 +1,12 @@
1
- import { ConfigStateService } from '@abp/ng.core';
2
- import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
3
- import * as i0 from "@angular/core";
4
- export declare class DateParserFormatter extends NgbDateParserFormatter {
5
- private configState;
6
- private locale;
7
- constructor(configState: ConfigStateService, locale: string);
8
- parse(value: string): NgbDateStruct | null;
9
- format(date: NgbDateStruct): string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
12
- }
1
+ import { ConfigStateService } from '@abp/ng.core';
2
+ import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DateParserFormatter extends NgbDateParserFormatter {
5
+ private configState;
6
+ private locale;
7
+ constructor(configState: ConfigStateService, locale: string);
8
+ parse(value: string): NgbDateStruct | null;
9
+ format(date: NgbDateStruct): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
12
+ }
@@ -1,2 +1,2 @@
1
- export * from './date-parser-formatter';
2
- export * from './validation-utils';
1
+ export * from './date-parser-formatter';
2
+ export * from './validation-utils';
@@ -1,5 +1,5 @@
1
- import { Injector } from '@angular/core';
2
- import { ValidatorFn } from '@angular/forms';
3
- import { PasswordRule } from '../models/validation';
4
- export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
5
- export declare function validatePassword(shouldContain: PasswordRule): ValidatorFn;
1
+ import { Injector } from '@angular/core';
2
+ import { ValidatorFn } from '@angular/forms';
3
+ import { PasswordRule } from '../models/validation';
4
+ export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
5
+ export declare function validatePassword(shouldContain: PasswordRule): ValidatorFn;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@abp/ng.theme.shared",
3
- "version": "7.2.2",
3
+ "version": "7.3.0-rc.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.core": "~7.2.2",
10
+ "@abp/ng.core": "~7.3.0-rc.2",
11
11
  "@fortawesome/fontawesome-free": "^5.15.4",
12
- "@ng-bootstrap/ng-bootstrap": "^14.0.0",
12
+ "@ng-bootstrap/ng-bootstrap": "^15.0.0",
13
13
  "@ngx-validate/core": "^0.2.0",
14
14
  "@popperjs/core": "~2.11.2",
15
15
  "@swimlane/ngx-datatable": "^20.0.0",
@@ -19,11 +19,21 @@
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
- "module": "fesm2015/abp-ng.theme.shared.mjs",
23
- "es2020": "fesm2020/abp-ng.theme.shared.mjs",
24
- "esm2020": "esm2020/abp-ng.theme.shared.mjs",
25
- "fesm2020": "fesm2020/abp-ng.theme.shared.mjs",
26
- "fesm2015": "fesm2015/abp-ng.theme.shared.mjs",
22
+ "license": "LGPL-3.0",
23
+ "keywords": [
24
+ "aspnetcore",
25
+ "boilerplate",
26
+ "framework",
27
+ "web",
28
+ "best-practices",
29
+ "angular",
30
+ "maui",
31
+ "blazor",
32
+ "mvc",
33
+ "csharp",
34
+ "webapp"
35
+ ],
36
+ "module": "fesm2022/abp-ng.theme.shared.mjs",
27
37
  "typings": "index.d.ts",
28
38
  "exports": {
29
39
  "./package.json": {
@@ -31,31 +41,25 @@
31
41
  },
32
42
  ".": {
33
43
  "types": "./index.d.ts",
34
- "esm2020": "./esm2020/abp-ng.theme.shared.mjs",
35
- "es2020": "./fesm2020/abp-ng.theme.shared.mjs",
36
- "es2015": "./fesm2015/abp-ng.theme.shared.mjs",
37
- "node": "./fesm2015/abp-ng.theme.shared.mjs",
38
- "default": "./fesm2020/abp-ng.theme.shared.mjs"
44
+ "esm2022": "./esm2022/abp-ng.theme.shared.mjs",
45
+ "esm": "./esm2022/abp-ng.theme.shared.mjs",
46
+ "default": "./fesm2022/abp-ng.theme.shared.mjs"
39
47
  },
40
48
  "./extensions": {
41
49
  "types": "./extensions/index.d.ts",
42
- "esm2020": "./esm2020/extensions/abp-ng.theme.shared-extensions.mjs",
43
- "es2020": "./fesm2020/abp-ng.theme.shared-extensions.mjs",
44
- "es2015": "./fesm2015/abp-ng.theme.shared-extensions.mjs",
45
- "node": "./fesm2015/abp-ng.theme.shared-extensions.mjs",
46
- "default": "./fesm2020/abp-ng.theme.shared-extensions.mjs"
50
+ "esm2022": "./esm2022/extensions/abp-ng.theme.shared-extensions.mjs",
51
+ "esm": "./esm2022/extensions/abp-ng.theme.shared-extensions.mjs",
52
+ "default": "./fesm2022/abp-ng.theme.shared-extensions.mjs"
47
53
  },
48
54
  "./testing": {
49
55
  "types": "./testing/index.d.ts",
50
- "esm2020": "./esm2020/testing/abp-ng.theme.shared-testing.mjs",
51
- "es2020": "./fesm2020/abp-ng.theme.shared-testing.mjs",
52
- "es2015": "./fesm2015/abp-ng.theme.shared-testing.mjs",
53
- "node": "./fesm2015/abp-ng.theme.shared-testing.mjs",
54
- "default": "./fesm2020/abp-ng.theme.shared-testing.mjs"
56
+ "esm2022": "./esm2022/testing/abp-ng.theme.shared-testing.mjs",
57
+ "esm": "./esm2022/testing/abp-ng.theme.shared-testing.mjs",
58
+ "default": "./fesm2022/abp-ng.theme.shared-testing.mjs"
55
59
  }
56
60
  },
57
61
  "sideEffects": false,
58
62
  "peerDependencies": {
59
- "@abp/ng.oauth": "7.2.2"
63
+ "@abp/ng.oauth": "7.3.0-rc.2"
60
64
  }
61
65
  }
package/public-api.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export * from './lib/animations';
2
- export * from './lib/components';
3
- export * from './lib/constants/validation';
4
- export * from './lib/directives';
5
- export * from './lib/enums';
6
- export * from './lib/handlers';
7
- export * from './lib/models';
8
- export * from './lib/providers';
9
- export * from './lib/services';
10
- export * from './lib/theme-shared.module';
11
- export * from './lib/tokens';
12
- export * from './lib/utils';
1
+ export * from './lib/animations';
2
+ export * from './lib/components';
3
+ export * from './lib/constants/validation';
4
+ export * from './lib/directives';
5
+ export * from './lib/enums';
6
+ export * from './lib/handlers';
7
+ export * from './lib/models';
8
+ export * from './lib/providers';
9
+ export * from './lib/services';
10
+ export * from './lib/theme-shared.module';
11
+ export * from './lib/tokens';
12
+ export * from './lib/utils';
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@abp/ng.theme.shared/testing" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@abp/ng.theme.shared/testing" />
5
+ export * from './public-api';
@@ -1,4 +1,4 @@
1
- import { Validation } from '@ngx-validate/core';
2
- export interface Config {
3
- validation?: Partial<Validation.Config>;
4
- }
1
+ import { Validation } from '@ngx-validate/core';
2
+ export interface Config {
3
+ validation?: Partial<Validation.Config>;
4
+ }
@@ -1 +1 @@
1
- export * from './config';
1
+ export * from './config';
@@ -1,14 +1,14 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { Config } from './models/config';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/router/testing";
5
- import * as i2 from "@abp/ng.theme.shared";
6
- /**
7
- * ThemeSharedTestingModule is the module that will be used in tests
8
- */
9
- export declare class ThemeSharedTestingModule {
10
- static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
14
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { Config } from './models/config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/router/testing";
5
+ import * as i2 from "@abp/ng.theme.shared";
6
+ /**
7
+ * ThemeSharedTestingModule is the module that will be used in tests
8
+ */
9
+ export declare class ThemeSharedTestingModule {
10
+ static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
14
+ }
@@ -1,3 +1,3 @@
1
- import * as ThemeSharedTesting from './lib/models';
2
- export * from './lib/theme-shared-testing.module';
3
- export { ThemeSharedTesting };
1
+ import * as ThemeSharedTesting from './lib/models';
2
+ export * from './lib/theme-shared-testing.module';
3
+ export { ThemeSharedTesting };
@@ -1,44 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DateTimeAdapter {
4
- fromModel(value) {
5
- if (!value)
6
- return null;
7
- const date = new Date(value);
8
- if (isNaN(date))
9
- return null;
10
- this.value = {
11
- year: date.getFullYear(),
12
- month: date.getMonth() + 1,
13
- day: date.getDate(),
14
- hour: date.getHours(),
15
- minute: date.getMinutes(),
16
- second: date.getSeconds(),
17
- };
18
- return this.value;
19
- }
20
- toModel(value) {
21
- if (!value)
22
- return '';
23
- const now = new Date();
24
- const newValue = {
25
- // TODO look for strict mode errors
26
- year: now.getUTCFullYear(),
27
- month: now.getMonth() + 1,
28
- day: now.getDate(),
29
- hour: 0,
30
- minute: 0,
31
- second: 0,
32
- ...this.value,
33
- ...value,
34
- };
35
- const date = new Date(newValue.year, newValue.month - 1, newValue.day, newValue.hour, newValue.minute, newValue.second);
36
- return new Date(date).toISOString();
37
- }
38
- }
39
- DateTimeAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimeAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
40
- DateTimeAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimeAdapter });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimeAdapter, decorators: [{
42
- type: Injectable
43
- }] });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLmFkYXB0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy90aGVtZS1zaGFyZWQvZXh0ZW5zaW9ucy9zcmMvbGliL2FkYXB0ZXJzL2RhdGUtdGltZS5hZGFwdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSTNDLE1BQU0sT0FBTyxlQUFlO0lBRzFCLFNBQVMsQ0FBQyxLQUFvQjtRQUM1QixJQUFJLENBQUMsS0FBSztZQUFFLE9BQU8sSUFBSSxDQUFD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