iss-ctrl 0.0.3 → 0.0.5

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 (766) hide show
  1. package/README.md +16 -17
  2. package/fesm2022/iss-ctrl-checkbox.wrapper-BVw3Pu1B.mjs +81 -0
  3. package/fesm2022/iss-ctrl-checkbox.wrapper-BVw3Pu1B.mjs.map +1 -0
  4. package/fesm2022/iss-ctrl-chips.wrapper-FY02vbu1.mjs +83 -0
  5. package/fesm2022/iss-ctrl-chips.wrapper-FY02vbu1.mjs.map +1 -0
  6. package/fesm2022/iss-ctrl-date-picker.wrapper-BTyZyhiU.mjs +79 -0
  7. package/fesm2022/iss-ctrl-date-picker.wrapper-BTyZyhiU.mjs.map +1 -0
  8. package/fesm2022/iss-ctrl-date-range-picker.wrapper-BW1pwRKg.mjs +87 -0
  9. package/fesm2022/iss-ctrl-date-range-picker.wrapper-BW1pwRKg.mjs.map +1 -0
  10. package/fesm2022/iss-ctrl-datetime-picker.wrapper-h0P56I6e.mjs +83 -0
  11. package/fesm2022/iss-ctrl-datetime-picker.wrapper-h0P56I6e.mjs.map +1 -0
  12. package/fesm2022/iss-ctrl-file-picker.wrapper-D_4dLsqz.mjs +245 -0
  13. package/fesm2022/iss-ctrl-file-picker.wrapper-D_4dLsqz.mjs.map +1 -0
  14. package/fesm2022/iss-ctrl-input.wrapper-dK79kSim.mjs +83 -0
  15. package/fesm2022/iss-ctrl-input.wrapper-dK79kSim.mjs.map +1 -0
  16. package/fesm2022/iss-ctrl-iss-ctrl-BhZGHw0A.mjs +6024 -0
  17. package/fesm2022/iss-ctrl-iss-ctrl-BhZGHw0A.mjs.map +1 -0
  18. package/fesm2022/iss-ctrl-load-event.service-D_O5gUmg.mjs +62 -0
  19. package/fesm2022/iss-ctrl-load-event.service-D_O5gUmg.mjs.map +1 -0
  20. package/fesm2022/iss-ctrl-load-options-event.service-CylOcoz4.mjs +51 -0
  21. package/fesm2022/iss-ctrl-load-options-event.service-CylOcoz4.mjs.map +1 -0
  22. package/fesm2022/iss-ctrl-load-value-event.service-BRz28bIm.mjs +52 -0
  23. package/fesm2022/iss-ctrl-load-value-event.service-BRz28bIm.mjs.map +1 -0
  24. package/fesm2022/iss-ctrl-mobile.wrapper-DOvO-cRi.mjs +70 -0
  25. package/fesm2022/iss-ctrl-mobile.wrapper-DOvO-cRi.mjs.map +1 -0
  26. package/fesm2022/iss-ctrl-note.wrapper-BW6WOulk.mjs +43 -0
  27. package/fesm2022/iss-ctrl-note.wrapper-BW6WOulk.mjs.map +1 -0
  28. package/fesm2022/iss-ctrl-plate-number.wrapper-B_NXePR_.mjs +228 -0
  29. package/fesm2022/iss-ctrl-plate-number.wrapper-B_NXePR_.mjs.map +1 -0
  30. package/fesm2022/iss-ctrl-radio.wrapper-BHXkIyX9.mjs +84 -0
  31. package/fesm2022/iss-ctrl-radio.wrapper-BHXkIyX9.mjs.map +1 -0
  32. package/fesm2022/iss-ctrl-replace-api-keys.service-DNns4c2U.mjs +57 -0
  33. package/fesm2022/iss-ctrl-replace-api-keys.service-DNns4c2U.mjs.map +1 -0
  34. package/fesm2022/iss-ctrl-select.viewer-Bd4flLOk.mjs +30 -0
  35. package/fesm2022/iss-ctrl-select.viewer-Bd4flLOk.mjs.map +1 -0
  36. package/fesm2022/iss-ctrl-select.wrapper-B78Aap__.mjs +66 -0
  37. package/fesm2022/iss-ctrl-select.wrapper-B78Aap__.mjs.map +1 -0
  38. package/fesm2022/iss-ctrl-set-value-event.service-Dc4bcaTp.mjs +61 -0
  39. package/fesm2022/iss-ctrl-set-value-event.service-Dc4bcaTp.mjs.map +1 -0
  40. package/fesm2022/iss-ctrl-show-event.service-Bg9VNotN.mjs +18 -0
  41. package/fesm2022/iss-ctrl-show-event.service-Bg9VNotN.mjs.map +1 -0
  42. package/fesm2022/iss-ctrl-slide-toggle.wrapper-CRTpag4Q.mjs +75 -0
  43. package/fesm2022/iss-ctrl-slide-toggle.wrapper-CRTpag4Q.mjs.map +1 -0
  44. package/fesm2022/iss-ctrl-table.wrapper-B1q8mXCB.mjs +312 -0
  45. package/fesm2022/iss-ctrl-table.wrapper-B1q8mXCB.mjs.map +1 -0
  46. package/fesm2022/iss-ctrl-textarea.wrapper-LR5_KMxK.mjs +70 -0
  47. package/fesm2022/iss-ctrl-textarea.wrapper-LR5_KMxK.mjs.map +1 -0
  48. package/fesm2022/iss-ctrl-time-picker.wrapper-D_td2M3Z.mjs +67 -0
  49. package/fesm2022/iss-ctrl-time-picker.wrapper-D_td2M3Z.mjs.map +1 -0
  50. package/fesm2022/iss-ctrl-toggle-button.wrapper-DxA2jL1S.mjs +89 -0
  51. package/fesm2022/iss-ctrl-toggle-button.wrapper-DxA2jL1S.mjs.map +1 -0
  52. package/fesm2022/iss-ctrl-trigger-based-on-json-value.service-CAnJWl6G.mjs +24 -0
  53. package/fesm2022/iss-ctrl-trigger-based-on-json-value.service-CAnJWl6G.mjs.map +1 -0
  54. package/fesm2022/iss-ctrl-user-picker.wrapper-UeA0dCqd.mjs +190 -0
  55. package/fesm2022/iss-ctrl-user-picker.wrapper-UeA0dCqd.mjs.map +1 -0
  56. package/fesm2022/iss-ctrl-viewer.base-BCFfZsDG.mjs +17 -0
  57. package/fesm2022/iss-ctrl-viewer.base-BCFfZsDG.mjs.map +1 -0
  58. package/fesm2022/iss-ctrl.mjs +2 -0
  59. package/fesm2022/iss-ctrl.mjs.map +1 -0
  60. package/package.json +18 -44
  61. package/types/iss-ctrl.d.ts +712 -0
  62. package/.editorconfig +0 -13
  63. package/.eslintrc.json +0 -90
  64. package/angular.json +0 -190
  65. package/bun.lock +0 -1998
  66. package/projects/iss/.eslintrc.json +0 -37
  67. package/projects/iss/README.md +0 -24
  68. package/projects/iss/ng-package.json +0 -10
  69. package/projects/iss/package.json +0 -17
  70. package/projects/iss/src/components/controls/base/control.base.ts +0 -77
  71. package/projects/iss/src/components/controls/base/viewer.base.ts +0 -8
  72. package/projects/iss/src/components/controls/base/wrapper.base.ts +0 -85
  73. package/projects/iss/src/components/controls/checkbox/checkbox.control.ts +0 -93
  74. package/projects/iss/src/components/controls/checkbox/checkbox.viewer.ts +0 -15
  75. package/projects/iss/src/components/controls/checkbox/checkbox.wrapper.ts +0 -36
  76. package/projects/iss/src/components/controls/chips/chips.control.ts +0 -99
  77. package/projects/iss/src/components/controls/chips/chips.viewer.ts +0 -23
  78. package/projects/iss/src/components/controls/chips/chips.wrapper.ts +0 -31
  79. package/projects/iss/src/components/controls/date-picker/date-picker.control.ts +0 -85
  80. package/projects/iss/src/components/controls/date-picker/date-picker.viewer.ts +0 -14
  81. package/projects/iss/src/components/controls/date-picker/date-picker.wrapper.ts +0 -35
  82. package/projects/iss/src/components/controls/date-range-picker/date-range-picker.control.ts +0 -143
  83. package/projects/iss/src/components/controls/date-range-picker/date-range-picker.viewer.ts +0 -22
  84. package/projects/iss/src/components/controls/date-range-picker/date-range-picker.wrapper.ts +0 -35
  85. package/projects/iss/src/components/controls/datetime-picker/datetime-picker.control.ts +0 -109
  86. package/projects/iss/src/components/controls/datetime-picker/datetime-picker.viewer.ts +0 -17
  87. package/projects/iss/src/components/controls/datetime-picker/datetime-picker.wrapper.ts +0 -38
  88. package/projects/iss/src/components/controls/file-picker/attachment.viewer.ts +0 -165
  89. package/projects/iss/src/components/controls/file-picker/droppable.directive.ts +0 -28
  90. package/projects/iss/src/components/controls/file-picker/file-handler.service.ts +0 -115
  91. package/projects/iss/src/components/controls/file-picker/file-picker.control.ts +0 -187
  92. package/projects/iss/src/components/controls/file-picker/file-picker.wrapper.ts +0 -120
  93. package/projects/iss/src/components/controls/input/input.control.ts +0 -95
  94. package/projects/iss/src/components/controls/input/input.viewer.ts +0 -11
  95. package/projects/iss/src/components/controls/input/input.wrapper.ts +0 -40
  96. package/projects/iss/src/components/controls/mobile/mobile.control.ts +0 -222
  97. package/projects/iss/src/components/controls/mobile/mobile.viewer.ts +0 -11
  98. package/projects/iss/src/components/controls/mobile/mobile.wrapper.ts +0 -32
  99. package/projects/iss/src/components/controls/mobile/phone.service.ts +0 -96
  100. package/projects/iss/src/components/controls/note/note.wrapper.ts +0 -25
  101. package/projects/iss/src/components/controls/plate/plate-letter.pipe.ts +0 -14
  102. package/projects/iss/src/components/controls/plate/plate-number.wrapper.ts +0 -36
  103. package/projects/iss/src/components/controls/plate/plate.control.ts +0 -481
  104. package/projects/iss/src/components/controls/plate/plate.viewer.ts +0 -289
  105. package/projects/iss/src/components/controls/radio/radio.control.ts +0 -48
  106. package/projects/iss/src/components/controls/radio/radio.viewer.ts +0 -14
  107. package/projects/iss/src/components/controls/radio/radio.wrapper.ts +0 -38
  108. package/projects/iss/src/components/controls/select/select.control.ts +0 -261
  109. package/projects/iss/src/components/controls/select/select.viewer.ts +0 -14
  110. package/projects/iss/src/components/controls/select/select.wrapper.ts +0 -41
  111. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.control.ts +0 -24
  112. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.viewer.ts +0 -14
  113. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.wrapper.ts +0 -31
  114. package/projects/iss/src/components/controls/table/field.viewer.ts +0 -23
  115. package/projects/iss/src/components/controls/table/table.wrapper.ts +0 -233
  116. package/projects/iss/src/components/controls/textarea/textarea.control.ts +0 -54
  117. package/projects/iss/src/components/controls/textarea/textarea.viewer.ts +0 -11
  118. package/projects/iss/src/components/controls/textarea/textarea.wrapper.ts +0 -34
  119. package/projects/iss/src/components/controls/time-picker/time-picker.control.ts +0 -86
  120. package/projects/iss/src/components/controls/time-picker/time-picker.viewer.ts +0 -10
  121. package/projects/iss/src/components/controls/time-picker/time-picker.wrapper.ts +0 -31
  122. package/projects/iss/src/components/controls/toggle-button/toggle-button.control.ts +0 -105
  123. package/projects/iss/src/components/controls/toggle-button/toggle-button.viewer.ts +0 -15
  124. package/projects/iss/src/components/controls/toggle-button/toggle-button.wrapper.ts +0 -40
  125. package/projects/iss/src/components/controls/user-picker/employee.service.ts +0 -73
  126. package/projects/iss/src/components/controls/user-picker/user-picker.wrapper.ts +0 -128
  127. package/projects/iss/src/components/outlet/field-data-injector.pipe.ts +0 -20
  128. package/projects/iss/src/components/outlet/outlet.ts +0 -152
  129. package/projects/iss/src/components/shared/hints.component.ts +0 -38
  130. package/projects/iss/src/components/shared/validation-message.component.ts +0 -36
  131. package/projects/iss/src/events/event-handler.service.ts +0 -47
  132. package/projects/iss/src/events/load/after-fetch.service.ts +0 -29
  133. package/projects/iss/src/events/load/load-event.service.ts +0 -26
  134. package/projects/iss/src/events/load/load-options-event.service.ts +0 -51
  135. package/projects/iss/src/events/load/load-value-event.service.ts +0 -50
  136. package/projects/iss/src/events/load/replace-api-keys.service.ts +0 -55
  137. package/projects/iss/src/events/set-value/get-value-to-set.service.ts +0 -29
  138. package/projects/iss/src/events/set-value/set-value-event.service.ts +0 -33
  139. package/projects/iss/src/events/show/show-event.service.ts +0 -11
  140. package/projects/iss/src/events/triggers/action-trigger-manager.service.ts +0 -51
  141. package/projects/iss/src/events/triggers/action-trigger.service.ts +0 -30
  142. package/projects/iss/src/events/triggers/trigger-based-on-json-value.service.ts +0 -19
  143. package/projects/iss/src/public-api.ts +0 -102
  144. package/projects/iss/src/shared/classes/field-action-config.ts +0 -56
  145. package/projects/iss/src/shared/classes/field-action.ts +0 -28
  146. package/projects/iss/src/shared/classes/field-async-validation.ts +0 -7
  147. package/projects/iss/src/shared/classes/field-config.ts +0 -113
  148. package/projects/iss/src/shared/classes/field-option.ts +0 -9
  149. package/projects/iss/src/shared/classes/field-validation.ts +0 -15
  150. package/projects/iss/src/shared/classes/form-field.ts +0 -94
  151. package/projects/iss/src/shared/constants/countries.const.ts +0 -2051
  152. package/projects/iss/src/shared/constants/date.const.ts +0 -18
  153. package/projects/iss/src/shared/constants/plate-letters.const.ts +0 -21
  154. package/projects/iss/src/shared/constants/provider.const.ts +0 -7
  155. package/projects/iss/src/shared/constants/regex.const.ts +0 -1
  156. package/projects/iss/src/shared/constants/validation.const.ts +0 -115
  157. package/projects/iss/src/shared/indexes/components.index.ts +0 -27
  158. package/projects/iss/src/shared/indexes/services.index.ts +0 -11
  159. package/projects/iss/src/shared/indexes/validators.index.ts +0 -21
  160. package/projects/iss/src/shared/interfaces/action.interface.ts +0 -7
  161. package/projects/iss/src/shared/interfaces/attachment.interface.ts +0 -7
  162. package/projects/iss/src/shared/interfaces/country.interface.ts +0 -11
  163. package/projects/iss/src/shared/interfaces/date-range.interface.ts +0 -5
  164. package/projects/iss/src/shared/interfaces/datetime.interface.ts +0 -4
  165. package/projects/iss/src/shared/interfaces/dto.interface.ts +0 -12
  166. package/projects/iss/src/shared/interfaces/field.interface.ts +0 -27
  167. package/projects/iss/src/shared/interfaces/file.interface.ts +0 -9
  168. package/projects/iss/src/shared/interfaces/hint.interface.ts +0 -8
  169. package/projects/iss/src/shared/interfaces/i18n.interface.ts +0 -4
  170. package/projects/iss/src/shared/interfaces/import.interface.ts +0 -3
  171. package/projects/iss/src/shared/interfaces/mobile.interface.ts +0 -12
  172. package/projects/iss/src/shared/interfaces/option.interface.ts +0 -4
  173. package/projects/iss/src/shared/interfaces/outlet.interface.ts +0 -8
  174. package/projects/iss/src/shared/interfaces/plate-letter.interface.ts +0 -7
  175. package/projects/iss/src/shared/interfaces/validation.interface.ts +0 -5
  176. package/projects/iss/src/shared/pipes/arabic-number.pipe.ts +0 -14
  177. package/projects/iss/src/shared/pipes/select-status.pipe.ts +0 -10
  178. package/projects/iss/src/shared/pipes/translate.pipe.ts +0 -20
  179. package/projects/iss/src/shared/services/form-engine.service.ts +0 -121
  180. package/projects/iss/src/shared/services/loader.service.ts +0 -51
  181. package/projects/iss/src/shared/tokens/api-response-mapper.token.ts +0 -4
  182. package/projects/iss/src/shared/tokens/attachment.token.ts +0 -6
  183. package/projects/iss/src/shared/tokens/field.token.ts +0 -4
  184. package/projects/iss/src/shared/tokens/host.token.ts +0 -3
  185. package/projects/iss/src/shared/tokens/language.token.ts +0 -3
  186. package/projects/iss/src/shared/tokens/url.token.ts +0 -3
  187. package/projects/iss/src/shared/types/iso2.type.ts +0 -244
  188. package/projects/iss/src/shared/types/validation.type.ts +0 -3
  189. package/projects/iss/src/shared/utilities/array-from.util.ts +0 -7
  190. package/projects/iss/src/shared/utilities/format-file-size.util.ts +0 -9
  191. package/projects/iss/src/shared/utilities/get-property-by-path.util.ts +0 -30
  192. package/projects/iss/src/shared/utilities/http.util.service.ts +0 -19
  193. package/projects/iss/src/shared/utilities/is-valid-api.util.ts +0 -8
  194. package/projects/iss/src/shared/utilities/replace-placeholder.util.ts +0 -12
  195. package/projects/iss/src/validators/core.validator.ts +0 -39
  196. package/projects/iss/src/validators/file.validator.ts +0 -100
  197. package/projects/iss/src/validators/time.validator.ts +0 -31
  198. package/projects/iss/tsconfig.lib.json +0 -13
  199. package/projects/iss/tsconfig.lib.prod.json +0 -9
  200. package/projects/iss/tsconfig.spec.json +0 -13
  201. package/projects/playground/.eslintrc.json +0 -37
  202. package/projects/playground/public/favicon.ico +0 -0
  203. package/projects/playground/public/flags/ad.svg +0 -282
  204. package/projects/playground/public/flags/ae.svg +0 -6
  205. package/projects/playground/public/flags/af.svg +0 -9
  206. package/projects/playground/public/flags/ag.svg +0 -15
  207. package/projects/playground/public/flags/ai.svg +0 -35
  208. package/projects/playground/public/flags/al.svg +0 -7
  209. package/projects/playground/public/flags/am.svg +0 -5
  210. package/projects/playground/public/flags/ao.svg +0 -19
  211. package/projects/playground/public/flags/aq.svg +0 -45
  212. package/projects/playground/public/flags/ar.svg +0 -66
  213. package/projects/playground/public/flags/as.svg +0 -225
  214. package/projects/playground/public/flags/at.svg +0 -4
  215. package/projects/playground/public/flags/au.svg +0 -32
  216. package/projects/playground/public/flags/aw.svg +0 -11
  217. package/projects/playground/public/flags/ax.svg +0 -11
  218. package/projects/playground/public/flags/az.svg +0 -11
  219. package/projects/playground/public/flags/ba.svg +0 -18
  220. package/projects/playground/public/flags/bb.svg +0 -11
  221. package/projects/playground/public/flags/bd.svg +0 -4
  222. package/projects/playground/public/flags/be.svg +0 -5
  223. package/projects/playground/public/flags/bf.svg +0 -14
  224. package/projects/playground/public/flags/bg.svg +0 -5
  225. package/projects/playground/public/flags/bh.svg +0 -4
  226. package/projects/playground/public/flags/bi.svg +0 -26
  227. package/projects/playground/public/flags/bj.svg +0 -5
  228. package/projects/playground/public/flags/bl.svg +0 -5
  229. package/projects/playground/public/flags/bm.svg +0 -374
  230. package/projects/playground/public/flags/bn.svg +0 -70
  231. package/projects/playground/public/flags/bo.svg +0 -3625
  232. package/projects/playground/public/flags/bq.svg +0 -5
  233. package/projects/playground/public/flags/br.svg +0 -92
  234. package/projects/playground/public/flags/bs.svg +0 -5
  235. package/projects/playground/public/flags/bt.svg +0 -487
  236. package/projects/playground/public/flags/bv.svg +0 -11
  237. package/projects/playground/public/flags/bw.svg +0 -5
  238. package/projects/playground/public/flags/by.svg +0 -15
  239. package/projects/playground/public/flags/bz.svg +0 -629
  240. package/projects/playground/public/flags/ca.svg +0 -7
  241. package/projects/playground/public/flags/cc.svg +0 -33
  242. package/projects/playground/public/flags/cd.svg +0 -5
  243. package/projects/playground/public/flags/cf.svg +0 -7
  244. package/projects/playground/public/flags/cg.svg +0 -5
  245. package/projects/playground/public/flags/ch.svg +0 -4
  246. package/projects/playground/public/flags/ci.svg +0 -5
  247. package/projects/playground/public/flags/ck.svg +0 -29
  248. package/projects/playground/public/flags/cl.svg +0 -14
  249. package/projects/playground/public/flags/cm.svg +0 -15
  250. package/projects/playground/public/flags/cn.svg +0 -11
  251. package/projects/playground/public/flags/co.svg +0 -5
  252. package/projects/playground/public/flags/cr.svg +0 -1332
  253. package/projects/playground/public/flags/cu.svg +0 -6
  254. package/projects/playground/public/flags/cv.svg +0 -24
  255. package/projects/playground/public/flags/cw.svg +0 -16
  256. package/projects/playground/public/flags/cx.svg +0 -24
  257. package/projects/playground/public/flags/cy.svg +0 -13
  258. package/projects/playground/public/flags/cz.svg +0 -5
  259. package/projects/playground/public/flags/de.svg +0 -5
  260. package/projects/playground/public/flags/dj.svg +0 -6
  261. package/projects/playground/public/flags/dk.svg +0 -5
  262. package/projects/playground/public/flags/dm.svg +0 -198
  263. package/projects/playground/public/flags/do.svg +0 -238
  264. package/projects/playground/public/flags/dz.svg +0 -5
  265. package/projects/playground/public/flags/ec.svg +0 -1292
  266. package/projects/playground/public/flags/ee.svg +0 -5
  267. package/projects/playground/public/flags/eg.svg +0 -125
  268. package/projects/playground/public/flags/eh.svg +0 -12
  269. package/projects/playground/public/flags/er.svg +0 -9
  270. package/projects/playground/public/flags/es.svg +0 -445
  271. package/projects/playground/public/flags/et.svg +0 -16
  272. package/projects/playground/public/flags/eu.svg +0 -28
  273. package/projects/playground/public/flags/fi.svg +0 -5
  274. package/projects/playground/public/flags/fj.svg +0 -203
  275. package/projects/playground/public/flags/fk.svg +0 -922
  276. package/projects/playground/public/flags/flags.png +0 -0
  277. package/projects/playground/public/flags/flags@2x.png +0 -0
  278. package/projects/playground/public/flags/fm.svg +0 -16
  279. package/projects/playground/public/flags/fo.svg +0 -11
  280. package/projects/playground/public/flags/fonts.css +0 -271
  281. package/projects/playground/public/flags/fr.svg +0 -5
  282. package/projects/playground/public/flags/ga.svg +0 -5
  283. package/projects/playground/public/flags/gb-eng.svg +0 -7
  284. package/projects/playground/public/flags/gb-nir.svg +0 -15
  285. package/projects/playground/public/flags/gb-sct.svg +0 -11
  286. package/projects/playground/public/flags/gb-wls.svg +0 -16
  287. package/projects/playground/public/flags/gb.svg +0 -15
  288. package/projects/playground/public/flags/gd.svg +0 -11
  289. package/projects/playground/public/flags/ge.svg +0 -17
  290. package/projects/playground/public/flags/gf.svg +0 -5
  291. package/projects/playground/public/flags/gg.svg +0 -8
  292. package/projects/playground/public/flags/gh.svg +0 -6
  293. package/projects/playground/public/flags/gi.svg +0 -69
  294. package/projects/playground/public/flags/gl.svg +0 -4
  295. package/projects/playground/public/flags/gm.svg +0 -7
  296. package/projects/playground/public/flags/gn.svg +0 -5
  297. package/projects/playground/public/flags/gp.svg +0 -5
  298. package/projects/playground/public/flags/gq.svg +0 -88
  299. package/projects/playground/public/flags/gr.svg +0 -4
  300. package/projects/playground/public/flags/gs.svg +0 -693
  301. package/projects/playground/public/flags/gt.svg +0 -317
  302. package/projects/playground/public/flags/gu.svg +0 -58
  303. package/projects/playground/public/flags/gw.svg +0 -13
  304. package/projects/playground/public/flags/gy.svg +0 -7
  305. package/projects/playground/public/flags/hk.svg +0 -17
  306. package/projects/playground/public/flags/hm.svg +0 -32
  307. package/projects/playground/public/flags/hn.svg +0 -10
  308. package/projects/playground/public/flags/hr.svg +0 -282
  309. package/projects/playground/public/flags/ht.svg +0 -1470
  310. package/projects/playground/public/flags/hu.svg +0 -5
  311. package/projects/playground/public/flags/id.svg +0 -4
  312. package/projects/playground/public/flags/ie.svg +0 -5
  313. package/projects/playground/public/flags/il.svg +0 -5
  314. package/projects/playground/public/flags/im.svg +0 -33
  315. package/projects/playground/public/flags/in.svg +0 -25
  316. package/projects/playground/public/flags/io.svg +0 -895
  317. package/projects/playground/public/flags/iq.svg +0 -12
  318. package/projects/playground/public/flags/ir.svg +0 -31
  319. package/projects/playground/public/flags/is.svg +0 -5
  320. package/projects/playground/public/flags/it.svg +0 -5
  321. package/projects/playground/public/flags/je.svg +0 -40
  322. package/projects/playground/public/flags/jm.svg +0 -9
  323. package/projects/playground/public/flags/jo.svg +0 -10
  324. package/projects/playground/public/flags/jp.svg +0 -4
  325. package/projects/playground/public/flags/ke.svg +0 -28
  326. package/projects/playground/public/flags/kg.svg +0 -7
  327. package/projects/playground/public/flags/kh.svg +0 -133
  328. package/projects/playground/public/flags/ki.svg +0 -54
  329. package/projects/playground/public/flags/km.svg +0 -13
  330. package/projects/playground/public/flags/kn.svg +0 -24
  331. package/projects/playground/public/flags/kp.svg +0 -16
  332. package/projects/playground/public/flags/kr.svg +0 -16
  333. package/projects/playground/public/flags/kw.svg +0 -6
  334. package/projects/playground/public/flags/ky.svg +0 -153
  335. package/projects/playground/public/flags/kz.svg +0 -49
  336. package/projects/playground/public/flags/la.svg +0 -5
  337. package/projects/playground/public/flags/lb.svg +0 -8
  338. package/projects/playground/public/flags/lc.svg +0 -6
  339. package/projects/playground/public/flags/li.svg +0 -79
  340. package/projects/playground/public/flags/lk.svg +0 -50
  341. package/projects/playground/public/flags/lr.svg +0 -15
  342. package/projects/playground/public/flags/ls.svg +0 -32
  343. package/projects/playground/public/flags/lt.svg +0 -5
  344. package/projects/playground/public/flags/lu.svg +0 -5
  345. package/projects/playground/public/flags/lv.svg +0 -4
  346. package/projects/playground/public/flags/ly.svg +0 -8
  347. package/projects/playground/public/flags/ma.svg +0 -4
  348. package/projects/playground/public/flags/mc.svg +0 -4
  349. package/projects/playground/public/flags/md.svg +0 -102
  350. package/projects/playground/public/flags/me.svg +0 -240
  351. package/projects/playground/public/flags/mf.svg +0 -5
  352. package/projects/playground/public/flags/mg.svg +0 -5
  353. package/projects/playground/public/flags/mh.svg +0 -18
  354. package/projects/playground/public/flags/mk.svg +0 -6
  355. package/projects/playground/public/flags/ml.svg +0 -5
  356. package/projects/playground/public/flags/mm.svg +0 -12
  357. package/projects/playground/public/flags/mn.svg +0 -12
  358. package/projects/playground/public/flags/mo.svg +0 -13
  359. package/projects/playground/public/flags/mp.svg +0 -2919
  360. package/projects/playground/public/flags/mq.svg +0 -5
  361. package/projects/playground/public/flags/mr.svg +0 -5
  362. package/projects/playground/public/flags/ms.svg +0 -59
  363. package/projects/playground/public/flags/mt.svg +0 -52
  364. package/projects/playground/public/flags/mu.svg +0 -6
  365. package/projects/playground/public/flags/mv.svg +0 -8
  366. package/projects/playground/public/flags/mw.svg +0 -24
  367. package/projects/playground/public/flags/mx.svg +0 -1129
  368. package/projects/playground/public/flags/my.svg +0 -12
  369. package/projects/playground/public/flags/mz.svg +0 -50
  370. package/projects/playground/public/flags/na.svg +0 -17
  371. package/projects/playground/public/flags/nc.svg +0 -5
  372. package/projects/playground/public/flags/ne.svg +0 -6
  373. package/projects/playground/public/flags/nf.svg +0 -8
  374. package/projects/playground/public/flags/ng.svg +0 -4
  375. package/projects/playground/public/flags/ni.svg +0 -281
  376. package/projects/playground/public/flags/nl.svg +0 -5
  377. package/projects/playground/public/flags/no.svg +0 -11
  378. package/projects/playground/public/flags/np.svg +0 -33
  379. package/projects/playground/public/flags/nr.svg +0 -8
  380. package/projects/playground/public/flags/nu.svg +0 -23
  381. package/projects/playground/public/flags/nz.svg +0 -37
  382. package/projects/playground/public/flags/om.svg +0 -307
  383. package/projects/playground/public/flags/pa.svg +0 -15
  384. package/projects/playground/public/flags/pe.svg +0 -767
  385. package/projects/playground/public/flags/pf.svg +0 -38
  386. package/projects/playground/public/flags/pg.svg +0 -16
  387. package/projects/playground/public/flags/ph.svg +0 -28
  388. package/projects/playground/public/flags/pk.svg +0 -7
  389. package/projects/playground/public/flags/pl.svg +0 -4
  390. package/projects/playground/public/flags/pm.svg +0 -5
  391. package/projects/playground/public/flags/pn.svg +0 -131
  392. package/projects/playground/public/flags/pr.svg +0 -6
  393. package/projects/playground/public/flags/ps.svg +0 -6
  394. package/projects/playground/public/flags/pt.svg +0 -79
  395. package/projects/playground/public/flags/pw.svg +0 -4
  396. package/projects/playground/public/flags/py.svg +0 -192
  397. package/projects/playground/public/flags/qa.svg +0 -7
  398. package/projects/playground/public/flags/re.svg +0 -5
  399. package/projects/playground/public/flags/ro.svg +0 -5
  400. package/projects/playground/public/flags/rs.svg +0 -1143
  401. package/projects/playground/public/flags/ru.svg +0 -5
  402. package/projects/playground/public/flags/rw.svg +0 -17
  403. package/projects/playground/public/flags/sa.svg +0 -23
  404. package/projects/playground/public/flags/sb.svg +0 -30
  405. package/projects/playground/public/flags/sc.svg +0 -7
  406. package/projects/playground/public/flags/sd.svg +0 -6
  407. package/projects/playground/public/flags/se.svg +0 -5
  408. package/projects/playground/public/flags/sg.svg +0 -15
  409. package/projects/playground/public/flags/sh.svg +0 -15
  410. package/projects/playground/public/flags/si.svg +0 -30
  411. package/projects/playground/public/flags/sj.svg +0 -11
  412. package/projects/playground/public/flags/sk.svg +0 -21
  413. package/projects/playground/public/flags/sl.svg +0 -5
  414. package/projects/playground/public/flags/sm.svg +0 -847
  415. package/projects/playground/public/flags/sn.svg +0 -15
  416. package/projects/playground/public/flags/so.svg +0 -13
  417. package/projects/playground/public/flags/sr.svg +0 -6
  418. package/projects/playground/public/flags/ss.svg +0 -8
  419. package/projects/playground/public/flags/st.svg +0 -16
  420. package/projects/playground/public/flags/stc-icons.css +0 -1
  421. package/projects/playground/public/flags/sv.svg +0 -3368
  422. package/projects/playground/public/flags/sx.svg +0 -172
  423. package/projects/playground/public/flags/sy.svg +0 -6
  424. package/projects/playground/public/flags/sz.svg +0 -54
  425. package/projects/playground/public/flags/tc.svg +0 -88
  426. package/projects/playground/public/flags/td.svg +0 -5
  427. package/projects/playground/public/flags/tf.svg +0 -18
  428. package/projects/playground/public/flags/tg.svg +0 -15
  429. package/projects/playground/public/flags/th.svg +0 -5
  430. package/projects/playground/public/flags/tj.svg +0 -32
  431. package/projects/playground/public/flags/tk.svg +0 -25
  432. package/projects/playground/public/flags/tl.svg +0 -6
  433. package/projects/playground/public/flags/tm.svg +0 -349
  434. package/projects/playground/public/flags/tn.svg +0 -9
  435. package/projects/playground/public/flags/to.svg +0 -8
  436. package/projects/playground/public/flags/tr.svg +0 -6
  437. package/projects/playground/public/flags/tt.svg +0 -5
  438. package/projects/playground/public/flags/tv.svg +0 -18
  439. package/projects/playground/public/flags/tw.svg +0 -12
  440. package/projects/playground/public/flags/tz.svg +0 -13
  441. package/projects/playground/public/flags/ua.svg +0 -4
  442. package/projects/playground/public/flags/ug.svg +0 -46
  443. package/projects/playground/public/flags/um.svg +0 -25
  444. package/projects/playground/public/flags/us.svg +0 -25
  445. package/projects/playground/public/flags/uy.svg +0 -138
  446. package/projects/playground/public/flags/uz.svg +0 -30
  447. package/projects/playground/public/flags/va.svg +0 -277
  448. package/projects/playground/public/flags/vc.svg +0 -9
  449. package/projects/playground/public/flags/ve.svg +0 -28
  450. package/projects/playground/public/flags/vg.svg +0 -96
  451. package/projects/playground/public/flags/vi.svg +0 -311
  452. package/projects/playground/public/flags/vn.svg +0 -12
  453. package/projects/playground/public/flags/vu.svg +0 -20
  454. package/projects/playground/public/flags/wf.svg +0 -7
  455. package/projects/playground/public/flags/ws.svg +0 -14
  456. package/projects/playground/public/flags/xk.svg +0 -11
  457. package/projects/playground/public/flags/ye.svg +0 -5
  458. package/projects/playground/public/flags/yt.svg +0 -5
  459. package/projects/playground/public/flags/za.svg +0 -17
  460. package/projects/playground/public/flags/zm.svg +0 -20
  461. package/projects/playground/public/flags/zw.svg +0 -130
  462. package/projects/playground/src/app/app.component.ts +0 -119
  463. package/projects/playground/src/app/app.config.ts +0 -51
  464. package/projects/playground/src/app/app.routes.ts +0 -41
  465. package/projects/playground/src/app/login.service.ts +0 -21
  466. package/projects/playground/src/components/attachment-wrapper.component.ts +0 -45
  467. package/projects/playground/src/components/attachment.component.ts +0 -35
  468. package/projects/playground/src/components/checkbox-wrapper.component.ts +0 -43
  469. package/projects/playground/src/components/chips-wrapper.component.ts +0 -37
  470. package/projects/playground/src/components/ctrl-array-wrapper.component.ts +0 -76
  471. package/projects/playground/src/components/date-picker-container.component.ts +0 -22
  472. package/projects/playground/src/components/date-picker-wrapper.component.ts +0 -41
  473. package/projects/playground/src/components/date-range-picker-container.component.ts +0 -24
  474. package/projects/playground/src/components/date-range-picker-wrapper.component.ts +0 -41
  475. package/projects/playground/src/components/datetime-container.component.ts +0 -25
  476. package/projects/playground/src/components/datetime-picker-wrapper.component.ts +0 -62
  477. package/projects/playground/src/components/input-container.component.ts +0 -35
  478. package/projects/playground/src/components/input-wrapper.component.ts +0 -41
  479. package/projects/playground/src/components/mobile-container.component.ts +0 -23
  480. package/projects/playground/src/components/mobile-wrapper.component.ts +0 -36
  481. package/projects/playground/src/components/note-wrapper.component.ts +0 -37
  482. package/projects/playground/src/components/outlet-container.component.ts +0 -144
  483. package/projects/playground/src/components/plate-container.component.ts +0 -22
  484. package/projects/playground/src/components/plate-wrapper.component.ts +0 -39
  485. package/projects/playground/src/components/radio-wrapper.component.ts +0 -45
  486. package/projects/playground/src/components/select-container.component.ts +0 -31
  487. package/projects/playground/src/components/select-wrapper.component.ts +0 -48
  488. package/projects/playground/src/components/ships-container.component.ts +0 -23
  489. package/projects/playground/src/components/slide-toggle-wrapper.component.ts +0 -40
  490. package/projects/playground/src/components/textarea-container.component.ts +0 -23
  491. package/projects/playground/src/components/textarea-wrapper.component.ts +0 -54
  492. package/projects/playground/src/components/time-picker-container.component.ts +0 -23
  493. package/projects/playground/src/components/time-picker-wrapper.component.ts +0 -43
  494. package/projects/playground/src/components/toggle-button-wrapper.component.ts +0 -49
  495. package/projects/playground/src/components/user-picker-wrapper.component.ts +0 -37
  496. package/projects/playground/src/eServices/create-request.component.ts +0 -28
  497. package/projects/playground/src/eServices/e-service.component.ts +0 -112
  498. package/projects/playground/src/eServices/view-request.component.ts +0 -13
  499. package/projects/playground/src/index.html +0 -13
  500. package/projects/playground/src/interceptors/header.interceptor.ts +0 -71
  501. package/projects/playground/src/main.ts +0 -8
  502. package/projects/playground/src/services/ss.service.ts +0 -62
  503. package/projects/playground/src/styles.scss +0 -33
  504. package/projects/playground/src/validators/customValidator.validator.ts +0 -10
  505. package/projects/playground/tsconfig.app.json +0 -15
  506. package/tsconfig.json +0 -31
  507. /package/{projects/iss/src → src}/components/controls/mobile/flags/ad.svg +0 -0
  508. /package/{projects/iss/src → src}/components/controls/mobile/flags/ae.svg +0 -0
  509. /package/{projects/iss/src → src}/components/controls/mobile/flags/af.svg +0 -0
  510. /package/{projects/iss/src → src}/components/controls/mobile/flags/ag.svg +0 -0
  511. /package/{projects/iss/src → src}/components/controls/mobile/flags/ai.svg +0 -0
  512. /package/{projects/iss/src → src}/components/controls/mobile/flags/al.svg +0 -0
  513. /package/{projects/iss/src → src}/components/controls/mobile/flags/am.svg +0 -0
  514. /package/{projects/iss/src → src}/components/controls/mobile/flags/ao.svg +0 -0
  515. /package/{projects/iss/src → src}/components/controls/mobile/flags/aq.svg +0 -0
  516. /package/{projects/iss/src → src}/components/controls/mobile/flags/ar.svg +0 -0
  517. /package/{projects/iss/src → src}/components/controls/mobile/flags/as.svg +0 -0
  518. /package/{projects/iss/src → src}/components/controls/mobile/flags/at.svg +0 -0
  519. /package/{projects/iss/src → src}/components/controls/mobile/flags/au.svg +0 -0
  520. /package/{projects/iss/src → src}/components/controls/mobile/flags/aw.svg +0 -0
  521. /package/{projects/iss/src → src}/components/controls/mobile/flags/ax.svg +0 -0
  522. /package/{projects/iss/src → src}/components/controls/mobile/flags/az.svg +0 -0
  523. /package/{projects/iss/src → src}/components/controls/mobile/flags/ba.svg +0 -0
  524. /package/{projects/iss/src → src}/components/controls/mobile/flags/bb.svg +0 -0
  525. /package/{projects/iss/src → src}/components/controls/mobile/flags/bd.svg +0 -0
  526. /package/{projects/iss/src → src}/components/controls/mobile/flags/be.svg +0 -0
  527. /package/{projects/iss/src → src}/components/controls/mobile/flags/bf.svg +0 -0
  528. /package/{projects/iss/src → src}/components/controls/mobile/flags/bg.svg +0 -0
  529. /package/{projects/iss/src → src}/components/controls/mobile/flags/bh.svg +0 -0
  530. /package/{projects/iss/src → src}/components/controls/mobile/flags/bi.svg +0 -0
  531. /package/{projects/iss/src → src}/components/controls/mobile/flags/bj.svg +0 -0
  532. /package/{projects/iss/src → src}/components/controls/mobile/flags/bl.svg +0 -0
  533. /package/{projects/iss/src → src}/components/controls/mobile/flags/bm.svg +0 -0
  534. /package/{projects/iss/src → src}/components/controls/mobile/flags/bn.svg +0 -0
  535. /package/{projects/iss/src → src}/components/controls/mobile/flags/bo.svg +0 -0
  536. /package/{projects/iss/src → src}/components/controls/mobile/flags/bq.svg +0 -0
  537. /package/{projects/iss/src → src}/components/controls/mobile/flags/br.svg +0 -0
  538. /package/{projects/iss/src → src}/components/controls/mobile/flags/bs.svg +0 -0
  539. /package/{projects/iss/src → src}/components/controls/mobile/flags/bt.svg +0 -0
  540. /package/{projects/iss/src → src}/components/controls/mobile/flags/bv.svg +0 -0
  541. /package/{projects/iss/src → src}/components/controls/mobile/flags/bw.svg +0 -0
  542. /package/{projects/iss/src → src}/components/controls/mobile/flags/by.svg +0 -0
  543. /package/{projects/iss/src → src}/components/controls/mobile/flags/bz.svg +0 -0
  544. /package/{projects/iss/src → src}/components/controls/mobile/flags/ca.svg +0 -0
  545. /package/{projects/iss/src → src}/components/controls/mobile/flags/cc.svg +0 -0
  546. /package/{projects/iss/src → src}/components/controls/mobile/flags/cd.svg +0 -0
  547. /package/{projects/iss/src → src}/components/controls/mobile/flags/cf.svg +0 -0
  548. /package/{projects/iss/src → src}/components/controls/mobile/flags/cg.svg +0 -0
  549. /package/{projects/iss/src → src}/components/controls/mobile/flags/ch.svg +0 -0
  550. /package/{projects/iss/src → src}/components/controls/mobile/flags/ci.svg +0 -0
  551. /package/{projects/iss/src → src}/components/controls/mobile/flags/ck.svg +0 -0
  552. /package/{projects/iss/src → src}/components/controls/mobile/flags/cl.svg +0 -0
  553. /package/{projects/iss/src → src}/components/controls/mobile/flags/cm.svg +0 -0
  554. /package/{projects/iss/src → src}/components/controls/mobile/flags/cn.svg +0 -0
  555. /package/{projects/iss/src → src}/components/controls/mobile/flags/co.svg +0 -0
  556. /package/{projects/iss/src → src}/components/controls/mobile/flags/cr.svg +0 -0
  557. /package/{projects/iss/src → src}/components/controls/mobile/flags/cu.svg +0 -0
  558. /package/{projects/iss/src → src}/components/controls/mobile/flags/cv.svg +0 -0
  559. /package/{projects/iss/src → src}/components/controls/mobile/flags/cw.svg +0 -0
  560. /package/{projects/iss/src → src}/components/controls/mobile/flags/cx.svg +0 -0
  561. /package/{projects/iss/src → src}/components/controls/mobile/flags/cy.svg +0 -0
  562. /package/{projects/iss/src → src}/components/controls/mobile/flags/cz.svg +0 -0
  563. /package/{projects/iss/src → src}/components/controls/mobile/flags/de.svg +0 -0
  564. /package/{projects/iss/src → src}/components/controls/mobile/flags/dj.svg +0 -0
  565. /package/{projects/iss/src → src}/components/controls/mobile/flags/dk.svg +0 -0
  566. /package/{projects/iss/src → src}/components/controls/mobile/flags/dm.svg +0 -0
  567. /package/{projects/iss/src → src}/components/controls/mobile/flags/do.svg +0 -0
  568. /package/{projects/iss/src → src}/components/controls/mobile/flags/dz.svg +0 -0
  569. /package/{projects/iss/src → src}/components/controls/mobile/flags/ec.svg +0 -0
  570. /package/{projects/iss/src → src}/components/controls/mobile/flags/ee.svg +0 -0
  571. /package/{projects/iss/src → src}/components/controls/mobile/flags/eg.svg +0 -0
  572. /package/{projects/iss/src → src}/components/controls/mobile/flags/eh.svg +0 -0
  573. /package/{projects/iss/src → src}/components/controls/mobile/flags/er.svg +0 -0
  574. /package/{projects/iss/src → src}/components/controls/mobile/flags/es.svg +0 -0
  575. /package/{projects/iss/src → src}/components/controls/mobile/flags/et.svg +0 -0
  576. /package/{projects/iss/src → src}/components/controls/mobile/flags/eu.svg +0 -0
  577. /package/{projects/iss/src → src}/components/controls/mobile/flags/fi.svg +0 -0
  578. /package/{projects/iss/src → src}/components/controls/mobile/flags/fj.svg +0 -0
  579. /package/{projects/iss/src → src}/components/controls/mobile/flags/fk.svg +0 -0
  580. /package/{projects/iss/src → src}/components/controls/mobile/flags/flags.png +0 -0
  581. /package/{projects/iss/src → src}/components/controls/mobile/flags/flags@2x.png +0 -0
  582. /package/{projects/iss/src → src}/components/controls/mobile/flags/fm.svg +0 -0
  583. /package/{projects/iss/src → src}/components/controls/mobile/flags/fo.svg +0 -0
  584. /package/{projects/iss/src → src}/components/controls/mobile/flags/fonts.css +0 -0
  585. /package/{projects/iss/src → src}/components/controls/mobile/flags/fr.svg +0 -0
  586. /package/{projects/iss/src → src}/components/controls/mobile/flags/ga.svg +0 -0
  587. /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-eng.svg +0 -0
  588. /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-nir.svg +0 -0
  589. /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-sct.svg +0 -0
  590. /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-wls.svg +0 -0
  591. /package/{projects/iss/src → src}/components/controls/mobile/flags/gb.svg +0 -0
  592. /package/{projects/iss/src → src}/components/controls/mobile/flags/gd.svg +0 -0
  593. /package/{projects/iss/src → src}/components/controls/mobile/flags/ge.svg +0 -0
  594. /package/{projects/iss/src → src}/components/controls/mobile/flags/gf.svg +0 -0
  595. /package/{projects/iss/src → src}/components/controls/mobile/flags/gg.svg +0 -0
  596. /package/{projects/iss/src → src}/components/controls/mobile/flags/gh.svg +0 -0
  597. /package/{projects/iss/src → src}/components/controls/mobile/flags/gi.svg +0 -0
  598. /package/{projects/iss/src → src}/components/controls/mobile/flags/gl.svg +0 -0
  599. /package/{projects/iss/src → src}/components/controls/mobile/flags/gm.svg +0 -0
  600. /package/{projects/iss/src → src}/components/controls/mobile/flags/gn.svg +0 -0
  601. /package/{projects/iss/src → src}/components/controls/mobile/flags/gp.svg +0 -0
  602. /package/{projects/iss/src → src}/components/controls/mobile/flags/gq.svg +0 -0
  603. /package/{projects/iss/src → src}/components/controls/mobile/flags/gr.svg +0 -0
  604. /package/{projects/iss/src → src}/components/controls/mobile/flags/gs.svg +0 -0
  605. /package/{projects/iss/src → src}/components/controls/mobile/flags/gt.svg +0 -0
  606. /package/{projects/iss/src → src}/components/controls/mobile/flags/gu.svg +0 -0
  607. /package/{projects/iss/src → src}/components/controls/mobile/flags/gw.svg +0 -0
  608. /package/{projects/iss/src → src}/components/controls/mobile/flags/gy.svg +0 -0
  609. /package/{projects/iss/src → src}/components/controls/mobile/flags/hk.svg +0 -0
  610. /package/{projects/iss/src → src}/components/controls/mobile/flags/hm.svg +0 -0
  611. /package/{projects/iss/src → src}/components/controls/mobile/flags/hn.svg +0 -0
  612. /package/{projects/iss/src → src}/components/controls/mobile/flags/hr.svg +0 -0
  613. /package/{projects/iss/src → src}/components/controls/mobile/flags/ht.svg +0 -0
  614. /package/{projects/iss/src → src}/components/controls/mobile/flags/hu.svg +0 -0
  615. /package/{projects/iss/src → src}/components/controls/mobile/flags/id.svg +0 -0
  616. /package/{projects/iss/src → src}/components/controls/mobile/flags/ie.svg +0 -0
  617. /package/{projects/iss/src → src}/components/controls/mobile/flags/il.svg +0 -0
  618. /package/{projects/iss/src → src}/components/controls/mobile/flags/im.svg +0 -0
  619. /package/{projects/iss/src → src}/components/controls/mobile/flags/in.svg +0 -0
  620. /package/{projects/iss/src → src}/components/controls/mobile/flags/io.svg +0 -0
  621. /package/{projects/iss/src → src}/components/controls/mobile/flags/iq.svg +0 -0
  622. /package/{projects/iss/src → src}/components/controls/mobile/flags/ir.svg +0 -0
  623. /package/{projects/iss/src → src}/components/controls/mobile/flags/is.svg +0 -0
  624. /package/{projects/iss/src → src}/components/controls/mobile/flags/it.svg +0 -0
  625. /package/{projects/iss/src → src}/components/controls/mobile/flags/je.svg +0 -0
  626. /package/{projects/iss/src → src}/components/controls/mobile/flags/jm.svg +0 -0
  627. /package/{projects/iss/src → src}/components/controls/mobile/flags/jo.svg +0 -0
  628. /package/{projects/iss/src → src}/components/controls/mobile/flags/jp.svg +0 -0
  629. /package/{projects/iss/src → src}/components/controls/mobile/flags/ke.svg +0 -0
  630. /package/{projects/iss/src → src}/components/controls/mobile/flags/kg.svg +0 -0
  631. /package/{projects/iss/src → src}/components/controls/mobile/flags/kh.svg +0 -0
  632. /package/{projects/iss/src → src}/components/controls/mobile/flags/ki.svg +0 -0
  633. /package/{projects/iss/src → src}/components/controls/mobile/flags/km.svg +0 -0
  634. /package/{projects/iss/src → src}/components/controls/mobile/flags/kn.svg +0 -0
  635. /package/{projects/iss/src → src}/components/controls/mobile/flags/kp.svg +0 -0
  636. /package/{projects/iss/src → src}/components/controls/mobile/flags/kr.svg +0 -0
  637. /package/{projects/iss/src → src}/components/controls/mobile/flags/kw.svg +0 -0
  638. /package/{projects/iss/src → src}/components/controls/mobile/flags/ky.svg +0 -0
  639. /package/{projects/iss/src → src}/components/controls/mobile/flags/kz.svg +0 -0
  640. /package/{projects/iss/src → src}/components/controls/mobile/flags/la.svg +0 -0
  641. /package/{projects/iss/src → src}/components/controls/mobile/flags/lb.svg +0 -0
  642. /package/{projects/iss/src → src}/components/controls/mobile/flags/lc.svg +0 -0
  643. /package/{projects/iss/src → src}/components/controls/mobile/flags/li.svg +0 -0
  644. /package/{projects/iss/src → src}/components/controls/mobile/flags/lk.svg +0 -0
  645. /package/{projects/iss/src → src}/components/controls/mobile/flags/lr.svg +0 -0
  646. /package/{projects/iss/src → src}/components/controls/mobile/flags/ls.svg +0 -0
  647. /package/{projects/iss/src → src}/components/controls/mobile/flags/lt.svg +0 -0
  648. /package/{projects/iss/src → src}/components/controls/mobile/flags/lu.svg +0 -0
  649. /package/{projects/iss/src → src}/components/controls/mobile/flags/lv.svg +0 -0
  650. /package/{projects/iss/src → src}/components/controls/mobile/flags/ly.svg +0 -0
  651. /package/{projects/iss/src → src}/components/controls/mobile/flags/ma.svg +0 -0
  652. /package/{projects/iss/src → src}/components/controls/mobile/flags/mc.svg +0 -0
  653. /package/{projects/iss/src → src}/components/controls/mobile/flags/md.svg +0 -0
  654. /package/{projects/iss/src → src}/components/controls/mobile/flags/me.svg +0 -0
  655. /package/{projects/iss/src → src}/components/controls/mobile/flags/mf.svg +0 -0
  656. /package/{projects/iss/src → src}/components/controls/mobile/flags/mg.svg +0 -0
  657. /package/{projects/iss/src → src}/components/controls/mobile/flags/mh.svg +0 -0
  658. /package/{projects/iss/src → src}/components/controls/mobile/flags/mk.svg +0 -0
  659. /package/{projects/iss/src → src}/components/controls/mobile/flags/ml.svg +0 -0
  660. /package/{projects/iss/src → src}/components/controls/mobile/flags/mm.svg +0 -0
  661. /package/{projects/iss/src → src}/components/controls/mobile/flags/mn.svg +0 -0
  662. /package/{projects/iss/src → src}/components/controls/mobile/flags/mo.svg +0 -0
  663. /package/{projects/iss/src → src}/components/controls/mobile/flags/mp.svg +0 -0
  664. /package/{projects/iss/src → src}/components/controls/mobile/flags/mq.svg +0 -0
  665. /package/{projects/iss/src → src}/components/controls/mobile/flags/mr.svg +0 -0
  666. /package/{projects/iss/src → src}/components/controls/mobile/flags/ms.svg +0 -0
  667. /package/{projects/iss/src → src}/components/controls/mobile/flags/mt.svg +0 -0
  668. /package/{projects/iss/src → src}/components/controls/mobile/flags/mu.svg +0 -0
  669. /package/{projects/iss/src → src}/components/controls/mobile/flags/mv.svg +0 -0
  670. /package/{projects/iss/src → src}/components/controls/mobile/flags/mw.svg +0 -0
  671. /package/{projects/iss/src → src}/components/controls/mobile/flags/mx.svg +0 -0
  672. /package/{projects/iss/src → src}/components/controls/mobile/flags/my.svg +0 -0
  673. /package/{projects/iss/src → src}/components/controls/mobile/flags/mz.svg +0 -0
  674. /package/{projects/iss/src → src}/components/controls/mobile/flags/na.svg +0 -0
  675. /package/{projects/iss/src → src}/components/controls/mobile/flags/nc.svg +0 -0
  676. /package/{projects/iss/src → src}/components/controls/mobile/flags/ne.svg +0 -0
  677. /package/{projects/iss/src → src}/components/controls/mobile/flags/nf.svg +0 -0
  678. /package/{projects/iss/src → src}/components/controls/mobile/flags/ng.svg +0 -0
  679. /package/{projects/iss/src → src}/components/controls/mobile/flags/ni.svg +0 -0
  680. /package/{projects/iss/src → src}/components/controls/mobile/flags/nl.svg +0 -0
  681. /package/{projects/iss/src → src}/components/controls/mobile/flags/no.svg +0 -0
  682. /package/{projects/iss/src → src}/components/controls/mobile/flags/np.svg +0 -0
  683. /package/{projects/iss/src → src}/components/controls/mobile/flags/nr.svg +0 -0
  684. /package/{projects/iss/src → src}/components/controls/mobile/flags/nu.svg +0 -0
  685. /package/{projects/iss/src → src}/components/controls/mobile/flags/nz.svg +0 -0
  686. /package/{projects/iss/src → src}/components/controls/mobile/flags/om.svg +0 -0
  687. /package/{projects/iss/src → src}/components/controls/mobile/flags/pa.svg +0 -0
  688. /package/{projects/iss/src → src}/components/controls/mobile/flags/pe.svg +0 -0
  689. /package/{projects/iss/src → src}/components/controls/mobile/flags/pf.svg +0 -0
  690. /package/{projects/iss/src → src}/components/controls/mobile/flags/pg.svg +0 -0
  691. /package/{projects/iss/src → src}/components/controls/mobile/flags/ph.svg +0 -0
  692. /package/{projects/iss/src → src}/components/controls/mobile/flags/pk.svg +0 -0
  693. /package/{projects/iss/src → src}/components/controls/mobile/flags/pl.svg +0 -0
  694. /package/{projects/iss/src → src}/components/controls/mobile/flags/pm.svg +0 -0
  695. /package/{projects/iss/src → src}/components/controls/mobile/flags/pn.svg +0 -0
  696. /package/{projects/iss/src → src}/components/controls/mobile/flags/pr.svg +0 -0
  697. /package/{projects/iss/src → src}/components/controls/mobile/flags/ps.svg +0 -0
  698. /package/{projects/iss/src → src}/components/controls/mobile/flags/pt.svg +0 -0
  699. /package/{projects/iss/src → src}/components/controls/mobile/flags/pw.svg +0 -0
  700. /package/{projects/iss/src → src}/components/controls/mobile/flags/py.svg +0 -0
  701. /package/{projects/iss/src → src}/components/controls/mobile/flags/qa.svg +0 -0
  702. /package/{projects/iss/src → src}/components/controls/mobile/flags/re.svg +0 -0
  703. /package/{projects/iss/src → src}/components/controls/mobile/flags/ro.svg +0 -0
  704. /package/{projects/iss/src → src}/components/controls/mobile/flags/rs.svg +0 -0
  705. /package/{projects/iss/src → src}/components/controls/mobile/flags/ru.svg +0 -0
  706. /package/{projects/iss/src → src}/components/controls/mobile/flags/rw.svg +0 -0
  707. /package/{projects/iss/src → src}/components/controls/mobile/flags/sa.svg +0 -0
  708. /package/{projects/iss/src → src}/components/controls/mobile/flags/sb.svg +0 -0
  709. /package/{projects/iss/src → src}/components/controls/mobile/flags/sc.svg +0 -0
  710. /package/{projects/iss/src → src}/components/controls/mobile/flags/sd.svg +0 -0
  711. /package/{projects/iss/src → src}/components/controls/mobile/flags/se.svg +0 -0
  712. /package/{projects/iss/src → src}/components/controls/mobile/flags/sg.svg +0 -0
  713. /package/{projects/iss/src → src}/components/controls/mobile/flags/sh.svg +0 -0
  714. /package/{projects/iss/src → src}/components/controls/mobile/flags/si.svg +0 -0
  715. /package/{projects/iss/src → src}/components/controls/mobile/flags/sj.svg +0 -0
  716. /package/{projects/iss/src → src}/components/controls/mobile/flags/sk.svg +0 -0
  717. /package/{projects/iss/src → src}/components/controls/mobile/flags/sl.svg +0 -0
  718. /package/{projects/iss/src → src}/components/controls/mobile/flags/sm.svg +0 -0
  719. /package/{projects/iss/src → src}/components/controls/mobile/flags/sn.svg +0 -0
  720. /package/{projects/iss/src → src}/components/controls/mobile/flags/so.svg +0 -0
  721. /package/{projects/iss/src → src}/components/controls/mobile/flags/sr.svg +0 -0
  722. /package/{projects/iss/src → src}/components/controls/mobile/flags/ss.svg +0 -0
  723. /package/{projects/iss/src → src}/components/controls/mobile/flags/st.svg +0 -0
  724. /package/{projects/iss/src → src}/components/controls/mobile/flags/stc-icons.css +0 -0
  725. /package/{projects/iss/src → src}/components/controls/mobile/flags/sv.svg +0 -0
  726. /package/{projects/iss/src → src}/components/controls/mobile/flags/sx.svg +0 -0
  727. /package/{projects/iss/src → src}/components/controls/mobile/flags/sy.svg +0 -0
  728. /package/{projects/iss/src → src}/components/controls/mobile/flags/sz.svg +0 -0
  729. /package/{projects/iss/src → src}/components/controls/mobile/flags/tc.svg +0 -0
  730. /package/{projects/iss/src → src}/components/controls/mobile/flags/td.svg +0 -0
  731. /package/{projects/iss/src → src}/components/controls/mobile/flags/tf.svg +0 -0
  732. /package/{projects/iss/src → src}/components/controls/mobile/flags/tg.svg +0 -0
  733. /package/{projects/iss/src → src}/components/controls/mobile/flags/th.svg +0 -0
  734. /package/{projects/iss/src → src}/components/controls/mobile/flags/tj.svg +0 -0
  735. /package/{projects/iss/src → src}/components/controls/mobile/flags/tk.svg +0 -0
  736. /package/{projects/iss/src → src}/components/controls/mobile/flags/tl.svg +0 -0
  737. /package/{projects/iss/src → src}/components/controls/mobile/flags/tm.svg +0 -0
  738. /package/{projects/iss/src → src}/components/controls/mobile/flags/tn.svg +0 -0
  739. /package/{projects/iss/src → src}/components/controls/mobile/flags/to.svg +0 -0
  740. /package/{projects/iss/src → src}/components/controls/mobile/flags/tr.svg +0 -0
  741. /package/{projects/iss/src → src}/components/controls/mobile/flags/tt.svg +0 -0
  742. /package/{projects/iss/src → src}/components/controls/mobile/flags/tv.svg +0 -0
  743. /package/{projects/iss/src → src}/components/controls/mobile/flags/tw.svg +0 -0
  744. /package/{projects/iss/src → src}/components/controls/mobile/flags/tz.svg +0 -0
  745. /package/{projects/iss/src → src}/components/controls/mobile/flags/ua.svg +0 -0
  746. /package/{projects/iss/src → src}/components/controls/mobile/flags/ug.svg +0 -0
  747. /package/{projects/iss/src → src}/components/controls/mobile/flags/um.svg +0 -0
  748. /package/{projects/iss/src → src}/components/controls/mobile/flags/us.svg +0 -0
  749. /package/{projects/iss/src → src}/components/controls/mobile/flags/uy.svg +0 -0
  750. /package/{projects/iss/src → src}/components/controls/mobile/flags/uz.svg +0 -0
  751. /package/{projects/iss/src → src}/components/controls/mobile/flags/va.svg +0 -0
  752. /package/{projects/iss/src → src}/components/controls/mobile/flags/vc.svg +0 -0
  753. /package/{projects/iss/src → src}/components/controls/mobile/flags/ve.svg +0 -0
  754. /package/{projects/iss/src → src}/components/controls/mobile/flags/vg.svg +0 -0
  755. /package/{projects/iss/src → src}/components/controls/mobile/flags/vi.svg +0 -0
  756. /package/{projects/iss/src → src}/components/controls/mobile/flags/vn.svg +0 -0
  757. /package/{projects/iss/src → src}/components/controls/mobile/flags/vu.svg +0 -0
  758. /package/{projects/iss/src → src}/components/controls/mobile/flags/wf.svg +0 -0
  759. /package/{projects/iss/src → src}/components/controls/mobile/flags/ws.svg +0 -0
  760. /package/{projects/iss/src → src}/components/controls/mobile/flags/xk.svg +0 -0
  761. /package/{projects/iss/src → src}/components/controls/mobile/flags/ye.svg +0 -0
  762. /package/{projects/iss/src → src}/components/controls/mobile/flags/yt.svg +0 -0
  763. /package/{projects/iss/src → src}/components/controls/mobile/flags/za.svg +0 -0
  764. /package/{projects/iss/src → src}/components/controls/mobile/flags/zm.svg +0 -0
  765. /package/{projects/iss/src → src}/components/controls/mobile/flags/zw.svg +0 -0
  766. /package/{projects/iss → src}/upgrade.scss +0 -0
