@pepperi-addons/ngx-lib 0.3.15-beta.60 → 0.3.15-beta.61

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 (690) 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 +302 -302
  21. package/bundles/pepperi-addons-ngx-lib-date.umd.js +667 -667
  22. package/bundles/pepperi-addons-ngx-lib-dialog.umd.js +519 -519
  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 +3253 -3253
  27. package/bundles/pepperi-addons-ngx-lib-group-buttons.umd.js +87 -87
  28. package/bundles/pepperi-addons-ngx-lib-icon.umd.js +681 -681
  29. package/bundles/pepperi-addons-ngx-lib-image.umd.js +324 -324
  30. package/bundles/pepperi-addons-ngx-lib-images-filmstrip.umd.js +360 -360
  31. package/bundles/pepperi-addons-ngx-lib-link.umd.js +388 -388
  32. package/bundles/pepperi-addons-ngx-lib-list.umd.js +3191 -3191
  33. package/bundles/pepperi-addons-ngx-lib-menu.umd.js +646 -646
  34. package/bundles/pepperi-addons-ngx-lib-page-layout.umd.js +60 -60
  35. package/bundles/pepperi-addons-ngx-lib-profile-data-views-list.umd.js +543 -543
  36. package/bundles/pepperi-addons-ngx-lib-quantity-selector.umd.js +930 -930
  37. package/bundles/pepperi-addons-ngx-lib-query-builder.umd.js +1181 -1181
  38. package/bundles/pepperi-addons-ngx-lib-remote-loader.umd.js +683 -683
  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 +587 -587
  42. package/bundles/pepperi-addons-ngx-lib-separator.umd.js +79 -79
  43. package/bundles/pepperi-addons-ngx-lib-side-bar.umd.js +165 -165
  44. package/bundles/pepperi-addons-ngx-lib-signature.umd.js +286 -286
  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 +1974 -1974
  48. package/bundles/pepperi-addons-ngx-lib-snack-bar.umd.js +148 -148
  49. package/bundles/pepperi-addons-ngx-lib-textarea.umd.js +211 -211
  50. package/bundles/pepperi-addons-ngx-lib-textbox-icon.umd.js +80 -80
  51. package/bundles/pepperi-addons-ngx-lib-textbox.umd.js +553 -553
  52. package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js +129 -129
  53. package/bundles/pepperi-addons-ngx-lib.umd.js +4963 -4962
  54. package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
  55. package/button/button.component.d.ts +99 -99
  56. package/button/button.model.d.ts +14 -14
  57. package/button/button.module.d.ts +2 -2
  58. package/button/pepperi-addons-ngx-lib-button.d.ts +4 -4
  59. package/button/public-api.d.ts +3 -3
  60. package/carousel/carousel-item.directive.d.ts +9 -9
  61. package/carousel/carousel.component.d.ts +145 -145
  62. package/carousel/carousel.module.d.ts +2 -2
  63. package/carousel/pepperi-addons-ngx-lib-carousel.d.ts +4 -4
  64. package/carousel/public-api.d.ts +3 -3
  65. package/checkbox/checkbox.component.d.ts +47 -47
  66. package/checkbox/checkbox.module.d.ts +5 -5
  67. package/checkbox/pepperi-addons-ngx-lib-checkbox.d.ts +4 -4
  68. package/checkbox/public-api.d.ts +2 -2
  69. package/color/color-picker.component.d.ts +54 -54
  70. package/color/color.component.d.ts +27 -27
  71. package/color/color.model.d.ts +1 -1
  72. package/color/color.module.d.ts +5 -5
  73. package/color/pepperi-addons-ngx-lib-color.d.ts +5 -5
  74. package/color/public-api.d.ts +3 -3
  75. package/core/clipboard/clipboard.directive.d.ts +2 -2
  76. package/core/clipboard/clipboard.service.d.ts +2 -2
  77. package/core/clipboard/index.d.ts +1 -1
  78. package/core/clipboard/public-api.d.ts +2 -2
  79. package/core/common/directives/auto-width.directive.d.ts +16 -16
  80. package/core/common/directives/button-blur.directive.d.ts +6 -6
  81. package/core/common/directives/button-loader.directive.d.ts +23 -23
  82. package/core/common/directives/data-qa.directive.d.ts +8 -8
  83. package/core/common/directives/index.d.ts +1 -1
  84. package/core/common/directives/menu-blur.directive.d.ts +7 -7
  85. package/core/common/directives/prevent-multi-click.directive.d.ts +4 -4
  86. package/core/common/directives/print.directive.d.ts +72 -72
  87. package/core/common/directives/public-api.d.ts +7 -7
  88. package/core/common/index.d.ts +1 -1
  89. package/core/common/model/index.d.ts +1 -1
  90. package/core/common/model/papi.model.d.ts +2 -2
  91. package/core/common/model/public-api.d.ts +3 -3
  92. package/core/common/model/utilities.model.d.ts +5 -5
  93. package/core/common/model/wapi.model.d.ts +200 -200
  94. package/core/common/pipes/common-pipes.d.ts +36 -36
  95. package/core/common/pipes/date-ago.pipe.d.ts +8 -8
  96. package/core/common/pipes/index.d.ts +1 -1
  97. package/core/common/pipes/public-api.d.ts +2 -2
  98. package/core/common/public-api.d.ts +4 -4
  99. package/core/common/services/addon.service.d.ts +38 -38
  100. package/core/common/services/color.service.d.ts +48 -48
  101. package/core/common/services/cookie.service.d.ts +50 -50
  102. package/core/common/services/data-convertor.service.d.ts +41 -41
  103. package/core/common/services/file.service.d.ts +24 -24
  104. package/core/common/services/index.d.ts +1 -1
  105. package/core/common/services/jwt-helper.service.d.ts +10 -10
  106. package/core/common/services/public-api.d.ts +11 -11
  107. package/core/common/services/session.service.d.ts +15 -15
  108. package/core/common/services/translate.service.d.ts +9 -9
  109. package/core/common/services/utilities.service.d.ts +34 -34
  110. package/core/common/services/validator.service.d.ts +28 -28
  111. package/core/common/services/window-scrolling.service.d.ts +7 -7
  112. package/core/customization/customization.model.d.ts +266 -266
  113. package/core/customization/customization.service.d.ts +156 -156
  114. package/core/customization/index.d.ts +1 -1
  115. package/core/customization/public-api.d.ts +2 -2
  116. package/core/http/index.d.ts +1 -1
  117. package/core/http/interceptors/error.interceptor.d.ts +5 -5
  118. package/core/http/interceptors/index.d.ts +11 -11
  119. package/core/http/interceptors/loader.interceptor.d.ts +8 -8
  120. package/core/http/interceptors/profiler.interceptor.d.ts +5 -5
  121. package/core/http/public-api.d.ts +2 -2
  122. package/core/http/services/http.service.d.ts +25 -25
  123. package/core/http/services/loader.service.d.ts +10 -10
  124. package/core/index.d.ts +1 -1
  125. package/core/layout/index.d.ts +1 -1
  126. package/core/layout/layout.service.d.ts +33 -33
  127. package/core/layout/public-api.d.ts +2 -2
  128. package/core/layout/rtl.directive.d.ts +16 -16
  129. package/core/portal/attach.directive.d.ts +10 -10
  130. package/core/portal/index.d.ts +1 -1
  131. package/core/portal/portal.service.d.ts +9 -9
  132. package/core/portal/public-api.d.ts +3 -3
  133. package/core/portal/target.directive.d.ts +9 -9
  134. package/core/public-api.d.ts +7 -7
  135. package/core/scroll-to/index.d.ts +1 -1
  136. package/core/scroll-to/public-api.d.ts +1 -1
  137. package/core/scroll-to/scroll-to.service.d.ts +8 -8
  138. package/date/date.component.d.ts +66 -66
  139. package/date/date.model.d.ts +26 -26
  140. package/date/date.module.d.ts +5 -5
  141. package/date/pepperi-addons-ngx-lib-date.d.ts +5 -5
  142. package/date/public-api.d.ts +2 -2
  143. package/dialog/default-dialog.component.d.ts +9 -9
  144. package/dialog/dialog.component.d.ts +10 -10
  145. package/dialog/dialog.model.d.ts +31 -31
  146. package/dialog/dialog.module.d.ts +5 -5
  147. package/dialog/dialog.service.d.ts +24 -24
  148. package/dialog/pepperi-addons-ngx-lib-dialog.d.ts +5 -5
  149. package/dialog/public-api.d.ts +4 -4
  150. package/draggable-items/draggable-item/draggable-item.component.d.ts +8 -8
  151. package/draggable-items/draggable-items.component.d.ts +33 -33
  152. package/draggable-items/draggable-items.model.d.ts +11 -11
  153. package/draggable-items/draggable-items.module.d.ts +5 -5
  154. package/draggable-items/pepperi-addons-ngx-lib-draggable-items.d.ts +4 -4
  155. package/draggable-items/public-api.d.ts +4 -4
  156. package/esm2015/address/address.component.js +96 -96
  157. package/esm2015/address/address.module.js +30 -30
  158. package/esm2015/address/pepperi-addons-ngx-lib-address.js +4 -4
  159. package/esm2015/address/public-api.js +5 -5
  160. package/esm2015/attachment/attachment.component.js +208 -208
  161. package/esm2015/attachment/attachment.module.js +28 -28
  162. package/esm2015/attachment/pepperi-addons-ngx-lib-attachment.js +4 -4
  163. package/esm2015/attachment/public-api.js +5 -5
  164. package/esm2015/bread-crumbs/bread-crumbs.component.js +78 -78
  165. package/esm2015/bread-crumbs/bread-crumbs.model.js +6 -6
  166. package/esm2015/bread-crumbs/bread-crumbs.module.js +34 -34
  167. package/esm2015/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.js +4 -4
  168. package/esm2015/bread-crumbs/public-api.js +6 -6
  169. package/esm2015/button/button.component.js +127 -127
  170. package/esm2015/button/button.model.js +5 -5
  171. package/esm2015/button/button.module.js +26 -26
  172. package/esm2015/button/pepperi-addons-ngx-lib-button.js +4 -4
  173. package/esm2015/button/public-api.js +6 -6
  174. package/esm2015/carousel/carousel-item.directive.js +26 -26
  175. package/esm2015/carousel/carousel.component.js +699 -699
  176. package/esm2015/carousel/carousel.module.js +11 -11
  177. package/esm2015/carousel/pepperi-addons-ngx-lib-carousel.js +4 -4
  178. package/esm2015/carousel/public-api.js +7 -7
  179. package/esm2015/checkbox/checkbox.component.js +151 -151
  180. package/esm2015/checkbox/checkbox.module.js +39 -39
  181. package/esm2015/checkbox/pepperi-addons-ngx-lib-checkbox.js +4 -4
  182. package/esm2015/checkbox/public-api.js +5 -5
  183. package/esm2015/color/color-picker.component.js +197 -197
  184. package/esm2015/color/color.component.js +77 -77
  185. package/esm2015/color/color.model.js +1 -1
  186. package/esm2015/color/color.module.js +57 -57
  187. package/esm2015/color/pepperi-addons-ngx-lib-color.js +5 -5
  188. package/esm2015/color/public-api.js +6 -6
  189. package/esm2015/core/clipboard/clipboard.directive.js +19 -19
  190. package/esm2015/core/clipboard/clipboard.service.js +11 -11
  191. package/esm2015/core/clipboard/index.js +4 -4
  192. package/esm2015/core/clipboard/public-api.js +5 -5
  193. package/esm2015/core/common/directives/auto-width.directive.js +77 -77
  194. package/esm2015/core/common/directives/button-blur.directive.js +22 -22
  195. package/esm2015/core/common/directives/button-loader.directive.js +102 -102
  196. package/esm2015/core/common/directives/data-qa.directive.js +22 -22
  197. package/esm2015/core/common/directives/index.js +4 -4
  198. package/esm2015/core/common/directives/menu-blur.directive.js +28 -28
  199. package/esm2015/core/common/directives/prevent-multi-click.directive.js +21 -21
  200. package/esm2015/core/common/directives/print.directive.js +134 -134
  201. package/esm2015/core/common/directives/public-api.js +11 -11
  202. package/esm2015/core/common/index.js +4 -4
  203. package/esm2015/core/common/model/index.js +4 -4
  204. package/esm2015/core/common/model/papi.model.js +2 -2
  205. package/esm2015/core/common/model/public-api.js +6 -6
  206. package/esm2015/core/common/model/utilities.model.js +56 -56
  207. package/esm2015/core/common/model/wapi.model.js +155 -155
  208. package/esm2015/core/common/pipes/common-pipes.js +141 -141
  209. package/esm2015/core/common/pipes/date-ago.pipe.js +44 -44
  210. package/esm2015/core/common/pipes/index.js +4 -4
  211. package/esm2015/core/common/pipes/public-api.js +5 -5
  212. package/esm2015/core/common/public-api.js +7 -7
  213. package/esm2015/core/common/services/addon.service.js +160 -160
  214. package/esm2015/core/common/services/color.service.js +356 -356
  215. package/esm2015/core/common/services/cookie.service.js +147 -147
  216. package/esm2015/core/common/services/data-convertor.service.js +117 -117
  217. package/esm2015/core/common/services/file.service.js +211 -211
  218. package/esm2015/core/common/services/index.js +4 -4
  219. package/esm2015/core/common/services/jwt-helper.service.js +103 -103
  220. package/esm2015/core/common/services/public-api.js +14 -14
  221. package/esm2015/core/common/services/session.service.js +72 -72
  222. package/esm2015/core/common/services/translate.service.js +47 -47
  223. package/esm2015/core/common/services/utilities.service.js +253 -253
  224. package/esm2015/core/common/services/validator.service.js +272 -272
  225. package/esm2015/core/common/services/window-scrolling.service.js +30 -30
  226. package/esm2015/core/customization/customization.model.js +290 -290
  227. package/esm2015/core/customization/customization.service.js +777 -777
  228. package/esm2015/core/customization/index.js +4 -4
  229. package/esm2015/core/customization/public-api.js +5 -5
  230. package/esm2015/core/http/index.js +4 -4
  231. package/esm2015/core/http/interceptors/error.interceptor.js +23 -23
  232. package/esm2015/core/http/interceptors/index.js +23 -23
  233. package/esm2015/core/http/interceptors/loader.interceptor.js +31 -31
  234. package/esm2015/core/http/interceptors/profiler.interceptor.js +28 -28
  235. package/esm2015/core/http/public-api.js +5 -5
  236. package/esm2015/core/http/services/http.service.js +160 -160
  237. package/esm2015/core/http/services/loader.service.js +48 -48
  238. package/esm2015/core/index.js +4 -4
  239. package/esm2015/core/layout/index.js +4 -4
  240. package/esm2015/core/layout/layout.service.js +168 -168
  241. package/esm2015/core/layout/public-api.js +5 -5
  242. package/esm2015/core/layout/rtl.directive.js +46 -46
  243. package/esm2015/core/portal/attach.directive.js +26 -26
  244. package/esm2015/core/portal/index.js +4 -4
  245. package/esm2015/core/portal/portal.service.js +34 -34
  246. package/esm2015/core/portal/public-api.js +6 -6
  247. package/esm2015/core/portal/target.directive.js +23 -23
  248. package/esm2015/core/public-api.js +10 -10
  249. package/esm2015/core/scroll-to/index.js +4 -4
  250. package/esm2015/core/scroll-to/public-api.js +5 -5
  251. package/esm2015/core/scroll-to/scroll-to.service.js +81 -81
  252. package/esm2015/date/date.component.js +251 -251
  253. package/esm2015/date/date.model.js +44 -44
  254. package/esm2015/date/date.module.js +50 -50
  255. package/esm2015/date/pepperi-addons-ngx-lib-date.js +5 -5
  256. package/esm2015/date/public-api.js +5 -5
  257. package/esm2015/dialog/default-dialog.component.js +31 -31
  258. package/esm2015/dialog/dialog.component.js +28 -28
  259. package/esm2015/dialog/dialog.model.js +34 -34
  260. package/esm2015/dialog/dialog.module.js +39 -39
  261. package/esm2015/dialog/dialog.service.js +87 -87
  262. package/esm2015/dialog/pepperi-addons-ngx-lib-dialog.js +5 -5
  263. package/esm2015/dialog/public-api.js +7 -7
  264. package/esm2015/draggable-items/draggable-item/draggable-item.component.js +24 -24
  265. package/esm2015/draggable-items/draggable-items.component.js +91 -91
  266. package/esm2015/draggable-items/draggable-items.model.js +1 -1
  267. package/esm2015/draggable-items/draggable-items.module.js +42 -42
  268. package/esm2015/draggable-items/pepperi-addons-ngx-lib-draggable-items.js +4 -4
  269. package/esm2015/draggable-items/public-api.js +7 -7
  270. package/esm2015/field-title/field-title.component.js +31 -31
  271. package/esm2015/field-title/field-title.module.js +31 -31
  272. package/esm2015/field-title/pepperi-addons-ngx-lib-field-title.js +4 -4
  273. package/esm2015/field-title/public-api.js +5 -5
  274. package/esm2015/files-uploader/files-uploader.component.js +220 -220
  275. package/esm2015/files-uploader/files-uploader.module.js +49 -49
  276. package/esm2015/files-uploader/pepperi-addons-ngx-lib-files-uploader.js +4 -4
  277. package/esm2015/files-uploader/public-api.js +5 -5
  278. package/esm2015/form/field-generator.component.js +121 -121
  279. package/esm2015/form/form.component.js +1200 -1200
  280. package/esm2015/form/form.model.js +1 -1
  281. package/esm2015/form/form.module.js +107 -107
  282. package/esm2015/form/indicators.component.js +20 -20
  283. package/esm2015/form/internal-button.component.js +165 -165
  284. package/esm2015/form/internal-carusel.component.js +115 -115
  285. package/esm2015/form/internal-carusel.service.js +31 -31
  286. package/esm2015/form/internal-list.component.js +494 -494
  287. package/esm2015/form/internal-menu.component.js +54 -54
  288. package/esm2015/form/internal-page.component.js +350 -350
  289. package/esm2015/form/internal-page.service.js +120 -120
  290. package/esm2015/form/pepperi-addons-ngx-lib-form.js +13 -13
  291. package/esm2015/form/public-api.js +6 -6
  292. package/esm2015/group-buttons/group-buttons.component.js +57 -57
  293. package/esm2015/group-buttons/group-buttons.module.js +37 -37
  294. package/esm2015/group-buttons/pepperi-addons-ngx-lib-group-buttons.js +4 -4
  295. package/esm2015/group-buttons/public-api.js +5 -5
  296. package/esm2015/icon/icon-generated-all.model.js +100 -100
  297. package/esm2015/icon/icon-generated.model.js +389 -389
  298. package/esm2015/icon/icon-registry.service.js +22 -22
  299. package/esm2015/icon/icon.component.js +124 -124
  300. package/esm2015/icon/icon.module.js +14 -14
  301. package/esm2015/icon/icon.service.js +31 -31
  302. package/esm2015/icon/pepperi-addons-ngx-lib-icon.js +4 -4
  303. package/esm2015/icon/public-api.js +10 -10
  304. package/esm2015/image/image.component.js +228 -228
  305. package/esm2015/image/image.module.js +48 -48
  306. package/esm2015/image/image.service.js +56 -56
  307. package/esm2015/image/pepperi-addons-ngx-lib-image.js +4 -4
  308. package/esm2015/image/public-api.js +6 -6
  309. package/esm2015/images-filmstrip/images-filmstrip.component.js +316 -316
  310. package/esm2015/images-filmstrip/images-filmstrip.module.js +51 -51
  311. package/esm2015/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.js +4 -4
  312. package/esm2015/images-filmstrip/public-api.js +5 -5
  313. package/esm2015/link/link.component.js +315 -315
  314. package/esm2015/link/link.module.js +50 -50
  315. package/esm2015/link/link.pipes.js +13 -13
  316. package/esm2015/link/pepperi-addons-ngx-lib-link.js +5 -5
  317. package/esm2015/link/public-api.js +5 -5
  318. package/esm2015/list/list-actions.component.js +35 -35
  319. package/esm2015/list/list-carousel.component.js +94 -94
  320. package/esm2015/list/list-chooser.component.js +57 -57
  321. package/esm2015/list/list-pager.component.js +112 -112
  322. package/esm2015/list/list-sorting.component.js +54 -54
  323. package/esm2015/list/list-total.component.js +23 -23
  324. package/esm2015/list/list-views.component.js +71 -71
  325. package/esm2015/list/list.component.js +1127 -1127
  326. package/esm2015/list/list.model.js +3 -3
  327. package/esm2015/list/list.module.js +87 -87
  328. package/esm2015/list/list.pipes.js +39 -39
  329. package/esm2015/list/pepperi-addons-ngx-lib-list.js +6 -6
  330. package/esm2015/list/public-api.js +14 -14
  331. package/esm2015/list/virtual-scroller.js +1018 -1018
  332. package/esm2015/menu/menu-item.component.js +102 -102
  333. package/esm2015/menu/menu.component.js +173 -173
  334. package/esm2015/menu/menu.model.js +18 -18
  335. package/esm2015/menu/menu.module.js +39 -39
  336. package/esm2015/menu/pepperi-addons-ngx-lib-menu.js +5 -5
  337. package/esm2015/menu/public-api.js +6 -6
  338. package/esm2015/ngx-lib.module.js +96 -94
  339. package/esm2015/page-layout/page-layout.component.js +41 -41
  340. package/esm2015/page-layout/page-layout.module.js +20 -20
  341. package/esm2015/page-layout/pepperi-addons-ngx-lib-page-layout.js +4 -4
  342. package/esm2015/page-layout/public-api.js +5 -5
  343. package/esm2015/pepperi-addons-ngx-lib.js +8 -8
  344. package/esm2015/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.js +4 -4
  345. package/esm2015/profile-data-views-list/profile-data-view/profile-data-view.component.js +38 -38
  346. package/esm2015/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.js +59 -59
  347. package/esm2015/profile-data-views-list/profile-data-views-list.component.js +86 -86
  348. package/esm2015/profile-data-views-list/profile-data-views-list.model.js +1 -1
  349. package/esm2015/profile-data-views-list/profile-data-views-list.module.js +56 -56
  350. package/esm2015/profile-data-views-list/public-api.js +8 -8
  351. package/esm2015/public-api.js +5 -5
  352. package/esm2015/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.js +6 -6
  353. package/esm2015/quantity-selector/public-api.js +5 -5
  354. package/esm2015/quantity-selector/quantity-selector-validation.directive.js +43 -43
  355. package/esm2015/quantity-selector/quantity-selector.component.js +472 -472
  356. package/esm2015/quantity-selector/quantity-selector.module.js +52 -52
  357. package/esm2015/quantity-selector/quantity-selector.pipes.js +18 -18
  358. package/esm2015/query-builder/common/model/field.js +1 -1
  359. package/esm2015/query-builder/common/model/filter.js +1 -1
  360. package/esm2015/query-builder/common/model/legacy.js +1 -1
  361. package/esm2015/query-builder/common/model/operator-unit.js +41 -41
  362. package/esm2015/query-builder/common/model/operator.js +265 -265
  363. package/esm2015/query-builder/common/model/structure.js +1 -1
  364. package/esm2015/query-builder/common/model/type-map.js +26 -26
  365. package/esm2015/query-builder/common/model/type.js +5 -5
  366. package/esm2015/query-builder/common/services/output-query.service.js +112 -112
  367. package/esm2015/query-builder/common/services/query-structure.service.js +228 -228
  368. package/esm2015/query-builder/common/services/type-convertor.service.js +39 -39
  369. package/esm2015/query-builder/pepperi-addons-ngx-lib-query-builder.js +9 -9
  370. package/esm2015/query-builder/public-api.js +8 -8
  371. package/esm2015/query-builder/query-builder-item/query-builder-item.component.js +117 -117
  372. package/esm2015/query-builder/query-builder-section/query-builder-section.component.js +63 -63
  373. package/esm2015/query-builder/query-builder.component.js +107 -107
  374. package/esm2015/query-builder/query-builder.module.js +34 -34
  375. package/esm2015/query-builder/query-builder.service.js +102 -102
  376. package/esm2015/remote-loader/addon-block-loader.component.js +77 -77
  377. package/esm2015/remote-loader/addon-block-loader.service.js +63 -63
  378. package/esm2015/remote-loader/pepperi-addons-ngx-lib-remote-loader.js +4 -4
  379. package/esm2015/remote-loader/public-api.js +9 -9
  380. package/esm2015/remote-loader/remote-loader.component.js +114 -114
  381. package/esm2015/remote-loader/remote-loader.model.js +1 -1
  382. package/esm2015/remote-loader/remote-loader.module.js +37 -37
  383. package/esm2015/remote-loader/remote-loader.service.js +65 -65
  384. package/esm2015/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.js +4 -4
  385. package/esm2015/rich-html-textarea/public-api.js +5 -5
  386. package/esm2015/rich-html-textarea/rich-html-textarea.component.js +219 -219
  387. package/esm2015/rich-html-textarea/rich-html-textarea.module.js +56 -56
  388. package/esm2015/search/pepperi-addons-ngx-lib-search.js +4 -4
  389. package/esm2015/search/public-api.js +6 -6
  390. package/esm2015/search/search.component.js +273 -273
  391. package/esm2015/search/search.model.js +1 -1
  392. package/esm2015/search/search.module.js +44 -44
  393. package/esm2015/select/pepperi-addons-ngx-lib-select.js +4 -4
  394. package/esm2015/select/public-api.js +5 -5
  395. package/esm2015/select/select.component.js +219 -219
  396. package/esm2015/select/select.module.js +42 -42
  397. package/esm2015/separator/pepperi-addons-ngx-lib-separator.js +4 -4
  398. package/esm2015/separator/public-api.js +5 -5
  399. package/esm2015/separator/separator.component.js +62 -62
  400. package/esm2015/separator/separator.module.js +12 -12
  401. package/esm2015/side-bar/pepperi-addons-ngx-lib-side-bar.js +4 -4
  402. package/esm2015/side-bar/public-api.js +6 -6
  403. package/esm2015/side-bar/side-bar.component.js +132 -132
  404. package/esm2015/side-bar/side-bar.model.js +1 -1
  405. package/esm2015/side-bar/side-bar.module.js +33 -33
  406. package/esm2015/signature/pepperi-addons-ngx-lib-signature.js +4 -4
  407. package/esm2015/signature/public-api.js +5 -5
  408. package/esm2015/signature/signature.component.js +233 -233
  409. package/esm2015/signature/signature.module.js +54 -54
  410. package/esm2015/size-detector/pepperi-addons-ngx-lib-size-detector.js +4 -4
  411. package/esm2015/size-detector/public-api.js +5 -5
  412. package/esm2015/size-detector/size-detector.component.js +88 -88
  413. package/esm2015/size-detector/size-detector.module.js +21 -21
  414. package/esm2015/slider/pepperi-addons-ngx-lib-slider.js +4 -4
  415. package/esm2015/slider/public-api.js +5 -5
  416. package/esm2015/slider/slider.component.js +95 -95
  417. package/esm2015/slider/slider.module.js +24 -24
  418. package/esm2015/smart-filters/boolean-filter/boolean-filter.component.js +70 -70
  419. package/esm2015/smart-filters/common/filter-actions.component.js +25 -25
  420. package/esm2015/smart-filters/common/model/base-filter-component.js +291 -291
  421. package/esm2015/smart-filters/common/model/creator.js +75 -75
  422. package/esm2015/smart-filters/common/model/field.js +116 -116
  423. package/esm2015/smart-filters/common/model/filter.js +1 -1
  424. package/esm2015/smart-filters/common/model/operator.js +270 -270
  425. package/esm2015/smart-filters/common/model/type.js +1 -1
  426. package/esm2015/smart-filters/date-filter/date-filter.component.js +163 -163
  427. package/esm2015/smart-filters/multi-select-filter/multi-select-filter.component.js +190 -190
  428. package/esm2015/smart-filters/number-filter/number-filter.component.js +109 -109
  429. package/esm2015/smart-filters/pepperi-addons-ngx-lib-smart-filters.js +4 -4
  430. package/esm2015/smart-filters/public-api.js +18 -18
  431. package/esm2015/smart-filters/smart-filters.component.js +129 -129
  432. package/esm2015/smart-filters/smart-filters.module.js +90 -90
  433. package/esm2015/smart-filters/text-filter/text-filter.component.js +85 -85
  434. package/esm2015/snack-bar/default-snack-bar.component.js +27 -27
  435. package/esm2015/snack-bar/pepperi-addons-ngx-lib-snack-bar.js +5 -5
  436. package/esm2015/snack-bar/public-api.js +7 -7
  437. package/esm2015/snack-bar/snack-bar.component.js +25 -25
  438. package/esm2015/snack-bar/snack-bar.model.js +6 -6
  439. package/esm2015/snack-bar/snack-bar.module.js +41 -41
  440. package/esm2015/snack-bar/snack-bar.service.js +62 -62
  441. package/esm2015/textarea/pepperi-addons-ngx-lib-textarea.js +4 -4
  442. package/esm2015/textarea/public-api.js +5 -5
  443. package/esm2015/textarea/textarea.component.js +160 -160
  444. package/esm2015/textarea/textarea.module.js +50 -50
  445. package/esm2015/textbox/pepperi-addons-ngx-lib-textbox.js +5 -5
  446. package/esm2015/textbox/public-api.js +5 -5
  447. package/esm2015/textbox/textbox-validation.directive.js +85 -85
  448. package/esm2015/textbox/textbox.component.js +411 -411
  449. package/esm2015/textbox/textbox.module.js +44 -44
  450. package/esm2015/textbox-icon/pepperi-addons-ngx-lib-textbox-icon.js +4 -4
  451. package/esm2015/textbox-icon/public-api.js +5 -5
  452. package/esm2015/textbox-icon/textbox-icon.component.js +40 -40
  453. package/esm2015/textbox-icon/textbox-icon.module.js +46 -46
  454. package/esm2015/top-bar/pepperi-addons-ngx-lib-top-bar.js +4 -4
  455. package/esm2015/top-bar/public-api.js +6 -6
  456. package/esm2015/top-bar/top-bar.component.js +98 -98
  457. package/esm2015/top-bar/top-bar.model.js +1 -1
  458. package/esm2015/top-bar/top-bar.module.js +40 -40
  459. package/fesm2015/pepperi-addons-ngx-lib-address.js +116 -116
  460. package/fesm2015/pepperi-addons-ngx-lib-attachment.js +227 -227
  461. package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.js +109 -109
  462. package/fesm2015/pepperi-addons-ngx-lib-button.js +149 -149
  463. package/fesm2015/pepperi-addons-ngx-lib-carousel.js +731 -731
  464. package/fesm2015/pepperi-addons-ngx-lib-checkbox.js +178 -178
  465. package/fesm2015/pepperi-addons-ngx-lib-color.js +298 -298
  466. package/fesm2015/pepperi-addons-ngx-lib-date.js +320 -320
  467. package/fesm2015/pepperi-addons-ngx-lib-dialog.js +192 -192
  468. package/fesm2015/pepperi-addons-ngx-lib-draggable-items.js +143 -143
  469. package/fesm2015/pepperi-addons-ngx-lib-field-title.js +55 -55
  470. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js +252 -252
  471. package/fesm2015/pepperi-addons-ngx-lib-form.js +2697 -2697
  472. package/fesm2015/pepperi-addons-ngx-lib-group-buttons.js +84 -84
  473. package/fesm2015/pepperi-addons-ngx-lib-icon.js +662 -662
  474. package/fesm2015/pepperi-addons-ngx-lib-image.js +308 -308
  475. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.js +347 -347
  476. package/fesm2015/pepperi-addons-ngx-lib-link.js +358 -358
  477. package/fesm2015/pepperi-addons-ngx-lib-list.js +2661 -2661
  478. package/fesm2015/pepperi-addons-ngx-lib-menu.js +314 -314
  479. package/fesm2015/pepperi-addons-ngx-lib-page-layout.js +55 -55
  480. package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.js +219 -219
  481. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.js +561 -561
  482. package/fesm2015/pepperi-addons-ngx-lib-query-builder.js +1087 -1087
  483. package/fesm2015/pepperi-addons-ngx-lib-remote-loader.js +327 -327
  484. package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.js +256 -256
  485. package/fesm2015/pepperi-addons-ngx-lib-search.js +301 -301
  486. package/fesm2015/pepperi-addons-ngx-lib-select.js +249 -249
  487. package/fesm2015/pepperi-addons-ngx-lib-separator.js +71 -71
  488. package/fesm2015/pepperi-addons-ngx-lib-side-bar.js +156 -156
  489. package/fesm2015/pepperi-addons-ngx-lib-signature.js +270 -270
  490. package/fesm2015/pepperi-addons-ngx-lib-size-detector.js +103 -103
  491. package/fesm2015/pepperi-addons-ngx-lib-slider.js +112 -112
  492. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.js +1539 -1539
  493. package/fesm2015/pepperi-addons-ngx-lib-snack-bar.js +137 -137
  494. package/fesm2015/pepperi-addons-ngx-lib-textarea.js +194 -194
  495. package/fesm2015/pepperi-addons-ngx-lib-textbox-icon.js +78 -78
  496. package/fesm2015/pepperi-addons-ngx-lib-textbox.js +521 -521
  497. package/fesm2015/pepperi-addons-ngx-lib-top-bar.js +125 -125
  498. package/fesm2015/pepperi-addons-ngx-lib.js +4320 -4319
  499. package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
  500. package/field-title/field-title.component.d.ts +11 -11
  501. package/field-title/field-title.module.d.ts +5 -5
  502. package/field-title/pepperi-addons-ngx-lib-field-title.d.ts +4 -4
  503. package/field-title/public-api.d.ts +2 -2
  504. package/files-uploader/files-uploader.component.d.ts +53 -53
  505. package/files-uploader/files-uploader.module.d.ts +5 -5
  506. package/files-uploader/pepperi-addons-ngx-lib-files-uploader.d.ts +4 -4
  507. package/files-uploader/public-api.d.ts +2 -2
  508. package/form/field-generator.component.d.ts +36 -36
  509. package/form/form.component.d.ts +90 -90
  510. package/form/form.model.d.ts +20 -20
  511. package/form/form.module.d.ts +5 -5
  512. package/form/indicators.component.d.ts +7 -7
  513. package/form/internal-button.component.d.ts +39 -39
  514. package/form/internal-carusel.component.d.ts +38 -38
  515. package/form/internal-carusel.service.d.ts +7 -7
  516. package/form/internal-list.component.d.ts +92 -92
  517. package/form/internal-menu.component.d.ts +16 -16
  518. package/form/internal-page.component.d.ts +72 -72
  519. package/form/internal-page.service.d.ts +19 -19
  520. package/form/pepperi-addons-ngx-lib-form.d.ts +13 -13
  521. package/form/public-api.d.ts +3 -3
  522. package/group-buttons/group-buttons.component.d.ts +20 -20
  523. package/group-buttons/group-buttons.module.d.ts +5 -5
  524. package/group-buttons/pepperi-addons-ngx-lib-group-buttons.d.ts +4 -4
  525. package/group-buttons/public-api.d.ts +2 -2
  526. package/icon/icon-generated-all.model.d.ts +99 -99
  527. package/icon/icon-generated.model.d.ts +394 -394
  528. package/icon/icon-registry.service.d.ts +6 -6
  529. package/icon/icon.component.d.ts +46 -46
  530. package/icon/icon.module.d.ts +2 -2
  531. package/icon/icon.service.d.ts +10 -10
  532. package/icon/pepperi-addons-ngx-lib-icon.d.ts +4 -4
  533. package/icon/public-api.d.ts +6 -6
  534. package/image/image.component.d.ts +63 -63
  535. package/image/image.module.d.ts +5 -5
  536. package/image/image.service.d.ts +11 -11
  537. package/image/pepperi-addons-ngx-lib-image.d.ts +4 -4
  538. package/image/public-api.d.ts +3 -3
  539. package/images-filmstrip/images-filmstrip.component.d.ts +84 -84
  540. package/images-filmstrip/images-filmstrip.module.d.ts +5 -5
  541. package/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.d.ts +4 -4
  542. package/images-filmstrip/public-api.d.ts +2 -2
  543. package/link/link.component.d.ts +131 -131
  544. package/link/link.module.d.ts +5 -5
  545. package/link/link.pipes.d.ts +4 -4
  546. package/link/pepperi-addons-ngx-lib-link.d.ts +5 -5
  547. package/link/public-api.d.ts +2 -2
  548. package/list/list-actions.component.d.ts +14 -14
  549. package/list/list-carousel.component.d.ts +36 -36
  550. package/list/list-chooser.component.d.ts +25 -25
  551. package/list/list-pager.component.d.ts +35 -35
  552. package/list/list-sorting.component.d.ts +26 -26
  553. package/list/list-total.component.d.ts +7 -7
  554. package/list/list-views.component.d.ts +31 -31
  555. package/list/list.component.d.ts +161 -161
  556. package/list/list.model.d.ts +31 -31
  557. package/list/list.module.d.ts +5 -5
  558. package/list/list.pipes.d.ts +11 -11
  559. package/list/pepperi-addons-ngx-lib-list.d.ts +6 -6
  560. package/list/public-api.d.ts +10 -10
  561. package/list/virtual-scroller.d.ts +176 -176
  562. package/menu/menu-item.component.d.ts +25 -25
  563. package/menu/menu.component.d.ts +43 -43
  564. package/menu/menu.model.d.ts +25 -25
  565. package/menu/menu.module.d.ts +5 -5
  566. package/menu/pepperi-addons-ngx-lib-menu.d.ts +5 -5
  567. package/menu/public-api.d.ts +3 -3
  568. package/ngx-lib.module.d.ts +2 -2
  569. package/package.json +1 -1
  570. package/page-layout/page-layout.component.d.ts +16 -16
  571. package/page-layout/page-layout.module.d.ts +2 -2
  572. package/page-layout/pepperi-addons-ngx-lib-page-layout.d.ts +4 -4
  573. package/page-layout/public-api.d.ts +2 -2
  574. package/pepperi-addons-ngx-lib.d.ts +8 -8
  575. package/pepperi-addons-ngx-lib.metadata.json +1 -1
  576. package/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.d.ts +4 -4
  577. package/profile-data-views-list/profile-data-view/profile-data-view.component.d.ts +15 -15
  578. package/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.d.ts +21 -21
  579. package/profile-data-views-list/profile-data-views-list.component.d.ts +32 -32
  580. package/profile-data-views-list/profile-data-views-list.model.d.ts +18 -18
  581. package/profile-data-views-list/profile-data-views-list.module.d.ts +5 -5
  582. package/profile-data-views-list/public-api.d.ts +5 -5
  583. package/public-api.d.ts +2 -2
  584. package/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.d.ts +6 -6
  585. package/quantity-selector/public-api.d.ts +2 -2
  586. package/quantity-selector/quantity-selector-validation.directive.d.ts +13 -13
  587. package/quantity-selector/quantity-selector.component.d.ts +98 -98
  588. package/quantity-selector/quantity-selector.module.d.ts +5 -5
  589. package/quantity-selector/quantity-selector.pipes.d.ts +4 -4
  590. package/query-builder/common/model/field.d.ts +8 -8
  591. package/query-builder/common/model/filter.d.ts +6 -6
  592. package/query-builder/common/model/legacy.d.ts +29 -29
  593. package/query-builder/common/model/operator-unit.d.ts +13 -13
  594. package/query-builder/common/model/operator.d.ts +21 -21
  595. package/query-builder/common/model/structure.d.ts +4 -4
  596. package/query-builder/common/model/type-map.d.ts +12 -12
  597. package/query-builder/common/model/type.d.ts +4 -4
  598. package/query-builder/common/services/output-query.service.d.ts +44 -44
  599. package/query-builder/common/services/query-structure.service.d.ts +78 -78
  600. package/query-builder/common/services/type-convertor.service.d.ts +10 -10
  601. package/query-builder/pepperi-addons-ngx-lib-query-builder.d.ts +9 -9
  602. package/query-builder/public-api.d.ts +5 -5
  603. package/query-builder/query-builder-item/query-builder-item.component.d.ts +38 -38
  604. package/query-builder/query-builder-section/query-builder-section.component.d.ts +27 -27
  605. package/query-builder/query-builder.component.d.ts +36 -36
  606. package/query-builder/query-builder.module.d.ts +2 -2
  607. package/query-builder/query-builder.service.d.ts +27 -27
  608. package/remote-loader/addon-block-loader.component.d.ts +29 -29
  609. package/remote-loader/addon-block-loader.service.d.ts +13 -13
  610. package/remote-loader/pepperi-addons-ngx-lib-remote-loader.d.ts +4 -4
  611. package/remote-loader/public-api.d.ts +6 -6
  612. package/remote-loader/remote-loader.component.d.ts +24 -24
  613. package/remote-loader/remote-loader.model.d.ts +36 -36
  614. package/remote-loader/remote-loader.module.d.ts +2 -2
  615. package/remote-loader/remote-loader.service.d.ts +14 -14
  616. package/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.d.ts +4 -4
  617. package/rich-html-textarea/public-api.d.ts +2 -2
  618. package/rich-html-textarea/rich-html-textarea.component.d.ts +75 -75
  619. package/rich-html-textarea/rich-html-textarea.module.d.ts +5 -5
  620. package/search/pepperi-addons-ngx-lib-search.d.ts +4 -4
  621. package/search/public-api.d.ts +3 -3
  622. package/search/search.component.d.ts +61 -61
  623. package/search/search.model.d.ts +14 -14
  624. package/search/search.module.d.ts +5 -5
  625. package/select/pepperi-addons-ngx-lib-select.d.ts +4 -4
  626. package/select/public-api.d.ts +2 -2
  627. package/select/select.component.d.ts +52 -52
  628. package/select/select.module.d.ts +5 -5
  629. package/separator/pepperi-addons-ngx-lib-separator.d.ts +4 -4
  630. package/separator/public-api.d.ts +2 -2
  631. package/separator/separator.component.d.ts +19 -19
  632. package/separator/separator.module.d.ts +2 -2
  633. package/side-bar/pepperi-addons-ngx-lib-side-bar.d.ts +4 -4
  634. package/side-bar/public-api.d.ts +3 -3
  635. package/side-bar/side-bar.component.d.ts +39 -39
  636. package/side-bar/side-bar.model.d.ts +4 -4
  637. package/side-bar/side-bar.module.d.ts +5 -5
  638. package/signature/pepperi-addons-ngx-lib-signature.d.ts +4 -4
  639. package/signature/public-api.d.ts +2 -2
  640. package/signature/signature.component.d.ts +65 -65
  641. package/signature/signature.module.d.ts +5 -5
  642. package/size-detector/pepperi-addons-ngx-lib-size-detector.d.ts +4 -4
  643. package/size-detector/public-api.d.ts +2 -2
  644. package/size-detector/size-detector.component.d.ts +26 -26
  645. package/size-detector/size-detector.module.d.ts +2 -2
  646. package/slider/pepperi-addons-ngx-lib-slider.d.ts +4 -4
  647. package/slider/public-api.d.ts +2 -2
  648. package/slider/slider.component.d.ts +36 -36
  649. package/slider/slider.module.d.ts +2 -2
  650. package/smart-filters/boolean-filter/boolean-filter.component.d.ts +25 -25
  651. package/smart-filters/common/filter-actions.component.d.ts +9 -9
  652. package/smart-filters/common/model/base-filter-component.d.ts +70 -70
  653. package/smart-filters/common/model/creator.d.ts +6 -6
  654. package/smart-filters/common/model/field.d.ts +69 -69
  655. package/smart-filters/common/model/filter.d.ts +11 -11
  656. package/smart-filters/common/model/operator.d.ts +51 -51
  657. package/smart-filters/common/model/type.d.ts +4 -4
  658. package/smart-filters/date-filter/date-filter.component.d.ts +56 -56
  659. package/smart-filters/multi-select-filter/multi-select-filter.component.d.ts +53 -53
  660. package/smart-filters/number-filter/number-filter.component.d.ts +48 -48
  661. package/smart-filters/pepperi-addons-ngx-lib-smart-filters.d.ts +4 -4
  662. package/smart-filters/public-api.d.ts +14 -14
  663. package/smart-filters/smart-filters.component.d.ts +32 -32
  664. package/smart-filters/smart-filters.module.d.ts +5 -5
  665. package/smart-filters/text-filter/text-filter.component.d.ts +25 -25
  666. package/snack-bar/default-snack-bar.component.d.ts +10 -10
  667. package/snack-bar/pepperi-addons-ngx-lib-snack-bar.d.ts +5 -5
  668. package/snack-bar/public-api.d.ts +4 -4
  669. package/snack-bar/snack-bar.component.d.ts +9 -9
  670. package/snack-bar/snack-bar.model.d.ts +8 -8
  671. package/snack-bar/snack-bar.module.d.ts +5 -5
  672. package/snack-bar/snack-bar.service.d.ts +21 -21
  673. package/textarea/pepperi-addons-ngx-lib-textarea.d.ts +4 -4
  674. package/textarea/public-api.d.ts +2 -2
  675. package/textarea/textarea.component.d.ts +51 -51
  676. package/textarea/textarea.module.d.ts +5 -5
  677. package/textbox/pepperi-addons-ngx-lib-textbox.d.ts +5 -5
  678. package/textbox/public-api.d.ts +2 -2
  679. package/textbox/textbox-validation.directive.d.ts +18 -18
  680. package/textbox/textbox.component.d.ts +141 -141
  681. package/textbox/textbox.module.d.ts +5 -5
  682. package/textbox-icon/pepperi-addons-ngx-lib-textbox-icon.d.ts +4 -4
  683. package/textbox-icon/public-api.d.ts +2 -2
  684. package/textbox-icon/textbox-icon.component.d.ts +10 -10
  685. package/textbox-icon/textbox-icon.module.d.ts +5 -5
  686. package/top-bar/pepperi-addons-ngx-lib-top-bar.d.ts +4 -4
  687. package/top-bar/public-api.d.ts +3 -3
  688. package/top-bar/top-bar.component.d.ts +36 -36
  689. package/top-bar/top-bar.model.d.ts +4 -4
  690. package/top-bar/top-bar.module.d.ts +5 -5
