iss-ctrl 0.0.3 → 0.0.4

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/flags/ad.svg +0 -282
  97. package/projects/iss/src/components/controls/mobile/flags/ae.svg +0 -6
  98. package/projects/iss/src/components/controls/mobile/flags/af.svg +0 -9
  99. package/projects/iss/src/components/controls/mobile/flags/ag.svg +0 -15
  100. package/projects/iss/src/components/controls/mobile/flags/ai.svg +0 -35
  101. package/projects/iss/src/components/controls/mobile/flags/al.svg +0 -7
  102. package/projects/iss/src/components/controls/mobile/flags/am.svg +0 -5
  103. package/projects/iss/src/components/controls/mobile/flags/ao.svg +0 -19
  104. package/projects/iss/src/components/controls/mobile/flags/aq.svg +0 -45
  105. package/projects/iss/src/components/controls/mobile/flags/ar.svg +0 -66
  106. package/projects/iss/src/components/controls/mobile/flags/as.svg +0 -225
  107. package/projects/iss/src/components/controls/mobile/flags/at.svg +0 -4
  108. package/projects/iss/src/components/controls/mobile/flags/au.svg +0 -32
  109. package/projects/iss/src/components/controls/mobile/flags/aw.svg +0 -11
  110. package/projects/iss/src/components/controls/mobile/flags/ax.svg +0 -11
  111. package/projects/iss/src/components/controls/mobile/flags/az.svg +0 -11
  112. package/projects/iss/src/components/controls/mobile/flags/ba.svg +0 -18
  113. package/projects/iss/src/components/controls/mobile/flags/bb.svg +0 -11
  114. package/projects/iss/src/components/controls/mobile/flags/bd.svg +0 -4
  115. package/projects/iss/src/components/controls/mobile/flags/be.svg +0 -5
  116. package/projects/iss/src/components/controls/mobile/flags/bf.svg +0 -14
  117. package/projects/iss/src/components/controls/mobile/flags/bg.svg +0 -5
  118. package/projects/iss/src/components/controls/mobile/flags/bh.svg +0 -4
  119. package/projects/iss/src/components/controls/mobile/flags/bi.svg +0 -26
  120. package/projects/iss/src/components/controls/mobile/flags/bj.svg +0 -5
  121. package/projects/iss/src/components/controls/mobile/flags/bl.svg +0 -5
  122. package/projects/iss/src/components/controls/mobile/flags/bm.svg +0 -374
  123. package/projects/iss/src/components/controls/mobile/flags/bn.svg +0 -70
  124. package/projects/iss/src/components/controls/mobile/flags/bo.svg +0 -3625
  125. package/projects/iss/src/components/controls/mobile/flags/bq.svg +0 -5
  126. package/projects/iss/src/components/controls/mobile/flags/br.svg +0 -92
  127. package/projects/iss/src/components/controls/mobile/flags/bs.svg +0 -5
  128. package/projects/iss/src/components/controls/mobile/flags/bt.svg +0 -487
  129. package/projects/iss/src/components/controls/mobile/flags/bv.svg +0 -11
  130. package/projects/iss/src/components/controls/mobile/flags/bw.svg +0 -5
  131. package/projects/iss/src/components/controls/mobile/flags/by.svg +0 -15
  132. package/projects/iss/src/components/controls/mobile/flags/bz.svg +0 -629
  133. package/projects/iss/src/components/controls/mobile/flags/ca.svg +0 -7
  134. package/projects/iss/src/components/controls/mobile/flags/cc.svg +0 -33
  135. package/projects/iss/src/components/controls/mobile/flags/cd.svg +0 -5
  136. package/projects/iss/src/components/controls/mobile/flags/cf.svg +0 -7
  137. package/projects/iss/src/components/controls/mobile/flags/cg.svg +0 -5
  138. package/projects/iss/src/components/controls/mobile/flags/ch.svg +0 -4
  139. package/projects/iss/src/components/controls/mobile/flags/ci.svg +0 -5
  140. package/projects/iss/src/components/controls/mobile/flags/ck.svg +0 -29
  141. package/projects/iss/src/components/controls/mobile/flags/cl.svg +0 -14
  142. package/projects/iss/src/components/controls/mobile/flags/cm.svg +0 -15
  143. package/projects/iss/src/components/controls/mobile/flags/cn.svg +0 -11
  144. package/projects/iss/src/components/controls/mobile/flags/co.svg +0 -5
  145. package/projects/iss/src/components/controls/mobile/flags/cr.svg +0 -1332
  146. package/projects/iss/src/components/controls/mobile/flags/cu.svg +0 -6
  147. package/projects/iss/src/components/controls/mobile/flags/cv.svg +0 -24
  148. package/projects/iss/src/components/controls/mobile/flags/cw.svg +0 -16
  149. package/projects/iss/src/components/controls/mobile/flags/cx.svg +0 -24
  150. package/projects/iss/src/components/controls/mobile/flags/cy.svg +0 -13
  151. package/projects/iss/src/components/controls/mobile/flags/cz.svg +0 -5
  152. package/projects/iss/src/components/controls/mobile/flags/de.svg +0 -5
  153. package/projects/iss/src/components/controls/mobile/flags/dj.svg +0 -6
  154. package/projects/iss/src/components/controls/mobile/flags/dk.svg +0 -5
  155. package/projects/iss/src/components/controls/mobile/flags/dm.svg +0 -198
  156. package/projects/iss/src/components/controls/mobile/flags/do.svg +0 -238
  157. package/projects/iss/src/components/controls/mobile/flags/dz.svg +0 -5
  158. package/projects/iss/src/components/controls/mobile/flags/ec.svg +0 -1292
  159. package/projects/iss/src/components/controls/mobile/flags/ee.svg +0 -5
  160. package/projects/iss/src/components/controls/mobile/flags/eg.svg +0 -125
  161. package/projects/iss/src/components/controls/mobile/flags/eh.svg +0 -12
  162. package/projects/iss/src/components/controls/mobile/flags/er.svg +0 -9
  163. package/projects/iss/src/components/controls/mobile/flags/es.svg +0 -445
  164. package/projects/iss/src/components/controls/mobile/flags/et.svg +0 -16
  165. package/projects/iss/src/components/controls/mobile/flags/eu.svg +0 -28
  166. package/projects/iss/src/components/controls/mobile/flags/fi.svg +0 -5
  167. package/projects/iss/src/components/controls/mobile/flags/fj.svg +0 -203
  168. package/projects/iss/src/components/controls/mobile/flags/fk.svg +0 -922
  169. package/projects/iss/src/components/controls/mobile/flags/flags.png +0 -0
  170. package/projects/iss/src/components/controls/mobile/flags/flags@2x.png +0 -0
  171. package/projects/iss/src/components/controls/mobile/flags/fm.svg +0 -16
  172. package/projects/iss/src/components/controls/mobile/flags/fo.svg +0 -11
  173. package/projects/iss/src/components/controls/mobile/flags/fonts.css +0 -271
  174. package/projects/iss/src/components/controls/mobile/flags/fr.svg +0 -5
  175. package/projects/iss/src/components/controls/mobile/flags/ga.svg +0 -5
  176. package/projects/iss/src/components/controls/mobile/flags/gb-eng.svg +0 -7
  177. package/projects/iss/src/components/controls/mobile/flags/gb-nir.svg +0 -15
  178. package/projects/iss/src/components/controls/mobile/flags/gb-sct.svg +0 -11
  179. package/projects/iss/src/components/controls/mobile/flags/gb-wls.svg +0 -16
  180. package/projects/iss/src/components/controls/mobile/flags/gb.svg +0 -15
  181. package/projects/iss/src/components/controls/mobile/flags/gd.svg +0 -11
  182. package/projects/iss/src/components/controls/mobile/flags/ge.svg +0 -17
  183. package/projects/iss/src/components/controls/mobile/flags/gf.svg +0 -5
  184. package/projects/iss/src/components/controls/mobile/flags/gg.svg +0 -8
  185. package/projects/iss/src/components/controls/mobile/flags/gh.svg +0 -6
  186. package/projects/iss/src/components/controls/mobile/flags/gi.svg +0 -69
  187. package/projects/iss/src/components/controls/mobile/flags/gl.svg +0 -4
  188. package/projects/iss/src/components/controls/mobile/flags/gm.svg +0 -7
  189. package/projects/iss/src/components/controls/mobile/flags/gn.svg +0 -5
  190. package/projects/iss/src/components/controls/mobile/flags/gp.svg +0 -5
  191. package/projects/iss/src/components/controls/mobile/flags/gq.svg +0 -88
  192. package/projects/iss/src/components/controls/mobile/flags/gr.svg +0 -4
  193. package/projects/iss/src/components/controls/mobile/flags/gs.svg +0 -693
  194. package/projects/iss/src/components/controls/mobile/flags/gt.svg +0 -317
  195. package/projects/iss/src/components/controls/mobile/flags/gu.svg +0 -58
  196. package/projects/iss/src/components/controls/mobile/flags/gw.svg +0 -13
  197. package/projects/iss/src/components/controls/mobile/flags/gy.svg +0 -7
  198. package/projects/iss/src/components/controls/mobile/flags/hk.svg +0 -17
  199. package/projects/iss/src/components/controls/mobile/flags/hm.svg +0 -32
  200. package/projects/iss/src/components/controls/mobile/flags/hn.svg +0 -10
  201. package/projects/iss/src/components/controls/mobile/flags/hr.svg +0 -282
  202. package/projects/iss/src/components/controls/mobile/flags/ht.svg +0 -1470
  203. package/projects/iss/src/components/controls/mobile/flags/hu.svg +0 -5
  204. package/projects/iss/src/components/controls/mobile/flags/id.svg +0 -4
  205. package/projects/iss/src/components/controls/mobile/flags/ie.svg +0 -5
  206. package/projects/iss/src/components/controls/mobile/flags/il.svg +0 -5
  207. package/projects/iss/src/components/controls/mobile/flags/im.svg +0 -33
  208. package/projects/iss/src/components/controls/mobile/flags/in.svg +0 -25
  209. package/projects/iss/src/components/controls/mobile/flags/io.svg +0 -895
  210. package/projects/iss/src/components/controls/mobile/flags/iq.svg +0 -12
  211. package/projects/iss/src/components/controls/mobile/flags/ir.svg +0 -31
  212. package/projects/iss/src/components/controls/mobile/flags/is.svg +0 -5
  213. package/projects/iss/src/components/controls/mobile/flags/it.svg +0 -5
  214. package/projects/iss/src/components/controls/mobile/flags/je.svg +0 -40
  215. package/projects/iss/src/components/controls/mobile/flags/jm.svg +0 -9
  216. package/projects/iss/src/components/controls/mobile/flags/jo.svg +0 -10
  217. package/projects/iss/src/components/controls/mobile/flags/jp.svg +0 -4
  218. package/projects/iss/src/components/controls/mobile/flags/ke.svg +0 -28
  219. package/projects/iss/src/components/controls/mobile/flags/kg.svg +0 -7
  220. package/projects/iss/src/components/controls/mobile/flags/kh.svg +0 -133
  221. package/projects/iss/src/components/controls/mobile/flags/ki.svg +0 -54
  222. package/projects/iss/src/components/controls/mobile/flags/km.svg +0 -13
  223. package/projects/iss/src/components/controls/mobile/flags/kn.svg +0 -24
  224. package/projects/iss/src/components/controls/mobile/flags/kp.svg +0 -16
  225. package/projects/iss/src/components/controls/mobile/flags/kr.svg +0 -16
  226. package/projects/iss/src/components/controls/mobile/flags/kw.svg +0 -6
  227. package/projects/iss/src/components/controls/mobile/flags/ky.svg +0 -153
  228. package/projects/iss/src/components/controls/mobile/flags/kz.svg +0 -49
  229. package/projects/iss/src/components/controls/mobile/flags/la.svg +0 -5
  230. package/projects/iss/src/components/controls/mobile/flags/lb.svg +0 -8
  231. package/projects/iss/src/components/controls/mobile/flags/lc.svg +0 -6
  232. package/projects/iss/src/components/controls/mobile/flags/li.svg +0 -75
  233. package/projects/iss/src/components/controls/mobile/flags/lk.svg +0 -50
  234. package/projects/iss/src/components/controls/mobile/flags/lr.svg +0 -15
  235. package/projects/iss/src/components/controls/mobile/flags/ls.svg +0 -32
  236. package/projects/iss/src/components/controls/mobile/flags/lt.svg +0 -5
  237. package/projects/iss/src/components/controls/mobile/flags/lu.svg +0 -5
  238. package/projects/iss/src/components/controls/mobile/flags/lv.svg +0 -4
  239. package/projects/iss/src/components/controls/mobile/flags/ly.svg +0 -8
  240. package/projects/iss/src/components/controls/mobile/flags/ma.svg +0 -4
  241. package/projects/iss/src/components/controls/mobile/flags/mc.svg +0 -4
  242. package/projects/iss/src/components/controls/mobile/flags/md.svg +0 -102
  243. package/projects/iss/src/components/controls/mobile/flags/me.svg +0 -240
  244. package/projects/iss/src/components/controls/mobile/flags/mf.svg +0 -5
  245. package/projects/iss/src/components/controls/mobile/flags/mg.svg +0 -5
  246. package/projects/iss/src/components/controls/mobile/flags/mh.svg +0 -18
  247. package/projects/iss/src/components/controls/mobile/flags/mk.svg +0 -6
  248. package/projects/iss/src/components/controls/mobile/flags/ml.svg +0 -5
  249. package/projects/iss/src/components/controls/mobile/flags/mm.svg +0 -12
  250. package/projects/iss/src/components/controls/mobile/flags/mn.svg +0 -12
  251. package/projects/iss/src/components/controls/mobile/flags/mo.svg +0 -13
  252. package/projects/iss/src/components/controls/mobile/flags/mp.svg +0 -2919
  253. package/projects/iss/src/components/controls/mobile/flags/mq.svg +0 -5
  254. package/projects/iss/src/components/controls/mobile/flags/mr.svg +0 -5
  255. package/projects/iss/src/components/controls/mobile/flags/ms.svg +0 -59
  256. package/projects/iss/src/components/controls/mobile/flags/mt.svg +0 -52
  257. package/projects/iss/src/components/controls/mobile/flags/mu.svg +0 -6
  258. package/projects/iss/src/components/controls/mobile/flags/mv.svg +0 -8
  259. package/projects/iss/src/components/controls/mobile/flags/mw.svg +0 -24
  260. package/projects/iss/src/components/controls/mobile/flags/mx.svg +0 -1129
  261. package/projects/iss/src/components/controls/mobile/flags/my.svg +0 -12
  262. package/projects/iss/src/components/controls/mobile/flags/mz.svg +0 -50
  263. package/projects/iss/src/components/controls/mobile/flags/na.svg +0 -17
  264. package/projects/iss/src/components/controls/mobile/flags/nc.svg +0 -5
  265. package/projects/iss/src/components/controls/mobile/flags/ne.svg +0 -6
  266. package/projects/iss/src/components/controls/mobile/flags/nf.svg +0 -8
  267. package/projects/iss/src/components/controls/mobile/flags/ng.svg +0 -4
  268. package/projects/iss/src/components/controls/mobile/flags/ni.svg +0 -281
  269. package/projects/iss/src/components/controls/mobile/flags/nl.svg +0 -5
  270. package/projects/iss/src/components/controls/mobile/flags/no.svg +0 -11
  271. package/projects/iss/src/components/controls/mobile/flags/np.svg +0 -33
  272. package/projects/iss/src/components/controls/mobile/flags/nr.svg +0 -8
  273. package/projects/iss/src/components/controls/mobile/flags/nu.svg +0 -23
  274. package/projects/iss/src/components/controls/mobile/flags/nz.svg +0 -37
  275. package/projects/iss/src/components/controls/mobile/flags/om.svg +0 -307
  276. package/projects/iss/src/components/controls/mobile/flags/pa.svg +0 -15
  277. package/projects/iss/src/components/controls/mobile/flags/pe.svg +0 -767
  278. package/projects/iss/src/components/controls/mobile/flags/pf.svg +0 -38
  279. package/projects/iss/src/components/controls/mobile/flags/pg.svg +0 -16
  280. package/projects/iss/src/components/controls/mobile/flags/ph.svg +0 -28
  281. package/projects/iss/src/components/controls/mobile/flags/pk.svg +0 -7
  282. package/projects/iss/src/components/controls/mobile/flags/pl.svg +0 -4
  283. package/projects/iss/src/components/controls/mobile/flags/pm.svg +0 -5
  284. package/projects/iss/src/components/controls/mobile/flags/pn.svg +0 -131
  285. package/projects/iss/src/components/controls/mobile/flags/pr.svg +0 -6
  286. package/projects/iss/src/components/controls/mobile/flags/ps.svg +0 -6
  287. package/projects/iss/src/components/controls/mobile/flags/pt.svg +0 -79
  288. package/projects/iss/src/components/controls/mobile/flags/pw.svg +0 -4
  289. package/projects/iss/src/components/controls/mobile/flags/py.svg +0 -192
  290. package/projects/iss/src/components/controls/mobile/flags/qa.svg +0 -7
  291. package/projects/iss/src/components/controls/mobile/flags/re.svg +0 -5
  292. package/projects/iss/src/components/controls/mobile/flags/ro.svg +0 -5
  293. package/projects/iss/src/components/controls/mobile/flags/rs.svg +0 -1143
  294. package/projects/iss/src/components/controls/mobile/flags/ru.svg +0 -5
  295. package/projects/iss/src/components/controls/mobile/flags/rw.svg +0 -17
  296. package/projects/iss/src/components/controls/mobile/flags/sa.svg +0 -23
  297. package/projects/iss/src/components/controls/mobile/flags/sb.svg +0 -30
  298. package/projects/iss/src/components/controls/mobile/flags/sc.svg +0 -7
  299. package/projects/iss/src/components/controls/mobile/flags/sd.svg +0 -6
  300. package/projects/iss/src/components/controls/mobile/flags/se.svg +0 -5
  301. package/projects/iss/src/components/controls/mobile/flags/sg.svg +0 -15
  302. package/projects/iss/src/components/controls/mobile/flags/sh.svg +0 -15
  303. package/projects/iss/src/components/controls/mobile/flags/si.svg +0 -30
  304. package/projects/iss/src/components/controls/mobile/flags/sj.svg +0 -11
  305. package/projects/iss/src/components/controls/mobile/flags/sk.svg +0 -21
  306. package/projects/iss/src/components/controls/mobile/flags/sl.svg +0 -5
  307. package/projects/iss/src/components/controls/mobile/flags/sm.svg +0 -847
  308. package/projects/iss/src/components/controls/mobile/flags/sn.svg +0 -15
  309. package/projects/iss/src/components/controls/mobile/flags/so.svg +0 -13
  310. package/projects/iss/src/components/controls/mobile/flags/sr.svg +0 -6
  311. package/projects/iss/src/components/controls/mobile/flags/ss.svg +0 -8
  312. package/projects/iss/src/components/controls/mobile/flags/st.svg +0 -16
  313. package/projects/iss/src/components/controls/mobile/flags/stc-icons.css +0 -1
  314. package/projects/iss/src/components/controls/mobile/flags/sv.svg +0 -3368
  315. package/projects/iss/src/components/controls/mobile/flags/sx.svg +0 -172
  316. package/projects/iss/src/components/controls/mobile/flags/sy.svg +0 -6
  317. package/projects/iss/src/components/controls/mobile/flags/sz.svg +0 -54
  318. package/projects/iss/src/components/controls/mobile/flags/tc.svg +0 -88
  319. package/projects/iss/src/components/controls/mobile/flags/td.svg +0 -5
  320. package/projects/iss/src/components/controls/mobile/flags/tf.svg +0 -18
  321. package/projects/iss/src/components/controls/mobile/flags/tg.svg +0 -15
  322. package/projects/iss/src/components/controls/mobile/flags/th.svg +0 -5
  323. package/projects/iss/src/components/controls/mobile/flags/tj.svg +0 -32
  324. package/projects/iss/src/components/controls/mobile/flags/tk.svg +0 -25
  325. package/projects/iss/src/components/controls/mobile/flags/tl.svg +0 -6
  326. package/projects/iss/src/components/controls/mobile/flags/tm.svg +0 -349
  327. package/projects/iss/src/components/controls/mobile/flags/tn.svg +0 -9
  328. package/projects/iss/src/components/controls/mobile/flags/to.svg +0 -8
  329. package/projects/iss/src/components/controls/mobile/flags/tr.svg +0 -6
  330. package/projects/iss/src/components/controls/mobile/flags/tt.svg +0 -5
  331. package/projects/iss/src/components/controls/mobile/flags/tv.svg +0 -18
  332. package/projects/iss/src/components/controls/mobile/flags/tw.svg +0 -12
  333. package/projects/iss/src/components/controls/mobile/flags/tz.svg +0 -13
  334. package/projects/iss/src/components/controls/mobile/flags/ua.svg +0 -4
  335. package/projects/iss/src/components/controls/mobile/flags/ug.svg +0 -46
  336. package/projects/iss/src/components/controls/mobile/flags/um.svg +0 -25
  337. package/projects/iss/src/components/controls/mobile/flags/us.svg +0 -25
  338. package/projects/iss/src/components/controls/mobile/flags/uy.svg +0 -138
  339. package/projects/iss/src/components/controls/mobile/flags/uz.svg +0 -30
  340. package/projects/iss/src/components/controls/mobile/flags/va.svg +0 -277
  341. package/projects/iss/src/components/controls/mobile/flags/vc.svg +0 -9
  342. package/projects/iss/src/components/controls/mobile/flags/ve.svg +0 -28
  343. package/projects/iss/src/components/controls/mobile/flags/vg.svg +0 -96
  344. package/projects/iss/src/components/controls/mobile/flags/vi.svg +0 -311
  345. package/projects/iss/src/components/controls/mobile/flags/vn.svg +0 -12
  346. package/projects/iss/src/components/controls/mobile/flags/vu.svg +0 -20
  347. package/projects/iss/src/components/controls/mobile/flags/wf.svg +0 -7
  348. package/projects/iss/src/components/controls/mobile/flags/ws.svg +0 -14
  349. package/projects/iss/src/components/controls/mobile/flags/xk.svg +0 -11
  350. package/projects/iss/src/components/controls/mobile/flags/ye.svg +0 -5
  351. package/projects/iss/src/components/controls/mobile/flags/yt.svg +0 -5
  352. package/projects/iss/src/components/controls/mobile/flags/za.svg +0 -17
  353. package/projects/iss/src/components/controls/mobile/flags/zm.svg +0 -20
  354. package/projects/iss/src/components/controls/mobile/flags/zw.svg +0 -130
  355. package/projects/iss/src/components/controls/mobile/mobile.control.ts +0 -222
  356. package/projects/iss/src/components/controls/mobile/mobile.viewer.ts +0 -11
  357. package/projects/iss/src/components/controls/mobile/mobile.wrapper.ts +0 -32
  358. package/projects/iss/src/components/controls/mobile/phone.service.ts +0 -96
  359. package/projects/iss/src/components/controls/note/note.wrapper.ts +0 -25
  360. package/projects/iss/src/components/controls/plate/plate-letter.pipe.ts +0 -14
  361. package/projects/iss/src/components/controls/plate/plate-number.wrapper.ts +0 -36
  362. package/projects/iss/src/components/controls/plate/plate.control.ts +0 -481
  363. package/projects/iss/src/components/controls/plate/plate.viewer.ts +0 -289
  364. package/projects/iss/src/components/controls/radio/radio.control.ts +0 -48
  365. package/projects/iss/src/components/controls/radio/radio.viewer.ts +0 -14
  366. package/projects/iss/src/components/controls/radio/radio.wrapper.ts +0 -38
  367. package/projects/iss/src/components/controls/select/select.control.ts +0 -261
  368. package/projects/iss/src/components/controls/select/select.viewer.ts +0 -14
  369. package/projects/iss/src/components/controls/select/select.wrapper.ts +0 -41
  370. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.control.ts +0 -24
  371. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.viewer.ts +0 -14
  372. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.wrapper.ts +0 -31
  373. package/projects/iss/src/components/controls/table/field.viewer.ts +0 -23
  374. package/projects/iss/src/components/controls/table/table.wrapper.ts +0 -233
  375. package/projects/iss/src/components/controls/textarea/textarea.control.ts +0 -54
  376. package/projects/iss/src/components/controls/textarea/textarea.viewer.ts +0 -11
  377. package/projects/iss/src/components/controls/textarea/textarea.wrapper.ts +0 -34
  378. package/projects/iss/src/components/controls/time-picker/time-picker.control.ts +0 -86
  379. package/projects/iss/src/components/controls/time-picker/time-picker.viewer.ts +0 -10
  380. package/projects/iss/src/components/controls/time-picker/time-picker.wrapper.ts +0 -31
  381. package/projects/iss/src/components/controls/toggle-button/toggle-button.control.ts +0 -105
  382. package/projects/iss/src/components/controls/toggle-button/toggle-button.viewer.ts +0 -15
  383. package/projects/iss/src/components/controls/toggle-button/toggle-button.wrapper.ts +0 -40
  384. package/projects/iss/src/components/controls/user-picker/employee.service.ts +0 -73
  385. package/projects/iss/src/components/controls/user-picker/user-picker.wrapper.ts +0 -128
  386. package/projects/iss/src/components/outlet/field-data-injector.pipe.ts +0 -20
  387. package/projects/iss/src/components/outlet/outlet.ts +0 -152
  388. package/projects/iss/src/components/shared/hints.component.ts +0 -38
  389. package/projects/iss/src/components/shared/validation-message.component.ts +0 -36
  390. package/projects/iss/src/events/event-handler.service.ts +0 -47
  391. package/projects/iss/src/events/load/after-fetch.service.ts +0 -29
  392. package/projects/iss/src/events/load/load-event.service.ts +0 -26
  393. package/projects/iss/src/events/load/load-options-event.service.ts +0 -51
  394. package/projects/iss/src/events/load/load-value-event.service.ts +0 -50
  395. package/projects/iss/src/events/load/replace-api-keys.service.ts +0 -55
  396. package/projects/iss/src/events/set-value/get-value-to-set.service.ts +0 -29
  397. package/projects/iss/src/events/set-value/set-value-event.service.ts +0 -33
  398. package/projects/iss/src/events/show/show-event.service.ts +0 -11
  399. package/projects/iss/src/events/triggers/action-trigger-manager.service.ts +0 -51
  400. package/projects/iss/src/events/triggers/action-trigger.service.ts +0 -30
  401. package/projects/iss/src/events/triggers/trigger-based-on-json-value.service.ts +0 -19
  402. package/projects/iss/src/public-api.ts +0 -102
  403. package/projects/iss/src/shared/classes/field-action-config.ts +0 -56
  404. package/projects/iss/src/shared/classes/field-action.ts +0 -28
  405. package/projects/iss/src/shared/classes/field-async-validation.ts +0 -7
  406. package/projects/iss/src/shared/classes/field-config.ts +0 -113
  407. package/projects/iss/src/shared/classes/field-option.ts +0 -9
  408. package/projects/iss/src/shared/classes/field-validation.ts +0 -15
  409. package/projects/iss/src/shared/classes/form-field.ts +0 -94
  410. package/projects/iss/src/shared/constants/countries.const.ts +0 -2051
  411. package/projects/iss/src/shared/constants/date.const.ts +0 -18
  412. package/projects/iss/src/shared/constants/plate-letters.const.ts +0 -21
  413. package/projects/iss/src/shared/constants/provider.const.ts +0 -7
  414. package/projects/iss/src/shared/constants/regex.const.ts +0 -1
  415. package/projects/iss/src/shared/constants/validation.const.ts +0 -115
  416. package/projects/iss/src/shared/indexes/components.index.ts +0 -27
  417. package/projects/iss/src/shared/indexes/services.index.ts +0 -11
  418. package/projects/iss/src/shared/indexes/validators.index.ts +0 -21
  419. package/projects/iss/src/shared/interfaces/action.interface.ts +0 -7
  420. package/projects/iss/src/shared/interfaces/attachment.interface.ts +0 -7
  421. package/projects/iss/src/shared/interfaces/country.interface.ts +0 -11
  422. package/projects/iss/src/shared/interfaces/date-range.interface.ts +0 -5
  423. package/projects/iss/src/shared/interfaces/datetime.interface.ts +0 -4
  424. package/projects/iss/src/shared/interfaces/dto.interface.ts +0 -12
  425. package/projects/iss/src/shared/interfaces/field.interface.ts +0 -27
  426. package/projects/iss/src/shared/interfaces/file.interface.ts +0 -9
  427. package/projects/iss/src/shared/interfaces/hint.interface.ts +0 -8
  428. package/projects/iss/src/shared/interfaces/i18n.interface.ts +0 -4
  429. package/projects/iss/src/shared/interfaces/import.interface.ts +0 -3
  430. package/projects/iss/src/shared/interfaces/mobile.interface.ts +0 -12
  431. package/projects/iss/src/shared/interfaces/option.interface.ts +0 -4
  432. package/projects/iss/src/shared/interfaces/outlet.interface.ts +0 -8
  433. package/projects/iss/src/shared/interfaces/plate-letter.interface.ts +0 -7
  434. package/projects/iss/src/shared/interfaces/validation.interface.ts +0 -5
  435. package/projects/iss/src/shared/pipes/arabic-number.pipe.ts +0 -14
  436. package/projects/iss/src/shared/pipes/select-status.pipe.ts +0 -10
  437. package/projects/iss/src/shared/pipes/translate.pipe.ts +0 -20
  438. package/projects/iss/src/shared/services/form-engine.service.ts +0 -121
  439. package/projects/iss/src/shared/services/loader.service.ts +0 -51
  440. package/projects/iss/src/shared/tokens/api-response-mapper.token.ts +0 -4
  441. package/projects/iss/src/shared/tokens/attachment.token.ts +0 -6
  442. package/projects/iss/src/shared/tokens/field.token.ts +0 -4
  443. package/projects/iss/src/shared/tokens/host.token.ts +0 -3
  444. package/projects/iss/src/shared/tokens/language.token.ts +0 -3
  445. package/projects/iss/src/shared/tokens/url.token.ts +0 -3
  446. package/projects/iss/src/shared/types/iso2.type.ts +0 -244
  447. package/projects/iss/src/shared/types/validation.type.ts +0 -3
  448. package/projects/iss/src/shared/utilities/array-from.util.ts +0 -7
  449. package/projects/iss/src/shared/utilities/format-file-size.util.ts +0 -9
  450. package/projects/iss/src/shared/utilities/get-property-by-path.util.ts +0 -30
  451. package/projects/iss/src/shared/utilities/http.util.service.ts +0 -19
  452. package/projects/iss/src/shared/utilities/is-valid-api.util.ts +0 -8
  453. package/projects/iss/src/shared/utilities/replace-placeholder.util.ts +0 -12
  454. package/projects/iss/src/validators/core.validator.ts +0 -39
  455. package/projects/iss/src/validators/file.validator.ts +0 -100
  456. package/projects/iss/src/validators/time.validator.ts +0 -31
  457. package/projects/iss/tsconfig.lib.json +0 -13
  458. package/projects/iss/tsconfig.lib.prod.json +0 -9
  459. package/projects/iss/tsconfig.spec.json +0 -13
  460. package/projects/iss/upgrade.scss +0 -68
  461. package/projects/playground/.eslintrc.json +0 -37
  462. package/projects/playground/public/favicon.ico +0 -0
  463. package/projects/playground/public/flags/ad.svg +0 -282
  464. package/projects/playground/public/flags/ae.svg +0 -6
  465. package/projects/playground/public/flags/af.svg +0 -9
  466. package/projects/playground/public/flags/ag.svg +0 -15
  467. package/projects/playground/public/flags/ai.svg +0 -35
  468. package/projects/playground/public/flags/al.svg +0 -7
  469. package/projects/playground/public/flags/am.svg +0 -5
  470. package/projects/playground/public/flags/ao.svg +0 -19
  471. package/projects/playground/public/flags/aq.svg +0 -45
  472. package/projects/playground/public/flags/ar.svg +0 -66
  473. package/projects/playground/public/flags/as.svg +0 -225
  474. package/projects/playground/public/flags/at.svg +0 -4
  475. package/projects/playground/public/flags/au.svg +0 -32
  476. package/projects/playground/public/flags/aw.svg +0 -11
  477. package/projects/playground/public/flags/ax.svg +0 -11
  478. package/projects/playground/public/flags/az.svg +0 -11
  479. package/projects/playground/public/flags/ba.svg +0 -18
  480. package/projects/playground/public/flags/bb.svg +0 -11
  481. package/projects/playground/public/flags/bd.svg +0 -4
  482. package/projects/playground/public/flags/be.svg +0 -5
  483. package/projects/playground/public/flags/bf.svg +0 -14
  484. package/projects/playground/public/flags/bg.svg +0 -5
  485. package/projects/playground/public/flags/bh.svg +0 -4
  486. package/projects/playground/public/flags/bi.svg +0 -26
  487. package/projects/playground/public/flags/bj.svg +0 -5
  488. package/projects/playground/public/flags/bl.svg +0 -5
  489. package/projects/playground/public/flags/bm.svg +0 -374
  490. package/projects/playground/public/flags/bn.svg +0 -70
  491. package/projects/playground/public/flags/bo.svg +0 -3625
  492. package/projects/playground/public/flags/bq.svg +0 -5
  493. package/projects/playground/public/flags/br.svg +0 -92
  494. package/projects/playground/public/flags/bs.svg +0 -5
  495. package/projects/playground/public/flags/bt.svg +0 -487
  496. package/projects/playground/public/flags/bv.svg +0 -11
  497. package/projects/playground/public/flags/bw.svg +0 -5
  498. package/projects/playground/public/flags/by.svg +0 -15
  499. package/projects/playground/public/flags/bz.svg +0 -629
  500. package/projects/playground/public/flags/ca.svg +0 -7
  501. package/projects/playground/public/flags/cc.svg +0 -33
  502. package/projects/playground/public/flags/cd.svg +0 -5
  503. package/projects/playground/public/flags/cf.svg +0 -7
  504. package/projects/playground/public/flags/cg.svg +0 -5
  505. package/projects/playground/public/flags/ch.svg +0 -4
  506. package/projects/playground/public/flags/ci.svg +0 -5
  507. package/projects/playground/public/flags/ck.svg +0 -29
  508. package/projects/playground/public/flags/cl.svg +0 -14
  509. package/projects/playground/public/flags/cm.svg +0 -15
  510. package/projects/playground/public/flags/cn.svg +0 -11
  511. package/projects/playground/public/flags/co.svg +0 -5
  512. package/projects/playground/public/flags/cr.svg +0 -1332
  513. package/projects/playground/public/flags/cu.svg +0 -6
  514. package/projects/playground/public/flags/cv.svg +0 -24
  515. package/projects/playground/public/flags/cw.svg +0 -16
  516. package/projects/playground/public/flags/cx.svg +0 -24
  517. package/projects/playground/public/flags/cy.svg +0 -13
  518. package/projects/playground/public/flags/cz.svg +0 -5
  519. package/projects/playground/public/flags/de.svg +0 -5
  520. package/projects/playground/public/flags/dj.svg +0 -6
  521. package/projects/playground/public/flags/dk.svg +0 -5
  522. package/projects/playground/public/flags/dm.svg +0 -198
  523. package/projects/playground/public/flags/do.svg +0 -238
  524. package/projects/playground/public/flags/dz.svg +0 -5
  525. package/projects/playground/public/flags/ec.svg +0 -1292
  526. package/projects/playground/public/flags/ee.svg +0 -5
  527. package/projects/playground/public/flags/eg.svg +0 -125
  528. package/projects/playground/public/flags/eh.svg +0 -12
  529. package/projects/playground/public/flags/er.svg +0 -9
  530. package/projects/playground/public/flags/es.svg +0 -445
  531. package/projects/playground/public/flags/et.svg +0 -16
  532. package/projects/playground/public/flags/eu.svg +0 -28
  533. package/projects/playground/public/flags/fi.svg +0 -5
  534. package/projects/playground/public/flags/fj.svg +0 -203
  535. package/projects/playground/public/flags/fk.svg +0 -922
  536. package/projects/playground/public/flags/flags.png +0 -0
  537. package/projects/playground/public/flags/flags@2x.png +0 -0
  538. package/projects/playground/public/flags/fm.svg +0 -16
  539. package/projects/playground/public/flags/fo.svg +0 -11
  540. package/projects/playground/public/flags/fonts.css +0 -271
  541. package/projects/playground/public/flags/fr.svg +0 -5
  542. package/projects/playground/public/flags/ga.svg +0 -5
  543. package/projects/playground/public/flags/gb-eng.svg +0 -7
  544. package/projects/playground/public/flags/gb-nir.svg +0 -15
  545. package/projects/playground/public/flags/gb-sct.svg +0 -11
  546. package/projects/playground/public/flags/gb-wls.svg +0 -16
  547. package/projects/playground/public/flags/gb.svg +0 -15
  548. package/projects/playground/public/flags/gd.svg +0 -11
  549. package/projects/playground/public/flags/ge.svg +0 -17
  550. package/projects/playground/public/flags/gf.svg +0 -5
  551. package/projects/playground/public/flags/gg.svg +0 -8
  552. package/projects/playground/public/flags/gh.svg +0 -6
  553. package/projects/playground/public/flags/gi.svg +0 -69
  554. package/projects/playground/public/flags/gl.svg +0 -4
  555. package/projects/playground/public/flags/gm.svg +0 -7
  556. package/projects/playground/public/flags/gn.svg +0 -5
  557. package/projects/playground/public/flags/gp.svg +0 -5
  558. package/projects/playground/public/flags/gq.svg +0 -88
  559. package/projects/playground/public/flags/gr.svg +0 -4
  560. package/projects/playground/public/flags/gs.svg +0 -693
  561. package/projects/playground/public/flags/gt.svg +0 -317
  562. package/projects/playground/public/flags/gu.svg +0 -58
  563. package/projects/playground/public/flags/gw.svg +0 -13
  564. package/projects/playground/public/flags/gy.svg +0 -7
  565. package/projects/playground/public/flags/hk.svg +0 -17
  566. package/projects/playground/public/flags/hm.svg +0 -32
  567. package/projects/playground/public/flags/hn.svg +0 -10
  568. package/projects/playground/public/flags/hr.svg +0 -282
  569. package/projects/playground/public/flags/ht.svg +0 -1470
  570. package/projects/playground/public/flags/hu.svg +0 -5
  571. package/projects/playground/public/flags/id.svg +0 -4
  572. package/projects/playground/public/flags/ie.svg +0 -5
  573. package/projects/playground/public/flags/il.svg +0 -5
  574. package/projects/playground/public/flags/im.svg +0 -33
  575. package/projects/playground/public/flags/in.svg +0 -25
  576. package/projects/playground/public/flags/io.svg +0 -895
  577. package/projects/playground/public/flags/iq.svg +0 -12
  578. package/projects/playground/public/flags/ir.svg +0 -31
  579. package/projects/playground/public/flags/is.svg +0 -5
  580. package/projects/playground/public/flags/it.svg +0 -5
  581. package/projects/playground/public/flags/je.svg +0 -40
  582. package/projects/playground/public/flags/jm.svg +0 -9
  583. package/projects/playground/public/flags/jo.svg +0 -10
  584. package/projects/playground/public/flags/jp.svg +0 -4
  585. package/projects/playground/public/flags/ke.svg +0 -28
  586. package/projects/playground/public/flags/kg.svg +0 -7
  587. package/projects/playground/public/flags/kh.svg +0 -133
  588. package/projects/playground/public/flags/ki.svg +0 -54
  589. package/projects/playground/public/flags/km.svg +0 -13
  590. package/projects/playground/public/flags/kn.svg +0 -24
  591. package/projects/playground/public/flags/kp.svg +0 -16
  592. package/projects/playground/public/flags/kr.svg +0 -16
  593. package/projects/playground/public/flags/kw.svg +0 -6
  594. package/projects/playground/public/flags/ky.svg +0 -153
  595. package/projects/playground/public/flags/kz.svg +0 -49
  596. package/projects/playground/public/flags/la.svg +0 -5
  597. package/projects/playground/public/flags/lb.svg +0 -8
  598. package/projects/playground/public/flags/lc.svg +0 -6
  599. package/projects/playground/public/flags/li.svg +0 -79
  600. package/projects/playground/public/flags/lk.svg +0 -50
  601. package/projects/playground/public/flags/lr.svg +0 -15
  602. package/projects/playground/public/flags/ls.svg +0 -32
  603. package/projects/playground/public/flags/lt.svg +0 -5
  604. package/projects/playground/public/flags/lu.svg +0 -5
  605. package/projects/playground/public/flags/lv.svg +0 -4
  606. package/projects/playground/public/flags/ly.svg +0 -8
  607. package/projects/playground/public/flags/ma.svg +0 -4
  608. package/projects/playground/public/flags/mc.svg +0 -4
  609. package/projects/playground/public/flags/md.svg +0 -102
  610. package/projects/playground/public/flags/me.svg +0 -240
  611. package/projects/playground/public/flags/mf.svg +0 -5
  612. package/projects/playground/public/flags/mg.svg +0 -5
  613. package/projects/playground/public/flags/mh.svg +0 -18
  614. package/projects/playground/public/flags/mk.svg +0 -6
  615. package/projects/playground/public/flags/ml.svg +0 -5
  616. package/projects/playground/public/flags/mm.svg +0 -12
  617. package/projects/playground/public/flags/mn.svg +0 -12
  618. package/projects/playground/public/flags/mo.svg +0 -13
  619. package/projects/playground/public/flags/mp.svg +0 -2919
  620. package/projects/playground/public/flags/mq.svg +0 -5
  621. package/projects/playground/public/flags/mr.svg +0 -5
  622. package/projects/playground/public/flags/ms.svg +0 -59
  623. package/projects/playground/public/flags/mt.svg +0 -52
  624. package/projects/playground/public/flags/mu.svg +0 -6
  625. package/projects/playground/public/flags/mv.svg +0 -8
  626. package/projects/playground/public/flags/mw.svg +0 -24
  627. package/projects/playground/public/flags/mx.svg +0 -1129
  628. package/projects/playground/public/flags/my.svg +0 -12
  629. package/projects/playground/public/flags/mz.svg +0 -50
  630. package/projects/playground/public/flags/na.svg +0 -17
  631. package/projects/playground/public/flags/nc.svg +0 -5
  632. package/projects/playground/public/flags/ne.svg +0 -6
  633. package/projects/playground/public/flags/nf.svg +0 -8
  634. package/projects/playground/public/flags/ng.svg +0 -4
  635. package/projects/playground/public/flags/ni.svg +0 -281
  636. package/projects/playground/public/flags/nl.svg +0 -5
  637. package/projects/playground/public/flags/no.svg +0 -11
  638. package/projects/playground/public/flags/np.svg +0 -33
  639. package/projects/playground/public/flags/nr.svg +0 -8
  640. package/projects/playground/public/flags/nu.svg +0 -23
  641. package/projects/playground/public/flags/nz.svg +0 -37
  642. package/projects/playground/public/flags/om.svg +0 -307
  643. package/projects/playground/public/flags/pa.svg +0 -15
  644. package/projects/playground/public/flags/pe.svg +0 -767
  645. package/projects/playground/public/flags/pf.svg +0 -38
  646. package/projects/playground/public/flags/pg.svg +0 -16
  647. package/projects/playground/public/flags/ph.svg +0 -28
  648. package/projects/playground/public/flags/pk.svg +0 -7
  649. package/projects/playground/public/flags/pl.svg +0 -4
  650. package/projects/playground/public/flags/pm.svg +0 -5
  651. package/projects/playground/public/flags/pn.svg +0 -131
  652. package/projects/playground/public/flags/pr.svg +0 -6
  653. package/projects/playground/public/flags/ps.svg +0 -6
  654. package/projects/playground/public/flags/pt.svg +0 -79
  655. package/projects/playground/public/flags/pw.svg +0 -4
  656. package/projects/playground/public/flags/py.svg +0 -192
  657. package/projects/playground/public/flags/qa.svg +0 -7
  658. package/projects/playground/public/flags/re.svg +0 -5
  659. package/projects/playground/public/flags/ro.svg +0 -5
  660. package/projects/playground/public/flags/rs.svg +0 -1143
  661. package/projects/playground/public/flags/ru.svg +0 -5
  662. package/projects/playground/public/flags/rw.svg +0 -17
  663. package/projects/playground/public/flags/sa.svg +0 -23
  664. package/projects/playground/public/flags/sb.svg +0 -30
  665. package/projects/playground/public/flags/sc.svg +0 -7
  666. package/projects/playground/public/flags/sd.svg +0 -6
  667. package/projects/playground/public/flags/se.svg +0 -5
  668. package/projects/playground/public/flags/sg.svg +0 -15
  669. package/projects/playground/public/flags/sh.svg +0 -15
  670. package/projects/playground/public/flags/si.svg +0 -30
  671. package/projects/playground/public/flags/sj.svg +0 -11
  672. package/projects/playground/public/flags/sk.svg +0 -21
  673. package/projects/playground/public/flags/sl.svg +0 -5
  674. package/projects/playground/public/flags/sm.svg +0 -847
  675. package/projects/playground/public/flags/sn.svg +0 -15
  676. package/projects/playground/public/flags/so.svg +0 -13
  677. package/projects/playground/public/flags/sr.svg +0 -6
  678. package/projects/playground/public/flags/ss.svg +0 -8
  679. package/projects/playground/public/flags/st.svg +0 -16
  680. package/projects/playground/public/flags/stc-icons.css +0 -1
  681. package/projects/playground/public/flags/sv.svg +0 -3368
  682. package/projects/playground/public/flags/sx.svg +0 -172
  683. package/projects/playground/public/flags/sy.svg +0 -6
  684. package/projects/playground/public/flags/sz.svg +0 -54
  685. package/projects/playground/public/flags/tc.svg +0 -88
  686. package/projects/playground/public/flags/td.svg +0 -5
  687. package/projects/playground/public/flags/tf.svg +0 -18
  688. package/projects/playground/public/flags/tg.svg +0 -15
  689. package/projects/playground/public/flags/th.svg +0 -5
  690. package/projects/playground/public/flags/tj.svg +0 -32
  691. package/projects/playground/public/flags/tk.svg +0 -25
  692. package/projects/playground/public/flags/tl.svg +0 -6
  693. package/projects/playground/public/flags/tm.svg +0 -349
  694. package/projects/playground/public/flags/tn.svg +0 -9
  695. package/projects/playground/public/flags/to.svg +0 -8
  696. package/projects/playground/public/flags/tr.svg +0 -6
  697. package/projects/playground/public/flags/tt.svg +0 -5
  698. package/projects/playground/public/flags/tv.svg +0 -18
  699. package/projects/playground/public/flags/tw.svg +0 -12
  700. package/projects/playground/public/flags/tz.svg +0 -13
  701. package/projects/playground/public/flags/ua.svg +0 -4
  702. package/projects/playground/public/flags/ug.svg +0 -46
  703. package/projects/playground/public/flags/um.svg +0 -25
  704. package/projects/playground/public/flags/us.svg +0 -25
  705. package/projects/playground/public/flags/uy.svg +0 -138
  706. package/projects/playground/public/flags/uz.svg +0 -30
  707. package/projects/playground/public/flags/va.svg +0 -277
  708. package/projects/playground/public/flags/vc.svg +0 -9
  709. package/projects/playground/public/flags/ve.svg +0 -28
  710. package/projects/playground/public/flags/vg.svg +0 -96
  711. package/projects/playground/public/flags/vi.svg +0 -311
  712. package/projects/playground/public/flags/vn.svg +0 -12
  713. package/projects/playground/public/flags/vu.svg +0 -20
  714. package/projects/playground/public/flags/wf.svg +0 -7
  715. package/projects/playground/public/flags/ws.svg +0 -14
  716. package/projects/playground/public/flags/xk.svg +0 -11
  717. package/projects/playground/public/flags/ye.svg +0 -5
  718. package/projects/playground/public/flags/yt.svg +0 -5
  719. package/projects/playground/public/flags/za.svg +0 -17
  720. package/projects/playground/public/flags/zm.svg +0 -20
  721. package/projects/playground/public/flags/zw.svg +0 -130
  722. package/projects/playground/src/app/app.component.ts +0 -119
  723. package/projects/playground/src/app/app.config.ts +0 -51
  724. package/projects/playground/src/app/app.routes.ts +0 -41
  725. package/projects/playground/src/app/login.service.ts +0 -21
  726. package/projects/playground/src/components/attachment-wrapper.component.ts +0 -45
  727. package/projects/playground/src/components/attachment.component.ts +0 -35
  728. package/projects/playground/src/components/checkbox-wrapper.component.ts +0 -43
  729. package/projects/playground/src/components/chips-wrapper.component.ts +0 -37
  730. package/projects/playground/src/components/ctrl-array-wrapper.component.ts +0 -76
  731. package/projects/playground/src/components/date-picker-container.component.ts +0 -22
  732. package/projects/playground/src/components/date-picker-wrapper.component.ts +0 -41
  733. package/projects/playground/src/components/date-range-picker-container.component.ts +0 -24
  734. package/projects/playground/src/components/date-range-picker-wrapper.component.ts +0 -41
  735. package/projects/playground/src/components/datetime-container.component.ts +0 -25
  736. package/projects/playground/src/components/datetime-picker-wrapper.component.ts +0 -62
  737. package/projects/playground/src/components/input-container.component.ts +0 -35
  738. package/projects/playground/src/components/input-wrapper.component.ts +0 -41
  739. package/projects/playground/src/components/mobile-container.component.ts +0 -23
  740. package/projects/playground/src/components/mobile-wrapper.component.ts +0 -36
  741. package/projects/playground/src/components/note-wrapper.component.ts +0 -37
  742. package/projects/playground/src/components/outlet-container.component.ts +0 -144
  743. package/projects/playground/src/components/plate-container.component.ts +0 -22
  744. package/projects/playground/src/components/plate-wrapper.component.ts +0 -39
  745. package/projects/playground/src/components/radio-wrapper.component.ts +0 -45
  746. package/projects/playground/src/components/select-container.component.ts +0 -31
  747. package/projects/playground/src/components/select-wrapper.component.ts +0 -48
  748. package/projects/playground/src/components/ships-container.component.ts +0 -23
  749. package/projects/playground/src/components/slide-toggle-wrapper.component.ts +0 -40
  750. package/projects/playground/src/components/textarea-container.component.ts +0 -23
  751. package/projects/playground/src/components/textarea-wrapper.component.ts +0 -54
  752. package/projects/playground/src/components/time-picker-container.component.ts +0 -23
  753. package/projects/playground/src/components/time-picker-wrapper.component.ts +0 -43
  754. package/projects/playground/src/components/toggle-button-wrapper.component.ts +0 -49
  755. package/projects/playground/src/components/user-picker-wrapper.component.ts +0 -37
  756. package/projects/playground/src/eServices/create-request.component.ts +0 -28
  757. package/projects/playground/src/eServices/e-service.component.ts +0 -112
  758. package/projects/playground/src/eServices/view-request.component.ts +0 -13
  759. package/projects/playground/src/index.html +0 -13
  760. package/projects/playground/src/interceptors/header.interceptor.ts +0 -71
  761. package/projects/playground/src/main.ts +0 -8
  762. package/projects/playground/src/services/ss.service.ts +0 -62
  763. package/projects/playground/src/styles.scss +0 -33
  764. package/projects/playground/src/validators/customValidator.validator.ts +0 -10
  765. package/projects/playground/tsconfig.app.json +0 -15
  766. package/tsconfig.json +0 -31
