@synergy-design-system/components 2.8.1 → 2.10.0

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 (290) hide show
  1. package/dist/chunks/{chunk.DYYUQIA2.js → chunk.26D5YTYY.js} +4 -4
  2. package/dist/chunks/{chunk.RHR4U6OW.js → chunk.2XI3236U.js} +2 -2
  3. package/dist/chunks/{chunk.3PMJXCGF.js → chunk.32ROBM5F.js} +2 -2
  4. package/dist/chunks/{chunk.ZWBQZ3TF.js → chunk.3P6JDQH4.js} +5 -5
  5. package/dist/chunks/{chunk.PTFQMAJK.js → chunk.457ONZXS.js} +2 -2
  6. package/dist/chunks/{chunk.UQ4AQCDW.js → chunk.4GNQ6O32.js} +2 -2
  7. package/dist/chunks/{chunk.AFGSWIVU.js → chunk.5PGT6VKW.js} +2 -2
  8. package/dist/chunks/{chunk.BS6RCJAA.js → chunk.644G5ZQW.js} +76 -30
  9. package/dist/chunks/chunk.644G5ZQW.js.map +7 -0
  10. package/dist/chunks/{chunk.EG2IMMFQ.js → chunk.6HJMWLWM.js} +4 -4
  11. package/dist/chunks/{chunk.FV5CR37F.js → chunk.6PUIEJZW.js} +2 -2
  12. package/dist/chunks/{chunk.DORQF2IR.js → chunk.6XJALKIW.js} +2 -2
  13. package/dist/chunks/{chunk.RTMHCZ2X.js → chunk.7F7UY7NU.js} +2 -2
  14. package/dist/chunks/{chunk.BAU2TJA6.js → chunk.7GOVVZSB.js} +5 -5
  15. package/dist/chunks/{chunk.QEE6QHNL.js → chunk.7QS63TIF.js} +2 -2
  16. package/dist/chunks/{chunk.FHB2H5R2.js → chunk.AMIP2UTG.js} +2 -2
  17. package/dist/chunks/{chunk.HHBOU4HL.js → chunk.AODAJY2J.js} +2 -2
  18. package/dist/chunks/{chunk.OCZ6SNNW.js → chunk.ARJTPDLM.js} +2 -2
  19. package/dist/chunks/{chunk.E3QPS5XK.js → chunk.B3F3BNWM.js} +2 -2
  20. package/dist/chunks/{chunk.BJ2F6ARR.js → chunk.CHVQD46H.js} +2 -2
  21. package/dist/chunks/{chunk.A2JGI7YK.js → chunk.CNZVE6DX.js} +2 -2
  22. package/dist/chunks/{chunk.QA7ENF6T.js → chunk.COQWVQKU.js} +2 -2
  23. package/dist/chunks/{chunk.W6DMUOGD.js → chunk.CRMLPCLE.js} +3 -3
  24. package/dist/chunks/{chunk.BGIPS7RY.js → chunk.DEF3F7KI.js} +2 -2
  25. package/dist/chunks/{chunk.SYY26NKV.js → chunk.DUPIWX44.js} +3 -3
  26. package/dist/chunks/{chunk.ISY76A43.js → chunk.DW2HJJSS.js} +5 -5
  27. package/dist/chunks/{chunk.QENGAJI2.js → chunk.EAIV7Z3K.js} +2 -2
  28. package/dist/chunks/{chunk.5IBMJU5B.js → chunk.EFHN3WFF.js} +2 -2
  29. package/dist/chunks/{chunk.JI7DN44F.js → chunk.F3ZD24KL.js} +2 -2
  30. package/dist/chunks/{chunk.5P7T4EJW.js → chunk.GHCHML7Q.js} +2 -2
  31. package/dist/chunks/{chunk.ESQAXAFE.js → chunk.GIU3H3J3.js} +2 -2
  32. package/dist/chunks/{chunk.ESQAXAFE.js.map → chunk.GIU3H3J3.js.map} +1 -1
  33. package/dist/chunks/{chunk.CUCUCDH2.js → chunk.GNTMBIJ3.js} +2 -2
  34. package/dist/chunks/{chunk.76SYNITQ.js → chunk.HRZVVJWN.js} +5 -5
  35. package/dist/chunks/{chunk.OOSXOXEW.js → chunk.HTDUG42Y.js} +7 -7
  36. package/dist/chunks/{chunk.FIZMTZML.js → chunk.IKMMAH4B.js} +3 -3
  37. package/dist/chunks/{chunk.MSPUCOOE.js → chunk.J3G6QW2N.js} +4 -4
  38. package/dist/chunks/{chunk.NB7DQIH4.js → chunk.JOLV65OX.js} +2 -2
  39. package/dist/chunks/{chunk.QILAGLSO.js → chunk.JPOF4LH3.js} +2 -2
  40. package/dist/chunks/{chunk.Y2EMVYXM.js → chunk.JSWKJCBI.js} +2 -2
  41. package/dist/chunks/{chunk.576XTTSC.js → chunk.JUV4RAMU.js} +4 -4
  42. package/dist/chunks/{chunk.P7BBVH4J.js → chunk.K4HKXH3D.js} +4 -4
  43. package/dist/chunks/{chunk.52JYIPPF.js → chunk.K7YLL5CA.js} +3 -3
  44. package/dist/chunks/{chunk.ZNLBIUIN.js → chunk.KE5VIZFK.js} +3 -3
  45. package/dist/chunks/{chunk.WNHTRLHT.js → chunk.KNEOARH2.js} +2 -2
  46. package/dist/chunks/{chunk.5LY7AGHD.js → chunk.LD2TWSEI.js} +2 -2
  47. package/dist/chunks/{chunk.CKE7C643.js → chunk.LXHBAJOV.js} +14 -9
  48. package/dist/chunks/chunk.LXHBAJOV.js.map +7 -0
  49. package/dist/chunks/{chunk.HM57BJF5.js → chunk.MK73B756.js} +2 -2
  50. package/dist/chunks/{chunk.AO7D6MGZ.js → chunk.MSEKAA7G.js} +4 -4
  51. package/dist/chunks/{chunk.HHRJTCUN.js → chunk.MYG4CJSU.js} +4 -4
  52. package/dist/chunks/{chunk.EN7WGVFV.js → chunk.MYRA54YM.js} +2 -2
  53. package/dist/chunks/{chunk.X3UWO4AP.js → chunk.MZLFZF37.js} +2 -2
  54. package/dist/chunks/{chunk.J44JFQKE.js → chunk.N6BWVP65.js} +6 -6
  55. package/dist/chunks/{chunk.4OSD25EN.js → chunk.NAVTUTZL.js} +3 -3
  56. package/dist/chunks/{chunk.FWGBAOEO.js → chunk.NKY3SJPS.js} +2 -2
  57. package/dist/chunks/{chunk.AAFLJTCI.js → chunk.NQMWV7VN.js} +2 -2
  58. package/dist/chunks/{chunk.KQTEJUZC.js → chunk.OATGGAX4.js} +2 -2
  59. package/dist/chunks/{chunk.WRCWSEE7.js → chunk.P2TJITXW.js} +2 -2
  60. package/dist/chunks/{chunk.KTALTT2Z.js → chunk.PCNLJVEP.js} +2 -2
  61. package/dist/chunks/{chunk.RC5BEOPA.js → chunk.PMKKQO7T.js} +2 -2
  62. package/dist/chunks/{chunk.BWIAZH7P.js → chunk.PPXKY7LV.js} +2 -2
  63. package/dist/chunks/{chunk.POA3IDNG.js → chunk.Q2B76EVN.js} +2 -2
  64. package/dist/chunks/{chunk.POA3IDNG.js.map → chunk.Q2B76EVN.js.map} +1 -1
  65. package/dist/chunks/{chunk.QOFFSNC7.js → chunk.Q5M4VNQR.js} +2 -2
  66. package/dist/chunks/{chunk.UQ6SGBIE.js → chunk.QP6ZLPMD.js} +2 -2
  67. package/dist/chunks/{chunk.P7HCXUSU.js → chunk.QWWU6DI4.js} +2 -2
  68. package/dist/chunks/{chunk.B7G5PMM3.js → chunk.QXPUV76T.js} +2 -2
  69. package/dist/chunks/{chunk.HJN2PJLO.js → chunk.QXWZV7E3.js} +2 -2
  70. package/dist/chunks/{chunk.BADCMLNU.js → chunk.RLINNCVI.js} +2 -2
  71. package/dist/chunks/{chunk.EAPQXMZ2.js → chunk.RLOGLQOL.js} +2 -2
  72. package/dist/chunks/{chunk.NC25624J.js → chunk.RR3DNJVV.js} +2 -2
  73. package/dist/chunks/{chunk.GHGGBS4N.js → chunk.S5N2TE2L.js} +5 -3
  74. package/dist/chunks/{chunk.GHGGBS4N.js.map → chunk.S5N2TE2L.js.map} +2 -2
  75. package/dist/chunks/{chunk.OMUEASJV.js → chunk.SVYLXCNV.js} +4 -4
  76. package/dist/chunks/{chunk.UUDEWIY2.js → chunk.TAGZXFGC.js} +4 -4
  77. package/dist/chunks/{chunk.VKYAP6J3.js → chunk.TH7KMDVN.js} +3 -3
  78. package/dist/chunks/{chunk.EM53DV44.js → chunk.TK2SEGJ3.js} +3 -3
  79. package/dist/chunks/{chunk.2QZJVYXZ.js → chunk.TZRGUCZ4.js} +2 -2
  80. package/dist/chunks/{chunk.CW4MHF2R.js → chunk.U47TF5KD.js} +2 -2
  81. package/dist/chunks/{chunk.2VGUDLNP.js → chunk.UINVBAM3.js} +2 -2
  82. package/dist/chunks/{chunk.RUYJJAFE.js → chunk.UJLZ2QDC.js} +2 -2
  83. package/dist/chunks/{chunk.GWH3EUTB.js → chunk.V3KVM2RV.js} +3 -3
  84. package/dist/chunks/{chunk.SZWESO3L.js → chunk.VOAP3NDB.js} +2 -2
  85. package/dist/chunks/{chunk.UJ2YRD74.js → chunk.VQXEJFCQ.js} +2 -2
  86. package/dist/chunks/{chunk.57O66K77.js → chunk.VXO6HVQJ.js} +2 -2
  87. package/dist/chunks/{chunk.3PECQYUM.js → chunk.W3IXIXAW.js} +4 -4
  88. package/dist/chunks/{chunk.3MI2YYYP.js → chunk.W6R37VXL.js} +5 -5
  89. package/dist/chunks/{chunk.4PTV2G5L.js → chunk.WKIJW4LR.js} +2 -2
  90. package/dist/chunks/{chunk.D6HHUC7H.js → chunk.WODFNB4X.js} +4 -4
  91. package/dist/chunks/{chunk.EZNNJFB7.js → chunk.WPVZBXLP.js} +3 -3
  92. package/dist/chunks/{chunk.Q4VDUQXB.js → chunk.XOBCPI7L.js} +2 -2
  93. package/dist/chunks/{chunk.7L5M45GY.js → chunk.YD3PBAPD.js} +2 -2
  94. package/dist/chunks/{chunk.QHRX5Z2F.js → chunk.YLTKZLPW.js} +2 -2
  95. package/dist/chunks/{chunk.ACEU7Q65.js → chunk.YQBIXSD6.js} +2 -2
  96. package/dist/chunks/{chunk.C2U4OMNI.js → chunk.YRIWLFVL.js} +2 -2
  97. package/dist/chunks/{chunk.VJ34GMBJ.js → chunk.Z3LFA3UL.js} +4 -4
  98. package/dist/chunks/{chunk.QI7ZFRLW.js → chunk.ZSO6V4RG.js} +4 -4
  99. package/dist/components/accordion/accordion.component.js +2 -2
  100. package/dist/components/accordion/accordion.js +3 -3
  101. package/dist/components/alert/alert.component.js +6 -6
  102. package/dist/components/alert/alert.js +7 -7
  103. package/dist/components/badge/badge.component.js +4 -4
  104. package/dist/components/badge/badge.js +5 -5
  105. package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
  106. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  107. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  108. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  109. package/dist/components/button/button.component.js +6 -6
  110. package/dist/components/button/button.js +7 -7
  111. package/dist/components/button-group/button-group.component.js +2 -2
  112. package/dist/components/button-group/button-group.js +3 -3
  113. package/dist/components/card/card.component.js +2 -2
  114. package/dist/components/card/card.js +3 -3
  115. package/dist/components/checkbox/checkbox.component.js +3 -3
  116. package/dist/components/checkbox/checkbox.js +4 -4
  117. package/dist/components/combobox/combobox.component.js +6 -6
  118. package/dist/components/combobox/combobox.js +7 -7
  119. package/dist/components/details/details.component.js +5 -5
  120. package/dist/components/details/details.js +6 -6
  121. package/dist/components/dialog/dialog.component.js +6 -6
  122. package/dist/components/dialog/dialog.js +7 -7
  123. package/dist/components/divider/divider.component.js +2 -2
  124. package/dist/components/divider/divider.js +3 -3
  125. package/dist/components/drawer/drawer.component.js +6 -6
  126. package/dist/components/drawer/drawer.js +7 -7
  127. package/dist/components/dropdown/dropdown.component.js +5 -5
  128. package/dist/components/dropdown/dropdown.js +6 -6
  129. package/dist/components/file/file.component.d.ts +3 -0
  130. package/dist/components/file/file.component.js +7 -7
  131. package/dist/components/file/file.js +8 -8
  132. package/dist/components/header/header.component.js +6 -6
  133. package/dist/components/header/header.js +7 -7
  134. package/dist/components/icon/icon.component.js +2 -2
  135. package/dist/components/icon/icon.js +3 -3
  136. package/dist/components/icon-button/icon-button.component.js +3 -3
  137. package/dist/components/icon-button/icon-button.js +4 -4
  138. package/dist/components/input/input.component.js +6 -6
  139. package/dist/components/input/input.js +7 -7
  140. package/dist/components/menu/menu.component.js +2 -2
  141. package/dist/components/menu/menu.js +3 -3
  142. package/dist/components/menu-item/menu-item.component.js +7 -7
  143. package/dist/components/menu-item/menu-item.js +8 -8
  144. package/dist/components/menu-label/menu-label.component.js +3 -3
  145. package/dist/components/menu-label/menu-label.js +4 -4
  146. package/dist/components/nav-item/nav-item.component.js +3 -3
  147. package/dist/components/nav-item/nav-item.js +4 -4
  148. package/dist/components/optgroup/optgroup.component.js +3 -3
  149. package/dist/components/optgroup/optgroup.js +4 -4
  150. package/dist/components/option/option.component.js +5 -5
  151. package/dist/components/option/option.js +6 -6
  152. package/dist/components/popup/popup.component.js +2 -2
  153. package/dist/components/popup/popup.js +3 -3
  154. package/dist/components/prio-nav/prio-nav.component.js +10 -10
  155. package/dist/components/prio-nav/prio-nav.js +11 -11
  156. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  157. package/dist/components/progress-bar/progress-bar.js +5 -5
  158. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  159. package/dist/components/progress-ring/progress-ring.js +5 -5
  160. package/dist/components/radio/radio.component.js +3 -3
  161. package/dist/components/radio/radio.js +4 -4
  162. package/dist/components/radio-button/radio-button.component.js +2 -2
  163. package/dist/components/radio-button/radio-button.js +3 -3
  164. package/dist/components/radio-group/radio-group.component.d.ts +2 -0
  165. package/dist/components/radio-group/radio-group.component.js +3 -3
  166. package/dist/components/radio-group/radio-group.js +4 -4
  167. package/dist/components/range/range.component.js +6 -6
  168. package/dist/components/range/range.js +7 -7
  169. package/dist/components/range-tick/range-tick.component.js +2 -2
  170. package/dist/components/range-tick/range-tick.js +3 -3
  171. package/dist/components/select/select.component.js +8 -8
  172. package/dist/components/select/select.js +9 -9
  173. package/dist/components/side-nav/side-nav.component.js +8 -8
  174. package/dist/components/side-nav/side-nav.js +9 -9
  175. package/dist/components/spinner/spinner.component.js +4 -4
  176. package/dist/components/spinner/spinner.js +5 -5
  177. package/dist/components/switch/switch.component.js +2 -2
  178. package/dist/components/switch/switch.js +3 -3
  179. package/dist/components/tab/tab.component.js +6 -6
  180. package/dist/components/tab/tab.js +7 -7
  181. package/dist/components/tab-group/tab-group.component.js +6 -6
  182. package/dist/components/tab-group/tab-group.js +7 -7
  183. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  184. package/dist/components/tab-panel/tab-panel.js +3 -3
  185. package/dist/components/tag/tag.component.js +6 -6
  186. package/dist/components/tag/tag.js +7 -7
  187. package/dist/components/textarea/textarea.component.js +2 -2
  188. package/dist/components/textarea/textarea.js +3 -3
  189. package/dist/components/tooltip/tooltip.component.js +5 -5
  190. package/dist/components/tooltip/tooltip.js +6 -6
  191. package/dist/custom-elements.json +130 -79
  192. package/dist/styles/index.css +1 -1
  193. package/dist/synergy.js +93 -93
  194. package/dist/translations/de.js +6 -4
  195. package/dist/translations/de.js.map +2 -2
  196. package/dist/translations/en.js +1 -1
  197. package/dist/utilities/localize.d.ts +3 -1
  198. package/dist/utilities/localize.js +2 -2
  199. package/dist/vscode.html-custom-data.json +25 -25
  200. package/package.json +4 -4
  201. package/dist/chunks/chunk.BS6RCJAA.js.map +0 -7
  202. package/dist/chunks/chunk.CKE7C643.js.map +0 -7
  203. /package/dist/chunks/{chunk.DYYUQIA2.js.map → chunk.26D5YTYY.js.map} +0 -0
  204. /package/dist/chunks/{chunk.RHR4U6OW.js.map → chunk.2XI3236U.js.map} +0 -0
  205. /package/dist/chunks/{chunk.3PMJXCGF.js.map → chunk.32ROBM5F.js.map} +0 -0
  206. /package/dist/chunks/{chunk.ZWBQZ3TF.js.map → chunk.3P6JDQH4.js.map} +0 -0
  207. /package/dist/chunks/{chunk.PTFQMAJK.js.map → chunk.457ONZXS.js.map} +0 -0
  208. /package/dist/chunks/{chunk.UQ4AQCDW.js.map → chunk.4GNQ6O32.js.map} +0 -0
  209. /package/dist/chunks/{chunk.AFGSWIVU.js.map → chunk.5PGT6VKW.js.map} +0 -0
  210. /package/dist/chunks/{chunk.EG2IMMFQ.js.map → chunk.6HJMWLWM.js.map} +0 -0
  211. /package/dist/chunks/{chunk.FV5CR37F.js.map → chunk.6PUIEJZW.js.map} +0 -0
  212. /package/dist/chunks/{chunk.DORQF2IR.js.map → chunk.6XJALKIW.js.map} +0 -0
  213. /package/dist/chunks/{chunk.RTMHCZ2X.js.map → chunk.7F7UY7NU.js.map} +0 -0
  214. /package/dist/chunks/{chunk.BAU2TJA6.js.map → chunk.7GOVVZSB.js.map} +0 -0
  215. /package/dist/chunks/{chunk.QEE6QHNL.js.map → chunk.7QS63TIF.js.map} +0 -0
  216. /package/dist/chunks/{chunk.FHB2H5R2.js.map → chunk.AMIP2UTG.js.map} +0 -0
  217. /package/dist/chunks/{chunk.HHBOU4HL.js.map → chunk.AODAJY2J.js.map} +0 -0
  218. /package/dist/chunks/{chunk.OCZ6SNNW.js.map → chunk.ARJTPDLM.js.map} +0 -0
  219. /package/dist/chunks/{chunk.E3QPS5XK.js.map → chunk.B3F3BNWM.js.map} +0 -0
  220. /package/dist/chunks/{chunk.BJ2F6ARR.js.map → chunk.CHVQD46H.js.map} +0 -0
  221. /package/dist/chunks/{chunk.A2JGI7YK.js.map → chunk.CNZVE6DX.js.map} +0 -0
  222. /package/dist/chunks/{chunk.QA7ENF6T.js.map → chunk.COQWVQKU.js.map} +0 -0
  223. /package/dist/chunks/{chunk.W6DMUOGD.js.map → chunk.CRMLPCLE.js.map} +0 -0
  224. /package/dist/chunks/{chunk.BGIPS7RY.js.map → chunk.DEF3F7KI.js.map} +0 -0
  225. /package/dist/chunks/{chunk.SYY26NKV.js.map → chunk.DUPIWX44.js.map} +0 -0
  226. /package/dist/chunks/{chunk.ISY76A43.js.map → chunk.DW2HJJSS.js.map} +0 -0
  227. /package/dist/chunks/{chunk.QENGAJI2.js.map → chunk.EAIV7Z3K.js.map} +0 -0
  228. /package/dist/chunks/{chunk.5IBMJU5B.js.map → chunk.EFHN3WFF.js.map} +0 -0
  229. /package/dist/chunks/{chunk.JI7DN44F.js.map → chunk.F3ZD24KL.js.map} +0 -0
  230. /package/dist/chunks/{chunk.5P7T4EJW.js.map → chunk.GHCHML7Q.js.map} +0 -0
  231. /package/dist/chunks/{chunk.CUCUCDH2.js.map → chunk.GNTMBIJ3.js.map} +0 -0
  232. /package/dist/chunks/{chunk.76SYNITQ.js.map → chunk.HRZVVJWN.js.map} +0 -0
  233. /package/dist/chunks/{chunk.OOSXOXEW.js.map → chunk.HTDUG42Y.js.map} +0 -0
  234. /package/dist/chunks/{chunk.FIZMTZML.js.map → chunk.IKMMAH4B.js.map} +0 -0
  235. /package/dist/chunks/{chunk.MSPUCOOE.js.map → chunk.J3G6QW2N.js.map} +0 -0
  236. /package/dist/chunks/{chunk.NB7DQIH4.js.map → chunk.JOLV65OX.js.map} +0 -0
  237. /package/dist/chunks/{chunk.QILAGLSO.js.map → chunk.JPOF4LH3.js.map} +0 -0
  238. /package/dist/chunks/{chunk.Y2EMVYXM.js.map → chunk.JSWKJCBI.js.map} +0 -0
  239. /package/dist/chunks/{chunk.576XTTSC.js.map → chunk.JUV4RAMU.js.map} +0 -0
  240. /package/dist/chunks/{chunk.P7BBVH4J.js.map → chunk.K4HKXH3D.js.map} +0 -0
  241. /package/dist/chunks/{chunk.52JYIPPF.js.map → chunk.K7YLL5CA.js.map} +0 -0
  242. /package/dist/chunks/{chunk.ZNLBIUIN.js.map → chunk.KE5VIZFK.js.map} +0 -0
  243. /package/dist/chunks/{chunk.WNHTRLHT.js.map → chunk.KNEOARH2.js.map} +0 -0
  244. /package/dist/chunks/{chunk.5LY7AGHD.js.map → chunk.LD2TWSEI.js.map} +0 -0
  245. /package/dist/chunks/{chunk.HM57BJF5.js.map → chunk.MK73B756.js.map} +0 -0
  246. /package/dist/chunks/{chunk.AO7D6MGZ.js.map → chunk.MSEKAA7G.js.map} +0 -0
  247. /package/dist/chunks/{chunk.HHRJTCUN.js.map → chunk.MYG4CJSU.js.map} +0 -0
  248. /package/dist/chunks/{chunk.EN7WGVFV.js.map → chunk.MYRA54YM.js.map} +0 -0
  249. /package/dist/chunks/{chunk.X3UWO4AP.js.map → chunk.MZLFZF37.js.map} +0 -0
  250. /package/dist/chunks/{chunk.J44JFQKE.js.map → chunk.N6BWVP65.js.map} +0 -0
  251. /package/dist/chunks/{chunk.4OSD25EN.js.map → chunk.NAVTUTZL.js.map} +0 -0
  252. /package/dist/chunks/{chunk.FWGBAOEO.js.map → chunk.NKY3SJPS.js.map} +0 -0
  253. /package/dist/chunks/{chunk.AAFLJTCI.js.map → chunk.NQMWV7VN.js.map} +0 -0
  254. /package/dist/chunks/{chunk.KQTEJUZC.js.map → chunk.OATGGAX4.js.map} +0 -0
  255. /package/dist/chunks/{chunk.WRCWSEE7.js.map → chunk.P2TJITXW.js.map} +0 -0
  256. /package/dist/chunks/{chunk.KTALTT2Z.js.map → chunk.PCNLJVEP.js.map} +0 -0
  257. /package/dist/chunks/{chunk.RC5BEOPA.js.map → chunk.PMKKQO7T.js.map} +0 -0
  258. /package/dist/chunks/{chunk.BWIAZH7P.js.map → chunk.PPXKY7LV.js.map} +0 -0
  259. /package/dist/chunks/{chunk.QOFFSNC7.js.map → chunk.Q5M4VNQR.js.map} +0 -0
  260. /package/dist/chunks/{chunk.UQ6SGBIE.js.map → chunk.QP6ZLPMD.js.map} +0 -0
  261. /package/dist/chunks/{chunk.P7HCXUSU.js.map → chunk.QWWU6DI4.js.map} +0 -0
  262. /package/dist/chunks/{chunk.B7G5PMM3.js.map → chunk.QXPUV76T.js.map} +0 -0
  263. /package/dist/chunks/{chunk.HJN2PJLO.js.map → chunk.QXWZV7E3.js.map} +0 -0
  264. /package/dist/chunks/{chunk.BADCMLNU.js.map → chunk.RLINNCVI.js.map} +0 -0
  265. /package/dist/chunks/{chunk.EAPQXMZ2.js.map → chunk.RLOGLQOL.js.map} +0 -0
  266. /package/dist/chunks/{chunk.NC25624J.js.map → chunk.RR3DNJVV.js.map} +0 -0
  267. /package/dist/chunks/{chunk.OMUEASJV.js.map → chunk.SVYLXCNV.js.map} +0 -0
  268. /package/dist/chunks/{chunk.UUDEWIY2.js.map → chunk.TAGZXFGC.js.map} +0 -0
  269. /package/dist/chunks/{chunk.VKYAP6J3.js.map → chunk.TH7KMDVN.js.map} +0 -0
  270. /package/dist/chunks/{chunk.EM53DV44.js.map → chunk.TK2SEGJ3.js.map} +0 -0
  271. /package/dist/chunks/{chunk.2QZJVYXZ.js.map → chunk.TZRGUCZ4.js.map} +0 -0
  272. /package/dist/chunks/{chunk.CW4MHF2R.js.map → chunk.U47TF5KD.js.map} +0 -0
  273. /package/dist/chunks/{chunk.2VGUDLNP.js.map → chunk.UINVBAM3.js.map} +0 -0
  274. /package/dist/chunks/{chunk.RUYJJAFE.js.map → chunk.UJLZ2QDC.js.map} +0 -0
  275. /package/dist/chunks/{chunk.GWH3EUTB.js.map → chunk.V3KVM2RV.js.map} +0 -0
  276. /package/dist/chunks/{chunk.SZWESO3L.js.map → chunk.VOAP3NDB.js.map} +0 -0
  277. /package/dist/chunks/{chunk.UJ2YRD74.js.map → chunk.VQXEJFCQ.js.map} +0 -0
  278. /package/dist/chunks/{chunk.57O66K77.js.map → chunk.VXO6HVQJ.js.map} +0 -0
  279. /package/dist/chunks/{chunk.3PECQYUM.js.map → chunk.W3IXIXAW.js.map} +0 -0
  280. /package/dist/chunks/{chunk.3MI2YYYP.js.map → chunk.W6R37VXL.js.map} +0 -0
  281. /package/dist/chunks/{chunk.4PTV2G5L.js.map → chunk.WKIJW4LR.js.map} +0 -0
  282. /package/dist/chunks/{chunk.D6HHUC7H.js.map → chunk.WODFNB4X.js.map} +0 -0
  283. /package/dist/chunks/{chunk.EZNNJFB7.js.map → chunk.WPVZBXLP.js.map} +0 -0
  284. /package/dist/chunks/{chunk.Q4VDUQXB.js.map → chunk.XOBCPI7L.js.map} +0 -0
  285. /package/dist/chunks/{chunk.7L5M45GY.js.map → chunk.YD3PBAPD.js.map} +0 -0
  286. /package/dist/chunks/{chunk.QHRX5Z2F.js.map → chunk.YLTKZLPW.js.map} +0 -0
  287. /package/dist/chunks/{chunk.ACEU7Q65.js.map → chunk.YQBIXSD6.js.map} +0 -0
  288. /package/dist/chunks/{chunk.C2U4OMNI.js.map → chunk.YRIWLFVL.js.map} +0 -0
  289. /package/dist/chunks/{chunk.VJ34GMBJ.js.map → chunk.Z3LFA3UL.js.map} +0 -0
  290. /package/dist/chunks/{chunk.QI7ZFRLW.js.map → chunk.ZSO6V4RG.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.4X3HY2V5.js";
7
7
  import {
8
8
  SynPopup
9
- } from "./chunk.A2JGI7YK.js";
9
+ } from "./chunk.CNZVE6DX.js";
10
10
  import {
11
11
  waitForEvent
12
12
  } from "./chunk.C2ENQBPM.js";
