@orangelogic/design-system-react 1.0.0-alpha.11 → 1.0.0-alpha.14

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 (571) hide show
  1. package/dist/3d-viewer.css +2 -2
  2. package/dist/3d-viewer.js +9 -9
  3. package/dist/action-overflow.css +2 -2
  4. package/dist/action-overflow.js +6 -6
  5. package/dist/am-chart.css +3 -3
  6. package/dist/am-chart.js +1 -1
  7. package/dist/annotator.css +2 -2
  8. package/dist/annotator.js +7 -7
  9. package/dist/array-line-clamp.css +5 -5
  10. package/dist/array-line-clamp.js +5 -5
  11. package/dist/asset-data-display.css +2 -2
  12. package/dist/asset-data-display.js +4 -4
  13. package/dist/asset-format-picker.css +2 -2
  14. package/dist/asset-format-picker.js +3 -3
  15. package/dist/asset-picker.css +2 -2
  16. package/dist/asset-picker.js +3 -3
  17. package/dist/avatar.css +3 -3
  18. package/dist/avatar.js +1 -1
  19. package/dist/badge.css +3 -3
  20. package/dist/badge.js +1 -1
  21. package/dist/bicolor-picker.css +8 -8
  22. package/dist/bicolor-picker.js +14 -14
  23. package/dist/border-input-group.css +8 -8
  24. package/dist/border-input-group.js +15 -15
  25. package/dist/box.css +2 -4
  26. package/dist/box.js +1 -1
  27. package/dist/chunks/{GraphView-LU3VKE3Q.js → GraphView-2N4O5QIB.js} +10 -10
  28. package/dist/chunks/{GraphView-FQAPNVJF.css → GraphView-VIE33UTZ.css} +6 -6
  29. package/dist/chunks/{KHR_materials_variants-PGBCPOSD.js → KHR_materials_variants-W67GX73W.js} +32 -32
  30. package/dist/chunks/{USDZ-Z3QLF3OO.js → USDZ-3SODBQKS.js} +36 -36
  31. package/dist/chunks/{abnfDiagram-WEYOIA3C-VAZFELGS.js → abnfDiagram-WEYOIA3C-KGFXCQBR.js} +6 -6
  32. package/dist/chunks/{amcharts5-Z5WA7AOF.js → amcharts5-DHIS5QKM.js} +27 -27
  33. package/dist/chunks/{animationGroup-GPQ526VM.js → animationGroup-BLGF6MZG.js} +26 -26
  34. package/dist/chunks/{architectureDiagram-ZHVYKT53-UJUR23MQ.js → architectureDiagram-ZHVYKT53-JUL3EFA2.js} +7 -7
  35. package/dist/chunks/{background.fragment-DS6HGKKJ.js → background.fragment-HSPWRVX6.js} +1 -1
  36. package/dist/chunks/{background.vertex-LAIXU27P.js → background.vertex-5Z2AFJ6N.js} +2 -2
  37. package/dist/chunks/{background.vertex-JBJLZ2M3.js → background.vertex-VTMB4H5N.js} +2 -2
  38. package/dist/chunks/{basisTextureLoader-UIFOCOQK.js → basisTextureLoader-7XPZX57G.js} +8 -8
  39. package/dist/chunks/{blockDiagram-RJAE7QA3-QOZJTACV.js → blockDiagram-RJAE7QA3-HRT2ITQU.js} +4 -4
  40. package/dist/chunks/{c4Diagram-XDPPPE54-FAHW22QA.js → c4Diagram-XDPPPE54-EO7C5EPE.js} +4 -4
  41. package/dist/chunks/{chunk-3YRL2BAV.js → chunk-26NT6L2N.js} +1 -1
  42. package/dist/chunks/{chunk-UIHV6JBJ.js → chunk-27YFTDR6.js} +1 -1
  43. package/dist/chunks/{chunk-7MEEFSC5.js → chunk-2EON3HQO.js} +3 -3
  44. package/dist/chunks/{chunk-FXWTWY63.js → chunk-2PQ2LFSA.js} +2 -2
  45. package/dist/chunks/{chunk-AYD5YCLN.js → chunk-2QQIIIQH.js} +3 -3
  46. package/dist/chunks/{chunk-DR3YEV4N.js → chunk-2XT7ARRR.js} +1 -1
  47. package/dist/chunks/{chunk-VXIKARQR.js → chunk-3B6M4YJY.js} +1 -1
  48. package/dist/chunks/{chunk-TN4QF72W.js → chunk-3BCFWA5M.js} +2 -2
  49. package/dist/chunks/{chunk-CLAB6QDY.js → chunk-3G2JSPCK.js} +1 -1
  50. package/dist/chunks/{chunk-YIEIT3ZJ.js → chunk-3LZJAG2Q.js} +4 -4
  51. package/dist/chunks/{chunk-2KBPXL4J.js → chunk-3S2SWODI.js} +1 -1
  52. package/dist/chunks/{chunk-LN6BTND7.js → chunk-3WAYNXHM.js} +1 -1
  53. package/dist/chunks/{chunk-PPA3Y7UW.js → chunk-4HYTQG5B.js} +5 -5
  54. package/dist/chunks/{chunk-DJQA5ORP.js → chunk-4I6N7MHQ.js} +5 -5
  55. package/dist/chunks/{chunk-JTCDV2UD.js → chunk-4KFYZLW6.js} +1 -1
  56. package/dist/chunks/{chunk-QUNHEJ7W.js → chunk-4PF5KGJF.js} +2 -2
  57. package/dist/chunks/{chunk-ZOAPGHC6.js → chunk-52DSWCK2.js} +1 -1
  58. package/dist/chunks/{chunk-UPZ2RPBA.js → chunk-52TKW3HY.js} +5 -5
  59. package/dist/chunks/{chunk-QU4QWACI.js → chunk-53DD5GUS.js} +5 -4
  60. package/dist/chunks/{chunk-5DA2N4DR.js → chunk-55GUDBPX.js} +5 -5
  61. package/dist/chunks/{chunk-SQI6PADT.js → chunk-5A5M3LMV.js} +1 -1
  62. package/dist/chunks/{chunk-W6ZNIXBU.js → chunk-5DKI5G4W.js} +1 -1
  63. package/dist/chunks/{chunk-MAHOZ5A2.js → chunk-5FKK3JJ5.js} +31 -8
  64. package/dist/chunks/{chunk-4D7AXGNN.js → chunk-5ISIAA6R.js} +1 -1
  65. package/dist/chunks/{chunk-XFWPY2U7.js → chunk-62L7RNUG.js} +1 -1
  66. package/dist/chunks/{chunk-LXKL5VC4.js → chunk-66PM7KG6.js} +3 -3
  67. package/dist/chunks/{chunk-UGCGFVDW.js → chunk-6AEFC6OF.js} +2 -2
  68. package/dist/chunks/{chunk-U2256BGK.js → chunk-6FJBCSL4.js} +2 -2
  69. package/dist/chunks/{chunk-YGFUDHVW.js → chunk-6H5WI43L.js} +1 -1
  70. package/dist/chunks/{chunk-5ZPLNRT7.js → chunk-6TONHDLA.js} +1 -1
  71. package/dist/chunks/{chunk-SYGTHHLM.js → chunk-75YESSYP.js} +2 -2
  72. package/dist/chunks/{chunk-IX4OEISF.js → chunk-76VPWAZR.js} +2 -2
  73. package/dist/chunks/{chunk-WW7RFZRB.js → chunk-7QST4GZN.js} +2 -2
  74. package/dist/chunks/{chunk-T6576XNJ.js → chunk-7QVMNPL3.js} +1 -1
  75. package/dist/chunks/{chunk-7UFZAJQG.js → chunk-7SIV662P.js} +2 -2
  76. package/dist/chunks/{chunk-FQGBUSLF.js → chunk-7VF7652B.js} +1 -1
  77. package/dist/chunks/{chunk-FYIATTMG.js → chunk-A2J6JJX6.js} +6 -6
  78. package/dist/chunks/{chunk-OZYZWLTB.js → chunk-A3XMTNIZ.js} +2 -2
  79. package/dist/chunks/{chunk-THBQK3DV.js → chunk-A4KC4ILT.js} +6 -6
  80. package/dist/chunks/{chunk-M55RGMOS.js → chunk-A4KZSNS2.js} +4 -4
  81. package/dist/chunks/{chunk-3M4ZHMGB.js → chunk-ADEX5UEU.js} +2 -2
  82. package/dist/chunks/{chunk-ZXKPY5WE.js → chunk-AKKADYTV.js} +2 -2
  83. package/dist/chunks/{chunk-TC64ARRO.js → chunk-B5SKZAG6.js} +2 -2
  84. package/dist/chunks/{chunk-F6FTRJB4.js → chunk-BM74OV27.js} +2 -2
  85. package/dist/chunks/{chunk-MNKYRF4O.js → chunk-BQPKAVHJ.js} +2 -2
  86. package/dist/chunks/{chunk-BQOULI3U.js → chunk-BZS6P3MR.js} +3 -3
  87. package/dist/chunks/{chunk-JADBMMEZ.js → chunk-C556UN6Y.js} +2 -2
  88. package/dist/chunks/{chunk-YQYV5XXJ.js → chunk-CHUCRZY6.js} +1 -1
  89. package/dist/chunks/{chunk-CIUTM53J.js → chunk-CIBVJLIH.js} +1 -1
  90. package/dist/chunks/{chunk-IOYX2VS2.js → chunk-CRF5PBVN.js} +3 -3
  91. package/dist/chunks/{chunk-C6U5RYKH.js → chunk-CWR5YVIY.js} +3 -3
  92. package/dist/chunks/{chunk-VA7PFSOG.js → chunk-CZMRR525.js} +15 -15
  93. package/dist/chunks/{chunk-72XILSEM.js → chunk-DBJHCACQ.js} +1 -1
  94. package/dist/chunks/{chunk-VWQ2C6OB.js → chunk-DHIIVJLZ.js} +2 -2
  95. package/dist/chunks/{chunk-K375LRVR.js → chunk-DJMF4JGX.js} +1 -1
  96. package/dist/chunks/{chunk-YKYV6RAX.js → chunk-DLC76URH.js} +1 -1
  97. package/dist/chunks/{chunk-RKHSMYQV.js → chunk-DWGLEYEM.js} +2 -2
  98. package/dist/chunks/{chunk-HFNRZ74T.js → chunk-DWIGO7PB.js} +2 -2
  99. package/dist/chunks/{chunk-DUXYQEEA.js → chunk-DZWDNTML.js} +2 -2
  100. package/dist/chunks/{chunk-KRJT47CN.js → chunk-E5ZWGQJ4.js} +7 -7
  101. package/dist/chunks/{chunk-HUQVLH2V.js → chunk-EAZFUQTZ.js} +1 -1
  102. package/dist/chunks/{chunk-4OJDVYTV.js → chunk-ECFWRZB3.js} +4 -4
  103. package/dist/chunks/{chunk-D2CXRVUM.js → chunk-EFSSFDAX.js} +3 -3
  104. package/dist/chunks/{chunk-Z4YDKO7F.js → chunk-EN2CA3BB.js} +1 -1
  105. package/dist/chunks/{chunk-6RRS6QI7.js → chunk-EQZ35SHY.js} +3 -3
  106. package/dist/chunks/{chunk-HDBPLCJR.js → chunk-ETTAM6GJ.js} +5 -5
  107. package/dist/chunks/{chunk-ZARSKB3S.js → chunk-F4SR766Z.js} +2 -2
  108. package/dist/chunks/{chunk-X4UDKMMV.js → chunk-FDSPBVS6.js} +11 -11
  109. package/dist/chunks/{chunk-PDDS67EX.js → chunk-FFS6MYXL.js} +3 -3
  110. package/dist/chunks/{chunk-IK5B4I7T.js → chunk-FJILZAVH.js} +2 -2
  111. package/dist/chunks/{chunk-3LDXXXJQ.js → chunk-FK46WVYE.js} +11 -11
  112. package/dist/chunks/{chunk-4QTOA3CO.js → chunk-FKNWOK7H.js} +1 -1
  113. package/dist/chunks/{chunk-R4TUBTY5.js → chunk-FR4JGP4G.js} +2 -2
  114. package/dist/chunks/{chunk-Y4JIWPKQ.js → chunk-FTD3VRR3.js} +2 -2
  115. package/dist/chunks/{chunk-CDXRSHAC.js → chunk-FU6N334Z.js} +4 -4
  116. package/dist/chunks/{chunk-U2NQ6UUY.js → chunk-G4IEUC3P.js} +2 -2
  117. package/dist/chunks/{chunk-7FRUV4ES.js → chunk-GF4GAQ7T.js} +3 -3
  118. package/dist/chunks/{chunk-H4SAB35M.js → chunk-GHS6E7PO.js} +1 -1
  119. package/dist/chunks/{chunk-LTUGRZIA.js → chunk-H4WU3GW2.js} +2 -2
  120. package/dist/chunks/{chunk-2Z5ZCENA.js → chunk-H6E6AT5V.js} +3 -3
  121. package/dist/chunks/{chunk-FPISXUW6.js → chunk-HGBL23MG.js} +3 -3
  122. package/dist/chunks/{chunk-SBPYM5LW.js → chunk-HIYYX3WU.js} +21 -21
  123. package/dist/chunks/{chunk-VDM6QXRG.js → chunk-HJLPRQWZ.js} +162 -162
  124. package/dist/chunks/{chunk-CILMEHKY.js → chunk-HL3LURNJ.js} +1 -1
  125. package/dist/chunks/{chunk-JGBZGHVW.js → chunk-HUEYHADI.js} +1 -1
  126. package/dist/chunks/{chunk-PPWWVX7B.js → chunk-HVEHE6WM.js} +1 -1
  127. package/dist/chunks/{chunk-YU2PDZYN.js → chunk-HZBPJPIW.js} +2 -2
  128. package/dist/chunks/{chunk-U2AOZYRC.js → chunk-I7IKWZMI.js} +2 -2
  129. package/dist/chunks/{chunk-WTO4WJBU.js → chunk-ICAQ6CQG.js} +1 -1
  130. package/dist/chunks/{chunk-IT42HLT7.js → chunk-IG74TEPK.js} +2 -2
  131. package/dist/chunks/{chunk-LYPDG66V.js → chunk-ILRKF6TJ.js} +5 -5
  132. package/dist/chunks/{chunk-MEXNW5PS.js → chunk-IPXXRIT7.js} +2 -2
  133. package/dist/chunks/{chunk-Q5LWFRXQ.js → chunk-IQH2DRXT.js} +2 -2
  134. package/dist/chunks/{chunk-LWB2YKBW.js → chunk-IREXVUYZ.js} +3 -3
  135. package/dist/chunks/{chunk-FLX7DLJ3.js → chunk-IVIRGJWX.js} +11 -11
  136. package/dist/chunks/{chunk-UKYHYRKI.js → chunk-J46TINFU.js} +1 -1
  137. package/dist/chunks/{chunk-QLDGFFFM.js → chunk-J4AKY6K3.js} +1 -1
  138. package/dist/chunks/{chunk-DTGRPRWU.js → chunk-J5HDHVQA.js} +2 -2
  139. package/dist/chunks/{chunk-4BEWYUGG.js → chunk-J5PVNERR.js} +2 -2
  140. package/dist/chunks/{chunk-WJCFECSL.js → chunk-JHP62VXQ.js} +2 -2
  141. package/dist/chunks/{chunk-TDAQOT6K.js → chunk-JM3OYGDF.js} +2 -2
  142. package/dist/chunks/{chunk-WWWU4WGF.js → chunk-JPGYSA3P.js} +2 -2
  143. package/dist/chunks/{chunk-5DCC72GQ.js → chunk-JVEZR3FZ.js} +4 -4
  144. package/dist/chunks/{chunk-J2CSNVD2.js → chunk-JVPQQ2VG.js} +11 -11
  145. package/dist/chunks/{chunk-NVGEDYKF.js → chunk-K7PN4LUM.js} +1 -1
  146. package/dist/chunks/{chunk-G4WY7TWB.js → chunk-KAXJFP6P.js} +1 -1
  147. package/dist/chunks/{chunk-K7EX5RQP.js → chunk-KMXL3LLK.js} +2 -2
  148. package/dist/chunks/{chunk-E3JN3TCE.js → chunk-KNL75GGQ.js} +7 -7
  149. package/dist/chunks/{chunk-LOCTIWGY.js → chunk-KRRATT35.js} +3 -3
  150. package/dist/chunks/{chunk-YO5KCZTA.js → chunk-KSWG7O3V.js} +1 -1
  151. package/dist/chunks/{chunk-HX7WBWHP.js → chunk-KU7OXIKB.js} +8 -8
  152. package/dist/chunks/{chunk-SG5JOVYS.js → chunk-L45VNE2C.js} +10 -10
  153. package/dist/chunks/{chunk-UHDX5EGJ.js → chunk-L6YQZXZ3.js} +2 -2
  154. package/dist/chunks/{chunk-VOQIZ35Q.js → chunk-LEWMXRNH.js} +1 -1
  155. package/dist/chunks/{chunk-VSHQM62G.js → chunk-LINLWVGY.js} +2 -2
  156. package/dist/chunks/{chunk-ZREA3AHO.js → chunk-LJH5EJGG.js} +1 -1
  157. package/dist/chunks/{chunk-TUTXXTEA.js → chunk-LKYIDKXR.js} +1 -1
  158. package/dist/chunks/{chunk-UDOCW2Z5.js → chunk-LMR4RBLF.js} +1 -1
  159. package/dist/chunks/{chunk-VYKGLAWY.js → chunk-M3PPYGRZ.js} +1 -1
  160. package/dist/chunks/{chunk-I7ZXFHFQ.js → chunk-M5C3Q62Z.js} +1 -1
  161. package/dist/chunks/{chunk-33X7FTP3.js → chunk-M6O4JDBS.js} +4 -4
  162. package/dist/chunks/{chunk-FVBS2DMP.js → chunk-MGJFUEPV.js} +3 -3
  163. package/dist/chunks/{chunk-KAMKRWD3.js → chunk-MH57SMG5.js} +2 -2
  164. package/dist/chunks/{chunk-MC3OGTR3.js → chunk-MRY5JQN5.js} +2 -2
  165. package/dist/chunks/{chunk-4XFFR4D4.js → chunk-MWIC66WB.js} +7 -7
  166. package/dist/chunks/{chunk-UYQ7MP4W.js → chunk-MXR3CWIF.js} +3 -3
  167. package/dist/chunks/{chunk-M54D7IKD.js → chunk-N3YPX3AU.js} +4 -4
  168. package/dist/chunks/{chunk-NXWRCCRE.js → chunk-NAOMVNL5.js} +23 -23
  169. package/dist/chunks/{chunk-SQ7H4LKU.js → chunk-NAUD3Q4O.js} +2 -2
  170. package/dist/chunks/{chunk-W55MTPRE.js → chunk-NIP4M4Q6.js} +4 -4
  171. package/dist/chunks/{chunk-PWPPWEGX.js → chunk-NJCSTVUT.js} +3 -3
  172. package/dist/chunks/{chunk-HMLE4X75.js → chunk-NK44VOZ3.js} +4 -4
  173. package/dist/chunks/{chunk-SA4CNUTK.js → chunk-NLPQDGJV.js} +1 -1
  174. package/dist/chunks/{chunk-6IH6DOGC.js → chunk-O2RAAOXM.js} +10 -10
  175. package/dist/chunks/{chunk-F4M27CLV.js → chunk-O4Y5P4SC.js} +4 -4
  176. package/dist/chunks/{chunk-MXJLDVK7.js → chunk-OCBZWUVH.js} +5 -5
  177. package/dist/chunks/{chunk-CTBHHWBI.js → chunk-OD6CFDSD.js} +2 -2
  178. package/dist/chunks/{chunk-E2ZDUEZC.js → chunk-OEKGIKDO.js} +1 -1
  179. package/dist/chunks/{chunk-7BZIPM3C.js → chunk-OUT3BZ5O.js} +1 -1
  180. package/dist/chunks/{chunk-WJ4IHUKO.js → chunk-OY652QTL.js} +1 -1
  181. package/dist/chunks/{chunk-5BLPOJEI.js → chunk-OZLRFOJS.js} +2 -2
  182. package/dist/chunks/{chunk-T4N3NQUO.js → chunk-P2BYSDQ3.js} +1 -1
  183. package/dist/chunks/{chunk-4GRDYDA6.js → chunk-P6BZFYGP.js} +25 -25
  184. package/dist/chunks/{chunk-OT7MPXUY.js → chunk-PC7KIGDO.js} +1 -1
  185. package/dist/chunks/{chunk-LDJ2BGFO.js → chunk-PJ3DA6UV.js} +11 -11
  186. package/dist/chunks/{chunk-R5MG6ZNW.js → chunk-PMA4T5V3.js} +1 -1
  187. package/dist/chunks/{chunk-IJ2BOOQU.js → chunk-PRMAWZTV.js} +1 -1
  188. package/dist/chunks/{chunk-KOMWZVJA.js → chunk-PT3YXR2N.js} +1 -1
  189. package/dist/chunks/{chunk-3UZYIY25.js → chunk-Q3WJ36XM.js} +6 -4
  190. package/dist/chunks/{chunk-PYLAJABC.js → chunk-Q5FF4EBN.js} +1 -1
  191. package/dist/chunks/{chunk-ECHJXRLK.js → chunk-Q5NIOSK3.js} +3 -3
  192. package/dist/chunks/{chunk-5AOHI3H2.js → chunk-RADDSFBE.js} +1 -1
  193. package/dist/chunks/{chunk-3P6AKOFS.js → chunk-RFEVPDTL.js} +1 -1
  194. package/dist/chunks/{chunk-FACXGYIV.js → chunk-RGFFJ2ZK.js} +4 -4
  195. package/dist/chunks/{chunk-QJ52JIWZ.js → chunk-RUUME77K.js} +1 -1
  196. package/dist/chunks/{chunk-NXZMRY7U.js → chunk-SB37A7UA.js} +1 -1
  197. package/dist/chunks/{chunk-S76DUOEW.js → chunk-SH3LISDC.js} +2 -2
  198. package/dist/chunks/{chunk-6P7QMPKO.js → chunk-SMSZDAQX.js} +2 -2
  199. package/dist/chunks/{chunk-UWBBOPE5.js → chunk-SQLHMTKC.js} +2 -2
  200. package/dist/chunks/{chunk-GR5HMQGP.js → chunk-SSPTXJLL.js} +1 -1
  201. package/dist/chunks/{chunk-46RAOQZE.js → chunk-SWU7NDCP.js} +2 -2
  202. package/dist/chunks/{chunk-7OUK477Z.js → chunk-SX6EEC3R.js} +2 -2
  203. package/dist/chunks/{chunk-HI5BOD6S.js → chunk-TBYRAIXT.js} +6 -6
  204. package/dist/chunks/{chunk-XLKYQWE3.js → chunk-TF2U2ID4.js} +7 -7
  205. package/dist/chunks/{chunk-XGUWMYSD.js → chunk-TKL6H24S.js} +6 -6
  206. package/dist/chunks/{chunk-X3KNLJYI.js → chunk-TPLQERZM.js} +248 -248
  207. package/dist/chunks/{chunk-7RZEDDXZ.js → chunk-TQKJ2OLE.js} +3 -3
  208. package/dist/chunks/{chunk-6OWDS7DK.js → chunk-TUIF2D5U.js} +2 -2
  209. package/dist/chunks/{chunk-4CCVBF6H.js → chunk-UH643HW7.js} +1 -1
  210. package/dist/chunks/{chunk-C2L2Y6XE.js → chunk-UJXSQEGV.js} +1 -1
  211. package/dist/chunks/{chunk-64VDLK25.js → chunk-UKDQJRTZ.js} +1 -1
  212. package/dist/chunks/{chunk-RTHIZTRF.js → chunk-UKWL7FZE.js} +1 -1
  213. package/dist/chunks/{chunk-MX7WSVMQ.js → chunk-ULV3L6RZ.js} +3 -3
  214. package/dist/chunks/{chunk-TSQVB42H.js → chunk-UOSAOJ3S.js} +2 -2
  215. package/dist/chunks/{chunk-PTZN7HGC.js → chunk-USDCTDVE.js} +1 -1
  216. package/dist/chunks/{chunk-4W675H27.js → chunk-USQHA3I2.js} +2 -2
  217. package/dist/chunks/{chunk-FX3XCVLQ.js → chunk-UZNMOALZ.js} +1 -1
  218. package/dist/chunks/{chunk-Q4W47KUW.js → chunk-VA4XJKDE.js} +1 -1
  219. package/dist/chunks/{chunk-EUZ6MGHA.js → chunk-VBBUK237.js} +2 -2
  220. package/dist/chunks/{chunk-37PVKK46.js → chunk-VFPLXAGK.js} +2 -2
  221. package/dist/chunks/{chunk-3P7RF3MT.js → chunk-VIIDAG4C.js} +1 -1
  222. package/dist/chunks/{chunk-DPKLJT3J.js → chunk-VILBLTXT.js} +1 -1
  223. package/dist/chunks/{chunk-WX7BZ47D.js → chunk-VS7UT3KL.js} +13 -13
  224. package/dist/chunks/{chunk-ZISHI37Q.js → chunk-VTOK53NJ.js} +1 -1
  225. package/dist/chunks/{chunk-C46KXRPW.js → chunk-W5YB4CUE.js} +6 -6
  226. package/dist/chunks/{chunk-C7WB7LUG.js → chunk-WAE5H2S6.js} +4 -4
  227. package/dist/chunks/{chunk-664VELOM.js → chunk-WGWF3Z4O.js} +1 -1
  228. package/dist/chunks/{chunk-Y4RT6QE2.js → chunk-WJFTOKQF.js} +2 -2
  229. package/dist/chunks/{chunk-LQOBPG7X.js → chunk-WO2WJ6LR.js} +1 -1
  230. package/dist/chunks/{chunk-DOWJKGRX.js → chunk-WRCSNKSD.js} +2 -2
  231. package/dist/chunks/{chunk-JCYOKRNB.js → chunk-WRJGLD6U.js} +1 -1
  232. package/dist/chunks/{chunk-X4CQBAKE.js → chunk-WSKZD3AP.js} +1 -1
  233. package/dist/chunks/{chunk-2OLYVJXT.js → chunk-WVSOA2XI.js} +5 -5
  234. package/dist/chunks/{chunk-AKKD4BF5.js → chunk-WWVM5FGG.js} +2 -2
  235. package/dist/chunks/{chunk-AXH5HD76.js → chunk-X6LQN42E.js} +1 -1
  236. package/dist/chunks/{chunk-53R5VBU7.js → chunk-XPYEPT33.js} +7 -7
  237. package/dist/chunks/{chunk-M5PEKEZV.js → chunk-XV3ECRDH.js} +1 -1
  238. package/dist/chunks/{chunk-T4NKR7VM.js → chunk-XVRSPJ7M.js} +322 -322
  239. package/dist/chunks/{chunk-CKMCDW7P.js → chunk-XVW6KOQF.js} +2 -2
  240. package/dist/chunks/{chunk-P5CABSJG.js → chunk-Y5CCJ7RC.js} +3 -3
  241. package/dist/chunks/{chunk-CCD5LR5L.js → chunk-Y6PVRCBH.js} +2 -2
  242. package/dist/chunks/{chunk-ZUHQ64ML.js → chunk-YBUOMPV3.js} +2 -2
  243. package/dist/chunks/{chunk-DNHQISDG.js → chunk-YENXXNVA.js} +2 -2
  244. package/dist/chunks/{chunk-KDKHLBEP.js → chunk-YEQQBBAD.js} +2 -2
  245. package/dist/chunks/{chunk-5VAWPEQ6.js → chunk-YIX4OFUR.js} +5 -5
  246. package/dist/chunks/{chunk-74GGO23I.js → chunk-YW5A37NU.js} +1 -1
  247. package/dist/chunks/{chunk-E5QCZ7LE.js → chunk-YYQS26RN.js} +10 -10
  248. package/dist/chunks/{chunk-FGXHLQER.js → chunk-ZEQYHUDB.js} +1 -1
  249. package/dist/chunks/{chunk-BFLD7ZLZ.js → chunk-ZIWSSOPM.js} +2 -2
  250. package/dist/chunks/{chunk-WLJEPN7Y.js → chunk-ZJA7TKPZ.js} +1 -1
  251. package/dist/chunks/{chunk-OW34D7QU.js → chunk-ZMXIY7NT.js} +1 -1
  252. package/dist/chunks/{chunk-2MBPP2BL.js → chunk-ZQ3T6GB4.js} +4 -4
  253. package/dist/chunks/{chunk-WQNIFU24.js → chunk-ZUF7CUAC.js} +1 -1
  254. package/dist/chunks/{classDiagram-v2-4MYWR3UA-EYSF753K.js → classDiagram-v2-4MYWR3UA-4CJ3SAWJ.js} +5 -5
  255. package/dist/chunks/{color.vertex-2JMPZKGZ.js → color.vertex-WW6XJMNU.js} +1 -1
  256. package/dist/chunks/{color.vertex-AWLTVOIB.js → color.vertex-Z5WUF2Q2.js} +1 -1
  257. package/dist/chunks/{colorPicker-5VIOJWDU.js → colorPicker-WB42L444.js} +4 -4
  258. package/dist/chunks/{computeShaderBoundingHelper-WBQBPLH2.js → computeShaderBoundingHelper-LFB2CI4N.js} +9 -9
  259. package/dist/chunks/{core-LFTB7XHT.js → core-7NBYMFPS.js} +299 -299
  260. package/dist/chunks/{cose-bilkent-JH36ORCC-GWNVBDJ7.js → cose-bilkent-JH36ORCC-GARI6MX5.js} +4 -4
  261. package/dist/chunks/{cynefinDiagram-WF24UDRP-FWKQRUCU.js → cynefinDiagram-WF24UDRP-6AL6UBTW.js} +6 -6
  262. package/dist/chunks/{dagre-NK4GIZVX-F3JODY7V.js → dagre-NK4GIZVX-XK6SWGJV.js} +3 -3
  263. package/dist/chunks/{dds-FODPLMT6.js → dds-4YKZLI45.js} +18 -18
  264. package/dist/chunks/{ddsTextureLoader-7CGQRTTX.js → ddsTextureLoader-Y6RLRIXT.js} +19 -19
  265. package/dist/chunks/{default.fragment-34Q237SP.js → default.fragment-TXQJ6VKT.js} +1 -1
  266. package/dist/chunks/{default.fragment-RIZ3RYPG.js → default.fragment-W4XTEUSB.js} +1 -1
  267. package/dist/chunks/{default.vertex-6MUI6WVD.js → default.vertex-G2COZRAU.js} +2 -2
  268. package/dist/chunks/{default.vertex-FSXQVDZE.js → default.vertex-NZZZ5JFE.js} +2 -2
  269. package/dist/chunks/{depth.fragment-XOYWTAWF.js → depth.fragment-DAB2YFDM.js} +1 -1
  270. package/dist/chunks/{depth.vertex-UQMPLIYL.js → depth.vertex-LQCYHD3C.js} +1 -1
  271. package/dist/chunks/{depth.vertex-RLC37B5A.js → depth.vertex-SHPH4IOE.js} +1 -1
  272. package/dist/chunks/{diagram-CBK3MWTC-SGZMINUW.js → diagram-CBK3MWTC-XQKXMBCS.js} +8 -8
  273. package/dist/chunks/{diagram-I5XIIV2D-2EY76GTK.js → diagram-I5XIIV2D-OGHRPQOR.js} +6 -6
  274. package/dist/chunks/{diagram-ODIL2UCW-BPSJXSLX.js → diagram-ODIL2UCW-46GMVO23.js} +6 -6
  275. package/dist/chunks/{diagram-PFBEJUXE-RNLSNDKJ.js → diagram-PFBEJUXE-3Q3B7JVE.js} +7 -7
  276. package/dist/chunks/{diagram-RJA3I4VV-BQP4MJDU.js → diagram-RJA3I4VV-ILIKHPMH.js} +6 -6
  277. package/dist/chunks/{diagram-TYUNFSNR-4IFVFD6X.js → diagram-TYUNFSNR-6NTRTHLJ.js} +5 -5
  278. package/dist/chunks/{dumpTools-I6UN4WDW.js → dumpTools-LFRU7M5I.js} +8 -8
  279. package/dist/chunks/{ebnfDiagram-V4P3TTPT-4QO56UCB.js → ebnfDiagram-V4P3TTPT-IC5YIIGA.js} +6 -6
  280. package/dist/chunks/{elk-QONTBCTQ-BQDWT5D6.js → elk-QONTBCTQ-7TCK6OZI.js} +3 -3
  281. package/dist/chunks/{envTextureLoader-5USGNUPT.js → envTextureLoader-XKVTN7KO.js} +30 -30
  282. package/dist/chunks/{environment-controller-GQNB4CPP.js → environment-controller-5MU65OTS.js} +1 -1
  283. package/dist/chunks/{erDiagram-KYQIGQAA-532JRAQ4.js → erDiagram-KYQIGQAA-7ZKOYXEJ.js} +5 -5
  284. package/dist/chunks/{exporting-LUXM2Q3G.js → exporting-QXU333IN.js} +2 -2
  285. package/dist/chunks/{exrTextureLoader-HW3QN4QT.js → exrTextureLoader-4KH4Q7IP.js} +5 -5
  286. package/dist/chunks/{flow-5ISIEQOH.js → flow-5RHKEDYA.js} +13 -13
  287. package/dist/chunks/{flowDiagram-IUGLLWBU-EXJGET5H.js → flowDiagram-IUGLLWBU-5TFOOU5M.js} +5 -5
  288. package/dist/chunks/{flowGraphArrayIndexBlock-KEXNBCU6.js → flowGraphArrayIndexBlock-JQJAI7UM.js} +4 -4
  289. package/dist/chunks/{flowGraphBezierCurveEasingBlock-TKODLSJX.js → flowGraphBezierCurveEasingBlock-E3YI3QYN.js} +6 -6
  290. package/dist/chunks/{flowGraphBranchBlock-Y3NQX653.js → flowGraphBranchBlock-EZWAZFPJ.js} +5 -5
  291. package/dist/chunks/{flowGraphCancelDelayBlock-RFIYK7TX.js → flowGraphCancelDelayBlock-5UZQZLZT.js} +6 -6
  292. package/dist/chunks/{flowGraphCodeExecutionBlock-DXPCTAIO.js → flowGraphCodeExecutionBlock-FUCPML7W.js} +4 -4
  293. package/dist/chunks/{flowGraphConditionalDataBlock-GOFGI4FQ.js → flowGraphConditionalDataBlock-Z7D2U26Y.js} +4 -4
  294. package/dist/chunks/{flowGraphConsoleLogBlock-FTLTUYXH.js → flowGraphConsoleLogBlock-FXWBZJQE.js} +6 -6
  295. package/dist/chunks/{flowGraphConstantBlock-JXONKXRZ.js → flowGraphConstantBlock-NLDUV3LG.js} +4 -4
  296. package/dist/chunks/{flowGraphContextBlock-KGUZNOBZ.js → flowGraphContextBlock-QCI77QL7.js} +4 -4
  297. package/dist/chunks/{flowGraphCounterBlock-SCDUPYJV.js → flowGraphCounterBlock-4PXWJT6P.js} +6 -6
  298. package/dist/chunks/{flowGraphDataSwitchBlock-HWV5IWQG.js → flowGraphDataSwitchBlock-LBRCDLHG.js} +4 -4
  299. package/dist/chunks/{flowGraphDebounceBlock-UWQ27YUA.js → flowGraphDebounceBlock-TQAXGY7N.js} +6 -6
  300. package/dist/chunks/{flowGraphDoNBlock-LGLRZG4M.js → flowGraphDoNBlock-WEHJBIMZ.js} +6 -6
  301. package/dist/chunks/{flowGraphEasingBlock-JQPIBKES.js → flowGraphEasingBlock-RK677JZU.js} +6 -6
  302. package/dist/chunks/{flowGraphFlipFlopBlock-YN3UX542.js → flowGraphFlipFlopBlock-IZWNOD4B.js} +5 -5
  303. package/dist/chunks/{flowGraphForLoopBlock-G5LQ7CAZ.js → flowGraphForLoopBlock-AVQ2YOAR.js} +6 -6
  304. package/dist/chunks/{flowGraphFunctionReferenceBlock-TPTMHZE2.js → flowGraphFunctionReferenceBlock-KYQEFCYJ.js} +4 -4
  305. package/dist/chunks/{flowGraphGLTFDataProvider-Y6XIMDVN.js → flowGraphGLTFDataProvider-AZ7UMBZC.js} +4 -4
  306. package/dist/chunks/{flowGraphGetAssetBlock-22TT5V3Z.js → flowGraphGetAssetBlock-UEJXDNSE.js} +4 -4
  307. package/dist/chunks/{flowGraphGetPropertyBlock-D5QSU6Y6.js → flowGraphGetPropertyBlock-GJ6ENS6P.js} +5 -5
  308. package/dist/chunks/{flowGraphGetVariableBlock-YS5OCW7W.js → flowGraphGetVariableBlock-BFOEJLB5.js} +4 -4
  309. package/dist/chunks/{flowGraphIndexOfBlock-VS54HZ6D.js → flowGraphIndexOfBlock-V4LYI4ZG.js} +4 -4
  310. package/dist/chunks/{flowGraphInterpolationBlock-KO2WV4AA.js → flowGraphInterpolationBlock-RU4ZK5V7.js} +7 -7
  311. package/dist/chunks/{flowGraphJsonPointerParserBlock-AMET6SB5.js → flowGraphJsonPointerParserBlock-UMY633PK.js} +5 -5
  312. package/dist/chunks/{flowGraphMathBlocks-C4EQ4B5H.js → flowGraphMathBlocks-7PCGIAGC.js} +7 -7
  313. package/dist/chunks/{flowGraphMathCombineExtractBlocks-AS47S7LB.js → flowGraphMathCombineExtractBlocks-2CBGP7HW.js} +5 -5
  314. package/dist/chunks/{flowGraphMatrixMathBlocks-XBYMURTK.js → flowGraphMatrixMathBlocks-HDD6FJZR.js} +7 -7
  315. package/dist/chunks/{flowGraphMeshPickEventBlock-Z4RDIXMJ.js → flowGraphMeshPickEventBlock-BL6HA2QL.js} +9 -9
  316. package/dist/chunks/{flowGraphMultiGateBlock-JKXW3CFX.js → flowGraphMultiGateBlock-5VWL3KOW.js} +5 -5
  317. package/dist/chunks/{flowGraphPauseAnimationBlock-GIAXJQ2T.js → flowGraphPauseAnimationBlock-JTB7WZXP.js} +6 -6
  318. package/dist/chunks/{flowGraphPlayAnimationBlock-QPLXU5EY.js → flowGraphPlayAnimationBlock-CIKS3NZQ.js} +31 -31
  319. package/dist/chunks/{flowGraphPointerOutEventBlock-QPTWZ2EM.js → flowGraphPointerOutEventBlock-7VWFRYP4.js} +8 -8
  320. package/dist/chunks/{flowGraphPointerOverEventBlock-2H3BZBA2.js → flowGraphPointerOverEventBlock-JVZOQVVZ.js} +8 -8
  321. package/dist/chunks/{flowGraphReceiveCustomEventBlock-KOLS4RV4.js → flowGraphReceiveCustomEventBlock-YZMMNMWM.js} +13 -13
  322. package/dist/chunks/{flowGraphSceneReadyEventBlock-OYMICINV.js → flowGraphSceneReadyEventBlock-5GJP3I6D.js} +8 -8
  323. package/dist/chunks/{flowGraphSceneTickEventBlock-4J3T6H3E.js → flowGraphSceneTickEventBlock-7OUIGOGV.js} +8 -8
  324. package/dist/chunks/{flowGraphSendCustomEventBlock-BYPUM3UJ.js → flowGraphSendCustomEventBlock-WRJLZDYU.js} +6 -6
  325. package/dist/chunks/{flowGraphSequenceBlock-WBZM2XAZ.js → flowGraphSequenceBlock-3IEIK2WV.js} +5 -5
  326. package/dist/chunks/{flowGraphSetDelayBlock-WXHRTAVW.js → flowGraphSetDelayBlock-ZOOF5SCB.js} +7 -7
  327. package/dist/chunks/{flowGraphSetPropertyBlock-YEGJASD4.js → flowGraphSetPropertyBlock-6CSYLHEZ.js} +6 -6
  328. package/dist/chunks/{flowGraphSetVariableBlock-GA4BG73M.js → flowGraphSetVariableBlock-MDKIX7OC.js} +6 -6
  329. package/dist/chunks/{flowGraphStopAnimationBlock-OB6VHQDR.js → flowGraphStopAnimationBlock-KUH2HYC5.js} +7 -7
  330. package/dist/chunks/{flowGraphSwitchBlock-G2YIRN4V.js → flowGraphSwitchBlock-TWCENMDW.js} +5 -5
  331. package/dist/chunks/{flowGraphThrottleBlock-5ZMHOQOT.js → flowGraphThrottleBlock-UHLFIJFH.js} +6 -6
  332. package/dist/chunks/{flowGraphTransformCoordinatesSystemBlock-BJV2BEWH.js → flowGraphTransformCoordinatesSystemBlock-7UYUKQ6D.js} +4 -4
  333. package/dist/chunks/{flowGraphTypeToTypeBlocks-AITCATRR.js → flowGraphTypeToTypeBlocks-XBPEKLWF.js} +6 -6
  334. package/dist/chunks/{flowGraphVectorMathBlocks-L24VNT36.js → flowGraphVectorMathBlocks-4CS4GAOW.js} +7 -7
  335. package/dist/chunks/{flowGraphWaitAllBlock-F2Q3UJIZ.js → flowGraphWaitAllBlock-KPR26BTB.js} +6 -6
  336. package/dist/chunks/{flowGraphWhileLoopBlock-O3Q4J23J.js → flowGraphWhileLoopBlock-YWU4ZPBL.js} +6 -6
  337. package/dist/chunks/{gantt-73FZCSPR.js → gantt-CRPFIQX3.js} +28 -28
  338. package/dist/chunks/{ganttDiagram-R7GPNTJY-W3S4473K.js → ganttDiagram-R7GPNTJY-XKGIVECF.js} +6 -6
  339. package/dist/chunks/{geometry.fragment-V23YFPXS.js → geometry.fragment-L4C5IITM.js} +1 -1
  340. package/dist/chunks/{geometry.vertex-U72PEUVR.js → geometry.vertex-334BZJUR.js} +1 -1
  341. package/dist/chunks/{geometry.vertex-GIYNCWCI.js → geometry.vertex-NFXJNQQY.js} +1 -1
  342. package/dist/chunks/{gitGraphDiagram-PDYL7XHY-6MCVL2W4.js → gitGraphDiagram-PDYL7XHY-FLB6YDU5.js} +7 -7
  343. package/dist/chunks/{glTF-EU3MFPZJ.js → glTF-4ECNIESF.js} +55 -55
  344. package/dist/chunks/{glTFLoaderAnimation-LTCZDBAE.js → glTFLoaderAnimation-4QTRPM62.js} +15 -15
  345. package/dist/chunks/{glowMapGeneration.vertex-UQZKSG7V.js → glowMapGeneration.vertex-3HMHS7QR.js} +1 -1
  346. package/dist/chunks/{glowMapGeneration.vertex-MA6CWXHD.js → glowMapGeneration.vertex-U5LFU7MD.js} +1 -1
  347. package/dist/chunks/{grid-ZGFBBQNA.js → grid-VG4Q7T46.js} +16 -16
  348. package/dist/chunks/{hdrTextureLoader-PCZ222XU.js → hdrTextureLoader-DHPQZQRQ.js} +3 -3
  349. package/dist/chunks/{hierarchy-WATQXQ42.js → hierarchy-RY2U627I.js} +6 -6
  350. package/dist/chunks/{iblVoxelGrid.vertex-Y5IPIE2I.js → iblVoxelGrid.vertex-3AQZORFT.js} +1 -1
  351. package/dist/chunks/{iblVoxelGrid.vertex-QLTGABNE.js → iblVoxelGrid.vertex-TIEV3MKH.js} +1 -1
  352. package/dist/chunks/{imageProcessing.fragment-TG2F2MAI.js → imageProcessing.fragment-VAL24NUE.js} +1 -1
  353. package/dist/chunks/{infoDiagram-MVDRKAX5-R7LQUN5P.js → infoDiagram-MVDRKAX5-VA3A2Q7K.js} +6 -6
  354. package/dist/chunks/{inspector-RWSTLW2P.js → inspector-74HBD2U2.js} +183 -183
  355. package/dist/chunks/{ishikawaDiagram-HPEHV2GE-6EJWSUQ3.js → ishikawaDiagram-HPEHV2GE-ZTRVJGXB.js} +3 -3
  356. package/dist/chunks/{journeyDiagram-BOSHW7O7-3XBYHHYX.js → journeyDiagram-BOSHW7O7-2XSGU7KT.js} +4 -4
  357. package/dist/chunks/{json-XNHJK3IW.js → json-PMBC2DBL.js} +1 -1
  358. package/dist/chunks/{kanban-definition-FNSA4HC5-G3RDNCOQ.js → kanban-definition-FNSA4HC5-AUX54O7E.js} +3 -3
  359. package/dist/chunks/{kernelBlur.fragment-2AMQN2Y4.js → kernelBlur.fragment-E7VYOKC6.js} +1 -1
  360. package/dist/chunks/{ktxTextureLoader-6NEJTH2X.js → ktxTextureLoader-UVSB6SHD.js} +4 -4
  361. package/dist/chunks/{map-S4CXQ5PW.js → map-2JCTUCRT.js} +1 -1
  362. package/dist/chunks/{mermaid.core-45W6L2RH.js → mermaid.core-4HNQYNXA.js} +43 -43
  363. package/dist/chunks/{meshUVSpaceRenderer.vertex-J6WP5DT3.js → meshUVSpaceRenderer.vertex-BYK5DRO5.js} +1 -1
  364. package/dist/chunks/{meshUVSpaceRenderer.vertex-S5R6H333.js → meshUVSpaceRenderer.vertex-KM27P6XF.js} +1 -1
  365. package/dist/chunks/{mindmap-definition-6OY57UG3-2IAOBSPG.js → mindmap-definition-6OY57UG3-XSEUVG2Y.js} +4 -4
  366. package/dist/chunks/{openPbrMaterial-6EP3RRIN.js → openPbrMaterial-IYM7GRT7.js} +30 -30
  367. package/dist/chunks/{openpbr.fragment-WYBKDHBM.js → openpbr.fragment-66Z37SNQ.js} +1 -1
  368. package/dist/chunks/{openpbr.vertex-LVNKFDWE.js → openpbr.vertex-IYS5B65Z.js} +2 -2
  369. package/dist/chunks/{openpbr.vertex-NMK74L4O.js → openpbr.vertex-QT2NYN3Z.js} +2 -2
  370. package/dist/chunks/{outline.vertex-6HOKQOEH.js → outline.vertex-GTLT6U26.js} +1 -1
  371. package/dist/chunks/{outline.vertex-N77IG2ZS.js → outline.vertex-SLLRX7TL.js} +1 -1
  372. package/dist/chunks/{particles.fragment-UEUQEKOW.js → particles.fragment-STQOCAAB.js} +1 -1
  373. package/dist/chunks/{pbr.fragment-YBFBOZDT.js → pbr.fragment-2F35GGQZ.js} +1 -1
  374. package/dist/chunks/{pbr.fragment-QQZYIIE3.js → pbr.fragment-UMGRVYEF.js} +1 -1
  375. package/dist/chunks/{pbr.vertex-ZFDXU5L5.js → pbr.vertex-REFISCTU.js} +2 -2
  376. package/dist/chunks/{pbr.vertex-JUAPBAV6.js → pbr.vertex-T6W7QPU4.js} +2 -2
  377. package/dist/chunks/{pbrMaterial-32LJ5HX6.js → pbrMaterial-BBVX56BM.js} +33 -33
  378. package/dist/chunks/pdfmake-L4WU34HA.js +2 -0
  379. package/dist/chunks/{pegDiagram-ECIUJNBX-4IHTA47Q.js → pegDiagram-ECIUJNBX-UCNCPW43.js} +6 -6
  380. package/dist/chunks/{percent-GXK6U53B.js → percent-4NSMK5D4.js} +3 -3
  381. package/dist/chunks/{picking.vertex-OSAM3RL4.js → picking.vertex-CYORLO3H.js} +1 -1
  382. package/dist/chunks/{picking.vertex-5RUQAKED.js → picking.vertex-ULDBODZ6.js} +1 -1
  383. package/dist/chunks/{pieDiagram-GNMPY74T-LVVHOWHG.js → pieDiagram-GNMPY74T-JBWKZ3ME.js} +6 -6
  384. package/dist/chunks/{quadrantDiagram-D57K4MC3-FF4HM52I.js → quadrantDiagram-D57K4MC3-WFXTVHF6.js} +4 -4
  385. package/dist/chunks/{radar-UMIXWSQF.js → radar-GGAOSRTQ.js} +4 -4
  386. package/dist/chunks/{railroadDiagram-Y72NRBL7-L25NNQJ4.js → railroadDiagram-Y72NRBL7-V2NNBISE.js} +6 -6
  387. package/dist/chunks/{requirementDiagram-EQYSW5RA-A24EGZ32.js → requirementDiagram-EQYSW5RA-MC3QDP4Z.js} +4 -4
  388. package/dist/chunks/{sankeyDiagram-SY24JHO5-2FUHHOZC.js → sankeyDiagram-SY24JHO5-TFYWOU6C.js} +4 -4
  389. package/dist/chunks/{sequenceDiagram-BLEHNHQU-OP5SGLPH.js → sequenceDiagram-BLEHNHQU-4SMLIONW.js} +4 -4
  390. package/dist/chunks/{shadowMap.fragment-3AKKHSMI.js → shadowMap.fragment-UNGEWFAA.js} +2 -2
  391. package/dist/chunks/{shadowMap.vertex-QRYBRON5.js → shadowMap.vertex-IHNKLYR4.js} +1 -1
  392. package/dist/chunks/{shadowMap.vertex-GGRIJJ5U.js → shadowMap.vertex-RP7LTTAC.js} +1 -1
  393. package/dist/chunks/{stateDiagram-v2-A6IESKWZ-U7D3RXBN.js → stateDiagram-v2-A6IESKWZ-USFJHJ4T.js} +5 -5
  394. package/dist/chunks/{stock-MHSSOQIZ.js → stock-37ZVRMX4.js} +24 -24
  395. package/dist/chunks/{swimlanes-B3ENRKFQ-UWPVVWKV.js → swimlanes-B3ENRKFQ-YCYYGZXT.js} +3 -3
  396. package/dist/chunks/{swimlanesDiagram-AYQRV4AK-PVCMQQAA.js → swimlanesDiagram-AYQRV4AK-NDW6LEMF.js} +5 -5
  397. package/dist/chunks/{thinEngine-RAZVLTBH.js → thinEngine-4FB6CYEY.js} +2 -2
  398. package/dist/chunks/{timeline-UVJ5RUFP.js → timeline-7QZIE7OR.js} +7 -7
  399. package/dist/chunks/{timeline-definition-JXYKGLGB-5CU2O622.js → timeline-definition-JXYKGLGB-UTMDHKTX.js} +4 -4
  400. package/dist/chunks/{transformFeedbackBoundingHelper-4DLZUJLO.js → transformFeedbackBoundingHelper-EK6AUVPT.js} +10 -10
  401. package/dist/chunks/{usecaseDiagram-WPOLBNNX-OILPMFCA.js → usecaseDiagram-WPOLBNNX-7N5JCO4P.js} +5 -5
  402. package/dist/chunks/{vennDiagram-Q3Y3IDCW-I7PIORLC.js → vennDiagram-Q3Y3IDCW-WBAFDTEU.js} +4 -4
  403. package/dist/chunks/vfs_fonts-RE2BGZS5.js +2 -0
  404. package/dist/chunks/{wardleyDiagram-IVAIDKWA-OGEI7BJT.js → wardleyDiagram-IVAIDKWA-R73ET5XI.js} +6 -6
  405. package/dist/chunks/{webAudioBus-NACAVGME.js → webAudioBus-W6PHUJHC.js} +5 -5
  406. package/dist/chunks/{webAudioSoundSource-2KWD5FA3.js → webAudioSoundSource-VKCTT5LL.js} +5 -5
  407. package/dist/chunks/{webAudioStaticSound-375YCI27.js → webAudioStaticSound-GC3Q5PO5.js} +5 -5
  408. package/dist/chunks/{webAudioStreamingSound-X4CSVKEZ.js → webAudioStreamingSound-NCYR2HKV.js} +8 -8
  409. package/dist/chunks/{xy-T2EBSG7D.js → xy-5LAOMXYJ.js} +14 -14
  410. package/dist/chunks/{xychartDiagram-4URNHDU4-FXQ4KT2S.js → xychartDiagram-4URNHDU4-4VXY5RIF.js} +3 -3
  411. package/dist/color-picker.css +8 -8
  412. package/dist/color-picker.js +13 -13
  413. package/dist/color-swatch.css +5 -5
  414. package/dist/color-swatch.js +5 -5
  415. package/dist/confirm-popover.css +4 -4
  416. package/dist/confirm-popover.js +5 -5
  417. package/dist/copy-button.css +2 -2
  418. package/dist/copy-button.js +3 -3
  419. package/dist/corner-position-input-group.css +5 -5
  420. package/dist/corner-position-input-group.js +6 -6
  421. package/dist/data-tab-group.css +5 -5
  422. package/dist/data-tab-group.js +11 -11
  423. package/dist/date-calendar.js +1 -1
  424. package/dist/details-group.css +3 -3
  425. package/dist/details-group.js +1 -1
  426. package/dist/dialog.css +4 -4
  427. package/dist/dialog.js +2 -2
  428. package/dist/document-viewer.css +2 -2
  429. package/dist/document-viewer.js +3 -3
  430. package/dist/dot-pagination.css +2 -2
  431. package/dist/dot-pagination.js +3 -3
  432. package/dist/drawer.css +3 -3
  433. package/dist/drawer.js +2 -2
  434. package/dist/dropdown.css +2 -2
  435. package/dist/dropdown.js +3 -3
  436. package/dist/dynamic-select.css +5 -5
  437. package/dist/dynamic-select.js +6 -6
  438. package/dist/e-chart.js +1 -1
  439. package/dist/facet-date-picker.css +11 -10
  440. package/dist/facet-date-picker.js +8 -8
  441. package/dist/facet-date-range.css +14 -12
  442. package/dist/facet-date-range.js +9 -9
  443. package/dist/faceted-filter-facet.css +2 -2
  444. package/dist/faceted-filter-facet.js +5 -5
  445. package/dist/faceted-filter.css +17 -15
  446. package/dist/faceted-filter.js +14 -14
  447. package/dist/folder-select.css +5 -5
  448. package/dist/folder-select.js +7 -7
  449. package/dist/font-picker.css +7 -7
  450. package/dist/font-picker.js +7 -7
  451. package/dist/gallery-item.css +2 -2
  452. package/dist/gallery-item.js +6 -6
  453. package/dist/graph-view.css +5 -5
  454. package/dist/graph-view.js +1 -1
  455. package/dist/grid.css +2 -2
  456. package/dist/grid.js +1 -1
  457. package/dist/header.css +2 -2
  458. package/dist/header.js +4 -4
  459. package/dist/icon-picker.css +8 -8
  460. package/dist/icon-picker.js +17 -17
  461. package/dist/image-comparer.css +2 -2
  462. package/dist/image-comparer.js +1 -1
  463. package/dist/image.css +2 -2
  464. package/dist/image.js +2 -2
  465. package/dist/index.css +52 -52
  466. package/dist/index.js +82 -82
  467. package/dist/input-date-picker.css +11 -10
  468. package/dist/input-date-picker.js +7 -7
  469. package/dist/input-date-range-picker.css +14 -12
  470. package/dist/input-date-range-picker.js +8 -8
  471. package/dist/integrations/mount-screen.js +141 -6
  472. package/dist/integrations/widget-ui.css +12 -12
  473. package/dist/integrations/widget-ui.js +14 -14
  474. package/dist/line-clamp.css +2 -2
  475. package/dist/line-clamp.js +3 -3
  476. package/dist/markdown-viewer.css +2 -2
  477. package/dist/markdown-viewer.js +5 -5
  478. package/dist/markdown.js +1 -1
  479. package/dist/masonry.css +4 -4
  480. package/dist/masonry.js +5 -5
  481. package/dist/mentions.css +5 -5
  482. package/dist/mentions.js +7 -7
  483. package/dist/menu-item.css +2 -2
  484. package/dist/menu-item.js +3 -3
  485. package/dist/menu.css +2 -2
  486. package/dist/menu.js +4 -4
  487. package/dist/multi-select.css +17 -15
  488. package/dist/multi-select.js +15 -15
  489. package/dist/mutation-observer.css +3 -3
  490. package/dist/mutation-observer.js +1 -1
  491. package/dist/page-outline.css +2 -2
  492. package/dist/page-outline.js +4 -4
  493. package/dist/pagination.css +5 -5
  494. package/dist/pagination.js +6 -6
  495. package/dist/pdf-viewer-toolbar.css +8 -8
  496. package/dist/pdf-viewer-toolbar.js +15 -15
  497. package/dist/popup.css +2 -2
  498. package/dist/popup.js +1 -1
  499. package/dist/position-picker.css +4 -4
  500. package/dist/position-picker.js +2 -2
  501. package/dist/publish-page.css +7 -7
  502. package/dist/publish-page.js +4 -4
  503. package/dist/radio-card.css +2 -2
  504. package/dist/radio-card.js +4 -4
  505. package/dist/range.css +2 -2
  506. package/dist/range.js +3 -3
  507. package/dist/rich-text.css +10 -10
  508. package/dist/rich-text.js +15 -15
  509. package/dist/select.css +5 -5
  510. package/dist/select.js +5 -5
  511. package/dist/shadow-input-group.css +8 -8
  512. package/dist/shadow-input-group.js +15 -15
  513. package/dist/share-option-list.css +2 -2
  514. package/dist/share-option-list.js +3 -3
  515. package/dist/size-input-group.css +5 -5
  516. package/dist/size-input-group.js +6 -6
  517. package/dist/stat-card.css +2 -2
  518. package/dist/stat-card.js +1 -1
  519. package/dist/step.css +2 -2
  520. package/dist/step.js +4 -4
  521. package/dist/stepper-wizard.css +4 -4
  522. package/dist/stepper-wizard.js +6 -6
  523. package/dist/stepper.css +2 -2
  524. package/dist/stepper.js +1 -1
  525. package/dist/tab-group.css +2 -2
  526. package/dist/tab-group.js +6 -6
  527. package/dist/tab-panel.css +3 -3
  528. package/dist/tab-panel.js +1 -1
  529. package/dist/tab.css +2 -2
  530. package/dist/tab.js +4 -4
  531. package/dist/table.css +20 -18
  532. package/dist/table.js +19 -19
  533. package/dist/tag.css +5 -5
  534. package/dist/tag.js +4 -4
  535. package/dist/tooltip.css +2 -2
  536. package/dist/tooltip.js +2 -2
  537. package/dist/tree-item.css +2 -2
  538. package/dist/tree-item.js +4 -4
  539. package/dist/type-subtype-select.css +5 -5
  540. package/dist/type-subtype-select.js +6 -6
  541. package/dist/typeface.css +4 -4
  542. package/dist/typeface.js +5 -5
  543. package/dist/types/react/src/atoms/menu/collection.d.ts +1 -1
  544. package/dist/video.css +2 -2
  545. package/dist/video.js +4 -4
  546. package/dist/view-and-sort.css +2 -2
  547. package/dist/view-and-sort.js +8 -8
  548. package/package.json +1 -5
  549. package/dist/chunks/chunk-T3E6IYWU.js +0 -149
  550. package/dist/chunks/pdfmake-D3YEYUSE.js +0 -64341
  551. package/dist/chunks/pdfmake-D3YEYUSE.js.LEGAL.txt +0 -31
  552. package/dist/chunks/vfs_fonts-6WLNOIAQ.js +0 -12
  553. package/dist/integrations/unit-renderer.css +0 -7803
  554. package/dist/integrations/unit-renderer.css.LEGAL.txt +0 -4
  555. package/dist/integrations/unit-renderer.js +0 -900
  556. package/dist/types/react/src/integrations/unit-renderer/controls.d.ts +0 -44
  557. package/dist/types/react/src/integrations/unit-renderer/host-hooks.d.ts +0 -5
  558. package/dist/types/react/src/integrations/unit-renderer/index.d.ts +0 -8
  559. package/dist/types/react/src/integrations/unit-renderer/localization.d.ts +0 -8
  560. package/dist/types/react/src/integrations/unit-renderer/mount.d.ts +0 -11
  561. package/dist/types/react/src/integrations/unit-renderer/unit-store.d.ts +0 -17
  562. package/dist/types/react/src/integrations/unit-renderer/unit.d.ts +0 -201
  563. package/dist/types/react/src/integrations/unit-renderer/units.d.ts +0 -16
  564. package/dist/types/react/src/integrations/unit-renderer/value-equality.d.ts +0 -5
  565. /package/dist/chunks/{GraphView-FQAPNVJF.css.LEGAL.txt → GraphView-VIE33UTZ.css.LEGAL.txt} +0 -0
  566. /package/dist/chunks/{chunk-LXKL5VC4.js.LEGAL.txt → chunk-66PM7KG6.js.LEGAL.txt} +0 -0
  567. /package/dist/chunks/{chunk-MRPKCE7X.js → chunk-7LHIGN62.js} +0 -0
  568. /package/dist/chunks/{chunk-SOKVPHAA.js → chunk-PHKZHLUB.js} +0 -0
  569. /package/dist/chunks/{chunk-DOWJKGRX.js.LEGAL.txt → chunk-WRCSNKSD.js.LEGAL.txt} +0 -0
  570. /package/dist/chunks/{inspector-RWSTLW2P.js.LEGAL.txt → inspector-74HBD2U2.js.LEGAL.txt} +0 -0
  571. /package/dist/chunks/{mermaid.core-45W6L2RH.js.LEGAL.txt → mermaid.core-4HNQYNXA.js.LEGAL.txt} +0 -0
