@pepperi-addons/ngx-lib 0.3.9-beta.21 → 0.3.9-beta.22

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 (654) hide show
  1. package/address/address.component.d.ts +27 -27
  2. package/address/address.module.d.ts +2 -2
  3. package/address/pepperi-addons-ngx-lib-address.d.ts +4 -4
  4. package/address/public-api.d.ts +2 -2
  5. package/attachment/attachment.component.d.ts +82 -82
  6. package/attachment/attachment.module.d.ts +2 -2
  7. package/attachment/pepperi-addons-ngx-lib-attachment.d.ts +4 -4
  8. package/attachment/public-api.d.ts +2 -2
  9. package/bread-crumbs/bread-crumbs.component.d.ts +23 -23
  10. package/bread-crumbs/bread-crumbs.model.d.ts +11 -11
  11. package/bread-crumbs/bread-crumbs.module.d.ts +5 -5
  12. package/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.d.ts +4 -4
  13. package/bread-crumbs/public-api.d.ts +3 -3
  14. package/bundles/pepperi-addons-ngx-lib-address.umd.js +124 -124
  15. package/bundles/pepperi-addons-ngx-lib-attachment.umd.js +247 -247
  16. package/bundles/pepperi-addons-ngx-lib-bread-crumbs.umd.js +121 -121
  17. package/bundles/pepperi-addons-ngx-lib-button.umd.js +158 -158
  18. package/bundles/pepperi-addons-ngx-lib-carousel.umd.js +788 -788
  19. package/bundles/pepperi-addons-ngx-lib-checkbox.umd.js +192 -192
  20. package/bundles/pepperi-addons-ngx-lib-color.umd.js +296 -296
  21. package/bundles/pepperi-addons-ngx-lib-date.umd.js +660 -660
  22. package/bundles/pepperi-addons-ngx-lib-dialog.umd.js +171 -171
  23. package/bundles/pepperi-addons-ngx-lib-draggable-items.umd.js +151 -151
  24. package/bundles/pepperi-addons-ngx-lib-field-title.umd.js +57 -57
  25. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js +260 -260
  26. package/bundles/pepperi-addons-ngx-lib-form.umd.js +3237 -3229
  27. package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
  28. package/bundles/pepperi-addons-ngx-lib-group-buttons.umd.js +87 -87
  29. package/bundles/pepperi-addons-ngx-lib-icon.umd.js +681 -681
  30. package/bundles/pepperi-addons-ngx-lib-image.umd.js +316 -316
  31. package/bundles/pepperi-addons-ngx-lib-images-filmstrip.umd.js +413 -413
  32. package/bundles/pepperi-addons-ngx-lib-link.umd.js +464 -464
  33. package/bundles/pepperi-addons-ngx-lib-list.umd.js +3187 -3187
  34. package/bundles/pepperi-addons-ngx-lib-menu.umd.js +646 -646
  35. package/bundles/pepperi-addons-ngx-lib-page-layout.umd.js +60 -60
  36. package/bundles/pepperi-addons-ngx-lib-profile-data-views-list.umd.js +543 -543
  37. package/bundles/pepperi-addons-ngx-lib-quantity-selector.umd.js +914 -914
  38. package/bundles/pepperi-addons-ngx-lib-query-builder.umd.js +1060 -1060
  39. package/bundles/pepperi-addons-ngx-lib-rich-html-textarea.umd.js +275 -275
  40. package/bundles/pepperi-addons-ngx-lib-search.umd.js +326 -326
  41. package/bundles/pepperi-addons-ngx-lib-select.umd.js +576 -576
  42. package/bundles/pepperi-addons-ngx-lib-separator.umd.js +79 -79
  43. package/bundles/pepperi-addons-ngx-lib-side-bar.umd.js +163 -163
  44. package/bundles/pepperi-addons-ngx-lib-signature.umd.js +283 -283
  45. package/bundles/pepperi-addons-ngx-lib-size-detector.umd.js +113 -113
  46. package/bundles/pepperi-addons-ngx-lib-slider.umd.js +124 -124
  47. package/bundles/pepperi-addons-ngx-lib-smart-filters.umd.js +1780 -1780
  48. package/bundles/pepperi-addons-ngx-lib-textarea.umd.js +211 -211
  49. package/bundles/pepperi-addons-ngx-lib-textbox-icon.umd.js +80 -80
  50. package/bundles/pepperi-addons-ngx-lib-textbox.umd.js +506 -506
  51. package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js +129 -129
  52. package/bundles/pepperi-addons-ngx-lib.umd.js +4719 -4719
  53. package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
  54. package/button/button.component.d.ts +99 -99
  55. package/button/button.model.d.ts +14 -14
  56. package/button/button.module.d.ts +2 -2
  57. package/button/pepperi-addons-ngx-lib-button.d.ts +4 -4
  58. package/button/public-api.d.ts +3 -3
  59. package/carousel/carousel-item.directive.d.ts +9 -9
  60. package/carousel/carousel.component.d.ts +145 -145
  61. package/carousel/carousel.module.d.ts +2 -2
  62. package/carousel/pepperi-addons-ngx-lib-carousel.d.ts +4 -4
  63. package/carousel/public-api.d.ts +3 -3
  64. package/checkbox/checkbox.component.d.ts +47 -47
  65. package/checkbox/checkbox.module.d.ts +5 -5
  66. package/checkbox/pepperi-addons-ngx-lib-checkbox.d.ts +4 -4
  67. package/checkbox/public-api.d.ts +2 -2
  68. package/color/color-picker.component.d.ts +52 -52
  69. package/color/color.component.d.ts +26 -26
  70. package/color/color.model.d.ts +1 -1
  71. package/color/color.module.d.ts +5 -5
  72. package/color/pepperi-addons-ngx-lib-color.d.ts +5 -5
  73. package/color/public-api.d.ts +3 -3
  74. package/core/clipboard/clipboard.directive.d.ts +2 -2
  75. package/core/clipboard/clipboard.service.d.ts +2 -2
  76. package/core/clipboard/index.d.ts +1 -1
  77. package/core/clipboard/public-api.d.ts +2 -2
  78. package/core/common/directives/auto-width.directive.d.ts +16 -16
  79. package/core/common/directives/button-blur.directive.d.ts +6 -6
  80. package/core/common/directives/button-loader.directive.d.ts +23 -23
  81. package/core/common/directives/data-qa.directive.d.ts +8 -8
  82. package/core/common/directives/index.d.ts +1 -1
  83. package/core/common/directives/menu-blur.directive.d.ts +7 -7
  84. package/core/common/directives/prevent-multi-click.directive.d.ts +4 -4
  85. package/core/common/directives/print.directive.d.ts +72 -72
  86. package/core/common/directives/public-api.d.ts +7 -7
  87. package/core/common/index.d.ts +1 -1
  88. package/core/common/model/index.d.ts +1 -1
  89. package/core/common/model/papi.model.d.ts +2 -2
  90. package/core/common/model/public-api.d.ts +3 -3
  91. package/core/common/model/utilities.model.d.ts +5 -5
  92. package/core/common/model/wapi.model.d.ts +200 -200
  93. package/core/common/pipes/common-pipes.d.ts +36 -36
  94. package/core/common/pipes/index.d.ts +1 -1
  95. package/core/common/pipes/public-api.d.ts +1 -1
  96. package/core/common/public-api.d.ts +4 -4
  97. package/core/common/services/addon.service.d.ts +32 -32
  98. package/core/common/services/color.service.d.ts +48 -48
  99. package/core/common/services/cookie.service.d.ts +50 -50
  100. package/core/common/services/data-convertor.service.d.ts +39 -39
  101. package/core/common/services/file.service.d.ts +24 -24
  102. package/core/common/services/index.d.ts +1 -1
  103. package/core/common/services/jwt-helper.service.d.ts +10 -10
  104. package/core/common/services/public-api.d.ts +11 -11
  105. package/core/common/services/session.service.d.ts +15 -15
  106. package/core/common/services/translate.service.d.ts +9 -9
  107. package/core/common/services/utilities.service.d.ts +18 -18
  108. package/core/common/services/validator.service.d.ts +28 -28
  109. package/core/common/services/window-scrolling.service.d.ts +7 -7
  110. package/core/customization/customization.model.d.ts +264 -264
  111. package/core/customization/customization.service.d.ts +155 -155
  112. package/core/customization/index.d.ts +1 -1
  113. package/core/customization/public-api.d.ts +2 -2
  114. package/core/http/index.d.ts +1 -1
  115. package/core/http/interceptors/error.interceptor.d.ts +5 -5
  116. package/core/http/interceptors/index.d.ts +11 -11
  117. package/core/http/interceptors/loader.interceptor.d.ts +8 -8
  118. package/core/http/interceptors/profiler.interceptor.d.ts +5 -5
  119. package/core/http/public-api.d.ts +2 -2
  120. package/core/http/services/http.service.d.ts +25 -25
  121. package/core/http/services/loader.service.d.ts +10 -10
  122. package/core/index.d.ts +1 -1
  123. package/core/layout/index.d.ts +1 -1
  124. package/core/layout/layout.service.d.ts +33 -33
  125. package/core/layout/public-api.d.ts +2 -2
  126. package/core/layout/rtl.directive.d.ts +16 -16
  127. package/core/portal/attach.directive.d.ts +10 -10
  128. package/core/portal/index.d.ts +1 -1
  129. package/core/portal/portal.service.d.ts +9 -9
  130. package/core/portal/public-api.d.ts +3 -3
  131. package/core/portal/target.directive.d.ts +9 -9
  132. package/core/public-api.d.ts +7 -7
  133. package/core/scroll-to/index.d.ts +1 -1
  134. package/core/scroll-to/public-api.d.ts +1 -1
  135. package/core/scroll-to/scroll-to.service.d.ts +8 -8
  136. package/date/date.component.d.ts +65 -65
  137. package/date/date.model.d.ts +26 -26
  138. package/date/date.module.d.ts +5 -5
  139. package/date/pepperi-addons-ngx-lib-date.d.ts +5 -5
  140. package/date/public-api.d.ts +2 -2
  141. package/dialog/default-dialog.component.d.ts +8 -8
  142. package/dialog/dialog.component.d.ts +6 -6
  143. package/dialog/dialog.model.d.ts +27 -27
  144. package/dialog/dialog.module.d.ts +5 -5
  145. package/dialog/dialog.service.d.ts +24 -24
  146. package/dialog/pepperi-addons-ngx-lib-dialog.d.ts +5 -5
  147. package/dialog/public-api.d.ts +4 -4
  148. package/draggable-items/draggable-item/draggable-item.component.d.ts +8 -8
  149. package/draggable-items/draggable-items.component.d.ts +33 -33
  150. package/draggable-items/draggable-items.model.d.ts +7 -7
  151. package/draggable-items/draggable-items.module.d.ts +5 -5
  152. package/draggable-items/pepperi-addons-ngx-lib-draggable-items.d.ts +4 -4
  153. package/draggable-items/pepperi-addons-ngx-lib-draggable-items.metadata.json +1 -1
  154. package/draggable-items/public-api.d.ts +4 -4
  155. package/esm2015/address/address.component.js +96 -96
  156. package/esm2015/address/address.module.js +30 -30
  157. package/esm2015/address/pepperi-addons-ngx-lib-address.js +4 -4
  158. package/esm2015/address/public-api.js +5 -5
  159. package/esm2015/attachment/attachment.component.js +208 -208
  160. package/esm2015/attachment/attachment.module.js +28 -28
  161. package/esm2015/attachment/pepperi-addons-ngx-lib-attachment.js +4 -4
  162. package/esm2015/attachment/public-api.js +5 -5
  163. package/esm2015/bread-crumbs/bread-crumbs.component.js +78 -78
  164. package/esm2015/bread-crumbs/bread-crumbs.model.js +6 -6
  165. package/esm2015/bread-crumbs/bread-crumbs.module.js +34 -34
  166. package/esm2015/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.js +4 -4
  167. package/esm2015/bread-crumbs/public-api.js +6 -6
  168. package/esm2015/button/button.component.js +127 -127
  169. package/esm2015/button/button.model.js +5 -5
  170. package/esm2015/button/button.module.js +26 -26
  171. package/esm2015/button/pepperi-addons-ngx-lib-button.js +4 -4
  172. package/esm2015/button/public-api.js +6 -6
  173. package/esm2015/carousel/carousel-item.directive.js +26 -26
  174. package/esm2015/carousel/carousel.component.js +699 -699
  175. package/esm2015/carousel/carousel.module.js +11 -11
  176. package/esm2015/carousel/pepperi-addons-ngx-lib-carousel.js +4 -4
  177. package/esm2015/carousel/public-api.js +7 -7
  178. package/esm2015/checkbox/checkbox.component.js +151 -151
  179. package/esm2015/checkbox/checkbox.module.js +39 -39
  180. package/esm2015/checkbox/pepperi-addons-ngx-lib-checkbox.js +4 -4
  181. package/esm2015/checkbox/public-api.js +5 -5
  182. package/esm2015/color/color-picker.component.js +194 -194
  183. package/esm2015/color/color.component.js +74 -74
  184. package/esm2015/color/color.model.js +1 -1
  185. package/esm2015/color/color.module.js +57 -57
  186. package/esm2015/color/pepperi-addons-ngx-lib-color.js +5 -5
  187. package/esm2015/color/public-api.js +6 -6
  188. package/esm2015/core/clipboard/clipboard.directive.js +19 -19
  189. package/esm2015/core/clipboard/clipboard.service.js +11 -11
  190. package/esm2015/core/clipboard/index.js +4 -4
  191. package/esm2015/core/clipboard/public-api.js +5 -5
  192. package/esm2015/core/common/directives/auto-width.directive.js +77 -77
  193. package/esm2015/core/common/directives/button-blur.directive.js +22 -22
  194. package/esm2015/core/common/directives/button-loader.directive.js +102 -102
  195. package/esm2015/core/common/directives/data-qa.directive.js +22 -22
  196. package/esm2015/core/common/directives/index.js +4 -4
  197. package/esm2015/core/common/directives/menu-blur.directive.js +28 -28
  198. package/esm2015/core/common/directives/prevent-multi-click.directive.js +21 -21
  199. package/esm2015/core/common/directives/print.directive.js +134 -134
  200. package/esm2015/core/common/directives/public-api.js +11 -11
  201. package/esm2015/core/common/index.js +4 -4
  202. package/esm2015/core/common/model/index.js +4 -4
  203. package/esm2015/core/common/model/papi.model.js +2 -2
  204. package/esm2015/core/common/model/public-api.js +6 -6
  205. package/esm2015/core/common/model/utilities.model.js +56 -56
  206. package/esm2015/core/common/model/wapi.model.js +155 -155
  207. package/esm2015/core/common/pipes/common-pipes.js +141 -141
  208. package/esm2015/core/common/pipes/index.js +4 -4
  209. package/esm2015/core/common/pipes/public-api.js +4 -4
  210. package/esm2015/core/common/public-api.js +7 -7
  211. package/esm2015/core/common/services/addon.service.js +123 -123
  212. package/esm2015/core/common/services/color.service.js +356 -356
  213. package/esm2015/core/common/services/cookie.service.js +147 -147
  214. package/esm2015/core/common/services/data-convertor.service.js +111 -111
  215. package/esm2015/core/common/services/file.service.js +211 -211
  216. package/esm2015/core/common/services/index.js +4 -4
  217. package/esm2015/core/common/services/jwt-helper.service.js +103 -103
  218. package/esm2015/core/common/services/public-api.js +14 -14
  219. package/esm2015/core/common/services/session.service.js +72 -72
  220. package/esm2015/core/common/services/translate.service.js +47 -47
  221. package/esm2015/core/common/services/utilities.service.js +123 -123
  222. package/esm2015/core/common/services/validator.service.js +272 -272
  223. package/esm2015/core/common/services/window-scrolling.service.js +30 -30
  224. package/esm2015/core/customization/customization.model.js +290 -290
  225. package/esm2015/core/customization/customization.service.js +774 -774
  226. package/esm2015/core/customization/index.js +4 -4
  227. package/esm2015/core/customization/public-api.js +5 -5
  228. package/esm2015/core/http/index.js +4 -4
  229. package/esm2015/core/http/interceptors/error.interceptor.js +23 -23
  230. package/esm2015/core/http/interceptors/index.js +23 -23
  231. package/esm2015/core/http/interceptors/loader.interceptor.js +32 -32
  232. package/esm2015/core/http/interceptors/profiler.interceptor.js +28 -28
  233. package/esm2015/core/http/public-api.js +5 -5
  234. package/esm2015/core/http/services/http.service.js +160 -160
  235. package/esm2015/core/http/services/loader.service.js +48 -48
  236. package/esm2015/core/index.js +4 -4
  237. package/esm2015/core/layout/index.js +4 -4
  238. package/esm2015/core/layout/layout.service.js +168 -168
  239. package/esm2015/core/layout/public-api.js +5 -5
  240. package/esm2015/core/layout/rtl.directive.js +46 -46
  241. package/esm2015/core/portal/attach.directive.js +26 -26
  242. package/esm2015/core/portal/index.js +4 -4
  243. package/esm2015/core/portal/portal.service.js +34 -34
  244. package/esm2015/core/portal/public-api.js +6 -6
  245. package/esm2015/core/portal/target.directive.js +23 -23
  246. package/esm2015/core/public-api.js +10 -10
  247. package/esm2015/core/scroll-to/index.js +4 -4
  248. package/esm2015/core/scroll-to/public-api.js +5 -5
  249. package/esm2015/core/scroll-to/scroll-to.service.js +81 -81
  250. package/esm2015/date/date.component.js +244 -244
  251. package/esm2015/date/date.model.js +44 -44
  252. package/esm2015/date/date.module.js +50 -50
  253. package/esm2015/date/pepperi-addons-ngx-lib-date.js +5 -5
  254. package/esm2015/date/public-api.js +5 -5
  255. package/esm2015/dialog/default-dialog.component.js +28 -28
  256. package/esm2015/dialog/dialog.component.js +21 -21
  257. package/esm2015/dialog/dialog.model.js +21 -21
  258. package/esm2015/dialog/dialog.module.js +39 -39
  259. package/esm2015/dialog/dialog.service.js +73 -73
  260. package/esm2015/dialog/pepperi-addons-ngx-lib-dialog.js +5 -5
  261. package/esm2015/dialog/public-api.js +7 -7
  262. package/esm2015/draggable-items/draggable-item/draggable-item.component.js +24 -24
  263. package/esm2015/draggable-items/draggable-items.component.js +91 -91
  264. package/esm2015/draggable-items/draggable-items.model.js +1 -1
  265. package/esm2015/draggable-items/draggable-items.module.js +42 -42
  266. package/esm2015/draggable-items/pepperi-addons-ngx-lib-draggable-items.js +4 -4
  267. package/esm2015/draggable-items/public-api.js +7 -7
  268. package/esm2015/field-title/field-title.component.js +31 -31
  269. package/esm2015/field-title/field-title.module.js +31 -31
  270. package/esm2015/field-title/pepperi-addons-ngx-lib-field-title.js +4 -4
  271. package/esm2015/field-title/public-api.js +5 -5
  272. package/esm2015/files-uploader/files-uploader.component.js +220 -220
  273. package/esm2015/files-uploader/files-uploader.module.js +49 -49
  274. package/esm2015/files-uploader/pepperi-addons-ngx-lib-files-uploader.js +4 -4
  275. package/esm2015/files-uploader/public-api.js +5 -5
  276. package/esm2015/form/field-generator.component.js +121 -121
  277. package/esm2015/form/form.component.js +1189 -1181
  278. package/esm2015/form/form.model.js +1 -1
  279. package/esm2015/form/form.module.js +107 -107
  280. package/esm2015/form/indicators.component.js +20 -20
  281. package/esm2015/form/internal-button.component.js +165 -165
  282. package/esm2015/form/internal-carusel.component.js +115 -115
  283. package/esm2015/form/internal-carusel.service.js +31 -31
  284. package/esm2015/form/internal-list.component.js +494 -494
  285. package/esm2015/form/internal-menu.component.js +54 -54
  286. package/esm2015/form/internal-page.component.js +350 -350
  287. package/esm2015/form/internal-page.service.js +120 -120
  288. package/esm2015/form/pepperi-addons-ngx-lib-form.js +13 -13
  289. package/esm2015/form/public-api.js +6 -6
  290. package/esm2015/group-buttons/group-buttons.component.js +57 -57
  291. package/esm2015/group-buttons/group-buttons.module.js +37 -37
  292. package/esm2015/group-buttons/pepperi-addons-ngx-lib-group-buttons.js +4 -4
  293. package/esm2015/group-buttons/public-api.js +5 -5
  294. package/esm2015/icon/icon-generated-all.model.js +100 -100
  295. package/esm2015/icon/icon-generated.model.js +389 -389
  296. package/esm2015/icon/icon-registry.service.js +22 -22
  297. package/esm2015/icon/icon.component.js +124 -124
  298. package/esm2015/icon/icon.module.js +14 -14
  299. package/esm2015/icon/icon.service.js +31 -31
  300. package/esm2015/icon/pepperi-addons-ngx-lib-icon.js +4 -4
  301. package/esm2015/icon/public-api.js +10 -10
  302. package/esm2015/image/image.component.js +222 -222
  303. package/esm2015/image/image.module.js +48 -48
  304. package/esm2015/image/image.service.js +54 -54
  305. package/esm2015/image/pepperi-addons-ngx-lib-image.js +4 -4
  306. package/esm2015/image/public-api.js +6 -6
  307. package/esm2015/images-filmstrip/images-filmstrip.component.js +363 -363
  308. package/esm2015/images-filmstrip/images-filmstrip.module.js +70 -70
  309. package/esm2015/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.js +4 -4
  310. package/esm2015/images-filmstrip/public-api.js +5 -5
  311. package/esm2015/link/link.component.js +390 -390
  312. package/esm2015/link/link.module.js +50 -50
  313. package/esm2015/link/link.pipes.js +14 -14
  314. package/esm2015/link/pepperi-addons-ngx-lib-link.js +5 -5
  315. package/esm2015/link/public-api.js +5 -5
  316. package/esm2015/list/list-actions.component.js +35 -35
  317. package/esm2015/list/list-carousel.component.js +94 -94
  318. package/esm2015/list/list-chooser.component.js +57 -57
  319. package/esm2015/list/list-pager.component.js +112 -112
  320. package/esm2015/list/list-sorting.component.js +54 -54
  321. package/esm2015/list/list-total.component.js +23 -23
  322. package/esm2015/list/list-views.component.js +71 -71
  323. package/esm2015/list/list.component.js +1123 -1123
  324. package/esm2015/list/list.model.js +3 -3
  325. package/esm2015/list/list.module.js +87 -87
  326. package/esm2015/list/list.pipes.js +39 -39
  327. package/esm2015/list/pepperi-addons-ngx-lib-list.js +6 -6
  328. package/esm2015/list/public-api.js +14 -14
  329. package/esm2015/list/virtual-scroller.js +1018 -1018
  330. package/esm2015/menu/menu-item.component.js +102 -102
  331. package/esm2015/menu/menu.component.js +173 -173
  332. package/esm2015/menu/menu.model.js +18 -18
  333. package/esm2015/menu/menu.module.js +39 -39
  334. package/esm2015/menu/pepperi-addons-ngx-lib-menu.js +5 -5
  335. package/esm2015/menu/public-api.js +6 -6
  336. package/esm2015/ngx-lib.module.js +76 -76
  337. package/esm2015/page-layout/page-layout.component.js +41 -41
  338. package/esm2015/page-layout/page-layout.module.js +20 -20
  339. package/esm2015/page-layout/pepperi-addons-ngx-lib-page-layout.js +4 -4
  340. package/esm2015/page-layout/public-api.js +5 -5
  341. package/esm2015/pepperi-addons-ngx-lib.js +8 -8
  342. package/esm2015/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.js +4 -4
  343. package/esm2015/profile-data-views-list/profile-data-view/profile-data-view.component.js +38 -38
  344. package/esm2015/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.js +59 -59
  345. package/esm2015/profile-data-views-list/profile-data-views-list.component.js +86 -86
  346. package/esm2015/profile-data-views-list/profile-data-views-list.model.js +1 -1
  347. package/esm2015/profile-data-views-list/profile-data-views-list.module.js +56 -56
  348. package/esm2015/profile-data-views-list/public-api.js +8 -8
  349. package/esm2015/public-api.js +5 -5
  350. package/esm2015/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.js +6 -6
  351. package/esm2015/quantity-selector/public-api.js +5 -5
  352. package/esm2015/quantity-selector/quantity-selector-validation.directive.js +43 -43
  353. package/esm2015/quantity-selector/quantity-selector.component.js +460 -460
  354. package/esm2015/quantity-selector/quantity-selector.module.js +52 -52
  355. package/esm2015/quantity-selector/quantity-selector.pipes.js +18 -18
  356. package/esm2015/query-builder/common/model/field.js +1 -1
  357. package/esm2015/query-builder/common/model/filter.js +1 -1
  358. package/esm2015/query-builder/common/model/legacy.js +1 -1
  359. package/esm2015/query-builder/common/model/operator-unit.js +41 -41
  360. package/esm2015/query-builder/common/model/operator.js +206 -206
  361. package/esm2015/query-builder/common/model/structure.js +1 -1
  362. package/esm2015/query-builder/common/model/type-map.js +26 -26
  363. package/esm2015/query-builder/common/model/type.js +5 -5
  364. package/esm2015/query-builder/common/services/output-query.service.js +110 -110
  365. package/esm2015/query-builder/common/services/type-convertor.service.js +39 -39
  366. package/esm2015/query-builder/pepperi-addons-ngx-lib-query-builder.js +8 -8
  367. package/esm2015/query-builder/public-api.js +7 -7
  368. package/esm2015/query-builder/query-builder-item/query-builder-item.component.js +115 -115
  369. package/esm2015/query-builder/query-builder-section/query-builder-section.component.js +63 -63
  370. package/esm2015/query-builder/query-builder.component.js +103 -103
  371. package/esm2015/query-builder/query-builder.module.js +34 -34
  372. package/esm2015/query-builder/query-builder.service.js +281 -281
  373. package/esm2015/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.js +4 -4
  374. package/esm2015/rich-html-textarea/public-api.js +5 -5
  375. package/esm2015/rich-html-textarea/rich-html-textarea.component.js +219 -219
  376. package/esm2015/rich-html-textarea/rich-html-textarea.module.js +56 -56
  377. package/esm2015/search/pepperi-addons-ngx-lib-search.js +4 -4
  378. package/esm2015/search/public-api.js +6 -6
  379. package/esm2015/search/search.component.js +273 -273
  380. package/esm2015/search/search.model.js +1 -1
  381. package/esm2015/search/search.module.js +44 -44
  382. package/esm2015/select/pepperi-addons-ngx-lib-select.js +4 -4
  383. package/esm2015/select/public-api.js +5 -5
  384. package/esm2015/select/select.component.js +212 -212
  385. package/esm2015/select/select.module.js +42 -42
  386. package/esm2015/separator/pepperi-addons-ngx-lib-separator.js +4 -4
  387. package/esm2015/separator/public-api.js +5 -5
  388. package/esm2015/separator/separator.component.js +62 -62
  389. package/esm2015/separator/separator.module.js +12 -12
  390. package/esm2015/side-bar/pepperi-addons-ngx-lib-side-bar.js +4 -4
  391. package/esm2015/side-bar/public-api.js +6 -6
  392. package/esm2015/side-bar/side-bar.component.js +130 -130
  393. package/esm2015/side-bar/side-bar.model.js +1 -1
  394. package/esm2015/side-bar/side-bar.module.js +33 -33
  395. package/esm2015/signature/pepperi-addons-ngx-lib-signature.js +4 -4
  396. package/esm2015/signature/public-api.js +5 -5
  397. package/esm2015/signature/signature.component.js +230 -230
  398. package/esm2015/signature/signature.module.js +54 -54
  399. package/esm2015/size-detector/pepperi-addons-ngx-lib-size-detector.js +4 -4
  400. package/esm2015/size-detector/public-api.js +5 -5
  401. package/esm2015/size-detector/size-detector.component.js +88 -88
  402. package/esm2015/size-detector/size-detector.module.js +21 -21
  403. package/esm2015/slider/pepperi-addons-ngx-lib-slider.js +4 -4
  404. package/esm2015/slider/public-api.js +5 -5
  405. package/esm2015/slider/slider.component.js +95 -95
  406. package/esm2015/slider/slider.module.js +24 -24
  407. package/esm2015/smart-filters/boolean-filter/boolean-filter.component.js +41 -41
  408. package/esm2015/smart-filters/common/filter-actions.component.js +25 -25
  409. package/esm2015/smart-filters/common/model/base-filter-component.js +259 -259
  410. package/esm2015/smart-filters/common/model/creator.js +75 -75
  411. package/esm2015/smart-filters/common/model/field.js +116 -116
  412. package/esm2015/smart-filters/common/model/filter.js +1 -1
  413. package/esm2015/smart-filters/common/model/operator.js +215 -215
  414. package/esm2015/smart-filters/common/model/type.js +1 -1
  415. package/esm2015/smart-filters/date-filter/date-filter.component.js +143 -143
  416. package/esm2015/smart-filters/multi-select-filter/multi-select-filter.component.js +152 -152
  417. package/esm2015/smart-filters/number-filter/number-filter.component.js +102 -102
  418. package/esm2015/smart-filters/pepperi-addons-ngx-lib-smart-filters.js +4 -4
  419. package/esm2015/smart-filters/public-api.js +18 -18
  420. package/esm2015/smart-filters/smart-filters.component.js +129 -129
  421. package/esm2015/smart-filters/smart-filters.module.js +90 -90
  422. package/esm2015/smart-filters/text-filter/text-filter.component.js +78 -78
  423. package/esm2015/textarea/pepperi-addons-ngx-lib-textarea.js +4 -4
  424. package/esm2015/textarea/public-api.js +5 -5
  425. package/esm2015/textarea/textarea.component.js +160 -160
  426. package/esm2015/textarea/textarea.module.js +50 -50
  427. package/esm2015/textbox/pepperi-addons-ngx-lib-textbox.js +5 -5
  428. package/esm2015/textbox/public-api.js +5 -5
  429. package/esm2015/textbox/textbox-validation.directive.js +85 -85
  430. package/esm2015/textbox/textbox.component.js +368 -368
  431. package/esm2015/textbox/textbox.module.js +44 -44
  432. package/esm2015/textbox-icon/pepperi-addons-ngx-lib-textbox-icon.js +4 -4
  433. package/esm2015/textbox-icon/public-api.js +5 -5
  434. package/esm2015/textbox-icon/textbox-icon.component.js +40 -40
  435. package/esm2015/textbox-icon/textbox-icon.module.js +46 -46
  436. package/esm2015/top-bar/pepperi-addons-ngx-lib-top-bar.js +4 -4
  437. package/esm2015/top-bar/public-api.js +6 -6
  438. package/esm2015/top-bar/top-bar.component.js +98 -98
  439. package/esm2015/top-bar/top-bar.model.js +1 -1
  440. package/esm2015/top-bar/top-bar.module.js +40 -40
  441. package/fesm2015/pepperi-addons-ngx-lib-address.js +116 -116
  442. package/fesm2015/pepperi-addons-ngx-lib-attachment.js +227 -227
  443. package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.js +109 -109
  444. package/fesm2015/pepperi-addons-ngx-lib-button.js +149 -149
  445. package/fesm2015/pepperi-addons-ngx-lib-carousel.js +731 -731
  446. package/fesm2015/pepperi-addons-ngx-lib-checkbox.js +178 -178
  447. package/fesm2015/pepperi-addons-ngx-lib-color.js +292 -292
  448. package/fesm2015/pepperi-addons-ngx-lib-date.js +313 -313
  449. package/fesm2015/pepperi-addons-ngx-lib-dialog.js +157 -157
  450. package/fesm2015/pepperi-addons-ngx-lib-draggable-items.js +143 -143
  451. package/fesm2015/pepperi-addons-ngx-lib-field-title.js +55 -55
  452. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js +252 -252
  453. package/fesm2015/pepperi-addons-ngx-lib-form.js +2685 -2677
  454. package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
  455. package/fesm2015/pepperi-addons-ngx-lib-group-buttons.js +84 -84
  456. package/fesm2015/pepperi-addons-ngx-lib-icon.js +662 -662
  457. package/fesm2015/pepperi-addons-ngx-lib-image.js +300 -300
  458. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.js +400 -400
  459. package/fesm2015/pepperi-addons-ngx-lib-link.js +434 -434
  460. package/fesm2015/pepperi-addons-ngx-lib-list.js +2657 -2657
  461. package/fesm2015/pepperi-addons-ngx-lib-menu.js +314 -314
  462. package/fesm2015/pepperi-addons-ngx-lib-page-layout.js +55 -55
  463. package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.js +219 -219
  464. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.js +549 -549
  465. package/fesm2015/pepperi-addons-ngx-lib-query-builder.js +976 -976
  466. package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.js +256 -256
  467. package/fesm2015/pepperi-addons-ngx-lib-search.js +301 -301
  468. package/fesm2015/pepperi-addons-ngx-lib-select.js +242 -242
  469. package/fesm2015/pepperi-addons-ngx-lib-separator.js +71 -71
  470. package/fesm2015/pepperi-addons-ngx-lib-side-bar.js +154 -154
  471. package/fesm2015/pepperi-addons-ngx-lib-signature.js +267 -267
  472. package/fesm2015/pepperi-addons-ngx-lib-size-detector.js +103 -103
  473. package/fesm2015/pepperi-addons-ngx-lib-slider.js +112 -112
  474. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.js +1351 -1351
  475. package/fesm2015/pepperi-addons-ngx-lib-textarea.js +194 -194
  476. package/fesm2015/pepperi-addons-ngx-lib-textbox-icon.js +78 -78
  477. package/fesm2015/pepperi-addons-ngx-lib-textbox.js +478 -478
  478. package/fesm2015/pepperi-addons-ngx-lib-top-bar.js +125 -125
  479. package/fesm2015/pepperi-addons-ngx-lib.js +4087 -4087
  480. package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
  481. package/field-title/field-title.component.d.ts +11 -11
  482. package/field-title/field-title.module.d.ts +5 -5
  483. package/field-title/pepperi-addons-ngx-lib-field-title.d.ts +4 -4
  484. package/field-title/public-api.d.ts +2 -2
  485. package/files-uploader/files-uploader.component.d.ts +53 -53
  486. package/files-uploader/files-uploader.module.d.ts +5 -5
  487. package/files-uploader/pepperi-addons-ngx-lib-files-uploader.d.ts +4 -4
  488. package/files-uploader/public-api.d.ts +2 -2
  489. package/form/field-generator.component.d.ts +36 -36
  490. package/form/form.component.d.ts +88 -88
  491. package/form/form.model.d.ts +20 -20
  492. package/form/form.module.d.ts +5 -5
  493. package/form/indicators.component.d.ts +7 -7
  494. package/form/internal-button.component.d.ts +39 -39
  495. package/form/internal-carusel.component.d.ts +38 -38
  496. package/form/internal-carusel.service.d.ts +7 -7
  497. package/form/internal-list.component.d.ts +92 -92
  498. package/form/internal-menu.component.d.ts +16 -16
  499. package/form/internal-page.component.d.ts +72 -72
  500. package/form/internal-page.service.d.ts +19 -19
  501. package/form/pepperi-addons-ngx-lib-form.d.ts +13 -13
  502. package/form/public-api.d.ts +3 -3
  503. package/group-buttons/group-buttons.component.d.ts +20 -20
  504. package/group-buttons/group-buttons.module.d.ts +5 -5
  505. package/group-buttons/pepperi-addons-ngx-lib-group-buttons.d.ts +4 -4
  506. package/group-buttons/public-api.d.ts +2 -2
  507. package/icon/icon-generated-all.model.d.ts +99 -99
  508. package/icon/icon-generated.model.d.ts +394 -394
  509. package/icon/icon-registry.service.d.ts +6 -6
  510. package/icon/icon.component.d.ts +46 -46
  511. package/icon/icon.module.d.ts +2 -2
  512. package/icon/icon.service.d.ts +10 -10
  513. package/icon/pepperi-addons-ngx-lib-icon.d.ts +4 -4
  514. package/icon/public-api.d.ts +6 -6
  515. package/image/image.component.d.ts +62 -62
  516. package/image/image.module.d.ts +5 -5
  517. package/image/image.service.d.ts +11 -11
  518. package/image/pepperi-addons-ngx-lib-image.d.ts +4 -4
  519. package/image/public-api.d.ts +3 -3
  520. package/images-filmstrip/images-filmstrip.component.d.ts +82 -82
  521. package/images-filmstrip/images-filmstrip.module.d.ts +5 -5
  522. package/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.d.ts +4 -4
  523. package/images-filmstrip/public-api.d.ts +2 -2
  524. package/link/link.component.d.ts +136 -136
  525. package/link/link.module.d.ts +5 -5
  526. package/link/link.pipes.d.ts +4 -4
  527. package/link/pepperi-addons-ngx-lib-link.d.ts +5 -5
  528. package/link/public-api.d.ts +2 -2
  529. package/list/list-actions.component.d.ts +14 -14
  530. package/list/list-carousel.component.d.ts +36 -36
  531. package/list/list-chooser.component.d.ts +25 -25
  532. package/list/list-pager.component.d.ts +35 -35
  533. package/list/list-sorting.component.d.ts +26 -26
  534. package/list/list-total.component.d.ts +7 -7
  535. package/list/list-views.component.d.ts +31 -31
  536. package/list/list.component.d.ts +159 -159
  537. package/list/list.model.d.ts +30 -30
  538. package/list/list.module.d.ts +5 -5
  539. package/list/list.pipes.d.ts +11 -11
  540. package/list/pepperi-addons-ngx-lib-list.d.ts +6 -6
  541. package/list/public-api.d.ts +10 -10
  542. package/list/virtual-scroller.d.ts +176 -176
  543. package/menu/menu-item.component.d.ts +25 -25
  544. package/menu/menu.component.d.ts +43 -43
  545. package/menu/menu.model.d.ts +25 -25
  546. package/menu/menu.module.d.ts +5 -5
  547. package/menu/pepperi-addons-ngx-lib-menu.d.ts +5 -5
  548. package/menu/public-api.d.ts +3 -3
  549. package/ngx-lib.module.d.ts +2 -2
  550. package/package.json +1 -1
  551. package/page-layout/page-layout.component.d.ts +16 -16
  552. package/page-layout/page-layout.module.d.ts +2 -2
  553. package/page-layout/pepperi-addons-ngx-lib-page-layout.d.ts +4 -4
  554. package/page-layout/public-api.d.ts +2 -2
  555. package/pepperi-addons-ngx-lib.d.ts +8 -8
  556. package/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.d.ts +4 -4
  557. package/profile-data-views-list/profile-data-view/profile-data-view.component.d.ts +15 -15
  558. package/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.d.ts +21 -21
  559. package/profile-data-views-list/profile-data-views-list.component.d.ts +32 -32
  560. package/profile-data-views-list/profile-data-views-list.model.d.ts +18 -18
  561. package/profile-data-views-list/profile-data-views-list.module.d.ts +5 -5
  562. package/profile-data-views-list/public-api.d.ts +5 -5
  563. package/public-api.d.ts +2 -2
  564. package/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.d.ts +6 -6
  565. package/quantity-selector/public-api.d.ts +2 -2
  566. package/quantity-selector/quantity-selector-validation.directive.d.ts +13 -13
  567. package/quantity-selector/quantity-selector.component.d.ts +96 -96
  568. package/quantity-selector/quantity-selector.module.d.ts +5 -5
  569. package/quantity-selector/quantity-selector.pipes.d.ts +4 -4
  570. package/query-builder/common/model/field.d.ts +8 -8
  571. package/query-builder/common/model/filter.d.ts +6 -6
  572. package/query-builder/common/model/legacy.d.ts +29 -29
  573. package/query-builder/common/model/operator-unit.d.ts +13 -13
  574. package/query-builder/common/model/operator.d.ts +21 -21
  575. package/query-builder/common/model/structure.d.ts +4 -4
  576. package/query-builder/common/model/type-map.d.ts +12 -12
  577. package/query-builder/common/model/type.d.ts +4 -4
  578. package/query-builder/common/services/output-query.service.d.ts +44 -44
  579. package/query-builder/common/services/type-convertor.service.d.ts +10 -10
  580. package/query-builder/pepperi-addons-ngx-lib-query-builder.d.ts +8 -8
  581. package/query-builder/public-api.d.ts +4 -4
  582. package/query-builder/query-builder-item/query-builder-item.component.d.ts +37 -37
  583. package/query-builder/query-builder-section/query-builder-section.component.d.ts +27 -27
  584. package/query-builder/query-builder.component.d.ts +35 -35
  585. package/query-builder/query-builder.module.d.ts +2 -2
  586. package/query-builder/query-builder.service.d.ts +94 -94
  587. package/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.d.ts +4 -4
  588. package/rich-html-textarea/public-api.d.ts +2 -2
  589. package/rich-html-textarea/rich-html-textarea.component.d.ts +75 -75
  590. package/rich-html-textarea/rich-html-textarea.module.d.ts +5 -5
  591. package/search/pepperi-addons-ngx-lib-search.d.ts +4 -4
  592. package/search/public-api.d.ts +3 -3
  593. package/search/search.component.d.ts +61 -61
  594. package/search/search.model.d.ts +14 -14
  595. package/search/search.module.d.ts +5 -5
  596. package/select/pepperi-addons-ngx-lib-select.d.ts +4 -4
  597. package/select/public-api.d.ts +2 -2
  598. package/select/select.component.d.ts +50 -50
  599. package/select/select.module.d.ts +5 -5
  600. package/separator/pepperi-addons-ngx-lib-separator.d.ts +4 -4
  601. package/separator/public-api.d.ts +2 -2
  602. package/separator/separator.component.d.ts +19 -19
  603. package/separator/separator.module.d.ts +2 -2
  604. package/side-bar/pepperi-addons-ngx-lib-side-bar.d.ts +4 -4
  605. package/side-bar/public-api.d.ts +3 -3
  606. package/side-bar/side-bar.component.d.ts +38 -38
  607. package/side-bar/side-bar.model.d.ts +4 -4
  608. package/side-bar/side-bar.module.d.ts +5 -5
  609. package/signature/pepperi-addons-ngx-lib-signature.d.ts +4 -4
  610. package/signature/public-api.d.ts +2 -2
  611. package/signature/signature.component.d.ts +64 -64
  612. package/signature/signature.module.d.ts +5 -5
  613. package/size-detector/pepperi-addons-ngx-lib-size-detector.d.ts +4 -4
  614. package/size-detector/public-api.d.ts +2 -2
  615. package/size-detector/size-detector.component.d.ts +26 -26
  616. package/size-detector/size-detector.module.d.ts +2 -2
  617. package/slider/pepperi-addons-ngx-lib-slider.d.ts +4 -4
  618. package/slider/public-api.d.ts +2 -2
  619. package/slider/slider.component.d.ts +36 -36
  620. package/slider/slider.module.d.ts +2 -2
  621. package/smart-filters/boolean-filter/boolean-filter.component.d.ts +12 -12
  622. package/smart-filters/common/filter-actions.component.d.ts +9 -9
  623. package/smart-filters/common/model/base-filter-component.d.ts +67 -67
  624. package/smart-filters/common/model/creator.d.ts +6 -6
  625. package/smart-filters/common/model/field.d.ts +69 -69
  626. package/smart-filters/common/model/filter.d.ts +11 -11
  627. package/smart-filters/common/model/operator.d.ts +38 -38
  628. package/smart-filters/common/model/type.d.ts +4 -4
  629. package/smart-filters/date-filter/date-filter.component.d.ts +41 -41
  630. package/smart-filters/multi-select-filter/multi-select-filter.component.d.ts +39 -39
  631. package/smart-filters/number-filter/number-filter.component.d.ts +38 -38
  632. package/smart-filters/pepperi-addons-ngx-lib-smart-filters.d.ts +4 -4
  633. package/smart-filters/public-api.d.ts +14 -14
  634. package/smart-filters/smart-filters.component.d.ts +32 -32
  635. package/smart-filters/smart-filters.module.d.ts +5 -5
  636. package/smart-filters/text-filter/text-filter.component.d.ts +17 -17
  637. package/textarea/pepperi-addons-ngx-lib-textarea.d.ts +4 -4
  638. package/textarea/public-api.d.ts +2 -2
  639. package/textarea/textarea.component.d.ts +51 -51
  640. package/textarea/textarea.module.d.ts +5 -5
  641. package/textbox/pepperi-addons-ngx-lib-textbox.d.ts +5 -5
  642. package/textbox/public-api.d.ts +2 -2
  643. package/textbox/textbox-validation.directive.d.ts +18 -18
  644. package/textbox/textbox.component.d.ts +131 -131
  645. package/textbox/textbox.module.d.ts +5 -5
  646. package/textbox-icon/pepperi-addons-ngx-lib-textbox-icon.d.ts +4 -4
  647. package/textbox-icon/public-api.d.ts +2 -2
  648. package/textbox-icon/textbox-icon.component.d.ts +10 -10
  649. package/textbox-icon/textbox-icon.module.d.ts +5 -5
  650. package/top-bar/pepperi-addons-ngx-lib-top-bar.d.ts +4 -4
  651. package/top-bar/public-api.d.ts +3 -3
  652. package/top-bar/top-bar.component.d.ts +36 -36
  653. package/top-bar/top-bar.model.d.ts +4 -4
  654. package/top-bar/top-bar.module.d.ts +5 -5