@@ -21,14 +21,14 @@ import {
21
21
  } from "./chunk.HQ6QUSK7.js";
22
22
  import {
23
23
  LocalizeController
24
- } from "./chunk.ESQAXAFE.js";
24
+ } from "./chunk.GIU3H3J3.js";
25
25
  import {
26
26
  watch
27
27
  } from "./chunk.74IOULXM.js";
28
28
  import {
29
29
  SynergyElement,
30
30
  component_styles_default
31
- } from "./chunk.POA3IDNG.js";
31
+ } from "./chunk.Q2B76EVN.js";
32
32
  import {
33
33
  __decorateClass
34
34
  } from "./chunk.2GFK6XTO.js";
@@ -272,4 +272,4 @@ setDefaultAnimation("tooltip.hide", {
272
272
  export {
273
273
  SynTooltip
274
274
  };
275
- //# sourceMappingURL=chunk.DYYUQIA2.js.map
275
+ //# sourceMappingURL=chunk.26D5YTYY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.MSPUCOOE.js";
3
+ } from "./chunk.J3G6QW2N.js";
4
4
 
5
5
  // src/components/tag/tag.ts
6
6
  var tag_default = SynTag;
@@ -9,4 +9,4 @@ SynTag.define("syn-tag");
9
9
  export {
10
10
  tag_default
11
11
  };
12
- //# sourceMappingURL=chunk.RHR4U6OW.js.map
12
+ //# sourceMappingURL=chunk.2XI3236U.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SynergyElement,
9
9
  component_styles_default
10
- } from "./chunk.POA3IDNG.js";
10
+ } from "./chunk.Q2B76EVN.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.2GFK6XTO.js";
@@ -103,4 +103,4 @@ __decorateClass([
103
103
  export {
104
104
  SynAccordion
105
105
  };
106
- //# sourceMappingURL=chunk.3PMJXCGF.js.map
106
+ //# sourceMappingURL=chunk.32ROBM5F.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.A2JGI7YK.js";
3
+ } from "./chunk.CNZVE6DX.js";
4
4
  import {
5
5
  defaultOptionRenderer
6
6
  } from "./chunk.SRH6ZOHT.js";
@@ -45,17 +45,17 @@ import {
45
45
  } from "./chunk.WVVQK5TE.js";
46
46
  import {
47
47
  SynIcon
48
- } from "./chunk.HM57BJF5.js";
48
+ } from "./chunk.MK73B756.js";
49
49
  import {
50
50
  LocalizeController
51
- } from "./chunk.ESQAXAFE.js";
51
+ } from "./chunk.GIU3H3J3.js";
52
52
  import {
53
53
  watch
54
54
  } from "./chunk.74IOULXM.js";