@@ -1,900 +0,0 @@
1
- import './unit-renderer.css';
2
- import {
3
- createDesignSystemRoot,
4
- prepareDesignSystemContainer
5
- } from "../chunks/chunk-T3E6IYWU.js";
6
- import {
7
- CxInputDateRangePicker
8
- } from "../chunks/chunk-TSQVB42H.js";
9
- import {
10
- CxInputDatePicker
11
- } from "../chunks/chunk-MAHOZ5A2.js";
12
- import "../chunks/chunk-BON4FEGY.js";
13
- import {
14
- CxDynamicSelect
15
- } from "../chunks/chunk-TUTXXTEA.js";
16
- import {
17
- CxSwitch
18
- } from "../chunks/chunk-5Z7HQJMS.js";
19
- import {
20
- CxTextarea
21
- } from "../chunks/chunk-WCYGGQRC.js";
22
- import {
23
- CxRadio
24
- } from "../chunks/chunk-PFBOJEQN.js";
25
- import {
26
- CxRadioGroup
27
- } from "../chunks/chunk-2PXQFSUK.js";
28
- import "../chunks/chunk-R4FOTYHV.js";
29
- import {
30
- CxSelect
31
- } from "../chunks/chunk-UYQ7MP4W.js";
32
- import {
33
- CxOption,
34
- CxOptionGroup
35
- } from "../chunks/chunk-T54L22HW.js";
36
- import "../chunks/chunk-4PYME6QI.js";
37
- import {
38
- CxInput
39
- } from "../chunks/chunk-VLFPMWZI.js";
40
- import "../chunks/chunk-32MEAYAU.js";
41
- import "../chunks/chunk-EFAOUGRA.js";
42
- import "../chunks/chunk-QU4QWACI.js";
43
- import "../chunks/chunk-KRSEQX2S.js";
44
- import {
45
- CxImage
46
- } from "../chunks/chunk-PYLAJABC.js";
47
- import "../chunks/chunk-HNSAOAJX.js";
48
- import "../chunks/chunk-2QVV7WXP.js";
49
- import {
50
- CxBox
51
- } from "../chunks/chunk-NXZMRY7U.js";
52
- import "../chunks/chunk-MZD2MZLE.js";
53
- import "../chunks/chunk-RTBHH6D3.js";
54
- import {
55
- CxCheckbox
56
- } from "../chunks/chunk-SUJQ2KJI.js";
57
- import "../chunks/chunk-7NAYQPPP.js";
58
- import {
59
- CxAlert
60
- } from "../chunks/chunk-Y724SDRE.js";
61
- import "../chunks/chunk-MHTDMJVT.js";
62
- import "../chunks/chunk-IX4OEISF.js";
63
- import "../chunks/chunk-UDOCW2Z5.js";
64
- import {
65
- CxTooltip
66
- } from "../chunks/chunk-JTCDV2UD.js";
67
- import "../chunks/chunk-I4OW2YVJ.js";
68
- import "../chunks/chunk-QTRMLIQD.js";
69
- import "../chunks/chunk-H4SAB35M.js";
70
- import {
71
- DismissBoundary
72
- } from "../chunks/chunk-NTUPG77E.js";
73
- import {
74
- CxButton
75
- } from "../chunks/chunk-3XYPA2SM.js";
76
- import "../chunks/chunk-2DH2EWIR.js";
77
- import {
78
- CxTypography
79
- } from "../chunks/chunk-76R65OTY.js";
80
- import {
81
- CxIconButton
82
- } from "../chunks/chunk-4PK5IIOG.js";
83
- import "../chunks/chunk-QHLFEK63.js";
84
- import "../chunks/chunk-J7BGGMXY.js";
85
- import {
86
- CxAvatar
87
- } from "../chunks/chunk-Q4W47KUW.js";
88
- import {
89
- CxIcon
90
- } from "../chunks/chunk-6CLOMF56.js";
91
- import {
92
- DesignSystemProvider,
93
- useDesignSystem
94
- } from "../chunks/chunk-PDAQQGEZ.js";
95
- import "../chunks/chunk-EXOVVZNP.js";
96
-
97
- // packages/react/src/integrations/unit-renderer/controls.tsx
98
- import { Fragment, memo, useCallback as useCallback2, useEffect as useEffect2, useMemo as useMemo2, useRef, useState as useState2 } from "react";
99
-
100
- // packages/react/src/integrations/unit-renderer/host-hooks.ts
101
- import { useCallback, useContext, useEffect, useMemo, useState, useSyncExternalStore as useSyncExternalStore2 } from "react";
102
-
103
- // packages/react/src/integrations/unit-renderer/unit-store.ts
104
- import { createContext, useSyncExternalStore } from "react";
105
-
106
- // packages/react/src/integrations/unit-renderer/value-equality.ts
107
- function shallowEqual(left, right) {
108
- if (left === right) return true;
109
- if (!left || !right || typeof left !== "object" || typeof right !== "object" || Array.isArray(left) !== Array.isArray(right)) return false;
110
- const a = left, b = right;
111
- const keys = Object.keys(a);
112
- return keys.length === Object.keys(b).length && keys.every((key) => Object.hasOwn(b, key) && a[key] === b[key]);
113
- }
114
- function structurallyEqual(left, right) {
115
- if (shallowEqual(left, right)) return true;
116
- if (!left || !right || typeof left !== "object" || typeof right !== "object" || Array.isArray(left) !== Array.isArray(right)) return false;
117
- const a = left, b = right;
118
- const keys = Object.keys(a);
119
- return keys.length === Object.keys(b).length && keys.every((key) => Object.hasOwn(b, key) && structurallyEqual(a[key], b[key]));
120
- }
121
-
122
- // packages/react/src/integrations/unit-renderer/unit-store.ts
123
- function isUnit(item) {
124
- return !!item && (item.kind === "component" || item.kind === "vform");
125
- }
126
- function reuse(previous, next) {
127
- if (!previous || previous.id !== next.id || previous.kind !== next.kind) return next;
128
- if (isUnit(next)) {
129
- if (!isUnit(previous)) return next;
130
- if (previous.rev === next.rev) return previous;
131
- const items = reuseViewNodes(previous.view, next.view);
132
- return { ...next, view: items, inputs: reuseMap(previous.inputs, next.inputs), triggers: reuseMap(previous.triggers, next.triggers) };
133
- }
134
- if (next.kind === "group" && previous.kind === "group") {
135
- const items = reuseViewNodes(previous.items, next.items);
136
- return items === previous.items && shallowEqualExcept(previous, next, "items") ? previous : { ...next, items };
137
- }
138
- return structurallyEqual(previous, next) ? previous : next;
139
- }
140
- function reuseMap(previous, next) {
141
- return Object.fromEntries(Object.entries(next).map(([id, value]) => [id, structurallyEqual(previous[id], value) ? previous[id] : value]));
142
- }
143
- function reuseViewNodes(previous, next) {
144
- const byId = new Map(previous.map((item) => [item.id, item]));
145
- let changed = previous.length !== next.length;
146
- const result = next.map((item, index) => {
147
- const reused = reuse(byId.get(item.id), item);
148
- if (reused !== previous[index]) changed = true;
149
- return reused;
150
- });
151
- return changed ? result : previous;
152
- }
153
- function shallowEqualExcept(a, b, skip) {
154
- const keys = new Set([...Object.keys(a), ...Object.keys(b)].filter((key) => key !== skip));
155
- for (const key of keys) {
156
- const left = a[key];
157
- const right = b[key];
158
- if (left === right) continue;
159
- if (structurallyEqual(left, right)) continue;
160
- return false;
161
- }
162
- return true;
163
- }
164
- function createUnitStore(initial) {
165
- let unit = initial;
166
- const listeners = /* @__PURE__ */ new Set();
167
- const valueListeners = /* @__PURE__ */ new Set();
168
- return {
169
- get: () => unit,
170
- set(next) {
171
- const merged = reuse(unit, next);
172
- if (merged !== unit) {
173
- unit = merged;
174
- listeners.forEach((listener) => listener());
175
- }
176
- valueListeners.forEach((listener) => listener());
177
- },
178
- subscribe(listener) {
179
- listeners.add(listener);
180
- return () => {
181
- listeners.delete(listener);
182
- };
183
- },
184
- subscribeValues(listener) {
185
- valueListeners.add(listener);
186
- return () => {
187
- valueListeners.delete(listener);
188
- };
189
- }
190
- };
191
- }
192
- var UnitStoreContext = createContext(null);
193
- function useUnit(store) {
194
- return useSyncExternalStore(store.subscribe, store.get, store.get);
195
- }
196
-
197
- // packages/react/src/integrations/unit-renderer/host-hooks.ts
198
- var noSubscription = () => () => {
199
- };
200
- function useInputValue(host, unitId, controlId, input) {
201
- const initial = () => {
202
- const current = host.getValue(unitId, controlId);
203
- if (current !== void 0) return current;
204
- return input?.value ?? "";
205
- };
206
- const [value, setLocal] = useState(initial);
207
- const store = useContext(UnitStoreContext);
208
- const snapshot = useMemo(() => {
209
- let previous;
210
- return () => {
211
- const next = host.getValue(unitId, controlId);
212
- if (!shallowEqual(previous, next)) previous = next;
213
- return previous;
214
- };
215
- }, [host, unitId, controlId]);
216
- const hostValue = useSyncExternalStore2(store?.subscribeValues ?? noSubscription, snapshot);
217
- useEffect(() => {
218
- setLocal(initial());
219
- }, [input, host, unitId, controlId, hostValue]);
220
- const set = useCallback((next) => {
221
- setLocal(next);
222
- host.setValue(unitId, controlId, next);
223
- }, [host, unitId, controlId]);
224
- return [value, set];
225
- }
226
- function useControlValue(host, unitId, controlId, input) {
227
- const [value, set] = useInputValue(host, unitId, controlId, input);
228
- return [typeof value === "string" ? value : "", set];
229
- }
230
- function useFire(host, unitId, triggers) {
231
- return useCallback((controlId, trigger = "click", options) => {
232
- if (triggers && !triggers[controlId]?.includes(trigger)) return false;
233
- return host.fire(unitId, controlId, trigger, options);
234
- }, [host, unitId, triggers]);
235
- }
236
-
237
- // packages/react/src/integrations/unit-renderer/controls.tsx
238
- import { Fragment as Fragment2, jsx, jsxs } from "react/jsx-runtime";
239
- function iconName(icon, fallback = "") {
240
- const name = (icon ?? "").split(/\s+/).filter((token) => token && !/^fa-(lg|xs|sm|[1-9]x|fw)$/i.test(token)).join(" ");
241
- return name || fallback;
242
- }
243
- function Text({ value, html }) {
244
- if (!value) return null;
245
- return html ? /* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: value } }) : /* @__PURE__ */ jsx(Fragment2, { children: value });
246
- }
247
- var Items = memo(function Items2({ items, unit, ctx }) {
248
- return /* @__PURE__ */ jsx(Fragment2, { children: items.map((item) => isUnit(item) ? /* @__PURE__ */ jsx(Fragment, { children: ctx.renderUnit(item, ctx) }, item.id) : /* @__PURE__ */ jsx(ControlView, { control: item, unit, ctx }, item.id)) });
249
- });
250
- function activate(control, unit, ctx, event) {
251
- if (control.disabled || control.readOnly) {
252
- event.preventDefault();
253
- return;
254
- }
255
- if (event.button !== 0 || event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;
256
- if (unit.triggers[control.id]?.includes("click")) {
257
- event.preventDefault();
258
- event.stopPropagation();
259
- ctx.host.fire(unit.id, control.id, "click", { domEvent: event.nativeEvent });
260
- }
261
- }
262
- function defaultAction(event, unit, ctx) {
263
- if (event.key !== "Enter" || event.defaultPrevented || event.nativeEvent.isComposing || event.repeat || event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;
264
- const target = event.target;
265
- if (!unit.defaultAction || !unit.triggers[unit.defaultAction]?.includes("click") || target.closest("[data-unit-id]") !== event.currentTarget || target.tagName !== "INPUT" || target.getAttribute("role") === "combobox") return;
266
- event.preventDefault();
267
- event.stopPropagation();
268
- ctx.host.fire(unit.id, unit.defaultAction, "click", { domEvent: event.nativeEvent });
269
- }
270
- function Group({ control, unit, ctx }) {
271
- const sent = useRef(false);
272
- const inactive = control.disabled || control.readOnly || !unit.triggers[control.id]?.includes("clickOut");
273
- useEffect2(() => {
274
- sent.current = false;
275
- }, [control, unit.triggers[control.id]]);
276
- return /* @__PURE__ */ jsx(DismissBoundary, { disabled: inactive, onOutside: (event) => {
277
- if (!sent.current) sent.current = ctx.host.fire(unit.id, control.id, "clickOut", { domEvent: event });
278
- }, children: /* @__PURE__ */ jsxs(
279
- CxBox,
280
- {
281
- className: `uic-group uic-group--${control.id}`,
282
- "data-control-id": control.id,
283
- "data-hover-only": control.hoverOnly,
284
- "aria-disabled": control.disabled || control.readOnly || void 0,
285
- inert: control.disabled || control.readOnly || void 0,
286
- onFocusCapture: () => {
287
- sent.current = false;
288
- },
289
- onPointerEnter: () => {
290
- sent.current = false;
291
- },
292
- onClick: (event) => {
293
- if (!event.defaultPrevented && !event.target.closest("button,a,input,textarea,[role=radio],[role=combobox]") && event.target.closest("[data-control-id]") === event.currentTarget) activate(control, unit, ctx, event);
294
- },
295
- children: [
296
- control.label && /* @__PURE__ */ jsx(CxTypography, { variant: "h6", children: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }) }),
297
- /* @__PURE__ */ jsx(Items, { items: control.disabled || control.readOnly ? control.items.map((item) => isUnit(item) ? item : { ...item, disabled: true }) : control.items, unit, ctx })
298
- ]
299
- }
300
- ) });
301
- }
302
- var ControlView = memo(function ControlView2({ control, unit, ctx }) {
303
- const fire = useFire(ctx.host, unit.id, unit.triggers);
304
- const disabled = control.disabled === true || control.readOnly === true;
305
- const [hovered, setHovered] = useState2(false);
306
- const hoverProps = {
307
- style: { opacity: hovered && !disabled ? control.hoverOpacity : void 0 },
308
- onMouseEnter: () => setHovered(true),
309
- onMouseLeave: () => setHovered(false)
310
- };
311
- switch (control.kind) {
312
- case "group":
313
- return /* @__PURE__ */ jsx(Group, { control, unit, ctx });
314
- case "label": {
315
- const content = /* @__PURE__ */ jsx(Text, { value: control.text, html: control.html });
316
- if (unit.triggers[control.id]?.includes("click")) {
317
- return /* @__PURE__ */ jsx(CxButton, { variant: "text", className: "uic-label-action", "data-control-id": control.id, disabled, onClick: (event) => fire(control.id, "click", { domEvent: event.nativeEvent }), children: content });
318
- }
319
- return /* @__PURE__ */ jsx(CxTypography, { variant: control.headingLevel ? `h${control.headingLevel}` : "body2", className: `uic-label uic-label--${control.id}`, rootProps: { title: control.description }, children: content });
320
- }
321
- case "button": {
322
- const name = control.ariaLabel || control.tooltip || control.label || "";
323
- const title = (disabled ? control.disabledTooltip : void 0) || control.tooltip || control.description;
324
- if (control.icon && !control.label && !control.href) {
325
- return /* @__PURE__ */ jsx(CxTooltip, { content: /* @__PURE__ */ jsx(Text, { value: title, html: control.html }), disabled: !title, hoist: true, children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
326
- CxIconButton,
327
- {
328
- ...hoverProps,
329
- name: iconName(control.icon),
330
- variant: ctx.filledIconButtons?.has(control.id) ? "filled" : void 0,
331
- label: name,
332
- size: "small",
333
- className: `uic-icon-button uic-button--${control.id}`,
334
- "data-control-id": control.id,
335
- disabled,
336
- title,
337
- onClick: (event) => activate(control, unit, ctx, event)
338
- }
339
- ) }) });
340
- }
341
- return /* @__PURE__ */ jsx(
342
- CxButton,
343
- {
344
- ...hoverProps,
345
- variant: control.primary ? "primary" : ctx.textButtons?.has(control.id) ? "text" : "default",
346
- size: ctx.buttonSize ?? "small",
347
- className: `uic-button uic-button--${control.id}`,
348
- "data-control-id": control.id,
349
- disabled,
350
- href: control.href,
351
- target: control.target,
352
- rel: control.rel,
353
- download: control.download,
354
- title,
355
- "aria-label": control.ariaLabel,
356
- onClick: (event) => activate(control, unit, ctx, event),
357
- children: control.label ? /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }) : name
358
- }
359
- );
360
- }
361
- case "link":
362
- return /* @__PURE__ */ jsx(CxButton, { variant: "text", href: control.href, target: control.target, rel: control.rel, download: control.download, disabled, onClick: (event) => activate(control, unit, ctx, event), className: "uic-link", "data-control-id": control.id, children: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }) });
363
- case "image": {
364
- const image = /* @__PURE__ */ jsx(CxImage, { src: control.src, alt: control.alt ?? control.label ?? "", className: `uic-image uic-image--${control.id}`, "data-control-id": control.id });
365
- return unit.triggers[control.id]?.includes("click") ? /* @__PURE__ */ jsx(CxButton, { variant: "text", disabled, "aria-label": control.ariaLabel || control.alt || control.label, onClick: (event) => activate(control, unit, ctx, event), children: image }) : image;
366
- }
367
- case "text":
368
- case "password":
369
- return /* @__PURE__ */ jsx(TextInput, { control, unit, ctx });
370
- case "textarea":
371
- return /* @__PURE__ */ jsx(TextareaInput, { control, unit, ctx });
372
- case "checkbox":
373
- return /* @__PURE__ */ jsx(CheckboxInput, { control, unit, ctx });
374
- case "select":
375
- case "radio":
376
- return /* @__PURE__ */ jsx(SelectInput, { control, unit, ctx });
377
- case "date":
378
- return /* @__PURE__ */ jsx(DateInput, { control, unit, ctx });
379
- case "autocomplete":
380
- return /* @__PURE__ */ jsx(AutocompleteInput, { control, unit, ctx });
381
- case "html":
382
- return /* @__PURE__ */ jsxs("div", { className: `uic-html uic-html--${control.id}`, children: [
383
- control.css && /* @__PURE__ */ jsx("style", { children: control.css }),
384
- /* @__PURE__ */ jsx("div", { dangerouslySetInnerHTML: { __html: control.markup } })
385
- ] });
386
- case "webcomponent":
387
- return /* @__PURE__ */ jsx(Unsupported, { control, detail: control.component });
388
- default:
389
- return /* @__PURE__ */ jsx(Unsupported, { control, detail: control.type });
390
- }
391
- }, (previous, next) => previous.control === next.control && previous.ctx === next.ctx && previous.unit.id === next.unit.id && (next.control.kind !== "group" || previous.unit === next.unit) && previous.unit.inputs[previous.control.id] === next.unit.inputs[next.control.id] && previous.unit.triggers[previous.control.id] === next.unit.triggers[next.control.id]);
392
- function Unsupported({ control, detail }) {
393
- return /* @__PURE__ */ jsx(CxAlert, { open: true, variant: "warning", className: "uic-unsupported", "data-control-id": control.id, "data-unsupported": detail, children: /* @__PURE__ */ jsx(Text, { value: control.label || control.ariaLabel, html: control.html }) });
394
- }
395
- function TextInput({ control, unit, ctx }) {
396
- const [value, setValue] = useControlValue(ctx.host, unit.id, control.id, unit.inputs[control.id]);
397
- const fire = useFire(ctx.host, unit.id, unit.triggers);
398
- return /* @__PURE__ */ jsx(
399
- CxInput,
400
- {
401
- type: control.kind === "password" ? "password" : control.inputType ?? "text",
402
- "data-control-id": control.id,
403
- autoComplete: control.kind === "password" ? "new-password" : "on",
404
- autoFocus: control.autoFocus,
405
- invalid: Boolean(control.warning),
406
- label: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }),
407
- helpText: control.warning || control.description,
408
- value,
409
- placeholder: control.placeholder,
410
- maxLength: control.maxLength && control.maxLength > 0 ? control.maxLength : void 0,
411
- required: control.required,
412
- readOnly: control.readOnly,
413
- disabled: control.disabled === true,
414
- onValueChange: (detail) => setValue(detail.value),
415
- onValueCommit: () => fire(control.id, "change")
416
- }
417
- );
418
- }
419
- function TextareaInput({ control, unit, ctx }) {
420
- const [value, setValue] = useControlValue(ctx.host, unit.id, control.id, unit.inputs[control.id]);
421
- const fire = useFire(ctx.host, unit.id, unit.triggers);
422
- if (control.wysiwyg) return /* @__PURE__ */ jsx(Unsupported, { control, detail: "wysiwyg" });
423
- return /* @__PURE__ */ jsx(
424
- CxTextarea,
425
- {
426
- maxLength: control.maxLength && control.maxLength > 0 ? control.maxLength : void 0,
427
- "data-control-id": control.id,
428
- autoFocus: control.autoFocus,
429
- invalid: Boolean(control.warning),
430
- label: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }),
431
- helpText: control.warning || control.description,
432
- value,
433
- placeholder: control.placeholder,
434
- required: control.required,
435
- readOnly: control.readOnly,
436
- disabled: control.disabled === true,
437
- onValueChange: (detail) => setValue(detail.value),
438
- onValueCommit: () => fire(control.id, "change")
439
- }
440
- );
441
- }
442
- function CheckboxInput({ control, unit, ctx }) {
443
- const [value, setValue] = useControlValue(ctx.host, unit.id, control.id, unit.inputs[control.id]);
444
- const fire = useFire(ctx.host, unit.id, unit.triggers);
445
- const Checkbox = control.appearance === "switch" ? CxSwitch : CxCheckbox;
446
- return /* @__PURE__ */ jsx(
447
- Checkbox,
448
- {
449
- "data-control-id": control.id,
450
- checked: value === "true",
451
- ...control.appearance === "switch" ? {} : { indeterminate: value === "" },
452
- required: control.required,
453
- disabled: control.disabled === true || control.readOnly,
454
- helpText: control.warning || control.description,
455
- onCheckedChange: (detail) => {
456
- setValue(detail.value ? "true" : "false");
457
- const trigger = unit.triggers[control.id]?.includes("click") ? "click" : "change";
458
- if (unit.triggers[control.id]?.includes(trigger)) fire(control.id, trigger);
459
- },
460
- children: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html })
461
- }
462
- );
463
- }
464
- function SelectInput({ control, unit, ctx }) {
465
- const { messages } = useDesignSystem();
466
- const [value, setValue] = useControlValue(ctx.host, unit.id, control.id, unit.inputs[control.id]);
467
- const fire = useFire(ctx.host, unit.id, unit.triggers);
468
- if (control.kind === "radio") {
469
- const radios = control.options.map((option, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
470
- option.group && option.group !== control.options[index - 1]?.group && /* @__PURE__ */ jsx(CxTypography, { variant: "small", role: "presentation", children: option.group }),
471
- /* @__PURE__ */ jsx(CxRadio, { value: option.value, disabled: option.disabled, children: option.text })
472
- ] }, `${index}:${option.value}`));
473
- return /* @__PURE__ */ jsx(
474
- CxRadioGroup,
475
- {
476
- "data-control-id": control.id,
477
- label: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }),
478
- value,
479
- helpText: control.warning || control.description,
480
- required: control.required,
481
- disabled: control.disabled || control.readOnly,
482
- onValueChange: (detail) => {
483
- setValue(detail.value);
484
- const trigger = unit.triggers[control.id]?.includes("click") ? "click" : "change";
485
- if (unit.triggers[control.id]?.includes(trigger)) fire(control.id, trigger);
486
- },
487
- children: radios
488
- }
489
- );
490
- }
491
- const runs = [];
492
- for (const option of control.options) {
493
- const last = runs[runs.length - 1];
494
- if (last && last.group === option.group) last.options.push(option);
495
- else runs.push({ group: option.group, options: [option] });
496
- }
497
- const options = runs.map((run, index) => {
498
- const items = run.options.map((option, position) => /* @__PURE__ */ jsx(CxOption, { value: option.value, disabled: option.disabled, helpText: option.description, children: option.text }, `${position}:${option.value}`));
499
- return run.group ? /* @__PURE__ */ jsx(CxOptionGroup, { label: run.group, children: items }, `group:${index}`) : /* @__PURE__ */ jsx(Fragment, { children: items }, `run:${index}`);
500
- });
501
- return /* @__PURE__ */ jsx(
502
- CxSelect,
503
- {
504
- noOptionText: messages.noOptions ?? "",
505
- "data-control-id": control.id,
506
- invalid: Boolean(control.warning),
507
- label: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }),
508
- helpText: control.warning || control.description,
509
- value,
510
- required: control.required,
511
- disabled: control.disabled === true || control.readOnly,
512
- onValueChange: (detail) => {
513
- setValue(String(detail.value ?? ""));
514
- fire(control.id, "change");
515
- },
516
- children: options
517
- }
518
- );
519
- }
520
- var splitIso = (value) => {
521
- const [date = "", time = ""] = (value ?? "").split("T");
522
- return { date, time };
523
- };
524
- var joinIso = (date, time, withTime) => date && withTime && time ? `${date}T${time}` : date;
525
- function DateInput({ control, unit, ctx }) {
526
- const [value, setValue] = useInputValue(ctx.host, unit.id, control.id, unit.inputs[control.id]);
527
- const fire = useFire(ctx.host, unit.id, unit.triggers);
528
- const commit = (next) => {
529
- setValue(next);
530
- fire(control.id, "change");
531
- };
532
- const displayFormat = ctx.host.presentation.dateFormat ? ctx.host.presentation.dateFormat.toUpperCase() : void 0;
533
- if (control.interval) {
534
- const interval = typeof value === "object" && "from" in value ? value : { from: "", to: "" };
535
- const from = splitIso(interval.from), to = splitIso(interval.to);
536
- return /* @__PURE__ */ jsx(
537
- CxInputDateRangePicker,
538
- {
539
- "data-control-id": control.id,
540
- fromLabel: control.fromLabel ?? "",
541
- toLabel: control.toLabel ?? "",
542
- fromDate: from.date,
543
- fromTime: from.time,
544
- toDate: to.date,
545
- toTime: to.time,
546
- showTime: control.time,
547
- displayFormat,
548
- required: control.required,
549
- readOnly: control.readOnly,
550
- disabled: control.disabled,
551
- fromInputProps: { helpText: control.warning || control.description },
552
- onValueChange: (detail) => {
553
- if (detail.reason !== "reset") commit({ from: joinIso(detail.fromDate, detail.fromTime, control.time), to: joinIso(detail.toDate, detail.toTime, control.time) });
554
- }
555
- }
556
- );
557
- }
558
- const single = splitIso(typeof value === "string" ? value : "");
559
- return /* @__PURE__ */ jsx(
560
- CxInputDatePicker,
561
- {
562
- "data-control-id": control.id,
563
- label: /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }),
564
- helpText: control.warning || control.description,
565
- value: single.date,
566
- ...single.time ? { timeValue: single.time } : {},
567
- showTime: control.time,
568
- displayFormat,
569
- required: control.required,
570
- readOnly: control.readOnly,
571
- disabled: control.disabled,
572
- onValueChange: (detail) => {
573
- if (detail.reason !== "reset") commit(joinIso(detail.value, detail.timeValue, control.time));
574
- }
575
- }
576
- );
577
- }
578
- var CREATE_ENTRY_VALUE = "%CREATE_ENTRY%";
579
- var FREE_TEXT_VALUE = "%FREE_TEXT%";
580
- function creationOption(control, term, options) {
581
- const typed = term.trim().toLowerCase();
582
- if (!control.allowCreation || !typed) return null;
583
- const matched = options.some((option) => [option.label, ...(option.cells ?? []).map((cell) => cell.text)].some((text) => text.trim().toLowerCase() === typed));
584
- return matched ? null : { value: CREATE_ENTRY_VALUE, label: (control.creationLabel ?? "").replace("[TEXT]", term.trim()) };
585
- }
586
- function asAutocompleteResult(result) {
587
- if (Array.isArray(result)) return { options: result };
588
- return { ...result, options: Array.isArray(result?.options) ? result.options : [] };
589
- }
590
- function resultLayout(result) {
591
- const count = Math.max(result.headers?.length ?? 0, 0, ...result.options.map((option) => option.cells?.length ?? 0));
592
- const indexes = Array.from({ length: count }, (_, index) => index);
593
- const avatarColumn = indexes.find((index) => result.options.some((option) => option.cells?.[index]?.image) && result.options.every((option) => !option.cells?.[index]?.text)) ?? -1;
594
- const textColumns = indexes.filter((index) => index !== avatarColumn);
595
- return textColumns.length > 1 ? { headers: result.headers ?? [], widths: result.widths ?? [], textColumns, avatarColumn } : null;
596
- }
597
- var escapeRegExp = (text) => text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
598
- function Highlight({ text, term }) {
599
- const words = term.trim().split(/\s+/).filter(Boolean).map(escapeRegExp);
600
- if (!words.length || !text) return /* @__PURE__ */ jsx(Fragment2, { children: text });
601
- return /* @__PURE__ */ jsx(Fragment2, { children: text.split(new RegExp(`(${words.join("|")})`, "gi")).map((part, index) => index % 2 ? /* @__PURE__ */ jsx("strong", { children: part }, index) : part) });
602
- }
603
- function resultColumns(layout, term) {
604
- const [first] = layout.textColumns;
605
- return layout.textColumns.map((index) => ({
606
- field: `c${index}`,
607
- header: layout.headers[index] ?? "",
608
- flex: (layout.widths[index] || 1) + (index === first && layout.avatarColumn >= 0 ? layout.widths[layout.avatarColumn] || 0 : 0),
609
- render: (option) => {
610
- if (option.value === CREATE_ENTRY_VALUE) {
611
- return index === first ? /* @__PURE__ */ jsxs("span", { className: "uic-result-cell", children: [
612
- /* @__PURE__ */ jsx(CxIcon, { name: "add_circle", className: "uic-result-create-icon" }),
613
- /* @__PURE__ */ jsx("span", { children: option.label })
614
- ] }) : null;
615
- }
616
- const text = option.cells?.[index]?.text ?? (index === first ? option.label : "");
617
- const image = index === first && layout.avatarColumn >= 0 ? option.cells?.[layout.avatarColumn]?.image : void 0;
618
- return /* @__PURE__ */ jsxs("span", { className: "uic-result-cell", children: [
619
- index === first && layout.avatarColumn >= 0 && /* @__PURE__ */ jsx(CxAvatar, { image: image ?? "", label: text, "aria-hidden": "true", className: "uic-result-avatar" }),
620
- /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(Highlight, { text, term }) })
621
- ] });
622
- }
623
- }));
624
- }
625
- function AutocompleteInput({ control, unit, ctx }) {
626
- const { messages } = useDesignSystem();
627
- const select = useRef(null);
628
- const creationText = useRef("");
629
- const search = !!ctx.searchPickers?.has(control.id);
630
- useEffect2(() => {
631
- if (!search) return;
632
- ctx.onPickerFocusReady?.(() => select.current?.focus());
633
- select.current?.focus();
634
- return () => ctx.onPickerFocusReady?.(null);
635
- }, [search, ctx]);
636
- const [value, setValue] = useInputValue(ctx.host, unit.id, control.id, unit.inputs[control.id]);
637
- const bound = typeof value === "object" && "text" in value ? value : { text: "", value: "" };
638
- const freeText = useRef(null);
639
- if (freeText.current && (bound.value !== "" || bound.text !== freeText.current.text)) freeText.current = null;
640
- const selectValue = freeText.current?.base ?? (bound.value || (control.freeText && bound.text ? FREE_TEXT_VALUE : ""));
641
- const selection = useRef(bound);
642
- if (!freeText.current) selection.current = bound;
643
- const fire = useFire(ctx.host, unit.id, unit.triggers);
644
- const [layout, setLayout] = useState2(null);
645
- const [term, setTerm] = useState2("");
646
- const api = useCallback2(async ({ searchTerm } = {}) => {
647
- const result = asAutocompleteResult(await ctx.host.autocomplete(unit.id, control.id, searchTerm ?? ""));
648
- const creation = creationOption(control, searchTerm ?? "", result.options);
649
- if (creation) creationText.current = (searchTerm ?? "").trim();
650
- const next = result.options.length ? resultLayout(result) : void 0;
651
- if (next !== void 0) setLayout((current) => JSON.stringify(next) === JSON.stringify(current) ? current : next);
652
- setTerm(searchTerm ?? "");
653
- const kept = selection.current;
654
- const pinned = kept.value && kept.value !== CREATE_ENTRY_VALUE && !result.options.some((option) => option.value === kept.value) ? [{ value: kept.value, label: kept.text }] : !kept.value && control.freeText && kept.text ? [{ value: FREE_TEXT_VALUE, label: kept.text }] : [];
655
- return { data: [...result.options, ...pinned, ...creation ? [creation] : []].map((option) => ({ ...option })), hasMore: false };
656
- }, [ctx.host, unit.id, control]);
657
- const columns = useMemo2(() => layout ? resultColumns(layout, term) : void 0, [layout, term]);
658
- return /* @__PURE__ */ jsx(
659
- CxDynamicSelect,
660
- {
661
- noOptionText: messages.noOptions ?? "",
662
- ref: select,
663
- size: search ? "small" : void 0,
664
- columns,
665
- iconName: search ? "search" : void 0,
666
- noExpandIcon: search,
667
- borderless: search,
668
- rootProps: { className: search ? "uic-search" : void 0 },
669
- hoist: true,
670
- "data-control-id": control.id,
671
- label: control.label ? /* @__PURE__ */ jsx(Text, { value: control.label, html: control.html }) : void 0,
672
- helpText: control.warning || control.description,
673
- placeholder: control.placeholder,
674
- value: selectValue,
675
- useSearchTerm: true,
676
- clearable: true,
677
- allowFreetext: control.freeText,
678
- required: control.required,
679
- disabled: control.disabled || control.readOnly,
680
- api,
681
- onValueInput: (detail) => {
682
- if (!control.freeText || detail.reason !== "input") return;
683
- freeText.current = { text: detail.displayValue, base: selectValue };
684
- setValue({ text: detail.displayValue, value: "" });
685
- },
686
- onValueChange: (detail) => {
687
- freeText.current = null;
688
- const next = detail.serializedValue ?? String(detail.value ?? "");
689
- if (next === FREE_TEXT_VALUE) {
690
- setValue({ text: selection.current.text, value: "" });
691
- return;
692
- }
693
- const text = next === CREATE_ENTRY_VALUE ? creationText.current : detail.selectedOption?.label ?? detail.displayValue ?? next;
694
- setValue({ text: next ? text : "", value: next });
695
- fire(control.id, next ? "select" : "clear");
696
- }
697
- }
698
- );
699
- }
700
-
701
- // packages/react/src/integrations/unit-renderer/localization.tsx
702
- import { useMemo as useMemo3 } from "react";
703
-
704
- // packages/react/src/integrations/unit-renderer/unit.ts
705
- var uiStringKeys = [
706
- "clearEntry",
707
- "clear",
708
- "close",
709
- "remove",
710
- "loading",
711
- "search",
712
- "noOptions",
713
- "emptyImage",
714
- "image",
715
- "showPassword",
716
- "hidePassword",
717
- "chooseFile",
718
- "noFile",
719
- "required",
720
- "optional",
721
- "date",
722
- "hour",
723
- "minute",
724
- "second",
725
- "am",
726
- "pm",
727
- "fromLabel",
728
- "toLabel",
729
- "preset",
730
- "dateInvalid",
731
- "dateBeforeMin",
732
- "dateAfterMax",
733
- "toDateMustBeSameOrLaterThanFromDate",
734
- "presetLast30Minutes",
735
- "presetToday",
736
- "presetLastDay",
737
- "presetLast2Days",
738
- "presetLast3Days",
739
- "presetLast30Days",
740
- "presetNext30Days",
741
- "presetThisWeek",
742
- "presetLastWeek",
743
- "presetThisMonth",
744
- "presetLastMonth",
745
- "presetLastQuarter",
746
- "presetLastHalfYear",
747
- "presetThisQuarter",
748
- "presetThisHalfYear",
749
- "presetThisYear",
750
- "presetLastYear",
751
- "previousMonth",
752
- "nextMonth",
753
- "calendarMonth1",
754
- "calendarMonth2",
755
- "calendarMonth3",
756
- "calendarMonth4",
757
- "calendarMonth5",
758
- "calendarMonth6",
759
- "calendarMonth7",
760
- "calendarMonth8",
761
- "calendarMonth9",
762
- "calendarMonth10",
763
- "calendarMonth11",
764
- "calendarMonth12",
765
- "calendarWeekday0",
766
- "calendarWeekday1",
767
- "calendarWeekday2",
768
- "calendarWeekday3",
769
- "calendarWeekday4",
770
- "calendarWeekday5",
771
- "calendarWeekday6"
772
- ];
773
-
774
- // packages/react/src/integrations/unit-renderer/styles.module.css
775
- var styles_default = {
776
- localization: "styles_localization"
777
- };
778
-
779
- // packages/react/src/integrations/unit-renderer/localization.tsx
780
- import { jsx as jsx2 } from "react/jsx-runtime";
781
- function UnitLocalization({ strings, children }) {
782
- const messages = useMemo3(() => Object.fromEntries(uiStringKeys.map((key) => [key, typeof strings?.[key] === "string" ? strings[key] : ""])), [strings]);
783
- const required = '"' + messages.required.replace(/[\\"\n\r\f]/g, (value) => "\\" + value.charCodeAt(0).toString(16) + " ") + '"';
784
- return /* @__PURE__ */ jsx2(DesignSystemProvider, { messages, rootProps: { className: styles_default.localization, style: { display: "contents", "--cx-unit-renderer-required-content": required } }, children });
785
- }
786
-
787
- // packages/react/src/integrations/unit-renderer/mount.tsx
788
- import { jsx as jsx3 } from "react/jsx-runtime";
789
- var coreDesignSystemEntries = ["foundation", "alert", "avatar", "box", "button", "checkbox", "switch", "radio", "radio-group", "dynamic-select", "icon", "icon-button", "image", "input", "input-date-picker", "input-date-range-picker", "option", "select", "textarea", "tooltip", "typography"];
790
- function createMount(Root) {
791
- function LocalizedRoot({ store, host }) {
792
- const unit = useUnit(store);
793
- return /* @__PURE__ */ jsx3(UnitLocalization, { strings: unit.uiStrings, children: /* @__PURE__ */ jsx3(Root, { store, host }) });
794
- }
795
- return async (container, { unit, host, styleSheets }) => {
796
- const scope = container.shadowRoot ?? (styleSheets ? container.attachShadow({ mode: "open" }) : container);
797
- if (scope.childNodes.length) throw Error("Component container is occupied.");
798
- const shadow = scope instanceof ShadowRoot ? scope : void 0;
799
- const previousSheets = shadow?.adoptedStyleSheets;
800
- if (shadow && styleSheets) shadow.adoptedStyleSheets = [...styleSheets];
801
- const restoreSheets = () => {
802
- if (shadow && previousSheets) shadow.adoptedStyleSheets = previousSheets;
803
- };
804
- let surface;
805
- try {
806
- surface = await prepareDesignSystemContainer(container);
807
- } catch (error) {
808
- restoreSheets();
809
- throw error;
810
- }
811
- const provider = {
812
- theme: host.presentation.theme,
813
- locale: host.presentation.locale,
814
- assetBasePath: host.presentation.assetBasePath,
815
- rootProps: { style: { backgroundColor: "var(--cx-color-neutral-0)", color: "var(--cx-color-text)", fontFamily: "var(--cx-font-sans)" } }
816
- };
817
- let root;
818
- let unsubscribe;
819
- let mounted = true;
820
- const store = createUnitStore(unit);
821
- const update = (next) => {
822
- if (!mounted) return;
823
- if (next.id !== unit.id) throw Error("Replacement unit does not belong to this mount.");
824
- store.set(next);
825
- };
826
- const unmount = () => {
827
- if (!mounted) return;
828
- mounted = false;
829
- try {
830
- unsubscribe?.();
831
- } finally {
832
- try {
833
- root?.unmount();
834
- } finally {
835
- surface.element.remove();
836
- surface.overlays.remove();
837
- restoreSheets();
838
- }
839
- }
840
- };
841
- try {
842
- root = createDesignSystemRoot(surface.element, { overlayContainer: surface.overlays, provider });
843
- unsubscribe = host.subscribe(unit.id, update);
844
- root.render(/* @__PURE__ */ jsx3(UnitStoreContext.Provider, { value: store, children: /* @__PURE__ */ jsx3(LocalizedRoot, { store, host }) }));
845
- } catch (error) {
846
- unmount();
847
- throw error;
848
- }
849
- return {
850
- update,
851
- unmount
852
- };
853
- };
854
- }
855
-
856
- // packages/react/src/integrations/unit-renderer/units.tsx
857
- import { memo as memo2 } from "react";
858
- import { jsx as jsx4 } from "react/jsx-runtime";
859
- function flatten(items, into = { controls: /* @__PURE__ */ new Map(), units: [] }) {
860
- for (const item of items) {
861
- if (isUnit(item)) into.units.push(item);
862
- else if (item.kind === "group") {
863
- into.controls.set(item.id, item);
864
- flatten(item.items, into);
865
- } else into.controls.set(item.id, item);
866
- }
867
- return into;
868
- }
869
- function withIcon(control, icon) {
870
- return control.icon ? control : { ...control, icon };
871
- }
872
- function renderUnit(child, ctx) {
873
- if (child.kind === "component") return /* @__PURE__ */ jsx4("slot", { name: `unit:${child.id}` });
874
- return /* @__PURE__ */ jsx4(InlinedUnit, { unit: child, ctx });
875
- }
876
- var InlinedUnit = memo2(function InlinedUnit2({ unit, ctx }) {
877
- return /* @__PURE__ */ jsx4(CxBox, { className: "uic-inlined", "data-unit-id": unit.id, onKeyDown: (event) => defaultAction(event, unit, ctx), children: /* @__PURE__ */ jsx4(Items, { items: unit.view, unit, ctx }) });
878
- });
879
- export {
880
- CREATE_ENTRY_VALUE,
881
- ControlView,
882
- InlinedUnit,
883
- Items,
884
- Text,
885
- activate,
886
- coreDesignSystemEntries,
887
- createMount,
888
- createUnitStore,
889
- defaultAction,
890
- flatten,
891
- iconName,
892
- isUnit,
893
- renderUnit,
894
- uiStringKeys,
895
- useControlValue,
896
- useFire,
897
- useInputValue,
898
- useUnit,
899
- withIcon
900
- };