@@ -1,50 +1,50 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ReactiveFormsModule } from '@angular/forms';
4
- import { MatCommonModule } from '@angular/material/core';
5
- import { MatButtonModule } from '@angular/material/button';
6
- import { MatFormFieldModule } from '@angular/material/form-field';
7
- import { MatInputModule } from '@angular/material/input';
8
- import { MatIconModule } from '@angular/material/icon';
9
- import { FileUploadModule } from 'ng2-file-upload';
10
- import { PepNgxLibModule } from '@pepperi-addons/ngx-lib';
11
- import { PepIconModule, PepIconRegistry, pepIconSystemBin, pepIconSystemAttach, pepIconSystemFileUploadCloud, pepIconSystemProcessing, } from '@pepperi-addons/ngx-lib/icon';
12
- import { PepDialogModule } from '@pepperi-addons/ngx-lib/dialog';
13
- import { PepFilesUploaderComponent } from './files-uploader.component';
14
- export class PepFilesUploaderModule {
15
- constructor(pepIconRegistry) {
16
- this.pepIconRegistry = pepIconRegistry;
17
- this.pepIconRegistry.registerIcons([
18
- pepIconSystemBin,
19
- pepIconSystemAttach,
20
- pepIconSystemFileUploadCloud,
21
- pepIconSystemProcessing,
22
- ]);
23
- }
24
- }
25
- PepFilesUploaderModule.decorators = [
26
- { type: NgModule, args: [{
27
- imports: [
28
- CommonModule,
29
- ReactiveFormsModule,
30
- // Material modules,
31
- MatCommonModule,
32
- MatButtonModule,
33
- MatFormFieldModule,
34
- MatInputModule,
35
- MatIconModule,
36
- // External modules
37
- FileUploadModule,
38
- // ngx-lib modules
39
- PepNgxLibModule,
40
- PepIconModule,
41
- PepDialogModule,
42
- ],
43
- exports: [PepFilesUploaderComponent],
44
- declarations: [PepFilesUploaderComponent],
45
- },] }
46
- ];
47
- PepFilesUploaderModule.ctorParameters = () => [
48
- { type: PepIconRegistry }
49
- ];
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { MatCommonModule } from '@angular/material/core';
5
+ import { MatButtonModule } from '@angular/material/button';
6
+ import { MatFormFieldModule } from '@angular/material/form-field';
7
+ import { MatInputModule } from '@angular/material/input';
8
+ import { MatIconModule } from '@angular/material/icon';
9
+ import { FileUploadModule } from 'ng2-file-upload';
10
+ import { PepNgxLibModule } from '@pepperi-addons/ngx-lib';
11
+ import { PepIconModule, PepIconRegistry, pepIconSystemBin, pepIconSystemAttach, pepIconSystemFileUploadCloud, pepIconSystemProcessing, } from '@pepperi-addons/ngx-lib/icon';
12
+ import { PepDialogModule } from '@pepperi-addons/ngx-lib/dialog';
13
+ import { PepFilesUploaderComponent } from './files-uploader.component';
14
+ export class PepFilesUploaderModule {
15
+ constructor(pepIconRegistry) {
16
+ this.pepIconRegistry = pepIconRegistry;
17
+ this.pepIconRegistry.registerIcons([
18
+ pepIconSystemBin,
19
+ pepIconSystemAttach,
20
+ pepIconSystemFileUploadCloud,
21
+ pepIconSystemProcessing,
22
+ ]);
23
+ }
24
+ }
25
+ PepFilesUploaderModule.decorators = [
26
+ { type: NgModule, args: [{
27
+ imports: [
28
+ CommonModule,
29
+ ReactiveFormsModule,
30
+ // Material modules,
31
+ MatCommonModule,
32
+ MatButtonModule,
33
+ MatFormFieldModule,
34
+ MatInputModule,
35
+ MatIconModule,
36
+ // External modules
37
+ FileUploadModule,
38
+ // ngx-lib modules
39
+ PepNgxLibModule,
40
+ PepIconModule,
41
+ PepDialogModule,
42
+ ],
43
+ exports: [PepFilesUploaderComponent],
44
+ declarations: [PepFilesUploaderComponent],
45
+ },] }
46
+ ];
47
+ PepFilesUploaderModule.ctorParameters = () => [
48
+ { type: PepIconRegistry }
49
+ ];
50
50
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMtdX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2R1bGUsXG4gICAgICAgIE1hdElucHV0TW9kdWxlLFxuICAgICAgICBNYXRJY29uTW9kdWxlLFxuICAgICAgICAvLyBFeHRlcm5hbCBtb2R1bGVzXG4gICAgICAgIEZpbGVVcGxvYWRNb2R1bGUsXG4gICAgICAgIC8vIG5neC1saWIgbW9kdWxlc1xuICAgICAgICBQZXBOZ3hMaWJNb2R1bGUsXG4gICAgICAgIFBlcEljb25Nb2R1bGUsXG4gICAgICAgIFBlcERpYWxvZ01vZHVsZSxcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtQZXBGaWxlc1VwbG9hZGVyQ29tcG9uZW50XSxcbiAgICBkZWNsYXJhdGlvbnM6IFtQZXBGaWxlc1VwbG9hZGVyQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgUGVwRmlsZXNVcGxvYWRlck1vZHVsZSB7XG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSBwZXBJY29uUmVnaXN0cnk6IFBlcEljb25SZWdpc3RyeSkge1xuICAgICAgICB0aGlzLnBlcEljb25SZWdpc3RyeS5yZWdpc3Rlckljb25zKFtcbiAgICAgICAgICAgIHBlcEljb25TeXN0ZW1CaW4sXG4gICAgICAgICAgICBwZXBJY29uU3lzdGVtQXR0YWNoLFxuICAgICAgICAgICAgcGVwSWNvblN5c3RlbUZpbGVVcGxvYWRDbG91ZCxcbiAgICAgICAgICAgIHBlcEljb25TeXN0ZW1Qcm9jZXNzaW5nLFxuICAgICAgICBdKTtcbiAgICB9XG59XG4iXX0=
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
5
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVwcGVyaS1hZGRvbnMtbmd4LWxpYi1maWxlcy11cGxvYWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1saWIvZmlsZXMtdXBsb2FkZXIvcGVwcGVyaS1hZGRvbnMtbmd4LWxpYi1maWxlcy11cGxvYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,6 +1,6 @@
1
- /*
2
- * Public API Surface of ngx-lib/files-uploader
3
- */
4
- export * from './files-uploader.module';
5
- export * from './files-uploader.component';
1
+ /*
2
+ * Public API Surface of ngx-lib/files-uploader
3
+ */
4
+ export * from './files-uploader.module';
5
+ export * from './files-uploader.component';
6
6
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1saWIvZmlsZXMtdXBsb2FkZXIvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmd4LWxpYi9maWxlcy11cGxvYWRlclxuICovXG5leHBvcnQgKiBmcm9tICcuL2ZpbGVzLXVwbG9hZGVyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2ZpbGVzLXVwbG9hZGVyLmNvbXBvbmVudCc7XG4iXX0=
@@ -1,122 +1,122 @@
1
- import { Component, Input, Output, EventEmitter, ViewEncapsulation, ChangeDetectionStrategy, } from '@angular/core';
2
- export class PepFieldGeneratorComponent {
3
- constructor() {
4
- this.isActive = false;
5
- this.uid = null;
6
- this.layoutType = 'form';
7
- this.showTitle = true;
8
- this.checkForChanges = null;
9
- this.valueChange = new EventEmitter();
10
- this.formValidationChange = new EventEmitter();
11
- this.elementClick = new EventEmitter();
12
- this.internalFormFieldChange = new EventEmitter();
13
- this.internalFormFieldClick = new EventEmitter();
14
- this.formValueChange = new EventEmitter();
15
- this.formFieldClick = new EventEmitter();
16
- }
17
- set field(value) {
18
- this._field = value;
19
- }
20
- get field() {
21
- return this._field;
22
- }
23
- get isValid() {
24
- if (this.field.readonly || this.field.disabled) {
25
- return true;
26
- }
27
- else {
28
- const formControl = this.form && this.form.get(this.field.key);
29
- if (formControl) {
30
- return formControl.valid;
31
- }
32
- else {
33
- return false;
34
- }
35
- }
36
- }
37
- get isTouched() {
38
- const formControl = this.form && this.form.get(this.field.key);
39
- return formControl ? formControl.touched : false;
40
- }
41
- get isDirty() {
42
- const formControl = this.form && this.form.get(this.field.key);
43
- return formControl ? formControl.dirty : false;
44
- }
45
- ngOnDestroy() {
46
- //
47
- }
48
- onFileChanged(fileData, field) {
49
- const value = fileData ? JSON.stringify(fileData) : '';
50
- const fieldValueChange = {
51
- key: field.key,
52
- value: value,
53
- controlType: field.controlType,
54
- };
55
- this.valueChange.emit(fieldValueChange);
56
- }
57
- onAddressValueChanged(valueChange, field) {
58
- const fieldValueChange = {
59
- key: valueChange.key,
60
- value: valueChange.value,
61
- controlType: field.controlType,
62
- };
63
- this.valueChange.emit(fieldValueChange);
64
- }
65
- onValueChanged(value, field) {
66
- const fieldValueChange = {
67
- key: field.key,
68
- value: value.toString(),
69
- controlType: field.controlType,
70
- };
71
- this.valueChange.emit(fieldValueChange);
72
- }
73
- onInternalFormFieldChanged(internalFormFieldChange) {
74
- this.internalFormFieldChange.emit(internalFormFieldChange);
75
- }
76
- onFormValidationChanged(formValidationChange) {
77
- this.formValidationChange.emit(formValidationChange);
78
- }
79
- onClick(fieldClicked) {
80
- this.elementClick.emit(fieldClicked);
81
- }
82
- onInternalFormFieldClick(internalFormFieldClick) {
83
- this.internalFormFieldClick.emit(internalFormFieldClick);
84
- }
85
- onFormValueChanged(event) {
86
- this.formValueChange.emit(event);
87
- }
88
- onFormFieldClick(event) {
89
- this.formFieldClick.emit(event);
90
- }
91
- ngOnChanges(changes) {
92
- // debugger;
93
- // For testing.
94
- // this.field.disabled = this.field.readonly = false;
95
- }
96
- }
97
- PepFieldGeneratorComponent.decorators = [
98
- { type: Component, args: [{
99
- selector: 'pep-field-generator',
100
- template: "<ng-container [ngSwitch]=\"field.controlType\" [formGroup]=\"form\">\n\n <pep-address *ngSwitchCase=\"'address'\" [form]=\"form\" [key]=\"field.key\" [formattedValue]=\"field.formattedValue\"\n [label]=\"field.label\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [groupFields]=\"field.groupFields\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (addressValueChange)=\"onAddressValueChanged($event, field)\">\n </pep-address>\n\n <pep-attachment *ngSwitchCase=\"'attachment'\" [form]=\"form\" [key]=\"field.key\" [src]=\"field.value\"\n [label]=\"field.label\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [isActive]=\"isActive\" [showTitle]=\"showTitle\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (elementClick)=\"onClick($event)\"\n (fileChange)=\"onFileChanged($event, field)\">\n </pep-attachment>\n\n <pep-checkbox *ngSwitchCase=\"'checkbox'\" [form]=\"form\" [key]=\"field.key\"\n [value]=\"(field.value | lowercase) == 'true' || field.value == '1' ? true : false\" [label]=\"field.label\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [additionalValue]=\"field.additionalValue\"\n [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-checkbox>\n\n <pep-date *ngSwitchCase=\"'date'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [type]=\"field.type\" [mandatory]=\"field.mandatory\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [textColor]=\"field.textColor\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [minValue]=\"field.minValue\"\n [maxValue]=\"field.maxValue\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-date>\n\n <pep-images-filmstrip *ngSwitchCase=\"'images'\" [uid]=\"uid\" [form]=\"form\" [key]=\"field.key\" [label]=\"field.label\"\n [showTitle]=\"showTitle\" [rowSpan]=\"field.rowSpan\" [value]=\"field.value\" [layoutType]=\"layoutType\">\n </pep-images-filmstrip>\n\n <pep-image *ngSwitchCase=\"'image'\" [uid]=\"uid\" [form]=\"form\" [key]=\"field.key\" [src]=\"field.formattedValue\"\n [srcLarge]=\"field.value\" [options]=\"field.options\" [label]=\"field.label\" [mandatory]=\"field.mandatory\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [indicatorsField]=\"field.indicatorsField\" [menuField]=\"field.menuField\"\n [hasCampaignField]=\"field.hasCampaignField\" [sizeLimitMB]=\"field.sizeLimitMB\" [isActive]=\"isActive\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (elementClick)=\"onClick($event)\"\n (fileChange)=\"onFileChanged($event, field)\">\n </pep-image>\n\n <pep-quantity-selector *ngSwitchCase=\"'qs'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [type]=\"field.type\" [mandatory]=\"field.mandatory\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [textColor]=\"field.textColor\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [allowDecimal]=\"field.allowDecimal\"\n [additionalValue]=\"field.additionalValue\" [notificationInfo]=\"field.notificationInfo\" [isActive]=\"isActive\"\n [layoutType]=\"layoutType\" [showTitle]=\"showTitle\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" (formValidationChange)=\"onFormValidationChanged($event)\"\n (elementClick)=\"onClick($event)\">\n </pep-quantity-selector>\n\n <pep-rich-html-textarea *ngSwitchCase=\"'richhtmltextarea'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [label]=\"field.label\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\"\n [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-rich-html-textarea>\n\n <pep-select *ngSwitchCase=\"'select'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\" [label]=\"field.label\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [options]=\"field.options\" [showTitle]=\"showTitle\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (valueChange)=\"onValueChanged($event, field)\"\n (formValidationChange)=\"onFormValidationChanged($event)\" [isActive]=\"isActive\">\n </pep-select>\n\n <pep-separator *ngSwitchCase=\"'separator'\" [form]=\"form\" [key]=\"field.key\" [label]=\"field.label\"\n [xAlignment]=\"field.xAlignment\" [layoutType]=\"layoutType\" [visible]=\"field.visible\">\n </pep-separator>\n\n <pep-signature *ngSwitchCase=\"'signature'\" [form]=\"form\" [key]=\"field.key\" [src]=\"field.value\" [label]=\"field.label\"\n [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [isActive]=\"isActive\" [layoutType]=\"layoutType\"\n [visible]=\"field.visible\" (fileChange)=\"onFileChanged($event, field)\">\n </pep-signature>\n\n <pep-textarea *ngSwitchCase=\"'textarea'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\" [label]=\"field.label\"\n [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [textColor]=\"field.textColor\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-textarea>\n\n <pep-textbox *ngSwitchCase=\"'textbox'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [placeholder]=\"field.placeholder\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [textColor]=\"field.textColor\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\"\n (valueChange)=\"onValueChanged($event, field)\" (formValidationChange)=\"onFormValidationChanged($event)\"\n [isActive]=\"isActive\" [visible]=\"field.visible\">\n </pep-textbox>\n\n <pep-link *ngSwitchCase=\"'link'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [placeholder]=\"field.placeholder\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [textColor]=\"field.textColor\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\" [visible]=\"field.visible\"\n (formValidationChange)=\"onFormValidationChanged($event)\" (elementClick)=\"onClick($event)\">\n </pep-link>\n\n <pep-indicators *ngSwitchCase=\"'indicators'\" [key]=\"field.key\" [value]=\"field.value\" [layoutType]=\"layoutType\">\n </pep-indicators>\n <pep-internal-button *ngSwitchCase=\"'button'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\"\n [referenceObjectInternalType]=\"field.referenceObjectInternalType\" [type]=\"field.type\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [xAlignment]=\"field.xAlignment\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (elementClick)=\"onClick($event)\"\n (valueChange)=\"onValueChanged($event, field)\">\n </pep-internal-button>\n <pep-internal-menu *ngSwitchCase=\"'menu'\" [key]=\"field.key\" [label]=\"field.label\" [disabled]=\"field.disabled\"\n [xAlignment]=\"field.xAlignment\" [options]=\"field.options\" [layoutType]=\"layoutType\"\n (elementClick)=\"onClick($event)\">\n </pep-internal-menu>\n <pep-internal-page *ngSwitchCase=\"'internalPage'\" [field]=\"field\" [layoutType]=\"layoutType\"\n (internalFormFieldClick)=\"onInternalFormFieldClick($event)\"\n (internalFormFieldChange)=\"onInternalFormFieldChanged($event)\">\n </pep-internal-page>\n\n <pep-internal-carusel *ngSwitchCase=\"'internalCarusel'\" [field]=\"field\"\n (internalFormFieldClick)=\"onInternalFormFieldClick($event)\"\n (internalFormFieldChange)=\"onInternalFormFieldChanged($event)\">\n </pep-internal-carusel>\n\n <ng-container *ngSwitchCase=\"'placeholder'\">\n </ng-container>\n</ng-container>",
101
- encapsulation: ViewEncapsulation.Emulated,
102
- changeDetection: ChangeDetectionStrategy.OnPush,
103
- styles: [":host{width:100%;height:100%}"]
104
- },] }
105
- ];
106
- PepFieldGeneratorComponent.propDecorators = {
107
- field: [{ type: Input }],
108
- isActive: [{ type: Input }],
109
- uid: [{ type: Input }],
110
- form: [{ type: Input }],
111
- layoutType: [{ type: Input }],
112
- showTitle: [{ type: Input }],
113
- checkForChanges: [{ type: Input }],
114
- valueChange: [{ type: Output }],
115
- formValidationChange: [{ type: Output }],
116
- elementClick: [{ type: Output }],
117
- internalFormFieldChange: [{ type: Output }],
118
- internalFormFieldClick: [{ type: Output }],
119
- formValueChange: [{ type: Output }],
120
- formFieldClick: [{ type: Output }]
121
- };
1
+ import { Component, Input, Output, EventEmitter, ViewEncapsulation, ChangeDetectionStrategy, } from '@angular/core';
2
+ export class PepFieldGeneratorComponent {
3
+ constructor() {
4
+ this.isActive = false;
5
+ this.uid = null;
6
+ this.layoutType = 'form';
7
+ this.showTitle = true;
8
+ this.checkForChanges = null;
9
+ this.valueChange = new EventEmitter();
10
+ this.formValidationChange = new EventEmitter();
11
+ this.elementClick = new EventEmitter();
12
+ this.internalFormFieldChange = new EventEmitter();
13
+ this.internalFormFieldClick = new EventEmitter();
14
+ this.formValueChange = new EventEmitter();
15
+ this.formFieldClick = new EventEmitter();
16
+ }
17
+ set field(value) {
18
+ this._field = value;
19
+ }
20
+ get field() {
21
+ return this._field;
22
+ }
23
+ get isValid() {
24
+ if (this.field.readonly || this.field.disabled) {
25
+ return true;
26
+ }
27
+ else {
28
+ const formControl = this.form && this.form.get(this.field.key);
29
+ if (formControl) {
30
+ return formControl.valid;
31
+ }
32
+ else {
33
+ return false;
34
+ }
35
+ }
36
+ }
37
+ get isTouched() {
38
+ const formControl = this.form && this.form.get(this.field.key);
39
+ return formControl ? formControl.touched : false;
40
+ }
41
+ get isDirty() {
42
+ const formControl = this.form && this.form.get(this.field.key);
43
+ return formControl ? formControl.dirty : false;
44
+ }
45
+ ngOnDestroy() {
46
+ //
47
+ }
48
+ onFileChanged(fileData, field) {
49
+ const value = fileData ? JSON.stringify(fileData) : '';
50
+ const fieldValueChange = {
51
+ key: field.key,
52
+ value: value,
53
+ controlType: field.controlType,
54
+ };
55
+ this.valueChange.emit(fieldValueChange);
56
+ }
57
+ onAddressValueChanged(valueChange, field) {
58
+ const fieldValueChange = {
59
+ key: valueChange.key,
60
+ value: valueChange.value,
61
+ controlType: field.controlType,
62
+ };
63
+ this.valueChange.emit(fieldValueChange);
64
+ }
65
+ onValueChanged(value, field) {
66
+ const fieldValueChange = {
67
+ key: field.key,
68
+ value: value.toString(),
69
+ controlType: field.controlType,
70
+ };
71
+ this.valueChange.emit(fieldValueChange);
72
+ }
73
+ onInternalFormFieldChanged(internalFormFieldChange) {
74
+ this.internalFormFieldChange.emit(internalFormFieldChange);
75
+ }
76
+ onFormValidationChanged(formValidationChange) {
77
+ this.formValidationChange.emit(formValidationChange);
78
+ }
79
+ onClick(fieldClicked) {
80
+ this.elementClick.emit(fieldClicked);
81
+ }
82
+ onInternalFormFieldClick(internalFormFieldClick) {
83
+ this.internalFormFieldClick.emit(internalFormFieldClick);
84
+ }
85
+ onFormValueChanged(event) {
86
+ this.formValueChange.emit(event);
87
+ }
88
+ onFormFieldClick(event) {
89
+ this.formFieldClick.emit(event);
90
+ }
91
+ ngOnChanges(changes) {
92
+ // debugger;
93
+ // For testing.
94
+ // this.field.disabled = this.field.readonly = false;
95
+ }
96
+ }
97
+ PepFieldGeneratorComponent.decorators = [
98
+ { type: Component, args: [{
99
+ selector: 'pep-field-generator',
100
+ template: "<ng-container [ngSwitch]=\"field.controlType\" [formGroup]=\"form\">\n\n <pep-address *ngSwitchCase=\"'address'\" [form]=\"form\" [key]=\"field.key\" [formattedValue]=\"field.formattedValue\"\n [label]=\"field.label\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [groupFields]=\"field.groupFields\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (addressValueChange)=\"onAddressValueChanged($event, field)\">\n </pep-address>\n\n <pep-attachment *ngSwitchCase=\"'attachment'\" [form]=\"form\" [key]=\"field.key\" [src]=\"field.value\"\n [label]=\"field.label\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [isActive]=\"isActive\" [showTitle]=\"showTitle\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (elementClick)=\"onClick($event)\"\n (fileChange)=\"onFileChanged($event, field)\">\n </pep-attachment>\n\n <pep-checkbox *ngSwitchCase=\"'checkbox'\" [form]=\"form\" [key]=\"field.key\"\n [value]=\"(field.value | lowercase) == 'true' || field.value == '1' ? true : false\" [label]=\"field.label\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [additionalValue]=\"field.additionalValue\"\n [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-checkbox>\n\n <pep-date *ngSwitchCase=\"'date'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [type]=\"field.type\" [mandatory]=\"field.mandatory\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [textColor]=\"field.textColor\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [minValue]=\"field.minValue\"\n [maxValue]=\"field.maxValue\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-date>\n\n <pep-images-filmstrip *ngSwitchCase=\"'images'\" [uid]=\"uid\" [form]=\"form\" [key]=\"field.key\" [label]=\"field.label\"\n [showTitle]=\"showTitle\" [rowSpan]=\"field.rowSpan\" [value]=\"field.value\" [layoutType]=\"layoutType\">\n </pep-images-filmstrip>\n\n <pep-image *ngSwitchCase=\"'image'\" [uid]=\"uid\" [form]=\"form\" [key]=\"field.key\" [src]=\"field.formattedValue\"\n [srcLarge]=\"field.value\" [options]=\"field.options\" [label]=\"field.label\" [mandatory]=\"field.mandatory\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [indicatorsField]=\"field.indicatorsField\" [menuField]=\"field.menuField\"\n [hasCampaignField]=\"field.hasCampaignField\" [sizeLimitMB]=\"field.sizeLimitMB\" [isActive]=\"isActive\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (elementClick)=\"onClick($event)\"\n (fileChange)=\"onFileChanged($event, field)\">\n </pep-image>\n\n <pep-quantity-selector *ngSwitchCase=\"'qs'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [type]=\"field.type\" [mandatory]=\"field.mandatory\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [textColor]=\"field.textColor\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [allowDecimal]=\"field.allowDecimal\"\n [additionalValue]=\"field.additionalValue\" [notificationInfo]=\"field.notificationInfo\" [isActive]=\"isActive\"\n [layoutType]=\"layoutType\" [showTitle]=\"showTitle\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" (formValidationChange)=\"onFormValidationChanged($event)\"\n (elementClick)=\"onClick($event)\">\n </pep-quantity-selector>\n\n <pep-rich-html-textarea *ngSwitchCase=\"'richhtmltextarea'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [label]=\"field.label\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\"\n [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-rich-html-textarea>\n\n <pep-select *ngSwitchCase=\"'select'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\" [label]=\"field.label\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [options]=\"field.options\" [showTitle]=\"showTitle\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (valueChange)=\"onValueChanged($event, field)\"\n (formValidationChange)=\"onFormValidationChanged($event)\" [isActive]=\"isActive\">\n </pep-select>\n\n <pep-separator *ngSwitchCase=\"'separator'\" [form]=\"form\" [key]=\"field.key\" [label]=\"field.label\"\n [xAlignment]=\"field.xAlignment\" [layoutType]=\"layoutType\" [visible]=\"field.visible\">\n </pep-separator>\n\n <pep-signature *ngSwitchCase=\"'signature'\" [form]=\"form\" [key]=\"field.key\" [src]=\"field.value\" [label]=\"field.label\"\n [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [xAlignment]=\"field.xAlignment\" [rowSpan]=\"field.rowSpan\" [isActive]=\"isActive\" [layoutType]=\"layoutType\"\n [visible]=\"field.visible\" (fileChange)=\"onFileChanged($event, field)\">\n </pep-signature>\n\n <pep-textarea *ngSwitchCase=\"'textarea'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\" [label]=\"field.label\"\n [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [textColor]=\"field.textColor\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\" [visible]=\"field.visible\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\">\n </pep-textarea>\n\n <pep-textbox *ngSwitchCase=\"'textbox'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [placeholder]=\"field.placeholder\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [textColor]=\"field.textColor\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\"\n (valueChange)=\"onValueChanged($event, field)\" (formValidationChange)=\"onFormValidationChanged($event)\"\n [isActive]=\"isActive\" [visible]=\"field.visible\">\n </pep-textbox>\n\n <pep-link *ngSwitchCase=\"'link'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\" [placeholder]=\"field.placeholder\"\n [type]=\"field.type\" [mandatory]=\"field.mandatory\" [disabled]=\"field.disabled\" [readonly]=\"field.readonly\"\n [maxFieldCharacters]=\"field.maxFieldCharacters\" [textColor]=\"field.textColor\" [xAlignment]=\"field.xAlignment\"\n [rowSpan]=\"field.rowSpan\" [showTitle]=\"showTitle\" [layoutType]=\"layoutType\"\n (valueChange)=\"onValueChanged($event, field)\" [isActive]=\"isActive\" [visible]=\"field.visible\"\n (formValidationChange)=\"onFormValidationChanged($event)\" (elementClick)=\"onClick($event)\">\n </pep-link>\n\n <pep-indicators *ngSwitchCase=\"'indicators'\" [key]=\"field.key\" [value]=\"field.value\" [layoutType]=\"layoutType\">\n </pep-indicators>\n <pep-internal-button *ngSwitchCase=\"'button'\" [form]=\"form\" [key]=\"field.key\" [value]=\"field.value\"\n [formattedValue]=\"field.formattedValue\" [label]=\"field.label\"\n [referenceObjectInternalType]=\"field.referenceObjectInternalType\" [type]=\"field.type\"\n [disabled]=\"field.disabled\" [readonly]=\"field.readonly\" [xAlignment]=\"field.xAlignment\"\n [layoutType]=\"layoutType\" [visible]=\"field.visible\" (elementClick)=\"onClick($event)\"\n (valueChange)=\"onValueChanged($event, field)\">\n </pep-internal-button>\n <pep-internal-menu *ngSwitchCase=\"'menu'\" [key]=\"field.key\" [label]=\"field.label\" [disabled]=\"field.disabled\"\n [xAlignment]=\"field.xAlignment\" [options]=\"field.options\" [layoutType]=\"layoutType\"\n (elementClick)=\"onClick($event)\">\n </pep-internal-menu>\n <pep-internal-page *ngSwitchCase=\"'internalPage'\" [field]=\"field\" [layoutType]=\"layoutType\"\n (internalFormFieldClick)=\"onInternalFormFieldClick($event)\"\n (internalFormFieldChange)=\"onInternalFormFieldChanged($event)\">\n </pep-internal-page>\n\n <pep-internal-carusel *ngSwitchCase=\"'internalCarusel'\" [field]=\"field\"\n (internalFormFieldClick)=\"onInternalFormFieldClick($event)\"\n (internalFormFieldChange)=\"onInternalFormFieldChanged($event)\">\n </pep-internal-carusel>\n\n <ng-container *ngSwitchCase=\"'placeholder'\">\n </ng-container>\n</ng-container>",
101
+ encapsulation: ViewEncapsulation.Emulated,
102
+ changeDetection: ChangeDetectionStrategy.OnPush,
103
+ styles: [":host{width:100%;height:100%}"]
104
+ },] }
105
+ ];
106
+ PepFieldGeneratorComponent.propDecorators = {
107
+ field: [{ type: Input }],
108
+ isActive: [{ type: Input }],
109
+ uid: [{ type: Input }],
110
+ form: [{ type: Input }],
111
+ layoutType: [{ type: Input }],
112
+ showTitle: [{ type: Input }],
113
+ checkForChanges: [{ type: Input }],
114
+ valueChange: [{ type: Output }],
115
+ formValidationChange: [{ type: Output }],
116
+ elementClick: [{ type: Output }],
117
+ internalFormFieldChange: [{ type: Output }],
118
+ internalFormFieldClick: [{ type: Output }],
119
+ formValueChange: [{ type: Output }],
120
+ formFieldClick: [{ type: Output }]
121
+ };
122
122
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtZ2VuZXJhdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1saWIvZm9ybS9maWVsZC1nZW5lcmF0b3IuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBRVQsS0FBSyxFQUNMLE1BQU0sRUFDTixZQUFZLEVBQ1osaUJBQWlCLEVBQ2pCLHVCQUF1QixHQUUxQixNQUFNLGVBQWUsQ0FBQztBQWlCdkIsTUFBTSxPQUFPLDBCQUEwQjtJQVB2QztRQWlCYSxhQUFRLEdBQUcsS0FBSyxDQUFDO1FBQ2pCLFFBQUcsR0FBUSxJQUFJLENBQUM7UUFFaEIsZUFBVSxHQUFrQixNQUFNLENBQUM7UUFDbkMsY0FBUyxHQUFHLElBQUksQ0FBQztRQUVqQixvQkFBZSxHQUFRLElBQUksQ0FBQztRQUVyQyxnQkFBVyxHQUE0QyxJQUFJLFlBQVksRUFBNkIsQ0FBQztRQUVyRyx5QkFBb0IsR0FBMEIsSUFBSSxZQUFZLEVBQVcsQ0FBQztRQUUxRSxpQkFBWSxHQUFzQyxJQUFJLFlBQVksRUFBdUIsQ0FBQztRQUVoRiw0QkFBdUIsR0FBc0IsSUFBSSxZQUFZLEVBQU8sQ0FBQztRQUNyRSwyQkFBc0IsR0FBc0IsSUFBSSxZQUFZLEVBQU8sQ0FBQztRQUc5RSxvQkFBZSxHQUFnRCxJQUFJLFlBQVksRUFBaUMsQ0FBQztRQUVqSCxtQkFBYyxHQUEwQyxJQUFJLFlBQVksRUFBMkIsQ0FBQztJQT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