55
55
  import {
56
56
  SynergyElement,
57
57
  component_styles_default
58
- } from "./chunk.POA3IDNG.js";
58
+ } from "./chunk.Q2B76EVN.js";
59
59
  import {
60
60
  __decorateClass
61
61
  } from "./chunk.2GFK6XTO.js";
@@ -812,4 +812,4 @@ setDefaultAnimation("combobox.hide", {
812
812
  export {
813
813
  SynCombobox
814
814
  };
815
- //# sourceMappingURL=chunk.ZWBQZ3TF.js.map
815
+ //# sourceMappingURL=chunk.3P6JDQH4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAlert
3
- } from "./chunk.576XTTSC.js";
3
+ } from "./chunk.JUV4RAMU.js";
4
4
 
5
5
  // src/components/alert/alert.ts
6
6
  var alert_default = SynAlert;
@@ -9,4 +9,4 @@ SynAlert.define("syn-alert");
9
9
  export {
10
10
  alert_default
11
11
  };
12
- //# sourceMappingURL=chunk.PTFQMAJK.js.map
12
+ //# sourceMappingURL=chunk.457ONZXS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynProgressBar
3
- } from "./chunk.EZNNJFB7.js";
3
+ } from "./chunk.WPVZBXLP.js";
4
4
 
