@smartsoft001/angular 1.1.605 → 1.1.609

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 (319) hide show
  1. package/bundles/smartsoft001-angular.umd.js +929 -158
  2. package/bundles/smartsoft001-angular.umd.js.map +1 -1
  3. package/esm2015/lib/+state/error.effects.js +8 -1
  4. package/esm2015/lib/+state/error.effects.js.map +1 -1
  5. package/esm2015/lib/components/accordion/accordion.component.js +10 -2
  6. package/esm2015/lib/components/accordion/accordion.component.js.map +1 -1
  7. package/esm2015/lib/components/accordion/accordion.component.metadata.json +1 -1
  8. package/esm2015/lib/components/accordion/body/body.component.js +9 -2
  9. package/esm2015/lib/components/accordion/body/body.component.js.map +1 -1
  10. package/esm2015/lib/components/accordion/body/body.component.metadata.json +1 -1
  11. package/esm2015/lib/components/accordion/header/header.component.js +9 -2
  12. package/esm2015/lib/components/accordion/header/header.component.js.map +1 -1
  13. package/esm2015/lib/components/accordion/header/header.component.metadata.json +1 -1
  14. package/esm2015/lib/components/app/base/base.component.js +9 -1
  15. package/esm2015/lib/components/app/base/base.component.js.map +1 -1
  16. package/esm2015/lib/components/app/split-panel/split-panel.component.js +10 -2
  17. package/esm2015/lib/components/app/split-panel/split-panel.component.js.map +1 -1
  18. package/esm2015/lib/components/app/split-panel/split-panel.component.metadata.json +1 -1
  19. package/esm2015/lib/components/base/base.component.js +1 -0
  20. package/esm2015/lib/components/base/base.component.js.map +1 -1
  21. package/esm2015/lib/components/button/button.component.js +10 -2
  22. package/esm2015/lib/components/button/button.component.js.map +1 -1
  23. package/esm2015/lib/components/button/button.component.metadata.json +1 -1
  24. package/esm2015/lib/components/card/card.component.js +10 -2
  25. package/esm2015/lib/components/card/card.component.js.map +1 -1
  26. package/esm2015/lib/components/card/card.component.metadata.json +1 -1
  27. package/esm2015/lib/components/chart/bar/bar.component.js +9 -1
  28. package/esm2015/lib/components/chart/bar/bar.component.js.map +1 -1
  29. package/esm2015/lib/components/chart/base/base.component.js +8 -1
  30. package/esm2015/lib/components/chart/base/base.component.js.map +1 -1
  31. package/esm2015/lib/components/chart/chart.component.js +9 -1
  32. package/esm2015/lib/components/chart/chart.component.js.map +1 -1
  33. package/esm2015/lib/components/chart/line/line.component.js +9 -1
  34. package/esm2015/lib/components/chart/line/line.component.js.map +1 -1
  35. package/esm2015/lib/components/components.module.js +1 -0
  36. package/esm2015/lib/components/components.module.js.map +1 -1
  37. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  38. package/esm2015/lib/components/date-edit/date-edit.component.js +10 -2
  39. package/esm2015/lib/components/date-edit/date-edit.component.js.map +1 -1
  40. package/esm2015/lib/components/date-edit/date-edit.component.metadata.json +1 -1
  41. package/esm2015/lib/components/date-range/date-range.component.js +19 -3
  42. package/esm2015/lib/components/date-range/date-range.component.js.map +1 -1
  43. package/esm2015/lib/components/date-range/date-range.component.metadata.json +1 -1
  44. package/esm2015/lib/components/detail/address/address.component.js +1 -0
  45. package/esm2015/lib/components/detail/address/address.component.js.map +1 -1
  46. package/esm2015/lib/components/detail/array/array.component.js +2 -1
  47. package/esm2015/lib/components/detail/array/array.component.js.map +1 -1
  48. package/esm2015/lib/components/detail/array/array.component.metadata.json +1 -1
  49. package/esm2015/lib/components/detail/attachment/attachment.component.js +8 -1
  50. package/esm2015/lib/components/detail/attachment/attachment.component.js.map +1 -1
  51. package/esm2015/lib/components/detail/base/base.component.js +9 -1
  52. package/esm2015/lib/components/detail/base/base.component.js.map +1 -1
  53. package/esm2015/lib/components/detail/color/color.component.js +2 -1
  54. package/esm2015/lib/components/detail/color/color.component.js.map +1 -1
  55. package/esm2015/lib/components/detail/color/color.component.metadata.json +1 -1
  56. package/esm2015/lib/components/detail/date-range/date-range.component.js +1 -0
  57. package/esm2015/lib/components/detail/date-range/date-range.component.js.map +1 -1
  58. package/esm2015/lib/components/detail/detail.component.js +10 -2
  59. package/esm2015/lib/components/detail/detail.component.js.map +1 -1
  60. package/esm2015/lib/components/detail/detail.component.metadata.json +1 -1
  61. package/esm2015/lib/components/detail/email/email.component.js +2 -1
  62. package/esm2015/lib/components/detail/email/email.component.js.map +1 -1
  63. package/esm2015/lib/components/detail/email/email.component.metadata.json +1 -1
  64. package/esm2015/lib/components/detail/enum/enum.component.js +1 -0
  65. package/esm2015/lib/components/detail/enum/enum.component.js.map +1 -1
  66. package/esm2015/lib/components/detail/flag/flag.component.js +1 -0
  67. package/esm2015/lib/components/detail/flag/flag.component.js.map +1 -1
  68. package/esm2015/lib/components/detail/image/image.component.js +8 -1
  69. package/esm2015/lib/components/detail/image/image.component.js.map +1 -1
  70. package/esm2015/lib/components/detail/logo/logo.component.js +1 -0
  71. package/esm2015/lib/components/detail/logo/logo.component.js.map +1 -1
  72. package/esm2015/lib/components/detail/object/object.component.js +1 -0
  73. package/esm2015/lib/components/detail/object/object.component.js.map +1 -1
  74. package/esm2015/lib/components/detail/pdf/pdf.component.js +8 -1
  75. package/esm2015/lib/components/detail/pdf/pdf.component.js.map +1 -1
  76. package/esm2015/lib/components/detail/text/text.component.js +1 -0
  77. package/esm2015/lib/components/detail/text/text.component.js.map +1 -1
  78. package/esm2015/lib/components/detail/video/video.component.js +8 -1
  79. package/esm2015/lib/components/detail/video/video.component.js.map +1 -1
  80. package/esm2015/lib/components/details/base/base.component.js +9 -1
  81. package/esm2015/lib/components/details/base/base.component.js.map +1 -1
  82. package/esm2015/lib/components/details/details.component.js +2 -0
  83. package/esm2015/lib/components/details/details.component.js.map +1 -1
  84. package/esm2015/lib/components/details/standard/standard.component.js +2 -1
  85. package/esm2015/lib/components/details/standard/standard.component.js.map +1 -1
  86. package/esm2015/lib/components/details/standard/standard.component.metadata.json +1 -1
  87. package/esm2015/lib/components/dynamic/dynamic.component.js +9 -1
  88. package/esm2015/lib/components/dynamic/dynamic.component.js.map +1 -1
  89. package/esm2015/lib/components/error-context/error-context.component.js +8 -1
  90. package/esm2015/lib/components/error-context/error-context.component.js.map +1 -1
  91. package/esm2015/lib/components/export/export.component.js +10 -2
  92. package/esm2015/lib/components/export/export.component.js.map +1 -1
  93. package/esm2015/lib/components/export/export.component.metadata.json +1 -1
  94. package/esm2015/lib/components/form/base/base.component.js +9 -1
  95. package/esm2015/lib/components/form/base/base.component.js.map +1 -1
  96. package/esm2015/lib/components/form/form.component.js +9 -1
  97. package/esm2015/lib/components/form/form.component.js.map +1 -1
  98. package/esm2015/lib/components/form/standard/standard.component.js +2 -1
  99. package/esm2015/lib/components/form/standard/standard.component.js.map +1 -1
  100. package/esm2015/lib/components/form/standard/standard.component.metadata.json +1 -1
  101. package/esm2015/lib/components/form/stepper/stepper.component.js +9 -2
  102. package/esm2015/lib/components/form/stepper/stepper.component.js.map +1 -1
  103. package/esm2015/lib/components/form/stepper/stepper.component.metadata.json +1 -1
  104. package/esm2015/lib/components/grid/column/column.component.js +9 -1
  105. package/esm2015/lib/components/grid/column/column.component.js.map +1 -1
  106. package/esm2015/lib/components/grid/grid.component.js +10 -2
  107. package/esm2015/lib/components/grid/grid.component.js.map +1 -1
  108. package/esm2015/lib/components/grid/grid.component.metadata.json +1 -1
  109. package/esm2015/lib/components/grid/row/row.component.js +9 -1
  110. package/esm2015/lib/components/grid/row/row.component.js.map +1 -1
  111. package/esm2015/lib/components/import/import.component.js +10 -2
  112. package/esm2015/lib/components/import/import.component.js.map +1 -1
  113. package/esm2015/lib/components/import/import.component.metadata.json +1 -1
  114. package/esm2015/lib/components/info/info.component.js +18 -3
  115. package/esm2015/lib/components/info/info.component.js.map +1 -1
  116. package/esm2015/lib/components/info/info.component.metadata.json +1 -1
  117. package/esm2015/lib/components/input/address/address.component.js +9 -2
  118. package/esm2015/lib/components/input/address/address.component.js.map +1 -1
  119. package/esm2015/lib/components/input/address/address.component.metadata.json +1 -1
  120. package/esm2015/lib/components/input/array/array.component.js +9 -2
  121. package/esm2015/lib/components/input/array/array.component.js.map +1 -1
  122. package/esm2015/lib/components/input/array/array.component.metadata.json +1 -1
  123. package/esm2015/lib/components/input/attachment/attachment.component.js +8 -1
  124. package/esm2015/lib/components/input/attachment/attachment.component.js.map +1 -1
  125. package/esm2015/lib/components/input/base/base.component.js +9 -1
  126. package/esm2015/lib/components/input/base/base.component.js.map +1 -1
  127. package/esm2015/lib/components/input/base/file.component.js +9 -1
  128. package/esm2015/lib/components/input/base/file.component.js.map +1 -1
  129. package/esm2015/lib/components/input/base/possibilities.component.js +8 -1
  130. package/esm2015/lib/components/input/base/possibilities.component.js.map +1 -1
  131. package/esm2015/lib/components/input/check/check.component.js +9 -2
  132. package/esm2015/lib/components/input/check/check.component.js.map +1 -1
  133. package/esm2015/lib/components/input/check/check.component.metadata.json +1 -1
  134. package/esm2015/lib/components/input/color/color.component.js +9 -2
  135. package/esm2015/lib/components/input/color/color.component.js.map +1 -1
  136. package/esm2015/lib/components/input/color/color.component.metadata.json +1 -1
  137. package/esm2015/lib/components/input/currency/currency.component.js +9 -2
  138. package/esm2015/lib/components/input/currency/currency.component.js.map +1 -1
  139. package/esm2015/lib/components/input/currency/currency.component.metadata.json +1 -1
  140. package/esm2015/lib/components/input/date/date.component.js +9 -2
  141. package/esm2015/lib/components/input/date/date.component.js.map +1 -1
  142. package/esm2015/lib/components/input/date/date.component.metadata.json +1 -1
  143. package/esm2015/lib/components/input/date-range/date-range.component.js +8 -1
  144. package/esm2015/lib/components/input/date-range/date-range.component.js.map +1 -1
  145. package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js +10 -2
  146. package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js.map +1 -1
  147. package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.metadata.json +1 -1
  148. package/esm2015/lib/components/input/email/email.component.js +9 -2
  149. package/esm2015/lib/components/input/email/email.component.js.map +1 -1
  150. package/esm2015/lib/components/input/email/email.component.metadata.json +1 -1
  151. package/esm2015/lib/components/input/enum/enum.component.js +9 -2
  152. package/esm2015/lib/components/input/enum/enum.component.js.map +1 -1
  153. package/esm2015/lib/components/input/enum/enum.component.metadata.json +1 -1
  154. package/esm2015/lib/components/input/error/error.component.js +3 -1
  155. package/esm2015/lib/components/input/error/error.component.js.map +1 -1
  156. package/esm2015/lib/components/input/error/error.component.metadata.json +1 -1
  157. package/esm2015/lib/components/input/file/file.component.js +10 -2
  158. package/esm2015/lib/components/input/file/file.component.js.map +1 -1
  159. package/esm2015/lib/components/input/file/file.component.metadata.json +1 -1
  160. package/esm2015/lib/components/input/flag/flag.component.js +9 -2
  161. package/esm2015/lib/components/input/flag/flag.component.js.map +1 -1
  162. package/esm2015/lib/components/input/flag/flag.component.metadata.json +1 -1
  163. package/esm2015/lib/components/input/float/float.component.js +9 -2
  164. package/esm2015/lib/components/input/float/float.component.js.map +1 -1
  165. package/esm2015/lib/components/input/float/float.component.metadata.json +1 -1
  166. package/esm2015/lib/components/input/image/image.component.js +8 -1
  167. package/esm2015/lib/components/input/image/image.component.js.map +1 -1
  168. package/esm2015/lib/components/input/input.component.js +10 -2
  169. package/esm2015/lib/components/input/input.component.js.map +1 -1
  170. package/esm2015/lib/components/input/input.component.metadata.json +1 -1
  171. package/esm2015/lib/components/input/int/int.component.js +9 -2
  172. package/esm2015/lib/components/input/int/int.component.js.map +1 -1
  173. package/esm2015/lib/components/input/int/int.component.metadata.json +1 -1
  174. package/esm2015/lib/components/input/ints/ints.component.js +9 -2
  175. package/esm2015/lib/components/input/ints/ints.component.js.map +1 -1
  176. package/esm2015/lib/components/input/ints/ints.component.metadata.json +1 -1
  177. package/esm2015/lib/components/input/logo/logo.component.js +9 -2
  178. package/esm2015/lib/components/input/logo/logo.component.js.map +1 -1
  179. package/esm2015/lib/components/input/logo/logo.component.metadata.json +1 -1
  180. package/esm2015/lib/components/input/long-text/long-text.component.js +9 -2
  181. package/esm2015/lib/components/input/long-text/long-text.component.js.map +1 -1
  182. package/esm2015/lib/components/input/long-text/long-text.component.metadata.json +1 -1
  183. package/esm2015/lib/components/input/nip/nip.component.js +9 -2
  184. package/esm2015/lib/components/input/nip/nip.component.js.map +1 -1
  185. package/esm2015/lib/components/input/nip/nip.component.metadata.json +1 -1
  186. package/esm2015/lib/components/input/object/object.component.js +9 -2
  187. package/esm2015/lib/components/input/object/object.component.js.map +1 -1
  188. package/esm2015/lib/components/input/object/object.component.metadata.json +1 -1
  189. package/esm2015/lib/components/input/password/password.component.js +9 -2
  190. package/esm2015/lib/components/input/password/password.component.js.map +1 -1
  191. package/esm2015/lib/components/input/password/password.component.metadata.json +1 -1
  192. package/esm2015/lib/components/input/pdf/pdf.component.js +8 -1
  193. package/esm2015/lib/components/input/pdf/pdf.component.js.map +1 -1
  194. package/esm2015/lib/components/input/pesel/pesel.component.js +9 -2
  195. package/esm2015/lib/components/input/pesel/pesel.component.js.map +1 -1
  196. package/esm2015/lib/components/input/pesel/pesel.component.metadata.json +1 -1
  197. package/esm2015/lib/components/input/phone-number/phone-number.component.js +9 -2
  198. package/esm2015/lib/components/input/phone-number/phone-number.component.js.map +1 -1
  199. package/esm2015/lib/components/input/phone-number/phone-number.component.metadata.json +1 -1
  200. package/esm2015/lib/components/input/radio/radio.component.js +9 -2
  201. package/esm2015/lib/components/input/radio/radio.component.js.map +1 -1
  202. package/esm2015/lib/components/input/radio/radio.component.metadata.json +1 -1
  203. package/esm2015/lib/components/input/strings/strings.component.js +9 -2
  204. package/esm2015/lib/components/input/strings/strings.component.js.map +1 -1
  205. package/esm2015/lib/components/input/strings/strings.component.metadata.json +1 -1
  206. package/esm2015/lib/components/input/text/text.component.js +9 -2
  207. package/esm2015/lib/components/input/text/text.component.js.map +1 -1
  208. package/esm2015/lib/components/input/text/text.component.metadata.json +1 -1
  209. package/esm2015/lib/components/input/video/video.component.js +8 -1
  210. package/esm2015/lib/components/input/video/video.component.js.map +1 -1
  211. package/esm2015/lib/components/list/base/base.component.js +9 -1
  212. package/esm2015/lib/components/list/base/base.component.js.map +1 -1
  213. package/esm2015/lib/components/list/desktop/desktop.component.js +10 -2
  214. package/esm2015/lib/components/list/desktop/desktop.component.js.map +1 -1
  215. package/esm2015/lib/components/list/desktop/desktop.component.metadata.json +1 -1
  216. package/esm2015/lib/components/list/list.component.js +10 -2
  217. package/esm2015/lib/components/list/list.component.js.map +1 -1
  218. package/esm2015/lib/components/list/list.component.metadata.json +1 -1
  219. package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +10 -2
  220. package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js.map +1 -1
  221. package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.metadata.json +1 -1
  222. package/esm2015/lib/components/list/mobile/mobile.component.js +10 -2
  223. package/esm2015/lib/components/list/mobile/mobile.component.js.map +1 -1
  224. package/esm2015/lib/components/list/mobile/mobile.component.metadata.json +1 -1
  225. package/esm2015/lib/components/loader/loader.component.js +2 -0
  226. package/esm2015/lib/components/loader/loader.component.js.map +1 -1
  227. package/esm2015/lib/components/page/base/base.component.js +9 -1
  228. package/esm2015/lib/components/page/base/base.component.js.map +1 -1
  229. package/esm2015/lib/components/page/page.component.js +9 -1
  230. package/esm2015/lib/components/page/page.component.js.map +1 -1
  231. package/esm2015/lib/components/page/standard/standard.component.js +9 -2
  232. package/esm2015/lib/components/page/standard/standard.component.js.map +1 -1
  233. package/esm2015/lib/components/page/standard/standard.component.metadata.json +1 -1
  234. package/esm2015/lib/components/password-strength/password-strength.component.js +3 -1
  235. package/esm2015/lib/components/password-strength/password-strength.component.js.map +1 -1
  236. package/esm2015/lib/components/password-strength/password-strength.component.metadata.json +1 -1
  237. package/esm2015/lib/components/searchbar/searchbar.component.js +10 -2
  238. package/esm2015/lib/components/searchbar/searchbar.component.js.map +1 -1
  239. package/esm2015/lib/components/searchbar/searchbar.component.metadata.json +1 -1
  240. package/esm2015/lib/components/tabs/tab/tab.component.js +10 -2
  241. package/esm2015/lib/components/tabs/tab/tab.component.js.map +1 -1
  242. package/esm2015/lib/components/tabs/tab/tab.component.metadata.json +1 -1
  243. package/esm2015/lib/components/tabs/tabs.component.js +2 -0
  244. package/esm2015/lib/components/tabs/tabs.component.js.map +1 -1
  245. package/esm2015/lib/directives/date-validator/date-validator.directive.js +1 -0
  246. package/esm2015/lib/directives/date-validator/date-validator.directive.js.map +1 -1
  247. package/esm2015/lib/directives/details/details.directive.js +9 -1
  248. package/esm2015/lib/directives/details/details.directive.js.map +1 -1
  249. package/esm2015/lib/directives/directives.module.js +1 -0
  250. package/esm2015/lib/directives/directives.module.js.map +1 -1
  251. package/esm2015/lib/factories/factories.module.js +1 -0
  252. package/esm2015/lib/factories/factories.module.js.map +1 -1
  253. package/esm2015/lib/factories/factories.module.ngfactory.js.map +1 -1
  254. package/esm2015/lib/factories/form/form.factory.js +8 -1
  255. package/esm2015/lib/factories/form/form.factory.js.map +1 -1
  256. package/esm2015/lib/ngrx-shared.module.js +8 -1
  257. package/esm2015/lib/ngrx-shared.module.js.map +1 -1
  258. package/esm2015/lib/ngrx-shared.module.ngfactory.js.map +1 -1
  259. package/esm2015/lib/pages/details/details.page.js +9 -2
  260. package/esm2015/lib/pages/details/details.page.js.map +1 -1
  261. package/esm2015/lib/pages/details/details.page.metadata.json +1 -1
  262. package/esm2015/lib/pages/pages.module.js +1 -0
  263. package/esm2015/lib/pages/pages.module.js.map +1 -1
  264. package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js +1 -0
  265. package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js.map +1 -1
  266. package/esm2015/lib/pipes/file-url/file-url.pipe.js +8 -1
  267. package/esm2015/lib/pipes/file-url/file-url.pipe.js.map +1 -1
  268. package/esm2015/lib/pipes/list-cell/list-cell.pipe.js +8 -1
  269. package/esm2015/lib/pipes/list-cell/list-cell.pipe.js.map +1 -1
  270. package/esm2015/lib/pipes/list-header/list-header.pipe.js +8 -1
  271. package/esm2015/lib/pipes/list-header/list-header.pipe.js.map +1 -1
  272. package/esm2015/lib/pipes/model-label/model-label.pipe.js +8 -1
  273. package/esm2015/lib/pipes/model-label/model-label.pipe.js.map +1 -1
  274. package/esm2015/lib/pipes/pipes.module.js +1 -0
  275. package/esm2015/lib/pipes/pipes.module.js.map +1 -1
  276. package/esm2015/lib/services/app/app.service.js +1 -0
  277. package/esm2015/lib/services/app/app.service.js.map +1 -1
  278. package/esm2015/lib/services/auth/auth.service.js +8 -1
  279. package/esm2015/lib/services/auth/auth.service.js.map +1 -1
  280. package/esm2015/lib/services/calendar/calendar.service.js +8 -1
  281. package/esm2015/lib/services/calendar/calendar.service.js.map +1 -1
  282. package/esm2015/lib/services/camera/camera.service.js +1 -0
  283. package/esm2015/lib/services/camera/camera.service.js.map +1 -1
  284. package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js +8 -1
  285. package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js.map +1 -1
  286. package/esm2015/lib/services/error/error.service.js +8 -1
  287. package/esm2015/lib/services/error/error.service.js.map +1 -1
  288. package/esm2015/lib/services/file/file.service.js +8 -1
  289. package/esm2015/lib/services/file/file.service.js.map +1 -1
  290. package/esm2015/lib/services/fingerprint/fingerprint.service.js +8 -1
  291. package/esm2015/lib/services/fingerprint/fingerprint.service.js.map +1 -1
  292. package/esm2015/lib/services/hardware/hardware.service.js +8 -1
  293. package/esm2015/lib/services/hardware/hardware.service.js.map +1 -1
  294. package/esm2015/lib/services/menu/menu.service.js +8 -1
  295. package/esm2015/lib/services/menu/menu.service.js.map +1 -1
  296. package/esm2015/lib/services/modal/modal.service.js +8 -1
  297. package/esm2015/lib/services/modal/modal.service.js.map +1 -1
  298. package/esm2015/lib/services/ngrx-store/ngrx-store.service.js +1 -0
  299. package/esm2015/lib/services/ngrx-store/ngrx-store.service.js.map +1 -1
  300. package/esm2015/lib/services/popover/popover.service.js +8 -1
  301. package/esm2015/lib/services/popover/popover.service.js.map +1 -1
  302. package/esm2015/lib/services/services.module.js +1 -0
  303. package/esm2015/lib/services/services.module.js.map +1 -1
  304. package/esm2015/lib/services/storage/storage.service.js +8 -1
  305. package/esm2015/lib/services/storage/storage.service.js.map +1 -1
  306. package/esm2015/lib/services/style/style.service.js +8 -1
  307. package/esm2015/lib/services/style/style.service.js.map +1 -1
  308. package/esm2015/lib/services/toast/toast.service.js +8 -1
  309. package/esm2015/lib/services/toast/toast.service.js.map +1 -1
  310. package/esm2015/lib/services/ui/ui.service.js +8 -1
  311. package/esm2015/lib/services/ui/ui.service.js.map +1 -1
  312. package/esm2015/lib/shared.module.js +8 -1
  313. package/esm2015/lib/shared.module.js.map +1 -1
  314. package/esm2015/lib/utils-shared.module.js +1 -0
  315. package/esm2015/lib/utils-shared.module.js.map +1 -1
  316. package/fesm2015/smartsoft001-angular.js +927 -154
  317. package/fesm2015/smartsoft001-angular.js.map +1 -1
  318. package/package.json +15 -15
  319. package/smartsoft001-angular.metadata.json +1 -1