@@ -1,115 +0,0 @@
1
- import {HttpClient} from "@angular/common/http";
2
- import {inject, Injectable} from "@angular/core";
3
- import {EMPTY, forkJoin, map, Observable} from "rxjs";
4
- import {IssAttachment} from "../../../shared/interfaces/attachment.interface";
5
- import {IssFile} from "../../../shared/interfaces/file.interface";
6
- import {ATTACHMENT_DOWNLOAD_URL, ATTACHMENT_UPLOAD_RESPONSE_MAPPER, ATTACHMENT_UPLOAD_URL} from "../../../shared/tokens/attachment.token";
7
- import {replacePlaceholders} from "../../../shared/utilities/replace-placeholder.util";
8
-
9
- @Injectable({providedIn: "root"})
10
- export class FileHandlerService {
11
- ATTACHMENT_UPLOAD_URL = inject(ATTACHMENT_UPLOAD_URL);
12
- ATTACHMENT_DOWNLOAD_URL: string = inject(ATTACHMENT_DOWNLOAD_URL);
13
- attachmentAdapter = inject(ATTACHMENT_UPLOAD_RESPONSE_MAPPER);
14
- #http: HttpClient = inject(HttpClient);
15
- readonly #units: string[] = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
16
-
17
- upload(data: FormData) {
18
- const url = this.ATTACHMENT_UPLOAD_URL;
19
- return this.#http.post(url, data, {
20
- headers: {"Content-Type": "multipart/form-data"},
21
- }).pipe(
22
- map((res: any): IssAttachment[] => this.attachmentAdapter(res)),
23
- map((res: IssAttachment[]): IssAttachment[] => {
24
- return res.map((attachment) => {
25
- attachment.selected = this.getFileFromFormData(data, attachment.name)[0]?.selected;
26
- return attachment;
27
- });
28
- })
29
- );
30
- }
31
-
32
- formDataFactory(files: IssFile[], multiple: boolean): FormData | null {
33
- if (files.length === 0) {
34
- return null;
35
- }
36
- const fd: FormData = new FormData();
37
- let formDataKey = "file";
38
- if (multiple) {
39
- formDataKey = "files";
40
- }
41
- for (let i = 0; i < files.length; i++) {
42
- // @ts-ignore
43
- fd.append(formDataKey, files[i]);
44
- }
45
- return fd;
46
- }
47
-
48
- formDataHasValue(formData: FormData) {
49
- if (formData) {
50
- for (const key of formData.keys()) {
51
- if (formData.get(key)) {
52
- return true;
53
- }
54
- }
55
- }
56
- return false;
57
- }
58
-
59
- getFileFromFormData(formData: FormData, name: string): IssFile[] {
60
- if (!formData) {
61
- return [];
62
- }
63
- const fileFD: IssFile[] = formData.getAll("file") as unknown as IssFile[];
64
- const filesFD: IssFile[] = formData.getAll("files") as unknown as IssFile[];
65
- if (filesFD.length) {
66
- return filesFD.filter((f) => f.name === name);
67
- }
68
- if (fileFD.length) {
69
- return fileFD.filter((f) => f.name === name);
70
- }
71
- return [];
72
- }
73
-
74
- formatFileSize(x: string | number) {
75
- let l: number = 0;
76
- let n: number = parseInt(x.toString(), 10) || 0;
77
-
78
- while (n >= 1024 && ++l) {
79
- n /= 1024;
80
- }
81
- return Math.floor(n) + " " + this.#units[l];
82
- }
83
-
84
- fetchFileInfo(id: string): Observable<IssFile> {
85
- const url: string = replacePlaceholders(this.ATTACHMENT_DOWNLOAD_URL, {fileId: id});
86
- const httpRequestOptions: any = {observe: "response", responseType: "blob"};
87
- return this.#http.get(url, httpRequestOptions).pipe(map((res: any) => this.#processFileBinaryStream(res, id)));
88
- }
89
-
90
- fetchFiles(ids: string) {
91
- if (ids) {
92
- return forkJoin(ids.split(",").map((id: string) => {
93
- return this.fetchFileInfo(id);
94
- }));
95
- }
96
- return EMPTY;
97
- }
98
-
99
- #processFileBinaryStream(res: any, fileId: string): any {
100
- const fileNameHeader = res.headers.get("content-disposition");
101
- const typeHeader = res.headers.get("content-type");
102
- let fileName = "";
103
- if (fileNameHeader) {
104
- fileName = decodeURIComponent(fileNameHeader.split(";")[1].split("=")[1].replaceAll("\"", ""));
105
- }
106
- const file: File = new File([res.body], fileName, {type: typeHeader});
107
- return {
108
- id: fileId,
109
- name: file.name,
110
- type: file.type,
111
- size: this.formatFileSize(file.size),
112
- file: file,
113
- };
114
- }
115
- }
@@ -1,187 +0,0 @@
1
- import {Component, computed, CUSTOM_ELEMENTS_SCHEMA, effect, input, InputSignal, OnDestroy, Signal, signal, WritableSignal} from "@angular/core";
2
- import {NG_VALUE_ACCESSOR, ReactiveFormsModule} from "@angular/forms";
3
- import {IssAttachment} from "../../../shared/interfaces/attachment.interface";
4
- import {IssFile} from "../../../shared/interfaces/file.interface";
5
- import {HintsComponent} from "../../shared/hints.component";
6
- import {ControlBase} from "../base/control.base";
7
- import {DroppableDirective} from "./droppable.directive";
8
-
9
- @Component({
10
- selector: "iss-ctrl-file-picker",
11
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
12
- imports: [
13
- ReactiveFormsModule,
14
- DroppableDirective,
15
- HintsComponent,
16
- ],
17
- providers: [
18
- {provide: NG_VALUE_ACCESSOR, useExisting: FilePickerControl, multi: true}
19
- ],
20
- template: `
21
- <ds-file-picker (click)="inputFile.click(); markAsTouched()" (onDrop)="captureFile($event)" droppable>
22
- <input
23
- #inputFile
24
- (change)="captureFile($any($event.target).files)"
25
- [accept]="accept()"
26
- [formControl]="ctrl"
27
- [multiple]="multiple()"
28
- [style.display]="'none'"
29
- id="file"
30
- type="file"
31
- />
32
- </ds-file-picker>
33
-
34
- <iss-ctrl-hints [hints]="hints()" [touched]="touched()" />
35
- <!--<iss-vwr-attachment (deleteOut)="onDelete($event)" [field]="filesValue()" [uploading]="uploading()"/>-->
36
- `,
37
- styles: `
38
- .file-uploader {
39
- --uploader-height: 150px;
40
- --uploader-width: 100%;
41
- --uploader-bg: var(--off-white);
42
- --uploader-border: 1px dashed var(--dark-gray);
43
- --uploader-radius: var(--box-radius);
44
- --uploader-padding: 1rem;
45
-
46
- height: var(--uploader-height);
47
- background-color: var(--uploader-bg);
48
- border: var(--uploader-border);
49
- border-radius: var(--uploader-radius);
50
- padding: var(--uploader-padding);
51
- text-align: center;
52
- cursor: pointer;
53
-
54
- & --input {
55
- display: flex;
56
- flex-direction: column;
57
- align-items: center;
58
- justify-content: center;
59
- height: 100%;
60
- gap: 0.75rem;
61
- }
62
- }`
63
- })
64
- export class FilePickerControl extends ControlBase implements OnDestroy {
65
- accept: InputSignal<string | undefined> = input();
66
- showDownloadButton: InputSignal<boolean> = input(true);
67
- showDeleteButton: InputSignal<boolean> = input(true);
68
- uploading: InputSignal<boolean> = input(false);
69
- uploadedFiles: InputSignal<IssAttachment[]> = input<IssAttachment[]>([]);
70
- uploadingError: InputSignal<string | undefined> = input<string | undefined>(undefined);
71
- filesValue: Signal<any> = computed(() => this.#returnAttachmentViewObject());
72
- protected attachments: WritableSignal<IssFile[]> = signal([]);
73
- #uploadedFilesEffectRef = effect(() => {
74
- this.#markUploadedFiles();
75
- this.filesValue = computed(() => this.#returnAttachmentViewObject());
76
- });
77
-
78
- ngOnDestroy(): void {
79
- this.#uploadedFilesEffectRef.destroy();
80
- }
81
-
82
- override writeValue(val: FormData | string | null): void {
83
- if (typeof val === "string") {
84
- return;
85
- }
86
- this.#reset();
87
- if (val) {
88
- this.attachments.set([...this.attachments(), ...this.#convertFormDataToFiles(val)]);
89
- }
90
- }
91
-
92
- protected onDelete(files: IssFile[]): void {
93
- this.attachments.set(files);
94
- }
95
-
96
- protected captureFile($event: FileList) {
97
- if (!$event) {
98
- return;
99
- }
100
- if (!$event.length) {
101
- return;
102
- }
103
- this.markAsTouched();
104
- const files: File[] = Array.from($event);
105
- const issFiles: IssFile[] = files.map((file: File): IssFile => {
106
- return {
107
- name: file.name,
108
- size: file.size,
109
- type: file.type,
110
- selected: Date.now(),
111
- file: file,
112
- };
113
- });
114
- this.#updateAttachments(issFiles);
115
- const emission: Signal<FormData | null> = computed(() => this.#formDataFactory(this.attachments()));
116
- this.emitOnChangeEvent(emission());
117
- }
118
-
119
- #updateAttachments(selectedFiles: IssFile[]) {
120
- if (!this.multiple()) {
121
- this.attachments.set([]);
122
- this.attachments()[0] = selectedFiles[0];
123
- return;
124
- }
125
- this.attachments.update((files: IssFile[]) => {
126
- files = [...files, ...selectedFiles];
127
- return files;
128
- });
129
- }
130
-
131
- #formDataFactory(files: IssFile[]): FormData | null {
132
- if (files.length === 0) {
133
- return null;
134
- }
135
- const fd: FormData = new FormData();
136
- let formDataKey = "file";
137
- if (this.multiple()) {
138
- formDataKey = "files";
139
- }
140
- for (let i = 0; i < files.length; i++) {
141
- fd.append(formDataKey, (files[i].file as File));
142
- }
143
- return fd;
144
- }
145
-
146
- #reset() {
147
- this.attachments.set([]);
148
- }
149
-
150
- #convertFormDataToFiles(val: FormData): IssFile[] {
151
- if (!val || !(val instanceof FormData)) {
152
- return [];
153
- }
154
- const files: File[] = [];
155
- for (const pair of val.entries()) {
156
- if (pair[1] instanceof File) {
157
- files.push(pair[1]);
158
- }
159
- }
160
- return files;
161
- }
162
-
163
- #markUploadedFiles() {
164
- this.attachments.update((attachments: IssFile[]) => {
165
- return attachments.map((attachment: IssFile) => {
166
- const uploadedFile = this.uploadedFiles().find((f) => f.selected === attachment.selected && f.name === attachment.name);
167
- if (this.uploadingError()) {
168
- attachment.errorMsg = this.uploadingError();
169
- }
170
- if (uploadedFile) {
171
- attachment.id = uploadedFile.id;
172
- }
173
- return attachment;
174
- });
175
- });
176
- }
177
-
178
- #returnAttachmentViewObject() {
179
- return {
180
- config: {
181
- showDownloadButton: this.showDownloadButton(),
182
- showDeleteButton: this.showDownloadButton()
183
- },
184
- ctrlJsonValue: signal(this.attachments())
185
- };
186
- }
187
- }
@@ -1,120 +0,0 @@
1
- import {Component, computed, effect, inject, OnDestroy, Signal, signal, WritableSignal,} from "@angular/core";
2
- import {FormControl, ReactiveFormsModule} from "@angular/forms";
3
- import {MatLabel} from "@angular/material/form-field";
4
- import {catchError, EMPTY} from "rxjs";
5
- import {VIEW_PROVIDER} from "../../../shared/constants/provider.const";
6
- import {IssAttachment} from "../../../shared/interfaces/attachment.interface";
7
- import {IssFile} from "../../../shared/interfaces/file.interface";
8
- import {ValidationMessageComponent} from "../../shared/validation-message.component";
9
- import {WrapperBase} from "../base/wrapper.base";
10
- import {AttachmentViewer} from "./attachment.viewer";
11
- import {FileHandlerService} from "./file-handler.service";
12
- import {FilePickerControl} from "./file-picker.control";
13
-
14
- @Component({
15
- selector: "iss-wrp-file-picker",
16
- viewProviders: [VIEW_PROVIDER],
17
- imports: [
18
- ReactiveFormsModule,
19
- MatLabel,
20
- FilePickerControl,
21
- ValidationMessageComponent,
22
- AttachmentViewer
23
- ],
24
- template: `
25
- @if (field.isVisible() && field.registered()) {
26
- @if (!(field.config.hideLabel)) {
27
- <mat-label>{{ field.label() }}</mat-label>
28
- }
29
- @if (field.mode() === "edit") {
30
- <input type="hidden" [formControlName]="field.name">
31
- <iss-ctrl-file-picker
32
- [formControl]="picker"
33
- [accept]="field.validation.fileType"
34
- [showDeleteButton]="field.config.showDeleteButton"
35
- [showDownloadButton]="field.config.showDownloadButton"
36
- (onChange)="captureFile($event)"
37
- [multiple]="field.config.multiple"
38
- [uploading]="uploading()"
39
- [uploadedFiles]="attachments()"
40
- [uploadingError]="uploadingError()"
41
- />
42
- <iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="ctrl.touched" />
43
- } @else {
44
- <iss-vwr-attachment [uploading]="uploading()" [field]="viewField()" />
45
- }
46
- }
47
- `
48
- })
49
- export class FilePickerWrapper extends WrapperBase implements OnDestroy {
50
- picker = new FormControl();
51
- fileHandlerService = inject(FileHandlerService);
52
- uploading: WritableSignal<boolean> = signal(false);
53
- viewField: Signal<any> = computed(() => this.#generateViewField(this.field.ctrlJsonValue()));
54
- attachments: WritableSignal<IssAttachment[]> = signal([]);
55
- uploadingError = signal<string | undefined>(undefined);
56
- #valueEffect = effect(() => {
57
- if (this.ctrlValueChange() && this.field.value) {
58
- this.fileHandlerService.fetchFiles(this.ctrlValueChange()).subscribe((res: any) => {
59
- const filesOnly = res.map((attachment: any) => attachment.file);
60
- const formDataValue: FormData | null = this.fileHandlerService.formDataFactory(filesOnly, !!this.field.config.multiple);
61
- this.picker.setValue(formDataValue);
62
- this.field.ctrlJsonValue.set(res);
63
- });
64
- }
65
- });
66
-
67
- captureFile(formData: FormData) {
68
- this.uploading.set(true);
69
- const notUploadedFiles: FormData = this.#getNotUploadedFiles(formData);
70
- if (this.fileHandlerService.formDataHasValue(notUploadedFiles)) {
71
- this.fileHandlerService.upload(notUploadedFiles).pipe(
72
- catchError((err) => {
73
- this.uploading.set(false);
74
- this.uploadingError.set(err?.message ?? "Uploading Failed!");
75
- console.error(err);
76
- return EMPTY;
77
- }),
78
- ).subscribe((res: any) => {
79
- this.attachments.set(res);
80
- const stringifiedValue = this.stringifyIssAttachment(this.attachments());
81
- this.ctrl.setValue(stringifiedValue);
82
- this.uploading.set(false);
83
- });
84
- } else {
85
- this.uploading.set(false);
86
- }
87
- }
88
-
89
- stringifyIssAttachment(attachments: IssAttachment[]): string {
90
- return attachments.map((attachment: IssAttachment) => attachment.id).join(",");
91
- }
92
-
93
- override ngOnDestroy() {
94
- super.ngOnDestroy();
95
- this.#valueEffect.destroy();
96
- }
97
-
98
- #generateViewField(value: IssFile[]) {
99
- return {
100
- config: {
101
- showDownloadButton: true,
102
- showDeleteButton: false
103
- },
104
- ctrlJsonValue: signal(value ?? [])
105
- };
106
- }
107
-
108
- #getNotUploadedFiles(formData: FormData): FormData {
109
- const fd: FormData = new FormData();
110
- if (formData) {
111
- for (const pair of formData.entries()) {
112
- const file: IssFile = pair[1] as unknown as IssFile;
113
- if (!file.id) {
114
- fd.append(pair[0], pair[1]);
115
- }
116
- }
117
- }
118
- return fd;
119
- }
120
- }
@@ -1,95 +0,0 @@
1
- import {ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA, effect, EffectRef, input, InputSignal, OnDestroy, output, OutputEmitterRef} from "@angular/core";
2
- import {toSignal} from "@angular/core/rxjs-interop";
3
- import {NG_VALIDATORS, NG_VALUE_ACCESSOR, ReactiveFormsModule, Validator} from "@angular/forms";
4
- import {MatFormFieldModule} from "@angular/material/form-field";
5
- import {MatInput, MatInputModule} from "@angular/material/input";
6
- import {HintsComponent} from "../../shared/hints.component";
7
- import {ControlBase} from "../base/control.base";
8
-
9
- @Component({
10
- selector: "iss-ctrl-input",
11
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
12
- changeDetection: ChangeDetectionStrategy.OnPush,
13
- imports: [
14
- ReactiveFormsModule,
15
- MatFormFieldModule,
16
- HintsComponent,
17
- MatInput,
18
- MatInputModule,
19
- ],
20
- providers: [
21
- {provide: NG_VALUE_ACCESSOR, useExisting: InputControl, multi: true},
22
- {provide: NG_VALIDATORS, useExisting: InputControl, multi: true}
23
- ],
24
- template: `
25
- <mat-form-field floatLabel="auto" class="">
26
- <mat-label class="fs-16 fc-black">
27
- <ng-content select="label"></ng-content>
28
- </mat-label>
29
- <ng-content select="[issPrefix]"></ng-content>
30
- <div (click)="emitPrefixClick()" class="cursor-pointer">
31
- @if (prefixText()) {
32
- <span matTextPrefix>{{ prefixText() }}</span>
33
- }
34
- @if (prefixIcon()) {
35
- <ds-icon matPrefix icon="{{prefixIcon()}}"></ds-icon>
36
- }
37
- </div>
38
- <input
39
- matInput
40
- (blur)="markAsTouched()"
41
- (input)="emitOnChangeEvent()"
42
- [formControl]="ctrl"
43
- [maxlength]="max()"
44
- [minlength]="min()"
45
- [placeholder]="placeholder()"
46
- [type]="type()"
47
- />
48
- <ng-content select="[issSuffix]"></ng-content>
49
- <div (click)="emitSuffixClick()" class="cursor-pointer">
50
- @if (suffixText()) {
51
- <span matTextSuffix>{{ suffixText() }}</span>
52
- }
53
- @if (suffixIcon()) {
54
- <ds-icon matSuffix icon="{{suffixIcon()}}"></ds-icon>
55
- }
56
- </div>
57
- <iss-ctrl-hints [hints]="hints()" />
58
- </mat-form-field>
59
- `
60
- })
61
- export class InputControl extends ControlBase implements Validator, OnDestroy {
62
- type: InputSignal<string> = input("text");
63
- prefixIcon: InputSignal<string> = input("");
64
- prefixText: InputSignal<string> = input("");
65
- suffixIcon: InputSignal<string> = input("");
66
- suffixText: InputSignal<string> = input("");
67
- onPrefixClick: OutputEmitterRef<string> = output();
68
- onSuffixClick: OutputEmitterRef<string> = output();
69
- #ctrlChanges = toSignal(this.ctrl.valueChanges);
70
- #effect: EffectRef = effect(() => {
71
- if (this.#ctrlChanges()) {
72
- this.emitValue(this.#ctrlChanges());
73
- }
74
- });
75
- #disabledEffect: EffectRef = effect(() => {
76
- if (this.disabled()) {
77
- this.ctrl.disable();
78
- } else {
79
- this.ctrl.enable();
80
- }
81
- });
82
-
83
- emitSuffixClick() {
84
- this.onSuffixClick.emit(this.ctrl.getRawValue());
85
- }
86
-
87
- emitPrefixClick() {
88
- this.onPrefixClick.emit(this.ctrl.getRawValue());
89
- }
90
-
91
- ngOnDestroy() {
92
- this.#effect.destroy();
93
- this.#disabledEffect.destroy();
94
- }
95
- }
@@ -1,11 +0,0 @@
1
- import {Component} from "@angular/core";
2
- import {ViewerBase} from "../base/viewer.base";
3
-
4
- @Component({
5
- selector: "iss-vwr-input",
6
- standalone: true,
7
- template: `
8
- {{ field().ctrlValue() }}
9
- `,
10
- })
11
- export class InputViewer extends ViewerBase {}
@@ -1,40 +0,0 @@
1
- import {Component} from "@angular/core";
2
- import {ReactiveFormsModule} from "@angular/forms";
3
- import {MatLabel} from "@angular/material/form-field";
4
- import {VIEW_PROVIDER} from "../../../shared/constants/provider.const";
5
- import {ValidationMessageComponent} from "../../shared/validation-message.component";
6
- import {WrapperBase} from "../base/wrapper.base";
7
- import {InputControl} from "./input.control";
8
- import {InputViewer} from "./input.viewer";
9
-
10
- @Component({
11
- selector: "iss-wrp-input",
12
- viewProviders: [VIEW_PROVIDER],
13
- imports: [
14
- ReactiveFormsModule,
15
- MatLabel,
16
- InputControl,
17
- InputViewer,
18
- ValidationMessageComponent
19
- ],
20
- template: `
21
- @if (field.isVisible() && field.registered()) {
22
- @if (!(field.config.hideLabel)) {
23
- <mat-label>{{ field.label() }}</mat-label>
24
- }
25
- @if (field.mode() === "edit") {
26
- <iss-ctrl-input
27
- [formControlName]="field.name"
28
- [type]="field.config.type ?? ''"
29
- [placeholder]="field.config.placeholder ?? ''"
30
- [min]="field.config.min ?? null"
31
- [max]="field.config.max ?? null"
32
- />
33
- <iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched" />
34
- } @else {
35
- <iss-vwr-input [field]="field" />
36
- }
37
- }
38
- `
39
- })
40
- export class InputWrapper extends WrapperBase {}