5
5
  // src/components/progress-bar/progress-bar.ts
6
6
  var progress_bar_default = SynProgressBar;
@@ -9,4 +9,4 @@ SynProgressBar.define("syn-progress-bar");
9
9
  export {
10
10
  progress_bar_default
11
11
  };
12
- //# sourceMappingURL=chunk.UQ4AQCDW.js.map
12
+ //# sourceMappingURL=chunk.4GNQ6O32.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButton
3
- } from "./chunk.76SYNITQ.js";
3
+ } from "./chunk.HRZVVJWN.js";
4
4
 
5
5
  // src/components/button/button.ts
6
6
  var button_default = SynButton;
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
9
9
  export {
10
10
  button_default
11
11
  };
12
- //# sourceMappingURL=chunk.AFGSWIVU.js.map
12
+ //# sourceMappingURL=chunk.5PGT6VKW.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.FKKJBKYL.js";
11
11
  import {
12
12
  SynButton
13
- } from "./chunk.76SYNITQ.js";
13
+ } from "./chunk.HRZVVJWN.js";
14
14
  import {
15
15
  FormControlController
16
16
  } from "./chunk.BBNQVEPD.js";
@@ -26,17 +26,17 @@ import {
26
26
  } from "./chunk.WVVQK5TE.js";