@@ -19,18 +19,26 @@ export class InfoComponent {
19
19
  });
20
20
  }
21
21
  }
22
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
22
23
  InfoComponent.decorators = [
23
24
  { type: Component, args: [{
24
25
  selector: "smart-info",
25
26
  template: "<ion-icon name=\"information-circle-outline\" (click)=\"onClick($event)\"></ion-icon>",
26
27
  changeDetection: ChangeDetectionStrategy.OnPush,
27
- styles: [":host{cursor:pointer;font-size:2.4rem;height:2.4rem;position:absolute;right:2.1rem;top:50%;transform:translateY(-50%);z-index:666}:host ion-icon{color:var(--smart-color-primary)}.item-multiple-inputs :host{height:100%;width:.1rem;border:.1rem dotted rgba(var(--smart-color-primary-rgb),.3)!important;right:3.2rem}.item-multiple-inputs :host ion-icon{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:666;color:var(--smart-color-primary);background-color:#fff;border-radius:50%;padding-left:.1rem}.item-multiple-inputs.item-datetime :host{right:7.8rem;height:2.4rem;margin-top:-.3rem;border:none!important}.item-datetime :host{right:6.4rem;height:2.4rem}"]
28
+ styles: [":host{cursor:pointer;font-size:2.4rem;height:2.4rem;position:absolute;right:2.1rem;top:50%;transform:translateY(-50%);z-index:666}:host ion-icon{color:var(--smart-color-primary)}.item-multiple-inputs :host{height:100%;width:.1rem;border:.1rem dotted rgba(var(--smart-color-primary-rgb),.3)!important;right:3.2rem}.item-multiple-inputs :host ion-icon{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:666;color:var(--smart-color-primary);background-color:#fff;border-radius:50%;padding-left:.1rem}.item-multiple-inputs.item-datetime :host{right:7.8rem;height:2.4rem;margin-top:-.3rem;border:none!important}.item-datetime :host{right:6.4rem;height:2.4rem}\n"]
28
29
  },] }
29
30
  ];