@@ -29,703 +29,703 @@
29
29
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
30
30
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
31
31
 
32
- /*! *****************************************************************************
33
- Copyright (c) Microsoft Corporation.
34
-
35
- Permission to use, copy, modify, and/or distribute this software for any
36
- purpose with or without fee is hereby granted.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
39
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
41
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
42
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
43
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
44
- PERFORMANCE OF THIS SOFTWARE.
45
- ***************************************************************************** */
46
- /* global Reflect, Promise */
47
- var extendStatics = function (d, b) {
48
- extendStatics = Object.setPrototypeOf ||
49
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
50
- function (d, b) { for (var p in b)
51
- if (Object.prototype.hasOwnProperty.call(b, p))
52
- d[p] = b[p]; };
53
- return extendStatics(d, b);
54
- };
55
- function __extends(d, b) {
56
- if (typeof b !== "function" && b !== null)
57
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
58
- extendStatics(d, b);
59
- function __() { this.constructor = d; }
60
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
61
- }
62
- var __assign = function () {
63
- __assign = Object.assign || function __assign(t) {
64
- for (var s, i = 1, n = arguments.length; i < n; i++) {
65
- s = arguments[i];
66
- for (var p in s)
67
- if (Object.prototype.hasOwnProperty.call(s, p))
68
- t[p] = s[p];
69
- }
70
- return t;
71
- };
72
- return __assign.apply(this, arguments);
73
- };
74
- function __rest(s, e) {
75
- var t = {};
76
- for (var p in s)
77
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
78
- t[p] = s[p];
79
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
80
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
81
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
82
- t[p[i]] = s[p[i]];
83
- }
84
- return t;
85
- }
86
- function __decorate(decorators, target, key, desc) {
87
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
88
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
89
- r = Reflect.decorate(decorators, target, key, desc);
90
- else
91
- for (var i = decorators.length - 1; i >= 0; i--)
92
- if (d = decorators[i])
93
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
94
- return c > 3 && r && Object.defineProperty(target, key, r), r;
95
- }
96
- function __param(paramIndex, decorator) {
97
- return function (target, key) { decorator(target, key, paramIndex); };
98
- }
99
- function __metadata(metadataKey, metadataValue) {
100
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
101
- return Reflect.metadata(metadataKey, metadataValue);
102
- }
103
- function __awaiter(thisArg, _arguments, P, generator) {
104
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
105
- return new (P || (P = Promise))(function (resolve, reject) {
106
- function fulfilled(value) { try {
107
- step(generator.next(value));
108
- }
109
- catch (e) {
110
- reject(e);
111
- } }
112
- function rejected(value) { try {
113
- step(generator["throw"](value));
114
- }
115
- catch (e) {
116
- reject(e);
117
- } }
118
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
119
- step((generator = generator.apply(thisArg, _arguments || [])).next());
120
- });
121
- }
122
- function __generator(thisArg, body) {
123
- var _ = { label: 0, sent: function () { if (t[0] & 1)
124
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
125
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
126
- function verb(n) { return function (v) { return step([n, v]); }; }
127
- function step(op) {
128
- if (f)
129
- throw new TypeError("Generator is already executing.");
130
- while (_)
131
- try {
132
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
133
- return t;
134
- if (y = 0, t)
135
- op = [op[0] & 2, t.value];
136
- switch (op[0]) {
137
- case 0:
138
- case 1:
139
- t = op;
140
- break;
141
- case 4:
142
- _.label++;
143
- return { value: op[1], done: false };
144
- case 5:
145
- _.label++;
146
- y = op[1];
147
- op = [0];
148
- continue;
149
- case 7:
150
- op = _.ops.pop();
151
- _.trys.pop();
152
- continue;
153
- default:
154
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
155
- _ = 0;
156
- continue;
157
- }
158
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
159
- _.label = op[1];
160
- break;
161
- }
162
- if (op[0] === 6 && _.label < t[1]) {
163
- _.label = t[1];
164
- t = op;
165
- break;
166
- }
167
- if (t && _.label < t[2]) {
168
- _.label = t[2];
169
- _.ops.push(op);
170
- break;
171
- }
172
- if (t[2])
173
- _.ops.pop();
174
- _.trys.pop();
175
- continue;
176
- }
177
- op = body.call(thisArg, _);
178
- }
179
- catch (e) {
180
- op = [6, e];
181
- y = 0;
182
- }
183
- finally {
184
- f = t = 0;
185
- }
186
- if (op[0] & 5)
187
- throw op[1];
188
- return { value: op[0] ? op[1] : void 0, done: true };
189
- }
190
- }
191
- var __createBinding = Object.create ? (function (o, m, k, k2) {
192
- if (k2 === undefined)
193
- k2 = k;
194
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
195
- }) : (function (o, m, k, k2) {
196
- if (k2 === undefined)
197
- k2 = k;
198
- o[k2] = m[k];
199
- });
200
- function __exportStar(m, o) {
201
- for (var p in m)
202
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
203
- __createBinding(o, m, p);
204
- }
205
- function __values(o) {
206
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
207
- if (m)
208
- return m.call(o);
209
- if (o && typeof o.length === "number")
210
- return {
211
- next: function () {
212
- if (o && i >= o.length)
213
- o = void 0;
214
- return { value: o && o[i++], done: !o };
215
- }
216
- };
217
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
218
- }
219
- function __read(o, n) {
220
- var m = typeof Symbol === "function" && o[Symbol.iterator];
221
- if (!m)
222
- return o;
223
- var i = m.call(o), r, ar = [], e;
224
- try {
225
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
226
- ar.push(r.value);
227
- }
228
- catch (error) {
229
- e = { error: error };
230
- }
231
- finally {
232
- try {
233
- if (r && !r.done && (m = i["return"]))
234
- m.call(i);
235
- }
236
- finally {
237
- if (e)
238
- throw e.error;
239
- }
240
- }
241
- return ar;
242
- }
243
- /** @deprecated */
244
- function __spread() {
245
- for (var ar = [], i = 0; i < arguments.length; i++)
246
- ar = ar.concat(__read(arguments[i]));
247
- return ar;
248
- }
249
- /** @deprecated */
250
- function __spreadArrays() {
251
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
252
- s += arguments[i].length;
253
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
254
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
255
- r[k] = a[j];
256
- return r;
257
- }
258
- function __spreadArray(to, from) {
259
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
260
- to[j] = from[i];
261
- return to;
262
- }
263
- function __await(v) {
264
- return this instanceof __await ? (this.v = v, this) : new __await(v);
265
- }
266
- function __asyncGenerator(thisArg, _arguments, generator) {
267
- if (!Symbol.asyncIterator)
268
- throw new TypeError("Symbol.asyncIterator is not defined.");
269
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
270
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
271
- function verb(n) { if (g[n])
272
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
273
- function resume(n, v) { try {
274
- step(g[n](v));
275
- }
276
- catch (e) {
277
- settle(q[0][3], e);
278
- } }
279
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
280
- function fulfill(value) { resume("next", value); }
281
- function reject(value) { resume("throw", value); }
282
- function settle(f, v) { if (f(v), q.shift(), q.length)
283
- resume(q[0][0], q[0][1]); }
284
- }
285
- function __asyncDelegator(o) {
286
- var i, p;
287
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
288
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
289
- }
290
- function __asyncValues(o) {
291
- if (!Symbol.asyncIterator)
292
- throw new TypeError("Symbol.asyncIterator is not defined.");
293
- var m = o[Symbol.asyncIterator], i;
294
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
295
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
296
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
297
- }
298
- function __makeTemplateObject(cooked, raw) {
299
- if (Object.defineProperty) {
300
- Object.defineProperty(cooked, "raw", { value: raw });
301
- }
302
- else {
303
- cooked.raw = raw;
304
- }
305
- return cooked;
306
- }
307
- ;
308
- var __setModuleDefault = Object.create ? (function (o, v) {
309
- Object.defineProperty(o, "default", { enumerable: true, value: v });
310
- }) : function (o, v) {
311
- o["default"] = v;
312
- };
313
- function __importStar(mod) {
314
- if (mod && mod.__esModule)
315
- return mod;
316
- var result = {};
317
- if (mod != null)
318
- for (var k in mod)
319
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
320
- __createBinding(result, mod, k);
321
- __setModuleDefault(result, mod);
322
- return result;
323
- }
324
- function __importDefault(mod) {
325
- return (mod && mod.__esModule) ? mod : { default: mod };
326
- }
327
- function __classPrivateFieldGet(receiver, state, kind, f) {
328
- if (kind === "a" && !f)
329
- throw new TypeError("Private accessor was defined without a getter");
330
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
331
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
332
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
333
- }
334
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
335
- if (kind === "m")
336
- throw new TypeError("Private method is not writable");
337
- if (kind === "a" && !f)
338
- throw new TypeError("Private accessor was defined without a setter");
339
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
340
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
341
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
32
+ /*! *****************************************************************************
33
+ Copyright (c) Microsoft Corporation.
34
+
35
+ Permission to use, copy, modify, and/or distribute this software for any
36
+ purpose with or without fee is hereby granted.
37
+
38
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
39
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
41
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
42
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
43
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
44
+ PERFORMANCE OF THIS SOFTWARE.
45
+ ***************************************************************************** */
46
+ /* global Reflect, Promise */
47
+ var extendStatics = function (d, b) {
48
+ extendStatics = Object.setPrototypeOf ||
49
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
50
+ function (d, b) { for (var p in b)
51
+ if (Object.prototype.hasOwnProperty.call(b, p))
52
+ d[p] = b[p]; };
53
+ return extendStatics(d, b);
54
+ };
55
+ function __extends(d, b) {
56
+ if (typeof b !== "function" && b !== null)
57
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
58
+ extendStatics(d, b);
59
+ function __() { this.constructor = d; }
60
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
61
+ }
62
+ var __assign = function () {
63
+ __assign = Object.assign || function __assign(t) {
64
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
65
+ s = arguments[i];
66
+ for (var p in s)
67
+ if (Object.prototype.hasOwnProperty.call(s, p))
68
+ t[p] = s[p];
69
+ }
70
+ return t;
71
+ };
72
+ return __assign.apply(this, arguments);
73
+ };
74
+ function __rest(s, e) {
75
+ var t = {};
76
+ for (var p in s)
77
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
78
+ t[p] = s[p];
79
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
80
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
81
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
82
+ t[p[i]] = s[p[i]];
83
+ }
84
+ return t;
85
+ }
86
+ function __decorate(decorators, target, key, desc) {
87
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
88
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
89
+ r = Reflect.decorate(decorators, target, key, desc);
90
+ else
91
+ for (var i = decorators.length - 1; i >= 0; i--)
92
+ if (d = decorators[i])
93
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
94
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
95
+ }
96
+ function __param(paramIndex, decorator) {
97
+ return function (target, key) { decorator(target, key, paramIndex); };
98
+ }
99
+ function __metadata(metadataKey, metadataValue) {
100
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
101
+ return Reflect.metadata(metadataKey, metadataValue);
102
+ }
103
+ function __awaiter(thisArg, _arguments, P, generator) {
104
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
105
+ return new (P || (P = Promise))(function (resolve, reject) {
106
+ function fulfilled(value) { try {
107
+ step(generator.next(value));
108
+ }
109
+ catch (e) {
110
+ reject(e);
111
+ } }
112
+ function rejected(value) { try {
113
+ step(generator["throw"](value));
114
+ }
115
+ catch (e) {
116
+ reject(e);
117
+ } }
118
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
119
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
120
+ });
121
+ }
122
+ function __generator(thisArg, body) {
123
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
124
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
125
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
126
+ function verb(n) { return function (v) { return step([n, v]); }; }
127
+ function step(op) {
128
+ if (f)
129
+ throw new TypeError("Generator is already executing.");
130
+ while (_)
131
+ try {
132
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
133
+ return t;
134
+ if (y = 0, t)
135
+ op = [op[0] & 2, t.value];
136
+ switch (op[0]) {
137
+ case 0:
138
+ case 1:
139
+ t = op;
140
+ break;
141
+ case 4:
142
+ _.label++;
143
+ return { value: op[1], done: false };
144
+ case 5:
145
+ _.label++;
146
+ y = op[1];
147
+ op = [0];
148
+ continue;
149
+ case 7:
150
+ op = _.ops.pop();
151
+ _.trys.pop();
152
+ continue;
153
+ default:
154
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
155
+ _ = 0;
156
+ continue;
157
+ }
158
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
159
+ _.label = op[1];
160
+ break;
161
+ }
162
+ if (op[0] === 6 && _.label < t[1]) {
163
+ _.label = t[1];
164
+ t = op;
165
+ break;
166
+ }
167
+ if (t && _.label < t[2]) {
168
+ _.label = t[2];
169
+ _.ops.push(op);
170
+ break;
171
+ }
172
+ if (t[2])
173
+ _.ops.pop();
174
+ _.trys.pop();
175
+ continue;
176
+ }
177
+ op = body.call(thisArg, _);
178
+ }
179
+ catch (e) {
180
+ op = [6, e];
181
+ y = 0;
182
+ }
183
+ finally {
184
+ f = t = 0;
185
+ }
186
+ if (op[0] & 5)
187
+ throw op[1];
188
+ return { value: op[0] ? op[1] : void 0, done: true };
189
+ }
190
+ }
191
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
192
+ if (k2 === undefined)
193
+ k2 = k;
194
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
195
+ }) : (function (o, m, k, k2) {
196
+ if (k2 === undefined)
197
+ k2 = k;
198
+ o[k2] = m[k];
199
+ });
200
+ function __exportStar(m, o) {
201
+ for (var p in m)
202
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
203
+ __createBinding(o, m, p);
204
+ }
205
+ function __values(o) {
206
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
207
+ if (m)
208
+ return m.call(o);
209
+ if (o && typeof o.length === "number")
210
+ return {
211
+ next: function () {
212
+ if (o && i >= o.length)
213
+ o = void 0;
214
+ return { value: o && o[i++], done: !o };
215
+ }
216
+ };
217
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
218
+ }
219
+ function __read(o, n) {
220
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
221
+ if (!m)
222
+ return o;
223
+ var i = m.call(o), r, ar = [], e;
224
+ try {
225
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
226
+ ar.push(r.value);
227
+ }
228
+ catch (error) {
229
+ e = { error: error };
230
+ }
231
+ finally {
232
+ try {
233
+ if (r && !r.done && (m = i["return"]))
234
+ m.call(i);
235
+ }
236
+ finally {
237
+ if (e)
238
+ throw e.error;
239
+ }
240
+ }
241
+ return ar;
242
+ }
243
+ /** @deprecated */
244
+ function __spread() {
245
+ for (var ar = [], i = 0; i < arguments.length; i++)
246
+ ar = ar.concat(__read(arguments[i]));
247
+ return ar;
248
+ }
249
+ /** @deprecated */
250
+ function __spreadArrays() {
251
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
252
+ s += arguments[i].length;
253
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
254
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
255
+ r[k] = a[j];
256
+ return r;
257
+ }
258
+ function __spreadArray(to, from) {
259
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
260
+ to[j] = from[i];
261
+ return to;
262
+ }
263
+ function __await(v) {
264
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
265
+ }
266
+ function __asyncGenerator(thisArg, _arguments, generator) {
267
+ if (!Symbol.asyncIterator)
268
+ throw new TypeError("Symbol.asyncIterator is not defined.");
269
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
270
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
271
+ function verb(n) { if (g[n])
272
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
273
+ function resume(n, v) { try {
274
+ step(g[n](v));
275
+ }
276
+ catch (e) {
277
+ settle(q[0][3], e);
278
+ } }
279
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
280
+ function fulfill(value) { resume("next", value); }
281
+ function reject(value) { resume("throw", value); }
282
+ function settle(f, v) { if (f(v), q.shift(), q.length)
283
+ resume(q[0][0], q[0][1]); }
284
+ }
285
+ function __asyncDelegator(o) {
286
+ var i, p;
287
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
288
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
289
+ }
290
+ function __asyncValues(o) {
291
+ if (!Symbol.asyncIterator)
292
+ throw new TypeError("Symbol.asyncIterator is not defined.");
293
+ var m = o[Symbol.asyncIterator], i;
294
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
295
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
296
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
297
+ }
298
+ function __makeTemplateObject(cooked, raw) {
299
+ if (Object.defineProperty) {
300
+ Object.defineProperty(cooked, "raw", { value: raw });
301
+ }
302
+ else {
303
+ cooked.raw = raw;
304
+ }
305
+ return cooked;
306
+ }
307
+ ;
308
+ var __setModuleDefault = Object.create ? (function (o, v) {
309
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
310
+ }) : function (o, v) {
311
+ o["default"] = v;
312
+ };
313
+ function __importStar(mod) {
314
+ if (mod && mod.__esModule)
315
+ return mod;
316
+ var result = {};
317
+ if (mod != null)
318
+ for (var k in mod)
319
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
320
+ __createBinding(result, mod, k);
321
+ __setModuleDefault(result, mod);
322
+ return result;
323
+ }
324
+ function __importDefault(mod) {
325
+ return (mod && mod.__esModule) ? mod : { default: mod };
326
+ }
327
+ function __classPrivateFieldGet(receiver, state, kind, f) {
328
+ if (kind === "a" && !f)
329
+ throw new TypeError("Private accessor was defined without a getter");
330
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
331
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
332
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
333
+ }
334
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
335
+ if (kind === "m")
336
+ throw new TypeError("Private method is not writable");
337
+ if (kind === "a" && !f)
338
+ throw new TypeError("Private accessor was defined without a setter");
339
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
340
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
341
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
342
342
  }