27
27
  import {
28
28
  SynIcon
29
- } from "./chunk.HM57BJF5.js";
29
+ } from "./chunk.MK73B756.js";
30
30
  import {
31
31
  LocalizeController
32
- } from "./chunk.ESQAXAFE.js";
32
+ } from "./chunk.GIU3H3J3.js";
33
33
  import {
34
34
  watch
35
35
  } from "./chunk.74IOULXM.js";
36
36
  import {
37
37
  SynergyElement,
38
38
  component_styles_default
39
- } from "./chunk.POA3IDNG.js";
39
+ } from "./chunk.Q2B76EVN.js";
40
40
  import {
41
41
  __decorateClass
42
42
  } from "./chunk.2GFK6XTO.js";
@@ -154,6 +154,42 @@ var SynFile = class extends SynergyElement {
154
154
  }
155
155
  this.files = files;
156
156
  }
157
+ async handleTransferItems(items) {
158
+ if (!items) {
159
+ this.value = "";
160
+ return new Promise((_resolve, reject) => {
161
+ reject(new Error("No proper items found"));
162
+ });
163
+ }
164
+ const entries = Array.from(items).map((item) => item.webkitGetAsEntry());
165
+ const filesPromises = entries.map((entry) => this.getFilesFromEntry(entry));
166
+ const filesArray = await Promise.all(filesPromises);
167
+ const files = filesArray.flat();
168
+ const dataTransfer = new DataTransfer();
169
+ Array.from(files).forEach((f) => dataTransfer.items.add(f));
170
+ return dataTransfer.files;
171
+ }
172
+ async getFilesFromEntry(entry) {
173
+ if (!entry) {
174
+ return [];
175
+ }
176
+ if (entry.isFile) {
177
+ return new Promise((resolve, reject) => {
178
+ entry.file((file) => resolve([file]), reject);
179
+ });
180
+ }
181
+ if (entry.isDirectory) {
182
+ return new Promise((resolve, reject) => {
183
+ const dirReader = entry.createReader();
184
+ dirReader.readEntries((entries) => {
185
+ Promise.all(entries.map((e) => this.getFilesFromEntry(e))).then((files) => {
186
+ resolve(files.flat());
187
+ }).catch(reject);
188
+ });
189
+ });
190
+ }
191
+ return [];
192
+ }
157
193
  handleClick(e) {
158
194
  e.preventDefault();
159
195
  this.input.click();
@@ -180,29 +216,33 @@ var SynFile = class extends SynergyElement {
180
216
  var _a;
181
217
  e.preventDefault();
182
218
  e.stopPropagation();
183
- const files = (_a = e.dataTransfer) == null ? void 0 : _a.files;
184
- if (files) {
185
- if (!this.multiple && files.length > 1) {
186
- this.emit("syn-error");
187
- } else {
188
- const hasTrigger = this.hasSlotController.test("trigger");
189
- if (!hasTrigger) {
190
- const disappearAnimation = getAnimation(this.inputChosen, "file.text.disappear", { dir: this.localize.dir() });
191
- const appearAnimation = getAnimation(this.inputChosen, "file.text.appear", { dir: this.localize.dir() });
192
- if (this.droparea) {
193
- const dropIconAnimation = getAnimation(this.dropareaIcon, "file.iconDrop", { dir: this.localize.dir() });
194
- animateTo(this.dropareaIcon, dropIconAnimation.keyframes, dropIconAnimation.options);
195
- }
196
- await animateTo(this.inputChosen, disappearAnimation.keyframes, disappearAnimation.options);
197
- this.handleFiles(files);
198
- await animateTo(this.inputChosen, appearAnimation.keyframes, appearAnimation.options);
199
- } else {
200
- this.handleFiles(files);
201
- }
202
- this.input.dispatchEvent(new Event("change"));
203
- }
219
+ if (!e.dataTransfer) {
220
+ return;
204
221
  }
222
+ const files = await this.handleTransferItems((_a = e.dataTransfer) == null ? void 0 : _a.items);
205
223
  this.userIsDragging = false;
224
+ if (!files) {
225
+ return;
226
+ }
227
+ if (!this.multiple && !this.webkitdirectory && files.length > 1) {
228
+ this.emit("syn-error");
229
+ return;
230
+ }
231
+ const hasTrigger = this.hasSlotController.test("trigger");
232
+ if (!hasTrigger) {
233
+ const disappearAnimation = getAnimation(this.inputChosen, "file.text.disappear", { dir: this.localize.dir() });
234
+ const appearAnimation = getAnimation(this.inputChosen, "file.text.appear", { dir: this.localize.dir() });
235
+ if (this.droparea) {
236
+ const dropIconAnimation = getAnimation(this.dropareaIcon, "file.iconDrop", { dir: this.localize.dir() });
237
+ animateTo(this.dropareaIcon, dropIconAnimation.keyframes, dropIconAnimation.options);
238
+ }
239
+ await animateTo(this.inputChosen, disappearAnimation.keyframes, disappearAnimation.options);
240
+ this.handleFiles(files);
241
+ await animateTo(this.inputChosen, appearAnimation.keyframes, appearAnimation.options);
242
+ } else {
243
+ this.handleFiles(files);
244
+ }
245
+ this.input.dispatchEvent(new Event("change"));
206
246
  }
207
247
  /**
208
248
  * Handle the focus of the droparea and emit focus event
@@ -219,10 +259,10 @@ var SynFile = class extends SynergyElement {
219
259
  renderValue() {
220
260
  var _a;
221
261
  let hasFiles = false;
222
- let fileChosenLabel = this.localize.term("numFilesSelected", 0);
262
+ let fileChosenLabel = this.localize.term("numFilesSelected", 0, this.webkitdirectory);
223
263
  if (this.files && ((_a = this.files) == null ? void 0 : _a.length) > 0) {
224
264
  hasFiles = true;
225
- fileChosenLabel = this.files.length === 1 ? this.files[0].name : this.localize.term("numFilesSelected", this.files.length);
265
+ fileChosenLabel = this.files.length === 1 ? this.files[0].name : this.localize.term("numFilesSelected", this.files.length, this.webkitdirectory);
226
266
  }
227
267
  return html`
228
268
  <span
@@ -262,7 +302,7 @@ var SynFile = class extends SynergyElement {
262
302
  class="droparea__text"
263
303
  part="droparea-value"
264
304
  >
265
- <strong>${this.localize.term("fileDragDrop")}</strong>
305
+ <strong>${this.localize.term(this.webkitdirectory ? "folderDragDrop" : "fileDragDrop")}</strong>
266
306
  ${this.renderValue()}
267
307
  </p>
268
308
  </div>
@@ -272,7 +312,13 @@ var SynFile = class extends SynergyElement {
272
312
  /* eslint-enable @typescript-eslint/unbound-method */
273
313
  /* eslint-disable @typescript-eslint/unbound-method */
274
314
  renderButton() {
275
- const buttonText = this.multiple ? this.localize.term("fileButtonTextMultiple") : this.localize.term("fileButtonText");
315
+ let buttonText = this.localize.term("fileButtonText");
316
+ if (this.multiple) {
317
+ buttonText = this.localize.term("fileButtonTextMultiple");
318
+ }
319
+ if (this.webkitdirectory) {
320
+ buttonText = this.localize.term("folderButtonText");
321
+ }
276
322
  return html`
277
323
  <div
278
324
  class="button__wrapper"
@@ -480,4 +526,4 @@ setDefaultAnimation("file.text.appear", {
480
526
  export {
481
527
  SynFile
482
528
  };
483
- //# sourceMappingURL=chunk.BS6RCJAA.js.map
529
+ //# sourceMappingURL=chunk.644G5ZQW.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/file/file.component.ts"],
4
+ "sourcesContent": ["import { classMap } from 'lit/directives/class-map.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport type { CSSResultGroup } from 'lit';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { watch } from '../../internal/watch.js';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynButton from '../button/button.component.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './file.styles.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { animateTo } from '../../internal/animate.js';\n\n/**\n * @summary File controls allow selecting an arbitrary number of files for uploading.\n * @status stable\n *\n * @dependency syn-button\n * @dependency syn-icon\n *\n * @slot label - The file control's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the file control.\n * Alternatively, you can use the `help-text` attribute.\n * @slot droparea-icon - Optional droparea icon to use instead of the default.\n * Works best with `<syn-icon>`.\n * @slot trigger - Optional content to be used as trigger instead of the default content.\n * Opening the file dialog on click and as well as drag and drop will work for this content.\n * Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*,\n * *hide-value*. Also if using the disabled attribute, the disabled styling will not be\n * applied and must be taken care of yourself.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-error - Emitted when multiple files are selected via drag and drop, without\n * the `multiple` property being set.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart button-wrapper - The wrapper around the button and text value.\n * @csspart button - The syn-button acting as a file input.\n * @csspart button__base - The syn-button's exported `base` part.\n * @csspart value - The chosen files or placeholder text for the file input.\n * @csspart droparea - The element wrapping the drop zone.\n * @csspart droparea-background - The background of the drop zone.\n * @csspart droparea-icon - The container that wraps the icon for the drop zone.\n * @csspart droparea-value - The text for the drop zone.\n * @csspart trigger - The container that wraps the trigger.\n *\n * @animation file.iconDrop - The animation to use for the file icon\n * when a file is dropped\n * @animation file.text.disappear - The disappear animation to use for the file placeholder text\n * when a file is dropped\n * @animation file.text.appear - The appear animation to use for the file placeholder text\n * when a file is dropped\n */\nexport default class SynFile extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [\n componentStyles,\n formControlStyles,\n formControlCustomStyles,\n styles,\n ];\n\n static dependencies = {\n 'syn-button': SynButton,\n 'syn-icon': SynIcon,\n };\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-change'],\n // This makes sure the value sent in formdata events is always the files object\n // @see internals/form.ts #handleFormData for more information\n value: (el: SynFile) => el.files,\n });\n\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n\n private readonly localize = new LocalizeController(this);\n\n @state() private userIsDragging = false;\n\n /**\n * The selected files as a FileList object containing a list of File objects.\n * The FileList behaves like an array, so you can get the number of selected files\n * via its length property.\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files\n */\n @property({ type: Object })\n set files(v: FileList | null) {\n if (this.input) {\n this.input.files = v;\n }\n }\n\n get files() {\n return this.input?.files;\n }\n\n /** The name of the file control, submitted as a name/value pair with form data. */\n @property({ type: String }) name = '';\n\n /**\n * The current value of the input, submitted as a name/value pair with form data.\n * Beware that the only valid value when setting a file input is an empty string!\n */\n\n /**\n * The value of the file control contains a string that represents the path of the selected file.\n * If multiple files are selected, the value represents the first file in the list.\n * If no file is selected, the value is an empty string.\n * Beware that the only valid value when setting a file control is an empty string!\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value\n */\n @property({ type: String })\n set value(v: string) {\n if (this.input) {\n this.input.value = v;\n }\n }\n\n get value() {\n return this.input?.value;\n }\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** The file control's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The file control's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /**\n * The file control's help text.\n * If you need to display HTML, use the `help-text` slot instead.\n */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Disables the file control. */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /** Draw the file control as a drop area */\n @property({ type: Boolean }) droparea = false;\n\n /**\n * Comma separated list of supported file types\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept\n * @example <syn-file accept=\".jpg,.jpeg,.png,.gif,text/plain,image/*\"></syn-file>\n */\n @property({ type: String }) accept = '';\n\n /**\n * Specifies the types of files that the server accepts.\n * Can be set either to user or environment.\n * Works only when not using a droparea!\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture\n */\n @property({ type: String }) capture: 'user' | 'environment';\n\n /**\n * Indicates whether the user can select more than one file.\n * Has no effect if webkitdirectory is set.\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple\n */\n @property({ reflect: true, type: Boolean }) multiple = false;\n\n /**\n * Indicates that the file control should let the user select directories instead of files.\n * When a directory is selected, the directory and its entire hierarchy of contents are included\n * in the set of selected items.\n * Note: This is a non-standard attribute but is supported in the major browsers.\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory\n */\n @property({ reflect: true, type: Boolean }) webkitdirectory = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element.\n * This attribute allows you to place the form control outside of a form and associate it\n * with the form that has this `id`. The form must be in the same document\n * or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the input a required field. */\n @property({ reflect: true, type: Boolean }) required = false;\n\n /** Suppress the value from being displayed in the file control */\n @property({ attribute: 'hide-value', type: Boolean }) hideValue = false;\n\n @query('.input__control') input: HTMLInputElement;\n\n @query('.button') button: SynButton;\n\n @query('.droparea') dropareaWrapper: HTMLDivElement;\n\n @query('.droparea__icon') dropareaIcon: HTMLSpanElement;\n\n @query('.input__value') inputChosen: HTMLSpanElement;\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n /**\n * Checks for validity but does not show a validation message.\n * Returns `true` when valid and `false` when invalid.\n */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the button or droparea. */\n focus(options?: FocusOptions) {\n if (this.droparea) {\n this.dropareaWrapper?.focus(options);\n return;\n }\n\n this.button?.focus(options);\n }\n\n /** Removes focus from the button or droparea. */\n blur() {\n if (this.droparea) {\n this.dropareaWrapper?.blur();\n return;\n }\n\n this.button?.blur();\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private handleFiles(files: FileList | null) {\n if (!files) {\n this.value = '';\n return;\n }\n this.files = files;\n }\n\n private async handleTransferItems(items: DataTransferItemList | null): Promise<FileList> {\n if (!items) {\n this.value = '';\n return new Promise((_resolve, reject) => { reject(new Error('No proper items found')); });\n }\n\n const entries = Array\n .from(items)\n .map(item => item.webkitGetAsEntry());\n\n const filesPromises = entries.map(entry => this.getFilesFromEntry(entry));\n const filesArray = await Promise.all(filesPromises);\n const files = filesArray.flat();\n\n const dataTransfer = new DataTransfer();\n Array.from(files).forEach(f => dataTransfer.items.add(f));\n return dataTransfer.files;\n }\n\n private async getFilesFromEntry(entry: FileSystemEntry | null): Promise<File[]> {\n if (!entry) {\n return [];\n }\n if (entry.isFile) {\n return new Promise<File[]>((resolve, reject) => {\n (entry as FileSystemFileEntry).file(file => resolve([file]), reject);\n });\n }\n if (entry.isDirectory) {\n return new Promise<File[]>((resolve, reject) => {\n const dirReader = (entry as FileSystemDirectoryEntry).createReader();\n dirReader.readEntries((entries) => {\n Promise.all(entries.map(e => this.getFilesFromEntry(e)))\n .then((files) => { resolve(files.flat()); })\n .catch(reject);\n });\n });\n }\n return [];\n }\n\n private handleClick(e: Event) {\n e.preventDefault();\n this.input.click();\n }\n\n /** Handles the change event of the native input */\n private handleChange(e: Event) {\n e.preventDefault();\n e.stopPropagation();\n\n this.emit('syn-input');\n this.emit('syn-change');\n }\n\n private handleDragOver(e: DragEvent) {\n e.preventDefault();\n e.stopPropagation();\n this.userIsDragging = true;\n }\n\n private handleDragLeave(e: DragEvent) {\n e.preventDefault();\n e.stopPropagation();\n this.userIsDragging = false;\n }\n\n // eslint-disable-next-line complexity\n private async handleDrop(e: DragEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n if (!e.dataTransfer) {\n return;\n }\n\n const files = await this.handleTransferItems(e.dataTransfer?.items);\n\n this.userIsDragging = false;\n\n if (!files) {\n return;\n }\n\n // webkitdirectory also allows multiple files\n if (!this.multiple && !this.webkitdirectory && files.length > 1) {\n this.emit('syn-error');\n return;\n }\n\n // Use the transferred file list from the drag drop interface\n const hasTrigger = this.hasSlotController.test('trigger');\n if (!hasTrigger) {\n const disappearAnimation = getAnimation(this.inputChosen, 'file.text.disappear', { dir: this.localize.dir() });\n const appearAnimation = getAnimation(this.inputChosen, 'file.text.appear', { dir: this.localize.dir() });\n\n if (this.droparea) {\n const dropIconAnimation = getAnimation(this.dropareaIcon, 'file.iconDrop', { dir: this.localize.dir() });\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n animateTo(this.dropareaIcon, dropIconAnimation.keyframes, dropIconAnimation.options);\n }\n // eslint-disable-next-line max-len\n await animateTo(this.inputChosen, disappearAnimation.keyframes, disappearAnimation.options);\n this.handleFiles(files);\n await animateTo(this.inputChosen, appearAnimation.keyframes, appearAnimation.options);\n } else {\n this.handleFiles(files);\n }\n\n this.input.dispatchEvent(new Event('change'));\n }\n\n /**\n * Handle the focus of the droparea and emit focus event\n */\n private handleFocus() {\n this.emit('syn-focus');\n }\n\n /**\n * Handle the blur of the droparea and emit blur event\n */\n private handleBlur() {\n this.emit('syn-blur');\n }\n\n private renderValue() {\n let hasFiles = false;\n let fileChosenLabel = this.localize.term('numFilesSelected', 0, this.webkitdirectory);\n\n if (this.files && this.files?.length > 0) {\n hasFiles = true;\n fileChosenLabel = this.files.length === 1\n ? this.files[0].name\n : this.localize.term('numFilesSelected', this.files.length, this.webkitdirectory);\n }\n\n return html`\n <span\n class=${classMap({\n input__value: true,\n 'input__value--hidden': this.hideValue,\n 'input__value--placeholder': !hasFiles,\n })}\n part=\"value\"\n >\n ${fileChosenLabel}\n </span>\n `;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n private renderDroparea() {\n return html`\n <div\n class=\"droparea\"\n @click=${this.handleClick}\n @keypress=${this.handleClick}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n tabindex=${this.disabled ? -1 : 0}\n part=\"droparea\"\n >\n <div\n class=\"droparea__background\"\n part=\"droparea-background\"\n >\n <span part=\"droparea-icon\" class=\"droparea__icon\">\n <slot name=\"droparea-icon\">\n <syn-icon name=\"upload-file\" library=\"system\" ></syn-icon>\n </slot>\n </span>\n <p\n class=\"droparea__text\"\n part=\"droparea-value\"\n >\n <strong>${this.localize.term(this.webkitdirectory ? 'folderDragDrop' : 'fileDragDrop')}</strong>\n ${this.renderValue()}\n </p>\n </div>\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n\n /* eslint-disable @typescript-eslint/unbound-method */\n private renderButton() {\n let buttonText = this.localize.term('fileButtonText');\n if (this.multiple) {\n buttonText = this.localize.term('fileButtonTextMultiple');\n }\n if (this.webkitdirectory) {\n buttonText = this.localize.term('folderButtonText');\n }\n\n return html`\n <div\n class=\"button__wrapper\"\n part=\"button-wrapper\"\n >\n <syn-button\n class=\"button\"\n @click=${this.handleClick}\n ?disabled=${this.disabled}\n exportparts=\"base:button__base\"\n part=\"button\"\n size=${this.size}\n variant=\"outline\"\n >\n ${buttonText}\n </syn-button>\n ${this.renderValue()}\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n\n /* eslint-disable @typescript-eslint/unbound-method */\n // eslint-disable-next-line complexity\n render() {\n const hasLabel = this.label || !!this.hasSlotController.test('label');\n const hasHelpText = this.helpText ? true : !!this.hasSlotController.test('help-text');\n const hasTrigger = !!this.hasSlotController.test('trigger');\n\n return html`\n <div\n class=${classMap({\n 'form-control': true,\n 'form-control--droparea': this.droparea,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-label': hasLabel,\n 'form-control--large': this.size === 'large',\n 'form-control--medium': this.size === 'medium',\n 'form-control--small': this.size === 'small',\n 'form-control--user-dragging': this.userIsDragging,\n })}\n @dragenter=${this.handleDragOver}\n @dragleave=${this.handleDragLeave}\n @dragover=${this.handleDragOver}\n @drop=${this.handleDrop}\n part=\"form-control\"\n >\n ${\n hasTrigger\n ? html`\n <slot \n @click=${this.handleClick}\n @keypress=${this.handleClick}\n name=\"trigger\"\n part=\"trigger\"\n ></slot>\n `\n : html`\n <label\n aria-hidden=${hasLabel ? 'false' : 'true'}\n class=\"form-control__label\"\n for=\"input\"\n part=\"form-control-label\"\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div\n class=\"form-control-input\"\n part=\"form-control-input\"\n >\n\n ${this.droparea ? this.renderDroparea() : this.renderButton()}\n </div>\n\n <div\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n class=\"form-control__help-text\"\n id=\"help-text\"\n part=\"form-control-help-text\"\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n `\n }\n <input\n accept=${this.accept}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n class=\"input__control\"\n ?disabled=${this.disabled}\n id=\"input\"\n @invalid=${this.handleInvalid}\n ?multiple=${this.multiple}\n name=${ifDefined(this.name)}\n ?required=${this.required}\n type=\"file\"\n tabindex=\"-1\"\n ?webkitdirectory=${this.webkitdirectory}\n >\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\nsetDefaultAnimation('file.iconDrop', {\n keyframes: [\n { scale: 1 },\n { scale: 0.7 },\n { scale: 1 },\n ],\n options: { duration: 600, easing: 'ease-out' },\n});\n\nsetDefaultAnimation('file.text.disappear', {\n keyframes: [\n { opacity: 1 },\n { opacity: 0, transform: 'translateY(-40%)' },\n ],\n options: { duration: 300, easing: 'cubic-bezier(0.45, 1.45, 0.8, 1)' },\n});\n\nsetDefaultAnimation('file.text.appear', {\n keyframes: [\n { opacity: 0, transform: 'translateY(40%)' },\n { opacity: 1 },\n ],\n options: { duration: 300, easing: 'cubic-bezier(0.45, 1.45, 0.8, 1)' },\n});\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AACzB,SAAS,UAAU,OAAO,aAAa;AAEvC,SAAS,YAAY;AACrB,SAAS,iBAAiB;AA+D1B,IAAqB,UAArB,cAAqC,eAA6C;AAAA,EAAlF;AAAA;AAaE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY;AAAA;AAAA;AAAA,MAGlC,OAAO,CAAC,OAAgB,GAAG;AAAA,IAC7B,CAAC;AAED,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,OAAO;AAErF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAE9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QAqJD;AAEE;AAAA,EAAnB,MAAM,WAAW;AAAA,GAvJC,QAuJC;AAEM;AAAA,EAAzB,MAAM,iBAAiB;AAAA,GAzJL,QAyJO;AAEF;AAAA,EAAvB,MAAM,eAAe;AAAA,GA3JH,QA2JK;AAqCxB;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA/L9B,QAgMnB;AAMM;AAAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GArM3B,QAsMb;AAmVR,oBAAoB,iBAAiB;AAAA,EACnC,WAAW;AAAA,IACT,EAAE,OAAO,EAAE;AAAA,IACX,EAAE,OAAO,IAAI;AAAA,IACb,EAAE,OAAO,EAAE;AAAA,EACb;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,WAAW;AAC/C,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW;AAAA,IACT,EAAE,SAAS,EAAE;AAAA,IACb,EAAE,SAAS,GAAG,WAAW,mBAAmB;AAAA,EAC9C;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,mCAAmC;AACvE,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,kBAAkB;AAAA,IAC3C,EAAE,SAAS,EAAE;AAAA,EACf;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,mCAAmC;AACvE,CAAC;",
6
+ "names": []
7
+ }
@@ -18,17 +18,17 @@ import {
18
18
  } from "./chunk.HQ6QUSK7.js";
19
19
  import {
20
20
  SynIcon
21
- } from "./chunk.HM57BJF5.js";
21
+ } from "./chunk.MK73B756.js";
22
22
  import {
23
23
  LocalizeController
24
- } from "./chunk.ESQAXAFE.js";
24
+ } from "./chunk.GIU3H3J3.js";
25
25
  import {
26
26
  watch
27
27
  } from "./chunk.74IOULXM.js";