30
- /** @nocollapse */
31
+ /**
32
+ * @type {function(): !Array<(null|{
33
+ * type: ?,
34
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
35
+ * })>}
36
+ * @nocollapse
37
+ */
31
38
  InfoComponent.ctorParameters = () => [
32
39
  { type: PopoverController }
33
40
  ];
41
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
34
42
  InfoComponent.propDecorators = {
35
43
  text: [{ type: Input }]
36
44
  };
@@ -39,6 +47,7 @@ export class InfoModalComponent {
39
47
  this.text = params.get('text');
40
48
  }
41
49
  }
50
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
42
51
  InfoModalComponent.decorators = [
43
52
  { type: Component, args: [{
44
53
  selector: "smart-info-modal",
@@ -48,7 +57,13 @@ InfoModalComponent.decorators = [
48
57
  changeDetection: ChangeDetectionStrategy.OnPush
49
58
  },] }
50
59
  ];
51
- /** @nocollapse */
60
+ /**
61
+ * @type {function(): !Array<(null|{
62
+ * type: ?,
63
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
64
+ * })>}
65
+ * @nocollapse
66
+ */
52
67
  InfoModalComponent.ctorParameters = () => [
53
68
  { type: NavParams }
54
69
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"info.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/info/info.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,SAAS,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AAQ5D,MAAM,OAAO,aAAa;IAGtB,YAAoB,WAA8B;QAA9B,gBAAW,GAAX,WAAW,CAAmB;IAClD,CAAC;IAEK,OAAO,CAAC,EAAE;;YACZ,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;gBAC1C,eAAe,EAAE,IAAI;gBACrB,SAAS,EAAE,kBAAkB;gBAC7B,cAAc,EAAE;oBACZ,IAAI,EAAE,IAAI,CAAC,IAAI;iBAClB;gBACD,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;YAEH,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;QAC5B,CAAC;KAAA;;;YAvBJ,SAAS,SAAC;gBACP,QAAQ,EAAE,YAAY;gBACtB,iGAAoC;gBAEpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAClD;;;;YAPkB,iBAAiB;;;mBAS/B,KAAK;;AA0BV,MAAM,OAAO,kBAAkB;IAG3B,YAAY,MAAiB;QACzB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;;;YAZJ,SAAS,SAAC;gBACP,QAAQ,EAAE,kBAAkB;gBAC5B,QAAQ,EAAE;;KAET;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAClD;;;;YAlCO,SAAS","sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from \"@angular/core\";\nimport {NavParams, PopoverController} from \"@ionic/angular\";\n\n@Component({\n selector: \"smart-info\",\n templateUrl: \"./info.component.html\",\n styleUrls: [\"./info.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InfoComponent {\n @Input() text: string;\n\n constructor(private popoverCtrl: PopoverController) {\n }\n\n async onClick(ev): Promise<void> {\n const popover = await this.popoverCtrl.create({\n backdropDismiss: true,\n component: InfoModalComponent,\n componentProps: {\n text: this.text\n },\n event: ev\n });\n\n await popover.present();\n }\n}\n\n@Component({\n selector: \"smart-info-modal\",\n template: `\n <ion-content class=\"ion-padding\" [innerHTML]=\"text | translate\"></ion-content>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InfoModalComponent {\n text: string;\n\n constructor(params: NavParams) {\n this.text = params.get('text');\n }\n}"]}
1
+ {"version":3,"file":"info.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/info/info.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,SAAS,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AAQ5D,MAAM,OAAO,aAAa;IAGtB,YAAoB,WAA8B;QAA9B,gBAAW,GAAX,WAAW,CAAmB;IAClD,CAAC;IAEK,OAAO,CAAC,EAAE;;YACZ,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;gBAC1C,eAAe,EAAE,IAAI;gBACrB,SAAS,EAAE,kBAAkB;gBAC7B,cAAc,EAAE;oBACZ,IAAI,EAAE,IAAI,CAAC,IAAI;iBAClB;gBACD,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;YAEH,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;QAC5B,CAAC;KAAA;;;;YAvBJ,SAAS,SAAC;gBACP,QAAQ,EAAE,YAAY;gBACtB,iGAAoC;gBAEpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAClD;;;;;;;;;;YAPkB,iBAAiB;;;;mBAS/B,KAAK;;AA0BV,MAAM,OAAO,kBAAkB;IAG3B,YAAY,MAAiB;QACzB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;;;;YAZJ,SAAS,SAAC;gBACP,QAAQ,EAAE,kBAAkB;gBAC5B,QAAQ,EAAE;;KAET;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAClD;;;;;;;;;;YAlCO,SAAS","sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from \"@angular/core\";\nimport {NavParams, PopoverController} from \"@ionic/angular\";\n\n@Component({\n selector: \"smart-info\",\n templateUrl: \"./info.component.html\",\n styleUrls: [\"./info.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InfoComponent {\n @Input() text: string;\n\n constructor(private popoverCtrl: PopoverController) {\n }\n\n async onClick(ev): Promise<void> {\n const popover = await this.popoverCtrl.create({\n backdropDismiss: true,\n component: InfoModalComponent,\n componentProps: {\n text: this.text\n },\n event: ev\n });\n\n await popover.present();\n }\n}\n\n@Component({\n selector: \"smart-info-modal\",\n template: `\n <ion-content class=\"ion-padding\" [innerHTML]=\"text | translate\"></ion-content>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InfoModalComponent {\n text: string;\n\n constructor(params: NavParams) {\n this.text = params.get('text');\n }\n}"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InfoComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"smart-info","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":7,"character":21},"member":"OnPush"},"template":"<ion-icon name=\"information-circle-outline\" (click)=\"onClick($event)\"></ion-icon>","styles":[":host{cursor:pointer;font-size:2.4rem;height:2.4rem;position:absolute;right:2.1rem;top:50%;transform:translateY(-50%);z-index:666}:host ion-icon{color:var(--smart-color-primary)}.item-multiple-inputs :host{height:100%;width:.1rem;border:.1rem dotted rgba(var(--smart-color-primary-rgb),.3)!important;right:3.2rem}.item-multiple-inputs :host ion-icon{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:666;color:var(--smart-color-primary);background-color:#fff;border-radius:50%;padding-left:.1rem}.item-multiple-inputs.item-datetime :host{right:7.8rem;height:2.4rem;margin-top:-.3rem;border:none!important}.item-datetime :host{right:6.4rem;height:2.4rem}"]}]}],"members":{"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ionic/angular","name":"PopoverController","line":12,"character":37}]}],"onClick":[{"__symbolic":"method"}]}},"InfoModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":29,"character":1},"arguments":[{"selector":"smart-info-modal","template":"\n <ion-content class=\"ion-padding\" [innerHTML]=\"text | translate\"></ion-content>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":34,"character":21},"member":"OnPush"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ionic/angular","name":"NavParams","line":39,"character":24}]}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"InfoComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"smart-info","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":7,"character":21},"member":"OnPush"},"template":"<ion-icon name=\"information-circle-outline\" (click)=\"onClick($event)\"></ion-icon>","styles":[":host{cursor:pointer;font-size:2.4rem;height:2.4rem;position:absolute;right:2.1rem;top:50%;transform:translateY(-50%);z-index:666}:host ion-icon{color:var(--smart-color-primary)}.item-multiple-inputs :host{height:100%;width:.1rem;border:.1rem dotted rgba(var(--smart-color-primary-rgb),.3)!important;right:3.2rem}.item-multiple-inputs :host ion-icon{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:666;color:var(--smart-color-primary);background-color:#fff;border-radius:50%;padding-left:.1rem}.item-multiple-inputs.item-datetime :host{right:7.8rem;height:2.4rem;margin-top:-.3rem;border:none!important}.item-datetime :host{right:6.4rem;height:2.4rem}\n"]}]}],"members":{"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ionic/angular","name":"PopoverController","line":12,"character":37}]}],"onClick":[{"__symbolic":"method"}]}},"InfoModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":29,"character":1},"arguments":[{"selector":"smart-info-modal","template":"\n <ion-content class=\"ion-padding\" [innerHTML]=\"text | translate\"></ion-content>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":34,"character":21},"member":"OnPush"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ionic/angular","name":"NavParams","line":39,"character":24}]}]}}}}]
@@ -6,14 +6,21 @@ export class InputAddressComponent extends InputBaseComponent {
6
6
  }
7
7
  ngOnInit() { }
8
8
  }