343
343
 
344
- var PepRemoteLoaderService = /** @class */ (function () {
345
- function PepRemoteLoaderService(httpService, sessionService, addonService, route) {
346
- this.httpService = httpService;
347
- this.sessionService = sessionService;
348
- this.addonService = addonService;
349
- this.route = route;
350
- //
351
- }
352
- PepRemoteLoaderService.prototype.getRemoteLoaderOptions = function (blockLoaderData, remoteEntry) {
353
- if (remoteEntry === void 0) { remoteEntry = ''; }
354
- return {
355
- addonId: blockLoaderData.relation.AddonUUID,
356
- remoteEntry: remoteEntry.length > 0 ? remoteEntry : "" + blockLoaderData.addonPublicBaseURL + blockLoaderData.relation.AddonRelativeURL + ".js",
357
- remoteName: blockLoaderData.relation.AddonRelativeURL,
358
- exposedModule: "./" + blockLoaderData.relation.ModuleName,
359
- componentName: blockLoaderData.relation.ComponentName,
360
- };
361
- };
362
- PepRemoteLoaderService.prototype.getAddonBaseUrl = function (addonUUID, fileName) {
363
- if (fileName === void 0) { fileName = 'api'; }
364
- // For devServer run server on localhost.
365
- var devServer = this.route.snapshot.queryParamMap.get('devServer') === 'true';
366
- if (devServer) {
367
- return "http://localhost:4500/" + fileName;
368
- }
369
- else {
370
- var baseUrl = this.sessionService.getPapiBaseUrl();
371
- return baseUrl + "/addons/api/" + addonUUID + "/" + fileName;
372
- }
373
- };
374
- PepRemoteLoaderService.prototype.getBlockRemoteLoaderOptions = function (name, blockType, remoteEntry) {
375
- if (blockType === void 0) { blockType = 'AddonBlock'; }
376
- if (remoteEntry === void 0) { remoteEntry = ''; }
377
- return __awaiter(this, void 0, void 0, function () {
378
- var _this = this;
379
- return __generator(this, function (_a) {
380
- return [2 /*return*/, new Promise(function (resolve, reject) {
381
- var pagesAddonUuid = _this.addonService.getPagesAddonUUID();
382
- var pagesBaseUrl = _this.getAddonBaseUrl(pagesAddonUuid, 'addon_blocks');
383
- var url = pagesBaseUrl + "/get_addon_block_loader_data?name=" + name + "&blockType=" + blockType;
384
- _this.httpService.getHttpCall(url).toPromise().then(function (data) {
385
- if (data) {
386
- resolve(_this.getRemoteLoaderOptions(data, remoteEntry));
387
- }
388
- else {
389
- reject("Addon block with name - " + name + " is not found for type - " + blockType);
390
- }
391
- });
392
- })];
393
- });
394
- });
395
- };
396
- return PepRemoteLoaderService;
397
- }());
398
- PepRemoteLoaderService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PepRemoteLoaderService_Factory() { return new PepRemoteLoaderService(i0__namespace.ɵɵinject(i1__namespace.PepHttpService), i0__namespace.ɵɵinject(i1__namespace.PepSessionService), i0__namespace.ɵɵinject(i1__namespace.PepAddonService), i0__namespace.ɵɵinject(i2__namespace.ActivatedRoute)); }, token: PepRemoteLoaderService, providedIn: "root" });
399
- PepRemoteLoaderService.decorators = [
400
- { type: i0.Injectable, args: [{
401
- providedIn: 'root'
402
- },] }
403
- ];
404
- PepRemoteLoaderService.ctorParameters = function () { return [
405
- { type: i1.PepHttpService },
406
- { type: i1.PepSessionService },
407
- { type: i1.PepAddonService },
408
- { type: i2.ActivatedRoute }
344
+ var PepRemoteLoaderService = /** @class */ (function () {
345
+ function PepRemoteLoaderService(httpService, sessionService, addonService, route) {
346
+ this.httpService = httpService;
347
+ this.sessionService = sessionService;
348
+ this.addonService = addonService;
349
+ this.route = route;
350
+ //
351
+ }
352
+ PepRemoteLoaderService.prototype.getRemoteLoaderOptions = function (blockLoaderData, remoteEntry) {
353
+ if (remoteEntry === void 0) { remoteEntry = ''; }
354
+ return {
355
+ addonId: blockLoaderData.relation.AddonUUID,
356
+ remoteEntry: remoteEntry.length > 0 ? remoteEntry : "" + blockLoaderData.addonPublicBaseURL + blockLoaderData.relation.AddonRelativeURL + ".js",
357
+ remoteName: blockLoaderData.relation.AddonRelativeURL,
358
+ exposedModule: "./" + blockLoaderData.relation.ModuleName,
359
+ componentName: blockLoaderData.relation.ComponentName,
360
+ };
361
+ };
362
+ PepRemoteLoaderService.prototype.getAddonBaseUrl = function (addonUUID, fileName) {
363
+ if (fileName === void 0) { fileName = 'api'; }
364
+ // For devServer run server on localhost.
365
+ var devServer = this.route.snapshot.queryParamMap.get('devServer') === 'true';
366
+ if (devServer) {
367
+ return "http://localhost:4500/" + fileName;
368
+ }
369
+ else {
370
+ var baseUrl = this.sessionService.getPapiBaseUrl();
371
+ return baseUrl + "/addons/api/" + addonUUID + "/" + fileName;
372
+ }
373
+ };
374
+ PepRemoteLoaderService.prototype.getBlockRemoteLoaderOptions = function (name, blockType, remoteEntry) {
375
+ if (blockType === void 0) { blockType = 'AddonBlock'; }
376
+ if (remoteEntry === void 0) { remoteEntry = ''; }
377
+ return __awaiter(this, void 0, void 0, function () {
378
+ var _this = this;
379
+ return __generator(this, function (_a) {
380
+ return [2 /*return*/, new Promise(function (resolve, reject) {
381
+ var pagesAddonUuid = _this.addonService.getPagesAddonUUID();
382
+ var pagesBaseUrl = _this.getAddonBaseUrl(pagesAddonUuid, 'addon_blocks');
383
+ var url = pagesBaseUrl + "/get_addon_block_loader_data?name=" + name + "&blockType=" + blockType;
384
+ _this.httpService.getHttpCall(url).toPromise().then(function (data) {
385
+ if (data) {
386
+ resolve(_this.getRemoteLoaderOptions(data, remoteEntry));
387
+ }
388
+ else {
389
+ reject("Addon block with name - " + name + " is not found for type - " + blockType);
390
+ }
391
+ });
392
+ })];
393
+ });
394
+ });
395
+ };
396
+ return PepRemoteLoaderService;
397
+ }());
398
+ PepRemoteLoaderService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PepRemoteLoaderService_Factory() { return new PepRemoteLoaderService(i0__namespace.ɵɵinject(i1__namespace.PepHttpService), i0__namespace.ɵɵinject(i1__namespace.PepSessionService), i0__namespace.ɵɵinject(i1__namespace.PepAddonService), i0__namespace.ɵɵinject(i2__namespace.ActivatedRoute)); }, token: PepRemoteLoaderService, providedIn: "root" });
399
+ PepRemoteLoaderService.decorators = [
400
+ { type: i0.Injectable, args: [{
401
+ providedIn: 'root'
402
+ },] }
403
+ ];
404
+ PepRemoteLoaderService.ctorParameters = function () { return [
405
+ { type: i1.PepHttpService },
406
+ { type: i1.PepSessionService },
407
+ { type: i1.PepAddonService },
408
+ { type: i2.ActivatedRoute }
409
409
  ]; };