28
28
  import {
29
29
  SynergyElement,
30
30
  component_styles_default
31
- } from "./chunk.POA3IDNG.js";
31
+ } from "./chunk.Q2B76EVN.js";
32
32
  import {
33
33
  __decorateClass
34
34
  } from "./chunk.2GFK6XTO.js";
@@ -239,4 +239,4 @@ setDefaultAnimation("details.hide", {
239
239
  export {
240
240
  SynDetails
241
241
  };
242
- //# sourceMappingURL=chunk.EG2IMMFQ.js.map
242
+ //# sourceMappingURL=chunk.6HJMWLWM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCombobox
3
- } from "./chunk.ZWBQZ3TF.js";
3
+ } from "./chunk.3P6JDQH4.js";
4
4
 
5
5
  // src/components/combobox/combobox.ts
6
6
  var combobox_default = SynCombobox;
@@ -9,4 +9,4 @@ SynCombobox.define("syn-combobox");
9
9
  export {
10
10
  combobox_default
11
11
  };
12
- //# sourceMappingURL=chunk.FV5CR37F.js.map
12
+ //# sourceMappingURL=chunk.6PUIEJZW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIconButton
3
- } from "./chunk.EM53DV44.js";
3
+ } from "./chunk.TK2SEGJ3.js";
4
4
 