9
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
9
10
  InputAddressComponent.decorators = [
10
11
  { type: Component, args: [{
11
12
  selector: 'smart-input-address',
12
13
  template: "<ng-container *ngIf=\"control\">\n <br/>\n <ion-label>\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n\n <ion-list [formGroup]=\"control\">\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.city' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"city\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.zipCode' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"zipCode\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.street' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"street\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.buildingNumber' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"buildingNumber\"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.flatNumber' | translate }}\n </ion-label>\n <ion-input formControlName=\"flatNumber\"></ion-input>\n </ion-item>\n </ion-list>\n</ng-container>\n",
13
- styles: [":root{--smart-color-primary:#0f4c81;--smart-color-primary-rgb:15,76,129;--smart-color-primary-contrast:#fff;--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:#fff;--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:#fff;--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:#fff;--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:#000;--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:#fff;--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:#fff;--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:#fff;--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:#000;--smart-color-light-contrast-rgb:0,0,0;--smart-color-light-shade:#d7d8da;--smart-color-light-tint:#f5f6f9;--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;--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;--smart-phone-breakpoint:420px;--smart-tablet-breakpoint:860px}@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\")}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat 50%}: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:14px;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:#fff;--ion-background-color-rgb:255,255,255;--ion-text-color:#000;--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:#ccc;--ion-color-step-250:#bfbfbf;--ion-color-step-300:#b3b3b3;--ion-color-step-350:#a6a6a6;--ion-color-step-400:#999;--ion-color-step-450:#8c8c8c;--ion-color-step-500:grey;--ion-color-step-550:#737373;--ion-color-step-600:#666;--ion-color-step-650:#595959;--ion-color-step-700:#4d4d4d;--ion-color-step-750:#404040;--ion-color-step-800:#333;--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:Roboto;font-family:var(--ion-font-family);font-weight:700;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light)}.mat-stepper-next,.mat-stepper-previous{height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{border:.1rem solid #dedede;color:#777;margin-right:.6rem}tr.mat-row:nth-child(2n){background-color:#fdfdfd}tr.mat-row:hover{background-color:rgba(15,76,129,.05)!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}.label-floating,.label-floating.ios{--color:var(--smart-color-medium)}.label-floating.ios{margin-top:.6rem!important}"]
14
+ 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:14px;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{--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}.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:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;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}tr.mat-row:nth-child(even){background-color:#fdfdfd}tr.mat-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"]
14
15
  },] }
15
16
  ];
