@luzmo/analytics-components-kit 1.0.9-beta.9 → 1.2.1

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 (2486) hide show
  1. package/README.md +39 -3
  2. package/angular/README.md +40 -0
  3. package/angular/components/add-to-dashboard.ts +130 -0
  4. package/angular/components/ai-chat-empty-state.ts +105 -0
  5. package/angular/components/ai-chat.ts +464 -0
  6. package/angular/components/ai-interaction-textarea.ts +290 -0
  7. package/angular/components/data-field-level.ts +130 -0
  8. package/angular/components/data-field-panel.ts +256 -0
  9. package/angular/components/data-field.ts +130 -0
  10. package/angular/components/data-fields-select.ts +226 -0
  11. package/angular/components/dataset-icon.ts +83 -0
  12. package/angular/components/dataset-selector-list.ts +147 -0
  13. package/angular/components/dataset-selector-row.ts +205 -0
  14. package/angular/components/display-settings-binning.ts +92 -0
  15. package/angular/components/display-settings-datetime.ts +100 -0
  16. package/angular/components/display-settings-grand-totals.ts +92 -0
  17. package/angular/components/display-settings-numeric.ts +113 -0
  18. package/angular/components/display-settings-period-over-period.ts +121 -0
  19. package/angular/components/display-settings.ts +227 -0
  20. package/angular/components/filter-expression-picker.ts +168 -0
  21. package/angular/components/filter-item.ts +207 -0
  22. package/angular/components/filter-parameter-picker.ts +155 -0
  23. package/angular/components/filter-value-picker-datetime.ts +125 -0
  24. package/angular/components/filter-value-picker-hierarchy.ts +146 -0
  25. package/angular/components/filter-value-picker-numeric.ts +146 -0
  26. package/angular/components/filter-value-picker.ts +160 -0
  27. package/angular/components/filters.ts +248 -0
  28. package/angular/components/formula-editor.ts +229 -0
  29. package/angular/components/formula-field.ts +198 -0
  30. package/angular/components/formula.ts +170 -0
  31. package/angular/components/interactive-viz-item.ts +265 -0
  32. package/angular/components/item-grid-item-actions-menu.ts +123 -0
  33. package/angular/components/item-grid.ts +252 -0
  34. package/angular/components/item-option-action-button-group.ts +105 -0
  35. package/angular/components/item-option-color-palette-picker.ts +126 -0
  36. package/angular/components/item-option-color-picker.ts +161 -0
  37. package/angular/components/item-option-color-range.ts +195 -0
  38. package/angular/components/item-option-guidelines.ts +111 -0
  39. package/angular/components/item-option-multi-language-field.ts +133 -0
  40. package/angular/components/item-option-number-field.ts +161 -0
  41. package/angular/components/item-option-panel.ts +186 -0
  42. package/angular/components/item-option-picker.ts +120 -0
  43. package/angular/components/item-option-position-picker.ts +98 -0
  44. package/angular/components/item-option-positions-number-field.ts +140 -0
  45. package/angular/components/item-option-radio-button-group.ts +119 -0
  46. package/angular/components/item-option-slider.ts +163 -0
  47. package/angular/components/item-option-switch.ts +98 -0
  48. package/angular/components/item-option-text-field.ts +112 -0
  49. package/angular/components/item-option.ts +200 -0
  50. package/angular/components/item-slot-drop-panel.ts +236 -0
  51. package/angular/components/item-slot-drop.ts +231 -0
  52. package/angular/components/item-slot-picker-panel.ts +306 -0
  53. package/angular/components/item-slot-picker.ts +248 -0
  54. package/angular/components/slot-menu-list.ts +121 -0
  55. package/angular/components/slot-menu.ts +311 -0
  56. package/angular/esm/components/add-to-dashboard.d.ts +48 -0
  57. package/angular/esm/components/add-to-dashboard.js +129 -0
  58. package/angular/esm/components/ai-chat-empty-state.d.ts +41 -0
  59. package/angular/esm/components/ai-chat-empty-state.js +107 -0
  60. package/angular/esm/components/ai-chat.d.ts +154 -0
  61. package/angular/esm/components/ai-chat.js +477 -0
  62. package/angular/esm/components/ai-interaction-textarea.d.ts +108 -0
  63. package/angular/esm/components/ai-interaction-textarea.js +313 -0
  64. package/angular/esm/components/data-field-level.d.ts +50 -0
  65. package/angular/esm/components/data-field-level.js +129 -0
  66. package/angular/esm/components/data-field-panel.d.ts +86 -0
  67. package/angular/esm/components/data-field-panel.js +268 -0
  68. package/angular/esm/components/data-field.d.ts +50 -0
  69. package/angular/esm/components/data-field.js +129 -0
  70. package/angular/esm/components/data-fields-select.d.ts +87 -0
  71. package/angular/esm/components/data-fields-select.js +243 -0
  72. package/angular/esm/components/dataset-icon.d.ts +34 -0
  73. package/angular/esm/components/dataset-icon.js +86 -0
  74. package/angular/esm/components/dataset-selector-list.d.ts +56 -0
  75. package/angular/esm/components/dataset-selector-list.js +155 -0
  76. package/angular/esm/components/dataset-selector-row.d.ts +72 -0
  77. package/angular/esm/components/dataset-selector-row.js +205 -0
  78. package/angular/esm/components/display-settings-binning.d.ts +37 -0
  79. package/angular/esm/components/display-settings-binning.js +91 -0
  80. package/angular/esm/components/display-settings-datetime.d.ts +40 -0
  81. package/angular/esm/components/display-settings-datetime.js +99 -0
  82. package/angular/esm/components/display-settings-grand-totals.d.ts +37 -0
  83. package/angular/esm/components/display-settings-grand-totals.js +91 -0
  84. package/angular/esm/components/display-settings-numeric.d.ts +45 -0
  85. package/angular/esm/components/display-settings-numeric.js +115 -0
  86. package/angular/esm/components/display-settings-period-over-period.d.ts +50 -0
  87. package/angular/esm/components/display-settings-period-over-period.js +123 -0
  88. package/angular/esm/components/display-settings.d.ts +83 -0
  89. package/angular/esm/components/display-settings.js +231 -0
  90. package/angular/esm/components/filter-expression-picker.d.ts +64 -0
  91. package/angular/esm/components/filter-expression-picker.js +179 -0
  92. package/angular/esm/components/filter-item.d.ts +74 -0
  93. package/angular/esm/components/filter-item.js +222 -0
  94. package/angular/esm/components/filter-parameter-picker.d.ts +56 -0
  95. package/angular/esm/components/filter-parameter-picker.js +151 -0
  96. package/angular/esm/components/filter-value-picker-datetime.d.ts +47 -0
  97. package/angular/esm/components/filter-value-picker-datetime.js +131 -0
  98. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
  99. package/angular/esm/components/filter-value-picker-hierarchy.js +155 -0
  100. package/angular/esm/components/filter-value-picker-numeric.d.ts +53 -0
  101. package/angular/esm/components/filter-value-picker-numeric.js +155 -0
  102. package/angular/esm/components/filter-value-picker.d.ts +57 -0
  103. package/angular/esm/components/filter-value-picker.js +171 -0
  104. package/angular/esm/components/filters.d.ts +88 -0
  105. package/angular/esm/components/filters.js +259 -0
  106. package/angular/esm/components/formula-editor.d.ts +78 -0
  107. package/angular/esm/components/formula-editor.js +236 -0
  108. package/angular/esm/components/formula-field.d.ts +70 -0
  109. package/angular/esm/components/formula-field.js +209 -0
  110. package/angular/esm/components/formula.d.ts +60 -0
  111. package/angular/esm/components/formula.js +177 -0
  112. package/angular/esm/components/interactive-viz-item.d.ts +85 -0
  113. package/angular/esm/components/interactive-viz-item.js +250 -0
  114. package/angular/esm/components/item-grid-item-actions-menu.d.ts +47 -0
  115. package/angular/esm/components/item-grid-item-actions-menu.js +121 -0
  116. package/angular/esm/components/item-grid.d.ts +82 -0
  117. package/angular/esm/components/item-grid.js +251 -0
  118. package/angular/esm/components/item-option-action-button-group.d.ts +41 -0
  119. package/angular/esm/components/item-option-action-button-group.js +107 -0
  120. package/angular/esm/components/item-option-color-palette-picker.d.ts +48 -0
  121. package/angular/esm/components/item-option-color-palette-picker.js +131 -0
  122. package/angular/esm/components/item-option-color-picker.d.ts +58 -0
  123. package/angular/esm/components/item-option-color-picker.js +159 -0
  124. package/angular/esm/components/item-option-color-range.d.ts +73 -0
  125. package/angular/esm/components/item-option-color-range.js +199 -0
  126. package/angular/esm/components/item-option-guidelines.d.ts +41 -0
  127. package/angular/esm/components/item-option-guidelines.js +103 -0
  128. package/angular/esm/components/item-option-multi-language-field.d.ts +50 -0
  129. package/angular/esm/components/item-option-multi-language-field.js +139 -0
  130. package/angular/esm/components/item-option-number-field.d.ts +58 -0
  131. package/angular/esm/components/item-option-number-field.js +171 -0
  132. package/angular/esm/components/item-option-panel.d.ts +63 -0
  133. package/angular/esm/components/item-option-panel.js +181 -0
  134. package/angular/esm/components/item-option-picker.d.ts +46 -0
  135. package/angular/esm/components/item-option-picker.js +123 -0
  136. package/angular/esm/components/item-option-position-picker.d.ts +39 -0
  137. package/angular/esm/components/item-option-position-picker.js +99 -0
  138. package/angular/esm/components/item-option-positions-number-field.d.ts +54 -0
  139. package/angular/esm/components/item-option-positions-number-field.js +147 -0
  140. package/angular/esm/components/item-option-radio-button-group.d.ts +45 -0
  141. package/angular/esm/components/item-option-radio-button-group.js +123 -0
  142. package/angular/esm/components/item-option-slider.d.ts +55 -0
  143. package/angular/esm/components/item-option-slider.js +157 -0
  144. package/angular/esm/components/item-option-switch.d.ts +40 -0
  145. package/angular/esm/components/item-option-switch.js +99 -0
  146. package/angular/esm/components/item-option-text-field.d.ts +44 -0
  147. package/angular/esm/components/item-option-text-field.js +115 -0
  148. package/angular/esm/components/item-option.d.ts +67 -0
  149. package/angular/esm/components/item-option.js +197 -0
  150. package/angular/esm/components/item-slot-drop-panel.d.ts +82 -0
  151. package/angular/esm/components/item-slot-drop-panel.js +249 -0
  152. package/angular/esm/components/item-slot-drop.d.ts +77 -0
  153. package/angular/esm/components/item-slot-drop.js +227 -0
  154. package/angular/esm/components/item-slot-picker-panel.d.ts +99 -0
  155. package/angular/esm/components/item-slot-picker-panel.js +317 -0
  156. package/angular/esm/components/item-slot-picker.d.ts +88 -0
  157. package/angular/esm/components/item-slot-picker.js +267 -0
  158. package/angular/esm/components/slot-menu-list.d.ts +46 -0
  159. package/angular/esm/components/slot-menu-list.js +123 -0
  160. package/angular/esm/components/slot-menu.d.ts +107 -0
  161. package/angular/esm/components/slot-menu.js +308 -0
  162. package/angular/esm/index.d.ts +109 -0
  163. package/angular/esm/index.js +217 -0
  164. package/angular/index.ts +223 -0
  165. package/angular/package.json +44 -0
  166. package/angular/tsconfig.json +36 -0
  167. package/angular/type-fallbacks.d.ts +0 -0
  168. package/angular/utils/ai-prompt/attachments.d.ts +10 -0
  169. package/angular/utils/ai-prompt/dictation.d.ts +50 -0
  170. package/angular/utils/ai-prompt/image-upload.d.ts +12 -0
  171. package/angular/utils/ai-prompt/index.d.ts +6 -0
  172. package/angular/utils/ai-prompt/tests/attachments.test.d.ts +1 -0
  173. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +1 -0
  174. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +1 -0
  175. package/angular/utils/base/base.d.ts +16 -0
  176. package/angular/utils/base/focus-visible.d.ts +29 -0
  177. package/angular/utils/base/focusable.d.ts +58 -0
  178. package/angular/utils/base/index.d.ts +5 -0
  179. package/angular/utils/base/localized-mixin.d.ts +22 -0
  180. package/angular/utils/base/sized-mixin.d.ts +17 -0
  181. package/angular/utils/color/color-palettes.d.ts +17 -0
  182. package/angular/utils/color/extrapolate-color.d.ts +1 -0
  183. package/angular/utils/create-lazy-loader.d.ts +5 -0
  184. package/angular/utils/data/load-data-fields-for-datasets.d.ts +22 -0
  185. package/angular/utils/data-broker/index.d.ts +281 -0
  186. package/angular/utils/data-broker/tests/data-broker.test.d.ts +1 -0
  187. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
  188. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
  189. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
  190. package/angular/utils/drag/draggable.d.ts +13 -0
  191. package/angular/utils/drag/pragmatic-element-adapter.d.ts +2 -0
  192. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +1 -0
  193. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +1 -0
  194. package/angular/utils/filters/expressions.d.ts +15 -0
  195. package/angular/utils/filters/filter-text.d.ts +64 -0
  196. package/angular/utils/filters/index.d.ts +2 -0
  197. package/angular/utils/filters/presentation.d.ts +4 -0
  198. package/angular/utils/filters/tests/filter-text.test.d.ts +1 -0
  199. package/angular/utils/formatter/calculate-duration.d.ts +2 -0
  200. package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
  201. package/angular/utils/formatter/default-local-formats.d.ts +20 -0
  202. package/angular/utils/formatter/formats/cs.d.ts +20 -0
  203. package/angular/utils/formatter/formats/da.d.ts +20 -0
  204. package/angular/utils/formatter/formats/de.d.ts +21 -0
  205. package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
  206. package/angular/utils/formatter/formats/en-US.d.ts +1 -0
  207. package/angular/utils/formatter/formats/en.d.ts +1 -0
  208. package/angular/utils/formatter/formats/es.d.ts +54 -0
  209. package/angular/utils/formatter/formats/fi.d.ts +20 -0
  210. package/angular/utils/formatter/formats/fr.d.ts +54 -0
  211. package/angular/utils/formatter/formats/he.d.ts +20 -0
  212. package/angular/utils/formatter/formats/hu.d.ts +20 -0
  213. package/angular/utils/formatter/formats/it.d.ts +54 -0
  214. package/angular/utils/formatter/formats/ja.d.ts +20 -0
  215. package/angular/utils/formatter/formats/ko.d.ts +20 -0
  216. package/angular/utils/formatter/formats/mk.d.ts +20 -0
  217. package/angular/utils/formatter/formats/nl.d.ts +21 -0
  218. package/angular/utils/formatter/formats/no.d.ts +21 -0
  219. package/angular/utils/formatter/formats/pl.d.ts +20 -0
  220. package/angular/utils/formatter/formats/pt.d.ts +20 -0
  221. package/angular/utils/formatter/formats/ru.d.ts +20 -0
  222. package/angular/utils/formatter/formats/sv.d.ts +20 -0
  223. package/angular/utils/formatter/formats/tr.d.ts +21 -0
  224. package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
  225. package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
  226. package/angular/utils/formatter/formatter.d.ts +9 -0
  227. package/angular/utils/formatter/get-dataset-name.d.ts +2 -0
  228. package/angular/utils/formatter/get-localized-name.d.ts +4 -0
  229. package/angular/utils/formatter/localize.d.ts +3 -0
  230. package/angular/utils/formatter/localized-template.d.ts +4 -0
  231. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  232. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
  233. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
  234. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
  235. package/angular/utils/formatter/tests/formatter.test.d.ts +1 -0
  236. package/angular/utils/formatter/tests/get-localized-name.test.d.ts +1 -0
  237. package/angular/utils/formatter/tests/localize.test.d.ts +1 -0
  238. package/angular/utils/formatter/tests/localized-template.test.d.ts +1 -0
  239. package/angular/utils/formula/base/formula-base.d.ts +117 -0
  240. package/angular/utils/formula/base/formula-input-base.d.ts +62 -0
  241. package/angular/utils/formula/codemirror/actions.d.ts +47 -0
  242. package/angular/utils/formula/codemirror/drop-cursor.d.ts +15 -0
  243. package/angular/utils/formula/codemirror/icon-element.d.ts +7 -0
  244. package/angular/utils/formula/codemirror/parser.d.ts +16 -0
  245. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +1 -0
  246. package/angular/utils/formula/codemirror/theme.d.ts +20 -0
  247. package/angular/utils/formula/codemirror/widget.d.ts +18 -0
  248. package/angular/utils/formula/config/aggregations.d.ts +9 -0
  249. package/angular/utils/formula/config/build-datasets.d.ts +10 -0
  250. package/angular/utils/formula/config/expression-helpers.d.ts +42 -0
  251. package/angular/utils/formula/config/functions.d.ts +3 -0
  252. package/angular/utils/formula/config/groupings.d.ts +9 -0
  253. package/angular/utils/formula/config/regex.d.ts +39 -0
  254. package/angular/utils/formula/config/resolve-column-presentation.d.ts +19 -0
  255. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
  256. package/angular/utils/formula/config/validate-expression.d.ts +19 -0
  257. package/angular/utils/formula/load-formula-codemirror.d.ts +4 -0
  258. package/angular/utils/formula/render-explanation-tooltip.d.ts +7 -0
  259. package/angular/utils/formula/store/formula-display-store.d.ts +93 -0
  260. package/angular/utils/formula/store/formula-editor-context.d.ts +8 -0
  261. package/angular/utils/formula/store/formula-editor-store.d.ts +46 -0
  262. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +1 -0
  263. package/angular/utils/formula/tests/validate-expression.test.d.ts +1 -0
  264. package/angular/utils/get-css-variable.d.ts +1 -0
  265. package/angular/utils/index.d.ts +10 -0
  266. package/angular/utils/localize/set-locale.d.ts +7 -0
  267. package/angular/utils/map-tile-providers/index.d.ts +93 -0
  268. package/angular/utils/option-interaction/index.d.ts +2 -0
  269. package/angular/utils/option-interaction/is-same-option-value.d.ts +10 -0
  270. package/angular/utils/option-interaction/option-interaction-controller.d.ts +54 -0
  271. package/angular/utils/option-interaction/tests/option-interaction-controller.test.d.ts +1 -0
  272. package/angular/utils/set-nested-value.d.ts +6 -0
  273. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
  274. package/angular/utils/slot-content/render-calculation-label.d.ts +7 -0
  275. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
  276. package/angular/utils/slot-state/slot-context.d.ts +4 -0
  277. package/angular/utils/slot-state/slot-store.d.ts +43 -0
  278. package/angular/utils/slot-state/tests/slot-store.test.d.ts +1 -0
  279. package/angular/utils/store/base-store.d.ts +167 -0
  280. package/angular/utils/store/dashboard-store.d.ts +49 -0
  281. package/angular/utils/store/index.d.ts +136 -0
  282. package/angular/utils/store/item-store.d.ts +33 -0
  283. package/angular/utils/store/store-registry.d.ts +170 -0
  284. package/angular/utils/store/tests/dashboard-store.test.d.ts +1 -0
  285. package/angular/utils/store/tests/item-store.test.d.ts +1 -0
  286. package/angular/utils/store/tests/store-base-history.test.d.ts +1 -0
  287. package/angular/utils/store/tests/store-base.test.d.ts +1 -0
  288. package/angular/utils/store/tests/store-registry.test.d.ts +1 -0
  289. package/angular/utils/store/types.d.ts +270 -0
  290. package/angular/utils/switch-item/index.d.ts +34 -0
  291. package/angular/utils/switch-item/slot-role-classification.d.ts +31 -0
  292. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
  293. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
  294. package/angular/utils/switch-item/tests/switch-item.test.d.ts +1 -0
  295. package/angular/utils/tests/create-lazy-loader.test.d.ts +1 -0
  296. package/angular/utils/tests/set-nested-value.test.d.ts +1 -0
  297. package/angular/utils/themes/bliss.d.ts +2 -0
  298. package/angular/utils/themes/classic-dark.d.ts +2 -0
  299. package/angular/utils/themes/classic.d.ts +2 -0
  300. package/angular/utils/themes/default-dark.d.ts +2 -0
  301. package/angular/utils/themes/default.d.ts +2 -0
  302. package/angular/utils/themes/index.d.ts +4 -0
  303. package/angular/utils/themes/orion.d.ts +2 -0
  304. package/angular/utils/themes/pinky.d.ts +2 -0
  305. package/angular/utils/themes/radiant.d.ts +2 -0
  306. package/angular/utils/themes/royale.d.ts +2 -0
  307. package/angular/utils/themes/seasonal.d.ts +2 -0
  308. package/angular/utils/themes/urban.d.ts +2 -0
  309. package/angular/utils/themes/vivid.d.ts +2 -0
  310. package/angular/utils/time/formats.const.d.ts +4 -0
  311. package/angular/utils/time/period-over-period-condition.const.d.ts +8 -0
  312. package/angular/utils/time/periods.const.d.ts +15 -0
  313. package/angular/utils/timezone/datetime-timezone.d.ts +25 -0
  314. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
  315. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
  316. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
  317. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
  318. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
  319. package/angular/utils/types/tests/type-check.test.d.ts +1 -0
  320. package/angular/utils/types/type-check.d.ts +28 -0
  321. package/components/ad-hoc-slot-content-DWUxMq1x.js +28 -0
  322. package/components/ad-hoc-slot-content-DsRsJzsY.cjs +20 -0
  323. package/components/add-to-dashboard/index.cjs +1 -1
  324. package/components/add-to-dashboard/index.js +1 -2
  325. package/components/add-to-dashboard-NcVHlqrc.js +796 -0
  326. package/components/add-to-dashboard-NwsCPIlg.cjs +166 -0
  327. package/components/ai-chat/ai-chat-events.d.ts +5 -1
  328. package/components/ai-chat/ai-chat-request.d.ts +1 -1
  329. package/components/ai-chat/ai-chat.d.ts +37 -3
  330. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +1 -1
  331. package/components/ai-chat/helpers/assistant-message-feedback.d.ts +26 -0
  332. package/components/ai-chat/helpers/elicitation-template.d.ts +1 -1
  333. package/components/ai-chat/index.cjs +1 -1
  334. package/components/ai-chat/index.d.ts +3 -3
  335. package/components/ai-chat/index.js +2 -2
  336. package/components/ai-chat/session/ai-chat-session.d.ts +8 -1
  337. package/components/ai-chat/stream/chunk-extractors.d.ts +8 -0
  338. package/components/ai-chat/stream/index.d.ts +1 -1
  339. package/components/ai-chat/stream/types.d.ts +6 -0
  340. package/components/ai-chat-BNcSadGI.cjs +393 -0
  341. package/components/ai-chat-CL894viH.js +4371 -0
  342. package/components/ai-interaction-textarea/index.cjs +1 -1
  343. package/components/ai-interaction-textarea/index.js +1 -2
  344. package/components/ai-interaction-textarea-BmvVVCmL.cjs +101 -0
  345. package/components/ai-interaction-textarea-CnQ2FBc7.js +797 -0
  346. package/components/area-chart-options.config-D99tvt_H.cjs +20 -0
  347. package/components/area-chart-options.config-Dnw8v2CA.js +218 -0
  348. package/components/area-chart-options.de-D5Wto0ja.cjs +20 -0
  349. package/components/area-chart-options.de-DXjvU5SP.js +94 -0
  350. package/components/area-chart-options.en-C97TC7i-.js +94 -0
  351. package/components/area-chart-options.en-CrffNamW.cjs +20 -0
  352. package/components/area-chart-options.es-BPpe9WGc.cjs +20 -0
  353. package/components/area-chart-options.es-BRZqqMoH.js +94 -0
  354. package/components/area-chart-options.fr-CdlaMfpz.cjs +20 -0
  355. package/components/area-chart-options.fr-DdxaNKyG.js +94 -0
  356. package/components/area-chart-options.nl-C7RTsytw.cjs +20 -0
  357. package/components/area-chart-options.nl-COBLkBRQ.js +94 -0
  358. package/components/area-chart-positioning.config-BwEs73dl.cjs +20 -0
  359. package/components/area-chart-positioning.config-ygE3-JQW.js +54 -0
  360. package/components/area-chart-slots.config-C-NPoK3J.cjs +20 -0
  361. package/components/area-chart-slots.config-D05HNoJK.js +54 -0
  362. package/components/axis-options.config-Cs5ItswD.js +269 -0
  363. package/components/axis-options.config-Dg9pczlQ.cjs +20 -0
  364. package/components/axis-options.i18n-B4Oq86I1.cjs +20 -0
  365. package/components/axis-options.i18n-Bu6vtdMv.js +485 -0
  366. package/components/bar-chart-options.config-BQ-PbucR.cjs +20 -0
  367. package/components/bar-chart-options.config-DHO8grQN.js +265 -0
  368. package/components/bar-chart-options.de-CP33NpEm.js +110 -0
  369. package/components/bar-chart-options.de-D7Aam6Mv.cjs +20 -0
  370. package/components/bar-chart-options.en-Bz116FHK.js +110 -0
  371. package/components/bar-chart-options.en-CkdOHM9S.cjs +20 -0
  372. package/components/bar-chart-options.es-C3SZOSiN.cjs +20 -0
  373. package/components/bar-chart-options.es-CXu-5of-.js +110 -0
  374. package/components/bar-chart-options.fr-aVs2K5Qh.cjs +20 -0
  375. package/components/bar-chart-options.fr-m4kyuObV.js +110 -0
  376. package/components/bar-chart-options.nl-BoGYJH70.cjs +20 -0
  377. package/components/bar-chart-options.nl-IYu6IncY.js +110 -0
  378. package/components/bar-chart-positioning.config-CPdIIPp0.cjs +20 -0
  379. package/components/bar-chart-positioning.config-GjqSe7CO.js +58 -0
  380. package/components/bar-chart-slots.config-AkSBrmIW.js +49 -0
  381. package/components/bar-chart-slots.config-CHR8QVRY.cjs +20 -0
  382. package/components/base-CGDNY_7v.cjs +20 -0
  383. package/components/base-rAte-QzM.js +240 -0
  384. package/components/base-store-D3whjduR.cjs +20 -0
  385. package/components/base-store-DQYj8A1W.js +153 -0
  386. package/components/bliss-BEt3SIfb.js +74 -0
  387. package/components/box-plot-options.config-BcGisybi.cjs +20 -0
  388. package/components/box-plot-options.config-BgiiwSrU.js +351 -0
  389. package/components/box-plot-options.de-BNdJuZsx.js +107 -0
  390. package/components/box-plot-options.de-CJ5uTyj4.cjs +20 -0
  391. package/components/box-plot-options.en-CnmnMRfg.js +107 -0
  392. package/components/box-plot-options.en-D91y5Yn2.cjs +20 -0
  393. package/components/box-plot-options.es-B6RVPU6K.js +107 -0
  394. package/components/box-plot-options.es-BE_gbUfY.cjs +20 -0
  395. package/components/box-plot-options.fr-CQVriCXK.js +107 -0
  396. package/components/box-plot-options.fr-w8w9Ulrk.cjs +20 -0
  397. package/components/box-plot-options.nl-Dl6tln-c.cjs +20 -0
  398. package/components/box-plot-options.nl-bHdxhoY1.js +107 -0
  399. package/components/box-plot-positioning.config-DDUgau2U.js +47 -0
  400. package/components/box-plot-positioning.config-mSIgw923.cjs +20 -0
  401. package/components/box-plot-slots.config-3bkXggok.cjs +20 -0
  402. package/components/box-plot-slots.config-DGx5e4nS.js +39 -0
  403. package/components/bubble-chart-options.config-DMk8Yjfk.cjs +20 -0
  404. package/components/bubble-chart-options.config-UM9w5tBs.js +141 -0
  405. package/components/bubble-chart-options.de-B-CE9HH_.js +48 -0
  406. package/components/bubble-chart-options.en-Dz03_J0z.js +48 -0
  407. package/components/bubble-chart-options.es-F1mNRXZq.js +48 -0
  408. package/components/bubble-chart-options.fr-B8lDK-z9.js +48 -0
  409. package/components/bubble-chart-options.nl-Bg5UEsxM.js +48 -0
  410. package/components/bubble-chart-positioning.config-C3UubNLh.js +54 -0
  411. package/components/bubble-chart-positioning.config-CuOxvXYf.cjs +20 -0
  412. package/components/bubble-chart-slots.config-BHB8xqfy.js +46 -0
  413. package/components/bubble-chart-slots.config-DI8-pPaE.cjs +20 -0
  414. package/components/bullet-chart-options.config-D9HklLUI.js +94 -0
  415. package/components/bullet-chart-options.config-DUAnmPGW.cjs +20 -0
  416. package/components/bullet-chart-options.de-C6HTRMYV.cjs +20 -0
  417. package/components/bullet-chart-options.de-yq4D8cLz.js +46 -0
  418. package/components/bullet-chart-options.en-C2MDX5A3.cjs +20 -0
  419. package/components/bullet-chart-options.en-CwZVlb8N.js +46 -0
  420. package/components/bullet-chart-options.es-CGqpJxSU.cjs +20 -0
  421. package/components/bullet-chart-options.es-DgyTWiW3.js +46 -0
  422. package/components/bullet-chart-options.fr-BFtQlQrs.cjs +20 -0
  423. package/components/bullet-chart-options.fr-BfR1KSqo.js +46 -0
  424. package/components/bullet-chart-options.nl-BaZDLnDS.cjs +20 -0
  425. package/components/bullet-chart-options.nl-CkCZ8-Tq.js +46 -0
  426. package/components/bullet-chart-positioning.config-BuFhsRMP.js +55 -0
  427. package/components/bullet-chart-positioning.config-DB1Fmx1d.cjs +20 -0
  428. package/components/bullet-chart-slots.config-BG6XKLJg.cjs +20 -0
  429. package/components/bullet-chart-slots.config-ujoj2rwb.js +45 -0
  430. package/components/calculate-data-field-icon-BrFZHlNR.js +148 -0
  431. package/components/chart-helpers-Dng_LGfq.js +249 -0
  432. package/components/choropleth-map-options.config-Blu0Z2tR.js +351 -0
  433. package/components/choropleth-map-options.config-DwFJ00CS.cjs +20 -0
  434. package/components/choropleth-map-options.de-CjnC-9AW.js +71 -0
  435. package/components/choropleth-map-options.en-DKJmimPI.js +71 -0
  436. package/components/choropleth-map-options.es-BWw823D1.js +71 -0
  437. package/components/choropleth-map-options.fr-B6P5TF2j.js +71 -0
  438. package/components/choropleth-map-options.nl-JZsLCT82.js +71 -0
  439. package/components/choropleth-map-positioning.config-6PsCyhsn.js +54 -0
  440. package/components/choropleth-map-positioning.config-fc5IcNoB.cjs +20 -0
  441. package/components/choropleth-map-slots.config-C7e7ZKYl.js +52 -0
  442. package/components/choropleth-map-slots.config-DQUaQxxY.cjs +20 -0
  443. package/components/circle-pack-chart-options.config-DMNMYWZX.cjs +20 -0
  444. package/components/circle-pack-chart-options.config-DQs-uitJ.js +59 -0
  445. package/components/circle-pack-chart-options.de-C0s0u4cP.js +30 -0
  446. package/components/circle-pack-chart-options.en-1SlxJ8D2.js +30 -0
  447. package/components/circle-pack-chart-options.es-n3EDSGVP.js +30 -0
  448. package/components/circle-pack-chart-options.fr-ZwBi9b32.js +30 -0
  449. package/components/circle-pack-chart-options.nl-DtTJ6Vaj.js +30 -0
  450. package/components/circle-pack-chart-positioning.config-DRHNE10H.js +47 -0
  451. package/components/circle-pack-chart-positioning.config-DvQfzJ_Z.cjs +20 -0
  452. package/components/circle-pack-chart-slots.config-37GyNjk7.cjs +20 -0
  453. package/components/circle-pack-chart-slots.config-CA-fJ_Q1.js +37 -0
  454. package/components/circular-gauge-options.config-B4Hk-AXi.cjs +20 -0
  455. package/components/circular-gauge-options.config-CnWE16oE.js +192 -0
  456. package/components/circular-gauge-options.de-D0pLBMXo.js +56 -0
  457. package/components/circular-gauge-options.en-PYvfXZQL.js +56 -0
  458. package/components/circular-gauge-options.es-DfoNDSPk.js +56 -0
  459. package/components/circular-gauge-options.fr-DbmqrGCc.js +56 -0
  460. package/components/circular-gauge-options.nl-iHEN3ip8.js +56 -0
  461. package/components/circular-gauge-positioning.config-CGOX-Vyn.js +47 -0
  462. package/components/circular-gauge-positioning.config-OX1-mPls.cjs +20 -0
  463. package/components/circular-gauge-slots.config-L-NZc7MY.cjs +20 -0
  464. package/components/circular-gauge-slots.config-UYWufX3Z.js +38 -0
  465. package/components/classic-B9EbWt-B.js +81 -0
  466. package/components/classic-dark-BRDXw-Ec.js +72 -0
  467. package/components/color-CQcCK-_O.js +3810 -0
  468. package/components/color-DKdzPrQX.cjs +20 -0
  469. package/components/color-palettes-B194TZ0a.js +1473 -0
  470. package/components/color-range-utils-CgwRGUkg.js +62 -0
  471. package/components/color-range-utils-D8uygiMe.cjs +20 -0
  472. package/components/column-chart-options.config-BYDJTVx6.js +264 -0
  473. package/components/column-chart-options.config-CyD8V7j4.cjs +20 -0
  474. package/components/column-chart-options.de-BOp0fmxj.cjs +20 -0
  475. package/components/column-chart-options.de-BPRcyVXO.js +110 -0
  476. package/components/column-chart-options.en-BmtcG_3n.js +110 -0
  477. package/components/column-chart-options.en-CkdOHM9S.cjs +20 -0
  478. package/components/column-chart-options.es-BNDjc5Cj.js +110 -0
  479. package/components/column-chart-options.es-BiPP9jKx.cjs +20 -0
  480. package/components/column-chart-options.fr-Cyz4XUm_.js +110 -0
  481. package/components/column-chart-options.fr-aVs2K5Qh.cjs +20 -0
  482. package/components/column-chart-options.nl-BoGYJH70.cjs +20 -0
  483. package/components/column-chart-options.nl-Dci9pl7S.js +110 -0
  484. package/components/column-chart-positioning.config-BVYa1A42.js +54 -0
  485. package/components/column-chart-positioning.config-NbQbSa8P.cjs +20 -0
  486. package/components/column-chart-slots.config-h3Kwc61j.cjs +20 -0
  487. package/components/column-chart-slots.config-i2QvhELq.js +49 -0
  488. package/components/combination-chart-options.config-B3zsSUFx.js +156 -0
  489. package/components/combination-chart-options.config-Cg3ZEKMe.cjs +20 -0
  490. package/components/combination-chart-options.de-DycthBF_.cjs +20 -0
  491. package/components/combination-chart-options.de-LcfaqPiY.js +73 -0
  492. package/components/combination-chart-options.en-BIosKCWf.cjs +20 -0
  493. package/components/combination-chart-options.en-CKTmecmz.js +73 -0
  494. package/components/combination-chart-options.es-BZvT5fH1.js +73 -0
  495. package/components/combination-chart-options.es-CZ6uoD-U.cjs +20 -0
  496. package/components/combination-chart-options.fr-B2NH27P6.cjs +20 -0
  497. package/components/combination-chart-options.fr-niQosk62.js +73 -0
  498. package/components/combination-chart-options.nl-B-vNeGxb.cjs +20 -0
  499. package/components/combination-chart-options.nl-Co7JI3vH.js +73 -0
  500. package/components/combination-chart-positioning.config-B7DtfzCV.cjs +20 -0
  501. package/components/combination-chart-positioning.config-yHAgveni.js +47 -0
  502. package/components/combination-chart-slots.config-CxkpKksB.js +42 -0
  503. package/components/combination-chart-slots.config-DV6RMdjE.cjs +20 -0
  504. package/components/conditional-number-options.config-CsEhIU-T.cjs +20 -0
  505. package/components/conditional-number-options.config-DObu2Erh.js +209 -0
  506. package/components/conditional-number-options.de-BEYC3Tkn.js +59 -0
  507. package/components/conditional-number-options.en-CobRwTMJ.js +59 -0
  508. package/components/conditional-number-options.es-CURPGt9l.js +59 -0
  509. package/components/conditional-number-options.fr-DbiJCo-x.js +59 -0
  510. package/components/conditional-number-options.nl-DRbK4wGL.js +59 -0
  511. package/components/conditional-number-positioning.config-BZS99jTT.cjs +20 -0
  512. package/components/conditional-number-positioning.config-DhixJEpv.js +47 -0
  513. package/components/conditional-number-slots.config-CggROf5Y.js +38 -0
  514. package/components/conditional-number-slots.config-Opfq5oAT.cjs +20 -0
  515. package/components/convert-datasets-to-data-fields-DZJstVS2.js +67 -0
  516. package/components/create-lazy-loader-BFqDG_WK.js +30 -0
  517. package/components/cs-OL9Kdu8F.js +125 -0
  518. package/components/da-B0rljMwE.js +125 -0
  519. package/components/data-broker-C1Iz71TN.js +1675 -0
  520. package/components/data-broker-DCghLjhq.cjs +20 -0
  521. package/components/data-field/index.cjs +1 -1
  522. package/components/data-field/index.js +1 -2
  523. package/components/data-field-B9466d0w.js +120 -0
  524. package/components/data-field-BORlpZZk.cjs +54 -0
  525. package/components/data-field-level/index.cjs +1 -1
  526. package/components/data-field-level/index.js +1 -2
  527. package/components/data-field-level-DOEYwcvM.cjs +55 -0
  528. package/components/data-field-level-GrX6yhPV.js +243 -0
  529. package/components/data-field-panel/index.cjs +1 -1
  530. package/components/data-field-panel/index.js +1 -2
  531. package/components/data-field-panel-BedJ9V2r.js +373 -0
  532. package/components/data-field-panel-DmMkAYAz.cjs +87 -0
  533. package/components/data-fields-select/data-fields-select.d.ts +3 -1
  534. package/components/data-fields-select/index.cjs +1 -1
  535. package/components/data-fields-select/index.js +1 -2
  536. package/components/data-fields-select-BOqmoE7n.cjs +43 -0
  537. package/components/data-fields-select-af1HZLWS.js +291 -0
  538. package/components/dataset-icon/index.cjs +1 -1
  539. package/components/dataset-icon/index.js +1 -2
  540. package/components/dataset-icon-CmgJeTKm.cjs +62 -0
  541. package/components/dataset-icon-DAeC0MBI.js +109 -0
  542. package/components/dataset-selector-list/index.cjs +1 -1
  543. package/components/dataset-selector-list/index.js +1 -2
  544. package/components/dataset-selector-list-BzI8n_dB.js +319 -0
  545. package/components/dataset-selector-list-CmZaj20L.cjs +75 -0
  546. package/components/dataset-selector-row/index.cjs +1 -1
  547. package/components/dataset-selector-row/index.js +1 -2
  548. package/components/dataset-selector-row-D_7iBmdm.js +442 -0
  549. package/components/dataset-selector-row-mOGioXLM.cjs +104 -0
  550. package/components/date-comparison-filter-options.config-BAhHCVlo.js +125 -0
  551. package/components/date-comparison-filter-options.config-vCXOhzkp.cjs +20 -0
  552. package/components/date-comparison-filter-options.de-CHAepese.js +54 -0
  553. package/components/date-comparison-filter-options.en-GnqPLNOy.js +54 -0
  554. package/components/date-comparison-filter-options.es-CYGgumPR.js +54 -0
  555. package/components/date-comparison-filter-options.fr-CBR4gt5a.js +54 -0
  556. package/components/date-comparison-filter-options.nl-BleWGdSU.js +54 -0
  557. package/components/date-comparison-filter-positioning.config-DYLCdy0p.js +37 -0
  558. package/components/date-comparison-filter-slots.config-ADyQbpVL.js +36 -0
  559. package/components/date-comparison-filter-slots.config-BdvwoigA.cjs +20 -0
  560. package/components/date-filter-options.config-BrfWBIvy.js +117 -0
  561. package/components/date-filter-options.config-D_SMC4NH.cjs +20 -0
  562. package/components/date-filter-options.de-C0_La4e1.js +50 -0
  563. package/components/date-filter-options.en-D61ub6Of.js +50 -0
  564. package/components/date-filter-options.es-DIkmpKCh.js +50 -0
  565. package/components/date-filter-options.fr-DV41ThRu.js +50 -0
  566. package/components/date-filter-options.nl-BitqNpNd.js +50 -0
  567. package/components/date-filter-positioning.config-Bm6cN9d0.js +37 -0
  568. package/components/date-filter-slots.config-dk86EThT.js +36 -0
  569. package/components/date-filter-slots.config-hsRo3Wiz.cjs +20 -0
  570. package/components/de-AOtjGNGZ.js +599 -0
  571. package/components/de-B7zGHvA7.js +137 -0
  572. package/components/de-KvAhLsm8.cjs +20 -0
  573. package/components/decompose-numeric-format-BoLX-V2j.js +35 -0
  574. package/components/decorate-B2TzfnLZ.js +27 -0
  575. package/components/default-C9MysWm4.js +77 -0
  576. package/components/default-acceptable-data-field-types-BNgYdork.js +52 -0
  577. package/components/default-acceptable-data-field-types-BUNRNPPB.cjs +20 -0
  578. package/components/default-dark-1RNfdcoq.js +77 -0
  579. package/components/defineProperty-DIhE-wKn.js +54 -0
  580. package/components/defineProperty-X1c4tIPD.cjs +20 -0
  581. package/components/display-settings/display-settings.d.ts +2 -2
  582. package/components/display-settings/index.cjs +1 -1
  583. package/components/display-settings/index.js +1 -2
  584. package/components/display-settings-DaZ3CiKB.cjs +143 -0
  585. package/components/display-settings-Qwp9oJo6.js +312 -0
  586. package/components/display-settings-binning/index.cjs +1 -1
  587. package/components/display-settings-binning/index.js +1 -2
  588. package/components/display-settings-binning-D5zhoC7D.cjs +56 -0
  589. package/components/display-settings-binning-IPVCvx8a.js +109 -0
  590. package/components/display-settings-datetime/index.cjs +1 -1
  591. package/components/display-settings-datetime/index.js +1 -2
  592. package/components/display-settings-datetime-DgBBSYfC.js +412 -0
  593. package/components/display-settings-datetime-t70VEfHe.cjs +217 -0
  594. package/components/display-settings-grand-totals/index.cjs +1 -1
  595. package/components/display-settings-grand-totals/index.js +1 -2
  596. package/components/display-settings-grand-totals-AFtKeeeG.js +88 -0
  597. package/components/display-settings-grand-totals-C_Fzk7oV.cjs +44 -0
  598. package/components/display-settings-numeric/index.cjs +1 -1
  599. package/components/display-settings-numeric/index.js +1 -2
  600. package/components/display-settings-numeric-BF8BA5MH.cjs +190 -0
  601. package/components/display-settings-numeric-DeuXT1UR.js +478 -0
  602. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
  603. package/components/display-settings-period-over-period/index.cjs +1 -1
  604. package/components/display-settings-period-over-period/index.js +1 -2
  605. package/components/display-settings-period-over-period-B8Ne3lq-.cjs +227 -0
  606. package/components/display-settings-period-over-period-CzxnyVF7.js +441 -0
  607. package/components/donut-chart-options.config-B2vxfMyh.js +225 -0
  608. package/components/donut-chart-options.config-DX-spmaZ.cjs +20 -0
  609. package/components/donut-chart-options.de-AXRfsiXW.cjs +20 -0
  610. package/components/donut-chart-options.de-DgNmBJiQ.js +85 -0
  611. package/components/donut-chart-options.en-BXwxTVpB.js +85 -0
  612. package/components/donut-chart-options.en-aZqu2oEV.cjs +20 -0
  613. package/components/donut-chart-options.es-7WgxuaDe.cjs +20 -0
  614. package/components/donut-chart-options.es-DW_q5HeE.js +85 -0
  615. package/components/donut-chart-options.fr-C0Z8xEyF.cjs +20 -0
  616. package/components/donut-chart-options.fr-QU3pGELZ.js +85 -0
  617. package/components/donut-chart-options.nl-D_cgYVAQ.js +85 -0
  618. package/components/donut-chart-options.nl-aKVLbRJY.cjs +20 -0
  619. package/components/donut-chart-positioning.config-Bu1jZwtJ.cjs +20 -0
  620. package/components/donut-chart-positioning.config-C0jkFWni.js +47 -0
  621. package/components/donut-chart-slots.config-MP-ACaLN.js +38 -0
  622. package/components/donut-chart-slots.config-yCDWS8AP.cjs +20 -0
  623. package/components/dropdown-filter-options.config-B2S5I7IG.js +152 -0
  624. package/components/dropdown-filter-options.config-FjrC4F1D.cjs +20 -0
  625. package/components/dropdown-filter-options.de-AEVNdD6Z.js +53 -0
  626. package/components/dropdown-filter-options.en-louYVeNr.js +53 -0
  627. package/components/dropdown-filter-options.es-Cp89jwkQ.js +53 -0
  628. package/components/dropdown-filter-options.fr-g_Sk9N4G.js +53 -0
  629. package/components/dropdown-filter-options.nl-DZALlawB.js +53 -0
  630. package/components/dropdown-filter-positioning.config-B7OQwWln.js +37 -0
  631. package/components/dropdown-filter-slots.config-awL8-LA_.js +37 -0
  632. package/components/dropdown-filter-slots.config-kDbB7STx.cjs +20 -0
  633. package/components/en-C9bDcBWX.cjs +20 -0
  634. package/components/en-CTE7umbs.js +20 -0
  635. package/components/en-GB-DFky6j2B.js +27 -0
  636. package/components/en-GB-DVtn5f2X.cjs +20 -0
  637. package/components/en-US-C9bDcBWX.cjs +20 -0
  638. package/components/en-US-CTE7umbs.js +20 -0
  639. package/components/es-2wpxXQjZ.js +330 -0
  640. package/components/es-CYhv03uu.js +599 -0
  641. package/components/es-DVISHTAz.cjs +20 -0
  642. package/components/evolution-number-options.config-B5qxlpwU.cjs +20 -0
  643. package/components/evolution-number-options.config-BBWPkY_K.js +229 -0
  644. package/components/evolution-number-options.de-Cnx_5hf-.js +75 -0
  645. package/components/evolution-number-options.de-va_ypOy6.cjs +20 -0
  646. package/components/evolution-number-options.en-Beo5xLX4.js +75 -0
  647. package/components/evolution-number-options.en-CtAX9A-5.cjs +20 -0
  648. package/components/evolution-number-options.es-BSOmGeQs.js +75 -0
  649. package/components/evolution-number-options.es-CCkbdLdF.cjs +20 -0
  650. package/components/evolution-number-options.fr-BQhExQ6b.js +75 -0
  651. package/components/evolution-number-options.fr-QIK5EXQs.cjs +20 -0
  652. package/components/evolution-number-options.nl-CwUSSlVi.cjs +20 -0
  653. package/components/evolution-number-options.nl-D10AEaNk.js +75 -0
  654. package/components/evolution-number-positioning.config-DD8HBFtv.js +47 -0
  655. package/components/evolution-number-positioning.config-DbH1-ODd.cjs +20 -0
  656. package/components/evolution-number-slots.config-B95BRQY1.js +36 -0
  657. package/components/evolution-number-slots.config-Cte42hyT.cjs +20 -0
  658. package/components/fi-BXIEpAkN.js +125 -0
  659. package/components/filter-expression-picker/index.cjs +1 -1
  660. package/components/filter-expression-picker/index.js +1 -2
  661. package/components/filter-expression-picker-Cc3xfiGT.js +432 -0
  662. package/components/filter-expression-picker-DDSI9bYq.cjs +40 -0
  663. package/components/filter-item/filter-item.d.ts +1 -1
  664. package/components/filter-item/index.cjs +1 -1
  665. package/components/filter-item/index.js +1 -2
  666. package/components/filter-item-DQNbp7Qn.cjs +111 -0
  667. package/components/filter-item-QJ3sDlmG.js +792 -0
  668. package/components/filter-parameter-picker/index.cjs +1 -1
  669. package/components/filter-parameter-picker/index.js +1 -2
  670. package/components/filter-parameter-picker-C8qwIo_H.js +365 -0
  671. package/components/filter-parameter-picker-DjQVFIfg.cjs +124 -0
  672. package/components/filter-value-picker/index.cjs +1 -1
  673. package/components/filter-value-picker/index.js +1 -2
  674. package/components/filter-value-picker-CMNxLzj7.cjs +69 -0
  675. package/components/filter-value-picker-DIYyMymr.js +168 -0
  676. package/components/filter-value-picker-datetime/index.cjs +1 -1
  677. package/components/filter-value-picker-datetime/index.js +1 -2
  678. package/components/filter-value-picker-datetime-BVDQ-og5.cjs +51 -0
  679. package/components/filter-value-picker-datetime-DKblyQrs.js +158 -0
  680. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  681. package/components/filter-value-picker-hierarchy/index.js +1 -2
  682. package/components/filter-value-picker-hierarchy-CXPC_4MU.cjs +54 -0
  683. package/components/filter-value-picker-hierarchy-IswtY6Qa.js +311 -0
  684. package/components/filter-value-picker-numeric/index.cjs +1 -1
  685. package/components/filter-value-picker-numeric/index.js +1 -2
  686. package/components/filter-value-picker-numeric-C7_-Fpol.cjs +54 -0
  687. package/components/filter-value-picker-numeric-DlFnGZ2O.js +236 -0
  688. package/components/filters/filters.d.ts +11 -0
  689. package/components/filters/index.cjs +1 -1
  690. package/components/filters/index.js +1 -2
  691. package/components/filters-BPbPFOu5.cjs +187 -0
  692. package/components/filters-CxIzuI5q.js +927 -0
  693. package/components/formatter-D_hJ1XXN.cjs +20 -0
  694. package/components/formatter-u-RIfSi3.js +1441 -0
  695. package/components/formula/formula.d.ts +2 -2
  696. package/components/formula/index.cjs +1 -1
  697. package/components/formula/index.js +1 -2
  698. package/components/formula-CXrr9wJZ.cjs +45 -0
  699. package/components/formula-WqOlEQ5o.js +130 -0
  700. package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
  701. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
  702. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
  703. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
  704. package/components/formula-codemirror-BTYlGSxE.cjs +215 -0
  705. package/components/formula-codemirror-bpEb3M2G.js +12029 -0
  706. package/components/formula-display-store-D7fzKNfW.cjs +20 -0
  707. package/components/formula-display-store-QU-B6xp9.js +1070 -0
  708. package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
  709. package/components/formula-editor/formula-datasets-list.d.ts +2 -2
  710. package/components/formula-editor/formula-description.d.ts +1 -1
  711. package/components/formula-editor/formula-editor.d.ts +1 -1
  712. package/components/formula-editor/formula-functions-list.d.ts +2 -2
  713. package/components/formula-editor/index.cjs +1 -1
  714. package/components/formula-editor/index.d.ts +3 -3
  715. package/components/formula-editor/index.js +3 -3
  716. package/components/formula-editor-BbyDf0vM.js +670 -0
  717. package/components/formula-editor-D_NRhjUI.cjs +224 -0
  718. package/components/formula-field/formula-field.d.ts +1 -1
  719. package/components/formula-field/index.cjs +1 -1
  720. package/components/formula-field/index.js +1 -2
  721. package/components/formula-field-BT9K_W6Q.js +36 -0
  722. package/components/formula-field-DSSpI8LB.cjs +20 -0
  723. package/components/formula-input-base-BoWiH97v.cjs +49 -0
  724. package/components/formula-input-base-CQc1OU9G.js +235 -0
  725. package/components/fr-BCxcMVQV.cjs +20 -0
  726. package/components/fr-BmrdQkkf.js +330 -0
  727. package/components/fr-DKAoGI_6.js +599 -0
  728. package/components/funnel-chart-options.config-CKp94nx7.cjs +20 -0
  729. package/components/funnel-chart-options.config-W83a8ukL.js +219 -0
  730. package/components/funnel-chart-options.de-B2f_xxvV.cjs +20 -0
  731. package/components/funnel-chart-options.de-CLMiAr0m.js +76 -0
  732. package/components/funnel-chart-options.en-Cdvkged9.cjs +20 -0
  733. package/components/funnel-chart-options.en-Pu8yU7Yz.js +76 -0
  734. package/components/funnel-chart-options.es-BPjGIJ7s.js +76 -0
  735. package/components/funnel-chart-options.es-CrAp7hOK.cjs +20 -0
  736. package/components/funnel-chart-options.fr-0RxiqeZg.cjs +20 -0
  737. package/components/funnel-chart-options.fr-CtWjGa4q.js +76 -0
  738. package/components/funnel-chart-options.nl-2TPEy_CB.js +76 -0
  739. package/components/funnel-chart-options.nl-r_wRg5qR.cjs +20 -0
  740. package/components/funnel-chart-positioning.config-Dbex7egf.js +47 -0
  741. package/components/funnel-chart-positioning.config-Dx9E5eiW.cjs +20 -0
  742. package/components/funnel-chart-slots.config-BtQ1-r95.js +42 -0
  743. package/components/funnel-chart-slots.config-C6BS2z-H.cjs +20 -0
  744. package/components/get-css-variable-ClRBOKeI.cjs +20 -0
  745. package/components/get-css-variable-Cnzvg4uu.js +61 -0
  746. package/components/get-dataset-name-BArAzBu2.js +30 -0
  747. package/components/get-dataset-name-C3Sc0hZ0.cjs +20 -0
  748. package/components/grid-core-17um9vkU.cjs +68 -0
  749. package/components/grid-core-BAZu7mfE.js +4464 -0
  750. package/components/grid-core.cjs +20 -0
  751. package/components/grid-core.js +20 -0
  752. package/components/groupings-DMWmtE5F.cjs +20 -0
  753. package/components/groupings-DXJS4XIU.js +51 -0
  754. package/components/guidelines-options.config-DVZrOa3v.js +47 -0
  755. package/components/he-ndbttrR_.js +125 -0
  756. package/components/heat-map-options.config-BQkhkLPb.js +225 -0
  757. package/components/heat-map-options.config-DjQkB039.cjs +20 -0
  758. package/components/heat-map-options.de-2WGKE1uj.js +74 -0
  759. package/components/heat-map-options.en-BzycxyHN.js +74 -0
  760. package/components/heat-map-options.es-B2m_je_2.js +74 -0
  761. package/components/heat-map-options.fr-DLkEEMp-.js +74 -0
  762. package/components/heat-map-options.nl-CYxHV_cw.js +74 -0
  763. package/components/heat-map-positioning.config-Bzg0DG60.cjs +20 -0
  764. package/components/heat-map-positioning.config-D4T7PQzN.js +47 -0
  765. package/components/heat-map-slots.config-BFZuGyAK.cjs +20 -0
  766. package/components/heat-map-slots.config-Cd6J4Q33.js +36 -0
  767. package/components/heat-table-options.config-CMWWTeyo.js +276 -0
  768. package/components/heat-table-options.config-D21xtaIk.cjs +20 -0
  769. package/components/heat-table-options.de-BjW2r5Di.js +113 -0
  770. package/components/heat-table-options.de-Br9DbeCp.cjs +20 -0
  771. package/components/heat-table-options.en-CNQyVmPW.js +113 -0
  772. package/components/heat-table-options.en-Cdn-xUSD.cjs +20 -0
  773. package/components/heat-table-options.es-DM03r8u7.js +113 -0
  774. package/components/heat-table-options.es-Dkv8Q0Gi.cjs +20 -0
  775. package/components/heat-table-options.fr-PKUURBoA.js +113 -0
  776. package/components/heat-table-options.fr-uLTRU2oE.cjs +20 -0
  777. package/components/heat-table-options.nl-BCVLfuQK.js +113 -0
  778. package/components/heat-table-options.nl-DaYIbnqr.cjs +20 -0
  779. package/components/heat-table-positioning.config-Cj6LlLe3.cjs +20 -0
  780. package/components/heat-table-positioning.config-DVQiJfC4.js +54 -0
  781. package/components/heat-table-slots.config-52DDtG_7.js +48 -0
  782. package/components/heat-table-slots.config-C_JKGLP3.cjs +20 -0
  783. package/components/helpers-CYA1cJcv.js +67 -0
  784. package/components/hexbin-map-options.config-DUbhSv0B.js +277 -0
  785. package/components/hexbin-map-options.config-DZLLOr7D.cjs +20 -0
  786. package/components/hexbin-map-options.de-BecXyFba.js +107 -0
  787. package/components/hexbin-map-options.en-C2u4_34W.js +107 -0
  788. package/components/hexbin-map-options.es-Cef5NzFK.js +107 -0
  789. package/components/hexbin-map-options.fr-C37I85X2.js +107 -0
  790. package/components/hexbin-map-options.nl-CGYc3Tzm.js +107 -0
  791. package/components/hexbin-map-positioning.config-ChoCCure.cjs +20 -0
  792. package/components/hexbin-map-positioning.config-csNrvMwp.js +47 -0
  793. package/components/hexbin-map-slots.config-DiYcKnDG.cjs +20 -0
  794. package/components/hexbin-map-slots.config-DmITrQD3.js +36 -0
  795. package/components/hu-DBxO0Baz.js +125 -0
  796. package/components/icon-element-py6Nkaaz.js +83 -0
  797. package/components/image-options.config-D_QOqkE_.js +152 -0
  798. package/components/image-options.config-Dc8N_USB.cjs +20 -0
  799. package/components/image-options.de-03hJ2g0T.js +85 -0
  800. package/components/image-options.en-CjqpTh_m.js +85 -0
  801. package/components/image-options.es-BjZ9dYXp.js +85 -0
  802. package/components/image-options.fr-BZZ2scJt.js +85 -0
  803. package/components/image-options.nl-DGlo-Y7n.js +85 -0
  804. package/components/image-slots.config-CfaLrVzD.cjs +20 -0
  805. package/components/image-slots.config-FlUYF49C.js +23 -0
  806. package/components/index.cjs +1 -1
  807. package/components/index.js +71 -72
  808. package/components/info-tooltip-options.config-CyFz6pUU.js +58 -0
  809. package/components/info-tooltip-options.i18n-Cmmn-9tw.js +73 -0
  810. package/components/interactive-viz-item/index.cjs +1 -1
  811. package/components/interactive-viz-item/index.d.ts +2 -1
  812. package/components/interactive-viz-item/index.js +2 -2
  813. package/components/interactive-viz-item/interactive-viz-item.d.ts +31 -1
  814. package/components/interactive-viz-item/types.d.ts +13 -0
  815. package/components/interactive-viz-item-CwRRaCZB.js +583 -0
  816. package/components/interactive-viz-item-CxdrGRKc.cjs +265 -0
  817. package/components/interactivity-options.config-MuEP5vSt.js +72 -0
  818. package/components/interactivity-options.i18n-DY947PNz.js +58 -0
  819. package/components/is-same-option-value-B2oyvEqT.js +42 -0
  820. package/components/is-same-option-value-Cf6BQcs7.cjs +20 -0
  821. package/components/it-SNChaNqP.js +330 -0
  822. package/components/item-context-configs.js +1 -2
  823. package/components/item-grid/actions.d.ts +2 -1
  824. package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
  825. package/components/item-grid/helpers/grid-events.d.ts +1 -56
  826. package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
  827. package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
  828. package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
  829. package/components/item-grid/helpers/grid-items.d.ts +1 -9
  830. package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
  831. package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
  832. package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
  833. package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
  834. package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
  835. package/components/item-grid/helpers/grid-theme.d.ts +2 -14
  836. package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
  837. package/components/item-grid/index.cjs +1 -1
  838. package/components/item-grid/index.d.ts +3 -3
  839. package/components/item-grid/index.js +3 -2
  840. package/components/item-grid/item-grid.d.ts +12 -207
  841. package/components/item-grid/types.d.ts +1 -57
  842. package/components/item-grid-DscQOFMu.js +243 -0
  843. package/components/item-grid-DveTRc7D.cjs +41 -0
  844. package/components/item-grid-item-actions-menu/index.cjs +20 -0
  845. package/components/item-grid-item-actions-menu/index.d.ts +8 -0
  846. package/components/item-grid-item-actions-menu/index.js +20 -0
  847. package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
  848. package/components/item-grid-item-actions-menu/types.d.ts +11 -0
  849. package/components/item-grid-item-actions-menu-B1bKfagj.js +197 -0
  850. package/components/item-grid-item-actions-menu-xRrT9dkY.cjs +52 -0
  851. package/components/item-list.js +1 -2
  852. package/components/item-option/helpers/control-markup.d.ts +7 -0
  853. package/components/item-option/index.cjs +1 -1
  854. package/components/item-option/index.d.ts +1 -1
  855. package/components/item-option/index.js +1 -2
  856. package/components/item-option/item-option.d.ts +23 -2
  857. package/components/item-option/types.d.ts +19 -0
  858. package/components/item-option-DKLRnicU.js +1003 -0
  859. package/components/item-option-DpLdospV.cjs +285 -0
  860. package/components/item-option-action-button-group/index.cjs +1 -1
  861. package/components/item-option-action-button-group/index.js +1 -2
  862. package/components/item-option-action-button-group-BMgUwveA.cjs +53 -0
  863. package/components/item-option-action-button-group-Cpd_CNn-.js +115 -0
  864. package/components/item-option-base-BMy6dWbc.cjs +56 -0
  865. package/components/item-option-base-BfHciede.js +119 -0
  866. package/components/item-option-color-palette-picker/index.cjs +1 -1
  867. package/components/item-option-color-palette-picker/index.js +1 -2
  868. package/components/item-option-color-palette-picker-8KFuRU1D.js +2037 -0
  869. package/components/item-option-color-palette-picker-CnM1Gi6o.cjs +40 -0
  870. package/components/item-option-color-picker/index.cjs +1 -1
  871. package/components/item-option-color-picker/index.d.ts +1 -1
  872. package/components/item-option-color-picker/index.js +1 -2
  873. package/components/item-option-color-picker/item-option-color-picker.d.ts +17 -1
  874. package/components/item-option-color-picker-CNW7GsCO.cjs +37 -0
  875. package/components/item-option-color-picker-DDvsY7hV.js +129 -0
  876. package/components/item-option-color-range/index.cjs +1 -1
  877. package/components/item-option-color-range/index.d.ts +1 -1
  878. package/components/item-option-color-range/index.js +1 -2
  879. package/components/item-option-color-range/item-option-color-range.d.ts +20 -1
  880. package/components/item-option-color-range-BqSbuSZh.cjs +101 -0
  881. package/components/item-option-color-range-FQduqtz3.js +265 -0
  882. package/components/item-option-guidelines/index.cjs +1 -1
  883. package/components/item-option-guidelines/index.d.ts +1 -1
  884. package/components/item-option-guidelines/index.js +2 -2
  885. package/components/item-option-guidelines/item-option-guidelines.d.ts +16 -1
  886. package/components/item-option-guidelines-k5DwMONo.js +442 -0
  887. package/components/item-option-guidelines-z9BsGR-l.cjs +138 -0
  888. package/components/item-option-multi-language-field/index.cjs +1 -1
  889. package/components/item-option-multi-language-field/index.js +1 -2
  890. package/components/item-option-multi-language-field-CqtBl3gM.js +80 -0
  891. package/components/item-option-multi-language-field-DM2PENxV.cjs +33 -0
  892. package/components/item-option-number-field/index.cjs +1 -1
  893. package/components/item-option-number-field/index.js +1 -2
  894. package/components/item-option-number-field-BgQRhFj3.js +99 -0
  895. package/components/item-option-number-field-Cw2ofJL7.cjs +38 -0
  896. package/components/item-option-panel/index.cjs +1 -1
  897. package/components/item-option-panel/index.d.ts +1 -1
  898. package/components/item-option-panel/index.js +1 -2
  899. package/components/item-option-panel/item-option-panel.d.ts +12 -1
  900. package/components/item-option-panel-BLXWIbjX.js +195 -0
  901. package/components/item-option-panel-CU51qvgV.cjs +69 -0
  902. package/components/item-option-picker/index.cjs +1 -1
  903. package/components/item-option-picker/index.js +1 -2
  904. package/components/item-option-picker-DkAENDES.js +74 -0
  905. package/components/item-option-picker-EJlc0bmj.cjs +37 -0
  906. package/components/item-option-position-picker/index.cjs +1 -1
  907. package/components/item-option-position-picker/index.js +1 -2
  908. package/components/item-option-position-picker-Ba7cBvlL.cjs +32 -0
  909. package/components/item-option-position-picker-DX7lLZKO.js +114 -0
  910. package/components/item-option-positions-number-field/index.cjs +1 -1
  911. package/components/item-option-positions-number-field/index.js +1 -2
  912. package/components/item-option-positions-number-field-BQ8gFOAn.cjs +49 -0
  913. package/components/item-option-positions-number-field-Bqfg0MJm.js +166 -0
  914. package/components/item-option-radio-button-group/index.cjs +1 -1
  915. package/components/item-option-radio-button-group/index.js +1 -2
  916. package/components/item-option-radio-button-group-2hX-E2WV.cjs +37 -0
  917. package/components/item-option-radio-button-group-Bk7VQlpx.js +72 -0
  918. package/components/item-option-slider/index.cjs +1 -1
  919. package/components/item-option-slider/index.d.ts +1 -1
  920. package/components/item-option-slider/index.js +1 -2
  921. package/components/item-option-slider/item-option-slider.d.ts +15 -2
  922. package/components/item-option-slider-BKtJfL3D.js +119 -0
  923. package/components/item-option-slider-Kz2eFBql.cjs +36 -0
  924. package/components/item-option-switch/index.cjs +1 -1
  925. package/components/item-option-switch/index.js +1 -2
  926. package/components/item-option-switch-BUteU1mc.cjs +30 -0
  927. package/components/item-option-switch-cGWccE79.js +66 -0
  928. package/components/item-option-text-field/index.cjs +1 -1
  929. package/components/item-option-text-field/index.js +1 -2
  930. package/components/item-option-text-field-BC9fR-yW.cjs +33 -0
  931. package/components/item-option-text-field-Dy8pqVKJ.js +77 -0
  932. package/components/item-options-configs.cjs +1 -1
  933. package/components/item-options-configs.js +45 -45
  934. package/components/item-slot-drop/index.cjs +1 -1
  935. package/components/item-slot-drop/index.js +1 -2
  936. package/components/item-slot-drop-CwZT8bTP.js +327 -0
  937. package/components/item-slot-drop-DLzi4Dik.cjs +91 -0
  938. package/components/item-slot-drop-panel/index.cjs +1 -1
  939. package/components/item-slot-drop-panel/index.js +1 -2
  940. package/components/item-slot-drop-panel-Oh8zdKJH.cjs +57 -0
  941. package/components/item-slot-drop-panel-o5UdVrY_.js +347 -0
  942. package/components/item-slot-picker/index.cjs +1 -1
  943. package/components/item-slot-picker/index.js +1 -2
  944. package/components/item-slot-picker/item-slot-picker.d.ts +30 -2
  945. package/components/item-slot-picker-O9HKr3mv.cjs +158 -0
  946. package/components/item-slot-picker-ilmmb0-8.js +550 -0
  947. package/components/item-slot-picker-panel/index.cjs +1 -1
  948. package/components/item-slot-picker-panel/index.js +1 -2
  949. package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +7 -1
  950. package/components/item-slot-picker-panel-BhhN54IM.cjs +82 -0
  951. package/components/item-slot-picker-panel-fJqEmxeD.js +442 -0
  952. package/components/item-slots-configs.cjs +1 -1
  953. package/components/item-slots-configs.js +45 -45
  954. package/components/ja-B4YHU4-z.js +125 -0
  955. package/components/ko-DzfeXi4F.js +125 -0
  956. package/components/kpi-options.config-D9WuRe5z.js +331 -0
  957. package/components/kpi-options.config-DJW44vTd.cjs +20 -0
  958. package/components/kpi-options.de-B5lQkGks.js +108 -0
  959. package/components/kpi-options.de-BNSyszd2.cjs +20 -0
  960. package/components/kpi-options.en-BKN2-5Jq.js +108 -0
  961. package/components/kpi-options.en-DZkxgBCc.cjs +20 -0
  962. package/components/kpi-options.es-DQFRSRwE.cjs +20 -0
  963. package/components/kpi-options.es-DngzlxEn.js +108 -0
  964. package/components/kpi-options.fr-Cpm8BfZ9.cjs +20 -0
  965. package/components/kpi-options.fr-DNRUn0Pk.js +108 -0
  966. package/components/kpi-options.nl-Bw3N2x-C.js +108 -0
  967. package/components/kpi-options.nl-W4ujxuOd.cjs +20 -0
  968. package/components/kpi-positioning.config-DIYWUwID.cjs +20 -0
  969. package/components/kpi-positioning.config-mQuxf1ke.js +47 -0
  970. package/components/kpi-slots.config-AMUlgt-H.js +35 -0
  971. package/components/kpi-slots.config-BvTgcJ9e.cjs +20 -0
  972. package/components/line-chart-options.config-DOGbeJhy.cjs +20 -0
  973. package/components/line-chart-options.config-Opoz2jPk.js +254 -0
  974. package/components/line-chart-options.de-CB8mHJhD.cjs +20 -0
  975. package/components/line-chart-options.de-yLHBsR0G.js +88 -0
  976. package/components/line-chart-options.en-BrKt9W7U.cjs +20 -0
  977. package/components/line-chart-options.en-By_Pq6Kc.js +88 -0
  978. package/components/line-chart-options.es-BgnNvocl.cjs +20 -0
  979. package/components/line-chart-options.es-C28q-RTL.js +88 -0
  980. package/components/line-chart-options.fr-Jl6XdyHr.cjs +20 -0
  981. package/components/line-chart-options.fr-oMPIRzOe.js +88 -0
  982. package/components/line-chart-options.nl-C_1T9G-w.js +88 -0
  983. package/components/line-chart-options.nl-esSfBoBW.cjs +20 -0
  984. package/components/line-chart-positioning.config-DK9PycZ_.cjs +20 -0
  985. package/components/line-chart-positioning.config-DqjrWmxJ.js +54 -0
  986. package/components/line-chart-slots.config-CLSl3ODI.js +54 -0
  987. package/components/line-chart-slots.config-vyb4U5Ba.cjs +20 -0
  988. package/components/load-data-fields-for-datasets-DYgA0164.cjs +20 -0
  989. package/components/load-data-fields-for-datasets-avT5OQVv.js +42 -0
  990. package/components/localize-BNystXyK.js +28 -0
  991. package/components/localized-mixin-EoNvtTBG.cjs +20 -0
  992. package/components/localized-mixin-FPDNaZhb.js +44 -0
  993. package/components/map-tile-providers-cK8Xlerl.js +114 -0
  994. package/components/marker-map-options.config-DMPwJHEO.js +121 -0
  995. package/components/marker-map-options.config-DxcxzLu_.cjs +20 -0
  996. package/components/marker-map-options.de-CUZg_M2c.js +62 -0
  997. package/components/marker-map-options.en-BfCjBsXX.js +62 -0
  998. package/components/marker-map-options.es-BO7Joctq.js +62 -0
  999. package/components/marker-map-options.fr-CsbyRnt7.js +62 -0
  1000. package/components/marker-map-options.nl-Cnsb5g0n.js +62 -0
  1001. package/components/marker-map-positioning.config-BB51kE8O.cjs +20 -0
  1002. package/components/marker-map-positioning.config-CA08hZcp.js +47 -0
  1003. package/components/marker-map-slots.config-BPAExcmN.cjs +20 -0
  1004. package/components/marker-map-slots.config-mCnPFESe.js +36 -0
  1005. package/components/mk-BoGKhggN.js +125 -0
  1006. package/components/nl-ByDvxFKr.js +137 -0
  1007. package/components/nl-DNWGcGqO.js +599 -0
  1008. package/components/nl-XotE1MQq.cjs +20 -0
  1009. package/components/no-C9RQnknk.js +137 -0
  1010. package/components/ohlc-chart-options.config-C-TCUtOt.js +93 -0
  1011. package/components/ohlc-chart-options.config-CvlHm6hy.cjs +20 -0
  1012. package/components/ohlc-chart-options.de-Bd9HtCU3.js +62 -0
  1013. package/components/ohlc-chart-options.en-D32KZA3W.js +62 -0
  1014. package/components/ohlc-chart-options.es-B42fuflG.js +62 -0
  1015. package/components/ohlc-chart-options.fr-B0tdOmTO.js +62 -0
  1016. package/components/ohlc-chart-options.nl-DEy_8xhr.js +62 -0
  1017. package/components/ohlc-chart-positioning.config-BqFHD1oj.js +77 -0
  1018. package/components/ohlc-chart-positioning.config-CDL2vGsl.cjs +20 -0
  1019. package/components/ohlc-chart-slots.config-AC68CvCP.js +67 -0
  1020. package/components/ohlc-chart-slots.config-SfLpuCud.cjs +20 -0
  1021. package/components/option-interaction-controller-B8S1N_Oo.js +90 -0
  1022. package/components/option-interaction-controller-D0U-CTpZ.cjs +20 -0
  1023. package/components/orion-CL_Y_8id.js +67 -0
  1024. package/components/parallel-coordinates-plot-options.config-C3HTFBTl.js +47 -0
  1025. package/components/parallel-coordinates-plot-options.config-UHrCS9q5.cjs +20 -0
  1026. package/components/parallel-coordinates-plot-options.de-_f7GTJXa.js +30 -0
  1027. package/components/parallel-coordinates-plot-options.en-B7oIQWii.js +30 -0
  1028. package/components/parallel-coordinates-plot-options.es-Dyh1h81o.js +30 -0
  1029. package/components/parallel-coordinates-plot-options.fr-Ct3SBZ1v.js +30 -0
  1030. package/components/parallel-coordinates-plot-options.nl-DcFKAVMO.js +30 -0
  1031. package/components/parallel-coordinates-plot-positioning.config-Cc-ooVxV.cjs +20 -0
  1032. package/components/parallel-coordinates-plot-positioning.config-D6IuAk_K.js +47 -0
  1033. package/components/parallel-coordinates-plot-slots.config-BQWa5Xe2.js +45 -0
  1034. package/components/parallel-coordinates-plot-slots.config-mEYlLRQy.cjs +20 -0
  1035. package/components/period-over-period-condition.const-AE_2h-9O.js +28 -0
  1036. package/components/periods.const-DZBBRkvS.js +154 -0
  1037. package/components/pinky-hbHsDCfd.js +67 -0
  1038. package/components/pivot-table-options.config-5pYvqc35.cjs +20 -0
  1039. package/components/pivot-table-options.config-BlrguysB.js +248 -0
  1040. package/components/pivot-table-options.de-C16jiVYY.js +66 -0
  1041. package/components/pivot-table-options.en-Dbp63wyH.js +66 -0
  1042. package/components/pivot-table-options.es-D78TGQMg.js +66 -0
  1043. package/components/pivot-table-options.fr-CHnKYQkR.js +66 -0
  1044. package/components/pivot-table-options.nl-ByxevE1T.js +66 -0
  1045. package/components/pivot-table-positioning.config-DDwXH70O.js +54 -0
  1046. package/components/pivot-table-positioning.config-DvwKNjoD.cjs +20 -0
  1047. package/components/pivot-table-slots.config-C18Mnk6Y.js +54 -0
  1048. package/components/pivot-table-slots.config-FSIW-Owh.cjs +20 -0
  1049. package/components/pl-Br_k8GI8.js +125 -0
  1050. package/components/pragmatic-element-adapter-B0tn35C8.cjs +24 -0
  1051. package/components/pragmatic-element-adapter-CyTyN1YC.js +1210 -0
  1052. package/components/pt-DA-XGRCP.js +125 -0
  1053. package/components/pyramid-chart-options.config-0Qf1naIx.js +221 -0
  1054. package/components/pyramid-chart-options.config-CAC6cMmt.cjs +20 -0
  1055. package/components/pyramid-chart-options.de-2tKl9Efb.js +102 -0
  1056. package/components/pyramid-chart-options.de-DuOpsLs5.cjs +20 -0
  1057. package/components/pyramid-chart-options.en-C3DkPcBH.cjs +20 -0
  1058. package/components/pyramid-chart-options.en-C5QKcY71.js +102 -0
  1059. package/components/pyramid-chart-options.es-B4vyswPg.js +102 -0
  1060. package/components/pyramid-chart-options.es-DWJdStho.cjs +20 -0
  1061. package/components/pyramid-chart-options.fr-BoyFMPfp.js +102 -0
  1062. package/components/pyramid-chart-options.fr-Wb5tFvLC.cjs +20 -0
  1063. package/components/pyramid-chart-options.nl-3ErSugyh.js +102 -0
  1064. package/components/pyramid-chart-options.nl-Csec8VMp.cjs +20 -0
  1065. package/components/pyramid-chart-positioning.config-10BYkgv8.cjs +20 -0
  1066. package/components/pyramid-chart-positioning.config-DWou2jnm.js +54 -0
  1067. package/components/pyramid-chart-slots.config-C1JeQSzK.cjs +20 -0
  1068. package/components/pyramid-chart-slots.config-CGJcv00A.js +49 -0
  1069. package/components/radar-chart-options.config-C1gfNkE6.cjs +20 -0
  1070. package/components/radar-chart-options.config-Dd6SMpMz.js +172 -0
  1071. package/components/radar-chart-options.de-BcugS2tU.js +53 -0
  1072. package/components/radar-chart-options.de-Er7fpAGV.cjs +20 -0
  1073. package/components/radar-chart-options.en-B7ewze8f.js +53 -0
  1074. package/components/radar-chart-options.en-BEJDfdE6.cjs +20 -0
  1075. package/components/radar-chart-options.es-CHPp1rma.js +53 -0
  1076. package/components/radar-chart-options.es-L88u7bqn.cjs +20 -0
  1077. package/components/radar-chart-options.fr-BBJTEXWb.js +53 -0
  1078. package/components/radar-chart-options.fr-CslMsBcG.cjs +20 -0
  1079. package/components/radar-chart-options.nl-CBFeVHx5.js +53 -0
  1080. package/components/radar-chart-options.nl-CIvGrz_A.cjs +20 -0
  1081. package/components/radar-chart-positioning.config-B0O8vn-B.js +54 -0
  1082. package/components/radar-chart-positioning.config-Dg41uYWY.cjs +20 -0
  1083. package/components/radar-chart-slots.config-C3ZoIXnK.cjs +20 -0
  1084. package/components/radar-chart-slots.config-rLD9dRCQ.js +52 -0
  1085. package/components/radiant-D08Q3MEi.js +70 -0
  1086. package/components/regular-table-options.config-BCth1USK.cjs +20 -0
  1087. package/components/regular-table-options.config-TXfzXF_Y.js +152 -0
  1088. package/components/regular-table-options.de-BUJ9aAeo.js +56 -0
  1089. package/components/regular-table-options.en-DlLy4DDY.js +56 -0
  1090. package/components/regular-table-options.es-BZ_emUc6.js +56 -0
  1091. package/components/regular-table-options.fr-DT_jwFhs.js +56 -0
  1092. package/components/regular-table-options.nl-BmGfp2Sx.js +56 -0
  1093. package/components/regular-table-positioning.config-BxyFeemR.js +37 -0
  1094. package/components/regular-table-slots.config-CRU_nLHI.cjs +20 -0
  1095. package/components/regular-table-slots.config-sVD_kGbe.js +34 -0
  1096. package/components/resolve-column-presentation-FSQv-qiE.js +33 -0
  1097. package/components/rolldown-runtime-DbbDpzbe.cjs +20 -0
  1098. package/components/route-map-options.config-DER6ENky.cjs +20 -0
  1099. package/components/route-map-options.config-DTcS47fW.js +327 -0
  1100. package/components/route-map-options.de-CxZnN008.js +75 -0
  1101. package/components/route-map-options.en-CaTwhZYj.js +75 -0
  1102. package/components/route-map-options.es-Da8nQnch.js +75 -0
  1103. package/components/route-map-options.fr-BBSfOGdE.js +75 -0
  1104. package/components/route-map-options.nl-B5gdyD3P.js +75 -0
  1105. package/components/route-map-positioning.config-C1iUodTh.js +65 -0
  1106. package/components/route-map-positioning.config-DlM6xJTP.cjs +20 -0
  1107. package/components/route-map-slots.config-BaZwLyjW.js +58 -0
  1108. package/components/route-map-slots.config-DbSYH_Gm.cjs +20 -0
  1109. package/components/royale-Dx1_PBDN.js +59 -0
  1110. package/components/ru-BskkPpk1.js +125 -0
  1111. package/components/sankey-diagram-options.config-B8aHKfFt.cjs +20 -0
  1112. package/components/sankey-diagram-options.config-Y6jRK3wk.js +129 -0
  1113. package/components/sankey-diagram-options.de-DnHlLknR.js +62 -0
  1114. package/components/sankey-diagram-options.en-D8mL9pQF.js +62 -0
  1115. package/components/sankey-diagram-options.es-uqM9X09a.js +62 -0
  1116. package/components/sankey-diagram-options.fr-Chiln2jM.js +62 -0
  1117. package/components/sankey-diagram-options.nl-DiohN2Qc.js +62 -0
  1118. package/components/sankey-diagram-positioning.config-5EXNleL5.js +65 -0
  1119. package/components/sankey-diagram-positioning.config-BSu02GJ1.cjs +20 -0
  1120. package/components/sankey-diagram-slots.config-CWKuPz6x.js +60 -0
  1121. package/components/sankey-diagram-slots.config-DF6_NJGq.cjs +20 -0
  1122. package/components/scatter-plot-options.config-DhOGahRc.cjs +20 -0
  1123. package/components/scatter-plot-options.config-DvGofFzR.js +164 -0
  1124. package/components/scatter-plot-options.de-CUPe1USU.cjs +20 -0
  1125. package/components/scatter-plot-options.de-D5QbEAIZ.js +114 -0
  1126. package/components/scatter-plot-options.en-FGRhx7Nu.js +114 -0
  1127. package/components/scatter-plot-options.en-aCHwE_2o.cjs +20 -0
  1128. package/components/scatter-plot-options.es-B2sIEexr.cjs +20 -0
  1129. package/components/scatter-plot-options.es-CQU2STZG.js +114 -0
  1130. package/components/scatter-plot-options.fr-B-7GyEXc.cjs +20 -0
  1131. package/components/scatter-plot-options.fr-CWhv8L_g.js +114 -0
  1132. package/components/scatter-plot-options.nl-Cz-6m7sg.cjs +20 -0
  1133. package/components/scatter-plot-options.nl-DRfh8i_W.js +114 -0
  1134. package/components/scatter-plot-positioning.config-CuyJUmiV.cjs +20 -0
  1135. package/components/scatter-plot-positioning.config-nDbkUUqa.js +76 -0
  1136. package/components/scatter-plot-slots.config-Dda9uF05.js +73 -0
  1137. package/components/scatter-plot-slots.config-DuKQWkKZ.cjs +20 -0
  1138. package/components/search-filter-options.config-DcPuNHyG.cjs +20 -0
  1139. package/components/search-filter-options.config-JvAotvWb.js +102 -0
  1140. package/components/search-filter-options.de-C5mfpqao.js +41 -0
  1141. package/components/search-filter-options.en-CcDritg-.js +41 -0
  1142. package/components/search-filter-options.es-Dd3Jgur8.js +41 -0
  1143. package/components/search-filter-options.fr-CZss0Gbq.js +41 -0
  1144. package/components/search-filter-options.nl-IjlN2XAx.js +41 -0
  1145. package/components/search-filter-positioning.config-CY5Yo1sZ.js +37 -0
  1146. package/components/search-filter-slots.config-BnDGoz_4.cjs +20 -0
  1147. package/components/search-filter-slots.config-DtUQAwGn.js +38 -0
  1148. package/components/seasonal-D0SDLKlK.js +75 -0
  1149. package/components/set-locale-BkMmLcm6.cjs +20 -0
  1150. package/components/set-locale-m257lVi3.js +42 -0
  1151. package/components/set-nested-value-DmCMg2V3.js +32 -0
  1152. package/components/slicer-filter-options.config-Bc38dVoU.js +234 -0
  1153. package/components/slicer-filter-options.config-DqI9WtAi.cjs +20 -0
  1154. package/components/slicer-filter-options.de-CaQJtPre.js +68 -0
  1155. package/components/slicer-filter-options.en-BERi9NJr.js +68 -0
  1156. package/components/slicer-filter-options.es-HyaV_xUy.js +68 -0
  1157. package/components/slicer-filter-options.fr-BvhYoAXq.js +68 -0
  1158. package/components/slicer-filter-options.nl-veviscxn.js +68 -0
  1159. package/components/slicer-filter-positioning.config-BT5aNPHe.js +47 -0
  1160. package/components/slicer-filter-positioning.config-D7ZLoaGu.cjs +20 -0
  1161. package/components/slicer-filter-slots.config-BwlXABsj.cjs +20 -0
  1162. package/components/slicer-filter-slots.config-D3AUD4PD.js +43 -0
  1163. package/components/slider-filter-options.config-BaoIKTFj.js +71 -0
  1164. package/components/slider-filter-options.config-CgMb9Xmz.cjs +20 -0
  1165. package/components/slider-filter-options.de-BedVleOo.js +34 -0
  1166. package/components/slider-filter-options.en-Cw7_6spM.js +34 -0
  1167. package/components/slider-filter-options.es-Crr8myAG.js +34 -0
  1168. package/components/slider-filter-options.fr-mUxX9zrU.js +34 -0
  1169. package/components/slider-filter-options.nl-CooD4Lau.js +34 -0
  1170. package/components/slider-filter-positioning.config-DAKt4bpW.js +37 -0
  1171. package/components/slider-filter-slots.config-B-_6iJX8.cjs +20 -0
  1172. package/components/slider-filter-slots.config-CQG0j5KX.js +42 -0
  1173. package/components/slot-content-DE6NXHcl.js +22 -0
  1174. package/components/slot-content-DYiwtIBX.cjs +20 -0
  1175. package/components/slot-labels.config-DH2Dm3Yd.js +62 -0
  1176. package/components/slot-menu/index.cjs +1 -1
  1177. package/components/slot-menu/index.js +1 -2
  1178. package/components/slot-menu/slot-menu.d.ts +5 -0
  1179. package/components/slot-menu/types.d.ts +1 -1
  1180. package/components/slot-menu-BB_nJWZx.js +427 -0
  1181. package/components/slot-menu-C8p0nkVS.cjs +71 -0
  1182. package/components/slot-menu-list/index.cjs +1 -1
  1183. package/components/slot-menu-list/index.js +1 -2
  1184. package/components/slot-menu-list-3QkrOWgG.js +341 -0
  1185. package/components/slot-menu-list-C2nLODML.cjs +44 -0
  1186. package/components/slot-role-classification-BtYLRqq0.cjs +20 -0
  1187. package/components/slot-role-classification-DGc-M0Of.js +132 -0
  1188. package/components/slots-config-B6AOo19R.cjs +20 -0
  1189. package/components/slots-config-CsKGGLNg.js +76 -0
  1190. package/components/spacer-options.config-Dd_j69HB.js +22 -0
  1191. package/components/speedometer-chart-options.config-C3o5xpCj.cjs +20 -0
  1192. package/components/speedometer-chart-options.config-CIZKRvbg.js +250 -0
  1193. package/components/speedometer-chart-options.de-CfMm0o9p.js +65 -0
  1194. package/components/speedometer-chart-options.en-Ct8GyQCI.js +65 -0
  1195. package/components/speedometer-chart-options.es-KA0EJ21O.js +65 -0
  1196. package/components/speedometer-chart-options.fr-B1FxaP-j.js +65 -0
  1197. package/components/speedometer-chart-options.nl-DHNdYT7E.js +65 -0
  1198. package/components/speedometer-chart-positioning.config-BtDD3TiP.cjs +20 -0
  1199. package/components/speedometer-chart-positioning.config-CO1MtdU3.js +47 -0
  1200. package/components/speedometer-chart-slots.config-BhhQ0q7n.cjs +20 -0
  1201. package/components/speedometer-chart-slots.config-DIShNh4T.js +38 -0
  1202. package/components/spike-map-options.config-CPYfKWoF.js +414 -0
  1203. package/components/spike-map-options.config-DeF1Whq5.cjs +20 -0
  1204. package/components/spike-map-options.de-BrXqrF-u.js +102 -0
  1205. package/components/spike-map-options.en-DSy6nt2M.js +102 -0
  1206. package/components/spike-map-options.es-DuN_Li7Z.js +102 -0
  1207. package/components/spike-map-options.fr-UPx664xO.js +102 -0
  1208. package/components/spike-map-options.nl-C-b0qHyw.js +102 -0
  1209. package/components/spike-map-positioning.config-BhKVutm1.cjs +20 -0
  1210. package/components/spike-map-positioning.config-CQkcCdHD.js +54 -0
  1211. package/components/spike-map-slots.config-B63KfULj.js +46 -0
  1212. package/components/spike-map-slots.config-DHgVNtSl.cjs +20 -0
  1213. package/components/strip-plot-options.config-CoiMZRzM.cjs +20 -0
  1214. package/components/strip-plot-options.config-D1h3YBHj.js +53 -0
  1215. package/components/strip-plot-options.de-BY8O0m1R.js +30 -0
  1216. package/components/strip-plot-options.en-D2XEAFMd.js +30 -0
  1217. package/components/strip-plot-options.es-DbQvKoCu.js +30 -0
  1218. package/components/strip-plot-options.fr-BK_mGl7Y.js +30 -0
  1219. package/components/strip-plot-options.nl-BaFVxWEI.js +30 -0
  1220. package/components/strip-plot-positioning.config-CEYgtT13.cjs +20 -0
  1221. package/components/strip-plot-positioning.config-DEyOR-yS.js +47 -0
  1222. package/components/strip-plot-slots.config-D9blbOAz.cjs +20 -0
  1223. package/components/strip-plot-slots.config-DjItZdiF.js +37 -0
  1224. package/components/sunburst-chart-options.config-CZdd6qx0.cjs +20 -0
  1225. package/components/sunburst-chart-options.config-DVETeZFc.js +189 -0
  1226. package/components/sunburst-chart-options.de-B0mIITIx.js +60 -0
  1227. package/components/sunburst-chart-options.de-DO65RQI_.cjs +20 -0
  1228. package/components/sunburst-chart-options.en-C3IkkUBW.cjs +20 -0
  1229. package/components/sunburst-chart-options.en-LoUPN34r.js +60 -0
  1230. package/components/sunburst-chart-options.es-BV_4fN10.cjs +20 -0
  1231. package/components/sunburst-chart-options.es-DBje7CMN.js +60 -0
  1232. package/components/sunburst-chart-options.fr-Cnbpsj6t.js +60 -0
  1233. package/components/sunburst-chart-options.fr-DO7-oeNe.cjs +20 -0
  1234. package/components/sunburst-chart-options.nl-CluctKYY.js +60 -0
  1235. package/components/sunburst-chart-options.nl-DsecjcfE.cjs +20 -0
  1236. package/components/sunburst-chart-positioning.config-DNtHXpHg.cjs +20 -0
  1237. package/components/sunburst-chart-positioning.config-DP-ifsmn.js +47 -0
  1238. package/components/sunburst-chart-slots.config-CeB0g1Jz.js +37 -0
  1239. package/components/sunburst-chart-slots.config-DwXruOTF.cjs +20 -0
  1240. package/components/superPropGet-CUPN9Fvv.js +48 -0
  1241. package/components/superPropGet-DmmlTXgo.cjs +20 -0
  1242. package/components/sv-C6Tu9rpj.js +125 -0
  1243. package/components/symbol-map-options.config-BwZ7_S4w.js +178 -0
  1244. package/components/symbol-map-options.config-C3RTDsGN.cjs +20 -0
  1245. package/components/symbol-map-options.de-CjMtnkPp.js +65 -0
  1246. package/components/symbol-map-options.en-D3yzVDgP.js +65 -0
  1247. package/components/symbol-map-options.es-B6XECjy2.js +65 -0
  1248. package/components/symbol-map-options.fr-tZF8dXgD.js +65 -0
  1249. package/components/symbol-map-options.nl-BYykoWAL.js +65 -0
  1250. package/components/symbol-map-positioning.config-CoLDPgYM.cjs +20 -0
  1251. package/components/symbol-map-positioning.config-Nj7pDOAu.js +54 -0
  1252. package/components/symbol-map-slots.config-Bcg4tTKu.js +52 -0
  1253. package/components/symbol-map-slots.config-Cp9Wp3vo.cjs +20 -0
  1254. package/components/text-options.config-BomEcU58.js +66 -0
  1255. package/components/text-options.config-D9EkimNf.cjs +20 -0
  1256. package/components/text-options.de-B4NOm0u-.js +29 -0
  1257. package/components/text-options.en-Cb3U3pRQ.js +29 -0
  1258. package/components/text-options.es-Bo7gnIX1.js +29 -0
  1259. package/components/text-options.fr-CShH2v0S.js +29 -0
  1260. package/components/text-options.nl-DWxZsCiw.js +29 -0
  1261. package/components/text-slots.config-11KBADL7.js +23 -0
  1262. package/components/text-slots.config-Rt7OwjzL.cjs +20 -0
  1263. package/components/themes-BO_1ebSB.js +71 -0
  1264. package/components/tokens-6HmQYnEP.js +27 -0
  1265. package/components/tr-DJnNMcm5.js +137 -0
  1266. package/components/treemap-chart-options.config-DLEY6YuI.cjs +20 -0
  1267. package/components/treemap-chart-options.config-DsqsX9So.js +210 -0
  1268. package/components/treemap-chart-options.de-CXIYs3oT.js +63 -0
  1269. package/components/treemap-chart-options.en-B7NFLNe9.js +63 -0
  1270. package/components/treemap-chart-options.es-CKX8PeWE.js +63 -0
  1271. package/components/treemap-chart-options.fr-CPacPcag.js +63 -0
  1272. package/components/treemap-chart-options.nl-OOTGXzol.js +63 -0
  1273. package/components/treemap-chart-positioning.config-BVOqj2V1.cjs +20 -0
  1274. package/components/treemap-chart-positioning.config-B_R_cmFs.js +54 -0
  1275. package/components/treemap-chart-slots.config-CmPHhmR2.cjs +20 -0
  1276. package/components/treemap-chart-slots.config-CpCIdFAM.js +46 -0
  1277. package/components/type-check-D6K_INvg.js +51 -0
  1278. package/components/types-DJuS9IwG.js +43 -0
  1279. package/components/urban-CGKIB8yR.js +70 -0
  1280. package/components/utils/base.cjs +1 -1
  1281. package/components/utils/base.js +2 -2
  1282. package/components/utils/store.cjs +1 -1
  1283. package/components/utils/store.js +11 -19
  1284. package/components/utils-DIKmx9O1.cjs +20 -0
  1285. package/components/utils-DS6Pthr4.js +238 -0
  1286. package/components/utils.cjs +1 -1
  1287. package/components/utils.js +9 -9
  1288. package/components/v4-YCkfo8OR.js +46 -0
  1289. package/components/venn-diagram-options.config-3-Adz8wM.js +23 -0
  1290. package/components/venn-diagram-options.config-BsxzLI46.cjs +20 -0
  1291. package/components/venn-diagram-positioning.config-8JCVpYOt.cjs +20 -0
  1292. package/components/venn-diagram-positioning.config-DOsSkJYl.js +54 -0
  1293. package/components/venn-diagram-slots.config-CfOs3HFk.cjs +20 -0
  1294. package/components/venn-diagram-slots.config-DIFovfS5.js +46 -0
  1295. package/components/video-options.config-BACuLmHj.cjs +20 -0
  1296. package/components/video-options.config-DVxtlO5_.js +126 -0
  1297. package/components/video-options.de-ORwnqA8n.js +59 -0
  1298. package/components/video-options.en-Bs_Lh_CI.js +59 -0
  1299. package/components/video-options.es-BvVdDjfZ.js +59 -0
  1300. package/components/video-options.fr-BesFW-1s.js +59 -0
  1301. package/components/video-options.nl-BW4_pRnk.js +59 -0
  1302. package/components/video-slots.config-B12oMaQR.js +23 -0
  1303. package/components/video-slots.config-Diz5vhEg.cjs +20 -0
  1304. package/components/vivid-DILEKRlz.js +71 -0
  1305. package/components/wordcloud-chart-options.config-DiyF596X.cjs +20 -0
  1306. package/components/wordcloud-chart-options.config-UAl2hfU7.js +96 -0
  1307. package/components/wordcloud-chart-options.de-D9c2kOhf.js +48 -0
  1308. package/components/wordcloud-chart-options.en-B2eVzZ8F.js +48 -0
  1309. package/components/wordcloud-chart-options.es-C6dUmFLy.js +48 -0
  1310. package/components/wordcloud-chart-options.fr-dNSX7uyQ.js +48 -0
  1311. package/components/wordcloud-chart-options.nl-D1CFGAGK.js +48 -0
  1312. package/components/wordcloud-chart-positioning.config-D13iPEEg.cjs +20 -0
  1313. package/components/wordcloud-chart-positioning.config-DSVw_z7Y.js +54 -0
  1314. package/components/wordcloud-chart-slots.config-Bw2N-_FE.cjs +20 -0
  1315. package/components/wordcloud-chart-slots.config-D-ZKO6Za.js +44 -0
  1316. package/components/zh-CN-BTatoior.js +125 -0
  1317. package/components/zh-TW-frHWROW3.js +125 -0
  1318. package/custom-elements.json +7341 -5976
  1319. package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
  1320. package/grid-core/helpers/grid-events.d.ts +56 -0
  1321. package/grid-core/helpers/grid-interactions.d.ts +88 -0
  1322. package/grid-core/helpers/grid-item-management.d.ts +28 -0
  1323. package/grid-core/helpers/grid-item-popover.d.ts +21 -0
  1324. package/grid-core/helpers/grid-items.d.ts +9 -0
  1325. package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
  1326. package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
  1327. package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
  1328. package/grid-core/helpers/grid-rendering.d.ts +41 -0
  1329. package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
  1330. package/grid-core/helpers/grid-theme.d.ts +15 -0
  1331. package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
  1332. package/grid-core/index.d.ts +5 -0
  1333. package/grid-core/item-grid-base.d.ts +223 -0
  1334. package/grid-core/types.d.ts +57 -0
  1335. package/index.d.ts +1 -1
  1336. package/package.json +20 -10
  1337. package/react/components/ai-chat.component.ts +5 -2
  1338. package/react/components/interactive-viz-item.component.ts +11 -2
  1339. package/react/components/item-grid-item-actions-menu.component.ts +30 -0
  1340. package/react/components/item-grid.component.ts +4 -1
  1341. package/react/components/item-option-color-picker.component.ts +9 -3
  1342. package/react/components/item-option-color-range.component.ts +9 -3
  1343. package/react/components/item-option-guidelines.component.ts +9 -3
  1344. package/react/components/item-option-panel.component.ts +12 -3
  1345. package/react/components/item-option-slider.component.ts +12 -3
  1346. package/react/components/item-option.component.ts +12 -3
  1347. package/react/esm/components/ai-chat.component.d.ts +3 -1
  1348. package/react/esm/components/ai-chat.component.js +3 -1
  1349. package/react/esm/components/interactive-viz-item.component.d.ts +8 -2
  1350. package/react/esm/components/interactive-viz-item.component.js +7 -1
  1351. package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
  1352. package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
  1353. package/react/esm/components/item-grid.component.d.ts +3 -1
  1354. package/react/esm/components/item-grid.component.js +2 -0
  1355. package/react/esm/components/item-option-color-picker.component.d.ts +6 -2
  1356. package/react/esm/components/item-option-color-picker.component.js +6 -2
  1357. package/react/esm/components/item-option-color-range.component.d.ts +6 -2
  1358. package/react/esm/components/item-option-color-range.component.js +6 -2
  1359. package/react/esm/components/item-option-guidelines.component.d.ts +6 -2
  1360. package/react/esm/components/item-option-guidelines.component.js +6 -2
  1361. package/react/esm/components/item-option-panel.component.d.ts +8 -2
  1362. package/react/esm/components/item-option-panel.component.js +8 -2
  1363. package/react/esm/components/item-option-slider.component.d.ts +8 -2
  1364. package/react/esm/components/item-option-slider.component.js +8 -2
  1365. package/react/esm/components/item-option.component.d.ts +8 -2
  1366. package/react/esm/components/item-option.component.js +8 -2
  1367. package/react/esm/index.d.ts +2 -2
  1368. package/react/esm/index.js +6 -6
  1369. package/react/index.ts +6 -6
  1370. package/react/luzmo-stub.d.ts +15 -6
  1371. package/react/package.json +6 -2
  1372. package/standalone/add-to-dashboard.js +168 -0
  1373. package/standalone/chunks/area-chart-options.config-BMvUma_d.js +2 -0
  1374. package/standalone/chunks/area-chart-options.de-CiUYKjuF.js +2 -0
  1375. package/standalone/chunks/area-chart-options.en-ClANS4ox.js +2 -0
  1376. package/standalone/chunks/area-chart-options.es-CJ9G7w-d.js +2 -0
  1377. package/standalone/chunks/area-chart-options.fr-HT5lv1Xa.js +2 -0
  1378. package/standalone/chunks/area-chart-options.nl-BLkEkEtR.js +2 -0
  1379. package/standalone/chunks/axis-options.config-DOE0YdaK.js +2 -0
  1380. package/standalone/chunks/axis-options.i18n-BiaLcciz.js +2 -0
  1381. package/standalone/chunks/bar-chart-options.config-BpHqXBFq.js +2 -0
  1382. package/standalone/chunks/bar-chart-options.de-BFaQAeSt.js +2 -0
  1383. package/standalone/chunks/bar-chart-options.en-uZbbpK84.js +2 -0
  1384. package/standalone/chunks/bar-chart-options.es-twNx5B2m.js +2 -0
  1385. package/standalone/chunks/bar-chart-options.fr-DRaaaSSH.js +2 -0
  1386. package/standalone/chunks/bar-chart-options.nl-CJiMjH5v.js +2 -0
  1387. package/standalone/chunks/box-plot-options.config-DDWb_KmV.js +2 -0
  1388. package/standalone/chunks/box-plot-options.de-CI5qJAF7.js +2 -0
  1389. package/standalone/chunks/box-plot-options.en-BQtMNcl5.js +2 -0
  1390. package/standalone/chunks/box-plot-options.es-CHjivUoY.js +2 -0
  1391. package/standalone/chunks/box-plot-options.fr-FkvAk1kX.js +2 -0
  1392. package/standalone/chunks/box-plot-options.nl-BRnSzvbY.js +2 -0
  1393. package/standalone/chunks/bullet-chart-options.config-BhYe0N0o.js +2 -0
  1394. package/standalone/chunks/bullet-chart-options.de-kCP9VTDJ.js +2 -0
  1395. package/standalone/chunks/bullet-chart-options.en-CQ7u24xM.js +2 -0
  1396. package/standalone/chunks/bullet-chart-options.es-CMRwpRyH.js +2 -0
  1397. package/standalone/chunks/bullet-chart-options.fr-NLzgxbaB.js +2 -0
  1398. package/standalone/chunks/bullet-chart-options.nl-BxNIes0u.js +2 -0
  1399. package/standalone/chunks/chart-helpers-DsIGsaDc.js +4 -0
  1400. package/standalone/chunks/choropleth-map-options.config-rUJsEJcm.js +2 -0
  1401. package/standalone/chunks/color-range-utils-DxOtqAKB.js +2 -0
  1402. package/standalone/chunks/column-chart-options.config-YIe6cMV5.js +2 -0
  1403. package/standalone/chunks/column-chart-options.de-CpCK5x2F.js +2 -0
  1404. package/standalone/chunks/column-chart-options.en-uZbbpK84.js +2 -0
  1405. package/standalone/chunks/column-chart-options.es-CNgSUKXK.js +2 -0
  1406. package/standalone/chunks/column-chart-options.fr-DRaaaSSH.js +2 -0
  1407. package/standalone/chunks/column-chart-options.nl-CJiMjH5v.js +2 -0
  1408. package/standalone/chunks/combination-chart-options.config-Bf7cNmpc.js +2 -0
  1409. package/standalone/chunks/combination-chart-options.de-BarapFn7.js +2 -0
  1410. package/standalone/chunks/combination-chart-options.en-Dip8nNUE.js +2 -0
  1411. package/standalone/chunks/combination-chart-options.es-3xQbg-Up.js +2 -0
  1412. package/standalone/chunks/combination-chart-options.fr-BsXLtxB_.js +2 -0
  1413. package/standalone/chunks/combination-chart-options.nl-8LA_bn9G.js +2 -0
  1414. package/standalone/chunks/data-broker-DXDyIrj_.js +2 -0
  1415. package/standalone/chunks/date-comparison-filter-slots.config-GxZF3vb3.js +2 -0
  1416. package/standalone/chunks/de-mdZT2W1G.js +2 -0
  1417. package/standalone/chunks/display-settings-binning-Byffw2Kl.js +38 -0
  1418. package/standalone/chunks/display-settings-datetime-CD52d6Sv.js +199 -0
  1419. package/standalone/chunks/display-settings-grand-totals-Cky99LX9.js +26 -0
  1420. package/standalone/chunks/display-settings-numeric-C9ea7Tgc.js +172 -0
  1421. package/standalone/chunks/display-settings-period-over-period-BLSGumkD.js +209 -0
  1422. package/standalone/chunks/donut-chart-options.config-DWpePR5V.js +2 -0
  1423. package/standalone/chunks/donut-chart-options.de-IKGJRoDL.js +2 -0
  1424. package/standalone/chunks/donut-chart-options.en-O2IK3YiS.js +2 -0
  1425. package/standalone/chunks/donut-chart-options.es-gKAHuFAU.js +2 -0
  1426. package/standalone/chunks/donut-chart-options.fr-Q-uMrtQG.js +2 -0
  1427. package/standalone/chunks/donut-chart-options.nl-B6v6jK4l.js +2 -0
  1428. package/standalone/chunks/embed-CBu7iQRx.js +231 -0
  1429. package/standalone/chunks/en-CSboh17P.js +2 -0
  1430. package/standalone/chunks/en-GB-HoXKQBOY.js +2 -0
  1431. package/standalone/chunks/en-US-CSboh17P.js +2 -0
  1432. package/standalone/chunks/es-Di5D8JFd.js +2 -0
  1433. package/standalone/chunks/evolution-number-options.config-Brbyq_TD.js +2 -0
  1434. package/standalone/chunks/evolution-number-options.de-NPOdl5mB.js +2 -0
  1435. package/standalone/chunks/evolution-number-options.en-Eq53ZOMK.js +2 -0
  1436. package/standalone/chunks/evolution-number-options.es-WS8nAzvW.js +2 -0
  1437. package/standalone/chunks/evolution-number-options.fr-DmcY0jGH.js +2 -0
  1438. package/standalone/chunks/evolution-number-options.nl-CvjB2qil.js +2 -0
  1439. package/standalone/chunks/filters-DKgJcQGP.js +532 -0
  1440. package/standalone/chunks/formula-codemirror-BbyvNEVD.js +197 -0
  1441. package/standalone/chunks/fr-DZku7iB9.js +2 -0
  1442. package/standalone/chunks/funnel-chart-options.config-S1yxc6IG.js +2 -0
  1443. package/standalone/chunks/funnel-chart-options.de-u5OrFyng.js +2 -0
  1444. package/standalone/chunks/funnel-chart-options.en-BEGSBn35.js +2 -0
  1445. package/standalone/chunks/funnel-chart-options.es-CxWkEgMs.js +2 -0
  1446. package/standalone/chunks/funnel-chart-options.fr-DZmmgK2t.js +2 -0
  1447. package/standalone/chunks/funnel-chart-options.nl-C6BitaEJ.js +2 -0
  1448. package/standalone/chunks/heat-map-options.config-D93AeYFi.js +2 -0
  1449. package/standalone/chunks/heat-table-options.config-ZVML76FK.js +2 -0
  1450. package/standalone/chunks/heat-table-options.de-B4y9dcra.js +2 -0
  1451. package/standalone/chunks/heat-table-options.en-Bouip0NE.js +2 -0
  1452. package/standalone/chunks/heat-table-options.es-BRAQP8GK.js +2 -0
  1453. package/standalone/chunks/heat-table-options.fr-CTzciHeO.js +2 -0
  1454. package/standalone/chunks/heat-table-options.nl-DzmWrTeQ.js +2 -0
  1455. package/standalone/chunks/is-same-option-value-Di-A7Wmg.js +2 -0
  1456. package/standalone/chunks/item-option-action-button-group-BEAwPHVw.js +35 -0
  1457. package/standalone/chunks/item-option-base-CRUxNhJQ.js +38 -0
  1458. package/standalone/chunks/item-option-color-palette-picker-CBz61iZb.js +22 -0
  1459. package/standalone/chunks/item-option-color-picker-lLvBPnKA.js +19 -0
  1460. package/standalone/chunks/item-option-color-range-BqeatOei.js +83 -0
  1461. package/standalone/chunks/item-option-guidelines-Cop8rM8y.js +120 -0
  1462. package/standalone/chunks/item-option-multi-language-field-DPPpN2qg.js +15 -0
  1463. package/standalone/chunks/item-option-number-field-CkqJjInE.js +20 -0
  1464. package/standalone/chunks/item-option-panel-CzSKFCVl.js +316 -0
  1465. package/standalone/chunks/item-option-picker-BnwQPT9A.js +19 -0
  1466. package/standalone/chunks/item-option-position-picker-Bkc4JvJX.js +14 -0
  1467. package/standalone/chunks/item-option-positions-number-field-Dr_315TE.js +31 -0
  1468. package/standalone/chunks/item-option-radio-button-group-BkymJq3E.js +19 -0
  1469. package/standalone/chunks/item-option-slider-K_bsNci8.js +18 -0
  1470. package/standalone/chunks/item-option-switch-DeihDHhM.js +12 -0
  1471. package/standalone/chunks/item-option-text-field-D7bkuhsv.js +15 -0
  1472. package/standalone/chunks/item-slot-picker-panel-D4BMxGs9.js +429 -0
  1473. package/standalone/chunks/kpi-options.config-DGl2N2HJ.js +2 -0
  1474. package/standalone/chunks/kpi-options.de-CJMQBEs7.js +2 -0
  1475. package/standalone/chunks/kpi-options.en-BzKmi3Bd.js +2 -0
  1476. package/standalone/chunks/kpi-options.es-BTmFYV0w.js +2 -0
  1477. package/standalone/chunks/kpi-options.fr-mlazGpRq.js +2 -0
  1478. package/standalone/chunks/kpi-options.nl-BV1eFo_U.js +2 -0
  1479. package/standalone/chunks/kpi-slots.config-DAjLHdEj.js +2 -0
  1480. package/standalone/chunks/line-chart-options.config--_LXaPbB.js +2 -0
  1481. package/standalone/chunks/line-chart-options.de-CCCH4dI_.js +2 -0
  1482. package/standalone/chunks/line-chart-options.en-BwtEj00F.js +2 -0
  1483. package/standalone/chunks/line-chart-options.es-BWWaIDbd.js +2 -0
  1484. package/standalone/chunks/line-chart-options.fr-Rp7fs4Id.js +2 -0
  1485. package/standalone/chunks/line-chart-options.nl-DcgJ9CUw.js +2 -0
  1486. package/standalone/chunks/load-data-fields-for-datasets-ClctSj6y.js +25 -0
  1487. package/standalone/chunks/localize-DXRmGRe-.js +2 -0
  1488. package/standalone/chunks/localized-decorator-DJVBmJVH.js +2 -0
  1489. package/standalone/chunks/luzmo-icon-markup-ByaNI6dg.js +13 -0
  1490. package/standalone/chunks/nl-CViTevL3.js +2 -0
  1491. package/standalone/chunks/ohlc-chart-options.config-kyYOgBtR.js +2 -0
  1492. package/standalone/chunks/option-interaction-controller-BslAXAHF.js +2 -0
  1493. package/standalone/chunks/pyramid-chart-options.config-xYIVE_ib.js +2 -0
  1494. package/standalone/chunks/pyramid-chart-options.de-CaxalCcg.js +2 -0
  1495. package/standalone/chunks/pyramid-chart-options.en-B-weoYGh.js +2 -0
  1496. package/standalone/chunks/pyramid-chart-options.es-BahFoH3_.js +2 -0
  1497. package/standalone/chunks/pyramid-chart-options.fr-DcTxsNGH.js +2 -0
  1498. package/standalone/chunks/pyramid-chart-options.nl-ChImCr8r.js +2 -0
  1499. package/standalone/chunks/radar-chart-options.config-CoGFqCqy.js +2 -0
  1500. package/standalone/chunks/radar-chart-options.de-vruPXtB4.js +2 -0
  1501. package/standalone/chunks/radar-chart-options.en-D8rstMVn.js +2 -0
  1502. package/standalone/chunks/radar-chart-options.es-By21lK8S.js +2 -0
  1503. package/standalone/chunks/radar-chart-options.fr-C4b5cJxg.js +2 -0
  1504. package/standalone/chunks/radar-chart-options.nl-CzEi0MTf.js +2 -0
  1505. package/standalone/chunks/route-map-options.config-Dwy0JSVq.js +2 -0
  1506. package/standalone/chunks/scatter-plot-options.config-DG9Ki-mt.js +2 -0
  1507. package/standalone/chunks/scatter-plot-options.de-eebqIJA1.js +2 -0
  1508. package/standalone/chunks/scatter-plot-options.en-5i08biJm.js +2 -0
  1509. package/standalone/chunks/scatter-plot-options.es-Bx8kHesL.js +2 -0
  1510. package/standalone/chunks/scatter-plot-options.fr-DK6rPCT_.js +2 -0
  1511. package/standalone/chunks/scatter-plot-options.nl-9mS62LyK.js +2 -0
  1512. package/standalone/chunks/slot-content-BZhmLTG1.js +2 -0
  1513. package/standalone/chunks/spike-map-options.config-DFmuNxym.js +2 -0
  1514. package/standalone/chunks/sunburst-chart-options.config-DOBSe3i5.js +2 -0
  1515. package/standalone/chunks/sunburst-chart-options.de-D3iq4Q-m.js +2 -0
  1516. package/standalone/chunks/sunburst-chart-options.en-BUJ_Pr9C.js +2 -0
  1517. package/standalone/chunks/sunburst-chart-options.es-stKrKGz2.js +2 -0
  1518. package/standalone/chunks/sunburst-chart-options.fr-RkBtlMNp.js +2 -0
  1519. package/standalone/chunks/sunburst-chart-options.nl-BUeDNot_.js +2 -0
  1520. package/standalone/chunks/task-BlhDPTQS.js +2 -0
  1521. package/standalone/chunks/themes-C2pxFlIq.js +2 -0
  1522. package/standalone/chunks/v4-BxSu4gkw.js +2 -0
  1523. package/standalone/chunks/version-BW4Ixl63.js +2 -0
  1524. package/standalone/interactive-viz-item.js +51 -47
  1525. package/standalone/item-grid.js +76 -68
  1526. package/standalone/manifest.json +154 -157
  1527. package/storybook/register-components.d.ts +1 -1
  1528. package/types/ai-chat.types.d.ts +39 -2
  1529. package/types.d.ts +1 -1
  1530. package/utils/filters/filter-text.d.ts +1 -1
  1531. package/utils/formula/base/formula-base.d.ts +2 -2
  1532. package/utils/formula/config/build-datasets.d.ts +2 -2
  1533. package/utils/formula/store/formula-display-store.d.ts +1 -1
  1534. package/utils/option-interaction/index.d.ts +2 -0
  1535. package/utils/option-interaction/is-same-option-value.d.ts +10 -0
  1536. package/utils/option-interaction/option-interaction-controller.d.ts +54 -0
  1537. package/utils/option-interaction/tests/option-interaction-controller.test.d.ts +1 -0
  1538. package/utils/store/base-store.d.ts +9 -0
  1539. package/utils/store/index.d.ts +1 -0
  1540. package/utils/store/tests/store-base-history.test.d.ts +1 -0
  1541. package/utils/store/tests/store-base.test.d.ts +1 -0
  1542. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +0 -20
  1543. package/components/ad-hoc-slot-content-hSlT62VS.js +0 -29
  1544. package/components/add-to-dashboard-BBBuSOri.js +0 -805
  1545. package/components/add-to-dashboard-DL2au6Os.cjs +0 -166
  1546. package/components/ai-chat-7IBO6eY3.cjs +0 -339
  1547. package/components/ai-chat-D0d30We9.js +0 -4373
  1548. package/components/ai-interaction-textarea-CAb6g6dq.js +0 -829
  1549. package/components/ai-interaction-textarea-Cf7NhcMA.cjs +0 -101
  1550. package/components/area-chart-options.config-Bf5kti7Z.cjs +0 -20
  1551. package/components/area-chart-options.config-DJnPr93H.js +0 -201
  1552. package/components/area-chart-options.de-_tPBzxvf.cjs +0 -20
  1553. package/components/area-chart-options.de-pUCTG-s0.js +0 -87
  1554. package/components/area-chart-options.en-AuSHs27k.cjs +0 -20
  1555. package/components/area-chart-options.en-YNsUeMwN.js +0 -87
  1556. package/components/area-chart-options.es-2styw_Fz.js +0 -87
  1557. package/components/area-chart-options.es-BzRHGbo6.cjs +0 -20
  1558. package/components/area-chart-options.fr--WzQVf2z.js +0 -87
  1559. package/components/area-chart-options.fr-DYxUQE3x.cjs +0 -20
  1560. package/components/area-chart-options.nl-BTEIqBtE.js +0 -87
  1561. package/components/area-chart-options.nl-M0xQQ_la.cjs +0 -20
  1562. package/components/area-chart-positioning.config-BUYCXinR.cjs +0 -20
  1563. package/components/area-chart-positioning.config-CKHsdYfg.js +0 -55
  1564. package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
  1565. package/components/area-chart-slots.config-ClE-gYVY.js +0 -55
  1566. package/components/axis-options.config-BCP0Z8VI.js +0 -270
  1567. package/components/axis-options.config-s-Js3ug-.cjs +0 -20
  1568. package/components/axis-options.i18n-BOGRmWjp.js +0 -486
  1569. package/components/axis-options.i18n-Cw-DmewV.cjs +0 -20
  1570. package/components/bar-chart-options.config-CI17HU2I.cjs +0 -20
  1571. package/components/bar-chart-options.config-D1x5WPbL.js +0 -261
  1572. package/components/bar-chart-options.de-3qSh2TNr.js +0 -110
  1573. package/components/bar-chart-options.de-545XMRGl.cjs +0 -20
  1574. package/components/bar-chart-options.en-DAee9yHp.cjs +0 -20
  1575. package/components/bar-chart-options.en-DrhQe9rV.js +0 -110
  1576. package/components/bar-chart-options.es-BZ1yNzUQ.js +0 -110
  1577. package/components/bar-chart-options.es-CfoAEZ-0.cjs +0 -20
  1578. package/components/bar-chart-options.fr-5i13R8bs.js +0 -110
  1579. package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +0 -20
  1580. package/components/bar-chart-options.nl-Bb6XiSDH.cjs +0 -20
  1581. package/components/bar-chart-options.nl-DLj-qucU.js +0 -110
  1582. package/components/bar-chart-positioning.config-B7_XsLgG.cjs +0 -20
  1583. package/components/bar-chart-positioning.config-BcQHAr8h.js +0 -59
  1584. package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
  1585. package/components/bar-chart-slots.config-rMFwFprg.js +0 -50
  1586. package/components/base-BXg3O7H2.cjs +0 -20
  1587. package/components/base-CH2yUuWp.js +0 -248
  1588. package/components/base-store-BhGpnbqi.js +0 -152
  1589. package/components/base-store-D5cDq6d4.cjs +0 -20
  1590. package/components/bliss-CK3rEnFv.js +0 -75
  1591. package/components/box-plot-options.config-CooBIc6N.js +0 -334
  1592. package/components/box-plot-options.config-Cp6H9fyb.cjs +0 -20
  1593. package/components/box-plot-options.de-BkgscmvG.js +0 -100
  1594. package/components/box-plot-options.de-alI5_N9d.cjs +0 -20
  1595. package/components/box-plot-options.en-5kGlvxx8.js +0 -100
  1596. package/components/box-plot-options.en-DUlXF9r9.cjs +0 -20
  1597. package/components/box-plot-options.es-CIm06Gpk.cjs +0 -20
  1598. package/components/box-plot-options.es-v_B9Xb9H.js +0 -100
  1599. package/components/box-plot-options.fr-C5j-Dzj6.cjs +0 -20
  1600. package/components/box-plot-options.fr-CRSOCgU5.js +0 -100
  1601. package/components/box-plot-options.nl-DtnBbRo5.cjs +0 -20
  1602. package/components/box-plot-options.nl-ZQjVZPau.js +0 -100
  1603. package/components/box-plot-positioning.config-BBx2k16c.js +0 -48
  1604. package/components/box-plot-positioning.config-zW8ApQot.cjs +0 -20
  1605. package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
  1606. package/components/box-plot-slots.config-DS2UIfRF.js +0 -40
  1607. package/components/bubble-chart-options.config-B6aLA_1d.js +0 -142
  1608. package/components/bubble-chart-options.config-e_0LM1Uw.cjs +0 -20
  1609. package/components/bubble-chart-options.de-Q2nhAQfu.js +0 -49
  1610. package/components/bubble-chart-options.en-DedkSXEc.js +0 -49
  1611. package/components/bubble-chart-options.es-B7bZFlIa.js +0 -49
  1612. package/components/bubble-chart-options.fr-Cz9T05xx.js +0 -49
  1613. package/components/bubble-chart-options.nl-BeiE-TWG.js +0 -49
  1614. package/components/bubble-chart-positioning.config-C81olavn.js +0 -55
  1615. package/components/bubble-chart-positioning.config-mvGcNnxm.cjs +0 -20
  1616. package/components/bubble-chart-slots.config-2qy2RqaU.js +0 -47
  1617. package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
  1618. package/components/bullet-chart-options.config-CBmbmhzI.js +0 -76
  1619. package/components/bullet-chart-options.config-Drv0yQ4x.cjs +0 -20
  1620. package/components/bullet-chart-options.de-DHqxFlm7.js +0 -39
  1621. package/components/bullet-chart-options.de-DQhoZIdV.cjs +0 -20
  1622. package/components/bullet-chart-options.en-6vj0tO4B.js +0 -39
  1623. package/components/bullet-chart-options.en-CTpxw73t.cjs +0 -20
  1624. package/components/bullet-chart-options.es-Cc4GzyJG.cjs +0 -20
  1625. package/components/bullet-chart-options.es-DeDFLO8Z.js +0 -39
  1626. package/components/bullet-chart-options.fr-750sl4sT.js +0 -39
  1627. package/components/bullet-chart-options.fr-D2Z5WBfJ.cjs +0 -20
  1628. package/components/bullet-chart-options.nl-B7tw2hO6.cjs +0 -20
  1629. package/components/bullet-chart-options.nl-CS-xSSVr.js +0 -39
  1630. package/components/bullet-chart-positioning.config-CFVhVLko.js +0 -56
  1631. package/components/bullet-chart-positioning.config-DQXdWb8b.cjs +0 -20
  1632. package/components/bullet-chart-slots.config-BaMmwIH0.js +0 -46
  1633. package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
  1634. package/components/calculate-data-field-icon-DrSg1PuD.js +0 -149
  1635. package/components/chart-helpers-DQS2iqSd.js +0 -250
  1636. package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
  1637. package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
  1638. package/components/choropleth-map-options.de-DXLufNgZ.js +0 -72
  1639. package/components/choropleth-map-options.en-DGENug11.js +0 -72
  1640. package/components/choropleth-map-options.es-Dn2Cv5D-.js +0 -72
  1641. package/components/choropleth-map-options.fr-CK0tUEO3.js +0 -72
  1642. package/components/choropleth-map-options.nl-CwA4TtvT.js +0 -72
  1643. package/components/choropleth-map-positioning.config-DHOBeRRk.cjs +0 -20
  1644. package/components/choropleth-map-positioning.config-DJoC3t7U.js +0 -55
  1645. package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
  1646. package/components/choropleth-map-slots.config-DqOi1kCn.js +0 -53
  1647. package/components/circle-pack-chart-options.config-BmX0w3cH.cjs +0 -20
  1648. package/components/circle-pack-chart-options.config-D2RCikyA.js +0 -60
  1649. package/components/circle-pack-chart-options.de-BrrPqSBf.js +0 -31
  1650. package/components/circle-pack-chart-options.en-BdoNRanZ.js +0 -31
  1651. package/components/circle-pack-chart-options.es-DLQWaD31.js +0 -31
  1652. package/components/circle-pack-chart-options.fr-B66YY6lg.js +0 -31
  1653. package/components/circle-pack-chart-options.nl-kOeRMk4n.js +0 -31
  1654. package/components/circle-pack-chart-positioning.config-B48On4x6.cjs +0 -20
  1655. package/components/circle-pack-chart-positioning.config-Tgiu36TH.js +0 -48
  1656. package/components/circle-pack-chart-slots.config-B7_1p86m.js +0 -38
  1657. package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
  1658. package/components/circular-gauge-options.config-CSIUw2VN.cjs +0 -20
  1659. package/components/circular-gauge-options.config-syWQJHKT.js +0 -193
  1660. package/components/circular-gauge-options.de-D1DVq08k.js +0 -57
  1661. package/components/circular-gauge-options.en-CsH_VhDL.js +0 -57
  1662. package/components/circular-gauge-options.es-BkiRMNis.js +0 -57
  1663. package/components/circular-gauge-options.fr-CxySNula.js +0 -57
  1664. package/components/circular-gauge-options.nl-CcQpr_DM.js +0 -57
  1665. package/components/circular-gauge-positioning.config-CO0TB_rx.cjs +0 -20
  1666. package/components/circular-gauge-positioning.config-D6f4ltnk.js +0 -48
  1667. package/components/circular-gauge-slots.config-BxjCP1ao.js +0 -39
  1668. package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
  1669. package/components/classic-BLOsKyb3.js +0 -82
  1670. package/components/classic-dark-Bw01Wzq_.js +0 -73
  1671. package/components/color-BWnYpOu7.js +0 -3812
  1672. package/components/color-Bl8h58rV.cjs +0 -20
  1673. package/components/color-palettes-D4z1ONyx.js +0 -1474
  1674. package/components/color-range-utils-C3HJJUS1.cjs +0 -20
  1675. package/components/color-range-utils-CiqduHJS.js +0 -63
  1676. package/components/column-chart-options.config-B2LIl9lL.js +0 -260
  1677. package/components/column-chart-options.config-xmSH4NKF.cjs +0 -20
  1678. package/components/column-chart-options.de-BX13JkAO.cjs +0 -20
  1679. package/components/column-chart-options.de-CIYtauiG.js +0 -110
  1680. package/components/column-chart-options.en-BkAsfXYV.js +0 -110
  1681. package/components/column-chart-options.en-DAee9yHp.cjs +0 -20
  1682. package/components/column-chart-options.es-CClMQLE-.cjs +0 -20
  1683. package/components/column-chart-options.es-jWM7TxS7.js +0 -110
  1684. package/components/column-chart-options.fr-BB6301nS.js +0 -110
  1685. package/components/column-chart-options.fr-C2Ic0Dq0.cjs +0 -20
  1686. package/components/column-chart-options.nl-Bb6XiSDH.cjs +0 -20
  1687. package/components/column-chart-options.nl-HUMDgKdl.js +0 -110
  1688. package/components/column-chart-positioning.config-D6rP1t6R.cjs +0 -20
  1689. package/components/column-chart-positioning.config-Du8eT4a1.js +0 -55
  1690. package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
  1691. package/components/column-chart-slots.config-D6MBTcj4.js +0 -50
  1692. package/components/combination-chart-options.config-0ATFph8S.js +0 -139
  1693. package/components/combination-chart-options.config-IEamJGCp.cjs +0 -20
  1694. package/components/combination-chart-options.de-BiGjuWUS.cjs +0 -20
  1695. package/components/combination-chart-options.de-DVJ9sfLC.js +0 -66
  1696. package/components/combination-chart-options.en-B5piXq82.js +0 -66
  1697. package/components/combination-chart-options.en-e4XMalU0.cjs +0 -20
  1698. package/components/combination-chart-options.es-BmuyyP32.js +0 -66
  1699. package/components/combination-chart-options.es-OXb8nozF.cjs +0 -20
  1700. package/components/combination-chart-options.fr-CIrnpWEu.js +0 -66
  1701. package/components/combination-chart-options.fr-CYzANyZs.cjs +0 -20
  1702. package/components/combination-chart-options.nl-BDJ7t0BY.js +0 -66
  1703. package/components/combination-chart-options.nl-DyAUjvqC.cjs +0 -20
  1704. package/components/combination-chart-positioning.config-Dh3B3LOl.js +0 -48
  1705. package/components/combination-chart-positioning.config-DjCqe3A3.cjs +0 -20
  1706. package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
  1707. package/components/combination-chart-slots.config-dYT9lz8M.js +0 -43
  1708. package/components/conditional-number-options.config-Bv2xONtI.js +0 -210
  1709. package/components/conditional-number-options.config-ZVtstIjn.cjs +0 -20
  1710. package/components/conditional-number-options.de-2xle1pGz.js +0 -60
  1711. package/components/conditional-number-options.en-JLoF4JZy.js +0 -60
  1712. package/components/conditional-number-options.es-C_g0UqIh.js +0 -60
  1713. package/components/conditional-number-options.fr-C5cASVba.js +0 -60
  1714. package/components/conditional-number-options.nl-DiV3DzXR.js +0 -60
  1715. package/components/conditional-number-positioning.config-CAhuUG3U.js +0 -48
  1716. package/components/conditional-number-positioning.config-X0Y3C4dr.cjs +0 -20
  1717. package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
  1718. package/components/conditional-number-slots.config-DtYkqtN8.js +0 -39
  1719. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
  1720. package/components/create-lazy-loader-BO_oTDF5.js +0 -31
  1721. package/components/cs-wc4Fl7IN.js +0 -126
  1722. package/components/da-Byf4w3lJ.js +0 -126
  1723. package/components/data-broker-BNXS5_qc.js +0 -1684
  1724. package/components/data-broker-DWgqaHoY.cjs +0 -20
  1725. package/components/data-field-B8SFcGh0.js +0 -122
  1726. package/components/data-field-DeT57bOO.cjs +0 -54
  1727. package/components/data-field-level-3WE6l5BK.js +0 -248
  1728. package/components/data-field-level-CCxykPSg.cjs +0 -55
  1729. package/components/data-field-panel-BRxir4hU.js +0 -386
  1730. package/components/data-field-panel-yFIL1XTw.cjs +0 -87
  1731. package/components/data-fields-select-JThxsK_E.js +0 -290
  1732. package/components/data-fields-select-hO9zKetk.cjs +0 -43
  1733. package/components/dataset-icon-CP_oZswB.cjs +0 -62
  1734. package/components/dataset-icon-DUtfpbLX.js +0 -121
  1735. package/components/dataset-selector-list-BDxlELPh.js +0 -324
  1736. package/components/dataset-selector-list-BJPRi83A.cjs +0 -75
  1737. package/components/dataset-selector-row-BJTqQZhA.cjs +0 -104
  1738. package/components/dataset-selector-row-CERTR_-i.js +0 -454
  1739. package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
  1740. package/components/date-comparison-filter-options.config-DgLx-m3L.js +0 -126
  1741. package/components/date-comparison-filter-options.de-BSRz6o0Y.js +0 -55
  1742. package/components/date-comparison-filter-options.en-DLbsNe_t.js +0 -55
  1743. package/components/date-comparison-filter-options.es-ChO2qlIh.js +0 -55
  1744. package/components/date-comparison-filter-options.fr-D9HKPj4L.js +0 -55
  1745. package/components/date-comparison-filter-options.nl-BOMQo1X3.js +0 -55
  1746. package/components/date-comparison-filter-positioning.config-DokVHoP8.js +0 -38
  1747. package/components/date-comparison-filter-slots.config-BKZ13uzB.js +0 -33
  1748. package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +0 -20
  1749. package/components/date-filter-options.config-Cbiy0QKd.js +0 -118
  1750. package/components/date-filter-options.config-saR_u4w-.cjs +0 -20
  1751. package/components/date-filter-options.de-DVRUmqQh.js +0 -51
  1752. package/components/date-filter-options.en-Df-q6Eqf.js +0 -51
  1753. package/components/date-filter-options.es-eclXOdtw.js +0 -51
  1754. package/components/date-filter-options.fr-B6CHuun3.js +0 -51
  1755. package/components/date-filter-options.nl-qgltgj2Q.js +0 -51
  1756. package/components/date-filter-positioning.config-D8wFL4L9.js +0 -38
  1757. package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
  1758. package/components/date-filter-slots.config-SzWky1y7.js +0 -37
  1759. package/components/de-BjRdwJaI.js +0 -592
  1760. package/components/de-DlpfqiRu.cjs +0 -20
  1761. package/components/de-OHJ9YCFU.js +0 -138
  1762. package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
  1763. package/components/decorate-DyMgX_Uh.js +0 -28
  1764. package/components/default-B35Bj34G.js +0 -78
  1765. package/components/default-acceptable-data-field-types-DFOFWWnT.js +0 -53
  1766. package/components/default-acceptable-data-field-types-fPsz64ka.cjs +0 -20
  1767. package/components/default-dark-CRMTsWZ1.js +0 -78
  1768. package/components/display-settings-5cY7BZuI.cjs +0 -142
  1769. package/components/display-settings-DkSFWlVK.js +0 -316
  1770. package/components/display-settings-binning-BiI20PpZ.cjs +0 -56
  1771. package/components/display-settings-binning-tKTY2faZ.js +0 -111
  1772. package/components/display-settings-datetime-C7Jew6I8.cjs +0 -217
  1773. package/components/display-settings-datetime-YGdlBIKj.js +0 -414
  1774. package/components/display-settings-grand-totals-B4CoczLi.cjs +0 -44
  1775. package/components/display-settings-grand-totals-B7uQQUIk.js +0 -90
  1776. package/components/display-settings-numeric-BR69YecW.js +0 -480
  1777. package/components/display-settings-numeric-CHUjUYdY.cjs +0 -190
  1778. package/components/display-settings-period-over-period-CDJEh8rt.js +0 -443
  1779. package/components/display-settings-period-over-period-DL8OEHfu.cjs +0 -227
  1780. package/components/donut-chart-options.config-C8wpZzyJ.js +0 -217
  1781. package/components/donut-chart-options.config-LbmJpNlm.cjs +0 -20
  1782. package/components/donut-chart-options.de-MwhxVUQU.cjs +0 -20
  1783. package/components/donut-chart-options.de-yLZjyrqC.js +0 -85
  1784. package/components/donut-chart-options.en-CtvZekZO.js +0 -85
  1785. package/components/donut-chart-options.en-Z9kCIcjz.cjs +0 -20
  1786. package/components/donut-chart-options.es-C89OYrl4.js +0 -85
  1787. package/components/donut-chart-options.es-Ch83fRxI.cjs +0 -20
  1788. package/components/donut-chart-options.fr-B7JWWsro.cjs +0 -20
  1789. package/components/donut-chart-options.fr-Cy4UUjdS.js +0 -85
  1790. package/components/donut-chart-options.nl-BT6vFbJ5.js +0 -85
  1791. package/components/donut-chart-options.nl-Brxyw7wD.cjs +0 -20
  1792. package/components/donut-chart-positioning.config-BdyN9VzX.cjs +0 -20
  1793. package/components/donut-chart-positioning.config-CHyL7QHe.js +0 -48
  1794. package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
  1795. package/components/donut-chart-slots.config-fGqtoKZi.js +0 -39
  1796. package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
  1797. package/components/dropdown-filter-options.config-DkiapYtc.js +0 -153
  1798. package/components/dropdown-filter-options.de-CGwxbXwe.js +0 -54
  1799. package/components/dropdown-filter-options.en-D4YCo5Bj.js +0 -54
  1800. package/components/dropdown-filter-options.es-BvFyqxrr.js +0 -54
  1801. package/components/dropdown-filter-options.fr-9KlpP9JQ.js +0 -54
  1802. package/components/dropdown-filter-options.nl-4HUfHHPT.js +0 -54
  1803. package/components/dropdown-filter-positioning.config-D1tdnuCP.js +0 -38
  1804. package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
  1805. package/components/dropdown-filter-slots.config-DPcT6v-9.js +0 -38
  1806. package/components/en-CcLhGxIh.js +0 -21
  1807. package/components/en-GB-DzkdeUQh.js +0 -28
  1808. package/components/en-GB-uxY5qmIM.cjs +0 -20
  1809. package/components/en-US-CcLhGxIh.js +0 -21
  1810. package/components/en-US-q_Ruzags.cjs +0 -20
  1811. package/components/en-q_Ruzags.cjs +0 -20
  1812. package/components/es-BEJ3vwZw.cjs +0 -20
  1813. package/components/es-CHSnIez4.js +0 -592
  1814. package/components/es-DuN6cMja.js +0 -331
  1815. package/components/evolution-number-options.config-Ca9ABNVM.js +0 -230
  1816. package/components/evolution-number-options.config-CoGBgLLw.cjs +0 -20
  1817. package/components/evolution-number-options.de-BrdcqfjF.js +0 -76
  1818. package/components/evolution-number-options.de-CjNBpzAw.cjs +0 -20
  1819. package/components/evolution-number-options.en-B9BpR4nq.cjs +0 -20
  1820. package/components/evolution-number-options.en-Sd6L4_T9.js +0 -76
  1821. package/components/evolution-number-options.es-CxbiY9G6.cjs +0 -20
  1822. package/components/evolution-number-options.es-RgSav5iQ.js +0 -76
  1823. package/components/evolution-number-options.fr-BD73JeDU.js +0 -76
  1824. package/components/evolution-number-options.fr-Cae20bgZ.cjs +0 -20
  1825. package/components/evolution-number-options.nl-BJ-5M5kB.cjs +0 -20
  1826. package/components/evolution-number-options.nl-WHBQ04_S.js +0 -76
  1827. package/components/evolution-number-positioning.config-CUdL-zeQ.js +0 -48
  1828. package/components/evolution-number-positioning.config-D6gycaNP.cjs +0 -20
  1829. package/components/evolution-number-slots.config-CKawNqUS.js +0 -37
  1830. package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
  1831. package/components/fi-vuFNiOkH.js +0 -126
  1832. package/components/filter-expression-picker-BS-won7l.js +0 -434
  1833. package/components/filter-expression-picker-DCHNq2I7.cjs +0 -40
  1834. package/components/filter-item-DDw3FRAz.cjs +0 -111
  1835. package/components/filter-item-DSHDKky0.js +0 -793
  1836. package/components/filter-parameter-picker-BiD6eSTh.cjs +0 -124
  1837. package/components/filter-parameter-picker-CLT9UoP8.js +0 -372
  1838. package/components/filter-value-picker--iG40y_z.cjs +0 -69
  1839. package/components/filter-value-picker-Dm0ql45_.js +0 -170
  1840. package/components/filter-value-picker-datetime-C6d57Nir.cjs +0 -51
  1841. package/components/filter-value-picker-datetime-DeqfuUwj.js +0 -160
  1842. package/components/filter-value-picker-hierarchy-B-BvFNH7.js +0 -316
  1843. package/components/filter-value-picker-hierarchy-CKqUw5uA.cjs +0 -54
  1844. package/components/filter-value-picker-numeric-BRCpHan6.cjs +0 -54
  1845. package/components/filter-value-picker-numeric-hFm7V2GV.js +0 -237
  1846. package/components/filters-CS2JKt1Y.cjs +0 -199
  1847. package/components/filters-CuB7alHb.js +0 -927
  1848. package/components/formatter-BeXmurVe.cjs +0 -20
  1849. package/components/formatter-Cq5dFCyU.js +0 -1473
  1850. package/components/formula-D_OD2i6g.js +0 -139
  1851. package/components/formula-codemirror-DYcNoihJ.cjs +0 -215
  1852. package/components/formula-codemirror-a5sWUTJu.js +0 -12019
  1853. package/components/formula-display-store-2jg_5gbV.js +0 -1087
  1854. package/components/formula-display-store-DZcUchAg.cjs +0 -20
  1855. package/components/formula-editor-B0YVZTXO.js +0 -691
  1856. package/components/formula-editor-S_OrQGxP.cjs +0 -224
  1857. package/components/formula-field-CCH2SKkC.cjs +0 -20
  1858. package/components/formula-field-DrLyzo0w.js +0 -41
  1859. package/components/formula-input-base-BP_VPgp_.cjs +0 -49
  1860. package/components/formula-input-base-PDTFvAc2.js +0 -236
  1861. package/components/formula-xgIedfvZ.cjs +0 -45
  1862. package/components/fr-CwOLJGv2.js +0 -331
  1863. package/components/fr-Qyi8waf9.cjs +0 -20
  1864. package/components/fr-bmFhZhSn.js +0 -592
  1865. package/components/funnel-chart-options.config-CygQsQVD.js +0 -211
  1866. package/components/funnel-chart-options.config-DgpM8mWb.cjs +0 -20
  1867. package/components/funnel-chart-options.de-CW29wkd4.cjs +0 -20
  1868. package/components/funnel-chart-options.de-DIoKO3fr.js +0 -76
  1869. package/components/funnel-chart-options.en-CGVFwHzU.cjs +0 -20
  1870. package/components/funnel-chart-options.en-Doj4mREG.js +0 -76
  1871. package/components/funnel-chart-options.es-Bcot5MS3.cjs +0 -20
  1872. package/components/funnel-chart-options.es-D-GP_b6C.js +0 -76
  1873. package/components/funnel-chart-options.fr-7ZROacsE.cjs +0 -20
  1874. package/components/funnel-chart-options.fr-BoQkeuls.js +0 -76
  1875. package/components/funnel-chart-options.nl-C0VZ6Ure.cjs +0 -20
  1876. package/components/funnel-chart-options.nl-CRq-RjxK.js +0 -76
  1877. package/components/funnel-chart-positioning.config-8jlFpv0s.cjs +0 -20
  1878. package/components/funnel-chart-positioning.config-CKHYW9Zh.js +0 -48
  1879. package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
  1880. package/components/funnel-chart-slots.config-CfnSH4Ay.js +0 -43
  1881. package/components/get-css-variable-CBXsAxR6.cjs +0 -20
  1882. package/components/get-css-variable-DYnldi15.js +0 -63
  1883. package/components/get-dataset-name-BUBY88G6.cjs +0 -20
  1884. package/components/get-dataset-name-DcVX3h2Y.js +0 -32
  1885. package/components/groupings-DVO_FQS0.js +0 -52
  1886. package/components/groupings-QLe5jIkp.cjs +0 -20
  1887. package/components/guidelines-options.config-DyedEeX2.js +0 -48
  1888. package/components/he-Cs_3gvpL.js +0 -126
  1889. package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
  1890. package/components/heat-map-options.config-X96sw-BV.js +0 -226
  1891. package/components/heat-map-options.de-CdqO8c7P.js +0 -75
  1892. package/components/heat-map-options.en-BAnXacHE.js +0 -75
  1893. package/components/heat-map-options.es-8rTCVZlw.js +0 -75
  1894. package/components/heat-map-options.fr-DbGhKWbq.js +0 -75
  1895. package/components/heat-map-options.nl-nw2vqBOn.js +0 -75
  1896. package/components/heat-map-positioning.config-CJsKdaGM.js +0 -48
  1897. package/components/heat-map-positioning.config-CsFv5a9R.cjs +0 -20
  1898. package/components/heat-map-slots.config-D2ypExJQ.js +0 -37
  1899. package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
  1900. package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
  1901. package/components/heat-table-options.config-D6dA9J97.js +0 -269
  1902. package/components/heat-table-options.de-D16uyY3b.cjs +0 -20
  1903. package/components/heat-table-options.de-PCwpTsHu.js +0 -112
  1904. package/components/heat-table-options.en-DCNhZ0Qw.js +0 -112
  1905. package/components/heat-table-options.en-Dhd_yZdX.cjs +0 -20
  1906. package/components/heat-table-options.es-DPqviw02.cjs +0 -20
  1907. package/components/heat-table-options.es-Dhtu0ztS.js +0 -112
  1908. package/components/heat-table-options.fr-BVwdrQWA.cjs +0 -20
  1909. package/components/heat-table-options.fr-dtKsuwpe.js +0 -112
  1910. package/components/heat-table-options.nl-BAiKDY6k.cjs +0 -20
  1911. package/components/heat-table-options.nl-Bc0JFpfk.js +0 -112
  1912. package/components/heat-table-positioning.config-BErqCTzb.js +0 -55
  1913. package/components/heat-table-positioning.config-DPJqMJ3k.cjs +0 -20
  1914. package/components/heat-table-slots.config-B1iOn6ay.js +0 -49
  1915. package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
  1916. package/components/helpers-irnB2xbq.js +0 -68
  1917. package/components/hexbin-map-options.config-BGmgxnMh.cjs +0 -20
  1918. package/components/hexbin-map-options.config-FK9DrXGD.js +0 -278
  1919. package/components/hexbin-map-options.de-IOtNvdRA.js +0 -108
  1920. package/components/hexbin-map-options.en-DKEF0zQn.js +0 -108
  1921. package/components/hexbin-map-options.es-FkXMepZ7.js +0 -108
  1922. package/components/hexbin-map-options.fr-DT7-Cefu.js +0 -108
  1923. package/components/hexbin-map-options.nl-BwgDBrw4.js +0 -108
  1924. package/components/hexbin-map-positioning.config-B4uDTE1u.js +0 -48
  1925. package/components/hexbin-map-positioning.config-B5ro4kN0.cjs +0 -20
  1926. package/components/hexbin-map-slots.config-CC1xZINm.js +0 -37
  1927. package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
  1928. package/components/hu-BXedq4ZF.js +0 -126
  1929. package/components/icon-element-_jY440X2.js +0 -85
  1930. package/components/image-options.config-DZ5q1D63.cjs +0 -20
  1931. package/components/image-options.config-DxF0RSUF.js +0 -153
  1932. package/components/image-options.de-Bh8QqYb_.js +0 -86
  1933. package/components/image-options.en-D2iUVarz.js +0 -86
  1934. package/components/image-options.es-CKpabSfB.js +0 -86
  1935. package/components/image-options.fr-vfaeguWy.js +0 -86
  1936. package/components/image-options.nl-B16JINhD.js +0 -86
  1937. package/components/image-slots.config-BPJRdlMR.cjs +0 -20
  1938. package/components/image-slots.config-Ba8NXeCH.js +0 -24
  1939. package/components/info-tooltip-options.config-BmSMkirf.js +0 -59
  1940. package/components/info-tooltip-options.i18n-CDx47Py-.js +0 -74
  1941. package/components/interactive-viz-item-Baea0P3_.cjs +0 -261
  1942. package/components/interactive-viz-item-CUMd_0jC.js +0 -528
  1943. package/components/interactivity-options.config-BjEGNaIz.js +0 -73
  1944. package/components/interactivity-options.i18n-UhOnnlBC.js +0 -59
  1945. package/components/it-BoudiwDn.js +0 -331
  1946. package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
  1947. package/components/item-grid-d2OADwan.cjs +0 -113
  1948. package/components/item-grid-kdpHgrsl.js +0 -4560
  1949. package/components/item-option-JwAx3YmC.js +0 -956
  1950. package/components/item-option-action-button-group-Ca0pf6i5.js +0 -119
  1951. package/components/item-option-action-button-group-DkAZ9OY0.cjs +0 -53
  1952. package/components/item-option-base-AaUo_MZX.cjs +0 -56
  1953. package/components/item-option-base-j4KIWhhs.js +0 -123
  1954. package/components/item-option-color-palette-picker-DawX4mFm.cjs +0 -40
  1955. package/components/item-option-color-palette-picker-OYFI9Lyv.js +0 -2042
  1956. package/components/item-option-color-picker-CucECBTQ.js +0 -88
  1957. package/components/item-option-color-picker-D0wxlRKT.cjs +0 -34
  1958. package/components/item-option-color-range-BsKL3vNf.cjs +0 -98
  1959. package/components/item-option-color-range-DEKwcRnW.js +0 -221
  1960. package/components/item-option-guidelines-CBS-l6Og.js +0 -420
  1961. package/components/item-option-guidelines-a-JZ6vET.cjs +0 -135
  1962. package/components/item-option-multi-language-field-B_iIHt9f.cjs +0 -33
  1963. package/components/item-option-multi-language-field-DsjULq1Z.js +0 -83
  1964. package/components/item-option-number-field-CMvMANg3.js +0 -103
  1965. package/components/item-option-number-field-Cu3Xp7O1.cjs +0 -38
  1966. package/components/item-option-panel-Bt-auTxh.js +0 -184
  1967. package/components/item-option-panel-CGglC0L3.cjs +0 -67
  1968. package/components/item-option-picker-Bbo9FLVK.js +0 -78
  1969. package/components/item-option-picker-Cs6IJBwI.cjs +0 -37
  1970. package/components/item-option-position-picker-9WEGAJwv.js +0 -118
  1971. package/components/item-option-position-picker-DjeaIbof.cjs +0 -32
  1972. package/components/item-option-positions-number-field-D9sacfwi.cjs +0 -49
  1973. package/components/item-option-positions-number-field-VAjwbcp-.js +0 -165
  1974. package/components/item-option-radio-button-group-BH6Rrjqn.cjs +0 -37
  1975. package/components/item-option-radio-button-group-C78B2JTq.js +0 -75
  1976. package/components/item-option-slider-C8ohnELg.js +0 -97
  1977. package/components/item-option-slider-DfrO8o4P.cjs +0 -33
  1978. package/components/item-option-switch-5-9yM_CB.js +0 -70
  1979. package/components/item-option-switch-CBDaX0VP.cjs +0 -30
  1980. package/components/item-option-text-field-BuGQRbBd.cjs +0 -33
  1981. package/components/item-option-text-field-Dfhyiw3g.js +0 -81
  1982. package/components/item-option-wljWGlVP.cjs +0 -269
  1983. package/components/item-slot-drop-BoHMbf5d.js +0 -332
  1984. package/components/item-slot-drop-DzI3J188.cjs +0 -91
  1985. package/components/item-slot-drop-panel-DAV5hZAK.js +0 -356
  1986. package/components/item-slot-drop-panel-DUZiKuGU.cjs +0 -57
  1987. package/components/item-slot-picker-D93zj2Gb.js +0 -506
  1988. package/components/item-slot-picker-Kw-XELzL.cjs +0 -174
  1989. package/components/item-slot-picker-panel-B4YB1TZm.cjs +0 -81
  1990. package/components/item-slot-picker-panel-PQ4ahhjg.js +0 -449
  1991. package/components/ja-DOkmGGSd.js +0 -126
  1992. package/components/ko-BrzKwqTe.js +0 -126
  1993. package/components/line-chart-options.config-C3_RnROS.js +0 -237
  1994. package/components/line-chart-options.config-RTYFJQSE.cjs +0 -20
  1995. package/components/line-chart-options.de-CKbHARjX.cjs +0 -20
  1996. package/components/line-chart-options.de-CtxTZ-Nx.js +0 -81
  1997. package/components/line-chart-options.en-BgXtU92P.js +0 -81
  1998. package/components/line-chart-options.en-DmtT3Hbw.cjs +0 -20
  1999. package/components/line-chart-options.es--u7QlrhG.js +0 -81
  2000. package/components/line-chart-options.es-BwyQviz-.cjs +0 -20
  2001. package/components/line-chart-options.fr-BUwOFGR7.cjs +0 -20
  2002. package/components/line-chart-options.fr-BaPc1M70.js +0 -81
  2003. package/components/line-chart-options.nl-BkPXShNF.cjs +0 -20
  2004. package/components/line-chart-options.nl-C86fSn7a.js +0 -81
  2005. package/components/line-chart-positioning.config-CZZzCHZy.cjs +0 -20
  2006. package/components/line-chart-positioning.config-hnE1mHxC.js +0 -55
  2007. package/components/line-chart-slots.config-CA-I6B6o.js +0 -55
  2008. package/components/line-chart-slots.config-vv66fcoE.cjs +0 -20
  2009. package/components/load-data-fields-for-datasets-C8QzYyAq.cjs +0 -20
  2010. package/components/load-data-fields-for-datasets-eFeQdDxV.js +0 -42
  2011. package/components/localize-BT7REYBY.js +0 -29
  2012. package/components/localized-mixin-B-kGsAm4.cjs +0 -20
  2013. package/components/localized-mixin-a1sQVLdN.js +0 -45
  2014. package/components/map-tile-providers-RN2cWRln.js +0 -115
  2015. package/components/marker-map-options.config-OMdgbAc4.js +0 -122
  2016. package/components/marker-map-options.config-SkhbtEh0.cjs +0 -20
  2017. package/components/marker-map-options.de-DVb2ab5i.js +0 -63
  2018. package/components/marker-map-options.en-BNwkDxQB.js +0 -63
  2019. package/components/marker-map-options.es-CY2DRGKv.js +0 -63
  2020. package/components/marker-map-options.fr-D31wgwxG.js +0 -63
  2021. package/components/marker-map-options.nl-DyZo_CFt.js +0 -63
  2022. package/components/marker-map-positioning.config-CwgtUUq-.js +0 -48
  2023. package/components/marker-map-positioning.config-D-I0B6m9.cjs +0 -20
  2024. package/components/marker-map-slots.config-CcGNgr1_.js +0 -37
  2025. package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
  2026. package/components/mk-Deht4BwZ.js +0 -126
  2027. package/components/nl-C1BTOQ5N.js +0 -138
  2028. package/components/nl-DcbYQmCW.cjs +0 -20
  2029. package/components/nl-ykFfpBh5.js +0 -592
  2030. package/components/no-C9FQ33Mp.js +0 -138
  2031. package/components/ohlc-chart-options.config-CWRI5bXI.js +0 -94
  2032. package/components/ohlc-chart-options.config-Pqd5MFIv.cjs +0 -20
  2033. package/components/ohlc-chart-options.de-LnJmQjiR.js +0 -63
  2034. package/components/ohlc-chart-options.en-B7TU8CK4.js +0 -63
  2035. package/components/ohlc-chart-options.es-B7m8-_pA.js +0 -63
  2036. package/components/ohlc-chart-options.fr-u_Bi9raw.js +0 -63
  2037. package/components/ohlc-chart-options.nl-BrpwjNGt.js +0 -63
  2038. package/components/ohlc-chart-positioning.config-Bq5TsRQX.cjs +0 -20
  2039. package/components/ohlc-chart-positioning.config-DBAi7BZB.js +0 -78
  2040. package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
  2041. package/components/ohlc-chart-slots.config-Pv0xst-Y.js +0 -68
  2042. package/components/orion-CXeT8EeB.js +0 -68
  2043. package/components/parallel-coordinates-plot-options.config-2BbzNgJ9.cjs +0 -20
  2044. package/components/parallel-coordinates-plot-options.config-DbuNgevO.js +0 -48
  2045. package/components/parallel-coordinates-plot-options.de-BwbOcCnH.js +0 -31
  2046. package/components/parallel-coordinates-plot-options.en-BlzPfF-b.js +0 -31
  2047. package/components/parallel-coordinates-plot-options.es-CPAqJPEY.js +0 -31
  2048. package/components/parallel-coordinates-plot-options.fr-DRTOCvqg.js +0 -31
  2049. package/components/parallel-coordinates-plot-options.nl-DqXxaV_Z.js +0 -31
  2050. package/components/parallel-coordinates-plot-positioning.config-DMQ-JdJa.cjs +0 -20
  2051. package/components/parallel-coordinates-plot-positioning.config-DY4k14h-.js +0 -48
  2052. package/components/parallel-coordinates-plot-slots.config-GvYC-RXK.js +0 -46
  2053. package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
  2054. package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
  2055. package/components/periods.const-NCTkxnvG.js +0 -155
  2056. package/components/pinky-CtuaRwwY.js +0 -68
  2057. package/components/pivot-table-options.config-CTz4bcGJ.js +0 -249
  2058. package/components/pivot-table-options.config-D6Hdgnof.cjs +0 -20
  2059. package/components/pivot-table-options.de-CZjCOf23.js +0 -67
  2060. package/components/pivot-table-options.en-Z6QZwj0n.js +0 -67
  2061. package/components/pivot-table-options.es-DW1enov2.js +0 -67
  2062. package/components/pivot-table-options.fr-Cl4jkSR4.js +0 -67
  2063. package/components/pivot-table-options.nl-CaWEP9qN.js +0 -67
  2064. package/components/pivot-table-positioning.config-BrD6ejPq.js +0 -55
  2065. package/components/pivot-table-positioning.config-DoMx9qf8.cjs +0 -20
  2066. package/components/pivot-table-slots.config-BAW0U3nh.js +0 -55
  2067. package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
  2068. package/components/pl-4xvkt0Pl.js +0 -126
  2069. package/components/pragmatic-element-adapter-D0LRKx5U.js +0 -1253
  2070. package/components/pragmatic-element-adapter-DdyH32ix.cjs +0 -24
  2071. package/components/pt-BUpCBhz9.js +0 -126
  2072. package/components/pyramid-chart-options.config-C7btzuZj.js +0 -220
  2073. package/components/pyramid-chart-options.config-ClLsv7PT.cjs +0 -20
  2074. package/components/pyramid-chart-options.de-BYqibA2g.cjs +0 -20
  2075. package/components/pyramid-chart-options.de-C7n_k-tE.js +0 -102
  2076. package/components/pyramid-chart-options.en-Cu93qdAo.js +0 -102
  2077. package/components/pyramid-chart-options.en-HiLgjfbn.cjs +0 -20
  2078. package/components/pyramid-chart-options.es-BQ8qCZ32.cjs +0 -20
  2079. package/components/pyramid-chart-options.es-DCRAv4r_.js +0 -102
  2080. package/components/pyramid-chart-options.fr-BA7xAAsG.cjs +0 -20
  2081. package/components/pyramid-chart-options.fr-CLXgcrPz.js +0 -102
  2082. package/components/pyramid-chart-options.nl-BYiPyjuQ.cjs +0 -20
  2083. package/components/pyramid-chart-options.nl-CylUmHpw.js +0 -102
  2084. package/components/pyramid-chart-positioning.config-Bz-ZEuur.cjs +0 -20
  2085. package/components/pyramid-chart-positioning.config-QOCFPfhT.js +0 -55
  2086. package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
  2087. package/components/pyramid-chart-slots.config-CsMMyhV3.js +0 -50
  2088. package/components/radar-chart-options.config-B5WP2MPc.cjs +0 -20
  2089. package/components/radar-chart-options.config-CtA6MpUp.js +0 -152
  2090. package/components/radar-chart-options.de-BZPerBca.js +0 -46
  2091. package/components/radar-chart-options.de-D9sVJ3e-.cjs +0 -20
  2092. package/components/radar-chart-options.en-Brb_kgjH.cjs +0 -20
  2093. package/components/radar-chart-options.en-tDJgJQVC.js +0 -46
  2094. package/components/radar-chart-options.es-BmpV458O.cjs +0 -20
  2095. package/components/radar-chart-options.es-Dz4wRR-P.js +0 -46
  2096. package/components/radar-chart-options.fr-B-gaDJX4.cjs +0 -20
  2097. package/components/radar-chart-options.fr-D5KXeury.js +0 -46
  2098. package/components/radar-chart-options.nl-D3_CmNB3.js +0 -46
  2099. package/components/radar-chart-options.nl-DH_wKvgI.cjs +0 -20
  2100. package/components/radar-chart-positioning.config-B-hbgxmM.cjs +0 -20
  2101. package/components/radar-chart-positioning.config-D54nVbnn.js +0 -55
  2102. package/components/radar-chart-slots.config-8Kf_WAFi.js +0 -53
  2103. package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
  2104. package/components/radiant-CFMCU8Ue.js +0 -71
  2105. package/components/regular-table-options.config-BRmS77t-.js +0 -153
  2106. package/components/regular-table-options.config-nBBnO4ru.cjs +0 -20
  2107. package/components/regular-table-options.de-g9j453gb.js +0 -57
  2108. package/components/regular-table-options.en-BrufALdp.js +0 -57
  2109. package/components/regular-table-options.es-CTDJJHWO.js +0 -57
  2110. package/components/regular-table-options.fr-CwmYI6Kh.js +0 -57
  2111. package/components/regular-table-options.nl-Dco7Br5G.js +0 -57
  2112. package/components/regular-table-positioning.config-DegSA7rc.js +0 -38
  2113. package/components/regular-table-slots.config-UwzWj6gg.cjs +0 -20
  2114. package/components/regular-table-slots.config-r-N9A-qA.js +0 -35
  2115. package/components/resolve-column-presentation-BaEP1mvs.js +0 -34
  2116. package/components/rolldown-runtime-mLOUI7ql.cjs +0 -20
  2117. package/components/route-map-options.config-C65J81_7.js +0 -328
  2118. package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
  2119. package/components/route-map-options.de-C8gPppGo.js +0 -76
  2120. package/components/route-map-options.en-Bqo2qPTY.js +0 -76
  2121. package/components/route-map-options.es-Bk1nyazp.js +0 -76
  2122. package/components/route-map-options.fr-vq0ht9wS.js +0 -76
  2123. package/components/route-map-options.nl-CBhNlitV.js +0 -76
  2124. package/components/route-map-positioning.config-BP_T0wdg.cjs +0 -20
  2125. package/components/route-map-positioning.config-BdcjFezT.js +0 -66
  2126. package/components/route-map-slots.config-DMII2UuP.js +0 -59
  2127. package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
  2128. package/components/royale-Cy1oOAE2.js +0 -60
  2129. package/components/ru-CkNBR3ab.js +0 -126
  2130. package/components/sankey-diagram-options.config-DZDqv5aI.cjs +0 -20
  2131. package/components/sankey-diagram-options.config-nQDCRhKs.js +0 -130
  2132. package/components/sankey-diagram-options.de-CDt5-4Rb.js +0 -63
  2133. package/components/sankey-diagram-options.en-65nfEWo_.js +0 -63
  2134. package/components/sankey-diagram-options.es-JD4SHY3x.js +0 -63
  2135. package/components/sankey-diagram-options.fr-B7wQDggY.js +0 -63
  2136. package/components/sankey-diagram-options.nl-CHqVVjut.js +0 -63
  2137. package/components/sankey-diagram-positioning.config-CJFdnnog.js +0 -66
  2138. package/components/sankey-diagram-positioning.config-CSizvya4.cjs +0 -20
  2139. package/components/sankey-diagram-slots.config-D-_u4w36.cjs +0 -20
  2140. package/components/sankey-diagram-slots.config-DmWIGut0.js +0 -61
  2141. package/components/scatter-plot-options.config-BplrME7w.js +0 -133
  2142. package/components/scatter-plot-options.config-DJW85uFv.cjs +0 -20
  2143. package/components/scatter-plot-options.de-3CPVK7Hi.cjs +0 -20
  2144. package/components/scatter-plot-options.de-CNLrv6j3.js +0 -99
  2145. package/components/scatter-plot-options.en-DigMzpQy.js +0 -99
  2146. package/components/scatter-plot-options.en-Dzvigy8-.cjs +0 -20
  2147. package/components/scatter-plot-options.es-C-IH7GVH.cjs +0 -20
  2148. package/components/scatter-plot-options.es-CQm_VVqJ.js +0 -99
  2149. package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +0 -20
  2150. package/components/scatter-plot-options.fr-s0M39VT4.js +0 -99
  2151. package/components/scatter-plot-options.nl-CqpPIO03.js +0 -99
  2152. package/components/scatter-plot-options.nl-DeINlMqc.cjs +0 -20
  2153. package/components/scatter-plot-positioning.config-0MsqvxF9.cjs +0 -20
  2154. package/components/scatter-plot-positioning.config-BFFT7WH7.js +0 -77
  2155. package/components/scatter-plot-slots.config-B7wQVEEj.js +0 -74
  2156. package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
  2157. package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
  2158. package/components/search-filter-options.config-yAz6IIto.js +0 -103
  2159. package/components/search-filter-options.de-BxVThclj.js +0 -42
  2160. package/components/search-filter-options.en-CVxOFFq-.js +0 -42
  2161. package/components/search-filter-options.es-YKtCfXeL.js +0 -42
  2162. package/components/search-filter-options.fr-GGa8ofab.js +0 -42
  2163. package/components/search-filter-options.nl-ysVe1z-i.js +0 -42
  2164. package/components/search-filter-positioning.config-DOSL-FX_.js +0 -38
  2165. package/components/search-filter-slots.config-D8-V0BT5.js +0 -39
  2166. package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
  2167. package/components/seasonal-DZkRSBgY.js +0 -76
  2168. package/components/set-locale-B1IG9a_t.cjs +0 -20
  2169. package/components/set-locale-jywkF7Cd.js +0 -43
  2170. package/components/set-nested-value-V1TdquO3.js +0 -33
  2171. package/components/slicer-filter-options.config-BtGkT2hI.js +0 -235
  2172. package/components/slicer-filter-options.config-Cyjd_SRY.cjs +0 -20
  2173. package/components/slicer-filter-options.de-Ck5STkcT.js +0 -69
  2174. package/components/slicer-filter-options.en-RaYV5qQy.js +0 -69
  2175. package/components/slicer-filter-options.es-C1LS6cqV.js +0 -69
  2176. package/components/slicer-filter-options.fr-CYOej3j3.js +0 -69
  2177. package/components/slicer-filter-options.nl-B9CyFXTX.js +0 -69
  2178. package/components/slicer-filter-positioning.config-CTd0dgry.cjs +0 -20
  2179. package/components/slicer-filter-positioning.config-uZCxM9WR.js +0 -48
  2180. package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
  2181. package/components/slicer-filter-slots.config-DR0Wg_Zr.js +0 -44
  2182. package/components/slider-filter-options.config-BeIw6IrQ.cjs +0 -20
  2183. package/components/slider-filter-options.config-D_yZ_nFz.js +0 -72
  2184. package/components/slider-filter-options.de-CUPN4B_3.js +0 -35
  2185. package/components/slider-filter-options.en-CqnlQHF8.js +0 -35
  2186. package/components/slider-filter-options.es-CN-cg2rH.js +0 -35
  2187. package/components/slider-filter-options.fr-BxgSJRs4.js +0 -35
  2188. package/components/slider-filter-options.nl-Cd41AI1Z.js +0 -35
  2189. package/components/slider-filter-positioning.config-DSoEN2ip.js +0 -38
  2190. package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
  2191. package/components/slider-filter-slots.config-BUHw-32u.js +0 -43
  2192. package/components/slot-labels.config-3nXLBRdr.js +0 -63
  2193. package/components/slot-menu-C_KXMZ40.js +0 -429
  2194. package/components/slot-menu-UZvDoXeJ.cjs +0 -71
  2195. package/components/slot-menu-list-BM8QDl6f.cjs +0 -44
  2196. package/components/slot-menu-list-C5b4YdMp.js +0 -348
  2197. package/components/slot-role-classification-2wChhpcq.cjs +0 -20
  2198. package/components/slot-role-classification-B8bkGhQ_.js +0 -133
  2199. package/components/slots-config-Cd4xAG4H.cjs +0 -20
  2200. package/components/slots-config-GlSNH7Gr.js +0 -76
  2201. package/components/spacer-options.config-C27xkF_H.js +0 -23
  2202. package/components/speedometer-chart-options.config-BL7evgzP.js +0 -251
  2203. package/components/speedometer-chart-options.config-CEIZfeYG.cjs +0 -20
  2204. package/components/speedometer-chart-options.de-9J5HFt8T.js +0 -66
  2205. package/components/speedometer-chart-options.en-DSQsXJfa.js +0 -66
  2206. package/components/speedometer-chart-options.es-BGphL673.js +0 -66
  2207. package/components/speedometer-chart-options.fr-Cj4C4th7.js +0 -66
  2208. package/components/speedometer-chart-options.nl-BKNd6tYT.js +0 -66
  2209. package/components/speedometer-chart-positioning.config-5_dDGLcj.js +0 -48
  2210. package/components/speedometer-chart-positioning.config-iFrwMA8o.cjs +0 -20
  2211. package/components/speedometer-chart-slots.config-2Y_x52Gy.js +0 -39
  2212. package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
  2213. package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
  2214. package/components/spike-map-options.config-DjoTrAsC.js +0 -415
  2215. package/components/spike-map-options.de-J48HW0-l.js +0 -103
  2216. package/components/spike-map-options.en-Cic1NUan.js +0 -103
  2217. package/components/spike-map-options.es-DbCa45oc.js +0 -103
  2218. package/components/spike-map-options.fr-LqDsPbpZ.js +0 -103
  2219. package/components/spike-map-options.nl-CRaM6WoB.js +0 -103
  2220. package/components/spike-map-positioning.config-DmeQEvYs.js +0 -55
  2221. package/components/spike-map-positioning.config-Il5adl7y.cjs +0 -20
  2222. package/components/spike-map-slots.config-DJWMFPIR.js +0 -47
  2223. package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
  2224. package/components/strip-plot-options.config-DpRoR04b.cjs +0 -20
  2225. package/components/strip-plot-options.config-tDmVlu9U.js +0 -54
  2226. package/components/strip-plot-options.de-vzJck0Vn.js +0 -31
  2227. package/components/strip-plot-options.en-Bdv_ZOrd.js +0 -31
  2228. package/components/strip-plot-options.es-B91vttJc.js +0 -31
  2229. package/components/strip-plot-options.fr-DJQiJ_Zf.js +0 -31
  2230. package/components/strip-plot-options.nl-Dx7PVRrW.js +0 -31
  2231. package/components/strip-plot-positioning.config-BDeWD7-S.js +0 -48
  2232. package/components/strip-plot-positioning.config-Bq6LZ8KO.cjs +0 -20
  2233. package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
  2234. package/components/strip-plot-slots.config-suFyIf5-.js +0 -38
  2235. package/components/sunburst-chart-options.config-Bjue_lQN.js +0 -184
  2236. package/components/sunburst-chart-options.config-DszAtggj.cjs +0 -20
  2237. package/components/sunburst-chart-options.de-Cv5jxNjX.js +0 -60
  2238. package/components/sunburst-chart-options.de-DV_80qR9.cjs +0 -20
  2239. package/components/sunburst-chart-options.en-Zfns8M0i.cjs +0 -20
  2240. package/components/sunburst-chart-options.en-wsOVOyb6.js +0 -60
  2241. package/components/sunburst-chart-options.es-BSKiBxl_.cjs +0 -20
  2242. package/components/sunburst-chart-options.es-Qhu6VcVi.js +0 -60
  2243. package/components/sunburst-chart-options.fr-DOcWgNOZ.cjs +0 -20
  2244. package/components/sunburst-chart-options.fr-GdCEoo8O.js +0 -60
  2245. package/components/sunburst-chart-options.nl-D2JXoYTB.cjs +0 -20
  2246. package/components/sunburst-chart-options.nl-oTUKol5z.js +0 -60
  2247. package/components/sunburst-chart-positioning.config-DKmnqc9L.cjs +0 -20
  2248. package/components/sunburst-chart-positioning.config-HfC8--mz.js +0 -48
  2249. package/components/sunburst-chart-slots.config-BqVT-h0Z.js +0 -38
  2250. package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +0 -20
  2251. package/components/sv-D2kQHkgH.js +0 -126
  2252. package/components/symbol-map-options.config-Ce0Kv7N7.cjs +0 -20
  2253. package/components/symbol-map-options.config-Dyeya5Z2.js +0 -179
  2254. package/components/symbol-map-options.de-CAapWyZM.js +0 -66
  2255. package/components/symbol-map-options.en-CaXeV5i_.js +0 -66
  2256. package/components/symbol-map-options.es-Ccu0xWZb.js +0 -66
  2257. package/components/symbol-map-options.fr-B7F1XlQX.js +0 -66
  2258. package/components/symbol-map-options.nl-DkV83AGA.js +0 -66
  2259. package/components/symbol-map-positioning.config-BhH19JiS.js +0 -55
  2260. package/components/symbol-map-positioning.config-TjmD9qTx.cjs +0 -20
  2261. package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
  2262. package/components/symbol-map-slots.config-Rhpher5o.js +0 -53
  2263. package/components/text-options.config-BwBCG2yo.cjs +0 -20
  2264. package/components/text-options.config-CXhvzzPF.js +0 -67
  2265. package/components/text-options.de-Rtef15Lz.js +0 -30
  2266. package/components/text-options.en-YdJ2bVwv.js +0 -30
  2267. package/components/text-options.es-Chd8-zuc.js +0 -30
  2268. package/components/text-options.fr-CWeBOXaW.js +0 -30
  2269. package/components/text-options.nl-CyY1z7nM.js +0 -30
  2270. package/components/text-slots.config-CPghLc8b.cjs +0 -20
  2271. package/components/text-slots.config-Dzj4-x2G.js +0 -24
  2272. package/components/themes-CQZd578_.js +0 -72
  2273. package/components/tokens-Ov1pCR4Y.js +0 -29
  2274. package/components/tr-B66hMkRl.js +0 -138
  2275. package/components/treemap-chart-options.config-BzOCEWog.js +0 -211
  2276. package/components/treemap-chart-options.config-Cpj6vD6I.cjs +0 -20
  2277. package/components/treemap-chart-options.de-ByDBntoA.js +0 -64
  2278. package/components/treemap-chart-options.en-0-5g1Vjs.js +0 -64
  2279. package/components/treemap-chart-options.es-CDkb_3c3.js +0 -64
  2280. package/components/treemap-chart-options.fr-rj0fjvUO.js +0 -64
  2281. package/components/treemap-chart-options.nl-CQjDtoqG.js +0 -64
  2282. package/components/treemap-chart-positioning.config-DRcKF0l5.js +0 -55
  2283. package/components/treemap-chart-positioning.config-QWbeQo0k.cjs +0 -20
  2284. package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
  2285. package/components/treemap-chart-slots.config-DRcafVU-.js +0 -47
  2286. package/components/type-check-CGREdneG.js +0 -52
  2287. package/components/types-DNRGKFSD.js +0 -44
  2288. package/components/urban-8R0DqHZs.js +0 -71
  2289. package/components/utils-D_2sPb6e.js +0 -240
  2290. package/components/utils-NUBVlX2X.cjs +0 -20
  2291. package/components/v4-DIjJgmR0.js +0 -49
  2292. package/components/venn-diagram-options.config-BMlduwIp.js +0 -24
  2293. package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
  2294. package/components/venn-diagram-positioning.config-CQhTMPoU.js +0 -55
  2295. package/components/venn-diagram-positioning.config-D0iy_fTw.cjs +0 -20
  2296. package/components/venn-diagram-slots.config-CMDndPVi.js +0 -47
  2297. package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
  2298. package/components/video-options.config-BhBpkaLJ.cjs +0 -20
  2299. package/components/video-options.config-DdfSTJEJ.js +0 -127
  2300. package/components/video-options.de-CqDvojKb.js +0 -60
  2301. package/components/video-options.en-DWsFJndr.js +0 -60
  2302. package/components/video-options.es-C986CdLZ.js +0 -60
  2303. package/components/video-options.fr-CF8lEOzZ.js +0 -60
  2304. package/components/video-options.nl-DnHgROBb.js +0 -60
  2305. package/components/video-slots.config-DMut7o7r.cjs +0 -20
  2306. package/components/video-slots.config-Utnn0DBW.js +0 -24
  2307. package/components/vivid-YDTQ3C2-.js +0 -72
  2308. package/components/viz-item-menu/index.cjs +0 -20
  2309. package/components/viz-item-menu/index.d.ts +0 -8
  2310. package/components/viz-item-menu/index.js +0 -21
  2311. package/components/viz-item-menu/types.d.ts +0 -9
  2312. package/components/viz-item-menu/viz-item-menu.d.ts +0 -85
  2313. package/components/viz-item-menu-D0h7wZWt.cjs +0 -63
  2314. package/components/viz-item-menu-Dy3hXg1_.js +0 -203
  2315. package/components/wordcloud-chart-options.config-BQ4Z-vPT.cjs +0 -20
  2316. package/components/wordcloud-chart-options.config-y9Z5I_ZN.js +0 -97
  2317. package/components/wordcloud-chart-options.de-0T6RwBxn.js +0 -49
  2318. package/components/wordcloud-chart-options.en-xMN7HxWU.js +0 -49
  2319. package/components/wordcloud-chart-options.es-DPccPG_x.js +0 -49
  2320. package/components/wordcloud-chart-options.fr-D6DKbL9I.js +0 -49
  2321. package/components/wordcloud-chart-options.nl-CBKMvA4E.js +0 -49
  2322. package/components/wordcloud-chart-positioning.config-BP8mOBS_.js +0 -55
  2323. package/components/wordcloud-chart-positioning.config-DN9GHjCI.cjs +0 -20
  2324. package/components/wordcloud-chart-slots.config-CvabtgbP.js +0 -45
  2325. package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
  2326. package/components/zh-CN-EbmFbkUF.js +0 -126
  2327. package/components/zh-TW-zX5KG7hP.js +0 -126
  2328. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  2329. package/react/components/viz-item-menu.component.ts +0 -33
  2330. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  2331. package/react/esm/components/viz-item-menu.component.js +0 -21
  2332. package/standalone/chunks/add-to-dashboard-B8vSrVm1.js +0 -148
  2333. package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +0 -2
  2334. package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +0 -2
  2335. package/standalone/chunks/area-chart-options.en-DV1AZ274.js +0 -2
  2336. package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +0 -2
  2337. package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +0 -2
  2338. package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +0 -2
  2339. package/standalone/chunks/axis-options.config-DP9f04t6.js +0 -2
  2340. package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +0 -2
  2341. package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +0 -2
  2342. package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +0 -2
  2343. package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +0 -2
  2344. package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +0 -2
  2345. package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +0 -2
  2346. package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +0 -2
  2347. package/standalone/chunks/base-Cxkw-IoQ.js +0 -2
  2348. package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +0 -2
  2349. package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +0 -2
  2350. package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +0 -2
  2351. package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +0 -2
  2352. package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +0 -2
  2353. package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +0 -2
  2354. package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +0 -2
  2355. package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +0 -2
  2356. package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +0 -2
  2357. package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +0 -2
  2358. package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +0 -2
  2359. package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +0 -2
  2360. package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +0 -2
  2361. package/standalone/chunks/chart-helpers-BplLoVQz.js +0 -2
  2362. package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +0 -2
  2363. package/standalone/chunks/color-DaeCRJ5Q.js +0 -2
  2364. package/standalone/chunks/color-range-utils-CLqVCA5J.js +0 -2
  2365. package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +0 -2
  2366. package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +0 -2
  2367. package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +0 -2
  2368. package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +0 -2
  2369. package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +0 -2
  2370. package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +0 -2
  2371. package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +0 -2
  2372. package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +0 -2
  2373. package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +0 -2
  2374. package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +0 -2
  2375. package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +0 -2
  2376. package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +0 -2
  2377. package/standalone/chunks/data-broker-Dgg5mQze.js +0 -2
  2378. package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +0 -2
  2379. package/standalone/chunks/de-Cdj3urck.js +0 -2
  2380. package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +0 -2
  2381. package/standalone/chunks/default-local-formats-CES1ItiK.js +0 -2
  2382. package/standalone/chunks/display-settings-binning-CkTukb8z.js +0 -38
  2383. package/standalone/chunks/display-settings-datetime-BwSjSHkd.js +0 -199
  2384. package/standalone/chunks/display-settings-grand-totals-BI5D3vGd.js +0 -26
  2385. package/standalone/chunks/display-settings-numeric-Bo_aBmkG.js +0 -172
  2386. package/standalone/chunks/display-settings-period-over-period-Ctzr60H_.js +0 -209
  2387. package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +0 -2
  2388. package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +0 -2
  2389. package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +0 -2
  2390. package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +0 -2
  2391. package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +0 -2
  2392. package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +0 -2
  2393. package/standalone/chunks/embed-DjpHVUzS.js +0 -228
  2394. package/standalone/chunks/en-BD2RCLuw.js +0 -2
  2395. package/standalone/chunks/en-GB-DnwmFNwC.js +0 -2
  2396. package/standalone/chunks/en-US-BD2RCLuw.js +0 -2
  2397. package/standalone/chunks/es-Dtd2N5jR.js +0 -2
  2398. package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +0 -2
  2399. package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +0 -2
  2400. package/standalone/chunks/evolution-number-options.en-riChGfa6.js +0 -2
  2401. package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +0 -2
  2402. package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +0 -2
  2403. package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +0 -2
  2404. package/standalone/chunks/filters-CyrW0E5Y.js +0 -544
  2405. package/standalone/chunks/formatter-B7zz6UOp.js +0 -2
  2406. package/standalone/chunks/formula-codemirror-IUKFE1Kz.js +0 -197
  2407. package/standalone/chunks/fr-BYvUUvgQ.js +0 -2
  2408. package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +0 -2
  2409. package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +0 -2
  2410. package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +0 -2
  2411. package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +0 -2
  2412. package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +0 -2
  2413. package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +0 -2
  2414. package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +0 -2
  2415. package/standalone/chunks/heat-table-options.config-ByHwT44G.js +0 -2
  2416. package/standalone/chunks/heat-table-options.de-BMx67hXo.js +0 -2
  2417. package/standalone/chunks/heat-table-options.en-BbobGoXs.js +0 -2
  2418. package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +0 -2
  2419. package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +0 -2
  2420. package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +0 -2
  2421. package/standalone/chunks/item-option-action-button-group-DY3cJhwT.js +0 -35
  2422. package/standalone/chunks/item-option-base-ByIsjLNr.js +0 -38
  2423. package/standalone/chunks/item-option-color-palette-picker-CAJQQYlJ.js +0 -22
  2424. package/standalone/chunks/item-option-color-picker-DaydWbp4.js +0 -16
  2425. package/standalone/chunks/item-option-color-range-ZtyqYH6s.js +0 -80
  2426. package/standalone/chunks/item-option-guidelines-jl3DurnC.js +0 -117
  2427. package/standalone/chunks/item-option-multi-language-field-B1yL1_h2.js +0 -15
  2428. package/standalone/chunks/item-option-number-field-z7U9fqwG.js +0 -20
  2429. package/standalone/chunks/item-option-panel-Brtv-ZJc.js +0 -298
  2430. package/standalone/chunks/item-option-picker-5TZm8ava.js +0 -19
  2431. package/standalone/chunks/item-option-position-picker-D1xBaRVj.js +0 -14
  2432. package/standalone/chunks/item-option-positions-number-field-BVUJlmrc.js +0 -31
  2433. package/standalone/chunks/item-option-radio-button-group-BUiIeoaT.js +0 -19
  2434. package/standalone/chunks/item-option-slider-CkDEpJ_1.js +0 -15
  2435. package/standalone/chunks/item-option-switch-C1AuP-TA.js +0 -12
  2436. package/standalone/chunks/item-option-text-field-BNJ1AyYT.js +0 -15
  2437. package/standalone/chunks/item-slot-picker-panel-VIf7-0St.js +0 -439
  2438. package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +0 -2
  2439. package/standalone/chunks/line-chart-options.de-BScjvJsI.js +0 -2
  2440. package/standalone/chunks/line-chart-options.en-BVWFsre-.js +0 -2
  2441. package/standalone/chunks/line-chart-options.es-CxNJevNs.js +0 -2
  2442. package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +0 -2
  2443. package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +0 -2
  2444. package/standalone/chunks/lit-localize-CIGP-NUw.js +0 -2
  2445. package/standalone/chunks/load-data-fields-for-datasets-CjOt0TtW.js +0 -25
  2446. package/standalone/chunks/load-formula-codemirror-CfPwEi_Z.js +0 -6
  2447. package/standalone/chunks/localize-BXHWaHdZ.js +0 -2
  2448. package/standalone/chunks/localized-decorator-Buib6Rq1.js +0 -2
  2449. package/standalone/chunks/localized-mixin-DY0QxOC9.js +0 -2
  2450. package/standalone/chunks/luzmo-icon-markup-Cw93OB80.js +0 -13
  2451. package/standalone/chunks/nl-DxhHxYCs.js +0 -2
  2452. package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +0 -2
  2453. package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +0 -2
  2454. package/standalone/chunks/periods.const-Cie50jR4.js +0 -2
  2455. package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +0 -2
  2456. package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +0 -2
  2457. package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +0 -2
  2458. package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +0 -2
  2459. package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +0 -2
  2460. package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +0 -2
  2461. package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +0 -2
  2462. package/standalone/chunks/radar-chart-options.de-_LSueG69.js +0 -2
  2463. package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +0 -2
  2464. package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +0 -2
  2465. package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +0 -2
  2466. package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +0 -2
  2467. package/standalone/chunks/route-map-options.config-CWyA9_SB.js +0 -2
  2468. package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +0 -2
  2469. package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +0 -2
  2470. package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +0 -2
  2471. package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +0 -2
  2472. package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +0 -2
  2473. package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +0 -2
  2474. package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +0 -2
  2475. package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +0 -2
  2476. package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +0 -2
  2477. package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +0 -2
  2478. package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +0 -2
  2479. package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +0 -2
  2480. package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +0 -2
  2481. package/standalone/chunks/task-pfWn4DHD.js +0 -2
  2482. package/standalone/chunks/themes-BD5sKr3j.js +0 -2
  2483. package/standalone/chunks/type-check-CC6bgirK.js +0 -2
  2484. package/standalone/chunks/types-BS6dxSMT.js +0 -2
  2485. package/standalone/chunks/v4-CI0qP0ur.js +0 -2
  2486. package/standalone/chunks/version-DJES6maY.js +0 -2
@@ -0,0 +1,4464 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2026 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import "./tokens-6HmQYnEP.js";
21
+ import { t as e } from "./decorate-B2TzfnLZ.js";
22
+ import { t } from "./color-CQcCK-_O.js";
23
+ import { t as n } from "./v4-YCkfo8OR.js";
24
+ import { luzmoArrows as r } from "@luzmo/icons";
25
+ import "@luzmo/lucero/icon";
26
+ import { html as i, render as a, unsafeCSS as o } from "lit";
27
+ import { property as s, query as c, queryAll as l, state as u } from "lit/decorators.js";
28
+ import { msg as d, str as f } from "@lit/localize";
29
+ import { repeat as p } from "lit/directives/repeat.js";
30
+ import { guard as m } from "lit/directives/guard.js";
31
+ import { LuzmoElement as h } from "@luzmo/lucero/utils";
32
+ // node_modules/gridstack/dist/gridstack.min.css?inline
33
+ var g = ".grid-stack{position:relative}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;width:auto;margin:0;position:absolute;z-index:0!important}.grid-stack>.grid-stack-item{width:var(--gs-column-width);height:var(--gs-cell-height);padding:0;position:absolute;top:0}.grid-stack>.grid-stack-item>.grid-stack-item-content{width:auto;margin:0;position:absolute;overflow:hidden auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack:not(.grid-stack-rtl)>.grid-stack-item{left:0}.grid-stack.grid-stack-rtl>.grid-stack-item{right:0}.grid-stack>.grid-stack-item>.grid-stack-item-content,.grid-stack>.grid-stack-placeholder>.placeholder-content{top:var(--gs-item-margin-top);right:var(--gs-item-margin-right);bottom:var(--gs-item-margin-bottom);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-handle{-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;user-select:none;z-index:100;font-size:.1px;display:block;position:absolute}.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle,.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{z-index:101;background-image:url(\"data:image/svg+xml;utf8,<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"none\\\" stroke=\\\"%23666\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"m10 3 2 2H8l2-2v14l-2-2h4l-2 2\\\"/></svg>\");background-position:50%;background-repeat:no-repeat}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:var(--gs-item-margin-top);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:var(--gs-item-margin-top);left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:var(--gs-item-margin-top);right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px;right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px;bottom:var(--gs-item-margin-bottom);right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:var(--gs-item-margin-bottom);right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px;bottom:var(--gs-item-margin-bottom);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px;left:var(--gs-item-margin-left)}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,right,top}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.grid-stack-item.ui-draggable-armed{cursor:move;animation:.25s ease-in-out infinite gs-armed-wiggle}.grid-stack-item>.ui-resizable-handle.ui-resizable-armed{animation:.5s ease-in-out infinite gs-armed-pulse}@keyframes gs-armed-wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-1.5deg)}75%{transform:rotate(1.5deg)}}@keyframes gs-armed-pulse{0%,to{opacity:1}50%{opacity:.3}}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{opacity:.8;box-shadow:1px 4px 6px #0003}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,right .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.grid-stack-placeholder,.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing{transition:left,right,top,height,width}.grid-stack>.grid-stack-item[gs-y=\"0\"]{top:0}.grid-stack:not(.grid-stack-rtl)>.grid-stack-item[gs-x=\"0\"]{left:0}.grid-stack.grid-stack-rtl>.grid-stack-item[gs-x=\"0\"]{right:0}.gs-print-show{display:none}@media print{@page gs-landscape{size:landscape}@page gs-portrait{size:portrait}.grid-stack{height:auto!important;display:block!important;position:static!important}.grid-stack>.grid-stack-item{float:left!important;height:auto!important;width:calc(100% * var(--gs-w)/ var(--gs-columns,12))!important;break-inside:avoid!important;page-break-inside:avoid!important;display:block!important;position:static!important;top:auto!important;left:auto!important}.grid-stack>.grid-stack-item>.grid-stack-item-content{white-space:normal!important;height:auto!important;margin-top:var(--gs-item-margin-top)!important;margin-right:var(--gs-item-margin-right)!important;margin-bottom:var(--gs-item-margin-bottom)!important;margin-left:var(--gs-item-margin-left)!important;position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;overflow:visible!important}.gs-print-hide{display:none}.gs-print-show{display:block}.gs-print-avoid-break-after{break-after:avoid!important;page-break-after:avoid!important}.grid-stack>.grid-stack-item.gs-print-hide{display:none!important}.grid-stack>.grid-stack-item[gs-page-break=true],.grid-stack>.grid-stack-item[gs-print-orientation]{float:none!important;clear:both!important}.grid-stack>.grid-stack-item[gs-page-break=true]{page-break-before:always!important;break-before:page!important}.grid-stack>.grid-stack-item[gs-print-orientation=landscape]{page:gs-landscape;min-width:calc(100vmax * var(--gs-w)/ var(--gs-columns,12))!important}.grid-stack>.grid-stack-item[gs-print-orientation=portrait]{page:gs-portrait;min-width:calc(100vmin * var(--gs-w)/ var(--gs-columns,12))!important}.grid-stack>.grid-stack-item[gs-break-inside=true]{float:none!important;clear:both!important;break-inside:auto!important;page-break-inside:auto!important;width:100%!important}.grid-stack>.grid-stack-item>.ui-resizable-handle{display:none!important}}", _ = ({ action: e, actionType: t, active: n, items: r, element: i, itemId: a, item: o, deletedId: s, originalElement: c, updatedItems: l }) => ({
34
+ action: e,
35
+ actionType: t,
36
+ active: n,
37
+ items: r,
38
+ element: i,
39
+ item: {
40
+ ...o,
41
+ id: a,
42
+ filters: o?.filters ?? []
43
+ },
44
+ ...s && { deletedId: s },
45
+ ...c && { originalElement: c },
46
+ ...l && { updatedItems: l }
47
+ }), v = ({ target: e, action: t, actionType: n, active: r, items: i, element: a, itemId: o, item: s, deletedId: c, originalElement: l, updatedItems: u }) => {
48
+ e.dispatchEvent(new CustomEvent("luzmo-item-grid-item-action", {
49
+ detail: _({
50
+ action: t,
51
+ actionType: n,
52
+ active: r,
53
+ items: i,
54
+ element: a,
55
+ itemId: o,
56
+ item: s,
57
+ deletedId: c,
58
+ originalElement: l,
59
+ updatedItems: u
60
+ }),
61
+ bubbles: !0,
62
+ composed: !0,
63
+ cancelable: !0
64
+ }));
65
+ }, y = ({ target: e, itemStates: t, updatedItemStates: n, changedItemStates: r }) => {
66
+ e.dispatchEvent(new CustomEvent("luzmo-item-grid-item-states-changed", {
67
+ detail: {
68
+ itemStates: t,
69
+ updatedItemStates: n,
70
+ changedItemStates: r
71
+ },
72
+ bubbles: !0,
73
+ composed: !0
74
+ }));
75
+ }, b = ({ target: e, eventName: t, detail: n }) => {
76
+ e.dispatchEvent(new CustomEvent(t, {
77
+ detail: n,
78
+ bubbles: !0,
79
+ composed: !0
80
+ }));
81
+ }, x = (e) => e instanceof Element ? e : void 0, ee = (e) => x(e)?.closest(".grid-stack-item"), te = ({ event: e, gridItem: t }) => !x(e.relatedTarget)?.closest(".grid-item-actions-popover") && !t.hasAttribute("active"), S = ({ event: e, focusedItemElement: t, removeItemActionsMenuPopover: n }) => {
82
+ let r = ee(e.target);
83
+ return r ? (t && t !== r && (t.removeAttribute("focused"), n(t)), r.setAttribute("focused", "true"), r) : t;
84
+ }, C = ({ event: e, focusedItemElement: t, removeItemActionsMenuPopover: n }) => t ? x(e.relatedTarget)?.closest("luzmo-item-grid-item-actions-menu") ? {
85
+ focusedItemElement: t,
86
+ shouldFocusGrid: !1
87
+ } : (t.removeAttribute("focused"), n(t), {
88
+ focusedItemElement: void 0,
89
+ shouldFocusGrid: !0
90
+ }) : {
91
+ focusedItemElement: void 0,
92
+ shouldFocusGrid: !1
93
+ }, ne = ({ item: e, activeItemElement: t, gridElement: n, removeItemActionsMenuPopover: r }) => {
94
+ if (e.removeAttribute("active"), r(e), t === e) n.removeAttribute("has-active-item");
95
+ else return t;
96
+ }, re = ({ event: e, gridElement: t, items: n, state: r, cleanupActiveItem: i, dispatchItemActionEvent: a, createItemActionsMenuPopover: o }) => {
97
+ e.stopPropagation();
98
+ let s = e.detail, c = e.target?.closest(".grid-stack-item");
99
+ if (!c) return r;
100
+ let l = c.getAttribute("gs-id"), u = n.find((e) => e.id === l);
101
+ return s.type === "toggle" && s.action === r.activeItemActionToggle && c === r.activeItemElement ? (r.activeItemElement = void 0, r.activeItemActionToggle = void 0, t.removeAttribute("has-active-item"), c.removeAttribute("active"), i(c), l && a(s.action, s.type, !1, c, l, u), r) : (t.querySelectorAll(".grid-stack-item").forEach((e) => {
102
+ e !== c && i(e);
103
+ }), s.type === "toggle" ? (r.activeItemElement = c, r.activeItemActionToggle = s.action, t.setAttribute("has-active-item", "true"), c.setAttribute("active", "true"), o(c, [s.action])) : r.activeItemElement && r.activeItemElement !== c && (r.activeItemElement = void 0, r.activeItemActionToggle = void 0), l && a(s.action, s.type, s.active, c, l, u), r);
104
+ }, ie = ({ event: e, gridElement: t, hostElement: n, items: r, activeItemActionToggle: i, cleanupActiveItem: a, dispatchItemActionEvent: o }) => {
105
+ let s = e.composedPath();
106
+ if (!s.includes(t) && !s.includes(n)) return { activeItemActionToggle: i };
107
+ let c = t.querySelector(".grid-stack-item[active]");
108
+ if (!c || s.includes(c)) return { activeItemActionToggle: i };
109
+ let l = c.querySelector(".grid-item-actions-popover");
110
+ if (l && s.includes(l)) return { activeItemActionToggle: i };
111
+ let u = c.getAttribute("gs-id"), d = r.find((e) => e.id === u);
112
+ return a(c), i && u && o(i, "toggle", !1, c, u, d), { activeItemActionToggle: void 0 };
113
+ }, ae = ({ gridElement: e, items: t, gridItemData: n, itemId: r, action: i, options: a, state: o, cleanupActiveItem: s, dispatchItemActionEvent: c, createItemActionsMenuPopover: l }) => {
114
+ if (!n?.element) return {
115
+ result: void 0,
116
+ state: o
117
+ };
118
+ let u = n.element, d = n.item, f = i === o.activeItemActionToggle && u === o.activeItemElement, p = a?.active ?? !f;
119
+ if (a?.active !== void 0 && p === f) return {
120
+ result: f,
121
+ state: o
122
+ };
123
+ if (!p) return o.activeItemElement = void 0, o.activeItemActionToggle = void 0, e.removeAttribute("has-active-item"), u.removeAttribute("active"), s(u), c(i, "toggle", !1, u, r, d), {
124
+ result: !1,
125
+ state: o
126
+ };
127
+ if (o.activeItemElement && o.activeItemElement !== u) {
128
+ let e = o.activeItemElement.getAttribute("gs-id"), n = t.find((t) => t.id === e), r = o.activeItemActionToggle, i = o.activeItemElement;
129
+ s(o.activeItemElement), o.activeItemElement = void 0, o.activeItemActionToggle = void 0, r && e && n && c(r, "toggle", !1, i, e, n);
130
+ }
131
+ return o.activeItemElement = u, o.activeItemActionToggle = i, e.setAttribute("has-active-item", "true"), u.setAttribute("active", "true"), l(u, [i]), c(i, "toggle", !0, u, r, d), {
132
+ result: !0,
133
+ state: o
134
+ };
135
+ }, oe = ({ gridElement: e, items: t, state: n, cleanupActiveItem: r, dispatchItemActionEvent: i }) => {
136
+ let a = 0;
137
+ if (n.activeItemElement && n.activeItemActionToggle) {
138
+ let o = n.activeItemElement.getAttribute("gs-id"), s = t.find((e) => e.id === o), c = n.activeItemActionToggle, l = n.activeItemElement;
139
+ r(n.activeItemElement), n.activeItemElement = void 0, n.activeItemActionToggle = void 0, e.removeAttribute("has-active-item"), c && o && s && (i(c, "toggle", !1, l, o, s), a++);
140
+ }
141
+ return {
142
+ deactivatedCount: a,
143
+ state: n
144
+ };
145
+ }, se = {
146
+ sizeX: 1,
147
+ sizeY: 1,
148
+ col: 0,
149
+ row: 0
150
+ }, ce = (e) => {
151
+ e.forEach((e) => {
152
+ if (!e.id) throw Error("Grid item id is required");
153
+ });
154
+ }, le = (e) => {
155
+ if (!e.id) throw Error("Grid item id is required");
156
+ return e.id;
157
+ }, ue = (e, t) => ({
158
+ id: t,
159
+ x: e?.position?.col ?? 0,
160
+ y: e?.position?.row ?? 0,
161
+ w: e?.position?.sizeX ?? 1,
162
+ h: e?.position?.sizeY ?? 1
163
+ }), de = (e, t) => ({
164
+ ...structuredClone(e),
165
+ id: t,
166
+ position: {
167
+ ...se,
168
+ ...structuredClone(e.position)
169
+ },
170
+ canFilter: e.canFilter ?? "all"
171
+ }), fe = (e, t) => {
172
+ if (t) {
173
+ for (let n of e) if (n.getAttribute("luzmo-item-grid-item-id") === t) return n;
174
+ }
175
+ }, pe = (e, t) => e.map((e) => ({
176
+ item: e,
177
+ element: t.querySelector(`[gs-id="${CSS.escape(e.id)}"]`)
178
+ })), me = ({ item: e, engine: t, existingItems: n, autoPosition: r, excludeNodeId: i }) => {
179
+ let a = e.position, o = i ? t.nodes.filter((e) => e.id !== i) : t.nodes, s = new t.constructor({
180
+ column: t.column,
181
+ mode: t.mode,
182
+ nodes: o.map((e) => ({ ...e }))
183
+ }), c = {
184
+ x: a.col,
185
+ y: a.row,
186
+ w: a.sizeX,
187
+ h: a.sizeY,
188
+ id: e.id,
189
+ autoPosition: r
190
+ };
191
+ s.addNode(c);
192
+ let l = {
193
+ ...e,
194
+ position: {
195
+ col: c.x ?? a.col,
196
+ row: c.y ?? a.row,
197
+ sizeX: c.w ?? a.sizeX,
198
+ sizeY: c.h ?? a.sizeY
199
+ }
200
+ };
201
+ return {
202
+ resolvedItem: l,
203
+ updatedItems: [...n.map((e) => {
204
+ let t = s.nodes.find((t) => t.id === e.id);
205
+ return t && t.x != null && t.y != null && t.w != null && t.h != null ? {
206
+ ...e,
207
+ position: {
208
+ col: t.x,
209
+ row: t.y,
210
+ sizeX: t.w,
211
+ sizeY: t.h
212
+ }
213
+ } : e;
214
+ }), l]
215
+ };
216
+ }, he = ({ itemId: e, patch: t, engine: n, existingItems: r }) => {
217
+ let i = r.find((t) => t.id === e);
218
+ if (!i?.position) return r;
219
+ let { resolvedItem: a, updatedItems: o } = me({
220
+ item: {
221
+ ...i,
222
+ position: {
223
+ ...i.position,
224
+ ...t
225
+ }
226
+ },
227
+ engine: n,
228
+ existingItems: r.filter((t) => t.id !== e),
229
+ autoPosition: !1,
230
+ excludeNodeId: e
231
+ });
232
+ return r.map((t) => t.id === e ? a : o.find((e) => e.id === t.id) ?? t);
233
+ }, ge = (e) => de(e, e.id), _e = Math.min, w = Math.max, ve = Math.round, ye = Math.floor, T = (e) => ({
234
+ x: e,
235
+ y: e
236
+ }), be = {
237
+ left: "right",
238
+ right: "left",
239
+ bottom: "top",
240
+ top: "bottom"
241
+ };
242
+ function xe(e, t) {
243
+ return typeof e == "function" ? e(t) : e;
244
+ }
245
+ function E(e) {
246
+ return e.split("-")[0];
247
+ }
248
+ function Se(e) {
249
+ return e.split("-")[1];
250
+ }
251
+ function Ce(e) {
252
+ return e === "x" ? "y" : "x";
253
+ }
254
+ function we(e) {
255
+ return e === "y" ? "height" : "width";
256
+ }
257
+ function D(e) {
258
+ let t = e[0];
259
+ return t === "t" || t === "b" ? "y" : "x";
260
+ }
261
+ function Te(e) {
262
+ return Ce(D(e));
263
+ }
264
+ function Ee(e, t, n) {
265
+ n === void 0 && (n = !1);
266
+ let r = Se(e), i = Te(e), a = we(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
267
+ return t.reference[a] > t.floating[a] && (o = O(o)), [o, O(o)];
268
+ }
269
+ function De(e) {
270
+ let t = O(e);
271
+ return [
272
+ Oe(e),
273
+ t,
274
+ Oe(t)
275
+ ];
276
+ }
277
+ function Oe(e) {
278
+ return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
279
+ }
280
+ var ke = ["left", "right"], Ae = ["right", "left"], je = ["top", "bottom"], Me = ["bottom", "top"];
281
+ function Ne(e, t, n) {
282
+ switch (e) {
283
+ case "top":
284
+ case "bottom": return n ? t ? Ae : ke : t ? ke : Ae;
285
+ case "left":
286
+ case "right": return t ? je : Me;
287
+ default: return [];
288
+ }
289
+ }
290
+ function Pe(e, t, n, r) {
291
+ let i = Se(e), a = Ne(E(e), n === "start", r);
292
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Oe)))), a;
293
+ }
294
+ function O(e) {
295
+ let t = E(e);
296
+ return be[t] + e.slice(t.length);
297
+ }
298
+ function Fe(e) {
299
+ return {
300
+ top: 0,
301
+ right: 0,
302
+ bottom: 0,
303
+ left: 0,
304
+ ...e
305
+ };
306
+ }
307
+ function Ie(e) {
308
+ return typeof e == "number" ? {
309
+ top: e,
310
+ right: e,
311
+ bottom: e,
312
+ left: e
313
+ } : Fe(e);
314
+ }
315
+ function k(e) {
316
+ let { x: t, y: n, width: r, height: i } = e;
317
+ return {
318
+ width: r,
319
+ height: i,
320
+ top: n,
321
+ left: t,
322
+ right: t + r,
323
+ bottom: n + i,
324
+ x: t,
325
+ y: n
326
+ };
327
+ }
328
+ // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
329
+ function Le(e, t, n) {
330
+ let { reference: r, floating: i } = e, a = D(t), o = Te(t), s = we(o), c = E(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
331
+ switch (c) {
332
+ case "top":
333
+ p = {
334
+ x: u,
335
+ y: r.y - i.height
336
+ };
337
+ break;
338
+ case "bottom":
339
+ p = {
340
+ x: u,
341
+ y: r.y + r.height
342
+ };
343
+ break;
344
+ case "right":
345
+ p = {
346
+ x: r.x + r.width,
347
+ y: d
348
+ };
349
+ break;
350
+ case "left":
351
+ p = {
352
+ x: r.x - i.width,
353
+ y: d
354
+ };
355
+ break;
356
+ default: p = {
357
+ x: r.x,
358
+ y: r.y
359
+ };
360
+ }
361
+ switch (Se(t)) {
362
+ case "start":
363
+ p[o] -= f * (n && l ? -1 : 1);
364
+ break;
365
+ case "end": p[o] += f * (n && l ? -1 : 1);
366
+ }
367
+ return p;
368
+ }
369
+ async function Re(e, t) {
370
+ t === void 0 && (t = {});
371
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = xe(t, e), p = Ie(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = k(await i.getClippingRect({
372
+ element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
373
+ boundary: c,
374
+ rootBoundary: l,
375
+ strategy: s
376
+ })), g = u === "floating" ? {
377
+ x: n,
378
+ y: r,
379
+ width: a.floating.width,
380
+ height: a.floating.height
381
+ } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
382
+ x: 1,
383
+ y: 1
384
+ }, y = k(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
385
+ elements: o,
386
+ rect: g,
387
+ offsetParent: _,
388
+ strategy: s
389
+ }) : g);
390
+ return {
391
+ top: (h.top - y.top + p.top) / v.y,
392
+ bottom: (y.bottom - h.bottom + p.bottom) / v.y,
393
+ left: (h.left - y.left + p.left) / v.x,
394
+ right: (y.right - h.right + p.right) / v.x
395
+ };
396
+ }
397
+ var ze = 50, Be = async (e, t, n) => {
398
+ let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
399
+ ...o,
400
+ detectOverflow: Re
401
+ }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
402
+ reference: e,
403
+ floating: t,
404
+ strategy: i
405
+ }), { x: u, y: d } = Le(l, r, c), f = r, p = 0, m = {};
406
+ for (let n = 0; n < a.length; n++) {
407
+ let h = a[n];
408
+ if (!h) continue;
409
+ let { name: g, fn: _ } = h, { x: v, y, data: b, reset: x } = await _({
410
+ x: u,
411
+ y: d,
412
+ initialPlacement: r,
413
+ placement: f,
414
+ strategy: i,
415
+ middlewareData: m,
416
+ rects: l,
417
+ platform: s,
418
+ elements: {
419
+ reference: e,
420
+ floating: t
421
+ }
422
+ });
423
+ u = v ?? u, d = y ?? d, m[g] = {
424
+ ...m[g],
425
+ ...b
426
+ }, x && p < ze && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
427
+ reference: e,
428
+ floating: t,
429
+ strategy: i
430
+ }) : x.rects), {x: u, y: d} = Le(l, f, c)), n = -1);
431
+ }
432
+ return {
433
+ x: u,
434
+ y: d,
435
+ placement: f,
436
+ strategy: i,
437
+ middlewareData: m
438
+ };
439
+ }, Ve = function(e) {
440
+ return e === void 0 && (e = {}), {
441
+ name: "flip",
442
+ options: e,
443
+ async fn(t) {
444
+ var n;
445
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = xe(e, t);
446
+ if ((n = i.arrow) != null && n.alignmentOffset) return {};
447
+ let g = E(r), _ = D(o), v = E(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [O(o)] : De(o)), x = p !== "none";
448
+ !d && x && b.push(...Pe(o, m, p, y));
449
+ let ee = [o, ...b], te = await s.detectOverflow(t, h), S = [], C = i.flip?.overflows || [];
450
+ if (l && S.push(te[g]), u) {
451
+ let e = Ee(r, a, y);
452
+ S.push(te[e[0]], te[e[1]]);
453
+ }
454
+ if (C = [...C, {
455
+ placement: r,
456
+ overflows: S
457
+ }], !S.every((e) => e <= 0)) {
458
+ let e = (i.flip?.index || 0) + 1, t = ee[e];
459
+ if (t && (u !== "alignment" || _ === D(t) || C.every((e) => D(e.placement) !== _ || e.overflows[0] > 0))) return {
460
+ data: {
461
+ index: e,
462
+ overflows: C
463
+ },
464
+ reset: { placement: t }
465
+ };
466
+ let n = C.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
467
+ if (!n) switch (f) {
468
+ case "bestFit": {
469
+ let e = C.filter((e) => {
470
+ if (x) {
471
+ let t = D(e.placement);
472
+ return t === _ || t === "y";
473
+ }
474
+ return !0;
475
+ }).map((e) => [e.placement, e.overflows.filter((e) => e > 0).reduce((e, t) => e + t, 0)]).sort((e, t) => e[1] - t[1])[0]?.[0];
476
+ e && (n = e);
477
+ break;
478
+ }
479
+ case "initialPlacement": n = o;
480
+ }
481
+ if (r !== n) return { reset: { placement: n } };
482
+ }
483
+ return {};
484
+ }
485
+ };
486
+ }, He = /*#__PURE__*/ new Set(["left", "top"]);
487
+ async function Ue(e, t) {
488
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = E(n), s = Se(n), c = D(n) === "y", l = He.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = xe(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
489
+ mainAxis: d,
490
+ crossAxis: 0,
491
+ alignmentAxis: null
492
+ } : {
493
+ mainAxis: d.mainAxis || 0,
494
+ crossAxis: d.crossAxis || 0,
495
+ alignmentAxis: d.alignmentAxis
496
+ };
497
+ return s && typeof m == "number" && (p = s === "end" ? m * -1 : m), c ? {
498
+ x: p * u,
499
+ y: f * l
500
+ } : {
501
+ x: f * l,
502
+ y: p * u
503
+ };
504
+ }
505
+ var We = function(e) {
506
+ return e === void 0 && (e = 0), {
507
+ name: "offset",
508
+ options: e,
509
+ async fn(t) {
510
+ var n;
511
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Ue(t, e);
512
+ return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
513
+ x: r + s.x,
514
+ y: i + s.y,
515
+ data: {
516
+ ...s,
517
+ placement: a
518
+ }
519
+ };
520
+ }
521
+ };
522
+ };
523
+ // node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
524
+ function Ge() {
525
+ return typeof window < "u";
526
+ }
527
+ function A(e) {
528
+ return Ke(e) ? (e.nodeName || "").toLowerCase() : "#document";
529
+ }
530
+ function j(e) {
531
+ var t;
532
+ return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
533
+ }
534
+ function M(e) {
535
+ return ((Ke(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
536
+ }
537
+ function Ke(e) {
538
+ return Ge() ? e instanceof Node || e instanceof j(e).Node : !1;
539
+ }
540
+ function N(e) {
541
+ return Ge() ? e instanceof Element || e instanceof j(e).Element : !1;
542
+ }
543
+ function P(e) {
544
+ return Ge() ? e instanceof HTMLElement || e instanceof j(e).HTMLElement : !1;
545
+ }
546
+ function qe(e) {
547
+ return !Ge() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof j(e).ShadowRoot;
548
+ }
549
+ function F(e) {
550
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = R(e);
551
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
552
+ }
553
+ function Je(e) {
554
+ return /^(table|td|th)$/.test(A(e));
555
+ }
556
+ function Ye(e) {
557
+ try {
558
+ if (e.matches(":popover-open")) return !0;
559
+ } catch {}
560
+ try {
561
+ return e.matches(":modal");
562
+ } catch {
563
+ return !1;
564
+ }
565
+ }
566
+ var Xe = /transform|translate|scale|rotate|perspective|filter/, Ze = /paint|layout|strict|content/, I = (e) => !!e && e !== "none", Qe;
567
+ function $e(e) {
568
+ let t = N(e) ? R(e) : e;
569
+ return I(t.transform) || I(t.translate) || I(t.scale) || I(t.rotate) || I(t.perspective) || !tt() && (I(t.backdropFilter) || I(t.filter)) || Xe.test(t.willChange || "") || Ze.test(t.contain || "");
570
+ }
571
+ function et(e) {
572
+ let t = z(e);
573
+ for (; P(t) && !L(t);) {
574
+ if ($e(t)) return t;
575
+ if (Ye(t)) return null;
576
+ t = z(t);
577
+ }
578
+ return null;
579
+ }
580
+ function tt() {
581
+ return Qe ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Qe;
582
+ }
583
+ function L(e) {
584
+ return /^(html|body|#document)$/.test(A(e));
585
+ }
586
+ function R(e) {
587
+ return j(e).getComputedStyle(e);
588
+ }
589
+ function nt(e) {
590
+ return N(e) ? {
591
+ scrollLeft: e.scrollLeft,
592
+ scrollTop: e.scrollTop
593
+ } : {
594
+ scrollLeft: e.scrollX,
595
+ scrollTop: e.scrollY
596
+ };
597
+ }
598
+ function z(e) {
599
+ if (A(e) === "html") return e;
600
+ let t = e.assignedSlot || e.parentNode || qe(e) && e.host || M(e);
601
+ return qe(t) ? t.host : t;
602
+ }
603
+ function rt(e) {
604
+ let t = z(e);
605
+ return L(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : P(t) && F(t) ? t : rt(t);
606
+ }
607
+ function B(e, t, n) {
608
+ t === void 0 && (t = []), n === void 0 && (n = !0);
609
+ let r = rt(e), i = r === e.ownerDocument?.body, a = j(r);
610
+ if (i) {
611
+ let e = it(a);
612
+ return t.concat(a, a.visualViewport || [], F(r) ? r : [], e && n ? B(e) : []);
613
+ }
614
+ return t.concat(r, B(r, [], n));
615
+ }
616
+ function it(e) {
617
+ return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
618
+ }
619
+ // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
620
+ function at(e) {
621
+ let t = R(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = P(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = ve(n) !== a || ve(r) !== o;
622
+ return s && (n = a, r = o), {
623
+ width: n,
624
+ height: r,
625
+ $: s
626
+ };
627
+ }
628
+ function ot(e) {
629
+ return N(e) ? e : e.contextElement;
630
+ }
631
+ function V(e) {
632
+ let t = ot(e);
633
+ if (!P(t)) return T(1);
634
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = at(t), o = (a ? ve(n.width) : n.width) / r, s = (a ? ve(n.height) : n.height) / i;
635
+ return o && Number.isFinite(o) || (o = 1), s && Number.isFinite(s) || (s = 1), {
636
+ x: o,
637
+ y: s
638
+ };
639
+ }
640
+ var st = /*#__PURE__*/ T(0);
641
+ function ct(e) {
642
+ let t = j(e);
643
+ return !tt() || !t.visualViewport ? st : {
644
+ x: t.visualViewport.offsetLeft,
645
+ y: t.visualViewport.offsetTop
646
+ };
647
+ }
648
+ function lt(e, t, n) {
649
+ return t === void 0 && (t = !1), !n || t && n !== j(e) ? !1 : t;
650
+ }
651
+ function H(e, t, n, r) {
652
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
653
+ let i = e.getBoundingClientRect(), a = ot(e), o = T(1);
654
+ t && (r ? N(r) && (o = V(r)) : o = V(e));
655
+ let s = lt(a, n, r) ? ct(a) : T(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
656
+ if (a) {
657
+ let e = j(a), t = r && N(r) ? j(r) : r, n = e, i = it(n);
658
+ for (; i && r && t !== n;) {
659
+ let e = V(i), t = i.getBoundingClientRect(), r = R(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
660
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = j(i), i = it(n);
661
+ }
662
+ }
663
+ return k({
664
+ width: u,
665
+ height: d,
666
+ x: c,
667
+ y: l
668
+ });
669
+ }
670
+ function ut(e, t) {
671
+ let n = nt(e).scrollLeft;
672
+ return t ? t.left + n : H(M(e)).left + n;
673
+ }
674
+ function dt(e, t) {
675
+ let n = e.getBoundingClientRect();
676
+ return {
677
+ x: n.left + t.scrollLeft - ut(e, n),
678
+ y: n.top + t.scrollTop
679
+ };
680
+ }
681
+ function ft(e) {
682
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = M(r), s = t ? Ye(t.floating) : !1;
683
+ if (r === o || s && a) return n;
684
+ let c = {
685
+ scrollLeft: 0,
686
+ scrollTop: 0
687
+ }, l = T(1), u = T(0), d = P(r);
688
+ if ((d || !d && !a) && ((A(r) !== "body" || F(o)) && (c = nt(r)), d)) {
689
+ let e = H(r);
690
+ l = V(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
691
+ }
692
+ let f = o && !d && !a ? dt(o, c) : T(0);
693
+ return {
694
+ width: n.width * l.x,
695
+ height: n.height * l.y,
696
+ x: n.x * l.x - c.scrollLeft * l.x + u.x + f.x,
697
+ y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
698
+ };
699
+ }
700
+ function pt(e) {
701
+ return Array.from(e.getClientRects());
702
+ }
703
+ function mt(e) {
704
+ let t = M(e), n = nt(e), r = e.ownerDocument.body, i = w(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = w(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + ut(e), s = -n.scrollTop;
705
+ return R(r).direction === "rtl" && (o += w(t.clientWidth, r.clientWidth) - i), {
706
+ width: i,
707
+ height: a,
708
+ x: o,
709
+ y: s
710
+ };
711
+ }
712
+ var ht = 25;
713
+ function gt(e, t) {
714
+ let n = j(e), r = M(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
715
+ if (i) {
716
+ a = i.width, o = i.height;
717
+ let e = tt();
718
+ (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
719
+ }
720
+ let l = ut(r);
721
+ if (l <= 0) {
722
+ let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
723
+ o <= ht && (a -= o);
724
+ } else l <= ht && (a += l);
725
+ return {
726
+ width: a,
727
+ height: o,
728
+ x: s,
729
+ y: c
730
+ };
731
+ }
732
+ function _t(e, t) {
733
+ let n = H(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = P(e) ? V(e) : T(1);
734
+ return {
735
+ width: e.clientWidth * a.x,
736
+ height: e.clientHeight * a.y,
737
+ x: i * a.x,
738
+ y: r * a.y
739
+ };
740
+ }
741
+ function vt(e, t, n) {
742
+ let r;
743
+ if (t === "viewport") r = gt(e, n);
744
+ else if (t === "document") r = mt(M(e));
745
+ else if (N(t)) r = _t(t, n);
746
+ else {
747
+ let n = ct(e);
748
+ r = {
749
+ x: t.x - n.x,
750
+ y: t.y - n.y,
751
+ width: t.width,
752
+ height: t.height
753
+ };
754
+ }
755
+ return k(r);
756
+ }
757
+ function yt(e, t) {
758
+ let n = z(e);
759
+ return n === t || !N(n) || L(n) ? !1 : R(n).position === "fixed" || yt(n, t);
760
+ }
761
+ function bt(e, t) {
762
+ let n = t.get(e);
763
+ if (n) return n;
764
+ let r = B(e, [], !1).filter((e) => N(e) && A(e) !== "body"), i = null, a = R(e).position === "fixed", o = a ? z(e) : e;
765
+ for (; N(o) && !L(o);) {
766
+ let t = R(o), n = $e(o);
767
+ !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || F(o) && !n && yt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = z(o);
768
+ }
769
+ return t.set(e, r), r;
770
+ }
771
+ function xt(e) {
772
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Ye(t) ? [] : bt(t, this._c) : [].concat(n), r], o = vt(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
773
+ for (let e = 1; e < a.length; e++) {
774
+ let n = vt(t, a[e], i);
775
+ s = w(n.top, s), c = _e(n.right, c), l = _e(n.bottom, l), u = w(n.left, u);
776
+ }
777
+ return {
778
+ width: c - u,
779
+ height: l - s,
780
+ x: u,
781
+ y: s
782
+ };
783
+ }
784
+ function St(e) {
785
+ let { width: t, height: n } = at(e);
786
+ return {
787
+ width: t,
788
+ height: n
789
+ };
790
+ }
791
+ function Ct(e, t, n) {
792
+ let r = P(t), i = M(t), a = n === "fixed", o = H(e, !0, a, t), s = {
793
+ scrollLeft: 0,
794
+ scrollTop: 0
795
+ }, c = T(0);
796
+ function l() {
797
+ c.x = ut(i);
798
+ }
799
+ if (r || !r && !a) {
800
+ if ((A(t) !== "body" || F(i)) && (s = nt(t)), r) {
801
+ let e = H(t, !0, a, t);
802
+ c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
803
+ } else i && l();
804
+ }
805
+ a && !r && i && l();
806
+ let u = i && !r && !a ? dt(i, s) : T(0);
807
+ return {
808
+ x: o.left + s.scrollLeft - c.x - u.x,
809
+ y: o.top + s.scrollTop - c.y - u.y,
810
+ width: o.width,
811
+ height: o.height
812
+ };
813
+ }
814
+ function wt(e) {
815
+ return R(e).position === "static";
816
+ }
817
+ function Tt(e, t) {
818
+ if (!P(e) || R(e).position === "fixed") return null;
819
+ if (t) return t(e);
820
+ let n = e.offsetParent;
821
+ return M(e) === n && (n = n.ownerDocument.body), n;
822
+ }
823
+ function Et(e, t) {
824
+ let n = j(e);
825
+ if (Ye(e)) return n;
826
+ if (!P(e)) {
827
+ let t = z(e);
828
+ for (; t && !L(t);) {
829
+ if (N(t) && !wt(t)) return t;
830
+ t = z(t);
831
+ }
832
+ return n;
833
+ }
834
+ let r = Tt(e, t);
835
+ for (; r && Je(r) && wt(r);) r = Tt(r, t);
836
+ return r && L(r) && wt(r) && !$e(r) ? n : r || et(e) || n;
837
+ }
838
+ var Dt = async function(e) {
839
+ let t = this.getOffsetParent || Et, n = this.getDimensions, r = await n(e.floating);
840
+ return {
841
+ reference: Ct(e.reference, await t(e.floating), e.strategy),
842
+ floating: {
843
+ x: 0,
844
+ y: 0,
845
+ width: r.width,
846
+ height: r.height
847
+ }
848
+ };
849
+ };
850
+ function Ot(e) {
851
+ return R(e).direction === "rtl";
852
+ }
853
+ var kt = {
854
+ convertOffsetParentRelativeRectToViewportRelativeRect: ft,
855
+ getDocumentElement: M,
856
+ getClippingRect: xt,
857
+ getOffsetParent: Et,
858
+ getElementRects: Dt,
859
+ getClientRects: pt,
860
+ getDimensions: St,
861
+ getScale: V,
862
+ isElement: N,
863
+ isRTL: Ot
864
+ };
865
+ function At(e, t) {
866
+ return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
867
+ }
868
+ function jt(e, t) {
869
+ let n = null, r, i = M(e);
870
+ function a() {
871
+ var e;
872
+ clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
873
+ }
874
+ function o(s, c) {
875
+ s === void 0 && (s = !1), c === void 0 && (c = 1), a();
876
+ let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
877
+ if (s || t(), !f || !p) return;
878
+ let m = ye(d), h = ye(i.clientWidth - (u + f)), g = ye(i.clientHeight - (d + p)), _ = ye(u), v = {
879
+ rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
880
+ threshold: w(0, _e(1, c)) || 1
881
+ }, y = !0;
882
+ function b(t) {
883
+ let n = t[0].intersectionRatio;
884
+ if (n !== c) {
885
+ if (!y) return o();
886
+ n ? o(!1, n) : r = setTimeout(() => {
887
+ o(!1, 1e-7);
888
+ }, 1e3);
889
+ }
890
+ n === 1 && !At(l, e.getBoundingClientRect()) && o(), y = !1;
891
+ }
892
+ try {
893
+ n = new IntersectionObserver(b, {
894
+ ...v,
895
+ root: i.ownerDocument
896
+ });
897
+ } catch {
898
+ n = new IntersectionObserver(b, v);
899
+ }
900
+ n.observe(e);
901
+ }
902
+ return o(!0), a;
903
+ }
904
+ function Mt(e, t, n, r) {
905
+ r === void 0 && (r = {});
906
+ let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = ot(e), u = i || a ? [...l ? B(l) : [], ...t ? B(t) : []] : [];
907
+ u.forEach((e) => {
908
+ i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
909
+ });
910
+ let d = l && s ? jt(l, n) : null, f = -1, p = null;
911
+ o && (p = new ResizeObserver((e) => {
912
+ let [r] = e;
913
+ r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
914
+ var e;
915
+ (e = p) == null || e.observe(t);
916
+ })), n();
917
+ }), l && !c && p.observe(l), t && p.observe(t));
918
+ let m, h = c ? H(e) : null;
919
+ c && g();
920
+ function g() {
921
+ let t = H(e);
922
+ h && !At(h, t) && n(), h = t, m = requestAnimationFrame(g);
923
+ }
924
+ return n(), () => {
925
+ var e;
926
+ u.forEach((e) => {
927
+ i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
928
+ }), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
929
+ };
930
+ }
931
+ var Nt = We, Pt = Ve, Ft = (e, t, n) => {
932
+ let r = /* @__PURE__ */ new Map(), i = {
933
+ platform: kt,
934
+ ...n
935
+ }, a = {
936
+ ...i.platform,
937
+ _c: r
938
+ };
939
+ return Be(e, t, {
940
+ ...i,
941
+ platform: a
942
+ });
943
+ }, It = /* @__PURE__ */ new WeakMap(), Lt = (e, t) => {
944
+ Rt(e), It.set(e, t);
945
+ }, Rt = (e) => {
946
+ let t = It.get(e);
947
+ t && (t(), It.delete(e));
948
+ }, zt = ({ element: e, activeActions: t, getGridItemById: n, placementItemActionsMenu: r, renderOverlayContent: i, removeItemActionsMenuPopover: o, itemActionsDocumentPopover: s = !0 }) => {
949
+ let c = e.querySelector(".grid-item-actions-popover"), l = e.querySelector(".grid-stack-item-content"), u = n(e.getAttribute("gs-id") ?? "");
950
+ if (t && t.length > 0 && c && (o(e), c = null), !c) {
951
+ let n = document.createDocumentFragment();
952
+ if (a(i(u?.item, t), n), c = n.querySelector(".grid-item-actions-popover"), !c) return;
953
+ e.append(c);
954
+ }
955
+ let d = s ? "absolute" : "fixed", f = Mt(l, c, async () => {
956
+ let { x: e, y: t } = await Ft(l, c, {
957
+ placement: u?.item?.placementActionsMenu ?? r ?? "right-start",
958
+ strategy: d,
959
+ middleware: [Nt(0), Pt({ crossAxis: !1 })]
960
+ });
961
+ c.style.left = `${e}px`, c.style.top = `${t}px`, s || (c.style.position = "fixed", c.style.right = "auto", c.style.bottom = "auto", c.style.margin = "0");
962
+ });
963
+ Lt(c, f), s && c.isConnected && !c.matches(":popover-open") && c.showPopover();
964
+ }, Bt = (e) => {
965
+ let t = e.querySelector(".grid-item-actions-popover");
966
+ t && (Rt(t), t.hasAttribute("popover") && t.matches(":popover-open") && t.hidePopover(), t.remove());
967
+ }, Vt = (e) => e === "ArrowLeft" || e === "ArrowRight" || e === "ArrowUp" || e === "ArrowDown", Ht = ({ key: e, node: t, maxColumns: n, shiftKey: r, ctrlKey: i, metaKey: a }) => {
968
+ let o = {
969
+ ArrowLeft: {
970
+ move: { x: t.x - 1 },
971
+ resize: {
972
+ x: t.x - 1,
973
+ w: t.w + 1
974
+ },
975
+ shrink: { w: t.w - 1 },
976
+ canMove: t.x > 0,
977
+ canResize: t.x > 0,
978
+ canShrink: t.w > 1
979
+ },
980
+ ArrowRight: {
981
+ move: { x: t.x + 1 },
982
+ resize: { w: t.w + 1 },
983
+ shrink: {
984
+ x: t.x + 1,
985
+ w: t.w - 1
986
+ },
987
+ canMove: t.x < n - t.w,
988
+ canResize: t.x + t.w < n,
989
+ canShrink: t.w > 1
990
+ },
991
+ ArrowUp: {
992
+ move: { y: t.y - 1 },
993
+ resize: {
994
+ y: t.y - 1,
995
+ h: t.h + 1
996
+ },
997
+ shrink: { h: t.h - 1 },
998
+ canMove: t.y > 0,
999
+ canResize: t.y > 0,
1000
+ canShrink: t.h > 1
1001
+ },
1002
+ ArrowDown: {
1003
+ move: { y: t.y + 1 },
1004
+ resize: { h: t.h + 1 },
1005
+ shrink: {
1006
+ y: t.y + 1,
1007
+ h: t.h - 1
1008
+ },
1009
+ canMove: !0,
1010
+ canResize: !0,
1011
+ canShrink: t.h > 1
1012
+ }
1013
+ }[e];
1014
+ if (r && o.canResize) return o.resize;
1015
+ if ((i || a) && o.canShrink) return o.shrink;
1016
+ if (o.canMove) return o.move;
1017
+ }, Ut = ({ event: e, viewMode: t, focusedItemElement: n, activeItemElement: r, gridElement: i, grid: a, columns: o, onDeleteRequest: s, removeItemActionsMenuPopover: c, createItemActionsMenuPopover: l }) => {
1018
+ if (t) return {
1019
+ focusedItemElement: n,
1020
+ activeItemElement: r
1021
+ };
1022
+ let u = n, d = r;
1023
+ if (e.key === "Delete" && n) {
1024
+ let e = n.nextElementSibling ?? n.previousElementSibling;
1025
+ s(n), u = e ?? void 0, u ? requestAnimationFrame(() => u?.focus()) : i.focus(), r === n && (d = void 0);
1026
+ } else if (e.key === "Escape" && n) n.removeAttribute("focused"), c(n), u = void 0, i.focus();
1027
+ else if (e.key === "Enter" && n) e.preventDefault(), e.stopPropagation(), r && (r.removeAttribute("active"), i.removeAttribute("has-active-item"), c(r), d = void 0), i.querySelectorAll(".grid-stack-item").forEach((e) => {
1028
+ e !== n && c(e);
1029
+ }), l(n), requestAnimationFrame(() => {
1030
+ let e = n.querySelector("luzmo-item-grid-item-actions-menu");
1031
+ e && e.focus();
1032
+ });
1033
+ else if (n && a && Vt(e.key)) {
1034
+ e.preventDefault(), e.stopPropagation();
1035
+ let t = n.gridstackNode;
1036
+ if (!t) return {
1037
+ focusedItemElement: u,
1038
+ activeItemElement: d
1039
+ };
1040
+ let r = Ht({
1041
+ key: e.key,
1042
+ node: t,
1043
+ maxColumns: o,
1044
+ shiftKey: e.shiftKey,
1045
+ ctrlKey: e.ctrlKey,
1046
+ metaKey: e.metaKey
1047
+ });
1048
+ r && a.update(n, r);
1049
+ }
1050
+ return {
1051
+ focusedItemElement: u,
1052
+ activeItemElement: d
1053
+ };
1054
+ }, Wt = 16, Gt = 10, U = (e, t) => t >= 1 ? `rgba(${e.r},${e.g},${e.b},1)` : t <= 0 ? `rgba(${e.r},${e.g},${e.b},0)` : `rgba(${e.r},${e.g},${e.b},${t})`, Kt = (e) => [(e?.margins?.[0] ?? Wt) / 2, (e?.margins?.[1] ?? Wt) / 2], qt = (e) => Gt - (e?.margins?.[0] ?? Gt), Jt = (e) => {
1055
+ let n = e?.boxShadow;
1056
+ if (!n) return "";
1057
+ let r = new t(n.color), i = {
1058
+ r: Math.round(r.srgb.r * 255),
1059
+ g: Math.round(r.srgb.g * 255),
1060
+ b: Math.round(r.srgb.b * 255)
1061
+ }, a = e?.margins?.[0] ?? Wt, o = Math.min(a / 10, 2);
1062
+ return n.size === "none" ? "none" : n.size === "S" ? `0 ${o * 2}px ${o * 4}px ${U(i, .16)}, 0 ${o * 2}px ${o * 4}px ${U(i, .23)}` : n.size === "M" ? `0 ${o * 8}px ${o * 16}px ${U(i, .19)}, 0 ${o * 4}px ${o * 4}px ${U(i, .23)}` : n.size === "L" ? `0 ${o * 12}px ${o * 24}px ${U(i, .25)}, 0 ${o * 8}px ${o * 8}px ${U(i, .22)}` : "";
1063
+ }, Yt = (e) => {
1064
+ let t = Jt(e);
1065
+ return /* @__PURE__ */ new Map([
1066
+ ["--grid-font-family", e?.font?.fontFamily],
1067
+ ["--grid-background", e?.background],
1068
+ ["--grid-item-box-shadow", t],
1069
+ ["--grid-item-background", e?.itemsBackground],
1070
+ ["--grid-item-border-color", e?.borders?.["border-color"]],
1071
+ ["--grid-item-border-style", e?.borders?.["border-style"]],
1072
+ ["--grid-item-border-radius", e?.borders?.["border-radius"]],
1073
+ ["--grid-item-border-width", `${e?.borders?.["border-top-width"]}`],
1074
+ ["--grid-item-border-top-width", e?.borders?.["border-top-width"]],
1075
+ ["--grid-item-border-right-width", e?.borders?.["border-right-width"]],
1076
+ ["--grid-item-border-bottom-width", e?.borders?.["border-bottom-width"]],
1077
+ ["--grid-item-border-left-width", e?.borders?.["border-left-width"]]
1078
+ ]);
1079
+ }, Xt = (e) => {
1080
+ let n = e?.itemsBackground ?? e?.background;
1081
+ return n ? new t(n).luminance < .5 : !1;
1082
+ }, Zt = (e, t) => {
1083
+ t && Yt(t).forEach((t, n) => {
1084
+ t ? e.setProperty(n, t) : e.removeProperty(n);
1085
+ });
1086
+ }, Qt = ({ item: e, index: t, initialized: n, viewMode: a, renderItemContent: o, handleMouseover: s, handleMouseout: c, handleFocus: l, handleBlur: u }) => {
1087
+ let p = !a;
1088
+ return i`
1089
+ <div
1090
+ class="luzmo-item-grid-item has-luzmo-viz-item"
1091
+ luzmo-item-grid-item-id=${e.id ?? ""}
1092
+ tabindex="0"
1093
+ role="row"
1094
+ @mouseover=${s}
1095
+ @mouseout=${c}
1096
+ @focus=${l}
1097
+ @blur=${u}
1098
+ >
1099
+ <div
1100
+ class="grid-stack-item-content"
1101
+ role="gridcell"
1102
+ aria-label=${d(f`Grid item ${t + 1}`, { desc: "Accessible label for a grid item with its position" })}
1103
+ >
1104
+ ${p ? i`
1105
+ <div class="grid-item-drag-handle">
1106
+ <luzmo-icon .icon=${r} size="s"></luzmo-icon>
1107
+ </div>
1108
+ ` : i`
1109
+
1110
+ `}
1111
+ ${n ? o(e, t) : i`
1112
+
1113
+ `}
1114
+ </div>
1115
+ </div>
1116
+ `;
1117
+ }, $t = ({ items: e, initialized: t, viewMode: n, fullTheme: r, renderItem: i, renderDependencies: a }) => p(e, (e) => e.id, (e, o) => m([
1118
+ e,
1119
+ t,
1120
+ n,
1121
+ r,
1122
+ ...a
1123
+ ], () => i(e, o))), en = ({ items: e, initialized: t, viewMode: n, fullTheme: r, columns: a, renderItemContent: o, renderDependencies: s, ensureGridItemId: c, handleMouseover: l, handleMouseout: u, handleFocus: f, handleBlur: p }) => {
1124
+ e.forEach((e) => {
1125
+ c(e);
1126
+ });
1127
+ let m = $t({
1128
+ items: e,
1129
+ initialized: t,
1130
+ viewMode: n,
1131
+ fullTheme: r,
1132
+ renderDependencies: s,
1133
+ renderItem: (e, r) => Qt({
1134
+ item: e,
1135
+ index: r,
1136
+ initialized: t,
1137
+ viewMode: n,
1138
+ renderItemContent: o,
1139
+ handleMouseover: l,
1140
+ handleMouseout: u,
1141
+ handleFocus: f,
1142
+ handleBlur: p
1143
+ })
1144
+ }), h = t ? Xt(r) : !1;
1145
+ return i`
1146
+ <div
1147
+ ?dark-background=${h}
1148
+ class="grid-stack"
1149
+ data-grid-columns=${a}
1150
+ role="grid"
1151
+ aria-label=${d("Dashboard grid", { desc: "Accessible label for the dashboard grid" })}
1152
+ >
1153
+ ${m}
1154
+ </div>
1155
+ `;
1156
+ }, W = class e {
1157
+ static getElements(e, t = document) {
1158
+ if (typeof e == "string") {
1159
+ let n = "getElementById" in t ? t : void 0;
1160
+ if (n && !isNaN(+e[0])) {
1161
+ let t = n.getElementById(e);
1162
+ return t ? [t] : [];
1163
+ }
1164
+ let r = t.querySelectorAll(e);
1165
+ if (!r.length && e[0] !== "." && e[0] !== "#" && (r = t.querySelectorAll("." + e), r.length || (r = t.querySelectorAll("#" + e)), !r.length)) {
1166
+ let n = t.querySelector(`[gs-id="${e}"]`);
1167
+ return n ? [n] : [];
1168
+ }
1169
+ return Array.from(r);
1170
+ }
1171
+ return [e];
1172
+ }
1173
+ static getElement(e, t = document) {
1174
+ if (typeof e == "string") {
1175
+ let n = "getElementById" in t ? t : void 0;
1176
+ if (!e.length) return null;
1177
+ if (n && e[0] === "#") return n.getElementById(e.substring(1));
1178
+ if (e[0] === "#" || e[0] === "." || e[0] === "[") return t.querySelector(e);
1179
+ if (n && !isNaN(+e[0])) return n.getElementById(e);
1180
+ let r = t.querySelector(e);
1181
+ return n && !r && (r = n.getElementById(e)), r ||= t.querySelector("." + e), r;
1182
+ }
1183
+ return e;
1184
+ }
1185
+ static lazyLoad(e) {
1186
+ return !!(e.lazyLoad || e.grid?.opts?.lazyLoad && e.lazyLoad !== !1);
1187
+ }
1188
+ static createDiv(e, t) {
1189
+ let n = document.createElement("div");
1190
+ return e.forEach((e) => {
1191
+ e && n.classList.add(e);
1192
+ }), t?.appendChild(n), n;
1193
+ }
1194
+ static shouldSizeToContent(e, t = !1) {
1195
+ return !!(e?.grid && (t ? e.sizeToContent === !0 || e.grid.opts.sizeToContent === !0 && e.sizeToContent === void 0 : e.sizeToContent || e.grid.opts.sizeToContent && e.sizeToContent !== !1));
1196
+ }
1197
+ static isIntercepted(e, t) {
1198
+ return !(e.y >= t.y + t.h || e.y + e.h <= t.y || e.x + e.w <= t.x || e.x >= t.x + t.w);
1199
+ }
1200
+ static isTouching(t, n) {
1201
+ return e.isIntercepted(t, {
1202
+ x: n.x - .5,
1203
+ y: n.y - .5,
1204
+ w: n.w + 1,
1205
+ h: n.h + 1
1206
+ });
1207
+ }
1208
+ static areaIntercept(e, t) {
1209
+ let n = e.x > t.x ? e.x : t.x, r = e.x + e.w < t.x + t.w ? e.x + e.w : t.x + t.w;
1210
+ if (r <= n) return 0;
1211
+ let i = e.y > t.y ? e.y : t.y, a = e.y + e.h < t.y + t.h ? e.y + e.h : t.y + t.h;
1212
+ return a <= i ? 0 : (r - n) * (a - i);
1213
+ }
1214
+ static area(e) {
1215
+ return e.w * e.h;
1216
+ }
1217
+ static sort(e, t = 1) {
1218
+ let n = 2 ** 53 - 1;
1219
+ return e.sort((e, r) => {
1220
+ let i = t * ((e.y ?? n) - (r.y ?? n));
1221
+ return i === 0 ? t * ((e.x ?? n) - (r.x ?? n)) : i;
1222
+ });
1223
+ }
1224
+ static find(e, t) {
1225
+ return t ? e.find((e) => e.id === t) : void 0;
1226
+ }
1227
+ static findInGrid(t, n, r) {
1228
+ let i = t.engine.nodes.find((e) => String(e.id) === n);
1229
+ if (i || !r) return i;
1230
+ for (let r of t.engine.nodes) if (r.subGrid) {
1231
+ let t = e.findInGrid(r.subGrid, n);
1232
+ if (t) return t;
1233
+ }
1234
+ }
1235
+ static toBool(e) {
1236
+ return typeof e == "boolean" ? e : typeof e == "string" ? (e = e.toLowerCase(), e !== "" && e !== "no" && e !== "false" && e !== "0") : !!e;
1237
+ }
1238
+ static toNumber(e) {
1239
+ return e === null || e.length === 0 ? void 0 : Number(e);
1240
+ }
1241
+ static parseHeight(e) {
1242
+ let t, n = "px";
1243
+ if (typeof e == "string") {
1244
+ if (e === "auto" || e === "") t = 0;
1245
+ else {
1246
+ let r = e.match(/^(-[0-9]+\.[0-9]+|[0-9]*\.[0-9]+|-[0-9]+|[0-9]+)(px|em|rem|vh|vw|%|cm|mm)?$/);
1247
+ if (!r) throw Error(`Invalid height val = ${e}`);
1248
+ n = r[2] || "px", t = parseFloat(r[1]);
1249
+ }
1250
+ } else t = e;
1251
+ return {
1252
+ h: t,
1253
+ unit: n
1254
+ };
1255
+ }
1256
+ static defaults(t, ...n) {
1257
+ return n.forEach((n) => {
1258
+ for (let r in n) {
1259
+ if (!Object.prototype.hasOwnProperty.call(n, r)) return;
1260
+ t[r] === null || t[r] === void 0 ? t[r] = n[r] : typeof n[r] == "object" && typeof t[r] == "object" && e.defaults(t[r], n[r]);
1261
+ }
1262
+ }), t;
1263
+ }
1264
+ static same(e, t) {
1265
+ if (typeof e != "object") return e == t;
1266
+ if (typeof e != typeof t) return !1;
1267
+ let n = e, r = t;
1268
+ if (Object.keys(n).length !== Object.keys(r).length) return !1;
1269
+ for (let e in n) if (n[e] !== r[e]) return !1;
1270
+ return !0;
1271
+ }
1272
+ static copyPos(e, t, n = !1) {
1273
+ return t.x !== void 0 && (e.x = t.x), t.y !== void 0 && (e.y = t.y), t.w !== void 0 && (e.w = t.w), t.h !== void 0 && (e.h = t.h), n && (t.minW && (e.minW = t.minW), t.minH && (e.minH = t.minH), t.maxW && (e.maxW = t.maxW), t.maxH && (e.maxH = t.maxH)), e;
1274
+ }
1275
+ static samePos(e, t) {
1276
+ return e && t && e.x === t.x && e.y === t.y && (e.w || 1) === (t.w || 1) && (e.h || 1) === (t.h || 1);
1277
+ }
1278
+ static sanitizeMinMax(e) {
1279
+ e.minW || delete e.minW, e.minH || delete e.minH, e.maxW || delete e.maxW, e.maxH || delete e.maxH;
1280
+ }
1281
+ static removeInternalAndSame(t, n) {
1282
+ if (typeof t != "object" || typeof n != "object" || !t || !n || Array.isArray(t) || Array.isArray(n)) return;
1283
+ let r = t, i = n;
1284
+ for (let t in r) {
1285
+ let n = r[t], a = i[t];
1286
+ t[0] === "_" || n === a ? delete r[t] : n && typeof n == "object" && a !== void 0 && (e.removeInternalAndSame(n, a), Object.keys(n).length || delete r[t]);
1287
+ }
1288
+ }
1289
+ static removeInternalForSave(e, t = !0) {
1290
+ let n = e;
1291
+ for (let e in n) (e[0] === "_" || n[e] === null || n[e] === void 0) && delete n[e];
1292
+ delete e.grid, t && delete e.el, e.autoPosition || delete e.autoPosition, e.noResize || delete e.noResize, e.noMove || delete e.noMove, e.locked || delete e.locked, (e.w === 1 || e.w === e.minW) && delete e.w, (e.h === 1 || e.h === e.minH) && delete e.h;
1293
+ }
1294
+ static throttle(e, t) {
1295
+ let n = !1;
1296
+ return (...r) => {
1297
+ n || (n = !0, setTimeout(() => {
1298
+ e(...r), n = !1;
1299
+ }, t));
1300
+ };
1301
+ }
1302
+ static removePositioningStyles(e) {
1303
+ let t = e.style;
1304
+ t.position && t.removeProperty("position"), t.left && t.removeProperty("left"), t.top && t.removeProperty("top"), t.width && t.removeProperty("width"), t.height && t.removeProperty("height");
1305
+ }
1306
+ static getScrollElement(t) {
1307
+ if (!t) return document.scrollingElement || document.documentElement;
1308
+ let n = getComputedStyle(t).overflowY;
1309
+ return (n === "auto" || n === "scroll") && t.scrollHeight > t.clientHeight ? t : e.getScrollElement(t.parentElement ?? void 0);
1310
+ }
1311
+ static updateScrollResize(t, n, r) {
1312
+ let i = e.getScrollElement(n), a = i.clientHeight, o = i === e.getScrollElement() ? 0 : i.getBoundingClientRect().top, s = t.clientY - o, c = s < r, l = s > a - r;
1313
+ c ? i.scrollBy({
1314
+ behavior: "smooth",
1315
+ top: s - r
1316
+ }) : l && i.scrollBy({
1317
+ behavior: "smooth",
1318
+ top: r - (a - s)
1319
+ });
1320
+ }
1321
+ static pauseIframePointerEvents(e) {
1322
+ document.querySelectorAll("iframe").forEach((t) => {
1323
+ t.style.pointerEvents = e ? "none" : "";
1324
+ });
1325
+ }
1326
+ static clone(e) {
1327
+ return typeof e != "object" || !e ? e : e instanceof Array ? [...e] : { ...e };
1328
+ }
1329
+ static cloneDeep(t) {
1330
+ let n = [
1331
+ "parentGrid",
1332
+ "el",
1333
+ "grid",
1334
+ "subGrid",
1335
+ "engine"
1336
+ ], r = e.clone(t);
1337
+ for (let i in r) Object.prototype.hasOwnProperty.call(r, i) && typeof r[i] == "object" && i.substring(0, 2) !== "__" && !n.find((e) => e === i) && (r[i] = e.cloneDeep(t[i]));
1338
+ return r;
1339
+ }
1340
+ static cloneNode(e) {
1341
+ let t = e.cloneNode(!0);
1342
+ return t.removeAttribute("id"), t;
1343
+ }
1344
+ static appendTo(t, n) {
1345
+ let r;
1346
+ r = typeof n == "string" ? e.getElement(n) : n, r && r.appendChild(t);
1347
+ }
1348
+ static addElStyles(e, t) {
1349
+ if (t instanceof Object) {
1350
+ let n = e.style;
1351
+ for (let e in t) Object.prototype.hasOwnProperty.call(t, e) && (Array.isArray(t[e]) ? t[e].forEach((t) => {
1352
+ n[e] = t;
1353
+ }) : n[e] = t[e]);
1354
+ }
1355
+ }
1356
+ static initEvent(e, t) {
1357
+ let n = { type: t.type }, r = {
1358
+ button: 0,
1359
+ which: 0,
1360
+ buttons: 1,
1361
+ bubbles: !0,
1362
+ cancelable: !0,
1363
+ target: t.target ? t.target : e.target
1364
+ }, i = e;
1365
+ return [
1366
+ "altKey",
1367
+ "ctrlKey",
1368
+ "metaKey",
1369
+ "shiftKey"
1370
+ ].forEach((e) => n[e] = i[e]), [
1371
+ "pageX",
1372
+ "pageY",
1373
+ "clientX",
1374
+ "clientY",
1375
+ "screenX",
1376
+ "screenY"
1377
+ ].forEach((e) => n[e] = i[e]), {
1378
+ ...n,
1379
+ ...r
1380
+ };
1381
+ }
1382
+ static simulateMouseEvent(e, t, n) {
1383
+ let r = e, i = new MouseEvent(t, {
1384
+ bubbles: !0,
1385
+ composed: !0,
1386
+ cancelable: !0,
1387
+ view: window,
1388
+ detail: 1,
1389
+ screenX: e.screenX,
1390
+ screenY: e.screenY,
1391
+ clientX: e.clientX,
1392
+ clientY: e.clientY,
1393
+ ctrlKey: r.ctrlKey ?? !1,
1394
+ altKey: r.altKey ?? !1,
1395
+ shiftKey: r.shiftKey ?? !1,
1396
+ metaKey: r.metaKey ?? !1,
1397
+ button: 0,
1398
+ relatedTarget: e.target
1399
+ });
1400
+ (n || e.target).dispatchEvent(i);
1401
+ }
1402
+ static getValuesFromTransformedElement(t) {
1403
+ let n = document.createElement("div");
1404
+ e.addElStyles(n, {
1405
+ opacity: "0",
1406
+ position: "fixed",
1407
+ top: "0px",
1408
+ left: "0px",
1409
+ width: "1px",
1410
+ height: "1px",
1411
+ zIndex: "-999999"
1412
+ }), t.appendChild(n);
1413
+ let r = n.getBoundingClientRect();
1414
+ return t.removeChild(n), n.remove(), {
1415
+ xScale: 1 / r.width,
1416
+ yScale: 1 / r.height,
1417
+ xOffset: r.left,
1418
+ yOffset: r.top
1419
+ };
1420
+ }
1421
+ static swap(e, t, n) {
1422
+ if (!e) return;
1423
+ let r = e, i = r[t];
1424
+ r[t] = r[n], r[n] = i;
1425
+ }
1426
+ static canBeRotated(e) {
1427
+ return !(!e || e.w === e.h || e.locked || e.noResize || e.grid?.opts.disableResize || e.minW && e.minW === e.maxW || e.minH && e.minH === e.maxH);
1428
+ }
1429
+ }, tn = class e {
1430
+ constructor(e = {}) {
1431
+ this.addedNodes = [], this.removedNodes = [], this.defaultColumn = 12, this.column = e.column || this.defaultColumn, this.column > this.defaultColumn && (this.defaultColumn = this.column), this.maxRow = e.maxRow ?? 0, this._mode = e.mode || "top", this.nodes = e.nodes || [], this.onChange = e.onChange ?? (() => {});
1432
+ }
1433
+ batchUpdate(e = !0, t = !0) {
1434
+ return !!this.batchMode === e || (this.batchMode = e, e ? (this._prevMode = this._mode, this._mode = "float", this.cleanNodes(), this.nodes.some((e) => e._updating) || this.saveInitial()) : (this._mode = this._prevMode || "top", delete this._prevMode, t && this._packNodes(), this._notify())), this;
1435
+ }
1436
+ get _realMode() {
1437
+ return this.batchMode ? this._prevMode || "top" : this.mode;
1438
+ }
1439
+ _useEntireRowArea(e, t) {
1440
+ return (this.mode !== "float" || this.batchMode && this._prevMode !== "float") && !this._hasLocked && (!e._moving || e._skipDown || t.y <= e.y);
1441
+ }
1442
+ _fixCollisions(e, t = e, n, r = {}) {
1443
+ if (this.sortNodes(-1), n ||= this.collide(e, t), !n) return !1;
1444
+ if (e._moving && !e._isExternal && !r.nested && this.mode !== "float" && this.swap(e, n)) return !0;
1445
+ let i = t;
1446
+ !this._loading && this._useEntireRowArea(e, t) && (i = {
1447
+ x: 0,
1448
+ w: this.column,
1449
+ y: t.y,
1450
+ h: t.h
1451
+ }, n = this.collide(e, i, r.skip));
1452
+ let a = !1, o = {
1453
+ nested: !0,
1454
+ pack: !1
1455
+ }, s = 0;
1456
+ for (; n ||= this.collide(e, i, r.skip);) {
1457
+ if (s++ > this.nodes.length * 2) throw Error("Infinite collide check");
1458
+ let i;
1459
+ if (n.locked || this._loading || e._moving && !e._skipDown && t.y > e.y && this.mode !== "float" && (!this.collide(n, {
1460
+ ...n,
1461
+ y: e.y
1462
+ }, e) || !this.collide(n, {
1463
+ ...n,
1464
+ y: t.y - n.h
1465
+ }, e))) {
1466
+ e._skipDown = e._skipDown || t.y > e.y;
1467
+ let s = {
1468
+ ...t,
1469
+ y: n.y + n.h,
1470
+ ...o
1471
+ };
1472
+ i = this._loading && W.samePos(e, s) ? !0 : this.moveNode(e, s), (n.locked || this._loading) && i ? W.copyPos(t, e) : !n.locked && i && r.pack && (this._packNodes(), t.y = n.y + n.h, W.copyPos(e, t)), a ||= i;
1473
+ } else i = this.moveNode(n, {
1474
+ ...n,
1475
+ y: t.y + t.h,
1476
+ skip: e,
1477
+ ...o
1478
+ });
1479
+ if (!i) return a;
1480
+ n = void 0;
1481
+ }
1482
+ return a;
1483
+ }
1484
+ collide(e, t = e, n) {
1485
+ let r = e._id, i = n?._id;
1486
+ return this.nodes.find((e) => e._id !== r && e._id !== i && W.isIntercepted(e, t));
1487
+ }
1488
+ collideAll(e, t = e, n) {
1489
+ let r = e._id, i = n?._id;
1490
+ return this.nodes.filter((e) => e._id !== r && e._id !== i && W.isIntercepted(e, t));
1491
+ }
1492
+ directionCollideCoverage(e, t, n) {
1493
+ if (!t.rect || !e._rect) return;
1494
+ let r = e._rect, i = { ...t.rect };
1495
+ i.y > r.y ? (i.h = i.h + i.y - r.y, i.y = r.y) : i.h = i.h + r.y - i.y, i.x > r.x ? (i.w = i.w + i.x - r.x, i.x = r.x) : i.w = i.w + r.x - i.x;
1496
+ let a, o = .5;
1497
+ for (let e of n) {
1498
+ if (e.locked || !e._rect) continue;
1499
+ let t = e._rect, n = Number.MAX_VALUE, s = Number.MAX_VALUE;
1500
+ r.y < t.y ? n = (i.y + i.h - t.y) / t.h : r.y + r.h > t.y + t.h && (n = (t.y + t.h - i.y) / t.h), r.x < t.x ? s = (i.x + i.w - t.x) / t.w : r.x + r.w > t.x + t.w && (s = (t.x + t.w - i.x) / t.w);
1501
+ let c = Math.min(s, n);
1502
+ c > o && (o = c, a = e);
1503
+ }
1504
+ return t.collide = a, a;
1505
+ }
1506
+ cacheRects(e, t, n, r, i, a) {
1507
+ return this.nodes.forEach((o) => o._rect = {
1508
+ y: o.y * t + n,
1509
+ x: o.x * e + a,
1510
+ w: o.w * e - a - r,
1511
+ h: o.h * t - n - i
1512
+ }), this;
1513
+ }
1514
+ swap(e, t) {
1515
+ if (!t || t.locked || !e || e.locked) return !1;
1516
+ function n() {
1517
+ let n = t.x, r = t.y;
1518
+ return t.x = e.x, t.y = e.y, e.h == t.h ? e.w == t.w ? (e.x = n, e.y = r) : (e.x = t.x + t.w, e.y = r) : (e.x = n, e.y = t.y + t.h), e._dirty = t._dirty = !0, !0;
1519
+ }
1520
+ let r;
1521
+ if (e.w === t.w && e.h === t.h && (e.x === t.x || e.y === t.y) && (r = W.isTouching(e, t))) return n();
1522
+ if (r !== !1) {
1523
+ if (e.w === t.w && e.x === t.x && (r ||= W.isTouching(e, t))) {
1524
+ if (t.y < e.y) {
1525
+ let n = e;
1526
+ e = t, t = n;
1527
+ }
1528
+ return n();
1529
+ }
1530
+ if (r !== !1) {
1531
+ if (e.h === t.h && e.y === t.y && (r ||= W.isTouching(e, t))) {
1532
+ if (t.x < e.x) {
1533
+ let n = e;
1534
+ e = t, t = n;
1535
+ }
1536
+ return n();
1537
+ }
1538
+ return !1;
1539
+ }
1540
+ }
1541
+ }
1542
+ isAreaEmpty(e, t, n, r) {
1543
+ let i = {
1544
+ x: e || 0,
1545
+ y: t || 0,
1546
+ w: n || 1,
1547
+ h: r || 1
1548
+ };
1549
+ return !this.collide(i);
1550
+ }
1551
+ compact(e = "compact", t = !0) {
1552
+ if (this.nodes.length === 0) return this;
1553
+ let n = this.batchMode;
1554
+ return n || this.batchUpdate(), this._relayout(e, t), n || this.batchUpdate(!1), this;
1555
+ }
1556
+ _relayout(e, t = !0) {
1557
+ if (this.nodes.length === 0) return this;
1558
+ t && this.sortNodes();
1559
+ let n = this._inColumnResize;
1560
+ n || (this._inColumnResize = !0);
1561
+ let r = this.nodes;
1562
+ this.nodes = r.filter((e) => e.locked);
1563
+ let i = /* @__PURE__ */ new Set(), a = 0, o = (e) => {
1564
+ for (let t = e.y; t < e.y + e.h; t++) for (let n = e.x; n < e.x + e.w; n++) i.add(t * this.column + n);
1565
+ for (; i.has(a);) ++a;
1566
+ };
1567
+ return this.nodes.forEach(o), r.forEach((t, n, r) => {
1568
+ if (t.locked) return;
1569
+ t.autoPosition = !0;
1570
+ let i = e === "list" ? n ? r[n - 1] : 0 : a;
1571
+ this.addNode(t, !1, i), o(t);
1572
+ }), n || delete this._inColumnResize, this;
1573
+ }
1574
+ set mode(e) {
1575
+ this._mode !== e && (this._mode = e || "top", this._mode !== "float" && this._packNodes()._notify());
1576
+ }
1577
+ get mode() {
1578
+ return this._mode || "top";
1579
+ }
1580
+ sortNodes(e = 1) {
1581
+ return this.nodes = W.sort(this.nodes, e), this;
1582
+ }
1583
+ _packNodes() {
1584
+ if (this.batchMode) return this;
1585
+ if (this.sortNodes(), this.mode === "float") this.nodes.forEach((e) => {
1586
+ if (e._updating || e._orig === void 0 || e.y === e._orig.y) return;
1587
+ let t = e.y;
1588
+ for (; t > e._orig.y;) --t, this.collide(e, {
1589
+ x: e.x,
1590
+ y: t,
1591
+ w: e.w,
1592
+ h: e.h
1593
+ }) || (e._dirty = !0, e.y = t);
1594
+ });
1595
+ else if (this.mode === "list" || this.mode === "compact") {
1596
+ let e = this.mode === "compact" && this.nodes.some((e) => e._updating) ? "list" : this.mode, t = this.batchMode;
1597
+ this.batchMode = !0, this._relayout(e, !1), this.batchMode = t;
1598
+ } else this.nodes.forEach((e, t) => {
1599
+ if (!e.locked) for (; e.y > 0;) {
1600
+ let n = t === 0 ? 0 : e.y - 1;
1601
+ if (t !== 0 && this.collide(e, {
1602
+ x: e.x,
1603
+ y: n,
1604
+ w: e.w,
1605
+ h: e.h
1606
+ })) break;
1607
+ e._dirty = e.y !== n, e.y = n;
1608
+ }
1609
+ });
1610
+ return this;
1611
+ }
1612
+ prepareNode(t, n) {
1613
+ t._id = t._id ?? e._idSeq++;
1614
+ let r = t.id;
1615
+ if (r) {
1616
+ let e = 1;
1617
+ for (; this.nodes.find((e) => e.id === t.id && e !== t);) t.id = r + "_" + e++;
1618
+ }
1619
+ (t.x === void 0 || t.y === void 0 || t.x === null || t.y === null) && (t.autoPosition = !0);
1620
+ let i = {
1621
+ x: 0,
1622
+ y: 0,
1623
+ w: 1,
1624
+ h: 1
1625
+ };
1626
+ return W.defaults(t, i), t.autoPosition || delete t.autoPosition, t.noResize || delete t.noResize, t.noMove || delete t.noMove, W.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 = i.x, t.autoPosition = !0), isNaN(t.y) && (t.y = i.y, t.autoPosition = !0), isNaN(t.w) && (t.w = i.w), isNaN(t.h) && (t.h = i.h), this.nodeBoundFix(t, n), t;
1627
+ }
1628
+ nodeBoundFix(e, t) {
1629
+ let n = e._orig || W.copyPos({}, e);
1630
+ if (e.x !== void 0 && !Number.isFinite(e.x) && (e.x = 0), e.y !== void 0 && !Number.isFinite(e.y) && (e.y = 0), e.w !== void 0 && !Number.isFinite(e.w) && (e.w = 1), e.h !== void 0 && !Number.isFinite(e.h) && (e.h = 1), e.maxW && (e.w = Math.min(e.w || 1, e.maxW)), e.maxH && (e.h = Math.min(e.h || 1, e.maxH)), e.minW && (e.w = Math.max(e.w || 1, e.minW)), e.minH && (e.h = Math.max(e.h || 1, e.minH)), (e.x || 0) + (e.w || 1) > this.column && this.column < this.defaultColumn && !this._inColumnResize && !this.skipCacheUpdate && e._id != null && this.findCacheLayout(e, this.defaultColumn) === -1) {
1631
+ let t = { ...e };
1632
+ t.autoPosition || t.x === void 0 ? (delete t.x, delete t.y) : t.x = Math.min(this.defaultColumn - 1, t.x), t.w = Math.min(this.defaultColumn, t.w || 1), this.cacheOneLayout(t, this.defaultColumn);
1633
+ }
1634
+ return e.w > this.column ? e.w = this.column : e.w < 1 && (e.w = 1), this.maxRow && e.h > this.maxRow ? e.h = this.maxRow : e.h < 1 && (e.h = 1), e.x < 0 && (e.x = 0), e.y < 0 && (e.y = 0), e.x + e.w > this.column && (t ? e.w = this.column - e.x : e.x = this.column - e.w), this.maxRow && e.y + e.h > this.maxRow && (t ? e.h = this.maxRow - e.y : e.y = this.maxRow - e.h), W.samePos(e, n) || (e._dirty = !0), this;
1635
+ }
1636
+ getDirtyNodes(e) {
1637
+ return e ? this.nodes.filter((e) => e._dirty && e._orig && !W.samePos(e, e._orig)) : this.nodes.filter((e) => e._dirty);
1638
+ }
1639
+ _notify(e) {
1640
+ if (this.batchMode || !this.onChange) return this;
1641
+ let t = (e || []).concat(this.getDirtyNodes());
1642
+ return this.onChange(t), this;
1643
+ }
1644
+ cleanNodes() {
1645
+ return this.batchMode || this.nodes.forEach((e) => {
1646
+ delete e._dirty, delete e._lastTried;
1647
+ }), this;
1648
+ }
1649
+ saveInitial() {
1650
+ return this.nodes.forEach((e) => {
1651
+ e._orig = W.copyPos({}, e), delete e._dirty;
1652
+ }), this._hasLocked = this.nodes.some((e) => e.locked), this;
1653
+ }
1654
+ restoreInitial() {
1655
+ return this.nodes.forEach((e) => {
1656
+ e._orig && !W.samePos(e, e._orig) && (W.copyPos(e, e._orig), e._dirty = !0);
1657
+ }), this._notify(), this;
1658
+ }
1659
+ findEmptyPosition(e, t = this.nodes, n = this.column, r) {
1660
+ let i = typeof r == "number" ? r : r ? r.y * n + (r.x + r.w) : 0, a = !1;
1661
+ for (let r = i; !a; ++r) {
1662
+ let i = r % n, o = Math.floor(r / n);
1663
+ if (i + e.w > n) continue;
1664
+ let s = {
1665
+ x: i,
1666
+ y: o,
1667
+ w: e.w,
1668
+ h: e.h
1669
+ };
1670
+ t.find((e) => W.isIntercepted(s, e)) || ((e.x !== i || e.y !== o) && (e._dirty = !0), e.x = i, e.y = o, delete e.autoPosition, a = !0);
1671
+ }
1672
+ return a;
1673
+ }
1674
+ addNode(e, t = !1, n) {
1675
+ let r = this.nodes.find((t) => t._id === e._id);
1676
+ if (r) return r;
1677
+ this._inColumnResize ? this.nodeBoundFix(e) : this.prepareNode(e), delete e._temporaryRemoved, delete e._removeDOM;
1678
+ let i = !1;
1679
+ return e.autoPosition && (n === void 0 && this._realMode === "list" && (n = this.nodes[this.nodes.length - 1]), this.findEmptyPosition(e, this.nodes, this.column, n) && (delete e.autoPosition, i = !0)), !i && (this.mode === "list" || this.mode === "compact") ? (this.nodes.unshift(e), i = !0) : this.nodes.push(e), t && this.addedNodes.push(e), i || this._fixCollisions(e), this.batchMode || this._packNodes()._notify(), e;
1680
+ }
1681
+ removeNode(e, t = !0, n = !1) {
1682
+ return this.nodes.find((t) => t._id === e._id) && (n && this.removedNodes.push(e), t && (e._removeDOM = !0), this.nodes = this.nodes.filter((t) => t._id !== e._id), e._isAboutToRemove || this._packNodes(), this._notify([e])), this;
1683
+ }
1684
+ removeAll(e = !0, t = !0) {
1685
+ if (delete this._layouts, !this.nodes.length) return this;
1686
+ e && this.nodes.forEach((e) => e._removeDOM = !0);
1687
+ let n = this.nodes;
1688
+ return this.removedNodes = t ? n : [], this.nodes = [], this._notify(n);
1689
+ }
1690
+ moveNodeCheck(t, n) {
1691
+ if (!this.changedPosConstrain(t, n) && !n.forceCollide) return !1;
1692
+ if (n.pack === void 0 && !this.batchMode && (n.pack = !0), !this.maxRow) return this.moveNode(t, n);
1693
+ let r, i = new e({
1694
+ column: this.column,
1695
+ mode: this.mode,
1696
+ nodes: this.nodes.map((e) => e._id === t._id ? (r = { ...e }, r) : { ...e })
1697
+ });
1698
+ if (!r) return !1;
1699
+ let a = i.moveNode(r, n) && i.getRow() <= Math.max(this.getRow(), this.maxRow);
1700
+ if (!a && !n.resizing && n.collide && !t._isExternal) {
1701
+ let e = n.collide.el?.gridstackNode;
1702
+ if (e && this.swap(t, e)) return this._notify(), !0;
1703
+ }
1704
+ return a ? (i.nodes.filter((e) => e._dirty).forEach((e) => {
1705
+ let t = this.nodes.find((t) => t._id === e._id);
1706
+ t && (W.copyPos(t, e), t._dirty = !0);
1707
+ }), this._notify(), !0) : !1;
1708
+ }
1709
+ willItFit(t) {
1710
+ if (delete t._willFitPos, !this.maxRow) return !0;
1711
+ let n = new e({
1712
+ column: this.column,
1713
+ mode: this.mode,
1714
+ nodes: this.nodes.map((e) => ({ ...e }))
1715
+ }), r = { ...t };
1716
+ return this.cleanupNode(r), delete r.el, delete r._id, delete r.content, delete r.grid, n.addNode(r), n.getRow() <= this.maxRow && (t._willFitPos = W.copyPos({}, r), !0);
1717
+ }
1718
+ _makeDynamicSubGrid(e, t, n) {
1719
+ if (!n || !e.grid?.opts?.subGridDynamic || e.grid._isTemp || !t.rect || !n._rect) return !1;
1720
+ let r = W.areaIntercept(t.rect, n._rect), i = W.area(t.rect), a = W.area(n._rect);
1721
+ return r / (i < a ? i : a) <= .8 ? !1 : (n.grid.makeSubGrid(n.el, void 0, e), !0);
1722
+ }
1723
+ changedPosConstrain(e, t) {
1724
+ return t.w = t.w || e.w, t.h = t.h || e.h, e.x !== t.x || e.y !== t.y || (e.maxW && (t.w = Math.min(t.w, e.maxW)), e.maxH && (t.h = Math.min(t.h, e.maxH)), e.minW && (t.w = Math.max(t.w, e.minW)), e.minH && (t.h = Math.max(t.h, e.minH)), e.w !== t.w || e.h !== t.h);
1725
+ }
1726
+ moveNode(e, t) {
1727
+ if (!e || !t) return !1;
1728
+ let n = !1;
1729
+ t.pack === void 0 && !this.batchMode && (n = t.pack = !0), typeof t.x != "number" && (t.x = e.x), typeof t.y != "number" && (t.y = e.y), typeof t.w != "number" && (t.w = e.w), typeof t.h != "number" && (t.h = e.h);
1730
+ let r = e.w !== t.w || e.h !== t.h, i = W.copyPos({}, e, !0);
1731
+ if (W.copyPos(i, t), this.nodeBoundFix(i, r), W.copyPos(t, i), !t.forceCollide && W.samePos(e, t)) return !1;
1732
+ let a = W.copyPos({}, e);
1733
+ if (this.mode === "list" || this.mode === "compact") {
1734
+ let r = !1;
1735
+ if (e._moving && !t.nested && e.grid?.opts?.subGridDynamic) {
1736
+ let a = this.directionCollideCoverage(e, t, this.collideAll(e, i, t.skip));
1737
+ this._makeDynamicSubGrid(e, t, a) && (r = !0, n && delete t.pack);
1738
+ }
1739
+ if (!r) {
1740
+ e._dirty = !0;
1741
+ let t = a.y * this.column + a.x;
1742
+ W.copyPos(e, i);
1743
+ let n = this.nodes.indexOf(e);
1744
+ n !== -1 && (this.nodes.splice(n, 1), e.y * this.column + e.x < t ? this.nodes.unshift(e) : this.nodes.push(e));
1745
+ }
1746
+ } else {
1747
+ let r = this.collideAll(e, i, t.skip), a = !0;
1748
+ if (r.length) {
1749
+ let o = e._moving && !t.nested, s = o ? this.directionCollideCoverage(e, t, r) : r[0];
1750
+ o && this._makeDynamicSubGrid(e, t, s) && (s = void 0), s ? a = !this._fixCollisions(e, i, s, t) : (a = !1, n && delete t.pack);
1751
+ }
1752
+ a && !W.samePos(e, i) && (e._dirty = !0, W.copyPos(e, i));
1753
+ }
1754
+ return t.pack && this._packNodes()._notify(), !W.samePos(e, a);
1755
+ }
1756
+ getRow() {
1757
+ return this.nodes.reduce((e, t) => Math.max(e, t.y + t.h), 0);
1758
+ }
1759
+ beginUpdate(e) {
1760
+ return e._updating || (e._updating = !0, delete e._skipDown, this.batchMode || this.saveInitial()), this;
1761
+ }
1762
+ endUpdate() {
1763
+ let e = this.nodes.find((e) => e._updating);
1764
+ return e && (delete e._updating, delete e._skipDown, this.mode === "compact" && this._packNodes()._notify()), this;
1765
+ }
1766
+ save(e = !0, t, n) {
1767
+ let r = this._layouts?.length || 0, i;
1768
+ r && (n ? n !== this.column && (i = this._layouts[n]) : this.column !== r - 1 && (i = this._layouts[r - 1]));
1769
+ let a = [];
1770
+ return this.sortNodes(), this.nodes.forEach((n) => {
1771
+ let r = i?.find((e) => e._id === n._id), o = {
1772
+ ...n,
1773
+ ...r || {}
1774
+ };
1775
+ W.removeInternalForSave(o, !e), t && t(n, o), a.push(o);
1776
+ }), a;
1777
+ }
1778
+ layoutsNodesChange(e) {
1779
+ return !this._layouts || this._inColumnResize || this._layouts.forEach((t, n) => {
1780
+ if (t && n !== this.column) {
1781
+ if (n < this.column) this._layouts[n] = void 0;
1782
+ else {
1783
+ let r = n / this.column;
1784
+ e.forEach((e) => {
1785
+ if (!e._orig) return;
1786
+ let n = t.find((t) => t._id === e._id);
1787
+ n && (n.y >= 0 && e.y !== e._orig.y && (n.y += e.y - e._orig.y, n.y < 0 && (n.y = 0)), e.x !== e._orig.x && (n.x = Math.round(e.x * r), n.x < 0 && (n.x = 0)), e.w !== e._orig.w && (n.w = Math.round(e.w * r), n.w < 1 && (n.w = 1)));
1788
+ });
1789
+ }
1790
+ }
1791
+ }), this;
1792
+ }
1793
+ columnChanged(e, t, n) {
1794
+ if (!this.nodes.length || !t || e === t) return this;
1795
+ n ??= this.mode === "list" || this.mode === "compact" ? this.mode : "moveScale";
1796
+ let r = n === "compact" || n === "list" ? n : void 0;
1797
+ r && this.sortNodes(1), t < e && this.cacheLayout(this.nodes, e), this.batchUpdate();
1798
+ let i = [], a = r ? this.nodes : W.sort(this.nodes, -1);
1799
+ if (t > e && this._layouts) {
1800
+ let n = this._layouts[t] || [], o = this._layouts.length - 1;
1801
+ !n.length && e !== o && this._layouts[o]?.length && (e = o, this._layouts[o].forEach((e) => {
1802
+ let t = a.find((t) => t._id === e._id);
1803
+ t && (!r && !e.autoPosition && (t.x = e.x ?? t.x, t.y = e.y ?? t.y), t.w = e.w ?? t.w, (e.x == null || e.y === void 0) && (t.autoPosition = !0));
1804
+ })), n.forEach((e) => {
1805
+ let t = a.findIndex((t) => t._id === e._id);
1806
+ if (t !== -1) {
1807
+ let n = a[t];
1808
+ if (r) {
1809
+ n.w = e.w;
1810
+ return;
1811
+ }
1812
+ (e.autoPosition || isNaN(e.x) || isNaN(e.y)) && this.findEmptyPosition(e, i), e.autoPosition || (n.x = e.x ?? n.x, n.y = e.y ?? n.y, n.w = e.w ?? n.w, i.push(n)), a.splice(t, 1);
1813
+ }
1814
+ });
1815
+ }
1816
+ if (r) this.compact(r, !1);
1817
+ else {
1818
+ if (a.length) {
1819
+ if (typeof n == "function") n(t, e, i, a);
1820
+ else {
1821
+ let o = r || n === "none" ? 1 : t / e, s = n === "move" || n === "moveScale", c = n === "scale" || n === "moveScale";
1822
+ a.forEach((n) => {
1823
+ n.x = t === 1 ? 0 : s ? Math.round(n.x * o) : Math.min(n.x, t - 1), n.w = t === 1 || e === 1 ? 1 : c ? Math.round(n.w * o) || 1 : Math.min(n.w, t), i.push(n);
1824
+ }), a = [];
1825
+ }
1826
+ }
1827
+ i = W.sort(i, -1), this._inColumnResize = !0, this.nodes = [], i.forEach((e) => {
1828
+ this.addNode(e, !1), delete e._orig;
1829
+ });
1830
+ }
1831
+ return this.nodes.forEach((e) => delete e._orig), this.batchUpdate(!1, !r), delete this._inColumnResize, this;
1832
+ }
1833
+ cacheLayout(t, n, r = !1) {
1834
+ let i = [];
1835
+ return t.forEach((t, n) => {
1836
+ t._id === void 0 && (t._id = (t.id ? this.nodes.find((e) => e.id === t.id) : void 0)?._id ?? e._idSeq++), i[n] = {
1837
+ x: t.x,
1838
+ y: t.y,
1839
+ w: t.w,
1840
+ _id: t._id
1841
+ };
1842
+ }), this._layouts = r ? [] : this._layouts || [], this._layouts[n] = i, this;
1843
+ }
1844
+ cacheOneLayout(t, n) {
1845
+ t._id = t._id ?? e._idSeq++;
1846
+ let r = {
1847
+ x: t.x,
1848
+ y: t.y,
1849
+ w: t.w,
1850
+ _id: t._id
1851
+ };
1852
+ (t.autoPosition || t.x === void 0) && (delete r.x, delete r.y, t.autoPosition && (r.autoPosition = !0)), this._layouts = this._layouts || [], this._layouts[n] = this._layouts[n] || [];
1853
+ let i = this.findCacheLayout(t, n);
1854
+ return i === -1 ? this._layouts[n].push(r) : this._layouts[n][i] = r, this;
1855
+ }
1856
+ findCacheLayout(e, t) {
1857
+ return this._layouts?.[t]?.findIndex((t) => t._id === e._id) ?? -1;
1858
+ }
1859
+ removeNodeFromLayoutCache(e) {
1860
+ if (this._layouts) for (let t = 0; t < this._layouts.length; t++) {
1861
+ let n = this.findCacheLayout(e, t);
1862
+ n !== -1 && this._layouts[t].splice(n, 1);
1863
+ }
1864
+ }
1865
+ cleanupNode(e) {
1866
+ let t = e;
1867
+ for (let e in t) e[0] === "_" && e !== "_id" && delete t[e];
1868
+ return this;
1869
+ }
1870
+ };
1871
+ tn._idSeq = 0;
1872
+ // node_modules/gridstack/dist/types.js
1873
+ var G = {
1874
+ alwaysShowResizeHandle: "mobile",
1875
+ animate: !0,
1876
+ auto: !0,
1877
+ cellHeight: "auto",
1878
+ cellHeightThrottle: 100,
1879
+ cellHeightUnit: "px",
1880
+ column: 12,
1881
+ draggable: {
1882
+ handle: ".grid-stack-item-content",
1883
+ appendTo: "body",
1884
+ scroll: !0
1885
+ },
1886
+ handle: ".grid-stack-item-content",
1887
+ itemClass: "grid-stack-item",
1888
+ margin: 10,
1889
+ marginUnit: "px",
1890
+ maxRow: 0,
1891
+ minRow: 0,
1892
+ placeholderClass: "grid-stack-placeholder",
1893
+ placeholderText: "",
1894
+ removableOptions: {
1895
+ accept: "grid-stack-item",
1896
+ decline: "grid-stack-non-removable"
1897
+ },
1898
+ resizable: { handles: "se" },
1899
+ rtl: "auto"
1900
+ }, K = class {}, q = typeof window < "u" && typeof document < "u" && ("ontouchstart" in document || "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch || navigator.maxTouchPoints > 0 && window.matchMedia("(any-pointer: coarse)").matches || navigator.msMaxTouchPoints > 0), nn = 300, rn = 10, J = class {};
1901
+ function Y(e) {
1902
+ e.preventDefault();
1903
+ }
1904
+ function an() {
1905
+ document.addEventListener("contextmenu", Y, !0), document.addEventListener("selectstart", Y, !0);
1906
+ }
1907
+ function on() {
1908
+ document.removeEventListener("contextmenu", Y, !0), document.removeEventListener("selectstart", Y, !0);
1909
+ }
1910
+ function sn(e, t, n) {
1911
+ e.removeEventListener("touchmove", t), e.removeEventListener("touchend", n), e.removeEventListener("touchcancel", n), cn();
1912
+ }
1913
+ function cn() {
1914
+ J.touchDelayTimer && (window.clearTimeout(J.touchDelayTimer), delete J.touchDelayTimer), on();
1915
+ }
1916
+ function ln(e, t) {
1917
+ e.touches.length > 1 || (e.cancelable && e.preventDefault(), W.simulateMouseEvent(e.changedTouches[0], t));
1918
+ }
1919
+ function un(e, t) {
1920
+ e.cancelable && e.preventDefault(), W.simulateMouseEvent(e, t);
1921
+ }
1922
+ function dn(e) {
1923
+ if (J.touchHandled) return;
1924
+ let t = e.currentTarget, n = e.touches[0].clientX, r = e.touches[0].clientY, i = () => sn(t, a, i), a = (e) => {
1925
+ let t = e.touches[0];
1926
+ Math.abs(t.clientX - n) + Math.abs(t.clientY - r) > rn && i();
1927
+ };
1928
+ t.addEventListener("touchmove", a, { passive: !0 }), t.addEventListener("touchend", i, { passive: !0 }), t.addEventListener("touchcancel", i, { passive: !0 }), J.touchDelayTimer = window.setTimeout(() => {
1929
+ sn(t, a, i), J.touchHandled = !0, J.wasDelayed = !0, an(), ln(e, "mousedown"), delete J.wasDelayed;
1930
+ }, nn);
1931
+ }
1932
+ function fn(e) {
1933
+ J.touchHandled && ln(e, "mousemove");
1934
+ }
1935
+ function X(e) {
1936
+ if (!J.touchHandled) return;
1937
+ on(), J.pointerLeaveTimeout && (window.clearTimeout(J.pointerLeaveTimeout), delete J.pointerLeaveTimeout);
1938
+ let t = !!K.dragElement;
1939
+ ln(e, "mouseup"), !t && e.type !== "touchcancel" && ln(e, "click"), J.touchHandled = !1;
1940
+ }
1941
+ function pn(e) {
1942
+ e.pointerType !== "mouse" && e.target.releasePointerCapture(e.pointerId);
1943
+ }
1944
+ function mn(e) {
1945
+ K.dragElement && e.pointerType !== "mouse" && un(e, "mouseenter");
1946
+ }
1947
+ function hn(e) {
1948
+ K.dragElement && e.pointerType !== "mouse" && (J.pointerLeaveTimeout = window.setTimeout(() => {
1949
+ delete J.pointerLeaveTimeout, un(e, "mouseleave");
1950
+ }, 10));
1951
+ }
1952
+ // node_modules/gridstack/dist/dd-resizable-handle.js
1953
+ var gn = class e {
1954
+ constructor(e, t, n) {
1955
+ this.host = e, this.dir = t, this.option = n, 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();
1956
+ }
1957
+ _init() {
1958
+ if (this.option.element) try {
1959
+ this.el = this.option.element instanceof HTMLElement ? this.option.element : this.host.querySelector(this.option.element);
1960
+ } catch (e) {
1961
+ this.option.element = void 0, console.error("Query for resizeable handle failed, falling back", e);
1962
+ }
1963
+ return this.el || (this.el = document.createElement("div"), this.host.appendChild(this.el)), this.el.classList.add("ui-resizable-handle"), this.el.classList.add(`${e.prefix}${this.dir}`), this.el.addEventListener("mousedown", this._mouseDown), q && (this.el.addEventListener("touchstart", dn), this.el.addEventListener("pointerdown", pn)), this;
1964
+ }
1965
+ destroy() {
1966
+ return this.mouseDownEvent && this._mouseUp(this.mouseDownEvent), cn(), this.el.removeEventListener("mousedown", this._mouseDown), q && (this.el.removeEventListener("touchstart", dn), this.el.removeEventListener("pointerdown", pn)), this.option.element || this.host.removeChild(this.el), this;
1967
+ }
1968
+ _mouseDown(e) {
1969
+ this.mouseDownEvent = e, document.addEventListener("mousemove", this._mouseMove, {
1970
+ capture: !0,
1971
+ passive: !0
1972
+ }), document.addEventListener("mouseup", this._mouseUp, !0), q && (this.el.addEventListener("touchmove", fn), this.el.addEventListener("touchend", X), this.el.addEventListener("touchcancel", X)), J.wasDelayed && this.el.classList.add("ui-resizable-armed"), e.stopPropagation(), e.preventDefault();
1973
+ }
1974
+ _mouseMove(e) {
1975
+ let t = this.mouseDownEvent;
1976
+ this.moving ? this._triggerEvent("move", e) : Math.abs(e.x - t.x) + Math.abs(e.y - t.y) > 2 && (this.moving = !0, this.el.classList.remove("ui-resizable-armed"), this._triggerEvent("start", this.mouseDownEvent), this._triggerEvent("move", e), document.addEventListener("keydown", this._keyEvent)), e.stopPropagation();
1977
+ }
1978
+ _mouseUp(e) {
1979
+ this.moving && (this._triggerEvent("stop", e), document.removeEventListener("keydown", this._keyEvent)), this.el.classList.remove("ui-resizable-armed"), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), q && (this.el.removeEventListener("touchmove", fn), this.el.removeEventListener("touchend", X), this.el.removeEventListener("touchcancel", X)), delete this.moving, delete this.mouseDownEvent, e.stopPropagation(), e.preventDefault();
1980
+ }
1981
+ _keyEvent(e) {
1982
+ e.key === "Escape" && (this.host.gridstackNode?.grid?.engine.restoreInitial(), this._mouseUp(this.mouseDownEvent));
1983
+ }
1984
+ _triggerEvent(e, t) {
1985
+ let n = this.option;
1986
+ return n[e] && n[e](t), this;
1987
+ }
1988
+ };
1989
+ gn.prefix = "ui-resizable-";
1990
+ // node_modules/gridstack/dist/dd-base-impl.js
1991
+ var _n = class {
1992
+ constructor() {
1993
+ this._eventRegister = {};
1994
+ }
1995
+ get disabled() {
1996
+ return this._disabled;
1997
+ }
1998
+ on(e, t) {
1999
+ this._eventRegister[e] = t;
2000
+ }
2001
+ off(e) {
2002
+ delete this._eventRegister[e];
2003
+ }
2004
+ enable() {
2005
+ this._disabled = !1;
2006
+ }
2007
+ disable() {
2008
+ this._disabled = !0;
2009
+ }
2010
+ destroy() {
2011
+ this._eventRegister = {};
2012
+ }
2013
+ triggerEvent(e, t) {
2014
+ if (!this.disabled && this._eventRegister[e]) return this._eventRegister[e](t);
2015
+ }
2016
+ }, vn = class e extends _n {
2017
+ constructor(e, t = {}) {
2018
+ super(), this.el = e, this.option = t, this.rectScale = {
2019
+ x: 1,
2020
+ y: 1
2021
+ }, this._ui = () => {
2022
+ let e = this.el.parentElement.getBoundingClientRect(), t = {
2023
+ width: this.originalRect.width,
2024
+ height: this.originalRect.height + this.scrolled,
2025
+ left: this.originalRect.left,
2026
+ right: this.originalRect.right,
2027
+ top: this.originalRect.top - this.scrolled
2028
+ }, n = this.temporalRect || t;
2029
+ return {
2030
+ position: {
2031
+ left: this.option.rtl ? (e.right - n.right) * this.rectScale.x : (n.left - e.left) * this.rectScale.x,
2032
+ top: (n.top - e.top) * this.rectScale.y
2033
+ },
2034
+ size: {
2035
+ width: n.width * this.rectScale.x,
2036
+ height: n.height * this.rectScale.y
2037
+ }
2038
+ };
2039
+ }, this._mouseOver = this._mouseOver.bind(this), this._mouseOut = this._mouseOut.bind(this), this.enable(), this._setupAutoHide(!!this.option.autoHide), this._setupHandlers();
2040
+ }
2041
+ on(e, t) {
2042
+ super.on(e, t);
2043
+ }
2044
+ off(e) {
2045
+ super.off(e);
2046
+ }
2047
+ enable() {
2048
+ super.enable(), this.el.classList.remove("ui-resizable-disabled"), this._setupAutoHide(!!this.option.autoHide);
2049
+ }
2050
+ disable() {
2051
+ super.disable(), this.el.classList.add("ui-resizable-disabled"), this._setupAutoHide(!1);
2052
+ }
2053
+ destroy() {
2054
+ K.resizeElement === this && delete K.resizeElement, this._removeHandlers(), this._setupAutoHide(!1), delete this.el, super.destroy();
2055
+ }
2056
+ updateOption(e) {
2057
+ let t = e.handles && e.handles !== this.option.handles, n = e.autoHide && e.autoHide !== this.option.autoHide;
2058
+ return Object.assign(this.option, e), t && (this._removeHandlers(), this._setupHandlers()), n && this._setupAutoHide(!!this.option.autoHide), this;
2059
+ }
2060
+ _setupAutoHide(e) {
2061
+ return e ? (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), K.overResizeElement === this && delete K.overResizeElement), this;
2062
+ }
2063
+ _mouseOver(e) {
2064
+ K.overResizeElement || K.dragElement || (K.overResizeElement = this, K.resizeElement || this.el.classList.remove("ui-resizable-autohide"));
2065
+ }
2066
+ _mouseOut(e) {
2067
+ K.overResizeElement === this && (delete K.overResizeElement, this.el.classList.add("ui-resizable-autohide"));
2068
+ }
2069
+ _setupHandlers() {
2070
+ return this.handlers = (this.option.handles ?? "se").split(",").map((e) => e.trim()).map((e) => new gn(this.el, e, {
2071
+ element: this.option.element,
2072
+ start: (e) => this._resizeStart(e),
2073
+ stop: (e) => this._resizeStop(e),
2074
+ move: (t) => this._resizing(t, e)
2075
+ })), this;
2076
+ }
2077
+ _resizeStart(e) {
2078
+ this.sizeToContent = W.shouldSizeToContent(this.el.gridstackNode, !0), this.originalRect = this.el.getBoundingClientRect(), this.scrollEl = W.getScrollElement(this.el), this.scrollY = this.scrollEl.scrollTop, this.scrolled = 0, this.startEvent = e, W.pauseIframePointerEvents(!0), this._setupHelper(), this._applyChange();
2079
+ let t = W.initEvent(e, {
2080
+ type: "resizestart",
2081
+ target: this.el
2082
+ });
2083
+ return K.resizeElement = this, this.option.start && this.option.start(t, this._ui()), this.el.classList.add("ui-resizable-resizing"), this.triggerEvent("resizestart", t), this;
2084
+ }
2085
+ _resizing(e, t) {
2086
+ this.scrolled = this.scrollEl.scrollTop - this.scrollY, this.temporalRect = this._getChange(e, t), this._applyChange();
2087
+ let n = W.initEvent(e, {
2088
+ type: "resize",
2089
+ target: this.el
2090
+ });
2091
+ return n.resizeDir = t, n.hasMovedX = this.option.rtl ? t.includes("e") : t.includes("w"), n.hasMovedY = t.includes("n"), this.option.resize && this.option.resize(n, this._ui()), this.triggerEvent("resize", n), this;
2092
+ }
2093
+ _resizeStop(e) {
2094
+ let t = W.initEvent(e, {
2095
+ type: "resizestop",
2096
+ target: this.el
2097
+ });
2098
+ return W.pauseIframePointerEvents(!1), this._cleanHelper(), this.option.stop && this.option.stop(t), this.el.classList.remove("ui-resizable-resizing"), K.resizeElement === this && delete K.resizeElement, !K.resizeElement && K.overResizeElement && K.overResizeElement.el.classList.remove("ui-resizable-autohide"), this.triggerEvent("resizestop", t), delete this.startEvent, delete this.originalRect, delete this.temporalRect, delete this.scrollY, delete this.scrolled, this;
2099
+ }
2100
+ _setupHelper() {
2101
+ this.elOriginStyleVal = e._originStyleProp.map((e) => this.el.style[e]);
2102
+ let t = this.el.parentElement;
2103
+ this.parentOriginStylePosition = t.style.position;
2104
+ let n = W.getValuesFromTransformedElement(t);
2105
+ return this.rectScale = {
2106
+ x: n.xScale,
2107
+ y: n.yScale
2108
+ }, getComputedStyle(t).position.match(/static/) && (t.style.position = "relative"), this.el.style.position = "absolute", this.el.style.opacity = "0.8", this;
2109
+ }
2110
+ _cleanHelper() {
2111
+ return e._originStyleProp.forEach((e, t) => {
2112
+ this.el.style[e] = this.elOriginStyleVal[t] || null;
2113
+ }), this.el.parentElement.style.position = this.parentOriginStylePosition || null, this;
2114
+ }
2115
+ _getChange(e, t) {
2116
+ let n = this.startEvent, r = {
2117
+ width: this.originalRect.width,
2118
+ height: this.originalRect.height + this.scrolled,
2119
+ left: this.originalRect.left,
2120
+ right: this.originalRect.right,
2121
+ top: this.originalRect.top - this.scrolled
2122
+ }, i = e.clientX - n.clientX, a = this.sizeToContent ? 0 : e.clientY - n.clientY, o = !1, s = !1, c = this.option.rtl;
2123
+ !c && t.indexOf("e") > -1 ? r.width += i : c && t.indexOf("w") > -1 ? r.width -= i : !c && t.indexOf("w") > -1 ? (r.width -= i, r.left += i, o = !0) : c && t.indexOf("e") > -1 && (r.width += i, r.right += i, o = !0), t.indexOf("s") > -1 ? r.height += a : t.indexOf("n") > -1 && (r.height -= a, r.top += a, s = !0);
2124
+ let l = this._constrainSize(r.width, r.height, o, s);
2125
+ return Math.round(r.width) !== Math.round(l.width) && (!c && t.indexOf("w") > -1 ? r.left += r.width - l.width : c && t.indexOf("e") > -1 && (r.right -= r.width - l.width), r.width = l.width), Math.round(r.height) !== Math.round(l.height) && (t.indexOf("n") > -1 && (r.top += r.height - l.height), r.height = l.height), r;
2126
+ }
2127
+ _constrainSize(e, t, n, r) {
2128
+ let i = this.option, a = (n ? i.maxWidthMoveLeft : i.maxWidth) || 2 ** 53 - 1, o = (i.minWidth ?? 0) / this.rectScale.x || e, s = (r ? i.maxHeightMoveUp : i.maxHeight) || 2 ** 53 - 1, c = (i.minHeight ?? 0) / this.rectScale.y || t;
2129
+ return {
2130
+ width: Math.min(a, Math.max(o, e)),
2131
+ height: Math.min(s, Math.max(c, t))
2132
+ };
2133
+ }
2134
+ _applyChange() {
2135
+ let e = {
2136
+ left: 0,
2137
+ right: 0,
2138
+ top: 0,
2139
+ width: 0,
2140
+ height: 0
2141
+ };
2142
+ if (this.el.style.position === "absolute") {
2143
+ let { left: t, right: n, top: r } = this.el.parentElement.getBoundingClientRect();
2144
+ e = {
2145
+ left: t,
2146
+ right: n,
2147
+ top: r,
2148
+ width: 0,
2149
+ height: 0
2150
+ };
2151
+ }
2152
+ if (!this.temporalRect) return this;
2153
+ let t = e;
2154
+ return Object.entries(this.temporalRect).forEach(([n, r]) => {
2155
+ if (this.option.rtl ? n === "left" : n === "right") return;
2156
+ let i = n === "width" || n === "left" || n === "right" ? this.rectScale.x : n === "height" || n === "top" ? this.rectScale.y : 1, a;
2157
+ a = n === "right" ? (e.right - r) * this.rectScale.x + "px" : (r - t[n]) * i + "px", this.el.style[n] = a;
2158
+ }), this;
2159
+ }
2160
+ _removeHandlers() {
2161
+ return this.handlers.forEach((e) => e.destroy()), delete this.handlers, this;
2162
+ }
2163
+ };
2164
+ vn._originStyleProp = [
2165
+ "width",
2166
+ "height",
2167
+ "position",
2168
+ "left",
2169
+ "right",
2170
+ "top",
2171
+ "opacity",
2172
+ "zIndex"
2173
+ ];
2174
+ // node_modules/gridstack/dist/dd-draggable.js
2175
+ var yn = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-resizable-handle", bn = class e extends _n {
2176
+ constructor(e, t = {}) {
2177
+ super(), this.el = e, this.option = t, this.dragTransform = {
2178
+ xScale: 1,
2179
+ yScale: 1,
2180
+ xOffset: 0,
2181
+ yOffset: 0
2182
+ }, this._autoScrollTick = () => {
2183
+ let e = this.helper, t = this._autoScrollContainer;
2184
+ if (!e || !t) {
2185
+ this._stopScrolling();
2186
+ return;
2187
+ }
2188
+ let n = this._getClipping(e, t);
2189
+ if (n === 0) {
2190
+ this._stopScrolling();
2191
+ return;
2192
+ }
2193
+ if (!this._autoScrollMaxSpeed) {
2194
+ let e = window.innerHeight || document.documentElement.clientHeight;
2195
+ this._autoScrollMaxSpeed = Math.max(e / 150, 4);
2196
+ }
2197
+ let r = Math.min(Math.abs(n) * .5, this._autoScrollMaxSpeed), i = n > 0 ? r : -r, a = t.scrollTop;
2198
+ t.scrollTop += i, t.scrollTop === a ? this._stopScrolling() : (this.dragging && this.lastDrag && (this._dragFollow(this.lastDrag), this._callDrag(this.lastDrag)), this._autoScrollAnimId = requestAnimationFrame(this._autoScrollTick));
2199
+ };
2200
+ let n = t?.handle?.substring(1), r = e.gridstackNode;
2201
+ this.dragEls = !n || e.classList.contains(n) ? [e] : r?.subGrid ? [e.querySelector(t.handle) || e] : this.getAllHandles(), this.dragEls.length === 0 && (this.dragEls = [e]), 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();
2202
+ }
2203
+ getAllHandles() {
2204
+ let e = this.option.handle;
2205
+ if (!e) return [];
2206
+ let t = [], n = (r) => {
2207
+ t.push(...Array.from(r.querySelectorAll(e))), r.querySelectorAll("*").forEach((e) => {
2208
+ let t = e.shadowRoot;
2209
+ t && n(t);
2210
+ });
2211
+ };
2212
+ return n(this.el), t.filter((e) => {
2213
+ if (!(e instanceof HTMLElement)) return !1;
2214
+ let t = e.closest(".grid-stack-item"), n = e.getRootNode();
2215
+ for (; !t && n instanceof ShadowRoot;) t = n.host.closest(".grid-stack-item"), n = n.host.getRootNode();
2216
+ return t === this.el || !t;
2217
+ });
2218
+ }
2219
+ on(e, t) {
2220
+ super.on(e, t);
2221
+ }
2222
+ off(e) {
2223
+ super.off(e);
2224
+ }
2225
+ enable() {
2226
+ this.disabled !== !1 && (super.enable(), this.dragEls.forEach((e) => {
2227
+ e.addEventListener("mousedown", this._mouseDown), q && (e.addEventListener("touchstart", dn), e.addEventListener("pointerdown", pn));
2228
+ }), this.el.classList.remove("ui-draggable-disabled"));
2229
+ }
2230
+ disable(e = !1) {
2231
+ this.disabled !== !0 && (super.disable(), cn(), this.dragEls.forEach((e) => {
2232
+ e.removeEventListener("mousedown", this._mouseDown), q && (e.removeEventListener("touchstart", dn), e.removeEventListener("pointerdown", pn));
2233
+ }), e || this.el.classList.add("ui-draggable-disabled"));
2234
+ }
2235
+ destroy() {
2236
+ this.dragTimeout && window.clearTimeout(this.dragTimeout), delete this.dragTimeout, this.mouseDownEvent && this._mouseUp(this.mouseDownEvent), this.disable(!0), delete this.el, delete this.option, super.destroy();
2237
+ }
2238
+ updateOption(e) {
2239
+ return Object.assign(this.option, e), this;
2240
+ }
2241
+ refreshHandles() {
2242
+ let e = this.disabled;
2243
+ e || this.disable(!0);
2244
+ let t = this.option?.handle?.substring(1), n = this.el.gridstackNode;
2245
+ this.dragEls = !t || this.el.classList.contains(t) ? [this.el] : n?.subGrid ? [this.el.querySelector(this.option.handle) || this.el] : this.getAllHandles(), this.dragEls.length === 0 && (this.dragEls = [this.el]), e || this.enable();
2246
+ }
2247
+ _mouseDown(e) {
2248
+ if (e.isTrusted && (J.touchHandled &&= !1, K.mouseHandled && e.timeStamp !== K.mouseHandledTimeStamp && delete K.mouseHandled), K.mouseHandled || e.button !== 0) return !0;
2249
+ let t = e.target.closest(yn);
2250
+ return t && !this.dragEls.some((n) => n === e.target || n === t) || this.option.cancel && e.target.closest(this.option.cancel) || (this.mouseDownEvent = e, delete this.dragging, delete K.dragElement, delete K.dropElement, delete this._autoScrollMaxSpeed, delete this._autoScrollContainer, document.addEventListener("mousemove", this._mouseMove, {
2251
+ capture: !0,
2252
+ passive: !0
2253
+ }), document.addEventListener("mouseup", this._mouseUp, !0), q && e.currentTarget && (e.currentTarget.addEventListener("touchmove", fn), e.currentTarget.addEventListener("touchend", X), e.currentTarget.addEventListener("touchcancel", X)), J.wasDelayed && this.el.classList.add("ui-draggable-armed"), e.preventDefault(), document.activeElement && document.activeElement.blur(), K.mouseHandled = !0, K.mouseHandledTimeStamp = e.timeStamp), !0;
2254
+ }
2255
+ _callDrag(e) {
2256
+ if (!this.dragging) return;
2257
+ let t = W.initEvent(e, {
2258
+ target: this.el,
2259
+ type: "drag"
2260
+ });
2261
+ this.option.drag && this.option.drag(t, this.ui()), this.triggerEvent("drag", t);
2262
+ }
2263
+ _mouseMove(e) {
2264
+ let t = this.mouseDownEvent;
2265
+ if (this.lastDrag = e, this.dragging) {
2266
+ if (this._dragFollow(e), K.pauseDrag) {
2267
+ let t = Number.isInteger(K.pauseDrag) ? K.pauseDrag : 100;
2268
+ this.dragTimeout && window.clearTimeout(this.dragTimeout), this.dragTimeout = window.setTimeout(() => this._callDrag(e), t);
2269
+ } else this._callDrag(e);
2270
+ } else if (Math.abs(e.x - t.x) + Math.abs(e.y - t.y) > 3) {
2271
+ this.dragging = !0, W.pauseIframePointerEvents(!0), this.el.classList.remove("ui-draggable-armed"), K.dragElement = this;
2272
+ let t = this.el.gridstackNode?.grid;
2273
+ t ? K.dropElement = t.el.ddElement?.ddDroppable : delete K.dropElement, this.helper = this._createHelper(), this._setupHelperContainmentStyle(), this.dragTransform = W.getValuesFromTransformedElement(this.helperContainment), this.dragOffset = this._getDragOffset(e, this.el, this.helperContainment), this._setupHelperStyle(e);
2274
+ let n = W.initEvent(e, {
2275
+ target: this.el,
2276
+ type: "dragstart"
2277
+ });
2278
+ this.option.start && this.option.start(n, this.ui()), this.triggerEvent("dragstart", n), document.addEventListener("keydown", this._keyEvent);
2279
+ }
2280
+ return !0;
2281
+ }
2282
+ _mouseUp(e) {
2283
+ if (this._stopScrolling(), this.el.classList.remove("ui-draggable-armed"), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), q && e.currentTarget && (e.currentTarget.removeEventListener("touchmove", fn, !0), e.currentTarget.removeEventListener("touchend", X, !0), e.currentTarget.removeEventListener("touchcancel", X, !0)), this.dragging) {
2284
+ delete this.dragging, W.pauseIframePointerEvents(!1), delete this.el.gridstackNode?._origRotate, document.removeEventListener("keydown", this._keyEvent), K.dropElement?.el === this.el.parentElement && delete K.dropElement, this.helperContainment.style.position = this.parentOriginStylePosition || null, this.helper && this.helper !== this.el && this.helper.remove(), this._removeHelperStyle();
2285
+ let t = W.initEvent(e, {
2286
+ target: this.el,
2287
+ type: "dragstop"
2288
+ });
2289
+ this.option.stop && this.option.stop(t), this.triggerEvent("dragstop", t), K.dropElement && K.dropElement.drop(e);
2290
+ }
2291
+ delete this.helper, delete this.mouseDownEvent, delete K.dragElement, delete K.dropElement, delete K.mouseHandled, delete K.mouseHandledTimeStamp, J.touchHandled = !1, e.preventDefault();
2292
+ }
2293
+ _keyEvent(e) {
2294
+ let t = this.el.gridstackNode, n = t?.grid || K.dropElement?.el?.gridstack;
2295
+ if (e.key === "Escape") t && t._origRotate && (t._orig = t._origRotate, delete t._origRotate), n?.cancelDrag(), this._mouseUp(this.mouseDownEvent);
2296
+ else if (t && n && (e.key === "r" || e.key === "R")) {
2297
+ if (!W.canBeRotated(t)) return;
2298
+ t._origRotate = t._origRotate || { ...t._orig }, delete t._moving, n.setAnimation(!1).rotate(t.el, {
2299
+ top: -this.dragOffset.offsetTop,
2300
+ left: -this.dragOffset.offsetX
2301
+ }).setAnimation(), t._moving = !0, this.dragOffset = this._getDragOffset(this.lastDrag, t.el, this.helperContainment), this.helper.style.width = this.dragOffset.width + "px", this.helper.style.height = this.dragOffset.height + "px", W.swap(t._orig, "w", "h"), delete t._rect, this._mouseMove(this.lastDrag);
2302
+ }
2303
+ }
2304
+ _createHelper() {
2305
+ let t = this.el;
2306
+ return typeof this.option.helper == "function" ? t = this.option.helper(this.el) : this.option.helper === "clone" && (t = W.cloneNode(this.el)), t.parentElement || W.appendTo(t, this.option.appendTo === "parent" ? this.el.parentElement : this.option.appendTo ?? "body"), this.dragElementOriginStyle = e.originStyleProp.map((e) => this.el.style[e]), t;
2307
+ }
2308
+ _setupHelperStyle(e) {
2309
+ this.helper.classList.add("ui-draggable-dragging"), this.el.gridstackNode?.grid?.el.classList.add("grid-stack-dragging");
2310
+ let t = this.helper.style;
2311
+ return t.pointerEvents = "none", t.width = this.dragOffset.width + "px", t.height = this.dragOffset.height + "px", t.willChange = "left, right, top", t.position = "fixed", this._dragFollow(e), t.transition = "none", setTimeout(() => {
2312
+ this.helper && (t.transition = null);
2313
+ }, 0), this;
2314
+ }
2315
+ _removeHelperStyle() {
2316
+ if (this.helper.classList.remove("ui-draggable-dragging"), (this.el._gridstackNodeOrig || this.el.gridstackNode)?.grid?.el.classList.remove("grid-stack-dragging"), !this.helper?.gridstackNode?._isAboutToRemove && this.dragElementOriginStyle) {
2317
+ let t = this.helper, n = this.dragElementOriginStyle, r = e.originStyleProp.indexOf("transition"), i = n[r] || null;
2318
+ t.style.transition = n[r] = "none";
2319
+ let a = t.style;
2320
+ e.originStyleProp.forEach((e, t) => a[e] = n[t] || null), setTimeout(() => t.style.transition = i || "", 50);
2321
+ }
2322
+ return delete this.dragElementOriginStyle, this;
2323
+ }
2324
+ _dragFollow(e) {
2325
+ let t = this.helper.style, n = this.dragOffset;
2326
+ this.option.rtl ? (t.right = (window.innerWidth - e.clientX + n.offsetX) * this.dragTransform.xScale + "px", t.left &&= "") : (t.left = (e.clientX + n.offsetX) * this.dragTransform.xScale + "px", t.right &&= ""), t.top = (e.clientY + n.offsetTop) * this.dragTransform.yScale + "px";
2327
+ }
2328
+ _setupHelperContainmentStyle() {
2329
+ 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;
2330
+ }
2331
+ _getDragOffset(e, t, n) {
2332
+ let r = 0, i = 0;
2333
+ n && (r = this.dragTransform.xOffset, i = this.dragTransform.yOffset);
2334
+ let a = t.getBoundingClientRect(), o = this.option.rtl ? a.right : a.left, s = this.option.rtl ? e.clientX - a.right + r : -e.clientX + a.left - r;
2335
+ return {
2336
+ x: o,
2337
+ top: a.top,
2338
+ offsetX: s,
2339
+ offsetTop: -e.clientY + a.top - i,
2340
+ width: a.width * this.dragTransform.xScale,
2341
+ height: a.height * this.dragTransform.yScale
2342
+ };
2343
+ }
2344
+ updateScrollPosition(e) {
2345
+ this._autoScrollContainer = W.getScrollElement(e), this._getClipping(this.helper, this._autoScrollContainer) === 0 ? this._stopScrolling() : this._autoScrollAnimId ||= requestAnimationFrame(this._autoScrollTick);
2346
+ }
2347
+ _getClipping(e, t) {
2348
+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = window.innerHeight || document.documentElement.clientHeight;
2349
+ if (n.bottom < r.top || n.top > r.bottom) return 0;
2350
+ let a = n.bottom - Math.min(r.bottom, i), o = n.top - Math.max(r.top, 0);
2351
+ return o < 0 ? o : a > 0 ? a : 0;
2352
+ }
2353
+ _stopScrolling() {
2354
+ this._autoScrollAnimId && (cancelAnimationFrame(this._autoScrollAnimId), delete this._autoScrollAnimId);
2355
+ }
2356
+ ui() {
2357
+ let e = this.el.parentElement.getBoundingClientRect(), t = this.helper.getBoundingClientRect(), n = this.option.rtl ? (e.right - t.right) * this.dragTransform.xScale : (t.left - e.left) * this.dragTransform.xScale;
2358
+ return { position: {
2359
+ top: (t.top - e.top) * this.dragTransform.yScale,
2360
+ left: n
2361
+ } };
2362
+ }
2363
+ };
2364
+ bn.originStyleProp = [
2365
+ "width",
2366
+ "height",
2367
+ "transform",
2368
+ "transform-origin",
2369
+ "transition",
2370
+ "pointerEvents",
2371
+ "position",
2372
+ "left",
2373
+ "right",
2374
+ "top",
2375
+ "minWidth",
2376
+ "willChange"
2377
+ ];
2378
+ // node_modules/gridstack/dist/dd-droppable.js
2379
+ var xn = class extends _n {
2380
+ constructor(e, t = {}) {
2381
+ super(), this.el = e, this.option = t, this._mouseEnter = this._mouseEnter.bind(this), this._mouseLeave = this._mouseLeave.bind(this), this.eventEl = this.el.closest(".grid-stack-item") || this.el, this.enable(), this._setupAccept();
2382
+ }
2383
+ on(e, t) {
2384
+ super.on(e, t);
2385
+ }
2386
+ off(e) {
2387
+ super.off(e);
2388
+ }
2389
+ enable() {
2390
+ this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.eventEl.addEventListener("mouseenter", this._mouseEnter), this.eventEl.addEventListener("mouseleave", this._mouseLeave), q && (this.eventEl.addEventListener("pointerenter", mn), this.eventEl.addEventListener("pointerleave", hn)));
2391
+ }
2392
+ disable(e = !1) {
2393
+ this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.eventEl.removeEventListener("mouseenter", this._mouseEnter), this.eventEl.removeEventListener("mouseleave", this._mouseLeave), q && (this.eventEl.removeEventListener("pointerenter", mn), this.eventEl.removeEventListener("pointerleave", hn)));
2394
+ }
2395
+ destroy() {
2396
+ this.disable(!0), this.el.classList.remove("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), super.destroy();
2397
+ }
2398
+ updateOption(e) {
2399
+ return Object.assign(this.option, e), this._setupAccept(), this;
2400
+ }
2401
+ _mouseEnter(e) {
2402
+ if (!K.dragElement || J.touchHandled && e.isTrusted || !this._canDrop(K.dragElement.el)) return;
2403
+ e.preventDefault(), e.stopPropagation(), K.dragElement._stopScrolling(), K.dropElement && K.dropElement !== this && K.dropElement._mouseLeave(e, !0), K.dropElement = this;
2404
+ let t = W.initEvent(e, {
2405
+ target: this.el,
2406
+ type: "dropover"
2407
+ });
2408
+ this.option.over && this.option.over(t, this._ui(K.dragElement)), this.triggerEvent("dropover", t), this.el.classList.add("ui-droppable-over");
2409
+ }
2410
+ _mouseLeave(e, t = !1) {
2411
+ if (!K.dragElement || K.dropElement !== this) return;
2412
+ e.preventDefault(), e.stopPropagation(), t && K.dragElement._stopScrolling();
2413
+ let n = W.initEvent(e, {
2414
+ target: this.el,
2415
+ type: "dropout"
2416
+ });
2417
+ if (this.option.out && this.option.out(n, this._ui(K.dragElement)), this.triggerEvent("dropout", n), K.dropElement === this && (delete K.dropElement, !t)) {
2418
+ let t, n = this.el.parentElement;
2419
+ for (; !t && n;) t = n.ddElement?.ddDroppable, n = n.parentElement;
2420
+ t && t._mouseEnter(e);
2421
+ }
2422
+ }
2423
+ drop(e) {
2424
+ e.preventDefault();
2425
+ let t = W.initEvent(e, {
2426
+ target: this.el,
2427
+ type: "drop"
2428
+ });
2429
+ this.option.drop && this.option.drop(t, this._ui(K.dragElement)), this.triggerEvent("drop", t);
2430
+ }
2431
+ _canDrop(e) {
2432
+ return e && (!this.accept || this.accept(e));
2433
+ }
2434
+ _setupAccept() {
2435
+ return this.option.accept && (this.accept = typeof this.option.accept == "string" ? (e) => e.classList.contains(this.option.accept) || e.matches(this.option.accept) : this.option.accept), this;
2436
+ }
2437
+ _ui(e) {
2438
+ return {
2439
+ draggable: e.el,
2440
+ ...e.ui()
2441
+ };
2442
+ }
2443
+ }, Sn = class e {
2444
+ static init(t) {
2445
+ return t.ddElement ||= new e(t), t.ddElement;
2446
+ }
2447
+ constructor(e) {
2448
+ this.el = e;
2449
+ }
2450
+ on(e, t) {
2451
+ return this.ddDraggable && [
2452
+ "drag",
2453
+ "dragstart",
2454
+ "dragstop"
2455
+ ].indexOf(e) > -1 ? this.ddDraggable.on(e, t) : this.ddDroppable && [
2456
+ "drop",
2457
+ "dropover",
2458
+ "dropout"
2459
+ ].indexOf(e) > -1 ? this.ddDroppable.on(e, t) : this.ddResizable && [
2460
+ "resizestart",
2461
+ "resize",
2462
+ "resizestop"
2463
+ ].indexOf(e) > -1 && this.ddResizable.on(e, t), this;
2464
+ }
2465
+ off(e) {
2466
+ return this.ddDraggable && [
2467
+ "drag",
2468
+ "dragstart",
2469
+ "dragstop"
2470
+ ].indexOf(e) > -1 ? this.ddDraggable.off(e) : this.ddDroppable && [
2471
+ "drop",
2472
+ "dropover",
2473
+ "dropout"
2474
+ ].indexOf(e) > -1 ? this.ddDroppable.off(e) : this.ddResizable && [
2475
+ "resizestart",
2476
+ "resize",
2477
+ "resizestop"
2478
+ ].indexOf(e) > -1 && this.ddResizable.off(e), this;
2479
+ }
2480
+ setupDraggable(e) {
2481
+ return this.ddDraggable ? this.ddDraggable.updateOption(e) : this.ddDraggable = new bn(this.el, e), this;
2482
+ }
2483
+ cleanDraggable() {
2484
+ return this.ddDraggable && (this.ddDraggable.destroy(), delete this.ddDraggable), this;
2485
+ }
2486
+ setupResizable(e) {
2487
+ return this.ddResizable ? this.ddResizable.updateOption(e) : this.ddResizable = new vn(this.el, e), this;
2488
+ }
2489
+ cleanResizable() {
2490
+ return this.ddResizable && (this.ddResizable.destroy(), delete this.ddResizable), this;
2491
+ }
2492
+ setupDroppable(e) {
2493
+ return this.ddDroppable ? this.ddDroppable.updateOption(e) : this.ddDroppable = new xn(this.el, e), this;
2494
+ }
2495
+ cleanDroppable() {
2496
+ return this.ddDroppable && (this.ddDroppable.destroy(), delete this.ddDroppable), this;
2497
+ }
2498
+ }, Z = new class {
2499
+ resizable(e, t, n, r) {
2500
+ return this._getDDElements(e, typeof t == "string" ? t : void 0).forEach((e) => {
2501
+ if (t === "disable" || t === "enable") e.ddResizable && e.ddResizable[t]();
2502
+ else if (t === "destroy") e.ddResizable && e.cleanResizable();
2503
+ else if (t === "option") e.setupResizable({ [n]: r });
2504
+ else {
2505
+ let n = e.el.gridstackNode.grid, r = e.el.getAttribute("gs-resize-handles") || n.opts.resizable.handles || "e,s,se";
2506
+ r === "all" && (r = "n,e,s,w,se,sw,ne,nw");
2507
+ let i = !n.opts.alwaysShowResizeHandle, a = t;
2508
+ e.setupResizable({
2509
+ ...n.opts.resizable,
2510
+ handles: r,
2511
+ autoHide: i,
2512
+ start: a.start,
2513
+ stop: a.stop,
2514
+ resize: a.resize,
2515
+ rtl: a.rtl
2516
+ });
2517
+ }
2518
+ }), this;
2519
+ }
2520
+ draggable(e, t, n, r) {
2521
+ return this._getDDElements(e, typeof t == "string" ? t : void 0).forEach((e) => {
2522
+ if (t === "disable" || t === "enable") e.ddDraggable && e.ddDraggable[t]();
2523
+ else if (t === "destroy") e.ddDraggable && e.cleanDraggable();
2524
+ else if (t === "option") e.setupDraggable({ [n]: r });
2525
+ else {
2526
+ let n = e.el.gridstackNode.grid, r = t;
2527
+ e.setupDraggable({
2528
+ ...n.opts.draggable,
2529
+ start: r.start,
2530
+ stop: r.stop,
2531
+ drag: r.drag,
2532
+ rtl: r.rtl
2533
+ });
2534
+ }
2535
+ }), this;
2536
+ }
2537
+ dragIn(e, t) {
2538
+ return this._getDDElements(e).forEach((e) => e.setupDraggable(t)), this;
2539
+ }
2540
+ droppable(e, t, n, r) {
2541
+ if (typeof t != "string") {
2542
+ let e = t;
2543
+ typeof e.accept == "function" && !e._accept && (e._accept = e.accept, e.accept = (t) => e._accept(t));
2544
+ }
2545
+ let i = typeof t == "string" ? t : void 0;
2546
+ return this._getDDElements(e, i).forEach((e) => {
2547
+ t === "disable" || t === "enable" ? e.ddDroppable && e.ddDroppable[t]() : t === "destroy" ? e.ddDroppable && e.cleanDroppable() : t === "option" ? e.setupDroppable({ [n]: r }) : e.setupDroppable(t);
2548
+ }), this;
2549
+ }
2550
+ isDroppable(e) {
2551
+ return !(!e?.ddElement?.ddDroppable || e.ddElement.ddDroppable.disabled);
2552
+ }
2553
+ isDraggable(e) {
2554
+ return !(!e?.ddElement?.ddDraggable || e.ddElement.ddDraggable.disabled);
2555
+ }
2556
+ isResizable(e) {
2557
+ return !(!e?.ddElement?.ddResizable || e.ddElement.ddResizable.disabled);
2558
+ }
2559
+ on(e, t, n) {
2560
+ return this._getDDElements(e).forEach((e) => e.on(t, (e) => {
2561
+ n(e, K.dragElement ? K.dragElement.el : e.target, K.dragElement ? K.dragElement.helper : void 0);
2562
+ })), this;
2563
+ }
2564
+ off(e, t) {
2565
+ return this._getDDElements(e).forEach((e) => e.off(t)), this;
2566
+ }
2567
+ _getDDElements(e, t) {
2568
+ let n = e.gridstack || t !== "destroy" && t !== "disable", r = W.getElements(e);
2569
+ return r.length ? r.map((e) => e.ddElement || (n ? Sn.init(e) : null)).filter((e) => !!e) : [];
2570
+ }
2571
+ }(), Q = class e {
2572
+ static init(t = {}, n = ".grid-stack") {
2573
+ if (typeof document > "u") return null;
2574
+ let r = e.getGridElement(n);
2575
+ return r ? (r.gridstack ||= new e(r, W.cloneDeep(t)), r.gridstack) : (console.error(typeof n == "string" ? "GridStack.initAll() no grid was found with selector \"" + n + "\" - element missing or wrong selector ?\nNote: \".grid-stack\" is required for proper CSS styling and drag/drop, and is the default selector." : "GridStack.init() no grid element was passed."), null);
2576
+ }
2577
+ static initAll(t = {}, n = ".grid-stack") {
2578
+ let r = [];
2579
+ return typeof document > "u" || (e.getGridElements(n).forEach((n) => {
2580
+ n.gridstack ||= new e(n, W.cloneDeep(t)), r.push(n.gridstack);
2581
+ }), r.length === 0 && console.error("GridStack.initAll() no grid was found with selector \"" + n + "\" - element missing or wrong selector ?\nNote: \".grid-stack\" is required for proper CSS styling and drag/drop, and is the default selector.")), r;
2582
+ }
2583
+ static addGrid(t, n = {}) {
2584
+ if (!t) return null;
2585
+ let r = t;
2586
+ if (r.gridstack) {
2587
+ let e = r.gridstack;
2588
+ return n && (e.opts = {
2589
+ ...e.opts,
2590
+ ...n
2591
+ }), n.children !== void 0 && e.load(n.children), e;
2592
+ }
2593
+ return (!t.classList.contains("grid-stack") || e.addRemoveCB) && (r = e.addRemoveCB ? e.addRemoveCB(t, n, !0, !0) : W.createDiv(["grid-stack", n.class], t)), e.init(n, r);
2594
+ }
2595
+ static registerEngine(t) {
2596
+ e.engineClass = t;
2597
+ }
2598
+ static _migrateFloat(e) {
2599
+ let t = e.float;
2600
+ t !== void 0 && (e.mode === void 0 && (e.mode = t ? "float" : "top"), delete e.float);
2601
+ }
2602
+ get placeholder() {
2603
+ if (!this._placeholder) {
2604
+ this._placeholder = W.createDiv([
2605
+ this.opts.placeholderClass,
2606
+ G.itemClass,
2607
+ this.opts.itemClass
2608
+ ]);
2609
+ let e = W.createDiv(["placeholder-content"], this._placeholder);
2610
+ this.opts.placeholderText && (e.textContent = this.opts.placeholderText);
2611
+ }
2612
+ return this._placeholder;
2613
+ }
2614
+ constructor(t, n = {}) {
2615
+ this.el = t, this.opts = n, this.animationDelay = 310, this._gsEventHandler = {}, this._extraDragRow = 0, this.dragTransform = {
2616
+ xScale: 1,
2617
+ yScale: 1,
2618
+ xOffset: 0,
2619
+ yOffset: 0
2620
+ }, t.gridstack = this, this.opts = n ||= {}, e._migrateFloat(n), t.classList.contains("grid-stack") || this.el.classList.add("grid-stack"), n.row && (n.minRow = n.maxRow = n.row, delete n.row);
2621
+ let r = W.toNumber(t.getAttribute("gs-row"));
2622
+ n.column === "auto" && delete n.column, n.alwaysShowResizeHandle !== void 0 && (n._alwaysShowResizeHandle = n.alwaysShowResizeHandle);
2623
+ let i = n.columnOpts;
2624
+ if (i) {
2625
+ let e = i.breakpoints;
2626
+ !i.columnWidth && !e?.length ? delete n.columnOpts : (e && e.length > 1 && (e.sort((e, t) => (t.w || 0) - (e.w || 0)), delete i.columnWidth), i.columnMax ??= 12);
2627
+ }
2628
+ let a = {
2629
+ ...W.cloneDeep(G),
2630
+ column: W.toNumber(t.getAttribute("gs-column")) || G.column,
2631
+ minRow: r || W.toNumber(t.getAttribute("gs-min-row")) || G.minRow,
2632
+ maxRow: r || W.toNumber(t.getAttribute("gs-max-row")) || G.maxRow,
2633
+ staticGrid: W.toBool(t.getAttribute("gs-static")) || G.staticGrid,
2634
+ sizeToContent: W.toBool(t.getAttribute("gs-size-to-content")) || void 0,
2635
+ draggable: { handle: (n.handleClass ? "." + n.handleClass : n.handle ? n.handle : "") || G.draggable.handle },
2636
+ removableOptions: {
2637
+ accept: n.itemClass || G.removableOptions.accept,
2638
+ decline: G.removableOptions.decline
2639
+ }
2640
+ };
2641
+ t.getAttribute("gs-animate") && (a.animate = W.toBool(t.getAttribute("gs-animate"))), n = W.defaults(n, a), this._initMargin(), this.checkDynamicColumn(), this._updateColumnVar(n), n.rtl === "auto" && (n.rtl = t.style.direction === "rtl"), n.rtl && this.el.classList.add("grid-stack-rtl");
2642
+ let o = this.el.closest("." + G.itemClass)?.gridstackNode;
2643
+ 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 = n.cellHeight === "auto", this._isFillCellHeight = n.cellHeight === "fill", this._isAutoCellHeight || this._isFillCellHeight || n.cellHeight === "initial") this.cellHeight(void 0);
2644
+ else {
2645
+ typeof n.cellHeight == "number" && n.cellHeightUnit && n.cellHeightUnit !== G.cellHeightUnit && (n.cellHeight += n.cellHeightUnit, delete n.cellHeightUnit);
2646
+ let e = n.cellHeight;
2647
+ delete n.cellHeight, this.cellHeight(e);
2648
+ }
2649
+ n.alwaysShowResizeHandle === "mobile" && (n.alwaysShowResizeHandle = q), this._setStaticClass();
2650
+ let s = n.engineClass || e.engineClass || tn;
2651
+ if (this.engine = new s({
2652
+ column: this.getColumn(),
2653
+ mode: n.mode,
2654
+ maxRow: n.maxRow,
2655
+ onChange: (e) => {
2656
+ e.forEach((e) => {
2657
+ let t = e.el;
2658
+ t && (e._removeDOM ? (t && t.remove(), delete e._removeDOM) : this._writePosAttr(t, e));
2659
+ }), this._updateContainerHeight();
2660
+ }
2661
+ }), n.auto && (this.batchUpdate(), this.engine._loading = !0, this.getGridItems().forEach((e) => this._prepareElement(e)), delete this.engine._loading, this.batchUpdate(!1)), n.children) {
2662
+ let e = n.children;
2663
+ delete n.children, e.length && this.load(e);
2664
+ }
2665
+ this.setAnimation(), n.subGridDynamic && !K.pauseDrag && (K.pauseDrag = !0), n.draggable?.pause !== void 0 && (K.pauseDrag = n.draggable.pause), this._setupRemoveDrop(), this._setupAcceptWidget(), this._updateResizeEvent();
2666
+ }
2667
+ _updateColumnVar(e = this.opts) {
2668
+ this.el.classList.add("gs-" + e.column), typeof e.column == "number" && (this.el.style.setProperty("--gs-column-width", `${100 / e.column}%`), this.el.style.setProperty("--gs-columns", String(e.column)));
2669
+ }
2670
+ addWidget(t) {
2671
+ if (!t) return;
2672
+ if (typeof t == "string") {
2673
+ console.error("V11: GridStack.addWidget() does not support string anymore. see #2736");
2674
+ return;
2675
+ }
2676
+ if (t.ELEMENT_NODE) return console.error("V11: GridStack.addWidget() does not support HTMLElement anymore. use makeWidget()"), this.makeWidget(t);
2677
+ let n, r = t;
2678
+ if (r.grid = this, n = r.el ? r.el : e.addRemoveCB ? e.addRemoveCB(this.el, t, !0, !1) : this.createWidgetDivs(r), !n) return;
2679
+ if (r = n.gridstackNode, r && n.parentElement === this.el && this.engine.nodes.find((e) => e._id === r._id)) return n;
2680
+ let i = this._readAttr(n);
2681
+ return W.defaults(t, i), this.engine.prepareNode(t), this.el.appendChild(n), this.makeWidget(n, t), n;
2682
+ }
2683
+ createWidgetDivs(t) {
2684
+ let n = W.createDiv(["grid-stack-item", this.opts.itemClass]), r = W.createDiv(["grid-stack-item-content"], n);
2685
+ return W.lazyLoad(t) ? t.visibleObservable || (t.visibleObservable = new IntersectionObserver(([n]) => {
2686
+ n.isIntersecting && (t.visibleObservable?.disconnect(), delete t.visibleObservable, e.renderCB(r, t), t.grid?.prepareDragDrop(t.el));
2687
+ }), window.setTimeout(() => t.visibleObservable?.observe(n))) : e.renderCB(r, t), n;
2688
+ }
2689
+ makeSubGrid(t, n, r, i = !0) {
2690
+ let a = t.gridstackNode;
2691
+ if (a ||= this.makeWidget(t).gridstackNode, a.subGrid?.el) return a.subGrid;
2692
+ let o, s = this;
2693
+ for (; s && !o;) o = s.opts?.subGridOpts, s = s.parentGridNode?.grid;
2694
+ n = W.cloneDeep({
2695
+ ...this.opts,
2696
+ id: void 0,
2697
+ children: void 0,
2698
+ column: "auto",
2699
+ columnOpts: void 0,
2700
+ layout: "list",
2701
+ subGridOpts: void 0,
2702
+ ...o || {},
2703
+ ...n || a.subGridOpts || {}
2704
+ }), a.subGridOpts = n;
2705
+ let c = !1;
2706
+ n.column === "auto" && (c = !0, n.column = Math.max(a.w || 1, r?.w || 1), delete n.columnOpts);
2707
+ let l = a.el.querySelector(".grid-stack-item-content"), u, d;
2708
+ if (i && (this._removeDD(a.el), d = {
2709
+ ...a,
2710
+ x: 0,
2711
+ y: 0
2712
+ }, W.removeInternalForSave(d), delete d.subGridOpts, a.content && (d.content = a.content, delete a.content), e.addRemoveCB ? u = e.addRemoveCB(this.el, d, !0, !1) || void 0 : (u = W.createDiv(["grid-stack-item"]), u.appendChild(l), l = W.createDiv(["grid-stack-item-content"], a.el)), this.prepareDragDrop(a.el)), r) {
2713
+ let e = c ? n.column : a.w, t = a.h + r.h, i = a.el.style;
2714
+ i.transition = "none", this.update(a.el, {
2715
+ w: e,
2716
+ h: t
2717
+ }), setTimeout(() => i.transition = "");
2718
+ }
2719
+ let f = a.subGrid = e.addGrid(l, n) || void 0;
2720
+ return r?._moving && (f._isTemp = !0), c && (f._autoColumn = !0), i && f.makeWidget(u, d), r && (r._moving ? window.setTimeout(() => W.simulateMouseEvent(r._event, "mouseenter", f.el), 0) : f.makeWidget(a.el, a)), this.resizeToContentCheck(!1, a), f;
2721
+ }
2722
+ removeAsSubGrid(e) {
2723
+ let t = this.parentGridNode?.grid;
2724
+ if (t && (t.batchUpdate(), t.removeWidget(this.parentGridNode.el, !0, !0), this.engine.nodes.forEach((e) => {
2725
+ e.x = (e.x ?? 0) + (this.parentGridNode.x ?? 0), e.y = (e.y ?? 0) + (this.parentGridNode.y ?? 0), this._removeDD(e.el), e.el.remove(), delete e.el.gridstackNode, t.makeWidget(e.el, e);
2726
+ }), t.batchUpdate(!1), this.parentGridNode && delete this.parentGridNode.subGrid, delete this.parentGridNode, e)) {
2727
+ let n = e.el?.gridstackNode;
2728
+ n && n !== e && (n._temporaryRemoved = !0), window.setTimeout(() => {
2729
+ let n = K.dragElement?.lastDrag || e._event;
2730
+ n && W.simulateMouseEvent(n, "mouseenter", t.el);
2731
+ }, 0);
2732
+ }
2733
+ }
2734
+ save(t = !0, n = !1, r = e.saveCB, i) {
2735
+ let a = this.engine.save(t, r, i);
2736
+ if (a.forEach((e) => {
2737
+ if (t && e.el && !e.subGrid && !r) e.content = e.el.querySelector(".grid-stack-item-content")?.innerHTML, e.content || delete e.content;
2738
+ else if (!t && !r && delete e.content, e.subGrid?.el) {
2739
+ let i = e.w || e.subGrid.getColumn(), a = e.subGrid.save(t, n, r, i);
2740
+ e.subGridOpts = n ? a : { children: a }, delete e.subGrid;
2741
+ }
2742
+ delete e.el;
2743
+ }), n) {
2744
+ let e = W.cloneDeep(this.opts);
2745
+ e.marginBottom === e.marginTop && e.marginRight === e.marginLeft && e.marginTop === e.marginRight && (e.margin = e.marginTop, delete e.marginTop, delete e.marginRight, delete e.marginBottom, delete e.marginLeft), e.rtl === (this.el.style.direction === "rtl") && (e.rtl = "auto"), this._isAutoCellHeight && (e.cellHeight = "auto"), this._autoColumn && (e.column = "auto");
2746
+ let t = e._alwaysShowResizeHandle;
2747
+ return delete e._alwaysShowResizeHandle, t === void 0 ? delete e.alwaysShowResizeHandle : e.alwaysShowResizeHandle = t, W.removeInternalAndSame(e, G), e.children = a, e;
2748
+ }
2749
+ return a;
2750
+ }
2751
+ load(t, n = e.addRemoveCB || !0) {
2752
+ t.forEach((e) => {
2753
+ e.w = e.w || e.minW || 1, e.h = e.h || e.minH || 1;
2754
+ }), t = W.sort(t), this.engine.skipCacheUpdate = this._ignoreLayoutsNodeChange = !0;
2755
+ let r = 0;
2756
+ t.forEach((e) => {
2757
+ r = Math.max(r, (e.x || 0) + e.w);
2758
+ }), r > this.engine.defaultColumn && (this.engine.defaultColumn = r);
2759
+ let i = this.getColumn();
2760
+ r > i && (this.engine.nodes.length === 0 && this.responseLayout ? (this.engine.nodes = t, this.engine.columnChanged(r, i, this.responseLayout), t = this.engine.nodes, this.engine.nodes = [], delete this.responseLayout) : this.engine.cacheLayout(t, r, !0));
2761
+ let a = e.addRemoveCB;
2762
+ typeof n == "function" && (e.addRemoveCB = n);
2763
+ let o = [];
2764
+ this.batchUpdate();
2765
+ let s = !this.engine.nodes.length, c = s && this.opts.animate;
2766
+ c && this.setAnimation(!1), !s && n && [...this.engine.nodes].forEach((n) => {
2767
+ n.id && (W.find(t, n.id) || (e.addRemoveCB && e.addRemoveCB(this.el, n, !1, !1), o.push(n), this.removeWidget(n.el, !0, !1)));
2768
+ }), this.engine._loading = !0;
2769
+ let l = [];
2770
+ return this.engine.nodes = this.engine.nodes.filter((e) => e.id && W.find(t, e.id) ? (l.push(e), !1) : !0), t.forEach((e) => {
2771
+ let t = e.id ? W.find(l, e.id) : void 0;
2772
+ if (t) {
2773
+ if (W.shouldSizeToContent(t) && (e.h = t.h), this.engine.nodeBoundFix(e), (e.autoPosition || e.x === void 0 || e.y === void 0) && (e.w = e.w || t.w, e.h = e.h || t.h, this.engine.findEmptyPosition(e)), this.engine.nodes.push(t), W.samePos(t, e) && this.engine.nodes.length > 1 && (this.moveNode(t, {
2774
+ ...e,
2775
+ forceCollide: !0
2776
+ }), W.copyPos(e, t)), this.update(t.el, e), e.subGridOpts?.children) {
2777
+ let n = t.el.querySelector(".grid-stack");
2778
+ n && n.gridstack && n.gridstack.load(e.subGridOpts.children);
2779
+ }
2780
+ } else n && this.addWidget(e);
2781
+ }), delete this.engine._loading, this.engine.removedNodes = o, this.batchUpdate(!1), delete this._ignoreLayoutsNodeChange, delete this.engine.skipCacheUpdate, a ? e.addRemoveCB = a : delete e.addRemoveCB, c && this.setAnimation(!0, !0), this;
2782
+ }
2783
+ batchUpdate(e = !0) {
2784
+ return this.engine.batchUpdate(e), e || (this._updateContainerHeight(), this._triggerRemoveEvent(), this._triggerAddEvent(), this._triggerChangeEvent()), this;
2785
+ }
2786
+ getCellHeight(e = !1) {
2787
+ if (this.opts.cellHeight && this.opts.cellHeight !== "auto" && (!e || !this.opts.cellHeightUnit || this.opts.cellHeightUnit === "px")) return this.opts.cellHeight;
2788
+ if (this.opts.cellHeightUnit === "rem") return this.opts.cellHeight * parseFloat(getComputedStyle(document.documentElement).fontSize);
2789
+ if (this.opts.cellHeightUnit === "em") return this.opts.cellHeight * parseFloat(getComputedStyle(this.el).fontSize);
2790
+ if (this.opts.cellHeightUnit === "cm") return this.opts.cellHeight * (96 / 2.54);
2791
+ if (this.opts.cellHeightUnit === "mm") return this.opts.cellHeight * (96 / 2.54) / 10;
2792
+ let t = this.el.querySelector("." + this.opts.itemClass);
2793
+ if (t) {
2794
+ let e = W.toNumber(t.getAttribute("gs-h")) || 1;
2795
+ return Math.round(t.offsetHeight / e);
2796
+ }
2797
+ let n = parseInt(this.el.getAttribute("gs-current-row") || "0");
2798
+ return n ? Math.round(this.el.getBoundingClientRect().height / n) : this.opts.cellHeight;
2799
+ }
2800
+ cellHeight(e) {
2801
+ if (e !== void 0 && (this._isAutoCellHeight !== (e === "auto") || this._isFillCellHeight !== (e === "fill")) && (this._isAutoCellHeight = e === "auto", this._isFillCellHeight = e === "fill", this._updateResizeEvent()), (e === "initial" || e === "auto" || e === "fill") && (e = void 0), e === void 0 && this._isFillCellHeight) {
2802
+ let t = this.getRow() || this.opts.row || this.opts.maxRow || 1, n = this.el.clientHeight;
2803
+ n > 0 && (e = Math.max(1, n / t));
2804
+ }
2805
+ if (e === void 0) {
2806
+ let t = -this.opts.marginRight - this.opts.marginLeft + this.opts.marginTop + this.opts.marginBottom;
2807
+ e = this.cellWidth() + t;
2808
+ }
2809
+ let t = W.parseHeight(e);
2810
+ return this.opts.cellHeightUnit === t.unit && this.opts.cellHeight === t.h || (this.opts.cellHeightUnit = t.unit, this.opts.cellHeight = t.h, this.el.style.setProperty("--gs-cell-height", `${this.opts.cellHeight}${this.opts.cellHeightUnit}`), this._updateContainerHeight(), this.resizeToContentCheck()), this;
2811
+ }
2812
+ cellWidth() {
2813
+ return this._widthOrContainer() / this.getColumn();
2814
+ }
2815
+ _widthOrContainer(e = !1) {
2816
+ return e && this.opts.columnOpts?.breakpointForWindow ? window.innerWidth : this.el.clientWidth || this.el.parentElement.clientWidth || window.innerWidth;
2817
+ }
2818
+ checkDynamicColumn() {
2819
+ let e = this.opts.columnOpts;
2820
+ if (!e || !e.columnWidth && !e.breakpoints?.length) return !1;
2821
+ let t = this.getColumn(), n = t, r = this._widthOrContainer(!0);
2822
+ if (e.columnWidth) n = Math.min(Math.round(r / e.columnWidth) || 1, e.columnMax);
2823
+ else {
2824
+ n = e.columnMax;
2825
+ let i = 0;
2826
+ for (; i < e.breakpoints.length && r <= e.breakpoints[i].w;) n = e.breakpoints[i++].c || t;
2827
+ }
2828
+ if (n !== t) {
2829
+ let t = e.breakpoints?.find((e) => e.c === n);
2830
+ return this.column(n, t?.layout || e.layout), !0;
2831
+ }
2832
+ return !1;
2833
+ }
2834
+ compact(e = "compact", t = !0) {
2835
+ return this.engine.compact(e, t), this._triggerChangeEvent(), this;
2836
+ }
2837
+ column(e, t) {
2838
+ if (!e || e < 1 || this.opts.column === e) return this;
2839
+ t ??= this.opts.mode === "list" || this.opts.mode === "compact" ? this.opts.mode : "moveScale";
2840
+ let n = this.getColumn();
2841
+ return this.opts.column = e, this.engine ? (this.engine.column = e, this.el.classList.remove("gs-" + n), this._updateColumnVar(), this.engine.columnChanged(n, e, t), (this._isAutoCellHeight || this._isFillCellHeight) && this.cellHeight(), this.resizeToContentCheck(!0), this._ignoreLayoutsNodeChange = !0, this._triggerChangeEvent(), delete this._ignoreLayoutsNodeChange, this) : (this.responseLayout = t, this);
2842
+ }
2843
+ getColumn() {
2844
+ return this.opts.column;
2845
+ }
2846
+ getGridItems() {
2847
+ return Array.from(this.el.children).filter((e) => e.matches("." + this.opts.itemClass) && !e.matches("." + this.opts.placeholderClass));
2848
+ }
2849
+ isIgnoreChangeCB() {
2850
+ return !!this._ignoreLayoutsNodeChange;
2851
+ }
2852
+ destroy(e = !0) {
2853
+ return this.el && (this.offAll(), this._updateResizeEvent(!0), this.setStatic(!0, !1), this.setAnimation(!1), e ? this.el.parentNode.removeChild(this.el) : (this.removeAll(e), 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;
2854
+ }
2855
+ mode(e) {
2856
+ return this.opts.mode !== e && (this.opts.mode = this.engine.mode = e, this._triggerChangeEvent()), this;
2857
+ }
2858
+ getMode() {
2859
+ return this.engine.mode;
2860
+ }
2861
+ getCellFromPixel(e, t = !1) {
2862
+ let n = this.el.getBoundingClientRect(), r;
2863
+ r = t ? {
2864
+ top: n.top + document.documentElement.scrollTop,
2865
+ left: n.left
2866
+ } : {
2867
+ top: this.el.offsetTop,
2868
+ left: this.el.offsetLeft
2869
+ };
2870
+ let i = e.left - r.left, a = e.top - r.top, o = n.width / this.getColumn(), s = n.height / parseInt(this.el.getAttribute("gs-current-row") || "0");
2871
+ return {
2872
+ x: Math.floor(i / o),
2873
+ y: Math.floor(a / s)
2874
+ };
2875
+ }
2876
+ getRow() {
2877
+ return Math.max(this.engine?.getRow() || 0, this.opts.minRow || 0);
2878
+ }
2879
+ isAreaEmpty(e, t, n, r) {
2880
+ return this.engine.isAreaEmpty(e, t, n, r);
2881
+ }
2882
+ makeWidget(t, n) {
2883
+ let r = e.getElement(t);
2884
+ if (!r || r.gridstackNode) return r;
2885
+ r.parentElement || this.el.appendChild(r), this._prepareElement(r, !0, n);
2886
+ let i = r.gridstackNode;
2887
+ this._updateContainerHeight(), i.subGridOpts && this.makeSubGrid(r, i.subGridOpts, void 0, !1);
2888
+ let a = !1;
2889
+ return this.opts.column === 1 && !this._ignoreLayoutsNodeChange && (a = this._ignoreLayoutsNodeChange = !0), this._triggerAddEvent(), this._triggerChangeEvent(), a && delete this._ignoreLayoutsNodeChange, r;
2890
+ }
2891
+ on(e, t) {
2892
+ return e.indexOf(" ") === -1 ? (e === "change" || e === "added" || e === "removed" || e === "enable" || e === "disable" ? (e === "enable" || e === "disable" ? this._gsEventHandler[e] = (e) => t(e) : this._gsEventHandler[e] = ((e) => {
2893
+ e.detail && t(e, e.detail);
2894
+ }), this.el.addEventListener(e, this._gsEventHandler[e])) : e === "drag" || e === "dragstart" || e === "dragstop" || e === "resizestart" || e === "resize" || e === "resizestop" || e === "dropped" || e === "resizecontent" ? this._gsEventHandler[e] = t : console.error("GridStack.on(" + e + ") event not supported"), this) : (e.split(" ").forEach((e) => this.on(e, t)), this);
2895
+ }
2896
+ off(e) {
2897
+ return e.indexOf(" ") === -1 ? ((e === "change" || e === "added" || e === "removed" || e === "enable" || e === "disable") && this._gsEventHandler[e] && this.el.removeEventListener(e, this._gsEventHandler[e]), delete this._gsEventHandler[e], this) : (e.split(" ").forEach((e) => this.off(e)), this);
2898
+ }
2899
+ offAll() {
2900
+ return Object.keys(this._gsEventHandler).forEach((e) => this.off(e)), this;
2901
+ }
2902
+ removeWidget(t, n = !0, r = !0) {
2903
+ return t ? (e.getElements(t).forEach((t) => {
2904
+ if (t.parentElement && t.parentElement !== this.el) return;
2905
+ let i = t.gridstackNode;
2906
+ i ||= this.engine.nodes.find((e) => t === e.el), i && (n && e.addRemoveCB && e.addRemoveCB(this.el, i, !1, !1), delete t.gridstackNode, this._removeDD(t), this.engine.removeNode(i, n, r), n && t.parentElement && t.remove());
2907
+ }), r && (this._triggerRemoveEvent(), this._triggerChangeEvent()), this) : (console.error("Error: GridStack.removeWidget(undefined) called"), this);
2908
+ }
2909
+ removeAll(t = !0, n = !0) {
2910
+ return this.engine.nodes.forEach((n) => {
2911
+ t && e.addRemoveCB && e.addRemoveCB(this.el, n, !1, !1), delete n.el.gridstackNode, this.opts.staticGrid || this._removeDD(n.el);
2912
+ }), this.engine.removeAll(t, n), n && this._triggerRemoveEvent(), this;
2913
+ }
2914
+ setAnimation(e = this.opts.animate, t) {
2915
+ return t ? setTimeout(() => {
2916
+ this.opts && this.setAnimation(e);
2917
+ }) : e ? this.el.classList.add("grid-stack-animate") : this.el.classList.remove("grid-stack-animate"), this.opts.animate = e, this;
2918
+ }
2919
+ hasAnimationCSS() {
2920
+ return this.el.classList.contains("grid-stack-animate");
2921
+ }
2922
+ setStatic(e, t = !0, n = !0) {
2923
+ return !!this.opts.staticGrid === e || (e ? this.opts.staticGrid = !0 : delete this.opts.staticGrid, this._setupRemoveDrop(), this._setupAcceptWidget(), this.engine.nodes.forEach((r) => {
2924
+ this.prepareDragDrop(r.el), r.subGrid && n && r.subGrid.setStatic(e, t, n);
2925
+ }), t && this._setStaticClass()), this;
2926
+ }
2927
+ updateOptions(t) {
2928
+ let n = this.opts;
2929
+ if (t === n) return this;
2930
+ if (e._migrateFloat(t), t.acceptWidgets !== void 0 && (n.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 !== n.class && (n.class && this.el.classList.remove(n.class), t.class && this.el.classList.add(t.class)), t.columnOpts) {
2931
+ let e = !!this.opts.columnOpts;
2932
+ this.opts.columnOpts = t.columnOpts, e !== !!this.opts.columnOpts && this._updateResizeEvent(), this.checkDynamicColumn();
2933
+ } else t.columnOpts === null && this.opts.columnOpts ? (delete this.opts.columnOpts, this._updateResizeEvent()) : typeof t.column == "number" && this.column(t.column);
2934
+ 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.mode !== void 0 && this.mode(t.mode), t.row === void 0 ? (t.minRow !== void 0 && (n.minRow = t.minRow, this._updateContainerHeight()), t.maxRow !== void 0 && (n.maxRow = this.engine.maxRow = t.maxRow, this.engine.getRow() > t.maxRow && this.compact())) : (n.minRow = n.maxRow = this.engine.maxRow = n.row = t.row, this._updateContainerHeight(), this.engine.getRow() > t.row && this.compact()), t.lazyLoad !== void 0 && (n.lazyLoad = t.lazyLoad), t.children?.length && this.load(t.children), this;
2935
+ }
2936
+ update(t, n) {
2937
+ return e.getElements(t).forEach((t) => {
2938
+ let r = t?.gridstackNode;
2939
+ if (!r) return;
2940
+ let i = {
2941
+ ...W.copyPos({}, r),
2942
+ ...W.cloneDeep(n)
2943
+ };
2944
+ this.engine.nodeBoundFix(i), delete i.autoPosition;
2945
+ let a = [
2946
+ "x",
2947
+ "y",
2948
+ "w",
2949
+ "h"
2950
+ ], o, s = i, c = r;
2951
+ if (a.some((e) => s[e] !== void 0 && s[e] !== c[e])) {
2952
+ o = {};
2953
+ let e = o;
2954
+ a.forEach((t) => {
2955
+ e[t] = s[t] === void 0 ? c[t] : s[t], delete s[t];
2956
+ });
2957
+ }
2958
+ if (!o && (i.minW || i.minH || i.maxW || i.maxH) && (o = {}), i.content !== void 0) {
2959
+ let n = t.querySelector(".grid-stack-item-content");
2960
+ n && n.textContent !== i.content && (r.content = i.content, e.renderCB(n, i), r.subGrid?.el && (n.appendChild(r.subGrid.el), r.subGrid._updateContainerHeight())), delete i.content;
2961
+ }
2962
+ let l = !1, u = !1;
2963
+ for (let e in s) e[0] !== "_" && c[e] !== s[e] && (c[e] = s[e], l = !0, u ||= !this.opts.staticGrid && (e === "noResize" || e === "noMove" || e === "locked"));
2964
+ if (W.sanitizeMinMax(r), o) {
2965
+ let e = o.w !== void 0 && o.w !== r.w;
2966
+ this.moveNode(r, o), e && r.subGrid ? r.subGrid.onResize(this.hasAnimationCSS() ? r.w : void 0) : this.resizeToContentCheck(e, r), r._updating || delete r._orig;
2967
+ }
2968
+ (o || l) && this._writeAttr(t, r), u && this.prepareDragDrop(r.el), e.updateCB && e.updateCB(r);
2969
+ }), this;
2970
+ }
2971
+ moveNode(e, t) {
2972
+ let n = e._updating;
2973
+ n || this.engine.cleanNodes().beginUpdate(e), this.engine.moveNodeCheck(e, t), this._updateContainerHeight(), n || (this._triggerChangeEvent(), this.engine.endUpdate());
2974
+ }
2975
+ resizeToContent(t) {
2976
+ if (!t || (t.classList.remove("size-to-content-max"), !t.clientHeight)) return;
2977
+ let n = t.gridstackNode;
2978
+ if (!n) return;
2979
+ let r = n.grid;
2980
+ if (!r || t.parentElement !== r.el) return;
2981
+ let i = r.getCellHeight(!0);
2982
+ if (!i) return;
2983
+ let a = n.h ? n.h * i : t.clientHeight, o = null;
2984
+ if (n.resizeToContentParent && (o = t.querySelector(n.resizeToContentParent)), o ||= t.querySelector(e.resizeToContentParent), !o) return;
2985
+ let s = t.clientHeight - o.clientHeight, c = n.h ? n.h * i - s : o.clientHeight, l;
2986
+ if (n.subGrid) {
2987
+ l = n.subGrid.getRow() * n.subGrid.getCellHeight(!0);
2988
+ let e = n.subGrid.el.getBoundingClientRect(), r = t.getBoundingClientRect();
2989
+ l += e.top - r.top;
2990
+ } else if (n.subGridOpts?.children?.length) return;
2991
+ else {
2992
+ let t = o.firstElementChild;
2993
+ if (!t) {
2994
+ console.error(`Error: GridStack.resizeToContent() widget id:${n.id} '${e.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);
2995
+ return;
2996
+ }
2997
+ l = t.getBoundingClientRect().height || c;
2998
+ }
2999
+ if (c === l) return;
3000
+ a += l - c;
3001
+ let u = Math.ceil(a / i), d = Number.isInteger(n.sizeToContent) ? n.sizeToContent : 0;
3002
+ d && u > d && (u = d, t.classList.add("size-to-content-max")), n.minH && u < n.minH ? u = n.minH : n.maxH && u > n.maxH && (u = n.maxH), u !== n.h && (r._ignoreLayoutsNodeChange = !0, r.moveNode(n, { h: u }), delete r._ignoreLayoutsNodeChange);
3003
+ }
3004
+ resizeToContentCBCheck(t) {
3005
+ e.resizeToContentCB ? e.resizeToContentCB(t) : this.resizeToContent(t);
3006
+ }
3007
+ rotate(t, n) {
3008
+ return e.getElements(t).forEach((e) => {
3009
+ let t = e.gridstackNode;
3010
+ if (!t || !W.canBeRotated(t)) return;
3011
+ let r = {
3012
+ w: t.h,
3013
+ h: t.w,
3014
+ minH: t.minW,
3015
+ minW: t.minH,
3016
+ maxH: t.maxW,
3017
+ maxW: t.maxH
3018
+ };
3019
+ if (n) {
3020
+ let e = n.left > 0 ? Math.floor(n.left / this.cellWidth()) : 0, i = n.top > 0 ? Math.floor(n.top / this.opts.cellHeight) : 0;
3021
+ r.x = t.x + e - (t.h - (i + 1)), r.y = t.y + i - e;
3022
+ }
3023
+ let i = r;
3024
+ Object.keys(i).forEach((e) => {
3025
+ i[e] === void 0 && delete i[e];
3026
+ });
3027
+ let a = t._orig;
3028
+ this.update(e, r), t._orig = a;
3029
+ }), this;
3030
+ }
3031
+ margin(e) {
3032
+ if (!(typeof e == "string" && e.split(" ").length > 1)) {
3033
+ let t = W.parseHeight(e);
3034
+ if (this.opts.marginUnit === t.unit && this.opts.margin === t.h) return this;
3035
+ }
3036
+ return this.opts.margin = e, this.opts.marginTop = this.opts.marginBottom = this.opts.marginLeft = this.opts.marginRight = void 0, this._initMargin(), this;
3037
+ }
3038
+ getMargin() {
3039
+ return this.opts.margin;
3040
+ }
3041
+ willItFit(e) {
3042
+ return this.engine.willItFit(e);
3043
+ }
3044
+ _triggerChangeEvent() {
3045
+ if (this.engine.batchMode) return this;
3046
+ let e = this.engine.getDirtyNodes(!0);
3047
+ return e && e.length && (this._ignoreLayoutsNodeChange || this.engine.layoutsNodesChange(e), this._triggerEvent("change", e)), this.engine.saveInitial(), this._sortDom(), this._isFillCellHeight && this.cellHeight(), this;
3048
+ }
3049
+ _sortDom() {
3050
+ let e = this.engine.nodes;
3051
+ if (e.forEach((e) => {
3052
+ e.subGrid && e.subGrid._sortDom();
3053
+ }), e.length < 2) return this;
3054
+ this.engine.sortNodes(), e = this.engine.nodes;
3055
+ let t = this.el.children;
3056
+ if (e.some((e, n) => e.el !== t[n])) {
3057
+ let t = this.el.moveBefore?.bind(this.el);
3058
+ e.forEach((e) => {
3059
+ e.el && e.el.parentElement === this.el && (t ? t(e.el, null) : this.el.appendChild(e.el));
3060
+ });
3061
+ }
3062
+ return this;
3063
+ }
3064
+ _triggerAddEvent() {
3065
+ if (this.engine.batchMode) return this;
3066
+ if (this.engine.addedNodes?.length) {
3067
+ this._ignoreLayoutsNodeChange || this.engine.layoutsNodesChange(this.engine.addedNodes), this.engine.addedNodes.forEach((e) => {
3068
+ delete e._dirty;
3069
+ });
3070
+ let e = [...this.engine.addedNodes];
3071
+ this.engine.addedNodes = [], this._triggerEvent("added", e);
3072
+ }
3073
+ return this;
3074
+ }
3075
+ _triggerRemoveEvent() {
3076
+ if (this.engine.batchMode) return this;
3077
+ if (this.engine.removedNodes?.length) {
3078
+ let e = [...this.engine.removedNodes];
3079
+ this.engine.removedNodes = [], this._triggerEvent("removed", e);
3080
+ }
3081
+ return this;
3082
+ }
3083
+ _triggerEvent(e, t) {
3084
+ let n = t ? new CustomEvent(e, {
3085
+ bubbles: !1,
3086
+ detail: t
3087
+ }) : new Event(e), r = this;
3088
+ for (; r.parentGridNode;) r = r.parentGridNode.grid;
3089
+ return r.el.dispatchEvent(n), this;
3090
+ }
3091
+ _updateContainerHeight() {
3092
+ if (!this.engine || this.engine.batchMode) return this;
3093
+ let e = this.parentGridNode, t = this.getRow() + this._extraDragRow, n = this.opts.cellHeight, r = this.opts.cellHeightUnit;
3094
+ if (!n) return this;
3095
+ if (!e && !this.opts.minRow) {
3096
+ let e = W.parseHeight(getComputedStyle(this.el).minHeight);
3097
+ if (e.h > 0 && e.unit === r) {
3098
+ let r = Math.floor(e.h / n);
3099
+ t < r && (t = r);
3100
+ }
3101
+ }
3102
+ return this.el.setAttribute("gs-current-row", String(t)), this.el.style.removeProperty("min-height"), this.el.style.removeProperty("height"), t && (e || !this._isFillCellHeight) && (this.el.style[e ? "minHeight" : "height"] = t * n + r), e && W.shouldSizeToContent(e) && e.grid.resizeToContentCBCheck(e.el), this;
3103
+ }
3104
+ _prepareElement(e, t = !1, n) {
3105
+ n ||= this._readAttr(e), e.gridstackNode = n, n.el = e, n.grid = this, n = this.engine.addNode(n, t), this._writeAttr(e, n), e.classList.add(G.itemClass, this.opts.itemClass);
3106
+ let r = W.shouldSizeToContent(n);
3107
+ return r ? e.classList.add("size-to-content") : e.classList.remove("size-to-content"), r && this.resizeToContentCheck(!1, n), W.lazyLoad(n) && n.visibleObservable || this.prepareDragDrop(n.el), this;
3108
+ }
3109
+ _writePosAttr(e, t) {
3110
+ if (!t._moving && !t._resizing || this._placeholder === e) {
3111
+ let n = this.opts.rtl ? "right" : "left", r = e.style;
3112
+ r.top = t.y ? t.y === 1 ? "var(--gs-cell-height)" : `calc(${t.y} * var(--gs-cell-height))` : null, r[n] = t.x ? t.x === 1 ? "var(--gs-column-width)" : `calc(${t.x} * var(--gs-column-width))` : null, r.width = t.w > 1 ? `calc(${t.w} * var(--gs-column-width))` : null, r.height = t.h > 1 ? `calc(${t.h} * var(--gs-cell-height))` : null;
3113
+ }
3114
+ return e.style.setProperty("--gs-x", String(t.x || 0)), e.style.setProperty("--gs-y", String(t.y || 0)), e.style.setProperty("--gs-w", String(t.w || 1)), e.style.setProperty("--gs-h", String(t.h || 1)), e.setAttribute("gs-x", String(t.x ?? 0)), e.setAttribute("gs-y", String(t.y ?? 0)), t.w > 1 ? e.setAttribute("gs-w", String(t.w)) : e.removeAttribute("gs-w"), t.h > 1 ? e.setAttribute("gs-h", String(t.h)) : e.removeAttribute("gs-h"), this;
3115
+ }
3116
+ _writeAttr(e, t) {
3117
+ if (!t) return this;
3118
+ this._writePosAttr(e, t);
3119
+ let n = {
3120
+ noResize: "gs-no-resize",
3121
+ noMove: "gs-no-move",
3122
+ locked: "gs-locked",
3123
+ id: "gs-id",
3124
+ sizeToContent: "gs-size-to-content"
3125
+ }, r = t, i = n;
3126
+ for (let t in i) r[t] !== void 0 && r[t] !== null && r[t] !== !1 ? e.setAttribute(i[t], String(r[t])) : e.removeAttribute(i[t]);
3127
+ let a = t.print;
3128
+ return a ? (a.pageBreak ? e.setAttribute("gs-page-break", String(a.pageBreak)) : e.removeAttribute("gs-page-break"), a.hide ? e.classList.add("gs-print-hide") : e.classList.remove("gs-print-hide"), a.orientation ? e.setAttribute("gs-print-orientation", String(a.orientation)) : e.removeAttribute("gs-print-orientation"), a.breakInside ? e.setAttribute("gs-break-inside", String(a.breakInside)) : e.removeAttribute("gs-break-inside")) : (e.removeAttribute("gs-page-break"), e.classList.remove("gs-print-hide"), e.removeAttribute("gs-print-orientation"), e.removeAttribute("gs-break-inside")), this;
3129
+ }
3130
+ _readAttr(e, t = !0) {
3131
+ let n = {};
3132
+ n.x = W.toNumber(e.getAttribute("gs-x")), n.y = W.toNumber(e.getAttribute("gs-y")), n.w = W.toNumber(e.getAttribute("gs-w")), n.h = W.toNumber(e.getAttribute("gs-h")), n.autoPosition = W.toBool(e.getAttribute("gs-auto-position")), n.noResize = W.toBool(e.getAttribute("gs-no-resize")), n.noMove = W.toBool(e.getAttribute("gs-no-move")), n.locked = W.toBool(e.getAttribute("gs-locked"));
3133
+ let r = e.getAttribute("gs-page-break"), i = e.classList.contains("gs-print-hide"), a = e.getAttribute("gs-print-orientation"), o = e.getAttribute("gs-break-inside");
3134
+ (r || i || a || o) && (n.print = {}, r && (n.print.pageBreak = W.toBool(r)), i && (n.print.hide = !0), a && (n.print.orientation = a), o && (n.print.breakInside = W.toBool(o)));
3135
+ let s = e.getAttribute("gs-size-to-content");
3136
+ s && (n.sizeToContent = s === "true" || s === "false" ? W.toBool(s) : parseInt(s, 10)), n.id = e.getAttribute("gs-id") ?? void 0, n.maxW = W.toNumber(e.getAttribute("gs-max-w")), n.minW = W.toNumber(e.getAttribute("gs-min-w")), n.maxH = W.toNumber(e.getAttribute("gs-max-h")), n.minH = W.toNumber(e.getAttribute("gs-min-h")), t && (n.w === 1 && e.removeAttribute("gs-w"), n.h === 1 && e.removeAttribute("gs-h"), n.maxW && e.removeAttribute("gs-max-w"), n.minW && e.removeAttribute("gs-min-w"), n.maxH && e.removeAttribute("gs-max-h"), n.minH && e.removeAttribute("gs-min-h"));
3137
+ let c = n;
3138
+ for (let e in c) n.hasOwnProperty(e) && !c[e] && c[e] !== 0 && e !== "sizeToContent" && delete c[e];
3139
+ return n;
3140
+ }
3141
+ _setStaticClass() {
3142
+ let e = ["grid-stack-static"];
3143
+ return this.opts.staticGrid ? (this.el.classList.add(...e), this.el.setAttribute("gs-static", "true")) : (this.el.classList.remove(...e), this.el.removeAttribute("gs-static")), this;
3144
+ }
3145
+ onResize(e = this.el?.clientWidth, t = this.el?.clientHeight) {
3146
+ if (!e || e === this.prevWidth && t === this.prevHeight || e === this.prevWidth && !this._isFillCellHeight) return this;
3147
+ this.prevWidth = e, this.prevHeight = t, this.batchUpdate();
3148
+ let n = !1;
3149
+ return this._autoColumn && this.parentGridNode ? this.opts.column !== this.parentGridNode.w && (this.column(this.parentGridNode.w, this.opts.layout || "list"), n = !0) : n = this.checkDynamicColumn(), (this._isAutoCellHeight || this._isFillCellHeight) && this.cellHeight(), this.engine.nodes.forEach((e) => {
3150
+ e.subGrid && e.subGrid.onResize();
3151
+ }), this._skipInitialResize || this.resizeToContentCheck(n), delete this._skipInitialResize, this.batchUpdate(!1), this;
3152
+ }
3153
+ resizeToContentCheck(e = !1, t) {
3154
+ if (!this.engine) return;
3155
+ if (e && this.hasAnimationCSS()) {
3156
+ setTimeout(() => this.resizeToContentCheck(!1, t), this.animationDelay);
3157
+ return;
3158
+ }
3159
+ if (t) W.shouldSizeToContent(t) && this.resizeToContentCBCheck(t.el);
3160
+ else if (this.engine.nodes.some((e) => W.shouldSizeToContent(e))) {
3161
+ let e = [...this.engine.nodes];
3162
+ this.batchUpdate(), e.forEach((e) => {
3163
+ W.shouldSizeToContent(e) && this.resizeToContentCBCheck(e.el);
3164
+ }), this._ignoreLayoutsNodeChange = !0, this.batchUpdate(!1), this._ignoreLayoutsNodeChange = !1;
3165
+ }
3166
+ let n = this._gsEventHandler.resizecontent;
3167
+ n && n(new Event("resizecontent"), t ? [t] : this.engine.nodes);
3168
+ }
3169
+ _updateResizeEvent(e = !1) {
3170
+ let t = !this.parentGridNode && (this._isAutoCellHeight || this._isFillCellHeight || this.opts.sizeToContent || this.opts.columnOpts || this.engine.nodes.find((e) => e.sizeToContent));
3171
+ return !e && t && !this.resizeObserver ? (this._sizeThrottle = W.throttle(() => this.onResize(), this.opts.cellHeightThrottle), this.resizeObserver = new ResizeObserver(() => this._sizeThrottle()), this.resizeObserver.observe(this.el), this._skipInitialResize = !0) : (e || !t) && this.resizeObserver && (this.resizeObserver.disconnect(), delete this.resizeObserver, delete this._sizeThrottle), this;
3172
+ }
3173
+ static getElement(e = ".grid-stack-item") {
3174
+ return W.getElement(e);
3175
+ }
3176
+ static getElements(e = ".grid-stack-item") {
3177
+ return W.getElements(e);
3178
+ }
3179
+ static getGridElement(t) {
3180
+ return e.getElement(t);
3181
+ }
3182
+ static getGridElements(e) {
3183
+ return W.getElements(e);
3184
+ }
3185
+ _initMargin() {
3186
+ let e = {
3187
+ h: 0,
3188
+ unit: "px"
3189
+ }, t = 0, n = [];
3190
+ typeof this.opts.margin == "string" && (n = this.opts.margin.split(" ")), n.length === 2 ? (this.opts.marginTop = this.opts.marginBottom = n[0], this.opts.marginLeft = this.opts.marginRight = n[1]) : n.length === 4 ? (this.opts.marginTop = n[0], this.opts.marginRight = n[1], this.opts.marginBottom = n[2], this.opts.marginLeft = n[3]) : (e = W.parseHeight(this.opts.margin), this.opts.marginUnit = e.unit, t = this.opts.margin = e.h);
3191
+ let r = [
3192
+ "marginTop",
3193
+ "marginRight",
3194
+ "marginBottom",
3195
+ "marginLeft"
3196
+ ], i = this.opts;
3197
+ r.forEach((n) => {
3198
+ i[n] === void 0 ? i[n] = t : (e = W.parseHeight(i[n]), i[n] = e.h, delete this.opts.margin);
3199
+ }), this.opts.marginUnit = e.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);
3200
+ let a = this.el.style;
3201
+ return a.setProperty("--gs-item-margin-top", `${this.opts.marginTop}${this.opts.marginUnit}`), a.setProperty("--gs-item-margin-bottom", `${this.opts.marginBottom}${this.opts.marginUnit}`), a.setProperty("--gs-item-margin-right", `${this.opts.marginRight}${this.opts.marginUnit}`), a.setProperty("--gs-item-margin-left", `${this.opts.marginLeft}${this.opts.marginUnit}`), this;
3202
+ }
3203
+ static getDD() {
3204
+ return Z;
3205
+ }
3206
+ static setupDragIn(e, t, n, r = document) {
3207
+ t?.pause !== void 0 && (K.pauseDrag = t.pause), t = {
3208
+ appendTo: "body",
3209
+ helper: "clone",
3210
+ ...t || {}
3211
+ };
3212
+ let i = t.start, a = t.drag, o = t.stop, s = (e, t, n) => e.dispatchEvent(new CustomEvent(t, {
3213
+ bubbles: !0,
3214
+ detail: {
3215
+ el: e,
3216
+ ui: n
3217
+ }
3218
+ }));
3219
+ (typeof e == "string" ? W.getElements(e, r) : e).forEach((e, r) => {
3220
+ Z.isDraggable(e) || Z.dragIn(e, {
3221
+ ...t,
3222
+ start: (t, n) => {
3223
+ i?.(t, n), s(e, "dragstart", n);
3224
+ },
3225
+ drag: (t, n) => {
3226
+ a?.(t, n), s(e, "drag", n);
3227
+ },
3228
+ stop: (t) => {
3229
+ o?.(t), s(e, "dragstop");
3230
+ }
3231
+ }), n?.[r] && (e.gridstackNode = n[r]);
3232
+ });
3233
+ }
3234
+ movable(t, n) {
3235
+ return this.opts.staticGrid || e.getElements(t).forEach((e) => {
3236
+ let t = e.gridstackNode;
3237
+ t && (n ? delete t.noMove : t.noMove = !0, this.prepareDragDrop(t.el));
3238
+ }), this;
3239
+ }
3240
+ resizable(t, n) {
3241
+ return this.opts.staticGrid || e.getElements(t).forEach((e) => {
3242
+ let t = e.gridstackNode;
3243
+ t && (n ? delete t.noResize : t.noResize = !0, this.prepareDragDrop(t.el));
3244
+ }), this;
3245
+ }
3246
+ disable(e = !0) {
3247
+ return this.opts.staticGrid || (this.enableMove(!1, e), this.enableResize(!1, e), this._triggerEvent("disable")), this;
3248
+ }
3249
+ enable(e = !0) {
3250
+ return this.opts.staticGrid || (this.enableMove(!0, e), this.enableResize(!0, e), this._triggerEvent("enable")), this;
3251
+ }
3252
+ enableMove(e, t = !0) {
3253
+ return this.opts.staticGrid || (e ? delete this.opts.disableDrag : this.opts.disableDrag = !0, this.engine.nodes.forEach((n) => {
3254
+ this.prepareDragDrop(n.el), n.subGrid && t && n.subGrid.enableMove(e, t);
3255
+ })), this;
3256
+ }
3257
+ enableResize(e, t = !0) {
3258
+ return this.opts.staticGrid || (e ? delete this.opts.disableResize : this.opts.disableResize = !0, this.engine.nodes.forEach((n) => {
3259
+ this.prepareDragDrop(n.el), n.subGrid && t && n.subGrid.enableResize(e, t);
3260
+ })), this;
3261
+ }
3262
+ cancelDrag() {
3263
+ let t = K.dragElement?.el;
3264
+ if (t?._gridstackNodeOrig) {
3265
+ let e = t._gridstackNodeOrig, n = e.grid, r = this._placeholder?.gridstackNode;
3266
+ r && (r._isAboutToRemove = !0, this.engine.removeNode(r)), this.engine.restoreInitial(), t.gridstackNode = e, delete t._gridstackNodeOrig, delete K.dropElement, n && (n.engine.addNode(e, !1), n.engine.restoreInitial());
3267
+ return;
3268
+ }
3269
+ let n = this._placeholder?.gridstackNode;
3270
+ n && (n._isExternal ? (n._isAboutToRemove = !0, this.engine.removeNode(n)) : n._isAboutToRemove && e._itemRemoving(n.el, !1), this.engine.restoreInitial());
3271
+ }
3272
+ _removeDD(e) {
3273
+ return Z.draggable(e, "destroy").resizable(e, "destroy"), e.gridstackNode && delete e.gridstackNode._initDD, delete e.ddElement, this;
3274
+ }
3275
+ _setupAcceptWidget() {
3276
+ if (this.opts.staticGrid || !this.opts.acceptWidgets && !this.opts.removable) return Z.droppable(this.el, "destroy"), this;
3277
+ let t, n, r = (e, r, i) => {
3278
+ i ||= r;
3279
+ let a = i.gridstackNode;
3280
+ if (!a) return;
3281
+ if (!a.grid?.el) {
3282
+ i.style.transform = `scale(${1 / this.dragTransform.xScale},${1 / this.dragTransform.yScale})`;
3283
+ let t = i.getBoundingClientRect();
3284
+ i.style.left = t.x + (this.dragTransform.xScale - 1) * (e.clientX - t.x) / this.dragTransform.xScale + "px", i.style.top = t.y + (this.dragTransform.yScale - 1) * (e.clientY - t.y) / this.dragTransform.yScale + "px", i.style.transformOrigin = "0px 0px";
3285
+ }
3286
+ let { top: o, left: s } = i.getBoundingClientRect(), c = this.el.getBoundingClientRect();
3287
+ s -= c.left, o -= c.top;
3288
+ let l = { position: {
3289
+ top: o * this.dragTransform.xScale,
3290
+ left: s * this.dragTransform.yScale
3291
+ } };
3292
+ if (a._temporaryRemoved) {
3293
+ if (a.x = Math.max(0, Math.round(s / n)), a.y = Math.max(0, Math.round(o / t)), delete a.autoPosition, this.engine.nodeBoundFix(a), !this.engine.willItFit(a)) {
3294
+ if (a.autoPosition = !0, !this.engine.willItFit(a)) {
3295
+ Z.off(r, "drag");
3296
+ return;
3297
+ }
3298
+ a._willFitPos && (W.copyPos(a, a._willFitPos), delete a._willFitPos);
3299
+ }
3300
+ this._onStartMoving(i, e, l, a, n, t);
3301
+ } else this._dragOrResize(i, e, l, a, n, t);
3302
+ };
3303
+ return Z.droppable(this.el, { accept: (e) => {
3304
+ let t = e.gridstackNode || this._readAttr(e, !1);
3305
+ if (t?.grid === this) return !0;
3306
+ if (!this.opts.acceptWidgets) return !1;
3307
+ let n = !0;
3308
+ if (typeof this.opts.acceptWidgets == "function") n = this.opts.acceptWidgets(e);
3309
+ else {
3310
+ let t = this.opts.acceptWidgets === !0 ? ".grid-stack-item" : this.opts.acceptWidgets;
3311
+ n = e.matches(t);
3312
+ }
3313
+ if (n && t && this.opts.maxRow) {
3314
+ let e = {
3315
+ w: t.w,
3316
+ h: t.h,
3317
+ minW: t.minW,
3318
+ minH: t.minH
3319
+ };
3320
+ n = this.engine.willItFit(e);
3321
+ }
3322
+ return n;
3323
+ } }).on(this.el, "dropover", (i, a, o) => {
3324
+ let s = o?.gridstackNode || a.gridstackNode;
3325
+ if (s?.grid === this && !s._temporaryRemoved) return !1;
3326
+ if (s?._sidebarOrig && (s.w = s._sidebarOrig.w, s.h = s._sidebarOrig.h), s?.grid && s.grid !== this && !s._temporaryRemoved && s.grid._leave(a, o), o ||= a, n = this.cellWidth(), t = this.getCellHeight(!0), !s) {
3327
+ let e = o.getAttribute("data-gs-widget") || o.getAttribute("gridstacknode");
3328
+ if (e) {
3329
+ try {
3330
+ s = JSON.parse(e);
3331
+ } catch {
3332
+ console.error("Gridstack dropover: Bad JSON format: ", e);
3333
+ }
3334
+ o.removeAttribute("data-gs-widget"), o.removeAttribute("gridstacknode");
3335
+ }
3336
+ s ||= this._readAttr(o), s._sidebarOrig = {
3337
+ w: s.w,
3338
+ h: s.h
3339
+ };
3340
+ }
3341
+ s.grid || (s.el || (s = { ...s }), s._isExternal = !0, o.gridstackNode = s);
3342
+ let c = s.w || Math.round(o.offsetWidth / n) || 1, l = s.h || Math.round(o.offsetHeight / t) || 1;
3343
+ return s.grid && s.grid !== this ? (a._gridstackNodeOrig ||= s, a.gridstackNode = s = {
3344
+ ...s,
3345
+ w: c,
3346
+ h: l,
3347
+ grid: this
3348
+ }, delete s.x, delete s.y, this.engine.cleanupNode(s).nodeBoundFix(s), s._initDD = s._isExternal = s._temporaryRemoved = !0) : (s.w = c, s.h = l, s._temporaryRemoved = !0), e._itemRemoving(s.el, !1), Z.on(a, "drag", r), r(i, a, o), !1;
3349
+ }).on(this.el, "dropout", (e, t, n) => {
3350
+ let r = n?.gridstackNode || t.gridstackNode;
3351
+ return r && (r.grid && r.grid !== this || (this._leave(t, n), this._isTemp && this.removeAsSubGrid(r))), !1;
3352
+ }).on(this.el, "drop", (t, n, r) => {
3353
+ let i = r?.gridstackNode || n.gridstackNode;
3354
+ if (i?.grid === this && !i._isExternal) return !1;
3355
+ let a = !!this.placeholder.parentElement, o = n !== r;
3356
+ this.placeholder.remove(), delete this.placeholder.gridstackNode, a && this.opts.animate && (this.setAnimation(!1), this.setAnimation(!0, !0));
3357
+ let s = n._gridstackNodeOrig;
3358
+ if (delete n._gridstackNodeOrig, a && s?.grid && s.grid !== this) {
3359
+ let e = s.grid;
3360
+ e.engine.removeNodeFromLayoutCache(s), e.engine.removedNodes.push(s), e._triggerRemoveEvent()._triggerChangeEvent(), e.parentGridNode && !e.engine.nodes.length && e.opts.subGridDynamic && e.removeAsSubGrid();
3361
+ }
3362
+ if (!i || (a && (this.engine.cleanupNode(i), i.grid = this), delete i.grid?._isTemp, Z.off(n, "drag"), r && r !== n ? (r.remove(), n = r) : n.remove(), this._removeDD(n), !a)) return !1;
3363
+ let c = i.subGrid?.el?.gridstack;
3364
+ return W.copyPos(i, this._readAttr(this.placeholder)), W.removePositioningStyles(n), o && (i.content || i.subGridOpts || e.addRemoveCB) ? (delete i.el, n = this.addWidget(i) || n) : (this._prepareElement(n, !0, i), this.el.appendChild(n), this.resizeToContentCheck(!1, i), c && (c.parentGridNode = i), this._updateContainerHeight()), this.engine.addedNodes.push(i), this._triggerAddEvent(), this._triggerChangeEvent(), this.engine.endUpdate(), this._gsEventHandler.dropped && this._gsEventHandler.dropped({
3365
+ ...t,
3366
+ type: "dropped"
3367
+ }, s && s.grid ? s : void 0, i), !1;
3368
+ }), this;
3369
+ }
3370
+ static _itemRemoving(e, t) {
3371
+ if (!e) return;
3372
+ let n = e ? e.gridstackNode : void 0;
3373
+ n?.grid && !e.classList.contains(n.grid.opts.removableOptions.decline) && (t ? n._isAboutToRemove = !0 : delete n._isAboutToRemove, t ? e.classList.add("grid-stack-item-removing") : e.classList.remove("grid-stack-item-removing"));
3374
+ }
3375
+ _setupRemoveDrop() {
3376
+ if (typeof this.opts.removable != "string") return this;
3377
+ let t = document.querySelector(this.opts.removable);
3378
+ return t && !this.opts.staticGrid && !Z.isDroppable(t) && Z.droppable(t, this.opts.removableOptions).on(t, "dropover", (t, n) => e._itemRemoving(n, !0)).on(t, "dropout", (t, n) => e._itemRemoving(n, !1)), this;
3379
+ }
3380
+ refreshDragHandles(t) {
3381
+ return e.getElements(t).forEach((e) => {
3382
+ e.ddElement?.ddDraggable?.refreshHandles();
3383
+ }), this;
3384
+ }
3385
+ prepareDragDrop(e, t = !1) {
3386
+ let n = e?.gridstackNode;
3387
+ if (!n) return this;
3388
+ let r = n.noMove || this.opts.disableDrag, i = n.noResize || this.opts.disableResize, a = this.opts.staticGrid || r && i;
3389
+ if ((t || a) && (n._initDD && (this._removeDD(e), delete n._initDD), a)) return e.classList.add("ui-draggable-disabled", "ui-resizable-disabled"), this;
3390
+ if (!n._initDD) {
3391
+ let t, r, i = (i, a) => {
3392
+ this.triggerEvent(i, i.target), t = this.cellWidth(), r = this.getCellHeight(!0), this._onStartMoving(e, i, a, n, t, r);
3393
+ }, a = (i, a) => {
3394
+ this._dragOrResize(e, i, a, n, t, r);
3395
+ }, o = (t) => {
3396
+ this.placeholder.remove(), delete this.placeholder.gridstackNode, delete n._moving, delete n._resizing, delete n._event, delete n._lastTried;
3397
+ let r = !!n._orig && n.w !== n._orig.w, i = t.target;
3398
+ if (i.gridstackNode && i.gridstackNode.grid === this) {
3399
+ if (n.el = i, n._isAboutToRemove) {
3400
+ let r = e.gridstackNode.grid;
3401
+ r._gsEventHandler[t.type] && r._gsEventHandler[t.type](t, i), r.engine.nodes.push(n), r.removeWidget(e, !0, !0);
3402
+ } else W.removePositioningStyles(i), n._temporaryRemoved ? (this._writePosAttr(i, n), this.engine.addNode(n)) : this._writePosAttr(i, n), this.triggerEvent(t, i);
3403
+ this._extraDragRow = 0, this._updateContainerHeight(), this._triggerChangeEvent(), this.engine.endUpdate(), t.type === "resizestop" && (Number.isInteger(n.sizeToContent) && (n.sizeToContent = n.h), this.resizeToContentCheck(r, n));
3404
+ }
3405
+ };
3406
+ Z.draggable(e, {
3407
+ start: i,
3408
+ stop: o,
3409
+ drag: a,
3410
+ rtl: this.opts.rtl === "auto" ? void 0 : this.opts.rtl
3411
+ }).resizable(e, {
3412
+ start: i,
3413
+ stop: o,
3414
+ resize: a,
3415
+ rtl: this.opts.rtl === "auto" ? void 0 : this.opts.rtl
3416
+ }), n._initDD = !0;
3417
+ }
3418
+ return Z.draggable(e, r ? "disable" : "enable").resizable(e, i ? "disable" : "enable"), this;
3419
+ }
3420
+ _onStartMoving(e, t, n, r, i, a) {
3421
+ if (this.engine.cleanNodes().beginUpdate(r), this._writePosAttr(this.placeholder, r), this.el.appendChild(this.placeholder), this.placeholder.gridstackNode = r, r.grid?.el) this.dragTransform = W.getValuesFromTransformedElement(e);
3422
+ else if (this.placeholder && this.placeholder.closest(".grid-stack")) {
3423
+ let e = this.placeholder.closest(".grid-stack");
3424
+ this.dragTransform = W.getValuesFromTransformedElement(e);
3425
+ } else this.dragTransform = {
3426
+ xScale: 1,
3427
+ xOffset: 0,
3428
+ yScale: 1,
3429
+ yOffset: 0
3430
+ };
3431
+ if (r.el = this.placeholder, r._lastUiPosition = n.position, r._prevYPix = n.position.top, r._moving = t.type === "dragstart", r._resizing = t.type === "resizestart", delete r._lastTried, t.type === "dropover" && r._temporaryRemoved && (this.engine.addNode(r), r._moving = !0), this.engine.cacheRects(i, a, this.opts.marginTop, this.opts.marginRight, this.opts.marginBottom, this.opts.marginLeft), t.type === "resizestart") {
3432
+ let t = this.getColumn() - r.x, n = (this.opts.maxRow || 2 ** 53 - 1) - r.y;
3433
+ Z.resizable(e, "option", "minWidth", i * Math.min(r.minW || 1, t)).resizable(e, "option", "minHeight", a * Math.min(r.minH || 1, n)).resizable(e, "option", "maxWidth", i * Math.min(r.maxW || 2 ** 53 - 1, t)).resizable(e, "option", "maxWidthMoveLeft", i * Math.min(r.maxW || 2 ** 53 - 1, r.x + r.w)).resizable(e, "option", "maxHeight", a * Math.min(r.maxH || 2 ** 53 - 1, n)).resizable(e, "option", "maxHeightMoveUp", a * Math.min(r.maxH || 2 ** 53 - 1, r.y + r.h));
3434
+ }
3435
+ }
3436
+ _dragOrResize(e, t, n, r, i, a) {
3437
+ let o = { ...r._orig }, s = !1, c = this.opts.marginLeft, l = this.opts.marginRight, u = this.opts.marginTop, d = this.opts.marginBottom, f = Math.round(a * .1), p = Math.round(i * .1);
3438
+ if (c = Math.min(c, p), l = Math.min(l, p), u = Math.min(u, f), d = Math.min(d, f), t.type === "drag") {
3439
+ if (r._temporaryRemoved) return;
3440
+ r._prevYPix = n.position.top, this.opts.draggable.scroll !== !1 && K.dragElement?.updateScrollPosition(this.el);
3441
+ let e = n.position.left + (n.position.left > r._lastUiPosition.left ? -l : c), t = n.position.top + (n.position.top > r._lastUiPosition.top ? -d : u);
3442
+ o.x = Math.round(e / i), o.y = Math.round(t / a);
3443
+ let s = this._extraDragRow;
3444
+ if (this.engine.collide(r, o)) {
3445
+ let e = this.getRow(), t = Math.max(0, o.y + r.h - e);
3446
+ this.opts.maxRow && e + t > this.opts.maxRow && (t = Math.max(0, this.opts.maxRow - e)), this._extraDragRow = t;
3447
+ } else this._extraDragRow = 0;
3448
+ if (this._extraDragRow !== s && this._updateContainerHeight(), r.x === o.x && r.y === o.y) return;
3449
+ } else if (t.type === "resize") {
3450
+ if ((o.x ?? 0) < 0 || (W.updateScrollResize(t, e, a), o.w = Math.round((n.size.width - c) / i), o.h = Math.round((n.size.height - u) / a), r.w === o.w && r.h === o.h) || r._lastTried && r._lastTried.w === o.w && r._lastTried.h === o.h) return;
3451
+ if (t.hasMovedX) {
3452
+ let e = r.x - (o.w - r.w);
3453
+ o.x = e < 0 ? 0 : e;
3454
+ }
3455
+ if (t.hasMovedY) {
3456
+ let e = r.y - (o.h - r.h);
3457
+ o.y = e < 0 ? 0 : e;
3458
+ }
3459
+ s = !0;
3460
+ }
3461
+ r._event = t, r._lastTried = o;
3462
+ let m = {
3463
+ x: n.position.left + c,
3464
+ y: n.position.top + u,
3465
+ w: (n.size ? n.size.width : r.w * i) - c - l,
3466
+ h: (n.size ? n.size.height : r.h * a) - u - d
3467
+ };
3468
+ if (this.engine.moveNodeCheck(r, {
3469
+ ...o,
3470
+ cellWidth: i,
3471
+ cellHeight: a,
3472
+ rect: m,
3473
+ resizing: s
3474
+ })) {
3475
+ r._lastUiPosition = n.position, this.engine.cacheRects(i, a, u, l, d, c), delete r._skipDown, s && r.subGrid && r.subGrid.onResize(), this._extraDragRow = 0, this._updateContainerHeight();
3476
+ let e = t.target;
3477
+ r._sidebarOrig || this._writePosAttr(e, r), this.triggerEvent(t, e);
3478
+ }
3479
+ }
3480
+ triggerEvent(e, t) {
3481
+ let n = this;
3482
+ for (; n.parentGridNode;) n = n.parentGridNode.grid;
3483
+ n._gsEventHandler[e.type] && n._gsEventHandler[e.type](e, t);
3484
+ }
3485
+ _leave(t, n) {
3486
+ n ||= t;
3487
+ let r = n.gridstackNode;
3488
+ if (!r || (n.style.transform = n.style.transformOrigin = "", Z.off(t, "drag"), r._temporaryRemoved)) return;
3489
+ r._temporaryRemoved = !0, this.engine.removeNode(r), r.el = r._isExternal && n ? n : t;
3490
+ let i = r._sidebarOrig;
3491
+ r._isExternal && this.engine.cleanupNode(r), r._sidebarOrig = i, this.opts.removable === !0 && e._itemRemoving(t, !0), t._gridstackNodeOrig ? (t.gridstackNode = t._gridstackNodeOrig, delete t._gridstackNodeOrig) : r._isExternal && this.engine.restoreInitial();
3492
+ }
3493
+ };
3494
+ Q.renderCB = (e, t) => {
3495
+ e && t?.content && (e.textContent = t.content);
3496
+ }, Q.resizeToContentParent = ".grid-stack-item-content", Q.Utils = W, Q.Engine = tn, Q.GDRev = "14.0.0";
3497
+ // src/grid-core/helpers/grid-stack-lifecycle.ts
3498
+ var Cn = ({ gridElement: e, gridItemElements: t, items: n, columns: r, rowHeight: i, viewMode: a, fullTheme: o, onCreateOrUpdateDimensionsHint: s, onRemoveDimensionsHint: c, onChange: l }) => {
3499
+ let [u, d] = Kt(o), f = {
3500
+ column: r,
3501
+ cellHeight: i,
3502
+ marginTop: u,
3503
+ marginLeft: d,
3504
+ marginRight: d,
3505
+ marginBottom: u,
3506
+ animate: !0,
3507
+ auto: !1,
3508
+ mode: "top",
3509
+ removable: !1,
3510
+ acceptWidgets: !0,
3511
+ disableDrag: a,
3512
+ disableResize: a,
3513
+ minRow: 1,
3514
+ resizable: { handles: "n, ne, e, se, s, sw, w, nw" },
3515
+ handle: ".grid-item-drag-handle"
3516
+ }, p = Q.init(f, e);
3517
+ if (!p) throw Error("GridStack.init() returned no grid");
3518
+ return p._sortDom = () => p, p.batchUpdate(), t.forEach((e) => {
3519
+ let t = e.getAttribute("luzmo-item-grid-item-id"), r = ue(n.find((e) => e.id === t), t ?? void 0);
3520
+ p.makeWidget(e, r);
3521
+ }), p.batchUpdate(!1), p.on("resizestart", (e, t) => {
3522
+ s(t, t.getAttribute("gs-w") ?? "", t.getAttribute("gs-h") ?? "");
3523
+ }), p.on("resize", (e, t) => {
3524
+ s(t, t.getAttribute("gs-w") ?? "", t.getAttribute("gs-h") ?? "");
3525
+ }), p.on("resizestop", (e, t) => {
3526
+ c(t);
3527
+ }), p.on("change", (e, t) => {
3528
+ l(t);
3529
+ }), p;
3530
+ }, wn = (e, t) => {
3531
+ let n = new Map(t.filter((e) => e.id).map((e) => [e.id, e]));
3532
+ return e.map((e) => {
3533
+ let t = e.id ? n.get(e.id) : void 0;
3534
+ return t ? {
3535
+ ...e,
3536
+ position: {
3537
+ sizeX: t.w ?? 1,
3538
+ sizeY: t.h ?? 1,
3539
+ row: t.y ?? 0,
3540
+ col: t.x ?? 0
3541
+ }
3542
+ } : e;
3543
+ });
3544
+ }, Tn = ({ element: e, numberOfColumns: t, numberOfRows: n, offsetHint: r }) => {
3545
+ let i = e.querySelector(".dimensions-hint-popover");
3546
+ if (i) {
3547
+ i.style.display = t.length > 0 && n.length > 0 ? "block" : "none", i.textContent = `${t} × ${n}`;
3548
+ return;
3549
+ }
3550
+ let a = document.createElement("div");
3551
+ a.className = "dimensions-hint-popover", a.setAttribute("popover", "hint"), a.style.display = t.length > 0 && n.length > 0 ? "block" : "none", a.textContent = `${t} × ${n}`, e.append(a), Lt(a, Mt(e, a, async () => {
3552
+ let { x: t, y: n } = await Ft(e, a, {
3553
+ placement: "bottom",
3554
+ middleware: [Nt(r), Pt()]
3555
+ });
3556
+ a.style.left = `${t}px`, a.style.top = `${n}px`;
3557
+ })), a.matches(":popover-open") || a.showPopover();
3558
+ }, En = (e) => {
3559
+ let t = e.querySelector(".dimensions-hint-popover");
3560
+ t && (Rt(t), t.matches(":popover-open") && t.hidePopover(), t.remove());
3561
+ }, Dn = ({ initialized: e, grid: t, hasItemsChanged: n, gridItemElements: r, items: i }) => {
3562
+ e && t && n && (t.setAnimation(!1), t.batchUpdate(), t.removeAll(!1), i.forEach((e) => {
3563
+ let n = fe(r, e.id);
3564
+ n && t.makeWidget(n, ue(e, e.id));
3565
+ }), t.batchUpdate(!1), t.setAnimation(!0));
3566
+ }, On = ({ initialized: e, grid: t, hasViewModeChanged: n, viewMode: r, previousViewMode: i, activeItemElement: a, gridElement: o, cleanupActiveItem: s }) => {
3567
+ if (!e || !t || !n || r === i) return a;
3568
+ if (r) {
3569
+ if (t.disable(), a) {
3570
+ s(a), o.removeAttribute("has-active-item");
3571
+ return;
3572
+ }
3573
+ return a;
3574
+ }
3575
+ return t.enable(), a;
3576
+ }, kn = ":host{width:100%;display:block}.grid-stack{width:100%;min-height:var(--luzmo-item-grid-min-height);background:var(--luzmo-item-grid-background,var(--grid-background,var(--luzmo-background-color)));position:relative}.grid-stack[has-active-item] .grid-stack-item:not([active])>.grid-stack-item-content,.grid-stack[has-active-item] .grid-stack-item:not([active])>.grid-item-actions-popover{opacity:.5}.grid-stack .grid-stack-item[active]>.ui-resizable-handle,.grid-stack .grid-stack-item[active].ui-resizable-autohide>.ui-resizable-handle{display:block}.grid-stack .grid-stack-item.ui-resizable-resizing,.grid-stack .grid-stack-item.ui-resizable-resizing>.grid-stack-item-content{opacity:var(--luzmo-item-grid-item-resizing-opacity,.8)!important}.grid-item-drag-handle{color:var(--luzmo-item-grid-item-drag-handle-color,#000);top:var(--luzmo-item-grid-item-drag-handle-position-top,0);left:var(--luzmo-item-grid-item-drag-handle-position-left,0);right:var(--luzmo-item-grid-item-drag-handle-position-right,auto);bottom:var(--luzmo-item-grid-item-drag-handle-position-bottom,auto);padding:var(--luzmo-item-grid-item-drag-handle-padding,.5rem);z-index:var(--luzmo-item-grid-item-drag-handle-z-index,3);cursor:var(--luzmo-item-grid-item-drag-handle-cursor,move);position:absolute}.grid-stack[dark-background] .grid-item-drag-handle{color:var(--luzmo-item-grid-item-drag-handle-color,#fff)}.grid-stack .grid-stack-item .grid-stack-item-content{border-radius:var(--luzmo-item-grid-item-border-radius,var(--grid-item-border-radius,4px));background:var(--luzmo-item-grid-item-background,var(--grid-item-background,transparent));box-shadow:var(--luzmo-item-grid-item-box-shadow,var(--grid-item-box-shadow,none));border-style:var(--luzmo-item-grid-item-border-style,none);border-color:var(--luzmo-item-grid-item-border-color,transparent);-webkit-backdrop-filter:var(--luzmo-item-grid-item-backdrop-filter,none);backdrop-filter:var(--luzmo-item-grid-item-backdrop-filter,none);overflow:hidden}.grid-stack .grid-stack-item:not(.has-luzmo-viz-item) .grid-stack-item-content{border-style:var(--luzmo-item-grid-item-border-style,var(--grid-item-border-style,none));border-color:var(--luzmo-item-grid-item-border-color,var(--grid-item-border-color,transparent));border-width:var(--luzmo-item-grid-item-border-width,var(--grid-item-border-width,0));border-top-width:var(--luzmo-item-grid-item-border-top-width,var(--grid-item-border-top-width,0));border-right-width:var(--luzmo-item-grid-item-border-right-width,var(--grid-item-border-right-width,0));border-bottom-width:var(--luzmo-item-grid-item-border-bottom-width,var(--grid-item-border-bottom-width,0));border-left-width:var(--luzmo-item-grid-item-border-left-width,var(--grid-item-border-left-width,0))}.grid-stack .grid-stack-placeholder>.placeholder-content{border-radius:var(--grid-item-border-radius,4px)}:host .grid-stack-item[active]>.ui-resizable-handle,:host .grid-stack-item:hover>.ui-resizable-handle{z-index:var(--luzmo-item-grid-resize-handle-z-index,100);background:var(--luzmo-item-grid-resize-handle-background,#fff);border-radius:var(--luzmo-item-grid-resize-handle-border-radius,3px);opacity:var(--luzmo-item-grid-resize-handle-opacity,0);transition:var(--luzmo-item-grid-resize-handle-transition,opacity .2s ease);box-shadow:0 0 6px #0000001a,0 0 2px #000000bf;display:block!important;position:absolute!important}:host .grid-stack[dark-background]>.grid-stack-item[active]>.ui-resizable-handle,:host .grid-stack[dark-background]>.grid-stack-item:hover>.ui-resizable-handle{background:var(--luzmo-item-grid-resize-handle-background,#333);box-shadow:0 0 6px #ffffff1a,0 0 2px #ffffffbf}:host .grid-stack-item[active]>.ui-resizable-handle,:host .grid-stack-item:hover>.ui-resizable-handle{opacity:var(--luzmo-item-grid-resize-handle-opacity-hover,1)}:host .grid-stack-item>.ui-resizable-handle:hover{opacity:var(--luzmo-item-grid-resize-handle-opacity-active,1);background:var(--luzmo-item-grid-resize-handle-background-hover,var(--luzmo-background-color-highlight))}:host .grid-stack-item>.ui-resizable-n,:host .grid-stack-item>.ui-resizable-s{height:var(--luzmo-item-grid-resize-handle-edge-size,8px);width:var(--luzmo-item-grid-resize-handle-side-size,18px);left:calc(50% - var(--luzmo-item-grid-resize-handle-side-size,18px) / 2)}:host .grid-stack-item>.ui-resizable-n{cursor:n-resize;top:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-4px) + var(--gs-item-margin-top,0px))}:host .grid-stack-item>.ui-resizable-s{cursor:s-resize;bottom:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-4px) + var(--gs-item-margin-bottom,0px))}:host .grid-stack-item>.ui-resizable-e,:host .grid-stack-item>.ui-resizable-w{width:var(--luzmo-item-grid-resize-handle-edge-size,8px);height:var(--luzmo-item-grid-resize-handle-side-size,18px);top:calc(50% - var(--luzmo-item-grid-resize-handle-side-size,18px) / 2)}:host .grid-stack-item>.ui-resizable-e{cursor:e-resize;right:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-4px) + var(--gs-item-margin-right,0px))}:host .grid-stack-item>.ui-resizable-w{cursor:w-resize;left:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-4px) + var(--gs-item-margin-left,0px))}:host .grid-stack-item>.ui-resizable-ne,:host .grid-stack-item>.ui-resizable-nw,:host .grid-stack-item>.ui-resizable-se,:host .grid-stack-item>.ui-resizable-sw{width:var(--luzmo-item-grid-resize-handle-corner-size,12px);height:var(--luzmo-item-grid-resize-handle-corner-size,12px);background-image:none;transform:none}:host .grid-stack-item>.ui-resizable-ne{cursor:ne-resize;top:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-6px) + var(--gs-item-margin-top,0px));right:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-6px) + var(--gs-item-margin-right,0px))}:host .grid-stack-item>.ui-resizable-nw{cursor:nw-resize;top:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-6px) + var(--gs-item-margin-top,0px));left:calc(var(--luzmo-item-grid-resize-handle-edge-offset,-6px) + var(--gs-item-margin-left,0px))}:host .grid-stack-item>.ui-resizable-se{cursor:se-resize;right:calc(var(--luzmo-item-grid-resize-handle-corner-offset,-4px) + var(--gs-item-margin-right,0px));bottom:calc(var(--luzmo-item-grid-resize-handle-corner-offset,-4px) + var(--gs-item-margin-bottom,0px))}:host .grid-stack-item>.ui-resizable-sw{cursor:sw-resize;left:calc(var(--luzmo-item-grid-resize-handle-corner-offset,-4px) + var(--gs-item-margin-left,0px));bottom:calc(var(--luzmo-item-grid-resize-handle-corner-offset,-4px) + var(--gs-item-margin-bottom,0px))}:host .grid-stack-item>.ui-resizable-resizing .ui-resizable-handle{background:var(--luzmo-item-grid-resize-handle-background-active,var(--luzmo-background-color-highlight));opacity:1!important}.grid-item-actions-popover{z-index:2;background:0 0;border:none;outline:none;margin:0;padding:0;position:absolute;overflow:visible}.grid-item-actions-popover:not([popover]){z-index:var(--luzmo-item-grid-item-actions-in-tree-z-index,50);position:fixed}luzmo-item-grid-item-actions-menu{padding:var(--luzmo-item-grid-item-actions-padding,var(--grid-item-actions-padding))}.dimensions-hint-popover{font-size:var(--luzmo-item-grid-item-dimensions-hint-font-size,var(--luzmo-font-size-xs,10px));font-family:var(--luzmo-item-grid-item-dimensions-hint-font-family,var(--luzmo-font-family,inherit));border-width:var(--luzmo-item-grid-item-dimensions-hint-border-width,var(--luzmo-border-width));border-style:solid;border-color:var(--luzmo-item-grid-item-dimensions-hint-border-color,var(--luzmo-border-color));border-radius:var(--luzmo-item-grid-item-dimensions-hint-border-radius,var(--luzmo-border-radius));padding:var(--luzmo-item-grid-item-dimensions-hint-padding,var(--luzmo-spacing-1) var(--luzmo-spacing-2));z-index:3;background:var(--luzmo-item-grid-item-dimensions-hint-background,var(--luzmo-background-color));color:var(--luzmo-item-grid-item-dimensions-hint-color,var(--luzmo-font-color));pointer-events:none;outline:none;margin:0;position:absolute;overflow:visible}luzmo-item-grid-item-actions-menu{--grid-item-actions-padding:0 .75rem}luzmo-item-grid-item-actions-menu[placement=top-start],luzmo-item-grid-item-actions-menu[placement=top],luzmo-item-grid-item-actions-menu[placement=top-end],luzmo-item-grid-item-actions-menu[placement=bottom-start],luzmo-item-grid-item-actions-menu[placement=bottom],luzmo-item-grid-item-actions-menu[placement=bottom-end]{--grid-item-actions-padding:.75rem 0}.grid-stack-item:focus-visible{outline:none}.grid-stack-item:focus-visible .grid-stack-item-content:after{content:\"\";border:var(--luzmo-indicator-width) solid var(--luzmo-indicator-color,var(--luzmo-primary));box-sizing:border-box;border-radius:var(--luzmo-item-grid-item-border-radius,var(--grid-item-border-radius,4px));z-index:2;width:100%;height:100%;position:absolute;top:0;left:0}", $ = class extends h {
3577
+ constructor(...e) {
3578
+ super(...e), this.language = "en", this.contentLanguage = "en", this.columns = 48, this.rowHeight = 16, this.viewMode = !1, this.itemActionsDocumentPopover = !0, this.placementItemActionsMenu = "right-start", this.clonedItemPositioning = "below-item", this._items = [], this._hasControlledItems = !1, this._initialItems = [], this.renderers = {}, this._initialized = !1, this._themeLoadVersion = 0, this.defaultRenderer = (e) => i`
3579
+ <div class="grid-item-content">
3580
+ <div class="grid-item-type">${e.type}</div>
3581
+ </div>
3582
+ `, this._internalItemStates = {}, this._initialItemStatesApplied = !1, this._internalItems = [], this._initialItemsApplied = !1, this._hasWarnedControlledAndInitialItems = !1, this._hasWarnedIgnoredInitialItems = !1, this._suppressItemStatesEvent = !1, this._suppressNextLayoutChangedEvent = !1, this._hasWarnedControlledAndInitialStates = !1, this._internalItemsVersion = 0, this._handleMouseout = (e) => {
3583
+ if (this.viewMode) return;
3584
+ let t = ee(e.target);
3585
+ t && te({
3586
+ event: e,
3587
+ gridItem: t
3588
+ }) && this._removeItemActionsMenuPopover(t);
3589
+ }, this._handleKeyDown = (e) => {
3590
+ let t = Ut({
3591
+ event: e,
3592
+ viewMode: this.viewMode,
3593
+ focusedItemElement: this._focusedItemElement,
3594
+ activeItemElement: this._activeItemElement,
3595
+ gridElement: this._gridElement,
3596
+ grid: this._grid,
3597
+ columns: this.columns ?? 48,
3598
+ onDeleteRequest: (e) => {
3599
+ let t = e.getAttribute("gs-id");
3600
+ if (!t) return;
3601
+ let n = this._effectiveItems, r = n.find((e) => e.id === t);
3602
+ if (!r) return;
3603
+ this._isControlled || this._clearGridItemUiStateForDelete(e);
3604
+ let i = n.filter((e) => e.id !== t);
3605
+ v({
3606
+ target: this,
3607
+ action: "delete",
3608
+ actionType: "button",
3609
+ active: !1,
3610
+ items: n,
3611
+ element: e,
3612
+ itemId: t,
3613
+ item: r,
3614
+ updatedItems: i
3615
+ }), this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 });
3616
+ },
3617
+ removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this),
3618
+ createItemActionsMenuPopover: this._createItemActionsMenuPopover.bind(this)
3619
+ });
3620
+ this._focusedItemElement = t.focusedItemElement, this._activeItemElement = t.activeItemElement;
3621
+ }, this._handleFocus = (e) => {
3622
+ this._focusedItemElement = S({
3623
+ event: e,
3624
+ focusedItemElement: this._focusedItemElement,
3625
+ removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this)
3626
+ });
3627
+ }, this._handleBlur = (e) => {
3628
+ let t = C({
3629
+ event: e,
3630
+ focusedItemElement: this._focusedItemElement,
3631
+ removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this)
3632
+ });
3633
+ this._focusedItemElement = t.focusedItemElement, t.shouldFocusGrid && this._gridElement.focus();
3634
+ }, this._handleGridClick = (e) => {
3635
+ if (this._isControlled) {
3636
+ this._emitControlledClickAwayDeactivation(e);
3637
+ return;
3638
+ }
3639
+ let t = ie({
3640
+ event: e,
3641
+ gridElement: this._gridElement,
3642
+ hostElement: this,
3643
+ items: this.items,
3644
+ activeItemActionToggle: this._activeItemActionToggle,
3645
+ cleanupActiveItem: this._cleanupActiveItem.bind(this),
3646
+ dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this)
3647
+ });
3648
+ this._activeItemActionToggle = t.activeItemActionToggle;
3649
+ }, this.handleItemAction = (e) => {
3650
+ let t = e.detail, r = e.target?.closest(".grid-stack-item"), i = r?.getAttribute("gs-id");
3651
+ if (["delete", "clone"].includes(t.action)) {
3652
+ if (e.stopPropagation(), !i) return;
3653
+ let a = this._effectiveItems, o = a.find((e) => e.id === i);
3654
+ if (!o) return;
3655
+ let s = this._gridElement.querySelector(".grid-stack-item[active]") ?? this._activeItemElement;
3656
+ if (!this._isControlled && s && s !== r) {
3657
+ let e = s.getAttribute("gs-id"), t = a.find((t) => t.id === e), n = this._activeItemActionToggle, r = s;
3658
+ this._cleanupActiveItem(s), n && e && t && this._dispatchItemActionEvent(n, "toggle", !1, r, e, t), this._activeItemElement = void 0, this._activeItemActionToggle = void 0, this._internalItemStates = {};
3659
+ }
3660
+ if (t.action === "delete") {
3661
+ this._isControlled || this._clearGridItemUiStateForDelete(r);
3662
+ let e = a.filter((e) => e.id !== i);
3663
+ v({
3664
+ target: this,
3665
+ action: "delete",
3666
+ actionType: t.type,
3667
+ active: t.active,
3668
+ items: a,
3669
+ element: r,
3670
+ itemId: i,
3671
+ item: o,
3672
+ updatedItems: e
3673
+ }), this._isItemsControlled || this._setInternalItems(e, { reconcileStates: !0 });
3674
+ } else {
3675
+ let e = {
3676
+ ...structuredClone(o),
3677
+ id: n()
3678
+ }, i = this._simulateCloneLayout(e, o), s = i.find((t) => t.id === e.id) ?? e;
3679
+ v({
3680
+ target: this,
3681
+ action: "clone",
3682
+ actionType: t.type,
3683
+ active: t.active,
3684
+ items: a,
3685
+ element: r,
3686
+ itemId: e.id,
3687
+ item: s,
3688
+ originalElement: r,
3689
+ updatedItems: i
3690
+ }), this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 });
3691
+ }
3692
+ return;
3693
+ }
3694
+ if (this._isControlled) {
3695
+ if (e.stopPropagation(), !i) return;
3696
+ let n = this.items.find((e) => e.id === i);
3697
+ if (t.type === "toggle") {
3698
+ let e = this._effectiveItemStates, n = t.active, r = this._computeNextItemStates(i, t.action, n);
3699
+ y({
3700
+ target: this,
3701
+ itemStates: e,
3702
+ updatedItemStates: r,
3703
+ changedItemStates: { [i]: [t.action] }
3704
+ });
3705
+ } else v({
3706
+ target: this,
3707
+ action: t.action,
3708
+ actionType: t.type,
3709
+ active: t.active,
3710
+ items: this.items,
3711
+ element: r,
3712
+ itemId: i,
3713
+ item: n
3714
+ });
3715
+ r && !r.hasAttribute("active") && this._removeItemActionsMenuPopover(r);
3716
+ return;
3717
+ }
3718
+ this._suppressItemStatesEvent = !0;
3719
+ let a = re({
3720
+ event: e,
3721
+ gridElement: this._gridElement,
3722
+ items: this.items,
3723
+ state: {
3724
+ activeItemElement: this._activeItemElement,
3725
+ activeItemActionToggle: this._activeItemActionToggle
3726
+ },
3727
+ cleanupActiveItem: this._cleanupActiveItem.bind(this),
3728
+ dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this),
3729
+ createItemActionsMenuPopover: this._createItemActionsMenuPopover.bind(this)
3730
+ });
3731
+ if (this._suppressItemStatesEvent = !1, this._activeItemElement = a.activeItemElement, this._activeItemActionToggle = a.activeItemActionToggle, t.type === "toggle" && i) {
3732
+ let e = this._effectiveItemStates, n = a.activeItemElement === r && a.activeItemActionToggle === t.action, o = this._computeNextItemStates(i, t.action, n);
3733
+ this._internalItemStates = o, y({
3734
+ target: this,
3735
+ itemStates: e,
3736
+ updatedItemStates: o,
3737
+ changedItemStates: this._diffItemStates(e, o)
3738
+ });
3739
+ }
3740
+ };
3741
+ }
3742
+ static get styles() {
3743
+ return [o(g), o(kn)];
3744
+ }
3745
+ set items(e) {
3746
+ let t = this._items, n = structuredClone(e ?? []);
3747
+ this._validateItemsHaveIds(n, "items");
3748
+ let r = this._hasControlledItems;
3749
+ this._items = n, this._hasControlledItems = e !== void 0, r && !this._hasControlledItems && (this._setInternalItems(t, { reconcileStates: !0 }), this._initialItemsApplied = !0), this.requestUpdate("items", t);
3750
+ }
3751
+ get items() {
3752
+ return this._effectiveItems;
3753
+ }
3754
+ set initialItems(e) {
3755
+ let t = this._initialItems, n = structuredClone(e ?? []);
3756
+ this._validateItemsHaveIds(n, "initialItems"), (this._isItemsControlled || !this._initialItemsApplied) && (this._initialItems = n, this._isItemsControlled || (this._initialItemsApplied = !1), this.requestUpdate("initialItems", t));
3757
+ }
3758
+ get initialItems() {
3759
+ return this._initialItems;
3760
+ }
3761
+ set itemStates(e) {
3762
+ let t = this._itemStates;
3763
+ this._itemStates = e ?? void 0, this.requestUpdate("itemStates", t);
3764
+ }
3765
+ get itemStates() {
3766
+ return this._itemStates;
3767
+ }
3768
+ get _isControlled() {
3769
+ return this.itemStates !== void 0;
3770
+ }
3771
+ get _isItemsControlled() {
3772
+ return this._hasControlledItems;
3773
+ }
3774
+ get _effectiveItems() {
3775
+ return this._isItemsControlled ? this._items : this._internalItems;
3776
+ }
3777
+ get _effectiveItemStates() {
3778
+ return this._isControlled ? this.itemStates : this._internalItemStates;
3779
+ }
3780
+ _validateItemsHaveIds(e, t) {
3781
+ for (let n = 0; n < e.length; n += 1) if (!e[n]?.id) throw Error(`luzmo-item-grid: ${t}[${n}] is missing required id`);
3782
+ }
3783
+ async _loadTheme(e) {
3784
+ let t = this._initialized, n = ++this._themeLoadVersion, r = await this.resolveTheme(e, this._fullTheme);
3785
+ if (this.isConnected && n === this._themeLoadVersion) {
3786
+ if (this._fullTheme = r, this._initialized && Zt(this.style, this._fullTheme), !this._initialized && this._gridElement && await new Promise((e) => {
3787
+ requestAnimationFrame(() => {
3788
+ this.isConnected && n === this._themeLoadVersion && this._initializeGrid(), e();
3789
+ });
3790
+ }), this._grid) {
3791
+ let [e, t] = Kt(this._fullTheme);
3792
+ this._grid.margin([e, t].join(" "));
3793
+ }
3794
+ t && this.requestUpdate();
3795
+ }
3796
+ }
3797
+ connectedCallback() {
3798
+ super.connectedCallback(), this.requestUpdate(), document.addEventListener("click", this._handleGridClick), this.addEventListener("keydown", this._handleKeyDown);
3799
+ }
3800
+ disconnectedCallback() {
3801
+ super.disconnectedCallback(), this._themeLoadVersion += 1, this._cleanup(), document.removeEventListener("click", this._handleGridClick), this.removeEventListener("keydown", this._handleKeyDown);
3802
+ }
3803
+ willUpdate(e) {
3804
+ if (super.willUpdate(e), e.has("_initialized") && (Zt(this.style, this._fullTheme), this._initialized && this._grid && this._fullTheme?.margins)) {
3805
+ let [e, t] = Kt(this._fullTheme);
3806
+ this._grid.margin([e, t].join(" "));
3807
+ }
3808
+ }
3809
+ updated(e) {
3810
+ super.updated(e);
3811
+ let t = e.has("viewMode"), n = e.has("items"), r = e.has("initialItems"), i = n || e.has("_internalItemsVersion"), a = e.has("theme"), o = e.has("itemStates");
3812
+ this._isItemsControlled && this.initialItems && this.initialItems.length > 0 ? this._hasWarnedControlledAndInitialItems ||= (console.warn("luzmo-item-grid: Both items and initialItems are set. The component will be treated as controlled (initialItems is ignored)."), !0) : this._hasWarnedControlledAndInitialItems = !1, !this._initialItemsApplied && !this._isItemsControlled && this._initialItems.length > 0 ? (this._setInternalItems(this._initialItems, { reconcileStates: !0 }), this._initialItemsApplied = !0) : r && !this._isItemsControlled && this._initialItems.length === 0 && !this._initialItemsApplied && (this._setInternalItems([], { reconcileStates: !0 }), this._initialItemsApplied = !0), this.itemStates !== void 0 && this.initialItemStates !== void 0 ? this._hasWarnedControlledAndInitialStates ||= (console.warn("luzmo-item-grid: Both itemStates and initialItemStates are set. The component will be treated as controlled (initialItemStates is ignored)."), !0) : this._hasWarnedControlledAndInitialStates = !1, !this._initialItemStatesApplied && this.initialItemStates && !this._isControlled && (this._internalItemStates = this._sanitizeInitialItemStates(this.initialItemStates), this._initialItemStatesApplied = !0), ce(this._effectiveItems), Dn({
3813
+ initialized: this._initialized,
3814
+ grid: this._grid,
3815
+ hasItemsChanged: i,
3816
+ gridItemElements: this._gridItemElements,
3817
+ items: this._effectiveItems
3818
+ }), n && this._reconcileStaleItemStates(), this._activeItemElement = On({
3819
+ initialized: this._initialized,
3820
+ grid: this._grid,
3821
+ hasViewModeChanged: t,
3822
+ viewMode: this.viewMode,
3823
+ previousViewMode: e.get("viewMode"),
3824
+ activeItemElement: this._activeItemElement,
3825
+ gridElement: this._gridElement,
3826
+ cleanupActiveItem: this._cleanupActiveItem.bind(this)
3827
+ }), this.isConnected && (a || !this._initialized) && this._loadTheme(this.theme), (i || o) && this._initialized && this._applyItemStates();
3828
+ }
3829
+ _setInternalItems(e, t = {}) {
3830
+ let n = structuredClone(e);
3831
+ this._validateItemsHaveIds(n, "internalItems"), this._internalItems = n, ce(this._internalItems), this._internalItemsVersion += 1, t.reconcileStates && this._reconcileStaleItemStates();
3832
+ }
3833
+ _handleMouseover(e) {
3834
+ if (this.viewMode) return;
3835
+ let t = ee(e.target);
3836
+ t && this._createItemActionsMenuPopover(t);
3837
+ }
3838
+ _emitControlledClickAwayDeactivation(e) {
3839
+ let t = this._effectiveItemStates, n = Object.entries(t).filter(([, e]) => e.length > 0);
3840
+ if (!this._gridElement || n.length === 0) return;
3841
+ let r = e.composedPath();
3842
+ if (n.some(([e]) => {
3843
+ let t = Array.from(this._gridElement.querySelectorAll(".grid-stack-item")).find((t) => t.getAttribute("gs-id") === e);
3844
+ if (!t) return !1;
3845
+ if (r.includes(t)) return !0;
3846
+ let n = t.querySelector(".grid-item-actions-popover");
3847
+ return n ? r.includes(n) : !1;
3848
+ })) return;
3849
+ let i = {}, a = { ...t };
3850
+ for (let [e, t] of n) {
3851
+ for (let n of t) a = this._computeNextItemStates(e, n, !1, a);
3852
+ i[e] = [...t];
3853
+ }
3854
+ y({
3855
+ target: this,
3856
+ itemStates: t,
3857
+ updatedItemStates: a,
3858
+ changedItemStates: i
3859
+ });
3860
+ }
3861
+ _cleanupActiveItem(e) {
3862
+ this._activeItemElement = ne({
3863
+ item: e,
3864
+ activeItemElement: this._activeItemElement,
3865
+ gridElement: this._gridElement,
3866
+ removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this)
3867
+ });
3868
+ }
3869
+ _clearGridItemUiStateForDelete(e) {
3870
+ e.hasAttribute("focused") && e.removeAttribute("focused"), e.hasAttribute("active") && e.removeAttribute("active"), this._removeItemActionsMenuPopover(e), this._focusedItemElement === e && (this._focusedItemElement = void 0), this._activeItemElement === e && (this._activeItemElement = void 0, this._activeItemActionToggle = void 0), this._gridElement.querySelector(".grid-stack-item[active]") || this._gridElement.removeAttribute("has-active-item");
3871
+ }
3872
+ _dispatchItemActionEvent(e, t, n, r, i, a, o, s) {
3873
+ if (v({
3874
+ target: this,
3875
+ action: e,
3876
+ actionType: t,
3877
+ active: n,
3878
+ items: this.items,
3879
+ element: r,
3880
+ itemId: i,
3881
+ item: a,
3882
+ deletedId: o,
3883
+ originalElement: s
3884
+ }), t === "toggle" && !this._suppressItemStatesEvent) {
3885
+ let t = this._effectiveItemStates, r = this._computeNextItemStates(i, e, n);
3886
+ this._isControlled || (this._internalItemStates = r), y({
3887
+ target: this,
3888
+ itemStates: t,
3889
+ updatedItemStates: r,
3890
+ changedItemStates: { [i]: [e] }
3891
+ });
3892
+ }
3893
+ }
3894
+ _sanitizeInitialItemStates(e) {
3895
+ let t = Object.entries(e).filter(([, e]) => e.length > 0), n = t.length, r = t.reduce((e, [, t]) => e + t.length, 0);
3896
+ if (n > 1 || r > 1) {
3897
+ console.warn("luzmo-item-grid: initialItemStates contains multiple items or actions. In uncontrolled mode, only one item with one active action is supported at a time. Only the first item and its first action will be applied. Use controlled mode (itemStates) for multiple simultaneous active items.");
3898
+ let [e, n] = t[0];
3899
+ return { [e]: [n[0]] };
3900
+ }
3901
+ return { ...e };
3902
+ }
3903
+ _diffItemStates(e, t) {
3904
+ let n = {}, r = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
3905
+ for (let i of r) {
3906
+ let r = e[i] ?? [], a = t[i] ?? [], o = a.filter((e) => !r.includes(e)), s = r.filter((e) => !a.includes(e)), c = [...o, ...s];
3907
+ c.length > 0 && (n[i] = c);
3908
+ }
3909
+ return n;
3910
+ }
3911
+ _computeNextItemStates(e, t, n, r) {
3912
+ if (!this._isControlled) return n ? { [e]: [t] } : {};
3913
+ let i = { ...r ?? this._effectiveItemStates };
3914
+ if (n) {
3915
+ let n = i[e] ?? [];
3916
+ n.includes(t) || (i[e] = [...n, t]);
3917
+ } else {
3918
+ let n = i[e];
3919
+ if (n) {
3920
+ let r = n.filter((e) => e !== t);
3921
+ r.length === 0 ? delete i[e] : i[e] = r;
3922
+ }
3923
+ }
3924
+ return i;
3925
+ }
3926
+ _filterItemStatesToExistingItems(e) {
3927
+ let t = new Set(this.items.map((e) => e.id).filter((e) => !!e)), n = {};
3928
+ for (let [r, i] of Object.entries(e)) t.has(r) && i.length !== 0 && (n[r] = [...i]);
3929
+ return n;
3930
+ }
3931
+ _reconcileStaleItemStates() {
3932
+ let e = this._isControlled ? this._effectiveItemStates : this._internalItemStates, t = this._filterItemStatesToExistingItems(e), n = {};
3933
+ for (let [r, i] of Object.entries(e)) !t[r] && i.length > 0 && (n[r] = [...i]);
3934
+ Object.keys(n).length > 0 && y({
3935
+ target: this,
3936
+ itemStates: e,
3937
+ updatedItemStates: t,
3938
+ changedItemStates: n
3939
+ }), this._isControlled || (this._internalItemStates = t);
3940
+ }
3941
+ _simulateCloneLayout(e, t) {
3942
+ let n = this._effectiveItems;
3943
+ if (!this._grid) return [...n, e];
3944
+ let r = e.position ?? this._resolvePositionFromEngine(t.id);
3945
+ if (!r) return [...n, e];
3946
+ e = {
3947
+ ...e,
3948
+ position: { ...r }
3949
+ };
3950
+ let i = t.position ?? this._resolvePositionFromEngine(t.id);
3951
+ this.clonedItemPositioning === "below-item" && i && (e.position = {
3952
+ ...e.position,
3953
+ col: i.col,
3954
+ row: i.row + i.sizeY
3955
+ });
3956
+ let a = this.clonedItemPositioning !== "below-item" || !i, { updatedItems: o } = me({
3957
+ item: e,
3958
+ engine: this._grid.engine,
3959
+ existingItems: this._enrichItemsWithEnginePositions(n),
3960
+ autoPosition: a
3961
+ });
3962
+ return o;
3963
+ }
3964
+ _cleanup() {
3965
+ for (let e of this._gridItemElements) this._cleanupActiveItem(e);
3966
+ this._grid &&= (this._grid.destroy(!1), void 0), this._initialized = !1;
3967
+ }
3968
+ _restoreItemsLayout(e) {
3969
+ if (!this._grid || !this._gridElement || e.length === 0 || !this._isItemsControlled) return;
3970
+ let t = [];
3971
+ for (let n of e) {
3972
+ if (!n.id) continue;
3973
+ let e = this._effectiveItems.find((e) => e.id === n.id);
3974
+ if (!e) continue;
3975
+ let r = e.position ?? this._resolvePositionFromEngine(e.id);
3976
+ if (!r) continue;
3977
+ let i = this._gridElement.querySelector(`.grid-stack-item[gs-id="${CSS.escape(e.id)}"]`);
3978
+ i && (n.x !== r.col || n.y !== r.row || n.w !== r.sizeX || n.h !== r.sizeY) && t.push({
3979
+ element: i,
3980
+ position: r
3981
+ });
3982
+ }
3983
+ if (t.length !== 0) {
3984
+ this._suppressNextLayoutChangedEvent = !0, this._grid.batchUpdate();
3985
+ for (let e of t) this._grid.update(e.element, {
3986
+ x: e.position.col,
3987
+ y: e.position.row,
3988
+ w: e.position.sizeX,
3989
+ h: e.position.sizeY
3990
+ });
3991
+ this._grid.batchUpdate(!1), setTimeout(() => {
3992
+ this._suppressNextLayoutChangedEvent &&= !1;
3993
+ }, 0);
3994
+ }
3995
+ }
3996
+ _initializeGrid() {
3997
+ !this._initialized && this._gridElement && (this._grid = Cn({
3998
+ gridElement: this._gridElement,
3999
+ gridItemElements: this._gridItemElements,
4000
+ items: this._effectiveItems,
4001
+ columns: this.columns ?? 48,
4002
+ rowHeight: this.rowHeight ?? 16,
4003
+ viewMode: this.viewMode,
4004
+ fullTheme: this._fullTheme,
4005
+ onCreateOrUpdateDimensionsHint: this._createOrUpdateDimensionsHint.bind(this),
4006
+ onRemoveDimensionsHint: this._removeDimensionsHint.bind(this),
4007
+ onChange: (e) => {
4008
+ if (this._suppressNextLayoutChangedEvent) {
4009
+ this._suppressNextLayoutChangedEvent = !1;
4010
+ return;
4011
+ }
4012
+ let t = this._effectiveItems, n = wn(t, e);
4013
+ this._isItemsControlled || this._setInternalItems(n, { reconcileStates: !0 }), b({
4014
+ target: this,
4015
+ eventName: "luzmo-item-grid-layout-changed",
4016
+ detail: {
4017
+ element: this._gridElement,
4018
+ grid: this._grid,
4019
+ items: t,
4020
+ updatedItems: n
4021
+ }
4022
+ }), this._restoreItemsLayout(e);
4023
+ }
4024
+ }), this._initialized = !0, b({
4025
+ target: this,
4026
+ eventName: "luzmo-item-grid-ready",
4027
+ detail: {
4028
+ element: this._gridElement,
4029
+ grid: this._grid,
4030
+ items: this._effectiveItems
4031
+ }
4032
+ }), this._applyItemStates());
4033
+ }
4034
+ _applyItemStates() {
4035
+ let e = this._filterItemStatesToExistingItems(this._effectiveItemStates), t = new Set(Object.entries(e).filter(([, e]) => e.length > 0).map(([e]) => e)), n = [], r = this._gridElement?.querySelectorAll(".grid-stack-item[active]");
4036
+ if (r) for (let e of r) {
4037
+ let n = e.getAttribute("gs-id");
4038
+ n && t.has(n) || (e.removeAttribute("active"), this._removeItemActionsMenuPopover(e));
4039
+ }
4040
+ if (this._activeItemElement = void 0, this._activeItemActionToggle = void 0, t.size === 0) this._gridElement?.removeAttribute("has-active-item");
4041
+ else {
4042
+ for (let [t, r] of Object.entries(e)) {
4043
+ if (r.length === 0) continue;
4044
+ let e = this.getGridItemById(t);
4045
+ if (!e?.element) continue;
4046
+ let i = e.element;
4047
+ i.setAttribute("active", "true"), this._gridElement?.setAttribute("has-active-item", "true"), this._createItemActionsMenuPopover(i, r);
4048
+ for (let e of r) n.push({
4049
+ element: i,
4050
+ action: e
4051
+ });
4052
+ }
4053
+ n.length === 0 ? (this._gridElement?.removeAttribute("has-active-item"), this._activeItemElement = void 0, this._activeItemActionToggle = void 0) : n.length === 1 ? (this._activeItemElement = n[0].element, this._activeItemActionToggle = n[0].action) : (this._activeItemElement = void 0, this._activeItemActionToggle = void 0);
4054
+ }
4055
+ }
4056
+ _createOrUpdateDimensionsHint(e, t, n) {
4057
+ Tn({
4058
+ element: e,
4059
+ numberOfColumns: t,
4060
+ numberOfRows: n,
4061
+ offsetHint: qt(this._fullTheme)
4062
+ });
4063
+ }
4064
+ _removeDimensionsHint(e) {
4065
+ En(e);
4066
+ }
4067
+ get grid() {
4068
+ return this._grid;
4069
+ }
4070
+ get gridItems() {
4071
+ return pe(this.items, this._gridElement);
4072
+ }
4073
+ registerRenderer(e, t) {
4074
+ this.renderers = {
4075
+ ...this.renderers,
4076
+ [e]: t
4077
+ };
4078
+ }
4079
+ renderItemContent(e, t) {
4080
+ return i`
4081
+
4082
+ `;
4083
+ }
4084
+ getItemRenderDependencies() {
4085
+ return [];
4086
+ }
4087
+ resolveTheme(e, t) {
4088
+ return Promise.resolve(e ? structuredClone(e) : t);
4089
+ }
4090
+ get resolvedTheme() {
4091
+ return this._fullTheme;
4092
+ }
4093
+ renderOverlayContent(e, t) {
4094
+ return i`
4095
+
4096
+ `;
4097
+ }
4098
+ _createItemActionsMenuPopover(e, t) {
4099
+ zt({
4100
+ element: e,
4101
+ activeActions: t,
4102
+ getGridItemById: this.getGridItemById.bind(this),
4103
+ placementItemActionsMenu: this.placementItemActionsMenu,
4104
+ renderOverlayContent: this.renderOverlayContent.bind(this),
4105
+ removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this),
4106
+ itemActionsDocumentPopover: this.itemActionsDocumentPopover
4107
+ });
4108
+ }
4109
+ _removeItemActionsMenuPopover(e) {
4110
+ Bt(e);
4111
+ }
4112
+ getGridItemById(e) {
4113
+ return this.gridItems.find((t) => t.item.id === e);
4114
+ }
4115
+ scrollToItem(e) {
4116
+ let t = this.getGridItemById(e);
4117
+ if (!t?.element) return;
4118
+ let n = t.element.getBoundingClientRect();
4119
+ (n.bottom > window.innerHeight || n.top < 0) && t.element.scrollIntoView({
4120
+ behavior: "smooth",
4121
+ block: "center"
4122
+ });
4123
+ }
4124
+ _createMissingItemError(e) {
4125
+ return /* @__PURE__ */ Error(`Grid item with id "${e}" not found`);
4126
+ }
4127
+ _requireGridItem(e) {
4128
+ let t = this._effectiveItems.find((t) => t.id === e);
4129
+ if (!t) throw this._createMissingItemError(e);
4130
+ return t;
4131
+ }
4132
+ _resolvePositionFromEngine(e) {
4133
+ let t = this._grid?.engine.nodes.find((t) => t.id === e);
4134
+ if (t && t.x != null && t.y != null && t.w != null && t.h != null) return {
4135
+ col: t.x,
4136
+ row: t.y,
4137
+ sizeX: t.w,
4138
+ sizeY: t.h
4139
+ };
4140
+ }
4141
+ _requireGridItemWithPosition(e) {
4142
+ let t = this._requireGridItem(e);
4143
+ if (!t.position) {
4144
+ let n = this._resolvePositionFromEngine(e);
4145
+ if (!n) throw Error(`Grid item with id "${e}" does not have a position`);
4146
+ return {
4147
+ ...t,
4148
+ position: n
4149
+ };
4150
+ }
4151
+ return t;
4152
+ }
4153
+ _assertAddItemHasId(e) {
4154
+ if (!e.id) throw Error("addGridItem requires newItem.id");
4155
+ }
4156
+ addGridItem(e) {
4157
+ if (this._assertAddItemHasId(e), this._effectiveItems.some((t) => t.id === e.id)) throw Error(`addGridItem rejected: an item with id "${e.id}" already exists`);
4158
+ let t = ge(e), n = this._effectiveItems;
4159
+ if (!this._grid) {
4160
+ let r = e.position?.col == null || e.position?.row == null ? {
4161
+ ...t,
4162
+ position: void 0
4163
+ } : t, i = [...n, r];
4164
+ return this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 }), i;
4165
+ }
4166
+ if (!t.position) {
4167
+ let e = [...n, t];
4168
+ return this._isItemsControlled || this._setInternalItems(e, { reconcileStates: !0 }), e;
4169
+ }
4170
+ let r = e.position?.col == null || e.position?.row == null, { updatedItems: i } = me({
4171
+ item: t,
4172
+ engine: this._grid.engine,
4173
+ existingItems: n,
4174
+ autoPosition: r
4175
+ });
4176
+ return this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 }), i;
4177
+ }
4178
+ _enrichItemsWithEnginePositions(e) {
4179
+ return this._grid ? e.map((e) => {
4180
+ if (e.position) return e;
4181
+ let t = this._resolvePositionFromEngine(e.id);
4182
+ return t ? {
4183
+ ...e,
4184
+ position: t
4185
+ } : e;
4186
+ }) : e;
4187
+ }
4188
+ _updateGridItemPosition(e, t) {
4189
+ let n = this._effectiveItems, r = this._requireGridItemWithPosition(e);
4190
+ return n.map((n) => {
4191
+ if (n.id !== e) return n;
4192
+ let i = n.position ?? r.position;
4193
+ return {
4194
+ ...n,
4195
+ position: {
4196
+ ...i,
4197
+ ...t
4198
+ }
4199
+ };
4200
+ });
4201
+ }
4202
+ _dispatchLayoutChangedEvent(e, t) {
4203
+ b({
4204
+ target: this,
4205
+ eventName: "luzmo-item-grid-layout-changed",
4206
+ detail: {
4207
+ element: this._gridElement,
4208
+ grid: this._grid,
4209
+ items: e,
4210
+ updatedItems: t
4211
+ }
4212
+ });
4213
+ }
4214
+ _updateItemField(e, t) {
4215
+ let n = this._effectiveItems;
4216
+ this._requireGridItem(e);
4217
+ let r = n.map((n) => n.id === e ? {
4218
+ ...n,
4219
+ ...t
4220
+ } : n);
4221
+ return this._isItemsControlled || this._setInternalItems(r, { reconcileStates: !0 }), r;
4222
+ }
4223
+ removeGridItem(e) {
4224
+ let t = this._effectiveItems, n = this._requireGridItem(e), r = t.filter((t) => t.id !== e);
4225
+ return v({
4226
+ target: this,
4227
+ action: "delete",
4228
+ actionType: "button",
4229
+ active: !1,
4230
+ items: t,
4231
+ element: this.getGridItemById(e)?.element ?? this,
4232
+ itemId: e,
4233
+ item: n,
4234
+ updatedItems: r
4235
+ }), this._isItemsControlled || this._setInternalItems(r, { reconcileStates: !0 }), r;
4236
+ }
4237
+ cloneGridItem(e) {
4238
+ let t = this._effectiveItems, r = this._requireGridItem(e), i = {
4239
+ ...structuredClone(r),
4240
+ id: n()
4241
+ }, a = this._simulateCloneLayout(i, r), o = a.find((e) => e.id === i.id) ?? i;
4242
+ return v({
4243
+ target: this,
4244
+ action: "clone",
4245
+ actionType: "button",
4246
+ active: !1,
4247
+ items: t,
4248
+ element: this.getGridItemById(e)?.element ?? this,
4249
+ itemId: i.id,
4250
+ item: o,
4251
+ originalElement: this.getGridItemById(e)?.element,
4252
+ updatedItems: a
4253
+ }), this._isItemsControlled || this._setInternalItems(a, { reconcileStates: !0 }), a;
4254
+ }
4255
+ updateGridItemPosition(e, t) {
4256
+ let n = this._updateGridItemPosition(e, t);
4257
+ return this._dispatchLayoutChangedEvent(this._effectiveItems, n), this._isItemsControlled || this._setInternalItems(n, { reconcileStates: !0 }), n;
4258
+ }
4259
+ updateGridItemSize(e, t) {
4260
+ let n = this._updateGridItemPosition(e, t);
4261
+ return this._dispatchLayoutChangedEvent(this._effectiveItems, n), this._isItemsControlled || this._setInternalItems(n, { reconcileStates: !0 }), n;
4262
+ }
4263
+ updateGridItemSlots(e, t) {
4264
+ return this._updateItemField(e, { slots: t });
4265
+ }
4266
+ updateGridItemOptions(e, t) {
4267
+ return this._updateItemField(e, { options: t });
4268
+ }
4269
+ updateGridItemFilters(e, t) {
4270
+ return this._updateItemField(e, { filters: t });
4271
+ }
4272
+ updateGridItemType(e, t) {
4273
+ return this._updateItemField(e, { type: t });
4274
+ }
4275
+ updateGridItem(e, t) {
4276
+ let n = this._effectiveItems;
4277
+ this._requireGridItem(e);
4278
+ let { position: r, ...i } = t, a;
4279
+ return r && this._grid ? (a = he({
4280
+ itemId: e,
4281
+ patch: r,
4282
+ engine: this._grid.engine,
4283
+ existingItems: this._enrichItemsWithEnginePositions(n)
4284
+ }), a = a.map((t) => t.id === e ? {
4285
+ ...t,
4286
+ ...i
4287
+ } : t)) : a = n.map((t) => t.id === e ? {
4288
+ ...t,
4289
+ ...i,
4290
+ ...r && t.position ? { position: {
4291
+ ...t.position,
4292
+ ...r
4293
+ } } : r ? { position: r } : {}
4294
+ } : t), t.position && this._dispatchLayoutChangedEvent(n, a), this._isItemsControlled || this._setInternalItems(a, { reconcileStates: !0 }), a;
4295
+ }
4296
+ async triggerItemAction(e, t, n) {
4297
+ await this.updateComplete;
4298
+ let r = this.getGridItemById(e);
4299
+ if (!r?.element) {
4300
+ console.warn(`Grid item with id "${e}" not found`);
4301
+ return;
4302
+ }
4303
+ if (this._isControlled) return this._triggerControlledItemAction(e, t, n);
4304
+ this._suppressItemStatesEvent = !0;
4305
+ let i = ae({
4306
+ gridElement: this._gridElement,
4307
+ items: this.items,
4308
+ gridItemData: r,
4309
+ itemId: e,
4310
+ action: t,
4311
+ options: n,
4312
+ state: {
4313
+ activeItemElement: this._activeItemElement,
4314
+ activeItemActionToggle: this._activeItemActionToggle
4315
+ },
4316
+ cleanupActiveItem: this._cleanupActiveItem.bind(this),
4317
+ dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this),
4318
+ createItemActionsMenuPopover: this._createItemActionsMenuPopover.bind(this)
4319
+ });
4320
+ if (this._suppressItemStatesEvent = !1, this._activeItemElement = i.state.activeItemElement, this._activeItemActionToggle = i.state.activeItemActionToggle, i.result !== void 0) {
4321
+ let n = this._effectiveItemStates, r = this._computeNextItemStates(e, t, i.result);
4322
+ this._internalItemStates = r, y({
4323
+ target: this,
4324
+ itemStates: n,
4325
+ updatedItemStates: r,
4326
+ changedItemStates: this._diffItemStates(n, r)
4327
+ });
4328
+ }
4329
+ return i.result;
4330
+ }
4331
+ activateItemAction(e, t, n) {
4332
+ return this.triggerItemAction(e, t, n);
4333
+ }
4334
+ _triggerControlledItemAction(e, t, n) {
4335
+ let r = (this._effectiveItemStates[e] ?? []).includes(t), i = n?.active ?? !r;
4336
+ if (n?.active !== void 0 && i === r) return r;
4337
+ let a = this._effectiveItemStates, o = this._computeNextItemStates(e, t, i);
4338
+ return y({
4339
+ target: this,
4340
+ itemStates: a,
4341
+ updatedItemStates: o,
4342
+ changedItemStates: { [e]: [t] }
4343
+ }), i;
4344
+ }
4345
+ deactivateItems() {
4346
+ if (this._isControlled) {
4347
+ let e = this._effectiveItemStates, t = Object.entries(e).flatMap(([e, t]) => t.map((t) => ({
4348
+ itemId: e,
4349
+ action: t
4350
+ })));
4351
+ if (t.length === 0) return 0;
4352
+ let n = {}, r = { ...e };
4353
+ for (let e of t) r = this._computeNextItemStates(e.itemId, e.action, !1, r), n[e.itemId] = [...n[e.itemId] ?? [], e.action];
4354
+ return y({
4355
+ target: this,
4356
+ itemStates: e,
4357
+ updatedItemStates: r,
4358
+ changedItemStates: n
4359
+ }), new Set(t.map((e) => e.itemId)).size;
4360
+ }
4361
+ let e = this._effectiveItemStates, t = Object.entries(e).flatMap(([e, t]) => t.map((t) => ({
4362
+ itemId: e,
4363
+ action: t
4364
+ })));
4365
+ this._suppressItemStatesEvent = !0;
4366
+ let n = oe({
4367
+ gridElement: this._gridElement,
4368
+ items: this.items,
4369
+ state: {
4370
+ activeItemElement: this._activeItemElement,
4371
+ activeItemActionToggle: this._activeItemActionToggle
4372
+ },
4373
+ cleanupActiveItem: this._cleanupActiveItem.bind(this),
4374
+ dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this)
4375
+ });
4376
+ if (this._suppressItemStatesEvent = !1, this._activeItemElement = n.state.activeItemElement, this._activeItemActionToggle = n.state.activeItemActionToggle, this._isControlled || (this._internalItemStates = {}), t.length > 0) {
4377
+ let n = {};
4378
+ for (let e of t) n[e.itemId] = [...n[e.itemId] ?? [], e.action];
4379
+ y({
4380
+ target: this,
4381
+ itemStates: e,
4382
+ updatedItemStates: {},
4383
+ changedItemStates: n
4384
+ });
4385
+ }
4386
+ return n.deactivatedCount;
4387
+ }
4388
+ _renderGrid() {
4389
+ return en({
4390
+ items: this.items,
4391
+ initialized: this._initialized,
4392
+ viewMode: this.viewMode,
4393
+ fullTheme: this._fullTheme,
4394
+ columns: this.columns ?? 48,
4395
+ renderItemContent: this.renderItemContent.bind(this),
4396
+ renderDependencies: this.getItemRenderDependencies(),
4397
+ ensureGridItemId: (e) => le(e),
4398
+ handleMouseover: this._handleMouseover.bind(this),
4399
+ handleMouseout: this._handleMouseout,
4400
+ handleFocus: this._handleFocus,
4401
+ handleBlur: this._handleBlur
4402
+ });
4403
+ }
4404
+ render() {
4405
+ return this._renderGrid();
4406
+ }
4407
+ };
4408
+ e([s({
4409
+ type: String,
4410
+ reflect: !0
4411
+ })], $.prototype, "language", void 0), e([s({
4412
+ type: String,
4413
+ attribute: "content-language",
4414
+ reflect: !0
4415
+ })], $.prototype, "contentLanguage", void 0), e([s({
4416
+ type: Number,
4417
+ reflect: !0
4418
+ })], $.prototype, "columns", void 0), e([s({
4419
+ type: Number,
4420
+ reflect: !0,
4421
+ attribute: "row-height"
4422
+ })], $.prototype, "rowHeight", void 0), e([s({
4423
+ type: Boolean,
4424
+ reflect: !0,
4425
+ attribute: "view-mode"
4426
+ })], $.prototype, "viewMode", void 0), e([s({
4427
+ type: Boolean,
4428
+ reflect: !0,
4429
+ attribute: "item-actions-document-popover"
4430
+ })], $.prototype, "itemActionsDocumentPopover", void 0), e([s({
4431
+ type: String,
4432
+ reflect: !0,
4433
+ attribute: "placement-item-actions-menu"
4434
+ })], $.prototype, "placementItemActionsMenu", void 0), e([s({
4435
+ type: Array,
4436
+ reflect: !0,
4437
+ attribute: "default-item-actions-menu"
4438
+ })], $.prototype, "defaultItemActionsMenu", void 0), e([s({
4439
+ type: String,
4440
+ reflect: !0,
4441
+ attribute: "cloned-item-positioning"
4442
+ })], $.prototype, "clonedItemPositioning", void 0), e([s({
4443
+ type: Object,
4444
+ reflect: !0
4445
+ })], $.prototype, "theme", void 0), e([s({
4446
+ type: Array,
4447
+ reflect: !1
4448
+ })], $.prototype, "items", null), e([s({
4449
+ type: Array,
4450
+ reflect: !1,
4451
+ attribute: "initial-items"
4452
+ })], $.prototype, "initialItems", null), e([s({
4453
+ type: Object,
4454
+ reflect: !1
4455
+ })], $.prototype, "renderers", void 0), e([s({
4456
+ type: Object,
4457
+ reflect: !1,
4458
+ attribute: "item-states"
4459
+ })], $.prototype, "itemStates", null), e([s({
4460
+ type: Object,
4461
+ reflect: !1,
4462
+ attribute: "initial-item-states"
4463
+ })], $.prototype, "initialItemStates", void 0), e([u()], $.prototype, "_initialized", void 0), e([c(".grid-stack")], $.prototype, "_gridElement", void 0), e([l(".luzmo-item-grid-item")], $.prototype, "_gridItemElements", void 0), e([u()], $.prototype, "_internalItemsVersion", void 0);
4464
+ export { pe as n, $ as t };