410
410
 
411
- var PepAddonBlockLoaderComponent = /** @class */ (function () {
412
- function PepAddonBlockLoaderComponent(remoteLoaderService) {
413
- this.remoteLoaderService = remoteLoaderService;
414
- this.remoteEntry = '';
415
- this._blockType = 'AddonBlock';
416
- this._name = '';
417
- this.hostObject = null;
418
- this._dialogRef = null;
419
- this.hostEvents = new i0.EventEmitter();
420
- this.blockLoad = new i0.EventEmitter();
421
- this.inDialog = false;
422
- this.remotePathOptions = null;
423
- //
424
- }
425
- Object.defineProperty(PepAddonBlockLoaderComponent.prototype, "blockType", {
426
- get: function () {
427
- return this._blockType;
428
- },
429
- set: function (value) {
430
- this._blockType = value;
431
- },
432
- enumerable: false,
433
- configurable: true
434
- });
435
- Object.defineProperty(PepAddonBlockLoaderComponent.prototype, "name", {
436
- get: function () {
437
- return this._name;
438
- },
439
- set: function (value) {
440
- this._name = value;
441
- },
442
- enumerable: false,
443
- configurable: true
444
- });
445
- Object.defineProperty(PepAddonBlockLoaderComponent.prototype, "dialogRef", {
446
- get: function () {
447
- return this._dialogRef;
448
- },
449
- set: function (value) {
450
- this._dialogRef = value;
451
- this.inDialog = this._dialogRef != null;
452
- },
453
- enumerable: false,
454
- configurable: true
455
- });
456
- PepAddonBlockLoaderComponent.prototype.ngOnInit = function () {
457
- var _this = this;
458
- this.remoteLoaderService.getBlockRemoteLoaderOptions(this.name, this.blockType, this.remoteEntry).then(function (options) {
459
- _this.remotePathOptions = options;
460
- });
461
- };
462
- PepAddonBlockLoaderComponent.prototype.ngOnDestroy = function () {
463
- if (this.dialogRef) {
464
- this.dialogRef = null;
465
- }
466
- this.remotePathOptions = null;
467
- };
468
- PepAddonBlockLoaderComponent.prototype.onBlockLoad = function () {
469
- this.blockLoad.emit();
470
- };
471
- PepAddonBlockLoaderComponent.prototype.onHostEvents = function (event) {
472
- this.hostEvents.emit(event);
473
- };
474
- PepAddonBlockLoaderComponent.prototype.closeDialog = function (event) {
475
- var _a;
476
- (_a = this.dialogRef) === null || _a === void 0 ? void 0 : _a.close(event);
477
- };
478
- return PepAddonBlockLoaderComponent;
479
- }());
480
- PepAddonBlockLoaderComponent.decorators = [
481
- { type: i0.Component, args: [{
482
- selector: 'pep-addon-block-loader',
483
- template: "<ng-container *ngIf=\"!inDialog\">\n <ng-container *ngTemplateOutlet=\"remoteLoaderTemplate\"></ng-container>\n</ng-container>\n\n<ng-template #dialogTemplate let-data>\n <pep-dialog [showClose]=\"data?.showClose\" [showHeader]=\"data?.showHeader\" [showFooter]=\"data?.showFooter\" [title]=\"data?.title\" (close)=\"closeDialog($event)\">\n <ng-container pep-dialog-content>\n <ng-container *ngTemplateOutlet=\"remoteLoaderTemplate\"></ng-container>\n </ng-container>\n </pep-dialog>\n</ng-template>\n\n<ng-template #remoteLoaderTemplate>\n <pep-remote-loader *ngIf=\"remotePathOptions\"\n [options]=\"remotePathOptions\"\n [hostObject]=\"hostObject\"\n (hostEvents)=\"onHostEvents($event);\"\n (load)=\"onBlockLoad()\">\n </pep-remote-loader>\n</ng-template>",
484
- styles: [""]
485
- },] }
486
- ];
487
- PepAddonBlockLoaderComponent.ctorParameters = function () { return [
488
- { type: PepRemoteLoaderService }
489
- ]; };
490
- PepAddonBlockLoaderComponent.propDecorators = {
491
- dialogTemplate: [{ type: i0.ViewChild, args: ['dialogTemplate', { static: true, read: i0.TemplateRef },] }],
492
- remoteEntry: [{ type: i0.Input }],
493
- blockType: [{ type: i0.Input }],
494
- name: [{ type: i0.Input }],
495
- hostObject: [{ type: i0.Input }],
496
- dialogRef: [{ type: i0.Input }],
497
- hostEvents: [{ type: i0.Output }],
498
- blockLoad: [{ type: i0.Output }]
411
+ var PepAddonBlockLoaderComponent = /** @class */ (function () {
412
+ function PepAddonBlockLoaderComponent(remoteLoaderService) {
413
+ this.remoteLoaderService = remoteLoaderService;
414
+ this.remoteEntry = '';
415
+ this._blockType = 'AddonBlock';
416
+ this._name = '';
417
+ this.hostObject = null;
418
+ this._dialogRef = null;
419
+ this.hostEvents = new i0.EventEmitter();
420
+ this.blockLoad = new i0.EventEmitter();
421
+ this.inDialog = false;
422
+ this.remotePathOptions = null;
423
+ //
424
+ }
425
+ Object.defineProperty(PepAddonBlockLoaderComponent.prototype, "blockType", {
426
+ get: function () {
427
+ return this._blockType;
428
+ },
429
+ set: function (value) {
430
+ this._blockType = value;
431
+ },
432
+ enumerable: false,
433
+ configurable: true
434
+ });
435
+ Object.defineProperty(PepAddonBlockLoaderComponent.prototype, "name", {
436
+ get: function () {
437
+ return this._name;
438
+ },
439
+ set: function (value) {
440
+ this._name = value;
441
+ },
442
+ enumerable: false,
443
+ configurable: true
444
+ });
445
+ Object.defineProperty(PepAddonBlockLoaderComponent.prototype, "dialogRef", {
446
+ get: function () {
447
+ return this._dialogRef;
448
+ },
449
+ set: function (value) {
450
+ this._dialogRef = value;
451
+ this.inDialog = this._dialogRef != null;
452
+ },
453
+ enumerable: false,
454
+ configurable: true
455
+ });
456
+ PepAddonBlockLoaderComponent.prototype.ngOnInit = function () {
457
+ var _this = this;
458
+ this.remoteLoaderService.getBlockRemoteLoaderOptions(this.name, this.blockType, this.remoteEntry).then(function (options) {
459
+ _this.remotePathOptions = options;
460
+ });
461
+ };
462
+ PepAddonBlockLoaderComponent.prototype.ngOnDestroy = function () {
463
+ if (this.dialogRef) {
464
+ this.dialogRef = null;
465
+ }
466
+ this.remotePathOptions = null;
467
+ };
468
+ PepAddonBlockLoaderComponent.prototype.onBlockLoad = function () {
469
+ this.blockLoad.emit();
470
+ };
471
+ PepAddonBlockLoaderComponent.prototype.onHostEvents = function (event) {
472
+ this.hostEvents.emit(event);
473
+ };
474
+ PepAddonBlockLoaderComponent.prototype.closeDialog = function (event) {
475
+ var _a;
476
+ (_a = this.dialogRef) === null || _a === void 0 ? void 0 : _a.close(event);
477
+ };
478
+ return PepAddonBlockLoaderComponent;
479
+ }());
480
+ PepAddonBlockLoaderComponent.decorators = [
481
+ { type: i0.Component, args: [{
482
+ selector: 'pep-addon-block-loader',
483
+ template: "<ng-container *ngIf=\"!inDialog\">\n <ng-container *ngTemplateOutlet=\"remoteLoaderTemplate\"></ng-container>\n</ng-container>\n\n<ng-template #dialogTemplate let-data>\n <pep-dialog [showClose]=\"data?.showClose\" [showHeader]=\"data?.showHeader\" [showFooter]=\"data?.showFooter\" [title]=\"data?.title\" (close)=\"closeDialog($event)\">\n <ng-container pep-dialog-content>\n <ng-container *ngTemplateOutlet=\"remoteLoaderTemplate\"></ng-container>\n </ng-container>\n </pep-dialog>\n</ng-template>\n\n<ng-template #remoteLoaderTemplate>\n <pep-remote-loader *ngIf=\"remotePathOptions\"\n [options]=\"remotePathOptions\"\n [hostObject]=\"hostObject\"\n (hostEvents)=\"onHostEvents($event);\"\n (load)=\"onBlockLoad()\">\n </pep-remote-loader>\n</ng-template>",
484
+ styles: [""]
485
+ },] }
486
+ ];
487
+ PepAddonBlockLoaderComponent.ctorParameters = function () { return [
488
+ { type: PepRemoteLoaderService }
489
+ ]; };
490
+ PepAddonBlockLoaderComponent.propDecorators = {
491
+ dialogTemplate: [{ type: i0.ViewChild, args: ['dialogTemplate', { static: true, read: i0.TemplateRef },] }],
492
+ remoteEntry: [{ type: i0.Input }],
493
+ blockType: [{ type: i0.Input }],
494
+ name: [{ type: i0.Input }],
495
+ hostObject: [{ type: i0.Input }],
496
+ dialogRef: [{ type: i0.Input }],
497
+ hostEvents: [{ type: i0.Output }],
498
+ blockLoad: [{ type: i0.Output }]
499
499
  };
500
500
 
501
- var PepAddonBlockLoaderService = /** @class */ (function () {
502
- function PepAddonBlockLoaderService(resolver, dialogService) {
503
- this.resolver = resolver;
504
- this.dialogService = dialogService;
505
- //
506
- }
507
- PepAddonBlockLoaderService.prototype.loadAddonBlockInternal = function (options) {
508
- if (options.container !== null) {
509
- var factory = this.resolver.resolveComponentFactory(PepAddonBlockLoaderComponent);
510
- var componentRef = options.container.createComponent(factory);
511
- var addonBlockInstance = componentRef.instance;
512
- addonBlockInstance.blockType = options.blockType || 'AddonBlock';
513
- addonBlockInstance.name = options.name;
514
- addonBlockInstance.hostObject = options.hostObject;
515
- addonBlockInstance.hostEvents.subscribe(function (event) {
516
- if (options.hostEventsCallback) {
517
- options.hostEventsCallback(event);
518
- }
519
- });
520
- return componentRef;
521
- }
522
- else {
523
- return null;
524
- }
525
- };
526
- PepAddonBlockLoaderService.prototype.loadAddonBlockInContainer = function (options) {
527
- return this.loadAddonBlockInternal(options);
528
- };
529
- PepAddonBlockLoaderService.prototype.loadAddonBlockInDialog = function (options) {
530
- var componentRef = this.loadAddonBlockInternal(options);
531
- if (componentRef) {
532
- var addonBlockInstance = componentRef.instance;
533
- var pepConfig = this.dialogService.getDialogConfig({ disableClose: false, panelClass: 'remote-loader-dialog' }, options.size || 'full-screen');
534
- var mergeConfig = Object.assign(Object.assign({}, options.config), pepConfig);
535
- var data = options.data || null;
536
- addonBlockInstance.dialogRef = this.dialogService.openDialog(addonBlockInstance.dialogTemplate, data, mergeConfig);
537
- addonBlockInstance.dialogRef.afterClosed().subscribe(function () {
538
- componentRef.hostView.detach();
539
- componentRef.hostView.destroy();
540
- componentRef.destroy();
541
- });
542
- return addonBlockInstance.dialogRef;
543
- }
544
- else {
545
- return null;
546
- }
547
- };
548
- return PepAddonBlockLoaderService;
549
- }());
550
- PepAddonBlockLoaderService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PepAddonBlockLoaderService_Factory() { return new PepAddonBlockLoaderService(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i1__namespace$1.PepDialogService)); }, token: PepAddonBlockLoaderService, providedIn: "root" });
551
- PepAddonBlockLoaderService.decorators = [
552
- { type: i0.Injectable, args: [{
553
- providedIn: 'root'
554
- },] }
555
- ];
556
- PepAddonBlockLoaderService.ctorParameters = function () { return [
557
- { type: i0.ComponentFactoryResolver },
558
- { type: i1$1.PepDialogService }
501
+ var PepAddonBlockLoaderService = /** @class */ (function () {
502
+ function PepAddonBlockLoaderService(resolver, dialogService) {
503
+ this.resolver = resolver;
504
+ this.dialogService = dialogService;
505
+ //
506
+ }
507
+ PepAddonBlockLoaderService.prototype.loadAddonBlockInternal = function (options) {
508
+ if (options.container !== null) {
509
+ var factory = this.resolver.resolveComponentFactory(PepAddonBlockLoaderComponent);
510
+ var componentRef = options.container.createComponent(factory);
511
+ var addonBlockInstance = componentRef.instance;
512
+ addonBlockInstance.blockType = options.blockType || 'AddonBlock';
513
+ addonBlockInstance.name = options.name;
514
+ addonBlockInstance.hostObject = options.hostObject;
515
+ addonBlockInstance.hostEvents.subscribe(function (event) {
516
+ if (options.hostEventsCallback) {
517
+ options.hostEventsCallback(event);
518
+ }
519
+ });
520
+ return componentRef;
521
+ }
522
+ else {
523
+ return null;
524
+ }
525
+ };
526
+ PepAddonBlockLoaderService.prototype.loadAddonBlockInContainer = function (options) {
527
+ return this.loadAddonBlockInternal(options);
528
+ };
529
+ PepAddonBlockLoaderService.prototype.loadAddonBlockInDialog = function (options) {
530
+ var componentRef = this.loadAddonBlockInternal(options);
531
+ if (componentRef) {
532
+ var addonBlockInstance = componentRef.instance;
533
+ var pepConfig = this.dialogService.getDialogConfig({ disableClose: false, panelClass: 'remote-loader-dialog' }, options.size || 'full-screen');
534
+ var mergeConfig = Object.assign(Object.assign({}, options.config), pepConfig);
535
+ var data = options.data || null;
536
+ addonBlockInstance.dialogRef = this.dialogService.openDialog(addonBlockInstance.dialogTemplate, data, mergeConfig);
537
+ addonBlockInstance.dialogRef.afterClosed().subscribe(function () {
538
+ componentRef.hostView.detach();
539
+ componentRef.hostView.destroy();
540
+ componentRef.destroy();
541
+ });
542
+ return addonBlockInstance.dialogRef;
543
+ }
544
+ else {
545
+ return null;
546
+ }
547
+ };
548
+ return PepAddonBlockLoaderService;
549
+ }());
550
+ PepAddonBlockLoaderService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PepAddonBlockLoaderService_Factory() { return new PepAddonBlockLoaderService(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i1__namespace$1.PepDialogService)); }, token: PepAddonBlockLoaderService, providedIn: "root" });
551
+ PepAddonBlockLoaderService.decorators = [
552
+ { type: i0.Injectable, args: [{
553
+ providedIn: 'root'
554
+ },] }
555
+ ];
556
+ PepAddonBlockLoaderService.ctorParameters = function () { return [
557
+ { type: i0.ComponentFactoryResolver },
558
+ { type: i1$1.PepDialogService }
559
559
  ]; };