16
- /** @nocollapse */
17
+ /**
18
+ * @type {function(): !Array<(null|{
19
+ * type: ?,
20
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
21
+ * })>}
22
+ * @nocollapse
23
+ */
17
24
  InputAddressComponent.ctorParameters = () => [
18
25
  { type: ChangeDetectorRef }
19
26
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"address.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/address/address.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAS,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAQ1D,MAAM,OAAO,qBAAyB,SAAQ,kBAAqB;IACjE,YAAY,EAAqB;QAC/B,KAAK,CAAC,EAAE,CAAC,CAAC;IACZ,CAAC;IAED,QAAQ,KAAI,CAAC;;;YAVd,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,ilEAAuC;;aAExC;;;;YATO,iBAAiB","sourcesContent":["import {ChangeDetectorRef, Component, OnInit} from '@angular/core';\n\nimport {InputBaseComponent} from \"../base/base.component\";\nimport {FormControl} from \"@angular/forms\";\n\n@Component({\n selector: 'smart-input-address',\n templateUrl: './address.component.html',\n styleUrls: ['./address.component.scss'],\n})\nexport class InputAddressComponent<T> extends InputBaseComponent<T> implements OnInit {\n constructor(cd: ChangeDetectorRef) {\n super(cd);\n }\n\n ngOnInit() {}\n}\n"]}
1
+ {"version":3,"file":"address.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/address/address.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAS,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAQ1D,MAAM,OAAO,qBAAyB,SAAQ,kBAAqB;IACjE,YAAY,EAAqB;QAC/B,KAAK,CAAC,EAAE,CAAC,CAAC;IACZ,CAAC;IAED,QAAQ,KAAI,CAAC;;;;YAVd,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,ilEAAuC;;aAExC;;;;;;;;;;YATO,iBAAiB","sourcesContent":["import {ChangeDetectorRef, Component, OnInit} from '@angular/core';\n\nimport {InputBaseComponent} from \"../base/base.component\";\nimport {FormControl} from \"@angular/forms\";\n\n@Component({\n selector: 'smart-input-address',\n templateUrl: './address.component.html',\n styleUrls: ['./address.component.scss'],\n})\nexport class InputAddressComponent<T> extends InputBaseComponent<T> implements OnInit {\n constructor(cd: ChangeDetectorRef) {\n super(cd);\n }\n\n ngOnInit() {}\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InputAddressComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base/base.component","name":"InputBaseComponent","line":10,"character":46},"arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"smart-input-address","template":"<ng-container *ngIf=\"control\">\n <br/>\n <ion-label>\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n\n <ion-list [formGroup]=\"control\">\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.city' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"city\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.zipCode' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"zipCode\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.street' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"street\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.buildingNumber' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"buildingNumber\"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.flatNumber' | translate }}\n </ion-label>\n <ion-input formControlName=\"flatNumber\"></ion-input>\n </ion-item>\n </ion-list>\n</ng-container>\n","styles":[":root{--smart-color-primary:#0f4c81;--smart-color-primary-rgb:15,76,129;--smart-color-primary-contrast:#fff;--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:#fff;--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:#fff;--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:#fff;--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:#000;--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:#fff;--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:#fff;--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:#fff;--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:#000;--smart-color-light-contrast-rgb:0,0,0;--smart-color-light-shade:#d7d8da;--smart-color-light-tint:#f5f6f9;--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;--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;--smart-phone-breakpoint:420px;--smart-tablet-breakpoint:860px}@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\")}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat 50%}: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:14px;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:#fff;--ion-background-color-rgb:255,255,255;--ion-text-color:#000;--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:#ccc;--ion-color-step-250:#bfbfbf;--ion-color-step-300:#b3b3b3;--ion-color-step-350:#a6a6a6;--ion-color-step-400:#999;--ion-color-step-450:#8c8c8c;--ion-color-step-500:grey;--ion-color-step-550:#737373;--ion-color-step-600:#666;--ion-color-step-650:#595959;--ion-color-step-700:#4d4d4d;--ion-color-step-750:#404040;--ion-color-step-800:#333;--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:Roboto;font-family:var(--ion-font-family);font-weight:700;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light)}.mat-stepper-next,.mat-stepper-previous{height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{border:.1rem solid #dedede;color:#777;margin-right:.6rem}tr.mat-row:nth-child(2n){background-color:#fdfdfd}tr.mat-row:hover{background-color:rgba(15,76,129,.05)!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}.label-floating,.label-floating.ios{--color:var(--smart-color-medium)}.label-floating.ios{margin-top:.6rem!important}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":11,"character":18}]}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"InputAddressComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base/base.component","name":"InputBaseComponent","line":10,"character":46},"arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"smart-input-address","template":"<ng-container *ngIf=\"control\">\n <br/>\n <ion-label>\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n\n <ion-list [formGroup]=\"control\">\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.city' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"city\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.zipCode' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"zipCode\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.street' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"street\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.buildingNumber' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"buildingNumber\"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.flatNumber' | translate }}\n </ion-label>\n <ion-input formControlName=\"flatNumber\"></ion-input>\n </ion-item>\n </ion-list>\n</ng-container>\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:14px;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{--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}.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:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;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}tr.mat-row:nth-child(even){background-color:#fdfdfd}tr.mat-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":11,"character":18}]}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
@@ -82,14 +82,21 @@ export class InputArrayComponent extends InputBaseComponent {
82
82
  return options;
83
83
  }
84
84
  }
85
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
85
86
  InputArrayComponent.decorators = [
86
87
  { type: Component, args: [{
87
88
  selector: 'smart-input-array',
88
89
  template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"static\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-list class=\"array\"\n cdkDropList\n [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <ion-item class=\"array-box\" *ngFor=\"let options of childOptions; let index = index\" lines=\"none\" cdkDrag>\n <ion-card *ngIf=\"!(fieldOptions?.possibilities?.static); else staticCardTpl\">\n <smart-accordion [(show)]=\"options.show\" >\n <smart-accordion-header>\n <ion-card-header>\n <ion-item lines=\"none\">\n <ion-label *ngIf=\"!options.show && options.control?.value[options.modelOptions.titleKey]\">\n {{ options.control.value[options.modelOptions.titleKey] | translate }}\n </ion-label>\n <ion-button (click)=\"onRemove(index)\" size=\"small\" fill=\"outline\" slot=\"end\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n </ion-card-header>\n </smart-accordion-header>\n <smart-accordion-body>\n <ion-card-content>\n <smart-form [options]=\"options\"></smart-form>\n </ion-card-content>\n </smart-accordion-body>\n </smart-accordion>\n </ion-card>\n\n <ng-template #staticCardTpl>\n <ion-card>\n <ion-card-content>\n <smart-form [options]=\"options\"></smart-form>\n </ion-card-content>\n </ion-card>\n </ng-template>\n </ion-item>\n </ion-list>\n <smart-button [options]=\"addButtonOptions\" class=\"add\" *ngIf=\"!(fieldOptions?.possibilities?.static)\">\n <span style=\"font-weight: 300\">{{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }} > &nbsp;</span><b>{{ 'add' | translate }}</b>\n </smart-button>\n</ng-container>",
89
- styles: ["@import url(https://fonts.googleapis.com/css2?family=Material+Icons);@import url(https://fonts.googleapis.com/css2?family=Material+Icons+Outlined);ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start:0!important;--padding-end:0!important;width:100%;-webkit-padding-end:0!important;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background:#dedede!important;--color:#333!important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background:var(--smart-color-primary)!important;--color:var(--smart-color-light)!important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background:#dedede!important;--color:#333!important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background:var(--smart-color-primary)!important;--color:var(--smart-color-light)!important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background:#dedede!important;--color:#333!important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color:transparent!important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:14px;background-color:transparent;box-shadow:none}.array-box,.cdk-drag-preview{padding:0;box-sizing:border-box}.cdk-drag-preview{margin:0;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}"]
90
+ styles: ["@import\"https://fonts.googleapis.com/css2?family=Material+Icons\";@import\"https://fonts.googleapis.com/css2?family=Material+Icons+Outlined\";ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start: 0 !important;--padding-end: 0 !important;width:100%;-webkit-padding-end:0!important;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color: transparent !important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;background-color:transparent;box-shadow:none}.cdk-drag-preview{margin:0;padding:0;box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}\n"]
90
91
  },] }
91
92
  ];