5
5
  // src/components/icon-button/icon-button.ts
6
6
  var icon_button_default = SynIconButton;
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
9
9
  export {
10
10
  icon_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.DORQF2IR.js.map
12
+ //# sourceMappingURL=chunk.6XJALKIW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenu
3
- } from "./chunk.QA7ENF6T.js";
3
+ } from "./chunk.COQWVQKU.js";
4
4
 
5
5
  // src/components/menu/menu.ts
6
6
  var menu_default = SynMenu;
@@ -9,4 +9,4 @@ SynMenu.define("syn-menu");
9
9
  export {
10
10
  menu_default
11
11
  };
12
- //# sourceMappingURL=chunk.RTMHCZ2X.js.map
12
+ //# sourceMappingURL=chunk.7F7UY7NU.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.ONW45GQI.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.4PTV2G5L.js";
6
+ } from "./chunk.WKIJW4LR.js";
7
7
  import {
8
8
  SynDrawer
9
- } from "./chunk.AO7D6MGZ.js";
9
+ } from "./chunk.MSEKAA7G.js";
10
10
  import {
11
11
  unlockBodyScrolling
12
12
  } from "./chunk.5732DMBC.js";
@@ -23,14 +23,14 @@ import {
23
23
  } from "./chunk.WVVQK5TE.js";