560
560
 
561
- var PepRemoteLoaderComponent = /** @class */ (function () {
562
- function PepRemoteLoaderComponent(injector, cfr, compiler, pepAddonService) {
563
- this.injector = injector;
564
- this.cfr = cfr;
565
- this.compiler = compiler;
566
- this.pepAddonService = pepAddonService;
567
- this._options = null;
568
- // This is the data passed by the API Design documentation.
569
- this._hostObject = null;
570
- this.hostEvents = new i0.EventEmitter();
571
- this.load = new i0.EventEmitter();
572
- }
573
- Object.defineProperty(PepRemoteLoaderComponent.prototype, "options", {
574
- get: function () {
575
- return this._options;
576
- },
577
- set: function (value) {
578
- this._options = value;
579
- if (value) {
580
- this.loadModule();
581
- }
582
- },
583
- enumerable: false,
584
- configurable: true
585
- });
586
- Object.defineProperty(PepRemoteLoaderComponent.prototype, "hostObject", {
587
- get: function () {
588
- return this._hostObject;
589
- },
590
- set: function (value) {
591
- this._hostObject = value;
592
- this.setHostComponentIntoComponentRef();
593
- },
594
- enumerable: false,
595
- configurable: true
596
- });
597
- PepRemoteLoaderComponent.prototype.setHostComponentIntoComponentRef = function () {
598
- var _a, _b, _c;
599
- if (this.hostObject && ((_a = this.compRef) === null || _a === void 0 ? void 0 : _a.instance)) {
600
- this.compRef.instance.hostObject = this.hostObject;
601
- // TODO: Check if this is needed?? if not remove this.
602
- if ((_c = (_b = this.compRef) === null || _b === void 0 ? void 0 : _b.instance) === null || _c === void 0 ? void 0 : _c.ngOnChanges) {
603
- this.compRef.instance.ngOnChanges(this.hostObject);
604
- }
605
- }
606
- };
607
- PepRemoteLoaderComponent.prototype.ngOnChanges = function (changes) {
608
- return __awaiter(this, void 0, void 0, function () {
609
- return __generator(this, function (_g) {
610
- return [2 /*return*/];
611
- });
612
- });
613
- };
614
- PepRemoteLoaderComponent.prototype.loadModule = function () {
615
- var _a, _b, _c, _d, _e, _f;
616
- return __awaiter(this, void 0, void 0, function () {
617
- var t0, component, componentFactory, publicPathArr, publicPath, module, moduleFactory, moduleRef, componentFactory, t1;
618
- var _this = this;
619
- return __generator(this, function (_g) {
620
- switch (_g.label) {
621
- case 0:
622
- t0 = performance.now();
623
- if (!!((_a = this.options) === null || _a === void 0 ? void 0 : _a.update)) return [3 /*break*/, 5];
624
- (_b = this.viewContainer) === null || _b === void 0 ? void 0 : _b.clear();
625
- if (!((_c = this.options) === null || _c === void 0 ? void 0 : _c.noModule)) return [3 /*break*/, 2];
626
- return [4 /*yield*/, moduleFederation.loadRemoteModule(this.options).then(function (m) { return m[_this.options.componentName]; })];
627
- case 1:
628
- component = _g.sent();
629
- componentFactory = this.cfr.resolveComponentFactory(component);
630
- this.compRef = this.viewContainer.createComponent(componentFactory, null, this.injector);
631
- return [3 /*break*/, 4];
632
- case 2:
633
- publicPathArr = this.options.remoteEntry.split('/');
634
- publicPath = publicPathArr.slice(0, publicPathArr.length - 1).join('/') + '/';
635
- __webpack_public_path__ = publicPath;
636
- this.pepAddonService.setAddonStaticFolder(publicPath, this.options.addonId);
637
- return [4 /*yield*/, moduleFederation.loadRemoteModule(this.options).then(function (m) { return m; })];
638
- case 3:
639
- module = _g.sent();
640
- moduleFactory = this.compiler.compileModuleSync(module[this.options.exposedModule.replace('./', '')]);
641
- moduleRef = moduleFactory.create(this.injector);
642
- componentFactory = (_d = moduleRef === null || moduleRef === void 0 ? void 0 : moduleRef.componentFactoryResolver) === null || _d === void 0 ? void 0 : _d.resolveComponentFactory(module[this.options.componentName]);
643
- this.compRef = this.viewContainer.createComponent(componentFactory, null, this.injector, null, moduleRef);
644
- t1 = performance.now();
645
- console.log('remote module load performance: ' + (t1 - t0) / 1000);
646
- _g.label = 4;
647
- case 4:
648
- this.load.emit();
649
- _g.label = 5;
650
- case 5:
651
- if (this.compRef) {
652
- this.setHostComponentIntoComponentRef();
653
- (_f = (_e = this.compRef) === null || _e === void 0 ? void 0 : _e.instance['hostEvents']) === null || _f === void 0 ? void 0 : _f.subscribe(function (e) {
654
- // switch(e.action){
655
- // case 'addon-loaded':
656
- // this.showSpinner = false;
657
- // }
658
- _this.hostEvents.emit(e);
659
- });
660
- }
661
- return [2 /*return*/];
662
- }
663
- });
664
- });
665
- };
666
- PepRemoteLoaderComponent.prototype.ngOnDestroy = function () {
667
- var _a;
668
- (_a = this.viewContainer) === null || _a === void 0 ? void 0 : _a.clear();
669
- };
670
- return PepRemoteLoaderComponent;
671
- }());
672
- PepRemoteLoaderComponent.decorators = [
673
- { type: i0.Component, args: [{
674
- selector: 'pep-remote-loader',
675
- template: "\n <!-- <mat-spinner *ngIf=\"showSpinner; else placeHolder\"></mat-spinner> -->\n <ng-template #placeHolder></ng-template>\n "
676
- },] }
677
- ];
678
- PepRemoteLoaderComponent.ctorParameters = function () { return [
679
- { type: i0.Injector },
680
- { type: i0.ComponentFactoryResolver },
681
- { type: i0.Compiler },
682
- { type: i1.PepAddonService }
683
- ]; };
684
- PepRemoteLoaderComponent.propDecorators = {
685
- viewContainer: [{ type: i0.ViewChild, args: ['placeHolder', { read: i0.ViewContainerRef, static: true },] }],
686
- options: [{ type: i0.Input }],
687
- hostObject: [{ type: i0.Input }],
688
- hostEvents: [{ type: i0.Output }],
689
- load: [{ type: i0.Output }]
561
+ var PepRemoteLoaderComponent = /** @class */ (function () {
562
+ function PepRemoteLoaderComponent(injector, cfr, compiler, pepAddonService) {
563
+ this.injector = injector;
564
+ this.cfr = cfr;
565
+ this.compiler = compiler;
566
+ this.pepAddonService = pepAddonService;
567
+ this._options = null;
568
+ // This is the data passed by the API Design documentation.
569
+ this._hostObject = null;
570
+ this.hostEvents = new i0.EventEmitter();
571
+ this.load = new i0.EventEmitter();
572
+ }
573
+ Object.defineProperty(PepRemoteLoaderComponent.prototype, "options", {
574
+ get: function () {
575
+ return this._options;
576
+ },
577
+ set: function (value) {
578
+ this._options = value;
579
+ if (value) {
580
+ this.loadModule();
581
+ }
582
+ },
583
+ enumerable: false,
584
+ configurable: true
585
+ });
586
+ Object.defineProperty(PepRemoteLoaderComponent.prototype, "hostObject", {
587
+ get: function () {
588
+ return this._hostObject;
589
+ },
590
+ set: function (value) {
591
+ this._hostObject = value;
592
+ this.setHostComponentIntoComponentRef();
593
+ },
594
+ enumerable: false,
595
+ configurable: true
596
+ });
597
+ PepRemoteLoaderComponent.prototype.setHostComponentIntoComponentRef = function () {
598
+ var _a, _b, _c;
599
+ if (this.hostObject && ((_a = this.compRef) === null || _a === void 0 ? void 0 : _a.instance)) {
600
+ this.compRef.instance.hostObject = this.hostObject;
601
+ // TODO: Check if this is needed?? if not remove this.
602
+ if ((_c = (_b = this.compRef) === null || _b === void 0 ? void 0 : _b.instance) === null || _c === void 0 ? void 0 : _c.ngOnChanges) {
603
+ this.compRef.instance.ngOnChanges(this.hostObject);
604
+ }
605
+ }
606
+ };
607
+ PepRemoteLoaderComponent.prototype.ngOnChanges = function (changes) {
608
+ return __awaiter(this, void 0, void 0, function () {
609
+ return __generator(this, function (_g) {
610
+ return [2 /*return*/];
611
+ });
612
+ });
613
+ };
614
+ PepRemoteLoaderComponent.prototype.loadModule = function () {
615
+ var _a, _b, _c, _d, _e, _f;
616
+ return __awaiter(this, void 0, void 0, function () {
617
+ var t0, component, componentFactory, publicPathArr, publicPath, module, moduleFactory, moduleRef, componentFactory, t1;
618
+ var _this = this;
619
+ return __generator(this, function (_g) {
620
+ switch (_g.label) {
621
+ case 0:
622
+ t0 = performance.now();
623
+ if (!!((_a = this.options) === null || _a === void 0 ? void 0 : _a.update)) return [3 /*break*/, 5];
624
+ (_b = this.viewContainer) === null || _b === void 0 ? void 0 : _b.clear();
625
+ if (!((_c = this.options) === null || _c === void 0 ? void 0 : _c.noModule)) return [3 /*break*/, 2];
626
+ return [4 /*yield*/, moduleFederation.loadRemoteModule(this.options).then(function (m) { return m[_this.options.componentName]; })];
627
+ case 1:
628
+ component = _g.sent();
629
+ componentFactory = this.cfr.resolveComponentFactory(component);
630
+ this.compRef = this.viewContainer.createComponent(componentFactory, null, this.injector);
631
+ return [3 /*break*/, 4];
632
+ case 2:
633
+ publicPathArr = this.options.remoteEntry.split('/');
634
+ publicPath = publicPathArr.slice(0, publicPathArr.length - 1).join('/') + '/';
635
+ __webpack_public_path__ = publicPath;
636
+ this.pepAddonService.setAddonStaticFolder(publicPath, this.options.addonId);
637
+ return [4 /*yield*/, moduleFederation.loadRemoteModule(this.options).then(function (m) { return m; })];
638
+ case 3:
639
+ module = _g.sent();
640
+ moduleFactory = this.compiler.compileModuleSync(module[this.options.exposedModule.replace('./', '')]);
641
+ moduleRef = moduleFactory.create(this.injector);
642
+ componentFactory = (_d = moduleRef === null || moduleRef === void 0 ? void 0 : moduleRef.componentFactoryResolver) === null || _d === void 0 ? void 0 : _d.resolveComponentFactory(module[this.options.componentName]);
643
+ this.compRef = this.viewContainer.createComponent(componentFactory, null, this.injector, null, moduleRef);
644
+ t1 = performance.now();
645
+ console.log('remote module load performance: ' + (t1 - t0) / 1000);
646
+ _g.label = 4;
647
+ case 4:
648
+ this.load.emit();
649
+ _g.label = 5;
650
+ case 5:
651
+ if (this.compRef) {
652
+ this.setHostComponentIntoComponentRef();
653
+ (_f = (_e = this.compRef) === null || _e === void 0 ? void 0 : _e.instance['hostEvents']) === null || _f === void 0 ? void 0 : _f.subscribe(function (e) {
654
+ // switch(e.action){
655
+ // case 'addon-loaded':
656
+ // this.showSpinner = false;
657
+ // }
658
+ _this.hostEvents.emit(e);
659
+ });
660
+ }
661
+ return [2 /*return*/];
662
+ }
663
+ });
664
+ });
665
+ };
666
+ PepRemoteLoaderComponent.prototype.ngOnDestroy = function () {
667
+ var _a;
668
+ (_a = this.viewContainer) === null || _a === void 0 ? void 0 : _a.clear();
669
+ };
670
+ return PepRemoteLoaderComponent;
671
+ }());
672
+ PepRemoteLoaderComponent.decorators = [
673
+ { type: i0.Component, args: [{
674
+ selector: 'pep-remote-loader',
675
+ template: "\n <!-- <mat-spinner *ngIf=\"showSpinner; else placeHolder\"></mat-spinner> -->\n <ng-template #placeHolder></ng-template>\n "
676
+ },] }
677
+ ];
678
+ PepRemoteLoaderComponent.ctorParameters = function () { return [
679
+ { type: i0.Injector },
680
+ { type: i0.ComponentFactoryResolver },
681
+ { type: i0.Compiler },
682
+ { type: i1.PepAddonService }
683
+ ]; };
684
+ PepRemoteLoaderComponent.propDecorators = {
685
+ viewContainer: [{ type: i0.ViewChild, args: ['placeHolder', { read: i0.ViewContainerRef, static: true },] }],
686
+ options: [{ type: i0.Input }],
687
+ hostObject: [{ type: i0.Input }],
688
+ hostEvents: [{ type: i0.Output }],
689
+ load: [{ type: i0.Output }]
690
690
  };
691
691
 
692
- var PepRemoteLoaderModule = /** @class */ (function () {
693
- function PepRemoteLoaderModule() {
694
- }
695
- return PepRemoteLoaderModule;
696
- }());
697
- PepRemoteLoaderModule.decorators = [
698
- { type: i0.NgModule, args: [{
699
- declarations: [
700
- PepAddonBlockLoaderComponent,
701
- PepRemoteLoaderComponent,
702
- ],
703
- imports: [
704
- common.CommonModule,
705
- http.HttpClientModule,
706
- // Material modules,
707
- dialog.MatDialogModule,
708
- // ngx-lib modules
709
- i1.PepNgxLibModule,
710
- i1$1.PepDialogModule,
711
- ],
712
- exports: [
713
- PepAddonBlockLoaderComponent,
714
- PepRemoteLoaderComponent,
715
- ],
716
- providers: [
717
- PepAddonBlockLoaderService,
718
- PepRemoteLoaderService
719
- ]
720
- },] }
692
+ var PepRemoteLoaderModule = /** @class */ (function () {
693
+ function PepRemoteLoaderModule() {
694
+ }
695
+ return PepRemoteLoaderModule;
696
+ }());
697
+ PepRemoteLoaderModule.decorators = [
698
+ { type: i0.NgModule, args: [{
699
+ declarations: [
700
+ PepAddonBlockLoaderComponent,
701
+ PepRemoteLoaderComponent,
702
+ ],
703
+ imports: [
704
+ common.CommonModule,
705
+ http.HttpClientModule,
706
+ // Material modules,
707
+ dialog.MatDialogModule,
708
+ // ngx-lib modules
709
+ i1.PepNgxLibModule,
710
+ i1$1.PepDialogModule,
711
+ ],
712
+ exports: [
713
+ PepAddonBlockLoaderComponent,
714
+ PepRemoteLoaderComponent,
715
+ ],
716
+ providers: [
717
+ PepAddonBlockLoaderService,
718
+ PepRemoteLoaderService
719
+ ]
720
+ },] }
721
721
  ];
722
722
 
723
- /*
724
- * Public API Surface of remote-loader
723
+ /*
724
+ * Public API Surface of remote-loader
725
725
  */
726
726
 
727
- /**
728
- * Generated bundle index. Do not edit.
727
+ /**
728
+ * Generated bundle index. Do not edit.
729
729
  */
730
730
 
731
731
  exports.PepAddonBlockLoaderComponent = PepAddonBlockLoaderComponent;