92
- /** @nocollapse */
93
+ /**
94
+ * @type {function(): !Array<(null|{
95
+ * type: ?,
96
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
97
+ * })>}
98
+ * @nocollapse
99
+ */
93
100
  InputArrayComponent.ctorParameters = () => [
94
101
  { type: ChangeDetectorRef },
95
102
  { type: FormFactory }
@@ -1 +1 @@
1
- {"version":3,"file":"array.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/array/array.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAS,MAAM,eAAe,CAAC;AAInE,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAC,SAAS,EAAE,oBAAoB,EAAE,eAAe,EAA+B,MAAM,sBAAsB,CAAC;AAOpH,MAAM,OAAO,mBAA+B,SAAQ,kBAAqB;IAyBrE,YACI,EAAqB,EACb,OAAoB;QAC5B,KAAK,CAAC,EAAE,CAAC,CAAC;QADF,YAAO,GAAP,OAAO,CAAa;QAzBhC,qBAAgB,GAAmB;YAC/B,KAAK,EAAE,GAAS,EAAE;gBACd,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClC,MAAM,YAAY,GAAG,eAAe,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;gBACxD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CACrC,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,CACzE,CAAC;gBACD,IAAI,CAAC,eAAe,CAAC,OAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC1D,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS,GAAG,CAAC;oBAC7C,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI;oBAC/B,OAAO;oBACP,KAAK,EAAG,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;oBACpE,YAAY,EAAE,OAAO;oBACrB,YAAY;oBACZ,IAAI,EAAE,IAAI;iBACb,CAAC,CAAC;gBACH,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC/B,CAAC,CAAA;SACJ,CAAC;QAEF,cAAS,GAAG,SAAS,CAAC;IAMtB,CAAC;IAES,sBAAsB;QAC5B,IAAI,CAAC,QAAQ,EAAE,CAAC;IACpB,CAAC;IAED,QAAQ,CAAC,KAAa;QACjB,IAAI,CAAC,eAAe,CAAC,OAAqB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC5D,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAC3B,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;IAED,QAAQ,KAAI,CAAC;IAEL,QAAQ;QACZ,IAAI,CAAC,YAAY,GAAI,IAAI,CAAC,eAAe,CAAC,OAAqB,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;YACnF,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;YAClC,MAAM,YAAY,GAAG,eAAe,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAExD,OAAO;gBACH,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS,GAAG,CAAC;gBAC7C,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI;gBAC/B,OAAO;gBACP,KAAK,EAAG,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;gBACpE,YAAY,EAAE,OAAO;gBACrB,YAAY;gBACZ,IAAI,EAAE,KAAK;aACyE,CAAC;QAC7F,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,YAAY;aACpC,IAAI,CACD,IAAI,CAAC,gBAAgB,CACxB;aACA,SAAS,CAAC,GAAG,CAAC,EAAE;YACb,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAC;IACX,CAAC;IAED,IAAI,CAAC,KAA0B;QAC3B,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAE3B,MAAM,SAAS,GAAG,UAAU,GAAG,EAAE,MAAM,EAAE,MAAM;YAC3C,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;YAEzB,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;YAC1B,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACvB,CAAC,CAAA;QACD,SAAS,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;QAEtE,MAAM,aAAa,GAAG,UAAU,GAAc,EAAE,MAAM,EAAE,MAAM;YAC1D,MAAM,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;YAC1B,MAAM,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;YAE1B,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;YAC1B,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;QAC9B,CAAC,CAAA;QACD,aAAa,CAAC,IAAI,CAAC,OAAoB,EAAE,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;QAElF,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;IAC1C,CAAC;IAEO,UAAU;QACd,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC3G,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC;YAClF,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QACtF,OAAO,OAAO,CAAC;IACnB,CAAC;;;YAtGJ,SAAS,SAAC;gBACP,QAAQ,EAAE,mBAAmB;gBAC7B,63FAAqC;;aAExC;;;;YAfO,iBAAiB;YAQjB,WAAW","sourcesContent":["import {ChangeDetectorRef, Component, OnInit} from '@angular/core';\nimport {FormArray} from \"@angular/forms\";\nimport {CdkDragDrop} from '@angular/cdk/drag-drop';\n\nimport {ObjectService} from \"@smartsoft001/utils\";\n\nimport {InputBaseComponent} from \"../base/base.component\";\nimport {IButtonOptions, IFormOptions} from \"../../../models\";\nimport {FormFactory} from \"../../../factories/form/form.factory\";\nimport {FieldType, getModelFieldOptions, getModelOptions, IFieldOptions, IModelOptions} from \"@smartsoft001/models\";\n\n@Component({\n selector: 'smart-input-array',\n templateUrl: './array.component.html',\n styleUrls: ['./array.component.scss'],\n})\nexport class InputArrayComponent<T, TChild> extends InputBaseComponent<T> implements OnInit {\n childOptions: Array<IFormOptions<TChild> & { fieldOptions: IFieldOptions, show?: boolean, modelOptions: IModelOptions }>;\n addButtonOptions: IButtonOptions = {\n click: async () => {\n const options = this.getOptions();\n const modelOptions = getModelOptions(options.classType);\n const control = await this.factory.create(\n new this.fieldOptions.classType(), { mode: this.internalOptions.mode }\n );\n (this.internalOptions.control as FormArray).push(control);\n this.childOptions.push({\n treeLevel: this.internalOptions.treeLevel + 1,\n mode: this.internalOptions.mode,\n control,\n model : ObjectService.createByType(control.value, options.classType),\n fieldOptions: options,\n modelOptions,\n show: true\n });\n this.control.markAsDirty();\n }\n };\n\n FieldType = FieldType;\n\n constructor(\n cd: ChangeDetectorRef,\n private factory: FormFactory) {\n super(cd);\n }\n\n protected afterSetOptionsHandler() {\n this.initData();\n }\n\n onRemove(index: number) {\n (this.internalOptions.control as FormArray).removeAt(index);\n this.initData();\n this.control.markAsDirty();\n this.control.setValue(this.childOptions.map(o => o.control.value));\n }\n\n ngOnInit() {}\n\n private initData(): void {\n this.childOptions = (this.internalOptions.control as FormArray).controls.map(control => {\n const options = this.getOptions();\n const modelOptions = getModelOptions(options.classType);\n\n return {\n treeLevel: this.internalOptions.treeLevel + 1,\n mode: this.internalOptions.mode,\n control,\n model : ObjectService.createByType(control.value, options.classType),\n fieldOptions: options,\n modelOptions,\n show: false\n } as IFormOptions<TChild> & { fieldOptions: IFieldOptions, modelOptions: IModelOptions };\n });\n\n this.internalOptions.control.valueChanges\n .pipe(\n this.takeUntilDestroy\n )\n .subscribe(val => {\n this.control.markAsDirty();\n });\n }\n\n drop(event: CdkDragDrop<T, any>) {\n this.control.markAsDirty();\n\n const swapArray = function (arr, index1, index2) {\n const temp = arr[index1];\n\n arr[index1] = arr[index2];\n arr[index2] = temp;\n }\n swapArray(this.childOptions, event.previousIndex, event.currentIndex);\n\n const swapFormArray = function (arr: FormArray, index1, index2) {\n const c1 = arr.at(index1);\n const c2 = arr.at(index2);\n\n arr.controls[index2] = c1;\n arr.controls[index1] = c2;\n }\n swapFormArray(this.control as FormArray, event.previousIndex, event.currentIndex);\n\n this.control.updateValueAndValidity();\n }\n\n private getOptions(): IFieldOptions {\n const options = this.internalOptions.model[0] && this.internalOptions.model[0][this.internalOptions.fieldKey] ?\n getModelFieldOptions(this.internalOptions.model[0], this.internalOptions.fieldKey)\n : getModelFieldOptions(this.internalOptions.model, this.internalOptions.fieldKey);\n return options;\n }\n}\n"]}
1
+ {"version":3,"file":"array.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/array/array.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAS,MAAM,eAAe,CAAC;AAInE,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAC,SAAS,EAAE,oBAAoB,EAAE,eAAe,EAA+B,MAAM,sBAAsB,CAAC;AAOpH,MAAM,OAAO,mBAA+B,SAAQ,kBAAqB;IAyBrE,YACI,EAAqB,EACb,OAAoB;QAC5B,KAAK,CAAC,EAAE,CAAC,CAAC;QADF,YAAO,GAAP,OAAO,CAAa;QAzBhC,qBAAgB,GAAmB;YAC/B,KAAK,EAAE,GAAS,EAAE;gBACd,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClC,MAAM,YAAY,GAAG,eAAe,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;gBACxD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CACrC,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,CACzE,CAAC;gBACD,IAAI,CAAC,eAAe,CAAC,OAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC1D,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS,GAAG,CAAC;oBAC7C,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI;oBAC/B,OAAO;oBACP,KAAK,EAAG,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;oBACpE,YAAY,EAAE,OAAO;oBACrB,YAAY;oBACZ,IAAI,EAAE,IAAI;iBACb,CAAC,CAAC;gBACH,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC/B,CAAC,CAAA;SACJ,CAAC;QAEF,cAAS,GAAG,SAAS,CAAC;IAMtB,CAAC;IAES,sBAAsB;QAC5B,IAAI,CAAC,QAAQ,EAAE,CAAC;IACpB,CAAC;IAED,QAAQ,CAAC,KAAa;QACjB,IAAI,CAAC,eAAe,CAAC,OAAqB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC5D,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAC3B,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;IAED,QAAQ,KAAI,CAAC;IAEL,QAAQ;QACZ,IAAI,CAAC,YAAY,GAAI,IAAI,CAAC,eAAe,CAAC,OAAqB,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;YACnF,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;YAClC,MAAM,YAAY,GAAG,eAAe,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAExD,OAAO;gBACH,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,SAAS,GAAG,CAAC;gBAC7C,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI;gBAC/B,OAAO;gBACP,KAAK,EAAG,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;gBACpE,YAAY,EAAE,OAAO;gBACrB,YAAY;gBACZ,IAAI,EAAE,KAAK;aACyE,CAAC;QAC7F,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,YAAY;aACpC,IAAI,CACD,IAAI,CAAC,gBAAgB,CACxB;aACA,SAAS,CAAC,GAAG,CAAC,EAAE;YACb,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAC;IACX,CAAC;IAED,IAAI,CAAC,KAA0B;QAC3B,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAE3B,MAAM,SAAS,GAAG,UAAU,GAAG,EAAE,MAAM,EAAE,MAAM;YAC3C,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;YAEzB,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;YAC1B,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACvB,CAAC,CAAA;QACD,SAAS,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;QAEtE,MAAM,aAAa,GAAG,UAAU,GAAc,EAAE,MAAM,EAAE,MAAM;YAC1D,MAAM,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;YAC1B,MAAM,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;YAE1B,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;YAC1B,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;QAC9B,CAAC,CAAA;QACD,aAAa,CAAC,IAAI,CAAC,OAAoB,EAAE,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;QAElF,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;IAC1C,CAAC;IAEO,UAAU;QACd,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC3G,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC;YAClF,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QACtF,OAAO,OAAO,CAAC;IACnB,CAAC;;;;YAtGJ,SAAS,SAAC;gBACP,QAAQ,EAAE,mBAAmB;gBAC7B,63FAAqC;;aAExC;;;;;;;;;;YAfO,iBAAiB;YAQjB,WAAW","sourcesContent":["import {ChangeDetectorRef, Component, OnInit} from '@angular/core';\nimport {FormArray} from \"@angular/forms\";\nimport {CdkDragDrop} from '@angular/cdk/drag-drop';\n\nimport {ObjectService} from \"@smartsoft001/utils\";\n\nimport {InputBaseComponent} from \"../base/base.component\";\nimport {IButtonOptions, IFormOptions} from \"../../../models\";\nimport {FormFactory} from \"../../../factories/form/form.factory\";\nimport {FieldType, getModelFieldOptions, getModelOptions, IFieldOptions, IModelOptions} from \"@smartsoft001/models\";\n\n@Component({\n selector: 'smart-input-array',\n templateUrl: './array.component.html',\n styleUrls: ['./array.component.scss'],\n})\nexport class InputArrayComponent<T, TChild> extends InputBaseComponent<T> implements OnInit {\n childOptions: Array<IFormOptions<TChild> & { fieldOptions: IFieldOptions, show?: boolean, modelOptions: IModelOptions }>;\n addButtonOptions: IButtonOptions = {\n click: async () => {\n const options = this.getOptions();\n const modelOptions = getModelOptions(options.classType);\n const control = await this.factory.create(\n new this.fieldOptions.classType(), { mode: this.internalOptions.mode }\n );\n (this.internalOptions.control as FormArray).push(control);\n this.childOptions.push({\n treeLevel: this.internalOptions.treeLevel + 1,\n mode: this.internalOptions.mode,\n control,\n model : ObjectService.createByType(control.value, options.classType),\n fieldOptions: options,\n modelOptions,\n show: true\n });\n this.control.markAsDirty();\n }\n };\n\n FieldType = FieldType;\n\n constructor(\n cd: ChangeDetectorRef,\n private factory: FormFactory) {\n super(cd);\n }\n\n protected afterSetOptionsHandler() {\n this.initData();\n }\n\n onRemove(index: number) {\n (this.internalOptions.control as FormArray).removeAt(index);\n this.initData();\n this.control.markAsDirty();\n this.control.setValue(this.childOptions.map(o => o.control.value));\n }\n\n ngOnInit() {}\n\n private initData(): void {\n this.childOptions = (this.internalOptions.control as FormArray).controls.map(control => {\n const options = this.getOptions();\n const modelOptions = getModelOptions(options.classType);\n\n return {\n treeLevel: this.internalOptions.treeLevel + 1,\n mode: this.internalOptions.mode,\n control,\n model : ObjectService.createByType(control.value, options.classType),\n fieldOptions: options,\n modelOptions,\n show: false\n } as IFormOptions<TChild> & { fieldOptions: IFieldOptions, modelOptions: IModelOptions };\n });\n\n this.internalOptions.control.valueChanges\n .pipe(\n this.takeUntilDestroy\n )\n .subscribe(val => {\n this.control.markAsDirty();\n });\n }\n\n drop(event: CdkDragDrop<T, any>) {\n this.control.markAsDirty();\n\n const swapArray = function (arr, index1, index2) {\n const temp = arr[index1];\n\n arr[index1] = arr[index2];\n arr[index2] = temp;\n }\n swapArray(this.childOptions, event.previousIndex, event.currentIndex);\n\n const swapFormArray = function (arr: FormArray, index1, index2) {\n const c1 = arr.at(index1);\n const c2 = arr.at(index2);\n\n arr.controls[index2] = c1;\n arr.controls[index1] = c2;\n }\n swapFormArray(this.control as FormArray, event.previousIndex, event.currentIndex);\n\n this.control.updateValueAndValidity();\n }\n\n private getOptions(): IFieldOptions {\n const options = this.internalOptions.model[0] && this.internalOptions.model[0][this.internalOptions.fieldKey] ?\n getModelFieldOptions(this.internalOptions.model[0], this.internalOptions.fieldKey)\n : getModelFieldOptions(this.internalOptions.model, this.internalOptions.fieldKey);\n return options;\n }\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InputArrayComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base/base.component","name":"InputBaseComponent","line":16,"character":52},"arity":2,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"smart-input-array","template":"<ng-container *ngIf=\"control\">\n <ion-label position=\"static\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-list class=\"array\"\n cdkDropList\n [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <ion-item class=\"array-box\" *ngFor=\"let options of childOptions; let index = index\" lines=\"none\" cdkDrag>\n <ion-card *ngIf=\"!(fieldOptions?.possibilities?.static); else staticCardTpl\">\n <smart-accordion [(show)]=\"options.show\" >\n <smart-accordion-header>\n <ion-card-header>\n <ion-item lines=\"none\">\n <ion-label *ngIf=\"!options.show && options.control?.value[options.modelOptions.titleKey]\">\n {{ options.control.value[options.modelOptions.titleKey] | translate }}\n </ion-label>\n <ion-button (click)=\"onRemove(index)\" size=\"small\" fill=\"outline\" slot=\"end\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n </ion-card-header>\n </smart-accordion-header>\n <smart-accordion-body>\n <ion-card-content>\n <smart-form [options]=\"options\"></smart-form>\n </ion-card-content>\n </smart-accordion-body>\n </smart-accordion>\n </ion-card>\n\n <ng-template #staticCardTpl>\n <ion-card>\n <ion-card-content>\n <smart-form [options]=\"options\"></smart-form>\n </ion-card-content>\n </ion-card>\n </ng-template>\n </ion-item>\n </ion-list>\n <smart-button [options]=\"addButtonOptions\" class=\"add\" *ngIf=\"!(fieldOptions?.possibilities?.static)\">\n <span style=\"font-weight: 300\">{{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }} > &nbsp;</span><b>{{ 'add' | translate }}</b>\n </smart-button>\n</ng-container>","styles":["@import url(https://fonts.googleapis.com/css2?family=Material+Icons);@import url(https://fonts.googleapis.com/css2?family=Material+Icons+Outlined);ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start:0!important;--padding-end:0!important;width:100%;-webkit-padding-end:0!important;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background:#dedede!important;--color:#333!important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background:var(--smart-color-primary)!important;--color:var(--smart-color-light)!important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background:#dedede!important;--color:#333!important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background:var(--smart-color-primary)!important;--color:var(--smart-color-light)!important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background:#dedede!important;--color:#333!important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color:transparent!important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:14px;background-color:transparent;box-shadow:none}.array-box,.cdk-drag-preview{padding:0;box-sizing:border-box}.cdk-drag-preview{margin:0;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":42,"character":12},{"__symbolic":"reference","module":"../../../factories/form/form.factory","name":"FormFactory","line":43,"character":25}]}],"afterSetOptionsHandler":[{"__symbolic":"method"}],"onRemove":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"initData":[{"__symbolic":"method"}],"drop":[{"__symbolic":"method"}],"getOptions":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"InputArrayComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base/base.component","name":"InputBaseComponent","line":16,"character":52},"arity":2,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"smart-input-array","template":"<ng-container *ngIf=\"control\">\n <ion-label position=\"static\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-list class=\"array\"\n cdkDropList\n [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <ion-item class=\"array-box\" *ngFor=\"let options of childOptions; let index = index\" lines=\"none\" cdkDrag>\n <ion-card *ngIf=\"!(fieldOptions?.possibilities?.static); else staticCardTpl\">\n <smart-accordion [(show)]=\"options.show\" >\n <smart-accordion-header>\n <ion-card-header>\n <ion-item lines=\"none\">\n <ion-label *ngIf=\"!options.show && options.control?.value[options.modelOptions.titleKey]\">\n {{ options.control.value[options.modelOptions.titleKey] | translate }}\n </ion-label>\n <ion-button (click)=\"onRemove(index)\" size=\"small\" fill=\"outline\" slot=\"end\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n </ion-card-header>\n </smart-accordion-header>\n <smart-accordion-body>\n <ion-card-content>\n <smart-form [options]=\"options\"></smart-form>\n </ion-card-content>\n </smart-accordion-body>\n </smart-accordion>\n </ion-card>\n\n <ng-template #staticCardTpl>\n <ion-card>\n <ion-card-content>\n <smart-form [options]=\"options\"></smart-form>\n </ion-card-content>\n </ion-card>\n </ng-template>\n </ion-item>\n </ion-list>\n <smart-button [options]=\"addButtonOptions\" class=\"add\" *ngIf=\"!(fieldOptions?.possibilities?.static)\">\n <span style=\"font-weight: 300\">{{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }} > &nbsp;</span><b>{{ 'add' | translate }}</b>\n </smart-button>\n</ng-container>","styles":["@import\"https://fonts.googleapis.com/css2?family=Material+Icons\";@import\"https://fonts.googleapis.com/css2?family=Material+Icons+Outlined\";ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start: 0 !important;--padding-end: 0 !important;width:100%;-webkit-padding-end:0!important;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:\"Material Icons Outlined\";font-weight:normal;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color: transparent !important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;background-color:transparent;box-shadow:none}.cdk-drag-preview{margin:0;padding:0;box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":42,"character":12},{"__symbolic":"reference","module":"../../../factories/form/form.factory","name":"FormFactory","line":43,"character":25}]}],"afterSetOptionsHandler":[{"__symbolic":"method"}],"onRemove":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"initData":[{"__symbolic":"method"}],"drop":[{"__symbolic":"method"}],"getOptions":[{"__symbolic":"method"}]}}}}]
@@ -8,6 +8,7 @@ export class InputAttachmentComponent extends InputFileBaseComponent {
8
8
  super(cd, renderer, fileService, toastService, translateService);
9
9
  }
