iss-ctrl 0.0.2 → 0.0.3

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 (1034) hide show
  1. package/.editorconfig +13 -0
  2. package/.eslintrc.json +90 -0
  3. package/README.md +25 -24
  4. package/angular.json +190 -0
  5. package/bun.lock +1998 -0
  6. package/package.json +48 -19
  7. package/projects/iss/.eslintrc.json +37 -0
  8. package/projects/iss/README.md +24 -0
  9. package/projects/iss/ng-package.json +10 -0
  10. package/projects/iss/package.json +17 -0
  11. package/projects/iss/src/components/controls/base/control.base.ts +77 -0
  12. package/projects/iss/src/components/controls/base/viewer.base.ts +8 -0
  13. package/projects/iss/src/components/controls/base/wrapper.base.ts +85 -0
  14. package/projects/iss/src/components/controls/checkbox/checkbox.control.ts +93 -0
  15. package/projects/iss/src/components/controls/checkbox/checkbox.viewer.ts +15 -0
  16. package/projects/iss/src/components/controls/checkbox/checkbox.wrapper.ts +36 -0
  17. package/projects/iss/src/components/controls/chips/chips.control.ts +99 -0
  18. package/projects/iss/src/components/controls/chips/chips.viewer.ts +23 -0
  19. package/projects/iss/src/components/controls/chips/chips.wrapper.ts +31 -0
  20. package/projects/iss/src/components/controls/date-picker/date-picker.control.ts +85 -0
  21. package/projects/iss/src/components/controls/date-picker/date-picker.viewer.ts +14 -0
  22. package/projects/iss/src/components/controls/date-picker/date-picker.wrapper.ts +35 -0
  23. package/projects/iss/src/components/controls/date-range-picker/date-range-picker.control.ts +143 -0
  24. package/projects/iss/src/components/controls/date-range-picker/date-range-picker.viewer.ts +22 -0
  25. package/projects/iss/src/components/controls/date-range-picker/date-range-picker.wrapper.ts +35 -0
  26. package/projects/iss/src/components/controls/datetime-picker/datetime-picker.control.ts +109 -0
  27. package/projects/iss/src/components/controls/datetime-picker/datetime-picker.viewer.ts +17 -0
  28. package/projects/iss/src/components/controls/datetime-picker/datetime-picker.wrapper.ts +38 -0
  29. package/projects/iss/src/components/controls/file-picker/attachment.viewer.ts +165 -0
  30. package/projects/iss/src/components/controls/file-picker/droppable.directive.ts +28 -0
  31. package/projects/iss/src/components/controls/file-picker/file-handler.service.ts +115 -0
  32. package/projects/iss/src/components/controls/file-picker/file-picker.control.ts +187 -0
  33. package/projects/iss/src/components/controls/file-picker/file-picker.wrapper.ts +120 -0
  34. package/projects/iss/src/components/controls/input/input.control.ts +95 -0
  35. package/projects/iss/src/components/controls/input/input.viewer.ts +11 -0
  36. package/projects/iss/src/components/controls/input/input.wrapper.ts +40 -0
  37. package/projects/iss/src/components/controls/mobile/flags/ad.svg +282 -0
  38. package/projects/iss/src/components/controls/mobile/flags/ae.svg +6 -0
  39. package/projects/iss/src/components/controls/mobile/flags/af.svg +9 -0
  40. package/projects/iss/src/components/controls/mobile/flags/ag.svg +15 -0
  41. package/projects/iss/src/components/controls/mobile/flags/ai.svg +35 -0
  42. package/projects/iss/src/components/controls/mobile/flags/al.svg +7 -0
  43. package/projects/iss/src/components/controls/mobile/flags/am.svg +5 -0
  44. package/projects/iss/src/components/controls/mobile/flags/ao.svg +19 -0
  45. package/projects/iss/src/components/controls/mobile/flags/aq.svg +45 -0
  46. package/projects/iss/src/components/controls/mobile/flags/ar.svg +66 -0
  47. package/projects/iss/src/components/controls/mobile/flags/as.svg +225 -0
  48. package/projects/iss/src/components/controls/mobile/flags/at.svg +4 -0
  49. package/projects/iss/src/components/controls/mobile/flags/au.svg +32 -0
  50. package/projects/iss/src/components/controls/mobile/flags/aw.svg +11 -0
  51. package/projects/iss/src/components/controls/mobile/flags/ax.svg +11 -0
  52. package/projects/iss/src/components/controls/mobile/flags/az.svg +11 -0
  53. package/projects/iss/src/components/controls/mobile/flags/ba.svg +18 -0
  54. package/projects/iss/src/components/controls/mobile/flags/bb.svg +11 -0
  55. package/projects/iss/src/components/controls/mobile/flags/bd.svg +4 -0
  56. package/projects/iss/src/components/controls/mobile/flags/be.svg +5 -0
  57. package/projects/iss/src/components/controls/mobile/flags/bf.svg +14 -0
  58. package/projects/iss/src/components/controls/mobile/flags/bg.svg +5 -0
  59. package/projects/iss/src/components/controls/mobile/flags/bh.svg +4 -0
  60. package/projects/iss/src/components/controls/mobile/flags/bi.svg +26 -0
  61. package/projects/iss/src/components/controls/mobile/flags/bj.svg +5 -0
  62. package/projects/iss/src/components/controls/mobile/flags/bl.svg +5 -0
  63. package/projects/iss/src/components/controls/mobile/flags/bm.svg +374 -0
  64. package/projects/iss/src/components/controls/mobile/flags/bn.svg +70 -0
  65. package/projects/iss/src/components/controls/mobile/flags/bo.svg +3625 -0
  66. package/projects/iss/src/components/controls/mobile/flags/bq.svg +5 -0
  67. package/projects/iss/src/components/controls/mobile/flags/br.svg +92 -0
  68. package/projects/iss/src/components/controls/mobile/flags/bs.svg +5 -0
  69. package/projects/iss/src/components/controls/mobile/flags/bt.svg +487 -0
  70. package/projects/iss/src/components/controls/mobile/flags/bv.svg +11 -0
  71. package/projects/iss/src/components/controls/mobile/flags/bw.svg +5 -0
  72. package/projects/iss/src/components/controls/mobile/flags/by.svg +15 -0
  73. package/projects/iss/src/components/controls/mobile/flags/bz.svg +629 -0
  74. package/projects/iss/src/components/controls/mobile/flags/ca.svg +7 -0
  75. package/projects/iss/src/components/controls/mobile/flags/cc.svg +33 -0
  76. package/projects/iss/src/components/controls/mobile/flags/cd.svg +5 -0
  77. package/projects/iss/src/components/controls/mobile/flags/cf.svg +7 -0
  78. package/projects/iss/src/components/controls/mobile/flags/cg.svg +5 -0
  79. package/projects/iss/src/components/controls/mobile/flags/ch.svg +4 -0
  80. package/projects/iss/src/components/controls/mobile/flags/ci.svg +5 -0
  81. package/projects/iss/src/components/controls/mobile/flags/ck.svg +29 -0
  82. package/projects/iss/src/components/controls/mobile/flags/cl.svg +14 -0
  83. package/projects/iss/src/components/controls/mobile/flags/cm.svg +15 -0
  84. package/projects/iss/src/components/controls/mobile/flags/cn.svg +11 -0
  85. package/projects/iss/src/components/controls/mobile/flags/co.svg +5 -0
  86. package/projects/iss/src/components/controls/mobile/flags/cr.svg +1332 -0
  87. package/projects/iss/src/components/controls/mobile/flags/cu.svg +6 -0
  88. package/projects/iss/src/components/controls/mobile/flags/cv.svg +24 -0
  89. package/projects/iss/src/components/controls/mobile/flags/cw.svg +16 -0
  90. package/projects/iss/src/components/controls/mobile/flags/cx.svg +24 -0
  91. package/projects/iss/src/components/controls/mobile/flags/cy.svg +13 -0
  92. package/projects/iss/src/components/controls/mobile/flags/cz.svg +5 -0
  93. package/projects/iss/src/components/controls/mobile/flags/de.svg +5 -0
  94. package/projects/iss/src/components/controls/mobile/flags/dj.svg +6 -0
  95. package/projects/iss/src/components/controls/mobile/flags/dk.svg +5 -0
  96. package/projects/iss/src/components/controls/mobile/flags/dm.svg +198 -0
  97. package/projects/iss/src/components/controls/mobile/flags/do.svg +238 -0
  98. package/projects/iss/src/components/controls/mobile/flags/dz.svg +5 -0
  99. package/projects/iss/src/components/controls/mobile/flags/ec.svg +1292 -0
  100. package/projects/iss/src/components/controls/mobile/flags/ee.svg +5 -0
  101. package/projects/iss/src/components/controls/mobile/flags/eg.svg +125 -0
  102. package/projects/iss/src/components/controls/mobile/flags/eh.svg +12 -0
  103. package/projects/iss/src/components/controls/mobile/flags/er.svg +9 -0
  104. package/projects/iss/src/components/controls/mobile/flags/es.svg +445 -0
  105. package/projects/iss/src/components/controls/mobile/flags/et.svg +16 -0
  106. package/projects/iss/src/components/controls/mobile/flags/eu.svg +28 -0
  107. package/projects/iss/src/components/controls/mobile/flags/fi.svg +5 -0
  108. package/projects/iss/src/components/controls/mobile/flags/fj.svg +203 -0
  109. package/projects/iss/src/components/controls/mobile/flags/fk.svg +922 -0
  110. package/projects/iss/src/components/controls/mobile/flags/flags.png +0 -0
  111. package/projects/iss/src/components/controls/mobile/flags/flags@2x.png +0 -0
  112. package/projects/iss/src/components/controls/mobile/flags/fm.svg +16 -0
  113. package/projects/iss/src/components/controls/mobile/flags/fo.svg +11 -0
  114. package/projects/iss/src/components/controls/mobile/flags/fonts.css +271 -0
  115. package/projects/iss/src/components/controls/mobile/flags/fr.svg +5 -0
  116. package/projects/iss/src/components/controls/mobile/flags/ga.svg +5 -0
  117. package/projects/iss/src/components/controls/mobile/flags/gb-eng.svg +7 -0
  118. package/projects/iss/src/components/controls/mobile/flags/gb-nir.svg +15 -0
  119. package/projects/iss/src/components/controls/mobile/flags/gb-sct.svg +11 -0
  120. package/projects/iss/src/components/controls/mobile/flags/gb-wls.svg +16 -0
  121. package/projects/iss/src/components/controls/mobile/flags/gb.svg +15 -0
  122. package/projects/iss/src/components/controls/mobile/flags/gd.svg +11 -0
  123. package/projects/iss/src/components/controls/mobile/flags/ge.svg +17 -0
  124. package/projects/iss/src/components/controls/mobile/flags/gf.svg +5 -0
  125. package/projects/iss/src/components/controls/mobile/flags/gg.svg +8 -0
  126. package/projects/iss/src/components/controls/mobile/flags/gh.svg +6 -0
  127. package/projects/iss/src/components/controls/mobile/flags/gi.svg +69 -0
  128. package/projects/iss/src/components/controls/mobile/flags/gl.svg +4 -0
  129. package/projects/iss/src/components/controls/mobile/flags/gm.svg +7 -0
  130. package/projects/iss/src/components/controls/mobile/flags/gn.svg +5 -0
  131. package/projects/iss/src/components/controls/mobile/flags/gp.svg +5 -0
  132. package/projects/iss/src/components/controls/mobile/flags/gq.svg +88 -0
  133. package/projects/iss/src/components/controls/mobile/flags/gr.svg +4 -0
  134. package/projects/iss/src/components/controls/mobile/flags/gs.svg +693 -0
  135. package/projects/iss/src/components/controls/mobile/flags/gt.svg +317 -0
  136. package/projects/iss/src/components/controls/mobile/flags/gu.svg +58 -0
  137. package/projects/iss/src/components/controls/mobile/flags/gw.svg +13 -0
  138. package/projects/iss/src/components/controls/mobile/flags/gy.svg +7 -0
  139. package/projects/iss/src/components/controls/mobile/flags/hk.svg +17 -0
  140. package/projects/iss/src/components/controls/mobile/flags/hm.svg +32 -0
  141. package/projects/iss/src/components/controls/mobile/flags/hn.svg +10 -0
  142. package/projects/iss/src/components/controls/mobile/flags/hr.svg +282 -0
  143. package/projects/iss/src/components/controls/mobile/flags/ht.svg +1470 -0
  144. package/projects/iss/src/components/controls/mobile/flags/hu.svg +5 -0
  145. package/projects/iss/src/components/controls/mobile/flags/id.svg +4 -0
  146. package/projects/iss/src/components/controls/mobile/flags/ie.svg +5 -0
  147. package/projects/iss/src/components/controls/mobile/flags/il.svg +5 -0
  148. package/projects/iss/src/components/controls/mobile/flags/im.svg +33 -0
  149. package/projects/iss/src/components/controls/mobile/flags/in.svg +25 -0
  150. package/projects/iss/src/components/controls/mobile/flags/io.svg +895 -0
  151. package/projects/iss/src/components/controls/mobile/flags/iq.svg +12 -0
  152. package/projects/iss/src/components/controls/mobile/flags/ir.svg +31 -0
  153. package/projects/iss/src/components/controls/mobile/flags/is.svg +5 -0
  154. package/projects/iss/src/components/controls/mobile/flags/it.svg +5 -0
  155. package/projects/iss/src/components/controls/mobile/flags/je.svg +40 -0
  156. package/projects/iss/src/components/controls/mobile/flags/jm.svg +9 -0
  157. package/projects/iss/src/components/controls/mobile/flags/jo.svg +10 -0
  158. package/projects/iss/src/components/controls/mobile/flags/jp.svg +4 -0
  159. package/projects/iss/src/components/controls/mobile/flags/ke.svg +28 -0
  160. package/projects/iss/src/components/controls/mobile/flags/kg.svg +7 -0
  161. package/projects/iss/src/components/controls/mobile/flags/kh.svg +133 -0
  162. package/projects/iss/src/components/controls/mobile/flags/ki.svg +54 -0
  163. package/projects/iss/src/components/controls/mobile/flags/km.svg +13 -0
  164. package/projects/iss/src/components/controls/mobile/flags/kn.svg +24 -0
  165. package/projects/iss/src/components/controls/mobile/flags/kp.svg +16 -0
  166. package/projects/iss/src/components/controls/mobile/flags/kr.svg +16 -0
  167. package/projects/iss/src/components/controls/mobile/flags/kw.svg +6 -0
  168. package/projects/iss/src/components/controls/mobile/flags/ky.svg +153 -0
  169. package/projects/iss/src/components/controls/mobile/flags/kz.svg +49 -0
  170. package/projects/iss/src/components/controls/mobile/flags/la.svg +5 -0
  171. package/projects/iss/src/components/controls/mobile/flags/lb.svg +8 -0
  172. package/projects/iss/src/components/controls/mobile/flags/lc.svg +6 -0
  173. package/projects/iss/src/components/controls/mobile/flags/li.svg +75 -0
  174. package/projects/iss/src/components/controls/mobile/flags/lk.svg +50 -0
  175. package/projects/iss/src/components/controls/mobile/flags/lr.svg +15 -0
  176. package/projects/iss/src/components/controls/mobile/flags/ls.svg +32 -0
  177. package/projects/iss/src/components/controls/mobile/flags/lt.svg +5 -0
  178. package/projects/iss/src/components/controls/mobile/flags/lu.svg +5 -0
  179. package/projects/iss/src/components/controls/mobile/flags/lv.svg +4 -0
  180. package/projects/iss/src/components/controls/mobile/flags/ly.svg +8 -0
  181. package/projects/iss/src/components/controls/mobile/flags/ma.svg +4 -0
  182. package/projects/iss/src/components/controls/mobile/flags/mc.svg +4 -0
  183. package/projects/iss/src/components/controls/mobile/flags/md.svg +102 -0
  184. package/projects/iss/src/components/controls/mobile/flags/me.svg +240 -0
  185. package/projects/iss/src/components/controls/mobile/flags/mf.svg +5 -0
  186. package/projects/iss/src/components/controls/mobile/flags/mg.svg +5 -0
  187. package/projects/iss/src/components/controls/mobile/flags/mh.svg +18 -0
  188. package/projects/iss/src/components/controls/mobile/flags/mk.svg +6 -0
  189. package/projects/iss/src/components/controls/mobile/flags/ml.svg +5 -0
  190. package/projects/iss/src/components/controls/mobile/flags/mm.svg +12 -0
  191. package/projects/iss/src/components/controls/mobile/flags/mn.svg +12 -0
  192. package/projects/iss/src/components/controls/mobile/flags/mo.svg +13 -0
  193. package/projects/iss/src/components/controls/mobile/flags/mp.svg +2919 -0
  194. package/projects/iss/src/components/controls/mobile/flags/mq.svg +5 -0
  195. package/projects/iss/src/components/controls/mobile/flags/mr.svg +5 -0
  196. package/projects/iss/src/components/controls/mobile/flags/ms.svg +59 -0
  197. package/projects/iss/src/components/controls/mobile/flags/mt.svg +52 -0
  198. package/projects/iss/src/components/controls/mobile/flags/mu.svg +6 -0
  199. package/projects/iss/src/components/controls/mobile/flags/mv.svg +8 -0
  200. package/projects/iss/src/components/controls/mobile/flags/mw.svg +24 -0
  201. package/projects/iss/src/components/controls/mobile/flags/mx.svg +1129 -0
  202. package/projects/iss/src/components/controls/mobile/flags/my.svg +12 -0
  203. package/projects/iss/src/components/controls/mobile/flags/mz.svg +50 -0
  204. package/projects/iss/src/components/controls/mobile/flags/na.svg +17 -0
  205. package/projects/iss/src/components/controls/mobile/flags/nc.svg +5 -0
  206. package/projects/iss/src/components/controls/mobile/flags/ne.svg +6 -0
  207. package/projects/iss/src/components/controls/mobile/flags/nf.svg +8 -0
  208. package/projects/iss/src/components/controls/mobile/flags/ng.svg +4 -0
  209. package/projects/iss/src/components/controls/mobile/flags/ni.svg +281 -0
  210. package/projects/iss/src/components/controls/mobile/flags/nl.svg +5 -0
  211. package/projects/iss/src/components/controls/mobile/flags/no.svg +11 -0
  212. package/projects/iss/src/components/controls/mobile/flags/np.svg +33 -0
  213. package/projects/iss/src/components/controls/mobile/flags/nr.svg +8 -0
  214. package/projects/iss/src/components/controls/mobile/flags/nu.svg +23 -0
  215. package/projects/iss/src/components/controls/mobile/flags/nz.svg +37 -0
  216. package/projects/iss/src/components/controls/mobile/flags/om.svg +307 -0
  217. package/projects/iss/src/components/controls/mobile/flags/pa.svg +15 -0
  218. package/projects/iss/src/components/controls/mobile/flags/pe.svg +767 -0
  219. package/projects/iss/src/components/controls/mobile/flags/pf.svg +38 -0
  220. package/projects/iss/src/components/controls/mobile/flags/pg.svg +16 -0
  221. package/projects/iss/src/components/controls/mobile/flags/ph.svg +28 -0
  222. package/projects/iss/src/components/controls/mobile/flags/pk.svg +7 -0
  223. package/projects/iss/src/components/controls/mobile/flags/pl.svg +4 -0
  224. package/projects/iss/src/components/controls/mobile/flags/pm.svg +5 -0
  225. package/projects/iss/src/components/controls/mobile/flags/pn.svg +131 -0
  226. package/projects/iss/src/components/controls/mobile/flags/pr.svg +6 -0
  227. package/projects/iss/src/components/controls/mobile/flags/ps.svg +6 -0
  228. package/projects/iss/src/components/controls/mobile/flags/pt.svg +79 -0
  229. package/projects/iss/src/components/controls/mobile/flags/pw.svg +4 -0
  230. package/projects/iss/src/components/controls/mobile/flags/py.svg +192 -0
  231. package/projects/iss/src/components/controls/mobile/flags/qa.svg +7 -0
  232. package/projects/iss/src/components/controls/mobile/flags/re.svg +5 -0
  233. package/projects/iss/src/components/controls/mobile/flags/ro.svg +5 -0
  234. package/projects/iss/src/components/controls/mobile/flags/rs.svg +1143 -0
  235. package/projects/iss/src/components/controls/mobile/flags/ru.svg +5 -0
  236. package/projects/iss/src/components/controls/mobile/flags/rw.svg +17 -0
  237. package/projects/iss/src/components/controls/mobile/flags/sa.svg +23 -0
  238. package/projects/iss/src/components/controls/mobile/flags/sb.svg +30 -0
  239. package/projects/iss/src/components/controls/mobile/flags/sc.svg +7 -0
  240. package/projects/iss/src/components/controls/mobile/flags/sd.svg +6 -0
  241. package/projects/iss/src/components/controls/mobile/flags/se.svg +5 -0
  242. package/projects/iss/src/components/controls/mobile/flags/sg.svg +15 -0
  243. package/projects/iss/src/components/controls/mobile/flags/sh.svg +15 -0
  244. package/projects/iss/src/components/controls/mobile/flags/si.svg +30 -0
  245. package/projects/iss/src/components/controls/mobile/flags/sj.svg +11 -0
  246. package/projects/iss/src/components/controls/mobile/flags/sk.svg +21 -0
  247. package/projects/iss/src/components/controls/mobile/flags/sl.svg +5 -0
  248. package/projects/iss/src/components/controls/mobile/flags/sm.svg +847 -0
  249. package/projects/iss/src/components/controls/mobile/flags/sn.svg +15 -0
  250. package/projects/iss/src/components/controls/mobile/flags/so.svg +13 -0
  251. package/projects/iss/src/components/controls/mobile/flags/sr.svg +6 -0
  252. package/projects/iss/src/components/controls/mobile/flags/ss.svg +8 -0
  253. package/projects/iss/src/components/controls/mobile/flags/st.svg +16 -0
  254. package/projects/iss/src/components/controls/mobile/flags/stc-icons.css +1 -0
  255. package/projects/iss/src/components/controls/mobile/flags/sv.svg +3368 -0
  256. package/projects/iss/src/components/controls/mobile/flags/sx.svg +172 -0
  257. package/projects/iss/src/components/controls/mobile/flags/sy.svg +6 -0
  258. package/projects/iss/src/components/controls/mobile/flags/sz.svg +54 -0
  259. package/projects/iss/src/components/controls/mobile/flags/tc.svg +88 -0
  260. package/projects/iss/src/components/controls/mobile/flags/td.svg +5 -0
  261. package/projects/iss/src/components/controls/mobile/flags/tf.svg +18 -0
  262. package/projects/iss/src/components/controls/mobile/flags/tg.svg +15 -0
  263. package/projects/iss/src/components/controls/mobile/flags/th.svg +5 -0
  264. package/projects/iss/src/components/controls/mobile/flags/tj.svg +32 -0
  265. package/projects/iss/src/components/controls/mobile/flags/tk.svg +25 -0
  266. package/projects/iss/src/components/controls/mobile/flags/tl.svg +6 -0
  267. package/projects/iss/src/components/controls/mobile/flags/tm.svg +349 -0
  268. package/projects/iss/src/components/controls/mobile/flags/tn.svg +9 -0
  269. package/projects/iss/src/components/controls/mobile/flags/to.svg +8 -0
  270. package/projects/iss/src/components/controls/mobile/flags/tr.svg +6 -0
  271. package/projects/iss/src/components/controls/mobile/flags/tt.svg +5 -0
  272. package/projects/iss/src/components/controls/mobile/flags/tv.svg +18 -0
  273. package/projects/iss/src/components/controls/mobile/flags/tw.svg +12 -0
  274. package/projects/iss/src/components/controls/mobile/flags/tz.svg +13 -0
  275. package/projects/iss/src/components/controls/mobile/flags/ua.svg +4 -0
  276. package/projects/iss/src/components/controls/mobile/flags/ug.svg +46 -0
  277. package/projects/iss/src/components/controls/mobile/flags/um.svg +25 -0
  278. package/projects/iss/src/components/controls/mobile/flags/us.svg +25 -0
  279. package/projects/iss/src/components/controls/mobile/flags/uy.svg +138 -0
  280. package/projects/iss/src/components/controls/mobile/flags/uz.svg +30 -0
  281. package/projects/iss/src/components/controls/mobile/flags/va.svg +277 -0
  282. package/projects/iss/src/components/controls/mobile/flags/vc.svg +9 -0
  283. package/projects/iss/src/components/controls/mobile/flags/ve.svg +28 -0
  284. package/projects/iss/src/components/controls/mobile/flags/vg.svg +96 -0
  285. package/projects/iss/src/components/controls/mobile/flags/vi.svg +311 -0
  286. package/projects/iss/src/components/controls/mobile/flags/vn.svg +12 -0
  287. package/projects/iss/src/components/controls/mobile/flags/vu.svg +20 -0
  288. package/projects/iss/src/components/controls/mobile/flags/wf.svg +7 -0
  289. package/projects/iss/src/components/controls/mobile/flags/ws.svg +14 -0
  290. package/projects/iss/src/components/controls/mobile/flags/xk.svg +11 -0
  291. package/projects/iss/src/components/controls/mobile/flags/ye.svg +5 -0
  292. package/projects/iss/src/components/controls/mobile/flags/yt.svg +5 -0
  293. package/projects/iss/src/components/controls/mobile/flags/za.svg +17 -0
  294. package/projects/iss/src/components/controls/mobile/flags/zm.svg +20 -0
  295. package/projects/iss/src/components/controls/mobile/flags/zw.svg +130 -0
  296. package/projects/iss/src/components/controls/mobile/mobile.control.ts +222 -0
  297. package/projects/iss/src/components/controls/mobile/mobile.viewer.ts +11 -0
  298. package/projects/iss/src/components/controls/mobile/mobile.wrapper.ts +32 -0
  299. package/projects/iss/src/components/controls/mobile/phone.service.ts +96 -0
  300. package/projects/iss/src/components/controls/note/note.wrapper.ts +25 -0
  301. package/projects/iss/src/components/controls/plate/plate-letter.pipe.ts +14 -0
  302. package/projects/iss/src/components/controls/plate/plate-number.wrapper.ts +36 -0
  303. package/projects/iss/src/components/controls/plate/plate.control.ts +481 -0
  304. package/projects/iss/src/components/controls/plate/plate.viewer.ts +289 -0
  305. package/projects/iss/src/components/controls/radio/radio.control.ts +48 -0
  306. package/projects/iss/src/components/controls/radio/radio.viewer.ts +14 -0
  307. package/projects/iss/src/components/controls/radio/radio.wrapper.ts +38 -0
  308. package/projects/iss/src/components/controls/select/select.control.ts +261 -0
  309. package/projects/iss/src/components/controls/select/select.viewer.ts +14 -0
  310. package/projects/iss/src/components/controls/select/select.wrapper.ts +41 -0
  311. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.control.ts +24 -0
  312. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.viewer.ts +14 -0
  313. package/projects/iss/src/components/controls/slide-toggle/slide-toggle.wrapper.ts +31 -0
  314. package/projects/iss/src/components/controls/table/field.viewer.ts +23 -0
  315. package/projects/iss/src/components/controls/table/table.wrapper.ts +233 -0
  316. package/projects/iss/src/components/controls/textarea/textarea.control.ts +54 -0
  317. package/projects/iss/src/components/controls/textarea/textarea.viewer.ts +11 -0
  318. package/projects/iss/src/components/controls/textarea/textarea.wrapper.ts +34 -0
  319. package/projects/iss/src/components/controls/time-picker/time-picker.control.ts +86 -0
  320. package/projects/iss/src/components/controls/time-picker/time-picker.viewer.ts +10 -0
  321. package/projects/iss/src/components/controls/time-picker/time-picker.wrapper.ts +31 -0
  322. package/projects/iss/src/components/controls/toggle-button/toggle-button.control.ts +105 -0
  323. package/projects/iss/src/components/controls/toggle-button/toggle-button.viewer.ts +15 -0
  324. package/projects/iss/src/components/controls/toggle-button/toggle-button.wrapper.ts +40 -0
  325. package/projects/iss/src/components/controls/user-picker/employee.service.ts +73 -0
  326. package/projects/iss/src/components/controls/user-picker/user-picker.wrapper.ts +128 -0
  327. package/projects/iss/src/components/outlet/field-data-injector.pipe.ts +20 -0
  328. package/projects/iss/src/components/outlet/outlet.ts +152 -0
  329. package/projects/iss/src/components/shared/hints.component.ts +38 -0
  330. package/projects/iss/src/components/shared/validation-message.component.ts +36 -0
  331. package/projects/iss/src/events/event-handler.service.ts +47 -0
  332. package/projects/iss/src/events/load/after-fetch.service.ts +29 -0
  333. package/projects/iss/src/events/load/load-event.service.ts +26 -0
  334. package/projects/iss/src/events/load/load-options-event.service.ts +51 -0
  335. package/projects/iss/src/events/load/load-value-event.service.ts +50 -0
  336. package/projects/iss/src/events/load/replace-api-keys.service.ts +55 -0
  337. package/projects/iss/src/events/set-value/get-value-to-set.service.ts +29 -0
  338. package/projects/iss/src/events/set-value/set-value-event.service.ts +33 -0
  339. package/projects/iss/src/events/show/show-event.service.ts +11 -0
  340. package/projects/iss/src/events/triggers/action-trigger-manager.service.ts +51 -0
  341. package/projects/iss/src/events/triggers/action-trigger.service.ts +30 -0
  342. package/projects/iss/src/events/triggers/trigger-based-on-json-value.service.ts +19 -0
  343. package/projects/iss/src/public-api.ts +102 -0
  344. package/projects/iss/src/shared/classes/field-action-config.ts +56 -0
  345. package/projects/iss/src/shared/classes/field-action.ts +28 -0
  346. package/projects/iss/src/shared/classes/field-async-validation.ts +7 -0
  347. package/projects/iss/src/shared/classes/field-config.ts +113 -0
  348. package/projects/iss/src/shared/classes/field-option.ts +9 -0
  349. package/projects/iss/src/shared/classes/field-validation.ts +15 -0
  350. package/projects/iss/src/shared/classes/form-field.ts +94 -0
  351. package/projects/iss/src/shared/constants/countries.const.ts +2051 -0
  352. package/projects/iss/src/shared/constants/date.const.ts +18 -0
  353. package/projects/iss/src/shared/constants/plate-letters.const.ts +21 -0
  354. package/projects/iss/src/shared/constants/provider.const.ts +7 -0
  355. package/projects/iss/src/shared/constants/regex.const.ts +1 -0
  356. package/projects/iss/src/shared/constants/validation.const.ts +115 -0
  357. package/projects/iss/src/shared/indexes/components.index.ts +27 -0
  358. package/projects/iss/src/shared/indexes/services.index.ts +11 -0
  359. package/projects/iss/src/shared/indexes/validators.index.ts +21 -0
  360. package/projects/iss/src/shared/interfaces/action.interface.ts +7 -0
  361. package/projects/iss/src/shared/interfaces/attachment.interface.ts +7 -0
  362. package/projects/iss/src/shared/interfaces/country.interface.ts +11 -0
  363. package/projects/iss/src/shared/interfaces/date-range.interface.ts +5 -0
  364. package/projects/iss/src/shared/interfaces/datetime.interface.ts +4 -0
  365. package/projects/iss/src/shared/interfaces/dto.interface.ts +12 -0
  366. package/projects/iss/src/shared/interfaces/field.interface.ts +27 -0
  367. package/projects/iss/src/shared/interfaces/file.interface.ts +9 -0
  368. package/projects/iss/src/shared/interfaces/hint.interface.ts +8 -0
  369. package/projects/iss/src/shared/interfaces/i18n.interface.ts +4 -0
  370. package/projects/iss/src/shared/interfaces/import.interface.ts +3 -0
  371. package/projects/iss/src/shared/interfaces/mobile.interface.ts +12 -0
  372. package/projects/iss/src/shared/interfaces/option.interface.ts +4 -0
  373. package/projects/iss/src/shared/interfaces/outlet.interface.ts +8 -0
  374. package/projects/iss/src/shared/interfaces/plate-letter.interface.ts +7 -0
  375. package/projects/iss/src/shared/interfaces/validation.interface.ts +5 -0
  376. package/projects/iss/src/shared/pipes/arabic-number.pipe.ts +14 -0
  377. package/projects/iss/src/shared/pipes/select-status.pipe.ts +10 -0
  378. package/projects/iss/src/shared/pipes/translate.pipe.ts +20 -0
  379. package/projects/iss/src/shared/services/form-engine.service.ts +121 -0
  380. package/projects/iss/src/shared/services/loader.service.ts +51 -0
  381. package/projects/iss/src/shared/tokens/api-response-mapper.token.ts +4 -0
  382. package/projects/iss/src/shared/tokens/attachment.token.ts +6 -0
  383. package/projects/iss/src/shared/tokens/field.token.ts +4 -0
  384. package/projects/iss/src/shared/tokens/host.token.ts +3 -0
  385. package/projects/iss/src/shared/tokens/language.token.ts +3 -0
  386. package/projects/iss/src/shared/tokens/url.token.ts +3 -0
  387. package/projects/iss/src/shared/types/iso2.type.ts +244 -0
  388. package/projects/iss/src/shared/types/validation.type.ts +3 -0
  389. package/projects/iss/src/shared/utilities/array-from.util.ts +7 -0
  390. package/projects/iss/src/shared/utilities/format-file-size.util.ts +9 -0
  391. package/projects/iss/src/shared/utilities/get-property-by-path.util.ts +30 -0
  392. package/projects/iss/src/shared/utilities/http.util.service.ts +19 -0
  393. package/projects/iss/src/shared/utilities/is-valid-api.util.ts +8 -0
  394. package/projects/iss/src/shared/utilities/replace-placeholder.util.ts +12 -0
  395. package/projects/iss/src/validators/core.validator.ts +39 -0
  396. package/projects/iss/src/validators/file.validator.ts +100 -0
  397. package/projects/iss/src/validators/time.validator.ts +31 -0
  398. package/projects/iss/tsconfig.lib.json +13 -0
  399. package/projects/iss/tsconfig.lib.prod.json +9 -0
  400. package/projects/iss/tsconfig.spec.json +13 -0
  401. package/projects/iss/upgrade.scss +68 -0
  402. package/projects/playground/.eslintrc.json +37 -0
  403. package/projects/playground/public/favicon.ico +0 -0
  404. package/projects/playground/public/flags/ad.svg +282 -0
  405. package/projects/playground/public/flags/ae.svg +6 -0
  406. package/projects/playground/public/flags/af.svg +9 -0
  407. package/projects/playground/public/flags/ag.svg +15 -0
  408. package/projects/playground/public/flags/ai.svg +35 -0
  409. package/projects/playground/public/flags/al.svg +7 -0
  410. package/projects/playground/public/flags/am.svg +5 -0
  411. package/projects/playground/public/flags/ao.svg +19 -0
  412. package/projects/playground/public/flags/aq.svg +45 -0
  413. package/projects/playground/public/flags/ar.svg +66 -0
  414. package/projects/playground/public/flags/as.svg +225 -0
  415. package/projects/playground/public/flags/at.svg +4 -0
  416. package/projects/playground/public/flags/au.svg +32 -0
  417. package/projects/playground/public/flags/aw.svg +11 -0
  418. package/projects/playground/public/flags/ax.svg +11 -0
  419. package/projects/playground/public/flags/az.svg +11 -0
  420. package/projects/playground/public/flags/ba.svg +18 -0
  421. package/projects/playground/public/flags/bb.svg +11 -0
  422. package/projects/playground/public/flags/bd.svg +4 -0
  423. package/projects/playground/public/flags/be.svg +5 -0
  424. package/projects/playground/public/flags/bf.svg +14 -0
  425. package/projects/playground/public/flags/bg.svg +5 -0
  426. package/projects/playground/public/flags/bh.svg +4 -0
  427. package/projects/playground/public/flags/bi.svg +26 -0
  428. package/projects/playground/public/flags/bj.svg +5 -0
  429. package/projects/playground/public/flags/bl.svg +5 -0
  430. package/projects/playground/public/flags/bm.svg +374 -0
  431. package/projects/playground/public/flags/bn.svg +70 -0
  432. package/projects/playground/public/flags/bo.svg +3625 -0
  433. package/projects/playground/public/flags/bq.svg +5 -0
  434. package/projects/playground/public/flags/br.svg +92 -0
  435. package/projects/playground/public/flags/bs.svg +5 -0
  436. package/projects/playground/public/flags/bt.svg +487 -0
  437. package/projects/playground/public/flags/bv.svg +11 -0
  438. package/projects/playground/public/flags/bw.svg +5 -0
  439. package/projects/playground/public/flags/by.svg +15 -0
  440. package/projects/playground/public/flags/bz.svg +629 -0
  441. package/projects/playground/public/flags/ca.svg +7 -0
  442. package/projects/playground/public/flags/cc.svg +33 -0
  443. package/projects/playground/public/flags/cd.svg +5 -0
  444. package/projects/playground/public/flags/cf.svg +7 -0
  445. package/projects/playground/public/flags/cg.svg +5 -0
  446. package/projects/playground/public/flags/ch.svg +4 -0
  447. package/projects/playground/public/flags/ci.svg +5 -0
  448. package/projects/playground/public/flags/ck.svg +29 -0
  449. package/projects/playground/public/flags/cl.svg +14 -0
  450. package/projects/playground/public/flags/cm.svg +15 -0
  451. package/projects/playground/public/flags/cn.svg +11 -0
  452. package/projects/playground/public/flags/co.svg +5 -0
  453. package/projects/playground/public/flags/cr.svg +1332 -0
  454. package/projects/playground/public/flags/cu.svg +6 -0
  455. package/projects/playground/public/flags/cv.svg +24 -0
  456. package/projects/playground/public/flags/cw.svg +16 -0
  457. package/projects/playground/public/flags/cx.svg +24 -0
  458. package/projects/playground/public/flags/cy.svg +13 -0
  459. package/projects/playground/public/flags/cz.svg +5 -0
  460. package/projects/playground/public/flags/de.svg +5 -0
  461. package/projects/playground/public/flags/dj.svg +6 -0
  462. package/projects/playground/public/flags/dk.svg +5 -0
  463. package/projects/playground/public/flags/dm.svg +198 -0
  464. package/projects/playground/public/flags/do.svg +238 -0
  465. package/projects/playground/public/flags/dz.svg +5 -0
  466. package/projects/playground/public/flags/ec.svg +1292 -0
  467. package/projects/playground/public/flags/ee.svg +5 -0
  468. package/projects/playground/public/flags/eg.svg +125 -0
  469. package/projects/playground/public/flags/eh.svg +12 -0
  470. package/projects/playground/public/flags/er.svg +9 -0
  471. package/projects/playground/public/flags/es.svg +445 -0
  472. package/projects/playground/public/flags/et.svg +16 -0
  473. package/projects/playground/public/flags/eu.svg +28 -0
  474. package/projects/playground/public/flags/fi.svg +5 -0
  475. package/projects/playground/public/flags/fj.svg +203 -0
  476. package/projects/playground/public/flags/fk.svg +922 -0
  477. package/projects/playground/public/flags/flags.png +0 -0
  478. package/projects/playground/public/flags/flags@2x.png +0 -0
  479. package/projects/playground/public/flags/fm.svg +16 -0
  480. package/projects/playground/public/flags/fo.svg +11 -0
  481. package/projects/playground/public/flags/fonts.css +271 -0
  482. package/projects/playground/public/flags/fr.svg +5 -0
  483. package/projects/playground/public/flags/ga.svg +5 -0
  484. package/projects/playground/public/flags/gb-eng.svg +7 -0
  485. package/projects/playground/public/flags/gb-nir.svg +15 -0
  486. package/projects/playground/public/flags/gb-sct.svg +11 -0
  487. package/projects/playground/public/flags/gb-wls.svg +16 -0
  488. package/projects/playground/public/flags/gb.svg +15 -0
  489. package/projects/playground/public/flags/gd.svg +11 -0
  490. package/projects/playground/public/flags/ge.svg +17 -0
  491. package/projects/playground/public/flags/gf.svg +5 -0
  492. package/projects/playground/public/flags/gg.svg +8 -0
  493. package/projects/playground/public/flags/gh.svg +6 -0
  494. package/projects/playground/public/flags/gi.svg +69 -0
  495. package/projects/playground/public/flags/gl.svg +4 -0
  496. package/projects/playground/public/flags/gm.svg +7 -0
  497. package/projects/playground/public/flags/gn.svg +5 -0
  498. package/projects/playground/public/flags/gp.svg +5 -0
  499. package/projects/playground/public/flags/gq.svg +88 -0
  500. package/projects/playground/public/flags/gr.svg +4 -0
  501. package/projects/playground/public/flags/gs.svg +693 -0
  502. package/projects/playground/public/flags/gt.svg +317 -0
  503. package/projects/playground/public/flags/gu.svg +58 -0
  504. package/projects/playground/public/flags/gw.svg +13 -0
  505. package/projects/playground/public/flags/gy.svg +7 -0
  506. package/projects/playground/public/flags/hk.svg +17 -0
  507. package/projects/playground/public/flags/hm.svg +32 -0
  508. package/projects/playground/public/flags/hn.svg +10 -0
  509. package/projects/playground/public/flags/hr.svg +282 -0
  510. package/projects/playground/public/flags/ht.svg +1470 -0
  511. package/projects/playground/public/flags/hu.svg +5 -0
  512. package/projects/playground/public/flags/id.svg +4 -0
  513. package/projects/playground/public/flags/ie.svg +5 -0
  514. package/projects/playground/public/flags/il.svg +5 -0
  515. package/projects/playground/public/flags/im.svg +33 -0
  516. package/projects/playground/public/flags/in.svg +25 -0
  517. package/projects/playground/public/flags/io.svg +895 -0
  518. package/projects/playground/public/flags/iq.svg +12 -0
  519. package/projects/playground/public/flags/ir.svg +31 -0
  520. package/projects/playground/public/flags/is.svg +5 -0
  521. package/projects/playground/public/flags/it.svg +5 -0
  522. package/projects/playground/public/flags/je.svg +40 -0
  523. package/projects/playground/public/flags/jm.svg +9 -0
  524. package/projects/playground/public/flags/jo.svg +10 -0
  525. package/projects/playground/public/flags/jp.svg +4 -0
  526. package/projects/playground/public/flags/ke.svg +28 -0
  527. package/projects/playground/public/flags/kg.svg +7 -0
  528. package/projects/playground/public/flags/kh.svg +133 -0
  529. package/projects/playground/public/flags/ki.svg +54 -0
  530. package/projects/playground/public/flags/km.svg +13 -0
  531. package/projects/playground/public/flags/kn.svg +24 -0
  532. package/projects/playground/public/flags/kp.svg +16 -0
  533. package/projects/playground/public/flags/kr.svg +16 -0
  534. package/projects/playground/public/flags/kw.svg +6 -0
  535. package/projects/playground/public/flags/ky.svg +153 -0
  536. package/projects/playground/public/flags/kz.svg +49 -0
  537. package/projects/playground/public/flags/la.svg +5 -0
  538. package/projects/playground/public/flags/lb.svg +8 -0
  539. package/projects/playground/public/flags/lc.svg +6 -0
  540. package/projects/playground/public/flags/li.svg +79 -0
  541. package/projects/playground/public/flags/lk.svg +50 -0
  542. package/projects/playground/public/flags/lr.svg +15 -0
  543. package/projects/playground/public/flags/ls.svg +32 -0
  544. package/projects/playground/public/flags/lt.svg +5 -0
  545. package/projects/playground/public/flags/lu.svg +5 -0
  546. package/projects/playground/public/flags/lv.svg +4 -0
  547. package/projects/playground/public/flags/ly.svg +8 -0
  548. package/projects/playground/public/flags/ma.svg +4 -0
  549. package/projects/playground/public/flags/mc.svg +4 -0
  550. package/projects/playground/public/flags/md.svg +102 -0
  551. package/projects/playground/public/flags/me.svg +240 -0
  552. package/projects/playground/public/flags/mf.svg +5 -0
  553. package/projects/playground/public/flags/mg.svg +5 -0
  554. package/projects/playground/public/flags/mh.svg +18 -0
  555. package/projects/playground/public/flags/mk.svg +6 -0
  556. package/projects/playground/public/flags/ml.svg +5 -0
  557. package/projects/playground/public/flags/mm.svg +12 -0
  558. package/projects/playground/public/flags/mn.svg +12 -0
  559. package/projects/playground/public/flags/mo.svg +13 -0
  560. package/projects/playground/public/flags/mp.svg +2919 -0
  561. package/projects/playground/public/flags/mq.svg +5 -0
  562. package/projects/playground/public/flags/mr.svg +5 -0
  563. package/projects/playground/public/flags/ms.svg +59 -0
  564. package/projects/playground/public/flags/mt.svg +52 -0
  565. package/projects/playground/public/flags/mu.svg +6 -0
  566. package/projects/playground/public/flags/mv.svg +8 -0
  567. package/projects/playground/public/flags/mw.svg +24 -0
  568. package/projects/playground/public/flags/mx.svg +1129 -0
  569. package/projects/playground/public/flags/my.svg +12 -0
  570. package/projects/playground/public/flags/mz.svg +50 -0
  571. package/projects/playground/public/flags/na.svg +17 -0
  572. package/projects/playground/public/flags/nc.svg +5 -0
  573. package/projects/playground/public/flags/ne.svg +6 -0
  574. package/projects/playground/public/flags/nf.svg +8 -0
  575. package/projects/playground/public/flags/ng.svg +4 -0
  576. package/projects/playground/public/flags/ni.svg +281 -0
  577. package/projects/playground/public/flags/nl.svg +5 -0
  578. package/projects/playground/public/flags/no.svg +11 -0
  579. package/projects/playground/public/flags/np.svg +33 -0
  580. package/projects/playground/public/flags/nr.svg +8 -0
  581. package/projects/playground/public/flags/nu.svg +23 -0
  582. package/projects/playground/public/flags/nz.svg +37 -0
  583. package/projects/playground/public/flags/om.svg +307 -0
  584. package/projects/playground/public/flags/pa.svg +15 -0
  585. package/projects/playground/public/flags/pe.svg +767 -0
  586. package/projects/playground/public/flags/pf.svg +38 -0
  587. package/projects/playground/public/flags/pg.svg +16 -0
  588. package/projects/playground/public/flags/ph.svg +28 -0
  589. package/projects/playground/public/flags/pk.svg +7 -0
  590. package/projects/playground/public/flags/pl.svg +4 -0
  591. package/projects/playground/public/flags/pm.svg +5 -0
  592. package/projects/playground/public/flags/pn.svg +131 -0
  593. package/projects/playground/public/flags/pr.svg +6 -0
  594. package/projects/playground/public/flags/ps.svg +6 -0
  595. package/projects/playground/public/flags/pt.svg +79 -0
  596. package/projects/playground/public/flags/pw.svg +4 -0
  597. package/projects/playground/public/flags/py.svg +192 -0
  598. package/projects/playground/public/flags/qa.svg +7 -0
  599. package/projects/playground/public/flags/re.svg +5 -0
  600. package/projects/playground/public/flags/ro.svg +5 -0
  601. package/projects/playground/public/flags/rs.svg +1143 -0
  602. package/projects/playground/public/flags/ru.svg +5 -0
  603. package/projects/playground/public/flags/rw.svg +17 -0
  604. package/projects/playground/public/flags/sa.svg +23 -0
  605. package/projects/playground/public/flags/sb.svg +30 -0
  606. package/projects/playground/public/flags/sc.svg +7 -0
  607. package/projects/playground/public/flags/sd.svg +6 -0
  608. package/projects/playground/public/flags/se.svg +5 -0
  609. package/projects/playground/public/flags/sg.svg +15 -0
  610. package/projects/playground/public/flags/sh.svg +15 -0
  611. package/projects/playground/public/flags/si.svg +30 -0
  612. package/projects/playground/public/flags/sj.svg +11 -0
  613. package/projects/playground/public/flags/sk.svg +21 -0
  614. package/projects/playground/public/flags/sl.svg +5 -0
  615. package/projects/playground/public/flags/sm.svg +847 -0
  616. package/projects/playground/public/flags/sn.svg +15 -0
  617. package/projects/playground/public/flags/so.svg +13 -0
  618. package/projects/playground/public/flags/sr.svg +6 -0
  619. package/projects/playground/public/flags/ss.svg +8 -0
  620. package/projects/playground/public/flags/st.svg +16 -0
  621. package/projects/playground/public/flags/stc-icons.css +1 -0
  622. package/projects/playground/public/flags/sv.svg +3368 -0
  623. package/projects/playground/public/flags/sx.svg +172 -0
  624. package/projects/playground/public/flags/sy.svg +6 -0
  625. package/projects/playground/public/flags/sz.svg +54 -0
  626. package/projects/playground/public/flags/tc.svg +88 -0
  627. package/projects/playground/public/flags/td.svg +5 -0
  628. package/projects/playground/public/flags/tf.svg +18 -0
  629. package/projects/playground/public/flags/tg.svg +15 -0
  630. package/projects/playground/public/flags/th.svg +5 -0
  631. package/projects/playground/public/flags/tj.svg +32 -0
  632. package/projects/playground/public/flags/tk.svg +25 -0
  633. package/projects/playground/public/flags/tl.svg +6 -0
  634. package/projects/playground/public/flags/tm.svg +349 -0
  635. package/projects/playground/public/flags/tn.svg +9 -0
  636. package/projects/playground/public/flags/to.svg +8 -0
  637. package/projects/playground/public/flags/tr.svg +6 -0
  638. package/projects/playground/public/flags/tt.svg +5 -0
  639. package/projects/playground/public/flags/tv.svg +18 -0
  640. package/projects/playground/public/flags/tw.svg +12 -0
  641. package/projects/playground/public/flags/tz.svg +13 -0
  642. package/projects/playground/public/flags/ua.svg +4 -0
  643. package/projects/playground/public/flags/ug.svg +46 -0
  644. package/projects/playground/public/flags/um.svg +25 -0
  645. package/projects/playground/public/flags/us.svg +25 -0
  646. package/projects/playground/public/flags/uy.svg +138 -0
  647. package/projects/playground/public/flags/uz.svg +30 -0
  648. package/projects/playground/public/flags/va.svg +277 -0
  649. package/projects/playground/public/flags/vc.svg +9 -0
  650. package/projects/playground/public/flags/ve.svg +28 -0
  651. package/projects/playground/public/flags/vg.svg +96 -0
  652. package/projects/playground/public/flags/vi.svg +311 -0
  653. package/projects/playground/public/flags/vn.svg +12 -0
  654. package/projects/playground/public/flags/vu.svg +20 -0
  655. package/projects/playground/public/flags/wf.svg +7 -0
  656. package/projects/playground/public/flags/ws.svg +14 -0
  657. package/projects/playground/public/flags/xk.svg +11 -0
  658. package/projects/playground/public/flags/ye.svg +5 -0
  659. package/projects/playground/public/flags/yt.svg +5 -0
  660. package/projects/playground/public/flags/za.svg +17 -0
  661. package/projects/playground/public/flags/zm.svg +20 -0
  662. package/projects/playground/public/flags/zw.svg +130 -0
  663. package/projects/playground/src/app/app.component.ts +119 -0
  664. package/projects/playground/src/app/app.config.ts +51 -0
  665. package/projects/playground/src/app/app.routes.ts +41 -0
  666. package/projects/playground/src/app/login.service.ts +21 -0
  667. package/projects/playground/src/components/attachment-wrapper.component.ts +45 -0
  668. package/projects/playground/src/components/attachment.component.ts +35 -0
  669. package/projects/playground/src/components/checkbox-wrapper.component.ts +43 -0
  670. package/projects/playground/src/components/chips-wrapper.component.ts +37 -0
  671. package/projects/playground/src/components/ctrl-array-wrapper.component.ts +76 -0
  672. package/projects/playground/src/components/date-picker-container.component.ts +22 -0
  673. package/projects/playground/src/components/date-picker-wrapper.component.ts +41 -0
  674. package/projects/playground/src/components/date-range-picker-container.component.ts +24 -0
  675. package/projects/playground/src/components/date-range-picker-wrapper.component.ts +41 -0
  676. package/projects/playground/src/components/datetime-container.component.ts +25 -0
  677. package/projects/playground/src/components/datetime-picker-wrapper.component.ts +62 -0
  678. package/projects/playground/src/components/input-container.component.ts +35 -0
  679. package/projects/playground/src/components/input-wrapper.component.ts +41 -0
  680. package/projects/playground/src/components/mobile-container.component.ts +23 -0
  681. package/projects/playground/src/components/mobile-wrapper.component.ts +36 -0
  682. package/projects/playground/src/components/note-wrapper.component.ts +37 -0
  683. package/projects/playground/src/components/outlet-container.component.ts +144 -0
  684. package/projects/playground/src/components/plate-container.component.ts +22 -0
  685. package/projects/playground/src/components/plate-wrapper.component.ts +39 -0
  686. package/projects/playground/src/components/radio-wrapper.component.ts +45 -0
  687. package/projects/playground/src/components/select-container.component.ts +31 -0
  688. package/projects/playground/src/components/select-wrapper.component.ts +48 -0
  689. package/projects/playground/src/components/ships-container.component.ts +23 -0
  690. package/projects/playground/src/components/slide-toggle-wrapper.component.ts +40 -0
  691. package/projects/playground/src/components/textarea-container.component.ts +23 -0
  692. package/projects/playground/src/components/textarea-wrapper.component.ts +54 -0
  693. package/projects/playground/src/components/time-picker-container.component.ts +23 -0
  694. package/projects/playground/src/components/time-picker-wrapper.component.ts +43 -0
  695. package/projects/playground/src/components/toggle-button-wrapper.component.ts +49 -0
  696. package/projects/playground/src/components/user-picker-wrapper.component.ts +37 -0
  697. package/projects/playground/src/eServices/create-request.component.ts +28 -0
  698. package/projects/playground/src/eServices/e-service.component.ts +112 -0
  699. package/projects/playground/src/eServices/view-request.component.ts +13 -0
  700. package/projects/playground/src/index.html +13 -0
  701. package/projects/playground/src/interceptors/header.interceptor.ts +71 -0
  702. package/projects/playground/src/main.ts +8 -0
  703. package/projects/playground/src/services/ss.service.ts +62 -0
  704. package/projects/playground/src/styles.scss +33 -0
  705. package/projects/playground/src/validators/customValidator.validator.ts +10 -0
  706. package/projects/playground/tsconfig.app.json +15 -0
  707. package/tsconfig.json +31 -0
  708. package/components/autocomplete/autocomplete.component.d.ts +0 -6
  709. package/components/base-ctrl.d.ts +0 -33
  710. package/components/checkbox/checkbox.component.d.ts +0 -16
  711. package/components/chips/chips.component.d.ts +0 -6
  712. package/components/ctrl-array/ctrl-array.component.d.ts +0 -6
  713. package/components/date-picker/date-adapter.d.ts +0 -37
  714. package/components/date-picker/date-picker.component.d.ts +0 -15
  715. package/components/date-range-picker/date-range-picker.component.d.ts +0 -19
  716. package/components/datetime-picker/datetime-picker.component.d.ts +0 -14
  717. package/components/datetime-range-picker/datetime-range-picker.component.d.ts +0 -6
  718. package/components/file-picker/file-picker.component.d.ts +0 -17
  719. package/components/hints/hints.component.d.ts +0 -9
  720. package/components/input/input.component.d.ts +0 -8
  721. package/components/mobile/COUNTRIES.d.ts +0 -2
  722. package/components/mobile/mobile.component.d.ts +0 -26
  723. package/components/mobile/phone.service.d.ts +0 -17
  724. package/components/note/note.component.d.ts +0 -6
  725. package/components/plate-number/plate-number.component.d.ts +0 -16
  726. package/components/radio/radio.component.d.ts +0 -11
  727. package/components/select/select.component.d.ts +0 -20
  728. package/components/slide-toggle/slide-toggle.component.d.ts +0 -7
  729. package/components/textarea/textarea.component.d.ts +0 -6
  730. package/components/time-picker/time-picker.component.d.ts +0 -19
  731. package/components/toggle-button/toggle-button.component.d.ts +0 -16
  732. package/directives/droppable.directive.d.ts +0 -10
  733. package/esm2022/components/autocomplete/autocomplete.component.mjs +0 -17
  734. package/esm2022/components/base-ctrl.mjs +0 -93
  735. package/esm2022/components/checkbox/checkbox.component.mjs +0 -73
  736. package/esm2022/components/chips/chips.component.mjs +0 -17
  737. package/esm2022/components/ctrl-array/ctrl-array.component.mjs +0 -17
  738. package/esm2022/components/date-picker/date-adapter.mjs +0 -183
  739. package/esm2022/components/date-picker/date-picker.component.mjs +0 -55
  740. package/esm2022/components/date-range-picker/date-range-picker.component.mjs +0 -101
  741. package/esm2022/components/datetime-picker/datetime-picker.component.mjs +0 -79
  742. package/esm2022/components/datetime-range-picker/datetime-range-picker.component.mjs +0 -17
  743. package/esm2022/components/file-picker/file-picker.component.mjs +0 -121
  744. package/esm2022/components/hints/hints.component.mjs +0 -66
  745. package/esm2022/components/input/input.component.mjs +0 -32
  746. package/esm2022/components/mobile/COUNTRIES.mjs +0 -2041
  747. package/esm2022/components/mobile/mobile.component.mjs +0 -141
  748. package/esm2022/components/mobile/phone.service.mjs +0 -99
  749. package/esm2022/components/note/note.component.mjs +0 -17
  750. package/esm2022/components/plate-number/plate-number.component.mjs +0 -114
  751. package/esm2022/components/radio/radio.component.mjs +0 -40
  752. package/esm2022/components/select/select.component.mjs +0 -123
  753. package/esm2022/components/slide-toggle/slide-toggle.component.mjs +0 -23
  754. package/esm2022/components/textarea/textarea.component.mjs +0 -17
  755. package/esm2022/components/time-picker/time-picker.component.mjs +0 -169
  756. package/esm2022/components/toggle-button/toggle-button.component.mjs +0 -87
  757. package/esm2022/directives/droppable.directive.mjs +0 -39
  758. package/esm2022/interfaces/country.interface.mjs +0 -2
  759. package/esm2022/interfaces/date-range-emission-object.mjs +0 -2
  760. package/esm2022/interfaces/hint.interface.mjs +0 -2
  761. package/esm2022/interfaces/iso2.interface.mjs +0 -2
  762. package/esm2022/interfaces/mobile.interface.mjs +0 -2
  763. package/esm2022/interfaces/option.interface.mjs +0 -2
  764. package/esm2022/interfaces/time.interface.mjs +0 -2
  765. package/esm2022/iss-ctrl.mjs +0 -5
  766. package/esm2022/pipes/select-status.pipe.mjs +0 -18
  767. package/esm2022/public-api.mjs +0 -20
  768. package/fesm2022/iss-ctrl.mjs +0 -3658
  769. package/fesm2022/iss-ctrl.mjs.map +0 -1
  770. package/index.d.ts +0 -5
  771. package/interfaces/country.interface.d.ts +0 -10
  772. package/interfaces/date-range-emission-object.d.ts +0 -5
  773. package/interfaces/hint.interface.d.ts +0 -5
  774. package/interfaces/iso2.interface.d.ts +0 -1
  775. package/interfaces/mobile.interface.d.ts +0 -11
  776. package/interfaces/option.interface.d.ts +0 -4
  777. package/interfaces/time.interface.d.ts +0 -5
  778. package/pipes/select-status.pipe.d.ts +0 -8
  779. package/public-api.d.ts +0 -19
  780. package/src/components/mobile/flags/ad.svg +0 -154
  781. package/src/components/mobile/flags/ae.svg +0 -1
  782. package/src/components/mobile/flags/af.svg +0 -1
  783. package/src/components/mobile/flags/ag.svg +0 -1
  784. package/src/components/mobile/flags/ai.svg +0 -1
  785. package/src/components/mobile/flags/al.svg +0 -1
  786. package/src/components/mobile/flags/am.svg +0 -1
  787. package/src/components/mobile/flags/ao.svg +0 -1
  788. package/src/components/mobile/flags/aq.svg +0 -1
  789. package/src/components/mobile/flags/ar.svg +0 -1
  790. package/src/components/mobile/flags/as.svg +0 -1
  791. package/src/components/mobile/flags/at.svg +0 -1
  792. package/src/components/mobile/flags/au.svg +0 -1
  793. package/src/components/mobile/flags/aw.svg +0 -1
  794. package/src/components/mobile/flags/ax.svg +0 -1
  795. package/src/components/mobile/flags/az.svg +0 -1
  796. package/src/components/mobile/flags/ba.svg +0 -1
  797. package/src/components/mobile/flags/bb.svg +0 -7
  798. package/src/components/mobile/flags/bd.svg +0 -1
  799. package/src/components/mobile/flags/be.svg +0 -1
  800. package/src/components/mobile/flags/bf.svg +0 -1
  801. package/src/components/mobile/flags/bg.svg +0 -1
  802. package/src/components/mobile/flags/bh.svg +0 -1
  803. package/src/components/mobile/flags/bi.svg +0 -26
  804. package/src/components/mobile/flags/bj.svg +0 -1
  805. package/src/components/mobile/flags/bl.svg +0 -1
  806. package/src/components/mobile/flags/bm.svg +0 -1
  807. package/src/components/mobile/flags/bn.svg +0 -58
  808. package/src/components/mobile/flags/bo.svg +0 -1
  809. package/src/components/mobile/flags/bq.svg +0 -1
  810. package/src/components/mobile/flags/br.svg +0 -1
  811. package/src/components/mobile/flags/bs.svg +0 -1
  812. package/src/components/mobile/flags/bt.svg +0 -466
  813. package/src/components/mobile/flags/bv.svg +0 -1
  814. package/src/components/mobile/flags/bw.svg +0 -1
  815. package/src/components/mobile/flags/by.svg +0 -1
  816. package/src/components/mobile/flags/bz.svg +0 -1
  817. package/src/components/mobile/flags/ca.svg +0 -1
  818. package/src/components/mobile/flags/cc.svg +0 -19
  819. package/src/components/mobile/flags/cd.svg +0 -1
  820. package/src/components/mobile/flags/cf.svg +0 -1
  821. package/src/components/mobile/flags/cg.svg +0 -5
  822. package/src/components/mobile/flags/ch.svg +0 -1
  823. package/src/components/mobile/flags/ci.svg +0 -1
  824. package/src/components/mobile/flags/ck.svg +0 -1
  825. package/src/components/mobile/flags/cl.svg +0 -14
  826. package/src/components/mobile/flags/cm.svg +0 -15
  827. package/src/components/mobile/flags/cn.svg +0 -1
  828. package/src/components/mobile/flags/co.svg +0 -5
  829. package/src/components/mobile/flags/cr.svg +0 -1
  830. package/src/components/mobile/flags/cu.svg +0 -6
  831. package/src/components/mobile/flags/cv.svg +0 -24
  832. package/src/components/mobile/flags/cw.svg +0 -16
  833. package/src/components/mobile/flags/cx.svg +0 -15
  834. package/src/components/mobile/flags/cy.svg +0 -1
  835. package/src/components/mobile/flags/cz.svg +0 -5
  836. package/src/components/mobile/flags/de.svg +0 -1
  837. package/src/components/mobile/flags/dj.svg +0 -1
  838. package/src/components/mobile/flags/dk.svg +0 -5
  839. package/src/components/mobile/flags/dm.svg +0 -1
  840. package/src/components/mobile/flags/do.svg +0 -1
  841. package/src/components/mobile/flags/dz.svg +0 -5
  842. package/src/components/mobile/flags/ec.svg +0 -519
  843. package/src/components/mobile/flags/ee.svg +0 -1
  844. package/src/components/mobile/flags/eg.svg +0 -78
  845. package/src/components/mobile/flags/eh.svg +0 -9
  846. package/src/components/mobile/flags/er.svg +0 -6
  847. package/src/components/mobile/flags/es.svg +0 -1
  848. package/src/components/mobile/flags/et.svg +0 -1
  849. package/src/components/mobile/flags/eu.svg +0 -1
  850. package/src/components/mobile/flags/fi.svg +0 -5
  851. package/src/components/mobile/flags/fj.svg +0 -1
  852. package/src/components/mobile/flags/fk.svg +0 -1
  853. package/src/components/mobile/flags/fm.svg +0 -16
  854. package/src/components/mobile/flags/fo.svg +0 -11
  855. package/src/components/mobile/flags/fr.svg +0 -1
  856. package/src/components/mobile/flags/ga.svg +0 -5
  857. package/src/components/mobile/flags/gb-eng.svg +0 -7
  858. package/src/components/mobile/flags/gb-nir.svg +0 -1
  859. package/src/components/mobile/flags/gb-sct.svg +0 -1
  860. package/src/components/mobile/flags/gb-wls.svg +0 -9
  861. package/src/components/mobile/flags/gb.svg +0 -1
  862. package/src/components/mobile/flags/gd.svg +0 -1
  863. package/src/components/mobile/flags/ge.svg +0 -1
  864. package/src/components/mobile/flags/gf.svg +0 -1
  865. package/src/components/mobile/flags/gg.svg +0 -8
  866. package/src/components/mobile/flags/gh.svg +0 -6
  867. package/src/components/mobile/flags/gi.svg +0 -54
  868. package/src/components/mobile/flags/gl.svg +0 -4
  869. package/src/components/mobile/flags/gm.svg +0 -7
  870. package/src/components/mobile/flags/gn.svg +0 -5
  871. package/src/components/mobile/flags/gp.svg +0 -1
  872. package/src/components/mobile/flags/gq.svg +0 -75
  873. package/src/components/mobile/flags/gr.svg +0 -1
  874. package/src/components/mobile/flags/gs.svg +0 -1
  875. package/src/components/mobile/flags/gt.svg +0 -214
  876. package/src/components/mobile/flags/gu.svg +0 -1
  877. package/src/components/mobile/flags/gw.svg +0 -13
  878. package/src/components/mobile/flags/gy.svg +0 -7
  879. package/src/components/mobile/flags/hk.svg +0 -1
  880. package/src/components/mobile/flags/hm.svg +0 -1
  881. package/src/components/mobile/flags/hn.svg +0 -1
  882. package/src/components/mobile/flags/hr.svg +0 -1
  883. package/src/components/mobile/flags/ht.svg +0 -1
  884. package/src/components/mobile/flags/hu.svg +0 -1
  885. package/src/components/mobile/flags/id.svg +0 -1
  886. package/src/components/mobile/flags/ie.svg +0 -1
  887. package/src/components/mobile/flags/il.svg +0 -1
  888. package/src/components/mobile/flags/im.svg +0 -1
  889. package/src/components/mobile/flags/in.svg +0 -1
  890. package/src/components/mobile/flags/io.svg +0 -1
  891. package/src/components/mobile/flags/iq.svg +0 -1
  892. package/src/components/mobile/flags/ir.svg +0 -31
  893. package/src/components/mobile/flags/is.svg +0 -1
  894. package/src/components/mobile/flags/it.svg +0 -1
  895. package/src/components/mobile/flags/je.svg +0 -1
  896. package/src/components/mobile/flags/jm.svg +0 -1
  897. package/src/components/mobile/flags/jo.svg +0 -7
  898. package/src/components/mobile/flags/jp.svg +0 -4
  899. package/src/components/mobile/flags/ke.svg +0 -23
  900. package/src/components/mobile/flags/kg.svg +0 -1
  901. package/src/components/mobile/flags/kh.svg +0 -116
  902. package/src/components/mobile/flags/ki.svg +0 -1
  903. package/src/components/mobile/flags/km.svg +0 -13
  904. package/src/components/mobile/flags/kn.svg +0 -1
  905. package/src/components/mobile/flags/kp.svg +0 -16
  906. package/src/components/mobile/flags/kr.svg +0 -1
  907. package/src/components/mobile/flags/kw.svg +0 -6
  908. package/src/components/mobile/flags/ky.svg +0 -1
  909. package/src/components/mobile/flags/kz.svg +0 -37
  910. package/src/components/mobile/flags/la.svg +0 -1
  911. package/src/components/mobile/flags/lb.svg +0 -5
  912. package/src/components/mobile/flags/lc.svg +0 -6
  913. package/src/components/mobile/flags/li.svg +0 -56
  914. package/src/components/mobile/flags/lk.svg +0 -1
  915. package/src/components/mobile/flags/lr.svg +0 -15
  916. package/src/components/mobile/flags/ls.svg +0 -23
  917. package/src/components/mobile/flags/lt.svg +0 -1
  918. package/src/components/mobile/flags/lu.svg +0 -1
  919. package/src/components/mobile/flags/lv.svg +0 -1
  920. package/src/components/mobile/flags/ly.svg +0 -8
  921. package/src/components/mobile/flags/ma.svg +0 -1
  922. package/src/components/mobile/flags/mc.svg +0 -1
  923. package/src/components/mobile/flags/md.svg +0 -1
  924. package/src/components/mobile/flags/me.svg +0 -93
  925. package/src/components/mobile/flags/mf.svg +0 -1
  926. package/src/components/mobile/flags/mg.svg +0 -1
  927. package/src/components/mobile/flags/mh.svg +0 -1
  928. package/src/components/mobile/flags/mk.svg +0 -1
  929. package/src/components/mobile/flags/ml.svg +0 -5
  930. package/src/components/mobile/flags/mm.svg +0 -12
  931. package/src/components/mobile/flags/mn.svg +0 -1
  932. package/src/components/mobile/flags/mo.svg +0 -10
  933. package/src/components/mobile/flags/mp.svg +0 -1
  934. package/src/components/mobile/flags/mq.svg +0 -1
  935. package/src/components/mobile/flags/mr.svg +0 -1
  936. package/src/components/mobile/flags/ms.svg +0 -1
  937. package/src/components/mobile/flags/mt.svg +0 -1
  938. package/src/components/mobile/flags/mu.svg +0 -1
  939. package/src/components/mobile/flags/mv.svg +0 -1
  940. package/src/components/mobile/flags/mw.svg +0 -24
  941. package/src/components/mobile/flags/mx.svg +0 -1
  942. package/src/components/mobile/flags/my.svg +0 -1
  943. package/src/components/mobile/flags/mz.svg +0 -13
  944. package/src/components/mobile/flags/na.svg +0 -1
  945. package/src/components/mobile/flags/nc.svg +0 -1
  946. package/src/components/mobile/flags/ne.svg +0 -6
  947. package/src/components/mobile/flags/nf.svg +0 -5
  948. package/src/components/mobile/flags/ng.svg +0 -4
  949. package/src/components/mobile/flags/ni.svg +0 -161
  950. package/src/components/mobile/flags/nl.svg +0 -1
  951. package/src/components/mobile/flags/no.svg +0 -1
  952. package/src/components/mobile/flags/np.svg +0 -33
  953. package/src/components/mobile/flags/nr.svg +0 -1
  954. package/src/components/mobile/flags/nu.svg +0 -1
  955. package/src/components/mobile/flags/nz.svg +0 -1
  956. package/src/components/mobile/flags/om.svg +0 -1
  957. package/src/components/mobile/flags/pa.svg +0 -1
  958. package/src/components/mobile/flags/pe.svg +0 -320
  959. package/src/components/mobile/flags/pf.svg +0 -1
  960. package/src/components/mobile/flags/pg.svg +0 -13
  961. package/src/components/mobile/flags/ph.svg +0 -1
  962. package/src/components/mobile/flags/pk.svg +0 -1
  963. package/src/components/mobile/flags/pl.svg +0 -1
  964. package/src/components/mobile/flags/pm.svg +0 -1
  965. package/src/components/mobile/flags/pn.svg +0 -1
  966. package/src/components/mobile/flags/pr.svg +0 -1
  967. package/src/components/mobile/flags/ps.svg +0 -1
  968. package/src/components/mobile/flags/pt.svg +0 -1
  969. package/src/components/mobile/flags/pw.svg +0 -1
  970. package/src/components/mobile/flags/py.svg +0 -1
  971. package/src/components/mobile/flags/qa.svg +0 -1
  972. package/src/components/mobile/flags/re.svg +0 -1
  973. package/src/components/mobile/flags/ro.svg +0 -1
  974. package/src/components/mobile/flags/rs.svg +0 -1
  975. package/src/components/mobile/flags/ru.svg +0 -1
  976. package/src/components/mobile/flags/rw.svg +0 -13
  977. package/src/components/mobile/flags/sa.svg +0 -1
  978. package/src/components/mobile/flags/sb.svg +0 -1
  979. package/src/components/mobile/flags/sc.svg +0 -7
  980. package/src/components/mobile/flags/sd.svg +0 -6
  981. package/src/components/mobile/flags/se.svg +0 -5
  982. package/src/components/mobile/flags/sg.svg +0 -11
  983. package/src/components/mobile/flags/sh.svg +0 -1
  984. package/src/components/mobile/flags/si.svg +0 -1
  985. package/src/components/mobile/flags/sj.svg +0 -1
  986. package/src/components/mobile/flags/sk.svg +0 -1
  987. package/src/components/mobile/flags/sl.svg +0 -1
  988. package/src/components/mobile/flags/sm.svg +0 -1
  989. package/src/components/mobile/flags/sn.svg +0 -1
  990. package/src/components/mobile/flags/so.svg +0 -1
  991. package/src/components/mobile/flags/sr.svg +0 -1
  992. package/src/components/mobile/flags/ss.svg +0 -1
  993. package/src/components/mobile/flags/st.svg +0 -1
  994. package/src/components/mobile/flags/sv.svg +0 -1
  995. package/src/components/mobile/flags/sx.svg +0 -1
  996. package/src/components/mobile/flags/sy.svg +0 -1
  997. package/src/components/mobile/flags/sz.svg +0 -1
  998. package/src/components/mobile/flags/tc.svg +0 -1
  999. package/src/components/mobile/flags/td.svg +0 -1
  1000. package/src/components/mobile/flags/tf.svg +0 -1
  1001. package/src/components/mobile/flags/tg.svg +0 -1
  1002. package/src/components/mobile/flags/th.svg +0 -1
  1003. package/src/components/mobile/flags/tj.svg +0 -1
  1004. package/src/components/mobile/flags/tk.svg +0 -1
  1005. package/src/components/mobile/flags/tl.svg +0 -1
  1006. package/src/components/mobile/flags/tm.svg +0 -1
  1007. package/src/components/mobile/flags/tn.svg +0 -9
  1008. package/src/components/mobile/flags/to.svg +0 -1
  1009. package/src/components/mobile/flags/tr.svg +0 -1
  1010. package/src/components/mobile/flags/tt.svg +0 -5
  1011. package/src/components/mobile/flags/tv.svg +0 -1
  1012. package/src/components/mobile/flags/tw.svg +0 -1
  1013. package/src/components/mobile/flags/tz.svg +0 -1
  1014. package/src/components/mobile/flags/ua.svg +0 -1
  1015. package/src/components/mobile/flags/ug.svg +0 -1
  1016. package/src/components/mobile/flags/um.svg +0 -1
  1017. package/src/components/mobile/flags/us.svg +0 -1
  1018. package/src/components/mobile/flags/uy.svg +0 -1
  1019. package/src/components/mobile/flags/uz.svg +0 -1
  1020. package/src/components/mobile/flags/va.svg +0 -1
  1021. package/src/components/mobile/flags/vc.svg +0 -1
  1022. package/src/components/mobile/flags/ve.svg +0 -1
  1023. package/src/components/mobile/flags/vg.svg +0 -1
  1024. package/src/components/mobile/flags/vi.svg +0 -1
  1025. package/src/components/mobile/flags/vn.svg +0 -1
  1026. package/src/components/mobile/flags/vu.svg +0 -1
  1027. package/src/components/mobile/flags/wf.svg +0 -1
  1028. package/src/components/mobile/flags/ws.svg +0 -1
  1029. package/src/components/mobile/flags/xk.svg +0 -1
  1030. package/src/components/mobile/flags/ye.svg +0 -1
  1031. package/src/components/mobile/flags/yt.svg +0 -1
  1032. package/src/components/mobile/flags/za.svg +0 -1
  1033. package/src/components/mobile/flags/zm.svg +0 -1
  1034. package/src/components/mobile/flags/zw.svg +0 -1