@@ -1,29 +0,0 @@
1
- import {Injectable} from "@angular/core";
2
- import {FieldActionConfigFn, FieldEventArgument} from "../../shared/interfaces/field.interface";
3
- import {getPropertyByPath} from "../../shared/utilities/get-property-by-path.util";
4
-
5
- @Injectable({providedIn: "root"})
6
- export class AfterFetchService implements FieldActionConfigFn {
7
- execute(args: FieldEventArgument) {
8
- // set options from response in case of selectable fields
9
- if (args.field.base === "select") {
10
- args.field.options.set(args.field.response);
11
- }
12
-
13
- args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse) || args.field.response.data);
14
-
15
- // if (args.action?.config?.setValueFromApiResponse) {
16
- // // setValue using specific property from response
17
- // } else {
18
- // if (args.field.base === "input") {
19
- // args.control.setValue(args.field.response.data);
20
- // }
21
- // }
22
-
23
- if (args.action.config.disableAfterFetching) {
24
- args.control.disable();
25
- }
26
-
27
- args.field.loading.set(false);
28
- }
29
- }
@@ -1,26 +0,0 @@
1
- import {inject, Injectable} from "@angular/core";
2
- import {FieldEventArgument} from "../../shared/interfaces/field.interface";
3
- import {HOST} from "../../shared/tokens/host.token";
4
- import {ReplaceApiKeysService} from "./replace-api-keys.service";
5
-
6
- @Injectable({providedIn: "root"})
7
- export class LoadEventService {
8
- #replaceApiKeysService = inject(ReplaceApiKeysService);
9
- #host: string = inject(HOST);
10
-
11
- getApi(args: FieldEventArgument) {
12
- let api;
13
- if (args.action.config.fn) {
14
- api = args.action.config.fn.execute(args);
15
- } else {
16
- api = this.#replaceApiKeysService.execute(args);
17
- }
18
-
19
- return `${this.#host}${api}`;
20
- }
21
-
22
- fetchErrorHandler(args: FieldEventArgument, err: any) {
23
- console.error(err);
24
- args.field.loading.set(false);
25
- }
26
- }
@@ -1,51 +0,0 @@
1
- import {inject, Injectable} from "@angular/core";
2
- import {Dto} from "../../shared/interfaces/dto.interface";
3
- import {FieldEvent, FieldEventArgument} from "../../shared/interfaces/field.interface";
4
- import {HOST} from "../../shared/tokens/host.token";
5
- import {getPropertyByPath} from "../../shared/utilities/get-property-by-path.util";
6
- import {IssHttp} from "../../shared/utilities/http.util.service";
7
- import {LoadEventService} from "./load-event.service";
8
-
9
- @Injectable({providedIn: "root"})
10
- export class LoadOptionsEventService implements FieldEvent {
11
- loadEvent = inject(LoadEventService);
12
- #http: IssHttp = inject(IssHttp);
13
- #host: string = inject(HOST);
14
-
15
- fire(args: FieldEventArgument) {
16
- console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Fired", "color: green");
17
- const api = this.loadEvent.getApi(args);
18
-
19
- args.field.loading.set(true);
20
- this.#http.get(api).subscribe({
21
- next: (response: Dto) => {
22
- args.field.response = response;
23
- args.field.apiResponse.next(response.data);
24
-
25
- if (args.action.config.afterFetchFn) {
26
- args.action.config.afterFetchFn?.execute(args);
27
- } else {
28
- args.field.options.set(args.field.response.data);
29
-
30
- if (args.action.config.setValueFromApiResponse) {
31
- args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse));
32
- }
33
-
34
- if (args.action.config.disableAfterFetching) {
35
- args.control.disable();
36
- }
37
- }
38
- args.field.loading.set(false);
39
- },
40
- error: (err) => {
41
- // todo handle errors
42
- this.loadEvent.fetchErrorHandler(args, err);
43
- },
44
- });
45
- args.action.triggered = true;
46
- }
47
-
48
- revert(args: FieldEventArgument) {
49
- console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Reverted", "color: red");
50
- }
51
- }
@@ -1,50 +0,0 @@
1
- import {inject, Injectable} from "@angular/core";
2
- import {Dto} from "../../shared/interfaces/dto.interface";
3
- import {FieldEvent, FieldEventArgument} from "../../shared/interfaces/field.interface";
4
- import {getPropertyByPath} from "../../shared/utilities/get-property-by-path.util";
5
- import {IssHttp} from "../../shared/utilities/http.util.service";
6
- import {LoadEventService} from "./load-event.service";
7
-
8
- @Injectable({providedIn: "root"})
9
- export class LoadValueEventService implements FieldEvent {
10
- loadEvent = inject(LoadEventService);
11
- #http: IssHttp = inject(IssHttp);
12
-
13
- fire(args: FieldEventArgument) {
14
- console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Fired", "color: green");
15
- const api = this.loadEvent.getApi(args);
16
-
17
- args.field.loading.set(true);
18
- this.#http.get(api).subscribe({
19
- next: (response: Dto) => {
20
- args.field.response = response;
21
- args.field.apiResponse.next(response.data);
22
-
23
- if (args.action.config.afterFetchFn) {
24
- args.action.config.afterFetchFn?.execute(args);
25
- } else {
26
- if (args.action?.config?.setValueFromApiResponse) {
27
- args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse));
28
- } else {
29
- args.control.setValue(args.field.response.data);
30
- }
31
-
32
- if (args.action.config.disableAfterFetching) {
33
- args.control.disable();
34
- }
35
- }
36
-
37
- args.field.loading.set(false);
38
- },
39
- error: (err) => {
40
- // todo handle errors
41
- this.loadEvent.fetchErrorHandler(args, err);
42
- },
43
- });
44
- args.action.triggered = true;
45
- }
46
-
47
- revert(args: FieldEventArgument) {
48
- console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Reverted", "color: red");
49
- }
50
- }
@@ -1,55 +0,0 @@
1
- import {Injectable} from "@angular/core";
2
- import {PLACEHOLDER_REGEX} from "../../shared/constants/regex.const";
3
- import {FieldActionConfigFn, FieldEventArgument} from "../../shared/interfaces/field.interface";
4
- import {getPropertyByPath} from "../../shared/utilities/get-property-by-path.util";
5
- import {replacePlaceholders} from "../../shared/utilities/replace-placeholder.util";
6
-
7
- @Injectable({providedIn: "root"})
8
- export class ReplaceApiKeysService implements FieldActionConfigFn {
9
- // todo replace {key} with tracked field value [will be deprecated]
10
- execute(args: FieldEventArgument): string {
11
- // console.log("Replace API keys - Default Implementation");
12
- const api = args.field.api();
13
- const matches = api.match(PLACEHOLDER_REGEX);
14
- if (matches) {
15
- const replacements: any = {};
16
- matches.forEach((match) => {
17
- const replacement = match.replace("{", "").replace("}", "");
18
-
19
- if (replacement.includes(".")) {
20
- const path = this.getPath(replacement);
21
-
22
- if (replacement.includes(args.change.trackedField.name)) {
23
- replacements[replacement] = getPropertyByPath(args.change.trackedField, path);
24
- }
25
-
26
- if (replacement.includes("loggedInUser")) {
27
- const loggedInUserProfileStr = localStorage.getItem("profile");
28
- if (loggedInUserProfileStr) {
29
- const loggedInUserProfile = JSON.parse(loggedInUserProfileStr);
30
- replacements[replacement] = getPropertyByPath(loggedInUserProfile, path);
31
- } else {
32
- throw new Error("User profile not found in localStorage. Make sure that localStorage has profile key with user profile.");
33
- }
34
- }
35
-
36
- if (replacement.includes("requestDto")) {
37
- // todo replace {fromRequestDto}
38
- // todo from where to get requestDto?
39
- }
40
- } else {
41
- replacements[replacement] = args.form.get(replacement)?.getRawValue();
42
- }
43
- });
44
- return replacePlaceholders(api, replacements);
45
- }
46
-
47
- return api;
48
- }
49
-
50
- getPath(replacement: string): string {
51
- const arr = replacement.split(".");
52
- arr.shift();
53
- return arr.join(".");
54
- }
55
- }
@@ -1,29 +0,0 @@
1
- import {Injectable} from "@angular/core";
2
- import {map, Observable, of} from "rxjs";
3
- import {FieldActionConfigFn, FieldEventArgument} from "../../shared/interfaces/field.interface";
4
- import {getPropertyByPath} from "../../shared/utilities/get-property-by-path.util";
5
-
6
- @Injectable({providedIn: "root"})
7
- export class GetValueToSetService implements FieldActionConfigFn {
8
- execute(args: FieldEventArgument): Observable<string> {
9
- if (args.action?.config?.setValueFromJsonValue) {
10
- return of(getPropertyByPath(args.field.ctrlJsonValue(), args.action.config.setValueFromJsonValue));
11
- }
12
-
13
- if (args.action?.config?.setValueFromApiResponse) {
14
- return args.field.apiResponse.pipe(
15
- map((value: any) => getPropertyByPath(value, args.action.config.setValueFromApiResponse))
16
- );
17
- }
18
-
19
- if (args.action?.config?.setValueFromLoggedInUser) {
20
-
21
- }
22
-
23
- if (args.action?.config?.setValueFromRequestDto) {
24
-
25
- }
26
-
27
- return of(args.change.value);
28
- }
29
- }
@@ -1,33 +0,0 @@
1
- import {inject, Injectable} from "@angular/core";
2
- import {FieldEvent, FieldEventArgument} from "../../shared/interfaces/field.interface";
3
- import {GetValueToSetService} from "./get-value-to-set.service";
4
-
5
- @Injectable({providedIn: "root"})
6
- export class SetValueEventService implements FieldEvent {
7
- getValueToSetService = inject(GetValueToSetService);
8
-
9
- fire(args: FieldEventArgument) {
10
- console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Set Value Event Fired", "color: green");
11
- let valueToSet;
12
- if (args.action.config.fn) {
13
- valueToSet = args.action.config.fn.execute(args);
14
- } else {
15
- valueToSet = this.getValueToSetService.execute(args);
16
- }
17
-
18
- valueToSet.subscribe((value: string) => {
19
- args.control.setValue(value, {emitEvent: false});
20
- });
21
-
22
- if (args.action.config.disableAfterSetValue) {
23
- args.control.disable();
24
- }
25
- args.action.triggered = true;
26
- }
27
-
28
- revert(args: FieldEventArgument) {
29
- console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Set Value Event Reverted", "color: red");
30
- args.control.setValue(null);
31
- args.action.triggered = false;
32
- }
33
- }
@@ -1,11 +0,0 @@
1
- import {Injectable} from "@angular/core";
2
- import {FieldEvent, FieldEventArgument} from "../../shared/interfaces/field.interface";
3
-
4
- @Injectable({providedIn: "root"})
5
- export class ShowEventService implements FieldEvent {
6
- fire(args: FieldEventArgument) {
7
- console.log("show works");
8
- }
9
-
10
- revert(args: FieldEventArgument) { }
11
- }
@@ -1,51 +0,0 @@
1
- import {inject, Injectable} from "@angular/core";
2
- import {FieldAction} from "../../shared/classes/field-action";
3
- import {FormField} from "../../shared/classes/form-field";
4
- import {ActionTriggerFn} from "../../shared/interfaces/action.interface";
5
- import {FieldChange} from "../../shared/interfaces/field.interface";
6
- import {ActionTriggerService} from "./action-trigger.service";
7
-
8
- @Injectable({providedIn: "root"})
9
- export class ActionTriggerManagerService {
10
- actionTriggerService = inject(ActionTriggerService);
11
-
12
- async getActionsToBeTriggered(field: FormField, change: FieldChange): Promise<FieldAction[]> {
13
- const actionsToBeTriggered: FieldAction[] = [];
14
- for (const action of field.events) {
15
- /* todo remove await from array and use allSettle instead or any other solution */
16
- const isTruthy = await this.#filterCondition(field, action, change);
17
- if (isTruthy) {
18
- actionsToBeTriggered.push(action);
19
- }
20
- }
21
- return actionsToBeTriggered;
22
- }
23
-
24
- async getActionsToBeReverted(field: FormField, change: FieldChange): Promise<FieldAction[]> {
25
- const actionsToBeReverted: FieldAction[] = [];
26
- for (const action of field.events) {
27
- if (action.trackedFieldName !== change.trackedField.name) {
28
- /* todo remove await from array and use allSettle instead or any other solution */
29
- const isTruthy = await this.#filterCondition(field, action, change);
30
-
31
- if (!isTruthy && action.triggered) {
32
- actionsToBeReverted.push(action);
33
- }
34
- }
35
- }
36
- return actionsToBeReverted;
37
- }
38
-
39
- async #filterCondition(field: FormField, action: FieldAction, change: FieldChange) {
40
- let triggerFn: ActionTriggerFn = action.config.triggerFn;
41
- if (!triggerFn && action.config.triggerFnPromise) {
42
- triggerFn = await action.config.triggerFnPromise;
43
- }
44
-
45
- if (triggerFn) {
46
- return triggerFn.isTriggered(field, change, action);
47
- }
48
-
49
- return this.actionTriggerService.isTriggered(field, change, action);
50
- }
51
- }
@@ -1,30 +0,0 @@
1
- import {Injectable} from "@angular/core";
2
- import {FieldAction} from "../../shared/classes/field-action";
3
- import {FormField} from "../../shared/classes/form-field";
4
- import {ActionTriggerFn} from "../../shared/interfaces/action.interface";
5
- import {FieldChange} from "../../shared/interfaces/field.interface";
6
-
7
- @Injectable({providedIn: "root"})
8
- export class ActionTriggerService implements ActionTriggerFn {
9
- isTriggered(field: FormField, change: FieldChange, action: FieldAction, masterField?: FormField): boolean {
10
- if (field.name === action.trackedFieldName) {
11
- return true;
12
- }
13
- return action.value.split(",").some((actionValue: string) => {
14
- if (actionValue === "*" && change.value !== null && change.value !== undefined) {
15
- return true;
16
- }
17
-
18
- if (!change) {
19
- return false;
20
- }
21
-
22
- if (change.value === null || change.value === undefined) {
23
- return false;
24
- }
25
-
26
- const changeValueArray: string[] = change?.value.toString().split(",").map((val) => val.trim());
27
- return (changeValueArray?.includes(actionValue.trim()));
28
- });
29
- }
30
- }
@@ -1,19 +0,0 @@
1
- import {Injectable} from "@angular/core";
2
- import {FieldAction} from "../../shared/classes/field-action";
3
- import {FormField} from "../../shared/classes/form-field";
4
- import {ActionTriggerFn} from "../../shared/interfaces/action.interface";
5
- import {FieldChange} from "../../shared/interfaces/field.interface";
6
- import {getPropertyByPath} from "../../shared/utilities/get-property-by-path.util";
7
-
8
- @Injectable({providedIn: "root"})
9
- export class TriggerBasedOnJsonValueService implements ActionTriggerFn {
10
- isTriggered(field: FormField, change: FieldChange, action: FieldAction, masterField: FormField): boolean {
11
- if (masterField) {
12
- const actionTriggersOnAnyValue: boolean = action.value === "*" && (change.value !== null && change.value !== undefined);
13
- const triggerValue = getPropertyByPath(masterField.ctrlJsonValue(), action.config?.triggerFromJsonValue);
14
- const actionTriggersOnSpecificValue: boolean = triggerValue === action.value;
15
- return actionTriggersOnAnyValue || actionTriggersOnSpecificValue;
16
- }
17
- return false;
18
- }
19
- }
@@ -1,102 +0,0 @@
1
- // controls
2
- export * from "./components/controls/checkbox/checkbox.control";
3
- export * from "./components/controls/chips/chips.control";
4
- export * from "./components/controls/date-picker/date-picker.control";
5
- export * from "./components/controls/date-range-picker/date-range-picker.control";
6
- export * from "./components/controls/datetime-picker/datetime-picker.control";
7
- export * from "./components/controls/file-picker/file-picker.control";
8
- export * from "./components/controls/input/input.control";
9
- export * from "./components/controls/mobile/mobile.control";
10
- export * from "./components/controls/plate/plate.control";
11
- export * from "./components/controls/radio/radio.control";
12
- export * from "./components/controls/select/select.control";
13
- export * from "./components/controls/slide-toggle/slide-toggle.control";
14
- export * from "./components/controls/textarea/textarea.control";
15
- export * from "./components/controls/time-picker/time-picker.control";
16
- export * from "./components/controls/toggle-button/toggle-button.control";
17
- export * from "./components/controls/base/control.base";
18
-
19
- // outlet
20
- export * from "./components/outlet/outlet";
21
-
22
- // wrappers
23
- // Todo: exporting wrappers after refactor.
24
- export * from "./components/controls/base/wrapper.base";
25
-
26
- // viewers
27
- // Todo: exporting viewers after wrappers refactor.
28
-
29
- // classes
30
- // Todo: exporting classes after refactor.
31
-
32
- // constants
33
- export * from "./shared/constants/countries.const";
34
- export * from "./shared/constants/date.const";
35
- export * from "./shared/constants/plate-letters.const";
36
- export * from "./shared/constants/provider.const";
37
- export * from "./shared/constants/regex.const";
38
- export * from "./shared/constants/validation.const";
39
-
40
- // indexes
41
- export * from "./shared/indexes/components.index";
42
- export * from "./shared/indexes/services.index";
43
- export * from "./shared/indexes/validators.index";
44
-
45
- // interfaces
46
- export * from "./shared/interfaces/action.interface";
47
- export * from "./shared/interfaces/attachment.interface";
48
- export * from "./shared/interfaces/country.interface";
49
- export * from "./shared/interfaces/date-range.interface";
50
- export * from "./shared/interfaces/field.interface";
51
- export * from "./shared/interfaces/file.interface";
52
- export * from "./shared/interfaces/hint.interface";
53
- export * from "./shared/interfaces/i18n.interface";
54
- export * from "./shared/interfaces/import.interface";
55
- export * from "./shared/interfaces/mobile.interface";
56
- export * from "./shared/interfaces/option.interface";
57
- export * from "./shared/interfaces/outlet.interface";
58
- export * from "./shared/interfaces/plate-letter.interface";
59
- export * from "./shared/interfaces/datetime.interface";
60
- export * from "./shared/interfaces/validation.interface";
61
-
62
- // tokens
63
- export * from "./shared/tokens/attachment.token";
64
- export * from "./shared/tokens/field.token";
65
- export * from "./shared/tokens/language.token";
66
- export * from "./shared/tokens/url.token";
67
-
68
- // types
69
- export * from "./shared/types/iso2.type";
70
- export * from "./shared/types/validation.type";
71
-
72
- // components
73
- export * from "./components/shared/hints.component";
74
- export * from "./components/shared/validation-message.component";
75
-
76
- // directives
77
- export * from "./components/controls/file-picker/droppable.directive";
78
-
79
- // pipes
80
- export * from "./shared/pipes/arabic-number.pipe";
81
- export * from "./components/outlet/field-data-injector.pipe";
82
- export * from "./components/controls/plate/plate-letter.pipe";
83
- export * from "./shared/pipes/select-status.pipe";
84
- export * from "./shared/pipes/translate.pipe";
85
-
86
- // services
87
- export * from "./components/controls/user-picker/employee.service";
88
- export * from "./components/controls/file-picker/file-handler.service";
89
- export * from "./shared/services/form-engine.service";
90
- export * from "./shared/services/loader.service";
91
- export * from "./components/controls/mobile/phone.service";
92
-
93
- // utilities
94
- export * from "./shared/utilities/array-from.util";
95
- export * from "./shared/utilities/format-file-size.util";
96
- export * from "./shared/utilities/get-property-by-path.util";
97
- export * from "./shared/utilities/replace-placeholder.util";
98
-
99
- // validators
100
- export * from "./validators/core.validator";
101
- export * from "./validators/file.validator";
102
- export * from "./validators/time.validator";
@@ -1,56 +0,0 @@
1
- import {ActionTriggerFn} from "../interfaces/action.interface";
2
- import {FieldActionConfigFn} from "../interfaces/field.interface";
3
- import {LoaderService} from "../services/loader.service";
4
-
5
- export class FieldActionConfig {
6
- operator: "or" | "and" | undefined;
7
- setValueFromApiResponse: string | undefined;
8
- setValueFromRequestDto: string | undefined;
9
- setValueFromLoggedInUser: string | undefined;
10
- setValueFromJsonValue: string | undefined;
11
- triggerFromApiResponse: string | undefined;
12
- triggerFromJsonValue: string | undefined;
13
- replaceApiKeyFromField: string | undefined;
14
- fn: FieldActionConfigFn | undefined = undefined;
15
- fnPromise: Promise<FieldActionConfigFn> | undefined = undefined;
16
- afterFetchFn: FieldActionConfigFn | undefined = undefined;
17
- afterFetchFnPromise: Promise<FieldActionConfigFn> | undefined = undefined;
18
- triggerFn!: ActionTriggerFn;
19
- triggerFnPromise: Promise<ActionTriggerFn> | undefined = undefined;
20
- disableAfterFetching: boolean | undefined = false;
21
- disableAfterSetValue: boolean | undefined = false;
22
-
23
- constructor(action: any, loader: LoaderService) {
24
- this.operator = action.config?.operator;
25
- this.setValueFromApiResponse = action.config?.setValueFromApiResponse;
26
- this.setValueFromRequestDto = action.config?.setValueFromRequestDto;
27
- this.setValueFromLoggedInUser = action.config?.setValueFromLoggedInUser;
28
- this.setValueFromJsonValue = action.config?.setValueFromJsonValue;
29
- this.triggerFromApiResponse = action.config?.fromApiResponse;
30
- this.triggerFromJsonValue = action.config?.fromApiResponse;
31
- this.replaceApiKeyFromField = action.config?.replaceApiKeyFromField;
32
- this.disableAfterFetching = action.config?.disableAfterFetching ?? false;
33
- this.disableAfterSetValue = action.config?.disableAfterSetValue ?? false;
34
-
35
- if (action.config?.fn) {
36
- const fn = loader.loadService<FieldActionConfigFn>(action.config.fn);
37
- if (fn) {
38
- this.fnPromise = fn();
39
- }
40
- }
41
-
42
- if (action.config?.afterFetchFn) {
43
- const fn = loader.loadService<FieldActionConfigFn>(action.config.afterFetchFn);
44
- if (fn) {
45
- this.afterFetchFnPromise = fn();
46
- }
47
- }
48
-
49
- if (action.config?.triggerFn) {
50
- const fn = loader.loadService<ActionTriggerFn>(action.config.triggerFn);
51
- if (fn) {
52
- this.triggerFnPromise = fn();
53
- }
54
- }
55
- }
56
- }
@@ -1,28 +0,0 @@
1
- import {FieldEvent} from "../interfaces/field.interface";
2
- import {LoaderService} from "../services/loader.service";
3
- import {FieldActionConfig} from "./field-action-config";
4
-
5
- export class FieldAction {
6
- id: number;
7
- name: string;
8
- value: string;
9
- trackedFieldName: string;
10
- triggered: boolean;
11
- config: FieldActionConfig;
12
- fn: FieldEvent | undefined;
13
- fnPromise: Promise<FieldEvent> | undefined = undefined;
14
-
15
- constructor(action: any, loader: LoaderService) {
16
- this.id = action.id;
17
- this.name = action.name;
18
- this.value = action.value;
19
- this.trackedFieldName = action.eventSourceName;
20
- this.triggered = false;
21
- this.config = new FieldActionConfig(action, loader);
22
- const actionFn = loader.loadService<FieldEvent>(action.name);
23
- if (actionFn) {
24
- this.fnPromise = actionFn();
25
- }
26
- this.fn = undefined;
27
- }
28
- }
@@ -1,7 +0,0 @@
1
- export class FieldAsyncValidation {
2
- alreadyExists: string | undefined;
3
-
4
- constructor(asyncValidation: any) {
5
- this.alreadyExists = asyncValidation?.alreadyExists;
6
- }
7
- }