@vc-shell/framework 2.0.0-alpha.8 → 2.0.0-pr221.637b802

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 (1861) hide show
  1. package/CHANGELOG.md +549 -532
  2. package/dist/ai-agent/index.js +13 -0
  3. package/dist/ai-agent/index.js.map +1 -0
  4. package/dist/assets/042c75b764bc78a7.svg +1 -0
  5. package/dist/assets/0ba156439a339f2a.svg +1 -0
  6. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  7. package/dist/assets/0d67e9e056b4c500.woff +0 -0
  8. package/dist/assets/0f590f8a94577092.svg +1 -0
  9. package/dist/assets/0fc5820f8be53a1b.svg +1 -0
  10. package/dist/assets/105efd028edc1dfe.woff +0 -0
  11. package/dist/assets/10768e2cc79fc60b.svg +1 -0
  12. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  13. package/dist/assets/131b34336aedaf47.woff +0 -0
  14. package/dist/assets/154365acf3010d96.woff2 +0 -0
  15. package/dist/assets/157b8721e0600ea8.svg +1 -0
  16. package/dist/assets/15e91cdd649cde9a.svg +1 -0
  17. package/dist/assets/19275e398ae57130.woff2 +0 -0
  18. package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
  19. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  20. package/dist/assets/1de63eb118636cce.svg +1 -0
  21. package/dist/assets/1ea01de36eb5491b.svg +1 -0
  22. package/dist/assets/2010ada3e82156ed.woff +0 -0
  23. package/dist/assets/204eaf512fde2023.svg +1 -0
  24. package/dist/assets/2088983edf42e153.svg +1 -0
  25. package/dist/assets/208f810a9321a327.svg +1 -0
  26. package/dist/assets/21220a9d10e6c558.svg +1 -0
  27. package/dist/assets/220db345a102045d.woff2 +0 -0
  28. package/dist/assets/225da11d23968333.svg +1 -0
  29. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  30. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  31. package/dist/assets/259e6ad461a52ad7.svg +1 -0
  32. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  33. package/dist/assets/262f46a0b6d94bb6.svg +1 -0
  34. package/dist/assets/2857c513073467da.svg +1 -0
  35. package/dist/assets/2b3be7889467d98f.woff +0 -0
  36. package/dist/assets/2d4e6190eec72737.svg +1 -0
  37. package/dist/assets/2eba973185078bc8.woff +0 -0
  38. package/dist/assets/334d3f6bc766c516.woff +0 -0
  39. package/dist/assets/34ff7dd0c2285956.svg +1 -0
  40. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  41. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  42. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  43. package/dist/assets/3fc09a6113184f16.woff +0 -0
  44. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  45. package/dist/assets/41275bcb979cb650.svg +1 -0
  46. package/dist/assets/434f7982590e462f.woff +0 -0
  47. package/dist/assets/475937116ee3314a.woff2 +0 -0
  48. package/dist/assets/477e1881a0394cc5.woff +0 -0
  49. package/dist/assets/489710fb710e73f0.woff +0 -0
  50. package/dist/assets/49791943b3872376.woff2 +0 -0
  51. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  52. package/dist/assets/4d7a77b0e5373992.svg +1 -0
  53. package/dist/assets/4e43c74354534fb3.svg +1 -0
  54. package/dist/assets/4fe75f5117100705.svg +1 -0
  55. package/dist/assets/52e261a005074e1b.woff +0 -0
  56. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  57. package/dist/assets/54cda5482c6c9218.woff +0 -0
  58. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  59. package/dist/assets/572bb1bb4156a9c1.svg +1 -0
  60. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  61. package/dist/assets/617c4736236e199e.woff +0 -0
  62. package/dist/assets/67230f05dc94a265.svg +1 -0
  63. package/dist/assets/6798e4dd4add9b48.svg +1 -0
  64. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  65. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  66. package/dist/assets/6a3e73faf406cf33.svg +1 -0
  67. package/dist/assets/72de3a63bc0b70dd.svg +1 -0
  68. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  69. package/dist/assets/74ed5f8a78e71106.svg +1 -0
  70. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  71. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  72. package/dist/assets/7d55399c2a7bc985.svg +1 -0
  73. package/dist/assets/7d970675c69fca1d.woff +0 -0
  74. package/dist/assets/7eda727273fd98d3.svg +1 -0
  75. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  76. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  77. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  78. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  79. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  80. package/dist/assets/910b0d99b9e26568.svg +1 -0
  81. package/dist/assets/91fe94e424323d61.woff +0 -0
  82. package/dist/assets/92508f8707159b51.svg +1 -0
  83. package/dist/assets/9392bf1d591e1abb.svg +1 -0
  84. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  85. package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
  86. package/dist/assets/9d37314695c0b68d.woff +0 -0
  87. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  88. package/dist/assets/a18404194e3f9047.svg +1 -0
  89. package/dist/assets/a2017fe7f0a26510.svg +1 -0
  90. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  91. package/dist/assets/abf88f301a0730f4.svg +1 -0
  92. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  93. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  94. package/dist/assets/b1a596e31ad1185a.svg +1 -0
  95. package/dist/assets/b27767411c8427be.woff +0 -0
  96. package/dist/assets/b325adcae33bbe7a.svg +1 -0
  97. package/dist/assets/b372390551ca2fa1.svg +1 -0
  98. package/dist/assets/b5bb1e8fc975decd.svg +1 -0
  99. package/dist/assets/b645a4a2181b9dc1.svg +1 -0
  100. package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
  101. package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
  102. package/dist/assets/b94421fadd23b0f2.svg +1 -0
  103. package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
  104. package/dist/assets/c5195215cb712e9c.woff2 +0 -0
  105. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  106. package/dist/assets/c97328b91ac5cc66.woff +0 -0
  107. package/dist/assets/ca791c5ca5848a03.svg +1 -0
  108. package/dist/assets/cb32840ce330103f.woff +0 -0
  109. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  110. package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
  111. package/dist/assets/d084bda16abe8a56.svg +1 -0
  112. package/dist/assets/d32b129cae2fffd6.svg +1 -0
  113. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  114. package/dist/assets/d3f792f54ae4c307.svg +1 -0
  115. package/dist/assets/d5a5b8630120073d.svg +1 -0
  116. package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
  117. package/dist/assets/d5f9664ebbfb104b.svg +1 -0
  118. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  119. package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
  120. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  121. package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
  122. package/dist/assets/e2ad5b3428289141.woff +0 -0
  123. package/dist/assets/e38acaa1757232e0.svg +1 -0
  124. package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
  125. package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
  126. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  127. package/dist/assets/e72bb11356af94c7.svg +1 -0
  128. package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
  129. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  130. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  131. package/dist/assets/f09d89268e4c0317.svg +1 -0
  132. package/dist/assets/f239394367fcf005.woff2 +0 -0
  133. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  134. package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
  135. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  136. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  137. package/dist/assets/fed13b0d59903483.svg +1 -0
  138. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  139. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  140. package/dist/chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js +12 -0
  141. package/dist/chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js.map +1 -0
  142. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js +4485 -0
  143. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js.map +1 -0
  144. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-Dh7DDZB9.js +22070 -0
  145. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-Dh7DDZB9.js.map +1 -0
  146. package/dist/chunks/index-BuTo_Lx8.js +72 -0
  147. package/dist/chunks/index-BuTo_Lx8.js.map +1 -0
  148. package/dist/chunks/index-CDUdOax4.js +117 -0
  149. package/dist/chunks/index-CDUdOax4.js.map +1 -0
  150. package/dist/chunks/vendor-boolbase-DYkUBG-P.js +18 -0
  151. package/dist/chunks/vendor-boolbase-DYkUBG-P.js.map +1 -0
  152. package/dist/chunks/vendor-cheerio-DE71XQ9x.js +1053 -0
  153. package/dist/chunks/vendor-cheerio-DE71XQ9x.js.map +1 -0
  154. package/dist/chunks/vendor-cheerio-select-D-qK1Cpo.js +191 -0
  155. package/dist/chunks/vendor-cheerio-select-D-qK1Cpo.js.map +1 -0
  156. package/dist/chunks/vendor-css-select-DqoO1-RK.js +622 -0
  157. package/dist/chunks/vendor-css-select-DqoO1-RK.js.map +1 -0
  158. package/dist/chunks/vendor-css-what-CZZaquJM.js +267 -0
  159. package/dist/chunks/vendor-css-what-CZZaquJM.js.map +1 -0
  160. package/dist/chunks/vendor-cypress-signalr-mock-itnm2wpA.js +781 -0
  161. package/dist/chunks/vendor-cypress-signalr-mock-itnm2wpA.js.map +1 -0
  162. package/dist/chunks/vendor-d3-array-9cpTrqlO.js +149 -0
  163. package/dist/chunks/vendor-d3-array-9cpTrqlO.js.map +1 -0
  164. package/dist/chunks/vendor-d3-axis-D1_DbKLz.js +74 -0
  165. package/dist/chunks/vendor-d3-axis-D1_DbKLz.js.map +1 -0
  166. package/dist/chunks/vendor-d3-brush-CcKeJp9e.js +1 -0
  167. package/dist/chunks/vendor-d3-brush-CcKeJp9e.js.map +1 -0
  168. package/dist/chunks/vendor-d3-chord-l0sNRNKZ.js.map +1 -0
  169. package/dist/chunks/vendor-d3-color-BOYE6h_9.js +306 -0
  170. package/dist/chunks/vendor-d3-color-BOYE6h_9.js.map +1 -0
  171. package/dist/chunks/vendor-d3-dispatch-fx-WMg0D.js +64 -0
  172. package/dist/chunks/vendor-d3-dispatch-fx-WMg0D.js.map +1 -0
  173. package/dist/chunks/vendor-d3-drag-l0sNRNKZ.js.map +1 -0
  174. package/dist/chunks/vendor-d3-ease-Cr34gv04.js +8 -0
  175. package/dist/chunks/vendor-d3-ease-Cr34gv04.js.map +1 -0
  176. package/dist/chunks/vendor-d3-force-l0sNRNKZ.js.map +1 -0
  177. package/dist/chunks/vendor-d3-format-DaIwZvFc.js +182 -0
  178. package/dist/chunks/vendor-d3-format-DaIwZvFc.js.map +1 -0
  179. package/dist/chunks/vendor-d3-geo-l0sNRNKZ.js.map +1 -0
  180. package/dist/chunks/vendor-d3-geo-projection-l0sNRNKZ.js.map +1 -0
  181. package/dist/chunks/vendor-d3-hierarchy-l0sNRNKZ.js.map +1 -0
  182. package/dist/chunks/vendor-d3-interpolate-BYG2gvO4.js +177 -0
  183. package/dist/chunks/vendor-d3-interpolate-BYG2gvO4.js.map +1 -0
  184. package/dist/chunks/vendor-d3-interpolate-path-CpGLvKgS.js +299 -0
  185. package/dist/chunks/vendor-d3-interpolate-path-CpGLvKgS.js.map +1 -0
  186. package/dist/chunks/vendor-d3-path-DJOTitNW.js +64 -0
  187. package/dist/chunks/vendor-d3-path-DJOTitNW.js.map +1 -0
  188. package/dist/chunks/vendor-d3-quadtree-l0sNRNKZ.js.map +1 -0
  189. package/dist/chunks/vendor-d3-sankey-l0sNRNKZ.js.map +1 -0
  190. package/dist/chunks/vendor-d3-scale-CC5rtdt5.js +561 -0
  191. package/dist/chunks/vendor-d3-scale-CC5rtdt5.js.map +1 -0
  192. package/dist/chunks/vendor-d3-selection-CNMxsYiL.js +603 -0
  193. package/dist/chunks/vendor-d3-selection-CNMxsYiL.js.map +1 -0
  194. package/dist/chunks/vendor-d3-shape-DBhCDMiV.js +925 -0
  195. package/dist/chunks/vendor-d3-shape-DBhCDMiV.js.map +1 -0
  196. package/dist/chunks/vendor-d3-time-DAPP210_.js +212 -0
  197. package/dist/chunks/vendor-d3-time-DAPP210_.js.map +1 -0
  198. package/dist/chunks/vendor-d3-time-format-hD7iE2WG.js +491 -0
  199. package/dist/chunks/vendor-d3-time-format-hD7iE2WG.js.map +1 -0
  200. package/dist/chunks/vendor-d3-timer-C1cUWKPz.js +67 -0
  201. package/dist/chunks/vendor-d3-timer-C1cUWKPz.js.map +1 -0
  202. package/dist/chunks/vendor-d3-transition-BbNQT7qF.js +524 -0
  203. package/dist/chunks/vendor-d3-transition-BbNQT7qF.js.map +1 -0
  204. package/dist/chunks/vendor-d3-zoom-CcKeJp9e.js +1 -0
  205. package/dist/chunks/vendor-d3-zoom-CcKeJp9e.js.map +1 -0
  206. package/dist/chunks/vendor-date-fns-BKO3x1R1.js +3102 -0
  207. package/dist/chunks/vendor-date-fns-BKO3x1R1.js.map +1 -0
  208. package/dist/chunks/vendor-dom-serializer-BbVuF1MQ.js +213 -0
  209. package/dist/chunks/vendor-dom-serializer-BbVuF1MQ.js.map +1 -0
  210. package/dist/chunks/vendor-domelementtype-B3sFIGaC.js +21 -0
  211. package/dist/chunks/vendor-domelementtype-B3sFIGaC.js.map +1 -0
  212. package/dist/chunks/vendor-domhandler-Kufn9M_V.js +311 -0
  213. package/dist/chunks/vendor-domhandler-Kufn9M_V.js.map +1 -0
  214. package/dist/chunks/vendor-dompurify-DpIUMBYC.js +560 -0
  215. package/dist/chunks/vendor-dompurify-DpIUMBYC.js.map +1 -0
  216. package/dist/chunks/vendor-domutils-DDRq_ial.js +386 -0
  217. package/dist/chunks/vendor-domutils-DDRq_ial.js.map +1 -0
  218. package/dist/chunks/vendor-elkjs-l0sNRNKZ.js.map +1 -0
  219. package/dist/chunks/vendor-emotion-cache-eEZT5l-Q.js +274 -0
  220. package/dist/chunks/vendor-emotion-cache-eEZT5l-Q.js.map +1 -0
  221. package/dist/chunks/vendor-emotion-hash-DImMRhyK.js +22 -0
  222. package/dist/chunks/vendor-emotion-hash-DImMRhyK.js.map +1 -0
  223. package/dist/chunks/vendor-emotion-memoize-BcEUCz8q.js +9 -0
  224. package/dist/chunks/vendor-emotion-memoize-BcEUCz8q.js.map +1 -0
  225. package/dist/chunks/vendor-emotion-serialize-BSDW8NwU.js +123 -0
  226. package/dist/chunks/vendor-emotion-serialize-BSDW8NwU.js.map +1 -0
  227. package/dist/chunks/vendor-emotion-sheet-CS8ZBl9s.js +44 -0
  228. package/dist/chunks/vendor-emotion-sheet-CS8ZBl9s.js.map +1 -0
  229. package/dist/chunks/vendor-emotion-unitless-B7u1PU6w.js +53 -0
  230. package/dist/chunks/vendor-emotion-unitless-B7u1PU6w.js.map +1 -0
  231. package/dist/chunks/vendor-emotion-utils-D7refZTM.js +28 -0
  232. package/dist/chunks/vendor-emotion-utils-D7refZTM.js.map +1 -0
  233. package/dist/chunks/vendor-emotion-weak-memoize-l0sNRNKZ.js.map +1 -0
  234. package/dist/chunks/vendor-entities-J86Og8IU.js +364 -0
  235. package/dist/chunks/vendor-entities-J86Og8IU.js.map +1 -0
  236. package/dist/chunks/vendor-floating-ui-core-BoHdh92a.js +432 -0
  237. package/dist/chunks/vendor-floating-ui-core-BoHdh92a.js.map +1 -0
  238. package/dist/chunks/vendor-floating-ui-dom-BvVXFZ4B.js +398 -0
  239. package/dist/chunks/vendor-floating-ui-dom-BvVXFZ4B.js.map +1 -0
  240. package/dist/chunks/vendor-floating-ui-utils-CidJRIm2.js +257 -0
  241. package/dist/chunks/vendor-floating-ui-utils-CidJRIm2.js.map +1 -0
  242. package/dist/chunks/vendor-floating-ui-vue-sCrhit51.js +121 -0
  243. package/dist/chunks/vendor-floating-ui-vue-sCrhit51.js.map +1 -0
  244. package/dist/chunks/vendor-gridstack-Beau2jQ7.js +3460 -0
  245. package/dist/chunks/vendor-gridstack-Beau2jQ7.js.map +1 -0
  246. package/dist/chunks/vendor-headlessui-vue-Cn-RMs4E.js +961 -0
  247. package/dist/chunks/vendor-headlessui-vue-Cn-RMs4E.js.map +1 -0
  248. package/dist/chunks/vendor-htmlparser2-BxKKzWLL.js +735 -0
  249. package/dist/chunks/vendor-htmlparser2-BxKKzWLL.js.map +1 -0
  250. package/dist/chunks/vendor-internmap-Q5729_cS.js +35 -0
  251. package/dist/chunks/vendor-internmap-Q5729_cS.js.map +1 -0
  252. package/dist/chunks/vendor-intlify-core-base-Cf8V01l9.js +1141 -0
  253. package/dist/chunks/vendor-intlify-core-base-Cf8V01l9.js.map +1 -0
  254. package/dist/chunks/vendor-intlify-message-compiler-h1txdYa8.js +960 -0
  255. package/dist/chunks/vendor-intlify-message-compiler-h1txdYa8.js.map +1 -0
  256. package/dist/chunks/vendor-intlify-shared-D4BJYR57.js +144 -0
  257. package/dist/chunks/vendor-intlify-shared-D4BJYR57.js.map +1 -0
  258. package/dist/chunks/vendor-iso-639-1-BEjYyfKo.js +784 -0
  259. package/dist/chunks/vendor-iso-639-1-BEjYyfKo.js.map +1 -0
  260. package/dist/chunks/vendor-juggle-resize-observer-DiSiNbbT.js +286 -0
  261. package/dist/chunks/vendor-juggle-resize-observer-DiSiNbbT.js.map +1 -0
  262. package/dist/chunks/vendor-kdbush-l0sNRNKZ.js.map +1 -0
  263. package/dist/chunks/vendor-leaflet-l0sNRNKZ.js.map +1 -0
  264. package/dist/chunks/vendor-linkify-it-LzoUhj6C.js +199 -0
  265. package/dist/chunks/vendor-linkify-it-LzoUhj6C.js.map +1 -0
  266. package/dist/chunks/vendor-linkifyjs-dCH9UYes.js +701 -0
  267. package/dist/chunks/vendor-linkifyjs-dCH9UYes.js.map +1 -0
  268. package/dist/chunks/vendor-lodash-es-CfnUOh0o.js +1490 -0
  269. package/dist/chunks/vendor-lodash-es-CfnUOh0o.js.map +1 -0
  270. package/dist/chunks/vendor-lodash-l0sNRNKZ.js.map +1 -0
  271. package/dist/chunks/vendor-lucide-vue-next-CwUrzD6N.js +33103 -0
  272. package/dist/chunks/vendor-lucide-vue-next-CwUrzD6N.js.map +1 -0
  273. package/dist/chunks/vendor-maplibre-gl-l0sNRNKZ.js.map +1 -0
  274. package/dist/chunks/vendor-markdown-it-Bs9KEWkF.js +2266 -0
  275. package/dist/chunks/vendor-markdown-it-Bs9KEWkF.js.map +1 -0
  276. package/dist/chunks/vendor-markdown-it-task-lists-CHKeJZfk.js +69 -0
  277. package/dist/chunks/vendor-markdown-it-task-lists-CHKeJZfk.js.map +1 -0
  278. package/dist/chunks/vendor-mdurl-DZFDNdqC.js +192 -0
  279. package/dist/chunks/vendor-mdurl-DZFDNdqC.js.map +1 -0
  280. package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-ufpnHxNR.js +1142 -0
  281. package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-ufpnHxNR.js.map +1 -0
  282. package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-BmGq5cEx.js +247 -0
  283. package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-BmGq5cEx.js.map +1 -0
  284. package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-BdtUi1l8.js +1907 -0
  285. package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-BdtUi1l8.js.map +1 -0
  286. package/dist/chunks/vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js +8406 -0
  287. package/dist/chunks/vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js.map +1 -0
  288. package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-DXmYt4tG.js +1441 -0
  289. package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-DXmYt4tG.js.map +1 -0
  290. package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-CLbNzgkN.js +610 -0
  291. package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-CLbNzgkN.js.map +1 -0
  292. package/dist/chunks/vendor-microsoft-applicationinsights-shims-CGX8KXgN.js +44 -0
  293. package/dist/chunks/vendor-microsoft-applicationinsights-shims-CGX8KXgN.js.map +1 -0
  294. package/dist/chunks/vendor-microsoft-applicationinsights-web-DzgnK2Mn.js +970 -0
  295. package/dist/chunks/vendor-microsoft-applicationinsights-web-DzgnK2Mn.js.map +1 -0
  296. package/dist/chunks/vendor-microsoft-dynamicproto-js-D7567TLZ.js +147 -0
  297. package/dist/chunks/vendor-microsoft-dynamicproto-js-D7567TLZ.js.map +1 -0
  298. package/dist/chunks/vendor-microsoft-signalr-Bgpbb4fW.js +1761 -0
  299. package/dist/chunks/vendor-microsoft-signalr-Bgpbb4fW.js.map +1 -0
  300. package/dist/chunks/vendor-nevware21-ts-async-BxN_lmkD.js +271 -0
  301. package/dist/chunks/vendor-nevware21-ts-async-BxN_lmkD.js.map +1 -0
  302. package/dist/chunks/vendor-nevware21-ts-utils-Dr-hD3q9.js +973 -0
  303. package/dist/chunks/vendor-nevware21-ts-utils-Dr-hD3q9.js.map +1 -0
  304. package/dist/chunks/vendor-nth-check-D0N1qpsw.js +45 -0
  305. package/dist/chunks/vendor-nth-check-D0N1qpsw.js.map +1 -0
  306. package/dist/chunks/vendor-orderedmap-B3SOk52B.js +103 -0
  307. package/dist/chunks/vendor-orderedmap-B3SOk52B.js.map +1 -0
  308. package/dist/chunks/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +143 -0
  309. package/dist/chunks/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js.map +1 -0
  310. package/dist/chunks/vendor-parse5-zq5Hn0y9.js +5749 -0
  311. package/dist/chunks/vendor-parse5-zq5Hn0y9.js.map +1 -0
  312. package/dist/chunks/vendor-prettier-2Sf6a5jB.js +5309 -0
  313. package/dist/chunks/vendor-prettier-2Sf6a5jB.js.map +1 -0
  314. package/dist/chunks/vendor-prosemirror-commands-BaRVaTVO.js +385 -0
  315. package/dist/chunks/vendor-prosemirror-commands-BaRVaTVO.js.map +1 -0
  316. package/dist/chunks/vendor-prosemirror-dropcursor-PuLxL9JM.js +86 -0
  317. package/dist/chunks/vendor-prosemirror-dropcursor-PuLxL9JM.js.map +1 -0
  318. package/dist/chunks/vendor-prosemirror-gapcursor-C7MEx13L.js +203 -0
  319. package/dist/chunks/vendor-prosemirror-gapcursor-C7MEx13L.js.map +1 -0
  320. package/dist/chunks/vendor-prosemirror-history-_AfZxoMt.js +248 -0
  321. package/dist/chunks/vendor-prosemirror-history-_AfZxoMt.js.map +1 -0
  322. package/dist/chunks/vendor-prosemirror-keymap-tvZqK1zZ.js +62 -0
  323. package/dist/chunks/vendor-prosemirror-keymap-tvZqK1zZ.js.map +1 -0
  324. package/dist/chunks/vendor-prosemirror-markdown-rpUTSG_Q.js +663 -0
  325. package/dist/chunks/vendor-prosemirror-markdown-rpUTSG_Q.js.map +1 -0
  326. package/dist/chunks/vendor-prosemirror-model-DAA3avbR.js +2730 -0
  327. package/dist/chunks/vendor-prosemirror-model-DAA3avbR.js.map +1 -0
  328. package/dist/chunks/vendor-prosemirror-schema-list-qDgvFydE.js +87 -0
  329. package/dist/chunks/vendor-prosemirror-schema-list-qDgvFydE.js.map +1 -0
  330. package/dist/chunks/vendor-prosemirror-state-BvFA7AjG.js +821 -0
  331. package/dist/chunks/vendor-prosemirror-state-BvFA7AjG.js.map +1 -0
  332. package/dist/chunks/vendor-prosemirror-tables-CbmHRq4G.js +1414 -0
  333. package/dist/chunks/vendor-prosemirror-tables-CbmHRq4G.js.map +1 -0
  334. package/dist/chunks/vendor-prosemirror-transform-DVGD47fI.js +1541 -0
  335. package/dist/chunks/vendor-prosemirror-transform-DVGD47fI.js.map +1 -0
  336. package/dist/chunks/vendor-prosemirror-view-BW4UqvjQ.js +3802 -0
  337. package/dist/chunks/vendor-prosemirror-view-BW4UqvjQ.js.map +1 -0
  338. package/dist/chunks/vendor-punycode-js-CgGegfA_.js +133 -0
  339. package/dist/chunks/vendor-punycode-js-CgGegfA_.js.map +1 -0
  340. package/dist/chunks/vendor-rope-sequence-BWC2FSrq.js +100 -0
  341. package/dist/chunks/vendor-rope-sequence-BWC2FSrq.js.map +1 -0
  342. package/dist/chunks/vendor-sortablejs-Bsvu-FKn.js +1276 -0
  343. package/dist/chunks/vendor-sortablejs-Bsvu-FKn.js.map +1 -0
  344. package/dist/chunks/vendor-striptags-DtlgQudQ.js +120 -0
  345. package/dist/chunks/vendor-striptags-DtlgQudQ.js.map +1 -0
  346. package/dist/chunks/vendor-stylis-ClfDrgKE.js +334 -0
  347. package/dist/chunks/vendor-stylis-ClfDrgKE.js.map +1 -0
  348. package/dist/chunks/vendor-supercluster-l0sNRNKZ.js.map +1 -0
  349. package/dist/chunks/vendor-swiper-BgqGfw3Y.js +3800 -0
  350. package/dist/chunks/vendor-swiper-BgqGfw3Y.js.map +1 -0
  351. package/dist/chunks/vendor-tanstack-virtual-core-l0sNRNKZ.js.map +1 -0
  352. package/dist/chunks/vendor-tanstack-vue-virtual-CD9yLWd7.js +1 -0
  353. package/dist/chunks/vendor-tanstack-vue-virtual-CD9yLWd7.js.map +1 -0
  354. package/dist/chunks/vendor-three-l0sNRNKZ.js.map +1 -0
  355. package/dist/chunks/vendor-throttle-debounce-CX0imT7m.js +28 -0
  356. package/dist/chunks/vendor-throttle-debounce-CX0imT7m.js.map +1 -0
  357. package/dist/chunks/vendor-tiptap-core-CZbeo7XQ.js +3944 -0
  358. package/dist/chunks/vendor-tiptap-core-CZbeo7XQ.js.map +1 -0
  359. package/dist/chunks/vendor-tiptap-extension-blockquote-B8uwrgnZ.js +60 -0
  360. package/dist/chunks/vendor-tiptap-extension-blockquote-B8uwrgnZ.js.map +1 -0
  361. package/dist/chunks/vendor-tiptap-extension-bold-Ch9pbrZY.js +80 -0
  362. package/dist/chunks/vendor-tiptap-extension-bold-Ch9pbrZY.js.map +1 -0
  363. package/dist/chunks/vendor-tiptap-extension-code-CVh_mZgz.js +52 -0
  364. package/dist/chunks/vendor-tiptap-extension-code-CVh_mZgz.js.map +1 -0
  365. package/dist/chunks/vendor-tiptap-extension-code-block-CfoUSR2N.js +215 -0
  366. package/dist/chunks/vendor-tiptap-extension-code-block-CfoUSR2N.js.map +1 -0
  367. package/dist/chunks/vendor-tiptap-extension-document-C4tn-v0L.js +12 -0
  368. package/dist/chunks/vendor-tiptap-extension-document-C4tn-v0L.js.map +1 -0
  369. package/dist/chunks/vendor-tiptap-extension-hard-break-CbK1eM89.js +59 -0
  370. package/dist/chunks/vendor-tiptap-extension-hard-break-CbK1eM89.js.map +1 -0
  371. package/dist/chunks/vendor-tiptap-extension-heading-BlkYF-RD.js +63 -0
  372. package/dist/chunks/vendor-tiptap-extension-heading-BlkYF-RD.js.map +1 -0
  373. package/dist/chunks/vendor-tiptap-extension-horizontal-rule-DjMOsQCA.js +56 -0
  374. package/dist/chunks/vendor-tiptap-extension-horizontal-rule-DjMOsQCA.js.map +1 -0
  375. package/dist/chunks/vendor-tiptap-extension-image-BpqLcXdw.js +128 -0
  376. package/dist/chunks/vendor-tiptap-extension-image-BpqLcXdw.js.map +1 -0
  377. package/dist/chunks/vendor-tiptap-extension-italic-YDdh6jEW.js +79 -0
  378. package/dist/chunks/vendor-tiptap-extension-italic-YDdh6jEW.js.map +1 -0
  379. package/dist/chunks/vendor-tiptap-extension-link-CETrc0Mo.js +312 -0
  380. package/dist/chunks/vendor-tiptap-extension-link-CETrc0Mo.js.map +1 -0
  381. package/dist/chunks/vendor-tiptap-extension-list-DsiDvJxK.js +753 -0
  382. package/dist/chunks/vendor-tiptap-extension-list-DsiDvJxK.js.map +1 -0
  383. package/dist/chunks/vendor-tiptap-extension-paragraph-Bcss4jc0.js +49 -0
  384. package/dist/chunks/vendor-tiptap-extension-paragraph-Bcss4jc0.js.map +1 -0
  385. package/dist/chunks/vendor-tiptap-extension-placeholder-ClNjQXk_.js +1 -0
  386. package/dist/chunks/vendor-tiptap-extension-placeholder-ClNjQXk_.js.map +1 -0
  387. package/dist/chunks/vendor-tiptap-extension-strike-BZiBed9b.js +64 -0
  388. package/dist/chunks/vendor-tiptap-extension-strike-BZiBed9b.js.map +1 -0
  389. package/dist/chunks/vendor-tiptap-extension-table-QVjcLO_H.js +409 -0
  390. package/dist/chunks/vendor-tiptap-extension-table-QVjcLO_H.js.map +1 -0
  391. package/dist/chunks/vendor-tiptap-extension-table-cell-CuXZTKj8.js +1 -0
  392. package/dist/chunks/vendor-tiptap-extension-table-cell-CuXZTKj8.js.map +1 -0
  393. package/dist/chunks/vendor-tiptap-extension-table-header-CuXZTKj8.js +1 -0
  394. package/dist/chunks/vendor-tiptap-extension-table-header-CuXZTKj8.js.map +1 -0
  395. package/dist/chunks/vendor-tiptap-extension-table-row-CuXZTKj8.js +1 -0
  396. package/dist/chunks/vendor-tiptap-extension-table-row-CuXZTKj8.js.map +1 -0
  397. package/dist/chunks/vendor-tiptap-extension-text-Wofhchrp.js +13 -0
  398. package/dist/chunks/vendor-tiptap-extension-text-Wofhchrp.js.map +1 -0
  399. package/dist/chunks/vendor-tiptap-extension-text-style-Bc6nvmn0.js +235 -0
  400. package/dist/chunks/vendor-tiptap-extension-text-style-Bc6nvmn0.js.map +1 -0
  401. package/dist/chunks/vendor-tiptap-extension-underline-Bo1pXXDN.js +65 -0
  402. package/dist/chunks/vendor-tiptap-extension-underline-Bo1pXXDN.js.map +1 -0
  403. package/dist/chunks/vendor-tiptap-extensions-D7eaegpB.js +299 -0
  404. package/dist/chunks/vendor-tiptap-extensions-D7eaegpB.js.map +1 -0
  405. package/dist/chunks/vendor-tiptap-markdown-18K1hcU0.js +826 -0
  406. package/dist/chunks/vendor-tiptap-markdown-18K1hcU0.js.map +1 -0
  407. package/dist/chunks/vendor-tiptap-pm-yqZPZQMU.js +1 -0
  408. package/dist/chunks/vendor-tiptap-pm-yqZPZQMU.js.map +1 -0
  409. package/dist/chunks/vendor-tiptap-starter-kit-ny-AoaO_.js +28 -0
  410. package/dist/chunks/vendor-tiptap-starter-kit-ny-AoaO_.js.map +1 -0
  411. package/dist/chunks/vendor-tiptap-vue-3-BNAw8onj.js +157 -0
  412. package/dist/chunks/vendor-tiptap-vue-3-BNAw8onj.js.map +1 -0
  413. package/dist/chunks/vendor-topojson-client-l0sNRNKZ.js.map +1 -0
  414. package/dist/chunks/vendor-truncate-html-ChA1T5zy.js +145 -0
  415. package/dist/chunks/vendor-truncate-html-ChA1T5zy.js.map +1 -0
  416. package/dist/chunks/vendor-tslib-l0sNRNKZ.js.map +1 -0
  417. package/dist/chunks/vendor-uc-micro-4lbSaZOs.js +17 -0
  418. package/dist/chunks/vendor-uc-micro-4lbSaZOs.js.map +1 -0
  419. package/dist/chunks/vendor-unovis-dagre-layout-l0sNRNKZ.js.map +1 -0
  420. package/dist/chunks/vendor-unovis-graphlibrary-l0sNRNKZ.js.map +1 -0
  421. package/dist/chunks/vendor-unovis-ts-stSsHr9j.js +2382 -0
  422. package/dist/chunks/vendor-unovis-ts-stSsHr9j.js.map +1 -0
  423. package/dist/chunks/vendor-unovis-vue-CZWGT3-0.js +446 -0
  424. package/dist/chunks/vendor-unovis-vue-CZWGT3-0.js.map +1 -0
  425. package/dist/chunks/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
  426. package/dist/chunks/vendor-vee-validate-i18n-zT8NxX3R.js.map +1 -0
  427. package/dist/chunks/vendor-vee-validate-rules-4oWUZPpG.js +316 -0
  428. package/dist/chunks/vendor-vee-validate-rules-4oWUZPpG.js.map +1 -0
  429. package/dist/chunks/vendor-vue-currency-input-CckB4kjx.js +317 -0
  430. package/dist/chunks/vendor-vue-currency-input-CckB4kjx.js.map +1 -0
  431. package/dist/chunks/vendor-vue-demi-CD9yLWd7.js +1 -0
  432. package/dist/chunks/vendor-vue-demi-CD9yLWd7.js.map +1 -0
  433. package/dist/chunks/vendor-vue-devtools-api-aVYGocXp.js +93 -0
  434. package/dist/chunks/vendor-vue-devtools-api-aVYGocXp.js.map +1 -0
  435. package/dist/chunks/vendor-vue-i18n-LO-EJStU.js +1369 -0
  436. package/dist/chunks/vendor-vue-i18n-LO-EJStU.js.map +1 -0
  437. package/dist/chunks/vendor-vue3-application-insights-CAgbt8pk.js +69 -0
  438. package/dist/chunks/vendor-vue3-application-insights-CAgbt8pk.js.map +1 -0
  439. package/dist/chunks/vendor-vue3-touch-events-DqysuuWh.js +169 -0
  440. package/dist/chunks/vendor-vue3-touch-events-DqysuuWh.js.map +1 -0
  441. package/dist/chunks/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +4998 -0
  442. package/dist/chunks/vendor-vuepic-vue-datepicker-CaZ_qpJp.js.map +1 -0
  443. package/dist/chunks/vendor-vueuse-components-BW7i7Uhb.js +219 -0
  444. package/dist/chunks/vendor-vueuse-components-BW7i7Uhb.js.map +1 -0
  445. package/dist/chunks/vendor-vueuse-core-CEdpDfzx.js +586 -0
  446. package/dist/chunks/vendor-vueuse-core-CEdpDfzx.js.map +1 -0
  447. package/dist/chunks/vendor-vueuse-shared-BlCOXw5g.js +149 -0
  448. package/dist/chunks/vendor-vueuse-shared-BlCOXw5g.js.map +1 -0
  449. package/dist/chunks/vendor-w3c-keyname-CLxH8j-f.js +92 -0
  450. package/dist/chunks/vendor-w3c-keyname-CLxH8j-f.js.map +1 -0
  451. package/dist/chunks/vendor-web-vitals-ByFgAM-8.js +215 -0
  452. package/dist/chunks/vendor-web-vitals-ByFgAM-8.js.map +1 -0
  453. package/dist/core/api/platform.d.ts +304 -958
  454. package/dist/core/api/platform.d.ts.map +1 -1
  455. package/dist/core/blade-navigation/bladeConfigRegistry.d.ts +21 -0
  456. package/dist/core/blade-navigation/bladeConfigRegistry.d.ts.map +1 -0
  457. package/dist/core/blade-navigation/index.d.ts +5 -0
  458. package/dist/core/blade-navigation/index.d.ts.map +1 -0
  459. package/dist/core/blade-navigation/singletons.d.ts +21 -0
  460. package/dist/core/blade-navigation/singletons.d.ts.map +1 -0
  461. package/dist/core/blade-navigation/types/index.d.ts +252 -0
  462. package/dist/core/blade-navigation/types/index.d.ts.map +1 -0
  463. package/dist/core/blade-navigation/useBladeMessaging.d.ts +18 -0
  464. package/dist/core/blade-navigation/useBladeMessaging.d.ts.map +1 -0
  465. package/dist/core/blade-navigation/useBladeStack.d.ts +19 -0
  466. package/dist/core/blade-navigation/useBladeStack.d.ts.map +1 -0
  467. package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts +32 -0
  468. package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts.map +1 -0
  469. package/dist/core/blade-navigation/utils/navigateToMainRoute.d.ts.map +1 -0
  470. package/dist/core/blade-navigation/utils/restoreFromUrl.d.ts +24 -0
  471. package/dist/core/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -0
  472. package/dist/core/blade-navigation/utils/urlSync.d.ts +54 -0
  473. package/dist/core/blade-navigation/utils/urlSync.d.ts.map +1 -0
  474. package/dist/core/composables/bladeContext/index.d.ts +29 -0
  475. package/dist/core/composables/bladeContext/index.d.ts.map +1 -0
  476. package/dist/core/composables/index.d.ts +7 -1
  477. package/dist/core/composables/index.d.ts.map +1 -1
  478. package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -1
  479. package/dist/core/composables/useAppInsights/index.d.ts +2 -1
  480. package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
  481. package/dist/core/composables/useAssets/index.d.ts.map +1 -1
  482. package/dist/core/composables/useAssetsManager/index.d.ts +24 -0
  483. package/dist/core/composables/useAssetsManager/index.d.ts.map +1 -0
  484. package/dist/core/composables/useAsync/index.d.ts.map +1 -1
  485. package/dist/core/composables/useBlade/index.d.ts +34 -27
  486. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  487. package/dist/core/composables/useBladeForm/index.d.ts +17 -0
  488. package/dist/core/composables/useBladeForm/index.d.ts.map +1 -0
  489. package/dist/core/composables/useBladeForm/types.d.ts +40 -0
  490. package/dist/core/composables/useBladeForm/types.d.ts.map +1 -0
  491. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts +33 -0
  492. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -0
  493. package/dist/core/composables/useBladeRegistry/index.d.ts +1 -1
  494. package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
  495. package/dist/core/composables/useBladeWidgets/index.d.ts +49 -0
  496. package/dist/core/composables/useBladeWidgets/index.d.ts.map +1 -0
  497. package/dist/core/composables/useBreadcrumbs/index.d.ts +1 -1
  498. package/dist/core/composables/useBreadcrumbs/index.d.ts.map +1 -1
  499. package/dist/core/composables/useConnectionStatus/index.d.ts.map +1 -1
  500. package/dist/core/composables/useDynamicProperties/index.d.ts +3 -69
  501. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  502. package/dist/core/composables/useDynamicProperties/strategies/boolean.d.ts +3 -0
  503. package/dist/core/composables/useDynamicProperties/strategies/boolean.d.ts.map +1 -0
  504. package/dist/core/composables/useDynamicProperties/strategies/color.d.ts +3 -0
  505. package/dist/core/composables/useDynamicProperties/strategies/color.d.ts.map +1 -0
  506. package/dist/core/composables/useDynamicProperties/strategies/dictionary.d.ts +3 -0
  507. package/dist/core/composables/useDynamicProperties/strategies/dictionary.d.ts.map +1 -0
  508. package/dist/core/composables/useDynamicProperties/strategies/index.d.ts +4 -0
  509. package/dist/core/composables/useDynamicProperties/strategies/index.d.ts.map +1 -0
  510. package/dist/core/composables/useDynamicProperties/strategies/measure.d.ts +3 -0
  511. package/dist/core/composables/useDynamicProperties/strategies/measure.d.ts.map +1 -0
  512. package/dist/core/composables/useDynamicProperties/strategies/regular.d.ts +3 -0
  513. package/dist/core/composables/useDynamicProperties/strategies/regular.d.ts.map +1 -0
  514. package/dist/core/composables/useDynamicProperties/strategies/types.d.ts +16 -0
  515. package/dist/core/composables/useDynamicProperties/strategies/types.d.ts.map +1 -0
  516. package/dist/core/composables/useDynamicProperties/types.d.ts +70 -0
  517. package/dist/core/composables/useDynamicProperties/types.d.ts.map +1 -0
  518. package/dist/core/composables/useDynamicProperties/utils.d.ts +10 -0
  519. package/dist/core/composables/useDynamicProperties/utils.d.ts.map +1 -0
  520. package/dist/core/composables/useExternalProvider/index.d.ts +12 -0
  521. package/dist/core/composables/useExternalProvider/index.d.ts.map +1 -0
  522. package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
  523. package/dist/core/composables/useMenuExpanded/index.d.ts +9 -0
  524. package/dist/core/composables/useMenuExpanded/index.d.ts.map +1 -0
  525. package/dist/core/composables/useModificationTracker/index.d.ts.map +1 -0
  526. package/dist/core/composables/useNotifications/index.d.ts +3 -8
  527. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  528. package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
  529. package/dist/core/composables/usePlatformLocaleSync/index.d.ts +17 -0
  530. package/dist/core/composables/usePlatformLocaleSync/index.d.ts.map +1 -0
  531. package/dist/core/composables/usePopup/index.d.ts +12 -0
  532. package/dist/core/composables/usePopup/index.d.ts.map +1 -0
  533. package/dist/core/composables/usePopup/keys.d.ts +4 -0
  534. package/dist/core/composables/usePopup/keys.d.ts.map +1 -0
  535. package/dist/core/composables/usePopup/preset-registry.d.ts +7 -0
  536. package/dist/core/composables/usePopup/preset-registry.d.ts.map +1 -0
  537. package/dist/core/composables/usePopup/singleton.d.ts +6 -0
  538. package/dist/core/composables/usePopup/singleton.d.ts.map +1 -0
  539. package/dist/core/composables/usePopup/types.d.ts +22 -0
  540. package/dist/core/composables/usePopup/types.d.ts.map +1 -0
  541. package/dist/core/composables/useResponsive/index.d.ts +26 -0
  542. package/dist/core/composables/useResponsive/index.d.ts.map +1 -0
  543. package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
  544. package/dist/core/composables/useSlowNetworkDetection/index.d.ts +10 -0
  545. package/dist/core/composables/useSlowNetworkDetection/index.d.ts.map +1 -0
  546. package/dist/core/composables/useTheme/index.d.ts.map +1 -1
  547. package/dist/core/composables/useToolbar/index.d.ts.map +1 -1
  548. package/dist/core/composables/useUser/index.d.ts +1 -0
  549. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  550. package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
  551. package/dist/core/composables/useWidgets/index.d.ts +4 -0
  552. package/dist/core/composables/useWidgets/index.d.ts.map +1 -1
  553. package/dist/core/constants/index.d.ts +0 -1
  554. package/dist/core/constants/index.d.ts.map +1 -1
  555. package/dist/core/directives/index.d.ts +2 -0
  556. package/dist/core/directives/index.d.ts.map +1 -1
  557. package/dist/core/interceptors/index.d.ts.map +1 -1
  558. package/dist/core/notifications/composables/index.d.ts +5 -0
  559. package/dist/core/notifications/composables/index.d.ts.map +1 -0
  560. package/dist/core/notifications/composables/useBladeNotifications.d.ts +13 -0
  561. package/dist/core/notifications/composables/useBladeNotifications.d.ts.map +1 -0
  562. package/dist/core/notifications/composables/useBroadcastFilter.d.ts +7 -0
  563. package/dist/core/notifications/composables/useBroadcastFilter.d.ts.map +1 -0
  564. package/dist/core/notifications/composables/useNotificationContext.d.ts +4 -0
  565. package/dist/core/notifications/composables/useNotificationContext.d.ts.map +1 -0
  566. package/dist/core/notifications/composables/useNotificationStore.d.ts +11 -0
  567. package/dist/core/notifications/composables/useNotificationStore.d.ts.map +1 -0
  568. package/dist/core/notifications/index.d.ts +11 -0
  569. package/dist/core/notifications/index.d.ts.map +1 -0
  570. package/dist/core/notifications/notification.d.ts +37 -0
  571. package/dist/core/notifications/notification.d.ts.map +1 -0
  572. package/dist/core/notifications/store.d.ts +31 -0
  573. package/dist/core/notifications/store.d.ts.map +1 -0
  574. package/dist/core/notifications/toast-controller.d.ts +7 -0
  575. package/dist/core/notifications/toast-controller.d.ts.map +1 -0
  576. package/dist/core/notifications/toast-types.d.ts +27 -0
  577. package/dist/core/notifications/toast-types.d.ts.map +1 -0
  578. package/dist/core/notifications/types.d.ts +48 -0
  579. package/dist/core/notifications/types.d.ts.map +1 -0
  580. package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts +2 -1
  581. package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
  582. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts +5 -3
  583. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
  584. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts +2 -1
  585. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
  586. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts +2 -1
  587. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts.map +1 -1
  588. package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts +2 -1
  589. package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts.map +1 -1
  590. package/dist/core/plugins/ai-agent/composables/index.d.ts +1 -1
  591. package/dist/core/plugins/ai-agent/composables/index.d.ts.map +1 -1
  592. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +2 -10
  593. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
  594. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts +2 -3
  595. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
  596. package/dist/core/plugins/ai-agent/index.d.ts +2 -2
  597. package/dist/core/plugins/ai-agent/index.d.ts.map +1 -1
  598. package/dist/core/plugins/ai-agent/public.d.ts +12 -0
  599. package/dist/core/plugins/ai-agent/public.d.ts.map +1 -0
  600. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts +2 -4
  601. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
  602. package/dist/core/plugins/ai-agent/services/context-manager.d.ts +21 -0
  603. package/dist/core/plugins/ai-agent/services/context-manager.d.ts.map +1 -0
  604. package/dist/core/plugins/ai-agent/services/message-transport.d.ts +29 -0
  605. package/dist/core/plugins/ai-agent/services/message-transport.d.ts.map +1 -0
  606. package/dist/core/plugins/ai-agent/services/panel-controller.d.ts +16 -0
  607. package/dist/core/plugins/ai-agent/services/panel-controller.d.ts.map +1 -0
  608. package/dist/core/plugins/ai-agent/types.d.ts +2 -2
  609. package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
  610. package/dist/core/plugins/ai-agent/utils/deep-merge-changes.d.ts +16 -0
  611. package/dist/core/plugins/ai-agent/utils/deep-merge-changes.d.ts.map +1 -0
  612. package/dist/core/plugins/ai-agent/utils/index.d.ts +2 -0
  613. package/dist/core/plugins/ai-agent/utils/index.d.ts.map +1 -0
  614. package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts +3 -2
  615. package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts.map +1 -1
  616. package/dist/core/plugins/extension-points/public.d.ts +8 -0
  617. package/dist/core/plugins/extension-points/public.d.ts.map +1 -0
  618. package/dist/core/plugins/extension-points/store.d.ts.map +1 -1
  619. package/dist/core/plugins/modularity/index.d.ts +44 -30
  620. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  621. package/dist/core/plugins/signalR/index.d.ts +2 -6
  622. package/dist/core/plugins/signalR/index.d.ts.map +1 -1
  623. package/dist/core/plugins/validation/rules.d.ts.map +1 -1
  624. package/dist/core/services/_internal/index.d.ts +3 -3
  625. package/dist/core/services/_internal/index.d.ts.map +1 -1
  626. package/dist/core/services/app-bar-menu-service.d.ts.map +1 -1
  627. package/dist/core/services/dashboard-service.d.ts.map +1 -1
  628. package/dist/core/services/settings-menu-service.d.ts.map +1 -1
  629. package/dist/core/services/widget-service.d.ts +25 -24
  630. package/dist/core/services/widget-service.d.ts.map +1 -1
  631. package/dist/core/types/breadcrumbs.d.ts +8 -0
  632. package/dist/core/types/breadcrumbs.d.ts.map +1 -0
  633. package/dist/core/types/index.d.ts +13 -33
  634. package/dist/core/types/index.d.ts.map +1 -1
  635. package/dist/core/types/menu-types.d.ts +4 -4
  636. package/dist/core/types/menu-types.d.ts.map +1 -1
  637. package/dist/core/utilities/assets.d.ts +6 -0
  638. package/dist/core/utilities/assets.d.ts.map +1 -0
  639. package/dist/core/utilities/colorUtils.d.ts.map +1 -0
  640. package/dist/core/utilities/date/formatDate.d.ts.map +1 -1
  641. package/dist/core/utilities/error.d.ts.map +1 -1
  642. package/dist/core/utilities/formatBadgeCount.d.ts.map +1 -0
  643. package/dist/core/utilities/index.d.ts +4 -0
  644. package/dist/core/utilities/index.d.ts.map +1 -1
  645. package/dist/core/utilities/pendingErrorNotifications.d.ts +2 -2
  646. package/dist/core/utilities/thumbnail/index.d.ts +42 -0
  647. package/dist/core/utilities/thumbnail/index.d.ts.map +1 -0
  648. package/dist/extensions/index.js +8 -0
  649. package/dist/extensions/index.js.map +1 -0
  650. package/dist/framework.js +4722 -0
  651. package/dist/framework.js.map +1 -0
  652. package/dist/index.css +9 -0
  653. package/dist/index.d.ts +31 -15
  654. package/dist/index.d.ts.map +1 -1
  655. package/dist/injection-keys.d.ts +11 -20
  656. package/dist/injection-keys.d.ts.map +1 -1
  657. package/dist/locales/de.d.ts +3 -0
  658. package/dist/locales/de.js +439 -0
  659. package/dist/locales/en.d.ts +3 -0
  660. package/dist/locales/en.js +439 -0
  661. package/dist/locales/en.json +17 -5
  662. package/dist/locales/types.d.ts +446 -0
  663. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts +4 -0
  664. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -0
  665. package/dist/modules/assets/components/assets-details/index.d.ts +3 -0
  666. package/dist/modules/assets/components/assets-details/index.d.ts.map +1 -0
  667. package/dist/modules/assets/components/index.d.ts +2 -0
  668. package/dist/modules/assets/components/index.d.ts.map +1 -0
  669. package/dist/modules/assets/index.d.ts +6 -0
  670. package/dist/modules/assets/index.d.ts.map +1 -0
  671. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +4 -0
  672. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -0
  673. package/dist/modules/assets-manager/components/assets-manager/index.d.ts +3 -0
  674. package/dist/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -0
  675. package/dist/modules/assets-manager/components/index.d.ts +2 -0
  676. package/dist/modules/assets-manager/components/index.d.ts.map +1 -0
  677. package/dist/modules/assets-manager/index.d.ts +5 -0
  678. package/dist/modules/assets-manager/index.d.ts.map +1 -0
  679. package/dist/modules/index.d.ts +3 -0
  680. package/dist/modules/index.d.ts.map +1 -0
  681. package/dist/scripts/check-locales.cjs +3185 -0
  682. package/dist/shell/_internal/_storybook-helpers.d.ts.map +1 -0
  683. package/dist/shell/_internal/blade-navigation/components/index.d.ts +3 -0
  684. package/dist/shell/_internal/blade-navigation/components/index.d.ts.map +1 -0
  685. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +9 -0
  686. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -0
  687. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/index.d.ts +3 -0
  688. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -0
  689. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts +4 -0
  690. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -0
  691. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/index.d.ts +2 -0
  692. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/index.d.ts.map +1 -0
  693. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts +21 -0
  694. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -0
  695. package/dist/shell/_internal/blade-navigation/index.d.ts +3 -0
  696. package/dist/shell/_internal/blade-navigation/index.d.ts.map +1 -0
  697. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts +22 -0
  698. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -0
  699. package/dist/shell/_internal/notifications/components/index.d.ts +2 -0
  700. package/dist/shell/_internal/notifications/components/index.d.ts.map +1 -0
  701. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +120 -0
  702. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts.map +1 -0
  703. package/dist/shell/_internal/notifications/composables/index.d.ts +3 -0
  704. package/dist/shell/_internal/notifications/composables/index.d.ts.map +1 -0
  705. package/dist/shell/_internal/notifications/composables/useContainer/index.d.ts +23 -0
  706. package/dist/shell/_internal/notifications/composables/useContainer/index.d.ts.map +1 -0
  707. package/dist/shell/_internal/notifications/composables/useInstance/index.d.ts +11 -0
  708. package/dist/shell/_internal/notifications/composables/useInstance/index.d.ts.map +1 -0
  709. package/dist/shell/_internal/notifications/register-backend.d.ts +6 -0
  710. package/dist/shell/_internal/notifications/register-backend.d.ts.map +1 -0
  711. package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts +51 -0
  712. package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts.map +1 -0
  713. package/dist/shell/_internal/popup/common/vc-popup-error.vue.d.ts +24 -0
  714. package/dist/shell/_internal/popup/common/vc-popup-error.vue.d.ts.map +1 -0
  715. package/dist/shell/_internal/popup/common/vc-popup-info.vue.d.ts +24 -0
  716. package/dist/shell/_internal/popup/common/vc-popup-info.vue.d.ts.map +1 -0
  717. package/dist/shell/_internal/popup/common/vc-popup-warning.vue.d.ts +27 -0
  718. package/dist/shell/_internal/popup/common/vc-popup-warning.vue.d.ts.map +1 -0
  719. package/dist/shell/_internal/popup/components/index.d.ts +2 -0
  720. package/dist/shell/_internal/popup/components/index.d.ts.map +1 -0
  721. package/dist/shell/_internal/popup/components/vc-popup-container/index.d.ts +3 -0
  722. package/dist/shell/_internal/popup/components/vc-popup-container/index.d.ts.map +1 -0
  723. package/dist/shell/_internal/popup/components/vc-popup-container/vc-popup-container.vue.d.ts +4 -0
  724. package/dist/shell/_internal/popup/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -0
  725. package/dist/shell/_internal/popup/composables/index.d.ts +2 -0
  726. package/dist/shell/_internal/popup/composables/index.d.ts.map +1 -0
  727. package/dist/shell/_internal/popup/composables/usePopup/index.d.ts +2 -0
  728. package/dist/shell/_internal/popup/composables/usePopup/index.d.ts.map +1 -0
  729. package/dist/shell/_internal/popup/index.d.ts +12 -0
  730. package/dist/shell/_internal/popup/index.d.ts.map +1 -0
  731. package/dist/shell/_internal/popup/keys.d.ts +2 -0
  732. package/dist/shell/_internal/popup/keys.d.ts.map +1 -0
  733. package/dist/shell/_internal/popup/plugin.d.ts +6 -0
  734. package/dist/shell/_internal/popup/plugin.d.ts.map +1 -0
  735. package/dist/shell/_internal/popup/register-presets.d.ts +6 -0
  736. package/dist/shell/_internal/popup/register-presets.d.ts.map +1 -0
  737. package/dist/shell/_internal/popup/types/index.d.ts +2 -0
  738. package/dist/shell/_internal/popup/types/index.d.ts.map +1 -0
  739. package/dist/shell/_internal/popup/utils/index.d.ts.map +1 -0
  740. package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +9 -0
  741. package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -0
  742. package/dist/shell/auth/ChangePasswordPage/components/change-password/index.d.ts +3 -0
  743. package/dist/shell/auth/ChangePasswordPage/components/change-password/index.d.ts.map +1 -0
  744. package/dist/shell/auth/ChangePasswordPage/components/index.d.ts +2 -0
  745. package/dist/shell/auth/ChangePasswordPage/components/index.d.ts.map +1 -0
  746. package/dist/shell/auth/ChangePasswordPage/index.d.ts +2 -0
  747. package/dist/shell/auth/ChangePasswordPage/index.d.ts.map +1 -0
  748. package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts +14 -0
  749. package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts.map +1 -0
  750. package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/index.d.ts +3 -0
  751. package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/index.d.ts.map +1 -0
  752. package/dist/shell/auth/ForgotPasswordPage/components/index.d.ts +2 -0
  753. package/dist/shell/auth/ForgotPasswordPage/components/index.d.ts.map +1 -0
  754. package/dist/shell/auth/ForgotPasswordPage/index.d.ts +2 -0
  755. package/dist/shell/auth/ForgotPasswordPage/index.d.ts.map +1 -0
  756. package/dist/shell/auth/InvitePage/components/index.d.ts +2 -0
  757. package/dist/shell/auth/InvitePage/components/index.d.ts.map +1 -0
  758. package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts +14 -0
  759. package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts.map +1 -0
  760. package/dist/shell/auth/InvitePage/components/invite/index.d.ts +3 -0
  761. package/dist/shell/auth/InvitePage/components/invite/index.d.ts.map +1 -0
  762. package/dist/shell/auth/InvitePage/index.d.ts +2 -0
  763. package/dist/shell/auth/InvitePage/index.d.ts.map +1 -0
  764. package/dist/shell/auth/LoginPage/components/index.d.ts +2 -0
  765. package/dist/shell/auth/LoginPage/components/index.d.ts.map +1 -0
  766. package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts +11 -0
  767. package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -0
  768. package/dist/shell/auth/LoginPage/components/login/index.d.ts +3 -0
  769. package/dist/shell/auth/LoginPage/components/login/index.d.ts.map +1 -0
  770. package/dist/shell/auth/LoginPage/index.d.ts +2 -0
  771. package/dist/shell/auth/LoginPage/index.d.ts.map +1 -0
  772. package/dist/shell/auth/ResetPasswordPage/components/index.d.ts +2 -0
  773. package/dist/shell/auth/ResetPasswordPage/components/index.d.ts.map +1 -0
  774. package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +14 -0
  775. package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -0
  776. package/dist/shell/auth/ResetPasswordPage/components/reset-password/index.d.ts +3 -0
  777. package/dist/shell/auth/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -0
  778. package/dist/shell/auth/ResetPasswordPage/index.d.ts +2 -0
  779. package/dist/shell/auth/ResetPasswordPage/index.d.ts.map +1 -0
  780. package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts +8 -0
  781. package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts.map +1 -0
  782. package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts +13 -0
  783. package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts.map +1 -0
  784. package/dist/shell/auth/_test-utils/shared-stubs.d.ts +33 -0
  785. package/dist/shell/auth/_test-utils/shared-stubs.d.ts.map +1 -0
  786. package/dist/shell/auth/index.d.ts +7 -0
  787. package/dist/shell/auth/index.d.ts.map +1 -0
  788. package/dist/shell/auth/sign-in/external-provider.vue.d.ts +16 -0
  789. package/dist/shell/auth/sign-in/external-provider.vue.d.ts.map +1 -0
  790. package/dist/shell/auth/sign-in/external-providers.vue.d.ts +8 -0
  791. package/dist/shell/auth/sign-in/external-providers.vue.d.ts.map +1 -0
  792. package/dist/shell/auth/sign-in/index.d.ts +2 -0
  793. package/dist/shell/auth/sign-in/index.d.ts.map +1 -0
  794. package/dist/shell/auth/sign-in/useExternalProvider.d.ts +3 -0
  795. package/dist/shell/auth/sign-in/useExternalProvider.d.ts.map +1 -0
  796. package/dist/shell/auth/utils.d.ts +25 -0
  797. package/dist/shell/auth/utils.d.ts.map +1 -0
  798. package/dist/shell/components/app-hub/composables/index.d.ts +2 -0
  799. package/dist/shell/components/app-hub/composables/index.d.ts.map +1 -0
  800. package/dist/shell/components/app-hub/composables/useAppHub/index.d.ts +10 -0
  801. package/dist/shell/components/app-hub/composables/useAppHub/index.d.ts.map +1 -0
  802. package/dist/shell/components/change-password/change-password.vue.d.ts +12 -0
  803. package/dist/shell/components/change-password/change-password.vue.d.ts.map +1 -0
  804. package/dist/shell/components/change-password/index.d.ts +3 -0
  805. package/dist/shell/components/change-password/index.d.ts.map +1 -0
  806. package/dist/shell/components/change-password-button/change-password-button.vue.d.ts +4 -0
  807. package/dist/shell/components/change-password-button/change-password-button.vue.d.ts.map +1 -0
  808. package/dist/shell/components/change-password-button/index.d.ts.map +1 -0
  809. package/dist/shell/components/error-interceptor/index.d.ts +14 -0
  810. package/dist/shell/components/error-interceptor/index.d.ts.map +1 -0
  811. package/dist/shell/components/error-interceptor/interceptor.d.ts.map +1 -0
  812. package/dist/shell/components/index.d.ts +13 -0
  813. package/dist/shell/components/index.d.ts.map +1 -0
  814. package/dist/shell/components/language-selector/index.d.ts +3 -0
  815. package/dist/shell/components/language-selector/index.d.ts.map +1 -0
  816. package/dist/shell/components/language-selector/language-selector.vue.d.ts +4 -0
  817. package/dist/shell/components/language-selector/language-selector.vue.d.ts.map +1 -0
  818. package/dist/shell/components/logout-button/index.d.ts.map +1 -0
  819. package/dist/shell/components/logout-button/logout-button.vue.d.ts +4 -0
  820. package/dist/shell/components/logout-button/logout-button.vue.d.ts.map +1 -0
  821. package/dist/shell/components/notification-dropdown/_internal/notification/index.d.ts.map +1 -0
  822. package/dist/shell/components/notification-dropdown/_internal/notification/notification.vue.d.ts +15 -0
  823. package/dist/shell/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -0
  824. package/dist/shell/components/notification-dropdown/index.d.ts +3 -0
  825. package/dist/shell/components/notification-dropdown/index.d.ts.map +1 -0
  826. package/dist/shell/components/notification-dropdown/notification-dropdown.vue.d.ts +4 -0
  827. package/dist/shell/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -0
  828. package/dist/shell/components/notification-template/index.d.ts +3 -0
  829. package/dist/shell/components/notification-template/index.d.ts.map +1 -0
  830. package/dist/shell/components/notification-template/notification-template.vue.d.ts +29 -0
  831. package/dist/shell/components/notification-template/notification-template.vue.d.ts.map +1 -0
  832. package/dist/shell/components/settings-menu/index.d.ts.map +1 -0
  833. package/dist/shell/components/settings-menu/settings-menu.vue.d.ts +4 -0
  834. package/dist/shell/components/settings-menu/settings-menu.vue.d.ts.map +1 -0
  835. package/dist/shell/components/settings-menu-item/index.d.ts.map +1 -0
  836. package/dist/shell/components/settings-menu-item/settings-menu-item.vue.d.ts +42 -0
  837. package/dist/shell/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -0
  838. package/dist/shell/components/sidebar/index.d.ts +47 -0
  839. package/dist/shell/components/sidebar/index.d.ts.map +1 -0
  840. package/dist/shell/components/sidebar/sidebar.vue.d.ts +31 -0
  841. package/dist/shell/components/sidebar/sidebar.vue.d.ts.map +1 -0
  842. package/dist/shell/components/theme-selector/index.d.ts.map +1 -0
  843. package/dist/shell/components/theme-selector/theme-selector.vue.d.ts +4 -0
  844. package/dist/shell/components/theme-selector/theme-selector.vue.d.ts.map +1 -0
  845. package/dist/shell/components/user-dropdown-button/_internal/user-info.vue.d.ts +10 -0
  846. package/dist/shell/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -0
  847. package/dist/shell/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +14 -0
  848. package/dist/shell/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -0
  849. package/dist/shell/components/user-dropdown-button/index.d.ts +3 -0
  850. package/dist/shell/components/user-dropdown-button/index.d.ts.map +1 -0
  851. package/dist/shell/components/user-dropdown-button/user-dropdown-button.vue.d.ts +10 -0
  852. package/dist/shell/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -0
  853. package/dist/shell/dashboard/dashboard-charts/ChartContainer.vue.d.ts +17 -0
  854. package/dist/shell/dashboard/dashboard-charts/ChartContainer.vue.d.ts.map +1 -0
  855. package/dist/shell/dashboard/dashboard-charts/ChartLegend.vue.d.ts +8 -0
  856. package/dist/shell/dashboard/dashboard-charts/ChartLegend.vue.d.ts.map +1 -0
  857. package/dist/shell/dashboard/dashboard-charts/ChartTooltip.vue.d.ts +13 -0
  858. package/dist/shell/dashboard/dashboard-charts/ChartTooltip.vue.d.ts.map +1 -0
  859. package/dist/shell/dashboard/dashboard-charts/DashboardBarChart.vue.d.ts +39 -0
  860. package/dist/shell/dashboard/dashboard-charts/DashboardBarChart.vue.d.ts.map +1 -0
  861. package/dist/shell/dashboard/dashboard-charts/DashboardDonutChart.vue.d.ts +33 -0
  862. package/dist/shell/dashboard/dashboard-charts/DashboardDonutChart.vue.d.ts.map +1 -0
  863. package/dist/shell/dashboard/dashboard-charts/DashboardLineChart.vue.d.ts +39 -0
  864. package/dist/shell/dashboard/dashboard-charts/DashboardLineChart.vue.d.ts.map +1 -0
  865. package/dist/shell/dashboard/dashboard-charts/chart-utils.d.ts +29 -0
  866. package/dist/shell/dashboard/dashboard-charts/chart-utils.d.ts.map +1 -0
  867. package/dist/shell/dashboard/dashboard-charts/index.d.ts.map +1 -0
  868. package/dist/shell/dashboard/dashboard-charts/types.d.ts.map +1 -0
  869. package/dist/shell/dashboard/dashboard-widget-card/dashboard-feed-list.vue.d.ts +13 -0
  870. package/dist/shell/dashboard/dashboard-widget-card/dashboard-feed-list.vue.d.ts.map +1 -0
  871. package/dist/shell/dashboard/dashboard-widget-card/dashboard-feed-row.vue.d.ts +18 -0
  872. package/dist/shell/dashboard/dashboard-widget-card/dashboard-feed-row.vue.d.ts.map +1 -0
  873. package/dist/shell/dashboard/dashboard-widget-card/dashboard-stat-item.vue.d.ts +12 -0
  874. package/dist/shell/dashboard/dashboard-widget-card/dashboard-stat-item.vue.d.ts.map +1 -0
  875. package/dist/shell/dashboard/dashboard-widget-card/dashboard-widget-card.vue.d.ts +22 -0
  876. package/dist/shell/dashboard/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -0
  877. package/dist/shell/dashboard/dashboard-widget-card/index.d.ts +5 -0
  878. package/dist/shell/dashboard/dashboard-widget-card/index.d.ts.map +1 -0
  879. package/dist/shell/dashboard/draggable-dashboard/DraggableDashboard.vue.d.ts +21 -0
  880. package/dist/shell/dashboard/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -0
  881. package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts +22 -0
  882. package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -0
  883. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts +56 -0
  884. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts.map +1 -0
  885. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstackAdapter.d.ts +47 -0
  886. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstackAdapter.d.ts.map +1 -0
  887. package/dist/shell/dashboard/draggable-dashboard/index.d.ts +13 -0
  888. package/dist/shell/dashboard/draggable-dashboard/index.d.ts.map +1 -0
  889. package/dist/shell/dashboard/draggable-dashboard/types.d.ts.map +1 -0
  890. package/dist/shell/dashboard/index.d.ts +4 -0
  891. package/dist/shell/dashboard/index.d.ts.map +1 -0
  892. package/dist/test-helpers.d.ts +103 -14
  893. package/dist/test-helpers.d.ts.map +1 -1
  894. package/dist/test-mock-factories.d.ts +48 -0
  895. package/dist/test-mock-factories.d.ts.map +1 -0
  896. package/dist/tsconfig.tsbuildinfo +1 -1
  897. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +5 -4
  898. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  899. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts +3 -2
  900. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
  901. package/dist/ui/components/atoms/vc-button/index.d.ts +1 -1
  902. package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
  903. package/dist/ui/components/atoms/vc-button/vc-button-group.vue.d.ts +3 -2
  904. package/dist/ui/components/atoms/vc-button/vc-button-group.vue.d.ts.map +1 -1
  905. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +5 -4
  906. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  907. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +3 -2
  908. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
  909. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +3 -2
  910. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
  911. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +5 -4
  912. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  913. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +3 -2
  914. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
  915. package/dist/ui/components/atoms/vc-icon/composables/index.d.ts +1 -2
  916. package/dist/ui/components/atoms/vc-icon/composables/index.d.ts.map +1 -1
  917. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts +2 -1
  918. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -1
  919. package/dist/ui/components/atoms/vc-icon/types.d.ts +15 -2
  920. package/dist/ui/components/atoms/vc-icon/types.d.ts.map +1 -1
  921. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +3 -1
  922. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
  923. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +4 -2
  924. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
  925. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +5 -3
  926. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  927. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +2 -1
  928. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
  929. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +3 -1
  930. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  931. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +2 -1
  932. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts.map +1 -1
  933. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +5 -1
  934. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  935. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +3 -2
  936. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  937. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +3 -2
  938. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
  939. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +2 -1
  940. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  941. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +3 -2
  942. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  943. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +3 -2
  944. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
  945. package/dist/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue.d.ts +6 -5
  946. package/dist/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue.d.ts.map +1 -1
  947. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +3 -2
  948. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
  949. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +3 -2
  950. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
  951. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts +2 -1
  952. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
  953. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +5 -4
  954. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  955. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +2 -1
  956. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
  957. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +3 -1
  958. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  959. package/dist/ui/components/molecules/index.d.ts +2 -0
  960. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  961. package/dist/ui/components/molecules/multilanguage-selector/index.d.ts +2 -0
  962. package/dist/ui/components/molecules/multilanguage-selector/index.d.ts.map +1 -0
  963. package/dist/ui/components/molecules/multilanguage-selector/multilanguage-selector.vue.d.ts +44 -0
  964. package/dist/ui/components/molecules/multilanguage-selector/multilanguage-selector.vue.d.ts.map +1 -0
  965. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +4 -3
  966. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
  967. package/dist/ui/components/molecules/vc-accordion/index.d.ts +1 -1
  968. package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -1
  969. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +4 -3
  970. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
  971. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +2 -1
  972. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
  973. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +4 -3
  974. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  975. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +13 -8
  976. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  977. package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts +13 -8
  978. package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts.map +1 -1
  979. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +3 -2
  980. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  981. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +3 -2
  982. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
  983. package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts +2 -1
  984. package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts.map +1 -1
  985. package/dist/ui/components/molecules/vc-dropdown/index.d.ts +1 -1
  986. package/dist/ui/components/molecules/vc-dropdown/index.d.ts.map +1 -1
  987. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +15 -10
  988. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
  989. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +9 -8
  990. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
  991. package/dist/ui/components/molecules/vc-editor/_internal/extensions/font-size.d.ts +3 -3
  992. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +2 -1
  993. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts.map +1 -1
  994. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts +2 -1
  995. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts.map +1 -1
  996. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts +2 -1
  997. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts.map +1 -1
  998. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +4 -3
  999. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
  1000. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +6 -5
  1001. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  1002. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +3 -2
  1003. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
  1004. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +4 -22
  1005. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  1006. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -2
  1007. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  1008. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +3 -2
  1009. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
  1010. package/dist/ui/components/molecules/vc-image-tile/index.d.ts +3 -0
  1011. package/dist/ui/components/molecules/vc-image-tile/index.d.ts.map +1 -0
  1012. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts +41 -0
  1013. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts.map +1 -0
  1014. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +32 -54
  1015. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  1016. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +2 -1
  1017. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  1018. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -1
  1019. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -1
  1020. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +3 -2
  1021. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  1022. package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts +7 -6
  1023. package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts.map +1 -1
  1024. package/dist/ui/components/molecules/vc-menu/index.d.ts +1 -1
  1025. package/dist/ui/components/molecules/vc-menu/index.d.ts.map +1 -1
  1026. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +4 -3
  1027. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
  1028. package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +4 -3
  1029. package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -1
  1030. package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts +4 -3
  1031. package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts.map +1 -1
  1032. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts +3 -2
  1033. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts.map +1 -1
  1034. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +7 -6
  1035. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts.map +1 -1
  1036. package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts +1 -1
  1037. package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts.map +1 -1
  1038. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +15 -10
  1039. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  1040. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +3 -2
  1041. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  1042. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +13 -8
  1043. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  1044. package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts +13 -8
  1045. package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts.map +1 -1
  1046. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +3 -2
  1047. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  1048. package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts +3 -2
  1049. package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts.map +1 -1
  1050. package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts +5 -4
  1051. package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts.map +1 -1
  1052. package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -1
  1053. package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
  1054. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -1
  1055. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
  1056. package/dist/ui/components/molecules/vc-select/composables/useSelectValueMapping.d.ts.map +1 -1
  1057. package/dist/ui/components/molecules/vc-select/composables/useSelectVisibility.d.ts.map +1 -1
  1058. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +24 -36
  1059. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  1060. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +8 -7
  1061. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  1062. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts +3 -2
  1063. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
  1064. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +3 -2
  1065. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  1066. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +3 -2
  1067. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
  1068. package/dist/ui/components/organisms/index.d.ts +1 -1
  1069. package/dist/ui/components/organisms/index.d.ts.map +1 -1
  1070. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue.d.ts +2 -1
  1071. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue.d.ts.map +1 -1
  1072. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts +5 -4
  1073. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts.map +1 -1
  1074. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue.d.ts +2 -1
  1075. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue.d.ts.map +1 -1
  1076. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts +3 -2
  1077. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts.map +1 -1
  1078. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue.d.ts +2 -1
  1079. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue.d.ts.map +1 -1
  1080. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts +3 -2
  1081. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
  1082. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts +3 -2
  1083. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts.map +1 -1
  1084. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts +4 -3
  1085. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts.map +1 -1
  1086. package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts +3 -3
  1087. package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts.map +1 -1
  1088. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +10 -5
  1089. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  1090. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +10 -5
  1091. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
  1092. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts +3 -1
  1093. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
  1094. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue.d.ts +2 -1
  1095. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue.d.ts.map +1 -1
  1096. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts +7 -2
  1097. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
  1098. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +7 -6
  1099. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
  1100. package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts +1 -1
  1101. package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
  1102. package/dist/ui/components/organisms/vc-app/composables/useShellNavigation.d.ts.map +1 -1
  1103. package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +1 -1
  1104. package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts.map +1 -1
  1105. package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts +1 -1
  1106. package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts.map +1 -1
  1107. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +8 -4
  1108. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  1109. package/dist/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue.d.ts +3 -2
  1110. package/dist/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue.d.ts.map +1 -1
  1111. package/dist/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue.d.ts +2 -1
  1112. package/dist/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue.d.ts.map +1 -1
  1113. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +7 -6
  1114. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  1115. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts +2 -1
  1116. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts.map +1 -1
  1117. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts +2 -1
  1118. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
  1119. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +6 -5
  1120. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
  1121. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts +2 -1
  1122. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts.map +1 -1
  1123. package/dist/ui/components/organisms/vc-blade/_internal/composables/useBladeError.d.ts +2 -2
  1124. package/dist/ui/components/organisms/vc-blade/_internal/composables/useBladeError.d.ts.map +1 -1
  1125. package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts +2 -2
  1126. package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts.map +1 -1
  1127. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +3 -2
  1128. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
  1129. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue.d.ts +2 -1
  1130. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue.d.ts.map +1 -1
  1131. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts +2 -1
  1132. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts.map +1 -1
  1133. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts +2 -1
  1134. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts.map +1 -1
  1135. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue.d.ts +2 -1
  1136. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue.d.ts.map +1 -1
  1137. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts +2 -1
  1138. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
  1139. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts +2 -1
  1140. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts.map +1 -1
  1141. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetScope.vue.d.ts +17 -0
  1142. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetScope.vue.d.ts.map +1 -0
  1143. package/dist/ui/components/organisms/vc-blade/_internal/widgets/useHeadlessWidgetHelpers.d.ts +9 -0
  1144. package/dist/ui/components/organisms/vc-blade/_internal/widgets/useHeadlessWidgetHelpers.d.ts.map +1 -0
  1145. package/dist/ui/components/organisms/vc-blade/utils.d.ts +3 -3
  1146. package/dist/ui/components/organisms/vc-blade/utils.d.ts.map +1 -1
  1147. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +6 -33
  1148. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  1149. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts +308 -0
  1150. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -0
  1151. package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts +132 -0
  1152. package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -0
  1153. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +32 -0
  1154. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -0
  1155. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +31 -0
  1156. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -0
  1157. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +20 -0
  1158. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -0
  1159. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +11 -0
  1160. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -0
  1161. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +23 -0
  1162. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -0
  1163. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +27 -0
  1164. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -0
  1165. package/dist/ui/components/organisms/vc-data-table/base/BaseVcDataTable.d.ts +377 -0
  1166. package/dist/ui/components/organisms/vc-data-table/base/BaseVcDataTable.d.ts.map +1 -0
  1167. package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts +59 -0
  1168. package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -0
  1169. package/dist/ui/components/organisms/vc-data-table/components/ColumnSwitcherButton.vue.d.ts +14 -0
  1170. package/dist/ui/components/organisms/vc-data-table/components/ColumnSwitcherButton.vue.d.ts.map +1 -0
  1171. package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts +161 -0
  1172. package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -0
  1173. package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts +54 -0
  1174. package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -0
  1175. package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts +83 -0
  1176. package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts.map +1 -0
  1177. package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts +122 -0
  1178. package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts.map +1 -0
  1179. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersButton.vue.d.ts +17 -0
  1180. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersButton.vue.d.ts.map +1 -0
  1181. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts +45 -0
  1182. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -0
  1183. package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts +26 -0
  1184. package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -0
  1185. package/dist/ui/components/organisms/vc-data-table/components/TableActions.vue.d.ts +23 -0
  1186. package/dist/ui/components/organisms/vc-data-table/components/TableActions.vue.d.ts.map +1 -0
  1187. package/dist/ui/components/organisms/vc-data-table/components/TableAddRowButton.vue.d.ts +17 -0
  1188. package/dist/ui/components/organisms/vc-data-table/components/TableAddRowButton.vue.d.ts.map +1 -0
  1189. package/dist/ui/components/organisms/vc-data-table/components/TableBody.vue.d.ts +32 -0
  1190. package/dist/ui/components/organisms/vc-data-table/components/TableBody.vue.d.ts.map +1 -0
  1191. package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts +44 -0
  1192. package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -0
  1193. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts +16 -0
  1194. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts.map +1 -0
  1195. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts +32 -0
  1196. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts.map +1 -0
  1197. package/dist/ui/components/organisms/vc-data-table/components/TableEmpty.vue.d.ts +28 -0
  1198. package/dist/ui/components/organisms/vc-data-table/components/TableEmpty.vue.d.ts.map +1 -0
  1199. package/dist/ui/components/organisms/vc-data-table/components/TableFooter.vue.d.ts +14 -0
  1200. package/dist/ui/components/organisms/vc-data-table/components/TableFooter.vue.d.ts.map +1 -0
  1201. package/dist/ui/components/organisms/vc-data-table/components/TableGroupRow.vue.d.ts +30 -0
  1202. package/dist/ui/components/organisms/vc-data-table/components/TableGroupRow.vue.d.ts.map +1 -0
  1203. package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts +76 -0
  1204. package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -0
  1205. package/dist/ui/components/organisms/vc-data-table/components/TableHeader.vue.d.ts +14 -0
  1206. package/dist/ui/components/organisms/vc-data-table/components/TableHeader.vue.d.ts.map +1 -0
  1207. package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts +18 -0
  1208. package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts.map +1 -0
  1209. package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts +77 -0
  1210. package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -0
  1211. package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts +51 -0
  1212. package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -0
  1213. package/dist/ui/components/organisms/vc-data-table/components/TableSearchHeader.vue.d.ts +69 -0
  1214. package/dist/ui/components/organisms/vc-data-table/components/TableSearchHeader.vue.d.ts.map +1 -0
  1215. package/dist/ui/components/organisms/vc-data-table/components/TableSelectAllBar.vue.d.ts +29 -0
  1216. package/dist/ui/components/organisms/vc-data-table/components/TableSelectAllBar.vue.d.ts.map +1 -0
  1217. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +362 -0
  1218. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts.map +1 -0
  1219. package/dist/ui/components/organisms/vc-data-table/components/_internal/SlotProxy.d.ts.map +1 -0
  1220. package/dist/ui/components/organisms/vc-data-table/components/_internal/TableSkeletonRows.vue.d.ts +18 -0
  1221. package/dist/ui/components/organisms/vc-data-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -0
  1222. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDate.vue.d.ts +12 -0
  1223. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDate.vue.d.ts.map +1 -0
  1224. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDateAgo.vue.d.ts +8 -0
  1225. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDateAgo.vue.d.ts.map +1 -0
  1226. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDefault.vue.d.ts +40 -0
  1227. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDefault.vue.d.ts.map +1 -0
  1228. package/dist/ui/components/organisms/vc-data-table/components/cells/CellEditableWrapper.vue.d.ts +29 -0
  1229. package/dist/ui/components/organisms/vc-data-table/components/cells/CellEditableWrapper.vue.d.ts.map +1 -0
  1230. package/dist/ui/components/organisms/vc-data-table/components/cells/CellHtml.vue.d.ts +10 -0
  1231. package/dist/ui/components/organisms/vc-data-table/components/cells/CellHtml.vue.d.ts.map +1 -0
  1232. package/dist/ui/components/organisms/vc-data-table/components/cells/CellImage.vue.d.ts +10 -0
  1233. package/dist/ui/components/organisms/vc-data-table/components/cells/CellImage.vue.d.ts.map +1 -0
  1234. package/dist/ui/components/organisms/vc-data-table/components/cells/CellLink.vue.d.ts +8 -0
  1235. package/dist/ui/components/organisms/vc-data-table/components/cells/CellLink.vue.d.ts.map +1 -0
  1236. package/dist/ui/components/organisms/vc-data-table/components/cells/CellMoney.vue.d.ts +42 -0
  1237. package/dist/ui/components/organisms/vc-data-table/components/cells/CellMoney.vue.d.ts.map +1 -0
  1238. package/dist/ui/components/organisms/vc-data-table/components/cells/CellNumber.vue.d.ts +40 -0
  1239. package/dist/ui/components/organisms/vc-data-table/components/cells/CellNumber.vue.d.ts.map +1 -0
  1240. package/dist/ui/components/organisms/vc-data-table/components/cells/CellStatus.vue.d.ts +8 -0
  1241. package/dist/ui/components/organisms/vc-data-table/components/cells/CellStatus.vue.d.ts.map +1 -0
  1242. package/dist/ui/components/organisms/vc-data-table/components/cells/CellStatusIcon.vue.d.ts +8 -0
  1243. package/dist/ui/components/organisms/vc-data-table/components/cells/CellStatusIcon.vue.d.ts.map +1 -0
  1244. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts +48 -0
  1245. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts.map +1 -0
  1246. package/dist/ui/components/organisms/vc-data-table/components/cells/index.d.ts +12 -0
  1247. package/dist/ui/components/organisms/vc-data-table/components/cells/index.d.ts.map +1 -0
  1248. package/dist/ui/components/organisms/vc-data-table/components/index.d.ts +27 -0
  1249. package/dist/ui/components/organisms/vc-data-table/components/index.d.ts.map +1 -0
  1250. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts +54 -0
  1251. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -0
  1252. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts +66 -0
  1253. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -0
  1254. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts +32 -0
  1255. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts.map +1 -0
  1256. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts +51 -0
  1257. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts.map +1 -0
  1258. package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts +43 -0
  1259. package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -0
  1260. package/dist/ui/components/organisms/vc-data-table/components/mobile/index.d.ts +6 -0
  1261. package/dist/ui/components/organisms/vc-data-table/components/mobile/index.d.ts.map +1 -0
  1262. package/dist/ui/components/organisms/vc-data-table/composables/index.d.ts +31 -0
  1263. package/dist/ui/components/organisms/vc-data-table/composables/index.d.ts.map +1 -0
  1264. package/dist/ui/components/organisms/vc-data-table/composables/useCellBase.d.ts.map +1 -0
  1265. package/dist/ui/components/organisms/vc-data-table/composables/useCellRegistry.d.ts.map +1 -0
  1266. package/dist/ui/components/organisms/vc-data-table/composables/useColumnFilter.d.ts +38 -0
  1267. package/dist/ui/components/organisms/vc-data-table/composables/useColumnFilter.d.ts.map +1 -0
  1268. package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts +46 -0
  1269. package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts.map +1 -0
  1270. package/dist/ui/components/organisms/vc-data-table/composables/useDataProcessing.d.ts +34 -0
  1271. package/dist/ui/components/organisms/vc-data-table/composables/useDataProcessing.d.ts.map +1 -0
  1272. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +279 -0
  1273. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -0
  1274. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts +30 -0
  1275. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -0
  1276. package/dist/ui/components/organisms/vc-data-table/composables/useMobileCardLayout.d.ts +48 -0
  1277. package/dist/ui/components/organisms/vc-data-table/composables/useMobileCardLayout.d.ts.map +1 -0
  1278. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts +53 -0
  1279. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -0
  1280. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts +30 -0
  1281. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -0
  1282. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +36 -0
  1283. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -0
  1284. package/dist/ui/components/organisms/vc-data-table/composables/useTableContext.d.ts +8 -0
  1285. package/dist/ui/components/organisms/vc-data-table/composables/useTableContext.d.ts.map +1 -0
  1286. package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -0
  1287. package/dist/ui/components/organisms/vc-data-table/composables/useTableExpansion.d.ts +44 -0
  1288. package/dist/ui/components/organisms/vc-data-table/composables/useTableExpansion.d.ts.map +1 -0
  1289. package/dist/ui/components/organisms/vc-data-table/composables/useTableFilter.d.ts +25 -0
  1290. package/dist/ui/components/organisms/vc-data-table/composables/useTableFilter.d.ts.map +1 -0
  1291. package/dist/ui/components/organisms/vc-data-table/composables/useTableInlineEdit.d.ts +69 -0
  1292. package/dist/ui/components/organisms/vc-data-table/composables/useTableInlineEdit.d.ts.map +1 -0
  1293. package/dist/ui/components/organisms/vc-data-table/composables/useTableRowGrouping.d.ts.map +1 -0
  1294. package/dist/ui/components/organisms/vc-data-table/composables/useTableRowReorder.d.ts +32 -0
  1295. package/dist/ui/components/organisms/vc-data-table/composables/useTableRowReorder.d.ts.map +1 -0
  1296. package/dist/ui/components/organisms/vc-data-table/composables/useTableSelectionV2.d.ts.map +1 -0
  1297. package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts +48 -0
  1298. package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts.map +1 -0
  1299. package/dist/ui/components/organisms/vc-data-table/composables/useTableSwipe.d.ts.map +1 -0
  1300. package/dist/ui/components/organisms/vc-data-table/composables/useVirtualScroll.d.ts.map +1 -0
  1301. package/dist/ui/components/organisms/vc-data-table/index.d.ts +13 -0
  1302. package/dist/ui/components/organisms/vc-data-table/index.d.ts.map +1 -0
  1303. package/dist/ui/components/organisms/vc-data-table/keys.d.ts +22 -0
  1304. package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -0
  1305. package/dist/ui/components/organisms/vc-data-table/types.d.ts +842 -0
  1306. package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -0
  1307. package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts +67 -0
  1308. package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts.map +1 -0
  1309. package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts +30 -0
  1310. package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts.map +1 -0
  1311. package/dist/ui/components/organisms/vc-data-table/utils/deepClone.d.ts.map +1 -0
  1312. package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts +10 -0
  1313. package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts.map +1 -0
  1314. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +20 -15
  1315. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  1316. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +42 -0
  1317. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -0
  1318. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +14 -11
  1319. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  1320. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +7 -5
  1321. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  1322. package/dist/ui/components/organisms/vc-gallery/composables/index.d.ts +1 -0
  1323. package/dist/ui/components/organisms/vc-gallery/composables/index.d.ts.map +1 -1
  1324. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryFilmstrip.d.ts +16 -0
  1325. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryFilmstrip.d.ts.map +1 -0
  1326. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts +2 -2
  1327. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts.map +1 -1
  1328. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts +7 -12
  1329. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts.map +1 -1
  1330. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts +2 -2
  1331. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts.map +1 -1
  1332. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +42 -44
  1333. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  1334. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +8 -6
  1335. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
  1336. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +5 -4
  1337. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  1338. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +8 -7
  1339. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  1340. package/dist/ui/composables/index.d.ts +5 -0
  1341. package/dist/ui/composables/index.d.ts.map +1 -1
  1342. package/dist/ui/composables/useAdaptiveItems.d.ts +9 -8
  1343. package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -1
  1344. package/dist/ui/composables/useBladeLoading/index.d.ts +6 -0
  1345. package/dist/ui/composables/useBladeLoading/index.d.ts.map +1 -0
  1346. package/dist/ui/composables/useCollapsible.d.ts.map +1 -1
  1347. package/dist/ui/composables/useDataTablePagination.d.ts +30 -0
  1348. package/dist/ui/composables/useDataTablePagination.d.ts.map +1 -0
  1349. package/dist/ui/composables/useDataTableSort.d.ts +24 -0
  1350. package/dist/ui/composables/useDataTableSort.d.ts.map +1 -0
  1351. package/dist/ui/composables/useScrollArrows.d.ts.map +1 -1
  1352. package/dist/ui/composables/useTableSelection.d.ts.map +1 -0
  1353. package/dist/ui/composables/useTableSort.d.ts.map +1 -0
  1354. package/dist/ui/index.d.ts +5 -0
  1355. package/dist/ui/index.d.ts.map +1 -0
  1356. package/dist/ui/index.js +149 -0
  1357. package/dist/ui/index.js.map +1 -0
  1358. package/dist/ui/types/index.d.ts +1 -7
  1359. package/dist/ui/types/index.d.ts.map +1 -1
  1360. package/dist/ui/utilities/index.d.ts +2 -0
  1361. package/dist/ui/utilities/index.d.ts.map +1 -0
  1362. package/dist/vitest-axe.setup.d.ts.map +1 -1
  1363. package/dist/vitest-mocks.setup.d.ts +2 -0
  1364. package/dist/vitest-mocks.setup.d.ts.map +1 -0
  1365. package/globals-augments.d.ts +36 -0
  1366. package/globals.d.ts +22 -0
  1367. package/package.json +52 -15
  1368. package/shims-vue.d.ts +14 -0
  1369. package/typings/blade-macros.d.ts +25 -0
  1370. package/typings/shims-vue.d.ts +43 -0
  1371. package/dist/core/composables/useGlobalSearch/index.d.ts +0 -5
  1372. package/dist/core/composables/useGlobalSearch/index.d.ts.map +0 -1
  1373. package/dist/core/constants/ui.d.ts +0 -50
  1374. package/dist/core/constants/ui.d.ts.map +0 -1
  1375. package/dist/locales/de.json +0 -426
  1376. package/dist/shared/components/app-switcher/components/index.d.ts +0 -2
  1377. package/dist/shared/components/app-switcher/components/index.d.ts.map +0 -1
  1378. package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +0 -2
  1379. package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts.map +0 -1
  1380. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +0 -13
  1381. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +0 -1
  1382. package/dist/shared/components/app-switcher/composables/index.d.ts +0 -2
  1383. package/dist/shared/components/app-switcher/composables/index.d.ts.map +0 -1
  1384. package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts +0 -10
  1385. package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +0 -1
  1386. package/dist/shared/components/app-switcher/index.d.ts +0 -14
  1387. package/dist/shared/components/app-switcher/index.d.ts.map +0 -1
  1388. package/dist/shared/components/blade-navigation/components/index.d.ts +0 -3
  1389. package/dist/shared/components/blade-navigation/components/index.d.ts.map +0 -1
  1390. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +0 -8
  1391. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +0 -1
  1392. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +0 -3
  1393. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts.map +0 -1
  1394. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts +0 -3
  1395. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +0 -1
  1396. package/dist/shared/components/blade-navigation/components/vc-blade-slot/index.d.ts +0 -2
  1397. package/dist/shared/components/blade-navigation/components/vc-blade-slot/index.d.ts.map +0 -1
  1398. package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts +0 -20
  1399. package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +0 -1
  1400. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +0 -26
  1401. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +0 -1
  1402. package/dist/shared/components/blade-navigation/composables/index.d.ts +0 -6
  1403. package/dist/shared/components/blade-navigation/composables/index.d.ts.map +0 -1
  1404. package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts +0 -18
  1405. package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts.map +0 -1
  1406. package/dist/shared/components/blade-navigation/composables/useBladeNavigationAdapter.d.ts +0 -33
  1407. package/dist/shared/components/blade-navigation/composables/useBladeNavigationAdapter.d.ts.map +0 -1
  1408. package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts +0 -19
  1409. package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts.map +0 -1
  1410. package/dist/shared/components/blade-navigation/index.d.ts +0 -5
  1411. package/dist/shared/components/blade-navigation/index.d.ts.map +0 -1
  1412. package/dist/shared/components/blade-navigation/plugin-v2.d.ts +0 -39
  1413. package/dist/shared/components/blade-navigation/plugin-v2.d.ts.map +0 -1
  1414. package/dist/shared/components/blade-navigation/types/index.d.ts +0 -216
  1415. package/dist/shared/components/blade-navigation/types/index.d.ts.map +0 -1
  1416. package/dist/shared/components/blade-navigation/utils/bladeRouterGuard.d.ts +0 -31
  1417. package/dist/shared/components/blade-navigation/utils/bladeRouterGuard.d.ts.map +0 -1
  1418. package/dist/shared/components/blade-navigation/utils/navigateToMainRoute.d.ts.map +0 -1
  1419. package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts +0 -23
  1420. package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts.map +0 -1
  1421. package/dist/shared/components/blade-navigation/utils/urlSync.d.ts +0 -54
  1422. package/dist/shared/components/blade-navigation/utils/urlSync.d.ts.map +0 -1
  1423. package/dist/shared/components/change-password/change-password.vue.d.ts +0 -11
  1424. package/dist/shared/components/change-password/change-password.vue.d.ts.map +0 -1
  1425. package/dist/shared/components/change-password/index.d.ts +0 -8
  1426. package/dist/shared/components/change-password/index.d.ts.map +0 -1
  1427. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts +0 -3
  1428. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +0 -1
  1429. package/dist/shared/components/change-password-button/index.d.ts.map +0 -1
  1430. package/dist/shared/components/common/popup/vc-popup-base.vue.d.ts +0 -50
  1431. package/dist/shared/components/common/popup/vc-popup-base.vue.d.ts.map +0 -1
  1432. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +0 -23
  1433. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +0 -1
  1434. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +0 -23
  1435. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +0 -1
  1436. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +0 -26
  1437. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +0 -1
  1438. package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts +0 -16
  1439. package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts.map +0 -1
  1440. package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts +0 -7
  1441. package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts.map +0 -1
  1442. package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts +0 -12
  1443. package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts.map +0 -1
  1444. package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts +0 -34
  1445. package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts.map +0 -1
  1446. package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts +0 -28
  1447. package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts.map +0 -1
  1448. package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts +0 -34
  1449. package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts.map +0 -1
  1450. package/dist/shared/components/dashboard-charts/chart-utils.d.ts +0 -29
  1451. package/dist/shared/components/dashboard-charts/chart-utils.d.ts.map +0 -1
  1452. package/dist/shared/components/dashboard-charts/index.d.ts.map +0 -1
  1453. package/dist/shared/components/dashboard-charts/types.d.ts.map +0 -1
  1454. package/dist/shared/components/dashboard-widget-card/dashboard-feed-list.vue.d.ts +0 -12
  1455. package/dist/shared/components/dashboard-widget-card/dashboard-feed-list.vue.d.ts.map +0 -1
  1456. package/dist/shared/components/dashboard-widget-card/dashboard-feed-row.vue.d.ts +0 -17
  1457. package/dist/shared/components/dashboard-widget-card/dashboard-feed-row.vue.d.ts.map +0 -1
  1458. package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.vue.d.ts +0 -11
  1459. package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.vue.d.ts.map +0 -1
  1460. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +0 -21
  1461. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +0 -1
  1462. package/dist/shared/components/dashboard-widget-card/index.d.ts +0 -5
  1463. package/dist/shared/components/dashboard-widget-card/index.d.ts.map +0 -1
  1464. package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts +0 -20
  1465. package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +0 -1
  1466. package/dist/shared/components/draggable-dashboard/GridstackDashboard.vue.d.ts +0 -21
  1467. package/dist/shared/components/draggable-dashboard/GridstackDashboard.vue.d.ts.map +0 -1
  1468. package/dist/shared/components/draggable-dashboard/composables/useGridstack.d.ts +0 -56
  1469. package/dist/shared/components/draggable-dashboard/composables/useGridstack.d.ts.map +0 -1
  1470. package/dist/shared/components/draggable-dashboard/composables/useGridstackAdapter.d.ts +0 -47
  1471. package/dist/shared/components/draggable-dashboard/composables/useGridstackAdapter.d.ts.map +0 -1
  1472. package/dist/shared/components/draggable-dashboard/index.d.ts +0 -13
  1473. package/dist/shared/components/draggable-dashboard/index.d.ts.map +0 -1
  1474. package/dist/shared/components/draggable-dashboard/types.d.ts.map +0 -1
  1475. package/dist/shared/components/error-interceptor/index.d.ts +0 -19
  1476. package/dist/shared/components/error-interceptor/index.d.ts.map +0 -1
  1477. package/dist/shared/components/error-interceptor/interceptor.d.ts.map +0 -1
  1478. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +0 -52
  1479. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +0 -1
  1480. package/dist/shared/components/generic-dropdown/index.d.ts +0 -73
  1481. package/dist/shared/components/generic-dropdown/index.d.ts.map +0 -1
  1482. package/dist/shared/components/index.d.ts +0 -26
  1483. package/dist/shared/components/index.d.ts.map +0 -1
  1484. package/dist/shared/components/language-selector/index.d.ts +0 -8
  1485. package/dist/shared/components/language-selector/index.d.ts.map +0 -1
  1486. package/dist/shared/components/language-selector/language-selector.vue.d.ts +0 -3
  1487. package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +0 -1
  1488. package/dist/shared/components/logout-button/index.d.ts.map +0 -1
  1489. package/dist/shared/components/logout-button/logout-button.vue.d.ts +0 -3
  1490. package/dist/shared/components/logout-button/logout-button.vue.d.ts.map +0 -1
  1491. package/dist/shared/components/multilanguage-selector/index.d.ts +0 -2
  1492. package/dist/shared/components/multilanguage-selector/index.d.ts.map +0 -1
  1493. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +0 -43
  1494. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts.map +0 -1
  1495. package/dist/shared/components/notification-dropdown/_internal/notification/index.d.ts.map +0 -1
  1496. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +0 -16
  1497. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +0 -1
  1498. package/dist/shared/components/notification-dropdown/index.d.ts +0 -8
  1499. package/dist/shared/components/notification-dropdown/index.d.ts.map +0 -1
  1500. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +0 -3
  1501. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +0 -1
  1502. package/dist/shared/components/notification-template/index.d.ts +0 -8
  1503. package/dist/shared/components/notification-template/index.d.ts.map +0 -1
  1504. package/dist/shared/components/notification-template/notification-template.vue.d.ts +0 -25
  1505. package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +0 -1
  1506. package/dist/shared/components/notifications/components/index.d.ts +0 -2
  1507. package/dist/shared/components/notifications/components/index.d.ts.map +0 -1
  1508. package/dist/shared/components/notifications/components/notification-container/index.d.ts +0 -120
  1509. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +0 -1
  1510. package/dist/shared/components/notifications/composables/index.d.ts +0 -3
  1511. package/dist/shared/components/notifications/composables/index.d.ts.map +0 -1
  1512. package/dist/shared/components/notifications/composables/useContainer/index.d.ts +0 -23
  1513. package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +0 -1
  1514. package/dist/shared/components/notifications/composables/useInstance/index.d.ts +0 -11
  1515. package/dist/shared/components/notifications/composables/useInstance/index.d.ts.map +0 -1
  1516. package/dist/shared/components/notifications/core/index.d.ts +0 -2
  1517. package/dist/shared/components/notifications/core/index.d.ts.map +0 -1
  1518. package/dist/shared/components/notifications/core/notification.d.ts +0 -18
  1519. package/dist/shared/components/notifications/core/notification.d.ts.map +0 -1
  1520. package/dist/shared/components/notifications/index.d.ts +0 -6
  1521. package/dist/shared/components/notifications/index.d.ts.map +0 -1
  1522. package/dist/shared/components/notifications/types/index.d.ts +0 -27
  1523. package/dist/shared/components/notifications/types/index.d.ts.map +0 -1
  1524. package/dist/shared/components/popup-handler/components/index.d.ts +0 -2
  1525. package/dist/shared/components/popup-handler/components/index.d.ts.map +0 -1
  1526. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +0 -3
  1527. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts.map +0 -1
  1528. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts +0 -3
  1529. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +0 -1
  1530. package/dist/shared/components/popup-handler/composables/index.d.ts +0 -2
  1531. package/dist/shared/components/popup-handler/composables/index.d.ts.map +0 -1
  1532. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +0 -14
  1533. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +0 -1
  1534. package/dist/shared/components/popup-handler/index.d.ts +0 -16
  1535. package/dist/shared/components/popup-handler/index.d.ts.map +0 -1
  1536. package/dist/shared/components/popup-handler/keys.d.ts +0 -4
  1537. package/dist/shared/components/popup-handler/keys.d.ts.map +0 -1
  1538. package/dist/shared/components/popup-handler/plugin.d.ts +0 -7
  1539. package/dist/shared/components/popup-handler/plugin.d.ts.map +0 -1
  1540. package/dist/shared/components/popup-handler/types/index.d.ts +0 -22
  1541. package/dist/shared/components/popup-handler/types/index.d.ts.map +0 -1
  1542. package/dist/shared/components/popup-handler/utils/index.d.ts.map +0 -1
  1543. package/dist/shared/components/settings-menu/index.d.ts.map +0 -1
  1544. package/dist/shared/components/settings-menu/settings-menu.vue.d.ts +0 -3
  1545. package/dist/shared/components/settings-menu/settings-menu.vue.d.ts.map +0 -1
  1546. package/dist/shared/components/settings-menu-item/index.d.ts.map +0 -1
  1547. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts +0 -40
  1548. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +0 -1
  1549. package/dist/shared/components/sidebar/index.d.ts +0 -47
  1550. package/dist/shared/components/sidebar/index.d.ts.map +0 -1
  1551. package/dist/shared/components/sidebar/sidebar.vue.d.ts +0 -30
  1552. package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +0 -1
  1553. package/dist/shared/components/sign-in/external-provider.vue.d.ts +0 -15
  1554. package/dist/shared/components/sign-in/external-provider.vue.d.ts.map +0 -1
  1555. package/dist/shared/components/sign-in/external-providers.vue.d.ts +0 -7
  1556. package/dist/shared/components/sign-in/external-providers.vue.d.ts.map +0 -1
  1557. package/dist/shared/components/sign-in/index.d.ts +0 -2
  1558. package/dist/shared/components/sign-in/index.d.ts.map +0 -1
  1559. package/dist/shared/components/sign-in/useExternalProvider.d.ts +0 -12
  1560. package/dist/shared/components/sign-in/useExternalProvider.d.ts.map +0 -1
  1561. package/dist/shared/components/theme-selector/index.d.ts.map +0 -1
  1562. package/dist/shared/components/theme-selector/theme-selector.vue.d.ts +0 -3
  1563. package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +0 -1
  1564. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts +0 -9
  1565. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +0 -1
  1566. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +0 -13
  1567. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +0 -1
  1568. package/dist/shared/components/user-dropdown-button/index.d.ts +0 -8
  1569. package/dist/shared/components/user-dropdown-button/index.d.ts.map +0 -1
  1570. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +0 -9
  1571. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +0 -1
  1572. package/dist/shared/composables/index.d.ts +0 -6
  1573. package/dist/shared/composables/index.d.ts.map +0 -1
  1574. package/dist/shared/composables/useExternalWidgets.d.ts +0 -10
  1575. package/dist/shared/composables/useExternalWidgets.d.ts.map +0 -1
  1576. package/dist/shared/composables/useMenuExpanded.d.ts +0 -9
  1577. package/dist/shared/composables/useMenuExpanded.d.ts.map +0 -1
  1578. package/dist/shared/composables/useModificationTracker/index.d.ts.map +0 -1
  1579. package/dist/shared/composables/useTableSelection.d.ts.map +0 -1
  1580. package/dist/shared/composables/useTableSort.d.ts.map +0 -1
  1581. package/dist/shared/index.d.ts +0 -13
  1582. package/dist/shared/index.d.ts.map +0 -1
  1583. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +0 -33
  1584. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +0 -1
  1585. package/dist/shared/modules/assets/components/assets-details/index.d.ts +0 -3
  1586. package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +0 -1
  1587. package/dist/shared/modules/assets/components/index.d.ts +0 -2
  1588. package/dist/shared/modules/assets/components/index.d.ts.map +0 -1
  1589. package/dist/shared/modules/assets/index.d.ts +0 -13
  1590. package/dist/shared/modules/assets/index.d.ts.map +0 -1
  1591. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +0 -41
  1592. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +0 -1
  1593. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +0 -3
  1594. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +0 -1
  1595. package/dist/shared/modules/assets-manager/components/index.d.ts +0 -2
  1596. package/dist/shared/modules/assets-manager/components/index.d.ts.map +0 -1
  1597. package/dist/shared/modules/assets-manager/index.d.ts +0 -13
  1598. package/dist/shared/modules/assets-manager/index.d.ts.map +0 -1
  1599. package/dist/shared/modules/index.d.ts +0 -3
  1600. package/dist/shared/modules/index.d.ts.map +0 -1
  1601. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +0 -8
  1602. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +0 -1
  1603. package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts +0 -3
  1604. package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts.map +0 -1
  1605. package/dist/shared/pages/ChangePasswordPage/components/index.d.ts +0 -2
  1606. package/dist/shared/pages/ChangePasswordPage/components/index.d.ts.map +0 -1
  1607. package/dist/shared/pages/ChangePasswordPage/index.d.ts +0 -2
  1608. package/dist/shared/pages/ChangePasswordPage/index.d.ts.map +0 -1
  1609. package/dist/shared/pages/ChangePasswordPage/plugin.d.ts +0 -6
  1610. package/dist/shared/pages/ChangePasswordPage/plugin.d.ts.map +0 -1
  1611. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts +0 -13
  1612. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts.map +0 -1
  1613. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/index.d.ts +0 -3
  1614. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/index.d.ts.map +0 -1
  1615. package/dist/shared/pages/ForgotPasswordPage/components/index.d.ts +0 -2
  1616. package/dist/shared/pages/ForgotPasswordPage/components/index.d.ts.map +0 -1
  1617. package/dist/shared/pages/ForgotPasswordPage/index.d.ts +0 -2
  1618. package/dist/shared/pages/ForgotPasswordPage/index.d.ts.map +0 -1
  1619. package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts +0 -6
  1620. package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts.map +0 -1
  1621. package/dist/shared/pages/InvitePage/components/index.d.ts +0 -2
  1622. package/dist/shared/pages/InvitePage/components/index.d.ts.map +0 -1
  1623. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +0 -13
  1624. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +0 -1
  1625. package/dist/shared/pages/InvitePage/components/invite/index.d.ts +0 -3
  1626. package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +0 -1
  1627. package/dist/shared/pages/InvitePage/index.d.ts +0 -2
  1628. package/dist/shared/pages/InvitePage/index.d.ts.map +0 -1
  1629. package/dist/shared/pages/InvitePage/plugin.d.ts +0 -6
  1630. package/dist/shared/pages/InvitePage/plugin.d.ts.map +0 -1
  1631. package/dist/shared/pages/LoginPage/components/index.d.ts +0 -2
  1632. package/dist/shared/pages/LoginPage/components/index.d.ts.map +0 -1
  1633. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +0 -10
  1634. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +0 -1
  1635. package/dist/shared/pages/LoginPage/components/login/index.d.ts +0 -3
  1636. package/dist/shared/pages/LoginPage/components/login/index.d.ts.map +0 -1
  1637. package/dist/shared/pages/LoginPage/index.d.ts +0 -2
  1638. package/dist/shared/pages/LoginPage/index.d.ts.map +0 -1
  1639. package/dist/shared/pages/LoginPage/plugin.d.ts +0 -6
  1640. package/dist/shared/pages/LoginPage/plugin.d.ts.map +0 -1
  1641. package/dist/shared/pages/ResetPasswordPage/components/index.d.ts +0 -2
  1642. package/dist/shared/pages/ResetPasswordPage/components/index.d.ts.map +0 -1
  1643. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +0 -13
  1644. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +0 -1
  1645. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +0 -3
  1646. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +0 -1
  1647. package/dist/shared/pages/ResetPasswordPage/index.d.ts +0 -2
  1648. package/dist/shared/pages/ResetPasswordPage/index.d.ts.map +0 -1
  1649. package/dist/shared/pages/ResetPasswordPage/plugin.d.ts +0 -6
  1650. package/dist/shared/pages/ResetPasswordPage/plugin.d.ts.map +0 -1
  1651. package/dist/shared/pages/_storybook-helpers.d.ts.map +0 -1
  1652. package/dist/shared/pages/index.d.ts +0 -6
  1653. package/dist/shared/pages/index.d.ts.map +0 -1
  1654. package/dist/shared/pages/plugin.d.ts +0 -6
  1655. package/dist/shared/pages/plugin.d.ts.map +0 -1
  1656. package/dist/shared/utilities/assets.d.ts +0 -5
  1657. package/dist/shared/utilities/assets.d.ts.map +0 -1
  1658. package/dist/shared/utilities/colorUtils.d.ts.map +0 -1
  1659. package/dist/shared/utilities/formatBadgeCount.d.ts.map +0 -1
  1660. package/dist/shared/utilities/index.d.ts +0 -5
  1661. package/dist/shared/utilities/index.d.ts.map +0 -1
  1662. package/dist/shared/utilities/vueUtils.d.ts +0 -34
  1663. package/dist/shared/utilities/vueUtils.d.ts.map +0 -1
  1664. package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts +0 -22
  1665. package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts.map +0 -1
  1666. package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts +0 -30
  1667. package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts.map +0 -1
  1668. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue.d.ts +0 -14
  1669. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue.d.ts.map +0 -1
  1670. package/dist/ui/components/organisms/vc-blade/constants.d.ts +0 -8
  1671. package/dist/ui/components/organisms/vc-blade/constants.d.ts.map +0 -1
  1672. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +0 -302
  1673. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +0 -1
  1674. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts +0 -127
  1675. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts.map +0 -1
  1676. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +0 -31
  1677. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +0 -1
  1678. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +0 -30
  1679. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +0 -1
  1680. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +0 -19
  1681. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +0 -1
  1682. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +0 -10
  1683. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +0 -1
  1684. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +0 -22
  1685. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +0 -1
  1686. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +0 -26
  1687. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +0 -1
  1688. package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts +0 -377
  1689. package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts.map +0 -1
  1690. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts +0 -58
  1691. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +0 -1
  1692. package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts +0 -13
  1693. package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts.map +0 -1
  1694. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts +0 -157
  1695. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts.map +0 -1
  1696. package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts +0 -47
  1697. package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts.map +0 -1
  1698. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts +0 -78
  1699. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts.map +0 -1
  1700. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +0 -113
  1701. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +0 -1
  1702. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue.d.ts +0 -16
  1703. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue.d.ts.map +0 -1
  1704. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +0 -44
  1705. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts.map +0 -1
  1706. package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts +0 -21
  1707. package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts.map +0 -1
  1708. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts +0 -22
  1709. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts.map +0 -1
  1710. package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts +0 -16
  1711. package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +0 -1
  1712. package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts +0 -31
  1713. package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts.map +0 -1
  1714. package/dist/ui/components/organisms/vc-table/components/TableCell.vue.d.ts +0 -43
  1715. package/dist/ui/components/organisms/vc-table/components/TableCell.vue.d.ts.map +0 -1
  1716. package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts +0 -15
  1717. package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts.map +0 -1
  1718. package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts +0 -29
  1719. package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +0 -1
  1720. package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts +0 -27
  1721. package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts.map +0 -1
  1722. package/dist/ui/components/organisms/vc-table/components/TableFooter.vue.d.ts +0 -13
  1723. package/dist/ui/components/organisms/vc-table/components/TableFooter.vue.d.ts.map +0 -1
  1724. package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts +0 -29
  1725. package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts.map +0 -1
  1726. package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts +0 -75
  1727. package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts.map +0 -1
  1728. package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts +0 -13
  1729. package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts.map +0 -1
  1730. package/dist/ui/components/organisms/vc-table/components/TableResizeHandle.vue.d.ts +0 -17
  1731. package/dist/ui/components/organisms/vc-table/components/TableResizeHandle.vue.d.ts.map +0 -1
  1732. package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts +0 -70
  1733. package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +0 -1
  1734. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts +0 -42
  1735. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts.map +0 -1
  1736. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts +0 -68
  1737. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts.map +0 -1
  1738. package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts +0 -28
  1739. package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts.map +0 -1
  1740. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +0 -361
  1741. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts.map +0 -1
  1742. package/dist/ui/components/organisms/vc-table/components/_internal/SlotProxy.d.ts.map +0 -1
  1743. package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts +0 -17
  1744. package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts.map +0 -1
  1745. package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts +0 -11
  1746. package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts.map +0 -1
  1747. package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts +0 -7
  1748. package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts.map +0 -1
  1749. package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts +0 -37
  1750. package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts.map +0 -1
  1751. package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts +0 -26
  1752. package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts.map +0 -1
  1753. package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts +0 -9
  1754. package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts.map +0 -1
  1755. package/dist/ui/components/organisms/vc-table/components/cells/CellImage.vue.d.ts +0 -9
  1756. package/dist/ui/components/organisms/vc-table/components/cells/CellImage.vue.d.ts.map +0 -1
  1757. package/dist/ui/components/organisms/vc-table/components/cells/CellLink.vue.d.ts +0 -7
  1758. package/dist/ui/components/organisms/vc-table/components/cells/CellLink.vue.d.ts.map +0 -1
  1759. package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts +0 -39
  1760. package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts.map +0 -1
  1761. package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts +0 -37
  1762. package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts.map +0 -1
  1763. package/dist/ui/components/organisms/vc-table/components/cells/CellStatus.vue.d.ts +0 -7
  1764. package/dist/ui/components/organisms/vc-table/components/cells/CellStatus.vue.d.ts.map +0 -1
  1765. package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts +0 -7
  1766. package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts.map +0 -1
  1767. package/dist/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue.d.ts +0 -45
  1768. package/dist/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue.d.ts.map +0 -1
  1769. package/dist/ui/components/organisms/vc-table/components/cells/index.d.ts +0 -12
  1770. package/dist/ui/components/organisms/vc-table/components/cells/index.d.ts.map +0 -1
  1771. package/dist/ui/components/organisms/vc-table/components/index.d.ts +0 -27
  1772. package/dist/ui/components/organisms/vc-table/components/index.d.ts.map +0 -1
  1773. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +0 -44
  1774. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts.map +0 -1
  1775. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +0 -56
  1776. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts.map +0 -1
  1777. package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts +0 -27
  1778. package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts.map +0 -1
  1779. package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts +0 -22
  1780. package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts.map +0 -1
  1781. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts +0 -43
  1782. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts.map +0 -1
  1783. package/dist/ui/components/organisms/vc-table/components/mobile/index.d.ts +0 -6
  1784. package/dist/ui/components/organisms/vc-table/components/mobile/index.d.ts.map +0 -1
  1785. package/dist/ui/components/organisms/vc-table/composables/index.d.ts +0 -31
  1786. package/dist/ui/components/organisms/vc-table/composables/index.d.ts.map +0 -1
  1787. package/dist/ui/components/organisms/vc-table/composables/useCellBase.d.ts.map +0 -1
  1788. package/dist/ui/components/organisms/vc-table/composables/useCellRegistry.d.ts.map +0 -1
  1789. package/dist/ui/components/organisms/vc-table/composables/useColumnFilter.d.ts +0 -38
  1790. package/dist/ui/components/organisms/vc-table/composables/useColumnFilter.d.ts.map +0 -1
  1791. package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts +0 -34
  1792. package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts.map +0 -1
  1793. package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts +0 -276
  1794. package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts.map +0 -1
  1795. package/dist/ui/components/organisms/vc-table/composables/useDataTableState.d.ts +0 -30
  1796. package/dist/ui/components/organisms/vc-table/composables/useDataTableState.d.ts.map +0 -1
  1797. package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.d.ts +0 -48
  1798. package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.d.ts.map +0 -1
  1799. package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts +0 -40
  1800. package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts.map +0 -1
  1801. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsReorder.d.ts +0 -33
  1802. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsReorder.d.ts.map +0 -1
  1803. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsResize.d.ts +0 -25
  1804. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsResize.d.ts.map +0 -1
  1805. package/dist/ui/components/organisms/vc-table/composables/useTableContext.d.ts +0 -8
  1806. package/dist/ui/components/organisms/vc-table/composables/useTableContext.d.ts.map +0 -1
  1807. package/dist/ui/components/organisms/vc-table/composables/useTableEditing.d.ts.map +0 -1
  1808. package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts +0 -40
  1809. package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts.map +0 -1
  1810. package/dist/ui/components/organisms/vc-table/composables/useTableFilter.d.ts +0 -25
  1811. package/dist/ui/components/organisms/vc-table/composables/useTableFilter.d.ts.map +0 -1
  1812. package/dist/ui/components/organisms/vc-table/composables/useTableInlineEdit.d.ts +0 -68
  1813. package/dist/ui/components/organisms/vc-table/composables/useTableInlineEdit.d.ts.map +0 -1
  1814. package/dist/ui/components/organisms/vc-table/composables/useTableRowGrouping.d.ts.map +0 -1
  1815. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +0 -32
  1816. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +0 -1
  1817. package/dist/ui/components/organisms/vc-table/composables/useTableSelectionV2.d.ts.map +0 -1
  1818. package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts +0 -48
  1819. package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts.map +0 -1
  1820. package/dist/ui/components/organisms/vc-table/composables/useTableSwipe.d.ts.map +0 -1
  1821. package/dist/ui/components/organisms/vc-table/composables/useVirtualScroll.d.ts.map +0 -1
  1822. package/dist/ui/components/organisms/vc-table/index.d.ts +0 -13
  1823. package/dist/ui/components/organisms/vc-table/index.d.ts.map +0 -1
  1824. package/dist/ui/components/organisms/vc-table/keys.d.ts +0 -22
  1825. package/dist/ui/components/organisms/vc-table/keys.d.ts.map +0 -1
  1826. package/dist/ui/components/organisms/vc-table/types.d.ts +0 -807
  1827. package/dist/ui/components/organisms/vc-table/types.d.ts.map +0 -1
  1828. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts +0 -67
  1829. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts.map +0 -1
  1830. package/dist/ui/components/organisms/vc-table/utils/deepClone.d.ts.map +0 -1
  1831. package/dist/ui/components/organisms/vc-table/utils/index.d.ts +0 -9
  1832. package/dist/ui/components/organisms/vc-table/utils/index.d.ts.map +0 -1
  1833. package/dist/ui/types/global-components.d.ts +0 -10
  1834. package/dist/ui/types/global-components.d.ts.map +0 -1
  1835. /package/dist/{shared/components → core}/blade-navigation/utils/navigateToMainRoute.d.ts +0 -0
  1836. /package/dist/{shared → core}/composables/useModificationTracker/index.d.ts +0 -0
  1837. /package/dist/{shared → core}/utilities/colorUtils.d.ts +0 -0
  1838. /package/dist/{shared → core}/utilities/formatBadgeCount.d.ts +0 -0
  1839. /package/dist/{shared/pages → shell/_internal}/_storybook-helpers.d.ts +0 -0
  1840. /package/dist/{shared/components/popup-handler → shell/_internal/popup}/utils/index.d.ts +0 -0
  1841. /package/dist/{shared → shell}/components/change-password-button/index.d.ts +0 -0
  1842. /package/dist/{shared → shell}/components/error-interceptor/interceptor.d.ts +0 -0
  1843. /package/dist/{shared → shell}/components/logout-button/index.d.ts +0 -0
  1844. /package/dist/{shared → shell}/components/notification-dropdown/_internal/notification/index.d.ts +0 -0
  1845. /package/dist/{shared → shell}/components/settings-menu/index.d.ts +0 -0
  1846. /package/dist/{shared → shell}/components/settings-menu-item/index.d.ts +0 -0
  1847. /package/dist/{shared → shell}/components/theme-selector/index.d.ts +0 -0
  1848. /package/dist/{shared/components → shell/dashboard}/dashboard-charts/index.d.ts +0 -0
  1849. /package/dist/{shared/components → shell/dashboard}/dashboard-charts/types.d.ts +0 -0
  1850. /package/dist/{shared/components → shell/dashboard}/draggable-dashboard/types.d.ts +0 -0
  1851. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/_internal/SlotProxy.d.ts +0 -0
  1852. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useCellBase.d.ts +0 -0
  1853. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useCellRegistry.d.ts +0 -0
  1854. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableEditing.d.ts +0 -0
  1855. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableRowGrouping.d.ts +0 -0
  1856. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableSelectionV2.d.ts +0 -0
  1857. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableSwipe.d.ts +0 -0
  1858. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useVirtualScroll.d.ts +0 -0
  1859. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/utils/deepClone.d.ts +0 -0
  1860. /package/dist/{shared → ui}/composables/useTableSelection.d.ts +0 -0
  1861. /package/dist/{shared → ui}/composables/useTableSort.d.ts +0 -0
@@ -0,0 +1,3460 @@
1
+ class h {
2
+ /**
3
+ * Convert a potential selector into an actual list of HTML elements.
4
+ * Supports CSS selectors, element references, and special ID handling.
5
+ *
6
+ * @param els selector string, HTMLElement, or array of elements
7
+ * @param root optional root element to search within (defaults to document, useful for shadow DOM)
8
+ * @returns array of HTML elements matching the selector
9
+ *
10
+ * @example
11
+ * const elements = Utils.getElements('.grid-item');
12
+ * const byId = Utils.getElements('#myWidget');
13
+ * const fromShadow = Utils.getElements('.item', shadowRoot);
14
+ */
15
+ static getElements(t, e = document) {
16
+ if (typeof t == "string") {
17
+ const i = "getElementById" in e ? e : void 0;
18
+ if (i && !isNaN(+t[0])) {
19
+ const r = i.getElementById(t);
20
+ return r ? [r] : [];
21
+ }
22
+ let s = e.querySelectorAll(t);
23
+ if (!s.length && t[0] !== "." && t[0] !== "#" && (s = e.querySelectorAll("." + t), s.length || (s = e.querySelectorAll("#" + t)), !s.length)) {
24
+ const r = e.querySelector(`[gs-id="${t}"]`);
25
+ return r ? [r] : [];
26
+ }
27
+ return Array.from(s);
28
+ }
29
+ return [t];
30
+ }
31
+ /**
32
+ * Convert a potential selector into a single HTML element.
33
+ * Similar to getElements() but returns only the first match.
34
+ *
35
+ * @param els selector string or HTMLElement
36
+ * @param root optional root element to search within (defaults to document)
37
+ * @returns the first HTML element matching the selector, or null if not found
38
+ *
39
+ * @example
40
+ * const element = Utils.getElement('#myWidget');
41
+ * const first = Utils.getElement('.grid-item');
42
+ */
43
+ static getElement(t, e = document) {
44
+ if (typeof t == "string") {
45
+ const i = "getElementById" in e ? e : void 0;
46
+ if (!t.length)
47
+ return null;
48
+ if (i && t[0] === "#")
49
+ return i.getElementById(t.substring(1));
50
+ if (t[0] === "#" || t[0] === "." || t[0] === "[")
51
+ return e.querySelector(t);
52
+ if (i && !isNaN(+t[0]))
53
+ return i.getElementById(t);
54
+ let s = e.querySelector(t);
55
+ return i && !s && (s = i.getElementById(t)), s || (s = e.querySelector("." + t)), s;
56
+ }
57
+ return t;
58
+ }
59
+ /**
60
+ * Check if a widget should be lazy loaded based on node or grid settings.
61
+ *
62
+ * @param n the grid node to check
63
+ * @returns true if the item should be lazy loaded
64
+ *
65
+ * @example
66
+ * if (Utils.lazyLoad(node)) {
67
+ * // Set up intersection observer for lazy loading
68
+ * }
69
+ */
70
+ static lazyLoad(t) {
71
+ return t.lazyLoad || t.grid?.opts?.lazyLoad && t.lazyLoad !== !1;
72
+ }
73
+ /**
74
+ * Create a div element with the specified CSS classes.
75
+ *
76
+ * @param classes array of CSS class names to add
77
+ * @param parent optional parent element to append the div to
78
+ * @returns the created div element
79
+ *
80
+ * @example
81
+ * const div = Utils.createDiv(['grid-item', 'draggable']);
82
+ * const nested = Utils.createDiv(['content'], parentDiv);
83
+ */
84
+ static createDiv(t, e) {
85
+ const i = document.createElement("div");
86
+ return t.forEach((s) => {
87
+ s && i.classList.add(s);
88
+ }), e?.appendChild(i), i;
89
+ }
90
+ /**
91
+ * Check if a widget should resize to fit its content.
92
+ *
93
+ * @param n the grid node to check (can be undefined)
94
+ * @param strict if true, only returns true for explicit sizeToContent:true (not numbers)
95
+ * @returns true if the widget should resize to content
96
+ *
97
+ * @example
98
+ * if (Utils.shouldSizeToContent(node)) {
99
+ * // Trigger content-based resizing
100
+ * }
101
+ */
102
+ static shouldSizeToContent(t, e = !1) {
103
+ return t?.grid && (e ? t.sizeToContent === !0 || t.grid.opts.sizeToContent === !0 && t.sizeToContent === void 0 : !!t.sizeToContent || t.grid.opts.sizeToContent && t.sizeToContent !== !1);
104
+ }
105
+ /**
106
+ * Check if two grid positions overlap/intersect.
107
+ *
108
+ * @param a first position with x, y, w, h properties
109
+ * @param b second position with x, y, w, h properties
110
+ * @returns true if the positions overlap
111
+ *
112
+ * @example
113
+ * const overlaps = Utils.isIntercepted(
114
+ * {x: 0, y: 0, w: 2, h: 1},
115
+ * {x: 1, y: 0, w: 2, h: 1}
116
+ * ); // true - they overlap
117
+ */
118
+ static isIntercepted(t, e) {
119
+ return !(t.y >= e.y + e.h || t.y + t.h <= e.y || t.x + t.w <= e.x || t.x >= e.x + e.w);
120
+ }
121
+ /**
122
+ * Check if two grid positions are touching (edges or corners).
123
+ *
124
+ * @param a first position
125
+ * @param b second position
126
+ * @returns true if the positions are touching
127
+ *
128
+ * @example
129
+ * const touching = Utils.isTouching(
130
+ * {x: 0, y: 0, w: 2, h: 1},
131
+ * {x: 2, y: 0, w: 1, h: 1}
132
+ * ); // true - they share an edge
133
+ */
134
+ static isTouching(t, e) {
135
+ return h.isIntercepted(t, { x: e.x - 0.5, y: e.y - 0.5, w: e.w + 1, h: e.h + 1 });
136
+ }
137
+ /**
138
+ * Calculate the overlapping area between two grid positions.
139
+ *
140
+ * @param a first position
141
+ * @param b second position
142
+ * @returns the area of overlap (0 if no overlap)
143
+ *
144
+ * @example
145
+ * const overlap = Utils.areaIntercept(
146
+ * {x: 0, y: 0, w: 3, h: 2},
147
+ * {x: 1, y: 0, w: 3, h: 2}
148
+ * ); // returns 4 (2x2 overlap)
149
+ */
150
+ static areaIntercept(t, e) {
151
+ const i = t.x > e.x ? t.x : e.x, s = t.x + t.w < e.x + e.w ? t.x + t.w : e.x + e.w;
152
+ if (s <= i)
153
+ return 0;
154
+ const r = t.y > e.y ? t.y : e.y, n = t.y + t.h < e.y + e.h ? t.y + t.h : e.y + e.h;
155
+ return n <= r ? 0 : (s - i) * (n - r);
156
+ }
157
+ /**
158
+ * Calculate the total area of a grid position.
159
+ *
160
+ * @param a position with width and height
161
+ * @returns the total area (width * height)
162
+ *
163
+ * @example
164
+ * const area = Utils.area({x: 0, y: 0, w: 3, h: 2}); // returns 6
165
+ */
166
+ static area(t) {
167
+ return t.w * t.h;
168
+ }
169
+ /**
170
+ * Sort an array of grid nodes by position (y first, then x).
171
+ *
172
+ * @param nodes array of nodes to sort
173
+ * @param dir sort direction: 1 for ascending (top-left first), -1 for descending
174
+ * @returns the sorted array (modifies original)
175
+ *
176
+ * @example
177
+ * const sorted = Utils.sort(nodes); // Sort top-left to bottom-right
178
+ * const reverse = Utils.sort(nodes, -1); // Sort bottom-right to top-left
179
+ */
180
+ static sort(t, e = 1) {
181
+ return t.sort((s, r) => {
182
+ const n = e * ((s.y ?? 1e4) - (r.y ?? 1e4));
183
+ return n === 0 ? e * ((s.x ?? 1e4) - (r.x ?? 1e4)) : n;
184
+ });
185
+ }
186
+ /**
187
+ * Find a grid node by its ID.
188
+ *
189
+ * @param nodes array of nodes to search
190
+ * @param id the ID to search for
191
+ * @returns the node with matching ID, or undefined if not found
192
+ *
193
+ * @example
194
+ * const node = Utils.find(nodes, 'widget-1');
195
+ * if (node) console.log('Found node at:', node.x, node.y);
196
+ */
197
+ static find(t, e) {
198
+ return e ? t.find((i) => i.id === e) : void 0;
199
+ }
200
+ /**
201
+ * Convert various value types to boolean.
202
+ * Handles strings like 'false', 'no', '0' as false.
203
+ *
204
+ * @param v value to convert
205
+ * @returns boolean representation
206
+ *
207
+ * @example
208
+ * Utils.toBool('true'); // true
209
+ * Utils.toBool('false'); // false
210
+ * Utils.toBool('no'); // false
211
+ * Utils.toBool('1'); // true
212
+ */
213
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
214
+ static toBool(t) {
215
+ return typeof t == "boolean" ? t : typeof t == "string" ? (t = t.toLowerCase(), !(t === "" || t === "no" || t === "false" || t === "0")) : !!t;
216
+ }
217
+ /**
218
+ * Convert a string value to a number, handling null and empty strings.
219
+ *
220
+ * @param value string or null value to convert
221
+ * @returns number value, or undefined for null/empty strings
222
+ *
223
+ * @example
224
+ * Utils.toNumber('42'); // 42
225
+ * Utils.toNumber(''); // undefined
226
+ * Utils.toNumber(null); // undefined
227
+ */
228
+ static toNumber(t) {
229
+ return t === null || t.length === 0 ? void 0 : Number(t);
230
+ }
231
+ /**
232
+ * Parse a height value with units into numeric value and unit string.
233
+ * Supports px, em, rem, vh, vw, %, cm, mm units.
234
+ *
235
+ * @param val height value as number or string with units
236
+ * @returns object with h (height) and unit properties
237
+ *
238
+ * @example
239
+ * Utils.parseHeight('100px'); // {h: 100, unit: 'px'}
240
+ * Utils.parseHeight('2rem'); // {h: 2, unit: 'rem'}
241
+ * Utils.parseHeight(50); // {h: 50, unit: 'px'}
242
+ */
243
+ static parseHeight(t) {
244
+ let e, i = "px";
245
+ if (typeof t == "string")
246
+ if (t === "auto" || t === "")
247
+ e = 0;
248
+ else {
249
+ const s = t.match(/^(-[0-9]+\.[0-9]+|[0-9]*\.[0-9]+|-[0-9]+|[0-9]+)(px|em|rem|vh|vw|%|cm|mm)?$/);
250
+ if (!s)
251
+ throw new Error(`Invalid height val = ${t}`);
252
+ i = s[2] || "px", e = parseFloat(s[1]);
253
+ }
254
+ else
255
+ e = t;
256
+ return { h: e, unit: i };
257
+ }
258
+ /**
259
+ * Copy unset fields from source objects to target object (shallow merge with defaults).
260
+ * Similar to Object.assign but only sets undefined/null fields.
261
+ *
262
+ * @param target the object to copy defaults into
263
+ * @param sources one or more source objects to copy defaults from
264
+ * @returns the modified target object
265
+ *
266
+ * @example
267
+ * const config = { width: 100 };
268
+ * Utils.defaults(config, { width: 200, height: 50 });
269
+ * // config is now { width: 100, height: 50 }
270
+ */
271
+ // eslint-disable-next-line
272
+ static defaults(t, ...e) {
273
+ return e.forEach((i) => {
274
+ for (const s in i) {
275
+ if (!i.hasOwnProperty(s))
276
+ return;
277
+ t[s] === null || t[s] === void 0 ? t[s] = i[s] : typeof i[s] == "object" && typeof t[s] == "object" && h.defaults(t[s], i[s]);
278
+ }
279
+ }), t;
280
+ }
281
+ /**
282
+ * Compare two objects for equality (shallow comparison).
283
+ * Checks if objects have the same fields and values at one level deep.
284
+ *
285
+ * @param a first object to compare
286
+ * @param b second object to compare
287
+ * @returns true if objects have the same values
288
+ *
289
+ * @example
290
+ * Utils.same({x: 1, y: 2}, {x: 1, y: 2}); // true
291
+ * Utils.same({x: 1}, {x: 1, y: 2}); // false
292
+ */
293
+ static same(t, e) {
294
+ if (typeof t != "object")
295
+ return t == e;
296
+ if (typeof t != typeof e || Object.keys(t).length !== Object.keys(e).length)
297
+ return !1;
298
+ for (const i in t)
299
+ if (t[i] !== e[i])
300
+ return !1;
301
+ return !0;
302
+ }
303
+ /**
304
+ * Copy position and size properties from one widget to another.
305
+ * Copies x, y, w, h and optionally min/max constraints.
306
+ *
307
+ * @param a target widget to copy to
308
+ * @param b source widget to copy from
309
+ * @param doMinMax if true, also copy min/max width/height constraints
310
+ * @returns the target widget (a)
311
+ *
312
+ * @example
313
+ * Utils.copyPos(widget1, widget2); // Copy position/size
314
+ * Utils.copyPos(widget1, widget2, true); // Also copy constraints
315
+ */
316
+ static copyPos(t, e, i = !1) {
317
+ return e.x !== void 0 && (t.x = e.x), e.y !== void 0 && (t.y = e.y), e.w !== void 0 && (t.w = e.w), e.h !== void 0 && (t.h = e.h), i && (e.minW && (t.minW = e.minW), e.minH && (t.minH = e.minH), e.maxW && (t.maxW = e.maxW), e.maxH && (t.maxH = e.maxH)), t;
318
+ }
319
+ /** true if a and b has same size & position */
320
+ static samePos(t, e) {
321
+ return t && e && t.x === e.x && t.y === e.y && (t.w || 1) === (e.w || 1) && (t.h || 1) === (e.h || 1);
322
+ }
323
+ /** given a node, makes sure it's min/max are valid */
324
+ static sanitizeMinMax(t) {
325
+ t.minW || delete t.minW, t.minH || delete t.minH, t.maxW || delete t.maxW, t.maxH || delete t.maxH;
326
+ }
327
+ /** removes field from the first object if same as the second objects (like diffing) and internal '_' for saving */
328
+ static removeInternalAndSame(t, e) {
329
+ if (!(typeof t != "object" || typeof e != "object") && !(Array.isArray(t) || Array.isArray(e)))
330
+ for (let i in t) {
331
+ const s = t[i], r = e[i];
332
+ i[0] === "_" || s === r ? delete t[i] : s && typeof s == "object" && r !== void 0 && (h.removeInternalAndSame(s, r), Object.keys(s).length || delete t[i]);
333
+ }
334
+ }
335
+ /** removes internal fields '_' and default values for saving */
336
+ static removeInternalForSave(t, e = !0) {
337
+ for (let i in t)
338
+ (i[0] === "_" || t[i] === null || t[i] === void 0) && delete t[i];
339
+ delete t.grid, e && delete t.el, t.autoPosition || delete t.autoPosition, t.noResize || delete t.noResize, t.noMove || delete t.noMove, t.locked || delete t.locked, (t.w === 1 || t.w === t.minW) && delete t.w, (t.h === 1 || t.h === t.minH) && delete t.h;
340
+ }
341
+ /** return the closest parent (or itself) matching the given class */
342
+ // static closestUpByClass(el: HTMLElement, name: string): HTMLElement {
343
+ // while (el) {
344
+ // if (el.classList.contains(name)) return el;
345
+ // el = el.parentElement
346
+ // }
347
+ // return null;
348
+ // }
349
+ /** delay calling the given function for given delay, preventing new calls from happening while waiting */
350
+ static throttle(t, e) {
351
+ let i = !1;
352
+ return (...s) => {
353
+ i || (i = !0, setTimeout(() => {
354
+ t(...s), i = !1;
355
+ }, e));
356
+ };
357
+ }
358
+ static removePositioningStyles(t) {
359
+ const e = t.style;
360
+ e.position && e.removeProperty("position"), e.left && e.removeProperty("left"), e.top && e.removeProperty("top"), e.width && e.removeProperty("width"), e.height && e.removeProperty("height");
361
+ }
362
+ /** @internal returns the passed element if vertically scrollable, else the closest parent that will, up to the entire document scrolling element */
363
+ static getScrollElement(t) {
364
+ if (!t)
365
+ return document.scrollingElement || document.documentElement;
366
+ const e = getComputedStyle(t).overflowY;
367
+ return (e === "auto" || e === "scroll") && t.scrollHeight > t.clientHeight ? t : h.getScrollElement(t.parentElement);
368
+ }
369
+ /**
370
+ * @internal Function used to scroll the page.
371
+ *
372
+ * @param event `MouseEvent` that triggers the resize
373
+ * @param el `HTMLElement` that's being resized
374
+ * @param distance Distance from the V edges to start scrolling
375
+ */
376
+ static updateScrollResize(t, e, i) {
377
+ const s = h.getScrollElement(e), r = s.clientHeight, n = s === h.getScrollElement() ? 0 : s.getBoundingClientRect().top, o = t.clientY - n, d = o < i, l = o > r - i;
378
+ d ? s.scrollBy({ behavior: "smooth", top: o - i }) : l && s.scrollBy({ behavior: "smooth", top: i - (r - o) });
379
+ }
380
+ /** single level clone, returning a new object with same top fields. This will share sub objects and arrays */
381
+ static clone(t) {
382
+ return t == null || typeof t != "object" ? t : t instanceof Array ? [...t] : { ...t };
383
+ }
384
+ /**
385
+ * Recursive clone version that returns a full copy, checking for nested objects and arrays ONLY.
386
+ * Note: this will use as-is any key starting with double __ (and not copy inside) some lib have circular dependencies.
387
+ */
388
+ static cloneDeep(t) {
389
+ const e = ["parentGrid", "el", "grid", "subGrid", "engine"], i = h.clone(t);
390
+ for (const s in i)
391
+ i.hasOwnProperty(s) && typeof i[s] == "object" && s.substring(0, 2) !== "__" && !e.find((r) => r === s) && (i[s] = h.cloneDeep(t[s]));
392
+ return i;
393
+ }
394
+ /** deep clone the given HTML node, removing teh unique id field */
395
+ static cloneNode(t) {
396
+ const e = t.cloneNode(!0);
397
+ return e.removeAttribute("id"), e;
398
+ }
399
+ static appendTo(t, e) {
400
+ let i;
401
+ typeof e == "string" ? i = h.getElement(e) : i = e, i && i.appendChild(t);
402
+ }
403
+ // public static setPositionRelative(el: HTMLElement): void {
404
+ // if (!(/^(?:r|a|f)/).test(getComputedStyle(el).position)) {
405
+ // el.style.position = "relative";
406
+ // }
407
+ // }
408
+ static addElStyles(t, e) {
409
+ if (e instanceof Object)
410
+ for (const i in e)
411
+ e.hasOwnProperty(i) && (Array.isArray(e[i]) ? e[i].forEach((s) => {
412
+ t.style[i] = s;
413
+ }) : t.style[i] = e[i]);
414
+ }
415
+ static initEvent(t, e) {
416
+ const i = { type: e.type }, s = {
417
+ button: 0,
418
+ which: 0,
419
+ buttons: 1,
420
+ bubbles: !0,
421
+ cancelable: !0,
422
+ target: e.target ? e.target : t.target
423
+ };
424
+ return ["altKey", "ctrlKey", "metaKey", "shiftKey"].forEach((r) => i[r] = t[r]), ["pageX", "pageY", "clientX", "clientY", "screenX", "screenY"].forEach((r) => i[r] = t[r]), { ...i, ...s };
425
+ }
426
+ /** copies the MouseEvent (or convert Touch) properties and sends it as another event to the given target */
427
+ static simulateMouseEvent(t, e, i) {
428
+ const s = t, r = new MouseEvent(e, {
429
+ bubbles: !0,
430
+ composed: !0,
431
+ cancelable: !0,
432
+ view: window,
433
+ detail: 1,
434
+ screenX: t.screenX,
435
+ screenY: t.screenY,
436
+ clientX: t.clientX,
437
+ clientY: t.clientY,
438
+ ctrlKey: s.ctrlKey ?? !1,
439
+ altKey: s.altKey ?? !1,
440
+ shiftKey: s.shiftKey ?? !1,
441
+ metaKey: s.metaKey ?? !1,
442
+ button: 0,
443
+ relatedTarget: t.target
444
+ });
445
+ (i || t.target).dispatchEvent(r);
446
+ }
447
+ /**
448
+ * defines an element that is used to get the offset and scale from grid transforms
449
+ * returns the scale and offsets from said element
450
+ */
451
+ static getValuesFromTransformedElement(t) {
452
+ const e = document.createElement("div");
453
+ h.addElStyles(e, {
454
+ opacity: "0",
455
+ position: "fixed",
456
+ top: "0px",
457
+ left: "0px",
458
+ width: "1px",
459
+ height: "1px",
460
+ zIndex: "-999999"
461
+ }), t.appendChild(e);
462
+ const i = e.getBoundingClientRect();
463
+ return t.removeChild(e), e.remove(), {
464
+ xScale: 1 / i.width,
465
+ yScale: 1 / i.height,
466
+ xOffset: i.left,
467
+ yOffset: i.top
468
+ };
469
+ }
470
+ /** swap the given object 2 field values */
471
+ static swap(t, e, i) {
472
+ if (!t)
473
+ return;
474
+ const s = t[e];
475
+ t[e] = t[i], t[i] = s;
476
+ }
477
+ /** returns true if event is inside the given element rectangle */
478
+ // Note: Safari Mac has null event.relatedTarget which causes #1684 so check if DragEvent is inside the coordinates instead
479
+ // Utils.el.contains(event.relatedTarget as HTMLElement)
480
+ // public static inside(e: MouseEvent, el: HTMLElement): boolean {
481
+ // // srcElement, toElement, target: all set to placeholder when leaving simple grid, so we can't use that (Chrome)
482
+ // const target: HTMLElement = e.relatedTarget || (e as any).fromElement;
483
+ // if (!target) {
484
+ // const { bottom, left, right, top } = el.getBoundingClientRect();
485
+ // return (e.x < right && e.x > left && e.y < bottom && e.y > top);
486
+ // }
487
+ // return el.contains(target);
488
+ // }
489
+ /** true if the item can be rotated (checking for prop, not space available) */
490
+ static canBeRotated(t) {
491
+ return !(!t || t.w === t.h || t.locked || t.noResize || t.grid?.opts.disableResize || t.minW && t.minW === t.maxW || t.minH && t.minH === t.maxH);
492
+ }
493
+ }
494
+ class x {
495
+ constructor(t = {}) {
496
+ this.addedNodes = [], this.removedNodes = [], this.defaultColumn = 12, this.column = t.column || this.defaultColumn, this.column > this.defaultColumn && (this.defaultColumn = this.column), this.maxRow = t.maxRow, this._float = t.float, this.nodes = t.nodes || [], this.onChange = t.onChange;
497
+ }
498
+ /**
499
+ * Enable/disable batch mode for multiple operations to optimize performance.
500
+ * When enabled, layout updates are deferred until batch mode is disabled.
501
+ *
502
+ * @param flag true to enable batch mode, false to disable and apply changes
503
+ * @param doPack if true (default), pack/compact nodes when disabling batch mode
504
+ * @returns the engine instance for chaining
505
+ *
506
+ * @example
507
+ * // Start batch mode for multiple operations
508
+ * engine.batchUpdate(true);
509
+ * engine.addNode(node1);
510
+ * engine.addNode(node2);
511
+ * engine.batchUpdate(false); // Apply all changes at once
512
+ */
513
+ batchUpdate(t = !0, e = !0) {
514
+ return !!this.batchMode === t ? this : (this.batchMode = t, t ? (this._prevFloat = this._float, this._float = !0, this.cleanNodes(), this.saveInitial()) : (this._float = this._prevFloat, delete this._prevFloat, e && this._packNodes(), this._notify()), this);
515
+ }
516
+ // use entire row for hitting area (will use bottom reverse sorted first) if we not actively moving DOWN and didn't already skip
517
+ _useEntireRowArea(t, e) {
518
+ return (!this.float || this.batchMode && !this._prevFloat) && !this._hasLocked && (!t._moving || t._skipDown || e.y <= t.y);
519
+ }
520
+ /** @internal fix collision on given 'node', going to given new location 'nn', with optional 'collide' node already found.
521
+ * return true if we moved. */
522
+ _fixCollisions(t, e = t, i, s = {}) {
523
+ if (this.sortNodes(-1), i = i || this.collide(t, e), !i)
524
+ return !1;
525
+ if (t._moving && !s.nested && !this.float && this.swap(t, i))
526
+ return !0;
527
+ let r = e;
528
+ !this._loading && this._useEntireRowArea(t, e) && (r = { x: 0, w: this.column, y: e.y, h: e.h }, i = this.collide(t, r, s.skip));
529
+ let n = !1;
530
+ const o = { nested: !0, pack: !1 };
531
+ let d = 0;
532
+ for (; i = i || this.collide(t, r, s.skip); ) {
533
+ if (d++ > this.nodes.length * 2)
534
+ throw new Error("Infinite collide check");
535
+ let l;
536
+ if (i.locked || this._loading || t._moving && !t._skipDown && e.y > t.y && !this.float && // can take space we had, or before where we're going
537
+ (!this.collide(i, { ...i, y: t.y }, t) || !this.collide(i, { ...i, y: e.y - i.h }, t))) {
538
+ t._skipDown = t._skipDown || e.y > t.y;
539
+ const a = { ...e, y: i.y + i.h, ...o };
540
+ l = this._loading && h.samePos(t, a) ? !0 : this.moveNode(t, a), (i.locked || this._loading) && l ? h.copyPos(e, t) : !i.locked && l && s.pack && (this._packNodes(), e.y = i.y + i.h, h.copyPos(t, e)), n = n || l;
541
+ } else
542
+ l = this.moveNode(i, { ...i, y: e.y + e.h, skip: t, ...o });
543
+ if (!l)
544
+ return n;
545
+ i = void 0;
546
+ }
547
+ return n;
548
+ }
549
+ /**
550
+ * Return the first node that intercepts/collides with the given node or area.
551
+ * Used for collision detection during drag and drop operations.
552
+ *
553
+ * @param skip the node to skip in collision detection (usually the node being moved)
554
+ * @param area the area to check for collisions (defaults to skip node's area)
555
+ * @param skip2 optional second node to skip in collision detection
556
+ * @returns the first colliding node, or undefined if no collision
557
+ *
558
+ * @example
559
+ * const colliding = engine.collide(draggedNode, {x: 2, y: 1, w: 2, h: 1});
560
+ * if (colliding) {
561
+ * console.log('Would collide with:', colliding.id);
562
+ * }
563
+ */
564
+ collide(t, e = t, i) {
565
+ const s = t._id, r = i?._id;
566
+ return this.nodes.find((n) => n._id !== s && n._id !== r && h.isIntercepted(n, e));
567
+ }
568
+ /**
569
+ * Return all nodes that intercept/collide with the given node or area.
570
+ * Similar to collide() but returns all colliding nodes instead of just the first.
571
+ *
572
+ * @param skip the node to skip in collision detection
573
+ * @param area the area to check for collisions (defaults to skip node's area)
574
+ * @param skip2 optional second node to skip in collision detection
575
+ * @returns array of all colliding nodes
576
+ *
577
+ * @example
578
+ * const allCollisions = engine.collideAll(draggedNode);
579
+ * console.log('Colliding with', allCollisions.length, 'nodes');
580
+ */
581
+ collideAll(t, e = t, i) {
582
+ const s = t._id, r = i?._id;
583
+ return this.nodes.filter((n) => n._id !== s && n._id !== r && h.isIntercepted(n, e));
584
+ }
585
+ /** does a pixel coverage collision based on where we started, returning the node that has the most coverage that is >50% mid line */
586
+ directionCollideCoverage(t, e, i) {
587
+ if (!e.rect || !t._rect)
588
+ return;
589
+ const s = t._rect, r = { ...e.rect };
590
+ r.y > s.y ? (r.h += r.y - s.y, r.y = s.y) : r.h += s.y - r.y, r.x > s.x ? (r.w += r.x - s.x, r.x = s.x) : r.w += s.x - r.x;
591
+ let n, o = 0.5;
592
+ for (let d of i) {
593
+ if (d.locked || !d._rect)
594
+ break;
595
+ const l = d._rect;
596
+ let a = Number.MAX_VALUE, u = Number.MAX_VALUE;
597
+ s.y < l.y ? a = (r.y + r.h - l.y) / l.h : s.y + s.h > l.y + l.h && (a = (l.y + l.h - r.y) / l.h), s.x < l.x ? u = (r.x + r.w - l.x) / l.w : s.x + s.w > l.x + l.w && (u = (l.x + l.w - r.x) / l.w);
598
+ const c = Math.min(u, a);
599
+ c > o && (o = c, n = d);
600
+ }
601
+ return e.collide = n, n;
602
+ }
603
+ /** does a pixel coverage returning the node that has the most coverage by area */
604
+ /*
605
+ protected collideCoverage(r: GridStackPosition, collides: GridStackNode[]): {collide: GridStackNode, over: number} {
606
+ const collide: GridStackNode;
607
+ const overMax = 0;
608
+ collides.forEach(n => {
609
+ if (n.locked || !n._rect) return;
610
+ const over = Utils.areaIntercept(r, n._rect);
611
+ if (over > overMax) {
612
+ overMax = over;
613
+ collide = n;
614
+ }
615
+ });
616
+ return {collide, over: overMax};
617
+ }
618
+ */
619
+ /**
620
+ * Cache the pixel rectangles for all nodes used for collision detection during drag operations.
621
+ * This optimization converts grid coordinates to pixel coordinates for faster collision detection.
622
+ *
623
+ * @param w width of a single grid cell in pixels
624
+ * @param h height of a single grid cell in pixels
625
+ * @param top top margin/padding in pixels
626
+ * @param right right margin/padding in pixels
627
+ * @param bottom bottom margin/padding in pixels
628
+ * @param left left margin/padding in pixels
629
+ * @returns the engine instance for chaining
630
+ *
631
+ * @internal This is typically called by GridStack during resize events
632
+ */
633
+ cacheRects(t, e, i, s, r, n) {
634
+ return this.nodes.forEach((o) => o._rect = {
635
+ y: o.y * e + i,
636
+ x: o.x * t + n,
637
+ w: o.w * t - n - s,
638
+ h: o.h * e - i - r
639
+ }), this;
640
+ }
641
+ /**
642
+ * Attempt to swap the positions of two nodes if they meet swapping criteria.
643
+ * Nodes can swap if they are the same size or in the same column/row, not locked, and touching.
644
+ *
645
+ * @param a first node to swap
646
+ * @param b second node to swap
647
+ * @returns true if swap was successful, false if not possible, undefined if not applicable
648
+ *
649
+ * @example
650
+ * const swapped = engine.swap(nodeA, nodeB);
651
+ * if (swapped) {
652
+ * console.log('Nodes swapped successfully');
653
+ * }
654
+ */
655
+ swap(t, e) {
656
+ if (!e || e.locked || !t || t.locked)
657
+ return !1;
658
+ function i() {
659
+ const r = e.x, n = e.y;
660
+ return e.x = t.x, e.y = t.y, t.h != e.h ? (t.x = r, t.y = e.y + e.h) : t.w != e.w ? (t.x = e.x + e.w, t.y = n) : (t.x = r, t.y = n), t._dirty = e._dirty = !0, !0;
661
+ }
662
+ let s;
663
+ if (t.w === e.w && t.h === e.h && (t.x === e.x || t.y === e.y) && (s = h.isTouching(t, e)))
664
+ return i();
665
+ if (s !== !1) {
666
+ if (t.w === e.w && t.x === e.x && (s || (s = h.isTouching(t, e)))) {
667
+ if (e.y < t.y) {
668
+ const r = t;
669
+ t = e, e = r;
670
+ }
671
+ return i();
672
+ }
673
+ if (s !== !1) {
674
+ if (t.h === e.h && t.y === e.y && (s || (s = h.isTouching(t, e)))) {
675
+ if (e.x < t.x) {
676
+ const r = t;
677
+ t = e, e = r;
678
+ }
679
+ return i();
680
+ }
681
+ return !1;
682
+ }
683
+ }
684
+ }
685
+ /**
686
+ * Check if the specified rectangular area is empty (no nodes occupy any part of it).
687
+ *
688
+ * @param x the x coordinate (column) of the area to check
689
+ * @param y the y coordinate (row) of the area to check
690
+ * @param w the width in columns of the area to check
691
+ * @param h the height in rows of the area to check
692
+ * @returns true if the area is completely empty, false if any node overlaps
693
+ *
694
+ * @example
695
+ * if (engine.isAreaEmpty(2, 1, 3, 2)) {
696
+ * console.log('Area is available for placement');
697
+ * }
698
+ */
699
+ isAreaEmpty(t, e, i, s) {
700
+ const r = { x: t || 0, y: e || 0, w: i || 1, h: s || 1 };
701
+ return !this.collide(r);
702
+ }
703
+ /**
704
+ * Re-layout grid items to reclaim any empty space.
705
+ * This optimizes the grid layout by moving items to fill gaps.
706
+ *
707
+ * @param layout layout algorithm to use:
708
+ * - 'compact' (default): find truly empty spaces, may reorder items
709
+ * - 'list': keep the sort order exactly the same, move items up sequentially
710
+ * @param doSort if true (default), sort nodes by position before compacting
711
+ * @returns the engine instance for chaining
712
+ *
713
+ * @example
714
+ * // Compact to fill empty spaces
715
+ * engine.compact();
716
+ *
717
+ * // Compact preserving item order
718
+ * engine.compact('list');
719
+ */
720
+ compact(t = "compact", e = !0) {
721
+ if (this.nodes.length === 0)
722
+ return this;
723
+ e && this.sortNodes();
724
+ const i = this.batchMode;
725
+ i || this.batchUpdate();
726
+ const s = this._inColumnResize;
727
+ s || (this._inColumnResize = !0);
728
+ const r = this.nodes;
729
+ return this.nodes = [], r.forEach((n, o, d) => {
730
+ let l;
731
+ n.locked || (n.autoPosition = !0, t === "list" && o && (l = d[o - 1])), this.addNode(n, !1, l);
732
+ }), s || delete this._inColumnResize, i || this.batchUpdate(!1), this;
733
+ }
734
+ /**
735
+ * Enable/disable floating widgets (default: `false`).
736
+ * When floating is enabled, widgets can move up to fill empty spaces.
737
+ * See [example](http://gridstackjs.com/demo/float.html)
738
+ *
739
+ * @param val true to enable floating, false to disable
740
+ *
741
+ * @example
742
+ * engine.float = true; // Enable floating
743
+ * engine.float = false; // Disable floating (default)
744
+ */
745
+ set float(t) {
746
+ this._float !== t && (this._float = t || !1, t || this._packNodes()._notify());
747
+ }
748
+ /**
749
+ * Get the current floating mode setting.
750
+ *
751
+ * @returns true if floating is enabled, false otherwise
752
+ *
753
+ * @example
754
+ * const isFloating = engine.float;
755
+ * console.log('Floating enabled:', isFloating);
756
+ */
757
+ get float() {
758
+ return this._float || !1;
759
+ }
760
+ /**
761
+ * Sort the nodes array from first to last, or reverse.
762
+ * This is called during collision/placement operations to enforce a specific order.
763
+ *
764
+ * @param dir sort direction: 1 for ascending (first to last), -1 for descending (last to first)
765
+ * @returns the engine instance for chaining
766
+ *
767
+ * @example
768
+ * engine.sortNodes(); // Sort ascending (default)
769
+ * engine.sortNodes(-1); // Sort descending
770
+ */
771
+ sortNodes(t = 1) {
772
+ return this.nodes = h.sort(this.nodes, t), this;
773
+ }
774
+ /** @internal called to top gravity pack the items back OR revert back to original Y positions when floating */
775
+ _packNodes() {
776
+ return this.batchMode ? this : (this.sortNodes(), this.float ? this.nodes.forEach((t) => {
777
+ if (t._updating || t._orig === void 0 || t.y === t._orig.y)
778
+ return;
779
+ let e = t.y;
780
+ for (; e > t._orig.y; )
781
+ --e, this.collide(t, { x: t.x, y: e, w: t.w, h: t.h }) || (t._dirty = !0, t.y = e);
782
+ }) : this.nodes.forEach((t, e) => {
783
+ if (!t.locked)
784
+ for (; t.y > 0; ) {
785
+ const i = e === 0 ? 0 : t.y - 1;
786
+ if (!(e === 0 || !this.collide(t, { x: t.x, y: i, w: t.w, h: t.h })))
787
+ break;
788
+ t._dirty = t.y !== i, t.y = i;
789
+ }
790
+ }), this);
791
+ }
792
+ /**
793
+ * Prepare and validate a node's coordinates and values for the current grid.
794
+ * This ensures the node has valid position, size, and properties before being added to the grid.
795
+ *
796
+ * @param node the node to prepare and validate
797
+ * @param resizing if true, resize the node down if it's out of bounds; if false, move it to fit
798
+ * @returns the prepared node with valid coordinates
799
+ *
800
+ * @example
801
+ * const node = { w: 3, h: 2, content: 'Hello' };
802
+ * const prepared = engine.prepareNode(node);
803
+ * console.log('Node prepared at:', prepared.x, prepared.y);
804
+ */
805
+ prepareNode(t, e) {
806
+ t._id = t._id ?? x._idSeq++;
807
+ const i = t.id;
808
+ if (i) {
809
+ let r = 1;
810
+ for (; this.nodes.find((n) => n.id === t.id && n !== t); )
811
+ t.id = i + "_" + r++;
812
+ }
813
+ (t.x === void 0 || t.y === void 0 || t.x === null || t.y === null) && (t.autoPosition = !0);
814
+ const s = { x: 0, y: 0, w: 1, h: 1 };
815
+ return h.defaults(t, s), t.autoPosition || delete t.autoPosition, t.noResize || delete t.noResize, t.noMove || delete t.noMove, h.sanitizeMinMax(t), typeof t.x == "string" && (t.x = Number(t.x)), typeof t.y == "string" && (t.y = Number(t.y)), typeof t.w == "string" && (t.w = Number(t.w)), typeof t.h == "string" && (t.h = Number(t.h)), isNaN(t.x) && (t.x = s.x, t.autoPosition = !0), isNaN(t.y) && (t.y = s.y, t.autoPosition = !0), isNaN(t.w) && (t.w = s.w), isNaN(t.h) && (t.h = s.h), this.nodeBoundFix(t, e), t;
816
+ }
817
+ /**
818
+ * Part 2 of preparing a node to fit inside the grid - validates and fixes coordinates and dimensions.
819
+ * This ensures the node fits within grid boundaries and respects min/max constraints.
820
+ *
821
+ * @param node the node to validate and fix
822
+ * @param resizing if true, resize the node to fit; if false, move the node to fit
823
+ * @returns the engine instance for chaining
824
+ *
825
+ * @example
826
+ * // Fix a node that might be out of bounds
827
+ * engine.nodeBoundFix(node, true); // Resize to fit
828
+ * engine.nodeBoundFix(node, false); // Move to fit
829
+ */
830
+ nodeBoundFix(t, e) {
831
+ const i = t._orig || h.copyPos({}, t);
832
+ if (t.maxW && (t.w = Math.min(t.w || 1, t.maxW)), t.maxH && (t.h = Math.min(t.h || 1, t.maxH)), t.minW && (t.w = Math.max(t.w || 1, t.minW)), t.minH && (t.h = Math.max(t.h || 1, t.minH)), (t.x || 0) + (t.w || 1) > this.column && this.column < this.defaultColumn && !this._inColumnResize && !this.skipCacheUpdate && t._id != null && this.findCacheLayout(t, this.defaultColumn) === -1) {
833
+ const r = { ...t };
834
+ r.autoPosition || r.x === void 0 ? (delete r.x, delete r.y) : r.x = Math.min(this.defaultColumn - 1, r.x), r.w = Math.min(this.defaultColumn, r.w || 1), this.cacheOneLayout(r, this.defaultColumn);
835
+ }
836
+ return t.w > this.column ? t.w = this.column : t.w < 1 && (t.w = 1), this.maxRow && t.h > this.maxRow ? t.h = this.maxRow : t.h < 1 && (t.h = 1), t.x < 0 && (t.x = 0), t.y < 0 && (t.y = 0), t.x + t.w > this.column && (e ? t.w = this.column - t.x : t.x = this.column - t.w), this.maxRow && t.y + t.h > this.maxRow && (e ? t.h = this.maxRow - t.y : t.y = this.maxRow - t.h), h.samePos(t, i) || (t._dirty = !0), this;
837
+ }
838
+ /**
839
+ * Returns a list of nodes that have been modified from their original values.
840
+ * This is used to track which nodes need DOM updates.
841
+ *
842
+ * @param verify if true, performs additional verification by comparing current vs original positions
843
+ * @returns array of nodes that have been modified
844
+ *
845
+ * @example
846
+ * const changed = engine.getDirtyNodes();
847
+ * console.log('Modified nodes:', changed.length);
848
+ *
849
+ * // Get verified dirty nodes
850
+ * const verified = engine.getDirtyNodes(true);
851
+ */
852
+ getDirtyNodes(t) {
853
+ return t ? this.nodes.filter((e) => e._dirty && !h.samePos(e, e._orig)) : this.nodes.filter((e) => e._dirty);
854
+ }
855
+ /** @internal call this to call onChange callback with dirty nodes so DOM can be updated */
856
+ _notify(t) {
857
+ if (this.batchMode || !this.onChange)
858
+ return this;
859
+ const e = (t || []).concat(this.getDirtyNodes());
860
+ return this.onChange(e), this;
861
+ }
862
+ /**
863
+ * Clean all dirty and last tried information from nodes.
864
+ * This resets the dirty state tracking for all nodes.
865
+ *
866
+ * @returns the engine instance for chaining
867
+ *
868
+ * @internal
869
+ */
870
+ cleanNodes() {
871
+ return this.batchMode ? this : (this.nodes.forEach((t) => {
872
+ delete t._dirty, delete t._lastTried;
873
+ }), this);
874
+ }
875
+ /**
876
+ * Save the initial position/size of all nodes to track real dirty state.
877
+ * This creates a snapshot of current positions that can be restored later.
878
+ *
879
+ * Note: Should be called right after change events and before move/resize operations.
880
+ *
881
+ * @returns the engine instance for chaining
882
+ *
883
+ * @internal
884
+ */
885
+ saveInitial() {
886
+ return this.nodes.forEach((t) => {
887
+ t._orig = h.copyPos({}, t), delete t._dirty;
888
+ }), this._hasLocked = this.nodes.some((t) => t.locked), this;
889
+ }
890
+ /**
891
+ * Restore all nodes back to their initial values.
892
+ * This is typically called when canceling an operation (e.g., Esc key during drag).
893
+ *
894
+ * @returns the engine instance for chaining
895
+ *
896
+ * @internal
897
+ */
898
+ restoreInitial() {
899
+ return this.nodes.forEach((t) => {
900
+ !t._orig || h.samePos(t, t._orig) || (h.copyPos(t, t._orig), t._dirty = !0);
901
+ }), this._notify(), this;
902
+ }
903
+ /**
904
+ * Find the first available empty spot for the given node dimensions.
905
+ * Updates the node's x,y attributes with the found position.
906
+ *
907
+ * @param node the node to find a position for (w,h must be set)
908
+ * @param nodeList optional list of nodes to check against (defaults to engine nodes)
909
+ * @param column optional column count (defaults to engine column count)
910
+ * @param after optional node to start search after (maintains order)
911
+ * @returns true if an empty position was found and node was updated
912
+ *
913
+ * @example
914
+ * const node = { w: 2, h: 1 };
915
+ * if (engine.findEmptyPosition(node)) {
916
+ * console.log('Found position at:', node.x, node.y);
917
+ * }
918
+ */
919
+ findEmptyPosition(t, e = this.nodes, i = this.column, s) {
920
+ const r = s ? s.y * i + (s.x + s.w) : 0;
921
+ let n = !1;
922
+ for (let o = r; !n; ++o) {
923
+ const d = o % i, l = Math.floor(o / i);
924
+ if (d + t.w > i)
925
+ continue;
926
+ const a = { x: d, y: l, w: t.w, h: t.h };
927
+ e.find((u) => h.isIntercepted(a, u)) || ((t.x !== d || t.y !== l) && (t._dirty = !0), t.x = d, t.y = l, delete t.autoPosition, n = !0);
928
+ }
929
+ return n;
930
+ }
931
+ /**
932
+ * Add the given node to the grid, handling collision detection and re-packing.
933
+ * This is the main method for adding new widgets to the engine.
934
+ *
935
+ * @param node the node to add to the grid
936
+ * @param triggerAddEvent if true, adds node to addedNodes list for event triggering
937
+ * @param after optional node to place this node after (for ordering)
938
+ * @returns the added node (or existing node if duplicate)
939
+ *
940
+ * @example
941
+ * const node = { x: 0, y: 0, w: 2, h: 1, content: 'Hello' };
942
+ * const added = engine.addNode(node, true);
943
+ */
944
+ addNode(t, e = !1, i) {
945
+ const s = this.nodes.find((n) => n._id === t._id);
946
+ if (s)
947
+ return s;
948
+ this._inColumnResize ? this.nodeBoundFix(t) : this.prepareNode(t), delete t._temporaryRemoved, delete t._removeDOM;
949
+ let r;
950
+ return t.autoPosition && this.findEmptyPosition(t, this.nodes, this.column, i) && (delete t.autoPosition, r = !0), this.nodes.push(t), e && this.addedNodes.push(t), r || this._fixCollisions(t), this.batchMode || this._packNodes()._notify(), t;
951
+ }
952
+ /**
953
+ * Remove the given node from the grid.
954
+ *
955
+ * @param node the node to remove
956
+ * @param removeDOM if true (default), marks node for DOM removal
957
+ * @param triggerEvent if true, adds node to removedNodes list for event triggering
958
+ * @returns the engine instance for chaining
959
+ *
960
+ * @example
961
+ * engine.removeNode(node, true, true);
962
+ */
963
+ removeNode(t, e = !0, i = !1) {
964
+ return this.nodes.find((s) => s._id === t._id) ? (i && this.removedNodes.push(t), e && (t._removeDOM = !0), this.nodes = this.nodes.filter((s) => s._id !== t._id), t._isAboutToRemove || this._packNodes(), this._notify([t]), this) : this;
965
+ }
966
+ /**
967
+ * Remove all nodes from the grid.
968
+ *
969
+ * @param removeDOM if true (default), marks all nodes for DOM removal
970
+ * @param triggerEvent if true (default), triggers removal events
971
+ * @returns the engine instance for chaining
972
+ *
973
+ * @example
974
+ * engine.removeAll(); // Remove all nodes
975
+ */
976
+ removeAll(t = !0, e = !0) {
977
+ if (delete this._layouts, !this.nodes.length)
978
+ return this;
979
+ t && this.nodes.forEach((s) => s._removeDOM = !0);
980
+ const i = this.nodes;
981
+ return this.removedNodes = e ? i : [], this.nodes = [], this._notify(i);
982
+ }
983
+ /**
984
+ * Check if a node can be moved to a new position, considering layout constraints.
985
+ * This is a safer version of moveNode() that validates the move first.
986
+ *
987
+ * For complex cases (like maxRow constraints), it simulates the move in a clone first,
988
+ * then applies the changes only if they meet all specifications.
989
+ *
990
+ * @param node the node to move
991
+ * @param o move options including target position
992
+ * @returns true if the node was successfully moved
993
+ *
994
+ * @example
995
+ * const canMove = engine.moveNodeCheck(node, { x: 2, y: 1 });
996
+ * if (canMove) {
997
+ * console.log('Node moved successfully');
998
+ * }
999
+ */
1000
+ moveNodeCheck(t, e) {
1001
+ if (!this.changedPosConstrain(t, e))
1002
+ return !1;
1003
+ if (e.pack = !0, !this.maxRow)
1004
+ return this.moveNode(t, e);
1005
+ let i;
1006
+ const s = new x({
1007
+ column: this.column,
1008
+ float: this.float,
1009
+ nodes: this.nodes.map((n) => n._id === t._id ? (i = { ...n }, i) : { ...n })
1010
+ });
1011
+ if (!i)
1012
+ return !1;
1013
+ const r = s.moveNode(i, e) && s.getRow() <= Math.max(this.getRow(), this.maxRow);
1014
+ if (!r && !e.resizing && e.collide) {
1015
+ const n = e.collide.el.gridstackNode;
1016
+ if (this.swap(t, n))
1017
+ return this._notify(), !0;
1018
+ }
1019
+ return r ? (s.nodes.filter((n) => n._dirty).forEach((n) => {
1020
+ const o = this.nodes.find((d) => d._id === n._id);
1021
+ o && (h.copyPos(o, n), o._dirty = !0);
1022
+ }), this._notify(), !0) : !1;
1023
+ }
1024
+ /** return true if can fit in grid height constrain only (always true if no maxRow) */
1025
+ willItFit(t) {
1026
+ if (delete t._willFitPos, !this.maxRow)
1027
+ return !0;
1028
+ const e = new x({
1029
+ column: this.column,
1030
+ float: this.float,
1031
+ nodes: this.nodes.map((s) => ({ ...s }))
1032
+ }), i = { ...t };
1033
+ return this.cleanupNode(i), delete i.el, delete i._id, delete i.content, delete i.grid, e.addNode(i), e.getRow() <= this.maxRow ? (t._willFitPos = h.copyPos({}, i), !0) : !1;
1034
+ }
1035
+ /** true if x,y or w,h are different after clamping to min/max */
1036
+ changedPosConstrain(t, e) {
1037
+ return e.w = e.w || t.w, e.h = e.h || t.h, t.x !== e.x || t.y !== e.y ? !0 : (t.maxW && (e.w = Math.min(e.w, t.maxW)), t.maxH && (e.h = Math.min(e.h, t.maxH)), t.minW && (e.w = Math.max(e.w, t.minW)), t.minH && (e.h = Math.max(e.h, t.minH)), t.w !== e.w || t.h !== e.h);
1038
+ }
1039
+ /** return true if the passed in node was actually moved (checks for no-op and locked) */
1040
+ moveNode(t, e) {
1041
+ if (!t || /*node.locked ||*/
1042
+ !e)
1043
+ return !1;
1044
+ let i;
1045
+ e.pack === void 0 && !this.batchMode && (i = e.pack = !0), typeof e.x != "number" && (e.x = t.x), typeof e.y != "number" && (e.y = t.y), typeof e.w != "number" && (e.w = t.w), typeof e.h != "number" && (e.h = t.h);
1046
+ const s = t.w !== e.w || t.h !== e.h, r = h.copyPos({}, t, !0);
1047
+ if (h.copyPos(r, e), this.nodeBoundFix(r, s), h.copyPos(e, r), !e.forceCollide && h.samePos(t, e))
1048
+ return !1;
1049
+ const n = h.copyPos({}, t), o = this.collideAll(t, r, e.skip);
1050
+ let d = !0;
1051
+ if (o.length) {
1052
+ const l = t._moving && !e.nested;
1053
+ let a = l ? this.directionCollideCoverage(t, e, o) : o[0];
1054
+ if (l && a && t.grid?.opts?.subGridDynamic && !t.grid._isTemp) {
1055
+ const u = h.areaIntercept(e.rect, a._rect), c = h.area(e.rect), p = h.area(a._rect);
1056
+ u / (c < p ? c : p) > 0.8 && (a.grid.makeSubGrid(a.el, void 0, t), a = void 0);
1057
+ }
1058
+ a ? d = !this._fixCollisions(t, r, a, e) : (d = !1, i && delete e.pack);
1059
+ }
1060
+ return d && !h.samePos(t, r) && (t._dirty = !0, h.copyPos(t, r)), e.pack && this._packNodes()._notify(), !h.samePos(t, n);
1061
+ }
1062
+ getRow() {
1063
+ return this.nodes.reduce((t, e) => Math.max(t, e.y + e.h), 0);
1064
+ }
1065
+ beginUpdate(t) {
1066
+ return t._updating || (t._updating = !0, delete t._skipDown, this.batchMode || this.saveInitial()), this;
1067
+ }
1068
+ endUpdate() {
1069
+ const t = this.nodes.find((e) => e._updating);
1070
+ return t && (delete t._updating, delete t._skipDown), this;
1071
+ }
1072
+ /** saves a copy of the largest column layout (eg 12 even when rendering 1 column) so we don't loose orig layout, unless explicity column
1073
+ * count to use is given. returning a list of widgets for serialization
1074
+ * @param saveElement if true (default), the element will be saved to GridStackWidget.el field, else it will be removed.
1075
+ * @param saveCB callback for each node -> widget, so application can insert additional data to be saved into the widget data structure.
1076
+ * @param column if provided, the grid will be saved for the given column count (IFF we have matching internal saved layout, or current layout).
1077
+ * Note: nested grids will ALWAYS save the container w to match overall layouts (parent + child) to be consistent.
1078
+ */
1079
+ save(t = !0, e, i) {
1080
+ const s = this._layouts?.length || 0;
1081
+ let r;
1082
+ s && (i ? i !== this.column && (r = this._layouts[i]) : this.column !== s - 1 && (r = this._layouts[s - 1]));
1083
+ const n = [];
1084
+ return this.sortNodes(), this.nodes.forEach((o) => {
1085
+ const d = r?.find((a) => a._id === o._id), l = { ...o, ...d || {} };
1086
+ h.removeInternalForSave(l, !t), e && e(o, l), n.push(l);
1087
+ }), n;
1088
+ }
1089
+ /** @internal called whenever a node is added or moved - updates the cached layouts */
1090
+ layoutsNodesChange(t) {
1091
+ return !this._layouts || this._inColumnResize ? this : (this._layouts.forEach((e, i) => {
1092
+ if (!e || i === this.column)
1093
+ return this;
1094
+ if (i < this.column)
1095
+ this._layouts[i] = void 0;
1096
+ else {
1097
+ const s = i / this.column;
1098
+ t.forEach((r) => {
1099
+ if (!r._orig)
1100
+ return;
1101
+ const n = e.find((o) => o._id === r._id);
1102
+ n && (n.y >= 0 && r.y !== r._orig.y && (n.y += r.y - r._orig.y, n.y < 0 && (n.y = 0)), r.x !== r._orig.x && (n.x = Math.round(r.x * s), n.x < 0 && (n.x = 0)), r.w !== r._orig.w && (n.w = Math.round(r.w * s), n.w < 1 && (n.w = 1)));
1103
+ });
1104
+ }
1105
+ }), this);
1106
+ }
1107
+ /**
1108
+ * @internal Called to scale the widget width & position up/down based on the column change.
1109
+ * Note we store previous layouts (especially original ones) to make it possible to go
1110
+ * from say 12 -> 1 -> 12 and get back to where we were.
1111
+ *
1112
+ * @param prevColumn previous number of columns
1113
+ * @param column new column number
1114
+ * @param layout specify the type of re-layout that will happen (position, size, etc...).
1115
+ * Note: items will never be outside of the current column boundaries. default (moveScale). Ignored for 1 column
1116
+ */
1117
+ columnChanged(t, e, i = "moveScale") {
1118
+ if (!this.nodes.length || !e || t === e)
1119
+ return this;
1120
+ const s = i === "compact" || i === "list";
1121
+ s && this.sortNodes(1), e < t && this.cacheLayout(this.nodes, t), this.batchUpdate();
1122
+ let r = [], n = s ? this.nodes : h.sort(this.nodes, -1);
1123
+ if (e > t && this._layouts) {
1124
+ const o = this._layouts[e] || [], d = this._layouts.length - 1;
1125
+ !o.length && t !== d && this._layouts[d]?.length && (t = d, this._layouts[d].forEach((l) => {
1126
+ const a = n.find((u) => u._id === l._id);
1127
+ a && (!s && !l.autoPosition && (a.x = l.x ?? a.x, a.y = l.y ?? a.y), a.w = l.w ?? a.w, (l.x == null || l.y === void 0) && (a.autoPosition = !0));
1128
+ })), o.forEach((l) => {
1129
+ const a = n.findIndex((u) => u._id === l._id);
1130
+ if (a !== -1) {
1131
+ const u = n[a];
1132
+ if (s) {
1133
+ u.w = l.w;
1134
+ return;
1135
+ }
1136
+ (l.autoPosition || isNaN(l.x) || isNaN(l.y)) && this.findEmptyPosition(l, r), l.autoPosition || (u.x = l.x ?? u.x, u.y = l.y ?? u.y, u.w = l.w ?? u.w, r.push(u)), n.splice(a, 1);
1137
+ }
1138
+ });
1139
+ }
1140
+ if (s)
1141
+ this.compact(i, !1);
1142
+ else {
1143
+ if (n.length)
1144
+ if (typeof i == "function")
1145
+ i(e, t, r, n);
1146
+ else {
1147
+ const o = s || i === "none" ? 1 : e / t, d = i === "move" || i === "moveScale", l = i === "scale" || i === "moveScale";
1148
+ n.forEach((a) => {
1149
+ a.x = e === 1 ? 0 : d ? Math.round(a.x * o) : Math.min(a.x, e - 1), a.w = e === 1 || t === 1 ? 1 : l ? Math.round(a.w * o) || 1 : Math.min(a.w, e), r.push(a);
1150
+ }), n = [];
1151
+ }
1152
+ r = h.sort(r, -1), this._inColumnResize = !0, this.nodes = [], r.forEach((o) => {
1153
+ this.addNode(o, !1), delete o._orig;
1154
+ });
1155
+ }
1156
+ return this.nodes.forEach((o) => delete o._orig), this.batchUpdate(!1, !s), delete this._inColumnResize, this;
1157
+ }
1158
+ /**
1159
+ * call to cache the given layout internally to the given location so we can restore back when column changes size
1160
+ * @param nodes list of nodes
1161
+ * @param column corresponding column index to save it under
1162
+ * @param clear if true, will force other caches to be removed (default false)
1163
+ */
1164
+ cacheLayout(t, e, i = !1) {
1165
+ const s = [];
1166
+ return t.forEach((r, n) => {
1167
+ if (r._id === void 0) {
1168
+ const o = r.id ? this.nodes.find((d) => d.id === r.id) : void 0;
1169
+ r._id = o?._id ?? x._idSeq++;
1170
+ }
1171
+ s[n] = { x: r.x, y: r.y, w: r.w, _id: r._id };
1172
+ }), this._layouts = i ? [] : this._layouts || [], this._layouts[e] = s, this;
1173
+ }
1174
+ /**
1175
+ * call to cache the given node layout internally to the given location so we can restore back when column changes size
1176
+ * @param node single node to cache
1177
+ * @param column corresponding column index to save it under
1178
+ */
1179
+ cacheOneLayout(t, e) {
1180
+ t._id = t._id ?? x._idSeq++;
1181
+ const i = { x: t.x, y: t.y, w: t.w, _id: t._id };
1182
+ (t.autoPosition || t.x === void 0) && (delete i.x, delete i.y, t.autoPosition && (i.autoPosition = !0)), this._layouts = this._layouts || [], this._layouts[e] = this._layouts[e] || [];
1183
+ const s = this.findCacheLayout(t, e);
1184
+ return s === -1 ? this._layouts[e].push(i) : this._layouts[e][s] = i, this;
1185
+ }
1186
+ findCacheLayout(t, e) {
1187
+ return this._layouts?.[e]?.findIndex((i) => i._id === t._id) ?? -1;
1188
+ }
1189
+ removeNodeFromLayoutCache(t) {
1190
+ if (this._layouts)
1191
+ for (let e = 0; e < this._layouts.length; e++) {
1192
+ const i = this.findCacheLayout(t, e);
1193
+ i !== -1 && this._layouts[e].splice(i, 1);
1194
+ }
1195
+ }
1196
+ /** called to remove all internal values but the _id */
1197
+ cleanupNode(t) {
1198
+ for (const e in t)
1199
+ e[0] === "_" && e !== "_id" && delete t[e];
1200
+ return this;
1201
+ }
1202
+ }
1203
+ x._idSeq = 0;
1204
+ const v = {
1205
+ alwaysShowResizeHandle: "mobile",
1206
+ animate: !0,
1207
+ auto: !0,
1208
+ cellHeight: "auto",
1209
+ cellHeightThrottle: 100,
1210
+ cellHeightUnit: "px",
1211
+ column: 12,
1212
+ draggable: { handle: ".grid-stack-item-content", appendTo: "body", scroll: !0 },
1213
+ handle: ".grid-stack-item-content",
1214
+ itemClass: "grid-stack-item",
1215
+ margin: 10,
1216
+ marginUnit: "px",
1217
+ maxRow: 0,
1218
+ minRow: 0,
1219
+ placeholderClass: "grid-stack-placeholder",
1220
+ placeholderText: "",
1221
+ removableOptions: { accept: "grid-stack-item", decline: "grid-stack-non-removable" },
1222
+ resizable: { handles: "se" },
1223
+ rtl: "auto"
1224
+ // **** same as not being set ****
1225
+ // disableDrag: false,
1226
+ // disableResize: false,
1227
+ // float: false,
1228
+ // handleClass: null,
1229
+ // removable: false,
1230
+ // staticGrid: false,
1231
+ //removable
1232
+ };
1233
+ class f {
1234
+ }
1235
+ const b = typeof window < "u" && typeof document < "u" && ("ontouchstart" in document || "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0);
1236
+ class w {
1237
+ }
1238
+ function D(m, t) {
1239
+ m.touches.length > 1 || (m.cancelable && m.preventDefault(), h.simulateMouseEvent(m.changedTouches[0], t));
1240
+ }
1241
+ function W(m, t) {
1242
+ m.cancelable && m.preventDefault(), h.simulateMouseEvent(m, t);
1243
+ }
1244
+ function H(m) {
1245
+ w.touchHandled || (w.touchHandled = !0, D(m, "mousedown"));
1246
+ }
1247
+ function N(m) {
1248
+ w.touchHandled && D(m, "mousemove");
1249
+ }
1250
+ function T(m) {
1251
+ if (!w.touchHandled)
1252
+ return;
1253
+ w.pointerLeaveTimeout && (window.clearTimeout(w.pointerLeaveTimeout), delete w.pointerLeaveTimeout);
1254
+ const t = !!f.dragElement;
1255
+ D(m, "mouseup"), t || D(m, "click"), w.touchHandled = !1;
1256
+ }
1257
+ function k(m) {
1258
+ m.pointerType !== "mouse" && m.target.releasePointerCapture(m.pointerId);
1259
+ }
1260
+ function P(m) {
1261
+ f.dragElement && m.pointerType !== "mouse" && W(m, "mouseenter");
1262
+ }
1263
+ function B(m) {
1264
+ f.dragElement && m.pointerType !== "mouse" && (w.pointerLeaveTimeout = window.setTimeout(() => {
1265
+ delete w.pointerLeaveTimeout, W(m, "mouseleave");
1266
+ }, 10));
1267
+ }
1268
+ class M {
1269
+ constructor(t, e, i) {
1270
+ this.host = t, this.dir = e, this.option = i, this.moving = !1, this._mouseDown = this._mouseDown.bind(this), this._mouseMove = this._mouseMove.bind(this), this._mouseUp = this._mouseUp.bind(this), this._keyEvent = this._keyEvent.bind(this), this._init();
1271
+ }
1272
+ /** @internal */
1273
+ _init() {
1274
+ if (this.option.element)
1275
+ try {
1276
+ this.el = this.option.element instanceof HTMLElement ? this.option.element : this.host.querySelector(this.option.element);
1277
+ } catch (t) {
1278
+ this.option.element = void 0, console.error("Query for resizeable handle failed, falling back", t);
1279
+ }
1280
+ return this.el || (this.el = document.createElement("div"), this.host.appendChild(this.el)), this.el.classList.add("ui-resizable-handle"), this.el.classList.add(`${M.prefix}${this.dir}`), this.el.style.zIndex = "100", this.el.style.userSelect = "none", this.el.addEventListener("mousedown", this._mouseDown), b && (this.el.addEventListener("touchstart", H), this.el.addEventListener("pointerdown", k)), this;
1281
+ }
1282
+ /** call this when resize handle needs to be removed and cleaned up */
1283
+ destroy() {
1284
+ return this.moving && this._mouseUp(this.mouseDownEvent), this.el.removeEventListener("mousedown", this._mouseDown), b && (this.el.removeEventListener("touchstart", H), this.el.removeEventListener("pointerdown", k)), this.option.element || this.host.removeChild(this.el), delete this.el, delete this.host, this;
1285
+ }
1286
+ /** @internal called on mouse down on us: capture move on the entire document (mouse might not stay on us) until we release the mouse */
1287
+ _mouseDown(t) {
1288
+ this.mouseDownEvent = t, document.addEventListener("mousemove", this._mouseMove, { capture: !0, passive: !0 }), document.addEventListener("mouseup", this._mouseUp, !0), b && (this.el.addEventListener("touchmove", N), this.el.addEventListener("touchend", T)), t.stopPropagation(), t.preventDefault();
1289
+ }
1290
+ /** @internal */
1291
+ _mouseMove(t) {
1292
+ const e = this.mouseDownEvent;
1293
+ this.moving ? this._triggerEvent("move", t) : Math.abs(t.x - e.x) + Math.abs(t.y - e.y) > 2 && (this.moving = !0, this._triggerEvent("start", this.mouseDownEvent), this._triggerEvent("move", t), document.addEventListener("keydown", this._keyEvent)), t.stopPropagation();
1294
+ }
1295
+ /** @internal */
1296
+ _mouseUp(t) {
1297
+ this.moving && (this._triggerEvent("stop", t), document.removeEventListener("keydown", this._keyEvent)), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), b && (this.el.removeEventListener("touchmove", N), this.el.removeEventListener("touchend", T)), delete this.moving, delete this.mouseDownEvent, t.stopPropagation(), t.preventDefault();
1298
+ }
1299
+ /** @internal call when keys are being pressed - use Esc to cancel */
1300
+ _keyEvent(t) {
1301
+ t.key === "Escape" && (this.host.gridstackNode?.grid?.engine.restoreInitial(), this._mouseUp(this.mouseDownEvent));
1302
+ }
1303
+ /** @internal */
1304
+ _triggerEvent(t, e) {
1305
+ return this.option[t] && this.option[t](e), this;
1306
+ }
1307
+ }
1308
+ M.prefix = "ui-resizable-";
1309
+ class S {
1310
+ constructor() {
1311
+ this._eventRegister = {};
1312
+ }
1313
+ /**
1314
+ * Returns the current disabled state.
1315
+ * Note: Use enable()/disable() methods to change state as other operations need to happen.
1316
+ */
1317
+ get disabled() {
1318
+ return this._disabled;
1319
+ }
1320
+ /**
1321
+ * Register an event callback for the specified event.
1322
+ *
1323
+ * @param event - Event name to listen for
1324
+ * @param callback - Function to call when event occurs
1325
+ */
1326
+ on(t, e) {
1327
+ this._eventRegister[t] = e;
1328
+ }
1329
+ /**
1330
+ * Unregister an event callback for the specified event.
1331
+ *
1332
+ * @param event - Event name to stop listening for
1333
+ */
1334
+ off(t) {
1335
+ delete this._eventRegister[t];
1336
+ }
1337
+ /**
1338
+ * Enable this drag & drop implementation.
1339
+ * Subclasses should override to perform additional setup.
1340
+ */
1341
+ enable() {
1342
+ this._disabled = !1;
1343
+ }
1344
+ /**
1345
+ * Disable this drag & drop implementation.
1346
+ * Subclasses should override to perform additional cleanup.
1347
+ */
1348
+ disable() {
1349
+ this._disabled = !0;
1350
+ }
1351
+ /**
1352
+ * Destroy this drag & drop implementation and clean up resources.
1353
+ * Removes all event handlers and clears internal state.
1354
+ */
1355
+ destroy() {
1356
+ delete this._eventRegister;
1357
+ }
1358
+ /**
1359
+ * Trigger a registered event callback if one exists and the implementation is enabled.
1360
+ *
1361
+ * @param eventName - Name of the event to trigger
1362
+ * @param event - DOM event object to pass to the callback
1363
+ * @returns Result from the callback function, if any
1364
+ */
1365
+ triggerEvent(t, e) {
1366
+ if (!this.disabled && this._eventRegister && this._eventRegister[t])
1367
+ return this._eventRegister[t](e);
1368
+ }
1369
+ }
1370
+ class R extends S {
1371
+ // have to be public else complains for HTMLElementExtendOpt ?
1372
+ constructor(t, e = {}) {
1373
+ super(), this.el = t, this.option = e, this.rectScale = { x: 1, y: 1 }, this._ui = () => {
1374
+ const s = this.el.parentElement.getBoundingClientRect(), r = {
1375
+ width: this.originalRect.width,
1376
+ height: this.originalRect.height + this.scrolled,
1377
+ left: this.originalRect.left,
1378
+ right: this.originalRect.right,
1379
+ top: this.originalRect.top - this.scrolled
1380
+ }, n = this.temporalRect || r;
1381
+ return {
1382
+ position: {
1383
+ left: this.option.rtl ? (s.right - n.right) * this.rectScale.x : (n.left - s.left) * this.rectScale.x,
1384
+ top: (n.top - s.top) * this.rectScale.y
1385
+ },
1386
+ size: {
1387
+ width: n.width * this.rectScale.x,
1388
+ height: n.height * this.rectScale.y
1389
+ }
1390
+ /* Gridstack ONLY needs position set above... keep around in case.
1391
+ element: [this.el], // The object representing the element to be resized
1392
+ helper: [], // TODO: not support yet - The object representing the helper that's being resized
1393
+ originalElement: [this.el],// we don't wrap here, so simplify as this.el //The object representing the original element before it is wrapped
1394
+ originalPosition: { // The position represented as { left, top } before the resizable is resized
1395
+ left: this.originalRect.left - containmentRect.left,
1396
+ top: this.originalRect.top - containmentRect.top
1397
+ },
1398
+ originalSize: { // The size represented as { width, height } before the resizable is resized
1399
+ width: this.originalRect.width,
1400
+ height: this.originalRect.height
1401
+ }
1402
+ */
1403
+ };
1404
+ }, this._mouseOver = this._mouseOver.bind(this), this._mouseOut = this._mouseOut.bind(this), this.enable(), this._setupAutoHide(this.option.autoHide), this._setupHandlers();
1405
+ }
1406
+ on(t, e) {
1407
+ super.on(t, e);
1408
+ }
1409
+ off(t) {
1410
+ super.off(t);
1411
+ }
1412
+ enable() {
1413
+ super.enable(), this.el.classList.remove("ui-resizable-disabled"), this._setupAutoHide(this.option.autoHide);
1414
+ }
1415
+ disable() {
1416
+ super.disable(), this.el.classList.add("ui-resizable-disabled"), this._setupAutoHide(!1);
1417
+ }
1418
+ destroy() {
1419
+ this._removeHandlers(), this._setupAutoHide(!1), delete this.el, super.destroy();
1420
+ }
1421
+ updateOption(t) {
1422
+ const e = t.handles && t.handles !== this.option.handles, i = t.autoHide && t.autoHide !== this.option.autoHide;
1423
+ return Object.keys(t).forEach((s) => this.option[s] = t[s]), e && (this._removeHandlers(), this._setupHandlers()), i && this._setupAutoHide(this.option.autoHide), this;
1424
+ }
1425
+ /** @internal turns auto hide on/off */
1426
+ _setupAutoHide(t) {
1427
+ return t ? (this.el.classList.add("ui-resizable-autohide"), this.el.addEventListener("mouseover", this._mouseOver), this.el.addEventListener("mouseout", this._mouseOut)) : (this.el.classList.remove("ui-resizable-autohide"), this.el.removeEventListener("mouseover", this._mouseOver), this.el.removeEventListener("mouseout", this._mouseOut), f.overResizeElement === this && delete f.overResizeElement), this;
1428
+ }
1429
+ /** @internal */
1430
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1431
+ _mouseOver(t) {
1432
+ f.overResizeElement || f.dragElement || (f.overResizeElement = this, this.el.classList.remove("ui-resizable-autohide"));
1433
+ }
1434
+ /** @internal */
1435
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1436
+ _mouseOut(t) {
1437
+ f.overResizeElement === this && (delete f.overResizeElement, this.el.classList.add("ui-resizable-autohide"));
1438
+ }
1439
+ /** @internal */
1440
+ _setupHandlers() {
1441
+ return this.handlers = this.option.handles.split(",").map((t) => t.trim()).map((t) => new M(this.el, t, {
1442
+ element: this.option.element,
1443
+ start: (e) => this._resizeStart(e),
1444
+ stop: (e) => this._resizeStop(e),
1445
+ move: (e) => this._resizing(e, t)
1446
+ })), this;
1447
+ }
1448
+ /** @internal */
1449
+ _resizeStart(t) {
1450
+ this.sizeToContent = h.shouldSizeToContent(this.el.gridstackNode, !0), this.originalRect = this.el.getBoundingClientRect(), this.scrollEl = h.getScrollElement(this.el), this.scrollY = this.scrollEl.scrollTop, this.scrolled = 0, this.startEvent = t, this._setupHelper(), this._applyChange();
1451
+ const e = h.initEvent(t, { type: "resizestart", target: this.el });
1452
+ return this.option.start && this.option.start(e, this._ui()), this.el.classList.add("ui-resizable-resizing"), this.triggerEvent("resizestart", e), this;
1453
+ }
1454
+ /** @internal */
1455
+ _resizing(t, e) {
1456
+ this.scrolled = this.scrollEl.scrollTop - this.scrollY, this.temporalRect = this._getChange(t, e), this._applyChange();
1457
+ const i = h.initEvent(t, { type: "resize", target: this.el });
1458
+ return i.resizeDir = e, i.hasMovedX = this.option.rtl ? e.includes("e") : e.includes("w"), i.hasMovedY = e.includes("n"), this.option.resize && this.option.resize(i, this._ui()), this.triggerEvent("resize", i), this;
1459
+ }
1460
+ /** @internal */
1461
+ _resizeStop(t) {
1462
+ const e = h.initEvent(t, { type: "resizestop", target: this.el });
1463
+ return this._cleanHelper(), this.option.stop && this.option.stop(e), this.el.classList.remove("ui-resizable-resizing"), this.triggerEvent("resizestop", e), delete this.startEvent, delete this.originalRect, delete this.temporalRect, delete this.scrollY, delete this.scrolled, this;
1464
+ }
1465
+ /** @internal */
1466
+ _setupHelper() {
1467
+ this.elOriginStyleVal = R._originStyleProp.map((i) => this.el.style[i]), this.parentOriginStylePosition = this.el.parentElement.style.position;
1468
+ const t = this.el.parentElement, e = h.getValuesFromTransformedElement(t);
1469
+ return this.rectScale = {
1470
+ x: e.xScale,
1471
+ y: e.yScale
1472
+ }, getComputedStyle(this.el.parentElement).position.match(/static/) && (this.el.parentElement.style.position = "relative"), this.el.style.position = "absolute", this.el.style.opacity = "0.8", this;
1473
+ }
1474
+ /** @internal */
1475
+ _cleanHelper() {
1476
+ return R._originStyleProp.forEach((t, e) => {
1477
+ this.el.style[t] = this.elOriginStyleVal[e] || null;
1478
+ }), this.el.parentElement.style.position = this.parentOriginStylePosition || null, this;
1479
+ }
1480
+ /** @internal */
1481
+ _getChange(t, e) {
1482
+ const i = this.startEvent, s = {
1483
+ width: this.originalRect.width,
1484
+ height: this.originalRect.height + this.scrolled,
1485
+ left: this.originalRect.left,
1486
+ right: this.originalRect.right,
1487
+ top: this.originalRect.top - this.scrolled
1488
+ }, r = t.clientX - i.clientX, n = this.sizeToContent ? 0 : t.clientY - i.clientY;
1489
+ let o, d;
1490
+ const l = this.option.rtl;
1491
+ !l && e.indexOf("e") > -1 ? s.width += r : l && e.indexOf("w") > -1 ? s.width -= r : !l && e.indexOf("w") > -1 ? (s.width -= r, s.left += r, o = !0) : l && e.indexOf("e") > -1 && (s.width += r, s.right += r, o = !0), e.indexOf("s") > -1 ? s.height += n : e.indexOf("n") > -1 && (s.height -= n, s.top += n, d = !0);
1492
+ const a = this._constrainSize(s.width, s.height, o, d);
1493
+ return Math.round(s.width) !== Math.round(a.width) && (!l && e.indexOf("w") > -1 ? s.left += s.width - a.width : l && e.indexOf("e") > -1 && (s.right -= s.width - a.width), s.width = a.width), Math.round(s.height) !== Math.round(a.height) && (e.indexOf("n") > -1 && (s.top += s.height - a.height), s.height = a.height), s;
1494
+ }
1495
+ /** @internal constrain the size to the set min/max values */
1496
+ _constrainSize(t, e, i, s) {
1497
+ const r = this.option, n = (i ? r.maxWidthMoveLeft : r.maxWidth) || Number.MAX_SAFE_INTEGER, o = r.minWidth / this.rectScale.x || t, d = (s ? r.maxHeightMoveUp : r.maxHeight) || Number.MAX_SAFE_INTEGER, l = r.minHeight / this.rectScale.y || e, a = Math.min(n, Math.max(o, t)), u = Math.min(d, Math.max(l, e));
1498
+ return { width: a, height: u };
1499
+ }
1500
+ /** @internal */
1501
+ _applyChange() {
1502
+ let t = { left: 0, right: 0, top: 0, width: 0, height: 0 };
1503
+ if (this.el.style.position === "absolute") {
1504
+ const e = this.el.parentElement, { left: i, right: s, top: r } = e.getBoundingClientRect();
1505
+ t = { left: i, right: s, top: r, width: 0, height: 0 };
1506
+ }
1507
+ return this.temporalRect ? (Object.entries(this.temporalRect).forEach(([e, i]) => {
1508
+ if (this.option.rtl ? e === "left" : e === "right")
1509
+ return;
1510
+ const s = e === "width" || e === "left" || e === "right" ? this.rectScale.x : e === "height" || e === "top" ? this.rectScale.y : 1;
1511
+ let r;
1512
+ e === "right" ? r = (t.right - i) * this.rectScale.x + "px" : r = (i - t[e]) * s + "px", this.el.style[e] = r;
1513
+ }), this) : this;
1514
+ }
1515
+ /** @internal */
1516
+ _removeHandlers() {
1517
+ return this.handlers.forEach((t) => t.destroy()), delete this.handlers, this;
1518
+ }
1519
+ }
1520
+ R._originStyleProp = ["width", "height", "position", "left", "right", "top", "opacity", "zIndex"];
1521
+ const U = 'input,textarea,button,select,option,[contenteditable="true"],.ui-resizable-handle';
1522
+ class z extends S {
1523
+ constructor(t, e = {}) {
1524
+ super(), this.el = t, this.option = e, this.dragTransform = {
1525
+ xScale: 1,
1526
+ yScale: 1,
1527
+ xOffset: 0,
1528
+ yOffset: 0
1529
+ }, this._autoScrollTick = () => {
1530
+ const r = this.helper, n = this._autoScrollContainer;
1531
+ if (!r || !n) {
1532
+ this._stopScrolling();
1533
+ return;
1534
+ }
1535
+ const o = this._getClipping(r, n);
1536
+ if (o === 0) {
1537
+ this._stopScrolling();
1538
+ return;
1539
+ }
1540
+ if (!this._autoScrollMaxSpeed) {
1541
+ const c = window.innerHeight || document.documentElement.clientHeight;
1542
+ this._autoScrollMaxSpeed = Math.max(c / 150, 4);
1543
+ }
1544
+ const d = Math.abs(o), l = Math.min(d * 0.5, this._autoScrollMaxSpeed), a = o > 0 ? l : -l, u = n.scrollTop;
1545
+ if (n.scrollTop += a, n.scrollTop === u) {
1546
+ this._stopScrolling();
1547
+ return;
1548
+ }
1549
+ this.dragging && this.lastDrag && (this._dragFollow(this.lastDrag), this._callDrag(this.lastDrag)), this._autoScrollAnimId = requestAnimationFrame(this._autoScrollTick);
1550
+ };
1551
+ const i = e?.handle?.substring(1), s = t.gridstackNode;
1552
+ this.dragEls = !i || t.classList.contains(i) ? [t] : s?.subGrid ? [t.querySelector(e.handle) || t] : this.getAllHandles(), this.dragEls.length === 0 && (this.dragEls = [t]), this._mouseDown = this._mouseDown.bind(this), this._mouseMove = this._mouseMove.bind(this), this._mouseUp = this._mouseUp.bind(this), this._keyEvent = this._keyEvent.bind(this), this.enable();
1553
+ }
1554
+ /** return all handles omitting other nested `.grid-stack-item` children (in case node.subGrid isn't set for some reason) */
1555
+ getAllHandles() {
1556
+ return Array.from(this.el.querySelectorAll(this.option.handle)).filter((t) => {
1557
+ if (!(t instanceof HTMLElement))
1558
+ return !1;
1559
+ const e = t.closest(".grid-stack-item");
1560
+ return e === this.el || !e;
1561
+ });
1562
+ }
1563
+ on(t, e) {
1564
+ super.on(t, e);
1565
+ }
1566
+ off(t) {
1567
+ super.off(t);
1568
+ }
1569
+ enable() {
1570
+ this.disabled !== !1 && (super.enable(), this.dragEls.forEach((t) => {
1571
+ t.addEventListener("mousedown", this._mouseDown), b && (t.addEventListener("touchstart", H), t.addEventListener("pointerdown", k));
1572
+ }), this.el.classList.remove("ui-draggable-disabled"));
1573
+ }
1574
+ disable(t = !1) {
1575
+ this.disabled !== !0 && (super.disable(), this.dragEls.forEach((e) => {
1576
+ e.removeEventListener("mousedown", this._mouseDown), b && (e.removeEventListener("touchstart", H), e.removeEventListener("pointerdown", k));
1577
+ }), t || this.el.classList.add("ui-draggable-disabled"));
1578
+ }
1579
+ destroy() {
1580
+ this.dragTimeout && window.clearTimeout(this.dragTimeout), delete this.dragTimeout, this.mouseDownEvent && this._mouseUp(this.mouseDownEvent), this.disable(!0), delete this.el, delete this.helper, delete this.option, super.destroy();
1581
+ }
1582
+ updateOption(t) {
1583
+ return Object.keys(t).forEach((e) => this.option[e] = t[e]), this;
1584
+ }
1585
+ /** @internal call when mouse goes down before a dragstart happens */
1586
+ _mouseDown(t) {
1587
+ if (w.touchHandled && t.isTrusted && (w.touchHandled = !1), !f.mouseHandled)
1588
+ return t.button !== 0 || !this.dragEls.find((e) => e === t.target) && t.target.closest(U) || this.option.cancel && t.target.closest(this.option.cancel) || (this.mouseDownEvent = t, delete this.dragging, delete f.dragElement, delete f.dropElement, delete this._autoScrollMaxSpeed, delete this._autoScrollContainer, document.addEventListener("mousemove", this._mouseMove, { capture: !0, passive: !0 }), document.addEventListener("mouseup", this._mouseUp, !0), b && (t.currentTarget.addEventListener("touchmove", N), t.currentTarget.addEventListener("touchend", T)), t.preventDefault(), document.activeElement && document.activeElement.blur(), f.mouseHandled = !0), !0;
1589
+ }
1590
+ /** @internal method to call actual drag event */
1591
+ _callDrag(t) {
1592
+ if (!this.dragging)
1593
+ return;
1594
+ const e = h.initEvent(t, { target: this.el, type: "drag" });
1595
+ this.option.drag && this.option.drag(e, this.ui()), this.triggerEvent("drag", e);
1596
+ }
1597
+ /** @internal called when the main page (after successful mousedown) receives a move event to drag the item around the screen */
1598
+ _mouseMove(t) {
1599
+ const e = this.mouseDownEvent;
1600
+ if (this.lastDrag = t, this.dragging)
1601
+ if (this._dragFollow(t), f.pauseDrag) {
1602
+ const i = Number.isInteger(f.pauseDrag) ? f.pauseDrag : 100;
1603
+ this.dragTimeout && window.clearTimeout(this.dragTimeout), this.dragTimeout = window.setTimeout(() => this._callDrag(t), i);
1604
+ } else
1605
+ this._callDrag(t);
1606
+ else if (Math.abs(t.x - e.x) + Math.abs(t.y - e.y) > 3) {
1607
+ this.dragging = !0, f.dragElement = this;
1608
+ const i = this.el.gridstackNode?.grid;
1609
+ i ? f.dropElement = i.el.ddElement.ddDroppable : delete f.dropElement, this.helper = this._createHelper(), this._setupHelperContainmentStyle(), this.dragTransform = h.getValuesFromTransformedElement(this.helperContainment), this.dragOffset = this._getDragOffset(t, this.el, this.helperContainment), this._setupHelperStyle(t);
1610
+ const s = h.initEvent(t, { target: this.el, type: "dragstart" });
1611
+ this.option.start && this.option.start(s, this.ui()), this.triggerEvent("dragstart", s), document.addEventListener("keydown", this._keyEvent);
1612
+ }
1613
+ return !0;
1614
+ }
1615
+ /** @internal call when the mouse gets released to drop the item at current location */
1616
+ _mouseUp(t) {
1617
+ if (this._stopScrolling(), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), b && t.currentTarget && (t.currentTarget.removeEventListener("touchmove", N, !0), t.currentTarget.removeEventListener("touchend", T, !0)), this.dragging) {
1618
+ delete this.dragging, delete this.el.gridstackNode?._origRotate, document.removeEventListener("keydown", this._keyEvent), f.dropElement?.el === this.el.parentElement && delete f.dropElement, this.helperContainment.style.position = this.parentOriginStylePosition || null, this.helper !== this.el && this.helper.remove(), this._removeHelperStyle();
1619
+ const e = h.initEvent(t, { target: this.el, type: "dragstop" });
1620
+ this.option.stop && this.option.stop(e), this.triggerEvent("dragstop", e), f.dropElement && f.dropElement.drop(t);
1621
+ }
1622
+ delete this.helper, delete this.mouseDownEvent, delete f.dragElement, delete f.dropElement, delete f.mouseHandled, t.preventDefault();
1623
+ }
1624
+ /** @internal call when keys are being pressed - use Esc to cancel, R to rotate */
1625
+ _keyEvent(t) {
1626
+ const e = this.el.gridstackNode, i = e?.grid || f.dropElement?.el?.gridstack;
1627
+ if (t.key === "Escape")
1628
+ e && e._origRotate && (e._orig = e._origRotate, delete e._origRotate), i?.cancelDrag(), this._mouseUp(this.mouseDownEvent);
1629
+ else if (e && i && (t.key === "r" || t.key === "R")) {
1630
+ if (!h.canBeRotated(e))
1631
+ return;
1632
+ e._origRotate = e._origRotate || { ...e._orig }, delete e._moving, i.setAnimation(!1).rotate(e.el, {
1633
+ top: -this.dragOffset.offsetTop,
1634
+ left: -this.dragOffset.offsetX
1635
+ }).setAnimation(), e._moving = !0, this.dragOffset = this._getDragOffset(this.lastDrag, e.el, this.helperContainment), this.helper.style.width = this.dragOffset.width + "px", this.helper.style.height = this.dragOffset.height + "px", h.swap(e._orig, "w", "h"), delete e._rect, this._mouseMove(this.lastDrag);
1636
+ }
1637
+ }
1638
+ /** @internal create a clone copy (or user defined method) of the original drag item if set */
1639
+ _createHelper() {
1640
+ let t = this.el;
1641
+ return typeof this.option.helper == "function" ? t = this.option.helper(this.el) : this.option.helper === "clone" && (t = h.cloneNode(this.el)), t.parentElement || h.appendTo(t, this.option.appendTo === "parent" ? this.el.parentElement : this.option.appendTo), this.dragElementOriginStyle = z.originStyleProp.map((e) => this.el.style[e]), t;
1642
+ }
1643
+ /** @internal set the fix position of the dragged item */
1644
+ _setupHelperStyle(t) {
1645
+ this.helper.classList.add("ui-draggable-dragging"), this.el.gridstackNode?.grid?.el.classList.add("grid-stack-dragging");
1646
+ const e = this.helper.style;
1647
+ return e.pointerEvents = "none", e.width = this.dragOffset.width + "px", e.height = this.dragOffset.height + "px", e.willChange = "left, right, top", e.position = "fixed", this._dragFollow(t), e.transition = "none", setTimeout(() => {
1648
+ this.helper && (e.transition = null);
1649
+ }, 0), this;
1650
+ }
1651
+ /** @internal restore back the original style before dragging */
1652
+ _removeHelperStyle() {
1653
+ if (this.helper.classList.remove("ui-draggable-dragging"), this.el.gridstackNode?.grid?.el.classList.remove("grid-stack-dragging"), !this.helper?.gridstackNode?._isAboutToRemove && this.dragElementOriginStyle) {
1654
+ const e = this.helper, i = this.dragElementOriginStyle.transition || null;
1655
+ e.style.transition = this.dragElementOriginStyle.transition = "none", z.originStyleProp.forEach((s) => e.style[s] = this.dragElementOriginStyle[s] || null), setTimeout(() => e.style.transition = i, 50);
1656
+ }
1657
+ return delete this.dragElementOriginStyle, this;
1658
+ }
1659
+ /** @internal updates the top/left position to follow the mouse */
1660
+ _dragFollow(t) {
1661
+ const e = this.helper.style, i = this.dragOffset;
1662
+ this.option.rtl ? (e.right = (window.innerWidth - t.clientX + i.offsetX) * this.dragTransform.xScale + "px", e.left && (e.left = "")) : (e.left = (t.clientX + i.offsetX) * this.dragTransform.xScale + "px", e.right && (e.right = "")), e.top = (t.clientY + i.offsetTop) * this.dragTransform.yScale + "px";
1663
+ }
1664
+ /** @internal */
1665
+ _setupHelperContainmentStyle() {
1666
+ return this.helperContainment = this.helper.parentElement, this.helper.style.position !== "fixed" && (this.parentOriginStylePosition = this.helperContainment.style.position, getComputedStyle(this.helperContainment).position.match(/static/) && (this.helperContainment.style.position = "relative")), this;
1667
+ }
1668
+ /** @internal */
1669
+ _getDragOffset(t, e, i) {
1670
+ let s = 0, r = 0;
1671
+ i && (s = this.dragTransform.xOffset, r = this.dragTransform.yOffset);
1672
+ const n = e.getBoundingClientRect();
1673
+ let o = this.option.rtl ? n.right : n.left, d = this.option.rtl ? t.clientX - n.right + s : -t.clientX + n.left - s;
1674
+ return {
1675
+ x: o,
1676
+ top: n.top,
1677
+ offsetX: d,
1678
+ offsetTop: -t.clientY + n.top - r,
1679
+ width: n.width * this.dragTransform.xScale,
1680
+ height: n.height * this.dragTransform.yScale
1681
+ };
1682
+ }
1683
+ /** @internal starts or continues auto-scroll when the dragged helper is clipped by the scroll container.
1684
+ * Takes the grid's own element to find the scroll container so external/sidebar drags work too (#2074). */
1685
+ updateScrollPosition(t) {
1686
+ this._autoScrollContainer = h.getScrollElement(t), this._getClipping(this.helper, this._autoScrollContainer) === 0 ? this._stopScrolling() : this._autoScrollAnimId || (this._autoScrollAnimId = requestAnimationFrame(this._autoScrollTick));
1687
+ }
1688
+ /** @internal compute how many pixels the element is clipped: negative = above, positive = below, 0 = fully inside OR outside (stop scrolling) */
1689
+ _getClipping(t, e) {
1690
+ const i = t.getBoundingClientRect(), s = e.getBoundingClientRect(), r = window.innerHeight || document.documentElement.clientHeight;
1691
+ if (i.bottom < s.top || i.top > s.bottom)
1692
+ return 0;
1693
+ const n = i.bottom - Math.min(s.bottom, r), o = i.top - Math.max(s.top, 0);
1694
+ return o < 0 ? o : n > 0 ? n : 0;
1695
+ }
1696
+ /** @internal stop any active auto-scroll animation */
1697
+ _stopScrolling() {
1698
+ this._autoScrollAnimId && (cancelAnimationFrame(this._autoScrollAnimId), delete this._autoScrollAnimId);
1699
+ }
1700
+ /** @internal TODO: set to public as called by DDDroppable! */
1701
+ ui() {
1702
+ const e = this.el.parentElement.getBoundingClientRect(), i = this.helper.getBoundingClientRect(), s = this.option.rtl ? (e.right - i.right) * this.dragTransform.xScale : (i.left - e.left) * this.dragTransform.xScale;
1703
+ return {
1704
+ position: {
1705
+ top: (i.top - e.top) * this.dragTransform.yScale,
1706
+ left: s
1707
+ }
1708
+ /* not used by GridStack for now...
1709
+ helper: [this.helper], //The object arr representing the helper that's being dragged.
1710
+ offset: { top: offset.top, left: offset.left } // Current offset position of the helper as { top, left } object.
1711
+ */
1712
+ };
1713
+ }
1714
+ }
1715
+ z.originStyleProp = ["width", "height", "transform", "transform-origin", "transition", "pointerEvents", "position", "left", "right", "top", "minWidth", "willChange"];
1716
+ class F extends S {
1717
+ constructor(t, e = {}) {
1718
+ super(), this.el = t, this.option = e, this._mouseEnter = this._mouseEnter.bind(this), this._mouseLeave = this._mouseLeave.bind(this), this.enable(), this._setupAccept();
1719
+ }
1720
+ on(t, e) {
1721
+ super.on(t, e);
1722
+ }
1723
+ off(t) {
1724
+ super.off(t);
1725
+ }
1726
+ enable() {
1727
+ this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), b && (this.el.addEventListener("pointerenter", P), this.el.addEventListener("pointerleave", B)));
1728
+ }
1729
+ disable(t = !1) {
1730
+ this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), t || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), b && (this.el.removeEventListener("pointerenter", P), this.el.removeEventListener("pointerleave", B)));
1731
+ }
1732
+ destroy() {
1733
+ this.disable(!0), this.el.classList.remove("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), super.destroy();
1734
+ }
1735
+ updateOption(t) {
1736
+ return Object.keys(t).forEach((e) => this.option[e] = t[e]), this._setupAccept(), this;
1737
+ }
1738
+ /** @internal called when the cursor enters our area - prepare for a possible drop and track leaving */
1739
+ _mouseEnter(t) {
1740
+ if (!f.dragElement || w.touchHandled && t.isTrusted || !this._canDrop(f.dragElement.el))
1741
+ return;
1742
+ t.preventDefault(), t.stopPropagation(), f.dragElement._stopScrolling(), f.dropElement && f.dropElement !== this && f.dropElement._mouseLeave(t, !0), f.dropElement = this;
1743
+ const e = h.initEvent(t, { target: this.el, type: "dropover" });
1744
+ this.option.over && this.option.over(e, this._ui(f.dragElement)), this.triggerEvent("dropover", e), this.el.classList.add("ui-droppable-over");
1745
+ }
1746
+ /** @internal called when the item is leaving our area, stop tracking if we had moving item */
1747
+ _mouseLeave(t, e = !1) {
1748
+ if (!f.dragElement || f.dropElement !== this)
1749
+ return;
1750
+ t.preventDefault(), t.stopPropagation(), e && f.dragElement._stopScrolling();
1751
+ const i = h.initEvent(t, { target: this.el, type: "dropout" });
1752
+ if (this.option.out && this.option.out(i, this._ui(f.dragElement)), this.triggerEvent("dropout", i), f.dropElement === this && (delete f.dropElement, !e)) {
1753
+ let s, r = this.el.parentElement;
1754
+ for (; !s && r; )
1755
+ s = r.ddElement?.ddDroppable, r = r.parentElement;
1756
+ s && s._mouseEnter(t);
1757
+ }
1758
+ }
1759
+ /** item is being dropped on us - called by the drag mouseup handler - this calls the client drop event */
1760
+ drop(t) {
1761
+ t.preventDefault();
1762
+ const e = h.initEvent(t, { target: this.el, type: "drop" });
1763
+ this.option.drop && this.option.drop(e, this._ui(f.dragElement)), this.triggerEvent("drop", e);
1764
+ }
1765
+ /** @internal true if element matches the string/method accept option */
1766
+ _canDrop(t) {
1767
+ return t && (!this.accept || this.accept(t));
1768
+ }
1769
+ /** @internal */
1770
+ _setupAccept() {
1771
+ return this.option.accept ? (typeof this.option.accept == "string" ? this.accept = (t) => t.classList.contains(this.option.accept) || t.matches(this.option.accept) : this.accept = this.option.accept, this) : this;
1772
+ }
1773
+ /** @internal */
1774
+ _ui(t) {
1775
+ return {
1776
+ draggable: t.el,
1777
+ ...t.ui()
1778
+ };
1779
+ }
1780
+ }
1781
+ class O {
1782
+ static init(t) {
1783
+ return t.ddElement || (t.ddElement = new O(t)), t.ddElement;
1784
+ }
1785
+ constructor(t) {
1786
+ this.el = t;
1787
+ }
1788
+ on(t, e) {
1789
+ return this.ddDraggable && ["drag", "dragstart", "dragstop"].indexOf(t) > -1 ? this.ddDraggable.on(t, e) : this.ddDroppable && ["drop", "dropover", "dropout"].indexOf(t) > -1 ? this.ddDroppable.on(t, e) : this.ddResizable && ["resizestart", "resize", "resizestop"].indexOf(t) > -1 && this.ddResizable.on(t, e), this;
1790
+ }
1791
+ off(t) {
1792
+ return this.ddDraggable && ["drag", "dragstart", "dragstop"].indexOf(t) > -1 ? this.ddDraggable.off(t) : this.ddDroppable && ["drop", "dropover", "dropout"].indexOf(t) > -1 ? this.ddDroppable.off(t) : this.ddResizable && ["resizestart", "resize", "resizestop"].indexOf(t) > -1 && this.ddResizable.off(t), this;
1793
+ }
1794
+ setupDraggable(t) {
1795
+ return this.ddDraggable ? this.ddDraggable.updateOption(t) : this.ddDraggable = new z(this.el, t), this;
1796
+ }
1797
+ cleanDraggable() {
1798
+ return this.ddDraggable && (this.ddDraggable.destroy(), delete this.ddDraggable), this;
1799
+ }
1800
+ setupResizable(t) {
1801
+ return this.ddResizable ? this.ddResizable.updateOption(t) : this.ddResizable = new R(this.el, t), this;
1802
+ }
1803
+ cleanResizable() {
1804
+ return this.ddResizable && (this.ddResizable.destroy(), delete this.ddResizable), this;
1805
+ }
1806
+ setupDroppable(t) {
1807
+ return this.ddDroppable ? this.ddDroppable.updateOption(t) : this.ddDroppable = new F(this.el, t), this;
1808
+ }
1809
+ cleanDroppable() {
1810
+ return this.ddDroppable && (this.ddDroppable.destroy(), delete this.ddDroppable), this;
1811
+ }
1812
+ }
1813
+ class X {
1814
+ /**
1815
+ * Enable/disable/configure resizing for grid elements.
1816
+ *
1817
+ * @param el - Grid item element(s) to configure
1818
+ * @param opts - Resize options or command ('enable', 'disable', 'destroy', 'option', or config object)
1819
+ * @param key - Option key when using 'option' command
1820
+ * @param value - Option value when using 'option' command
1821
+ * @returns this instance for chaining
1822
+ *
1823
+ * @example
1824
+ * dd.resizable(element, 'enable'); // Enable resizing
1825
+ * dd.resizable(element, 'option', 'minWidth', 100); // Set minimum width
1826
+ */
1827
+ resizable(t, e, i, s) {
1828
+ return this._getDDElements(t, e).forEach((r) => {
1829
+ if (e === "disable" || e === "enable")
1830
+ r.ddResizable && r.ddResizable[e]();
1831
+ else if (e === "destroy")
1832
+ r.ddResizable && r.cleanResizable();
1833
+ else if (e === "option")
1834
+ r.setupResizable({ [i]: s });
1835
+ else {
1836
+ const o = r.el.gridstackNode.grid;
1837
+ let d = r.el.getAttribute("gs-resize-handles") || o.opts.resizable.handles || "e,s,se";
1838
+ d === "all" && (d = "n,e,s,w,se,sw,ne,nw");
1839
+ const l = !o.opts.alwaysShowResizeHandle;
1840
+ r.setupResizable({
1841
+ ...o.opts.resizable,
1842
+ handles: d,
1843
+ autoHide: l,
1844
+ start: e.start,
1845
+ stop: e.stop,
1846
+ resize: e.resize,
1847
+ rtl: e.rtl
1848
+ });
1849
+ }
1850
+ }), this;
1851
+ }
1852
+ /**
1853
+ * Enable/disable/configure dragging for grid elements.
1854
+ *
1855
+ * @param el - Grid item element(s) to configure
1856
+ * @param opts - Drag options or command ('enable', 'disable', 'destroy', 'option', or config object)
1857
+ * @param key - Option key when using 'option' command
1858
+ * @param value - Option value when using 'option' command
1859
+ * @param rtl - Are we in rtl mode?
1860
+ * @returns this instance for chaining
1861
+ *
1862
+ * @example
1863
+ * dd.draggable(element, 'enable'); // Enable dragging
1864
+ * dd.draggable(element, {handle: '.drag-handle'}); // Configure drag handle
1865
+ */
1866
+ draggable(t, e, i, s) {
1867
+ return this._getDDElements(t, e).forEach((r) => {
1868
+ if (e === "disable" || e === "enable")
1869
+ r.ddDraggable && r.ddDraggable[e]();
1870
+ else if (e === "destroy")
1871
+ r.ddDraggable && r.cleanDraggable();
1872
+ else if (e === "option")
1873
+ r.setupDraggable({ [i]: s });
1874
+ else {
1875
+ const n = r.el.gridstackNode.grid;
1876
+ r.setupDraggable({
1877
+ ...n.opts.draggable,
1878
+ // containment: (grid.parentGridNode && grid.opts.dragOut === false) ? grid.el.parentElement : (grid.opts.draggable.containment || null),
1879
+ start: e.start,
1880
+ stop: e.stop,
1881
+ drag: e.drag,
1882
+ rtl: e.rtl
1883
+ });
1884
+ }
1885
+ }), this;
1886
+ }
1887
+ dragIn(t, e) {
1888
+ return this._getDDElements(t).forEach((i) => i.setupDraggable(e)), this;
1889
+ }
1890
+ droppable(t, e, i, s) {
1891
+ return typeof e.accept == "function" && !e._accept && (e._accept = e.accept, e.accept = (r) => e._accept(r)), this._getDDElements(t, e).forEach((r) => {
1892
+ e === "disable" || e === "enable" ? r.ddDroppable && r.ddDroppable[e]() : e === "destroy" ? r.ddDroppable && r.cleanDroppable() : e === "option" ? r.setupDroppable({ [i]: s }) : r.setupDroppable(e);
1893
+ }), this;
1894
+ }
1895
+ /** true if element is droppable */
1896
+ isDroppable(t) {
1897
+ return !!(t?.ddElement?.ddDroppable && !t.ddElement.ddDroppable.disabled);
1898
+ }
1899
+ /** true if element is draggable */
1900
+ isDraggable(t) {
1901
+ return !!(t?.ddElement?.ddDraggable && !t.ddElement.ddDraggable.disabled);
1902
+ }
1903
+ /** true if element is draggable */
1904
+ isResizable(t) {
1905
+ return !!(t?.ddElement?.ddResizable && !t.ddElement.ddResizable.disabled);
1906
+ }
1907
+ on(t, e, i) {
1908
+ return this._getDDElements(t).forEach((s) => s.on(e, (r) => {
1909
+ i(r, f.dragElement ? f.dragElement.el : r.target, f.dragElement ? f.dragElement.helper : null);
1910
+ })), this;
1911
+ }
1912
+ off(t, e) {
1913
+ return this._getDDElements(t).forEach((i) => i.off(e)), this;
1914
+ }
1915
+ /** @internal returns a list of DD elements, creating them on the fly by default unless option is to destroy or disable */
1916
+ _getDDElements(t, e) {
1917
+ const i = t.gridstack || e !== "destroy" && e !== "disable", s = h.getElements(t);
1918
+ return s.length ? s.map((n) => n.ddElement || (i ? O.init(n) : null)).filter((n) => n) : [];
1919
+ }
1920
+ }
1921
+ /*!
1922
+ * GridStack 12.6.0
1923
+ * https://gridstackjs.com/
1924
+ *
1925
+ * Copyright (c) 2021-2025 Alain Dumesny
1926
+ * see root license https://github.com/gridstack/gridstack.js/tree/master/LICENSE
1927
+ */
1928
+ const y = new X();
1929
+ class g {
1930
+ /**
1931
+ * initializing the HTML element, or selector string, into a grid will return the grid. Calling it again will
1932
+ * simply return the existing instance (ignore any passed options). There is also an initAll() version that support
1933
+ * multiple grids initialization at once. Or you can use addGrid() to create the entire grid from JSON.
1934
+ * @param options grid options (optional)
1935
+ * @param elOrString element or CSS selector (first one used) to convert to a grid (default to '.grid-stack' class selector)
1936
+ *
1937
+ * @example
1938
+ * const grid = GridStack.init();
1939
+ *
1940
+ * Note: the HTMLElement (of type GridHTMLElement) will store a `gridstack: GridStack` value that can be retrieve later
1941
+ * const grid = document.querySelector('.grid-stack').gridstack;
1942
+ */
1943
+ static init(t = {}, e = ".grid-stack") {
1944
+ if (typeof document > "u")
1945
+ return null;
1946
+ const i = g.getGridElement(e);
1947
+ return i ? (i.gridstack || (i.gridstack = new g(i, h.cloneDeep(t))), i.gridstack) : (console.error(typeof e == "string" ? 'GridStack.initAll() no grid was found with selector "' + e + `" - element missing or wrong selector ?
1948
+ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the default selector.` : "GridStack.init() no grid element was passed."), null);
1949
+ }
1950
+ /**
1951
+ * Will initialize a list of elements (given a selector) and return an array of grids.
1952
+ * @param options grid options (optional)
1953
+ * @param selector elements selector to convert to grids (default to '.grid-stack' class selector)
1954
+ *
1955
+ * @example
1956
+ * const grids = GridStack.initAll();
1957
+ * grids.forEach(...)
1958
+ */
1959
+ static initAll(t = {}, e = ".grid-stack") {
1960
+ const i = [];
1961
+ return typeof document > "u" || (g.getGridElements(e).forEach((s) => {
1962
+ s.gridstack || (s.gridstack = new g(s, h.cloneDeep(t))), i.push(s.gridstack);
1963
+ }), i.length === 0 && console.error('GridStack.initAll() no grid was found with selector "' + e + `" - element missing or wrong selector ?
1964
+ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the default selector.`)), i;
1965
+ }
1966
+ /**
1967
+ * call to create a grid with the given options, including loading any children from JSON structure. This will call GridStack.init(), then
1968
+ * grid.load() on any passed children (recursively). Great alternative to calling init() if you want entire grid to come from
1969
+ * JSON serialized data, including options.
1970
+ * @param parent HTML element parent to the grid
1971
+ * @param opt grids options used to initialize the grid, and list of children
1972
+ */
1973
+ static addGrid(t, e = {}) {
1974
+ if (!t)
1975
+ return null;
1976
+ let i = t;
1977
+ if (i.gridstack) {
1978
+ const n = i.gridstack;
1979
+ return e && (n.opts = { ...n.opts, ...e }), e.children !== void 0 && n.load(e.children), n;
1980
+ }
1981
+ return (!t.classList.contains("grid-stack") || g.addRemoveCB) && (g.addRemoveCB ? i = g.addRemoveCB(t, e, !0, !0) : i = h.createDiv(["grid-stack", e.class], t)), g.init(e, i);
1982
+ }
1983
+ /** call this method to register your engine instead of the default one.
1984
+ * See instead `GridStackOptions.engineClass` if you only need to
1985
+ * replace just one instance.
1986
+ */
1987
+ static registerEngine(t) {
1988
+ g.engineClass = t;
1989
+ }
1990
+ /**
1991
+ * @internal create placeholder DIV as needed
1992
+ * @returns the placeholder element for indicating drop zones during drag operations
1993
+ */
1994
+ get placeholder() {
1995
+ if (!this._placeholder) {
1996
+ this._placeholder = h.createDiv([this.opts.placeholderClass, v.itemClass, this.opts.itemClass]);
1997
+ const t = h.createDiv(["placeholder-content"], this._placeholder);
1998
+ this.opts.placeholderText && (t.textContent = this.opts.placeholderText);
1999
+ }
2000
+ return this._placeholder;
2001
+ }
2002
+ /**
2003
+ * Construct a grid item from the given element and options
2004
+ * @param el the HTML element tied to this grid after it's been initialized
2005
+ * @param opts grid options - public for classes to access, but use methods to modify!
2006
+ */
2007
+ constructor(t, e = {}) {
2008
+ this.el = t, this.opts = e, this.animationDelay = 310, this._gsEventHandler = {}, this._extraDragRow = 0, this.dragTransform = { xScale: 1, yScale: 1, xOffset: 0, yOffset: 0 }, t.gridstack = this, this.opts = e = e || {}, t.classList.contains("grid-stack") || this.el.classList.add("grid-stack"), e.row && (e.minRow = e.maxRow = e.row, delete e.row);
2009
+ const i = h.toNumber(t.getAttribute("gs-row"));
2010
+ e.column === "auto" && delete e.column, e.alwaysShowResizeHandle !== void 0 && (e._alwaysShowResizeHandle = e.alwaysShowResizeHandle);
2011
+ const s = e.columnOpts;
2012
+ if (s) {
2013
+ const l = s.breakpoints;
2014
+ !s.columnWidth && !l?.length ? delete e.columnOpts : (s.columnMax = s.columnMax || 12, l?.length > 1 && l.sort((a, u) => (u.w || 0) - (a.w || 0)));
2015
+ }
2016
+ const r = {
2017
+ ...h.cloneDeep(v),
2018
+ column: h.toNumber(t.getAttribute("gs-column")) || v.column,
2019
+ minRow: i || h.toNumber(t.getAttribute("gs-min-row")) || v.minRow,
2020
+ maxRow: i || h.toNumber(t.getAttribute("gs-max-row")) || v.maxRow,
2021
+ staticGrid: h.toBool(t.getAttribute("gs-static")) || v.staticGrid,
2022
+ sizeToContent: h.toBool(t.getAttribute("gs-size-to-content")) || void 0,
2023
+ draggable: {
2024
+ handle: (e.handleClass ? "." + e.handleClass : e.handle ? e.handle : "") || v.draggable.handle
2025
+ },
2026
+ removableOptions: {
2027
+ accept: e.itemClass || v.removableOptions.accept,
2028
+ decline: v.removableOptions.decline
2029
+ }
2030
+ };
2031
+ t.getAttribute("gs-animate") && (r.animate = h.toBool(t.getAttribute("gs-animate"))), e = h.defaults(e, r), this._initMargin(), this.checkDynamicColumn(), this._updateColumnVar(e), e.rtl === "auto" && (e.rtl = t.style.direction === "rtl"), e.rtl && this.el.classList.add("grid-stack-rtl");
2032
+ const o = this.el.closest("." + v.itemClass)?.gridstackNode;
2033
+ if (o && (o.subGrid = this, this.parentGridNode = o, this.el.classList.add("grid-stack-nested"), o.el.classList.add("grid-stack-sub-grid")), this._isAutoCellHeight = e.cellHeight === "auto", this._isAutoCellHeight || e.cellHeight === "initial")
2034
+ this.cellHeight(void 0);
2035
+ else {
2036
+ typeof e.cellHeight == "number" && e.cellHeightUnit && e.cellHeightUnit !== v.cellHeightUnit && (e.cellHeight = e.cellHeight + e.cellHeightUnit, delete e.cellHeightUnit);
2037
+ const l = e.cellHeight;
2038
+ delete e.cellHeight, this.cellHeight(l);
2039
+ }
2040
+ e.alwaysShowResizeHandle === "mobile" && (e.alwaysShowResizeHandle = b), this._setStaticClass();
2041
+ const d = e.engineClass || g.engineClass || x;
2042
+ if (this.engine = new d({
2043
+ column: this.getColumn(),
2044
+ float: e.float,
2045
+ maxRow: e.maxRow,
2046
+ onChange: (l) => {
2047
+ l.forEach((a) => {
2048
+ const u = a.el;
2049
+ u && (a._removeDOM ? (u && u.remove(), delete a._removeDOM) : this._writePosAttr(u, a));
2050
+ }), this._updateContainerHeight();
2051
+ }
2052
+ }), e.auto && (this.batchUpdate(), this.engine._loading = !0, this.getGridItems().forEach((l) => this._prepareElement(l)), delete this.engine._loading, this.batchUpdate(!1)), e.children) {
2053
+ const l = e.children;
2054
+ delete e.children, l.length && this.load(l);
2055
+ }
2056
+ this.setAnimation(), e.subGridDynamic && !f.pauseDrag && (f.pauseDrag = !0), e.draggable?.pause !== void 0 && (f.pauseDrag = e.draggable.pause), this._setupRemoveDrop(), this._setupAcceptWidget(), this._updateResizeEvent();
2057
+ }
2058
+ _updateColumnVar(t = this.opts) {
2059
+ this.el.classList.add("gs-" + t.column), typeof t.column == "number" && this.el.style.setProperty("--gs-column-width", `${100 / t.column}%`);
2060
+ }
2061
+ /**
2062
+ * add a new widget and returns it.
2063
+ *
2064
+ * Widget will be always placed even if result height is more than actual grid height.
2065
+ * You need to use `willItFit()` before calling addWidget for additional check.
2066
+ * See also `makeWidget(el)` for DOM element.
2067
+ *
2068
+ * @example
2069
+ * const grid = GridStack.init();
2070
+ * grid.addWidget({w: 3, content: 'hello'});
2071
+ *
2072
+ * @param w GridStackWidget definition. used MakeWidget(el) if you have dom element instead.
2073
+ */
2074
+ addWidget(t) {
2075
+ if (!t)
2076
+ return;
2077
+ if (typeof t == "string") {
2078
+ console.error("V11: GridStack.addWidget() does not support string anymore. see #2736");
2079
+ return;
2080
+ }
2081
+ if (t.ELEMENT_NODE)
2082
+ return console.error("V11: GridStack.addWidget() does not support HTMLElement anymore. use makeWidget()"), this.makeWidget(t);
2083
+ let e, i = t;
2084
+ if (i.grid = this, i.el ? e = i.el : g.addRemoveCB ? e = g.addRemoveCB(this.el, t, !0, !1) : e = this.createWidgetDivs(i), !e)
2085
+ return;
2086
+ if (i = e.gridstackNode, i && e.parentElement === this.el && this.engine.nodes.find((r) => r._id === i._id))
2087
+ return e;
2088
+ const s = this._readAttr(e);
2089
+ return h.defaults(t, s), this.engine.prepareNode(t), this.el.appendChild(e), this.makeWidget(e, t), e;
2090
+ }
2091
+ /**
2092
+ * Create the default grid item divs and content (possibly lazy loaded) by using GridStack.renderCB().
2093
+ *
2094
+ * @param n GridStackNode definition containing widget configuration
2095
+ * @returns the created HTML element with proper grid item structure
2096
+ *
2097
+ * @example
2098
+ * const element = grid.createWidgetDivs({ w: 2, h: 1, content: 'Hello World' });
2099
+ */
2100
+ createWidgetDivs(t) {
2101
+ const e = h.createDiv(["grid-stack-item", this.opts.itemClass]), i = h.createDiv(["grid-stack-item-content"], e);
2102
+ return h.lazyLoad(t) ? t.visibleObservable || (t.visibleObservable = new IntersectionObserver(([s]) => {
2103
+ s.isIntersecting && (t.visibleObservable?.disconnect(), delete t.visibleObservable, g.renderCB(i, t), t.grid?.prepareDragDrop(t.el));
2104
+ }), window.setTimeout(() => t.visibleObservable?.observe(e))) : g.renderCB(i, t), e;
2105
+ }
2106
+ /**
2107
+ * Convert an existing gridItem element into a sub-grid with the given (optional) options, else inherit them
2108
+ * from the parent's subGrid options.
2109
+ * @param el gridItem element to convert
2110
+ * @param ops (optional) sub-grid options, else default to node, then parent settings, else defaults
2111
+ * @param nodeToAdd (optional) node to add to the newly created sub grid (used when dragging over existing regular item)
2112
+ * @param saveContent if true (default) the html inside .grid-stack-content will be saved to child widget
2113
+ * @returns newly created grid
2114
+ */
2115
+ makeSubGrid(t, e, i, s = !0) {
2116
+ let r = t.gridstackNode;
2117
+ if (r || (r = this.makeWidget(t).gridstackNode), r.subGrid?.el)
2118
+ return r.subGrid;
2119
+ let n, o = this;
2120
+ for (; o && !n; )
2121
+ n = o.opts?.subGridOpts, o = o.parentGridNode?.grid;
2122
+ e = h.cloneDeep({
2123
+ // by default sub-grid inherit from us | parent, other than id, children, etc...
2124
+ ...this.opts,
2125
+ id: void 0,
2126
+ children: void 0,
2127
+ column: "auto",
2128
+ columnOpts: void 0,
2129
+ layout: "list",
2130
+ subGridOpts: void 0,
2131
+ ...n || {},
2132
+ ...e || r.subGridOpts || {}
2133
+ }), r.subGridOpts = e;
2134
+ let d;
2135
+ e.column === "auto" && (d = !0, e.column = Math.max(r.w || 1, i?.w || 1), delete e.columnOpts);
2136
+ let l = r.el.querySelector(".grid-stack-item-content"), a, u;
2137
+ if (s && (this._removeDD(r.el), u = { ...r, x: 0, y: 0 }, h.removeInternalForSave(u), delete u.subGridOpts, r.content && (u.content = r.content, delete r.content), g.addRemoveCB ? a = g.addRemoveCB(this.el, u, !0, !1) : (a = h.createDiv(["grid-stack-item"]), a.appendChild(l), l = h.createDiv(["grid-stack-item-content"], r.el)), this.prepareDragDrop(r.el)), i) {
2138
+ const p = d ? e.column : r.w, _ = r.h + i.h, E = r.el.style;
2139
+ E.transition = "none", this.update(r.el, { w: p, h: _ }), setTimeout(() => E.transition = null);
2140
+ }
2141
+ const c = r.subGrid = g.addGrid(l, e);
2142
+ return i?._moving && (c._isTemp = !0), d && (c._autoColumn = !0), s && c.makeWidget(a, u), i && (i._moving ? window.setTimeout(() => h.simulateMouseEvent(i._event, "mouseenter", c.el), 0) : c.makeWidget(r.el, r)), this.resizeToContentCheck(!1, r), c;
2143
+ }
2144
+ /**
2145
+ * called when an item was converted into a nested grid to accommodate a dragged over item, but then item leaves - return back
2146
+ * to the original grid-item. Also called to remove empty sub-grids when last item is dragged out (since re-creating is simple)
2147
+ */
2148
+ removeAsSubGrid(t) {
2149
+ const e = this.parentGridNode?.grid;
2150
+ e && (e.batchUpdate(), e.removeWidget(this.parentGridNode.el, !0, !0), this.engine.nodes.forEach((i) => {
2151
+ i.x += this.parentGridNode.x, i.y += this.parentGridNode.y, e.makeWidget(i.el, i);
2152
+ }), e.batchUpdate(!1), this.parentGridNode && delete this.parentGridNode.subGrid, delete this.parentGridNode, t && window.setTimeout(() => h.simulateMouseEvent(t._event, "mouseenter", e.el), 0));
2153
+ }
2154
+ /**
2155
+ * saves the current layout returning a list of widgets for serialization which might include any nested grids.
2156
+ * @param saveContent if true (default) the latest html inside .grid-stack-content will be saved to GridStackWidget.content field, else it will
2157
+ * be removed.
2158
+ * @param saveGridOpt if true (default false), save the grid options itself, so you can call the new GridStack.addGrid()
2159
+ * to recreate everything from scratch. GridStackOptions.children would then contain the widget list instead.
2160
+ * @param saveCB callback for each node -> widget, so application can insert additional data to be saved into the widget data structure.
2161
+ * @param column if provided, the grid will be saved for the given column size (IFF we have matching internal saved layout, or current layout).
2162
+ * Otherwise it will use the largest possible layout (say 12 even if rendering at 1 column) so we can restore to all layouts.
2163
+ * NOTE: if you want to save to currently display layout, pass this.getColumn() as column.
2164
+ * NOTE2: nested grids will ALWAYS save to the container size to be in sync with parent.
2165
+ * @returns list of widgets or full grid option, including .children list of widgets
2166
+ */
2167
+ save(t = !0, e = !1, i = g.saveCB, s) {
2168
+ const r = this.engine.save(t, i, s);
2169
+ if (r.forEach((n) => {
2170
+ if (t && n.el && !n.subGrid && !i) {
2171
+ const o = n.el.querySelector(".grid-stack-item-content");
2172
+ n.content = o?.innerHTML, n.content || delete n.content;
2173
+ } else if (!t && !i && delete n.content, n.subGrid?.el) {
2174
+ const o = n.w || n.subGrid.getColumn(), d = n.subGrid.save(t, e, i, o);
2175
+ n.subGridOpts = e ? d : { children: d }, delete n.subGrid;
2176
+ }
2177
+ delete n.el;
2178
+ }), e) {
2179
+ const n = h.cloneDeep(this.opts);
2180
+ n.marginBottom === n.marginTop && n.marginRight === n.marginLeft && n.marginTop === n.marginRight && (n.margin = n.marginTop, delete n.marginTop, delete n.marginRight, delete n.marginBottom, delete n.marginLeft), n.rtl === (this.el.style.direction === "rtl") && (n.rtl = "auto"), this._isAutoCellHeight && (n.cellHeight = "auto"), this._autoColumn && (n.column = "auto");
2181
+ const o = n._alwaysShowResizeHandle;
2182
+ return delete n._alwaysShowResizeHandle, o !== void 0 ? n.alwaysShowResizeHandle = o : delete n.alwaysShowResizeHandle, h.removeInternalAndSame(n, v), n.children = r, n;
2183
+ }
2184
+ return r;
2185
+ }
2186
+ /**
2187
+ * Load widgets from a list. This will call update() on each (matching by id) or add/remove widgets that are not there.
2188
+ * Used to restore a grid layout for a saved layout list (see `save()`).
2189
+ *
2190
+ * @param items list of widgets definition to update/create
2191
+ * @param addRemove boolean (default true) or callback method can be passed to control if and how missing widgets can be added/removed, giving
2192
+ * the user control of insertion.
2193
+ * @returns the grid instance for chaining
2194
+ *
2195
+ * @example
2196
+ * // Basic usage with saved layout
2197
+ * const savedLayout = grid.save(); // Save current layout
2198
+ * // ... later restore it
2199
+ * grid.load(savedLayout);
2200
+ *
2201
+ * // Load with custom add/remove callback
2202
+ * grid.load(layout, (items, grid, add) => {
2203
+ * if (add) {
2204
+ * // Custom logic for adding new widgets
2205
+ * items.forEach(item => {
2206
+ * const el = document.createElement('div');
2207
+ * el.innerHTML = item.content || '';
2208
+ * grid.addWidget(el, item);
2209
+ * });
2210
+ * } else {
2211
+ * // Custom logic for removing widgets
2212
+ * items.forEach(item => grid.removeWidget(item.el));
2213
+ * }
2214
+ * });
2215
+ *
2216
+ * // Load without adding/removing missing widgets
2217
+ * grid.load(layout, false);
2218
+ *
2219
+ * @see {@link http://gridstackjs.com/demo/serialization.html} for complete example
2220
+ */
2221
+ load(t, e = g.addRemoveCB || !0) {
2222
+ t.forEach((a) => {
2223
+ a.w = a.w || a.minW || 1, a.h = a.h || a.minH || 1;
2224
+ }), t = h.sort(t), this.engine.skipCacheUpdate = this._ignoreLayoutsNodeChange = !0;
2225
+ let i = 0;
2226
+ t.forEach((a) => {
2227
+ i = Math.max(i, (a.x || 0) + a.w);
2228
+ }), i > this.engine.defaultColumn && (this.engine.defaultColumn = i);
2229
+ const s = this.getColumn();
2230
+ i > s && (this.engine.nodes.length === 0 && this.responseLayout ? (this.engine.nodes = t, this.engine.columnChanged(i, s, this.responseLayout), t = this.engine.nodes, this.engine.nodes = [], delete this.responseLayout) : this.engine.cacheLayout(t, i, !0));
2231
+ const r = g.addRemoveCB;
2232
+ typeof e == "function" && (g.addRemoveCB = e);
2233
+ const n = [];
2234
+ this.batchUpdate();
2235
+ const o = !this.engine.nodes.length, d = o && this.opts.animate;
2236
+ d && this.setAnimation(!1), !o && e && [...this.engine.nodes].forEach((u) => {
2237
+ if (!u.id)
2238
+ return;
2239
+ h.find(t, u.id) || (g.addRemoveCB && g.addRemoveCB(this.el, u, !1, !1), n.push(u), this.removeWidget(u.el, !0, !1));
2240
+ }), this.engine._loading = !0;
2241
+ const l = [];
2242
+ return this.engine.nodes = this.engine.nodes.filter((a) => h.find(t, a.id) ? (l.push(a), !1) : !0), t.forEach((a) => {
2243
+ const u = h.find(l, a.id);
2244
+ if (u) {
2245
+ if (h.shouldSizeToContent(u) && (a.h = u.h), this.engine.nodeBoundFix(a), (a.autoPosition || a.x === void 0 || a.y === void 0) && (a.w = a.w || u.w, a.h = a.h || u.h, this.engine.findEmptyPosition(a)), this.engine.nodes.push(u), h.samePos(u, a) && this.engine.nodes.length > 1 && (this.moveNode(u, { ...a, forceCollide: !0 }), h.copyPos(a, u)), this.update(u.el, a), a.subGridOpts?.children) {
2246
+ const c = u.el.querySelector(".grid-stack");
2247
+ c && c.gridstack && c.gridstack.load(a.subGridOpts.children);
2248
+ }
2249
+ } else e && this.addWidget(a);
2250
+ }), delete this.engine._loading, this.engine.removedNodes = n, this.batchUpdate(!1), delete this._ignoreLayoutsNodeChange, delete this.engine.skipCacheUpdate, r ? g.addRemoveCB = r : delete g.addRemoveCB, d && this.setAnimation(!0, !0), this;
2251
+ }
2252
+ /**
2253
+ * use before calling a bunch of `addWidget()` to prevent un-necessary relayouts in between (more efficient)
2254
+ * and get a single event callback. You will see no changes until `batchUpdate(false)` is called.
2255
+ */
2256
+ batchUpdate(t = !0) {
2257
+ return this.engine.batchUpdate(t), t || (this._updateContainerHeight(), this._triggerRemoveEvent(), this._triggerAddEvent(), this._triggerChangeEvent()), this;
2258
+ }
2259
+ /**
2260
+ * Gets the current cell height in pixels. This takes into account the unit type and converts to pixels if necessary.
2261
+ *
2262
+ * @param forcePixel if true, forces conversion to pixels even when cellHeight is specified in other units
2263
+ * @returns the cell height in pixels
2264
+ *
2265
+ * @example
2266
+ * const height = grid.getCellHeight();
2267
+ * console.log('Cell height:', height, 'px');
2268
+ *
2269
+ * // Force pixel conversion
2270
+ * const pixelHeight = grid.getCellHeight(true);
2271
+ */
2272
+ getCellHeight(t = !1) {
2273
+ if (this.opts.cellHeight && this.opts.cellHeight !== "auto" && (!t || !this.opts.cellHeightUnit || this.opts.cellHeightUnit === "px"))
2274
+ return this.opts.cellHeight;
2275
+ if (this.opts.cellHeightUnit === "rem")
2276
+ return this.opts.cellHeight * parseFloat(getComputedStyle(document.documentElement).fontSize);
2277
+ if (this.opts.cellHeightUnit === "em")
2278
+ return this.opts.cellHeight * parseFloat(getComputedStyle(this.el).fontSize);
2279
+ if (this.opts.cellHeightUnit === "cm")
2280
+ return this.opts.cellHeight * (96 / 2.54);
2281
+ if (this.opts.cellHeightUnit === "mm")
2282
+ return this.opts.cellHeight * (96 / 2.54) / 10;
2283
+ const e = this.el.querySelector("." + this.opts.itemClass);
2284
+ if (e) {
2285
+ const s = h.toNumber(e.getAttribute("gs-h")) || 1;
2286
+ return Math.round(e.offsetHeight / s);
2287
+ }
2288
+ const i = parseInt(this.el.getAttribute("gs-current-row"));
2289
+ return i ? Math.round(this.el.getBoundingClientRect().height / i) : this.opts.cellHeight;
2290
+ }
2291
+ /**
2292
+ * Update current cell height - see `GridStackOptions.cellHeight` for format by updating eh Browser CSS variable.
2293
+ *
2294
+ * @param val the cell height. Options:
2295
+ * - `undefined`: cells content will be made square (match width minus margin)
2296
+ * - `0`: the CSS will be generated by the application instead
2297
+ * - number: height in pixels
2298
+ * - string: height with units (e.g., '70px', '5rem', '2em')
2299
+ * @returns the grid instance for chaining
2300
+ *
2301
+ * @example
2302
+ * grid.cellHeight(100); // 100px height
2303
+ * grid.cellHeight('70px'); // explicit pixel height
2304
+ * grid.cellHeight('5rem'); // relative to root font size
2305
+ * grid.cellHeight(grid.cellWidth() * 1.2); // aspect ratio
2306
+ * grid.cellHeight('auto'); // auto-size based on content
2307
+ */
2308
+ cellHeight(t) {
2309
+ if (t !== void 0 && this._isAutoCellHeight !== (t === "auto") && (this._isAutoCellHeight = t === "auto", this._updateResizeEvent()), (t === "initial" || t === "auto") && (t = void 0), t === void 0) {
2310
+ const i = -this.opts.marginRight - this.opts.marginLeft + this.opts.marginTop + this.opts.marginBottom;
2311
+ t = this.cellWidth() + i;
2312
+ }
2313
+ const e = h.parseHeight(t);
2314
+ return this.opts.cellHeightUnit === e.unit && this.opts.cellHeight === e.h ? this : (this.opts.cellHeightUnit = e.unit, this.opts.cellHeight = e.h, this.el.style.setProperty("--gs-cell-height", `${this.opts.cellHeight}${this.opts.cellHeightUnit}`), this._updateContainerHeight(), this.resizeToContentCheck(), this);
2315
+ }
2316
+ /** Gets current cell width. */
2317
+ /**
2318
+ * Gets the current cell width in pixels. This is calculated based on the grid container width divided by the number of columns.
2319
+ *
2320
+ * @returns the cell width in pixels
2321
+ *
2322
+ * @example
2323
+ * const width = grid.cellWidth();
2324
+ * console.log('Cell width:', width, 'px');
2325
+ *
2326
+ * // Use cell width to calculate widget dimensions
2327
+ * const widgetWidth = width * 3; // For a 3-column wide widget
2328
+ */
2329
+ cellWidth() {
2330
+ return this._widthOrContainer() / this.getColumn();
2331
+ }
2332
+ /** return our expected width (or parent) , and optionally of window for dynamic column check */
2333
+ _widthOrContainer(t = !1) {
2334
+ return t && this.opts.columnOpts?.breakpointForWindow ? window.innerWidth : this.el.clientWidth || this.el.parentElement.clientWidth || window.innerWidth;
2335
+ }
2336
+ /** checks for dynamic column count for our current size, returning true if changed */
2337
+ checkDynamicColumn() {
2338
+ const t = this.opts.columnOpts;
2339
+ if (!t || !t.columnWidth && !t.breakpoints?.length)
2340
+ return !1;
2341
+ const e = this.getColumn();
2342
+ let i = e;
2343
+ const s = this._widthOrContainer(!0);
2344
+ if (t.columnWidth)
2345
+ i = Math.min(Math.round(s / t.columnWidth) || 1, t.columnMax);
2346
+ else {
2347
+ i = t.columnMax;
2348
+ let r = 0;
2349
+ for (; r < t.breakpoints.length && s <= t.breakpoints[r].w; )
2350
+ i = t.breakpoints[r++].c || e;
2351
+ }
2352
+ if (i !== e) {
2353
+ const r = t.breakpoints?.find((n) => n.c === i);
2354
+ return this.column(i, r?.layout || t.layout), !0;
2355
+ }
2356
+ return !1;
2357
+ }
2358
+ /**
2359
+ * Re-layout grid items to reclaim any empty space. This is useful after removing widgets
2360
+ * or when you want to optimize the layout.
2361
+ *
2362
+ * @param layout layout type. Options:
2363
+ * - 'compact' (default): might re-order items to fill any empty space
2364
+ * - 'list': keep the widget left->right order the same, even if that means leaving an empty slot if things don't fit
2365
+ * @param doSort re-sort items first based on x,y position. Set to false to do your own sorting ahead (default: true)
2366
+ * @returns the grid instance for chaining
2367
+ *
2368
+ * @example
2369
+ * // Compact layout after removing widgets
2370
+ * grid.removeWidget('.widget-to-remove');
2371
+ * grid.compact();
2372
+ *
2373
+ * // Use list layout (preserve order)
2374
+ * grid.compact('list');
2375
+ *
2376
+ * // Compact without sorting first
2377
+ * grid.compact('compact', false);
2378
+ */
2379
+ compact(t = "compact", e = !0) {
2380
+ return this.engine.compact(t, e), this._triggerChangeEvent(), this;
2381
+ }
2382
+ /**
2383
+ * Set the number of columns in the grid. Will update existing widgets to conform to new number of columns,
2384
+ * as well as cache the original layout so you can revert back to previous positions without loss.
2385
+ *
2386
+ * Requires `gridstack-extra.css` or `gridstack-extra.min.css` for [2-11] columns,
2387
+ * else you will need to generate correct CSS.
2388
+ * See: https://github.com/gridstack/gridstack.js#change-grid-columns
2389
+ *
2390
+ * @param column Integer > 0 (default 12)
2391
+ * @param layout specify the type of re-layout that will happen. Options:
2392
+ * - 'moveScale' (default): scale widget positions and sizes
2393
+ * - 'move': keep widget sizes, only move positions
2394
+ * - 'scale': keep widget positions, only scale sizes
2395
+ * - 'none': don't change widget positions or sizes
2396
+ * Note: items will never be outside of the current column boundaries.
2397
+ * Ignored for `column=1` as we always want to vertically stack.
2398
+ * @returns the grid instance for chaining
2399
+ *
2400
+ * @example
2401
+ * // Change to 6 columns with default scaling
2402
+ * grid.column(6);
2403
+ *
2404
+ * // Change to 4 columns, only move positions
2405
+ * grid.column(4, 'move');
2406
+ *
2407
+ * // Single column layout (vertical stack)
2408
+ * grid.column(1);
2409
+ */
2410
+ column(t, e = "moveScale") {
2411
+ if (!t || t < 1 || this.opts.column === t)
2412
+ return this;
2413
+ const i = this.getColumn();
2414
+ return this.opts.column = t, this.engine ? (this.engine.column = t, this.el.classList.remove("gs-" + i), this._updateColumnVar(), this.engine.columnChanged(i, t, e), this._isAutoCellHeight && this.cellHeight(), this.resizeToContentCheck(!0), this._ignoreLayoutsNodeChange = !0, this._triggerChangeEvent(), delete this._ignoreLayoutsNodeChange, this) : (this.responseLayout = e, this);
2415
+ }
2416
+ /**
2417
+ * Get the number of columns in the grid (default 12).
2418
+ *
2419
+ * @returns the current number of columns in the grid
2420
+ *
2421
+ * @example
2422
+ * const columnCount = grid.getColumn(); // returns 12 by default
2423
+ */
2424
+ getColumn() {
2425
+ return this.opts.column;
2426
+ }
2427
+ /**
2428
+ * Returns an array of grid HTML elements (no placeholder) - used to iterate through our children in DOM order.
2429
+ * This method excludes placeholder elements and returns only actual grid items.
2430
+ *
2431
+ * @returns array of GridItemHTMLElement instances representing all grid items
2432
+ *
2433
+ * @example
2434
+ * const items = grid.getGridItems();
2435
+ * items.forEach(item => {
2436
+ * console.log('Item ID:', item.gridstackNode.id);
2437
+ * });
2438
+ */
2439
+ getGridItems() {
2440
+ return Array.from(this.el.children).filter((t) => t.matches("." + this.opts.itemClass) && !t.matches("." + this.opts.placeholderClass));
2441
+ }
2442
+ /**
2443
+ * Returns true if change callbacks should be ignored due to column change, sizeToContent, loading, etc.
2444
+ * This is useful for callers who want to implement dirty flag functionality.
2445
+ *
2446
+ * @returns true if change callbacks are currently being ignored
2447
+ *
2448
+ * @example
2449
+ * if (!grid.isIgnoreChangeCB()) {
2450
+ * // Process the change event
2451
+ * console.log('Grid layout changed');
2452
+ * }
2453
+ */
2454
+ isIgnoreChangeCB() {
2455
+ return this._ignoreLayoutsNodeChange;
2456
+ }
2457
+ /**
2458
+ * Destroys a grid instance. DO NOT CALL any methods or access any vars after this as it will free up members.
2459
+ * @param removeDOM if `false` grid and items HTML elements will not be removed from the DOM (Optional. Default `true`).
2460
+ */
2461
+ destroy(t = !0) {
2462
+ if (this.el)
2463
+ return this.offAll(), this._updateResizeEvent(!0), this.setStatic(!0, !1), this.setAnimation(!1), t ? this.el.parentNode.removeChild(this.el) : (this.removeAll(t), this.el.removeAttribute("gs-current-row")), this.parentGridNode && delete this.parentGridNode.subGrid, delete this.parentGridNode, delete this.opts, delete this._placeholder?.gridstackNode, delete this._placeholder, delete this.engine, delete this.el.gridstack, delete this.el, this;
2464
+ }
2465
+ /**
2466
+ * Enable/disable floating widgets (default: `false`). When enabled, widgets can float up to fill empty spaces.
2467
+ * See [example](http://gridstackjs.com/demo/float.html)
2468
+ *
2469
+ * @param val true to enable floating, false to disable
2470
+ * @returns the grid instance for chaining
2471
+ *
2472
+ * @example
2473
+ * grid.float(true); // Enable floating
2474
+ * grid.float(false); // Disable floating (default)
2475
+ */
2476
+ float(t) {
2477
+ return this.opts.float !== t && (this.opts.float = this.engine.float = t, this._triggerChangeEvent()), this;
2478
+ }
2479
+ /**
2480
+ * Get the current float mode setting.
2481
+ *
2482
+ * @returns true if floating is enabled, false otherwise
2483
+ *
2484
+ * @example
2485
+ * const isFloating = grid.getFloat();
2486
+ * console.log('Floating enabled:', isFloating);
2487
+ */
2488
+ getFloat() {
2489
+ return this.engine.float;
2490
+ }
2491
+ /**
2492
+ * Get the position of the cell under a pixel on screen.
2493
+ * @param position the position of the pixel to resolve in
2494
+ * absolute coordinates, as an object with top and left properties
2495
+ * @param useDocRelative if true, value will be based on document position vs parent position (Optional. Default false).
2496
+ * Useful when grid is within `position: relative` element
2497
+ *
2498
+ * Returns an object with properties `x` and `y` i.e. the column and row in the grid.
2499
+ */
2500
+ getCellFromPixel(t, e = !1) {
2501
+ const i = this.el.getBoundingClientRect();
2502
+ let s;
2503
+ e ? s = { top: i.top + document.documentElement.scrollTop, left: i.left } : s = { top: this.el.offsetTop, left: this.el.offsetLeft };
2504
+ const r = t.left - s.left, n = t.top - s.top, o = i.width / this.getColumn(), d = i.height / parseInt(this.el.getAttribute("gs-current-row"));
2505
+ return { x: Math.floor(r / o), y: Math.floor(n / d) };
2506
+ }
2507
+ /**
2508
+ * Returns the current number of rows, which will be at least `minRow` if set.
2509
+ * The row count is based on the highest positioned widget in the grid.
2510
+ *
2511
+ * @returns the current number of rows in the grid
2512
+ *
2513
+ * @example
2514
+ * const rowCount = grid.getRow();
2515
+ * console.log('Grid has', rowCount, 'rows');
2516
+ */
2517
+ getRow() {
2518
+ return Math.max(this.engine.getRow(), this.opts.minRow || 0);
2519
+ }
2520
+ /**
2521
+ * Checks if the specified rectangular area is empty (no widgets occupy any part of it).
2522
+ *
2523
+ * @param x the x coordinate (column) of the area to check
2524
+ * @param y the y coordinate (row) of the area to check
2525
+ * @param w the width in columns of the area to check
2526
+ * @param h the height in rows of the area to check
2527
+ * @returns true if the area is completely empty, false if any widget overlaps
2528
+ *
2529
+ * @example
2530
+ * // Check if a 2x2 area at position (1,1) is empty
2531
+ * if (grid.isAreaEmpty(1, 1, 2, 2)) {
2532
+ * console.log('Area is available for placement');
2533
+ * }
2534
+ */
2535
+ isAreaEmpty(t, e, i, s) {
2536
+ return this.engine.isAreaEmpty(t, e, i, s);
2537
+ }
2538
+ /**
2539
+ * If you add elements to your grid by hand (or have some framework creating DOM), you have to tell gridstack afterwards to make them widgets.
2540
+ * If you want gridstack to add the elements for you, use `addWidget()` instead.
2541
+ * Makes the given element a widget and returns it.
2542
+ *
2543
+ * @param els widget or single selector to convert.
2544
+ * @param options widget definition to use instead of reading attributes or using default sizing values
2545
+ * @returns the converted GridItemHTMLElement
2546
+ *
2547
+ * @example
2548
+ * const grid = GridStack.init();
2549
+ *
2550
+ * // Create HTML content manually, possibly looking like:
2551
+ * // <div id="item-1" gs-x="0" gs-y="0" gs-w="3" gs-h="2"></div>
2552
+ * grid.el.innerHTML = '<div id="item-1" gs-w="3"></div><div id="item-2"></div>';
2553
+ *
2554
+ * // Convert existing elements to widgets
2555
+ * grid.makeWidget('#item-1'); // Uses gs-* attributes from DOM
2556
+ * grid.makeWidget('#item-2', {w: 2, h: 1, content: 'Hello World'});
2557
+ *
2558
+ * // Or pass DOM element directly
2559
+ * const element = document.getElementById('item-3');
2560
+ * grid.makeWidget(element, {x: 0, y: 1, w: 4, h: 2});
2561
+ */
2562
+ makeWidget(t, e) {
2563
+ const i = g.getElement(t);
2564
+ if (!i || i.gridstackNode)
2565
+ return i;
2566
+ i.parentElement || this.el.appendChild(i), this._prepareElement(i, !0, e);
2567
+ const s = i.gridstackNode;
2568
+ this._updateContainerHeight(), s.subGridOpts && this.makeSubGrid(i, s.subGridOpts, void 0, !1);
2569
+ let r;
2570
+ return this.opts.column === 1 && !this._ignoreLayoutsNodeChange && (r = this._ignoreLayoutsNodeChange = !0), this._triggerAddEvent(), this._triggerChangeEvent(), r && delete this._ignoreLayoutsNodeChange, i;
2571
+ }
2572
+ on(t, e) {
2573
+ return t.indexOf(" ") !== -1 ? (t.split(" ").forEach((s) => this.on(s, e)), this) : (t === "change" || t === "added" || t === "removed" || t === "enable" || t === "disable" ? (t === "enable" || t === "disable" ? this._gsEventHandler[t] = (s) => e(s) : this._gsEventHandler[t] = (s) => {
2574
+ s.detail && e(s, s.detail);
2575
+ }, this.el.addEventListener(t, this._gsEventHandler[t])) : t === "drag" || t === "dragstart" || t === "dragstop" || t === "resizestart" || t === "resize" || t === "resizestop" || t === "dropped" || t === "resizecontent" ? this._gsEventHandler[t] = e : console.error("GridStack.on(" + t + ") event not supported"), this);
2576
+ }
2577
+ /**
2578
+ * unsubscribe from the 'on' event GridStackEvent
2579
+ * @param name of the event (see possible values) or list of names space separated
2580
+ */
2581
+ off(t) {
2582
+ return t.indexOf(" ") !== -1 ? (t.split(" ").forEach((i) => this.off(i)), this) : ((t === "change" || t === "added" || t === "removed" || t === "enable" || t === "disable") && this._gsEventHandler[t] && this.el.removeEventListener(t, this._gsEventHandler[t]), delete this._gsEventHandler[t], this);
2583
+ }
2584
+ /**
2585
+ * Remove all event handlers from the grid. This is useful for cleanup when destroying a grid.
2586
+ *
2587
+ * @returns the grid instance for chaining
2588
+ *
2589
+ * @example
2590
+ * grid.offAll(); // Remove all event listeners
2591
+ */
2592
+ offAll() {
2593
+ return Object.keys(this._gsEventHandler).forEach((t) => this.off(t)), this;
2594
+ }
2595
+ /**
2596
+ * Removes widget from the grid.
2597
+ * @param el widget or selector to modify
2598
+ * @param removeDOM if `false` DOM element won't be removed from the tree (Default? true).
2599
+ * @param triggerEvent if `false` (quiet mode) element will not be added to removed list and no 'removed' callbacks will be called (Default? true).
2600
+ */
2601
+ removeWidget(t, e = !0, i = !0) {
2602
+ return t ? (g.getElements(t).forEach((s) => {
2603
+ if (s.parentElement && s.parentElement !== this.el)
2604
+ return;
2605
+ let r = s.gridstackNode;
2606
+ r || (r = this.engine.nodes.find((n) => s === n.el)), r && (e && g.addRemoveCB && g.addRemoveCB(this.el, r, !1, !1), delete s.gridstackNode, this._removeDD(s), this.engine.removeNode(r, e, i), e && s.parentElement && s.remove());
2607
+ }), i && (this._triggerRemoveEvent(), this._triggerChangeEvent()), this) : (console.error("Error: GridStack.removeWidget(undefined) called"), this);
2608
+ }
2609
+ /**
2610
+ * Removes all widgets from the grid.
2611
+ * @param removeDOM if `false` DOM elements won't be removed from the tree (Default? `true`).
2612
+ * @param triggerEvent if `false` (quiet mode) element will not be added to removed list and no 'removed' callbacks will be called (Default? true).
2613
+ */
2614
+ removeAll(t = !0, e = !0) {
2615
+ return this.engine.nodes.forEach((i) => {
2616
+ t && g.addRemoveCB && g.addRemoveCB(this.el, i, !1, !1), delete i.el.gridstackNode, this.opts.staticGrid || this._removeDD(i.el);
2617
+ }), this.engine.removeAll(t, e), e && this._triggerRemoveEvent(), this;
2618
+ }
2619
+ /**
2620
+ * Toggle the grid animation state. Toggles the `grid-stack-animate` class.
2621
+ * @param doAnimate if true the grid will animate.
2622
+ * @param delay if true setting will be set on next event loop.
2623
+ */
2624
+ setAnimation(t = this.opts.animate, e) {
2625
+ return e ? setTimeout(() => {
2626
+ this.opts && this.setAnimation(t);
2627
+ }) : t ? this.el.classList.add("grid-stack-animate") : this.el.classList.remove("grid-stack-animate"), this.opts.animate = t, this;
2628
+ }
2629
+ /** @internal */
2630
+ hasAnimationCSS() {
2631
+ return this.el.classList.contains("grid-stack-animate");
2632
+ }
2633
+ /**
2634
+ * Toggle the grid static state, which permanently removes/add Drag&Drop support, unlike disable()/enable() that just turns it off/on.
2635
+ * Also toggle the grid-stack-static class.
2636
+ * @param val if true the grid become static.
2637
+ * @param updateClass true (default) if css class gets updated
2638
+ * @param recurse true (default) if sub-grids also get updated
2639
+ */
2640
+ setStatic(t, e = !0, i = !0) {
2641
+ return !!this.opts.staticGrid === t ? this : (t ? this.opts.staticGrid = !0 : delete this.opts.staticGrid, this._setupRemoveDrop(), this._setupAcceptWidget(), this.engine.nodes.forEach((s) => {
2642
+ this.prepareDragDrop(s.el), s.subGrid && i && s.subGrid.setStatic(t, e, i);
2643
+ }), e && this._setStaticClass(), this);
2644
+ }
2645
+ /**
2646
+ * Updates the passed in options on the grid (similar to update(widget) for for the grid options).
2647
+ * @param options PARTIAL grid options to update - only items specified will be updated.
2648
+ * NOTE: not all options updating are currently supported (lot of code, unlikely to change)
2649
+ */
2650
+ updateOptions(t) {
2651
+ const e = this.opts;
2652
+ if (t === e)
2653
+ return this;
2654
+ if (t.acceptWidgets !== void 0 && (e.acceptWidgets = t.acceptWidgets, this._setupAcceptWidget()), t.animate !== void 0 && this.setAnimation(t.animate), t.cellHeight && this.cellHeight(t.cellHeight), t.class !== void 0 && t.class !== e.class && (e.class && this.el.classList.remove(e.class), t.class && this.el.classList.add(t.class)), t.columnOpts) {
2655
+ const i = !!this.opts.columnOpts;
2656
+ this.opts.columnOpts = t.columnOpts, i !== !!this.opts.columnOpts && this._updateResizeEvent(), this.checkDynamicColumn();
2657
+ } else t.columnOpts === null && this.opts.columnOpts ? (delete this.opts.columnOpts, this._updateResizeEvent()) : typeof t.column == "number" && this.column(t.column);
2658
+ return t.margin !== void 0 && this.margin(t.margin), t.staticGrid !== void 0 && this.setStatic(t.staticGrid), t.disableDrag !== void 0 && !t.staticGrid && this.enableMove(!t.disableDrag), t.disableResize !== void 0 && !t.staticGrid && this.enableResize(!t.disableResize), t.float !== void 0 && this.float(t.float), t.row !== void 0 ? (e.minRow = e.maxRow = e.row = t.row, this._updateContainerHeight()) : (t.minRow !== void 0 && (e.minRow = t.minRow, this._updateContainerHeight()), t.maxRow !== void 0 && (e.maxRow = this.engine.maxRow = t.maxRow)), t.lazyLoad !== void 0 && (e.lazyLoad = t.lazyLoad), t.children?.length && this.load(t.children), this;
2659
+ }
2660
+ /**
2661
+ * Updates widget position/size and other info. This is used to change widget properties after creation.
2662
+ * Can update position, size, content, and other widget properties.
2663
+ *
2664
+ * Note: If you need to call this on all nodes, use load() instead which will update what changed.
2665
+ * Setting the same x,y for multiple items will be indeterministic and likely unwanted.
2666
+ *
2667
+ * @param els widget element(s) or selector to modify
2668
+ * @param opt new widget options (x,y,w,h, etc.). Only those set will be updated.
2669
+ * @returns the grid instance for chaining
2670
+ *
2671
+ * @example
2672
+ * // Update widget size and position
2673
+ * grid.update('.my-widget', { x: 2, y: 1, w: 3, h: 2 });
2674
+ *
2675
+ * // Update widget content
2676
+ * grid.update(widget, { content: '<p>New content</p>' });
2677
+ *
2678
+ * // Update multiple properties
2679
+ * grid.update('#my-widget', {
2680
+ * w: 4,
2681
+ * h: 3,
2682
+ * noResize: true,
2683
+ * locked: true
2684
+ * });
2685
+ */
2686
+ update(t, e) {
2687
+ return g.getElements(t).forEach((i) => {
2688
+ const s = i?.gridstackNode;
2689
+ if (!s)
2690
+ return;
2691
+ const r = { ...h.copyPos({}, s), ...h.cloneDeep(e) };
2692
+ this.engine.nodeBoundFix(r), delete r.autoPosition;
2693
+ const n = ["x", "y", "w", "h"];
2694
+ let o;
2695
+ if (n.some((a) => r[a] !== void 0 && r[a] !== s[a]) && (o = {}, n.forEach((a) => {
2696
+ o[a] = r[a] !== void 0 ? r[a] : s[a], delete r[a];
2697
+ })), !o && (r.minW || r.minH || r.maxW || r.maxH) && (o = {}), r.content !== void 0) {
2698
+ const a = i.querySelector(".grid-stack-item-content");
2699
+ a && a.textContent !== r.content && (s.content = r.content, g.renderCB(a, r), s.subGrid?.el && (a.appendChild(s.subGrid.el), s.subGrid._updateContainerHeight())), delete r.content;
2700
+ }
2701
+ let d = !1, l = !1;
2702
+ for (const a in r)
2703
+ a[0] !== "_" && s[a] !== r[a] && (s[a] = r[a], d = !0, l = l || !this.opts.staticGrid && (a === "noResize" || a === "noMove" || a === "locked"));
2704
+ if (h.sanitizeMinMax(s), o) {
2705
+ const a = o.w !== void 0 && o.w !== s.w;
2706
+ this.moveNode(s, o), a && s.subGrid ? s.subGrid.onResize(this.hasAnimationCSS() ? s.w : void 0) : this.resizeToContentCheck(a, s), delete s._orig;
2707
+ }
2708
+ (o || d) && this._writeAttr(i, s), l && this.prepareDragDrop(s.el), g.updateCB && g.updateCB(s);
2709
+ }), this;
2710
+ }
2711
+ moveNode(t, e) {
2712
+ const i = t._updating;
2713
+ i || this.engine.cleanNodes().beginUpdate(t), this.engine.moveNode(t, e), this._updateContainerHeight(), i || (this._triggerChangeEvent(), this.engine.endUpdate());
2714
+ }
2715
+ /**
2716
+ * Updates widget height to match the content height to avoid vertical scrollbars or dead space.
2717
+ * This automatically adjusts the widget height based on its content size.
2718
+ *
2719
+ * Note: This assumes only 1 child under resizeToContentParent='.grid-stack-item-content'
2720
+ * (sized to gridItem minus padding) that represents the entire content size.
2721
+ *
2722
+ * @param el the grid item element to resize
2723
+ *
2724
+ * @example
2725
+ * // Resize a widget to fit its content
2726
+ * const widget = document.querySelector('.grid-stack-item');
2727
+ * grid.resizeToContent(widget);
2728
+ *
2729
+ * // This is commonly used with dynamic content:
2730
+ * widget.querySelector('.content').innerHTML = 'New longer content...';
2731
+ * grid.resizeToContent(widget);
2732
+ */
2733
+ resizeToContent(t) {
2734
+ if (!t || (t.classList.remove("size-to-content-max"), !t.clientHeight))
2735
+ return;
2736
+ const e = t.gridstackNode;
2737
+ if (!e)
2738
+ return;
2739
+ const i = e.grid;
2740
+ if (!i || t.parentElement !== i.el)
2741
+ return;
2742
+ const s = i.getCellHeight(!0);
2743
+ if (!s)
2744
+ return;
2745
+ let r = e.h ? e.h * s : t.clientHeight, n;
2746
+ if (e.resizeToContentParent && (n = t.querySelector(e.resizeToContentParent)), n || (n = t.querySelector(g.resizeToContentParent)), !n)
2747
+ return;
2748
+ const o = t.clientHeight - n.clientHeight, d = e.h ? e.h * s - o : n.clientHeight;
2749
+ let l;
2750
+ if (e.subGrid) {
2751
+ l = e.subGrid.getRow() * e.subGrid.getCellHeight(!0);
2752
+ const c = e.subGrid.el.getBoundingClientRect(), p = t.getBoundingClientRect();
2753
+ l += c.top - p.top;
2754
+ } else {
2755
+ if (e.subGridOpts?.children?.length)
2756
+ return;
2757
+ {
2758
+ const c = n.firstElementChild;
2759
+ if (!c) {
2760
+ console.error(`Error: GridStack.resizeToContent() widget id:${e.id} '${g.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);
2761
+ return;
2762
+ }
2763
+ l = c.getBoundingClientRect().height || d;
2764
+ }
2765
+ }
2766
+ if (d === l)
2767
+ return;
2768
+ r += l - d;
2769
+ let a = Math.ceil(r / s);
2770
+ const u = Number.isInteger(e.sizeToContent) ? e.sizeToContent : 0;
2771
+ u && a > u && (a = u, t.classList.add("size-to-content-max")), e.minH && a < e.minH ? a = e.minH : e.maxH && a > e.maxH && (a = e.maxH), a !== e.h && (i._ignoreLayoutsNodeChange = !0, i.moveNode(e, { h: a }), delete i._ignoreLayoutsNodeChange);
2772
+ }
2773
+ /** call the user resize (so they can do extra work) else our build in version */
2774
+ resizeToContentCBCheck(t) {
2775
+ g.resizeToContentCB ? g.resizeToContentCB(t) : this.resizeToContent(t);
2776
+ }
2777
+ /**
2778
+ * Rotate widgets by swapping their width and height. This is typically called when the user presses 'r' during dragging.
2779
+ * The rotation swaps the w/h dimensions and adjusts min/max constraints accordingly.
2780
+ *
2781
+ * @param els widget element(s) or selector to rotate
2782
+ * @param relative optional pixel coordinate relative to upper/left corner to rotate around (keeps that cell under cursor)
2783
+ * @returns the grid instance for chaining
2784
+ *
2785
+ * @example
2786
+ * // Rotate a specific widget
2787
+ * grid.rotate('.my-widget');
2788
+ *
2789
+ * // Rotate with relative positioning during drag
2790
+ * grid.rotate(widget, { left: 50, top: 30 });
2791
+ */
2792
+ rotate(t, e) {
2793
+ return g.getElements(t).forEach((i) => {
2794
+ const s = i.gridstackNode;
2795
+ if (!h.canBeRotated(s))
2796
+ return;
2797
+ const r = { w: s.h, h: s.w, minH: s.minW, minW: s.minH, maxH: s.maxW, maxW: s.maxH };
2798
+ if (e) {
2799
+ const o = e.left > 0 ? Math.floor(e.left / this.cellWidth()) : 0, d = e.top > 0 ? Math.floor(e.top / this.opts.cellHeight) : 0;
2800
+ r.x = s.x + o - (s.h - (d + 1)), r.y = s.y + d - o;
2801
+ }
2802
+ Object.keys(r).forEach((o) => {
2803
+ r[o] === void 0 && delete r[o];
2804
+ });
2805
+ const n = s._orig;
2806
+ this.update(i, r), s._orig = n;
2807
+ }), this;
2808
+ }
2809
+ /**
2810
+ * Updates the margins which will set all 4 sides at once - see `GridStackOptions.margin` for format options.
2811
+ * Supports CSS string format of 1, 2, or 4 values or a single number.
2812
+ *
2813
+ * @param value margin value - can be:
2814
+ * - Single number: `10` (applies to all sides)
2815
+ * - Two values: `'10px 20px'` (top/bottom, left/right)
2816
+ * - Four values: `'10px 20px 5px 15px'` (top, right, bottom, left)
2817
+ * @returns the grid instance for chaining
2818
+ *
2819
+ * @example
2820
+ * grid.margin(10); // 10px all sides
2821
+ * grid.margin('10px 20px'); // 10px top/bottom, 20px left/right
2822
+ * grid.margin('5px 10px 15px 20px'); // Different for each side
2823
+ */
2824
+ margin(t) {
2825
+ if (!(typeof t == "string" && t.split(" ").length > 1)) {
2826
+ const i = h.parseHeight(t);
2827
+ if (this.opts.marginUnit === i.unit && this.opts.margin === i.h)
2828
+ return;
2829
+ }
2830
+ return this.opts.margin = t, this.opts.marginTop = this.opts.marginBottom = this.opts.marginLeft = this.opts.marginRight = void 0, this._initMargin(), this;
2831
+ }
2832
+ /**
2833
+ * Returns the current margin value as a number (undefined if the 4 sides don't match).
2834
+ * This only returns a number if all sides have the same margin value.
2835
+ *
2836
+ * @returns the margin value in pixels, or undefined if sides have different values
2837
+ *
2838
+ * @example
2839
+ * const margin = grid.getMargin();
2840
+ * if (margin !== undefined) {
2841
+ * console.log('Uniform margin:', margin, 'px');
2842
+ * } else {
2843
+ * console.log('Margins are different on different sides');
2844
+ * }
2845
+ */
2846
+ getMargin() {
2847
+ return this.opts.margin;
2848
+ }
2849
+ /**
2850
+ * Returns true if the height of the grid will be less than the vertical
2851
+ * constraint. Always returns true if grid doesn't have height constraint.
2852
+ * @param node contains x,y,w,h,auto-position options
2853
+ *
2854
+ * @example
2855
+ * if (grid.willItFit(newWidget)) {
2856
+ * grid.addWidget(newWidget);
2857
+ * } else {
2858
+ * alert('Not enough free space to place the widget');
2859
+ * }
2860
+ */
2861
+ willItFit(t) {
2862
+ return this.engine.willItFit(t);
2863
+ }
2864
+ /** @internal */
2865
+ _triggerChangeEvent() {
2866
+ if (this.engine.batchMode)
2867
+ return this;
2868
+ const t = this.engine.getDirtyNodes(!0);
2869
+ return t && t.length && (this._ignoreLayoutsNodeChange || this.engine.layoutsNodesChange(t), this._triggerEvent("change", t)), this.engine.saveInitial(), this;
2870
+ }
2871
+ /** @internal */
2872
+ _triggerAddEvent() {
2873
+ if (this.engine.batchMode)
2874
+ return this;
2875
+ if (this.engine.addedNodes?.length) {
2876
+ this._ignoreLayoutsNodeChange || this.engine.layoutsNodesChange(this.engine.addedNodes), this.engine.addedNodes.forEach((e) => {
2877
+ delete e._dirty;
2878
+ });
2879
+ const t = [...this.engine.addedNodes];
2880
+ this.engine.addedNodes = [], this._triggerEvent("added", t);
2881
+ }
2882
+ return this;
2883
+ }
2884
+ /** @internal */
2885
+ _triggerRemoveEvent() {
2886
+ if (this.engine.batchMode)
2887
+ return this;
2888
+ if (this.engine.removedNodes?.length) {
2889
+ const t = [...this.engine.removedNodes];
2890
+ this.engine.removedNodes = [], this._triggerEvent("removed", t);
2891
+ }
2892
+ return this;
2893
+ }
2894
+ /** @internal */
2895
+ _triggerEvent(t, e) {
2896
+ const i = e ? new CustomEvent(t, { bubbles: !1, detail: e }) : new Event(t);
2897
+ let s = this;
2898
+ for (; s.parentGridNode; )
2899
+ s = s.parentGridNode.grid;
2900
+ return s.el.dispatchEvent(i), this;
2901
+ }
2902
+ /** @internal */
2903
+ _updateContainerHeight() {
2904
+ if (!this.engine || this.engine.batchMode)
2905
+ return this;
2906
+ const t = this.parentGridNode;
2907
+ let e = this.getRow() + this._extraDragRow;
2908
+ const i = this.opts.cellHeight, s = this.opts.cellHeightUnit;
2909
+ if (!i)
2910
+ return this;
2911
+ if (!t && !this.opts.minRow) {
2912
+ const r = h.parseHeight(getComputedStyle(this.el).minHeight);
2913
+ if (r.h > 0 && r.unit === s) {
2914
+ const n = Math.floor(r.h / i);
2915
+ e < n && (e = n);
2916
+ }
2917
+ }
2918
+ return this.el.setAttribute("gs-current-row", String(e)), this.el.style.removeProperty("min-height"), this.el.style.removeProperty("height"), e && (this.el.style[t ? "minHeight" : "height"] = e * i + s), t && h.shouldSizeToContent(t) && t.grid.resizeToContentCBCheck(t.el), this;
2919
+ }
2920
+ /** @internal */
2921
+ _prepareElement(t, e = !1, i) {
2922
+ i = i || this._readAttr(t), t.gridstackNode = i, i.el = t, i.grid = this, i = this.engine.addNode(i, e), this._writeAttr(t, i), t.classList.add(v.itemClass, this.opts.itemClass);
2923
+ const s = h.shouldSizeToContent(i);
2924
+ return s ? t.classList.add("size-to-content") : t.classList.remove("size-to-content"), s && this.resizeToContentCheck(!1, i), h.lazyLoad(i) || this.prepareDragDrop(i.el), this;
2925
+ }
2926
+ /** @internal write position CSS vars and x,y,w,h attributes (not used for CSS but by users) back to element */
2927
+ _writePosAttr(t, e) {
2928
+ if (!e._moving && !e._resizing || this._placeholder === t) {
2929
+ const i = this.opts.rtl ? "right" : "left";
2930
+ t.style.top = e.y ? e.y === 1 ? "var(--gs-cell-height)" : `calc(${e.y} * var(--gs-cell-height))` : null, t.style[i] = e.x ? e.x === 1 ? "var(--gs-column-width)" : `calc(${e.x} * var(--gs-column-width))` : null, t.style.width = e.w > 1 ? `calc(${e.w} * var(--gs-column-width))` : null, t.style.height = e.h > 1 ? `calc(${e.h} * var(--gs-cell-height))` : null;
2931
+ }
2932
+ return t.setAttribute("gs-x", String(e.x)), t.setAttribute("gs-y", String(e.y)), e.w > 1 ? t.setAttribute("gs-w", String(e.w)) : t.removeAttribute("gs-w"), e.h > 1 ? t.setAttribute("gs-h", String(e.h)) : t.removeAttribute("gs-h"), this;
2933
+ }
2934
+ /** @internal call to write any default attributes back to element */
2935
+ _writeAttr(t, e) {
2936
+ if (!e)
2937
+ return this;
2938
+ this._writePosAttr(t, e);
2939
+ const i = {
2940
+ // autoPosition: 'gs-auto-position', // no need to write out as already in node and doesn't affect CSS
2941
+ noResize: "gs-no-resize",
2942
+ noMove: "gs-no-move",
2943
+ locked: "gs-locked",
2944
+ id: "gs-id",
2945
+ sizeToContent: "gs-size-to-content"
2946
+ };
2947
+ for (const s in i)
2948
+ e[s] ? t.setAttribute(i[s], String(e[s])) : t.removeAttribute(i[s]);
2949
+ return this;
2950
+ }
2951
+ /** @internal call to read any default attributes from element */
2952
+ _readAttr(t, e = !0) {
2953
+ const i = {};
2954
+ i.x = h.toNumber(t.getAttribute("gs-x")), i.y = h.toNumber(t.getAttribute("gs-y")), i.w = h.toNumber(t.getAttribute("gs-w")), i.h = h.toNumber(t.getAttribute("gs-h")), i.autoPosition = h.toBool(t.getAttribute("gs-auto-position")), i.noResize = h.toBool(t.getAttribute("gs-no-resize")), i.noMove = h.toBool(t.getAttribute("gs-no-move")), i.locked = h.toBool(t.getAttribute("gs-locked"));
2955
+ const s = t.getAttribute("gs-size-to-content");
2956
+ s && (s === "true" || s === "false" ? i.sizeToContent = h.toBool(s) : i.sizeToContent = parseInt(s, 10)), i.id = t.getAttribute("gs-id"), i.maxW = h.toNumber(t.getAttribute("gs-max-w")), i.minW = h.toNumber(t.getAttribute("gs-min-w")), i.maxH = h.toNumber(t.getAttribute("gs-max-h")), i.minH = h.toNumber(t.getAttribute("gs-min-h")), e && (i.w === 1 && t.removeAttribute("gs-w"), i.h === 1 && t.removeAttribute("gs-h"), i.maxW && t.removeAttribute("gs-max-w"), i.minW && t.removeAttribute("gs-min-w"), i.maxH && t.removeAttribute("gs-max-h"), i.minH && t.removeAttribute("gs-min-h"));
2957
+ for (const r in i) {
2958
+ if (!i.hasOwnProperty(r))
2959
+ return;
2960
+ !i[r] && i[r] !== 0 && r !== "sizeToContent" && delete i[r];
2961
+ }
2962
+ return i;
2963
+ }
2964
+ /** @internal */
2965
+ _setStaticClass() {
2966
+ const t = ["grid-stack-static"];
2967
+ return this.opts.staticGrid ? (this.el.classList.add(...t), this.el.setAttribute("gs-static", "true")) : (this.el.classList.remove(...t), this.el.removeAttribute("gs-static")), this;
2968
+ }
2969
+ /**
2970
+ * called when we are being resized - check if the one Column Mode needs to be turned on/off
2971
+ * and remember the prev columns we used, or get our count from parent, as well as check for cellHeight==='auto' (square)
2972
+ * or `sizeToContent` gridItem options.
2973
+ */
2974
+ onResize(t = this.el?.clientWidth) {
2975
+ if (!t || this.prevWidth === t)
2976
+ return;
2977
+ this.prevWidth = t, this.batchUpdate();
2978
+ let e = !1;
2979
+ return this._autoColumn && this.parentGridNode ? this.opts.column !== this.parentGridNode.w && (this.column(this.parentGridNode.w, this.opts.layout || "list"), e = !0) : e = this.checkDynamicColumn(), this._isAutoCellHeight && this.cellHeight(), this.engine.nodes.forEach((i) => {
2980
+ i.subGrid && i.subGrid.onResize();
2981
+ }), this._skipInitialResize || this.resizeToContentCheck(e), delete this._skipInitialResize, this.batchUpdate(!1), this;
2982
+ }
2983
+ /** resizes content for given node (or all) if shouldSizeToContent() is true */
2984
+ resizeToContentCheck(t = !1, e = void 0) {
2985
+ if (this.engine) {
2986
+ if (t && this.hasAnimationCSS())
2987
+ return setTimeout(() => this.resizeToContentCheck(!1, e), this.animationDelay);
2988
+ if (e)
2989
+ h.shouldSizeToContent(e) && this.resizeToContentCBCheck(e.el);
2990
+ else if (this.engine.nodes.some((i) => h.shouldSizeToContent(i))) {
2991
+ const i = [...this.engine.nodes];
2992
+ this.batchUpdate(), i.forEach((s) => {
2993
+ h.shouldSizeToContent(s) && this.resizeToContentCBCheck(s.el);
2994
+ }), this._ignoreLayoutsNodeChange = !0, this.batchUpdate(!1), this._ignoreLayoutsNodeChange = !1;
2995
+ }
2996
+ this._gsEventHandler.resizecontent && this._gsEventHandler.resizecontent(null, e ? [e] : this.engine.nodes);
2997
+ }
2998
+ }
2999
+ /** add or remove the grid element size event handler */
3000
+ _updateResizeEvent(t = !1) {
3001
+ const e = !this.parentGridNode && (this._isAutoCellHeight || this.opts.sizeToContent || this.opts.columnOpts || this.engine.nodes.find((i) => i.sizeToContent));
3002
+ return !t && e && !this.resizeObserver ? (this._sizeThrottle = h.throttle(() => this.onResize(), this.opts.cellHeightThrottle), this.resizeObserver = new ResizeObserver(() => this._sizeThrottle()), this.resizeObserver.observe(this.el), this._skipInitialResize = !0) : (t || !e) && this.resizeObserver && (this.resizeObserver.disconnect(), delete this.resizeObserver, delete this._sizeThrottle), this;
3003
+ }
3004
+ /** @internal convert a potential selector into actual element */
3005
+ static getElement(t = ".grid-stack-item") {
3006
+ return h.getElement(t);
3007
+ }
3008
+ /** @internal */
3009
+ static getElements(t = ".grid-stack-item") {
3010
+ return h.getElements(t);
3011
+ }
3012
+ /** @internal */
3013
+ static getGridElement(t) {
3014
+ return g.getElement(t);
3015
+ }
3016
+ /** @internal */
3017
+ static getGridElements(t) {
3018
+ return h.getElements(t);
3019
+ }
3020
+ /** @internal initialize margin top/bottom/left/right and units */
3021
+ _initMargin() {
3022
+ let t, e = 0, i = [];
3023
+ typeof this.opts.margin == "string" && (i = this.opts.margin.split(" ")), i.length === 2 ? (this.opts.marginTop = this.opts.marginBottom = i[0], this.opts.marginLeft = this.opts.marginRight = i[1]) : i.length === 4 ? (this.opts.marginTop = i[0], this.opts.marginRight = i[1], this.opts.marginBottom = i[2], this.opts.marginLeft = i[3]) : (t = h.parseHeight(this.opts.margin), this.opts.marginUnit = t.unit, e = this.opts.margin = t.h), ["marginTop", "marginRight", "marginBottom", "marginLeft"].forEach((n) => {
3024
+ this.opts[n] === void 0 ? this.opts[n] = e : (t = h.parseHeight(this.opts[n]), this.opts[n] = t.h, delete this.opts.margin);
3025
+ }), this.opts.marginUnit = t.unit, this.opts.marginTop === this.opts.marginBottom && this.opts.marginLeft === this.opts.marginRight && this.opts.marginTop === this.opts.marginRight && (this.opts.margin = this.opts.marginTop);
3026
+ const r = this.el.style;
3027
+ return r.setProperty("--gs-item-margin-top", `${this.opts.marginTop}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-bottom", `${this.opts.marginBottom}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-right", `${this.opts.marginRight}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-left", `${this.opts.marginLeft}${this.opts.marginUnit}`), this;
3028
+ }
3029
+ /* ===========================================================================================
3030
+ * drag&drop methods that used to be stubbed out and implemented in dd-gridstack.ts
3031
+ * but caused loading issues in prod - see https://github.com/gridstack/gridstack.js/issues/2039
3032
+ * ===========================================================================================
3033
+ */
3034
+ /**
3035
+ * Get the global drag & drop implementation instance.
3036
+ * This provides access to the underlying drag & drop functionality.
3037
+ *
3038
+ * @returns the DDGridStack instance used for drag & drop operations
3039
+ *
3040
+ * @example
3041
+ * const dd = GridStack.getDD();
3042
+ * // Access drag & drop functionality
3043
+ */
3044
+ static getDD() {
3045
+ return y;
3046
+ }
3047
+ /**
3048
+ * call to setup dragging in from the outside (say toolbar), by specifying the class selection and options.
3049
+ * Called during GridStack.init() as options, but can also be called directly (last param are used) in case the toolbar
3050
+ * is dynamically create and needs to be set later.
3051
+ * @param dragIn string selector (ex: '.sidebar-item') or list of dom elements
3052
+ * @param dragInOptions options - see DDDragOpt. (default: {handle: '.grid-stack-item-content', appendTo: 'body'}
3053
+ * @param widgets GridStackWidget def to assign to each element which defines what to create on drop
3054
+ * @param root optional root which defaults to document (for shadow dom pass the parent HTMLDocument)
3055
+ */
3056
+ static setupDragIn(t, e, i, s = document) {
3057
+ e?.pause !== void 0 && (f.pauseDrag = e.pause), e = { appendTo: "body", helper: "clone", ...e || {} }, (typeof t == "string" ? h.getElements(t, s) : t).forEach((n, o) => {
3058
+ y.isDraggable(n) || y.dragIn(n, e), i?.[o] && (n.gridstackNode = i[o]);
3059
+ });
3060
+ }
3061
+ /**
3062
+ * Enables/Disables dragging by the user for specific grid elements.
3063
+ * For all items and future items, use enableMove() instead. No-op for static grids.
3064
+ *
3065
+ * Note: If you want to prevent an item from moving due to being pushed around by another
3066
+ * during collision, use the 'locked' property instead.
3067
+ *
3068
+ * @param els widget element(s) or selector to modify
3069
+ * @param val if true widget will be draggable, assuming the parent grid isn't noMove or static
3070
+ * @returns the grid instance for chaining
3071
+ *
3072
+ * @example
3073
+ * // Make specific widgets draggable
3074
+ * grid.movable('.my-widget', true);
3075
+ *
3076
+ * // Disable dragging for specific widgets
3077
+ * grid.movable('#fixed-widget', false);
3078
+ */
3079
+ movable(t, e) {
3080
+ return this.opts.staticGrid ? this : (g.getElements(t).forEach((i) => {
3081
+ const s = i.gridstackNode;
3082
+ s && (e ? delete s.noMove : s.noMove = !0, this.prepareDragDrop(s.el));
3083
+ }), this);
3084
+ }
3085
+ /**
3086
+ * Enables/Disables user resizing for specific grid elements.
3087
+ * For all items and future items, use enableResize() instead. No-op for static grids.
3088
+ *
3089
+ * @param els widget element(s) or selector to modify
3090
+ * @param val if true widget will be resizable, assuming the parent grid isn't noResize or static
3091
+ * @returns the grid instance for chaining
3092
+ *
3093
+ * @example
3094
+ * // Make specific widgets resizable
3095
+ * grid.resizable('.my-widget', true);
3096
+ *
3097
+ * // Disable resizing for specific widgets
3098
+ * grid.resizable('#fixed-size-widget', false);
3099
+ */
3100
+ resizable(t, e) {
3101
+ return this.opts.staticGrid ? this : (g.getElements(t).forEach((i) => {
3102
+ const s = i.gridstackNode;
3103
+ s && (e ? delete s.noResize : s.noResize = !0, this.prepareDragDrop(s.el));
3104
+ }), this);
3105
+ }
3106
+ /**
3107
+ * Temporarily disables widgets moving/resizing.
3108
+ * If you want a more permanent way (which freezes up resources) use `setStatic(true)` instead.
3109
+ *
3110
+ * Note: This is a no-op for static grids.
3111
+ *
3112
+ * This is a shortcut for:
3113
+ * ```typescript
3114
+ * grid.enableMove(false);
3115
+ * grid.enableResize(false);
3116
+ * ```
3117
+ *
3118
+ * @param recurse if true (default), sub-grids also get updated
3119
+ * @returns the grid instance for chaining
3120
+ *
3121
+ * @example
3122
+ * // Disable all interactions
3123
+ * grid.disable();
3124
+ *
3125
+ * // Disable only this grid, not sub-grids
3126
+ * grid.disable(false);
3127
+ */
3128
+ disable(t = !0) {
3129
+ if (!this.opts.staticGrid)
3130
+ return this.enableMove(!1, t), this.enableResize(!1, t), this._triggerEvent("disable"), this;
3131
+ }
3132
+ /**
3133
+ * Re-enables widgets moving/resizing - see disable().
3134
+ * Note: This is a no-op for static grids.
3135
+ *
3136
+ * This is a shortcut for:
3137
+ * ```typescript
3138
+ * grid.enableMove(true);
3139
+ * grid.enableResize(true);
3140
+ * ```
3141
+ *
3142
+ * @param recurse if true (default), sub-grids also get updated
3143
+ * @returns the grid instance for chaining
3144
+ *
3145
+ * @example
3146
+ * // Re-enable all interactions
3147
+ * grid.enable();
3148
+ *
3149
+ * // Enable only this grid, not sub-grids
3150
+ * grid.enable(false);
3151
+ */
3152
+ enable(t = !0) {
3153
+ if (!this.opts.staticGrid)
3154
+ return this.enableMove(!0, t), this.enableResize(!0, t), this._triggerEvent("enable"), this;
3155
+ }
3156
+ /**
3157
+ * Enables/disables widget moving for all widgets. No-op for static grids.
3158
+ * Note: locally defined items (with noMove property) still override this setting.
3159
+ *
3160
+ * @param doEnable if true widgets will be movable, if false moving is disabled
3161
+ * @param recurse if true (default), sub-grids also get updated
3162
+ * @returns the grid instance for chaining
3163
+ *
3164
+ * @example
3165
+ * // Enable moving for all widgets
3166
+ * grid.enableMove(true);
3167
+ *
3168
+ * // Disable moving for all widgets
3169
+ * grid.enableMove(false);
3170
+ *
3171
+ * // Enable only this grid, not sub-grids
3172
+ * grid.enableMove(true, false);
3173
+ */
3174
+ enableMove(t, e = !0) {
3175
+ return this.opts.staticGrid ? this : (t ? delete this.opts.disableDrag : this.opts.disableDrag = !0, this.engine.nodes.forEach((i) => {
3176
+ this.prepareDragDrop(i.el), i.subGrid && e && i.subGrid.enableMove(t, e);
3177
+ }), this);
3178
+ }
3179
+ /**
3180
+ * Enables/disables widget resizing for all widgets. No-op for static grids.
3181
+ * Note: locally defined items (with noResize property) still override this setting.
3182
+ *
3183
+ * @param doEnable if true widgets will be resizable, if false resizing is disabled
3184
+ * @param recurse if true (default), sub-grids also get updated
3185
+ * @returns the grid instance for chaining
3186
+ *
3187
+ * @example
3188
+ * // Enable resizing for all widgets
3189
+ * grid.enableResize(true);
3190
+ *
3191
+ * // Disable resizing for all widgets
3192
+ * grid.enableResize(false);
3193
+ *
3194
+ * // Enable only this grid, not sub-grids
3195
+ * grid.enableResize(true, false);
3196
+ */
3197
+ enableResize(t, e = !0) {
3198
+ return this.opts.staticGrid ? this : (t ? delete this.opts.disableResize : this.opts.disableResize = !0, this.engine.nodes.forEach((i) => {
3199
+ this.prepareDragDrop(i.el), i.subGrid && e && i.subGrid.enableResize(t, e);
3200
+ }), this);
3201
+ }
3202
+ /** @internal call when drag (and drop) needs to be cancelled (Esc key) */
3203
+ cancelDrag() {
3204
+ const t = this._placeholder?.gridstackNode;
3205
+ t && (t._isExternal ? (t._isAboutToRemove = !0, this.engine.removeNode(t)) : t._isAboutToRemove && g._itemRemoving(t.el, !1), this.engine.restoreInitial());
3206
+ }
3207
+ /** @internal removes any drag&drop present (called during destroy) */
3208
+ _removeDD(t) {
3209
+ return y.draggable(t, "destroy").resizable(t, "destroy"), t.gridstackNode && delete t.gridstackNode._initDD, delete t.ddElement, this;
3210
+ }
3211
+ /** @internal called to add drag over to support widgets being added externally */
3212
+ _setupAcceptWidget() {
3213
+ if (this.opts.staticGrid || !this.opts.acceptWidgets && !this.opts.removable)
3214
+ return y.droppable(this.el, "destroy"), this;
3215
+ let t, e;
3216
+ const i = (s, r, n) => {
3217
+ n = n || r;
3218
+ const o = n.gridstackNode;
3219
+ if (!o)
3220
+ return;
3221
+ if (!o.grid?.el) {
3222
+ n.style.transform = `scale(${1 / this.dragTransform.xScale},${1 / this.dragTransform.yScale})`;
3223
+ const c = n.getBoundingClientRect();
3224
+ n.style.left = c.x + (this.dragTransform.xScale - 1) * (s.clientX - c.x) / this.dragTransform.xScale + "px", n.style.top = c.y + (this.dragTransform.yScale - 1) * (s.clientY - c.y) / this.dragTransform.yScale + "px", n.style.transformOrigin = "0px 0px";
3225
+ }
3226
+ let { top: d, left: l } = n.getBoundingClientRect();
3227
+ const a = this.el.getBoundingClientRect();
3228
+ l -= a.left, d -= a.top;
3229
+ const u = {
3230
+ position: {
3231
+ top: d * this.dragTransform.xScale,
3232
+ left: l * this.dragTransform.yScale
3233
+ }
3234
+ };
3235
+ if (o._temporaryRemoved) {
3236
+ if (o.x = Math.max(0, Math.round(l / e)), o.y = Math.max(0, Math.round(d / t)), delete o.autoPosition, this.engine.nodeBoundFix(o), !this.engine.willItFit(o)) {
3237
+ if (o.autoPosition = !0, !this.engine.willItFit(o)) {
3238
+ y.off(r, "drag");
3239
+ return;
3240
+ }
3241
+ o._willFitPos && (h.copyPos(o, o._willFitPos), delete o._willFitPos);
3242
+ }
3243
+ this._onStartMoving(n, s, u, o, e, t);
3244
+ } else
3245
+ this._dragOrResize(n, s, u, o, e, t);
3246
+ };
3247
+ return y.droppable(this.el, {
3248
+ accept: (s) => {
3249
+ const r = s.gridstackNode || this._readAttr(s, !1);
3250
+ if (r?.grid === this)
3251
+ return !0;
3252
+ if (!this.opts.acceptWidgets)
3253
+ return !1;
3254
+ let n = !0;
3255
+ if (typeof this.opts.acceptWidgets == "function")
3256
+ n = this.opts.acceptWidgets(s);
3257
+ else {
3258
+ const o = this.opts.acceptWidgets === !0 ? ".grid-stack-item" : this.opts.acceptWidgets;
3259
+ n = s.matches(o);
3260
+ }
3261
+ if (n && r && this.opts.maxRow) {
3262
+ const o = { w: r.w, h: r.h, minW: r.minW, minH: r.minH };
3263
+ n = this.engine.willItFit(o);
3264
+ }
3265
+ return n;
3266
+ }
3267
+ }).on(this.el, "dropover", (s, r, n) => {
3268
+ let o = n?.gridstackNode || r.gridstackNode;
3269
+ if (o?.grid === this && !o._temporaryRemoved)
3270
+ return !1;
3271
+ if (o?._sidebarOrig && (o.w = o._sidebarOrig.w, o.h = o._sidebarOrig.h), o?.grid && o.grid !== this && !o._temporaryRemoved && o.grid._leave(r, n), n = n || r, e = this.cellWidth(), t = this.getCellHeight(!0), !o) {
3272
+ const a = n.getAttribute("data-gs-widget") || n.getAttribute("gridstacknode");
3273
+ if (a) {
3274
+ try {
3275
+ o = JSON.parse(a);
3276
+ } catch {
3277
+ console.error("Gridstack dropover: Bad JSON format: ", a);
3278
+ }
3279
+ n.removeAttribute("data-gs-widget"), n.removeAttribute("gridstacknode");
3280
+ }
3281
+ o || (o = this._readAttr(n)), o._sidebarOrig = { w: o.w, h: o.h };
3282
+ }
3283
+ o.grid || (o.el || (o = { ...o }), o._isExternal = !0, n.gridstackNode = o);
3284
+ const d = o.w || Math.round(n.offsetWidth / e) || 1, l = o.h || Math.round(n.offsetHeight / t) || 1;
3285
+ return o.grid && o.grid !== this ? (r._gridstackNodeOrig || (r._gridstackNodeOrig = o), r.gridstackNode = o = { ...o, w: d, h: l, grid: this }, delete o.x, delete o.y, this.engine.cleanupNode(o).nodeBoundFix(o), o._initDD = o._isExternal = // DOM needs to be re-parented on a drop
3286
+ o._temporaryRemoved = !0) : (o.w = d, o.h = l, o._temporaryRemoved = !0), g._itemRemoving(o.el, !1), y.on(r, "drag", i), i(s, r, n), !1;
3287
+ }).on(this.el, "dropout", (s, r, n) => {
3288
+ const o = n?.gridstackNode || r.gridstackNode;
3289
+ return o && (!o.grid || o.grid === this) && (this._leave(r, n), this._isTemp && this.removeAsSubGrid(o)), !1;
3290
+ }).on(this.el, "drop", (s, r, n) => {
3291
+ const o = n?.gridstackNode || r.gridstackNode;
3292
+ if (o?.grid === this && !o._isExternal)
3293
+ return !1;
3294
+ const d = !!this.placeholder.parentElement, l = r !== n;
3295
+ this.placeholder.remove(), delete this.placeholder.gridstackNode, d && this.opts.animate && (this.setAnimation(!1), this.setAnimation(!0, !0));
3296
+ const a = r._gridstackNodeOrig;
3297
+ if (delete r._gridstackNodeOrig, d && a?.grid && a.grid !== this) {
3298
+ const c = a.grid;
3299
+ c.engine.removeNodeFromLayoutCache(a), c.engine.removedNodes.push(a), c._triggerRemoveEvent()._triggerChangeEvent(), c.parentGridNode && !c.engine.nodes.length && c.opts.subGridDynamic && c.removeAsSubGrid();
3300
+ }
3301
+ if (!o || (d && (this.engine.cleanupNode(o), o.grid = this), delete o.grid?._isTemp, y.off(r, "drag"), n !== r ? (n.remove(), r = n) : r.remove(), this._removeDD(r), !d))
3302
+ return !1;
3303
+ const u = o.subGrid?.el?.gridstack;
3304
+ return h.copyPos(o, this._readAttr(this.placeholder)), h.removePositioningStyles(r), l && (o.content || o.subGridOpts || g.addRemoveCB) ? (delete o.el, r = this.addWidget(o)) : (this._prepareElement(r, !0, o), this.el.appendChild(r), this.resizeToContentCheck(!1, o), u && (u.parentGridNode = o), this._updateContainerHeight()), this.engine.addedNodes.push(o), this._triggerAddEvent(), this._triggerChangeEvent(), this.engine.endUpdate(), this._gsEventHandler.dropped && this._gsEventHandler.dropped({ ...s, type: "dropped" }, a && a.grid ? a : void 0, o), !1;
3305
+ }), this;
3306
+ }
3307
+ /** @internal mark item for removal */
3308
+ static _itemRemoving(t, e) {
3309
+ if (!t)
3310
+ return;
3311
+ const i = t ? t.gridstackNode : void 0;
3312
+ !i?.grid || t.classList.contains(i.grid.opts.removableOptions.decline) || (e ? i._isAboutToRemove = !0 : delete i._isAboutToRemove, e ? t.classList.add("grid-stack-item-removing") : t.classList.remove("grid-stack-item-removing"));
3313
+ }
3314
+ /** @internal called to setup a trash drop zone if the user specifies it */
3315
+ _setupRemoveDrop() {
3316
+ if (typeof this.opts.removable != "string")
3317
+ return this;
3318
+ const t = document.querySelector(this.opts.removable);
3319
+ return t ? (!this.opts.staticGrid && !y.isDroppable(t) && y.droppable(t, this.opts.removableOptions).on(t, "dropover", (e, i) => g._itemRemoving(i, !0)).on(t, "dropout", (e, i) => g._itemRemoving(i, !1)), this) : this;
3320
+ }
3321
+ /**
3322
+ * prepares the element for drag&drop - this is normally called by makeWidget() unless are are delay loading
3323
+ * @param el GridItemHTMLElement of the widget
3324
+ * @param [force=false]
3325
+ * */
3326
+ prepareDragDrop(t, e = !1) {
3327
+ const i = t?.gridstackNode;
3328
+ if (!i)
3329
+ return;
3330
+ const s = i.noMove || this.opts.disableDrag, r = i.noResize || this.opts.disableResize, n = this.opts.staticGrid || s && r;
3331
+ if ((e || n) && (i._initDD && (this._removeDD(t), delete i._initDD), n))
3332
+ return t.classList.add("ui-draggable-disabled", "ui-resizable-disabled"), this;
3333
+ if (!i._initDD) {
3334
+ let o, d;
3335
+ const l = (c, p) => {
3336
+ this.triggerEvent(c, c.target), o = this.cellWidth(), d = this.getCellHeight(!0), this._onStartMoving(t, c, p, i, o, d);
3337
+ }, a = (c, p) => {
3338
+ this._dragOrResize(t, c, p, i, o, d);
3339
+ }, u = (c) => {
3340
+ this.placeholder.remove(), delete this.placeholder.gridstackNode, delete i._moving, delete i._resizing, delete i._event, delete i._lastTried;
3341
+ const p = i.w !== i._orig.w, _ = c.target;
3342
+ if (!(!_.gridstackNode || _.gridstackNode.grid !== this)) {
3343
+ if (i.el = _, i._isAboutToRemove) {
3344
+ const E = t.gridstackNode.grid;
3345
+ E._gsEventHandler[c.type] && E._gsEventHandler[c.type](c, _), E.engine.nodes.push(i), E.removeWidget(t, !0, !0);
3346
+ } else
3347
+ h.removePositioningStyles(_), i._temporaryRemoved ? (this._writePosAttr(_, i), this.engine.addNode(i)) : this._writePosAttr(_, i), this.triggerEvent(c, _);
3348
+ this._extraDragRow = 0, this._updateContainerHeight(), this._triggerChangeEvent(), this.engine.endUpdate(), c.type === "resizestop" && (Number.isInteger(i.sizeToContent) && (i.sizeToContent = i.h), this.resizeToContentCheck(p, i));
3349
+ }
3350
+ };
3351
+ y.draggable(t, {
3352
+ start: l,
3353
+ stop: u,
3354
+ drag: a,
3355
+ rtl: this.opts.rtl
3356
+ }).resizable(t, {
3357
+ start: l,
3358
+ stop: u,
3359
+ resize: a,
3360
+ rtl: this.opts.rtl
3361
+ }), i._initDD = !0;
3362
+ }
3363
+ return y.draggable(t, s ? "disable" : "enable").resizable(t, r ? "disable" : "enable"), this;
3364
+ }
3365
+ /** @internal handles actual drag/resize start */
3366
+ _onStartMoving(t, e, i, s, r, n) {
3367
+ if (this.engine.cleanNodes().beginUpdate(s), this._writePosAttr(this.placeholder, s), this.el.appendChild(this.placeholder), this.placeholder.gridstackNode = s, s.grid?.el)
3368
+ this.dragTransform = h.getValuesFromTransformedElement(t);
3369
+ else if (this.placeholder && this.placeholder.closest(".grid-stack")) {
3370
+ const o = this.placeholder.closest(".grid-stack");
3371
+ this.dragTransform = h.getValuesFromTransformedElement(o);
3372
+ } else
3373
+ this.dragTransform = {
3374
+ xScale: 1,
3375
+ xOffset: 0,
3376
+ yScale: 1,
3377
+ yOffset: 0
3378
+ };
3379
+ if (s.el = this.placeholder, s._lastUiPosition = i.position, s._prevYPix = i.position.top, s._moving = e.type === "dragstart", s._resizing = e.type === "resizestart", delete s._lastTried, e.type === "dropover" && s._temporaryRemoved && (this.engine.addNode(s), s._moving = !0), this.engine.cacheRects(r, n, this.opts.marginTop, this.opts.marginRight, this.opts.marginBottom, this.opts.marginLeft), e.type === "resizestart") {
3380
+ const o = this.getColumn() - s.x, d = (this.opts.maxRow || Number.MAX_SAFE_INTEGER) - s.y;
3381
+ y.resizable(t, "option", "minWidth", r * Math.min(s.minW || 1, o)).resizable(t, "option", "minHeight", n * Math.min(s.minH || 1, d)).resizable(t, "option", "maxWidth", r * Math.min(s.maxW || Number.MAX_SAFE_INTEGER, o)).resizable(t, "option", "maxWidthMoveLeft", r * Math.min(s.maxW || Number.MAX_SAFE_INTEGER, s.x + s.w)).resizable(t, "option", "maxHeight", n * Math.min(s.maxH || Number.MAX_SAFE_INTEGER, d)).resizable(t, "option", "maxHeightMoveUp", n * Math.min(s.maxH || Number.MAX_SAFE_INTEGER, s.y + s.h));
3382
+ }
3383
+ }
3384
+ /** @internal handles actual drag/resize */
3385
+ _dragOrResize(t, e, i, s, r, n) {
3386
+ const o = { ...s._orig };
3387
+ let d, l = this.opts.marginLeft, a = this.opts.marginRight, u = this.opts.marginTop, c = this.opts.marginBottom;
3388
+ const p = Math.round(n * 0.1), _ = Math.round(r * 0.1);
3389
+ if (l = Math.min(l, _), a = Math.min(a, _), u = Math.min(u, p), c = Math.min(c, p), e.type === "drag") {
3390
+ if (s._temporaryRemoved)
3391
+ return;
3392
+ s._prevYPix = i.position.top, this.opts.draggable.scroll !== !1 && f.dragElement?.updateScrollPosition(this.el);
3393
+ const C = i.position.left + (i.position.left > s._lastUiPosition.left ? -a : l), G = i.position.top + (i.position.top > s._lastUiPosition.top ? -c : u);
3394
+ o.x = Math.round(C / r), o.y = Math.round(G / n);
3395
+ const I = this._extraDragRow;
3396
+ if (this.engine.collide(s, o)) {
3397
+ const A = this.getRow();
3398
+ let L = Math.max(0, o.y + s.h - A);
3399
+ this.opts.maxRow && A + L > this.opts.maxRow && (L = Math.max(0, this.opts.maxRow - A)), this._extraDragRow = L;
3400
+ } else
3401
+ this._extraDragRow = 0;
3402
+ if (this._extraDragRow !== I && this._updateContainerHeight(), s.x === o.x && s.y === o.y)
3403
+ return;
3404
+ } else if (e.type === "resize") {
3405
+ if (o.x < 0 || (h.updateScrollResize(e, t, n), o.w = Math.round((i.size.width - l) / r), o.h = Math.round((i.size.height - u) / n), s.w === o.w && s.h === o.h) || s._lastTried && s._lastTried.w === o.w && s._lastTried.h === o.h)
3406
+ return;
3407
+ if (e.hasMovedX) {
3408
+ const C = i.position.left + l;
3409
+ o.x = Math.round(C / r);
3410
+ }
3411
+ if (e.hasMovedY) {
3412
+ const C = i.position.top + u;
3413
+ o.y = Math.round(C / n);
3414
+ }
3415
+ d = !0;
3416
+ }
3417
+ s._event = e, s._lastTried = o;
3418
+ const E = {
3419
+ x: i.position.left + l,
3420
+ y: i.position.top + u,
3421
+ w: (i.size ? i.size.width : s.w * r) - l - a,
3422
+ h: (i.size ? i.size.height : s.h * n) - u - c
3423
+ };
3424
+ if (this.engine.moveNodeCheck(s, { ...o, cellWidth: r, cellHeight: n, rect: E, resizing: d })) {
3425
+ s._lastUiPosition = i.position, this.engine.cacheRects(r, n, u, a, c, l), delete s._skipDown, d && s.subGrid && s.subGrid.onResize(), this._extraDragRow = 0, this._updateContainerHeight();
3426
+ const C = e.target;
3427
+ s._sidebarOrig || this._writePosAttr(C, s), this.triggerEvent(e, C);
3428
+ }
3429
+ }
3430
+ /** call given event callback on our main top-most grid (if we're nested) */
3431
+ triggerEvent(t, e) {
3432
+ let i = this;
3433
+ for (; i.parentGridNode; )
3434
+ i = i.parentGridNode.grid;
3435
+ i._gsEventHandler[t.type] && i._gsEventHandler[t.type](t, e);
3436
+ }
3437
+ /** @internal called when item leaving our area by either cursor dropout event
3438
+ * or shape is outside our boundaries. remove it from us, and mark temporary if this was
3439
+ * our item to start with else restore prev node values from prev grid it came from.
3440
+ */
3441
+ _leave(t, e) {
3442
+ e = e || t;
3443
+ const i = e.gridstackNode;
3444
+ if (!i || (e.style.transform = e.style.transformOrigin = null, y.off(t, "drag"), i._temporaryRemoved))
3445
+ return;
3446
+ i._temporaryRemoved = !0, this.engine.removeNode(i), i.el = i._isExternal && e ? e : t;
3447
+ const s = i._sidebarOrig;
3448
+ i._isExternal && this.engine.cleanupNode(i), i._sidebarOrig = s, this.opts.removable === !0 && g._itemRemoving(t, !0), t._gridstackNodeOrig ? (t.gridstackNode = t._gridstackNodeOrig, delete t._gridstackNodeOrig) : i._isExternal && this.engine.restoreInitial();
3449
+ }
3450
+ }
3451
+ g.renderCB = (m, t) => {
3452
+ m && t?.content && (m.textContent = t.content);
3453
+ };
3454
+ g.resizeToContentParent = ".grid-stack-item-content";
3455
+ g.Utils = h;
3456
+ g.Engine = x;
3457
+ g.GDRev = "12.6.0";
3458
+ export {
3459
+ g as G
3460
+ };