@@ -0,0 +1,289 @@
1
+ import {ChangeDetectionStrategy, Component, effect, signal} from "@angular/core";
2
+ import {PLATE_LETTERS} from "../../../shared/constants/plate-letters.const";
3
+ import {ViewerBase} from "../base/viewer.base";
4
+
5
+ @Component({
6
+ selector: "iss-vwr-plate",
7
+ imports: [],
8
+ template: `
9
+ <div class="plate-container">
10
+ <div class="section numbers-section">
11
+ <div class="digit-row">
12
+ @for (numAr of numbersAr(); track numAr) {
13
+ <span>{{ numAr }}</span>
14
+ }
15
+ </div>
16
+ <div class="digit-row">
17
+ @for (numEn of numbersEn(); track numEn) {
18
+ <span>{{ numEn }}</span>
19
+ }
20
+ </div>
21
+ </div>
22
+
23
+ <div class="section emblem-section">
24
+ <svg class="emblem-svg" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
25
+ <path
26
+ fill-rule="evenodd"
27
+ clip-rule="evenodd"
28
+ d="M10.8072 16.8744C11.4633 16.178 11.3244 15.3914 10.7996 15.3825C10.9872 15.9606 10.5562 16.3344 10.3922 16.5266C9.97894 16.1712 9.55086 15.7761 9.10778 15.3694C11.2695 13.5812 13.6354 11.995 16.7263 11.9452C13.3983 10.7499 10.7417 12.7815 8.4925 14.8084C6.24308 12.7815 3.58672 10.7499 0.257812 11.9452C3.34944 11.995 5.71507 13.581 7.87722 15.3694C7.43329 15.7761 7.00564 16.1712 6.59172 16.5266C6.42902 16.3344 5.99777 15.9606 6.18435 15.3825C5.65992 15.3914 5.52089 16.178 6.17758 16.8744C5.91495 17.0931 5.48962 17.4631 5.15113 17.5518C4.89082 17.6199 4.68185 17.4846 4.63473 17.2026C4.53542 16.6069 3.61271 16.6959 3.72554 17.5372C3.82907 18.3044 4.76066 18.6391 5.55892 18.2837C5.87565 18.1424 6.3107 17.7413 6.66778 17.45C6.83111 17.641 7.26215 18.0145 7.07494 18.5935C7.59979 18.5838 7.7384 17.798 7.08234 17.1005C7.54845 16.7028 8.01625 16.2927 8.4925 15.887C8.96833 16.2925 9.43634 16.7028 9.90288 17.1005C9.24639 17.798 9.385 18.5838 9.91006 18.5935C9.72285 18.0145 10.1539 17.6414 10.3168 17.45C10.6745 17.7413 11.1091 18.1424 11.4263 18.2837C12.2246 18.6391 13.1555 18.3044 13.259 17.5372C13.3719 16.6959 12.4496 16.6069 12.3494 17.2026C12.3023 17.4846 12.094 17.6196 11.8332 17.5518C11.4948 17.4631 11.0696 17.0931 10.8072 16.8744ZM6.72504 5.72093C6.22365 7.04637 6.19597 8.53894 6.9169 10.1805C6.80195 8.47576 7.17594 7.06771 7.8713 6.0066L8.01815 7.46832H7.84679L8.01815 9.17958H7.84679L8.01815 10.8904H7.84679L8.01794 12.5991L7.53366 13.0819H8.4925H9.45156L8.96685 12.5991L9.13842 10.8904H8.96685L9.13842 9.17958H8.96685L9.13842 7.46832H8.96685L9.11391 6.0066C9.80906 7.06771 10.1833 8.47682 10.0683 10.1805C10.7886 8.53894 10.7616 7.047 10.2602 5.72093C11.1115 6.72478 11.7701 7.89851 12.0661 9.36572C12.3733 7.50466 11.848 5.98568 10.8852 4.8071C11.8174 5.47943 12.6184 6.33157 13.1785 7.48396C13.048 5.72072 12.1559 4.57742 10.927 3.75824C11.989 4.1054 12.8561 4.68645 13.6343 5.71798C13.1139 3.8884 11.9801 3.15564 10.575 2.74362C11.5332 2.67368 12.4386 2.78165 13.3347 3.33988C12.3621 2.02839 11.0565 1.81055 9.73257 1.95634C10.2893 1.67279 10.9158 1.53101 11.5888 1.63137C10.8302 1.07187 9.81836 1.01651 8.95227 1.48812L8.4925 0.328125L8.0321 1.48749C7.1658 1.01651 6.15476 1.07166 5.39623 1.63137C6.06877 1.53122 6.69483 1.67279 7.25179 1.95634C5.92826 1.81055 4.62311 2.0286 3.6499 3.33988C4.54662 2.78165 5.45137 2.67368 6.41001 2.74362C5.00534 3.15564 3.87112 3.8884 3.35113 5.71798C4.12868 4.68666 4.99625 4.1054 6.05842 3.75824C4.8287 4.57721 3.93704 5.72072 3.80625 7.48396C4.36618 6.33157 5.16782 5.47943 6.09962 4.8071C5.13676 5.98568 4.61149 7.50466 4.91871 9.36572C5.21494 7.89851 5.87354 6.72478 6.72504 5.72093Z"
29
+ fill="#1D252D"
30
+ />
31
+ </svg>
32
+ </div>
33
+
34
+ <div class="section letters-section">
35
+ <div class="arabic-row" dir="rtl">
36
+ @for (lAr of lettersAr(); track lAr) {
37
+ <span>{{ lAr }}</span>
38
+ }
39
+ </div>
40
+ <div class="english-row" dir="rtl">
41
+ @for (lEn of lettersEn(); track lEn) {
42
+ <span>{{ lEn }}</span>
43
+ }
44
+ </div>
45
+ </div>
46
+
47
+ <div class="ksa-strip">
48
+ <svg class="mini-emblem" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
49
+ <path
50
+ fill-rule="evenodd" clip-rule="evenodd"
51
+ d="M10.8072 16.8744C11.4633 16.178 11.3244 15.3914 10.7996 15.3825C10.9872 15.9606 10.5562 16.3344 10.3922 16.5266C9.97894 16.1712 9.55086 15.7761 9.10778 15.3694C11.2695 13.5812 13.6354 11.995 16.7263 11.9452C13.3983 10.7499 10.7417 12.7815 8.4925 14.8084C6.24308 12.7815 3.58672 10.7499 0.257812 11.9452C3.34944 11.995 5.71507 13.581 7.87722 15.3694C7.43329 15.7761 7.00564 16.1712 6.59172 16.5266C6.42902 16.3344 5.99777 15.9606 6.18435 15.3825C5.65992 15.3914 5.52089 16.178 6.17758 16.8744C5.91495 17.0931 5.48962 17.4631 5.15113 17.5518C4.89082 17.6199 4.68185 17.4846 4.63473 17.2026C4.53542 16.6069 3.61271 16.6959 3.72554 17.5372C3.82907 18.3044 4.76066 18.6391 5.55892 18.2837C5.87565 18.1424 6.3107 17.7413 6.66778 17.45C6.83111 17.641 7.26215 18.0145 7.07494 18.5935C7.59979 18.5838 7.7384 17.798 7.08234 17.1005C7.54845 16.7028 8.01625 16.2927 8.4925 15.887C8.96833 16.2925 9.43634 16.7028 9.90288 17.1005C9.24639 17.798 9.385 18.5838 9.91006 18.5935C9.72285 18.0145 10.1539 17.6414 10.3168 17.45C10.6745 17.7413 11.1091 18.1424 11.4263 18.2837C12.2246 18.6391 13.1555 18.3044 13.259 17.5372C13.3719 16.6959 12.4496 16.6069 12.3494 17.2026C12.3023 17.4846 12.094 17.6196 11.8332 17.5518C11.4948 17.4631 11.0696 17.0931 10.8072 16.8744ZM6.72504 5.72093C6.22365 7.04637 6.19597 8.53894 6.9169 10.1805C6.80195 8.47576 7.17594 7.06771 7.8713 6.0066L8.01815 7.46832H7.84679L8.01815 9.17958H7.84679L8.01815 10.8904H7.84679L8.01794 12.5991L7.53366 13.0819H8.4925H9.45156L8.96685 12.5991L9.13842 10.8904H8.96685L9.13842 9.17958H8.96685L9.13842 7.46832H8.96685L9.11391 6.0066C9.80906 7.06771 10.1833 8.47682 10.0683 10.1805C10.7886 8.53894 10.7616 7.047 10.2602 5.72093C11.1115 6.72478 11.7701 7.89851 12.0661 9.36572C12.3733 7.50466 11.848 5.98568 10.8852 4.8071C11.8174 5.47943 12.6184 6.33157 13.1785 7.48396C13.048 5.72072 12.1559 4.57742 10.927 3.75824C11.989 4.1054 12.8561 4.68645 13.6343 5.71798C13.1139 3.8884 11.9801 3.15564 10.575 2.74362C11.5332 2.67368 12.4386 2.78165 13.3347 3.33988C12.3621 2.02839 11.0565 1.81055 9.73257 1.95634C10.2893 1.67279 10.9158 1.53101 11.5888 1.63137C10.8302 1.07187 9.81836 1.01651 8.95227 1.48812L8.4925 0.328125L8.0321 1.48749C7.1658 1.01651 6.15476 1.07166 5.39623 1.63137C6.06877 1.53122 6.69483 1.67279 7.25179 1.95634C5.92826 1.81055 4.62311 2.0286 3.6499 3.33988C4.54662 2.78165 5.45137 2.67368 6.41001 2.74362C5.00534 3.15564 3.87112 3.8884 3.35113 5.71798C4.12868 4.68666 4.99625 4.1054 6.05842 3.75824C4.8287 4.57721 3.93704 5.72072 3.80625 7.48396C4.36618 6.33157 5.16782 5.47943 6.09962 4.8071C5.13676 5.98568 4.61149 7.50466 4.91871 9.36572C5.21494 7.89851 5.87354 6.72478 6.72504 5.72093Z"
52
+ fill="#1D252D"
53
+ />
54
+ </svg>
55
+ <span class="ksa-text">KSA</span>
56
+ </div>
57
+ </div>
58
+ `,
59
+ styles: `
60
+ .plate-container {
61
+ width: 600px;
62
+ height: 130px;
63
+ border: 4px solid #1D252D;
64
+ border-radius: 10px;
65
+ background: white;
66
+ display: flex;
67
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
68
+ overflow: hidden;
69
+ position: relative;
70
+ }
71
+
72
+ /* General Section Styling */
73
+ .section {
74
+ display: flex;
75
+ flex-direction: column;
76
+ justify-content: center;
77
+ align-items: center;
78
+ }
79
+
80
+ /* Left Section: Numbers/Asterisks */
81
+ .numbers-section {
82
+ flex: 2;
83
+ padding: 0 10px;
84
+ }
85
+
86
+ .digit-row {
87
+ display: flex;
88
+ justify-content: space-between;
89
+ width: 80%;
90
+ font-size: 38px;
91
+ line-height: 1;
92
+ color: #1D252D;
93
+ margin: 2px 0;
94
+ }
95
+
96
+ /* Middle Section: Emblem */
97
+ .emblem-section {
98
+ flex: 1.2;
99
+ padding: 10px;
100
+ }
101
+
102
+ .emblem-svg {
103
+ width: 100%;
104
+ height: 100%;
105
+ max-height: 90px;
106
+ }
107
+
108
+ /* Right Section: Letters */
109
+ .letters-section {
110
+ flex: 1.8;
111
+ border-right: 2px solid #1D252D;
112
+ padding: 0 10px;
113
+ }
114
+
115
+ .arabic-row {
116
+ font-family: 'Noto Sans Arabic', sans-serif;
117
+ font-size: 32px;
118
+ display: flex;
119
+ justify-content: space-around;
120
+ width: 100%;
121
+ margin-bottom: 5px;
122
+ color: #1D252D;
123
+ }
124
+
125
+ .english-row {
126
+ font-size: 38px;
127
+ display: flex;
128
+ justify-content: space-around;
129
+ width: 100%;
130
+ color: #1D252D;
131
+ }
132
+
133
+ /* Far Right: KSA Strip */
134
+ .ksa-strip {
135
+ width: 50px;
136
+ display: flex;
137
+ flex-direction: column;
138
+ justify-content: space-between;
139
+ align-items: center;
140
+ padding: 10px 0;
141
+ background-color: #fff; /* or specific reflective white */
142
+ }
143
+
144
+ .mini-emblem {
145
+ width: 25px;
146
+ height: auto;
147
+ }
148
+
149
+ .ksa-text {
150
+ writing-mode: vertical-rl;
151
+ text-orientation: upright;
152
+ font-weight: 900;
153
+ font-size: 16px;
154
+ letter-spacing: 2px;
155
+ color: #1D252D;
156
+ margin-top: auto;
157
+ margin-bottom: 5px;
158
+ }
159
+
160
+ .plate-input {
161
+ background: transparent;
162
+ border: none;
163
+ text-align: center;
164
+ font-family: inherit;
165
+ font-size: inherit;
166
+ font-weight: bold;
167
+ color: #1D252D;
168
+ width: 100%; /* Fill the flex/grid item */
169
+ padding: 0;
170
+ margin: 0;
171
+ outline: none; /* Remove blue outline on focus */
172
+ }
173
+
174
+ /* Optional: Add a subtle underline or color change when user clicks the input */
175
+ .plate-input:focus {
176
+ border-bottom: 2px solid #1D252D;
177
+ }
178
+
179
+ /* Adjusting the container flex settings to ensure inputs fit */
180
+ .digit-row, .arabic-row, .english-row {
181
+ display: flex;
182
+ justify-content: space-between;
183
+ width: 100%;
184
+ }
185
+
186
+ /* Specific sizing for numbers to ensure they match plate proportions */
187
+ .number-input {
188
+ /* Adjust width based on your container size, roughly 20-25% */
189
+ flex: 1;
190
+ }
191
+
192
+ /* Specific sizing for letters */
193
+ .letter-input {
194
+ flex: 1;
195
+ }
196
+
197
+ /* Placeholder styling to look like a ghost plate */
198
+ .plate-input::placeholder {
199
+ color: #ccc;
200
+ opacity: 1;
201
+ }
202
+
203
+ .input-wrapper {
204
+ position: relative;
205
+ display: flex;
206
+ flex-direction: column;
207
+ align-items: center;
208
+ flex: 1;
209
+ }
210
+
211
+ .error-tooltip {
212
+ position: absolute;
213
+ bottom: -15px;
214
+ font-size: 10px;
215
+ color: red;
216
+ white-space: nowrap;
217
+ }
218
+
219
+ .plate-input.invalid {
220
+ color: red;
221
+ }
222
+ `,
223
+ changeDetection: ChangeDetectionStrategy.OnPush
224
+ })
225
+ export class PlateViewer extends ViewerBase {
226
+ numbersAr = signal<string[]>(Array(4).fill(""));
227
+ numbersEn = signal<string[]>(Array(4).fill(""));
228
+ lettersAr = signal<string[]>(Array(3).fill(""));
229
+ lettersEn = signal<string[]>(Array(3).fill(""));
230
+ effectRef = effect(() => {
231
+ const val = this.field().value;
232
+ if (val) {
233
+ const parts = val.split("-");
234
+ const letters = parts[0]?.split("") || [];
235
+ const numbers = parts[1]?.split("") || [];
236
+
237
+ // Initialize letters
238
+ const lAr: string[] = [];
239
+ const lEn: string[] = [];
240
+ for (let i = 0; i < 3; i++) {
241
+ const char = letters[i] || "";
242
+ if (char) {
243
+ const plateLetter = PLATE_LETTERS.find(l => l.value === char || l.label.en === char || l.label.ar === char);
244
+ if (plateLetter) {
245
+ lAr.push(plateLetter.label.ar);
246
+ lEn.push(plateLetter.label.en);
247
+ } else {
248
+ lAr.push("");
249
+ lEn.push("");
250
+ }
251
+ } else {
252
+ lAr.push("");
253
+ lEn.push("");
254
+ }
255
+ }
256
+ this.lettersAr.set(lAr);
257
+ this.lettersEn.set(lEn);
258
+
259
+ // Initialize numbers
260
+ const nAr: string[] = [];
261
+ const nEn: string[] = [];
262
+ for (let i = 0; i < 4; i++) {
263
+ const char = numbers[i] || "";
264
+ if (char) {
265
+ nAr.push(this.convertDigit(char, "ar"));
266
+ nEn.push(this.convertDigit(char, "en"));
267
+ } else {
268
+ nAr.push("");
269
+ nEn.push("");
270
+ }
271
+ }
272
+ this.numbersAr.set(nAr);
273
+ this.numbersEn.set(nEn);
274
+ }
275
+ });
276
+
277
+ private convertDigit(digit: string, toLang: "ar" | "en"): string {
278
+ const arDigits = ["٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"];
279
+ const enDigits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
280
+
281
+ if (toLang === "ar") {
282
+ const index = enDigits.indexOf(digit);
283
+ return index !== -1 ? arDigits[index] : digit;
284
+ } else {
285
+ const index = arDigits.indexOf(digit);
286
+ return index !== -1 ? enDigits[index] : digit;
287
+ }
288
+ }
289
+ }
@@ -0,0 +1,48 @@
1
+ import {Component, input, InputSignal} from "@angular/core";
2
+ import {NG_VALUE_ACCESSOR, ReactiveFormsModule} from "@angular/forms";
3
+ import {MatButtonToggle, MatButtonToggleGroup} from "@angular/material/button-toggle";
4
+ import {Option} from "../../../shared/interfaces/option.interface";
5
+ import {ControlBase} from "../base/control.base";
6
+
7
+ @Component({
8
+ selector: "iss-ctrl-radio",
9
+ imports: [
10
+ ReactiveFormsModule,
11
+ MatButtonToggleGroup,
12
+ MatButtonToggle,
13
+ ],
14
+ providers: [
15
+ {provide: NG_VALUE_ACCESSOR, useExisting: RadioControl, multi: true}
16
+ ],
17
+ template: `
18
+ <mat-button-toggle-group [hideSingleSelectionIndicator]="true">
19
+ @for (option of options(); track option.value) {
20
+ <mat-button-toggle
21
+ [value]="option.value"
22
+ [checked]="ctrl.value === option.value"
23
+ (change)="onRadioChange(option.value)"
24
+ >{{ option.label }}
25
+ </mat-button-toggle>
26
+ }
27
+ </mat-button-toggle-group>
28
+ `,
29
+ })
30
+ export class RadioControl extends ControlBase {
31
+ options: InputSignal<Option[]> = input.required();
32
+
33
+ override writeValue(value: string | null) {
34
+ if (value === null || value === undefined) {
35
+ return;
36
+ }
37
+ const values: string[] = value.split(",").map((val: string) => val.trim());
38
+ if (values.length > 1) {
39
+ this.emitValue(null);
40
+ throw new Error("You cannot set multiple values while the control is in single selection mode!");
41
+ }
42
+ this.ctrl.setValue(value);
43
+ }
44
+
45
+ onRadioChange(value: string) {
46
+ this.emitValue(value);
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import {Component} from "@angular/core";
2
+ import {ViewerBase} from "../base/viewer.base";
3
+
4
+ @Component({
5
+ selector: "iss-vwr-radio",
6
+ template: `
7
+ <p>
8
+ @for (item of field().ctrlJsonValue(); track item?.value) {
9
+ <span>{{ item.label }}</span>
10
+ }
11
+ </p>
12
+ `,
13
+ })
14
+ export class RadioViewer extends ViewerBase {}
@@ -0,0 +1,38 @@
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 {WrapperBase} from "../base/wrapper.base";
6
+ import {RadioControl} from "./radio.control";
7
+ import {RadioViewer} from "./radio.viewer";
8
+
9
+ @Component({
10
+ selector: "iss-wrp-radio",
11
+ viewProviders: [VIEW_PROVIDER],
12
+ imports: [
13
+ ReactiveFormsModule,
14
+ MatLabel,
15
+ RadioControl,
16
+ RadioViewer
17
+ ],
18
+ template: `
19
+ @if (field.isVisible() && field.registered()) {
20
+ <div style="display: flex; flex-direction: column">
21
+ @if (!(field.config.hideLabel)) {
22
+ <mat-label>{{ field.label() }}</mat-label>
23
+ }
24
+
25
+ @if (field.mode() === "edit") {
26
+ <iss-ctrl-radio [formControlName]="field.name" [options]="field.options()" (onChange)="onChange($event)" />
27
+ } @else {
28
+ <iss-vwr-radio [field]="field" />
29
+ }
30
+ </div>
31
+ }
32
+ `
33
+ })
34
+ export class RadioWrapper extends WrapperBase {
35
+ onChange($event: any) {
36
+ this.field.ctrlJsonValue.set($event);
37
+ }
38
+ }
@@ -0,0 +1,261 @@
1
+ import {CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport} from "@angular/cdk/scrolling";
2
+ import {NgClass, NgStyle, NgTemplateOutlet} from "@angular/common";
3
+ import {Component, computed, contentChild, CUSTOM_ELEMENTS_SCHEMA, effect, input, InputSignal, OnDestroy, output, OutputEmitterRef, signal, Signal, WritableSignal} from "@angular/core";
4
+ import {toSignal} from "@angular/core/rxjs-interop";
5
+ import {NG_VALUE_ACCESSOR, ReactiveFormsModule} from "@angular/forms";
6
+ import {MatAutocompleteModule} from "@angular/material/autocomplete";
7
+ import {MatChipsModule} from "@angular/material/chips";
8
+ import {MatIconModule} from "@angular/material/icon";
9
+ import {MatInputModule} from "@angular/material/input";
10
+ import {Option} from "../../../shared/interfaces/option.interface";
11
+ import {SelectStatusPipe} from "../../../shared/pipes/select-status.pipe";
12
+ import {ControlBase} from "../base/control.base";
13
+
14
+ @Component({
15
+ selector: "iss-ctrl-select",
16
+ imports: [
17
+ ReactiveFormsModule,
18
+ MatAutocompleteModule,
19
+ MatInputModule,
20
+ MatChipsModule,
21
+ MatIconModule,
22
+ NgClass,
23
+ SelectStatusPipe,
24
+ CdkVirtualForOf,
25
+ CdkVirtualScrollViewport,
26
+ CdkFixedSizeVirtualScroll,
27
+ NgStyle,
28
+ NgTemplateOutlet,
29
+ ],
30
+ providers: [
31
+ {provide: NG_VALUE_ACCESSOR, useExisting: SelectControl, multi: true},
32
+ ],
33
+ template: `
34
+ <mat-form-field floatLabel="auto" class="">
35
+ <mat-label class="fs-16 fc-black">
36
+ <ng-content select="label"></ng-content>
37
+ </mat-label>
38
+ <mat-label />
39
+ <input
40
+ [formControl]="ctrl"
41
+ [matAutocomplete]="auto"
42
+ [matChipInputFor]="chipGrid"
43
+ [placeholder]="placeholder()"
44
+ class="m-0"
45
+ matInput
46
+ />
47
+ @if (!disabled()) {
48
+ @if (selectedOptions().size) {
49
+ <span matSuffix class="sfi sfi-close fs-18 fc-black cursor-pointer" (click)="clearSelection()"></span>
50
+ } @else {
51
+ <span matSuffix class="sfi sfi-arrow-down fs-18 fc-black cursor-pointer"></span>
52
+ }
53
+ }
54
+
55
+ <mat-autocomplete
56
+ #auto="matAutocomplete"
57
+ (optionSelected)="captureValue($event)"
58
+ [displayWith]="displayFn"
59
+ autoActiveFirstOption
60
+ hideSingleSelectionIndicator
61
+ >
62
+ @if (loading()) {
63
+ <mat-option disabled="true">
64
+ <ds-icon icon="spinner" class="spin fc-coral fs-20"></ds-icon>
65
+ </mat-option>
66
+ } @else {
67
+ @if (filteredOptions().length) {
68
+ @if (multiple()) {
69
+ <mat-option (click)="toggleAllSelection()" value="_SELECT_ALL_OPTIONS_">
70
+ {{ allSelected() ? "deselect all" : "Select All" }}
71
+ </mat-option>
72
+ }
73
+ <cdk-virtual-scroll-viewport itemSize="5" [ngStyle]="{'height': height()}">
74
+ <mat-option
75
+ *cdkVirtualFor="let option of filteredOptions()"
76
+ [value]="option"
77
+ [ngClass]="{'mdc-list-item__selected': option | selectStatus: selectedOptions()}"
78
+ >
79
+ @if (optionTemplate()) {
80
+
81
+ <ng-container
82
+ *ngTemplateOutlet="optionTemplate(); context: { $implicit: option}"
83
+ />
84
+ } @else {
85
+ {{ option.label }}
86
+ }
87
+ </mat-option>
88
+ </cdk-virtual-scroll-viewport>
89
+ } @else {
90
+ <mat-option disabled="true">No Result Found</mat-option>
91
+ }
92
+ }
93
+ </mat-autocomplete>
94
+ </mat-form-field>
95
+
96
+ <mat-chip-grid #chipGrid>
97
+ @if (multiple()) {
98
+ @for (chip of selectedOptions(); track chip[0]) {
99
+ <mat-chip-row (removed)="removeFromSelectedOptionsMap(chip[1])">
100
+ @if (cardViewerTemplate()) {
101
+ <ng-container
102
+ *ngTemplateOutlet="cardViewerTemplate(); context: { $implicit: chip[1]}"
103
+ />
104
+ } @else {
105
+ {{ chip[1].label }}
106
+ }
107
+ <button matChipRemove [attr.aria-label]="'remove ' + chip[1].label">
108
+ <ds-icon icon="trash" class="fc-red"></ds-icon>
109
+ </button>
110
+ </mat-chip-row>
111
+ }
112
+ }
113
+ </mat-chip-grid>
114
+ `,
115
+ styles: `
116
+ ::ng-deep {
117
+ .mat-mdc-option.mdc-list-item__selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text {
118
+ --mat-option-selected-state-label-text-color: var(--green);
119
+ color: var(--green);
120
+ }
121
+ }
122
+ `,
123
+ schemas: [CUSTOM_ELEMENTS_SCHEMA]
124
+ })
125
+ export class SelectControl extends ControlBase implements OnDestroy {
126
+ selectedOptions: WritableSignal<Map<string, Option>> = signal(new Map<string, Option>());
127
+ options: InputSignal<Option[]> = input.required();
128
+ height: InputSignal<string> = input("150px");
129
+ query: Signal<string> = toSignal(this.ctrl.valueChanges);
130
+ filteredOptions: Signal<Option[]> = computed(() => this.#filter(this.query()));
131
+ loading: InputSignal<boolean> = input(false);
132
+ onQueryChange: OutputEmitterRef<string> = output();
133
+ displayFn = (options: Option | Option[]): string => {
134
+ if (Array.isArray(options) && !this.multiple()) {
135
+ return options[0]?.label;
136
+ }
137
+ return "";
138
+ };
139
+ protected optionTemplate: any = contentChild("optionTemplate");
140
+ protected cardViewerTemplate: any = contentChild("cardViewerTemplate");
141
+ protected allSelected: WritableSignal<boolean> = signal(false);
142
+ #queryEffectRef = effect(() => {
143
+ if (typeof this.query() === "string") {
144
+ this.onQueryChange.emit(this.query());
145
+ }
146
+ });
147
+ #disabledEffectRef = effect(() => {
148
+ if (this.disabled()) {
149
+ this.ctrl.disable();
150
+ } else {
151
+ this.ctrl.enable();
152
+ }
153
+ });
154
+
155
+ override writeValue(value: string | null) {
156
+ this.#reset();
157
+ if (value === null || value === undefined) {
158
+ return;
159
+ }
160
+ const values: string[] = value.split(",").map(val => val.trim());
161
+ let selectedOptions: Option[] = this.options().filter((option: Option) => values.includes(option.value));
162
+ if (!this.multiple()) {
163
+ if (selectedOptions.length > 1) {
164
+ this.#emit();
165
+ throw new Error("You cannot set multiple values while the control is in single selection mode!");
166
+ }
167
+ selectedOptions = selectedOptions.splice(-selectedOptions.length, selectedOptions.length - selectedOptions.length + 1);
168
+ }
169
+ for (let i = 0; i < selectedOptions.length; i++) {
170
+ const val: Option = selectedOptions[i];
171
+ this.#addToSelectedOptionsMap(val);
172
+ }
173
+ this.ctrl.setValue(selectedOptions);
174
+ }
175
+
176
+ captureValue($event: any) {
177
+ if ($event?.option.value === "_SELECT_ALL_OPTIONS_") {
178
+ return;
179
+ }
180
+ this.#addToSelectedOptionsMap($event?.option.value);
181
+ this.#emit();
182
+ }
183
+
184
+ removeFromSelectedOptionsMap(option: Option) {
185
+ this.selectedOptions().delete(option.value);
186
+ this.filteredOptions = computed(() => this.#filter(this.query()));
187
+ this.allSelected.set(false);
188
+ this.#emit();
189
+ }
190
+
191
+ clearSelection() {
192
+ this.#reset();
193
+ this.allSelected.set(false);
194
+ this.#emit();
195
+ }
196
+
197
+ toggleAllSelection() {
198
+ if (this.selectedOptions().size === this.options().length) {
199
+ this.#reset();
200
+ this.#emit();
201
+ this.allSelected.set(false);
202
+ return;
203
+ }
204
+ for (let i = 0; i < this.options().length; i++) {
205
+ this.#addToSelectedOptionsMap(this.options()[i]);
206
+ }
207
+ this.allSelected.set(true);
208
+ this.#emit();
209
+ }
210
+
211
+ ngOnDestroy(): void {
212
+ this.#queryEffectRef.destroy();
213
+ this.#disabledEffectRef.destroy();
214
+ }
215
+
216
+ #addToSelectedOptionsMap(option: any) {
217
+ if (option) {
218
+ const selectedOption = option;
219
+ if (!this.multiple()) {
220
+ this.#reset();
221
+ }
222
+ this.selectedOptions().set(selectedOption.value, selectedOption);
223
+ this.ctrl.setValue(this.#convertSelectedMapToArray());
224
+ }
225
+ }
226
+
227
+ #stringifySelectedOptions(): string | null {
228
+ const selectedOptionsArr: Option[] | null = this.#convertSelectedMapToArray();
229
+ if (selectedOptionsArr) {
230
+ return selectedOptionsArr.map((o) => o.value).join();
231
+ }
232
+ return null;
233
+ }
234
+
235
+ #filter(queryString: string | Option): Option[] {
236
+ if (queryString === null || queryString === undefined || typeof queryString !== "string") {
237
+ return this.options();
238
+ }
239
+ const query: string = queryString.toLowerCase();
240
+ const filteredOptions: Option[] = this.options().filter((option: Option) => {
241
+ return (option.value.toLowerCase().includes(query) || option.label.toLowerCase().includes(query));
242
+ });
243
+ return JSON.parse(JSON.stringify(filteredOptions));
244
+ }
245
+
246
+ #emit() {
247
+ this.propagateValue(this.#stringifySelectedOptions());
248
+ this.emitOnChangeEvent(this.#convertSelectedMapToArray());
249
+ }
250
+
251
+ #reset() {
252
+ this.selectedOptions().clear();
253
+ this.filteredOptions = computed(() => this.#filter(this.query()));
254
+ this.ctrl.setValue(null);
255
+ }
256
+
257
+ #convertSelectedMapToArray(): Option[] | null {
258
+ const selectedOptionsArr: Option[] = Array.from(this.selectedOptions(), ([_, option]) => option);
259
+ return selectedOptionsArr.length ? selectedOptionsArr : null;
260
+ }
261
+ }
@@ -0,0 +1,14 @@
1
+ import {Component} from "@angular/core";
2
+ import {ViewerBase} from "../base/viewer.base";
3
+
4
+ @Component({
5
+ selector: "iss-vwr-select",
6
+ template: `
7
+ <p>
8
+ @for (item of field().ctrlJsonValue(); track item?.value; let last = $last) {
9
+ <span>{{ item.label }} {{ last ? '' : ', ' }}</span>
10
+ }
11
+ </p>
12
+ `,
13
+ })
14
+ export class SelectViewer extends ViewerBase {}