@wavemaker/app-ng-runtime 12.0.0-next.45002 → 12.0.0-next.45006

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 (1480) hide show
  1. app-ng-runtime/build-task/.npmignore +2 -0
  2. app-ng-runtime/build-task/bundles/index.umd.js +341 -344
  3. app-ng-runtime/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +5 -3
  4. app-ng-runtime/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
  5. app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
  6. app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
  7. app-ng-runtime/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
  8. app-ng-runtime/build-task/esm2022/containers/repeat-template.build.mjs +5 -3
  9. app-ng-runtime/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
  10. app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
  11. app-ng-runtime/build-task/esm2022/data/form/form.build.mjs +5 -2
  12. app-ng-runtime/build-task/esm2022/data/list/list.build.mjs +1 -1
  13. app-ng-runtime/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
  14. app-ng-runtime/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
  15. app-ng-runtime/build-task/esm2022/data/table/table.build.mjs +1 -1
  16. app-ng-runtime/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
  17. app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
  18. app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +8 -3
  19. app-ng-runtime/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
  20. app-ng-runtime/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
  21. app-ng-runtime/build-task/esm2022/page/page.build.mjs +3 -2
  22. app-ng-runtime/build-task/esm2022/public_api.mjs +1 -2
  23. app-ng-runtime/build-task/esm2022/utils/utils.mjs +1 -1
  24. app-ng-runtime/build-task/fesm2022/index.mjs +340 -341
  25. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  26. app-ng-runtime/build-task/public_api.d.ts +0 -1
  27. app-ng-runtime/components/advanced/carousel/.npmignore +2 -0
  28. app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +29 -18
  29. app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +3 -3
  30. app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -2
  31. app-ng-runtime/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +15 -9
  32. app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
  33. app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +12 -7
  34. app-ng-runtime/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
  35. app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +28 -16
  36. app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  37. app-ng-runtime/components/advanced/custom/.npmignore +2 -0
  38. app-ng-runtime/components/advanced/custom/bundles/index.umd.js +31 -94
  39. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +2 -0
  40. app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +1 -0
  41. app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +4 -5
  42. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +21 -13
  43. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +5 -2
  44. app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +5 -5
  45. app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +2 -9
  46. app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +1 -2
  47. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +31 -93
  48. app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  49. app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -1
  50. app-ng-runtime/components/advanced/login/.npmignore +2 -0
  51. app-ng-runtime/components/advanced/login/bundles/index.umd.js +19 -13
  52. app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +17 -10
  53. app-ng-runtime/components/advanced/login/esm2022/login.module.mjs +2 -2
  54. app-ng-runtime/components/advanced/login/fesm2022/index.mjs +18 -11
  55. app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
  56. app-ng-runtime/components/advanced/login/login.component.d.ts +2 -2
  57. app-ng-runtime/components/advanced/marquee/.npmignore +2 -0
  58. app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +11 -6
  59. app-ng-runtime/components/advanced/marquee/esm2022/marquee.directive.mjs +12 -7
  60. app-ng-runtime/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
  61. app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs +13 -8
  62. app-ng-runtime/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  63. app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -2
  64. app-ng-runtime/components/base/.npmignore +2 -0
  65. app-ng-runtime/components/base/bundles/index.umd.js +400 -312
  66. app-ng-runtime/components/base/directives/show-in-device.directive.d.ts +3 -6
  67. app-ng-runtime/components/base/esm2022/components.module.mjs +2 -2
  68. app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +13 -15
  69. app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +35 -34
  70. app-ng-runtime/components/base/esm2022/pipes/image.pipe.mjs +2 -2
  71. app-ng-runtime/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
  72. app-ng-runtime/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
  73. app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
  74. app-ng-runtime/components/base/esm2022/public_api.mjs +2 -1
  75. app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +30 -29
  76. app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +48 -42
  77. app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -7
  78. app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +28 -27
  79. app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +8 -7
  80. app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +23 -22
  81. app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +63 -42
  82. app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +4 -4
  83. app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +52 -18
  84. app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +6 -5
  85. app-ng-runtime/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
  86. app-ng-runtime/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
  87. app-ng-runtime/components/base/esm2022/widgets/common/container/container.directive.mjs +12 -7
  88. app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +5 -4
  89. app-ng-runtime/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +12 -7
  90. app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +14 -7
  91. app-ng-runtime/components/base/esm2022/widgets/common/message/message.component.mjs +16 -10
  92. app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +14 -8
  93. app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +9 -8
  94. app-ng-runtime/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
  95. app-ng-runtime/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
  96. app-ng-runtime/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +15 -9
  97. app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +11 -10
  98. app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
  99. app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
  100. app-ng-runtime/components/base/esm2022/widgets/framework/styler.mjs +1 -1
  101. app-ng-runtime/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
  102. app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
  103. app-ng-runtime/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
  104. app-ng-runtime/components/base/fesm2022/index.mjs +405 -315
  105. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  106. app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
  107. app-ng-runtime/components/base/public_api.d.ts +1 -0
  108. app-ng-runtime/components/base/utils/data-utils.d.ts +1 -0
  109. app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
  110. app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -1
  111. app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
  112. app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +22 -4
  113. app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
  114. app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
  115. app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -2
  116. app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
  117. app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -2
  118. app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -2
  119. app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
  120. app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +3 -3
  121. app-ng-runtime/components/basic/default/.npmignore +2 -0
  122. app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +2 -2
  123. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -2
  124. app-ng-runtime/components/basic/default/bundles/index.umd.js +158 -115
  125. app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +31 -27
  126. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +13 -7
  127. app-ng-runtime/components/basic/default/esm2022/basic.module.mjs +2 -2
  128. app-ng-runtime/components/basic/default/esm2022/html/html.directive.mjs +13 -8
  129. app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +19 -14
  130. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +15 -9
  131. app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +15 -9
  132. app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +12 -7
  133. app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
  134. app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +34 -30
  135. app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +21 -17
  136. app-ng-runtime/components/basic/default/fesm2022/index.mjs +157 -113
  137. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  138. app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -2
  139. app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -2
  140. app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -2
  141. app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -2
  142. app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -2
  143. app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -2
  144. app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -2
  145. app-ng-runtime/components/basic/progress/.npmignore +2 -0
  146. app-ng-runtime/components/basic/progress/bundles/index.umd.js +40 -28
  147. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +22 -15
  148. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +17 -10
  149. app-ng-runtime/components/basic/progress/esm2022/progress.module.mjs +2 -2
  150. app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
  151. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +39 -26
  152. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  153. app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
  154. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -2
  155. app-ng-runtime/components/basic/rich-text-editor/.npmignore +2 -0
  156. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +19 -13
  157. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +17 -10
  158. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
  159. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +18 -11
  160. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  161. app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
  162. app-ng-runtime/components/basic/search/.npmignore +2 -0
  163. app-ng-runtime/components/basic/search/bundles/index.umd.js +186 -175
  164. app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
  165. app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +26 -23
  166. app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +12 -11
  167. app-ng-runtime/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
  168. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +148 -138
  169. app-ng-runtime/components/basic/search/esm2022/search.module.mjs +2 -2
  170. app-ng-runtime/components/basic/search/fesm2022/index.mjs +186 -174
  171. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  172. app-ng-runtime/components/basic/search/search.component.d.ts +2 -2
  173. app-ng-runtime/components/basic/tree/.npmignore +2 -0
  174. app-ng-runtime/components/basic/tree/bundles/index.umd.js +23 -17
  175. app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +21 -14
  176. app-ng-runtime/components/basic/tree/esm2022/tree.module.mjs +2 -2
  177. app-ng-runtime/components/basic/tree/fesm2022/index.mjs +22 -15
  178. app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
  179. app-ng-runtime/components/basic/tree/tree.component.d.ts +2 -2
  180. app-ng-runtime/components/chart/.npmignore +2 -0
  181. app-ng-runtime/components/chart/bundles/index.umd.js +97 -84
  182. app-ng-runtime/components/chart/chart.component.d.ts +3 -3
  183. app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
  184. app-ng-runtime/components/chart/esm2022/chart.component.mjs +82 -68
  185. app-ng-runtime/components/chart/esm2022/chart.module.mjs +2 -2
  186. app-ng-runtime/components/chart/esm2022/chart.utils.mjs +14 -13
  187. app-ng-runtime/components/chart/fesm2022/index.mjs +95 -81
  188. app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
  189. app-ng-runtime/components/containers/accordion/.npmignore +2 -0
  190. app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
  191. app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +2 -2
  192. app-ng-runtime/components/containers/accordion/bundles/index.umd.js +51 -40
  193. app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +23 -17
  194. app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
  195. app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +25 -19
  196. app-ng-runtime/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
  197. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +50 -38
  198. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  199. app-ng-runtime/components/containers/layout-grid/.npmignore +2 -0
  200. app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +32 -17
  201. app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +13 -8
  202. app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +12 -7
  203. app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +12 -7
  204. app-ng-runtime/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
  205. app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs +34 -19
  206. app-ng-runtime/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  207. app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
  208. app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
  209. app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
  210. app-ng-runtime/components/containers/linear-layout/.npmignore +2 -0
  211. app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +21 -11
  212. app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +12 -7
  213. app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +12 -7
  214. app-ng-runtime/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
  215. app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs +23 -13
  216. app-ng-runtime/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  217. app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
  218. app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
  219. app-ng-runtime/components/containers/panel/.npmignore +2 -0
  220. app-ng-runtime/components/containers/panel/bundles/index.umd.js +85 -85
  221. app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +83 -82
  222. app-ng-runtime/components/containers/panel/esm2022/panel.module.mjs +2 -2
  223. app-ng-runtime/components/containers/panel/fesm2022/index.mjs +84 -83
  224. app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
  225. app-ng-runtime/components/containers/panel/panel.component.d.ts +3 -3
  226. app-ng-runtime/components/containers/tabs/.npmignore +2 -0
  227. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +74 -63
  228. app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +14 -8
  229. app-ng-runtime/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
  230. app-ng-runtime/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
  231. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +57 -51
  232. app-ng-runtime/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
  233. app-ng-runtime/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
  234. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +73 -61
  235. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  236. app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
  237. app-ng-runtime/components/containers/tabs/tabs.component.d.ts +2 -2
  238. app-ng-runtime/components/containers/tile/.npmignore +2 -0
  239. app-ng-runtime/components/containers/tile/bundles/index.umd.js +11 -6
  240. app-ng-runtime/components/containers/tile/esm2022/tile.directive.mjs +12 -7
  241. app-ng-runtime/components/containers/tile/esm2022/tile.module.mjs +2 -2
  242. app-ng-runtime/components/containers/tile/fesm2022/index.mjs +13 -8
  243. app-ng-runtime/components/containers/tile/fesm2022/index.mjs.map +1 -1
  244. app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -2
  245. app-ng-runtime/components/containers/wizard/.npmignore +2 -0
  246. app-ng-runtime/components/containers/wizard/bundles/index.umd.js +102 -98
  247. app-ng-runtime/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +13 -8
  248. app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +92 -93
  249. app-ng-runtime/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
  250. app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +104 -100
  251. app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  252. app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
  253. app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -2
  254. app-ng-runtime/components/data/card/.npmignore +2 -0
  255. app-ng-runtime/components/data/card/bundles/index.umd.js +70 -50
  256. app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
  257. app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -2
  258. app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
  259. app-ng-runtime/components/data/card/card.component.d.ts +2 -2
  260. app-ng-runtime/components/data/card/esm2022/card-actions/card-actions.directive.mjs +12 -7
  261. app-ng-runtime/components/data/card/esm2022/card-content/card-content.component.mjs +15 -9
  262. app-ng-runtime/components/data/card/esm2022/card-footer/card-footer.directive.mjs +12 -7
  263. app-ng-runtime/components/data/card/esm2022/card.component.mjs +38 -34
  264. app-ng-runtime/components/data/card/esm2022/card.module.mjs +2 -2
  265. app-ng-runtime/components/data/card/fesm2022/index.mjs +72 -52
  266. app-ng-runtime/components/data/card/fesm2022/index.mjs.map +1 -1
  267. app-ng-runtime/components/data/form/.npmignore +2 -0
  268. app-ng-runtime/components/data/form/bundles/index.umd.js +197 -184
  269. app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +15 -9
  270. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +21 -15
  271. app-ng-runtime/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
  272. app-ng-runtime/components/data/form/esm2022/form-widget.directive.mjs +4 -4
  273. app-ng-runtime/components/data/form/esm2022/form.component.mjs +138 -134
  274. app-ng-runtime/components/data/form/esm2022/form.module.mjs +2 -2
  275. app-ng-runtime/components/data/form/esm2022/form.props.mjs +1 -1
  276. app-ng-runtime/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
  277. app-ng-runtime/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
  278. app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +7 -6
  279. app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +14 -13
  280. app-ng-runtime/components/data/form/fesm2022/index.mjs +201 -187
  281. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  282. app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -2
  283. app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +2 -2
  284. app-ng-runtime/components/data/form/form.component.d.ts +4 -4
  285. app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
  286. app-ng-runtime/components/data/list/.npmignore +2 -0
  287. app-ng-runtime/components/data/list/bundles/index.umd.js +829 -818
  288. app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +9 -4
  289. app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
  290. app-ng-runtime/components/data/list/esm2022/list.component.mjs +817 -810
  291. app-ng-runtime/components/data/list/esm2022/list.module.mjs +2 -2
  292. app-ng-runtime/components/data/list/fesm2022/index.mjs +828 -816
  293. app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
  294. app-ng-runtime/components/data/list/list-item.directive.d.ts +4 -0
  295. app-ng-runtime/components/data/list/list.component.d.ts +55 -54
  296. app-ng-runtime/components/data/live-table/.npmignore +2 -0
  297. app-ng-runtime/components/data/live-table/bundles/index.umd.js +13 -7
  298. app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +14 -8
  299. app-ng-runtime/components/data/live-table/esm2022/live-table.module.mjs +2 -2
  300. app-ng-runtime/components/data/live-table/fesm2022/index.mjs +15 -9
  301. app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
  302. app-ng-runtime/components/data/live-table/live-table.component.d.ts +2 -2
  303. app-ng-runtime/components/data/pagination/.npmignore +2 -0
  304. app-ng-runtime/components/data/pagination/bundles/index.umd.js +113 -110
  305. app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +111 -107
  306. app-ng-runtime/components/data/pagination/esm2022/pagination.module.mjs +2 -2
  307. app-ng-runtime/components/data/pagination/fesm2022/index.mjs +112 -108
  308. app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
  309. app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -2
  310. app-ng-runtime/components/data/table/.npmignore +2 -0
  311. app-ng-runtime/components/data/table/bundles/index.umd.js +314 -269
  312. app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +15 -9
  313. app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +40 -25
  314. app-ng-runtime/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
  315. app-ng-runtime/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +13 -8
  316. app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +10 -9
  317. app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +56 -58
  318. app-ng-runtime/components/data/table/esm2022/table-row/table-row.directive.mjs +13 -8
  319. app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +14 -8
  320. app-ng-runtime/components/data/table/esm2022/table.component.mjs +165 -150
  321. app-ng-runtime/components/data/table/esm2022/table.module.mjs +2 -2
  322. app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -2
  323. app-ng-runtime/components/data/table/fesm2022/index.mjs +313 -267
  324. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  325. app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -2
  326. app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +8 -8
  327. app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
  328. app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -2
  329. app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
  330. app-ng-runtime/components/data/table/table.component.d.ts +4 -4
  331. app-ng-runtime/components/dialogs/alert-dialog/.npmignore +2 -0
  332. app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
  333. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +15 -9
  334. app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +16 -10
  335. app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
  336. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +17 -11
  337. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  338. app-ng-runtime/components/dialogs/confirm-dialog/.npmignore +2 -0
  339. app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +17 -11
  340. app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
  341. app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +18 -12
  342. app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
  343. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +19 -13
  344. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  345. app-ng-runtime/components/dialogs/default/.npmignore +2 -0
  346. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -2
  347. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +75 -71
  348. app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
  349. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +14 -9
  350. app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
  351. app-ng-runtime/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +12 -7
  352. app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +49 -55
  353. app-ng-runtime/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
  354. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +76 -72
  355. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  356. app-ng-runtime/components/dialogs/design-dialog/.npmignore +2 -0
  357. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +20 -14
  358. app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
  359. app-ng-runtime/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
  360. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +21 -15
  361. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +22 -16
  362. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  363. app-ng-runtime/components/dialogs/iframe-dialog/.npmignore +2 -0
  364. app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -14
  365. app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -15
  366. app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
  367. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +22 -16
  368. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  369. app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
  370. app-ng-runtime/components/dialogs/login-dialog/.npmignore +2 -0
  371. app-ng-runtime/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
  372. app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
  373. app-ng-runtime/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
  374. app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
  375. app-ng-runtime/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  376. app-ng-runtime/components/dialogs/partial-dialog/.npmignore +2 -0
  377. app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +16 -10
  378. app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +17 -11
  379. app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
  380. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +18 -12
  381. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  382. app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
  383. app-ng-runtime/components/input/calendar/.npmignore +2 -0
  384. app-ng-runtime/components/input/calendar/bundles/index.umd.js +46 -38
  385. app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -2
  386. app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +44 -35
  387. app-ng-runtime/components/input/calendar/esm2022/calendar.module.mjs +2 -2
  388. app-ng-runtime/components/input/calendar/fesm2022/index.mjs +45 -36
  389. app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
  390. app-ng-runtime/components/input/chips/.npmignore +2 -0
  391. app-ng-runtime/components/input/chips/bundles/index.umd.js +69 -61
  392. app-ng-runtime/components/input/chips/chips.component.d.ts +3 -3
  393. app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +67 -58
  394. app-ng-runtime/components/input/chips/esm2022/chips.module.mjs +2 -2
  395. app-ng-runtime/components/input/chips/fesm2022/index.mjs +67 -58
  396. app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
  397. app-ng-runtime/components/input/color-picker/.npmignore +2 -0
  398. app-ng-runtime/components/input/color-picker/bundles/index.umd.js +25 -12
  399. app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -2
  400. app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +26 -13
  401. app-ng-runtime/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
  402. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +26 -13
  403. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  404. app-ng-runtime/components/input/currency/.npmignore +2 -0
  405. app-ng-runtime/components/input/currency/bundles/index.umd.js +18 -11
  406. app-ng-runtime/components/input/currency/currency.component.d.ts +2 -2
  407. app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +19 -12
  408. app-ng-runtime/components/input/currency/esm2022/currency.module.mjs +2 -2
  409. app-ng-runtime/components/input/currency/fesm2022/index.mjs +19 -12
  410. app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
  411. app-ng-runtime/components/input/default/.npmignore +2 -0
  412. app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
  413. app-ng-runtime/components/input/default/bundles/index.umd.js +583 -450
  414. app-ng-runtime/components/input/default/button/button.component.d.ts +2 -2
  415. app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -2
  416. app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +3 -2
  417. app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
  418. app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -2
  419. app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
  420. app-ng-runtime/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
  421. app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +17 -11
  422. app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +32 -28
  423. app-ng-runtime/components/input/default/esm2022/button-group/button-group.directive.mjs +12 -7
  424. app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +5 -4
  425. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +27 -17
  426. app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +107 -103
  427. app-ng-runtime/components/input/default/esm2022/composite/composite.directive.mjs +12 -7
  428. app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +32 -26
  429. app-ng-runtime/components/input/default/esm2022/input.module.mjs +2 -2
  430. app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +17 -10
  431. app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +105 -102
  432. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +43 -32
  433. app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +38 -31
  434. app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +18 -11
  435. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +23 -12
  436. app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +23 -12
  437. app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +20 -11
  438. app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +35 -24
  439. app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +21 -12
  440. app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +20 -11
  441. app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +21 -12
  442. app-ng-runtime/components/input/default/fesm2022/index.mjs +586 -451
  443. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  444. app-ng-runtime/components/input/default/number/number.component.d.ts +2 -2
  445. app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -2
  446. app-ng-runtime/components/input/default/select/select.component.d.ts +2 -2
  447. app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -2
  448. app-ng-runtime/components/input/default/text/base/base-input.d.ts +3 -2
  449. app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
  450. app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -2
  451. app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -2
  452. app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -1
  453. app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -2
  454. app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -2
  455. app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -2
  456. app-ng-runtime/components/input/epoch/.npmignore +2 -0
  457. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +2 -2
  458. app-ng-runtime/components/input/epoch/bundles/index.umd.js +200 -163
  459. app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -2
  460. app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -2
  461. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +44 -36
  462. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +29 -21
  463. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -2
  464. app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +1 -1
  465. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +42 -41
  466. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +49 -37
  467. app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +2 -2
  468. app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +7 -5
  469. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +35 -24
  470. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +197 -159
  471. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  472. app-ng-runtime/components/input/epoch/time/time.component.d.ts +2 -2
  473. app-ng-runtime/components/input/file-upload/.npmignore +2 -0
  474. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +133 -135
  475. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +131 -132
  476. app-ng-runtime/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
  477. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +132 -133
  478. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  479. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +2 -2
  480. app-ng-runtime/components/input/rating/.npmignore +2 -0
  481. app-ng-runtime/components/input/rating/bundles/index.umd.js +60 -51
  482. app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +58 -48
  483. app-ng-runtime/components/input/rating/esm2022/rating.module.mjs +2 -2
  484. app-ng-runtime/components/input/rating/fesm2022/index.mjs +58 -48
  485. app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
  486. app-ng-runtime/components/input/rating/rating.component.d.ts +2 -2
  487. app-ng-runtime/components/input/slider/.npmignore +2 -0
  488. app-ng-runtime/components/input/slider/bundles/index.umd.js +23 -13
  489. app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +24 -14
  490. app-ng-runtime/components/input/slider/esm2022/slider.module.mjs +2 -2
  491. app-ng-runtime/components/input/slider/fesm2022/index.mjs +24 -14
  492. app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
  493. app-ng-runtime/components/input/slider/slider.component.d.ts +2 -2
  494. app-ng-runtime/components/navigation/breadcrumb/.npmignore +2 -0
  495. app-ng-runtime/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
  496. app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +33 -28
  497. app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +34 -29
  498. app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
  499. app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +35 -30
  500. app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  501. app-ng-runtime/components/navigation/menu/.npmignore +2 -0
  502. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +160 -145
  503. app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +13 -7
  504. app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +5 -4
  505. app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +27 -26
  506. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +44 -40
  507. app-ng-runtime/components/navigation/menu/esm2022/menu.module.mjs +4 -3
  508. app-ng-runtime/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +14 -8
  509. app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +63 -63
  510. app-ng-runtime/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
  511. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +160 -144
  512. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  513. app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -1
  514. app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
  515. app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -2
  516. app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +3 -3
  517. app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -4
  518. app-ng-runtime/components/navigation/navbar/.npmignore +2 -0
  519. app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +29 -22
  520. app-ng-runtime/components/navigation/navbar/esm2022/navbar.component.mjs +30 -23
  521. app-ng-runtime/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
  522. app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs +31 -24
  523. app-ng-runtime/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  524. app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -2
  525. app-ng-runtime/components/navigation/popover/.npmignore +2 -0
  526. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +18 -11
  527. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +19 -12
  528. app-ng-runtime/components/navigation/popover/esm2022/popover.module.mjs +2 -2
  529. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +20 -13
  530. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  531. app-ng-runtime/components/navigation/popover/popover.component.d.ts +2 -2
  532. app-ng-runtime/components/page/default/.npmignore +2 -0
  533. app-ng-runtime/components/page/default/bundles/index.umd.js +63 -31
  534. app-ng-runtime/components/page/default/content/content.component.d.ts +2 -2
  535. app-ng-runtime/components/page/default/esm2022/content/content.component.mjs +13 -7
  536. app-ng-runtime/components/page/default/esm2022/layout.directive.mjs +12 -7
  537. app-ng-runtime/components/page/default/esm2022/page-content/page-content.component.mjs +13 -7
  538. app-ng-runtime/components/page/default/esm2022/page.directive.mjs +12 -7
  539. app-ng-runtime/components/page/default/esm2022/page.module.mjs +2 -2
  540. app-ng-runtime/components/page/default/esm2022/router-outlet.directive.mjs +12 -7
  541. app-ng-runtime/components/page/default/esm2022/spa-page.directive.mjs +12 -7
  542. app-ng-runtime/components/page/default/fesm2022/index.mjs +65 -33
  543. app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
  544. app-ng-runtime/components/page/default/layout.directive.d.ts +2 -2
  545. app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +2 -2
  546. app-ng-runtime/components/page/default/page.directive.d.ts +2 -2
  547. app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -2
  548. app-ng-runtime/components/page/default/spa-page.directive.d.ts +2 -2
  549. app-ng-runtime/components/page/footer/.npmignore +2 -0
  550. app-ng-runtime/components/page/footer/bundles/index.umd.js +11 -6
  551. app-ng-runtime/components/page/footer/esm2022/footer.directive.mjs +12 -7
  552. app-ng-runtime/components/page/footer/esm2022/footer.module.mjs +2 -2
  553. app-ng-runtime/components/page/footer/fesm2022/index.mjs +13 -8
  554. app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
  555. app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -2
  556. app-ng-runtime/components/page/header/.npmignore +2 -0
  557. app-ng-runtime/components/page/header/bundles/index.umd.js +12 -6
  558. app-ng-runtime/components/page/header/esm2022/header.component.mjs +13 -7
  559. app-ng-runtime/components/page/header/esm2022/header.module.mjs +2 -2
  560. app-ng-runtime/components/page/header/fesm2022/index.mjs +14 -8
  561. app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
  562. app-ng-runtime/components/page/header/header.component.d.ts +2 -2
  563. app-ng-runtime/components/page/left-panel/.npmignore +2 -0
  564. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +12 -7
  565. app-ng-runtime/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
  566. app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +13 -8
  567. app-ng-runtime/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
  568. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +14 -9
  569. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  570. app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
  571. app-ng-runtime/components/page/right-panel/.npmignore +2 -0
  572. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +11 -6
  573. app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +12 -7
  574. app-ng-runtime/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
  575. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +13 -8
  576. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  577. app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
  578. app-ng-runtime/components/page/top-nav/.npmignore +2 -0
  579. app-ng-runtime/components/page/top-nav/bundles/index.umd.js +11 -6
  580. app-ng-runtime/components/page/top-nav/esm2022/top-nav.directive.mjs +12 -7
  581. app-ng-runtime/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
  582. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +13 -8
  583. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  584. app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -2
  585. app-ng-runtime/components/prefab/.npmignore +2 -0
  586. app-ng-runtime/components/prefab/bundles/index.umd.js +28 -18
  587. app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +14 -8
  588. app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +15 -9
  589. app-ng-runtime/components/prefab/esm2022/prefab.module.mjs +2 -2
  590. app-ng-runtime/components/prefab/fesm2022/index.mjs +26 -15
  591. app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
  592. app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
  593. app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -2
  594. app-ng-runtime/core/.npmignore +2 -0
  595. app-ng-runtime/core/bundles/index.umd.js +158 -146
  596. app-ng-runtime/core/esm2022/core.module.mjs +2 -2
  597. app-ng-runtime/core/esm2022/public_api.mjs +3 -2
  598. app-ng-runtime/core/esm2022/services/constant.service.mjs +2 -2
  599. app-ng-runtime/core/esm2022/services/custom-icons-loader.service.mjs +26 -0
  600. app-ng-runtime/core/esm2022/services/field-type.service.mjs +5 -4
  601. app-ng-runtime/core/esm2022/services/field-widget.service.mjs +5 -4
  602. app-ng-runtime/core/esm2022/services/pagination.service.mjs +8 -7
  603. app-ng-runtime/core/esm2022/services/script-loader.service.mjs +3 -3
  604. app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +18 -17
  605. app-ng-runtime/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
  606. app-ng-runtime/core/esm2022/services/utils.service.mjs +5 -4
  607. app-ng-runtime/core/esm2022/services/viewport.service.mjs +5 -4
  608. app-ng-runtime/core/esm2022/utils/build-utils.mjs +5 -4
  609. app-ng-runtime/core/esm2022/utils/dom.mjs +1 -1
  610. app-ng-runtime/core/esm2022/utils/event-notifier.mjs +1 -1
  611. app-ng-runtime/core/esm2022/utils/expression-parser.mjs +6 -5
  612. app-ng-runtime/core/esm2022/utils/id-generator.mjs +1 -1
  613. app-ng-runtime/core/esm2022/utils/lru-cache.mjs +3 -2
  614. app-ng-runtime/core/esm2022/utils/utils.mjs +79 -82
  615. app-ng-runtime/core/esm2022/utils/watcher.mjs +9 -7
  616. app-ng-runtime/core/esm2022/utils/wm-project-properties.mjs +1 -1
  617. app-ng-runtime/core/fesm2022/index.mjs +158 -142
  618. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  619. app-ng-runtime/core/public_api.d.ts +2 -1
  620. app-ng-runtime/core/services/custom-icons-loader.service.d.ts +7 -0
  621. app-ng-runtime/core/services/pagination.service.d.ts +1 -1
  622. app-ng-runtime/core/utils/utils.d.ts +5 -9
  623. app-ng-runtime/http/.npmignore +2 -0
  624. app-ng-runtime/http/bundles/index.umd.js +10 -10
  625. app-ng-runtime/http/esm2022/http-service.module.mjs +2 -2
  626. app-ng-runtime/http/esm2022/http.service.mjs +7 -6
  627. app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
  628. app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
  629. app-ng-runtime/http/fesm2022/index.mjs +7 -6
  630. app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
  631. app-ng-runtime/locales/angular/global/af-na.js +4 -4
  632. app-ng-runtime/locales/angular/global/af.js +4 -4
  633. app-ng-runtime/locales/angular/global/agq.js +4 -4
  634. app-ng-runtime/locales/angular/global/ak.js +4 -4
  635. app-ng-runtime/locales/angular/global/am.js +4 -4
  636. app-ng-runtime/locales/angular/global/ar-ae.js +4 -4
  637. app-ng-runtime/locales/angular/global/ar-bh.js +4 -4
  638. app-ng-runtime/locales/angular/global/ar-dj.js +4 -4
  639. app-ng-runtime/locales/angular/global/ar-dz.js +4 -4
  640. app-ng-runtime/locales/angular/global/ar-eg.js +4 -4
  641. app-ng-runtime/locales/angular/global/ar-eh.js +4 -4
  642. app-ng-runtime/locales/angular/global/ar-er.js +4 -4
  643. app-ng-runtime/locales/angular/global/ar-il.js +4 -4
  644. app-ng-runtime/locales/angular/global/ar-iq.js +4 -4
  645. app-ng-runtime/locales/angular/global/ar-jo.js +4 -4
  646. app-ng-runtime/locales/angular/global/ar-km.js +4 -4
  647. app-ng-runtime/locales/angular/global/ar-kw.js +4 -4
  648. app-ng-runtime/locales/angular/global/ar-lb.js +4 -4
  649. app-ng-runtime/locales/angular/global/ar-ly.js +4 -4
  650. app-ng-runtime/locales/angular/global/ar-ma.js +4 -4
  651. app-ng-runtime/locales/angular/global/ar-mr.js +4 -4
  652. app-ng-runtime/locales/angular/global/ar-om.js +4 -4
  653. app-ng-runtime/locales/angular/global/ar-ps.js +4 -4
  654. app-ng-runtime/locales/angular/global/ar-qa.js +4 -4
  655. app-ng-runtime/locales/angular/global/ar-sa.js +4 -4
  656. app-ng-runtime/locales/angular/global/ar-sd.js +4 -4
  657. app-ng-runtime/locales/angular/global/ar-so.js +4 -4
  658. app-ng-runtime/locales/angular/global/ar-ss.js +4 -4
  659. app-ng-runtime/locales/angular/global/ar-sy.js +4 -4
  660. app-ng-runtime/locales/angular/global/ar-td.js +4 -4
  661. app-ng-runtime/locales/angular/global/ar-tn.js +4 -4
  662. app-ng-runtime/locales/angular/global/ar-ye.js +4 -4
  663. app-ng-runtime/locales/angular/global/ar.js +4 -4
  664. app-ng-runtime/locales/angular/global/as.js +4 -4
  665. app-ng-runtime/locales/angular/global/asa.js +4 -4
  666. app-ng-runtime/locales/angular/global/ast.js +4 -4
  667. app-ng-runtime/locales/angular/global/az-cyrl.js +4 -4
  668. app-ng-runtime/locales/angular/global/az-latn.js +4 -4
  669. app-ng-runtime/locales/angular/global/az.js +4 -4
  670. app-ng-runtime/locales/angular/global/bas.js +4 -4
  671. app-ng-runtime/locales/angular/global/be-tarask.js +4 -4
  672. app-ng-runtime/locales/angular/global/be.js +4 -4
  673. app-ng-runtime/locales/angular/global/bem.js +4 -4
  674. app-ng-runtime/locales/angular/global/bez.js +4 -4
  675. app-ng-runtime/locales/angular/global/bg.js +4 -4
  676. app-ng-runtime/locales/angular/global/bm.js +4 -4
  677. app-ng-runtime/locales/angular/global/bn-in.js +4 -4
  678. app-ng-runtime/locales/angular/global/bn.js +4 -4
  679. app-ng-runtime/locales/angular/global/bo-in.js +4 -4
  680. app-ng-runtime/locales/angular/global/bo.js +4 -4
  681. app-ng-runtime/locales/angular/global/br.js +4 -4
  682. app-ng-runtime/locales/angular/global/brx.js +4 -4
  683. app-ng-runtime/locales/angular/global/bs-cyrl.js +4 -4
  684. app-ng-runtime/locales/angular/global/bs-latn.js +4 -4
  685. app-ng-runtime/locales/angular/global/bs.js +4 -4
  686. app-ng-runtime/locales/angular/global/ca-ad.js +4 -4
  687. app-ng-runtime/locales/angular/global/ca-es-valencia.js +4 -4
  688. app-ng-runtime/locales/angular/global/ca-fr.js +4 -4
  689. app-ng-runtime/locales/angular/global/ca-it.js +4 -4
  690. app-ng-runtime/locales/angular/global/ca.js +4 -4
  691. app-ng-runtime/locales/angular/global/ccp-in.js +4 -4
  692. app-ng-runtime/locales/angular/global/ccp.js +4 -4
  693. app-ng-runtime/locales/angular/global/ce.js +4 -4
  694. app-ng-runtime/locales/angular/global/ceb.js +4 -4
  695. app-ng-runtime/locales/angular/global/cgg.js +4 -4
  696. app-ng-runtime/locales/angular/global/chr.js +4 -4
  697. app-ng-runtime/locales/angular/global/ckb-ir.js +4 -4
  698. app-ng-runtime/locales/angular/global/ckb.js +4 -4
  699. app-ng-runtime/locales/angular/global/cs.js +4 -4
  700. app-ng-runtime/locales/angular/global/cy.js +4 -4
  701. app-ng-runtime/locales/angular/global/da-gl.js +4 -4
  702. app-ng-runtime/locales/angular/global/da.js +4 -4
  703. app-ng-runtime/locales/angular/global/dav.js +4 -4
  704. app-ng-runtime/locales/angular/global/de-at.js +4 -4
  705. app-ng-runtime/locales/angular/global/de-be.js +4 -4
  706. app-ng-runtime/locales/angular/global/de-ch.js +4 -4
  707. app-ng-runtime/locales/angular/global/de-it.js +4 -4
  708. app-ng-runtime/locales/angular/global/de-li.js +4 -4
  709. app-ng-runtime/locales/angular/global/de-lu.js +4 -4
  710. app-ng-runtime/locales/angular/global/de.js +4 -4
  711. app-ng-runtime/locales/angular/global/dje.js +4 -4
  712. app-ng-runtime/locales/angular/global/doi.js +4 -4
  713. app-ng-runtime/locales/angular/global/dsb.js +4 -4
  714. app-ng-runtime/locales/angular/global/dua.js +4 -4
  715. app-ng-runtime/locales/angular/global/dyo.js +4 -4
  716. app-ng-runtime/locales/angular/global/dz.js +4 -4
  717. app-ng-runtime/locales/angular/global/ebu.js +4 -4
  718. app-ng-runtime/locales/angular/global/ee-tg.js +4 -4
  719. app-ng-runtime/locales/angular/global/ee.js +4 -4
  720. app-ng-runtime/locales/angular/global/el-cy.js +4 -4
  721. app-ng-runtime/locales/angular/global/el.js +4 -4
  722. app-ng-runtime/locales/angular/global/en-001.js +4 -4
  723. app-ng-runtime/locales/angular/global/en-150.js +4 -4
  724. app-ng-runtime/locales/angular/global/en-ae.js +4 -4
  725. app-ng-runtime/locales/angular/global/en-ag.js +4 -4
  726. app-ng-runtime/locales/angular/global/en-ai.js +4 -4
  727. app-ng-runtime/locales/angular/global/en-as.js +4 -4
  728. app-ng-runtime/locales/angular/global/en-at.js +4 -4
  729. app-ng-runtime/locales/angular/global/en-au.js +4 -4
  730. app-ng-runtime/locales/angular/global/en-bb.js +4 -4
  731. app-ng-runtime/locales/angular/global/en-be.js +4 -4
  732. app-ng-runtime/locales/angular/global/en-bi.js +4 -4
  733. app-ng-runtime/locales/angular/global/en-bm.js +4 -4
  734. app-ng-runtime/locales/angular/global/en-bs.js +4 -4
  735. app-ng-runtime/locales/angular/global/en-bw.js +4 -4
  736. app-ng-runtime/locales/angular/global/en-bz.js +4 -4
  737. app-ng-runtime/locales/angular/global/en-ca.js +4 -4
  738. app-ng-runtime/locales/angular/global/en-cc.js +4 -4
  739. app-ng-runtime/locales/angular/global/en-ch.js +4 -4
  740. app-ng-runtime/locales/angular/global/en-ck.js +4 -4
  741. app-ng-runtime/locales/angular/global/en-cm.js +4 -4
  742. app-ng-runtime/locales/angular/global/en-cx.js +4 -4
  743. app-ng-runtime/locales/angular/global/en-cy.js +4 -4
  744. app-ng-runtime/locales/angular/global/en-de.js +4 -4
  745. app-ng-runtime/locales/angular/global/en-dg.js +4 -4
  746. app-ng-runtime/locales/angular/global/en-dk.js +4 -4
  747. app-ng-runtime/locales/angular/global/en-dm.js +4 -4
  748. app-ng-runtime/locales/angular/global/en-er.js +4 -4
  749. app-ng-runtime/locales/angular/global/en-fi.js +4 -4
  750. app-ng-runtime/locales/angular/global/en-fj.js +4 -4
  751. app-ng-runtime/locales/angular/global/en-fk.js +4 -4
  752. app-ng-runtime/locales/angular/global/en-fm.js +4 -4
  753. app-ng-runtime/locales/angular/global/en-gb.js +4 -4
  754. app-ng-runtime/locales/angular/global/en-gd.js +4 -4
  755. app-ng-runtime/locales/angular/global/en-gg.js +4 -4
  756. app-ng-runtime/locales/angular/global/en-gh.js +4 -4
  757. app-ng-runtime/locales/angular/global/en-gi.js +4 -4
  758. app-ng-runtime/locales/angular/global/en-gm.js +4 -4
  759. app-ng-runtime/locales/angular/global/en-gu.js +4 -4
  760. app-ng-runtime/locales/angular/global/en-gy.js +4 -4
  761. app-ng-runtime/locales/angular/global/en-hk.js +4 -4
  762. app-ng-runtime/locales/angular/global/en-ie.js +4 -4
  763. app-ng-runtime/locales/angular/global/en-il.js +4 -4
  764. app-ng-runtime/locales/angular/global/en-im.js +4 -4
  765. app-ng-runtime/locales/angular/global/en-in.js +4 -4
  766. app-ng-runtime/locales/angular/global/en-io.js +4 -4
  767. app-ng-runtime/locales/angular/global/en-je.js +4 -4
  768. app-ng-runtime/locales/angular/global/en-jm.js +4 -4
  769. app-ng-runtime/locales/angular/global/en-ke.js +4 -4
  770. app-ng-runtime/locales/angular/global/en-ki.js +4 -4
  771. app-ng-runtime/locales/angular/global/en-kn.js +4 -4
  772. app-ng-runtime/locales/angular/global/en-ky.js +4 -4
  773. app-ng-runtime/locales/angular/global/en-lc.js +4 -4
  774. app-ng-runtime/locales/angular/global/en-lr.js +4 -4
  775. app-ng-runtime/locales/angular/global/en-ls.js +4 -4
  776. app-ng-runtime/locales/angular/global/en-mg.js +4 -4
  777. app-ng-runtime/locales/angular/global/en-mh.js +4 -4
  778. app-ng-runtime/locales/angular/global/en-mo.js +4 -4
  779. app-ng-runtime/locales/angular/global/en-mp.js +4 -4
  780. app-ng-runtime/locales/angular/global/en-ms.js +4 -4
  781. app-ng-runtime/locales/angular/global/en-mt.js +4 -4
  782. app-ng-runtime/locales/angular/global/en-mu.js +4 -4
  783. app-ng-runtime/locales/angular/global/en-mv.js +4 -4
  784. app-ng-runtime/locales/angular/global/en-mw.js +4 -4
  785. app-ng-runtime/locales/angular/global/en-my.js +4 -4
  786. app-ng-runtime/locales/angular/global/en-na.js +4 -4
  787. app-ng-runtime/locales/angular/global/en-nf.js +4 -4
  788. app-ng-runtime/locales/angular/global/en-ng.js +4 -4
  789. app-ng-runtime/locales/angular/global/en-nl.js +4 -4
  790. app-ng-runtime/locales/angular/global/en-nr.js +4 -4
  791. app-ng-runtime/locales/angular/global/en-nu.js +4 -4
  792. app-ng-runtime/locales/angular/global/en-nz.js +4 -4
  793. app-ng-runtime/locales/angular/global/en-pg.js +4 -4
  794. app-ng-runtime/locales/angular/global/en-ph.js +4 -4
  795. app-ng-runtime/locales/angular/global/en-pk.js +4 -4
  796. app-ng-runtime/locales/angular/global/en-pn.js +4 -4
  797. app-ng-runtime/locales/angular/global/en-pr.js +4 -4
  798. app-ng-runtime/locales/angular/global/en-pw.js +4 -4
  799. app-ng-runtime/locales/angular/global/en-rw.js +4 -4
  800. app-ng-runtime/locales/angular/global/en-sb.js +4 -4
  801. app-ng-runtime/locales/angular/global/en-sc.js +4 -4
  802. app-ng-runtime/locales/angular/global/en-sd.js +4 -4
  803. app-ng-runtime/locales/angular/global/en-se.js +4 -4
  804. app-ng-runtime/locales/angular/global/en-sg.js +4 -4
  805. app-ng-runtime/locales/angular/global/en-sh.js +4 -4
  806. app-ng-runtime/locales/angular/global/en-si.js +4 -4
  807. app-ng-runtime/locales/angular/global/en-sl.js +4 -4
  808. app-ng-runtime/locales/angular/global/en-ss.js +4 -4
  809. app-ng-runtime/locales/angular/global/en-sx.js +4 -4
  810. app-ng-runtime/locales/angular/global/en-sz.js +4 -4
  811. app-ng-runtime/locales/angular/global/en-tc.js +4 -4
  812. app-ng-runtime/locales/angular/global/en-tk.js +4 -4
  813. app-ng-runtime/locales/angular/global/en-to.js +4 -4
  814. app-ng-runtime/locales/angular/global/en-tt.js +4 -4
  815. app-ng-runtime/locales/angular/global/en-tv.js +4 -4
  816. app-ng-runtime/locales/angular/global/en-tz.js +4 -4
  817. app-ng-runtime/locales/angular/global/en-ug.js +4 -4
  818. app-ng-runtime/locales/angular/global/en-um.js +4 -4
  819. app-ng-runtime/locales/angular/global/en-vc.js +4 -4
  820. app-ng-runtime/locales/angular/global/en-vg.js +4 -4
  821. app-ng-runtime/locales/angular/global/en-vi.js +4 -4
  822. app-ng-runtime/locales/angular/global/en-vu.js +4 -4
  823. app-ng-runtime/locales/angular/global/en-ws.js +4 -4
  824. app-ng-runtime/locales/angular/global/en-za.js +4 -4
  825. app-ng-runtime/locales/angular/global/en-zm.js +4 -4
  826. app-ng-runtime/locales/angular/global/en-zw.js +4 -4
  827. app-ng-runtime/locales/angular/global/en.js +4 -4
  828. app-ng-runtime/locales/angular/global/eo.js +4 -4
  829. app-ng-runtime/locales/angular/global/es-419.js +4 -4
  830. app-ng-runtime/locales/angular/global/es-ar.js +4 -4
  831. app-ng-runtime/locales/angular/global/es-bo.js +4 -4
  832. app-ng-runtime/locales/angular/global/es-br.js +4 -4
  833. app-ng-runtime/locales/angular/global/es-bz.js +4 -4
  834. app-ng-runtime/locales/angular/global/es-cl.js +4 -4
  835. app-ng-runtime/locales/angular/global/es-co.js +4 -4
  836. app-ng-runtime/locales/angular/global/es-cr.js +4 -4
  837. app-ng-runtime/locales/angular/global/es-cu.js +4 -4
  838. app-ng-runtime/locales/angular/global/es-do.js +4 -4
  839. app-ng-runtime/locales/angular/global/es-ea.js +4 -4
  840. app-ng-runtime/locales/angular/global/es-ec.js +4 -4
  841. app-ng-runtime/locales/angular/global/es-gq.js +4 -4
  842. app-ng-runtime/locales/angular/global/es-gt.js +4 -4
  843. app-ng-runtime/locales/angular/global/es-hn.js +4 -4
  844. app-ng-runtime/locales/angular/global/es-ic.js +4 -4
  845. app-ng-runtime/locales/angular/global/es-mx.js +4 -4
  846. app-ng-runtime/locales/angular/global/es-ni.js +4 -4
  847. app-ng-runtime/locales/angular/global/es-pa.js +4 -4
  848. app-ng-runtime/locales/angular/global/es-pe.js +4 -4
  849. app-ng-runtime/locales/angular/global/es-ph.js +4 -4
  850. app-ng-runtime/locales/angular/global/es-pr.js +4 -4
  851. app-ng-runtime/locales/angular/global/es-py.js +4 -4
  852. app-ng-runtime/locales/angular/global/es-sv.js +4 -4
  853. app-ng-runtime/locales/angular/global/es-us.js +4 -4
  854. app-ng-runtime/locales/angular/global/es-uy.js +4 -4
  855. app-ng-runtime/locales/angular/global/es-ve.js +4 -4
  856. app-ng-runtime/locales/angular/global/es.js +4 -4
  857. app-ng-runtime/locales/angular/global/et.js +4 -4
  858. app-ng-runtime/locales/angular/global/eu.js +4 -4
  859. app-ng-runtime/locales/angular/global/ewo.js +4 -4
  860. app-ng-runtime/locales/angular/global/fa-af.js +4 -4
  861. app-ng-runtime/locales/angular/global/fa.js +4 -4
  862. app-ng-runtime/locales/angular/global/ff-adlm-bf.js +4 -4
  863. app-ng-runtime/locales/angular/global/ff-adlm-cm.js +4 -4
  864. app-ng-runtime/locales/angular/global/ff-adlm-gh.js +4 -4
  865. app-ng-runtime/locales/angular/global/ff-adlm-gm.js +4 -4
  866. app-ng-runtime/locales/angular/global/ff-adlm-gw.js +4 -4
  867. app-ng-runtime/locales/angular/global/ff-adlm-lr.js +4 -4
  868. app-ng-runtime/locales/angular/global/ff-adlm-mr.js +4 -4
  869. app-ng-runtime/locales/angular/global/ff-adlm-ne.js +4 -4
  870. app-ng-runtime/locales/angular/global/ff-adlm-ng.js +4 -4
  871. app-ng-runtime/locales/angular/global/ff-adlm-sl.js +4 -4
  872. app-ng-runtime/locales/angular/global/ff-adlm-sn.js +4 -4
  873. app-ng-runtime/locales/angular/global/ff-adlm.js +4 -4
  874. app-ng-runtime/locales/angular/global/ff-cm.js +58 -44
  875. app-ng-runtime/locales/angular/global/ff-gn.js +58 -44
  876. app-ng-runtime/locales/angular/global/ff-latn-bf.js +4 -4
  877. app-ng-runtime/locales/angular/global/ff-latn-cm.js +4 -4
  878. app-ng-runtime/locales/angular/global/ff-latn-gh.js +4 -4
  879. app-ng-runtime/locales/angular/global/ff-latn-gm.js +4 -4
  880. app-ng-runtime/locales/angular/global/ff-latn-gn.js +4 -4
  881. app-ng-runtime/locales/angular/global/ff-latn-gw.js +4 -4
  882. app-ng-runtime/locales/angular/global/ff-latn-lr.js +4 -4
  883. app-ng-runtime/locales/angular/global/ff-latn-mr.js +4 -4
  884. app-ng-runtime/locales/angular/global/ff-latn-ne.js +4 -4
  885. app-ng-runtime/locales/angular/global/ff-latn-ng.js +4 -4
  886. app-ng-runtime/locales/angular/global/ff-latn-sl.js +4 -4
  887. app-ng-runtime/locales/angular/global/ff-latn.js +4 -4
  888. app-ng-runtime/locales/angular/global/ff-mr.js +58 -44
  889. app-ng-runtime/locales/angular/global/ff.js +4 -4
  890. app-ng-runtime/locales/angular/global/fi.js +4 -4
  891. app-ng-runtime/locales/angular/global/fil.js +4 -4
  892. app-ng-runtime/locales/angular/global/fo-dk.js +4 -4
  893. app-ng-runtime/locales/angular/global/fo.js +4 -4
  894. app-ng-runtime/locales/angular/global/fr-be.js +4 -4
  895. app-ng-runtime/locales/angular/global/fr-bf.js +4 -4
  896. app-ng-runtime/locales/angular/global/fr-bi.js +4 -4
  897. app-ng-runtime/locales/angular/global/fr-bj.js +4 -4
  898. app-ng-runtime/locales/angular/global/fr-bl.js +4 -4
  899. app-ng-runtime/locales/angular/global/fr-ca.js +4 -4
  900. app-ng-runtime/locales/angular/global/fr-cd.js +4 -4
  901. app-ng-runtime/locales/angular/global/fr-cf.js +4 -4
  902. app-ng-runtime/locales/angular/global/fr-cg.js +4 -4
  903. app-ng-runtime/locales/angular/global/fr-ch.js +4 -4
  904. app-ng-runtime/locales/angular/global/fr-ci.js +4 -4
  905. app-ng-runtime/locales/angular/global/fr-cm.js +4 -4
  906. app-ng-runtime/locales/angular/global/fr-dj.js +4 -4
  907. app-ng-runtime/locales/angular/global/fr-dz.js +4 -4
  908. app-ng-runtime/locales/angular/global/fr-ga.js +4 -4
  909. app-ng-runtime/locales/angular/global/fr-gf.js +4 -4
  910. app-ng-runtime/locales/angular/global/fr-gn.js +4 -4
  911. app-ng-runtime/locales/angular/global/fr-gp.js +4 -4
  912. app-ng-runtime/locales/angular/global/fr-gq.js +4 -4
  913. app-ng-runtime/locales/angular/global/fr-ht.js +4 -4
  914. app-ng-runtime/locales/angular/global/fr-km.js +4 -4
  915. app-ng-runtime/locales/angular/global/fr-lu.js +4 -4
  916. app-ng-runtime/locales/angular/global/fr-ma.js +4 -4
  917. app-ng-runtime/locales/angular/global/fr-mc.js +4 -4
  918. app-ng-runtime/locales/angular/global/fr-mf.js +4 -4
  919. app-ng-runtime/locales/angular/global/fr-mg.js +4 -4
  920. app-ng-runtime/locales/angular/global/fr-ml.js +4 -4
  921. app-ng-runtime/locales/angular/global/fr-mq.js +4 -4
  922. app-ng-runtime/locales/angular/global/fr-mr.js +4 -4
  923. app-ng-runtime/locales/angular/global/fr-mu.js +4 -4
  924. app-ng-runtime/locales/angular/global/fr-nc.js +4 -4
  925. app-ng-runtime/locales/angular/global/fr-ne.js +4 -4
  926. app-ng-runtime/locales/angular/global/fr-pf.js +4 -4
  927. app-ng-runtime/locales/angular/global/fr-pm.js +4 -4
  928. app-ng-runtime/locales/angular/global/fr-re.js +4 -4
  929. app-ng-runtime/locales/angular/global/fr-rw.js +4 -4
  930. app-ng-runtime/locales/angular/global/fr-sc.js +4 -4
  931. app-ng-runtime/locales/angular/global/fr-sn.js +4 -4
  932. app-ng-runtime/locales/angular/global/fr-sy.js +4 -4
  933. app-ng-runtime/locales/angular/global/fr-td.js +4 -4
  934. app-ng-runtime/locales/angular/global/fr-tg.js +4 -4
  935. app-ng-runtime/locales/angular/global/fr-tn.js +4 -4
  936. app-ng-runtime/locales/angular/global/fr-vu.js +4 -4
  937. app-ng-runtime/locales/angular/global/fr-wf.js +4 -4
  938. app-ng-runtime/locales/angular/global/fr-yt.js +4 -4
  939. app-ng-runtime/locales/angular/global/fr.js +4 -4
  940. app-ng-runtime/locales/angular/global/fur.js +4 -4
  941. app-ng-runtime/locales/angular/global/fy.js +4 -4
  942. app-ng-runtime/locales/angular/global/ga-gb.js +4 -4
  943. app-ng-runtime/locales/angular/global/ga.js +4 -4
  944. app-ng-runtime/locales/angular/global/gd.js +4 -4
  945. app-ng-runtime/locales/angular/global/gl.js +4 -4
  946. app-ng-runtime/locales/angular/global/gsw-fr.js +4 -4
  947. app-ng-runtime/locales/angular/global/gsw-li.js +4 -4
  948. app-ng-runtime/locales/angular/global/gsw.js +4 -4
  949. app-ng-runtime/locales/angular/global/gu.js +4 -4
  950. app-ng-runtime/locales/angular/global/guz.js +4 -4
  951. app-ng-runtime/locales/angular/global/gv.js +4 -4
  952. app-ng-runtime/locales/angular/global/ha-gh.js +4 -4
  953. app-ng-runtime/locales/angular/global/ha-ne.js +4 -4
  954. app-ng-runtime/locales/angular/global/ha.js +4 -4
  955. app-ng-runtime/locales/angular/global/haw.js +4 -4
  956. app-ng-runtime/locales/angular/global/he.js +4 -4
  957. app-ng-runtime/locales/angular/global/hi-latn.js +4 -4
  958. app-ng-runtime/locales/angular/global/hi.js +4 -4
  959. app-ng-runtime/locales/angular/global/hr-ba.js +4 -4
  960. app-ng-runtime/locales/angular/global/hr.js +4 -4
  961. app-ng-runtime/locales/angular/global/hsb.js +4 -4
  962. app-ng-runtime/locales/angular/global/hu.js +4 -4
  963. app-ng-runtime/locales/angular/global/hy.js +4 -4
  964. app-ng-runtime/locales/angular/global/ia.js +4 -4
  965. app-ng-runtime/locales/angular/global/id.js +4 -4
  966. app-ng-runtime/locales/angular/global/ig.js +4 -4
  967. app-ng-runtime/locales/angular/global/ii.js +4 -4
  968. app-ng-runtime/locales/angular/global/is.js +4 -4
  969. app-ng-runtime/locales/angular/global/it-ch.js +4 -4
  970. app-ng-runtime/locales/angular/global/it-sm.js +4 -4
  971. app-ng-runtime/locales/angular/global/it-va.js +4 -4
  972. app-ng-runtime/locales/angular/global/it.js +4 -4
  973. app-ng-runtime/locales/angular/global/ja.js +4 -4
  974. app-ng-runtime/locales/angular/global/jgo.js +4 -4
  975. app-ng-runtime/locales/angular/global/jmc.js +4 -4
  976. app-ng-runtime/locales/angular/global/jv.js +4 -4
  977. app-ng-runtime/locales/angular/global/ka.js +4 -4
  978. app-ng-runtime/locales/angular/global/kab.js +4 -4
  979. app-ng-runtime/locales/angular/global/kam.js +4 -4
  980. app-ng-runtime/locales/angular/global/kde.js +4 -4
  981. app-ng-runtime/locales/angular/global/kea.js +4 -4
  982. app-ng-runtime/locales/angular/global/kgp.js +4 -4
  983. app-ng-runtime/locales/angular/global/khq.js +4 -4
  984. app-ng-runtime/locales/angular/global/ki.js +4 -4
  985. app-ng-runtime/locales/angular/global/kk.js +4 -4
  986. app-ng-runtime/locales/angular/global/kkj.js +4 -4
  987. app-ng-runtime/locales/angular/global/kl.js +4 -4
  988. app-ng-runtime/locales/angular/global/kln.js +4 -4
  989. app-ng-runtime/locales/angular/global/km.js +4 -4
  990. app-ng-runtime/locales/angular/global/kn.js +4 -4
  991. app-ng-runtime/locales/angular/global/ko-kp.js +4 -4
  992. app-ng-runtime/locales/angular/global/ko.js +4 -4
  993. app-ng-runtime/locales/angular/global/kok.js +4 -4
  994. app-ng-runtime/locales/angular/global/ks-arab.js +4 -4
  995. app-ng-runtime/locales/angular/global/ks-deva.js +4 -4
  996. app-ng-runtime/locales/angular/global/ks.js +4 -4
  997. app-ng-runtime/locales/angular/global/ksb.js +4 -4
  998. app-ng-runtime/locales/angular/global/ksf.js +4 -4
  999. app-ng-runtime/locales/angular/global/ksh.js +4 -4
  1000. app-ng-runtime/locales/angular/global/ku.js +4 -4
  1001. app-ng-runtime/locales/angular/global/kw.js +4 -4
  1002. app-ng-runtime/locales/angular/global/ky.js +4 -4
  1003. app-ng-runtime/locales/angular/global/lag.js +4 -4
  1004. app-ng-runtime/locales/angular/global/lb.js +4 -4
  1005. app-ng-runtime/locales/angular/global/lg.js +4 -4
  1006. app-ng-runtime/locales/angular/global/lkt.js +4 -4
  1007. app-ng-runtime/locales/angular/global/ln-ao.js +4 -4
  1008. app-ng-runtime/locales/angular/global/ln-cf.js +4 -4
  1009. app-ng-runtime/locales/angular/global/ln-cg.js +4 -4
  1010. app-ng-runtime/locales/angular/global/ln.js +4 -4
  1011. app-ng-runtime/locales/angular/global/lo.js +4 -4
  1012. app-ng-runtime/locales/angular/global/lrc-iq.js +4 -4
  1013. app-ng-runtime/locales/angular/global/lrc.js +4 -4
  1014. app-ng-runtime/locales/angular/global/lt.js +4 -4
  1015. app-ng-runtime/locales/angular/global/lu.js +4 -4
  1016. app-ng-runtime/locales/angular/global/luo.js +4 -4
  1017. app-ng-runtime/locales/angular/global/luy.js +4 -4
  1018. app-ng-runtime/locales/angular/global/lv.js +4 -4
  1019. app-ng-runtime/locales/angular/global/mai.js +4 -4
  1020. app-ng-runtime/locales/angular/global/mas-tz.js +4 -4
  1021. app-ng-runtime/locales/angular/global/mas.js +4 -4
  1022. app-ng-runtime/locales/angular/global/mer.js +4 -4
  1023. app-ng-runtime/locales/angular/global/mfe.js +4 -4
  1024. app-ng-runtime/locales/angular/global/mg.js +4 -4
  1025. app-ng-runtime/locales/angular/global/mgh.js +4 -4
  1026. app-ng-runtime/locales/angular/global/mgo.js +4 -4
  1027. app-ng-runtime/locales/angular/global/mi.js +4 -4
  1028. app-ng-runtime/locales/angular/global/mk.js +4 -4
  1029. app-ng-runtime/locales/angular/global/ml.js +4 -4
  1030. app-ng-runtime/locales/angular/global/mn.js +4 -4
  1031. app-ng-runtime/locales/angular/global/mni-beng.js +4 -4
  1032. app-ng-runtime/locales/angular/global/mni.js +4 -4
  1033. app-ng-runtime/locales/angular/global/mr.js +4 -4
  1034. app-ng-runtime/locales/angular/global/ms-bn.js +4 -4
  1035. app-ng-runtime/locales/angular/global/ms-id.js +4 -4
  1036. app-ng-runtime/locales/angular/global/ms-sg.js +4 -4
  1037. app-ng-runtime/locales/angular/global/ms.js +4 -4
  1038. app-ng-runtime/locales/angular/global/mt.js +4 -4
  1039. app-ng-runtime/locales/angular/global/mua.js +4 -4
  1040. app-ng-runtime/locales/angular/global/my.js +4 -4
  1041. app-ng-runtime/locales/angular/global/mzn.js +4 -4
  1042. app-ng-runtime/locales/angular/global/naq.js +4 -4
  1043. app-ng-runtime/locales/angular/global/nb-sj.js +4 -4
  1044. app-ng-runtime/locales/angular/global/nb.js +4 -4
  1045. app-ng-runtime/locales/angular/global/nd.js +4 -4
  1046. app-ng-runtime/locales/angular/global/nds-nl.js +4 -4
  1047. app-ng-runtime/locales/angular/global/nds.js +4 -4
  1048. app-ng-runtime/locales/angular/global/ne-in.js +4 -4
  1049. app-ng-runtime/locales/angular/global/ne.js +4 -4
  1050. app-ng-runtime/locales/angular/global/nl-aw.js +4 -4
  1051. app-ng-runtime/locales/angular/global/nl-be.js +4 -4
  1052. app-ng-runtime/locales/angular/global/nl-bq.js +4 -4
  1053. app-ng-runtime/locales/angular/global/nl-cw.js +4 -4
  1054. app-ng-runtime/locales/angular/global/nl-sr.js +4 -4
  1055. app-ng-runtime/locales/angular/global/nl-sx.js +4 -4
  1056. app-ng-runtime/locales/angular/global/nl.js +4 -4
  1057. app-ng-runtime/locales/angular/global/nmg.js +4 -4
  1058. app-ng-runtime/locales/angular/global/nn.js +4 -4
  1059. app-ng-runtime/locales/angular/global/nnh.js +4 -4
  1060. app-ng-runtime/locales/angular/global/no.js +4 -4
  1061. app-ng-runtime/locales/angular/global/nus.js +4 -4
  1062. app-ng-runtime/locales/angular/global/nyn.js +4 -4
  1063. app-ng-runtime/locales/angular/global/om-ke.js +4 -4
  1064. app-ng-runtime/locales/angular/global/om.js +4 -4
  1065. app-ng-runtime/locales/angular/global/or.js +4 -4
  1066. app-ng-runtime/locales/angular/global/os-ru.js +4 -4
  1067. app-ng-runtime/locales/angular/global/os.js +4 -4
  1068. app-ng-runtime/locales/angular/global/pa-arab.js +4 -4
  1069. app-ng-runtime/locales/angular/global/pa-guru.js +4 -4
  1070. app-ng-runtime/locales/angular/global/pa.js +4 -4
  1071. app-ng-runtime/locales/angular/global/pcm.js +4 -4
  1072. app-ng-runtime/locales/angular/global/pl.js +4 -4
  1073. app-ng-runtime/locales/angular/global/ps-pk.js +4 -4
  1074. app-ng-runtime/locales/angular/global/ps.js +4 -4
  1075. app-ng-runtime/locales/angular/global/pt-ao.js +4 -4
  1076. app-ng-runtime/locales/angular/global/pt-ch.js +4 -4
  1077. app-ng-runtime/locales/angular/global/pt-cv.js +4 -4
  1078. app-ng-runtime/locales/angular/global/pt-gq.js +4 -4
  1079. app-ng-runtime/locales/angular/global/pt-gw.js +4 -4
  1080. app-ng-runtime/locales/angular/global/pt-lu.js +4 -4
  1081. app-ng-runtime/locales/angular/global/pt-mo.js +4 -4
  1082. app-ng-runtime/locales/angular/global/pt-mz.js +4 -4
  1083. app-ng-runtime/locales/angular/global/pt-pt.js +4 -4
  1084. app-ng-runtime/locales/angular/global/pt-st.js +4 -4
  1085. app-ng-runtime/locales/angular/global/pt-tl.js +4 -4
  1086. app-ng-runtime/locales/angular/global/pt.js +4 -4
  1087. app-ng-runtime/locales/angular/global/qu-bo.js +4 -4
  1088. app-ng-runtime/locales/angular/global/qu-ec.js +4 -4
  1089. app-ng-runtime/locales/angular/global/qu.js +4 -4
  1090. app-ng-runtime/locales/angular/global/rm.js +4 -4
  1091. app-ng-runtime/locales/angular/global/rn.js +4 -4
  1092. app-ng-runtime/locales/angular/global/ro-md.js +4 -4
  1093. app-ng-runtime/locales/angular/global/ro.js +4 -4
  1094. app-ng-runtime/locales/angular/global/rof.js +4 -4
  1095. app-ng-runtime/locales/angular/global/ru-by.js +4 -4
  1096. app-ng-runtime/locales/angular/global/ru-kg.js +4 -4
  1097. app-ng-runtime/locales/angular/global/ru-kz.js +4 -4
  1098. app-ng-runtime/locales/angular/global/ru-md.js +4 -4
  1099. app-ng-runtime/locales/angular/global/ru-ua.js +4 -4
  1100. app-ng-runtime/locales/angular/global/ru.js +4 -4
  1101. app-ng-runtime/locales/angular/global/rw.js +4 -4
  1102. app-ng-runtime/locales/angular/global/rwk.js +4 -4
  1103. app-ng-runtime/locales/angular/global/sa.js +4 -4
  1104. app-ng-runtime/locales/angular/global/sah.js +4 -4
  1105. app-ng-runtime/locales/angular/global/saq.js +4 -4
  1106. app-ng-runtime/locales/angular/global/sat-olck.js +4 -4
  1107. app-ng-runtime/locales/angular/global/sat.js +4 -4
  1108. app-ng-runtime/locales/angular/global/sbp.js +4 -4
  1109. app-ng-runtime/locales/angular/global/sc.js +4 -4
  1110. app-ng-runtime/locales/angular/global/sd-arab.js +4 -4
  1111. app-ng-runtime/locales/angular/global/sd-deva.js +4 -4
  1112. app-ng-runtime/locales/angular/global/sd.js +4 -4
  1113. app-ng-runtime/locales/angular/global/se-fi.js +4 -4
  1114. app-ng-runtime/locales/angular/global/se-se.js +4 -4
  1115. app-ng-runtime/locales/angular/global/se.js +4 -4
  1116. app-ng-runtime/locales/angular/global/seh.js +4 -4
  1117. app-ng-runtime/locales/angular/global/ses.js +4 -4
  1118. app-ng-runtime/locales/angular/global/sg.js +4 -4
  1119. app-ng-runtime/locales/angular/global/shi-latn.js +4 -4
  1120. app-ng-runtime/locales/angular/global/shi-tfng.js +4 -4
  1121. app-ng-runtime/locales/angular/global/shi.js +4 -4
  1122. app-ng-runtime/locales/angular/global/si.js +4 -4
  1123. app-ng-runtime/locales/angular/global/sk.js +4 -4
  1124. app-ng-runtime/locales/angular/global/sl.js +4 -4
  1125. app-ng-runtime/locales/angular/global/smn.js +4 -4
  1126. app-ng-runtime/locales/angular/global/sn.js +4 -4
  1127. app-ng-runtime/locales/angular/global/so-dj.js +4 -4
  1128. app-ng-runtime/locales/angular/global/so-et.js +4 -4
  1129. app-ng-runtime/locales/angular/global/so-ke.js +4 -4
  1130. app-ng-runtime/locales/angular/global/so.js +4 -4
  1131. app-ng-runtime/locales/angular/global/sq-mk.js +4 -4
  1132. app-ng-runtime/locales/angular/global/sq-xk.js +4 -4
  1133. app-ng-runtime/locales/angular/global/sq.js +4 -4
  1134. app-ng-runtime/locales/angular/global/sr-cyrl-ba.js +4 -4
  1135. app-ng-runtime/locales/angular/global/sr-cyrl-me.js +4 -4
  1136. app-ng-runtime/locales/angular/global/sr-cyrl-xk.js +4 -4
  1137. app-ng-runtime/locales/angular/global/sr-cyrl.js +4 -4
  1138. app-ng-runtime/locales/angular/global/sr-latn-ba.js +4 -4
  1139. app-ng-runtime/locales/angular/global/sr-latn-me.js +4 -4
  1140. app-ng-runtime/locales/angular/global/sr-latn-xk.js +4 -4
  1141. app-ng-runtime/locales/angular/global/sr-latn.js +4 -4
  1142. app-ng-runtime/locales/angular/global/sr.js +4 -4
  1143. app-ng-runtime/locales/angular/global/su-latn.js +4 -4
  1144. app-ng-runtime/locales/angular/global/su.js +4 -4
  1145. app-ng-runtime/locales/angular/global/sv-ax.js +4 -4
  1146. app-ng-runtime/locales/angular/global/sv-fi.js +4 -4
  1147. app-ng-runtime/locales/angular/global/sv.js +4 -4
  1148. app-ng-runtime/locales/angular/global/sw-cd.js +4 -4
  1149. app-ng-runtime/locales/angular/global/sw-ke.js +4 -4
  1150. app-ng-runtime/locales/angular/global/sw-ug.js +4 -4
  1151. app-ng-runtime/locales/angular/global/sw.js +4 -4
  1152. app-ng-runtime/locales/angular/global/ta-lk.js +4 -4
  1153. app-ng-runtime/locales/angular/global/ta-my.js +4 -4
  1154. app-ng-runtime/locales/angular/global/ta-sg.js +4 -4
  1155. app-ng-runtime/locales/angular/global/ta.js +4 -4
  1156. app-ng-runtime/locales/angular/global/te.js +4 -4
  1157. app-ng-runtime/locales/angular/global/teo-ke.js +4 -4
  1158. app-ng-runtime/locales/angular/global/teo.js +4 -4
  1159. app-ng-runtime/locales/angular/global/tg.js +4 -4
  1160. app-ng-runtime/locales/angular/global/th.js +4 -4
  1161. app-ng-runtime/locales/angular/global/ti-er.js +4 -4
  1162. app-ng-runtime/locales/angular/global/ti.js +4 -4
  1163. app-ng-runtime/locales/angular/global/tk.js +4 -4
  1164. app-ng-runtime/locales/angular/global/to.js +4 -4
  1165. app-ng-runtime/locales/angular/global/tr-cy.js +4 -4
  1166. app-ng-runtime/locales/angular/global/tr.js +4 -4
  1167. app-ng-runtime/locales/angular/global/tt.js +4 -4
  1168. app-ng-runtime/locales/angular/global/twq.js +4 -4
  1169. app-ng-runtime/locales/angular/global/tzm.js +4 -4
  1170. app-ng-runtime/locales/angular/global/ug.js +4 -4
  1171. app-ng-runtime/locales/angular/global/uk.js +4 -4
  1172. app-ng-runtime/locales/angular/global/und.js +4 -4
  1173. app-ng-runtime/locales/angular/global/ur-in.js +4 -4
  1174. app-ng-runtime/locales/angular/global/ur.js +4 -4
  1175. app-ng-runtime/locales/angular/global/uz-arab.js +4 -4
  1176. app-ng-runtime/locales/angular/global/uz-cyrl.js +4 -4
  1177. app-ng-runtime/locales/angular/global/uz-latn.js +4 -4
  1178. app-ng-runtime/locales/angular/global/uz.js +4 -4
  1179. app-ng-runtime/locales/angular/global/vai-latn.js +4 -4
  1180. app-ng-runtime/locales/angular/global/vai-vaii.js +4 -4
  1181. app-ng-runtime/locales/angular/global/vai.js +4 -4
  1182. app-ng-runtime/locales/angular/global/vi.js +4 -4
  1183. app-ng-runtime/locales/angular/global/vun.js +4 -4
  1184. app-ng-runtime/locales/angular/global/wae.js +4 -4
  1185. app-ng-runtime/locales/angular/global/wo.js +4 -4
  1186. app-ng-runtime/locales/angular/global/xh.js +4 -4
  1187. app-ng-runtime/locales/angular/global/xog.js +4 -4
  1188. app-ng-runtime/locales/angular/global/yav.js +4 -4
  1189. app-ng-runtime/locales/angular/global/yi.js +4 -4
  1190. app-ng-runtime/locales/angular/global/yo-bj.js +4 -4
  1191. app-ng-runtime/locales/angular/global/yo.js +4 -4
  1192. app-ng-runtime/locales/angular/global/yrl-co.js +4 -4
  1193. app-ng-runtime/locales/angular/global/yrl-ve.js +4 -4
  1194. app-ng-runtime/locales/angular/global/yrl.js +4 -4
  1195. app-ng-runtime/locales/angular/global/yue-hans.js +4 -4
  1196. app-ng-runtime/locales/angular/global/yue-hant.js +4 -4
  1197. app-ng-runtime/locales/angular/global/yue.js +4 -4
  1198. app-ng-runtime/locales/angular/global/zgh.js +4 -4
  1199. app-ng-runtime/locales/angular/global/zh-hans-hk.js +4 -4
  1200. app-ng-runtime/locales/angular/global/zh-hans-mo.js +4 -4
  1201. app-ng-runtime/locales/angular/global/zh-hans-sg.js +4 -4
  1202. app-ng-runtime/locales/angular/global/zh-hans.js +4 -4
  1203. app-ng-runtime/locales/angular/global/zh-hant-hk.js +4 -4
  1204. app-ng-runtime/locales/angular/global/zh-hant-mo.js +4 -4
  1205. app-ng-runtime/locales/angular/global/zh-hant.js +4 -4
  1206. app-ng-runtime/locales/angular/global/zh.js +4 -4
  1207. app-ng-runtime/locales/angular/global/zu.js +4 -4
  1208. app-ng-runtime/mobile/components/basic/default/.npmignore +2 -0
  1209. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +148 -143
  1210. app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +8 -7
  1211. app-ng-runtime/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +7 -6
  1212. app-ng-runtime/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
  1213. app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +47 -43
  1214. app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +7 -5
  1215. app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +6 -5
  1216. app-ng-runtime/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +49 -47
  1217. app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
  1218. app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +31 -32
  1219. app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +146 -140
  1220. app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
  1221. app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
  1222. app-ng-runtime/mobile/components/basic/search/.npmignore +2 -0
  1223. app-ng-runtime/mobile/components/basic/search/bundles/index.umd.js +3 -3
  1224. app-ng-runtime/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
  1225. app-ng-runtime/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
  1226. app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs +3 -3
  1227. app-ng-runtime/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
  1228. app-ng-runtime/mobile/components/containers/segmented-control/.npmignore +2 -0
  1229. app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +42 -30
  1230. app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +14 -8
  1231. app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +28 -21
  1232. app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
  1233. app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +41 -28
  1234. app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
  1235. app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
  1236. app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
  1237. app-ng-runtime/mobile/components/data/media-list/.npmignore +2 -0
  1238. app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +53 -48
  1239. app-ng-runtime/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
  1240. app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +48 -42
  1241. app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
  1242. app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +50 -44
  1243. app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
  1244. app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -2
  1245. app-ng-runtime/mobile/components/device/barcode-scanner/.npmignore +2 -0
  1246. app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
  1247. app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +14 -8
  1248. app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +15 -9
  1249. app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
  1250. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +16 -10
  1251. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
  1252. app-ng-runtime/mobile/components/device/camera/.npmignore +2 -0
  1253. app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +15 -9
  1254. app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -2
  1255. app-ng-runtime/mobile/components/device/camera/esm2022/camera.component.mjs +16 -10
  1256. app-ng-runtime/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
  1257. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +17 -11
  1258. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
  1259. app-ng-runtime/mobile/components/input/file-upload/.npmignore +2 -0
  1260. app-ng-runtime/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
  1261. app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
  1262. app-ng-runtime/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
  1263. app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
  1264. app-ng-runtime/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  1265. app-ng-runtime/mobile/components/page/default/.npmignore +2 -0
  1266. app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +11 -10
  1267. app-ng-runtime/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +4 -3
  1268. app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +5 -4
  1269. app-ng-runtime/mobile/components/page/default/esm2022/page.module.mjs +2 -2
  1270. app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +8 -6
  1271. app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
  1272. app-ng-runtime/mobile/components/page/left-panel/.npmignore +2 -0
  1273. app-ng-runtime/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
  1274. app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
  1275. app-ng-runtime/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
  1276. app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
  1277. app-ng-runtime/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  1278. app-ng-runtime/mobile/components/page/mobile-navbar/.npmignore +2 -0
  1279. app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +40 -35
  1280. app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +41 -36
  1281. app-ng-runtime/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
  1282. app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs +41 -36
  1283. app-ng-runtime/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
  1284. app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
  1285. app-ng-runtime/mobile/components/page/tab-bar/.npmignore +2 -0
  1286. app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +52 -46
  1287. app-ng-runtime/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
  1288. app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +50 -43
  1289. app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +51 -44
  1290. app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
  1291. app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
  1292. app-ng-runtime/mobile/core/.npmignore +2 -0
  1293. app-ng-runtime/mobile/core/bundles/index.umd.js +43 -43
  1294. app-ng-runtime/mobile/core/esm2022/core.module.mjs +3 -3
  1295. app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +1 -1
  1296. app-ng-runtime/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
  1297. app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +7 -6
  1298. app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +5 -4
  1299. app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +6 -5
  1300. app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +8 -7
  1301. app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +5 -4
  1302. app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +7 -6
  1303. app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +11 -10
  1304. app-ng-runtime/mobile/core/fesm2022/index.mjs +40 -39
  1305. app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
  1306. app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
  1307. app-ng-runtime/mobile/core/services/network.service.d.ts +7 -1
  1308. app-ng-runtime/mobile/offline/.npmignore +2 -0
  1309. app-ng-runtime/mobile/offline/bundles/index.umd.js +176 -159
  1310. app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
  1311. app-ng-runtime/mobile/offline/esm2022/offline.module.mjs +3 -3
  1312. app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +9 -8
  1313. app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +39 -37
  1314. app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +56 -47
  1315. app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +7 -6
  1316. app-ng-runtime/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
  1317. app-ng-runtime/mobile/offline/esm2022/services/push.service.mjs +3 -3
  1318. app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +4 -3
  1319. app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +18 -13
  1320. app-ng-runtime/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
  1321. app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
  1322. app-ng-runtime/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
  1323. app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +12 -11
  1324. app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +5 -4
  1325. app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +3 -2
  1326. app-ng-runtime/mobile/offline/esm2022/utils/utils.mjs +1 -1
  1327. app-ng-runtime/mobile/offline/fesm2022/index.mjs +171 -153
  1328. app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
  1329. app-ng-runtime/mobile/placeholder/runtime/.npmignore +2 -0
  1330. app-ng-runtime/mobile/placeholder/runtime/bundles/index.umd.js +3 -2
  1331. app-ng-runtime/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +3 -2
  1332. app-ng-runtime/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
  1333. app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs +3 -2
  1334. app-ng-runtime/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
  1335. app-ng-runtime/mobile/placeholder/runtime-dynamic/.npmignore +2 -0
  1336. app-ng-runtime/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
  1337. app-ng-runtime/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
  1338. app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
  1339. app-ng-runtime/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
  1340. app-ng-runtime/mobile/runtime/.npmignore +2 -0
  1341. app-ng-runtime/mobile/runtime/bundles/index.umd.js +21 -17
  1342. app-ng-runtime/mobile/runtime/esm2022/components/app-ext.component.mjs +4 -3
  1343. app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +5 -4
  1344. app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +7 -3
  1345. app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +6 -5
  1346. app-ng-runtime/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
  1347. app-ng-runtime/mobile/runtime/fesm2022/index.mjs +18 -13
  1348. app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
  1349. app-ng-runtime/mobile/runtime-dynamic/.npmignore +2 -0
  1350. app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
  1351. app-ng-runtime/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
  1352. app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
  1353. app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
  1354. app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
  1355. app-ng-runtime/mobile/variables/.npmignore +2 -0
  1356. app-ng-runtime/mobile/variables/bundles/index.umd.js +28 -21
  1357. app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +5 -5
  1358. app-ng-runtime/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
  1359. app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
  1360. app-ng-runtime/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
  1361. app-ng-runtime/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
  1362. app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +11 -3
  1363. app-ng-runtime/mobile/variables/esm2022/services/scan-service.mjs +1 -1
  1364. app-ng-runtime/mobile/variables/esm2022/variables.module.mjs +3 -3
  1365. app-ng-runtime/mobile/variables/fesm2022/index.mjs +24 -16
  1366. app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
  1367. app-ng-runtime/oAuth/.npmignore +2 -0
  1368. app-ng-runtime/oAuth/bundles/index.umd.js +15 -15
  1369. app-ng-runtime/oAuth/esm2022/oAuth.module.mjs +2 -2
  1370. app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +6 -5
  1371. app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +8 -7
  1372. app-ng-runtime/oAuth/fesm2022/index.mjs +12 -11
  1373. app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
  1374. app-ng-runtime/package.json +1 -1
  1375. app-ng-runtime/runtime/base/.npmignore +2 -0
  1376. app-ng-runtime/runtime/base/bundles/index.umd.js +267 -251
  1377. app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +3 -1
  1378. app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +3 -3
  1379. app-ng-runtime/runtime/base/directives/accessroles.directive.d.ts +4 -3
  1380. app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +34 -30
  1381. app-ng-runtime/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
  1382. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +9 -9
  1383. app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +5 -4
  1384. app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +16 -15
  1385. app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +15 -14
  1386. app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +17 -16
  1387. app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +16 -15
  1388. app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +17 -15
  1389. app-ng-runtime/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
  1390. app-ng-runtime/runtime/base/esm2022/components/prefab-preview.component.mjs +4 -3
  1391. app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +24 -16
  1392. app-ng-runtime/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
  1393. app-ng-runtime/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
  1394. app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
  1395. app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
  1396. app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +5 -4
  1397. app-ng-runtime/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
  1398. app-ng-runtime/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
  1399. app-ng-runtime/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
  1400. app-ng-runtime/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
  1401. app-ng-runtime/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
  1402. app-ng-runtime/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
  1403. app-ng-runtime/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
  1404. app-ng-runtime/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
  1405. app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +3 -3
  1406. app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
  1407. app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +19 -16
  1408. app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +9 -8
  1409. app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +5 -4
  1410. app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +6 -5
  1411. app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +15 -13
  1412. app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +10 -9
  1413. app-ng-runtime/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
  1414. app-ng-runtime/runtime/base/esm2022/services/pipe.service.mjs +3 -3
  1415. app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +5 -4
  1416. app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +9 -8
  1417. app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +8 -7
  1418. app-ng-runtime/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
  1419. app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +7 -8
  1420. app-ng-runtime/runtime/base/fesm2022/index.mjs +277 -260
  1421. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  1422. app-ng-runtime/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
  1423. app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
  1424. app-ng-runtime/runtime/dynamic/.npmignore +2 -0
  1425. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +22 -21
  1426. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
  1427. app-ng-runtime/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +4 -3
  1428. app-ng-runtime/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
  1429. app-ng-runtime/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
  1430. app-ng-runtime/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
  1431. app-ng-runtime/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
  1432. app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +6 -5
  1433. app-ng-runtime/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
  1434. app-ng-runtime/runtime/dynamic/esm2022/main.mjs +3 -2
  1435. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +21 -19
  1436. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  1437. app-ng-runtime/scripts/datatable/datatable.js +2 -2
  1438. app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
  1439. app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
  1440. app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
  1441. app-ng-runtime/security/.npmignore +2 -0
  1442. app-ng-runtime/security/bundles/index.umd.js +17 -17
  1443. app-ng-runtime/security/esm2022/security.module.mjs +2 -2
  1444. app-ng-runtime/security/esm2022/security.service.mjs +14 -13
  1445. app-ng-runtime/security/fesm2022/index.mjs +14 -13
  1446. app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
  1447. app-ng-runtime/security/security.service.d.ts +1 -1
  1448. app-ng-runtime/swipey/.npmignore +2 -0
  1449. app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
  1450. app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
  1451. app-ng-runtime/transpiler/.npmignore +2 -0
  1452. app-ng-runtime/transpiler/bundles/index.umd.js +10 -9
  1453. app-ng-runtime/transpiler/esm2022/build.mjs +8 -6
  1454. app-ng-runtime/transpiler/fesm2022/index.mjs +7 -5
  1455. app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
  1456. app-ng-runtime/variables/.npmignore +2 -0
  1457. app-ng-runtime/variables/bundles/index.umd.js +160 -150
  1458. app-ng-runtime/variables/esm2022/factory/variable.factory.mjs +1 -1
  1459. app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
  1460. app-ng-runtime/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
  1461. app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
  1462. app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
  1463. app-ng-runtime/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
  1464. app-ng-runtime/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
  1465. app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
  1466. app-ng-runtime/variables/esm2022/model/action/notification-action.mjs +1 -1
  1467. app-ng-runtime/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
  1468. app-ng-runtime/variables/esm2022/service/variables.service.mjs +9 -8
  1469. app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
  1470. app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
  1471. app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
  1472. app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +75 -70
  1473. app-ng-runtime/variables/esm2022/variables.module.mjs +2 -2
  1474. app-ng-runtime/variables/fesm2022/index.mjs +174 -163
  1475. app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
  1476. app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
  1477. app-ng-runtime/build-task/advanced/custom-widget-prop/custom-widget-prop.build.d.ts +0 -2
  1478. app-ng-runtime/build-task/esm2022/advanced/custom-widget-prop/custom-widget-prop.build.mjs +0 -10
  1479. app-ng-runtime/components/advanced/custom/custom-widget-container-prop/custom-widget-container-prop.directive.d.ts +0 -20
  1480. app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container-prop/custom-widget-container-prop.directive.mjs +0 -70
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../projects/mobile/variables/src/services/calendar-service.ts","../../../../projects/mobile/variables/src/services/camera-service.ts","../../../../projects/mobile/variables/src/services/file-service.ts","../../../../projects/mobile/variables/src/services/datasync-service.ts","../../../../projects/mobile/variables/src/services/device-service/location-service.ts","../../../../projects/mobile/variables/src/services/device-service/device-service.ts","../../../../projects/mobile/variables/src/services/contacts-service.ts","../../../../projects/mobile/variables/src/services/scan-service.ts","../../../../projects/mobile/variables/src/variables.module.ts","../../../../projects/mobile/variables/src/index.ts"],"sourcesContent":["import { Calendar } from '@awesome-cordova-plugins/calendar/ngx';\n\nimport { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\nconst DEFAULT_TIME = new Date().getTime();\n/*3 months timestamp value*/\nconst DELTA_VALUE_DATE = (3 * 30 * 24 * 60 * 60 * 1000);\nconst DEFAULT_START_DATE = (DEFAULT_TIME - DELTA_VALUE_DATE);\nconst DEFAULT_END_DATE = (DEFAULT_TIME + DELTA_VALUE_DATE);\nconst EVENT_META = {\n title: '',\n message: '',\n location: '',\n startDate: new Date(),\n endDate: new Date()\n};\n\n/**\n * this file contains all calendar operations under 'calendar' service.\n */\nexport class CalendarService extends DeviceVariableService {\n public readonly name = 'calendar';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(calendar: Calendar) {\n super();\n this.operations.push(new CreateEventOperation(calendar),\n new DeleteEventOperation(calendar),\n new GetEventsOperation(calendar));\n }\n}\n\nclass CreateEventOperation implements IDeviceVariableOperation {\n public readonly name = 'createEvent';\n public readonly properties = [\n {target: 'eventTitle', type: 'string', dataBinding: true},\n {target: 'eventNotes', type: 'string', dataBinding: true},\n {target: 'eventLocation', type: 'string', dataBinding: true},\n {target: 'eventStart', type: 'datetime', dataBinding: true},\n {target: 'eventEnd', type: 'datetime', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CALENDAR'];\n\n constructor(private calendar: Calendar) {\n\n }\n\n public invoke(variable: any, options: any, eventInfo: Map<string, any>): Promise<any> {\n return this.calendar.createEvent(\n eventInfo.get('eventTitle'),\n eventInfo.get('eventLocation'),\n eventInfo.get('eventNotes'),\n new Date(eventInfo.get('eventStart') || 0),\n new Date(eventInfo.get('eventEnd') || 0));\n }\n}\n\nclass DeleteEventOperation implements IDeviceVariableOperation {\n public readonly name = 'deleteEvent';\n public readonly properties = [\n {target: 'eventTitle', type: 'string', dataBinding: true},\n {target: 'eventNotes', type: 'string', dataBinding: true},\n {target: 'eventLocation', type: 'string', dataBinding: true},\n {target: 'eventStart', type: 'datetime', dataBinding: true},\n {target: 'eventEnd', type: 'datetime', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CALENDAR'];\n\n constructor(private calendar: Calendar) {\n\n }\n\n public invoke(variable: any, options: any, eventInfo: Map<string, any>): Promise<any> {\n return this.calendar.deleteEvent(\n eventInfo.get('eventTitle'),\n eventInfo.get('eventLocation'),\n eventInfo.get('eventNotes'),\n new Date(eventInfo.get('eventStart') || DEFAULT_START_DATE),\n new Date(eventInfo.get('eventEnd') || DEFAULT_END_DATE));\n }\n}\n\nclass GetEventsOperation implements IDeviceVariableOperation {\n public readonly name = 'getEvents';\n public readonly model = [EVENT_META];\n public readonly properties = [\n {target: 'eventTitle', type: 'string', dataBinding: true},\n {target: 'eventNotes', type: 'string', dataBinding: true},\n {target: 'eventLocation', type: 'string', dataBinding: true},\n {target: 'eventStart', type: 'datetime', dataBinding: true},\n {target: 'eventEnd', type: 'datetime', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CALENDAR'];\n\n constructor(private calendar: Calendar) {\n\n }\n\n public invoke(variable: any, options: any, eventInfo: Map<string, any>): Promise<any> {\n return this.calendar.findEvent(\n eventInfo.get('eventTitle'),\n eventInfo.get('eventLocation'),\n eventInfo.get('eventNotes'),\n new Date(eventInfo.get('eventStart') || DEFAULT_START_DATE),\n new Date(eventInfo.get('eventEnd') || DEFAULT_END_DATE));\n }\n}\n","import { Camera } from '@awesome-cordova-plugins/camera/ngx';\nimport { MediaCapture } from '@awesome-cordova-plugins/media-capture/ngx';\n\nimport { isNumber } from '@wm/core';\nimport { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\nexport class CameraService extends DeviceVariableService {\n public readonly name = 'camera';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(camera: Camera, mediaCapture: MediaCapture) {\n super();\n this.operations.push(new CaptureImageOperation(camera),\n new CaptureVideoOperation(mediaCapture));\n }\n}\n\nclass CaptureImageOperation implements IDeviceVariableOperation {\n public readonly name = 'captureImage';\n public readonly model = {\n imagePath: 'resources/images/imagelists/default-image.png'\n };\n public readonly properties = [\n {target: 'allowImageEdit', type: 'boolean', value: false, dataBinding: true},\n {target: 'imageQuality', type: 'number', value: 80, dataBinding: true},\n {target: 'imageEncodingType', type: 'list', options: {'0': 'JPEG', '1': 'PNG'}, value: '0', dataBinding: true},\n {target: 'correctOrientation', type: 'boolean', value: true, dataBinding: true},\n {target: 'imageTargetWidth', type: 'number', dataBinding: true},\n {target: 'imageTargetHeight', type: 'number', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CAMERA', 'CAPTURE'];\n\n constructor(private camera: Camera) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const imageTargetWidth = dataBindings.get('imageTargetWidth'),\n imageTargetHeight = dataBindings.get('imageTargetHeight');\n let imageEncodingType = parseInt(dataBindings.get('imageEncodingType'), 10),\n cameraOptions;\n if (isNaN(imageEncodingType)) {\n imageEncodingType = (dataBindings.get('imageEncodingType') === 'JPEG' ? 0 : 1);\n }\n cameraOptions = {\n quality : dataBindings.get('imageQuality'),\n destinationType : 1, // only file url\n sourceType : 1, // camera\n allowEdit : dataBindings.get('allowImageEdit'),\n encodingType : imageEncodingType,\n mediaType : 0, // always picture\n correctOrientation: dataBindings.get('correctOrientation'),\n targetWidth : isNumber(imageTargetWidth) ? imageTargetWidth : undefined,\n targetHeight : isNumber(imageTargetHeight) ? imageTargetHeight : undefined,\n };\n return this.camera.getPicture(cameraOptions).then( data => {\n return {imagePath: data};\n });\n }\n}\n\nclass CaptureVideoOperation implements IDeviceVariableOperation {\n public readonly name = 'captureVideo';\n public readonly model = {\n videoPath: ''\n };\n public readonly properties = [];\n public readonly requiredCordovaPlugins = ['CAMERA', 'CAPTURE'];\n\n constructor(private mediaCapture: MediaCapture) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n return this.mediaCapture.captureVideo({\n limit : 1\n }).then( data => {\n let path = data[0].fullPath;\n path = (path.startsWith('file://') ? '' : 'file://') + path;\n return {videoPath: path};\n });\n }\n}\n","import { isValidWebURL } from '@wm/core';\nimport { DeviceFileOpenerService, DeviceFileUploadService } from '@wm/mobile/core';\nimport { $rootScope, DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\ndeclare const _;\n\nexport class FileService extends DeviceVariableService {\n name = 'file';\n operations: IDeviceVariableOperation[] = [];\n\n constructor(fileOpener: DeviceFileOpenerService, fileUploader: DeviceFileUploadService) {\n super();\n this.operations.push(new OpenFileOperation(fileOpener),\n new UploadFileOperation(fileUploader));\n }\n}\n\nclass OpenFileOperation implements IDeviceVariableOperation {\n\n private _defaultFileTypesToOpen = {\n 'doc' : {'label' : 'Microsoft Office Word Document', 'mimeType' : 'application/msword', 'extension' : 'doc'},\n 'pdf' : {'label' : 'PDF Document', 'mimeType' : 'application/pdf', 'extension' : 'pdf'},\n 'ppt' : {'label' : 'Microsoft Office Powerpoint', 'mimeType' : 'application/vnd.ms-powerpoint', 'extension' : 'ppt'},\n 'xls' : {'label' : 'Microsoft Office Excel', 'mimeType' : 'application/vnd.ms-excel', 'extension' : 'xls'}\n };\n\n public readonly name = 'openFile';\n public readonly model = {};\n public readonly properties = [\n {target: 'filePath', type: 'string', value: '', dataBinding: true},\n {target: 'fileType', type: 'list', options: _.mapValues(this._defaultFileTypesToOpen, 'label'), value: 'pdf', dataBinding: true, hide: true},\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = [];\n\n constructor(private fileOpener: DeviceFileOpenerService) {}\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const fileType = this._defaultFileTypesToOpen[dataBindings.get('fileType')];\n let filePath = dataBindings.get('filePath');\n // if relative path is given, then append url with deployedUrl, to access files in resources.\n if (!isValidWebURL(filePath)) {\n filePath = $rootScope.project.deployedUrl + filePath;\n }\n return this.fileOpener.openRemoteFile(filePath, fileType.extension);\n }\n}\n\nclass UploadFileOperation implements IDeviceVariableOperation {\n\n public readonly name = 'upload';\n public readonly model = {\n fileName : '',\n path : '',\n length : 0,\n success : false,\n inlinePath : '',\n errorMessage: '',\n inProgress : false,\n loaded : 0\n };\n public readonly properties = [\n {target: 'localFile', type: 'string', value: '', dataBinding: true},\n {target: 'remoteFolder', type: 'string', value: '', dataBinding: true},\n {target: 'onProgress', hide : false},\n {target: 'spinnerContext', hide : false},\n {target: 'spinnerMessage', hide : false}\n ];\n public readonly requiredCordovaPlugins = [];\n\n constructor(private fileUploader: DeviceFileUploadService) {}\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const serverUrl = $rootScope.project.deployedUrl + 'services/file/uploadFile?relativePath=' + (dataBindings.get('remoteFolder') || ''),\n filePath = dataBindings.get('localFile'),\n fileName = filePath.split('/').pop(),\n data = {\n fileName : fileName,\n fileSize : 0,\n inProgress : true,\n length : 0,\n loaded : 0\n };\n return this.fileUploader.upload(serverUrl, 'files', filePath, fileName)\n .then(uploadResponse => {\n _.assignIn(data, JSON.parse(uploadResponse.text)[0]);\n data.loaded = data.length;\n return data;\n });\n }\n}\n","import { Observer } from 'rxjs';\n\nimport { App, noop, toPromise } from '@wm/core';\nimport { NetworkService } from '@wm/mobile/core';\nimport { FileSelectorService, ProcessApi, ProcessManagementService } from '@wm/mobile/components/basic';\nimport { Change, ChangeLogService, LocalDBManagementService, LocalDBDataPullService, PushInfo, PullInfo } from '@wm/mobile/offline';\nimport { DeviceVariableService, IDeviceVariableOperation, initiateCallback, VARIABLE_CONSTANTS } from '@wm/variables';\nimport { SecurityService } from '@wm/security';\n\ndeclare const _;\n\nconst APP_IS_OFFLINE = 'App is offline.';\nconst OFFLINE_PLUGIN_NOT_FOUND = 'Offline DB Plugin is required, but missing.';\nconst ON_BEFORE_BLOCKED = 'onBefore callback returned false.';\nconst REQUIRED_PLUGINS = ['OFFLINE_DB', 'NETWORK'];\n\nexport class DatasyncService extends DeviceVariableService {\n public readonly name = 'datasync';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(app: App,\n changeLogService: ChangeLogService,\n fileSelectorService: FileSelectorService,\n localDBManagementService: LocalDBManagementService,\n localDBDataPullService: LocalDBDataPullService,\n processManagementService: ProcessManagementService,\n securityService: SecurityService,\n networkService: NetworkService) {\n super();\n this.operations.push(new ExportDBOperation(localDBManagementService));\n this.operations.push(new GetOfflineChangesOperation(changeLogService));\n this.operations.push(new ImportDBOperation(fileSelectorService, localDBManagementService));\n this.operations.push(new LastPullInfoOperation(localDBDataPullService));\n this.operations.push(new LastPushInfoOperation(changeLogService));\n this.operations.push(new PullOperation(app, processManagementService, networkService, securityService, localDBDataPullService));\n this.operations.push(new PushOperation(app, changeLogService, processManagementService, networkService, securityService));\n }\n}\n\nclass ExportDBOperation implements IDeviceVariableOperation {\n public readonly name = 'exportDB';\n public readonly model = {path: ''};\n public readonly properties = [\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private localDBManagementService: LocalDBManagementService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.localDBManagementService.exportDB();\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\n\nclass GetOfflineChangesOperation implements IDeviceVariableOperation {\n private static DATA_CHANGE_TEMPLATE = {\n service: 'DatabaseService',\n operation: 'operation',\n params: {\n data: {},\n dataModelName: 'dataModelName',\n entityName: 'entityName'\n },\n hasError: 0,\n errorMessage: ''\n };\n private static CHANGE_LOG_SET = {\n total: 0,\n database: {\n create: [GetOfflineChangesOperation.DATA_CHANGE_TEMPLATE],\n update: [GetOfflineChangesOperation.DATA_CHANGE_TEMPLATE],\n delete: [GetOfflineChangesOperation.DATA_CHANGE_TEMPLATE]\n },\n uploads: [{\n service: 'OfflineFileUploadService',\n operation: 'uploadToServer',\n params: {\n file: 'localFilePath',\n serverUrl: 'serverUrl',\n ftOptions: {}\n },\n hasError: 0,\n errorMessage: ''\n }]\n };\n public readonly name = 'getOfflineChanges';\n public readonly model = {\n total: 0,\n pendingToSync: GetOfflineChangesOperation.CHANGE_LOG_SET,\n failedToSync: GetOfflineChangesOperation.CHANGE_LOG_SET\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true},\n {target: 'autoUpdate', type: 'boolean', value: true, hide: true}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private changeLogService: ChangeLogService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return getOfflineChanges(this.changeLogService);\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass LastPullInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'lastPullInfo';\n public readonly model = {\n databases : [{\n name : 'datbaseName',\n entities: [{\n entityName: 'entityName',\n pulledRecordCount: 0\n }],\n pulledRecordCount: 0\n }],\n totalPulledRecordCount: 0,\n startTime: new Date().toJSON(),\n endTime: new Date().toJSON()\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true},\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private localDBDataPullService: LocalDBDataPullService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.localDBDataPullService.getLastPullInfo();\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass LastPushInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'lastPushInfo';\n public readonly model = {\n successfulTaskCount: 0,\n failedTaskCount: 0,\n completedTaskCount: 0,\n totalTaskCount: 0,\n startTime: new Date().toJSON(),\n endTime: new Date().toJSON()\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true},\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private changeLogService: ChangeLogService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.changeLogService.getLastPushInfo();\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass ImportDBOperation implements IDeviceVariableOperation {\n public readonly name = 'importDB';\n public readonly model = {};\n public readonly properties = [\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(\n private fileSelectorService: FileSelectorService,\n private localDBManagementService: LocalDBManagementService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.fileSelectorService.selectFiles(false, 'zip')\n .then(files => {\n if (files && files.length) {\n return this.localDBManagementService.importDB(files[0].path, true);\n }\n });\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass PullOperation implements IDeviceVariableOperation {\n public readonly name = 'pull';\n public readonly model = {\n totalTaskCount: 0,\n completedTaskCount: 0,\n inProgress: false\n };\n public readonly properties = [\n {target: 'clearData', type: 'boolean', widgettype: 'boolean-inputfirst', value: true, group: 'properties', subGroup: 'behavior'},\n {target: 'startUpdate', type: 'boolean', hide: false},\n {target: 'onBefore', hide: false},\n {target: 'onProgress', hide: false},\n {target: 'showProgress', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(\n private app: App,\n private processManagementService: ProcessManagementService,\n private networkService: NetworkService,\n private securityService: SecurityService,\n private localDBDataPullService: LocalDBDataPullService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n let progressInstance;\n return canExecute(variable, this.networkService, this.securityService)\n .then(() => {\n if (variable.showProgress) {\n return this.processManagementService.createInstance(this.app.appLocale.LABEL_DATA_PULL_PROGRESS, 0, 0);\n }\n return null;\n }).then((instance: ProcessApi) => {\n const progressObserver: Observer<PullInfo> = {\n next: (pullInfo: PullInfo) => {\n // variable.dataSet = progress; Todo: progress\n initiateCallback('onProgress', variable, pullInfo);\n if (progressInstance) {\n progressInstance.set('max', pullInfo.totalRecordsToPull);\n progressInstance.set('value', pullInfo.totalPulledRecordCount);\n }\n }, error: noop, complete: noop};\n\n const clearData = variable.clearData === 'true' || variable.clearData === true,\n pullPromise = this.localDBDataPullService.pullAllDbData(clearData, progressObserver);\n if (instance) {\n progressInstance = instance;\n progressInstance.set('stopButtonLabel', this.app.appLocale.LABEL_DATA_PULL_PROGRESS_STOP_BTN);\n progressInstance.set('onStop', () => {\n this.localDBDataPullService.cancel(pullPromise);\n });\n }\n return pullPromise;\n }).catch(pullInfo => pullInfo)\n .then(pullInfo => {\n if (progressInstance) {\n progressInstance.destroy();\n }\n return pullInfo;\n });\n }\n}\n\nclass PushOperation implements IDeviceVariableOperation {\n public readonly name = 'push';\n public readonly model = {\n successfulTaskCount: 0,\n failedTaskCount: 0,\n completedTaskCount: 0,\n totalTaskCount: 0,\n inProgress: false\n };\n public readonly properties = [\n {target: 'onBefore', hide: false},\n {target: 'onProgress', hide: false},\n {target: 'showProgress', 'hide': false, 'value': true}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private app: App,\n private changeLogService: ChangeLogService,\n private processManagementService: ProcessManagementService,\n private networkService: NetworkService,\n private securityService: SecurityService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n let progressInstance;\n if (this.changeLogService.isFlushInProgress()) {\n return Promise.resolve();\n }\n return canExecute(variable, this.networkService, this.securityService)\n .then(() => getOfflineChanges(this.changeLogService))\n .then(changes => {\n if (changes.pendingToSync.total <= 0) {\n return Promise.reject(_.clone(this.model));\n }\n }).then(() => {\n if (variable.showProgress) {\n return this.processManagementService.createInstance(this.app.appLocale.LABEL_DATA_PUSH_PROGRESS, 0, 0);\n }\n return null;\n }).then((instance: ProcessApi) => {\n const progressObserver: Observer<PushInfo> = {\n next: (pushInfo: PushInfo) => {\n pushInfo = addOldPropertiesForPushData(pushInfo);\n initiateCallback('onProgress', variable, pushInfo);\n if (progressInstance) {\n progressInstance.set('max', pushInfo.totalTaskCount);\n progressInstance.set('value', pushInfo.completedTaskCount);\n }\n }, error: noop, complete: noop};\n const pushPromise = this.changeLogService.flush(progressObserver);\n if (instance) {\n progressInstance = instance;\n progressInstance.set('stopButtonLabel', this.app.appLocale.LABEL_DATA_PUSH_PROGRESS_STOP_BTN);\n progressInstance.set('onStop', () => this.changeLogService.stop());\n }\n return pushPromise;\n })\n .catch(pushInfo => pushInfo)\n .then(pushInfo => {\n if (progressInstance) {\n progressInstance.destroy();\n }\n if (pushInfo && pushInfo.totalTaskCount !== undefined) {\n pushInfo = addOldPropertiesForPushData(pushInfo);\n if (pushInfo.failedTaskCount !== 0) {\n return Promise.reject(pushInfo);\n }\n return pushInfo;\n }\n return Promise.reject(pushInfo);\n });\n }\n}\n\n/**\n * This function adds the old properties to the push dataSet to support old projects.\n * @param data\n * @returns {*}\n */\nconst addOldPropertiesForPushData = data => {\n const result = _.clone(data);\n result.success = data.successfulTaskCount;\n result.error = data.failedTaskCount;\n result.completed = data.completedTaskCount;\n result.total = data.totalTaskCount;\n return result;\n};\n\nconst canExecute = (variable: any, networkService: NetworkService, securityService: SecurityService) => {\n if (!window['SQLitePlugin']) {\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n if (!networkService.isConnected()) {\n return Promise.reject(APP_IS_OFFLINE);\n }\n return toPromise(initiateCallback(VARIABLE_CONSTANTS.EVENT.BEFORE, variable, null))\n .then(proceed => {\n if (proceed === false) {\n return Promise.reject(ON_BEFORE_BLOCKED);\n }\n // If user is authenticated and online, then start the data pull process.\n return securityService.onUserLogin();\n });\n};\n\nconst generateChangeSet = (changes: Change[]) => {\n const createChanges = _.filter(changes, c => {\n return c.service === 'DatabaseService' &&\n (c.operation === 'insertTableData'\n || c.operation === 'insertMultiPartTableData');\n }), updateChanges = _.filter(changes, c => {\n return c.service === 'DatabaseService' &&\n (c.operation === 'updateTableData'\n || c.operation === 'updateMultiPartTableData');\n });\n return {\n total: changes ? changes.length : 0,\n database: {\n create: createChanges,\n update: updateChanges,\n delete: _.filter(changes, {service: 'DatabaseService', operation: 'deleteTableData'})\n },\n uploads: _.filter(changes, {service: 'OfflineFileUploadService', operation: 'uploadToServer'})\n };\n};\n\nconst getOfflineChanges = (changeLogService: ChangeLogService) => {\n return changeLogService.getChanges().then(changes => {\n return {\n 'total' : changes ? changes.length : 0,\n 'pendingToSync' : generateChangeSet(_.filter(changes, {'hasError' : 0})),\n 'failedToSync' : generateChangeSet(_.filter(changes, {'hasError' : 1}))\n };\n });\n};\n","import { LocationAccuracy } from '@awesome-cordova-plugins/location-accuracy/ngx';\nimport { Geolocation, GeolocationOptions } from '@awesome-cordova-plugins/geolocation/ngx';\nimport { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';\n\nimport { IDeviceVariableOperation } from '@wm/variables';\nimport { $appDigest, App, isAndroid, isIos, getAndroidVersion} from '@wm/core';\n\ndeclare const cordova;\nconst PERMISSION_DENIED_ONCE = \"DENIED_ONCE\";\n\n/**\n * This class handles 'getCurrentGeoPosition' device operation.\n */\nexport class CurrentGeoPositionOperation implements IDeviceVariableOperation {\n public readonly name = 'getCurrentGeoPosition';\n public readonly model = {\n coords: {\n latitude: 0,\n longitude: 0,\n altitude: 0,\n accuracy: 0,\n altitudeAccuracy: 0,\n heading: 0,\n speed: 0\n },\n timestamp: 0\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide : true},\n {target: 'autoUpdate', type: 'boolean', value: true, hide : true},\n {target: 'geolocationHighAccuracy', type: 'boolean', value: true, dataBinding: true},\n {target: 'geolocationMaximumAge', type: 'number', value: 3, dataBinding: true},\n {target: 'geolocationTimeout', type: 'number', value: 5, dataBinding: true},\n ];\n public readonly requiredCordovaPlugins = ['GEOLOCATION'];\n\n private lastKnownPosition;\n private waitingQueue = [];\n private watchId;\n private locationRequestedAlready = false;\n \n private previousPermissionStatus;\n private currentPermissionStatus;\n\n private options = {\n maximumAge: 3000,\n timeout: (2 * 60) * 1000,\n enableHighAccuracy: true\n };\n\n constructor (private app: App, private geoLocation: Geolocation, private locationAccuracyService: LocationAccuracy, private diagnosticService: Diagnostic) {}\n\n private watchPosition() {\n if (this.watchId) {\n navigator.geolocation.clearWatch(this.watchId);\n this.watchId = null;\n }\n const options = window['WM_GEO_LOCATION_OPTIONS'] || this.options;\n this.watchId = navigator.geolocation.watchPosition(position => {\n this.lastKnownPosition = {\n coords: {\n latitude: position.coords.latitude,\n longitude: position.coords.longitude,\n altitude: position.coords.altitude,\n accuracy: position.coords.accuracy,\n altitudeAccuracy: position.coords.altitudeAccuracy,\n heading: position.coords.heading,\n speed: position.coords.speed\n },\n timestamp: position.timestamp\n };\n if (this.waitingQueue.length > 0) {\n this.waitingQueue.forEach(fn => fn(this.lastKnownPosition));\n this.waitingQueue.length = 0;\n }\n $(document).off('touchend.usergesture');\n }, () => {\n this.watchId = null;\n }, options);\n }\n\n private geoLocationService(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (!this.watchId || !this.lastKnownPosition) {\n this.watchPosition();\n $(document).on('touchend.usergesture', () => this.watchPosition());\n }\n const geoLocationOptions: GeolocationOptions = {\n maximumAge: dataBindings.get('geolocationMaximumAge') * 1000,\n timeout: dataBindings.get('geolocationTimeout') * 1000,\n enableHighAccuracy: dataBindings.get('geolocationHighAccuracy')\n };\n if (this.lastKnownPosition) {\n return Promise.resolve(this.lastKnownPosition);\n }\n return new Promise(resolve => {\n const c = position => {\n resolve(position);\n };\n setTimeout(() => {\n const index = this.waitingQueue.indexOf(c);\n if (index > -1) {\n this.waitingQueue.splice(index, 1);\n resolve(this.model);\n }\n }, this.options.timeout);\n this.waitingQueue.push(c);\n }); \n }\n\n private requestLocationService(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n return this.locationAccuracyService.canRequest()\n .then((canRequest: boolean) => {\n if(canRequest && !this.locationRequestedAlready) {\n //In iOS, Only once location service request can be made, Repeated access will be blocked by OS \n //https://github.com/dpa99c/cordova-plugin-request-location-accuracy#ios-cancel-button-caveat\n this.locationRequestedAlready = isIos();\n return this.locationAccuracyService.request(this.locationAccuracyService.REQUEST_PRIORITY_HIGH_ACCURACY)\n }else {\n if(isIos() && confirm(this.app.appLocale.MESSAGE_REQUEST_LOCATION_PERMISSION)){\n this.diagnosticService.switchToSettings();\n return Promise.reject();\n }\n return Promise.resolve();\n } \n })\n .then(() => { \n return this.geoLocationService(variable, options, dataBindings) \n })\n .catch((e) => { \n if (e && e.code \n && e.code !== this.locationAccuracyService.ERROR_USER_DISAGREED\n && e.code !== this.locationAccuracyService.ERROR_CANNOT_CHANGE_ACCURACY) {\n if(confirm(this.app.appLocale.MESSAGE_REQUEST_LOCATION_PERMISSION)){\n this.diagnosticService.switchToSettings();\n }\n } \n return Promise.resolve(this.lastKnownPosition ? this.lastKnownPosition : this.model); \n });\n }\n\n private handleLocationAuthorizationStatus(variable: any, options: any, dataBindings: Map<string, any>, permissionStatus: string): Promise<any> { \n this.previousPermissionStatus = this.currentPermissionStatus;\n this.currentPermissionStatus = permissionStatus;\n switch(permissionStatus){ \n case this.diagnosticService.permissionStatus.GRANTED_WHEN_IN_USE:\n case this.diagnosticService.permissionStatus.GRANTED:{\n return this.onLocationGranted(variable, options, dataBindings); \n }\n case PERMISSION_DENIED_ONCE:{\n return this.requestLocationService(variable, options, dataBindings);\n }\n case this.diagnosticService.permissionStatus.DENIED_ALWAYS:{\n if(isIos()){\n //iOS Location Service Turned Off returns DENIED_ALWAYS\n return this.requestLocationService(variable, options, dataBindings);\n }else{\n if(confirm(this.app.appLocale.MESSAGE_REQUEST_LOCATION_PERMISSION)){\n this.diagnosticService.switchToSettings();\n }\n return Promise.resolve(this.model);\n }\n }\n case this.diagnosticService.permissionStatus.NOT_REQUESTED: {\n return this.requestLocationAuthorization(variable, options, dataBindings);\n } \n }\n }\n\n private requestLocationAuthorization(variable: any, options: any, dataBindings: Map<string, any>): Promise<any>{\n return this.diagnosticService.requestLocationAuthorization()\n .then((permissionStatus) => {\n return this.handleLocationAuthorizationStatus(variable, options, dataBindings, permissionStatus)\n })\n }\n\n private requestLocationAccuracy(variable: any, options: any, dataBindings: Map<string, any>): Promise<any>{\n return this.diagnosticService.getLocationAuthorizationStatus()\n .then((permissionStatus) => {\n return this.handleLocationAuthorizationStatus(variable, options, dataBindings, permissionStatus) \n })\n .catch((e) => { \n //In case of device older than Android 6, Due to absence of Permission Check API.\n return this.geoLocationService(variable, options, dataBindings);\n });\n }\n\n private onLocationGranted(variable: any, options: any, dataBindings: Map<string, any>): Promise<any>{\n //iOS updates 'Granted' Only if Location service is turned On\n //Android updates 'Granted' even if Location service is turned Off\n if(isIos()){\n return this.geoLocationService(variable, options, dataBindings) \n }else if(isAndroid() \n && parseInt(getAndroidVersion(), 10) <= 10 \n && this.previousPermissionStatus === PERMISSION_DENIED_ONCE \n && this.currentPermissionStatus === this.diagnosticService.permissionStatus.GRANTED_WHEN_IN_USE\n && !this.lastKnownPosition){\n //Below Android 11, Chrome webview of Cordova is not updating the permission status from \"denied\" to \"allowed\" and throwing the below message\n //\"application does not have sufficient geolocation permissions\" For navigator.geolocation.watchPosition method\n //Hence we are reloading the webview manually\n location.reload(); \n }else{\n return this.requestLocationService(variable, options, dataBindings);\n }\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if(cordova['plugins'] && cordova['plugins']['locationAccuracy']){\n return this.requestLocationAccuracy(variable, options, dataBindings);\n }else{\n return this.geoLocationService(variable, options, dataBindings); \n }\n }\n}","import { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';\nimport { Device } from '@awesome-cordova-plugins/device/ngx';\nimport { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';\nimport { LocationAccuracy } from '@awesome-cordova-plugins/location-accuracy/ngx';\nimport { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';\nimport { Vibration } from '@awesome-cordova-plugins/vibration/ngx';\n\nimport { $appDigest, App } from '@wm/core';\nimport { NetworkService } from '@wm/mobile/core';\nimport { DeviceVariableService, IDeviceVariableOperation, initiateCallback } from '@wm/variables';\nimport { CurrentGeoPositionOperation } from './location-service';\n\ndeclare const navigator, $;\n/**\n * this file contains all device operations under 'device' service.\n */\nexport class DeviceService extends DeviceVariableService {\n public readonly name = 'device';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(app: App,\n appVersion: AppVersion,\n device: Device,\n geoLocation: Geolocation,\n networkService: NetworkService,\n vibrateService: Vibration,\n locationAccuracyService: LocationAccuracy,\n diagnosticService: Diagnostic\n ) {\n super();\n this.operations.push(new AppInfoOperation(device, appVersion),\n new CurrentGeoPositionOperation(app, geoLocation, locationAccuracyService, diagnosticService),\n new DeviceInfoOperation(device),\n new GetNetworkInfoOperation(app, networkService),\n new GoOfflineOperation(networkService),\n new GoOnlineOperation(networkService),\n new VibrateOperation(vibrateService));\n app.subscribe('onNetworkStateChange', data => {\n app.networkStatus = data;\n $appDigest();\n });\n app.networkStatus = {\n isConnecting : false,\n isConnected : true,\n isNetworkAvailable : true,\n isServiceAvailable : true\n };\n }\n}\n\n\n/**\n * This class handles 'getAppInfo' device operation.\n */\nclass AppInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'getAppInfo';\n public readonly model = {\n appversion: 'X.X.X',\n cordovaversion: 'X.X.X'\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true}\n ];\n\n constructor (private device: Device, private appVersion: AppVersion) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n const cordovaVersion = this.device.cordova;\n return this.appVersion.getVersionNumber().then(appVersion => {\n return {\n appversion: appVersion,\n cordovaversion: cordovaVersion\n };\n });\n }\n}\n\n/**\n * This class handles 'getDeviceInfo' device operation.\n */\nclass DeviceInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'getDeviceInfo';\n public readonly model = {\n deviceModel: 'DEVICEMODEL',\n os: 'DEVICEOS',\n osVersion: 'X.X.X',\n deviceUUID: 'DEVICEUUID'\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true}\n ];\n\n constructor (private device: Device) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n const response = {\n 'deviceModel': this.device.model,\n 'os': this.device.platform,\n 'osVersion': this.device.version,\n 'deviceUUID': this.device.uuid\n };\n return Promise.resolve(response);\n }\n}\n\nclass GetNetworkInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'getNetworkInfo';\n public readonly model = {\n connectionType: 'NONE',\n isConnecting: false,\n isNetworkAvailable: true,\n isOnline: true,\n isOffline: false\n };\n public readonly properties = [\n {target: 'autoUpdate', type: 'boolean', value: true, hide : true},\n {target: 'startUpdate', type: 'boolean', value: true, hide : true},\n {target: 'networkStatus', type: 'object', value: 'bind:App.networkStatus', dataBinding: true, hide: true},\n {target: 'onOnline', hide : false},\n {target: 'onOffline', hide : false}\n ];\n public readonly requiredCordovaPlugins = ['NETWORK'];\n\n constructor (private app: App, private networkService: NetworkService) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const data = {\n connectionType: navigator.connection.type,\n isConnecting: this.app.networkStatus.isConnecting,\n isNetworkAvailable: this.app.networkStatus.isNetworkAvailable,\n isOnline: this.app.networkStatus.isConnected,\n isOffline: !this.app.networkStatus.isConnected\n };\n if (this.networkService.isConnected()) {\n initiateCallback('onOnline', variable, data);\n } else {\n initiateCallback('onOffline', variable, data);\n }\n return Promise.resolve(data);\n }\n}\n\nclass GoOfflineOperation implements IDeviceVariableOperation {\n public readonly name = 'goOffline';\n public readonly model = {};\n public readonly properties = [];\n public readonly requiredCordovaPlugins = ['NETWORK'];\n\n constructor (private networkService: NetworkService) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n return this.networkService.disconnect();\n }\n}\n\nclass GoOnlineOperation implements IDeviceVariableOperation {\n public readonly name = 'goOnline';\n public readonly model = {};\n public readonly properties = [];\n public readonly requiredCordovaPlugins = ['NETWORK'];\n\n constructor (private networkService: NetworkService) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n return this.networkService.connect();\n }\n}\n\n/**\n * This class handles 'vibrate' device operation.\n */\nclass VibrateOperation implements IDeviceVariableOperation {\n public readonly name = 'vibrate';\n public readonly model = {\n appversion: 'X.X.X',\n cordovaversion: 'X.X.X'\n };\n public readonly properties = [\n {target: 'vibrationtime', type: 'number', value: 2, dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['VIBRATE'];\n\n constructor (private vibrationService: Vibration) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n this.vibrationService.vibrate(dataBindings.get('vibrationtime') * 1000);\n return Promise.resolve();\n }\n}\n","import { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\ndeclare const navigator;\n\nexport class ContactsService extends DeviceVariableService {\n public readonly name = 'contacts';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor() {\n super();\n this.operations.push(new GetContactsOperation());\n }\n}\n\nclass GetContactsOperation implements IDeviceVariableOperation {\n public readonly name = 'getContacts';\n public readonly model = {\n id : '',\n displayName : '',\n phoneNumbers : [{value: ''}]\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean'},\n {target: 'autoUpdate', type: 'boolean'},\n {target: 'contactFilter', type: 'string', value: '', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CONTACTS'];\n\n public waitingCalls: (() => void)[] = [];\n\n private extractDisplayName(c: any): string {\n const name = c.displayName;\n // In IOS, displayName is undefined, so using the formatted name.\n if (!name || name === '') {\n if (c.name.formatted) {\n return c.name.formatted;\n }\n }\n return name;\n }\n\n private processNextCall() {\n if (this.waitingCalls.length > 0) {\n this.waitingCalls[0]();\n }\n }\n\n private findContacts(requiredFields, findOptions): Promise<any> {\n return new Promise<any>((resolve, reject) => {\n // Contacts plugin is not processing two simultaneous calls. It is anwsering to only call.\n this.waitingCalls.push(() => {\n new Promise((resolve: Function, reject: Function) => {\n navigator.contacts.find(requiredFields, resolve, reject, findOptions);\n }).then((data: any[]) => {\n if (data != null) {\n const contacts = data.filter(c => {\n c.displayName = this.extractDisplayName(c);\n return c.phoneNumbers && c.phoneNumbers.length > 0;\n });\n resolve(contacts);\n }\n }, reject).then(() => {\n this.waitingCalls.shift();\n this.processNextCall();\n });\n });\n if (this.waitingCalls.length === 1) {\n this.processNextCall();\n }\n });\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const requiredFields = ['displayName', 'name'];\n const findOptions = {\n filter : dataBindings.get('contactFilter'),\n multiple : true\n };\n return this.findContacts(requiredFields, findOptions);\n }\n}\n","import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\n\nimport { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\nconst barcodeFormatOptions = {\n 'ALL' : 'ALL',\n 'CODABAR' : 'CODABAR (not supported in iOS)',\n 'CODE_39' : 'CODE_39',\n 'CODE_93' : 'CODE_93 (not supported in iOS)',\n 'CODE_128' : 'CODE_128',\n 'DATA_MATRIX' : 'DATA_MATRIX',\n 'EAN_8' : 'EAN_8',\n 'EAN_13' : 'EAN_13',\n 'ITF' : 'ITF',\n 'PDF_417' : 'PDF_417 (not supported in iOS)',\n 'QR_CODE' : 'QR_CODE',\n 'RSS14' : 'RSS14 (not supported in iOS)',\n 'RSS_EXPANDED' : 'RSS_EXPANDED (not supported in iOS)',\n 'UPC_E' : 'UPC_E',\n 'UPC_A' : 'UPC_A'\n};\n\nexport class ScanService extends DeviceVariableService {\n name = 'scan';\n operations: IDeviceVariableOperation[] = [];\n\n constructor(barcodeScanner: BarcodeScanner) {\n super();\n this.operations.push(new ScanOperation(barcodeScanner));\n }\n}\n\nclass ScanOperation implements IDeviceVariableOperation {\n public readonly name = 'scanBarCode';\n public readonly model = {\n text : 'BAR CODE',\n format : 'TEXT',\n cancelled : false\n };\n public readonly properties = [\n {\n target : 'barcodeFormat',\n type : 'list',\n options : barcodeFormatOptions,\n value : 'ALL',\n group : 'properties',\n subGroup : 'behavior',\n hide : false\n }\n ];\n public readonly requiredCordovaPlugins = ['BARCODE_SCANNER'];\n\n constructor(private barcodeScanner: BarcodeScanner) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n let scanOptions = {\n showFlipCameraButton : true,\n showTorchButton : true\n } as any;\n if (variable.barcodeFormat && variable.barcodeFormat !== 'ALL') {\n scanOptions.formats = variable.barcodeFormat;\n }\n return this.barcodeScanner.scan(scanOptions);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';\nimport { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\nimport { Calendar } from '@awesome-cordova-plugins/calendar/ngx';\nimport { Camera } from '@awesome-cordova-plugins/camera/ngx';\nimport { Device } from '@awesome-cordova-plugins/device/ngx';\nimport { MediaCapture } from '@awesome-cordova-plugins/media-capture/ngx';\nimport { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';\nimport { Vibration } from '@awesome-cordova-plugins/vibration/ngx';\nimport { LocationAccuracy } from '@awesome-cordova-plugins/location-accuracy/ngx';\nimport { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';\n\nimport { App } from '@wm/core';\nimport { DeviceFileOpenerService, DeviceFileUploadService, NetworkService } from '@wm/mobile/core';\nimport { ChangeLogService, LocalDBManagementService, LocalDBDataPullService, OfflineModule } from '@wm/mobile/offline';\nimport { SecurityService } from '@wm/security';\nimport { DeviceVariableManager, VARIABLE_CONSTANTS, VariableManagerFactory } from '@wm/variables';\n\nimport { CalendarService } from './services/calendar-service';\nimport { CameraService } from './services/camera-service';\nimport { FileService } from './services/file-service';\nimport { DatasyncService } from './services/datasync-service';\nimport { DeviceService } from './services/device-service/device-service';\nimport { ContactsService } from './services/contacts-service';\nimport { ScanService } from './services/scan-service';\nimport { FileSelectorService, ProcessManagementService } from '@wm/mobile/components/basic';\n\n@NgModule({\n imports: [\n OfflineModule\n ],\n declarations: [],\n providers: [\n // add providers to mobile-runtime module.\n ]\n})\nexport class VariablesModule {\n\n private static initialized = false;\n // Device variable services have to be added only once in the app life-cycle.\n private static initialize(app: App,\n appVersion: AppVersion,\n barcodeScanner: BarcodeScanner,\n changeLogService: ChangeLogService,\n calendar: Calendar,\n camera: Camera,\n fileOpener: DeviceFileOpenerService,\n fileSelectorService: FileSelectorService,\n fileUploader: DeviceFileUploadService,\n device: Device,\n geoLocation: Geolocation,\n localDBDataPullService: LocalDBDataPullService,\n localDBManagementService: LocalDBManagementService,\n mediaCapture: MediaCapture,\n processManagementService: ProcessManagementService,\n securityService: SecurityService,\n networkService: NetworkService,\n vibrateService: Vibration,\n locationAccuracyService: LocationAccuracy,\n diagnosticService: Diagnostic) {\n if (this.initialized) {\n return;\n }\n this.initialized = true;\n const deviceVariableManager = VariableManagerFactory.get(VARIABLE_CONSTANTS.CATEGORY.DEVICE) as DeviceVariableManager;\n deviceVariableManager.registerService(new CameraService(camera, mediaCapture));\n deviceVariableManager.registerService(new CalendarService(calendar));\n deviceVariableManager.registerService(new FileService(fileOpener, fileUploader));\n deviceVariableManager.registerService(new ContactsService());\n deviceVariableManager.registerService(new DatasyncService(app, changeLogService, fileSelectorService, localDBManagementService, localDBDataPullService, processManagementService, securityService, networkService));\n deviceVariableManager.registerService(new DeviceService(app, appVersion, device, geoLocation, networkService, vibrateService, locationAccuracyService, diagnosticService));\n deviceVariableManager.registerService(new ScanService(barcodeScanner));\n }\n\n constructor(\n app: App,\n appVersion: AppVersion,\n barcodeScanner: BarcodeScanner,\n changeLogService: ChangeLogService,\n calendar: Calendar,\n camera: Camera,\n fileOpener: DeviceFileOpenerService,\n fileSelectorService: FileSelectorService,\n fileUploader: DeviceFileUploadService,\n device: Device,\n geoLocation: Geolocation,\n localDBDataPullService: LocalDBDataPullService,\n localDBManagementService: LocalDBManagementService,\n mediaCapture: MediaCapture,\n processManagementService: ProcessManagementService,\n securityService: SecurityService,\n networkService: NetworkService,\n vibrateService: Vibration,\n locationAccuracyService: LocationAccuracy,\n diagnosticService: Diagnostic\n ) {\n VariablesModule.initialize(app,\n appVersion,\n barcodeScanner,\n changeLogService,\n calendar,\n camera,\n fileOpener,\n fileSelectorService,\n fileUploader,\n device,\n geoLocation,\n localDBDataPullService,\n localDBManagementService,\n mediaCapture,\n processManagementService,\n securityService,\n networkService,\n vibrateService,\n locationAccuracyService,\n diagnosticService);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;AAC1C;AACA,MAAM,gBAAgB,IAAK,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;AACzD,MAAM,kBAAkB,IAAI,YAAY,GAAG,gBAAgB,CAAC,CAAC;AAC7D,MAAM,gBAAgB,IAAI,YAAY,GAAG,gBAAgB,CAAC,CAAC;AAC3D,MAAM,UAAU,GAAG;AACf,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,OAAO,EAAE,EAAE;AACX,IAAA,QAAQ,EAAE,EAAE;IACZ,SAAS,EAAE,IAAI,IAAI,EAAE;IACrB,OAAO,EAAE,IAAI,IAAI,EAAE;CACtB,CAAC;AAEF;;AAEG;AACG,MAAO,eAAgB,SAAQ,qBAAqB,CAAA;AAItD,IAAA,WAAA,CAAY,QAAkB,EAAA;AAC1B,QAAA,KAAK,EAAE,CAAC;QAJI,IAAI,CAAA,IAAA,GAAG,UAAU,CAAC;QAClB,IAAU,CAAA,UAAA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EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,aAAa;AAChB,iBAAA;AACD,gBAAA,YAAY,EAAE,EAAE;AAChB,gBAAA,SAAS,EAAE;;AAEV,iBAAA;AACJ,aAAA,CAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,eAAe,cAPpB,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC9BrB;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../projects/mobile/variables/src/services/calendar-service.ts","../../../../projects/mobile/variables/src/services/camera-service.ts","../../../../projects/mobile/variables/src/services/file-service.ts","../../../../projects/mobile/variables/src/services/datasync-service.ts","../../../../projects/mobile/variables/src/services/device-service/location-service.ts","../../../../projects/mobile/variables/src/services/device-service/device-service.ts","../../../../projects/mobile/variables/src/services/contacts-service.ts","../../../../projects/mobile/variables/src/services/scan-service.ts","../../../../projects/mobile/variables/src/variables.module.ts","../../../../projects/mobile/variables/src/index.ts"],"sourcesContent":["import { Calendar } from '@awesome-cordova-plugins/calendar/ngx';\n\nimport { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\nconst DEFAULT_TIME = new Date().getTime();\n/*3 months timestamp value*/\nconst DELTA_VALUE_DATE = (3 * 30 * 24 * 60 * 60 * 1000);\nconst DEFAULT_START_DATE = (DEFAULT_TIME - DELTA_VALUE_DATE);\nconst DEFAULT_END_DATE = (DEFAULT_TIME + DELTA_VALUE_DATE);\nconst EVENT_META = {\n title: '',\n message: '',\n location: '',\n startDate: new Date(),\n endDate: new Date()\n};\n\n/**\n * this file contains all calendar operations under 'calendar' service.\n */\nexport class CalendarService extends DeviceVariableService {\n public readonly name = 'calendar';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(calendar: Calendar) {\n super();\n this.operations.push(new CreateEventOperation(calendar),\n new DeleteEventOperation(calendar),\n new GetEventsOperation(calendar));\n }\n}\n\nclass CreateEventOperation implements IDeviceVariableOperation {\n public readonly name = 'createEvent';\n public readonly properties = [\n {target: 'eventTitle', type: 'string', dataBinding: true},\n {target: 'eventNotes', type: 'string', dataBinding: true},\n {target: 'eventLocation', type: 'string', dataBinding: true},\n {target: 'eventStart', type: 'datetime', dataBinding: true},\n {target: 'eventEnd', type: 'datetime', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CALENDAR'];\n\n constructor(private calendar: Calendar) {\n\n }\n\n public invoke(variable: any, options: any, eventInfo: Map<string, any>): Promise<any> {\n return this.calendar.createEvent(\n eventInfo.get('eventTitle'),\n eventInfo.get('eventLocation'),\n eventInfo.get('eventNotes'),\n new Date(eventInfo.get('eventStart') || 0),\n new Date(eventInfo.get('eventEnd') || 0));\n }\n}\n\nclass DeleteEventOperation implements IDeviceVariableOperation {\n public readonly name = 'deleteEvent';\n public readonly properties = [\n {target: 'eventTitle', type: 'string', dataBinding: true},\n {target: 'eventNotes', type: 'string', dataBinding: true},\n {target: 'eventLocation', type: 'string', dataBinding: true},\n {target: 'eventStart', type: 'datetime', dataBinding: true},\n {target: 'eventEnd', type: 'datetime', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CALENDAR'];\n\n constructor(private calendar: Calendar) {\n\n }\n\n public invoke(variable: any, options: any, eventInfo: Map<string, any>): Promise<any> {\n return this.calendar.deleteEvent(\n eventInfo.get('eventTitle'),\n eventInfo.get('eventLocation'),\n eventInfo.get('eventNotes'),\n new Date(eventInfo.get('eventStart') || DEFAULT_START_DATE),\n new Date(eventInfo.get('eventEnd') || DEFAULT_END_DATE));\n }\n}\n\nclass GetEventsOperation implements IDeviceVariableOperation {\n public readonly name = 'getEvents';\n public readonly model = [EVENT_META];\n public readonly properties = [\n {target: 'eventTitle', type: 'string', dataBinding: true},\n {target: 'eventNotes', type: 'string', dataBinding: true},\n {target: 'eventLocation', type: 'string', dataBinding: true},\n {target: 'eventStart', type: 'datetime', dataBinding: true},\n {target: 'eventEnd', type: 'datetime', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CALENDAR'];\n\n constructor(private calendar: Calendar) {\n\n }\n\n public invoke(variable: any, options: any, eventInfo: Map<string, any>): Promise<any> {\n return this.calendar.findEvent(\n eventInfo.get('eventTitle'),\n eventInfo.get('eventLocation'),\n eventInfo.get('eventNotes'),\n new Date(eventInfo.get('eventStart') || DEFAULT_START_DATE),\n new Date(eventInfo.get('eventEnd') || DEFAULT_END_DATE));\n }\n}\n","import { Camera } from '@awesome-cordova-plugins/camera/ngx';\nimport { MediaCapture } from '@awesome-cordova-plugins/media-capture/ngx';\n\nimport {isNumber} from 'lodash-es';\nimport { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\nexport class CameraService extends DeviceVariableService {\n public readonly name = 'camera';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(camera: Camera, mediaCapture: MediaCapture) {\n super();\n this.operations.push(new CaptureImageOperation(camera),\n new CaptureVideoOperation(mediaCapture));\n }\n}\n\nclass CaptureImageOperation implements IDeviceVariableOperation {\n public readonly name = 'captureImage';\n public readonly model = {\n imagePath: 'resources/images/imagelists/default-image.png'\n };\n public readonly properties = [\n {target: 'allowImageEdit', type: 'boolean', value: false, dataBinding: true},\n {target: 'imageQuality', type: 'number', value: 80, dataBinding: true},\n {target: 'imageEncodingType', type: 'list', options: {'0': 'JPEG', '1': 'PNG'}, value: '0', dataBinding: true},\n {target: 'correctOrientation', type: 'boolean', value: true, dataBinding: true},\n {target: 'imageTargetWidth', type: 'number', dataBinding: true},\n {target: 'imageTargetHeight', type: 'number', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CAMERA', 'CAPTURE'];\n\n constructor(private camera: Camera) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const imageTargetWidth = dataBindings.get('imageTargetWidth'),\n imageTargetHeight = dataBindings.get('imageTargetHeight');\n let imageEncodingType = parseInt(dataBindings.get('imageEncodingType'), 10),\n cameraOptions;\n if (isNaN(imageEncodingType)) {\n imageEncodingType = (dataBindings.get('imageEncodingType') === 'JPEG' ? 0 : 1);\n }\n cameraOptions = {\n quality : dataBindings.get('imageQuality'),\n destinationType : 1, // only file url\n sourceType : 1, // camera\n allowEdit : dataBindings.get('allowImageEdit'),\n encodingType : imageEncodingType,\n mediaType : 0, // always picture\n correctOrientation: dataBindings.get('correctOrientation'),\n targetWidth : isNumber(imageTargetWidth) ? imageTargetWidth : undefined,\n targetHeight : isNumber(imageTargetHeight) ? imageTargetHeight : undefined,\n };\n return this.camera.getPicture(cameraOptions).then( data => {\n return {imagePath: data};\n });\n }\n}\n\nclass CaptureVideoOperation implements IDeviceVariableOperation {\n public readonly name = 'captureVideo';\n public readonly model = {\n videoPath: ''\n };\n public readonly properties = [];\n public readonly requiredCordovaPlugins = ['CAMERA', 'CAPTURE'];\n\n constructor(private mediaCapture: MediaCapture) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n return this.mediaCapture.captureVideo({\n limit : 1\n }).then( data => {\n let path = data[0].fullPath;\n path = (path.startsWith('file://') ? '' : 'file://') + path;\n return {videoPath: path};\n });\n }\n}\n","import { isValidWebURL } from '@wm/core';\nimport { DeviceFileOpenerService, DeviceFileUploadService } from '@wm/mobile/core';\nimport { $rootScope, DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\nimport {assignIn, mapValues} from \"lodash-es\";\n\nexport class FileService extends DeviceVariableService {\n name = 'file';\n operations: IDeviceVariableOperation[] = [];\n\n constructor(fileOpener: DeviceFileOpenerService, fileUploader: DeviceFileUploadService) {\n super();\n this.operations.push(new OpenFileOperation(fileOpener),\n new UploadFileOperation(fileUploader));\n }\n}\n\nclass OpenFileOperation implements IDeviceVariableOperation {\n\n private _defaultFileTypesToOpen = {\n 'doc' : {'label' : 'Microsoft Office Word Document', 'mimeType' : 'application/msword', 'extension' : 'doc'},\n 'pdf' : {'label' : 'PDF Document', 'mimeType' : 'application/pdf', 'extension' : 'pdf'},\n 'ppt' : {'label' : 'Microsoft Office Powerpoint', 'mimeType' : 'application/vnd.ms-powerpoint', 'extension' : 'ppt'},\n 'xls' : {'label' : 'Microsoft Office Excel', 'mimeType' : 'application/vnd.ms-excel', 'extension' : 'xls'}\n };\n\n public readonly name = 'openFile';\n public readonly model = {};\n public readonly properties = [\n {target: 'filePath', type: 'string', value: '', dataBinding: true},\n {\n target: 'fileType',\n type: 'list',\n options: mapValues(this._defaultFileTypesToOpen, 'label'),\n value: 'pdf',\n dataBinding: true,\n hide: true\n },\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = [];\n\n constructor(private fileOpener: DeviceFileOpenerService) {}\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const fileType = this._defaultFileTypesToOpen[dataBindings.get('fileType')];\n let filePath = dataBindings.get('filePath');\n // if relative path is given, then append url with deployedUrl, to access files in resources.\n if (!isValidWebURL(filePath)) {\n filePath = $rootScope.project.deployedUrl + filePath;\n }\n return this.fileOpener.openRemoteFile(filePath, fileType.extension);\n }\n}\n\nclass UploadFileOperation implements IDeviceVariableOperation {\n\n public readonly name = 'upload';\n public readonly model = {\n fileName : '',\n path : '',\n length : 0,\n success : false,\n inlinePath : '',\n errorMessage: '',\n inProgress : false,\n loaded : 0\n };\n public readonly properties = [\n {target: 'localFile', type: 'string', value: '', dataBinding: true},\n {target: 'remoteFolder', type: 'string', value: '', dataBinding: true},\n {target: 'onProgress', hide : false},\n {target: 'spinnerContext', hide : false},\n {target: 'spinnerMessage', hide : false}\n ];\n public readonly requiredCordovaPlugins = [];\n\n constructor(private fileUploader: DeviceFileUploadService) {}\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const serverUrl = $rootScope.project.deployedUrl + 'services/file/uploadFile?relativePath=' + (dataBindings.get('remoteFolder') || ''),\n filePath = dataBindings.get('localFile'),\n fileName = filePath.split('/').pop(),\n data = {\n fileName : fileName,\n fileSize : 0,\n inProgress : true,\n length : 0,\n loaded : 0\n };\n return this.fileUploader.upload(serverUrl, 'files', filePath, fileName)\n .then(uploadResponse => {\n assignIn(data, JSON.parse(uploadResponse.text)[0]);\n data.loaded = data.length;\n return data;\n });\n }\n}\n","import { Observer } from 'rxjs';\n\nimport { App, noop, toPromise } from '@wm/core';\nimport { NetworkService } from '@wm/mobile/core';\nimport { FileSelectorService, ProcessApi, ProcessManagementService } from '@wm/mobile/components/basic';\nimport { Change, ChangeLogService, LocalDBManagementService, LocalDBDataPullService, PushInfo, PullInfo } from '@wm/mobile/offline';\nimport { DeviceVariableService, IDeviceVariableOperation, initiateCallback, VARIABLE_CONSTANTS } from '@wm/variables';\nimport { SecurityService } from '@wm/security';\nimport {clone, filter} from \"lodash-es\";\n\nconst APP_IS_OFFLINE = 'App is offline.';\nconst OFFLINE_PLUGIN_NOT_FOUND = 'Offline DB Plugin is required, but missing.';\nconst ON_BEFORE_BLOCKED = 'onBefore callback returned false.';\nconst REQUIRED_PLUGINS = ['OFFLINE_DB', 'NETWORK'];\n\nexport class DatasyncService extends DeviceVariableService {\n public readonly name = 'datasync';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(app: App,\n changeLogService: ChangeLogService,\n fileSelectorService: FileSelectorService,\n localDBManagementService: LocalDBManagementService,\n localDBDataPullService: LocalDBDataPullService,\n processManagementService: ProcessManagementService,\n securityService: SecurityService,\n networkService: NetworkService) {\n super();\n this.operations.push(new ExportDBOperation(localDBManagementService));\n this.operations.push(new GetOfflineChangesOperation(changeLogService));\n this.operations.push(new ImportDBOperation(fileSelectorService, localDBManagementService));\n this.operations.push(new LastPullInfoOperation(localDBDataPullService));\n this.operations.push(new LastPushInfoOperation(changeLogService));\n this.operations.push(new PullOperation(app, processManagementService, networkService, securityService, localDBDataPullService));\n this.operations.push(new PushOperation(app, changeLogService, processManagementService, networkService, securityService));\n }\n}\n\nclass ExportDBOperation implements IDeviceVariableOperation {\n public readonly name = 'exportDB';\n public readonly model = {path: ''};\n public readonly properties = [\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private localDBManagementService: LocalDBManagementService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.localDBManagementService.exportDB();\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\n\nclass GetOfflineChangesOperation implements IDeviceVariableOperation {\n private static DATA_CHANGE_TEMPLATE = {\n service: 'DatabaseService',\n operation: 'operation',\n params: {\n data: {},\n dataModelName: 'dataModelName',\n entityName: 'entityName'\n },\n hasError: 0,\n errorMessage: ''\n };\n private static CHANGE_LOG_SET = {\n total: 0,\n database: {\n create: [GetOfflineChangesOperation.DATA_CHANGE_TEMPLATE],\n update: [GetOfflineChangesOperation.DATA_CHANGE_TEMPLATE],\n delete: [GetOfflineChangesOperation.DATA_CHANGE_TEMPLATE]\n },\n uploads: [{\n service: 'OfflineFileUploadService',\n operation: 'uploadToServer',\n params: {\n file: 'localFilePath',\n serverUrl: 'serverUrl',\n ftOptions: {}\n },\n hasError: 0,\n errorMessage: ''\n }]\n };\n public readonly name = 'getOfflineChanges';\n public readonly model = {\n total: 0,\n pendingToSync: GetOfflineChangesOperation.CHANGE_LOG_SET,\n failedToSync: GetOfflineChangesOperation.CHANGE_LOG_SET\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true},\n {target: 'autoUpdate', type: 'boolean', value: true, hide: true}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private changeLogService: ChangeLogService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return getOfflineChanges(this.changeLogService);\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass LastPullInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'lastPullInfo';\n public readonly model = {\n databases : [{\n name : 'datbaseName',\n entities: [{\n entityName: 'entityName',\n pulledRecordCount: 0\n }],\n pulledRecordCount: 0\n }],\n totalPulledRecordCount: 0,\n startTime: new Date().toJSON(),\n endTime: new Date().toJSON()\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true},\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private localDBDataPullService: LocalDBDataPullService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.localDBDataPullService.getLastPullInfo();\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass LastPushInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'lastPushInfo';\n public readonly model = {\n successfulTaskCount: 0,\n failedTaskCount: 0,\n completedTaskCount: 0,\n totalTaskCount: 0,\n startTime: new Date().toJSON(),\n endTime: new Date().toJSON()\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true},\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private changeLogService: ChangeLogService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.changeLogService.getLastPushInfo();\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass ImportDBOperation implements IDeviceVariableOperation {\n public readonly name = 'importDB';\n public readonly model = {};\n public readonly properties = [\n {target: 'spinnerContext', hide: false},\n {target: 'spinnerMessage', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(\n private fileSelectorService: FileSelectorService,\n private localDBManagementService: LocalDBManagementService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (window['SQLitePlugin']) {\n return this.fileSelectorService.selectFiles(false, 'zip')\n .then(files => {\n if (files && files.length) {\n return this.localDBManagementService.importDB(files[0].path, true);\n }\n });\n }\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n}\n\nclass PullOperation implements IDeviceVariableOperation {\n public readonly name = 'pull';\n public readonly model = {\n totalTaskCount: 0,\n completedTaskCount: 0,\n inProgress: false\n };\n public readonly properties = [\n {target: 'clearData', type: 'boolean', widgettype: 'boolean-inputfirst', value: true, group: 'properties', subGroup: 'behavior'},\n {target: 'startUpdate', type: 'boolean', hide: false},\n {target: 'onBefore', hide: false},\n {target: 'onProgress', hide: false},\n {target: 'showProgress', hide: false}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(\n private app: App,\n private processManagementService: ProcessManagementService,\n private networkService: NetworkService,\n private securityService: SecurityService,\n private localDBDataPullService: LocalDBDataPullService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n let progressInstance;\n return canExecute(variable, this.networkService, this.securityService)\n .then(() => {\n if (variable.showProgress) {\n return this.processManagementService.createInstance(this.app.appLocale.LABEL_DATA_PULL_PROGRESS, 0, 0);\n }\n return null;\n }).then((instance: ProcessApi) => {\n const progressObserver: Observer<PullInfo> = {\n next: (pullInfo: PullInfo) => {\n // variable.dataSet = progress; Todo: progress\n initiateCallback('onProgress', variable, pullInfo);\n if (progressInstance) {\n progressInstance.set('max', pullInfo.totalRecordsToPull);\n progressInstance.set('value', pullInfo.totalPulledRecordCount);\n }\n }, error: noop, complete: noop};\n\n const clearData = variable.clearData === 'true' || variable.clearData === true,\n pullPromise = this.localDBDataPullService.pullAllDbData(clearData, progressObserver);\n if (instance) {\n progressInstance = instance;\n progressInstance.set('stopButtonLabel', this.app.appLocale.LABEL_DATA_PULL_PROGRESS_STOP_BTN);\n progressInstance.set('onStop', () => {\n this.localDBDataPullService.cancel(pullPromise);\n });\n }\n return pullPromise;\n }).catch(pullInfo => pullInfo)\n .then(pullInfo => {\n if (progressInstance) {\n progressInstance.destroy();\n }\n return pullInfo;\n });\n }\n}\n\nclass PushOperation implements IDeviceVariableOperation {\n public readonly name = 'push';\n public readonly model = {\n successfulTaskCount: 0,\n failedTaskCount: 0,\n completedTaskCount: 0,\n totalTaskCount: 0,\n inProgress: false\n };\n public readonly properties = [\n {target: 'onBefore', hide: false},\n {target: 'onProgress', hide: false},\n {target: 'showProgress', 'hide': false, 'value': true}\n ];\n public readonly requiredCordovaPlugins = REQUIRED_PLUGINS;\n\n constructor(private app: App,\n private changeLogService: ChangeLogService,\n private processManagementService: ProcessManagementService,\n private networkService: NetworkService,\n private securityService: SecurityService) {\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n let progressInstance;\n if (this.changeLogService.isFlushInProgress()) {\n return Promise.resolve();\n }\n return canExecute(variable, this.networkService, this.securityService)\n .then(() => getOfflineChanges(this.changeLogService))\n .then(changes => {\n if (changes.pendingToSync.total <= 0) {\n return Promise.reject(clone(this.model));\n }\n }).then(() => {\n if (variable.showProgress) {\n return this.processManagementService.createInstance(this.app.appLocale.LABEL_DATA_PUSH_PROGRESS, 0, 0);\n }\n return null;\n }).then((instance: ProcessApi) => {\n const progressObserver: Observer<PushInfo> = {\n next: (pushInfo: PushInfo) => {\n pushInfo = addOldPropertiesForPushData(pushInfo);\n initiateCallback('onProgress', variable, pushInfo);\n if (progressInstance) {\n progressInstance.set('max', pushInfo.totalTaskCount);\n progressInstance.set('value', pushInfo.completedTaskCount);\n }\n }, error: noop, complete: noop};\n const pushPromise = this.changeLogService.flush(progressObserver);\n if (instance) {\n progressInstance = instance;\n progressInstance.set('stopButtonLabel', this.app.appLocale.LABEL_DATA_PUSH_PROGRESS_STOP_BTN);\n progressInstance.set('onStop', () => this.changeLogService.stop());\n }\n return pushPromise;\n })\n .catch(pushInfo => pushInfo)\n .then(pushInfo => {\n if (progressInstance) {\n progressInstance.destroy();\n }\n if (pushInfo && pushInfo.totalTaskCount !== undefined) {\n pushInfo = addOldPropertiesForPushData(pushInfo);\n if (pushInfo.failedTaskCount !== 0) {\n return Promise.reject(pushInfo);\n }\n return pushInfo;\n }\n return Promise.reject(pushInfo);\n });\n }\n}\n\n/**\n * This function adds the old properties to the push dataSet to support old projects.\n * @param data\n * @returns {*}\n */\nconst addOldPropertiesForPushData = data => {\n const result = clone(data);\n result.success = data.successfulTaskCount;\n result.error = data.failedTaskCount;\n result.completed = data.completedTaskCount;\n result.total = data.totalTaskCount;\n return result;\n};\n\nconst canExecute = (variable: any, networkService: NetworkService, securityService: SecurityService) => {\n if (!window['SQLitePlugin']) {\n return Promise.reject(OFFLINE_PLUGIN_NOT_FOUND);\n }\n if (!networkService.isConnected()) {\n return Promise.reject(APP_IS_OFFLINE);\n }\n return toPromise(initiateCallback(VARIABLE_CONSTANTS.EVENT.BEFORE, variable, null))\n .then(proceed => {\n if (proceed === false) {\n return Promise.reject(ON_BEFORE_BLOCKED);\n }\n // If user is authenticated and online, then start the data pull process.\n return securityService.onUserLogin();\n });\n};\n\nconst generateChangeSet = (changes: Change[]) => {\n const createChanges = filter(changes, c => {\n return c.service === 'DatabaseService' &&\n (c.operation === 'insertTableData'\n || c.operation === 'insertMultiPartTableData');\n }), updateChanges = filter(changes, c => {\n return c.service === 'DatabaseService' &&\n (c.operation === 'updateTableData'\n || c.operation === 'updateMultiPartTableData');\n });\n return {\n total: changes ? changes.length : 0,\n database: {\n create: createChanges,\n update: updateChanges,\n delete: filter(changes, {service: 'DatabaseService', operation: 'deleteTableData'})\n },\n uploads: filter(changes, {service: 'OfflineFileUploadService', operation: 'uploadToServer'})\n };\n};\n\nconst getOfflineChanges = (changeLogService: ChangeLogService) => {\n return changeLogService.getChanges().then(changes => {\n return {\n 'total' : changes ? changes.length : 0,\n 'pendingToSync': generateChangeSet(filter(changes, {'hasError': 0})),\n 'failedToSync': generateChangeSet(filter(changes, {'hasError': 1}))\n };\n });\n};\n","import { LocationAccuracy } from '@awesome-cordova-plugins/location-accuracy/ngx';\nimport { Geolocation, GeolocationOptions } from '@awesome-cordova-plugins/geolocation/ngx';\nimport { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';\n\nimport { IDeviceVariableOperation } from '@wm/variables';\nimport { $appDigest, App, isAndroid, isIos, getAndroidVersion} from '@wm/core';\n\ndeclare const cordova;\nconst PERMISSION_DENIED_ONCE = \"DENIED_ONCE\";\n\n/**\n * This class handles 'getCurrentGeoPosition' device operation.\n */\nexport class CurrentGeoPositionOperation implements IDeviceVariableOperation {\n public readonly name = 'getCurrentGeoPosition';\n public readonly model = {\n coords: {\n latitude: 0,\n longitude: 0,\n altitude: 0,\n accuracy: 0,\n altitudeAccuracy: 0,\n heading: 0,\n speed: 0\n },\n timestamp: 0\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide : true},\n {target: 'autoUpdate', type: 'boolean', value: true, hide : true},\n {target: 'geolocationHighAccuracy', type: 'boolean', value: true, dataBinding: true},\n {target: 'geolocationMaximumAge', type: 'number', value: 3, dataBinding: true},\n {target: 'geolocationTimeout', type: 'number', value: 5, dataBinding: true},\n ];\n public readonly requiredCordovaPlugins = ['GEOLOCATION'];\n\n private lastKnownPosition;\n private waitingQueue = [];\n private watchId;\n private locationRequestedAlready = false;\n \n private previousPermissionStatus;\n private currentPermissionStatus;\n\n private options = {\n maximumAge: 3000,\n timeout: (2 * 60) * 1000,\n enableHighAccuracy: true\n };\n\n constructor (private app: App, private geoLocation: Geolocation, private locationAccuracyService: LocationAccuracy, private diagnosticService: Diagnostic) {}\n\n private watchPosition() {\n if (this.watchId) {\n navigator.geolocation.clearWatch(this.watchId);\n this.watchId = null;\n }\n const options = window['WM_GEO_LOCATION_OPTIONS'] || this.options;\n this.watchId = navigator.geolocation.watchPosition(position => {\n this.lastKnownPosition = {\n coords: {\n latitude: position.coords.latitude,\n longitude: position.coords.longitude,\n altitude: position.coords.altitude,\n accuracy: position.coords.accuracy,\n altitudeAccuracy: position.coords.altitudeAccuracy,\n heading: position.coords.heading,\n speed: position.coords.speed\n },\n timestamp: position.timestamp\n };\n if (this.waitingQueue.length > 0) {\n this.waitingQueue.forEach(fn => fn(this.lastKnownPosition));\n this.waitingQueue.length = 0;\n }\n $(document).off('touchend.usergesture');\n }, () => {\n this.watchId = null;\n }, options);\n }\n\n private geoLocationService(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if (!this.watchId || !this.lastKnownPosition) {\n this.watchPosition();\n $(document).on('touchend.usergesture', () => this.watchPosition());\n }\n const geoLocationOptions: GeolocationOptions = {\n maximumAge: dataBindings.get('geolocationMaximumAge') * 1000,\n timeout: dataBindings.get('geolocationTimeout') * 1000,\n enableHighAccuracy: dataBindings.get('geolocationHighAccuracy')\n };\n if (this.lastKnownPosition) {\n return Promise.resolve(this.lastKnownPosition);\n }\n return new Promise(resolve => {\n const c = position => {\n resolve(position);\n };\n setTimeout(() => {\n const index = this.waitingQueue.indexOf(c);\n if (index > -1) {\n this.waitingQueue.splice(index, 1);\n resolve(this.model);\n }\n }, this.options.timeout);\n this.waitingQueue.push(c);\n }); \n }\n\n private requestLocationService(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n return this.locationAccuracyService.canRequest()\n .then((canRequest: boolean) => {\n if(canRequest && !this.locationRequestedAlready) {\n //In iOS, Only once location service request can be made, Repeated access will be blocked by OS \n //https://github.com/dpa99c/cordova-plugin-request-location-accuracy#ios-cancel-button-caveat\n this.locationRequestedAlready = isIos();\n return this.locationAccuracyService.request(this.locationAccuracyService.REQUEST_PRIORITY_HIGH_ACCURACY)\n }else {\n if(isIos() && confirm(this.app.appLocale.MESSAGE_REQUEST_LOCATION_PERMISSION)){\n this.diagnosticService.switchToSettings();\n return Promise.reject();\n }\n return Promise.resolve();\n } \n })\n .then(() => { \n return this.geoLocationService(variable, options, dataBindings) \n })\n .catch((e) => { \n if (e && e.code \n && e.code !== this.locationAccuracyService.ERROR_USER_DISAGREED\n && e.code !== this.locationAccuracyService.ERROR_CANNOT_CHANGE_ACCURACY) {\n if(confirm(this.app.appLocale.MESSAGE_REQUEST_LOCATION_PERMISSION)){\n this.diagnosticService.switchToSettings();\n }\n } \n return Promise.resolve(this.lastKnownPosition ? this.lastKnownPosition : this.model); \n });\n }\n\n private handleLocationAuthorizationStatus(variable: any, options: any, dataBindings: Map<string, any>, permissionStatus: string): Promise<any> { \n this.previousPermissionStatus = this.currentPermissionStatus;\n this.currentPermissionStatus = permissionStatus;\n switch(permissionStatus){ \n case this.diagnosticService.permissionStatus.GRANTED_WHEN_IN_USE:\n case this.diagnosticService.permissionStatus.GRANTED:{\n return this.onLocationGranted(variable, options, dataBindings); \n }\n case PERMISSION_DENIED_ONCE:{\n return this.requestLocationService(variable, options, dataBindings);\n }\n case this.diagnosticService.permissionStatus.DENIED_ALWAYS:{\n if(isIos()){\n //iOS Location Service Turned Off returns DENIED_ALWAYS\n return this.requestLocationService(variable, options, dataBindings);\n }else{\n if(confirm(this.app.appLocale.MESSAGE_REQUEST_LOCATION_PERMISSION)){\n this.diagnosticService.switchToSettings();\n }\n return Promise.resolve(this.model);\n }\n }\n case this.diagnosticService.permissionStatus.NOT_REQUESTED: {\n return this.requestLocationAuthorization(variable, options, dataBindings);\n } \n }\n }\n\n private requestLocationAuthorization(variable: any, options: any, dataBindings: Map<string, any>): Promise<any>{\n return this.diagnosticService.requestLocationAuthorization()\n .then((permissionStatus) => {\n return this.handleLocationAuthorizationStatus(variable, options, dataBindings, permissionStatus)\n })\n }\n\n private requestLocationAccuracy(variable: any, options: any, dataBindings: Map<string, any>): Promise<any>{\n return this.diagnosticService.getLocationAuthorizationStatus()\n .then((permissionStatus) => {\n return this.handleLocationAuthorizationStatus(variable, options, dataBindings, permissionStatus) \n })\n .catch((e) => { \n //In case of device older than Android 6, Due to absence of Permission Check API.\n return this.geoLocationService(variable, options, dataBindings);\n });\n }\n\n private onLocationGranted(variable: any, options: any, dataBindings: Map<string, any>): Promise<any>{\n //iOS updates 'Granted' Only if Location service is turned On\n //Android updates 'Granted' even if Location service is turned Off\n if(isIos()){\n return this.geoLocationService(variable, options, dataBindings) \n }else if(isAndroid() \n && parseInt(getAndroidVersion(), 10) <= 10 \n && this.previousPermissionStatus === PERMISSION_DENIED_ONCE \n && this.currentPermissionStatus === this.diagnosticService.permissionStatus.GRANTED_WHEN_IN_USE\n && !this.lastKnownPosition){\n //Below Android 11, Chrome webview of Cordova is not updating the permission status from \"denied\" to \"allowed\" and throwing the below message\n //\"application does not have sufficient geolocation permissions\" For navigator.geolocation.watchPosition method\n //Hence we are reloading the webview manually\n location.reload(); \n }else{\n return this.requestLocationService(variable, options, dataBindings);\n }\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n if(cordova['plugins'] && cordova['plugins']['locationAccuracy']){\n return this.requestLocationAccuracy(variable, options, dataBindings);\n }else{\n return this.geoLocationService(variable, options, dataBindings); \n }\n }\n}","import { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';\nimport { Device } from '@awesome-cordova-plugins/device/ngx';\nimport { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';\nimport { LocationAccuracy } from '@awesome-cordova-plugins/location-accuracy/ngx';\nimport { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';\nimport { Vibration } from '@awesome-cordova-plugins/vibration/ngx';\n\nimport { $appDigest, App } from '@wm/core';\nimport { NetworkService } from '@wm/mobile/core';\nimport { DeviceVariableService, IDeviceVariableOperation, initiateCallback } from '@wm/variables';\nimport { CurrentGeoPositionOperation } from './location-service';\n\ndeclare const navigator, $;\n/**\n * this file contains all device operations under 'device' service.\n */\nexport class DeviceService extends DeviceVariableService {\n public readonly name = 'device';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor(app: App,\n appVersion: AppVersion,\n device: Device,\n geoLocation: Geolocation,\n networkService: NetworkService,\n vibrateService: Vibration,\n locationAccuracyService: LocationAccuracy,\n diagnosticService: Diagnostic\n ) {\n super();\n this.operations.push(new AppInfoOperation(device, appVersion),\n new CurrentGeoPositionOperation(app, geoLocation, locationAccuracyService, diagnosticService),\n new DeviceInfoOperation(device),\n new GetNetworkInfoOperation(app, networkService),\n new GoOfflineOperation(networkService),\n new GoOnlineOperation(networkService),\n new VibrateOperation(vibrateService));\n app.subscribe('onNetworkStateChange', data => {\n app.networkStatus = data;\n $appDigest();\n });\n app.networkStatus = {\n isConnecting : false,\n isConnected : true,\n isNetworkAvailable : true,\n isServiceAvailable : true\n };\n }\n}\n\n\n/**\n * This class handles 'getAppInfo' device operation.\n */\nclass AppInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'getAppInfo';\n public readonly model = {\n appversion: 'X.X.X',\n cordovaversion: 'X.X.X'\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true}\n ];\n\n constructor (private device: Device, private appVersion: AppVersion) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n const cordovaVersion = this.device.cordova;\n return this.appVersion.getVersionNumber().then(appVersion => {\n return {\n appversion: appVersion,\n cordovaversion: cordovaVersion\n };\n });\n }\n}\n\n/**\n * This class handles 'getDeviceInfo' device operation.\n */\nclass DeviceInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'getDeviceInfo';\n public readonly model = {\n deviceModel: 'DEVICEMODEL',\n os: 'DEVICEOS',\n osVersion: 'X.X.X',\n deviceUUID: 'DEVICEUUID'\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean', value: true, hide: true}\n ];\n\n constructor (private device: Device) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n const response = {\n 'deviceModel': this.device.model,\n 'os': this.device.platform,\n 'osVersion': this.device.version,\n 'deviceUUID': this.device.uuid\n };\n return Promise.resolve(response);\n }\n}\n\nclass GetNetworkInfoOperation implements IDeviceVariableOperation {\n public readonly name = 'getNetworkInfo';\n public readonly model = {\n connectionType: 'NONE',\n isConnecting: false,\n isNetworkAvailable: true,\n isOnline: true,\n isOffline: false\n };\n public readonly properties = [\n {target: 'autoUpdate', type: 'boolean', value: true, hide : true},\n {target: 'startUpdate', type: 'boolean', value: true, hide : true},\n {target: 'networkStatus', type: 'object', value: 'bind:App.networkStatus', dataBinding: true, hide: true},\n {target: 'onOnline', hide : false},\n {target: 'onOffline', hide : false}\n ];\n public readonly requiredCordovaPlugins = ['NETWORK'];\n\n constructor (private app: App, private networkService: NetworkService) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const data = {\n connectionType: navigator.connection.type,\n isConnecting: this.app.networkStatus.isConnecting,\n isNetworkAvailable: this.app.networkStatus.isNetworkAvailable,\n isOnline: this.app.networkStatus.isConnected,\n isOffline: !this.app.networkStatus.isConnected\n };\n if (this.networkService.isConnected()) {\n initiateCallback('onOnline', variable, data);\n } else {\n initiateCallback('onOffline', variable, data);\n }\n return Promise.resolve(data);\n }\n}\n\nclass GoOfflineOperation implements IDeviceVariableOperation {\n public readonly name = 'goOffline';\n public readonly model = {};\n public readonly properties = [];\n public readonly requiredCordovaPlugins = ['NETWORK'];\n\n constructor (private networkService: NetworkService) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n return this.networkService.disconnect();\n }\n}\n\nclass GoOnlineOperation implements IDeviceVariableOperation {\n public readonly name = 'goOnline';\n public readonly model = {};\n public readonly properties = [];\n public readonly requiredCordovaPlugins = ['NETWORK'];\n\n constructor (private networkService: NetworkService) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n return this.networkService.connect();\n }\n}\n\n/**\n * This class handles 'vibrate' device operation.\n */\nclass VibrateOperation implements IDeviceVariableOperation {\n public readonly name = 'vibrate';\n public readonly model = {\n appversion: 'X.X.X',\n cordovaversion: 'X.X.X'\n };\n public readonly properties = [\n {target: 'vibrationtime', type: 'number', value: 2, dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['VIBRATE'];\n\n constructor (private vibrationService: Vibration) {\n\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n this.vibrationService.vibrate(dataBindings.get('vibrationtime') * 1000);\n return Promise.resolve();\n }\n}\n","import { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\ndeclare const navigator;\n\nexport class ContactsService extends DeviceVariableService {\n public readonly name = 'contacts';\n public readonly operations: IDeviceVariableOperation[] = [];\n\n constructor() {\n super();\n this.operations.push(new GetContactsOperation());\n }\n}\n\nclass GetContactsOperation implements IDeviceVariableOperation {\n public readonly name = 'getContacts';\n public readonly model = {\n id : '',\n displayName : '',\n phoneNumbers : [{value: ''}]\n };\n public readonly properties = [\n {target: 'startUpdate', type: 'boolean'},\n {target: 'autoUpdate', type: 'boolean'},\n {target: 'contactFilter', type: 'string', value: '', dataBinding: true}\n ];\n public readonly requiredCordovaPlugins = ['CONTACTS'];\n\n public waitingCalls: (() => void)[] = [];\n\n private extractDisplayName(c: any): string {\n const name = c.displayName;\n // In IOS, displayName is undefined, so using the formatted name.\n if (!name || name === '') {\n if (c.name.formatted) {\n return c.name.formatted;\n }\n }\n return name;\n }\n\n private processNextCall() {\n if (this.waitingCalls.length > 0) {\n this.waitingCalls[0]();\n }\n }\n\n private findContacts(requiredFields, findOptions): Promise<any> {\n return new Promise<any>((resolve, reject) => {\n // Contacts plugin is not processing two simultaneous calls. It is anwsering to only call.\n this.waitingCalls.push(() => {\n new Promise((resolve: Function, reject: Function) => {\n navigator.contacts.find(requiredFields, resolve, reject, findOptions);\n }).then((data: any[]) => {\n if (data != null) {\n const contacts = data.filter(c => {\n c.displayName = this.extractDisplayName(c);\n return c.phoneNumbers && c.phoneNumbers.length > 0;\n });\n resolve(contacts);\n }\n }, reject).then(() => {\n this.waitingCalls.shift();\n this.processNextCall();\n });\n });\n if (this.waitingCalls.length === 1) {\n this.processNextCall();\n }\n });\n }\n\n public invoke(variable: any, options: any, dataBindings: Map<string, any>): Promise<any> {\n const requiredFields = ['displayName', 'name'];\n const findOptions = {\n filter : dataBindings.get('contactFilter'),\n multiple : true\n };\n return this.findContacts(requiredFields, findOptions);\n }\n}\n","import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\n\nimport { DeviceVariableService, IDeviceVariableOperation } from '@wm/variables';\n\nconst barcodeFormatOptions = {\n 'ALL' : 'ALL',\n 'CODABAR' : 'CODABAR (not supported in iOS)',\n 'CODE_39' : 'CODE_39',\n 'CODE_93' : 'CODE_93 (not supported in iOS)',\n 'CODE_128' : 'CODE_128',\n 'DATA_MATRIX' : 'DATA_MATRIX',\n 'EAN_8' : 'EAN_8',\n 'EAN_13' : 'EAN_13',\n 'ITF' : 'ITF',\n 'PDF_417' : 'PDF_417 (not supported in iOS)',\n 'QR_CODE' : 'QR_CODE',\n 'RSS14' : 'RSS14 (not supported in iOS)',\n 'RSS_EXPANDED' : 'RSS_EXPANDED (not supported in iOS)',\n 'UPC_E' : 'UPC_E',\n 'UPC_A' : 'UPC_A'\n};\n\nexport class ScanService extends DeviceVariableService {\n name = 'scan';\n operations: IDeviceVariableOperation[] = [];\n\n constructor(barcodeScanner: BarcodeScanner) {\n super();\n this.operations.push(new ScanOperation(barcodeScanner));\n }\n}\n\nclass ScanOperation implements IDeviceVariableOperation {\n public readonly name = 'scanBarCode';\n public readonly model = {\n text : 'BAR CODE',\n format : 'TEXT',\n cancelled : false\n };\n public readonly properties = [\n {\n target : 'barcodeFormat',\n type : 'list',\n options : barcodeFormatOptions,\n value : 'ALL',\n group : 'properties',\n subGroup : 'behavior',\n hide : false\n }\n ];\n public readonly requiredCordovaPlugins = ['BARCODE_SCANNER'];\n\n constructor(private barcodeScanner: BarcodeScanner) {\n\n }\n\n public invoke(variable: any, options: any): Promise<any> {\n let scanOptions = {\n showFlipCameraButton : true,\n showTorchButton : true\n } as any;\n if (variable.barcodeFormat && variable.barcodeFormat !== 'ALL') {\n scanOptions.formats = variable.barcodeFormat;\n }\n return this.barcodeScanner.scan(scanOptions);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { AppVersion } from '@awesome-cordova-plugins/app-version/ngx';\nimport { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\nimport { Calendar } from '@awesome-cordova-plugins/calendar/ngx';\nimport { Camera } from '@awesome-cordova-plugins/camera/ngx';\nimport { Device } from '@awesome-cordova-plugins/device/ngx';\nimport { MediaCapture } from '@awesome-cordova-plugins/media-capture/ngx';\nimport { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';\nimport { Vibration } from '@awesome-cordova-plugins/vibration/ngx';\nimport { LocationAccuracy } from '@awesome-cordova-plugins/location-accuracy/ngx';\nimport { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';\n\nimport { App } from '@wm/core';\nimport { DeviceFileOpenerService, DeviceFileUploadService, NetworkService } from '@wm/mobile/core';\nimport { ChangeLogService, LocalDBManagementService, LocalDBDataPullService, OfflineModule } from '@wm/mobile/offline';\nimport { SecurityService } from '@wm/security';\nimport { DeviceVariableManager, VARIABLE_CONSTANTS, VariableManagerFactory } from '@wm/variables';\n\nimport { CalendarService } from './services/calendar-service';\nimport { CameraService } from './services/camera-service';\nimport { FileService } from './services/file-service';\nimport { DatasyncService } from './services/datasync-service';\nimport { DeviceService } from './services/device-service/device-service';\nimport { ContactsService } from './services/contacts-service';\nimport { ScanService } from './services/scan-service';\nimport { FileSelectorService, ProcessManagementService } from '@wm/mobile/components/basic';\n\n@NgModule({\n imports: [\n OfflineModule\n ],\n declarations: [],\n providers: [\n // add providers to mobile-runtime module.\n ]\n})\nexport class VariablesModule {\n\n private static initialized = false;\n // Device variable services have to be added only once in the app life-cycle.\n private static initialize(app: App,\n appVersion: AppVersion,\n barcodeScanner: BarcodeScanner,\n changeLogService: ChangeLogService,\n calendar: Calendar,\n camera: Camera,\n fileOpener: DeviceFileOpenerService,\n fileSelectorService: FileSelectorService,\n fileUploader: DeviceFileUploadService,\n device: Device,\n geoLocation: Geolocation,\n localDBDataPullService: LocalDBDataPullService,\n localDBManagementService: LocalDBManagementService,\n mediaCapture: MediaCapture,\n processManagementService: ProcessManagementService,\n securityService: SecurityService,\n networkService: NetworkService,\n vibrateService: Vibration,\n locationAccuracyService: LocationAccuracy,\n diagnosticService: Diagnostic) {\n if (this.initialized) {\n return;\n }\n this.initialized = true;\n const deviceVariableManager = VariableManagerFactory.get(VARIABLE_CONSTANTS.CATEGORY.DEVICE) as DeviceVariableManager;\n deviceVariableManager.registerService(new CameraService(camera, mediaCapture));\n deviceVariableManager.registerService(new CalendarService(calendar));\n deviceVariableManager.registerService(new FileService(fileOpener, fileUploader));\n deviceVariableManager.registerService(new ContactsService());\n deviceVariableManager.registerService(new DatasyncService(app, changeLogService, fileSelectorService, localDBManagementService, localDBDataPullService, processManagementService, securityService, networkService));\n deviceVariableManager.registerService(new DeviceService(app, appVersion, device, geoLocation, networkService, vibrateService, locationAccuracyService, diagnosticService));\n deviceVariableManager.registerService(new ScanService(barcodeScanner));\n }\n\n constructor(\n app: App,\n appVersion: AppVersion,\n barcodeScanner: BarcodeScanner,\n changeLogService: ChangeLogService,\n calendar: Calendar,\n camera: Camera,\n fileOpener: DeviceFileOpenerService,\n fileSelectorService: FileSelectorService,\n fileUploader: DeviceFileUploadService,\n device: Device,\n geoLocation: Geolocation,\n localDBDataPullService: LocalDBDataPullService,\n localDBManagementService: LocalDBManagementService,\n mediaCapture: MediaCapture,\n processManagementService: ProcessManagementService,\n securityService: SecurityService,\n networkService: NetworkService,\n vibrateService: Vibration,\n locationAccuracyService: LocationAccuracy,\n diagnosticService: Diagnostic\n ) {\n VariablesModule.initialize(app,\n appVersion,\n barcodeScanner,\n changeLogService,\n calendar,\n camera,\n fileOpener,\n fileSelectorService,\n fileUploader,\n device,\n geoLocation,\n localDBDataPullService,\n localDBManagementService,\n mediaCapture,\n processManagementService,\n securityService,\n networkService,\n vibrateService,\n locationAccuracyService,\n diagnosticService);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api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AA,GAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,CAAA,QAAA,CAAA,GAAA,CAAA,UAAA,CAAA,CAAA,CAAA,EAAA,CAAA,EAAA;mEAAf,eAAe,EAAA,CAAA,CAAA,EAAA;uEAPpB,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;iFAOR,eAAe,EAAA,CAAA;cAT3B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,aAAa;AAChB,iBAAA;AACD,gBAAA,YAAY,EAAE,EAAE;AAChB,gBAAA,SAAS,EAAE;;AAEV,iBAAA;AACJ,aAAA,CAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,eAAe,cAPpB,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC9BrB;;AAEG;;;;"}
@@ -0,0 +1,2 @@
1
+ # Nested package.json's are only needed for development.
2
+ **/package.json
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@wm/core')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs', '@wm/core'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.oAuth = {}), global.ng.core, global.rxjs, global.wm.core));
5
- })(this, (function (exports, i0, rxjs, i1) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@wm/core'), require('lodash-es')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs', '@wm/core', 'lodash-es'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.oAuth = {}), global.ng.core, global.rxjs, global.wm.core, global._));
5
+ })(this, (function (exports, i0, rxjs, i1, lodashEs) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -49,7 +49,7 @@
49
49
  for (param in urlParams) {
50
50
  if (urlParams.hasOwnProperty(param)) {
51
51
  val = urlParams[param];
52
- if (!_.isUndefined(val) && val !== null) {
52
+ if (!lodashEs.isUndefined(val) && val !== null) {
53
53
  config.url = config.url.replace(new RegExp(':' + param, 'g'), val);
54
54
  }
55
55
  }
@@ -60,7 +60,7 @@
60
60
  config.params = serviceParams.params;
61
61
  }
62
62
  /* check for data */
63
- if (!_.isUndefined(serviceParams.data)) {
63
+ if (!lodashEs.isUndefined(serviceParams.data)) {
64
64
  config.data = serviceParams.data;
65
65
  }
66
66
  /* check for data parameters, written to support old service calls (.json calls) */
@@ -236,10 +236,10 @@
236
236
  * @param providerInfo
237
237
  */
238
238
  function isPassedFlow(providerInfo, flow) {
239
- let oAuthFlow = _.get(providerInfo, 'oauth2Flow');
239
+ let oAuthFlow = lodashEs.get(providerInfo, 'oauth2Flow');
240
240
  oAuthFlow = oAuthFlow ? oAuthFlow.toLowerCase() : oAuthFlow;
241
241
  if (flow === pkceIdentifier) {
242
- if (_.get(providerInfo, 'oAuth2Pkce.enabled') === true) {
242
+ if (lodashEs.get(providerInfo, 'oAuth2Pkce.enabled') === true) {
243
243
  oAuthFlow = pkceIdentifier;
244
244
  }
245
245
  }
@@ -292,7 +292,7 @@
292
292
  // Create and store a new PKCE code_verifier (the plaintext random secret)
293
293
  code_verifier = generateRandomString();
294
294
  let code_challenge;
295
- if (_.get(securityObj, 'oAuth2Pkce.challengeMethod') === 'plain') {
295
+ if (lodashEs.get(securityObj, 'oAuth2Pkce.challengeMethod') === 'plain') {
296
296
  code_challenge = code_verifier;
297
297
  url = constructURLForImplicitOrPKCE(providerId, securityObj, requestSourceType, code_challenge, customUriScheme, deployedURL);
298
298
  startoAuthFlow(url, providerId, onSuccess, removeProviderConfigCallBack, securityObj, requestSourceType, customUriScheme, deployedURL, http);
@@ -371,7 +371,7 @@
371
371
  url = commonUrl + '&response_type=' + responseType;
372
372
  }
373
373
  else {
374
- url = commonUrl + '&response_type=code&code_challenge=' + code_challenge + '&code_challenge_method=' + _.get(providerInfo, 'oAuth2Pkce.challengeMethod');
374
+ url = commonUrl + '&response_type=code&code_challenge=' + code_challenge + '&code_challenge_method=' + lodashEs.get(providerInfo, 'oAuth2Pkce.challengeMethod');
375
375
  }
376
376
  return url;
377
377
  }
@@ -471,13 +471,13 @@
471
471
  return this.providers.asObservable();
472
472
  }
473
473
  addProviderConfig(provider) {
474
- if (!(_.find(this.providersConfig, { 'name': provider.name }))) {
474
+ if (!(lodashEs.find(this.providersConfig, { 'name': provider.name }))) {
475
475
  this.providersConfig.push(provider);
476
476
  }
477
477
  this.providers.next(this.providersConfig);
478
478
  }
479
479
  removeProviderConfig(providerId) {
480
- _.remove(this.providersConfig, provider => provider.name === providerId);
480
+ lodashEs.remove(this.providersConfig, provider => provider.name === providerId);
481
481
  this.providers.next(this.providersConfig);
482
482
  }
483
483
  perfromOAuthorization(url, providerId, onSuccess, onError, securityObj, customUriScheme, deployedURL) {
@@ -492,9 +492,9 @@
492
492
  static { this.ɵfac = function OAuthService_Factory(t) { return new (t || OAuthService)(i0__namespace.ɵɵinject(i1__namespace.AbstractHttpService)); }; }
493
493
  static { this.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: OAuthService, factory: OAuthService.ɵfac }); }
494
494
  }
495
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(OAuthService, [{
495
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(OAuthService, [{
496
496
  type: i0.Injectable
497
- }], function () { return [{ type: i1__namespace.AbstractHttpService }]; }, null); })();
497
+ }], () => [{ type: i1__namespace.AbstractHttpService }], null); })();
498
498
 
499
499
  class OAuthModule {
500
500
  static forRoot() {
@@ -507,7 +507,7 @@
507
507
  static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: OAuthModule }); }
508
508
  static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({}); }
509
509
  }
510
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(OAuthModule, [{
510
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(OAuthModule, [{
511
511
  type: i0.NgModule,
512
512
  args: [{}]
513
513
  }], null, null); })();