24
24
  import {
25
25
  LocalizeController
26
- } from "./chunk.ESQAXAFE.js";
26
+ } from "./chunk.GIU3H3J3.js";
27
27
  import {
28
28
  watch
29
29
  } from "./chunk.74IOULXM.js";
30
30
  import {
31
31
  SynergyElement,
32
32
  component_styles_default
33
- } from "./chunk.POA3IDNG.js";
33
+ } from "./chunk.Q2B76EVN.js";
34
34
  import {
35
35
  __decorateClass
36
36
  } from "./chunk.2GFK6XTO.js";
@@ -308,4 +308,4 @@ setDefaultAnimation("sideNav.overlay.hide", {
308
308
  export {
309
309
  SynSideNav
310
310
  };
311
- //# sourceMappingURL=chunk.BAU2TJA6.js.map
311
+ //# sourceMappingURL=chunk.7GOVVZSB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBreadcrumb
3
- } from "./chunk.QI7ZFRLW.js";
3
+ } from "./chunk.ZSO6V4RG.js";
4
4
 
5
5
  // src/components/breadcrumb/breadcrumb.ts
6
6
  var breadcrumb_default = SynBreadcrumb;
@@ -9,4 +9,4 @@ SynBreadcrumb.define("syn-breadcrumb");
9
9
  export {
10
10
  breadcrumb_default
11
11
  };
12
- //# sourceMappingURL=chunk.QEE6QHNL.js.map
12
+ //# sourceMappingURL=chunk.7QS63TIF.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.POA3IDNG.js";
13
+ } from "./chunk.Q2B76EVN.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.2GFK6XTO.js";
@@ -62,4 +62,4 @@ __decorateClass([
62
62
  export {
63
63
  SynTabPanel
64
64
  };
65
- //# sourceMappingURL=chunk.FHB2H5R2.js.map
65
+ //# sourceMappingURL=chunk.AMIP2UTG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.BADCMLNU.js";
3
+ } from "./chunk.RLINNCVI.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.HHBOU4HL.js.map
12
+ //# sourceMappingURL=chunk.AODAJY2J.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.A2JGI7YK.js";
3
+ } from "./chunk.CNZVE6DX.js";
4
4
 
5
5
  // src/components/popup/popup.ts
6
6
  var popup_default = SynPopup;
@@ -9,4 +9,4 @@ SynPopup.define("syn-popup");
9
9
  export {
10
10
  popup_default
11
11
  };
12
- //# sourceMappingURL=chunk.OCZ6SNNW.js.map
12
+ //# sourceMappingURL=chunk.ARJTPDLM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuItem
3
- } from "./chunk.3MI2YYYP.js";
3
+ } from "./chunk.W6R37VXL.js";
4
4
 
5
5
  // src/components/menu-item/menu-item.ts
6
6
  var menu_item_default = SynMenuItem;
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
9
9
  export {
10
10
  menu_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.E3QPS5XK.js.map
12
+ //# sourceMappingURL=chunk.B3F3BNWM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPrioNav
3
- } from "./chunk.OOSXOXEW.js";
3
+ } from "./chunk.HTDUG42Y.js";
4
4
 
5
5
  // src/components/prio-nav/prio-nav.ts
6
6
  var prio_nav_default = SynPrioNav;
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
9
9
  export {
10
10
  prio_nav_default
11
11
  };
12
- //# sourceMappingURL=chunk.BJ2F6ARR.js.map
12
+ //# sourceMappingURL=chunk.CHVQD46H.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  SynergyElement,
6
6
  component_styles_default
7
- } from "./chunk.POA3IDNG.js";
7
+ } from "./chunk.Q2B76EVN.js";
8
8
  import {
9
9
  __decorateClass,
10
10
  __spreadProps,
@@ -409,4 +409,4 @@ __decorateClass([
409
409
  export {
410
410
  SynPopup
411
411
  };
412
- //# sourceMappingURL=chunk.A2JGI7YK.js.map
412
+ //# sourceMappingURL=chunk.CNZVE6DX.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SynergyElement,
9
9
  component_styles_default
10
- } from "./chunk.POA3IDNG.js";
10
+ } from "./chunk.Q2B76EVN.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.2GFK6XTO.js";
@@ -134,4 +134,4 @@ __decorateClass([
134
134
  export {
135
135
  SynMenu
136
136
  };
137
- //# sourceMappingURL=chunk.QA7ENF6T.js.map
137
+ //# sourceMappingURL=chunk.COQWVQKU.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.VGEA67UG.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.4PTV2G5L.js";
6
+ } from "./chunk.WKIJW4LR.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.POA3IDNG.js";
16
+ } from "./chunk.Q2B76EVN.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -313,4 +313,4 @@ __decorateClass([
313
313
  export {
314
314
  SynNavItem
315
315
  };
316
- //# sourceMappingURL=chunk.W6DMUOGD.js.map
316
+ //# sourceMappingURL=chunk.CRMLPCLE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBreadcrumbItem
3
- } from "./chunk.NB7DQIH4.js";
3
+ } from "./chunk.JOLV65OX.js";
4
4
 
5
5
  // src/components/breadcrumb-item/breadcrumb-item.ts
6
6
  var breadcrumb_item_default = SynBreadcrumbItem;
@@ -9,4 +9,4 @@ SynBreadcrumbItem.define("syn-breadcrumb-item");
9
9
  export {
10
10
  breadcrumb_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.BGIPS7RY.js.map
12
+ //# sourceMappingURL=chunk.DEF3F7KI.js.map