@smartsoft001/angular 1.1.799 → 1.1.803

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 (484) hide show
  1. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  2. package/esm2020/lib/+state/error.effects.mjs +24 -0
  3. package/esm2020/lib/components/accordion/accordion.component.mjs +29 -0
  4. package/esm2020/lib/components/accordion/body/body.component.mjs +14 -0
  5. package/esm2020/lib/components/accordion/header/header.component.mjs +14 -0
  6. package/{esm2015/lib/components/accordion/index.js → esm2020/lib/components/accordion/index.mjs} +0 -0
  7. package/esm2020/lib/components/app/base/base.component.mjs +134 -0
  8. package/{esm2015/lib/components/app/index.js → esm2020/lib/components/app/index.mjs} +0 -0
  9. package/esm2020/lib/components/app/split-panel/split-panel.component.mjs +45 -0
  10. package/esm2020/lib/components/base/base.component.mjs +72 -0
  11. package/{esm2015/lib/components/base/index.js → esm2020/lib/components/base/index.mjs} +0 -0
  12. package/esm2020/lib/components/button/base/base.component.mjs +39 -0
  13. package/esm2020/lib/components/button/button.component.mjs +65 -0
  14. package/{esm2015/lib/components/button/index.js → esm2020/lib/components/button/index.mjs} +0 -0
  15. package/esm2020/lib/components/button/standard/standard.component.mjs +15 -0
  16. package/esm2020/lib/components/card/card.component.mjs +18 -0
  17. package/{esm2015/lib/components/card/index.js → esm2020/lib/components/card/index.mjs} +0 -0
  18. package/esm2020/lib/components/chart/bar/bar.component.mjs +57 -0
  19. package/esm2020/lib/components/chart/base/base.component.mjs +13 -0
  20. package/esm2020/lib/components/chart/chart.component.mjs +21 -0
  21. package/{esm2015/lib/components/chart/index.js → esm2020/lib/components/chart/index.mjs} +0 -0
  22. package/esm2020/lib/components/chart/line/line.component.mjs +57 -0
  23. package/esm2020/lib/components/components.module.mjs +422 -0
  24. package/esm2020/lib/components/date-edit/date-edit.component.mjs +171 -0
  25. package/{esm2015/lib/components/date-edit/index.js → esm2020/lib/components/date-edit/index.mjs} +0 -0
  26. package/esm2020/lib/components/date-range/date-range.component.mjs +357 -0
  27. package/{esm2015/lib/components/date-range/index.js → esm2020/lib/components/date-range/index.mjs} +0 -0
  28. package/esm2020/lib/components/detail/address/address.component.mjs +17 -0
  29. package/esm2020/lib/components/detail/array/array.component.mjs +37 -0
  30. package/esm2020/lib/components/detail/attachment/attachment.component.mjs +28 -0
  31. package/esm2020/lib/components/detail/base/base.component.mjs +24 -0
  32. package/esm2020/lib/components/detail/color/color.component.mjs +14 -0
  33. package/esm2020/lib/components/detail/date-range/date-range.component.mjs +13 -0
  34. package/esm2020/lib/components/detail/detail.component.mjs +40 -0
  35. package/esm2020/lib/components/detail/email/email.component.mjs +13 -0
  36. package/esm2020/lib/components/detail/enum/enum.component.mjs +14 -0
  37. package/esm2020/lib/components/detail/flag/flag.component.mjs +14 -0
  38. package/esm2020/lib/components/detail/image/image.component.mjs +29 -0
  39. package/{esm2015/lib/components/detail/index.js → esm2020/lib/components/detail/index.mjs} +0 -0
  40. package/esm2020/lib/components/detail/logo/logo.component.mjs +14 -0
  41. package/esm2020/lib/components/detail/object/object.component.mjs +35 -0
  42. package/esm2020/lib/components/detail/pdf/pdf.component.mjs +28 -0
  43. package/esm2020/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +15 -0
  44. package/esm2020/lib/components/detail/text/text.component.mjs +15 -0
  45. package/esm2020/lib/components/detail/video/video.component.mjs +22 -0
  46. package/esm2020/lib/components/details/base/base.component.mjs +101 -0
  47. package/esm2020/lib/components/details/details.component.mjs +67 -0
  48. package/{esm2015/lib/components/details/index.js → esm2020/lib/components/details/index.mjs} +0 -0
  49. package/esm2020/lib/components/details/standard/standard.component.mjs +17 -0
  50. package/esm2020/lib/components/dynamic/dynamic.component.mjs +24 -0
  51. package/{esm2015/lib/components/dynamic/index.js → esm2020/lib/components/dynamic/index.mjs} +0 -0
  52. package/esm2020/lib/components/error-context/error-context.component.mjs +25 -0
  53. package/{esm2015/lib/components/error-context/index.js → esm2020/lib/components/error-context/index.mjs} +0 -0
  54. package/esm2020/lib/components/export/export.component.mjs +30 -0
  55. package/{esm2015/lib/components/export/index.js → esm2020/lib/components/export/index.mjs} +0 -0
  56. package/esm2020/lib/components/form/base/base.component.mjs +69 -0
  57. package/esm2020/lib/components/form/form.component.mjs +256 -0
  58. package/{esm2015/lib/components/form/index.js → esm2020/lib/components/form/index.mjs} +0 -0
  59. package/esm2020/lib/components/form/standard/standard.component.mjs +17 -0
  60. package/esm2020/lib/components/form/stepper/stepper.component.mjs +65 -0
  61. package/esm2020/lib/components/grid/column/column.component.mjs +20 -0
  62. package/esm2020/lib/components/grid/grid.component.mjs +20 -0
  63. package/{esm2015/lib/components/grid/index.js → esm2020/lib/components/grid/index.mjs} +0 -0
  64. package/esm2020/lib/components/grid/row/row.component.mjs +20 -0
  65. package/esm2020/lib/components/import/import.component.mjs +35 -0
  66. package/{esm2015/lib/components/import/index.js → esm2020/lib/components/import/index.mjs} +0 -0
  67. package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
  68. package/{esm2015/lib/components/info/index.js → esm2020/lib/components/info/index.mjs} +0 -0
  69. package/esm2020/lib/components/info/info.component.mjs +49 -0
  70. package/esm2020/lib/components/input/address/address.component.mjs +21 -0
  71. package/esm2020/lib/components/input/array/array.component.mjs +113 -0
  72. package/esm2020/lib/components/input/attachment/attachment.component.mjs +25 -0
  73. package/esm2020/lib/components/input/base/base.component.mjs +35 -0
  74. package/esm2020/lib/components/input/base/file.component.mjs +84 -0
  75. package/esm2020/lib/components/input/base/possibilities.component.mjs +45 -0
  76. package/esm2020/lib/components/input/check/check.component.mjs +62 -0
  77. package/esm2020/lib/components/input/color/color.component.mjs +35 -0
  78. package/esm2020/lib/components/input/currency/currency.component.mjs +20 -0
  79. package/esm2020/lib/components/input/date/date.component.mjs +72 -0
  80. package/esm2020/lib/components/input/date-range/date-range.component.mjs +20 -0
  81. package/esm2020/lib/components/input/date-with-edit/date-with-edit.component.mjs +27 -0
  82. package/esm2020/lib/components/input/email/email.component.mjs +20 -0
  83. package/esm2020/lib/components/input/enum/enum.component.mjs +45 -0
  84. package/esm2020/lib/components/input/error/error.component.mjs +16 -0
  85. package/esm2020/lib/components/input/file/file.component.mjs +59 -0
  86. package/esm2020/lib/components/input/flag/flag.component.mjs +21 -0
  87. package/esm2020/lib/components/input/float/float.component.mjs +21 -0
  88. package/esm2020/lib/components/input/image/image.component.mjs +35 -0
  89. package/{esm2015/lib/components/input/index.js → esm2020/lib/components/input/index.mjs} +0 -0
  90. package/esm2020/lib/components/input/input.component.mjs +124 -0
  91. package/esm2020/lib/components/input/int/int.component.mjs +21 -0
  92. package/esm2020/lib/components/input/ints/ints.component.mjs +59 -0
  93. package/esm2020/lib/components/input/logo/logo.component.mjs +48 -0
  94. package/esm2020/lib/components/input/long-text/long-text.component.mjs +55 -0
  95. package/esm2020/lib/components/input/nip/nip.component.mjs +35 -0
  96. package/esm2020/lib/components/input/object/object.component.mjs +33 -0
  97. package/esm2020/lib/components/input/password/password.component.mjs +49 -0
  98. package/esm2020/lib/components/input/pdf/pdf.component.mjs +25 -0
  99. package/esm2020/lib/components/input/pesel/pesel.component.mjs +20 -0
  100. package/esm2020/lib/components/input/phone-number/phone-number.component.mjs +20 -0
  101. package/esm2020/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +28 -0
  102. package/esm2020/lib/components/input/radio/radio.component.mjs +48 -0
  103. package/esm2020/lib/components/input/strings/strings.component.mjs +59 -0
  104. package/esm2020/lib/components/input/text/text.component.mjs +20 -0
  105. package/esm2020/lib/components/input/video/video.component.mjs +45 -0
  106. package/esm2020/lib/components/list/base/base.component.mjs +166 -0
  107. package/esm2020/lib/components/list/desktop/desktop.component.mjs +120 -0
  108. package/{esm2015/lib/components/list/index.js → esm2020/lib/components/list/index.mjs} +0 -0
  109. package/esm2020/lib/components/list/list.component.mjs +68 -0
  110. package/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +66 -0
  111. package/esm2020/lib/components/list/mobile/mobile.component.mjs +49 -0
  112. package/{esm2015/lib/components/loader/index.js → esm2020/lib/components/loader/index.mjs} +0 -0
  113. package/esm2020/lib/components/loader/loader.component.mjs +17 -0
  114. package/esm2020/lib/components/page/base/base.component.mjs +62 -0
  115. package/{esm2015/lib/components/page/index.js → esm2020/lib/components/page/index.mjs} +0 -0
  116. package/esm2020/lib/components/page/page.component.mjs +66 -0
  117. package/esm2020/lib/components/page/standard/standard.component.mjs +25 -0
  118. package/{esm2015/lib/components/paging/index.js → esm2020/lib/components/paging/index.mjs} +0 -0
  119. package/esm2020/lib/components/paging/paging.component.mjs +25 -0
  120. package/{esm2015/lib/components/password-strength/index.js → esm2020/lib/components/password-strength/index.mjs} +0 -0
  121. package/esm2020/lib/components/password-strength/password-strength.component.mjs +115 -0
  122. package/{esm2015/lib/components/searchbar/index.js → esm2020/lib/components/searchbar/index.mjs} +0 -0
  123. package/esm2020/lib/components/searchbar/searchbar.component.mjs +54 -0
  124. package/{esm2015/lib/components/tabs/index.js → esm2020/lib/components/tabs/index.mjs} +0 -0
  125. package/esm2020/lib/components/tabs/tab/tab.component.mjs +19 -0
  126. package/esm2020/lib/components/tabs/tabs.component.mjs +51 -0
  127. package/{esm2015/lib/decorators/index.js → esm2020/lib/decorators/index.mjs} +0 -0
  128. package/{esm2015/lib/decorators/module/module.decorator.js → esm2020/lib/decorators/module/module.decorator.mjs} +0 -0
  129. package/{esm2015/lib/decorators/redux-action/redux-action.decorator.js → esm2020/lib/decorators/redux-action/redux-action.decorator.mjs} +0 -0
  130. package/{esm2015/lib/decorators/redux-select/redux-select.decorator.js → esm2020/lib/decorators/redux-select/redux-select.decorator.mjs} +0 -0
  131. package/esm2020/lib/directives/date-validator/date-validator.directive.mjs +29 -0
  132. package/esm2020/lib/directives/details/details.directive.mjs +54 -0
  133. package/esm2020/lib/directives/directives.module.mjs +41 -0
  134. package/esm2020/lib/directives/dynamic-content/dynamic-content.directive.mjs +17 -0
  135. package/{esm2015/lib/directives/index.js → esm2020/lib/directives/index.mjs} +0 -0
  136. package/esm2020/lib/directives/viewport-show/viewport-show.directive.mjs +35 -0
  137. package/esm2020/lib/factories/factories.module.mjs +25 -0
  138. package/esm2020/lib/factories/form/form.factory.mjs +280 -0
  139. package/{esm2015/lib/factories/index.js → esm2020/lib/factories/index.mjs} +0 -0
  140. package/{esm2015/lib/models/chart.js → esm2020/lib/models/chart.mjs} +0 -0
  141. package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +0 -0
  142. package/esm2020/lib/models/interfaces.mjs +12 -0
  143. package/{esm2015/lib/models/style.js → esm2020/lib/models/style.mjs} +0 -0
  144. package/esm2020/lib/ngrx-shared.module.mjs +39 -0
  145. package/esm2020/lib/pages/details/details.page.mjs +64 -0
  146. package/{esm2015/lib/pages/index.js → esm2020/lib/pages/index.mjs} +0 -0
  147. package/esm2020/lib/pages/pages.module.mjs +41 -0
  148. package/esm2020/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +18 -0
  149. package/esm2020/lib/pipes/file-url/file-url.pipe.mjs +21 -0
  150. package/{esm2015/lib/pipes/index.js → esm2020/lib/pipes/index.mjs} +0 -0
  151. package/esm2020/lib/pipes/list-cell/list-cell.pipe.mjs +70 -0
  152. package/esm2020/lib/pipes/list-header/list-header.pipe.mjs +42 -0
  153. package/esm2020/lib/pipes/model-label/model-label.pipe.mjs +39 -0
  154. package/esm2020/lib/pipes/pipes.module.mjs +25 -0
  155. package/esm2020/lib/pipes/trust-html/trust-html.pipe.mjs +23 -0
  156. package/esm2020/lib/pipes/virtual-data-source/virtual-data-source.pipe.mjs +18 -0
  157. package/{esm2015/lib/providers/index.js → esm2020/lib/providers/index.mjs} +0 -0
  158. package/{esm2015/lib/providers/interfaces.js → esm2020/lib/providers/interfaces.mjs} +0 -0
  159. package/{esm2015/lib/providers/model-export.provider.js → esm2020/lib/providers/model-export.provider.mjs} +0 -0
  160. package/{esm2015/lib/providers/model-import.provider.js → esm2020/lib/providers/model-import.provider.mjs} +0 -0
  161. package/{esm2015/lib/providers/model-label.provider.js → esm2020/lib/providers/model-label.provider.mjs} +0 -0
  162. package/{esm2015/lib/providers/model-possibilities.provider.js → esm2020/lib/providers/model-possibilities.provider.mjs} +0 -0
  163. package/{esm2015/lib/providers/model-validators.provider.js → esm2020/lib/providers/model-validators.provider.mjs} +0 -0
  164. package/esm2020/lib/services/alert/alert.service.mjs +19 -0
  165. package/{esm2015/lib/services/app/app.service.js → esm2020/lib/services/app/app.service.mjs} +9 -20
  166. package/esm2020/lib/services/auth/auth.service.mjs +43 -0
  167. package/{esm2015/lib/services/calendar/calendar.service.js → esm2020/lib/services/calendar/calendar.service.mjs} +8 -14
  168. package/esm2020/lib/services/camera/camera.service.mjs +22 -0
  169. package/esm2020/lib/services/details/details.service.mjs +23 -0
  170. package/esm2020/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +34 -0
  171. package/esm2020/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +29 -0
  172. package/esm2020/lib/services/error/error.service.mjs +31 -0
  173. package/esm2020/lib/services/file/file.service.mjs +51 -0
  174. package/esm2020/lib/services/fingerprint/fingerprint.service.mjs +61 -0
  175. package/{esm2015/lib/services/form/form.group.js → esm2020/lib/services/form/form.group.mjs} +0 -0
  176. package/esm2020/lib/services/hardware/hardware.service.mjs +27 -0
  177. package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
  178. package/esm2020/lib/services/menu/menu.service.mjs +88 -0
  179. package/esm2020/lib/services/modal/modal.service.mjs +38 -0
  180. package/esm2020/lib/services/ngrx-store/ngrx-store.service.mjs +22 -0
  181. package/esm2020/lib/services/popover/popover.service.mjs +18 -0
  182. package/esm2020/lib/services/services.module.mjs +81 -0
  183. package/esm2020/lib/services/storage/storage.service.mjs +73 -0
  184. package/esm2020/lib/services/style/style.service.mjs +105 -0
  185. package/esm2020/lib/services/toast/toast.service.mjs +57 -0
  186. package/esm2020/lib/services/ui/ui.service.mjs +54 -0
  187. package/{esm2015/lib/shared.animations.js → esm2020/lib/shared.animations.mjs} +0 -0
  188. package/esm2020/lib/shared.inectors.mjs +4 -0
  189. package/esm2020/lib/shared.module.mjs +70 -0
  190. package/{esm2015/lib/translations-default.js → esm2020/lib/translations-default.mjs} +0 -0
  191. package/esm2020/lib/utils-shared.module.mjs +18 -0
  192. package/esm2020/smartsoft001-angular.mjs +5 -0
  193. package/fesm2015/smartsoft001-angular.mjs +6637 -0
  194. package/fesm2015/smartsoft001-angular.mjs.map +1 -0
  195. package/fesm2020/smartsoft001-angular.mjs +6536 -0
  196. package/fesm2020/smartsoft001-angular.mjs.map +1 -0
  197. package/lib/+state/error.effects.d.ts +3 -0
  198. package/lib/components/accordion/accordion.component.d.ts +3 -0
  199. package/lib/components/accordion/body/body.component.d.ts +3 -0
  200. package/lib/components/accordion/header/header.component.d.ts +3 -0
  201. package/lib/components/app/base/base.component.d.ts +3 -0
  202. package/lib/components/app/split-panel/split-panel.component.d.ts +3 -0
  203. package/lib/components/base/base.component.d.ts +3 -0
  204. package/lib/components/button/base/base.component.d.ts +3 -0
  205. package/lib/components/button/button.component.d.ts +4 -1
  206. package/lib/components/button/standard/standard.component.d.ts +3 -0
  207. package/lib/components/card/card.component.d.ts +3 -0
  208. package/lib/components/chart/bar/bar.component.d.ts +3 -0
  209. package/lib/components/chart/base/base.component.d.ts +3 -0
  210. package/lib/components/chart/chart.component.d.ts +3 -0
  211. package/lib/components/chart/line/line.component.d.ts +3 -0
  212. package/lib/components/components.module.d.ts +124 -10
  213. package/lib/components/date-edit/date-edit.component.d.ts +3 -0
  214. package/lib/components/date-range/date-range.component.d.ts +5 -0
  215. package/lib/components/detail/address/address.component.d.ts +3 -0
  216. package/lib/components/detail/array/array.component.d.ts +7 -1
  217. package/lib/components/detail/attachment/attachment.component.d.ts +3 -0
  218. package/lib/components/detail/base/base.component.d.ts +3 -0
  219. package/lib/components/detail/color/color.component.d.ts +3 -0
  220. package/lib/components/detail/date-range/date-range.component.d.ts +3 -0
  221. package/lib/components/detail/detail.component.d.ts +3 -0
  222. package/lib/components/detail/email/email.component.d.ts +3 -0
  223. package/lib/components/detail/enum/enum.component.d.ts +3 -0
  224. package/lib/components/detail/flag/flag.component.d.ts +3 -0
  225. package/lib/components/detail/image/image.component.d.ts +3 -0
  226. package/lib/components/detail/logo/logo.component.d.ts +3 -0
  227. package/lib/components/detail/object/object.component.d.ts +7 -1
  228. package/lib/components/detail/pdf/pdf.component.d.ts +3 -0
  229. package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +3 -0
  230. package/lib/components/detail/text/text.component.d.ts +3 -0
  231. package/lib/components/detail/video/video.component.d.ts +3 -0
  232. package/lib/components/details/base/base.component.d.ts +3 -0
  233. package/lib/components/details/details.component.d.ts +5 -2
  234. package/lib/components/details/standard/standard.component.d.ts +3 -0
  235. package/lib/components/dynamic/dynamic.component.d.ts +3 -0
  236. package/lib/components/error-context/error-context.component.d.ts +3 -0
  237. package/lib/components/export/export.component.d.ts +3 -0
  238. package/lib/components/form/base/base.component.d.ts +3 -0
  239. package/lib/components/form/form.component.d.ts +4 -1
  240. package/lib/components/form/standard/standard.component.d.ts +3 -0
  241. package/lib/components/form/stepper/stepper.component.d.ts +3 -0
  242. package/lib/components/grid/column/column.component.d.ts +3 -0
  243. package/lib/components/grid/grid.component.d.ts +3 -0
  244. package/lib/components/grid/row/row.component.d.ts +3 -0
  245. package/lib/components/import/import.component.d.ts +3 -0
  246. package/lib/components/info/info.component.d.ts +5 -0
  247. package/lib/components/input/address/address.component.d.ts +3 -0
  248. package/lib/components/input/array/array.component.d.ts +5 -1
  249. package/lib/components/input/attachment/attachment.component.d.ts +3 -0
  250. package/lib/components/input/base/base.component.d.ts +3 -0
  251. package/lib/components/input/base/file.component.d.ts +3 -0
  252. package/lib/components/input/base/possibilities.component.d.ts +3 -0
  253. package/lib/components/input/check/check.component.d.ts +3 -0
  254. package/lib/components/input/color/color.component.d.ts +3 -0
  255. package/lib/components/input/currency/currency.component.d.ts +3 -0
  256. package/lib/components/input/date/date.component.d.ts +3 -0
  257. package/lib/components/input/date-range/date-range.component.d.ts +3 -0
  258. package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +5 -6
  259. package/lib/components/input/email/email.component.d.ts +3 -0
  260. package/lib/components/input/enum/enum.component.d.ts +3 -0
  261. package/lib/components/input/error/error.component.d.ts +3 -0
  262. package/lib/components/input/file/file.component.d.ts +3 -0
  263. package/lib/components/input/flag/flag.component.d.ts +3 -0
  264. package/lib/components/input/float/float.component.d.ts +3 -0
  265. package/lib/components/input/image/image.component.d.ts +3 -0
  266. package/lib/components/input/input.component.d.ts +3 -0
  267. package/lib/components/input/int/int.component.d.ts +3 -0
  268. package/lib/components/input/ints/ints.component.d.ts +3 -0
  269. package/lib/components/input/logo/logo.component.d.ts +3 -0
  270. package/lib/components/input/long-text/long-text.component.d.ts +3 -0
  271. package/lib/components/input/nip/nip.component.d.ts +3 -0
  272. package/lib/components/input/object/object.component.d.ts +6 -2
  273. package/lib/components/input/password/password.component.d.ts +3 -0
  274. package/lib/components/input/pdf/pdf.component.d.ts +3 -0
  275. package/lib/components/input/pesel/pesel.component.d.ts +3 -0
  276. package/lib/components/input/phone-number/phone-number.component.d.ts +3 -0
  277. package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +3 -0
  278. package/lib/components/input/radio/radio.component.d.ts +3 -0
  279. package/lib/components/input/strings/strings.component.d.ts +3 -0
  280. package/lib/components/input/text/text.component.d.ts +3 -0
  281. package/lib/components/input/video/video.component.d.ts +3 -0
  282. package/lib/components/list/base/base.component.d.ts +4 -2
  283. package/lib/components/list/desktop/desktop.component.d.ts +4 -2
  284. package/lib/components/list/list.component.d.ts +5 -9
  285. package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +4 -2
  286. package/lib/components/list/mobile/mobile.component.d.ts +4 -2
  287. package/lib/components/loader/loader.component.d.ts +3 -0
  288. package/lib/components/page/base/base.component.d.ts +3 -0
  289. package/lib/components/page/page.component.d.ts +3 -0
  290. package/lib/components/page/standard/standard.component.d.ts +3 -0
  291. package/lib/components/paging/paging.component.d.ts +3 -0
  292. package/lib/components/password-strength/password-strength.component.d.ts +3 -0
  293. package/lib/components/searchbar/searchbar.component.d.ts +3 -0
  294. package/lib/components/tabs/tab/tab.component.d.ts +3 -0
  295. package/lib/components/tabs/tabs.component.d.ts +3 -0
  296. package/lib/directives/date-validator/date-validator.directive.d.ts +3 -0
  297. package/lib/directives/details/details.directive.d.ts +3 -0
  298. package/lib/directives/directives.module.d.ts +9 -0
  299. package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +3 -0
  300. package/lib/directives/viewport-show/viewport-show.directive.d.ts +3 -0
  301. package/lib/factories/factories.module.d.ts +5 -0
  302. package/lib/factories/form/form.factory.d.ts +3 -0
  303. package/lib/models/interfaces.d.ts +7 -1
  304. package/lib/ngrx-shared.module.d.ts +7 -0
  305. package/lib/pages/details/details.page.d.ts +3 -0
  306. package/lib/pages/pages.module.d.ts +9 -0
  307. package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +3 -0
  308. package/lib/pipes/file-url/file-url.pipe.d.ts +3 -0
  309. package/lib/pipes/list-cell/list-cell.pipe.d.ts +3 -0
  310. package/lib/pipes/list-header/list-header.pipe.d.ts +3 -0
  311. package/lib/pipes/model-label/model-label.pipe.d.ts +3 -0
  312. package/lib/pipes/pipes.module.d.ts +12 -1
  313. package/lib/pipes/trust-html/trust-html.pipe.d.ts +3 -0
  314. package/lib/pipes/virtual-data-source/virtual-data-source.pipe.d.ts +3 -0
  315. package/lib/services/alert/alert.service.d.ts +3 -0
  316. package/lib/services/app/app.service.d.ts +3 -0
  317. package/lib/services/auth/auth.service.d.ts +3 -0
  318. package/lib/services/calendar/calendar.service.d.ts +3 -0
  319. package/lib/services/camera/camera.service.d.ts +3 -0
  320. package/lib/services/details/details.service.d.ts +3 -0
  321. package/lib/services/dynamic-component-loader/dynamic-component-loader.service.d.ts +3 -0
  322. package/lib/services/error/error.service.d.ts +3 -0
  323. package/lib/services/file/file.service.d.ts +3 -0
  324. package/lib/services/fingerprint/fingerprint.service.d.ts +3 -0
  325. package/lib/services/hardware/hardware.service.d.ts +3 -0
  326. package/lib/services/menu/menu.service.d.ts +3 -0
  327. package/lib/services/modal/modal.service.d.ts +3 -0
  328. package/lib/services/ngrx-store/ngrx-store.service.d.ts +3 -0
  329. package/lib/services/popover/popover.service.d.ts +3 -0
  330. package/lib/services/services.module.d.ts +7 -0
  331. package/lib/services/storage/storage.service.d.ts +3 -0
  332. package/lib/services/style/style.service.d.ts +3 -0
  333. package/lib/services/toast/toast.service.d.ts +3 -0
  334. package/lib/services/ui/ui.service.d.ts +3 -0
  335. package/lib/shared.inectors.d.ts +3 -0
  336. package/lib/shared.module.d.ts +15 -0
  337. package/lib/utils-shared.module.d.ts +5 -0
  338. package/package.json +39 -26
  339. package/smartsoft001-angular.d.ts +1 -142
  340. package/bundles/smartsoft001-angular.umd.js +0 -9117
  341. package/bundles/smartsoft001-angular.umd.js.map +0 -1
  342. package/esm2015/lib/+state/error.effects.js +0 -31
  343. package/esm2015/lib/components/accordion/accordion.component.js +0 -37
  344. package/esm2015/lib/components/accordion/body/body.component.js +0 -23
  345. package/esm2015/lib/components/accordion/header/header.component.js +0 -23
  346. package/esm2015/lib/components/app/base/base.component.js +0 -144
  347. package/esm2015/lib/components/app/split-panel/split-panel.component.js +0 -58
  348. package/esm2015/lib/components/base/base.component.js +0 -82
  349. package/esm2015/lib/components/button/base/base.component.js +0 -36
  350. package/esm2015/lib/components/button/button.component.js +0 -48
  351. package/esm2015/lib/components/button/standard/standard.component.js +0 -15
  352. package/esm2015/lib/components/card/card.component.js +0 -27
  353. package/esm2015/lib/components/chart/bar/bar.component.js +0 -68
  354. package/esm2015/lib/components/chart/base/base.component.js +0 -19
  355. package/esm2015/lib/components/chart/chart.component.js +0 -30
  356. package/esm2015/lib/components/chart/line/line.component.js +0 -68
  357. package/esm2015/lib/components/components.module.js +0 -257
  358. package/esm2015/lib/components/date-edit/date-edit.component.js +0 -184
  359. package/esm2015/lib/components/date-range/date-range.component.js +0 -387
  360. package/esm2015/lib/components/detail/address/address.component.js +0 -17
  361. package/esm2015/lib/components/detail/array/array.component.js +0 -28
  362. package/esm2015/lib/components/detail/attachment/attachment.component.js +0 -36
  363. package/esm2015/lib/components/detail/base/base.component.js +0 -34
  364. package/esm2015/lib/components/detail/color/color.component.js +0 -13
  365. package/esm2015/lib/components/detail/date-range/date-range.component.js +0 -13
  366. package/esm2015/lib/components/detail/detail.component.js +0 -32
  367. package/esm2015/lib/components/detail/email/email.component.js +0 -13
  368. package/esm2015/lib/components/detail/enum/enum.component.js +0 -13
  369. package/esm2015/lib/components/detail/flag/flag.component.js +0 -13
  370. package/esm2015/lib/components/detail/image/image.component.js +0 -38
  371. package/esm2015/lib/components/detail/logo/logo.component.js +0 -13
  372. package/esm2015/lib/components/detail/object/object.component.js +0 -26
  373. package/esm2015/lib/components/detail/pdf/pdf.component.js +0 -36
  374. package/esm2015/lib/components/detail/phone-number-pl/phone-number-pl.component.js +0 -13
  375. package/esm2015/lib/components/detail/text/text.component.js +0 -13
  376. package/esm2015/lib/components/detail/video/video.component.js +0 -32
  377. package/esm2015/lib/components/details/base/base.component.js +0 -104
  378. package/esm2015/lib/components/details/details.component.js +0 -66
  379. package/esm2015/lib/components/details/standard/standard.component.js +0 -15
  380. package/esm2015/lib/components/dynamic/dynamic.component.js +0 -34
  381. package/esm2015/lib/components/error-context/error-context.component.js +0 -35
  382. package/esm2015/lib/components/export/export.component.js +0 -41
  383. package/esm2015/lib/components/form/base/base.component.js +0 -75
  384. package/esm2015/lib/components/form/form.component.js +0 -216
  385. package/esm2015/lib/components/form/standard/standard.component.js +0 -16
  386. package/esm2015/lib/components/form/stepper/stepper.component.js +0 -68
  387. package/esm2015/lib/components/grid/column/column.component.js +0 -29
  388. package/esm2015/lib/components/grid/grid.component.js +0 -30
  389. package/esm2015/lib/components/grid/row/row.component.js +0 -29
  390. package/esm2015/lib/components/import/import.component.js +0 -48
  391. package/esm2015/lib/components/info/info.component.js +0 -70
  392. package/esm2015/lib/components/input/address/address.component.js +0 -27
  393. package/esm2015/lib/components/input/array/array.component.js +0 -110
  394. package/esm2015/lib/components/input/attachment/attachment.component.js +0 -34
  395. package/esm2015/lib/components/input/base/base.component.js +0 -45
  396. package/esm2015/lib/components/input/base/file.component.js +0 -94
  397. package/esm2015/lib/components/input/base/possibilities.component.js +0 -49
  398. package/esm2015/lib/components/input/check/check.component.js +0 -64
  399. package/esm2015/lib/components/input/color/color.component.js +0 -42
  400. package/esm2015/lib/components/input/currency/currency.component.js +0 -27
  401. package/esm2015/lib/components/input/date/date.component.js +0 -69
  402. package/esm2015/lib/components/input/date-range/date-range.component.js +0 -26
  403. package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js +0 -53
  404. package/esm2015/lib/components/input/email/email.component.js +0 -27
  405. package/esm2015/lib/components/input/enum/enum.component.js +0 -51
  406. package/esm2015/lib/components/input/error/error.component.js +0 -17
  407. package/esm2015/lib/components/input/file/file.component.js +0 -66
  408. package/esm2015/lib/components/input/flag/flag.component.js +0 -28
  409. package/esm2015/lib/components/input/float/float.component.js +0 -29
  410. package/esm2015/lib/components/input/image/image.component.js +0 -44
  411. package/esm2015/lib/components/input/input.component.js +0 -104
  412. package/esm2015/lib/components/input/int/int.component.js +0 -29
  413. package/esm2015/lib/components/input/ints/ints.component.js +0 -66
  414. package/esm2015/lib/components/input/logo/logo.component.js +0 -56
  415. package/esm2015/lib/components/input/long-text/long-text.component.js +0 -61
  416. package/esm2015/lib/components/input/nip/nip.component.js +0 -42
  417. package/esm2015/lib/components/input/object/object.component.js +0 -35
  418. package/esm2015/lib/components/input/password/password.component.js +0 -46
  419. package/esm2015/lib/components/input/pdf/pdf.component.js +0 -34
  420. package/esm2015/lib/components/input/pesel/pesel.component.js +0 -27
  421. package/esm2015/lib/components/input/phone-number/phone-number.component.js +0 -27
  422. package/esm2015/lib/components/input/phone-number-pl/phone-number-pl.component.js +0 -35
  423. package/esm2015/lib/components/input/radio/radio.component.js +0 -49
  424. package/esm2015/lib/components/input/strings/strings.component.js +0 -66
  425. package/esm2015/lib/components/input/text/text.component.js +0 -27
  426. package/esm2015/lib/components/input/video/video.component.js +0 -54
  427. package/esm2015/lib/components/list/base/base.component.js +0 -175
  428. package/esm2015/lib/components/list/desktop/desktop.component.js +0 -119
  429. package/esm2015/lib/components/list/list.component.js +0 -73
  430. package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +0 -73
  431. package/esm2015/lib/components/list/mobile/mobile.component.js +0 -55
  432. package/esm2015/lib/components/loader/loader.component.js +0 -17
  433. package/esm2015/lib/components/page/base/base.component.js +0 -74
  434. package/esm2015/lib/components/page/page.component.js +0 -64
  435. package/esm2015/lib/components/page/standard/standard.component.js +0 -36
  436. package/esm2015/lib/components/paging/paging.component.js +0 -24
  437. package/esm2015/lib/components/password-strength/password-strength.component.js +0 -118
  438. package/esm2015/lib/components/searchbar/searchbar.component.js +0 -62
  439. package/esm2015/lib/components/tabs/tab/tab.component.js +0 -31
  440. package/esm2015/lib/components/tabs/tabs.component.js +0 -48
  441. package/esm2015/lib/directives/date-validator/date-validator.directive.js +0 -26
  442. package/esm2015/lib/directives/details/details.directive.js +0 -60
  443. package/esm2015/lib/directives/directives.module.js +0 -29
  444. package/esm2015/lib/directives/dynamic-content/dynamic-content.directive.js +0 -24
  445. package/esm2015/lib/directives/viewport-show/viewport-show.directive.js +0 -43
  446. package/esm2015/lib/factories/factories.module.js +0 -17
  447. package/esm2015/lib/factories/form/form.factory.js +0 -275
  448. package/esm2015/lib/models/interfaces.js +0 -12
  449. package/esm2015/lib/ngrx-shared.module.js +0 -37
  450. package/esm2015/lib/pages/details/details.page.js +0 -72
  451. package/esm2015/lib/pages/pages.module.js +0 -32
  452. package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js +0 -15
  453. package/esm2015/lib/pipes/file-url/file-url.pipe.js +0 -27
  454. package/esm2015/lib/pipes/list-cell/list-cell.pipe.js +0 -76
  455. package/esm2015/lib/pipes/list-header/list-header.pipe.js +0 -43
  456. package/esm2015/lib/pipes/model-label/model-label.pipe.js +0 -40
  457. package/esm2015/lib/pipes/pipes.module.js +0 -21
  458. package/esm2015/lib/pipes/trust-html/trust-html.pipe.js +0 -29
  459. package/esm2015/lib/pipes/virtual-data-source/virtual-data-source.pipe.js +0 -15
  460. package/esm2015/lib/services/alert/alert.service.js +0 -29
  461. package/esm2015/lib/services/auth/auth.service.js +0 -50
  462. package/esm2015/lib/services/camera/camera.service.js +0 -23
  463. package/esm2015/lib/services/details/details.service.js +0 -29
  464. package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js +0 -46
  465. package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +0 -30
  466. package/esm2015/lib/services/error/error.service.js +0 -41
  467. package/esm2015/lib/services/file/file.service.js +0 -54
  468. package/esm2015/lib/services/fingerprint/fingerprint.service.js +0 -75
  469. package/esm2015/lib/services/hardware/hardware.service.js +0 -34
  470. package/esm2015/lib/services/menu/menu.service.js +0 -105
  471. package/esm2015/lib/services/modal/modal.service.js +0 -50
  472. package/esm2015/lib/services/ngrx-store/ngrx-store.service.js +0 -20
  473. package/esm2015/lib/services/popover/popover.service.js +0 -28
  474. package/esm2015/lib/services/services.module.js +0 -53
  475. package/esm2015/lib/services/storage/storage.service.js +0 -82
  476. package/esm2015/lib/services/style/style.service.js +0 -107
  477. package/esm2015/lib/services/toast/toast.service.js +0 -69
  478. package/esm2015/lib/services/ui/ui.service.js +0 -72
  479. package/esm2015/lib/shared.module.js +0 -53
  480. package/esm2015/lib/utils-shared.module.js +0 -14
  481. package/esm2015/smartsoft001-angular.js +0 -147
  482. package/fesm2015/smartsoft001-angular.js +0 -7492
  483. package/fesm2015/smartsoft001-angular.js.map +0 -1
  484. package/smartsoft001-angular.metadata.json +0 -1