10
10
  }
11
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
11
12
  InputAttachmentComponent.decorators = [
12
13
  { type: Component, args: [{
13
14
  selector: "smart-input-attachment",
@@ -16,7 +17,13 @@ InputAttachmentComponent.decorators = [
16
17
  styles: [""]
17
18
  },] }
18
19
  ];
19
- /** @nocollapse */
20
+ /**
21
+ * @type {function(): !Array<(null|{
22
+ * type: ?,
23
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
24
+ * })>}
25
+ * @nocollapse
26
+ */
20
27
  InputAttachmentComponent.ctorParameters = () => [
21
28
  { type: ChangeDetectorRef },
22
29
  { type: Renderer2 },
@@ -1 +1 @@
1
- {"version":3,"file":"attachment.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/attachment/attachment.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EAAE,iBAAiB,EAC1C,SAAS,EACD,SAAS,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAC,sBAAsB,EAAC,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAChE,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AAQnE,MAAM,OAAO,wBAA4B,SAAQ,sBAAyB;IACtE,YACI,EAAqB,EACrB,QAAmB,EACnB,WAAwB,EACxB,YAA0B,EAC1B,gBAAkC;QAElC,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;IACrE,CAAC;;;YAfJ,SAAS,SAAC;gBACP,QAAQ,EAAE,wBAAwB;gBAClC,0/BAA0C;gBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAClD;;;;YAf4B,iBAAiB;YAElC,SAAS;YAKb,WAAW;YACX,YAAY;YAJZ,gBAAgB","sourcesContent":["import {\n ChangeDetectionStrategy, ChangeDetectorRef,\n Component,\n OnInit, Renderer2,\n} from '@angular/core';\nimport {TranslateService} from \"@ngx-translate/core\";\n\nimport {InputFileBaseComponent} from \"../base/file.component\";\nimport {FileService} from \"../../../services/file/file.service\";\nimport {ToastService} from \"../../../services/toast/toast.service\";\n\n@Component({\n selector: \"smart-input-attachment\",\n templateUrl: \"./attachment.component.html\",\n styleUrls: [\"./attachment.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InputAttachmentComponent<T> extends InputFileBaseComponent<T> implements OnInit {\n constructor(\n cd: ChangeDetectorRef,\n renderer: Renderer2,\n fileService: FileService,\n toastService: ToastService,\n translateService: TranslateService\n ) {\n super(cd, renderer, fileService, toastService, translateService);\n }\n}\n"]}
1
+ {"version":3,"file":"attachment.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/attachment/attachment.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EAAE,iBAAiB,EAC1C,SAAS,EACD,SAAS,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAC,sBAAsB,EAAC,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAChE,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AAQnE,MAAM,OAAO,wBAA4B,SAAQ,sBAAyB;IACtE,YACI,EAAqB,EACrB,QAAmB,EACnB,WAAwB,EACxB,YAA0B,EAC1B,gBAAkC;QAElC,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;IACrE,CAAC;;;;YAfJ,SAAS,SAAC;gBACP,QAAQ,EAAE,wBAAwB;gBAClC,0/BAA0C;gBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAClD;;;;;;;;;;YAf4B,iBAAiB;YAElC,SAAS;YAKb,WAAW;YACX,YAAY;YAJZ,gBAAgB","sourcesContent":["import {\n ChangeDetectionStrategy, ChangeDetectorRef,\n Component,\n OnInit, Renderer2,\n} from '@angular/core';\nimport {TranslateService} from \"@ngx-translate/core\";\n\nimport {InputFileBaseComponent} from \"../base/file.component\";\nimport {FileService} from \"../../../services/file/file.service\";\nimport {ToastService} from \"../../../services/toast/toast.service\";\n\n@Component({\n selector: \"smart-input-attachment\",\n templateUrl: \"./attachment.component.html\",\n styleUrls: [\"./attachment.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InputAttachmentComponent<T> extends InputFileBaseComponent<T> implements OnInit {\n constructor(\n cd: ChangeDetectorRef,\n renderer: Renderer2,\n fileService: FileService,\n toastService: ToastService,\n translateService: TranslateService\n ) {\n super(cd, renderer, fileService, toastService, translateService);\n }\n}\n"]}
@@ -23,13 +23,21 @@ export class InputBaseComponent extends BaseComponent {
23
23
  this.required = validator && validator.required;
24
24
  }
25
25
  }
26
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
26
27
  InputBaseComponent.decorators = [
27
28
  { type: Directive }
28
29
  ];
29
- /** @nocollapse */
30
+ /**
31
+ * @type {function(): !Array<(null|{
32
+ * type: ?,
33
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
34
+ * })>}
35
+ * @nocollapse
36
+ */
30
37
  InputBaseComponent.ctorParameters = () => [
31
38
  { type: ChangeDetectorRef }
32
39
  ];
40
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
33
41
  InputBaseComponent.propDecorators = {
34
42
  fieldOptions: [{ type: Input }],
35
43
  options: [{ type: Input }]
@@ -1 +1 @@
1
- {"version":3,"file":"base.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAOpE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAGzC,MAAM,OAAgB,kBAAsB,SAAQ,aAAa;IAuB/D,YAAgC,EAAqB;QACnD,KAAK,EAAE,CAAC;QADsB,OAAE,GAAF,EAAE,CAAmB;IAErD,CAAC;IAjBD,IAAa,OAAO,CAAC,GAAoB;QACvC,IAAI,CAAC,GAAG;YAAE,OAAO;QAEjB,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC;QAE5C,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;QAEzC,IAAI,CAAC,WAAW,EAAE,CAAC;QAEnB,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAE9B,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC;IAMS,sBAAsB;IAEhC,CAAC;IAEO,WAAW;;QACjB,MAAM,SAAS,GAAG,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,SAAS,EAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAqB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACjG,IAAI,CAAC,QAAQ,GAAG,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC;IAClD,CAAC;;;YAnCF,SAAS;;;;YATD,iBAAiB;;;2BAiBvB,KAAK;sBACL,KAAK","sourcesContent":["import { ChangeDetectorRef, Input, Directive } from \"@angular/core\";\nimport {AbstractControl, Validators} from \"@angular/forms\";\nimport {Observable} from \"rxjs\";\n\nimport { IFieldOptions } from \"@smartsoft001/models\";\n\nimport { InputOptions } from \"../../../models\";\nimport {BaseComponent} from \"../../base\";\n\n@Directive()\nexport abstract class InputBaseComponent<T> extends BaseComponent {\n internalOptions: InputOptions<T>;\n control: AbstractControl;\n required: boolean;\n\n possibilities$: Observable<{ id: any, text: string }[]>;\n\n @Input() fieldOptions: IFieldOptions;\n @Input() set options(val: InputOptions<T>) {\n if (!val) return;\n\n this.internalOptions = val;\n this.control = this.internalOptions.control;\n\n this.possibilities$ = val.possibilities$;\n\n this.setRequired();\n\n this.afterSetOptionsHandler();\n\n this.cd.detectChanges();\n }\n\n protected constructor(protected cd: ChangeDetectorRef) {\n super();\n }\n\n protected afterSetOptionsHandler(): void {\n\n }\n\n private setRequired(): void {\n const validator = this.control?.validator ? this.control.validator({} as AbstractControl) : null;\n this.required = validator && validator.required;\n }\n}\n"]}
1
+ {"version":3,"file":"base.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/input/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAOpE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAGzC,MAAM,OAAgB,kBAAsB,SAAQ,aAAa;IAuB/D,YAAgC,EAAqB;QACnD,KAAK,EAAE,CAAC;QADsB,OAAE,GAAF,EAAE,CAAmB;IAErD,CAAC;IAjBD,IAAa,OAAO,CAAC,GAAoB;QACvC,IAAI,CAAC,GAAG;YAAE,OAAO;QAEjB,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC;QAE5C,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;QAEzC,IAAI,CAAC,WAAW,EAAE,CAAC;QAEnB,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAE9B,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC;IAMS,sBAAsB;IAEhC,CAAC;IAEO,WAAW;;QACjB,MAAM,SAAS,GAAG,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,SAAS,EAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAqB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACjG,IAAI,CAAC,QAAQ,GAAG,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC;IAClD,CAAC;;;;YAnCF,SAAS;;;;;;;;;;YATD,iBAAiB;;;;2BAiBvB,KAAK;sBACL,KAAK","sourcesContent":["import { ChangeDetectorRef, Input, Directive } from \"@angular/core\";\nimport {AbstractControl, Validators} from \"@angular/forms\";\nimport {Observable} from \"rxjs\";\n\nimport { IFieldOptions } from \"@smartsoft001/models\";\n\nimport { InputOptions } from \"../../../models\";\nimport {BaseComponent} from \"../../base\";\n\n@Directive()\nexport abstract class InputBaseComponent<T> extends BaseComponent {\n internalOptions: InputOptions<T>;\n control: AbstractControl;\n required: boolean;\n\n possibilities$: Observable<{ id: any, text: string }[]>;\n\n @Input() fieldOptions: IFieldOptions;\n @Input() set options(val: InputOptions<T>) {\n if (!val) return;\n\n this.internalOptions = val;\n this.control = this.internalOptions.control;\n\n this.possibilities$ = val.possibilities$;\n\n this.setRequired();\n\n this.afterSetOptionsHandler();\n\n this.cd.detectChanges();\n }\n\n protected constructor(protected cd: ChangeDetectorRef) {\n super();\n }\n\n protected afterSetOptionsHandler(): void {\n\n }\n\n private setRequired(): void {\n const validator = this.control?.validator ? this.control.validator({} as AbstractControl) : null;\n this.required = validator && validator.required;\n }\n}\n"]}
@@ -69,10 +69,17 @@ export class InputFileBaseComponent extends InputBaseComponent {
69
69
  });
70
70
  }
71
71
  }
72
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
72
73
  InputFileBaseComponent.decorators = [
73
74
  { type: Directive }
74
75
  ];
75
- /** @nocollapse */
76
+ /**
77
+ * @type {function(): !Array<(null|{
78
+ * type: ?,
79
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
80
+ * })>}
81
+ * @nocollapse
82
+ */
76
83
  InputFileBaseComponent.ctorParameters = () => [
77
84
  { type: ChangeDetectorRef },
78
85
  { type: Renderer2 },
@@ -80,6 +87,7 @@ InputFileBaseComponent.ctorParameters = () => [
80
87
  { type: ToastService },
81
88
  { type: TranslateService }
82
89
  ];
90
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
83
91
  InputFileBaseComponent.propDecorators = {
84
92
  inputElementRef: [{ type: ViewChild, args: ['inputObj', { read: ElementRef },] }]
85
93
  };