@wavemaker/app-ng-runtime 11.10.5-rc.6096 → 11.11.0-next.27920

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 (1167) hide show
  1. package/build-task/bundles/index.umd.js +94 -68
  2. package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +8 -8
  3. package/build-task/esm2022/containers/repeat-template.build.mjs +5 -5
  4. package/build-task/esm2022/containers/wizard/wizard-step/wizard-step.build.mjs +2 -2
  5. package/build-task/esm2022/containers/wizard/wizard.build.mjs +33 -4
  6. package/build-task/esm2022/data/form/form-field/form-field.build.mjs +10 -10
  7. package/build-task/esm2022/data/table/table-column/table-column.build.mjs +15 -11
  8. package/build-task/esm2022/page/page.build.mjs +2 -8
  9. package/build-task/esm2022/public_api.mjs +1 -1
  10. package/build-task/fesm2022/index.mjs +95 -69
  11. package/build-task/fesm2022/index.mjs.map +1 -1
  12. package/components/advanced/carousel/bundles/index.umd.js +8 -36
  13. package/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +1 -1
  14. package/components/advanced/carousel/carousel.directive.d.ts +1 -1
  15. package/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +3 -2
  16. package/components/advanced/carousel/esm2022/carousel.directive.mjs +3 -2
  17. package/components/advanced/carousel/esm2022/public_api.mjs +1 -2
  18. package/components/advanced/carousel/fesm2022/index.mjs +8 -36
  19. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  20. package/components/advanced/carousel/public_api.d.ts +0 -1
  21. package/components/advanced/custom/bundles/index.umd.js +8 -33
  22. package/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +1 -1
  23. package/components/advanced/custom/custom-widget.directive.d.ts +1 -1
  24. package/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +3 -2
  25. package/components/advanced/custom/esm2022/custom-widget.directive.mjs +3 -2
  26. package/components/advanced/custom/esm2022/public_api.mjs +1 -2
  27. package/components/advanced/custom/fesm2022/index.mjs +7 -32
  28. package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  29. package/components/advanced/custom/public_api.d.ts +0 -1
  30. package/components/advanced/login/bundles/index.umd.js +10 -34
  31. package/components/advanced/login/esm2022/login.component.mjs +7 -6
  32. package/components/advanced/login/esm2022/public_api.mjs +1 -2
  33. package/components/advanced/login/fesm2022/index.mjs +8 -32
  34. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  35. package/components/advanced/login/login.component.d.ts +1 -1
  36. package/components/advanced/login/public_api.d.ts +0 -1
  37. package/components/advanced/marquee/bundles/index.umd.js +6 -29
  38. package/components/advanced/marquee/esm2022/marquee.directive.mjs +3 -2
  39. package/components/advanced/marquee/esm2022/public_api.mjs +1 -2
  40. package/components/advanced/marquee/fesm2022/index.mjs +5 -28
  41. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  42. package/components/advanced/marquee/marquee.directive.d.ts +1 -1
  43. package/components/advanced/marquee/public_api.d.ts +0 -1
  44. package/components/base/bundles/index.umd.js +76 -274
  45. package/components/base/components.module.d.ts +13 -15
  46. package/components/base/directives/show-in-device.directive.d.ts +1 -1
  47. package/components/base/esm2022/components.module.mjs +7 -13
  48. package/components/base/esm2022/directives/show-in-device.directive.mjs +3 -2
  49. package/components/base/esm2022/pipes/custom-pipes.mjs +32 -16
  50. package/components/base/esm2022/pipes/image.pipe.mjs +3 -2
  51. package/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -2
  52. package/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -2
  53. package/components/base/esm2022/public_api.mjs +1 -2
  54. package/components/base/esm2022/utils/form-utils.mjs +2 -1
  55. package/components/base/esm2022/utils/live-utils.mjs +3 -7
  56. package/components/base/esm2022/widgets/common/base/base.component.mjs +3 -5
  57. package/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +3 -2
  58. package/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +3 -2
  59. package/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -2
  60. package/components/base/esm2022/widgets/common/container/container.directive.mjs +3 -2
  61. package/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +3 -3
  62. package/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +3 -2
  63. package/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +3 -2
  64. package/components/base/esm2022/widgets/common/message/message.component.mjs +5 -5
  65. package/components/base/esm2022/widgets/common/partial/partial.directive.mjs +3 -2
  66. package/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +5 -3
  67. package/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +3 -2
  68. package/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +3 -2
  69. package/components/base/fesm2022/index.mjs +76 -272
  70. package/components/base/fesm2022/index.mjs.map +1 -1
  71. package/components/base/pipes/custom-pipes.d.ts +16 -16
  72. package/components/base/pipes/image.pipe.d.ts +1 -1
  73. package/components/base/pipes/sanitize.pipe.d.ts +1 -1
  74. package/components/base/pipes/trust-as.pipe.d.ts +1 -1
  75. package/components/base/public_api.d.ts +0 -1
  76. package/components/base/widgets/common/base/custom-widget-container.directive.d.ts +1 -1
  77. package/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
  78. package/components/base/widgets/common/base/text-content.directive.d.ts +1 -1
  79. package/components/base/widgets/common/container/container.directive.d.ts +1 -1
  80. package/components/base/widgets/common/item-template/item-template.directive.d.ts +1 -1
  81. package/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +1 -1
  82. package/components/base/widgets/common/message/message.component.d.ts +1 -1
  83. package/components/base/widgets/common/partial/partial.directive.d.ts +1 -1
  84. package/components/base/widgets/common/partial-param/partial-param.directive.d.ts +2 -2
  85. package/components/base/widgets/common/redraw/redrawable.directive.d.ts +1 -1
  86. package/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +1 -1
  87. package/components/basic/default/anchor/anchor.component.d.ts +1 -1
  88. package/components/basic/default/audio/audio.component.d.ts +1 -1
  89. package/components/basic/default/bundles/index.umd.js +100 -148
  90. package/components/basic/default/esm2022/anchor/anchor.component.mjs +23 -21
  91. package/components/basic/default/esm2022/audio/audio.component.mjs +7 -6
  92. package/components/basic/default/esm2022/html/html.directive.mjs +3 -2
  93. package/components/basic/default/esm2022/icon/icon.component.mjs +17 -16
  94. package/components/basic/default/esm2022/iframe/iframe.component.mjs +14 -13
  95. package/components/basic/default/esm2022/label/label.directive.mjs +3 -2
  96. package/components/basic/default/esm2022/picture/picture.directive.mjs +3 -2
  97. package/components/basic/default/esm2022/picture/picture.props.mjs +1 -5
  98. package/components/basic/default/esm2022/public_api.mjs +1 -2
  99. package/components/basic/default/esm2022/spinner/spinner.component.mjs +26 -24
  100. package/components/basic/default/esm2022/video/video.component.mjs +19 -18
  101. package/components/basic/default/fesm2022/index.mjs +101 -148
  102. package/components/basic/default/fesm2022/index.mjs.map +1 -1
  103. package/components/basic/default/html/html.directive.d.ts +1 -1
  104. package/components/basic/default/icon/icon.component.d.ts +1 -1
  105. package/components/basic/default/iframe/iframe.component.d.ts +1 -1
  106. package/components/basic/default/label/label.directive.d.ts +1 -1
  107. package/components/basic/default/picture/picture.directive.d.ts +1 -1
  108. package/components/basic/default/public_api.d.ts +0 -1
  109. package/components/basic/default/spinner/spinner.component.d.ts +1 -1
  110. package/components/basic/default/video/video.component.d.ts +1 -1
  111. package/components/basic/progress/bundles/index.umd.js +20 -51
  112. package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +12 -11
  113. package/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
  114. package/components/basic/progress/esm2022/public_api.mjs +1 -2
  115. package/components/basic/progress/fesm2022/index.mjs +19 -49
  116. package/components/basic/progress/fesm2022/index.mjs.map +1 -1
  117. package/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -1
  118. package/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -1
  119. package/components/basic/progress/public_api.d.ts +0 -1
  120. package/components/basic/rich-text-editor/bundles/index.umd.js +15 -40
  121. package/components/basic/rich-text-editor/esm2022/public_api.mjs +1 -2
  122. package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +13 -12
  123. package/components/basic/rich-text-editor/fesm2022/index.mjs +13 -37
  124. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  125. package/components/basic/rich-text-editor/public_api.d.ts +0 -1
  126. package/components/basic/rich-text-editor/rich-text-editor.component.d.ts +1 -1
  127. package/components/basic/search/bundles/index.umd.js +170 -207
  128. package/components/basic/search/esm2022/public_api.mjs +1 -2
  129. package/components/basic/search/esm2022/scrollable.directive.mjs +3 -2
  130. package/components/basic/search/esm2022/search.component.mjs +76 -72
  131. package/components/basic/search/fesm2022/index.mjs +107 -143
  132. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  133. package/components/basic/search/public_api.d.ts +0 -1
  134. package/components/basic/search/scrollable.directive.d.ts +1 -1
  135. package/components/basic/search/search.component.d.ts +1 -1
  136. package/components/basic/tree/bundles/index.umd.js +9 -33
  137. package/components/basic/tree/esm2022/public_api.mjs +1 -2
  138. package/components/basic/tree/esm2022/tree.component.mjs +7 -6
  139. package/components/basic/tree/fesm2022/index.mjs +8 -32
  140. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  141. package/components/basic/tree/public_api.d.ts +0 -1
  142. package/components/basic/tree/tree.component.d.ts +1 -1
  143. package/components/chart/bundles/index.umd.js +25 -53
  144. package/components/chart/chart.component.d.ts +1 -1
  145. package/components/chart/esm2022/chart.component.mjs +26 -24
  146. package/components/chart/esm2022/chart.utils.mjs +2 -1
  147. package/components/chart/esm2022/public_api.mjs +1 -2
  148. package/components/chart/fesm2022/index.mjs +26 -52
  149. package/components/chart/fesm2022/index.mjs.map +1 -1
  150. package/components/chart/public_api.d.ts +0 -1
  151. package/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -1
  152. package/components/containers/accordion/accordion.directive.d.ts +1 -1
  153. package/components/containers/accordion/bundles/index.umd.js +208 -237
  154. package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +10 -11
  155. package/components/containers/accordion/esm2022/accordion.directive.mjs +5 -4
  156. package/components/containers/accordion/esm2022/public_api.mjs +1 -2
  157. package/components/containers/accordion/fesm2022/index.mjs +189 -217
  158. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  159. package/components/containers/accordion/public_api.d.ts +0 -1
  160. package/components/containers/layout-grid/bundles/index.umd.js +13 -43
  161. package/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +7 -9
  162. package/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +3 -2
  163. package/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +3 -2
  164. package/components/containers/layout-grid/esm2022/public_api.mjs +1 -2
  165. package/components/containers/layout-grid/fesm2022/index.mjs +13 -43
  166. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  167. package/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +1 -1
  168. package/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +1 -1
  169. package/components/containers/layout-grid/layout-grid.directive.d.ts +1 -1
  170. package/components/containers/layout-grid/public_api.d.ts +0 -1
  171. package/components/containers/linear-layout/bundles/index.umd.js +8 -33
  172. package/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +3 -2
  173. package/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +3 -2
  174. package/components/containers/linear-layout/esm2022/public_api.mjs +1 -2
  175. package/components/containers/linear-layout/fesm2022/index.mjs +7 -32
  176. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  177. package/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +1 -1
  178. package/components/containers/linear-layout/linear-layout.directive.d.ts +1 -1
  179. package/components/containers/linear-layout/public_api.d.ts +0 -1
  180. package/components/containers/panel/bundles/index.umd.js +87 -118
  181. package/components/containers/panel/esm2022/panel.component.mjs +48 -46
  182. package/components/containers/panel/esm2022/public_api.mjs +1 -2
  183. package/components/containers/panel/fesm2022/index.mjs +49 -79
  184. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  185. package/components/containers/panel/panel.component.d.ts +1 -1
  186. package/components/containers/panel/public_api.d.ts +0 -1
  187. package/components/containers/tabs/bundles/index.umd.js +84 -116
  188. package/components/containers/tabs/esm2022/public_api.mjs +1 -2
  189. package/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -10
  190. package/components/containers/tabs/esm2022/tabs.component.mjs +35 -33
  191. package/components/containers/tabs/esm2022/tabs.props.mjs +1 -5
  192. package/components/containers/tabs/fesm2022/index.mjs +45 -76
  193. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  194. package/components/containers/tabs/public_api.d.ts +0 -1
  195. package/components/containers/tabs/tab-pane/tab-pane.component.d.ts +1 -1
  196. package/components/containers/tabs/tabs.component.d.ts +1 -1
  197. package/components/containers/tile/bundles/index.umd.js +6 -29
  198. package/components/containers/tile/esm2022/public_api.mjs +1 -2
  199. package/components/containers/tile/esm2022/tile.directive.mjs +3 -2
  200. package/components/containers/tile/fesm2022/index.mjs +5 -28
  201. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  202. package/components/containers/tile/public_api.d.ts +0 -1
  203. package/components/containers/tile/tile.directive.d.ts +1 -1
  204. package/components/containers/wizard/bundles/index.umd.js +355 -186
  205. package/components/containers/wizard/esm2022/public_api.mjs +2 -3
  206. package/components/containers/wizard/esm2022/wizard-action/wizard-action.directive.mjs +3 -2
  207. package/components/containers/wizard/esm2022/wizard-step/wizard-step.component.mjs +176 -0
  208. package/components/containers/wizard/esm2022/wizard-step/wizard-step.props.mjs +8 -5
  209. package/components/containers/wizard/esm2022/wizard.component.mjs +264 -102
  210. package/components/containers/wizard/esm2022/wizard.props.mjs +8 -4
  211. package/components/containers/wizard/fesm2022/index.mjs +323 -152
  212. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  213. package/components/containers/wizard/public_api.d.ts +1 -2
  214. package/components/containers/wizard/wizard-action/wizard-action.directive.d.ts +1 -1
  215. package/components/containers/wizard/wizard-step/{wizard-step.directive.d.ts → wizard-step.component.d.ts} +12 -6
  216. package/components/containers/wizard/wizard.component.d.ts +64 -18
  217. package/components/data/card/bundles/index.umd.js +92 -135
  218. package/components/data/card/card-actions/card-actions.directive.d.ts +1 -1
  219. package/components/data/card/card-content/card-content.component.d.ts +1 -1
  220. package/components/data/card/card-footer/card-footer.directive.d.ts +1 -1
  221. package/components/data/card/card.component.d.ts +1 -1
  222. package/components/data/card/esm2022/card-actions/card-actions.directive.mjs +3 -2
  223. package/components/data/card/esm2022/card-content/card-content.component.mjs +7 -6
  224. package/components/data/card/esm2022/card-footer/card-footer.directive.mjs +3 -2
  225. package/components/data/card/esm2022/card.component.mjs +39 -38
  226. package/components/data/card/esm2022/public_api.mjs +1 -2
  227. package/components/data/card/fesm2022/index.mjs +49 -92
  228. package/components/data/card/fesm2022/index.mjs.map +1 -1
  229. package/components/data/card/public_api.d.ts +0 -1
  230. package/components/data/form/bundles/index.umd.js +115 -182
  231. package/components/data/form/esm2022/form-action/form-action.directive.mjs +3 -2
  232. package/components/data/form/esm2022/form-field/form-field.directive.mjs +3 -2
  233. package/components/data/form/esm2022/form-widget.directive.mjs +3 -2
  234. package/components/data/form/esm2022/form.component.mjs +101 -104
  235. package/components/data/form/esm2022/form.props.mjs +1 -11
  236. package/components/data/form/esm2022/live-actions/dependson.directive.mjs +3 -2
  237. package/components/data/form/esm2022/live-actions/live-actions.directive.mjs +3 -2
  238. package/components/data/form/esm2022/live-filter/live-filter.directive.mjs +3 -2
  239. package/components/data/form/esm2022/live-form/live-form.directive.mjs +3 -6
  240. package/components/data/form/esm2022/public_api.mjs +1 -2
  241. package/components/data/form/fesm2022/index.mjs +117 -184
  242. package/components/data/form/fesm2022/index.mjs.map +1 -1
  243. package/components/data/form/form-action/form-action.directive.d.ts +1 -1
  244. package/components/data/form/form-field/form-field.directive.d.ts +1 -1
  245. package/components/data/form/form-widget.directive.d.ts +1 -1
  246. package/components/data/form/form.component.d.ts +1 -1
  247. package/components/data/form/live-actions/dependson.directive.d.ts +1 -1
  248. package/components/data/form/live-actions/live-actions.directive.d.ts +1 -1
  249. package/components/data/form/live-filter/live-filter.directive.d.ts +1 -1
  250. package/components/data/form/live-form/live-form.directive.d.ts +1 -1
  251. package/components/data/form/public_api.d.ts +0 -1
  252. package/components/data/list/bundles/index.umd.js +195 -504
  253. package/components/data/list/esm2022/list-item.directive.mjs +4 -3
  254. package/components/data/list/esm2022/list.component.mjs +187 -232
  255. package/components/data/list/esm2022/list.props.mjs +2 -3
  256. package/components/data/list/esm2022/public_api.mjs +1 -2
  257. package/components/data/list/fesm2022/index.mjs +193 -502
  258. package/components/data/list/fesm2022/index.mjs.map +1 -1
  259. package/components/data/list/list-item.directive.d.ts +1 -1
  260. package/components/data/list/list.component.d.ts +1 -1
  261. package/components/data/list/public_api.d.ts +0 -1
  262. package/components/data/live-table/bundles/index.umd.js +9 -33
  263. package/components/data/live-table/esm2022/live-table.component.mjs +7 -6
  264. package/components/data/live-table/esm2022/public_api.mjs +1 -2
  265. package/components/data/live-table/fesm2022/index.mjs +8 -32
  266. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  267. package/components/data/live-table/live-table.component.d.ts +1 -1
  268. package/components/data/live-table/public_api.d.ts +0 -1
  269. package/components/data/pagination/bundles/index.umd.js +80 -110
  270. package/components/data/pagination/esm2022/pagination.component.mjs +80 -76
  271. package/components/data/pagination/esm2022/public_api.mjs +1 -2
  272. package/components/data/pagination/fesm2022/index.mjs +81 -110
  273. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  274. package/components/data/pagination/pagination.component.d.ts +1 -1
  275. package/components/data/pagination/public_api.d.ts +0 -1
  276. package/components/data/table/bundles/index.umd.js +66 -135
  277. package/components/data/table/esm2022/public_api.mjs +1 -2
  278. package/components/data/table/esm2022/table-action/table-action.directive.mjs +3 -2
  279. package/components/data/table/esm2022/table-column/table-column.directive.mjs +3 -2
  280. package/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +3 -2
  281. package/components/data/table/esm2022/table-cud.directive.mjs +3 -2
  282. package/components/data/table/esm2022/table-filter.directive.mjs +4 -2
  283. package/components/data/table/esm2022/table-row/table-row.directive.mjs +3 -2
  284. package/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +3 -2
  285. package/components/data/table/esm2022/table.component.mjs +50 -49
  286. package/components/data/table/fesm2022/index.mjs +70 -140
  287. package/components/data/table/fesm2022/index.mjs.map +1 -1
  288. package/components/data/table/public_api.d.ts +0 -1
  289. package/components/data/table/table-action/table-action.directive.d.ts +1 -1
  290. package/components/data/table/table-column/table-column.directive.d.ts +1 -1
  291. package/components/data/table/table-column-group/table-column-group.directive.d.ts +1 -1
  292. package/components/data/table/table-cud.directive.d.ts +1 -1
  293. package/components/data/table/table-filter.directive.d.ts +1 -1
  294. package/components/data/table/table-row/table-row.directive.d.ts +1 -1
  295. package/components/data/table/table-row-action/table-row-action.directive.d.ts +1 -1
  296. package/components/data/table/table.component.d.ts +1 -1
  297. package/components/dialogs/alert-dialog/alert-dialog.component.d.ts +1 -1
  298. package/components/dialogs/alert-dialog/bundles/index.umd.js +32 -64
  299. package/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -10
  300. package/components/dialogs/alert-dialog/esm2022/public_api.mjs +1 -2
  301. package/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -43
  302. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  303. package/components/dialogs/alert-dialog/public_api.d.ts +0 -1
  304. package/components/dialogs/confirm-dialog/bundles/index.umd.js +10 -42
  305. package/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +1 -1
  306. package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -9
  307. package/components/dialogs/confirm-dialog/esm2022/public_api.mjs +1 -2
  308. package/components/dialogs/confirm-dialog/fesm2022/index.mjs +10 -42
  309. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  310. package/components/dialogs/confirm-dialog/public_api.d.ts +0 -1
  311. package/components/dialogs/default/bundles/index.umd.js +76 -136
  312. package/components/dialogs/default/dialog-body/dialog-body.directive.d.ts +1 -1
  313. package/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +1 -1
  314. package/components/dialogs/default/dialog-header/dialog-header.component.d.ts +1 -1
  315. package/components/dialogs/default/esm2022/base-dialog.mjs +3 -3
  316. package/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +3 -2
  317. package/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +3 -2
  318. package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +70 -97
  319. package/components/dialogs/default/esm2022/public_api.mjs +1 -2
  320. package/components/dialogs/default/fesm2022/index.mjs +78 -137
  321. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  322. package/components/dialogs/default/public_api.d.ts +0 -1
  323. package/components/dialogs/design-dialog/bundles/index.umd.js +16 -47
  324. package/components/dialogs/design-dialog/dialog.component.d.ts +1 -1
  325. package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +14 -13
  326. package/components/dialogs/design-dialog/esm2022/public_api.mjs +1 -2
  327. package/components/dialogs/design-dialog/fesm2022/index.mjs +14 -45
  328. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  329. package/components/dialogs/design-dialog/public_api.d.ts +0 -1
  330. package/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -57
  331. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -21
  332. package/components/dialogs/iframe-dialog/esm2022/public_api.mjs +1 -2
  333. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +21 -57
  334. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  335. package/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +1 -1
  336. package/components/dialogs/iframe-dialog/public_api.d.ts +0 -1
  337. package/components/dialogs/login-dialog/bundles/index.umd.js +6 -38
  338. package/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +3 -2
  339. package/components/dialogs/login-dialog/esm2022/public_api.mjs +1 -2
  340. package/components/dialogs/login-dialog/fesm2022/index.mjs +6 -41
  341. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  342. package/components/dialogs/login-dialog/login-dialog.directive.d.ts +1 -1
  343. package/components/dialogs/login-dialog/public_api.d.ts +0 -1
  344. package/components/dialogs/partial-dialog/bundles/index.umd.js +17 -49
  345. package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +16 -15
  346. package/components/dialogs/partial-dialog/esm2022/public_api.mjs +1 -2
  347. package/components/dialogs/partial-dialog/fesm2022/index.mjs +16 -47
  348. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  349. package/components/dialogs/partial-dialog/partial-dialog.component.d.ts +1 -1
  350. package/components/dialogs/partial-dialog/public_api.d.ts +0 -1
  351. package/components/input/calendar/bundles/index.umd.js +19 -46
  352. package/components/input/calendar/calendar.component.d.ts +1 -1
  353. package/components/input/calendar/esm2022/calendar.component.mjs +24 -10
  354. package/components/input/calendar/esm2022/calendar.props.mjs +1 -1
  355. package/components/input/calendar/esm2022/public_api.mjs +1 -2
  356. package/components/input/calendar/fesm2022/index.mjs +26 -48
  357. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  358. package/components/input/calendar/public_api.d.ts +0 -1
  359. package/components/input/chips/bundles/index.umd.js +86 -114
  360. package/components/input/chips/chips.component.d.ts +1 -1
  361. package/components/input/chips/esm2022/chips.component.mjs +28 -27
  362. package/components/input/chips/esm2022/public_api.mjs +1 -2
  363. package/components/input/chips/fesm2022/index.mjs +29 -56
  364. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  365. package/components/input/chips/public_api.d.ts +0 -1
  366. package/components/input/color-picker/bundles/index.umd.js +10 -40
  367. package/components/input/color-picker/color-picker.component.d.ts +1 -1
  368. package/components/input/color-picker/esm2022/color-picker.component.mjs +10 -6
  369. package/components/input/color-picker/esm2022/public_api.mjs +1 -2
  370. package/components/input/color-picker/fesm2022/index.mjs +11 -40
  371. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  372. package/components/input/color-picker/public_api.d.ts +0 -1
  373. package/components/input/currency/bundles/index.umd.js +11 -41
  374. package/components/input/currency/currency.component.d.ts +1 -1
  375. package/components/input/currency/esm2022/currency.component.mjs +8 -6
  376. package/components/input/currency/esm2022/public_api.mjs +1 -2
  377. package/components/input/currency/fesm2022/index.mjs +11 -41
  378. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  379. package/components/input/currency/public_api.d.ts +0 -1
  380. package/components/input/default/bundles/index.umd.js +2183 -2263
  381. package/components/input/default/button/button.component.d.ts +1 -1
  382. package/components/input/default/button-group/button-group.directive.d.ts +1 -1
  383. package/components/input/default/caption-position.directive.d.ts +1 -1
  384. package/components/input/default/checkbox/checkbox.component.d.ts +1 -1
  385. package/components/input/default/checkboxset/checkboxset.component.d.ts +1 -1
  386. package/components/input/default/composite/composite.directive.d.ts +1 -1
  387. package/components/input/default/esm2022/button/button.component.mjs +23 -21
  388. package/components/input/default/esm2022/button-group/button-group.directive.mjs +3 -2
  389. package/components/input/default/esm2022/caption-position.directive.mjs +3 -2
  390. package/components/input/default/esm2022/checkbox/checkbox.component.mjs +9 -6
  391. package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +73 -72
  392. package/components/input/default/esm2022/composite/composite.directive.mjs +3 -2
  393. package/components/input/default/esm2022/number/number.component.mjs +9 -6
  394. package/components/input/default/esm2022/public_api.mjs +1 -2
  395. package/components/input/default/esm2022/radioset/radioset.component.mjs +73 -72
  396. package/components/input/default/esm2022/select/select.component.mjs +29 -32
  397. package/components/input/default/esm2022/switch/switch.component.mjs +29 -27
  398. package/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +9 -6
  399. package/components/input/default/esm2022/text/color/input-color.component.mjs +9 -6
  400. package/components/input/default/esm2022/text/email/input-email.component.mjs +9 -6
  401. package/components/input/default/esm2022/text/number/input-number.component.mjs +9 -6
  402. package/components/input/default/esm2022/text/text/input-text.component.mjs +10 -6
  403. package/components/input/default/esm2022/textarea/textarea.component.mjs +14 -11
  404. package/components/input/default/fesm2022/index.mjs +2198 -2277
  405. package/components/input/default/fesm2022/index.mjs.map +1 -1
  406. package/components/input/default/number/number.component.d.ts +1 -1
  407. package/components/input/default/public_api.d.ts +0 -1
  408. package/components/input/default/radioset/radioset.component.d.ts +1 -1
  409. package/components/input/default/select/select.component.d.ts +1 -1
  410. package/components/input/default/switch/switch.component.d.ts +1 -1
  411. package/components/input/default/text/calendar/input-calendar.component.d.ts +1 -1
  412. package/components/input/default/text/color/input-color.component.d.ts +1 -1
  413. package/components/input/default/text/email/input-email.component.d.ts +1 -1
  414. package/components/input/default/text/number/input-number.component.d.ts +1 -1
  415. package/components/input/default/text/text/input-text.component.d.ts +1 -1
  416. package/components/input/default/textarea/textarea.component.d.ts +1 -1
  417. package/components/input/epoch/base-date-time.component.d.ts +0 -1
  418. package/components/input/epoch/bundles/index.umd.js +181 -229
  419. package/components/input/epoch/date/date.component.d.ts +1 -1
  420. package/components/input/epoch/date/imaskUtil.d.ts +2 -2
  421. package/components/input/epoch/date-time/date-time-picker.component.d.ts +6 -6
  422. package/components/input/epoch/date-time/date-time.component.d.ts +1 -1
  423. package/components/input/epoch/esm2022/base-date-time.component.mjs +5 -9
  424. package/components/input/epoch/esm2022/date/date.component.mjs +19 -18
  425. package/components/input/epoch/esm2022/date/imaskUtil.mjs +2 -1
  426. package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +75 -62
  427. package/components/input/epoch/esm2022/date-time/date-time.component.mjs +27 -24
  428. package/components/input/epoch/esm2022/picker/picker.component.mjs +33 -28
  429. package/components/input/epoch/esm2022/public_api.mjs +1 -2
  430. package/components/input/epoch/esm2022/time/time.component.mjs +24 -21
  431. package/components/input/epoch/fesm2022/index.mjs +158 -204
  432. package/components/input/epoch/fesm2022/index.mjs.map +1 -1
  433. package/components/input/epoch/picker/picker.component.d.ts +2 -2
  434. package/components/input/epoch/public_api.d.ts +0 -1
  435. package/components/input/epoch/time/time.component.d.ts +1 -1
  436. package/components/input/file-upload/bundles/index.umd.js +135 -178
  437. package/components/input/file-upload/esm2022/file-upload.component.mjs +133 -150
  438. package/components/input/file-upload/esm2022/public_api.mjs +1 -2
  439. package/components/input/file-upload/fesm2022/index.mjs +133 -175
  440. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  441. package/components/input/file-upload/file-upload.component.d.ts +1 -2
  442. package/components/input/file-upload/public_api.d.ts +0 -1
  443. package/components/input/rating/bundles/index.umd.js +50 -77
  444. package/components/input/rating/esm2022/public_api.mjs +1 -2
  445. package/components/input/rating/esm2022/rating.component.mjs +23 -20
  446. package/components/input/rating/fesm2022/index.mjs +23 -49
  447. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  448. package/components/input/rating/public_api.d.ts +0 -1
  449. package/components/input/rating/rating.component.d.ts +1 -1
  450. package/components/input/slider/bundles/index.umd.js +35 -63
  451. package/components/input/slider/esm2022/public_api.mjs +1 -2
  452. package/components/input/slider/esm2022/slider.component.mjs +15 -13
  453. package/components/input/slider/fesm2022/index.mjs +15 -42
  454. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  455. package/components/input/slider/public_api.d.ts +0 -1
  456. package/components/input/slider/slider.component.d.ts +1 -1
  457. package/components/navigation/breadcrumb/breadcrumb.component.d.ts +1 -1
  458. package/components/navigation/breadcrumb/bundles/index.umd.js +40 -67
  459. package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +23 -21
  460. package/components/navigation/breadcrumb/esm2022/public_api.mjs +1 -2
  461. package/components/navigation/breadcrumb/fesm2022/index.mjs +23 -50
  462. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  463. package/components/navigation/breadcrumb/public_api.d.ts +0 -1
  464. package/components/navigation/menu/bundles/index.umd.js +642 -696
  465. package/components/navigation/menu/esm2022/menu-adapator.component.mjs +1 -1
  466. package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +11 -9
  467. package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +24 -18
  468. package/components/navigation/menu/esm2022/menu.component.mjs +34 -31
  469. package/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +3 -2
  470. package/components/navigation/menu/esm2022/nav/nav.component.mjs +39 -29
  471. package/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +6 -3
  472. package/components/navigation/menu/esm2022/public_api.mjs +1 -2
  473. package/components/navigation/menu/fesm2022/index.mjs +534 -587
  474. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  475. package/components/navigation/menu/menu-dropdown/menu-dropdown.component.d.ts +1 -1
  476. package/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +1 -1
  477. package/components/navigation/menu/menu.component.d.ts +1 -1
  478. package/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +1 -1
  479. package/components/navigation/menu/nav/nav.component.d.ts +1 -1
  480. package/components/navigation/menu/nav/navigation-control.directive.d.ts +1 -1
  481. package/components/navigation/menu/public_api.d.ts +0 -1
  482. package/components/navigation/navbar/bundles/index.umd.js +20 -44
  483. package/components/navigation/navbar/esm2022/navbar.component.mjs +18 -16
  484. package/components/navigation/navbar/esm2022/public_api.mjs +1 -2
  485. package/components/navigation/navbar/fesm2022/index.mjs +18 -41
  486. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  487. package/components/navigation/navbar/navbar.component.d.ts +1 -1
  488. package/components/navigation/navbar/public_api.d.ts +0 -1
  489. package/components/navigation/popover/bundles/index.umd.js +12 -43
  490. package/components/navigation/popover/esm2022/popover.component.mjs +11 -9
  491. package/components/navigation/popover/esm2022/public_api.mjs +1 -2
  492. package/components/navigation/popover/fesm2022/index.mjs +11 -41
  493. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  494. package/components/navigation/popover/popover.component.d.ts +1 -1
  495. package/components/navigation/popover/public_api.d.ts +0 -1
  496. package/components/page/default/bundles/index.umd.js +96 -138
  497. package/components/page/default/content/content.component.d.ts +1 -1
  498. package/components/page/default/esm2022/content/content.component.mjs +7 -6
  499. package/components/page/default/esm2022/layout.directive.mjs +3 -2
  500. package/components/page/default/esm2022/page-content/page-content.component.mjs +7 -6
  501. package/components/page/default/esm2022/page-content/page-content.props.mjs +2 -3
  502. package/components/page/default/esm2022/page.directive.mjs +3 -2
  503. package/components/page/default/esm2022/public_api.mjs +1 -2
  504. package/components/page/default/esm2022/router-outlet.directive.mjs +3 -2
  505. package/components/page/default/esm2022/spa-page.directive.mjs +3 -2
  506. package/components/page/default/fesm2022/index.mjs +96 -138
  507. package/components/page/default/fesm2022/index.mjs.map +1 -1
  508. package/components/page/default/layout.directive.d.ts +1 -1
  509. package/components/page/default/page-content/page-content.component.d.ts +1 -1
  510. package/components/page/default/page.directive.d.ts +1 -1
  511. package/components/page/default/public_api.d.ts +0 -1
  512. package/components/page/default/router-outlet.directive.d.ts +1 -1
  513. package/components/page/default/spa-page.directive.d.ts +1 -1
  514. package/components/page/footer/bundles/index.umd.js +6 -29
  515. package/components/page/footer/esm2022/footer.directive.mjs +3 -2
  516. package/components/page/footer/esm2022/public_api.mjs +1 -2
  517. package/components/page/footer/fesm2022/index.mjs +5 -28
  518. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  519. package/components/page/footer/footer.directive.d.ts +1 -1
  520. package/components/page/footer/public_api.d.ts +0 -1
  521. package/components/page/header/bundles/index.umd.js +9 -33
  522. package/components/page/header/esm2022/header.component.mjs +7 -6
  523. package/components/page/header/esm2022/public_api.mjs +1 -2
  524. package/components/page/header/fesm2022/index.mjs +8 -32
  525. package/components/page/header/fesm2022/index.mjs.map +1 -1
  526. package/components/page/header/header.component.d.ts +1 -1
  527. package/components/page/header/public_api.d.ts +0 -1
  528. package/components/page/left-panel/bundles/index.umd.js +6 -29
  529. package/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -2
  530. package/components/page/left-panel/esm2022/public_api.mjs +1 -2
  531. package/components/page/left-panel/fesm2022/index.mjs +5 -28
  532. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  533. package/components/page/left-panel/left-panel.directive.d.ts +1 -1
  534. package/components/page/left-panel/public_api.d.ts +0 -1
  535. package/components/page/right-panel/bundles/index.umd.js +6 -29
  536. package/components/page/right-panel/esm2022/public_api.mjs +1 -2
  537. package/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -2
  538. package/components/page/right-panel/fesm2022/index.mjs +5 -28
  539. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  540. package/components/page/right-panel/public_api.d.ts +0 -1
  541. package/components/page/right-panel/right-panel.directive.d.ts +1 -1
  542. package/components/page/top-nav/bundles/index.umd.js +6 -29
  543. package/components/page/top-nav/esm2022/public_api.mjs +1 -2
  544. package/components/page/top-nav/esm2022/top-nav.directive.mjs +3 -2
  545. package/components/page/top-nav/fesm2022/index.mjs +5 -28
  546. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  547. package/components/page/top-nav/public_api.d.ts +0 -1
  548. package/components/page/top-nav/top-nav.directive.d.ts +1 -1
  549. package/components/prefab/bundles/index.umd.js +8 -33
  550. package/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +3 -2
  551. package/components/prefab/esm2022/prefab.directive.mjs +3 -2
  552. package/components/prefab/esm2022/public_api.mjs +1 -2
  553. package/components/prefab/fesm2022/index.mjs +7 -32
  554. package/components/prefab/fesm2022/index.mjs.map +1 -1
  555. package/components/prefab/prefab-container/prefab-container.directive.d.ts +1 -1
  556. package/components/prefab/prefab.directive.d.ts +1 -1
  557. package/components/prefab/public_api.d.ts +0 -1
  558. package/core/bundles/index.umd.js +30 -85
  559. package/core/esm2022/public_api.mjs +2 -3
  560. package/core/esm2022/utils/build-utils.mjs +9 -5
  561. package/core/esm2022/utils/utils.mjs +11 -40
  562. package/core/fesm2022/index.mjs +31 -81
  563. package/core/fesm2022/index.mjs.map +1 -1
  564. package/core/public_api.d.ts +1 -2
  565. package/core/utils/utils.d.ts +1 -3
  566. package/http/bundles/index.umd.js +9 -34
  567. package/http/esm2022/http.service.mjs +6 -3
  568. package/http/esm2022/public_api.mjs +4 -2
  569. package/http/fesm2022/index.mjs +9 -34
  570. package/http/fesm2022/index.mjs.map +1 -1
  571. package/http/public_api.d.ts +3 -1
  572. package/npm-shrinkwrap.json +2 -2
  573. package/oAuth/bundles/index.umd.js +7 -42
  574. package/oAuth/esm2022/oAuth.utils.mjs +6 -23
  575. package/oAuth/esm2022/public_api.mjs +1 -2
  576. package/oAuth/fesm2022/index.mjs +7 -40
  577. package/oAuth/fesm2022/index.mjs.map +1 -1
  578. package/oAuth/public_api.d.ts +0 -1
  579. package/package-lock.json +2 -2
  580. package/package.json +1 -1
  581. package/runtime/base/bundles/index.umd.js +681 -596
  582. package/runtime/base/components/app-component/app.component.d.ts +1 -1
  583. package/runtime/base/components/app-spinner.component.d.ts +1 -1
  584. package/runtime/base/components/custom-toaster.component.d.ts +1 -1
  585. package/runtime/base/components/empty-component/empty-page.component.d.ts +1 -1
  586. package/runtime/base/components/prefab-preview.component.d.ts +1 -1
  587. package/runtime/base/directives/accessroles.directive.d.ts +1 -1
  588. package/runtime/base/directives/prefab.directive.d.ts +1 -1
  589. package/runtime/base/esm2022/components/app-component/app.component.mjs +42 -49
  590. package/runtime/base/esm2022/components/app-spinner.component.mjs +29 -21
  591. package/runtime/base/esm2022/components/base-page.component.mjs +3 -11
  592. package/runtime/base/esm2022/components/base-spa-page.component.mjs +3 -11
  593. package/runtime/base/esm2022/components/custom-toaster.component.mjs +20 -14
  594. package/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
  595. package/runtime/base/esm2022/components/prefab-preview.component.mjs +8 -6
  596. package/runtime/base/esm2022/directives/accessroles.directive.mjs +3 -2
  597. package/runtime/base/esm2022/directives/prefab.directive.mjs +3 -2
  598. package/runtime/base/esm2022/public_api.mjs +1 -1
  599. package/runtime/base/esm2022/resolves/security-config.resolve.mjs +4 -6
  600. package/runtime/base/esm2022/runtime-base.module.mjs +486 -337
  601. package/runtime/base/esm2022/services/app.manager.service.mjs +31 -48
  602. package/runtime/base/esm2022/services/i18n.service.mjs +37 -72
  603. package/runtime/base/fesm2022/index.mjs +689 -605
  604. package/runtime/base/fesm2022/index.mjs.map +1 -1
  605. package/runtime/base/runtime-base.module.d.ts +115 -84
  606. package/runtime/base/services/i18n.service.d.ts +1 -1
  607. package/runtime/dynamic/app/components/page-wrapper.component.d.ts +1 -1
  608. package/runtime/dynamic/bundles/index.umd.js +113 -69
  609. package/runtime/dynamic/esm2022/app/app.module.mjs +151 -105
  610. package/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +7 -4
  611. package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +4 -2
  612. package/runtime/dynamic/esm2022/main.mjs +2 -7
  613. package/runtime/dynamic/fesm2022/index.mjs +159 -114
  614. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  615. package/security/bundles/index.umd.js +3 -34
  616. package/security/esm2022/public_api.mjs +1 -2
  617. package/security/esm2022/security.service.mjs +4 -15
  618. package/security/fesm2022/index.mjs +5 -32
  619. package/security/fesm2022/index.mjs.map +1 -1
  620. package/security/public_api.d.ts +0 -1
  621. package/transpiler/bundles/index.umd.js +271 -168
  622. package/transpiler/esm2022/build.mjs +1 -6
  623. package/transpiler/esm2022/imports.mjs +268 -161
  624. package/transpiler/fesm2022/index.mjs +267 -165
  625. package/transpiler/fesm2022/index.mjs.map +1 -1
  626. package/variables/bundles/index.umd.js +14 -198
  627. package/variables/constants/variables.constants.d.ts +0 -2
  628. package/variables/esm2022/constants/variables.constants.mjs +1 -3
  629. package/variables/esm2022/factory/variable-manager.factory.mjs +1 -3
  630. package/variables/esm2022/factory/variable.factory.mjs +1 -5
  631. package/variables/esm2022/manager/action/logout-action.manager.mjs +5 -7
  632. package/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +3 -3
  633. package/variables/esm2022/public_api.mjs +1 -5
  634. package/variables/esm2022/service/metadata-service/metadata.service.mjs +6 -11
  635. package/variables/esm2022/util/variable/service-variable.utils.mjs +1 -4
  636. package/variables/esm2022/util/variable/variables.utils.mjs +4 -19
  637. package/variables/fesm2022/index.mjs +15 -198
  638. package/variables/fesm2022/index.mjs.map +1 -1
  639. package/variables/public_api.d.ts +0 -4
  640. package/components/advanced/carousel/carousel.module.d.ts +0 -11
  641. package/components/advanced/carousel/esm2022/carousel.module.mjs +0 -36
  642. package/components/advanced/custom/custom-widget.module.d.ts +0 -10
  643. package/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
  644. package/components/advanced/login/esm2022/login.module.mjs +0 -28
  645. package/components/advanced/login/login.module.d.ts +0 -9
  646. package/components/advanced/marquee/esm2022/marquee.module.mjs +0 -28
  647. package/components/advanced/marquee/marquee.module.d.ts +0 -9
  648. package/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +0 -221
  649. package/components/base/widgets/common/smooth-scroll/smooth-scroll.directive.d.ts +0 -22
  650. package/components/basic/default/basic.module.d.ts +0 -17
  651. package/components/basic/default/esm2022/basic.module.mjs +0 -60
  652. package/components/basic/progress/esm2022/progress.module.mjs +0 -36
  653. package/components/basic/progress/progress.module.d.ts +0 -11
  654. package/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +0 -28
  655. package/components/basic/rich-text-editor/rich-text-editor.module.d.ts +0 -9
  656. package/components/basic/search/esm2022/search.module.mjs +0 -45
  657. package/components/basic/search/search.module.d.ts +0 -12
  658. package/components/basic/tree/esm2022/tree.module.mjs +0 -28
  659. package/components/basic/tree/tree.module.d.ts +0 -9
  660. package/components/chart/chart.module.d.ts +0 -10
  661. package/components/chart/esm2022/chart.module.mjs +0 -32
  662. package/components/containers/accordion/accordion.module.d.ts +0 -10
  663. package/components/containers/accordion/esm2022/accordion.module.mjs +0 -32
  664. package/components/containers/layout-grid/esm2022/layout-grid.module.mjs +0 -36
  665. package/components/containers/layout-grid/layout-grid.module.d.ts +0 -11
  666. package/components/containers/linear-layout/esm2022/linear-layout.module.mjs +0 -32
  667. package/components/containers/linear-layout/linear-layout.module.d.ts +0 -10
  668. package/components/containers/panel/esm2022/panel.module.mjs +0 -36
  669. package/components/containers/panel/panel.module.d.ts +0 -11
  670. package/components/containers/tabs/esm2022/tabs.module.mjs +0 -32
  671. package/components/containers/tabs/tabs.module.d.ts +0 -10
  672. package/components/containers/tile/esm2022/tile.module.mjs +0 -28
  673. package/components/containers/tile/tile.module.d.ts +0 -9
  674. package/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +0 -140
  675. package/components/containers/wizard/esm2022/wizard.module.mjs +0 -40
  676. package/components/containers/wizard/wizard.module.d.ts +0 -12
  677. package/components/data/card/card.module.d.ts +0 -15
  678. package/components/data/card/esm2022/card.module.mjs +0 -52
  679. package/components/data/form/esm2022/form.module.mjs +0 -68
  680. package/components/data/form/form.module.d.ts +0 -19
  681. package/components/data/list/esm2022/list.module.mjs +0 -40
  682. package/components/data/list/list.module.d.ts +0 -11
  683. package/components/data/live-table/esm2022/live-table.module.mjs +0 -28
  684. package/components/data/live-table/live-table.module.d.ts +0 -9
  685. package/components/data/pagination/esm2022/pagination.module.mjs +0 -36
  686. package/components/data/pagination/pagination.module.d.ts +0 -11
  687. package/components/data/table/esm2022/table.module.mjs +0 -91
  688. package/components/data/table/table.module.d.ts +0 -24
  689. package/components/dialogs/alert-dialog/alert-dialog.module.d.ts +0 -11
  690. package/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +0 -36
  691. package/components/dialogs/confirm-dialog/confirm-dialog.module.d.ts +0 -11
  692. package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +0 -36
  693. package/components/dialogs/default/dialog.module.d.ts +0 -12
  694. package/components/dialogs/default/esm2022/dialog.module.mjs +0 -40
  695. package/components/dialogs/design-dialog/design-dialog.module.d.ts +0 -11
  696. package/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +0 -36
  697. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +0 -40
  698. package/components/dialogs/iframe-dialog/iframe-dialog.module.d.ts +0 -12
  699. package/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +0 -40
  700. package/components/dialogs/login-dialog/login-dialog.module.d.ts +0 -12
  701. package/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +0 -36
  702. package/components/dialogs/partial-dialog/partial-dialog.module.d.ts +0 -11
  703. package/components/input/calendar/calendar.module.d.ts +0 -12
  704. package/components/input/calendar/esm2022/calendar.module.mjs +0 -40
  705. package/components/input/chips/chips.module.d.ts +0 -10
  706. package/components/input/chips/esm2022/chips.module.mjs +0 -32
  707. package/components/input/color-picker/color-picker.module.d.ts +0 -11
  708. package/components/input/color-picker/esm2022/color-picker.module.mjs +0 -36
  709. package/components/input/currency/currency.module.d.ts +0 -11
  710. package/components/input/currency/esm2022/currency.module.mjs +0 -36
  711. package/components/input/default/esm2022/input.module.mjs +0 -96
  712. package/components/input/default/input.module.d.ts +0 -26
  713. package/components/input/epoch/epoch.module.d.ts +0 -18
  714. package/components/input/epoch/esm2022/epoch.module.mjs +0 -70
  715. package/components/input/file-upload/esm2022/file-upload.module.mjs +0 -28
  716. package/components/input/file-upload/file-upload.module.d.ts +0 -9
  717. package/components/input/rating/esm2022/rating.module.mjs +0 -32
  718. package/components/input/rating/rating.module.d.ts +0 -10
  719. package/components/input/slider/esm2022/slider.module.mjs +0 -32
  720. package/components/input/slider/slider.module.d.ts +0 -10
  721. package/components/navigation/breadcrumb/breadcrumb.module.d.ts +0 -10
  722. package/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +0 -32
  723. package/components/navigation/menu/esm2022/menu.module.mjs +0 -71
  724. package/components/navigation/menu/menu.module.d.ts +0 -17
  725. package/components/navigation/navbar/esm2022/navbar.module.mjs +0 -28
  726. package/components/navigation/navbar/navbar.module.d.ts +0 -9
  727. package/components/navigation/popover/esm2022/popover.module.mjs +0 -36
  728. package/components/navigation/popover/popover.module.d.ts +0 -11
  729. package/components/page/default/esm2022/page.module.mjs +0 -55
  730. package/components/page/default/page.module.d.ts +0 -14
  731. package/components/page/footer/esm2022/footer.module.mjs +0 -28
  732. package/components/page/footer/footer.module.d.ts +0 -9
  733. package/components/page/header/esm2022/header.module.mjs +0 -28
  734. package/components/page/header/header.module.d.ts +0 -9
  735. package/components/page/left-panel/esm2022/left-panel.module.mjs +0 -28
  736. package/components/page/left-panel/left-panel.module.d.ts +0 -9
  737. package/components/page/right-panel/esm2022/right-panel.module.mjs +0 -28
  738. package/components/page/right-panel/right-panel.module.d.ts +0 -9
  739. package/components/page/top-nav/esm2022/top-nav.module.mjs +0 -28
  740. package/components/page/top-nav/top-nav.module.d.ts +0 -9
  741. package/components/prefab/esm2022/prefab.module.mjs +0 -32
  742. package/components/prefab/prefab.module.d.ts +0 -10
  743. package/core/core.module.d.ts +0 -9
  744. package/core/esm2022/core.module.mjs +0 -27
  745. package/http/esm2022/http-service.module.mjs +0 -36
  746. package/http/http-service.module.d.ts +0 -14
  747. package/locales/fullcalendar/af.js +0 -27
  748. package/locales/fullcalendar/ar-dz.js +0 -28
  749. package/locales/fullcalendar/ar-kw.js +0 -28
  750. package/locales/fullcalendar/ar-ly.js +0 -28
  751. package/locales/fullcalendar/ar-ma.js +0 -28
  752. package/locales/fullcalendar/ar-sa.js +0 -28
  753. package/locales/fullcalendar/ar-tn.js +0 -28
  754. package/locales/fullcalendar/ar.js +0 -28
  755. package/locales/fullcalendar/az.js +0 -29
  756. package/locales/fullcalendar/bg.js +0 -28
  757. package/locales/fullcalendar/bs.js +0 -29
  758. package/locales/fullcalendar/ca.js +0 -27
  759. package/locales/fullcalendar/cs.js +0 -29
  760. package/locales/fullcalendar/da.js +0 -27
  761. package/locales/fullcalendar/de.js +0 -30
  762. package/locales/fullcalendar/el.js +0 -27
  763. package/locales/fullcalendar/en-au.js +0 -14
  764. package/locales/fullcalendar/en-gb.js +0 -14
  765. package/locales/fullcalendar/en-nz.js +0 -14
  766. package/locales/fullcalendar/es-us.js +0 -27
  767. package/locales/fullcalendar/es.js +0 -27
  768. package/locales/fullcalendar/et.js +0 -29
  769. package/locales/fullcalendar/eu.js +0 -27
  770. package/locales/fullcalendar/fa.js +0 -30
  771. package/locales/fullcalendar/fi.js +0 -27
  772. package/locales/fullcalendar/fr-ca.js +0 -24
  773. package/locales/fullcalendar/fr-ch.js +0 -28
  774. package/locales/fullcalendar/fr.js +0 -28
  775. package/locales/fullcalendar/gl.js +0 -27
  776. package/locales/fullcalendar/he.js +0 -24
  777. package/locales/fullcalendar/hi.js +0 -29
  778. package/locales/fullcalendar/hr.js +0 -29
  779. package/locales/fullcalendar/hu.js +0 -27
  780. package/locales/fullcalendar/id.js +0 -27
  781. package/locales/fullcalendar/is.js +0 -27
  782. package/locales/fullcalendar/it.js +0 -29
  783. package/locales/fullcalendar/ja.js +0 -25
  784. package/locales/fullcalendar/ka.js +0 -29
  785. package/locales/fullcalendar/kk.js +0 -29
  786. package/locales/fullcalendar/ko.js +0 -23
  787. package/locales/fullcalendar/lb.js +0 -27
  788. package/locales/fullcalendar/lt.js +0 -27
  789. package/locales/fullcalendar/lv.js +0 -29
  790. package/locales/fullcalendar/mk.js +0 -25
  791. package/locales/fullcalendar/ms.js +0 -29
  792. package/locales/fullcalendar/nb.js +0 -27
  793. package/locales/fullcalendar/ne.js +0 -27
  794. package/locales/fullcalendar/nl.js +0 -27
  795. package/locales/fullcalendar/nn.js +0 -27
  796. package/locales/fullcalendar/pl.js +0 -27
  797. package/locales/fullcalendar/pt-br.js +0 -25
  798. package/locales/fullcalendar/pt.js +0 -27
  799. package/locales/fullcalendar/ro.js +0 -29
  800. package/locales/fullcalendar/ru.js +0 -29
  801. package/locales/fullcalendar/sk.js +0 -29
  802. package/locales/fullcalendar/sl.js +0 -27
  803. package/locales/fullcalendar/sq.js +0 -29
  804. package/locales/fullcalendar/sr-cyrl.js +0 -29
  805. package/locales/fullcalendar/sr.js +0 -29
  806. package/locales/fullcalendar/sv.js +0 -27
  807. package/locales/fullcalendar/th.js +0 -30
  808. package/locales/fullcalendar/tr.js +0 -27
  809. package/locales/fullcalendar/ug.js +0 -17
  810. package/locales/fullcalendar/uk.js +0 -29
  811. package/locales/fullcalendar/uz.js +0 -21
  812. package/locales/fullcalendar/vi.js +0 -29
  813. package/locales/fullcalendar/zh-cn.js +0 -30
  814. package/locales/fullcalendar/zh-tw.js +0 -23
  815. package/mobile/components/basic/default/.npmignore +0 -2
  816. package/mobile/components/basic/default/anchor/anchor.directive.d.ts +0 -8
  817. package/mobile/components/basic/default/app-update/app-update.component.d.ts +0 -26
  818. package/mobile/components/basic/default/basic.module.d.ts +0 -15
  819. package/mobile/components/basic/default/bundles/index.umd.js +0 -980
  820. package/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +0 -44
  821. package/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +0 -116
  822. package/mobile/components/basic/default/esm2022/basic.module.mjs +0 -52
  823. package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +0 -236
  824. package/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +0 -85
  825. package/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +0 -61
  826. package/mobile/components/basic/default/esm2022/index.mjs +0 -5
  827. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +0 -183
  828. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.props.mjs +0 -5
  829. package/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +0 -47
  830. package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +0 -175
  831. package/mobile/components/basic/default/esm2022/public_api.mjs +0 -10
  832. package/mobile/components/basic/default/fesm2022/index.mjs +0 -958
  833. package/mobile/components/basic/default/fesm2022/index.mjs.map +0 -1
  834. package/mobile/components/basic/default/file-browser/file-browser.component.d.ts +0 -39
  835. package/mobile/components/basic/default/file-browser/file-selector.service.d.ts +0 -27
  836. package/mobile/components/basic/default/image-cache/image-cache.directive.d.ts +0 -18
  837. package/mobile/components/basic/default/index.d.ts +0 -5
  838. package/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +0 -28
  839. package/mobile/components/basic/default/network-info-toaster/network-info-toaster.props.d.ts +0 -1
  840. package/mobile/components/basic/default/package.json +0 -23
  841. package/mobile/components/basic/default/process-manager/process-management.service.d.ts +0 -36
  842. package/mobile/components/basic/default/process-manager/process-manager.component.d.ts +0 -33
  843. package/mobile/components/basic/default/public_api.d.ts +0 -9
  844. package/mobile/components/basic/search/.npmignore +0 -2
  845. package/mobile/components/basic/search/bundles/index.umd.js +0 -66
  846. package/mobile/components/basic/search/esm2022/index.mjs +0 -5
  847. package/mobile/components/basic/search/esm2022/public_api.mjs +0 -3
  848. package/mobile/components/basic/search/esm2022/search.directive.mjs +0 -17
  849. package/mobile/components/basic/search/esm2022/search.module.mjs +0 -28
  850. package/mobile/components/basic/search/fesm2022/index.mjs +0 -49
  851. package/mobile/components/basic/search/fesm2022/index.mjs.map +0 -1
  852. package/mobile/components/basic/search/index.d.ts +0 -5
  853. package/mobile/components/basic/search/package.json +0 -23
  854. package/mobile/components/basic/search/public_api.d.ts +0 -2
  855. package/mobile/components/basic/search/search.directive.d.ts +0 -7
  856. package/mobile/components/basic/search/search.module.d.ts +0 -9
  857. package/mobile/components/containers/segmented-control/.npmignore +0 -2
  858. package/mobile/components/containers/segmented-control/bundles/index.umd.js +0 -281
  859. package/mobile/components/containers/segmented-control/esm2022/index.mjs +0 -5
  860. package/mobile/components/containers/segmented-control/esm2022/public_api.mjs +0 -4
  861. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +0 -70
  862. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.props.mjs +0 -14
  863. package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +0 -147
  864. package/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +0 -32
  865. package/mobile/components/containers/segmented-control/esm2022/segmented-control.props.mjs +0 -9
  866. package/mobile/components/containers/segmented-control/fesm2022/index.mjs +0 -264
  867. package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +0 -1
  868. package/mobile/components/containers/segmented-control/index.d.ts +0 -5
  869. package/mobile/components/containers/segmented-control/package.json +0 -23
  870. package/mobile/components/containers/segmented-control/public_api.d.ts +0 -3
  871. package/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +0 -18
  872. package/mobile/components/containers/segmented-control/segment-content/segment-content.props.d.ts +0 -1
  873. package/mobile/components/containers/segmented-control/segmented-control.component.d.ts +0 -20
  874. package/mobile/components/containers/segmented-control/segmented-control.module.d.ts +0 -10
  875. package/mobile/components/containers/segmented-control/segmented-control.props.d.ts +0 -1
  876. package/mobile/components/data/media-list/.npmignore +0 -2
  877. package/mobile/components/data/media-list/bundles/index.umd.js +0 -310
  878. package/mobile/components/data/media-list/esm2022/index.mjs +0 -5
  879. package/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +0 -24
  880. package/mobile/components/data/media-list/esm2022/media-list.component.mjs +0 -213
  881. package/mobile/components/data/media-list/esm2022/media-list.module.mjs +0 -48
  882. package/mobile/components/data/media-list/esm2022/media-list.props.mjs +0 -16
  883. package/mobile/components/data/media-list/esm2022/public_api.mjs +0 -4
  884. package/mobile/components/data/media-list/fesm2022/index.mjs +0 -297
  885. package/mobile/components/data/media-list/fesm2022/index.mjs.map +0 -1
  886. package/mobile/components/data/media-list/index.d.ts +0 -5
  887. package/mobile/components/data/media-list/media-list-item/media-list-item.directive.d.ts +0 -8
  888. package/mobile/components/data/media-list/media-list.component.d.ts +0 -33
  889. package/mobile/components/data/media-list/media-list.module.d.ts +0 -14
  890. package/mobile/components/data/media-list/media-list.props.d.ts +0 -1
  891. package/mobile/components/data/media-list/package.json +0 -23
  892. package/mobile/components/data/media-list/public_api.d.ts +0 -3
  893. package/mobile/components/device/barcode-scanner/.npmignore +0 -2
  894. package/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +0 -18
  895. package/mobile/components/device/barcode-scanner/barcode-scanner.module.d.ts +0 -9
  896. package/mobile/components/device/barcode-scanner/barcode-scanner.props.d.ts +0 -1
  897. package/mobile/components/device/barcode-scanner/bundles/index.umd.js +0 -129
  898. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +0 -69
  899. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +0 -28
  900. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +0 -15
  901. package/mobile/components/device/barcode-scanner/esm2022/index.mjs +0 -5
  902. package/mobile/components/device/barcode-scanner/esm2022/public_api.mjs +0 -3
  903. package/mobile/components/device/barcode-scanner/fesm2022/index.mjs +0 -112
  904. package/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +0 -1
  905. package/mobile/components/device/barcode-scanner/index.d.ts +0 -5
  906. package/mobile/components/device/barcode-scanner/package.json +0 -23
  907. package/mobile/components/device/barcode-scanner/public_api.d.ts +0 -2
  908. package/mobile/components/device/camera/.npmignore +0 -2
  909. package/mobile/components/device/camera/bundles/index.umd.js +0 -170
  910. package/mobile/components/device/camera/camera.component.d.ts +0 -37
  911. package/mobile/components/device/camera/camera.module.d.ts +0 -9
  912. package/mobile/components/device/camera/camera.props.d.ts +0 -1
  913. package/mobile/components/device/camera/esm2022/camera.component.mjs +0 -101
  914. package/mobile/components/device/camera/esm2022/camera.module.mjs +0 -28
  915. package/mobile/components/device/camera/esm2022/camera.props.mjs +0 -25
  916. package/mobile/components/device/camera/esm2022/index.mjs +0 -5
  917. package/mobile/components/device/camera/esm2022/public_api.mjs +0 -3
  918. package/mobile/components/device/camera/fesm2022/index.mjs +0 -153
  919. package/mobile/components/device/camera/fesm2022/index.mjs.map +0 -1
  920. package/mobile/components/device/camera/index.d.ts +0 -5
  921. package/mobile/components/device/camera/package.json +0 -23
  922. package/mobile/components/device/camera/public_api.d.ts +0 -2
  923. package/mobile/components/input/file-upload/.npmignore +0 -2
  924. package/mobile/components/input/file-upload/bundles/index.umd.js +0 -88
  925. package/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +0 -41
  926. package/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +0 -28
  927. package/mobile/components/input/file-upload/esm2022/index.mjs +0 -5
  928. package/mobile/components/input/file-upload/esm2022/public_api.mjs +0 -3
  929. package/mobile/components/input/file-upload/fesm2022/index.mjs +0 -71
  930. package/mobile/components/input/file-upload/fesm2022/index.mjs.map +0 -1
  931. package/mobile/components/input/file-upload/file-upload.directive.d.ts +0 -11
  932. package/mobile/components/input/file-upload/file-upload.module.d.ts +0 -9
  933. package/mobile/components/input/file-upload/index.d.ts +0 -5
  934. package/mobile/components/input/file-upload/package.json +0 -23
  935. package/mobile/components/input/file-upload/public_api.d.ts +0 -2
  936. package/mobile/components/page/default/.npmignore +0 -2
  937. package/mobile/components/page/default/bundles/index.umd.js +0 -127
  938. package/mobile/components/page/default/esm2022/index.mjs +0 -5
  939. package/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +0 -24
  940. package/mobile/components/page/default/esm2022/page.directive.mjs +0 -58
  941. package/mobile/components/page/default/esm2022/page.module.mjs +0 -32
  942. package/mobile/components/page/default/esm2022/public_api.mjs +0 -4
  943. package/mobile/components/page/default/fesm2022/index.mjs +0 -110
  944. package/mobile/components/page/default/fesm2022/index.mjs.map +0 -1
  945. package/mobile/components/page/default/index.d.ts +0 -5
  946. package/mobile/components/page/default/package.json +0 -23
  947. package/mobile/components/page/default/page-content-loader/page-content-loader.component.d.ts +0 -7
  948. package/mobile/components/page/default/page.directive.d.ts +0 -19
  949. package/mobile/components/page/default/page.module.d.ts +0 -10
  950. package/mobile/components/page/default/public_api.d.ts +0 -3
  951. package/mobile/components/page/left-panel/.npmignore +0 -2
  952. package/mobile/components/page/left-panel/bundles/index.umd.js +0 -91
  953. package/mobile/components/page/left-panel/esm2022/index.mjs +0 -5
  954. package/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +0 -45
  955. package/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +0 -28
  956. package/mobile/components/page/left-panel/esm2022/public_api.mjs +0 -3
  957. package/mobile/components/page/left-panel/fesm2022/index.mjs +0 -74
  958. package/mobile/components/page/left-panel/fesm2022/index.mjs.map +0 -1
  959. package/mobile/components/page/left-panel/index.d.ts +0 -5
  960. package/mobile/components/page/left-panel/left-panel.directive.d.ts +0 -16
  961. package/mobile/components/page/left-panel/left-panel.module.d.ts +0 -9
  962. package/mobile/components/page/left-panel/package.json +0 -23
  963. package/mobile/components/page/left-panel/public_api.d.ts +0 -2
  964. package/mobile/components/page/mobile-navbar/.npmignore +0 -2
  965. package/mobile/components/page/mobile-navbar/bundles/index.umd.js +0 -332
  966. package/mobile/components/page/mobile-navbar/esm2022/index.mjs +0 -5
  967. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +0 -247
  968. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +0 -32
  969. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.props.mjs +0 -41
  970. package/mobile/components/page/mobile-navbar/esm2022/public_api.mjs +0 -3
  971. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +0 -317
  972. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +0 -1
  973. package/mobile/components/page/mobile-navbar/index.d.ts +0 -5
  974. package/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +0 -50
  975. package/mobile/components/page/mobile-navbar/mobile-navbar.module.d.ts +0 -10
  976. package/mobile/components/page/mobile-navbar/mobile-navbar.props.d.ts +0 -2
  977. package/mobile/components/page/mobile-navbar/package.json +0 -23
  978. package/mobile/components/page/mobile-navbar/public_api.d.ts +0 -2
  979. package/mobile/components/page/tab-bar/.npmignore +0 -2
  980. package/mobile/components/page/tab-bar/bundles/index.umd.js +0 -279
  981. package/mobile/components/page/tab-bar/esm2022/index.mjs +0 -5
  982. package/mobile/components/page/tab-bar/esm2022/public_api.mjs +0 -3
  983. package/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +0 -28
  984. package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +0 -219
  985. package/mobile/components/page/tab-bar/esm2022/tabbar.props.mjs +0 -15
  986. package/mobile/components/page/tab-bar/fesm2022/index.mjs +0 -262
  987. package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +0 -1
  988. package/mobile/components/page/tab-bar/index.d.ts +0 -5
  989. package/mobile/components/page/tab-bar/package.json +0 -23
  990. package/mobile/components/page/tab-bar/public_api.d.ts +0 -2
  991. package/mobile/components/page/tab-bar/tab-bar.module.d.ts +0 -9
  992. package/mobile/components/page/tab-bar/tabbar.component.d.ts +0 -40
  993. package/mobile/components/page/tab-bar/tabbar.props.d.ts +0 -1
  994. package/mobile/core/.npmignore +0 -2
  995. package/mobile/core/bundles/index.umd.js +0 -1658
  996. package/mobile/core/core.module.d.ts +0 -15
  997. package/mobile/core/esm2022/core.module.mjs +0 -79
  998. package/mobile/core/esm2022/index.mjs +0 -5
  999. package/mobile/core/esm2022/native.xhr.mjs +0 -340
  1000. package/mobile/core/esm2022/public_api.mjs +0 -12
  1001. package/mobile/core/esm2022/services/device-file-cache.service.mjs +0 -92
  1002. package/mobile/core/esm2022/services/device-file-download.service.mjs +0 -154
  1003. package/mobile/core/esm2022/services/device-file-opener.service.mjs +0 -112
  1004. package/mobile/core/esm2022/services/device-file-upload.service.mjs +0 -91
  1005. package/mobile/core/esm2022/services/device-file.service.mjs +0 -237
  1006. package/mobile/core/esm2022/services/device-start-up-service.mjs +0 -2
  1007. package/mobile/core/esm2022/services/device.service.mjs +0 -150
  1008. package/mobile/core/esm2022/services/ext-app-message.service.mjs +0 -114
  1009. package/mobile/core/esm2022/services/network.service.mjs +0 -358
  1010. package/mobile/core/fesm2022/index.mjs +0 -1660
  1011. package/mobile/core/fesm2022/index.mjs.map +0 -1
  1012. package/mobile/core/index.d.ts +0 -5
  1013. package/mobile/core/native.xhr.d.ts +0 -36
  1014. package/mobile/core/package.json +0 -28
  1015. package/mobile/core/public_api.d.ts +0 -11
  1016. package/mobile/core/services/device-file-cache.service.d.ts +0 -24
  1017. package/mobile/core/services/device-file-download.service.d.ts +0 -36
  1018. package/mobile/core/services/device-file-opener.service.d.ts +0 -25
  1019. package/mobile/core/services/device-file-upload.service.d.ts +0 -27
  1020. package/mobile/core/services/device-file.service.d.ts +0 -45
  1021. package/mobile/core/services/device-start-up-service.d.ts +0 -4
  1022. package/mobile/core/services/device.service.d.ts +0 -52
  1023. package/mobile/core/services/ext-app-message.service.d.ts +0 -24
  1024. package/mobile/core/services/network.service.d.ts +0 -118
  1025. package/mobile/offline/.npmignore +0 -2
  1026. package/mobile/offline/bundles/index.umd.js +0 -3512
  1027. package/mobile/offline/esm2022/index.mjs +0 -5
  1028. package/mobile/offline/esm2022/models/config.mjs +0 -64
  1029. package/mobile/offline/esm2022/models/local-db-store.mjs +0 -412
  1030. package/mobile/offline/esm2022/offline.module.mjs +0 -100
  1031. package/mobile/offline/esm2022/public_api.mjs +0 -7
  1032. package/mobile/offline/esm2022/services/change-log.service.mjs +0 -332
  1033. package/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +0 -525
  1034. package/mobile/offline/esm2022/services/local-db-management.service.mjs +0 -855
  1035. package/mobile/offline/esm2022/services/local-db.service.mjs +0 -193
  1036. package/mobile/offline/esm2022/services/local-key-value.service.mjs +0 -87
  1037. package/mobile/offline/esm2022/services/push.service.mjs +0 -49
  1038. package/mobile/offline/esm2022/services/workers/error-blocker.mjs +0 -115
  1039. package/mobile/offline/esm2022/services/workers/file-handler.mjs +0 -162
  1040. package/mobile/offline/esm2022/services/workers/id-resolver.mjs +0 -154
  1041. package/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +0 -63
  1042. package/mobile/offline/esm2022/utils/file-upload.utils.mjs +0 -59
  1043. package/mobile/offline/esm2022/utils/live-variable.utils.mjs +0 -232
  1044. package/mobile/offline/esm2022/utils/query-executor.utils.mjs +0 -82
  1045. package/mobile/offline/esm2022/utils/security.utils.mjs +0 -119
  1046. package/mobile/offline/esm2022/utils/utils.mjs +0 -8
  1047. package/mobile/offline/fesm2022/index.mjs +0 -3529
  1048. package/mobile/offline/fesm2022/index.mjs.map +0 -1
  1049. package/mobile/offline/index.d.ts +0 -5
  1050. package/mobile/offline/models/config.d.ts +0 -80
  1051. package/mobile/offline/models/local-db-store.d.ts +0 -119
  1052. package/mobile/offline/offline.module.d.ts +0 -17
  1053. package/mobile/offline/package.json +0 -28
  1054. package/mobile/offline/public_api.d.ts +0 -6
  1055. package/mobile/offline/services/change-log.service.d.ts +0 -112
  1056. package/mobile/offline/services/local-db-data-pull.service.d.ts +0 -139
  1057. package/mobile/offline/services/local-db-management.service.d.ts +0 -179
  1058. package/mobile/offline/services/local-db.service.d.ts +0 -83
  1059. package/mobile/offline/services/local-key-value.service.d.ts +0 -38
  1060. package/mobile/offline/services/push.service.d.ts +0 -11
  1061. package/mobile/offline/services/workers/error-blocker.d.ts +0 -26
  1062. package/mobile/offline/services/workers/file-handler.d.ts +0 -56
  1063. package/mobile/offline/services/workers/id-resolver.d.ts +0 -26
  1064. package/mobile/offline/services/workers/multi-part-param-transformer.d.ts +0 -11
  1065. package/mobile/offline/utils/file-upload.utils.d.ts +0 -14
  1066. package/mobile/offline/utils/live-variable.utils.d.ts +0 -24
  1067. package/mobile/offline/utils/query-executor.utils.d.ts +0 -15
  1068. package/mobile/offline/utils/security.utils.d.ts +0 -19
  1069. package/mobile/offline/utils/utils.d.ts +0 -2
  1070. package/mobile/placeholder/runtime/.npmignore +0 -2
  1071. package/mobile/placeholder/runtime/bundles/index.umd.js +0 -70
  1072. package/mobile/placeholder/runtime/components/app-ext.component.d.ts +0 -5
  1073. package/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +0 -19
  1074. package/mobile/placeholder/runtime/esm2022/index.mjs +0 -5
  1075. package/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +0 -27
  1076. package/mobile/placeholder/runtime/esm2022/public_api.mjs +0 -3
  1077. package/mobile/placeholder/runtime/fesm2022/index.mjs +0 -50
  1078. package/mobile/placeholder/runtime/fesm2022/index.mjs.map +0 -1
  1079. package/mobile/placeholder/runtime/index.d.ts +0 -5
  1080. package/mobile/placeholder/runtime/mobile-runtime.module.d.ts +0 -9
  1081. package/mobile/placeholder/runtime/package.json +0 -27
  1082. package/mobile/placeholder/runtime/public_api.d.ts +0 -2
  1083. package/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
  1084. package/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +0 -40
  1085. package/mobile/placeholder/runtime-dynamic/esm2022/index.mjs +0 -5
  1086. package/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +0 -13
  1087. package/mobile/placeholder/runtime-dynamic/esm2022/public_api.mjs +0 -2
  1088. package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +0 -20
  1089. package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +0 -1
  1090. package/mobile/placeholder/runtime-dynamic/index.d.ts +0 -5
  1091. package/mobile/placeholder/runtime-dynamic/mobile-runtime-dynamic.module.d.ts +0 -7
  1092. package/mobile/placeholder/runtime-dynamic/package.json +0 -23
  1093. package/mobile/placeholder/runtime-dynamic/public_api.d.ts +0 -1
  1094. package/mobile/runtime/.npmignore +0 -2
  1095. package/mobile/runtime/bundles/index.umd.js +0 -732
  1096. package/mobile/runtime/components/app-ext.component.d.ts +0 -14
  1097. package/mobile/runtime/esm2022/components/app-ext.component.mjs +0 -59
  1098. package/mobile/runtime/esm2022/index.mjs +0 -5
  1099. package/mobile/runtime/esm2022/mobile-runtime.module.mjs +0 -351
  1100. package/mobile/runtime/esm2022/public_api.mjs +0 -6
  1101. package/mobile/runtime/esm2022/services/cookie.service.mjs +0 -135
  1102. package/mobile/runtime/esm2022/services/http-interceptor.service.mjs +0 -147
  1103. package/mobile/runtime/esm2022/services/webprocess.service.mjs +0 -76
  1104. package/mobile/runtime/fesm2022/index.mjs +0 -742
  1105. package/mobile/runtime/fesm2022/index.mjs.map +0 -1
  1106. package/mobile/runtime/index.d.ts +0 -5
  1107. package/mobile/runtime/mobile-runtime.module.d.ts +0 -51
  1108. package/mobile/runtime/package.json +0 -28
  1109. package/mobile/runtime/public_api.d.ts +0 -5
  1110. package/mobile/runtime/services/cookie.service.d.ts +0 -31
  1111. package/mobile/runtime/services/http-interceptor.service.d.ts +0 -19
  1112. package/mobile/runtime/services/webprocess.service.d.ts +0 -15
  1113. package/mobile/runtime-dynamic/.npmignore +0 -2
  1114. package/mobile/runtime-dynamic/bundles/index.umd.js +0 -461
  1115. package/mobile/runtime-dynamic/esm2022/index.mjs +0 -5
  1116. package/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +0 -48
  1117. package/mobile/runtime-dynamic/esm2022/public_api.mjs +0 -2
  1118. package/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +0 -404
  1119. package/mobile/runtime-dynamic/fesm2022/index.mjs +0 -454
  1120. package/mobile/runtime-dynamic/fesm2022/index.mjs.map +0 -1
  1121. package/mobile/runtime-dynamic/index.d.ts +0 -5
  1122. package/mobile/runtime-dynamic/mobile-runtime-dynamic.module.d.ts +0 -8
  1123. package/mobile/runtime-dynamic/package.json +0 -23
  1124. package/mobile/runtime-dynamic/public_api.d.ts +0 -1
  1125. package/mobile/runtime-dynamic/services/live-sync.service.d.ts +0 -38
  1126. package/mobile/variables/.npmignore +0 -2
  1127. package/mobile/variables/bundles/index.umd.js +0 -1166
  1128. package/mobile/variables/esm2022/index.mjs +0 -5
  1129. package/mobile/variables/esm2022/public_api.mjs +0 -10
  1130. package/mobile/variables/esm2022/services/calendar-service.mjs +0 -77
  1131. package/mobile/variables/esm2022/services/camera-service.mjs +0 -70
  1132. package/mobile/variables/esm2022/services/contacts-service.mjs +0 -74
  1133. package/mobile/variables/esm2022/services/datasync-service.mjs +0 -363
  1134. package/mobile/variables/esm2022/services/device-service/device-service.mjs +0 -161
  1135. package/mobile/variables/esm2022/services/device-service/location-service.mjs +0 -200
  1136. package/mobile/variables/esm2022/services/file-service.mjs +0 -87
  1137. package/mobile/variables/esm2022/services/scan-service.mjs +0 -60
  1138. package/mobile/variables/esm2022/variables.module.mjs +0 -78
  1139. package/mobile/variables/fesm2022/index.mjs +0 -1143
  1140. package/mobile/variables/fesm2022/index.mjs.map +0 -1
  1141. package/mobile/variables/index.d.ts +0 -5
  1142. package/mobile/variables/package.json +0 -28
  1143. package/mobile/variables/public_api.d.ts +0 -9
  1144. package/mobile/variables/services/calendar-service.d.ts +0 -10
  1145. package/mobile/variables/services/camera-service.d.ts +0 -8
  1146. package/mobile/variables/services/contacts-service.d.ts +0 -6
  1147. package/mobile/variables/services/datasync-service.d.ts +0 -11
  1148. package/mobile/variables/services/device-service/device-service.d.ts +0 -17
  1149. package/mobile/variables/services/device-service/location-service.d.ts +0 -63
  1150. package/mobile/variables/services/file-service.d.ts +0 -7
  1151. package/mobile/variables/services/scan-service.d.ts +0 -7
  1152. package/mobile/variables/variables.module.d.ts +0 -25
  1153. package/oAuth/esm2022/oAuth.module.mjs +0 -19
  1154. package/oAuth/oAuth.module.d.ts +0 -8
  1155. package/scripts/fullcalendar/main.min.js +0 -6
  1156. package/security/esm2022/security.module.mjs +0 -19
  1157. package/security/security.module.d.ts +0 -8
  1158. package/variables/esm2022/manager/variable/device-variable-manager.mjs +0 -48
  1159. package/variables/esm2022/manager/variable/device-variable-operation.mjs +0 -2
  1160. package/variables/esm2022/manager/variable/device-variable-service.mjs +0 -45
  1161. package/variables/esm2022/model/variable/device-variable.mjs +0 -19
  1162. package/variables/esm2022/variables.module.mjs +0 -52
  1163. package/variables/manager/variable/device-variable-manager.d.ts +0 -26
  1164. package/variables/manager/variable/device-variable-operation.d.ts +0 -37
  1165. package/variables/manager/variable/device-variable-service.d.ts +0 -6
  1166. package/variables/model/variable/device-variable.d.ts +0 -6
  1167. package/variables/variables.module.d.ts +0 -16
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../projects/mobile/core/src/services/device-file.service.ts","../../../../projects/mobile/core/src/services/device-file-download.service.ts","../../../../projects/mobile/core/src/services/device-file-cache.service.ts","../../../../projects/mobile/core/src/services/device-file-opener.service.ts","../../../../projects/mobile/core/src/services/device.service.ts","../../../../projects/mobile/core/src/native.xhr.ts","../../../../projects/mobile/core/src/services/network.service.ts","../../../../projects/mobile/core/src/core.module.ts","../../../../projects/mobile/core/src/services/device-file-upload.service.ts","../../../../projects/mobile/core/src/services/ext-app-message.service.ts","../../../../projects/mobile/core/src/index.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';\nimport {File} from '@awesome-cordova-plugins/file/ngx';\n\nimport { isAndroid, noop } from '@wm/core';\n\nimport { IDeviceStartUpService } from './device-start-up-service';\nimport {now} from \"lodash-es\";\n\ndeclare const cordova;\ndeclare const resolveLocalFileSystemURL;\ndeclare const FileReader;\n\nexport enum FileType {\n AUDIO = 'AUDIO',\n DOCUMENT = 'DOCUMENT',\n IMAGE = 'IMAGE',\n VIDEO = 'VIDEO'\n}\n\nconst IMAGE_EXTENSIONS = ['gif', 'jpg', 'png', 'svg', 'webp', 'jpeg', 'jif', 'jfif', 'jfi'],\n VIDEO_EXTENSIONS = ['mp4', 'mpg', 'avi', 'wma', 'mp2', '3gp', '3g2', 'm4p', 'm4v', 'mpg', 'fiv'],\n AUDIO_EXTENSIONS = ['mp3', 'm4p', 'aiff', 'aa', 'aax', 'wma'];\n\nconst APP_FOLDER_STRUCTURE = [{\n name : '{APP_NAME}',\n children : [{\n name : 'Media',\n children : [\n {\n name : '{APP_NAME} Images',\n fileType : FileType.IMAGE\n },\n {\n name : '{APP_NAME} Audio',\n fileType : FileType.AUDIO\n },\n {\n name : '{APP_NAME} Vedios',\n fileType : FileType.VIDEO\n },\n {\n name : '{APP_NAME} Documents',\n fileType : FileType.DOCUMENT\n }\n ]\n }]\n}];\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceFileService implements IDeviceStartUpService {\n static readonly SERVICE_NAME = 'DeviceFileService';\n\n private _appName: string;\n private _fileTypeVsPathMap = {\n 'temporary' : {},\n 'persistent' : {}\n };\n private _uploadDir: string;\n\n constructor(private cordovaAppVersion: AppVersion, private cordovaFile: File) {\n\n }\n\n public addMediaToGallery(filePath: string): Promise<void> {\n if (isAndroid() && this.isPersistentType(filePath)) {\n return new Promise((resolve, reject) => {\n cordova.plugins.MediaScannerPlugin.scanFile(filePath, resolve, reject);\n });\n }\n return Promise.resolve();\n }\n\n public appendToFileName(fileName: string, attachment?: string): string {\n let splits;\n attachment = attachment || '_' + now();\n fileName = fileName || 'noname';\n splits = fileName.split('.');\n if (splits.length > 1) {\n splits[splits.length - 2] = splits[splits.length - 2] + attachment;\n return splits.join('.');\n }\n return fileName + attachment;\n }\n\n public clearTemporaryStorage(): Promise<any> {\n return this.cordovaFile.removeRecursively(this.getTemporaryRootPath() + this._appName + '/', 'Media');\n }\n\n public copy(persistent: boolean, sourceFilePath: string) {\n const sourceFilename = sourceFilePath.split('/').pop(),\n destFolder = this.findFolderPath(persistent, sourceFilename),\n sourceFolder = sourceFilePath.substring(0, sourceFilePath.lastIndexOf('/'));\n return this.newFileName(destFolder, sourceFilename)\n .then( destFilename => this.cordovaFile.copyFile(sourceFolder, sourceFilename, destFolder, destFilename)\n .then(() => destFolder + destFilename));\n }\n\n public findFolderPath(persistent: boolean, fileName: string) {\n const typeMap = persistent ? this._fileTypeVsPathMap.persistent : this._fileTypeVsPathMap.temporary,\n fileType = this.findFileType(fileName);\n return typeMap[fileType] || typeMap[FileType.DOCUMENT];\n }\n\n public getPersistentRootPath(): string {\n return cordova.file.dataDirectory;\n }\n\n public getTemporaryRootPath(): string {\n return cordova.file.cacheDirectory;\n }\n\n public getUploadDirectory(): string {\n return this._uploadDir;\n }\n\n public isPersistentType(filePath: string): boolean {\n return filePath.startsWith(this.getPersistentRootPath());\n }\n\n public isValidPath(filePath: string): Promise<string> {\n let folder, fileName;\n if (!filePath) {\n return Promise.reject('File path is required');\n }\n folder = filePath.substring(0, filePath.lastIndexOf('/') + 1);\n fileName = filePath.split('/').pop();\n return this.cordovaFile.checkFile(folder, fileName)\n .then(() => filePath);\n }\n\n public listFiles(folder: string, search: string | RegExp): Promise<Map<string, any>[]> {\n return new Promise((resolve, reject) => {\n resolveLocalFileSystemURL(folder, directory => {\n if (!directory.files) {\n directory.createReader().readEntries(entries => {\n if (search) {\n entries = entries.filter(e => e.name.match(search));\n }\n entries = entries.map( e => {\n return {\n name : e.name,\n isDirectory : e.isDirectory,\n path : e.nativeURL\n };\n });\n resolve(entries);\n }, reject);\n } else {\n resolve([]);\n }\n }, reject);\n });\n }\n\n public newFileName(folder: string, fileName: string): Promise<string> {\n return this.cordovaFile.checkFile(folder, fileName)\n .then(() => {\n const extIndex = fileName.lastIndexOf('.');\n if (extIndex > 0) {\n fileName = fileName.substring(0, extIndex) + '_' + now() + '.' + fileName.substring(extIndex + 1);\n } else {\n fileName = fileName + '_' + now();\n }\n return this.newFileName(folder, fileName);\n }, () => fileName);\n }\n\n public removeFile(filePath: string): Promise<any> {\n const i = filePath.lastIndexOf('/'),\n dir = filePath.substring(0, i),\n file = filePath.substring(i + 1);\n return this.cordovaFile.removeFile(dir, file);\n }\n\n /**\n * removes the directory at the specified location.\n *\n * @param dirPath absolute path of directory\n */\n public removeDir(dirPath: string): Promise<any> {\n const i = dirPath.lastIndexOf('/'),\n parentdir = dirPath.substring(0, i + 1),\n dir = dirPath.substring(i + 1),\n movedDir = dir + now();\n return this.cordovaFile.checkDir(parentdir, dir)\n .then(() => {\n /**\n * If folder is remove directly without moving, then INVALID_MODIFICATION_ERR is thrown in android\n * when a copy operation is done with the same directory name. To avoid this, directory will be moved\n * first and removed.\n */\n return this.cordovaFile.moveDir(parentdir, dir, parentdir, movedDir)\n .then(() => this.cordovaFile.removeDir(parentdir, movedDir));\n }).catch(noop);\n }\n\n public start(): Promise<any> {\n /**\n * Default READ_CHUNK_SIZE is 256 Kb. But with that setting readJson method is failing. This is an issue\n * with cordova file plugin. So, increasing it to 512 Kb to read large database schema files (>256 Kb).\n */\n FileReader.READ_CHUNK_SIZE = 512 * 1024;\n return Promise.resolve().then(() => {\n return this.cordovaAppVersion.getAppName();\n }).then(appName => {\n const promises = [];\n this._appName = appName;\n promises.push(this.createFolderIfNotExists(this.getTemporaryRootPath(),\n APP_FOLDER_STRUCTURE,\n this._fileTypeVsPathMap.temporary));\n promises.push(this.createFolderIfNotExists(this.getPersistentRootPath(),\n APP_FOLDER_STRUCTURE,\n this._fileTypeVsPathMap.persistent));\n promises.push(this.setupUploadDirectory());\n return Promise.all(promises);\n }).then(() => {\n if (isAndroid()) {\n // this is necessary to prevent multiple file permission popup.\n return this.cordovaFile.readAsText(cordova.file.externalRootDirectory, 'random-file-for-permission').catch(noop);\n }\n });\n }\n\n public getServiceName() {\n return DeviceFileService.SERVICE_NAME;\n }\n\n private createFolderIfNotExists(parent: string, folders, fileTypeLocationMap) {\n const childPromises = [];\n if (folders) {\n folders.forEach(folder => {\n let folderPath;\n folder.name = folder.name.replace('{APP_NAME}', this._appName);\n folderPath = parent + folder.name + '/';\n if (folder.fileType && !fileTypeLocationMap[folder.fileType]) {\n fileTypeLocationMap[folder.fileType] = folderPath;\n }\n const p = this.cordovaFile.createDir(parent, folder.name, false)\n .then(() => this.createFolderIfNotExists(folderPath, folder.children, fileTypeLocationMap),\n () => this.createFolderIfNotExists(folderPath, folder.children, fileTypeLocationMap));\n childPromises.push(p);\n });\n }\n if (childPromises.length > 0) {\n return Promise.all(childPromises);\n }\n }\n\n private findFileType(fileName) {\n let extension;\n if (fileName.indexOf('.') > 0) {\n extension = fileName.split('.').pop().toLowerCase();\n if (IMAGE_EXTENSIONS.some(a => a === extension)) {\n return FileType.IMAGE;\n }\n if (VIDEO_EXTENSIONS.some(a => a === extension)) {\n return FileType.VIDEO;\n }\n if (AUDIO_EXTENSIONS.some(a => a === extension)) {\n return FileType.AUDIO;\n }\n }\n return FileType.DOCUMENT;\n }\n\n private setupUploadDirectory() {\n const uploadsDirName = 'uploads',\n appDir = cordova.file.dataDirectory;\n return this.cordovaFile.checkDir(appDir, uploadsDirName)\n .then(() => this._uploadDir = appDir + uploadsDirName,\n () => this.cordovaFile.createDir(appDir, uploadsDirName, true)\n .then(() => this._uploadDir = appDir + uploadsDirName));\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n HttpClient,\n HttpEvent,\n HttpEventType,\n HttpHeaders,\n HttpRequest,\n HttpResponse\n} from '@angular/common/http';\n\nimport { File } from '@awesome-cordova-plugins/file/ngx';\nimport { Observer } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\n\nimport { FileExtensionFromMimePipe } from '@wm/components/base';\n\nimport { DeviceFileService } from './device-file.service';\nimport {endsWith, find, isArray, isEmpty} from \"lodash-es\";\n\nconst MAX_CONCURRENT_DOWNLOADS = 2;\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceFileDownloadService {\n static readonly SERVICE_NAME = 'DeviceFileDownloadService';\n private _downloadQueue = [];\n private _concurrentDownloads = 0;\n\n constructor(\n private cordovaFile: File,\n private http: HttpClient,\n private deviceFileService: DeviceFileService,\n public fileExtensionFromMimePipe: FileExtensionFromMimePipe) {\n\n }\n\n public download(url: string, isPersistent: boolean, destFolder?: string, destFile?: string, progressObserver?: Observer<any>, headers?: any): Promise<string> {\n return this.addToDownloadQueue(url, isPersistent, destFolder, destFile, progressObserver, headers);\n }\n\n // Adds to download request queue\n private addToDownloadQueue(url: string, isPersistent: boolean, destFolder?: string, destFile?: string, progressObserver?: Observer<any>, headers?: any): Promise<string> {\n return new Promise<string>((resolve, reject) => {\n this._downloadQueue.push({\n url: url,\n headers: headers,\n isPersistent: isPersistent,\n destFolder: destFolder,\n destFile: destFile,\n resolve: resolve,\n reject: reject,\n progressObserver: progressObserver\n });\n if (this._concurrentDownloads < MAX_CONCURRENT_DOWNLOADS) {\n this.downloadNext();\n }\n });\n }\n\n private downloadNext(): void {\n if (this._downloadQueue.length > 0) {\n const req = this._downloadQueue.shift();\n this.downloadFile(req).then(filePath => {\n req.resolve(filePath);\n this.downloadNext();\n }, () => {\n req.reject();\n this.downloadNext();\n });\n }\n }\n\n // Start processing a download request\n private downloadFile(req): Promise<string> {\n let filePath, blob;\n this._concurrentDownloads++;\n\n return this.sendHttpRequest(req.url, req.progressObserver, req.headers).then((e) => {\n blob = (e as HttpResponse<Blob>).body;\n return this.getFileName(e, req, blob.type);\n }).then((fileName) => {\n if (!req.destFolder) {\n req.destFolder = this.deviceFileService.findFolderPath(req.isPersistent, fileName);\n }\n filePath = req.destFolder + fileName;\n return this.cordovaFile.writeFile(req.destFolder, fileName, blob);\n }).then(() => {\n this._concurrentDownloads--;\n return filePath;\n }, (response) => {\n this._concurrentDownloads--;\n this.cordovaFile.removeFile(req.destFolder, req.destFile);\n return Promise.reject(`Failed to downloaded ${req.url} with error ${JSON.stringify(response)}`);\n });\n }\n\n /**\n * Returns the filename\n * 1. if filename exists just return\n * 2. retrieve the filename from response headers i.e. content-disposition\n * 3. pick the filename from the end of the url\n * If filename doesnt contain the extension then extract using mimeType.\n * Generates newFileName if filename already exists.\n * @param response, download file response\n * @param req, download request params\n * @param mimeType mime type of file\n * @returns {Promise<string>}\n */\n private getFileName(response, req, mimeType) {\n const disposition = response.headers.get('Content-Disposition');\n let filename = req.destFile;\n if (!filename && disposition && disposition.indexOf('attachment') !== -1) {\n const filenameRegex = /filename[^;=\\n]*=((['\"]).*?\\2|[^;\\n]*)/;\n const matches = filenameRegex.exec(disposition);\n if (matches !== null && matches[1]) {\n filename = matches[1].replace(/['\"]/g, '');\n }\n }\n if (!filename) {\n filename = req.url.split('?')[0];\n filename = filename.split('/').pop();\n }\n\n let fileExtension;\n if (mimeType) {\n fileExtension = this.fileExtensionFromMimePipe.transform(mimeType);\n }\n let hasFileExtension;\n // one or more file extensions can have same mimeType then loop over the file extensions.\n if (isArray(fileExtension) && !isEmpty(fileExtension)) {\n hasFileExtension = find(fileExtension, extension => endsWith(filename, extension));\n //File extension will be array for some file formats\n fileExtension = fileExtension[0];\n }\n if (!hasFileExtension && !endsWith(filename, fileExtension)) {\n filename = filename + fileExtension;\n }\n\n const folder = req.destFolder || this.deviceFileService.findFolderPath(req.isPersistent, filename);\n return this.deviceFileService.newFileName(folder, filename);\n }\n\n private sendHttpRequest(url: string, progressObserver: Observer<HttpEvent<any>>, headers?: any): Promise<HttpResponse<any>> {\n let reqHeaders = new HttpHeaders();\n\n // headers\n if (headers) {\n Object.entries(headers).forEach(([k, v]) => reqHeaders = reqHeaders.append(k, v as string));\n }\n const req = new HttpRequest('GET', url, {\n headers: reqHeaders,\n responseType: 'blob',\n reportProgress: progressObserver != null\n });\n return this.http.request(req)\n .pipe(\n map(e => {\n if (progressObserver && progressObserver.next && e.type === HttpEventType.DownloadProgress) {\n progressObserver.next(e);\n }\n return e;\n }),\n filter(e => e.type === HttpEventType.Response),\n map( e => {\n if (progressObserver && progressObserver.complete) {\n progressObserver.complete();\n }\n return (e as HttpResponse<any>);\n })\n )\n .toPromise();\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { File } from '@awesome-cordova-plugins/file/ngx';\n\nimport { noop } from '@wm/core';\n\nimport { IDeviceStartUpService } from './device-start-up-service';\nimport { DeviceFileService } from './device-file.service';\nimport { DeviceFileDownloadService } from './device-file-download.service';\n\ndeclare const cordova;\n\nconst CACHE_FILE_INDEX_NAME = 'appCache.json';\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceFileCacheService implements IDeviceStartUpService {\n static readonly SERVICE_NAME = 'DeviceFileCacheService';\n private _cacheIndex = {};\n private _writing;\n private _saveCache;\n\n public constructor(private cordovaFile: File,\n private fileService: DeviceFileService,\n private downloadService: DeviceFileDownloadService) {\n\n }\n\n public addEntry(url, filepath): void {\n this._cacheIndex[url] = filepath;\n this.writeCacheIndexToFile();\n }\n\n public getLocalPath(url: string, downloadIfNotExists: boolean, isPersistent: boolean, forceRefresh = false): Promise<string> {\n if (forceRefresh) {\n return this.download(url, isPersistent);\n }\n const filePath = this._cacheIndex[url];\n return this.fileService.isValidPath(filePath)\n .catch(() => {\n delete this._cacheIndex[url];\n if (downloadIfNotExists) {\n return this.download(url, isPersistent);\n } else {\n return Promise.reject('No cache entry for ' + url);\n }\n });\n }\n\n public invalidateCache(): void {\n this._cacheIndex = {};\n this.writeCacheIndexToFile();\n this.fileService.clearTemporaryStorage();\n }\n\n public start(): Promise<void> {\n return this.cordovaFile.readAsText(cordova.file.dataDirectory, CACHE_FILE_INDEX_NAME)\n .then(content => {\n this._cacheIndex = JSON.parse(content);\n }, noop);\n }\n\n public getServiceName() {\n return DeviceFileCacheService.SERVICE_NAME;\n }\n\n private download(url: string, isPersistent: boolean): Promise<string> {\n return this.downloadService.download(url, isPersistent)\n .then(filepath => {\n this._cacheIndex[url] = filepath;\n this.writeCacheIndexToFile();\n return filepath;\n });\n }\n\n private writeCacheIndexToFile(): void {\n if (!this._writing) {\n this._writing = true;\n this.cordovaFile.writeFile(cordova.file.dataDirectory, CACHE_FILE_INDEX_NAME, JSON.stringify(this._cacheIndex),\n {\n replace: true\n })\n .catch(noop)\n .then(() => {\n if (this._saveCache) {\n setTimeout(() => {\n this._writing = false;\n this._saveCache = false;\n this.writeCacheIndexToFile();\n }, 5000);\n } else {\n this._writing = false;\n }\n });\n } else {\n this._saveCache = true;\n }\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { File } from '@awesome-cordova-plugins/file/ngx';\nimport { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';\n\nimport { isAndroid, isIos, noop } from '@wm/core';\n\nimport { DeviceFileCacheService } from './device-file-cache.service';\nimport { DeviceFileDownloadService } from './device-file-download.service';\nimport { DeviceFileService } from './device-file.service';\nimport { IDeviceStartUpService } from './device-start-up-service';\nimport {now} from \"lodash-es\";\n\ndeclare const cordova;\ndeclare const resolveLocalFileSystemURL;\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceFileOpenerService implements IDeviceStartUpService {\n static readonly SERVICE_NAME = 'DeviceFileOpenerService';\n\n private _downloadsFolder;\n\n constructor(private cordovaFile: File,\n private cordovaFileOpener: FileOpener,\n private fileService: DeviceFileService,\n private cacheService: DeviceFileCacheService,\n private downloadService: DeviceFileDownloadService) {\n\n }\n\n // this method returns the mime type of file from the filePath.\n public getFileMimeType(filePath): Promise<any> {\n return new Promise<any> ((resolve) => {\n // Read the file entry from the file URL\n resolveLocalFileSystemURL(filePath, fileEntry => {\n fileEntry.file(metadata => {\n resolve(metadata.type);\n });\n });\n });\n }\n\n public openRemoteFile(url: string, extension: string, fileName?: string, headers?: any): Promise<void> {\n return this.getLocalPath(url, extension, fileName, headers)\n .then(filePath => {\n return this.getFileMimeType(filePath).then(type => {\n return this.cordovaFileOpener.open(filePath, type);\n });\n });\n }\n\n public start(): Promise<void> {\n let downloadsParent;\n if (isAndroid()) {\n downloadsParent = cordova.file.externalCacheDirectory;\n } else if (isIos()) {\n downloadsParent = cordova.file.documentsDirectory + 'NoCloud/';\n } else {\n downloadsParent = cordova.file.dataDirectory;\n }\n return this.cordovaFile.createDir(downloadsParent, 'downloads', false)\n .catch(noop)\n .then(() => {\n this._downloadsFolder = downloadsParent + 'downloads/';\n });\n }\n\n public getServiceName() {\n return DeviceFileCacheService.SERVICE_NAME;\n }\n\n private generateFileName(url: string, extension: string): string {\n let fileName = url.split('?')[0];\n fileName = fileName.split('/').pop();\n fileName = this.fileService.appendToFileName(fileName, '' + now());\n if (extension) {\n return fileName.split('.')[0] + '.' + extension;\n }\n return fileName;\n }\n\n private getLocalPath(url: string, extension?: string, filename?: string, headers?: any): Promise<string> {\n return new Promise( (resolve, reject) => {\n return this.cacheService.getLocalPath(url, false, false)\n .then( filePath => {\n let fileName, i, j, fromDir, fromFile;\n // Is it part of downloaded folder.\n if (filePath.startsWith(this._downloadsFolder)) {\n resolve(filePath);\n } else {\n //Extract extension from file downloaded earlier.\n j = filePath.lastIndexOf('.');\n extension = filePath.substring(j + 1);\n fileName = filename || this.generateFileName(url, extension);\n i = filePath.lastIndexOf('/');\n fromDir = filePath.substring(0, i);\n fromFile = filePath.substring(i + 1);\n this.cordovaFile.copyFile(fromDir, fromFile, this._downloadsFolder, fileName)\n .then(() => {\n const newFilePath = this._downloadsFolder + fileName;\n this.cacheService.addEntry(url, newFilePath);\n resolve(newFilePath);\n });\n }\n }).catch(() => {\n this.downloadService.download(url, false, this._downloadsFolder, filename, undefined, headers)\n .then(filePath => {\n this.cacheService.addEntry(url, filePath);\n resolve(filePath);\n }, reject);\n });\n });\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport {File} from '@awesome-cordova-plugins/file/ngx';\n\nimport { $appDigest, hasCordova, noop, fetchContent, isIos } from '@wm/core';\n\nimport { IDeviceStartUpService } from './device-start-up-service';\nimport {forEach} from \"lodash-es\";\n\ndeclare const cordova;\n\nconst REGISTRY_FILE_NAME = 'registry.info';\n\nexport interface Config {\n baseUrl: string;\n customUrlScheme: string;\n customUrl: string;\n buildTime: number;\n enableSSLPinning: boolean;\n offlineStorage: boolean;\n useNativeXHR: boolean;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceService {\n static readonly SERVICE_NAME = 'DeviceService';\n\n private _registry = {};\n private _isReady = false;\n private _whenReadyPromises = [];\n private _backBtnTapListeners = [];\n private _startUpServices: IDeviceStartUpService[] = [];\n private _config: Config = {} as Config;\n\n public constructor(private file: File) {\n const maxWaitTime = 10;\n setTimeout(() => {\n if (!this._isReady) {\n console.warn(`Device is not ready even after ${maxWaitTime} seconds`);\n console.warn('Waiting For %O', this._startUpServices.map(i => i.getServiceName()));\n }\n }, maxWaitTime * 1000);\n document.addEventListener('backbutton', this.executeBackTapListeners.bind(this));\n if (hasCordova()) {\n const port = location.port ? ':' + location.port : '';\n const configUrl = `${location.protocol}//${location.hostname}${port}${isIos() ? '' : '/_www'}/config.json`;\n fetchContent('json', configUrl, true, (response => {\n if (!response.error && response.baseUrl) {\n this._config = response;\n }\n }));\n }\n }\n\n public executeBackTapListeners($event) {\n forEach(this._backBtnTapListeners, fn => {\n return fn($event) !== false;\n });\n // explicitly applying the digest cycle as the backbutton listener is not rendering the page content.\n // This is because zone is not run (there is no change detection)\n // https://weblogs.thinktecture.com/thomas/2017/02/cordova-vs-zonejs-or-why-is-angulars-document-event-listener-not-in-a-zone.html\n $appDigest();\n }\n\n public addStartUpService(service: IDeviceStartUpService) {\n this._startUpServices.push(service);\n }\n\n public onBackButtonTap(fn: ($event) => boolean) {\n this._backBtnTapListeners.unshift(fn);\n return () => {\n const i = this._backBtnTapListeners.indexOf(fn);\n if (i >= 0) {\n this._backBtnTapListeners.splice(i, 1);\n }\n };\n }\n\n public start() {\n if (this._isReady || this._startUpServices.length === 0) {\n this._isReady = true;\n return Promise.resolve();\n } else {\n return new Promise<void>((resolve) => {\n if (hasCordova()) {\n document.addEventListener('deviceready', () => resolve(), false);\n } else {\n resolve();\n }\n }).then(() => {\n if (window['cordova']) {\n return this.file.readAsText(cordova.file.dataDirectory, REGISTRY_FILE_NAME)\n .then(content => this._registry = JSON.parse(content), noop);\n }\n }).then(() => {\n return Promise.all(this._startUpServices.map(s => {\n return s.start().catch((error) => {\n console.error('%s failed to start due to: %O', s.getServiceName(), error);\n return Promise.reject(error);\n });\n }));\n }).then(() => {\n window['wmDeviceReady'] = true;\n document.dispatchEvent(new CustomEvent('wmDeviceReady'));\n this._startUpServices.length = 0;\n this._whenReadyPromises.forEach(fn => fn());\n this._isReady = true;\n });\n }\n }\n\n public getServiceName() {\n return DeviceService.SERVICE_NAME;\n }\n\n public whenReady(): Promise<void> {\n if (this._isReady) {\n return Promise.resolve();\n } else {\n return new Promise<void>((resolve) => {\n this._whenReadyPromises.push(resolve);\n });\n }\n }\n\n public getBaseUrl() {\n return this._config.baseUrl === 'http://NOSERVERREQUIRED.com' ? 'NONE' : this._config.baseUrl;\n }\n\n public isAppConnectedToPreview() {\n return this._config.customUrl !== this._config.baseUrl && this.getBaseUrl() !== 'NONE';\n }\n\n public getConfig(): Config {\n return this._config;\n }\n\n public useNativeXHR() {\n return (isIos() || this._config.useNativeXHR === true)\n && hasCordova()\n && cordova.plugin\n && cordova.plugin.http;\n }\n\n /**\n * @returns {Promise<number>} promise resolved with the app build time\n */\n public getAppBuildTime(): Promise<number> {\n return Promise.resolve(this._config.buildTime);\n }\n\n /**\n * Stores an entry that survives app restarts and updates.\n *\n * @param {string} key\n * @param {Object} value\n * @returns {Promise<any>}\n */\n public storeEntry(key: string, value: Object): Promise<any> {\n this._registry[key] = value;\n return this.file.writeFile(cordova.file.dataDirectory,\n REGISTRY_FILE_NAME,\n JSON.stringify(this._registry),\n { replace: true });\n }\n\n /**\n * @param {string} key\n * @returns {any} entry corresponding to the key\n */\n public getEntry(key: string): any {\n return this._registry[key];\n }\n}\n","import { isIos } from '@wm/core';\n\nconst _XMLHttpRequest = window['XMLHttpRequest'];\nconst cordova = window['cordova'];\n\n\nconst enum EVENT {\n LOAD_START = 'loadstart',\n LOAD = 'load',\n LOAD_END = 'loadend',\n PROGRESS = 'progress',\n ERROR = 'error',\n ABORT = 'abort'\n}\n\nconst STATUS_TEXT = {\n '100': '100 Continue',\n '101': '101 Switching Protocol',\n '102': '102 Processing (WebDAV)',\n '103': '103 Early Hints',\n\n '200': '200 OK',\n '201': '201 Created',\n '202': '202 Accepted',\n '203': '203 Non-Authoritative Information',\n '204': '204 No Content',\n '205': '205 Reset Content',\n '206': '206 Partial Content',\n '207': '207 Multi-Status (WebDAV)',\n '208': '208 Already Reported (WebDAV)',\n '226': '226 IM Used (HTTP Delta encoding)',\n\n '300': '300 Multiple Choice',\n '301': '301 Moved Permanently',\n '302': '302 Found',\n '303': '303 See Other',\n '304': '304 Not Modified',\n '305': '305 Use Proxy',\n '306': '306 unused',\n '307': '307 Temporary Redirect',\n '308': '308 Permanent Redirect'\n};\n\nclass Internals {\n xhr = new _XMLHttpRequest();\n method = 'GET';\n requestHeaders = {};\n responseHeaders = {};\n responseHeaderText = '';\n url = '';\n async = true;\n listeners = {};\n\n constructor(public nXhr: NativeXMLHttpRequest) {}\n\n public triggerListeners(eventName: string, data?: any): void {\n const listeners = this.listeners[eventName];\n if (listeners) {\n listeners.forEach(function (l) {\n l.apply(window, data);\n });\n }\n }\n\n public copyNativeResponse(res): void {\n this.nXhr.status = res.status;\n this.nXhr.statusText = res.statusText || res.status;\n this.nXhr.response = res.data;\n this.nXhr.responseType = (res.headers && res.headers['content-type']) || 'plain/text';\n this.nXhr.responseURL = res.responseURL;\n this.nXhr.responseXML = res.responseXML;\n this.nXhr.responseText = (res.data && res.data.toString()) || res.error;\n this.responseHeaderText = ((): string => {\n const headers = [];\n for (let k in res.headers) {\n headers.push(k + ': ' + res.headers[k]);\n }\n return headers.join('\\r\\n');\n })();\n }\n\n public copyXMLHttpResponse(req: any): void {\n this.nXhr.status = req.status;\n this.nXhr.statusText = req.statusText;\n this.nXhr.response = req.response;\n this.nXhr.responseType = req.responseType;\n this.nXhr.responseURL = req.responseURL;\n this.nXhr.responseXML = req.responseXML;\n this.nXhr.responseText = req.responseText;\n this.responseHeaderText = req.getAllResponseHeaders();\n this.nXhr.readyState = req.readyState;\n this.nXhr.getResponseHeader = header => req.getResponseHeader(header);\n }\n\n public sendViaXhr(body) {\n const self = this;\n this.xhr.onreadystatechange = () => {\n self.copyXMLHttpResponse(self.xhr);\n this.nXhr.onreadystatechange && this.nXhr.onreadystatechange();\n }\n this.xhr.onload = function() {\n self.copyXMLHttpResponse(self.xhr);\n if (self.nXhr.onload) {\n self.nXhr.onload.apply(self.nXhr, arguments);\n }\n };\n this.xhr.onerror = this.nXhr.onerror;\n if (!this.async) {\n this.xhr.ontimeout = this.nXhr.ontimeout;\n this.xhr.timeout = this.nXhr.timeout;\n }\n this.xhr.withCredentials = this.nXhr.withCredentials;\n for (let k in this.listeners) {\n this.xhr.addEventListener(k, e => {\n this.copyXMLHttpResponse(this.xhr);\n this.triggerListeners(e.type);\n });\n }\n this.xhr.send(body);\n }\n\n public close() {\n for (let k in this.listeners) {\n this.listeners[k].length = 0;\n }\n }\n}\n\nexport class NativeXMLHttpRequest {\n public onreadystatechange = null;\n public readyState = 0;\n public response = null;\n public responseType = null;\n public responseText = null;\n public responseURL = null;\n public responseXML = null;\n public status = 0;\n public statusText = '';\n public ontimeout = null;\n public onload = null;\n public onloadend = null;\n public onerror = null;\n public timeout = 0;\n public withCredentials = false;\n private progress = {\n lengthComputable: false,\n loaded : 0,\n total: 0,\n close: (success = false): void => {}\n };\n public upload = {\n addEventListener : this.addEventListener.bind(this)\n };\n private _internal = new Internals(this);\n\n public abort() {\n this.status = -1;\n this._internal.triggerListeners(EVENT.ERROR);\n this.onerror && this.onerror();\n this._internal.xhr.abort();\n this.close();\n }\n\n public getResponseHeader(name: string) {\n return this.response.headers[name];\n }\n\n public getAllResponseHeaders() {\n return this._internal.responseHeaderText;\n }\n\n public setRequestHeader(header: string, value: string) {\n this._internal.requestHeaders[header] = value;\n this._internal.xhr.setRequestHeader(header, value);\n }\n\n public overrideMimeType(mime: string) {\n this._internal.xhr.overrideMimeType(mime);\n }\n\n public open(method: string, url: string, async = true, user?: string, password?: string) {\n this._internal.method = method;\n this._internal.url = url;\n this._internal.async = async;\n this._internal.xhr.open(method, url, async, user, password);\n }\n\n public send(body?: any, useBrowserXHR = false) {\n if (useBrowserXHR\n || this._internal.url.startsWith('http://localhost')\n || !this._internal.url.startsWith('http')) {\n this._internal.sendViaXhr(body);\n } else if (this.responseType === 'blob') {\n this.sendBlobViaNativePlugin(body);\n } else {\n this.sendViaNativePlugin(body);\n }\n };\n\n public addEventListener(eventName: string, handler: () => any) {\n this._internal.listeners[eventName] = this._internal.listeners[eventName] || [];\n this._internal.listeners[eventName].push(handler);\n }\n\n public removeEventListener(eventName: string, handler: () => any) {\n if (this._internal.listeners[eventName]) {\n const i = this._internal.listeners[eventName].indexOf(handler);\n this._internal.listeners[eventName].splice(i, 1);\n }\n }\n\n private prepareOptions(body: any) {\n body = body || {};\n const options = {\n headers: {},\n data: body,\n method: this._internal.method,\n serializer: 'raw'\n };\n\n if (body != null && body != undefined) {\n if (body.constructor && body.constructor.toString().indexOf('FormData()') >= 0) {\n options.serializer = 'multipart';\n this.startProgress();\n } else if(typeof body === 'string') {\n options.serializer = 'utf8';\n } else {\n options.serializer = 'urlencoded';\n }\n }\n for (let key in this._internal.requestHeaders) {\n options.headers[key] = this._internal.requestHeaders[key];\n }\n return options;\n }\n\n /*\n * Native plugin didn't provide any API to track upload progress.\n * This method generates a synthetic event which does not co-relates with the actual upload progress.\n */\n private startProgress(total?) {\n const _1mb = 1024 * 1024 * 8;\n total = total || _1mb;\n const interval = Math.ceil(total / _1mb) * 200;\n const slice = Math.ceil(total / _1mb) * (_1mb / 10);\n this.progress = {\n lengthComputable: true,\n loaded : 0,\n total: total,\n close: null\n };\n const triggerEvent = () => {\n this._internal.triggerListeners(EVENT.PROGRESS, [{\n lengthComputable: true,\n total: this.progress.total,\n loaded: this.progress.loaded\n }]);\n };\n const intervalId = setInterval(() => {\n if(this.progress.loaded + slice < total) {\n this.progress.loaded += slice;\n }\n triggerEvent();\n }, interval);\n this.progress.close = (success = false) => {\n if (success) {\n this.progress.loaded = this.progress.total;\n }\n triggerEvent();\n clearInterval(intervalId);\n };\n }\n\n private sendBlobViaNativePlugin(body: any): void {\n const options = this.prepareOptions(body);\n const tempfile = (isIos() ? cordova.file.tempDirectory : cordova.file.cacheDirectory) + Date.now();\n const timerId = setTimeout(() => {\n if(this.timeout > 0) {\n console.error('network call with request %O failed with timeout', this);\n this._internal.triggerListeners(EVENT.LOAD);\n this._internal.triggerListeners(EVENT.ERROR);\n this.onerror && this.onerror();\n this.ontimeout && this.ontimeout();\n this.close();\n }\n }, this.timeout > 0 ? this.timeout : 1);\n const onSuccess = (file, response) => {\n const res = {\n headers: (response && response.headers) || {},\n status: 200,\n data: file\n };\n let contentType = (response && response.headers && response.headers['content-type']);\n if (contentType) {\n res.data.type = contentType.split(';')[0];\n }\n console.log('network call with request %O successed with response : %O', this, res);\n this._internal.copyNativeResponse(res);\n this._internal.triggerListeners(EVENT.LOAD);\n this.onload && this.onload();\n this.onloadend && this.onloadend();\n clearTimeout(timerId);\n this.readyState = 4;\n this.onreadystatechange && this.onreadystatechange();\n };\n const onError = (response) => {\n console.error('network call with request %O failed with response : %O', this, response);\n this._internal.triggerListeners(EVENT.LOAD, [response]);\n this._internal.triggerListeners(EVENT.ERROR, [response]);\n this.onerror && this.onerror();\n this.onloadend && this.onloadend();\n clearTimeout(timerId);\n this.readyState = 4;\n this.onreadystatechange && this.onreadystatechange();\n };\n cordova.plugin.http.downloadFile(new URL(this._internal.url).href, {}, options.headers, tempfile,\n (entry, response) => {\n entry.file(f => onSuccess(f, response), onError);\n }, onError);\n \n this.readyState = 1;\n this.onreadystatechange && this.onreadystatechange();\n }\n\n private sendViaNativePlugin(body: any) {\n const options = this.prepareOptions(body);\n const timerId = setTimeout(() => {\n if(this.timeout > 0) {\n console.error('network call with request %O failed with timeout', this);\n this._internal.triggerListeners(EVENT.LOAD);\n this._internal.triggerListeners(EVENT.ERROR);\n this.ontimeout && this.ontimeout();\n this.close();\n }\n }, this.timeout > 0 ? this.timeout : 1);\n new Promise((resolve, reject) => {\n cordova.plugin.http.sendRequest(new URL(this._internal.url).href, options, resolve, reject);\n this.readyState = 1;\n this.onreadystatechange && this.onreadystatechange();\n }).then(response => {\n console.log('network call with request %O successed with response : %O', this, response);\n this.progress.close(true);\n this._internal.copyNativeResponse(response);\n this._internal.triggerListeners(EVENT.LOAD);\n this.onload && this.onload();\n this.onloadend && this.onloadend();\n }, response => {\n this.progress.close();\n this._internal.copyNativeResponse(response);\n console.error('network call with request %O failed with response : %O', this, response);\n this._internal.triggerListeners(EVENT.LOAD, [response]);\n this._internal.triggerListeners(EVENT.ERROR, [response]);\n this.onerror && this.onerror();\n this.onloadend && this.onloadend();\n }).finally(() => {\n this.readyState = 4;\n this.onreadystatechange && this.onreadystatechange();\n clearTimeout(timerId);\n });\n }\n\n private close() {\n this.ontimeout = null;\n this.onload = null;\n this.onerror = null;\n this.onreadystatechange = null;\n this._internal.close();\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { Network } from '@awesome-cordova-plugins/network/ngx';\n\nimport { App, getAbortableDefer, hasCordova, isIos, noop, retryIfFails } from '@wm/core';\n\nimport { IDeviceStartUpService } from './device-start-up-service';\nimport { NativeXMLHttpRequest } from './../native.xhr';\nimport { DeviceService } from './device.service';\nimport {clone, endsWith, find, get, isEqual, startsWith} from \"lodash-es\";\n\ndeclare const navigator;\n\nconst AUTO_CONNECT_KEY = 'WM.NetworkService._autoConnect',\n IS_CONNECTED_KEY = 'WM.NetworkService.isConnected',\n excludedList = [new RegExp('/wmProperties.js')],\n networkState = {\n isConnecting : false,\n isConnected : true,\n isNetworkAvailable : true,\n isServiceAvailable : true,\n noServiceRequired: false\n };\n\nlet XML_HTTP_REQUEST = null;\n\n/**\n * If server is not connected and url does not match the unblock list of regular expressions,\n * then this function return true. Otherwise, return false.\n * @param url\n * @returns {boolean}\n */\nconst blockUrl = url => {\n let block = !networkState.isConnected && startsWith(url, 'http');\n if (block) {\n block = !find(excludedList, regExp => regExp.test(url));\n }\n return block;\n};\n\nconst getXMLHttpRequestToUse = ((useNativeXHR: boolean) => {\n const clazz = useNativeXHR ? NativeXMLHttpRequest : XMLHttpRequest;\n const orig = clazz.prototype.open;\n // Intercept all XHR calls\n clazz.prototype.open = function (method: string, url: string, async: boolean = true, user?: string, password?: string) {\n if (!networkState.noServiceRequired && blockUrl(url)) {\n const urlSplits = url.split('://');\n const pathIndex = urlSplits[1].indexOf('/');\n urlSplits[1] = 'localhost' + (pathIndex > 0 ? urlSplits[1].substr(pathIndex) : '/');\n url = urlSplits.join('://');\n }\n return orig.apply(this, [method, url, async, user, password]);\n };\n return clazz;\n});\n\n@Injectable({ providedIn: 'root' })\nexport class NetworkService implements IDeviceStartUpService {\n static readonly SERVICE_NAME = 'NetworkService';\n\n private _autoConnect = localStorage.getItem(AUTO_CONNECT_KEY) !== 'false';\n private _lastKnownNetworkState: any;\n private _isCheckingServer = false;\n\n constructor(private httpClient: HttpClient, private app: App, private network: Network, private deviceService: DeviceService) {\n networkState.isConnected = localStorage.getItem(IS_CONNECTED_KEY) === 'true';\n XML_HTTP_REQUEST = XML_HTTP_REQUEST || getXMLHttpRequestToUse(deviceService.useNativeXHR());\n }\n\n /**\n * This method attempts to connect app to the server and returns a promise that will be resolved with\n * a boolean value based on the operation result.\n *\n * @returns {object} promise\n */\n public connect(): Promise<boolean> {\n this.setAutoConnect(true);\n return this.tryToConnect();\n }\n\n /**\n * When the auto connect is enabled, then app is automatically connected whenever server is available.\n * Every time when app goes offline, auto connect is enabled. Before app coming to online, one can disable\n * the auto connection flow using this method.\n */\n public disableAutoConnect = () => this.setAutoConnect(false);\n\n /**\n * This method disconnects the app from the server and returns a promise that will be resolved with\n * a boolean value based on the operation result. Use connect method to reconnect.\n *\n * @returns {object} promise\n */\n public disconnect(): Promise<boolean> {\n const p = this.tryToDisconnect();\n this.disableAutoConnect();\n return p;\n }\n\n /**\n * If pingServer is true, then it returns a promise that will be resolved with boolean based on service availability\n * check.If pingServer is false, returns a boolean value based on the last known service availability.\n *\n * @returns {boolean} if pingServer is true, then a promise is returned. Otherwise, a boolean value.\n */\n public isAvailable(pingServer = false): boolean | Promise<boolean> {\n if (pingServer) {\n return this.isServiceAvailable().then(() => {\n this.checkForNetworkStateChange();\n return networkState.isServiceAvailable;\n });\n }\n return networkState.isServiceAvailable;\n }\n\n /**\n * Returns true, if app is connected to server. Otherwise, returns false.\n *\n * @returns {boolean} Returns true, if app is connected to server. Otherwise, returns false.\n */\n public isConnected = () => {\n // checking for connection type.\n if (get(navigator, 'connection') && navigator.connection.type) {\n networkState.isConnected = networkState.isConnected && (navigator.connection.type !== 'none');\n }\n this.checkForNetworkStateChange();\n return networkState.isConnected;\n }\n\n /**\n * Returns true if app is trying to connect to server. Otherwise, returns false.\n *\n * @returns {boolean} Returns true if app is trying to connect to server. Otherwise, returns false.\n */\n public isConnecting = () => networkState.isConnecting;\n\n /**\n * This method returns a promise that is resolved when connection is established with server.\n *\n * @returns {object} promise a promise that is resolved with the returned object of fn\n */\n public onConnect() {\n let defer,\n cancelSubscription;\n if (this.isConnected()) {\n return Promise.resolve();\n }\n defer = getAbortableDefer();\n cancelSubscription = this.app.subscribe('onNetworkStateChange', () => {\n if (this.isConnected()) {\n defer.resolve(true);\n cancelSubscription();\n }\n });\n defer.promise.catch(function () {\n cancelSubscription();\n });\n return defer.promise;\n }\n\n /**\n * This is a util method. If fn cannot execute successfully and network lost connection, then the fn will\n * be invoked when network is back. The returned can also be aborted.\n *\n * @param {function()} fn method to invoke.\n * @returns {object} promise a promise that is resolved with the returned object of fn\n */\n public retryIfNetworkFails(fn) {\n const defer = getAbortableDefer();\n retryIfFails(fn, 0, 0, () => {\n let onConnectPromise;\n if (!this.isConnected()) {\n onConnectPromise = this.onConnect();\n defer.promise.catch(function () {\n onConnectPromise.abort();\n });\n return onConnectPromise;\n }\n return false;\n }).then(defer.resolve, defer.reject);\n return defer.promise;\n }\n\n public start(): Promise<any> {\n if (window['cordova']) {\n // Connection constant will be available only when network plugin is included.\n if (window['Connection'] && navigator.connection) {\n networkState.isNetworkAvailable = navigator.connection.type !== 'none';\n networkState.isConnected = networkState.isNetworkAvailable && networkState.isConnected;\n /*\n * When the device comes online, check is the service is available. If the service is available and auto\n * connect flag is true, then app is automatically connected to remote server.\n */\n this.network.onConnect().subscribe(() => {\n networkState.isNetworkAvailable = true;\n this.tryToConnect().catch(noop);\n });\n\n /*\n *When device goes offline, then change the network state and emit that notifies about network state change.\n */\n this.network.onDisconnect().subscribe(() => {\n networkState.isNetworkAvailable = false;\n networkState.isServiceAvailable = false;\n this.tryToDisconnect();\n });\n\n this.app.subscribe('onNetworkStateChange', (data) => {\n /**\n * If network is available and server is not available,then\n * try to connect when server is available.\n */\n if (data.isNetworkAvailable && !data.isServiceAvailable && !this._isCheckingServer && !data.noServiceRequired) {\n this._isCheckingServer = true;\n this.checkForServiceAvailiblity().then(() => {\n this._isCheckingServer = false;\n this.connect();\n }, () => {\n this._isCheckingServer = false;\n });\n }\n });\n }\n }\n // to set the default n/w connection values.\n return this.tryToConnect(true).catch(noop);\n }\n\n public getServiceName() {\n return NetworkService.SERVICE_NAME;\n }\n\n /**\n * This function adds the given regular expression to the unblockList. Even app is in offline mode,\n * the urls matching with the given regular expression are not blocked by NetworkService.\n *\n * @param {string} urlRegex regular expression\n */\n public unblock(urlRegex: string) {\n excludedList.push(new RegExp(urlRegex));\n }\n\n public getState() {\n return clone(networkState);\n }\n\n private checkForNetworkStateChange() {\n if (!isEqual(this._lastKnownNetworkState, networkState)) {\n this._lastKnownNetworkState = clone(networkState);\n this.app.notify('onNetworkStateChange', this._lastKnownNetworkState);\n }\n }\n\n /**\n * Returns a promise that is resolved when server is available.\n * @returns {*}\n */\n private checkForServiceAvailiblity(): Promise<void> {\n const maxTimeout = 4500;\n return new Promise<void>(resolve => {\n const intervalId = setInterval(() => {\n if (networkState.isNetworkAvailable) {\n this.isServiceAvailable(maxTimeout).then(available => {\n if (available) {\n clearInterval(intervalId);\n resolve();\n }\n });\n }\n }, 5000);\n });\n }\n\n /**\n * Pings server to check whether server is available. Based on ping response network state is modified.\n * @returns {*} a promise that resolved with true, if server responds with valid status.\n * Otherwise, the promise is resolved with false.\n */\n private isServiceAvailable(maxTimeout?: number): Promise<boolean> {\n if (this.app.deployedUrl === 'NONE') {\n networkState.isServiceAvailable = false;\n networkState.noServiceRequired = true;\n return Promise.resolve(false);\n }\n return this.pingServer(maxTimeout).then(response => {\n networkState.isServiceAvailable = response;\n if (!networkState.isServiceAvailable) {\n networkState.isConnecting = false;\n networkState.isConnected = false;\n }\n return response;\n });\n }\n\n /**\n * Pings server\n * @returns {*} a promise that resolved with true, if server responds with valid status.\n * Otherwise, the promise is resolved with false.\n * default timeout value is 1min.\n */\n private pingServer(maxTimeout = 60000): Promise<boolean> {\n return new Promise<boolean>(resolve => {\n const oReq = new XML_HTTP_REQUEST();\n let baseURL = this.app.deployedUrl;\n if (baseURL && !endsWith(baseURL, '/')) {\n baseURL += '/';\n } else {\n baseURL = baseURL || '';\n }\n\n const timer = setTimeout(() => {\n oReq.abort(); // abort request\n resolve(false);\n }, maxTimeout);\n\n oReq.addEventListener('load', () => {\n if (oReq.status === 200) {\n resolve(true);\n } else {\n resolve(false);\n }\n if (timer) {\n clearTimeout(timer);\n }\n });\n\n oReq.addEventListener('error', () => resolve(false));\n oReq.open('GET', baseURL + 'services/application/wmProperties.js?t=' + Date.now());\n oReq.send();\n });\n }\n\n private setAutoConnect(flag: boolean): void {\n this._autoConnect = flag;\n localStorage.setItem(AUTO_CONNECT_KEY, '' + flag);\n }\n\n /**\n * Tries to connect to remote server. Network State will be changed based on the success of connection\n * operation and emits an event notifying the network state change.\n *\n * @param silentMode {boolean} if true and connection is successful, then no event is emitted. Otherwise,\n * events are emitted for network status change.\n * @returns {*} a promise\n */\n private tryToConnect(silentMode = false): Promise<boolean> {\n return new Promise<boolean>((resolve, reject) => {\n this.isServiceAvailable(5000).then(() => {\n if (networkState.isServiceAvailable && this._autoConnect) {\n networkState.isConnecting = true;\n if (!silentMode) {\n this.checkForNetworkStateChange();\n }\n setTimeout(() => {\n networkState.isConnecting = false;\n networkState.isConnected = true;\n localStorage.setItem(IS_CONNECTED_KEY, '' + true);\n if (!silentMode) {\n this.checkForNetworkStateChange();\n }\n resolve(true);\n }, silentMode ? 0 : 5000);\n } else {\n networkState.isConnecting = false;\n networkState.isConnected = false;\n localStorage.setItem(IS_CONNECTED_KEY, '' + false);\n reject();\n this.checkForNetworkStateChange();\n }\n });\n });\n }\n\n private tryToDisconnect(): Promise<boolean> {\n networkState.isConnected = false;\n networkState.isConnecting = false;\n this.checkForNetworkStateChange();\n localStorage.setItem(IS_CONNECTED_KEY, '' + networkState.isConnected);\n return Promise.resolve(networkState.isConnected);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { hasCordova, isIos } from '@wm/core';\n\nimport { DeviceFileCacheService } from './services/device-file-cache.service';\nimport { DeviceFileOpenerService } from './services/device-file-opener.service';\nimport { DeviceFileService } from './services/device-file.service';\nimport { DeviceService } from './services/device.service';\nimport { NetworkService } from './services/network.service';\nimport { NativeXMLHttpRequest } from './native.xhr';\n\ndeclare const cordova;\n\n@NgModule({\n declarations: [],\n imports: [],\n providers: [\n // add providers to mobile-runtime module.\n ],\n bootstrap: []\n})\nexport class MobileCoreModule {\n static initialized = false;\n // Startup services have to be added only once in the app life-cycle.\n static addStartupServices(deviceService: DeviceService,\n deviceFileService: DeviceFileService,\n fileCacheService: DeviceFileCacheService,\n fileOpener: DeviceFileOpenerService,\n networkService: NetworkService) {\n if (this.initialized) {\n return;\n }\n deviceService.addStartUpService(networkService);\n if (hasCordova()) {\n deviceService.addStartUpService(deviceFileService);\n deviceService.addStartUpService(fileCacheService);\n deviceService.addStartUpService(fileOpener);\n }\n this.initialized = true;\n }\n\n constructor(\n deviceService: DeviceService,\n deviceFileService: DeviceFileService,\n fileCacheService: DeviceFileCacheService,\n fileOpener: DeviceFileOpenerService,\n networkService: NetworkService\n ) {\n MobileCoreModule.addStartupServices(deviceService, deviceFileService, fileCacheService, fileOpener, networkService);\n const isSSLPinningEnabled = deviceService.getConfig().enableSSLPinning;\n if (hasCordova()) {\n document.addEventListener('wmDeviceReady', () => {\n if (deviceService.useNativeXHR()) {\n // ### ANGULAR9TODO###\n // Adding type as any to avoid error TS2739:\n (<any>window)['XMLHttpRequest'] = NativeXMLHttpRequest;\n if (isSSLPinningEnabled) {\n cordova.plugin.http.setServerTrustMode('pinned', () => {\n console.log('SSL Pinning enabled.!');\n }, e => {\n console.log('Failed to enable SSL Pinning. Due to: ' + e);\n }); \n }\n this.overrideResolveLocalFileSystemURL();\n }\n }, false);\n }\n }\n\n private overrideResolveLocalFileSystemURL() {\n const or = window['resolveLocalFileSystemURL'];\n window['resolveLocalFileSystemURL'] = (path, onSuccess, onError) => {\n if (path && path.startsWith('http://localhost')) {\n path = new URL(path).pathname;\n const lf = '/local-filesystem';\n if (path.startsWith(lf)) {\n path = 'file://' + path.substring(lf.length);\n }\n }\n or.call(window, path, onSuccess, onError);\n };\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { File } from '@awesome-cordova-plugins/file/ngx';\n\nimport { convertToBlob } from '@wm/core';\nimport {forEach} from \"lodash-es\";\n\nexport interface IUploadResponse {\n text: string;\n response: any;\n headers: (string) => string;\n}\n\nexport class UploadRequest {\n\n private _files = [];\n private _params = [];\n private _headers = [];\n\n constructor (private url: string, private cordovaFile: File) {\n\n }\n\n public addFile(name: string, path: string, filename: string): UploadRequest {\n this._files.push({\n name: name,\n path: path,\n fileName: filename\n });\n return this;\n }\n\n public addHeader(name: string, value: string): UploadRequest {\n this._headers.push({\n name: name,\n value: value\n });\n return this;\n }\n\n public addParam(name: string, value: string): UploadRequest {\n this._params.push({\n name: name,\n value: value\n });\n return this;\n }\n\n public post(): Promise<IUploadResponse> {\n const formData = new FormData();\n this._params.forEach( e => formData.append(e.name, e.value));\n return Promise.all(this._files.map( e => {\n if (e.path) {\n return convertToBlob(e.path)\n .then(result => {\n return {\n name: e.name,\n fileName: e.fileName,\n blob: result.blob\n };\n });\n }\n return e;\n })).then(params => {\n params.forEach(e => formData.append(e.name, e.blob || e.path, e.fileName));\n return new Promise<IUploadResponse>((resolve, reject) => {\n const request = new XMLHttpRequest();\n request.open('POST', this.url);\n this._headers.forEach(e => request.setRequestHeader(e.name, e.value));\n request.onload = () => {\n resolve({\n headers: (name: string) => request.getResponseHeader(name),\n response: request.response,\n text: request.responseText as string\n });\n };\n request.onerror = reject;\n request.onabort = reject;\n request.send(formData);\n });\n });\n }\n}\n\n@Injectable({ providedIn: 'root' })\nexport class DeviceFileUploadService {\n static readonly SERVICE_NAME = 'DeviceFileUploadService';\n constructor(private cordovaFile: File) {}\n\n public upload(url: string, fileParamName: string, path: string, fileName?: string, params?: any, headers?: any): Promise<IUploadResponse> {\n const req = new UploadRequest(url, this.cordovaFile)\n .addFile(fileParamName, path, fileName);\n forEach(params, (k, v) => req.addParam(k, v));\n forEach(headers, (k, v) => req.addHeader(k, v));\n return req.post();\n }\n\n}\n","import { Injectable } from '@angular/core';\n\nimport { App, getValidJSON } from '@wm/core';\nimport {forEach, remove, split, startsWith} from \"lodash-es\";\n\ninterface Message {\n address: string;\n data: Map<string, string>;\n}\n\ninterface Handler {\n pattern: string;\n callback: (msg: string) => any;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class ExtAppMessageService {\n static readonly SERVICE_NAME = 'ExtAppMessageService';\n private handlers = [];\n\n constructor(private app: App) {\n document.addEventListener('externalAppMessageReceived', e => {\n const message = (e['detail'].message) as Message;\n this.handlers.forEach(handler => {\n const matches = handler && message.address.match(handler.pattern);\n if (matches && matches.length > 0) {\n handler.callBack(message);\n }\n });\n });\n }\n\n /**\n * adds a listener for a message whose address matches with the given regex pattern.\n *\n * @param {string} messageAddressPattern a regex pattern that is used to target messages to listen.\n * @param {Function} listener function to invoke when message that matches regex is received.\n * message received will be sent as first argument.\n * @returns {Function} a function which removes the listener when invoked.\n */\n public subscribe(messageAddressPattern, listener: (msg: Message) => any) {\n const handler = {\n pattern : new RegExp(messageAddressPattern),\n callBack : listener\n };\n this.handlers.push(handler);\n return () => remove(this.handlers, handler);\n }\n\n}\n\n(function (window, document) {\n 'use strict';\n // listen app-to-app communication via url schemes\n function subString(str, begin, end) {\n end = end < 0 ? undefined : end;\n return (str && begin >= 0 && str.length > begin && str.substring(begin, end)) || undefined;\n }\n function indexOf(str, pattern) {\n return str && str.indexOf(pattern);\n }\n /**\n * returns if oAuth flow is implicit or pkce using state object in redirect_uri response.\n *\n * @param {url} string which contains access token and state information.\n * @returns {Boolean}\n */\n function getFlow(url) {\n if (!url) {\n return false;\n }\n const stateObj = url.match(/\\{([^)]+)\\}/);\n if (stateObj) {\n const parsedObj = getValidJSON('{' + stateObj[1] + '}');\n if (parsedObj && parsedObj.flow) {\n return parsedObj.flow;\n }\n }\n return false;\n }\n function extractData(url) {\n let str = subString(url, indexOf(url, '?') + 1, indexOf(url, '#'));\n const data = {}, flow = getFlow(url);\n // access token comes as a hash for implicit flow\n if (flow === 'implicit') {\n str = url.match(/access_token=([^&#]*)/)[0];\n } else if (flow === 'pkce') {\n str = url.match(/code=([^&#]*)/)[0];\n }\n forEach(split(str, '&'), entry => {\n const esplits = entry.split('=');\n data[esplits[0]] = esplits[1];\n });\n return data;\n }\n function extractAddress(url) {\n // access token comes as a hash for implicit flow\n const addressKey = getFlow(url) === 'implicit' ? '#' : '?';\n return subString(url, indexOf(url, '://') + 3, indexOf(url, addressKey));\n }\n function createMessage(url) {\n return {\n 'address': extractAddress(url),\n 'data': extractData(url)\n };\n }\n window['handleOpenURL'] = function (url) {\n const handleOpenURL = window['handleOpenURL'];\n if (handleOpenURL.isReady && !startsWith(url, 'http')) {\n const message = createMessage(url);\n const e = new window['CustomEvent']('externalAppMessageReceived', {\n 'detail': {\n 'message': message\n }\n });\n document.dispatchEvent(e);\n }\n handleOpenURL.lastURL = url;\n };\n}(window, document));\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i2","i1","i3.DeviceFileService","i2.DeviceFileService","i3.DeviceFileDownloadService","i4.DeviceFileCacheService","i5.DeviceFileDownloadService","cordova","i4.DeviceService","i1.DeviceService","i3.DeviceFileCacheService","i4.DeviceFileOpenerService","i5.NetworkService"],"mappings":";;;;;;;;;;;;;;IAcY;AAAZ,CAAA,UAAY,QAAQ,EAAA;AAChB,IAAA,QAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,QAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,QAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,QAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACnB,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O,CAAC,CAAC,CAAC;AACjC,SAAC,CAAC;AACF,QAAA,OAAO,IAAI;;IAEf,SAAS,cAAc,CAAC,GAAG,EAAA;;AAEvB,QAAA,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,UAAU,GAAG,GAAG,GAAG,GAAG;QAC1D,OAAO,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;;IAE5E,SAAS,aAAa,CAAC,GAAG,EAAA;QACtB,OAAO;AACH,YAAA,SAAS,EAAE,cAAc,CAAC,GAAG,CAAC;AAC9B,YAAA,MAAM,EAAE,WAAW,CAAC,GAAG;SAC1B;;AAEL,IAAA,MAAM,CAAC,eAAe,CAAC,GAAG,UAAU,GAAG,EAAA;AACnC,QAAA,MAAM,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AAC7C,QAAA,IAAI,aAAa,CAAC,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE;AACnD,YAAA,MAAM,OAAO,GAAG,aAAa,CAAC,GAAG,CAAC;YAClC,MAAM,CAAC,GAAG,IAAI,MAAM,CAAC,aAAa,CAAC,CAAC,4BAA4B,EAAE;AAC9D,gBAAA,QAAQ,EAAE;AACN,oBAAA,SAAS,EAAE;AACd;AACJ,aAAA,CAAC;AACF,YAAA,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;;AAE7B,QAAA,aAAa,CAAC,OAAO,GAAG,GAAG;AAC/B,KAAC;AACL,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC;;ACvHnB;;AAEG;;;;"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@wm/mobile/core" />
5
- export * from './public_api';
@@ -1,36 +0,0 @@
1
- export declare class NativeXMLHttpRequest {
2
- onreadystatechange: any;
3
- readyState: number;
4
- response: any;
5
- responseType: any;
6
- responseText: any;
7
- responseURL: any;
8
- responseXML: any;
9
- status: number;
10
- statusText: string;
11
- ontimeout: any;
12
- onload: any;
13
- onloadend: any;
14
- onerror: any;
15
- timeout: number;
16
- withCredentials: boolean;
17
- private progress;
18
- upload: {
19
- addEventListener: any;
20
- };
21
- private _internal;
22
- abort(): void;
23
- getResponseHeader(name: string): any;
24
- getAllResponseHeaders(): string;
25
- setRequestHeader(header: string, value: string): void;
26
- overrideMimeType(mime: string): void;
27
- open(method: string, url: string, async?: boolean, user?: string, password?: string): void;
28
- send(body?: any, useBrowserXHR?: boolean): void;
29
- addEventListener(eventName: string, handler: () => any): void;
30
- removeEventListener(eventName: string, handler: () => any): void;
31
- private prepareOptions;
32
- private startProgress;
33
- private sendBlobViaNativePlugin;
34
- private sendViaNativePlugin;
35
- private close;
36
- }
@@ -1,28 +0,0 @@
1
- {
2
- "name": "@wm/mobile/core",
3
- "sideEffects": false,
4
- "version": "0.0.1",
5
- "dependencies": {
6
- "tslib": "^2.0.0"
7
- },
8
- "peerDependencies": {
9
- "@angular/common": "^15.2.9",
10
- "@angular/core": "^15.2.9"
11
- },
12
- "module": "fesm2022/index.mjs",
13
- "typings": "index.d.ts",
14
- "exports": {
15
- "./package.json": {
16
- "default": "./package.json"
17
- },
18
- ".": {
19
- "types": "./index.d.ts",
20
- "esm2022": "./esm2022/index.mjs",
21
- "esm": "./esm2022/index.mjs",
22
- "default": "./fesm2022/index.mjs"
23
- }
24
- },
25
- "scripts": {
26
- "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
27
- }
28
- }
@@ -1,11 +0,0 @@
1
- export * from './core.module';
2
- export * from './services/device-file-cache.service';
3
- export * from './services/device-file-download.service';
4
- export * from './services/device-file-opener.service';
5
- export * from './services/device-file.service';
6
- export * from './services/device-file-upload.service';
7
- export * from './services/device.service';
8
- export * from './services/device-start-up-service';
9
- export * from './services/ext-app-message.service';
10
- export * from './services/network.service';
11
- export * from './services/device-start-up-service';
@@ -1,24 +0,0 @@
1
- import { File } from '@awesome-cordova-plugins/file/ngx';
2
- import { IDeviceStartUpService } from './device-start-up-service';
3
- import { DeviceFileService } from './device-file.service';
4
- import { DeviceFileDownloadService } from './device-file-download.service';
5
- import * as i0 from "@angular/core";
6
- export declare class DeviceFileCacheService implements IDeviceStartUpService {
7
- private cordovaFile;
8
- private fileService;
9
- private downloadService;
10
- static readonly SERVICE_NAME = "DeviceFileCacheService";
11
- private _cacheIndex;
12
- private _writing;
13
- private _saveCache;
14
- constructor(cordovaFile: File, fileService: DeviceFileService, downloadService: DeviceFileDownloadService);
15
- addEntry(url: any, filepath: any): void;
16
- getLocalPath(url: string, downloadIfNotExists: boolean, isPersistent: boolean, forceRefresh?: boolean): Promise<string>;
17
- invalidateCache(): void;
18
- start(): Promise<void>;
19
- getServiceName(): string;
20
- private download;
21
- private writeCacheIndexToFile;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceFileCacheService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceFileCacheService>;
24
- }
@@ -1,36 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { File } from '@awesome-cordova-plugins/file/ngx';
3
- import { Observer } from 'rxjs';
4
- import { FileExtensionFromMimePipe } from '@wm/components/base';
5
- import { DeviceFileService } from './device-file.service';
6
- import * as i0 from "@angular/core";
7
- export declare class DeviceFileDownloadService {
8
- private cordovaFile;
9
- private http;
10
- private deviceFileService;
11
- fileExtensionFromMimePipe: FileExtensionFromMimePipe;
12
- static readonly SERVICE_NAME = "DeviceFileDownloadService";
13
- private _downloadQueue;
14
- private _concurrentDownloads;
15
- constructor(cordovaFile: File, http: HttpClient, deviceFileService: DeviceFileService, fileExtensionFromMimePipe: FileExtensionFromMimePipe);
16
- download(url: string, isPersistent: boolean, destFolder?: string, destFile?: string, progressObserver?: Observer<any>, headers?: any): Promise<string>;
17
- private addToDownloadQueue;
18
- private downloadNext;
19
- private downloadFile;
20
- /**
21
- * Returns the filename
22
- * 1. if filename exists just return
23
- * 2. retrieve the filename from response headers i.e. content-disposition
24
- * 3. pick the filename from the end of the url
25
- * If filename doesnt contain the extension then extract using mimeType.
26
- * Generates newFileName if filename already exists.
27
- * @param response, download file response
28
- * @param req, download request params
29
- * @param mimeType mime type of file
30
- * @returns {Promise<string>}
31
- */
32
- private getFileName;
33
- private sendHttpRequest;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceFileDownloadService, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceFileDownloadService>;
36
- }
@@ -1,25 +0,0 @@
1
- import { File } from '@awesome-cordova-plugins/file/ngx';
2
- import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';
3
- import { DeviceFileCacheService } from './device-file-cache.service';
4
- import { DeviceFileDownloadService } from './device-file-download.service';
5
- import { DeviceFileService } from './device-file.service';
6
- import { IDeviceStartUpService } from './device-start-up-service';
7
- import * as i0 from "@angular/core";
8
- export declare class DeviceFileOpenerService implements IDeviceStartUpService {
9
- private cordovaFile;
10
- private cordovaFileOpener;
11
- private fileService;
12
- private cacheService;
13
- private downloadService;
14
- static readonly SERVICE_NAME = "DeviceFileOpenerService";
15
- private _downloadsFolder;
16
- constructor(cordovaFile: File, cordovaFileOpener: FileOpener, fileService: DeviceFileService, cacheService: DeviceFileCacheService, downloadService: DeviceFileDownloadService);
17
- getFileMimeType(filePath: any): Promise<any>;
18
- openRemoteFile(url: string, extension: string, fileName?: string, headers?: any): Promise<void>;
19
- start(): Promise<void>;
20
- getServiceName(): string;
21
- private generateFileName;
22
- private getLocalPath;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceFileOpenerService, never>;
24
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceFileOpenerService>;
25
- }
@@ -1,27 +0,0 @@
1
- import { File } from '@awesome-cordova-plugins/file/ngx';
2
- import * as i0 from "@angular/core";
3
- export interface IUploadResponse {
4
- text: string;
5
- response: any;
6
- headers: (string: any) => string;
7
- }
8
- export declare class UploadRequest {
9
- private url;
10
- private cordovaFile;
11
- private _files;
12
- private _params;
13
- private _headers;
14
- constructor(url: string, cordovaFile: File);
15
- addFile(name: string, path: string, filename: string): UploadRequest;
16
- addHeader(name: string, value: string): UploadRequest;
17
- addParam(name: string, value: string): UploadRequest;
18
- post(): Promise<IUploadResponse>;
19
- }
20
- export declare class DeviceFileUploadService {
21
- private cordovaFile;
22
- static readonly SERVICE_NAME = "DeviceFileUploadService";
23
- constructor(cordovaFile: File);
24
- upload(url: string, fileParamName: string, path: string, fileName?: string, params?: any, headers?: any): Promise<IUploadResponse>;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceFileUploadService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceFileUploadService>;
27
- }
@@ -1,45 +0,0 @@
1
- import { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';
2
- import { File } from '@awesome-cordova-plugins/file/ngx';
3
- import { IDeviceStartUpService } from './device-start-up-service';
4
- import * as i0 from "@angular/core";
5
- export declare enum FileType {
6
- AUDIO = "AUDIO",
7
- DOCUMENT = "DOCUMENT",
8
- IMAGE = "IMAGE",
9
- VIDEO = "VIDEO"
10
- }
11
- export declare class DeviceFileService implements IDeviceStartUpService {
12
- private cordovaAppVersion;
13
- private cordovaFile;
14
- static readonly SERVICE_NAME = "DeviceFileService";
15
- private _appName;
16
- private _fileTypeVsPathMap;
17
- private _uploadDir;
18
- constructor(cordovaAppVersion: AppVersion, cordovaFile: File);
19
- addMediaToGallery(filePath: string): Promise<void>;
20
- appendToFileName(fileName: string, attachment?: string): string;
21
- clearTemporaryStorage(): Promise<any>;
22
- copy(persistent: boolean, sourceFilePath: string): Promise<string>;
23
- findFolderPath(persistent: boolean, fileName: string): any;
24
- getPersistentRootPath(): string;
25
- getTemporaryRootPath(): string;
26
- getUploadDirectory(): string;
27
- isPersistentType(filePath: string): boolean;
28
- isValidPath(filePath: string): Promise<string>;
29
- listFiles(folder: string, search: string | RegExp): Promise<Map<string, any>[]>;
30
- newFileName(folder: string, fileName: string): Promise<string>;
31
- removeFile(filePath: string): Promise<any>;
32
- /**
33
- * removes the directory at the specified location.
34
- *
35
- * @param dirPath absolute path of directory
36
- */
37
- removeDir(dirPath: string): Promise<any>;
38
- start(): Promise<any>;
39
- getServiceName(): string;
40
- private createFolderIfNotExists;
41
- private findFileType;
42
- private setupUploadDirectory;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceFileService, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceFileService>;
45
- }
@@ -1,4 +0,0 @@
1
- export interface IDeviceStartUpService {
2
- start: () => Promise<any>;
3
- getServiceName: () => string;
4
- }
@@ -1,52 +0,0 @@
1
- import { File } from '@awesome-cordova-plugins/file/ngx';
2
- import { IDeviceStartUpService } from './device-start-up-service';
3
- import * as i0 from "@angular/core";
4
- export interface Config {
5
- baseUrl: string;
6
- customUrlScheme: string;
7
- customUrl: string;
8
- buildTime: number;
9
- enableSSLPinning: boolean;
10
- offlineStorage: boolean;
11
- useNativeXHR: boolean;
12
- }
13
- export declare class DeviceService {
14
- private file;
15
- static readonly SERVICE_NAME = "DeviceService";
16
- private _registry;
17
- private _isReady;
18
- private _whenReadyPromises;
19
- private _backBtnTapListeners;
20
- private _startUpServices;
21
- private _config;
22
- constructor(file: File);
23
- executeBackTapListeners($event: any): void;
24
- addStartUpService(service: IDeviceStartUpService): void;
25
- onBackButtonTap(fn: ($event: any) => boolean): () => void;
26
- start(): Promise<void>;
27
- getServiceName(): string;
28
- whenReady(): Promise<void>;
29
- getBaseUrl(): string;
30
- isAppConnectedToPreview(): boolean;
31
- getConfig(): Config;
32
- useNativeXHR(): any;
33
- /**
34
- * @returns {Promise<number>} promise resolved with the app build time
35
- */
36
- getAppBuildTime(): Promise<number>;
37
- /**
38
- * Stores an entry that survives app restarts and updates.
39
- *
40
- * @param {string} key
41
- * @param {Object} value
42
- * @returns {Promise<any>}
43
- */
44
- storeEntry(key: string, value: Object): Promise<any>;
45
- /**
46
- * @param {string} key
47
- * @returns {any} entry corresponding to the key
48
- */
49
- getEntry(key: string): any;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<DeviceService, never>;
51
- static ɵprov: i0.ɵɵInjectableDeclaration<DeviceService>;
52
- }