@@ -0,0 +1,66 @@
1
+ import { ChangeDetectorRef, Component, ViewChild, ViewContainerRef } from "@angular/core";
2
+ import { Router } from "@angular/router";
3
+ import { TranslateService } from "@ngx-translate/core";
4
+ import { map } from "rxjs/operators";
5
+ import { FieldType, getModelFieldsWithOptions } from "@smartsoft001/models";
6
+ import { ListBaseComponent } from "../base/base.component";
7
+ import { AlertService } from "../../../services/alert/alert.service";
8
+ import { AuthService } from "../../../services/auth/auth.service";
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "../../../services/auth/auth.service";
11
+ import * as i2 from "@angular/router";
12
+ import * as i3 from "../../../services/alert/alert.service";
13
+ import * as i4 from "@ngx-translate/core";
14
+ import * as i5 from "@ionic/angular";
15
+ import * as i6 from "../../paging/paging.component";
16
+ import * as i7 from "@angular/common";
17
+ import * as i8 from "../../../pipes/file-url/file-url.pipe";
18
+ import * as i9 from "../../../pipes/list-cell/list-cell.pipe";
19
+ export class ListMasonryGridComponent extends ListBaseComponent {
20
+ constructor(authService, router, alertService, cd, translateService) {
21
+ super(authService, router, alertService, cd, translateService);
22
+ }
23
+ ngOnInit() { }
24
+ ngAfterViewInit() {
25
+ this.generateDynamicComponents();
26
+ }
27
+ afterInitOptions() {
28
+ super.afterInitOptions();
29
+ const fieldOptions = getModelFieldsWithOptions(new this.type());
30
+ const imageFieldOptions = fieldOptions.find(item => item.options.type === FieldType.image);
31
+ this.listWithImages$ = this.list$.pipe(map(list => {
32
+ if (!list)
33
+ return null;
34
+ return list.map(item => {
35
+ return {
36
+ data: item,
37
+ image: item[imageFieldOptions.key]
38
+ };
39
+ });
40
+ }));
41
+ }
42
+ initList(val) {
43
+ super.initList(val);
44
+ this.componentFactories = val.componentFactories;
45
+ this.generateDynamicComponents();
46
+ }
47
+ generateDynamicComponents() {
48
+ if (!this.componentFactories)
49
+ return;
50
+ if (this.componentFactories.top && this.topTpl) {
51
+ if (!this.topTpl.get(0)) {
52
+ this.topTpl.createComponent(this.componentFactories.top);
53
+ }
54
+ }
55
+ }
56
+ }
57
+ /** @nocollapse */ /** @nocollapse */ ListMasonryGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ListMasonryGridComponent, deps: [{ token: i1.AuthService }, { token: i2.Router }, { token: i3.AlertService }, { token: i0.ChangeDetectorRef }, { token: i4.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
58
+ /** @nocollapse */ /** @nocollapse */ ListMasonryGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ListMasonryGridComponent, selector: "smart-list-masonry-grid", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: ["#container{grid-row-gap:12px;row-gap:12px;grid-column-gap:12px;column-gap:12px}#container ion-card{width:100%;margin:.6rem 0;page-break-inside:avoid;break-inside:avoid;border:.1rem solid #f4f4f4}#container ion-card h3{color:#333}#container ion-card p{color:#666}#container ion-card ion-card-content{max-height:48rem;overflow:hidden}#container ion-card ion-card-content:after{content:\"\";display:block;width:100%;height:3.2rem;background-image:linear-gradient(90deg,transparent,#FFF);position:absolute;bottom:0}@media screen and (max-width: 480px){#container{columns:1}}@media screen and (min-width: 481px) and (max-width: 768px){#container{columns:2}}@media screen and (min-width: 769px) and (max-width: 1023px){#container{columns:3}}@media screen and (min-width: 1024px) and (max-width: 1599px){#container{columns:4}}@media screen and (min-width: 1600px){#container{columns:6}}\n"], components: [{ type: i5.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { type: i5.IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { type: i5.IonRow, selector: "ion-row" }, { type: i5.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { type: i5.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { type: i5.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { type: i5.IonInfiniteScroll, selector: "ion-infinite-scroll", inputs: ["disabled", "position", "threshold"] }, { type: i5.IonInfiniteScrollContent, selector: "ion-infinite-scroll-content", inputs: ["loadingSpinner", "loadingText"] }, { type: i6.PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }], directives: [{ type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i7.AsyncPipe, "smartFileUrl": i8.FileUrlPipe, "smartListCell": i9.ListCellPipe } });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ListMasonryGridComponent, decorators: [{
60
+ type: Component,
61
+ args: [{ selector: "smart-list-masonry-grid", template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: ["#container{grid-row-gap:12px;row-gap:12px;grid-column-gap:12px;column-gap:12px}#container ion-card{width:100%;margin:.6rem 0;page-break-inside:avoid;break-inside:avoid;border:.1rem solid #f4f4f4}#container ion-card h3{color:#333}#container ion-card p{color:#666}#container ion-card ion-card-content{max-height:48rem;overflow:hidden}#container ion-card ion-card-content:after{content:\"\";display:block;width:100%;height:3.2rem;background-image:linear-gradient(90deg,transparent,#FFF);position:absolute;bottom:0}@media screen and (max-width: 480px){#container{columns:1}}@media screen and (min-width: 481px) and (max-width: 768px){#container{columns:2}}@media screen and (min-width: 769px) and (max-width: 1023px){#container{columns:3}}@media screen and (min-width: 1024px) and (max-width: 1599px){#container{columns:4}}@media screen and (min-width: 1600px){#container{columns:6}}\n"] }]
62
+ }], ctorParameters: function () { return [{ type: i1.AuthService }, { type: i2.Router }, { type: i3.AlertService }, { type: i0.ChangeDetectorRef }, { type: i4.TranslateService }]; }, propDecorators: { topTpl: [{
63
+ type: ViewChild,
64
+ args: ["topTpl", { read: ViewContainerRef, static: true }]
65
+ }] } });
66
+ //# sourceMapping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ZWxkT3B0aW9ucy5maW5kKGl0ZW0gPT4gaXRlbS5vcHRpb25zLnR5cGUgPT09IEZpZWxkVHlwZS5pbWFnZSk7XG5cbiAgICAgICAgdGhpcy5saXN0V2l0aEltYWdlcyQgPSB0aGlzLmxpc3QkLnBpcGUoXG4gICAgICAgICAgICBtYXAobGlzdCA9PiB7XG4gICAgICAgICAgICAgIGlmICghbGlzdCkgcmV0dXJuIG51bGw7XG5cbiAgICAgICAgICAgICAgcmV0dXJuIGxpc3QubWFwKGl0ZW0gPT4ge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgICBkYXRhOiBpdGVtLFxuICAgICAgICAgICAgICAgICAgICAgIGltYWdlOiBpdGVtW2ltYWdlRmllbGRPcHRpb25zLmtleV1cbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KVxuICAgICAgICApO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBpbml0TGlzdCh2YWw6IElMaXN0SW50ZXJuYWxPcHRpb25zPFQ+KTogdm9pZCB7XG4gICAgICAgIHN1cGVyLmluaXRMaXN0KHZhbCk7XG5cbiAgICAgICAgdGhpcy5jb21wb25lbnRGYWN0b3JpZXMgPSB2YWwuY29tcG9uZW50RmFjdG9yaWVzO1xuXG4gICAgICAgIHRoaXMuZ2VuZXJhdGVEeW5hbWljQ29tcG9uZW50cygpO1xuICAgIH1cblxuICAgIHByaXZhdGUgZ2VuZXJhdGVEeW5hbWljQ29tcG9uZW50cygpOiB2b2lkIHtcbiAgICAgICAgaWYgKCF0aGlzLmNvbXBvbmVudEZhY3RvcmllcykgcmV0dXJuO1xuXG4gICAgICAgIGlmICh0aGlzLmNvbXBvbmVudEZhY3Rvcmllcy50b3AgJiYgdGhpcy50b3BUcGwpIHtcbiAgICAgICAgICAgIGlmICghdGhpcy50b3BUcGwuZ2V0KDApKSB7XG4gICAgICAgICAgICAgICAgdGhpcy50b3BU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tpbm5lckhUTUxdPVwiY2VsbC52YWx1ZVwiPjwvcD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvaW9uLWNhcmQtY29udGVudD5cblxuICAgICAgICAgICAgPGlvbi1yb3c+XG4gICAgICAgICAgICAgICAgPGlvbi1jb2wgc2l6ZT1cImF1dG9cIiAqbmdJZj1cInJlbW92ZUhhbmRsZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgPGlvbi1idXR0b24gKGNsaWNrKT1cInJlbW92ZUhhbmRsZXIgJiYgcmVtb3ZlSGFuZGxlcihpdGVtLmRhdGEpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cImljb24tb25seVwiIG5hbWU9XCJ0cmFzaFwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgIDwvaW9uLWJ1dHRvbj5cbiAgICAgICAgICAgICAgICA8L2lvbi1jb2w+XG4gICAgICAgICAgICAgICAgPGlvbi1jb2w+XG5cbiAgICAgICAgICAgICAgICA8L2lvbi1jb2w+XG4gICAgICAgICAgICAgICAgPGlvbi1jb2wgc2l6ZT1cImF1dG9cIiAqbmdJZj1cIml0ZW1IYW5kbGVyXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tYnV0dG9uIChjbGljayk9XCJpdGVtSGFuZGxlciAmJiBpdGVtSGFuZGxlcihpdGVtLmRhdGEuaWQpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cImljb24tb25seVwiIG5hbWU9XCJhcnJvdy1mb3J3YXJkLW91dGxpbmVcIj48L2lvbi1pY29uPlxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1idXR0b24+XG4gICAgICAgICAgICAgICAgPC9pb24tY29sPlxuICAgICAgICAgICAgPC9pb24tcm93PlxuICAgICAgICA8L2lvbi1jYXJkPlxuICAgIDwvZGl2PlxuPC9kaXY+XG5cbjxpb24taW5maW5pdGUtc2Nyb2xsIHRocmVzaG9sZD1cIjEwMHB4XCJcbiAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwibG9hZE5leHRQYWdlICYmIChsaXN0JCB8IGFzeW5jKT8ubGVuZ3RoICYmIG9wdGlvbnMucGFnaW5hdGlvbj8ubW9kZSAhPT0gUGFnaW5hdGlvbk1vZGUuc2luZ2xlUGFnZVwiXG4gICAgICAgICAgICAgICAgICAgICAoaW9uSW5maW5pdGUpPVwibG9hZE5leHRQYWdlKCRldmVudClcIlxuPlxuICAgIDxpb24taW5maW5pdGUtc2Nyb2xsLWNvbnRlbnQgbG9hZGluZ1NwaW5uZXI9XCJjaXJjbGVzXCI+XG4gICAgPC9pb24taW5maW5pdGUtc2Nyb2xsLWNvbnRlbnQ+XG48L2lvbi1pbmZpbml0ZS1zY3JvbGw+XG5cbjxzbWFydC1wYWdpbmcgKm5nSWY9XCJvcHRpb25zPy5wYWdpbmF0aW9uPy5tb2RlID09PSBQYWdpbmF0aW9uTW9kZS5zaW5nbGVQYWdlXCJcbiAgICAgICAgICAgICAgW3BhZ2VdPVwicGFnZSQgfCBhc3luY1wiXG4gICAgICAgICAgICAgIFt0b3RhbFBhZ2VzXT1cInRvdGFsUGFnZXMkIHwgYXN5bmNcIlxuICAgICAgICAgICAgICAocHJldlBhZ2UpPVwibG9hZFByZXZQYWdlKClcIlxuICAgICAgICAgICAgICAobmV4dFBhZ2UpPVwibG9hZE5leHRQYWdlKClcIlxuPjwvc21hcnQtcGFnaW5nPlxuIl19
@@ -0,0 +1,49 @@
1
+ import { ChangeDetectorRef, Component, ViewChild, ViewContainerRef } from "@angular/core";
2
+ import { Router } from "@angular/router";
3
+ import { TranslateService } from "@ngx-translate/core";
4
+ import { ListBaseComponent } from "../base/base.component";
5
+ import { AlertService } from "../../../services/alert/alert.service";
6
+ import { AuthService } from "../../../services/auth/auth.service";
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../../../services/auth/auth.service";
9
+ import * as i2 from "@angular/router";
10
+ import * as i3 from "../../../services/alert/alert.service";
11
+ import * as i4 from "@ngx-translate/core";
12
+ import * as i5 from "@ionic/angular";
13
+ import * as i6 from "../../paging/paging.component";
14
+ import * as i7 from "@angular/common";
15
+ import * as i8 from "ng-lazyload-image";
16
+ import * as i9 from "../../../pipes/list-cell/list-cell.pipe";
17
+ import * as i10 from "../../../pipes/file-url/file-url.pipe";
18
+ export class ListMobileComponent extends ListBaseComponent {
19
+ constructor(authService, router, alertService, cd, translateService) {
20
+ super(authService, router, alertService, cd, translateService);
21
+ }
22
+ initList(val) {
23
+ super.initList(val);
24
+ this.componentFactories = val.componentFactories;
25
+ this.generateDynamicComponents();
26
+ }
27
+ ngAfterViewInit() {
28
+ this.generateDynamicComponents();
29
+ }
30
+ generateDynamicComponents() {
31
+ if (!this.componentFactories)
32
+ return;
33
+ if (this.componentFactories.top && this.topTpl) {
34
+ if (!this.topTpl.get(0)) {
35
+ this.topTpl.createComponent(this.componentFactories.top);
36
+ }
37
+ }
38
+ }
39
+ }
40
+ /** @nocollapse */ /** @nocollapse */ ListMobileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ListMobileComponent, deps: [{ token: i1.AuthService }, { token: i2.Router }, { token: i3.AlertService }, { token: i0.ChangeDetectorRef }, { token: i4.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
41
+ /** @nocollapse */ /** @nocollapse */ ListMobileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ListMobileComponent, selector: "smart-list-mobile", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ion-list>\n <ion-item-sliding *ngFor=\"let item of list$ | async\">\n <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler && removeHandler(item)\" *ngIf=\"removeHandler\">\n <ion-item-option color=\"danger\" expandable (click)=\"removeHandler && removeHandler(item)\">\n {{ 'delete' | translate }}\n </ion-item-option>\n </ion-item-options>\n\n <ion-item (click)='itemHandler ? itemHandler(item.id) : unselect && unselect()'>\n <ion-label>\n <ng-container *ngFor=\"let key of keys; let first = first\">\n <ng-container *ngIf=\"item | smartListCell : key : cellPipe : type; let cell\">\n <ng-container [ngSwitch]=\"cell.type\">\n <img [attr.smart-item-key]=\"key\" *ngSwitchCase=\"FieldType.image\" height=\"100\" [lazyLoad]=\"cell.value | smartFileUrl\"> \n <ng-container *ngSwitchDefault>\n <h2 [attr.smart-item-key]=\"key\" *ngIf='first' [innerHTML]=\"cell.value\"></h2>\n <p [attr.smart-item-key]=\"key\" *ngIf='!first' [innerHTML]=\"cell.value\"></p>\n </ng-container> \n </ng-container>\n </ng-container>\n </ng-container>\n </ion-label>\n </ion-item>\n </ion-item-sliding>\n</ion-list>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}ion-item{padding-left:1.2rem}\n"], components: [{ type: i5.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { type: i5.IonItemSliding, selector: "ion-item-sliding", inputs: ["disabled"] }, { type: i5.IonItemOptions, selector: "ion-item-options", inputs: ["side"] }, { type: i5.IonItemOption, selector: "ion-item-option", inputs: ["color", "disabled", "download", "expandable", "href", "mode", "rel", "target", "type"] }, { type: i5.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { type: i5.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { type: i5.IonInfiniteScroll, selector: "ion-infinite-scroll", inputs: ["disabled", "position", "threshold"] }, { type: i5.IonInfiniteScrollContent, selector: "ion-infinite-scroll-content", inputs: ["loadingSpinner", "loadingText"] }, { type: i6.PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }], directives: [{ type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i7.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i8.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { type: i7.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "async": i7.AsyncPipe, "translate": i4.TranslatePipe, "smartListCell": i9.ListCellPipe, "smartFileUrl": i10.FileUrlPipe } });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ListMobileComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: "smart-list-mobile", template: "<div #topTpl></div>\n\n<ion-list>\n <ion-item-sliding *ngFor=\"let item of list$ | async\">\n <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler && removeHandler(item)\" *ngIf=\"removeHandler\">\n <ion-item-option color=\"danger\" expandable (click)=\"removeHandler && removeHandler(item)\">\n {{ 'delete' | translate }}\n </ion-item-option>\n </ion-item-options>\n\n <ion-item (click)='itemHandler ? itemHandler(item.id) : unselect && unselect()'>\n <ion-label>\n <ng-container *ngFor=\"let key of keys; let first = first\">\n <ng-container *ngIf=\"item | smartListCell : key : cellPipe : type; let cell\">\n <ng-container [ngSwitch]=\"cell.type\">\n <img [attr.smart-item-key]=\"key\" *ngSwitchCase=\"FieldType.image\" height=\"100\" [lazyLoad]=\"cell.value | smartFileUrl\"> \n <ng-container *ngSwitchDefault>\n <h2 [attr.smart-item-key]=\"key\" *ngIf='first' [innerHTML]=\"cell.value\"></h2>\n <p [attr.smart-item-key]=\"key\" *ngIf='!first' [innerHTML]=\"cell.value\"></p>\n </ng-container> \n </ng-container>\n </ng-container>\n </ng-container>\n </ion-label>\n </ion-item>\n </ion-item-sliding>\n</ion-list>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}ion-item{padding-left:1.2rem}\n"] }]
45
+ }], ctorParameters: function () { return [{ type: i1.AuthService }, { type: i2.Router }, { type: i3.AlertService }, { type: i0.ChangeDetectorRef }, { type: i4.TranslateService }]; }, propDecorators: { topTpl: [{
46
+ type: ViewChild,
47
+ args: ["topTpl", { read: ViewContainerRef, static: true }]
48
+ }] } });
49
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9iaWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2xpc3QvbW9iaWxlL21vYmlsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9saXN0L21vYmlsZS9tb2JpbGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ik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FydC1pdGVtLWtleV09XCJrZXlcIiAqbmdJZj0nZmlyc3QnIFtpbm5lckhUTUxdPVwiY2VsbC52YWx1ZVwiPjwvaDI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cCAgW2F0dHIuc21hcnQtaXRlbS1rZXldPVwia2V5XCIgKm5nSWY9JyFmaXJzdCcgW2lubmVySFRNTF09XCJjZWxsLnZhbHVlXCI+PC9wPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj4gICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvaW9uLWxhYmVsPlxuICAgICAgICA8L2lvbi1pdGVtPlxuICAgIDwvaW9uLWl0ZW0tc2xpZGluZz5cbjwvaW9uLWxpc3Q+XG5cbjxpb24taW5maW5pdGUtc2Nyb2xsIHRocmVzaG9sZD1cIjEwMHB4XCJcbiAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwibG9hZE5leHRQYWdlICYmIChsaXN0JCB8IGFzeW5jKT8ubGVuZ3RoICYmIG9wdGlvbnMucGFnaW5hdGlvbj8ubW9kZSAhPT0gUGFnaW5hdGlvbk1vZGUuc2luZ2xlUGFnZVwiXG4gICAgICAgICAgICAgICAgICAgICAoaW9uSW5maW5pdGUpPVwibG9hZE5leHRQYWdlKCRldmVudClcIlxuPlxuICAgIDxpb24taW5maW5pdGUtc2Nyb2xsLWNvbnRlbnQgbG9hZGluZ1NwaW5uZXI9XCJjaXJjbGVzXCI+XG4gICAgPC9pb24taW5maW5pdGUtc2Nyb2xsLWNvbnRlbnQ+XG48L2lvbi1pbmZpbml0ZS1zY3JvbGw+XG5cbjxzbWFydC1wYWdpbmcgKm5nSWY9XCJvcHRpb25zPy5wYWdpbmF0aW9uPy5tb2RlID09PSBQYWdpbmF0aW9uTW9kZS5zaW5nbGVQYWdlXCJcbiAgICAgICAgICAgICAgW3BhZ2VdPVwicGFnZSQgfCBhc3luY1wiXG4gICAgICAgICAgICAgIFt0b3RhbFBhZ2VzXT1cInRvdGFsUGFnZXMkIHwgYXN5bmNcIlxuICAgICAgICAgICAgICAocHJldlBhZ2UpPVwibG9hZFByZXZQYWdlKClcIlxuICAgICAgICAgICAgICAobmV4dFBhZ2UpPVwibG9hZE5leHRQYWdlKClcIlxuPjwvc21hcnQtcGFnaW5nPlxuIl19
@@ -0,0 +1,17 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ionic/angular";
4
+ import * as i2 from "@angular/common";
5
+ export class LoaderComponent {
6
+ }
7
+ /** @nocollapse */ /** @nocollapse */ LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
+ /** @nocollapse */ /** @nocollapse */ LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: LoaderComponent, selector: "smart-loader", inputs: { show: "show", height: "height" }, ngImport: i0, template: '<ion-spinner *ngIf="show" [style.height]="height"></ion-spinner>', isInline: true, styles: [""], components: [{ type: i1.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderComponent, decorators: [{
10
+ type: Component,
11
+ args: [{ selector: 'smart-loader', template: '<ion-spinner *ngIf="show" [style.height]="height"></ion-spinner>', styles: [""] }]
12
+ }], propDecorators: { show: [{
13
+ type: Input
14
+ }], height: [{
15
+ type: Input
16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renderer2, Directive, ViewChild, ViewContainerRef, } from "@angular/core";
2
+ import { Location } from '@angular/common';
3
+ import { PopoverController } from "@ionic/angular";
4
+ import { Subscription } from "rxjs";
5
+ import { AppService } from "../../../services/app/app.service";
6
+ import { HardwareService } from "../../../services/hardware/hardware.service";
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/common";
9
+ import * as i2 from "@ionic/angular";
10
+ import * as i3 from "../../../services/app/app.service";
11
+ import * as i4 from "../../../services/hardware/hardware.service";
12
+ export class PageBaseComponent {
13
+ constructor(el, renderer, location, popover, appService, hardwareService) {
14
+ this.el = el;
15
+ this.renderer = renderer;
16
+ this.location = location;
17
+ this.popover = popover;
18
+ this.appService = appService;
19
+ this.hardwareService = hardwareService;
20
+ this._subscriptions = new Subscription();
21
+ }
22
+ set options(val) {
23
+ this._options = val;
24
+ }
25
+ get options() {
26
+ return this._options;
27
+ }
28
+ get isMobile() {
29
+ return this.hardwareService.isMobile || this.hardwareService.isMobileWeb;
30
+ }
31
+ back() {
32
+ this.location.back();
33
+ }
34
+ async presentPopover(ev, btn) {
35
+ const instance = await this.popover.create({
36
+ event: ev,
37
+ component: btn.component,
38
+ translucent: true
39
+ });
40
+ await instance.present();
41
+ }
42
+ ngOnInit() {
43
+ this.renderer.setStyle(this.el.nativeElement, 'height', '100%');
44
+ }
45
+ ngOnDestroy() {
46
+ if (this._subscriptions) {
47
+ this._subscriptions.unsubscribe();
48
+ }
49
+ }
50
+ }
51
+ PageBaseComponent.smartType = "page";
52
+ /** @nocollapse */ /** @nocollapse */ PageBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PageBaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.Location }, { token: i2.PopoverController }, { token: i3.AppService }, { token: i4.HardwareService }], target: i0.ɵɵFactoryTarget.Directive });
53
+ /** @nocollapse */ /** @nocollapse */ PageBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: PageBaseComponent, inputs: { options: "options" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 });
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PageBaseComponent, decorators: [{
55
+ type: Directive
56
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.Location }, { type: i2.PopoverController }, { type: i3.AppService }, { type: i4.HardwareService }]; }, propDecorators: { options: [{
57
+ type: Input
58
+ }], contentTpl: [{
59
+ type: ViewChild,
60
+ args: ["contentTpl", { read: ViewContainerRef, static: true }]
61
+ }] } });
62
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9wYWdlL2Jhc2UvYmFzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFVBQVUsRUFDVixLQUFLLEVBR0wsU0FBUyxFQUNULFNBQVMsRUFDVCxTQUFTLEVBQ1QsZ0JBQWdCLEdBQ25CLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRCxPQUFPLEVBQUUsWUFBWSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBR25DLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUM3RCxPQUFPLEVBQU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IHtcbiAgICAgICAgaWYgKHRoaXMuX3N1YnNjcmlwdGlvbnMpIHtcbiAgICAgICAgICAgIHRoaXMuX3N1YnNjcmlwdGlvbnMudW5zdWJzY3JpYmUoKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
@@ -0,0 +1,66 @@
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactoryResolver, ElementRef, Input, NgModuleRef, QueryList, Renderer2, TemplateRef, ViewChild, ViewChildren, } from "@angular/core";
2
+ import { DynamicContentDirective } from "../../directives/dynamic-content/dynamic-content.directive";
3
+ import { CreateDynamicComponent } from "../base";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "./standard/standard.component";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "../../directives/dynamic-content/dynamic-content.directive";
8
+ export class PageComponent extends CreateDynamicComponent('page') {
9
+ constructor(el, cd, renderer, moduleRef, componentFactoryResolver) {
10
+ super(cd, moduleRef, componentFactoryResolver);
11
+ this.el = el;
12
+ this.cd = cd;
13
+ this.renderer = renderer;
14
+ this.moduleRef = moduleRef;
15
+ this.componentFactoryResolver = componentFactoryResolver;
16
+ this.dynamicContents = new QueryList();
17
+ }
18
+ set options(val) {
19
+ this._options = val;
20
+ this.refreshDynamicInstance();
21
+ }
22
+ get options() {
23
+ return this._options;
24
+ }
25
+ ngOnInit() {
26
+ this.renderer.setStyle(this.el.nativeElement, 'height', '100%');
27
+ }
28
+ refreshProperties() {
29
+ this.baseInstance.options = this.options;
30
+ }
31
+ }
32
+ /** @nocollapse */ /** @nocollapse */ PageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PageComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.NgModuleRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
33
+ /** @nocollapse */ /** @nocollapse */ PageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: PageComponent, selector: "smart-page", inputs: { options: "options" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: TemplateRef }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, read: DynamicContentDirective }], usesInheritance: true, ngImport: i0, template: `
34
+ <smart-page-standard *ngIf="template === 'default'" [options]="options">
35
+ <ng-container [ngTemplateOutlet]="contentTpl"></ng-container>
36
+ </smart-page-standard>
37
+ <ng-template #contentTpl>
38
+ <ng-content></ng-content>
39
+ </ng-template>
40
+ <div class="dynamic-content"></div>
41
+ `, isInline: true, components: [{ type: i1.PageStandardComponent, selector: "smart-page-standard" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.DynamicContentDirective, selector: ".dynamic-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PageComponent, decorators: [{
43
+ type: Component,
44
+ args: [{
45
+ selector: 'smart-page',
46
+ template: `
47
+ <smart-page-standard *ngIf="template === 'default'" [options]="options">
48
+ <ng-container [ngTemplateOutlet]="contentTpl"></ng-container>
49
+ </smart-page-standard>
50
+ <ng-template #contentTpl>
51
+ <ng-content></ng-content>
52
+ </ng-template>
53
+ <div class="dynamic-content"></div>
54
+ `,
55
+ changeDetection: ChangeDetectionStrategy.OnPush
56
+ }]
57
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.NgModuleRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { options: [{
58
+ type: Input
59
+ }], contentTpl: [{
60
+ type: ViewChild,
61
+ args: ["contentTpl", { read: TemplateRef, static: false }]
62
+ }], dynamicContents: [{
63
+ type: ViewChildren,
64
+ args: [DynamicContentDirective, { read: DynamicContentDirective }]
65
+ }] } });
66
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9wYWdlL3BhZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFSCx1QkFBdUIsRUFBRSxpQkFBaUIsRUFDMUMsU0FBUyxFQUFFLHdCQUF3QixFQUNuQyxVQUFVLEVBQ1YsS0FBSyxFQUFFLFdBQVcsRUFDVixTQUFTLEVBQ2pCLFNBQVMsRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLFlBQVksR0FDbEQsTUFBTSxlQUFlLENBQUM7QUFHdkIsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sNERBQTRELENBQUM7QUFFbkcsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sU0FBUyxDQUFDOzs7OztBQWUvQyxNQUFNLE9BQU8sYUFBYyxTQUFRLHNCQUFzQixDQUFvQixNQUFNLENBQUM7SUFpQmhGLFlBQ1ksRUFBYyxFQUNkLEVBQXFCLEVBQ3JCLFFBQW1CLEVBQ25CLFNBQTJCLEVBQzNCLHdCQUFrRDtRQUUxRCxLQUFLLENBQUMsRUFBRSxFQUFFLFNBQVMsRUFBRSx3QkFBd0IsQ0FBQyxDQUFDO1FBTnZDLE9BQUUsR0FBRixFQUFFLENBQVk7UUFDZCxPQUFFLEdBQUYsRUFBRSxDQUFtQjtRQUNyQixhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQ25CLGNBQVMsR0FBVCxTQUFTLENBQWtCO1FBQz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