@luzmo/analytics-components-kit 1.0.9-beta.8 → 1.1.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 (2663) hide show
  1. package/LICENSE +18 -18
  2. package/README.md +32 -2
  3. package/angular/README.md +40 -0
  4. package/angular/components/add-to-dashboard.ts +130 -0
  5. package/angular/components/ai-chat-empty-state.ts +105 -0
  6. package/angular/components/ai-chat.ts +464 -0
  7. package/angular/components/ai-interaction-textarea.ts +290 -0
  8. package/angular/components/data-field-level.ts +130 -0
  9. package/angular/components/data-field-panel.ts +256 -0
  10. package/angular/components/data-field.ts +130 -0
  11. package/angular/components/data-fields-select.ts +226 -0
  12. package/angular/components/dataset-icon.ts +83 -0
  13. package/angular/components/dataset-selector-list.ts +147 -0
  14. package/angular/components/dataset-selector-row.ts +205 -0
  15. package/angular/components/display-settings-binning.ts +92 -0
  16. package/angular/components/display-settings-datetime.ts +100 -0
  17. package/angular/components/display-settings-grand-totals.ts +92 -0
  18. package/angular/components/display-settings-numeric.ts +113 -0
  19. package/angular/components/display-settings-period-over-period.ts +121 -0
  20. package/angular/components/display-settings.ts +227 -0
  21. package/angular/components/filter-expression-picker.ts +168 -0
  22. package/angular/components/filter-item.ts +207 -0
  23. package/angular/components/filter-parameter-picker.ts +155 -0
  24. package/angular/components/filter-value-picker-datetime.ts +125 -0
  25. package/angular/components/filter-value-picker-hierarchy.ts +146 -0
  26. package/angular/components/filter-value-picker-numeric.ts +146 -0
  27. package/angular/components/filter-value-picker.ts +160 -0
  28. package/angular/components/filters.ts +248 -0
  29. package/angular/components/formula-editor.ts +229 -0
  30. package/angular/components/formula-field.ts +198 -0
  31. package/angular/components/formula.ts +170 -0
  32. package/angular/components/interactive-viz-item.ts +228 -0
  33. package/angular/components/item-grid-item-actions-menu.ts +123 -0
  34. package/angular/components/item-grid.ts +252 -0
  35. package/angular/components/item-option-action-button-group.ts +105 -0
  36. package/angular/components/item-option-color-palette-picker.ts +126 -0
  37. package/angular/components/item-option-color-picker.ts +134 -0
  38. package/angular/components/item-option-color-range.ts +168 -0
  39. package/angular/components/item-option-guidelines.ts +84 -0
  40. package/angular/components/item-option-multi-language-field.ts +133 -0
  41. package/angular/components/item-option-number-field.ts +161 -0
  42. package/angular/components/item-option-panel.ts +149 -0
  43. package/angular/components/item-option-picker.ts +120 -0
  44. package/angular/components/item-option-position-picker.ts +98 -0
  45. package/angular/components/item-option-positions-number-field.ts +140 -0
  46. package/angular/components/item-option-radio-button-group.ts +119 -0
  47. package/angular/components/item-option-slider.ts +126 -0
  48. package/angular/components/item-option-switch.ts +98 -0
  49. package/angular/components/item-option-text-field.ts +112 -0
  50. package/angular/components/item-option.ts +163 -0
  51. package/angular/components/item-slot-drop-panel.ts +236 -0
  52. package/angular/components/item-slot-drop.ts +231 -0
  53. package/angular/components/item-slot-picker-panel.ts +306 -0
  54. package/angular/components/item-slot-picker.ts +248 -0
  55. package/angular/components/slot-menu-list.ts +121 -0
  56. package/angular/components/slot-menu.ts +311 -0
  57. package/angular/esm/components/add-to-dashboard.d.ts +48 -0
  58. package/angular/esm/components/add-to-dashboard.js +129 -0
  59. package/angular/esm/components/ai-chat-empty-state.d.ts +41 -0
  60. package/angular/esm/components/ai-chat-empty-state.js +107 -0
  61. package/angular/esm/components/ai-chat.d.ts +154 -0
  62. package/angular/esm/components/ai-chat.js +477 -0
  63. package/angular/esm/components/ai-interaction-textarea.d.ts +108 -0
  64. package/angular/esm/components/ai-interaction-textarea.js +313 -0
  65. package/angular/esm/components/data-field-level.d.ts +50 -0
  66. package/angular/esm/components/data-field-level.js +129 -0
  67. package/angular/esm/components/data-field-panel.d.ts +86 -0
  68. package/angular/esm/components/data-field-panel.js +268 -0
  69. package/angular/esm/components/data-field.d.ts +50 -0
  70. package/angular/esm/components/data-field.js +129 -0
  71. package/angular/esm/components/data-fields-select.d.ts +87 -0
  72. package/angular/esm/components/data-fields-select.js +243 -0
  73. package/angular/esm/components/dataset-icon.d.ts +34 -0
  74. package/angular/esm/components/dataset-icon.js +86 -0
  75. package/angular/esm/components/dataset-selector-list.d.ts +56 -0
  76. package/angular/esm/components/dataset-selector-list.js +155 -0
  77. package/angular/esm/components/dataset-selector-row.d.ts +72 -0
  78. package/angular/esm/components/dataset-selector-row.js +205 -0
  79. package/angular/esm/components/display-settings-binning.d.ts +37 -0
  80. package/angular/esm/components/display-settings-binning.js +91 -0
  81. package/angular/esm/components/display-settings-datetime.d.ts +40 -0
  82. package/angular/esm/components/display-settings-datetime.js +99 -0
  83. package/angular/esm/components/display-settings-grand-totals.d.ts +37 -0
  84. package/angular/esm/components/display-settings-grand-totals.js +91 -0
  85. package/angular/esm/components/display-settings-numeric.d.ts +45 -0
  86. package/angular/esm/components/display-settings-numeric.js +115 -0
  87. package/angular/esm/components/display-settings-period-over-period.d.ts +50 -0
  88. package/angular/esm/components/display-settings-period-over-period.js +123 -0
  89. package/angular/esm/components/display-settings.d.ts +83 -0
  90. package/angular/esm/components/display-settings.js +231 -0
  91. package/angular/esm/components/filter-expression-picker.d.ts +64 -0
  92. package/angular/esm/components/filter-expression-picker.js +179 -0
  93. package/angular/esm/components/filter-item.d.ts +74 -0
  94. package/angular/esm/components/filter-item.js +222 -0
  95. package/angular/esm/components/filter-parameter-picker.d.ts +56 -0
  96. package/angular/esm/components/filter-parameter-picker.js +151 -0
  97. package/angular/esm/components/filter-value-picker-datetime.d.ts +47 -0
  98. package/angular/esm/components/filter-value-picker-datetime.js +131 -0
  99. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
  100. package/angular/esm/components/filter-value-picker-hierarchy.js +155 -0
  101. package/angular/esm/components/filter-value-picker-numeric.d.ts +53 -0
  102. package/angular/esm/components/filter-value-picker-numeric.js +155 -0
  103. package/angular/esm/components/filter-value-picker.d.ts +57 -0
  104. package/angular/esm/components/filter-value-picker.js +171 -0
  105. package/angular/esm/components/filters.d.ts +88 -0
  106. package/angular/esm/components/filters.js +259 -0
  107. package/angular/esm/components/formula-editor.d.ts +78 -0
  108. package/angular/esm/components/formula-editor.js +236 -0
  109. package/angular/esm/components/formula-field.d.ts +70 -0
  110. package/angular/esm/components/formula-field.js +209 -0
  111. package/angular/esm/components/formula.d.ts +60 -0
  112. package/angular/esm/components/formula.js +177 -0
  113. package/angular/esm/components/interactive-viz-item.d.ts +76 -0
  114. package/angular/esm/components/interactive-viz-item.js +224 -0
  115. package/angular/esm/components/item-grid-item-actions-menu.d.ts +47 -0
  116. package/angular/esm/components/item-grid-item-actions-menu.js +121 -0
  117. package/angular/esm/components/item-grid.d.ts +82 -0
  118. package/angular/esm/components/item-grid.js +251 -0
  119. package/angular/esm/components/item-option-action-button-group.d.ts +41 -0
  120. package/angular/esm/components/item-option-action-button-group.js +107 -0
  121. package/angular/esm/components/item-option-color-palette-picker.d.ts +48 -0
  122. package/angular/esm/components/item-option-color-palette-picker.js +131 -0
  123. package/angular/esm/components/item-option-color-picker.d.ts +51 -0
  124. package/angular/esm/components/item-option-color-picker.js +139 -0
  125. package/angular/esm/components/item-option-color-range.d.ts +66 -0
  126. package/angular/esm/components/item-option-color-range.js +179 -0
  127. package/angular/esm/components/item-option-guidelines.d.ts +34 -0
  128. package/angular/esm/components/item-option-guidelines.js +83 -0
  129. package/angular/esm/components/item-option-multi-language-field.d.ts +50 -0
  130. package/angular/esm/components/item-option-multi-language-field.js +139 -0
  131. package/angular/esm/components/item-option-number-field.d.ts +58 -0
  132. package/angular/esm/components/item-option-number-field.js +171 -0
  133. package/angular/esm/components/item-option-panel.d.ts +54 -0
  134. package/angular/esm/components/item-option-panel.js +155 -0
  135. package/angular/esm/components/item-option-picker.d.ts +46 -0
  136. package/angular/esm/components/item-option-picker.js +123 -0
  137. package/angular/esm/components/item-option-position-picker.d.ts +39 -0
  138. package/angular/esm/components/item-option-position-picker.js +99 -0
  139. package/angular/esm/components/item-option-positions-number-field.d.ts +54 -0
  140. package/angular/esm/components/item-option-positions-number-field.js +147 -0
  141. package/angular/esm/components/item-option-radio-button-group.d.ts +45 -0
  142. package/angular/esm/components/item-option-radio-button-group.js +123 -0
  143. package/angular/esm/components/item-option-slider.d.ts +46 -0
  144. package/angular/esm/components/item-option-slider.js +131 -0
  145. package/angular/esm/components/item-option-switch.d.ts +40 -0
  146. package/angular/esm/components/item-option-switch.js +99 -0
  147. package/angular/esm/components/item-option-text-field.d.ts +44 -0
  148. package/angular/esm/components/item-option-text-field.js +115 -0
  149. package/angular/esm/components/item-option.d.ts +58 -0
  150. package/angular/esm/components/item-option.js +171 -0
  151. package/angular/esm/components/item-slot-drop-panel.d.ts +82 -0
  152. package/angular/esm/components/item-slot-drop-panel.js +249 -0
  153. package/angular/esm/components/item-slot-drop.d.ts +77 -0
  154. package/angular/esm/components/item-slot-drop.js +227 -0
  155. package/angular/esm/components/item-slot-picker-panel.d.ts +99 -0
  156. package/angular/esm/components/item-slot-picker-panel.js +317 -0
  157. package/angular/esm/components/item-slot-picker.d.ts +88 -0
  158. package/angular/esm/components/item-slot-picker.js +267 -0
  159. package/angular/esm/components/slot-menu-list.d.ts +46 -0
  160. package/angular/esm/components/slot-menu-list.js +123 -0
  161. package/angular/esm/components/slot-menu.d.ts +107 -0
  162. package/angular/esm/components/slot-menu.js +308 -0
  163. package/angular/esm/index.d.ts +109 -0
  164. package/angular/esm/index.js +217 -0
  165. package/angular/index.ts +223 -0
  166. package/angular/package.json +44 -0
  167. package/angular/tsconfig.json +36 -0
  168. package/angular/type-fallbacks.d.ts +0 -0
  169. package/angular/utils/ai-prompt/attachments.d.ts +10 -0
  170. package/angular/utils/ai-prompt/dictation.d.ts +50 -0
  171. package/angular/utils/ai-prompt/image-upload.d.ts +12 -0
  172. package/angular/utils/ai-prompt/index.d.ts +6 -0
  173. package/angular/utils/ai-prompt/tests/attachments.test.d.ts +1 -0
  174. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +1 -0
  175. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +1 -0
  176. package/angular/utils/base/base.d.ts +16 -0
  177. package/angular/utils/base/focus-visible.d.ts +29 -0
  178. package/angular/utils/base/focusable.d.ts +58 -0
  179. package/angular/utils/base/index.d.ts +5 -0
  180. package/angular/utils/base/localized-mixin.d.ts +22 -0
  181. package/angular/utils/base/sized-mixin.d.ts +17 -0
  182. package/angular/utils/color/color-palettes.d.ts +17 -0
  183. package/angular/utils/color/extrapolate-color.d.ts +1 -0
  184. package/angular/utils/create-lazy-loader.d.ts +5 -0
  185. package/angular/utils/data/load-data-fields-for-datasets.d.ts +22 -0
  186. package/angular/utils/data-broker/index.d.ts +281 -0
  187. package/angular/utils/data-broker/tests/data-broker.test.d.ts +1 -0
  188. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
  189. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
  190. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
  191. package/angular/utils/drag/draggable.d.ts +13 -0
  192. package/angular/utils/drag/pragmatic-element-adapter.d.ts +2 -0
  193. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +1 -0
  194. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +1 -0
  195. package/angular/utils/filters/expressions.d.ts +15 -0
  196. package/angular/utils/filters/filter-text.d.ts +64 -0
  197. package/angular/utils/filters/index.d.ts +2 -0
  198. package/angular/utils/filters/presentation.d.ts +4 -0
  199. package/angular/utils/filters/tests/filter-text.test.d.ts +1 -0
  200. package/angular/utils/formatter/calculate-duration.d.ts +2 -0
  201. package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
  202. package/angular/utils/formatter/default-local-formats.d.ts +20 -0
  203. package/angular/utils/formatter/formats/cs.d.ts +20 -0
  204. package/angular/utils/formatter/formats/da.d.ts +20 -0
  205. package/angular/utils/formatter/formats/de.d.ts +21 -0
  206. package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
  207. package/angular/utils/formatter/formats/en-US.d.ts +1 -0
  208. package/angular/utils/formatter/formats/en.d.ts +1 -0
  209. package/angular/utils/formatter/formats/es.d.ts +54 -0
  210. package/angular/utils/formatter/formats/fi.d.ts +20 -0
  211. package/angular/utils/formatter/formats/fr.d.ts +54 -0
  212. package/angular/utils/formatter/formats/he.d.ts +20 -0
  213. package/angular/utils/formatter/formats/hu.d.ts +20 -0
  214. package/angular/utils/formatter/formats/it.d.ts +54 -0
  215. package/angular/utils/formatter/formats/ja.d.ts +20 -0
  216. package/angular/utils/formatter/formats/ko.d.ts +20 -0
  217. package/angular/utils/formatter/formats/mk.d.ts +20 -0
  218. package/angular/utils/formatter/formats/nl.d.ts +21 -0
  219. package/angular/utils/formatter/formats/no.d.ts +21 -0
  220. package/angular/utils/formatter/formats/pl.d.ts +20 -0
  221. package/angular/utils/formatter/formats/pt.d.ts +20 -0
  222. package/angular/utils/formatter/formats/ru.d.ts +20 -0
  223. package/angular/utils/formatter/formats/sv.d.ts +20 -0
  224. package/angular/utils/formatter/formats/tr.d.ts +21 -0
  225. package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
  226. package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
  227. package/angular/utils/formatter/formatter.d.ts +9 -0
  228. package/angular/utils/formatter/get-dataset-name.d.ts +2 -0
  229. package/angular/utils/formatter/get-localized-name.d.ts +4 -0
  230. package/angular/utils/formatter/localize.d.ts +3 -0
  231. package/angular/utils/formatter/localized-template.d.ts +4 -0
  232. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  233. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
  234. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
  235. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
  236. package/angular/utils/formatter/tests/formatter.test.d.ts +1 -0
  237. package/angular/utils/formatter/tests/get-localized-name.test.d.ts +1 -0
  238. package/angular/utils/formatter/tests/localize.test.d.ts +1 -0
  239. package/angular/utils/formatter/tests/localized-template.test.d.ts +1 -0
  240. package/angular/utils/formula/base/formula-base.d.ts +117 -0
  241. package/angular/utils/formula/base/formula-input-base.d.ts +62 -0
  242. package/angular/utils/formula/codemirror/actions.d.ts +47 -0
  243. package/angular/utils/formula/codemirror/drop-cursor.d.ts +15 -0
  244. package/angular/utils/formula/codemirror/icon-element.d.ts +7 -0
  245. package/angular/utils/formula/codemirror/parser.d.ts +16 -0
  246. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +1 -0
  247. package/angular/utils/formula/codemirror/theme.d.ts +20 -0
  248. package/angular/utils/formula/codemirror/widget.d.ts +18 -0
  249. package/angular/utils/formula/config/aggregations.d.ts +9 -0
  250. package/angular/utils/formula/config/build-datasets.d.ts +10 -0
  251. package/angular/utils/formula/config/expression-helpers.d.ts +42 -0
  252. package/angular/utils/formula/config/functions.d.ts +3 -0
  253. package/angular/utils/formula/config/groupings.d.ts +9 -0
  254. package/angular/utils/formula/config/regex.d.ts +39 -0
  255. package/angular/utils/formula/config/resolve-column-presentation.d.ts +19 -0
  256. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
  257. package/angular/utils/formula/config/validate-expression.d.ts +19 -0
  258. package/angular/utils/formula/load-formula-codemirror.d.ts +4 -0
  259. package/angular/utils/formula/render-explanation-tooltip.d.ts +7 -0
  260. package/angular/utils/formula/store/formula-display-store.d.ts +93 -0
  261. package/angular/utils/formula/store/formula-editor-context.d.ts +8 -0
  262. package/angular/utils/formula/store/formula-editor-store.d.ts +46 -0
  263. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +1 -0
  264. package/angular/utils/formula/tests/validate-expression.test.d.ts +1 -0
  265. package/angular/utils/get-css-variable.d.ts +1 -0
  266. package/angular/utils/index.d.ts +10 -0
  267. package/angular/utils/localize/set-locale.d.ts +7 -0
  268. package/angular/utils/map-tile-providers/index.d.ts +93 -0
  269. package/angular/utils/set-nested-value.d.ts +6 -0
  270. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
  271. package/angular/utils/slot-content/render-calculation-label.d.ts +7 -0
  272. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
  273. package/angular/utils/slot-state/slot-context.d.ts +4 -0
  274. package/angular/utils/slot-state/slot-store.d.ts +43 -0
  275. package/angular/utils/slot-state/tests/slot-store.test.d.ts +1 -0
  276. package/angular/utils/store/base-store.d.ts +158 -0
  277. package/angular/utils/store/dashboard-store.d.ts +49 -0
  278. package/angular/utils/store/index.d.ts +136 -0
  279. package/angular/utils/store/item-store.d.ts +33 -0
  280. package/angular/utils/store/store-registry.d.ts +170 -0
  281. package/angular/utils/store/tests/dashboard-store.test.d.ts +1 -0
  282. package/angular/utils/store/tests/item-store.test.d.ts +1 -0
  283. package/angular/utils/store/tests/store-base.test.d.ts +1 -0
  284. package/angular/utils/store/tests/store-registry.test.d.ts +1 -0
  285. package/angular/utils/store/types.d.ts +270 -0
  286. package/angular/utils/switch-item/index.d.ts +34 -0
  287. package/angular/utils/switch-item/slot-role-classification.d.ts +31 -0
  288. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
  289. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
  290. package/angular/utils/switch-item/tests/switch-item.test.d.ts +1 -0
  291. package/angular/utils/tests/create-lazy-loader.test.d.ts +1 -0
  292. package/angular/utils/tests/set-nested-value.test.d.ts +1 -0
  293. package/angular/utils/themes/bliss.d.ts +2 -0
  294. package/angular/utils/themes/classic-dark.d.ts +2 -0
  295. package/angular/utils/themes/classic.d.ts +2 -0
  296. package/angular/utils/themes/default-dark.d.ts +2 -0
  297. package/angular/utils/themes/default.d.ts +2 -0
  298. package/angular/utils/themes/index.d.ts +4 -0
  299. package/angular/utils/themes/orion.d.ts +2 -0
  300. package/angular/utils/themes/pinky.d.ts +2 -0
  301. package/angular/utils/themes/radiant.d.ts +2 -0
  302. package/angular/utils/themes/royale.d.ts +2 -0
  303. package/angular/utils/themes/seasonal.d.ts +2 -0
  304. package/angular/utils/themes/urban.d.ts +2 -0
  305. package/angular/utils/themes/vivid.d.ts +2 -0
  306. package/angular/utils/time/formats.const.d.ts +4 -0
  307. package/angular/utils/time/period-over-period-condition.const.d.ts +8 -0
  308. package/angular/utils/time/periods.const.d.ts +15 -0
  309. package/angular/utils/timezone/datetime-timezone.d.ts +25 -0
  310. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
  311. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
  312. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
  313. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
  314. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
  315. package/angular/utils/types/tests/type-check.test.d.ts +1 -0
  316. package/angular/utils/types/type-check.d.ts +28 -0
  317. package/components/ad-hoc-slot-content-DWUxMq1x.js +28 -0
  318. package/components/ad-hoc-slot-content-DsRsJzsY.cjs +20 -0
  319. package/components/add-to-dashboard/add-to-dashboard.d.ts +134 -0
  320. package/components/add-to-dashboard/dashboard-actions.d.ts +14 -0
  321. package/components/add-to-dashboard/helpers/add-to-dashboard-helpers.d.ts +3 -0
  322. package/components/add-to-dashboard/index.cjs +20 -0
  323. package/components/add-to-dashboard/index.d.ts +11 -0
  324. package/components/add-to-dashboard/index.js +20 -0
  325. package/components/add-to-dashboard/types.d.ts +7 -0
  326. package/components/add-to-dashboard-NcVHlqrc.js +796 -0
  327. package/components/add-to-dashboard-NwsCPIlg.cjs +166 -0
  328. package/components/ai-chat/ai-chat-events.d.ts +5 -1
  329. package/components/ai-chat/ai-chat-request.d.ts +1 -1
  330. package/components/ai-chat/ai-chat.d.ts +37 -3
  331. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +1 -1
  332. package/components/ai-chat/helpers/assistant-message-feedback.d.ts +26 -0
  333. package/components/ai-chat/helpers/elicitation-template.d.ts +1 -1
  334. package/components/ai-chat/index.cjs +19 -19
  335. package/components/ai-chat/index.d.ts +3 -3
  336. package/components/ai-chat/index.js +20 -20
  337. package/components/ai-chat/session/ai-chat-session.d.ts +8 -1
  338. package/components/ai-chat/stream/chunk-extractors.d.ts +8 -0
  339. package/components/ai-chat/stream/index.d.ts +1 -1
  340. package/components/ai-chat/stream/types.d.ts +6 -0
  341. package/components/ai-chat-BNcSadGI.cjs +393 -0
  342. package/components/ai-chat-CL894viH.js +4371 -0
  343. package/components/ai-interaction-textarea/index.cjs +19 -19
  344. package/components/ai-interaction-textarea/index.js +19 -20
  345. package/components/ai-interaction-textarea-BmvVVCmL.cjs +101 -0
  346. package/components/ai-interaction-textarea-CnQ2FBc7.js +797 -0
  347. package/components/area-chart-options.config-D99tvt_H.cjs +20 -0
  348. package/components/area-chart-options.config-Dnw8v2CA.js +218 -0
  349. package/components/area-chart-options.de-D5Wto0ja.cjs +20 -0
  350. package/components/area-chart-options.de-DXjvU5SP.js +94 -0
  351. package/components/area-chart-options.en-C97TC7i-.js +94 -0
  352. package/components/area-chart-options.en-CrffNamW.cjs +20 -0
  353. package/components/area-chart-options.es-BPpe9WGc.cjs +20 -0
  354. package/components/area-chart-options.es-BRZqqMoH.js +94 -0
  355. package/components/area-chart-options.fr-CdlaMfpz.cjs +20 -0
  356. package/components/area-chart-options.fr-DdxaNKyG.js +94 -0
  357. package/components/area-chart-options.nl-C7RTsytw.cjs +20 -0
  358. package/components/area-chart-options.nl-COBLkBRQ.js +94 -0
  359. package/components/area-chart-positioning.config-BwEs73dl.cjs +20 -0
  360. package/components/area-chart-positioning.config-ygE3-JQW.js +54 -0
  361. package/components/area-chart-slots.config-C-NPoK3J.cjs +20 -0
  362. package/components/area-chart-slots.config-D05HNoJK.js +54 -0
  363. package/components/axis-options.config-Cs5ItswD.js +269 -0
  364. package/components/axis-options.config-Dg9pczlQ.cjs +20 -0
  365. package/components/axis-options.i18n-B4Oq86I1.cjs +20 -0
  366. package/components/axis-options.i18n-Bu6vtdMv.js +485 -0
  367. package/components/bar-chart-options.config-BQ-PbucR.cjs +20 -0
  368. package/components/bar-chart-options.config-DHO8grQN.js +265 -0
  369. package/components/bar-chart-options.de-CP33NpEm.js +110 -0
  370. package/components/bar-chart-options.de-D7Aam6Mv.cjs +20 -0
  371. package/components/bar-chart-options.en-Bz116FHK.js +110 -0
  372. package/components/bar-chart-options.en-CkdOHM9S.cjs +20 -0
  373. package/components/bar-chart-options.es-C3SZOSiN.cjs +20 -0
  374. package/components/bar-chart-options.es-CXu-5of-.js +110 -0
  375. package/components/bar-chart-options.fr-aVs2K5Qh.cjs +20 -0
  376. package/components/bar-chart-options.fr-m4kyuObV.js +110 -0
  377. package/components/bar-chart-options.nl-BoGYJH70.cjs +20 -0
  378. package/components/bar-chart-options.nl-IYu6IncY.js +110 -0
  379. package/components/bar-chart-positioning.config-CPdIIPp0.cjs +20 -0
  380. package/components/bar-chart-positioning.config-GjqSe7CO.js +58 -0
  381. package/components/bar-chart-slots.config-AkSBrmIW.js +49 -0
  382. package/components/bar-chart-slots.config-CHR8QVRY.cjs +20 -0
  383. package/components/base-CGDNY_7v.cjs +20 -0
  384. package/components/base-rAte-QzM.js +240 -0
  385. package/components/base-store-SgJsjLap.cjs +20 -0
  386. package/components/base-store-g0dt7ru7.js +150 -0
  387. package/components/bliss-BEt3SIfb.js +74 -0
  388. package/components/bliss-Cggxb-YF.cjs +18 -18
  389. package/components/box-plot-options.config-BcGisybi.cjs +20 -0
  390. package/components/box-plot-options.config-BgiiwSrU.js +351 -0
  391. package/components/box-plot-options.de-BNdJuZsx.js +107 -0
  392. package/components/box-plot-options.de-CJ5uTyj4.cjs +20 -0
  393. package/components/box-plot-options.en-CnmnMRfg.js +107 -0
  394. package/components/box-plot-options.en-D91y5Yn2.cjs +20 -0
  395. package/components/box-plot-options.es-B6RVPU6K.js +107 -0
  396. package/components/box-plot-options.es-BE_gbUfY.cjs +20 -0
  397. package/components/box-plot-options.fr-CQVriCXK.js +107 -0
  398. package/components/box-plot-options.fr-w8w9Ulrk.cjs +20 -0
  399. package/components/box-plot-options.nl-Dl6tln-c.cjs +20 -0
  400. package/components/box-plot-options.nl-bHdxhoY1.js +107 -0
  401. package/components/box-plot-positioning.config-DDUgau2U.js +47 -0
  402. package/components/box-plot-positioning.config-mSIgw923.cjs +20 -0
  403. package/components/box-plot-slots.config-3bkXggok.cjs +20 -0
  404. package/components/box-plot-slots.config-DGx5e4nS.js +39 -0
  405. package/components/bubble-chart-options.config-DMk8Yjfk.cjs +20 -0
  406. package/components/bubble-chart-options.config-UM9w5tBs.js +141 -0
  407. package/components/bubble-chart-options.de-B-CE9HH_.js +48 -0
  408. package/components/bubble-chart-options.de-D-ylbLIk.cjs +18 -18
  409. package/components/bubble-chart-options.en-Dz03_J0z.js +48 -0
  410. package/components/bubble-chart-options.en-YjokcFur.cjs +18 -18
  411. package/components/bubble-chart-options.es-BiM9exvv.cjs +18 -18
  412. package/components/bubble-chart-options.es-F1mNRXZq.js +48 -0
  413. package/components/bubble-chart-options.fr-B8lDK-z9.js +48 -0
  414. package/components/bubble-chart-options.fr-CB4rhJRR.cjs +18 -18
  415. package/components/bubble-chart-options.nl-Bg5UEsxM.js +48 -0
  416. package/components/bubble-chart-options.nl-tG0U8b3q.cjs +18 -18
  417. package/components/bubble-chart-positioning.config-C3UubNLh.js +54 -0
  418. package/components/bubble-chart-positioning.config-CuOxvXYf.cjs +20 -0
  419. package/components/bubble-chart-slots.config-BHB8xqfy.js +46 -0
  420. package/components/bubble-chart-slots.config-DI8-pPaE.cjs +20 -0
  421. package/components/bullet-chart-options.config-D9HklLUI.js +94 -0
  422. package/components/bullet-chart-options.config-DUAnmPGW.cjs +20 -0
  423. package/components/bullet-chart-options.de-C6HTRMYV.cjs +20 -0
  424. package/components/bullet-chart-options.de-yq4D8cLz.js +46 -0
  425. package/components/bullet-chart-options.en-C2MDX5A3.cjs +20 -0
  426. package/components/bullet-chart-options.en-CwZVlb8N.js +46 -0
  427. package/components/bullet-chart-options.es-CGqpJxSU.cjs +20 -0
  428. package/components/bullet-chart-options.es-DgyTWiW3.js +46 -0
  429. package/components/bullet-chart-options.fr-BFtQlQrs.cjs +20 -0
  430. package/components/bullet-chart-options.fr-BfR1KSqo.js +46 -0
  431. package/components/bullet-chart-options.nl-BaZDLnDS.cjs +20 -0
  432. package/components/bullet-chart-options.nl-CkCZ8-Tq.js +46 -0
  433. package/components/bullet-chart-positioning.config-BuFhsRMP.js +55 -0
  434. package/components/bullet-chart-positioning.config-DB1Fmx1d.cjs +20 -0
  435. package/components/bullet-chart-slots.config-BG6XKLJg.cjs +20 -0
  436. package/components/bullet-chart-slots.config-ujoj2rwb.js +45 -0
  437. package/components/calculate-data-field-icon-BrFZHlNR.js +148 -0
  438. package/components/calculate-data-field-icon-DenGmW74.cjs +18 -18
  439. package/components/chart-helpers-Dng_LGfq.js +249 -0
  440. package/components/chart-helpers-ufZ6VbXs.cjs +20 -0
  441. package/components/choropleth-map-options.config-CXDGMiSJ.cjs +20 -0
  442. package/components/choropleth-map-options.config-D9-u-NwX.js +351 -0
  443. package/components/choropleth-map-options.de-CjnC-9AW.js +71 -0
  444. package/components/choropleth-map-options.de-GB7-eHSP.cjs +18 -18
  445. package/components/choropleth-map-options.en-CT3LM0TX.cjs +18 -18
  446. package/components/choropleth-map-options.en-DKJmimPI.js +71 -0
  447. package/components/choropleth-map-options.es-BWw823D1.js +71 -0
  448. package/components/choropleth-map-options.es-D13n2Wh1.cjs +18 -18
  449. package/components/choropleth-map-options.fr-B6P5TF2j.js +71 -0
  450. package/components/choropleth-map-options.fr-CqIpVZuN.cjs +18 -18
  451. package/components/choropleth-map-options.nl-JZsLCT82.js +71 -0
  452. package/components/choropleth-map-options.nl-YqFPhBJJ.cjs +18 -18
  453. package/components/choropleth-map-positioning.config-6PsCyhsn.js +54 -0
  454. package/components/choropleth-map-positioning.config-fc5IcNoB.cjs +20 -0
  455. package/components/choropleth-map-slots.config-C7e7ZKYl.js +52 -0
  456. package/components/choropleth-map-slots.config-DQUaQxxY.cjs +20 -0
  457. package/components/circle-pack-chart-options.config-DMNMYWZX.cjs +20 -0
  458. package/components/circle-pack-chart-options.config-DQs-uitJ.js +59 -0
  459. package/components/circle-pack-chart-options.de-C0s0u4cP.js +30 -0
  460. package/components/circle-pack-chart-options.de-Dlg-Dtyq.cjs +18 -18
  461. package/components/circle-pack-chart-options.en-1SlxJ8D2.js +30 -0
  462. package/components/circle-pack-chart-options.en-ARMcjtyu.cjs +18 -18
  463. package/components/circle-pack-chart-options.es-CHFiuQ-k.cjs +18 -18
  464. package/components/circle-pack-chart-options.es-n3EDSGVP.js +30 -0
  465. package/components/circle-pack-chart-options.fr-CxDnnCxR.cjs +18 -18
  466. package/components/circle-pack-chart-options.fr-ZwBi9b32.js +30 -0
  467. package/components/circle-pack-chart-options.nl-Dp-iaTw6.cjs +18 -18
  468. package/components/circle-pack-chart-options.nl-DtTJ6Vaj.js +30 -0
  469. package/components/circle-pack-chart-positioning.config-DRHNE10H.js +47 -0
  470. package/components/circle-pack-chart-positioning.config-DvQfzJ_Z.cjs +20 -0
  471. package/components/circle-pack-chart-slots.config-37GyNjk7.cjs +20 -0
  472. package/components/circle-pack-chart-slots.config-CA-fJ_Q1.js +37 -0
  473. package/components/circular-gauge-options.config-B4Hk-AXi.cjs +20 -0
  474. package/components/circular-gauge-options.config-CnWE16oE.js +192 -0
  475. package/components/circular-gauge-options.de-CXNpTJ5Q.cjs +18 -18
  476. package/components/circular-gauge-options.de-D0pLBMXo.js +56 -0
  477. package/components/circular-gauge-options.en-Cbvt0Mn4.cjs +18 -18
  478. package/components/circular-gauge-options.en-PYvfXZQL.js +56 -0
  479. package/components/circular-gauge-options.es-CHmDAZjB.cjs +18 -18
  480. package/components/circular-gauge-options.es-DfoNDSPk.js +56 -0
  481. package/components/circular-gauge-options.fr-C4mL6X8Z.cjs +18 -18
  482. package/components/circular-gauge-options.fr-DbmqrGCc.js +56 -0
  483. package/components/circular-gauge-options.nl-B27G1yLw.cjs +18 -18
  484. package/components/circular-gauge-options.nl-iHEN3ip8.js +56 -0
  485. package/components/circular-gauge-positioning.config-CGOX-Vyn.js +47 -0
  486. package/components/circular-gauge-positioning.config-OX1-mPls.cjs +20 -0
  487. package/components/circular-gauge-slots.config-L-NZc7MY.cjs +20 -0
  488. package/components/circular-gauge-slots.config-UYWufX3Z.js +38 -0
  489. package/components/classic-B9EbWt-B.js +81 -0
  490. package/components/classic-dark-B-bGXFgE.cjs +18 -18
  491. package/components/classic-dark-BRDXw-Ec.js +72 -0
  492. package/components/classic-fniwVVvX.cjs +18 -18
  493. package/components/color-CQcCK-_O.js +3810 -0
  494. package/components/color-DKdzPrQX.cjs +20 -0
  495. package/components/color-palettes-B194TZ0a.js +1473 -0
  496. package/components/color-palettes-BFpQSXfW.cjs +18 -18
  497. package/components/color-range-utils-BCFQAeY1.cjs +20 -0
  498. package/components/color-range-utils-CUCTsRXM.js +62 -0
  499. package/components/column-chart-options.config-BYDJTVx6.js +264 -0
  500. package/components/column-chart-options.config-CyD8V7j4.cjs +20 -0
  501. package/components/column-chart-options.de-BOp0fmxj.cjs +20 -0
  502. package/components/column-chart-options.de-BPRcyVXO.js +110 -0
  503. package/components/column-chart-options.en-BmtcG_3n.js +110 -0
  504. package/components/column-chart-options.en-CkdOHM9S.cjs +20 -0
  505. package/components/column-chart-options.es-BNDjc5Cj.js +110 -0
  506. package/components/column-chart-options.es-BiPP9jKx.cjs +20 -0
  507. package/components/column-chart-options.fr-Cyz4XUm_.js +110 -0
  508. package/components/column-chart-options.fr-aVs2K5Qh.cjs +20 -0
  509. package/components/column-chart-options.nl-BoGYJH70.cjs +20 -0
  510. package/components/column-chart-options.nl-Dci9pl7S.js +110 -0
  511. package/components/column-chart-positioning.config-BVYa1A42.js +54 -0
  512. package/components/column-chart-positioning.config-NbQbSa8P.cjs +20 -0
  513. package/components/column-chart-slots.config-h3Kwc61j.cjs +20 -0
  514. package/components/column-chart-slots.config-i2QvhELq.js +49 -0
  515. package/components/combination-chart-options.config-B3zsSUFx.js +156 -0
  516. package/components/combination-chart-options.config-Cg3ZEKMe.cjs +20 -0
  517. package/components/combination-chart-options.de-DycthBF_.cjs +20 -0
  518. package/components/combination-chart-options.de-LcfaqPiY.js +73 -0
  519. package/components/combination-chart-options.en-BIosKCWf.cjs +20 -0
  520. package/components/combination-chart-options.en-CKTmecmz.js +73 -0
  521. package/components/combination-chart-options.es-BZvT5fH1.js +73 -0
  522. package/components/combination-chart-options.es-CZ6uoD-U.cjs +20 -0
  523. package/components/combination-chart-options.fr-B2NH27P6.cjs +20 -0
  524. package/components/combination-chart-options.fr-niQosk62.js +73 -0
  525. package/components/combination-chart-options.nl-B-vNeGxb.cjs +20 -0
  526. package/components/combination-chart-options.nl-Co7JI3vH.js +73 -0
  527. package/components/combination-chart-positioning.config-B7DtfzCV.cjs +20 -0
  528. package/components/combination-chart-positioning.config-yHAgveni.js +47 -0
  529. package/components/combination-chart-slots.config-CxkpKksB.js +42 -0
  530. package/components/combination-chart-slots.config-DV6RMdjE.cjs +20 -0
  531. package/components/conditional-number-options.config-CsEhIU-T.cjs +20 -0
  532. package/components/conditional-number-options.config-DObu2Erh.js +209 -0
  533. package/components/conditional-number-options.de-B4pb0dOt.cjs +18 -18
  534. package/components/conditional-number-options.de-BEYC3Tkn.js +59 -0
  535. package/components/conditional-number-options.en-CobRwTMJ.js +59 -0
  536. package/components/conditional-number-options.en-RlShluZP.cjs +18 -18
  537. package/components/conditional-number-options.es-CURPGt9l.js +59 -0
  538. package/components/conditional-number-options.es-D6Thuvvq.cjs +18 -18
  539. package/components/conditional-number-options.fr-CoObS5Et.cjs +18 -18
  540. package/components/conditional-number-options.fr-DbiJCo-x.js +59 -0
  541. package/components/conditional-number-options.nl-BWXoNc8Z.cjs +18 -18
  542. package/components/conditional-number-options.nl-DRbK4wGL.js +59 -0
  543. package/components/conditional-number-positioning.config-BZS99jTT.cjs +20 -0
  544. package/components/conditional-number-positioning.config-DhixJEpv.js +47 -0
  545. package/components/conditional-number-slots.config-CggROf5Y.js +38 -0
  546. package/components/conditional-number-slots.config-Opfq5oAT.cjs +20 -0
  547. package/components/convert-datasets-to-data-fields-B13rl1an.cjs +18 -18
  548. package/components/convert-datasets-to-data-fields-DZJstVS2.js +67 -0
  549. package/components/create-lazy-loader-BFqDG_WK.js +30 -0
  550. package/components/create-lazy-loader-DYPgQh0L.cjs +18 -18
  551. package/components/cs-OL9Kdu8F.js +125 -0
  552. package/components/cs-a-HHJy3d.cjs +18 -18
  553. package/components/da-B0rljMwE.js +125 -0
  554. package/components/da-BuDewcQL.cjs +18 -18
  555. package/components/data-broker-C1Iz71TN.js +1675 -0
  556. package/components/data-broker-DCghLjhq.cjs +20 -0
  557. package/components/data-field/index.cjs +19 -19
  558. package/components/data-field/index.js +19 -20
  559. package/components/data-field-B9466d0w.js +120 -0
  560. package/components/data-field-BORlpZZk.cjs +54 -0
  561. package/components/data-field-level/index.cjs +19 -19
  562. package/components/data-field-level/index.js +19 -20
  563. package/components/data-field-level-DOEYwcvM.cjs +55 -0
  564. package/components/data-field-level-GrX6yhPV.js +243 -0
  565. package/components/data-field-panel/index.cjs +19 -19
  566. package/components/data-field-panel/index.js +19 -20
  567. package/components/data-field-panel-BedJ9V2r.js +373 -0
  568. package/components/data-field-panel-DmMkAYAz.cjs +87 -0
  569. package/components/data-fields-select/data-fields-select.d.ts +3 -1
  570. package/components/data-fields-select/index.cjs +19 -19
  571. package/components/data-fields-select/index.js +19 -20
  572. package/components/data-fields-select-BOqmoE7n.cjs +43 -0
  573. package/components/data-fields-select-af1HZLWS.js +291 -0
  574. package/components/dataset-icon/dataset-icon.d.ts +5 -4
  575. package/components/dataset-icon/index.cjs +19 -19
  576. package/components/dataset-icon/index.js +19 -20
  577. package/components/dataset-icon-CmgJeTKm.cjs +62 -0
  578. package/components/dataset-icon-DAeC0MBI.js +109 -0
  579. package/components/dataset-selector-list/index.cjs +19 -19
  580. package/components/dataset-selector-list/index.js +19 -20
  581. package/components/dataset-selector-list-BzI8n_dB.js +319 -0
  582. package/components/dataset-selector-list-CmZaj20L.cjs +75 -0
  583. package/components/dataset-selector-row/index.cjs +19 -19
  584. package/components/dataset-selector-row/index.js +19 -20
  585. package/components/dataset-selector-row-D_7iBmdm.js +442 -0
  586. package/components/dataset-selector-row-mOGioXLM.cjs +104 -0
  587. package/components/date-comparison-filter-options.config-BAhHCVlo.js +125 -0
  588. package/components/date-comparison-filter-options.config-vCXOhzkp.cjs +20 -0
  589. package/components/date-comparison-filter-options.de-CHAepese.js +54 -0
  590. package/components/date-comparison-filter-options.de-DJ43Wuh1.cjs +18 -18
  591. package/components/date-comparison-filter-options.en-BeWcjUc3.cjs +18 -18
  592. package/components/date-comparison-filter-options.en-GnqPLNOy.js +54 -0
  593. package/components/date-comparison-filter-options.es-CYGgumPR.js +54 -0
  594. package/components/date-comparison-filter-options.es-mBbFqdyP.cjs +18 -18
  595. package/components/date-comparison-filter-options.fr-CBR4gt5a.js +54 -0
  596. package/components/date-comparison-filter-options.fr-CJYSimcC.cjs +18 -18
  597. package/components/date-comparison-filter-options.nl-BleWGdSU.js +54 -0
  598. package/components/date-comparison-filter-options.nl-DMCiGzTv.cjs +18 -18
  599. package/components/date-comparison-filter-positioning.config-DYLCdy0p.js +37 -0
  600. package/components/date-comparison-filter-positioning.config-DZI9jN5L.cjs +18 -18
  601. package/components/date-comparison-filter-slots.config-ADyQbpVL.js +36 -0
  602. package/components/date-comparison-filter-slots.config-BdvwoigA.cjs +20 -0
  603. package/components/date-filter-options.config-BrfWBIvy.js +117 -0
  604. package/components/date-filter-options.config-D_SMC4NH.cjs +20 -0
  605. package/components/date-filter-options.de-C0_La4e1.js +50 -0
  606. package/components/date-filter-options.de-Do8uE7X4.cjs +18 -18
  607. package/components/date-filter-options.en-D61ub6Of.js +50 -0
  608. package/components/date-filter-options.en-DGay_JgN.cjs +18 -18
  609. package/components/date-filter-options.es-DIkmpKCh.js +50 -0
  610. package/components/date-filter-options.es-dwt_ouf1.cjs +18 -18
  611. package/components/date-filter-options.fr-D-OlAJSs.cjs +18 -18
  612. package/components/date-filter-options.fr-DV41ThRu.js +50 -0
  613. package/components/date-filter-options.nl-0pj5_uvF.cjs +18 -18
  614. package/components/date-filter-options.nl-BitqNpNd.js +50 -0
  615. package/components/date-filter-positioning.config-Bm6cN9d0.js +37 -0
  616. package/components/date-filter-positioning.config-CtEFg3RO.cjs +18 -18
  617. package/components/date-filter-slots.config-dk86EThT.js +36 -0
  618. package/components/date-filter-slots.config-hsRo3Wiz.cjs +20 -0
  619. package/components/de-AOtjGNGZ.js +599 -0
  620. package/components/de-B7zGHvA7.js +137 -0
  621. package/components/de-BLMiWrvE.cjs +18 -18
  622. package/components/de-KvAhLsm8.cjs +20 -0
  623. package/components/decompose-numeric-format-BoLX-V2j.js +35 -0
  624. package/components/decompose-numeric-format-DGJua3rU.cjs +18 -18
  625. package/components/decorate-B2TzfnLZ.js +27 -0
  626. package/components/decorate-DCJt-2rt.cjs +18 -18
  627. package/components/default-B5D3aZAS.cjs +18 -18
  628. package/components/default-C9MysWm4.js +77 -0
  629. package/components/default-acceptable-data-field-types-BNgYdork.js +52 -0
  630. package/components/default-acceptable-data-field-types-BUNRNPPB.cjs +20 -0
  631. package/components/default-dark-1RNfdcoq.js +77 -0
  632. package/components/default-dark-BOvJQVaq.cjs +18 -18
  633. package/components/defineProperty-DIhE-wKn.js +54 -0
  634. package/components/defineProperty-X1c4tIPD.cjs +20 -0
  635. package/components/display-settings/display-settings.d.ts +2 -2
  636. package/components/display-settings/index.cjs +19 -19
  637. package/components/display-settings/index.js +19 -20
  638. package/components/display-settings-DaZ3CiKB.cjs +143 -0
  639. package/components/display-settings-Qwp9oJo6.js +312 -0
  640. package/components/display-settings-binning/index.cjs +19 -19
  641. package/components/display-settings-binning/index.js +19 -20
  642. package/components/display-settings-binning-D5zhoC7D.cjs +56 -0
  643. package/components/display-settings-binning-IPVCvx8a.js +109 -0
  644. package/components/display-settings-datetime/index.cjs +19 -19
  645. package/components/display-settings-datetime/index.js +19 -20
  646. package/components/display-settings-datetime-DgBBSYfC.js +412 -0
  647. package/components/display-settings-datetime-t70VEfHe.cjs +217 -0
  648. package/components/display-settings-grand-totals/index.cjs +19 -19
  649. package/components/display-settings-grand-totals/index.js +19 -20
  650. package/components/display-settings-grand-totals-AFtKeeeG.js +88 -0
  651. package/components/display-settings-grand-totals-C_Fzk7oV.cjs +44 -0
  652. package/components/display-settings-numeric/index.cjs +19 -19
  653. package/components/display-settings-numeric/index.js +19 -20
  654. package/components/display-settings-numeric-BF8BA5MH.cjs +190 -0
  655. package/components/display-settings-numeric-DeuXT1UR.js +478 -0
  656. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +2 -2
  657. package/components/display-settings-period-over-period/index.cjs +19 -19
  658. package/components/display-settings-period-over-period/index.js +19 -20
  659. package/components/display-settings-period-over-period-B8Ne3lq-.cjs +227 -0
  660. package/components/display-settings-period-over-period-CzxnyVF7.js +441 -0
  661. package/components/donut-chart-options.config-B2vxfMyh.js +225 -0
  662. package/components/donut-chart-options.config-DX-spmaZ.cjs +20 -0
  663. package/components/donut-chart-options.de-AXRfsiXW.cjs +20 -0
  664. package/components/donut-chart-options.de-DgNmBJiQ.js +85 -0
  665. package/components/donut-chart-options.en-BXwxTVpB.js +85 -0
  666. package/components/donut-chart-options.en-aZqu2oEV.cjs +20 -0
  667. package/components/donut-chart-options.es-7WgxuaDe.cjs +20 -0
  668. package/components/donut-chart-options.es-DW_q5HeE.js +85 -0
  669. package/components/donut-chart-options.fr-C0Z8xEyF.cjs +20 -0
  670. package/components/donut-chart-options.fr-QU3pGELZ.js +85 -0
  671. package/components/donut-chart-options.nl-D_cgYVAQ.js +85 -0
  672. package/components/donut-chart-options.nl-aKVLbRJY.cjs +20 -0
  673. package/components/donut-chart-positioning.config-Bu1jZwtJ.cjs +20 -0
  674. package/components/donut-chart-positioning.config-C0jkFWni.js +47 -0
  675. package/components/donut-chart-slots.config-MP-ACaLN.js +38 -0
  676. package/components/donut-chart-slots.config-yCDWS8AP.cjs +20 -0
  677. package/components/dropdown-filter-options.config-B2S5I7IG.js +152 -0
  678. package/components/dropdown-filter-options.config-FjrC4F1D.cjs +20 -0
  679. package/components/dropdown-filter-options.de-AEVNdD6Z.js +53 -0
  680. package/components/dropdown-filter-options.de-BdvWDGQ4.cjs +18 -18
  681. package/components/dropdown-filter-options.en-DEHrGxy0.cjs +18 -18
  682. package/components/dropdown-filter-options.en-louYVeNr.js +53 -0
  683. package/components/dropdown-filter-options.es-C6qkLl6c.cjs +18 -18
  684. package/components/dropdown-filter-options.es-Cp89jwkQ.js +53 -0
  685. package/components/dropdown-filter-options.fr-DZxfuy7q.cjs +18 -18
  686. package/components/dropdown-filter-options.fr-g_Sk9N4G.js +53 -0
  687. package/components/dropdown-filter-options.nl-DZALlawB.js +53 -0
  688. package/components/dropdown-filter-options.nl-dmpP9bir.cjs +18 -18
  689. package/components/dropdown-filter-positioning.config-B7OQwWln.js +37 -0
  690. package/components/dropdown-filter-positioning.config-Ck97Moc_.cjs +18 -18
  691. package/components/dropdown-filter-slots.config-awL8-LA_.js +37 -0
  692. package/components/dropdown-filter-slots.config-kDbB7STx.cjs +20 -0
  693. package/components/en-C9bDcBWX.cjs +20 -0
  694. package/components/en-CTE7umbs.js +20 -0
  695. package/components/en-GB-DFky6j2B.js +27 -0
  696. package/components/en-GB-DVtn5f2X.cjs +20 -0
  697. package/components/en-US-C9bDcBWX.cjs +20 -0
  698. package/components/en-US-CTE7umbs.js +20 -0
  699. package/components/es-2wpxXQjZ.js +330 -0
  700. package/components/es-CYhv03uu.js +599 -0
  701. package/components/es-D8MxHOsN.cjs +18 -18
  702. package/components/es-DVISHTAz.cjs +20 -0
  703. package/components/evolution-number-options.config-B5qxlpwU.cjs +20 -0
  704. package/components/evolution-number-options.config-BBWPkY_K.js +229 -0
  705. package/components/evolution-number-options.de-Cnx_5hf-.js +75 -0
  706. package/components/evolution-number-options.de-va_ypOy6.cjs +20 -0
  707. package/components/evolution-number-options.en-Beo5xLX4.js +75 -0
  708. package/components/evolution-number-options.en-CtAX9A-5.cjs +20 -0
  709. package/components/evolution-number-options.es-BSOmGeQs.js +75 -0
  710. package/components/evolution-number-options.es-CCkbdLdF.cjs +20 -0
  711. package/components/evolution-number-options.fr-BQhExQ6b.js +75 -0
  712. package/components/evolution-number-options.fr-QIK5EXQs.cjs +20 -0
  713. package/components/evolution-number-options.nl-CwUSSlVi.cjs +20 -0
  714. package/components/evolution-number-options.nl-D10AEaNk.js +75 -0
  715. package/components/evolution-number-positioning.config-DD8HBFtv.js +47 -0
  716. package/components/evolution-number-positioning.config-DbH1-ODd.cjs +20 -0
  717. package/components/evolution-number-slots.config-B95BRQY1.js +36 -0
  718. package/components/evolution-number-slots.config-Cte42hyT.cjs +20 -0
  719. package/components/fi-BXIEpAkN.js +125 -0
  720. package/components/fi-CzBe3q93.cjs +18 -18
  721. package/components/filter-expression-picker/index.cjs +19 -19
  722. package/components/filter-expression-picker/index.js +19 -20
  723. package/components/filter-expression-picker-Cc3xfiGT.js +432 -0
  724. package/components/filter-expression-picker-DDSI9bYq.cjs +40 -0
  725. package/components/filter-item/filter-item.d.ts +1 -1
  726. package/components/filter-item/index.cjs +19 -19
  727. package/components/filter-item/index.js +19 -20
  728. package/components/filter-item-DQNbp7Qn.cjs +111 -0
  729. package/components/filter-item-QJ3sDlmG.js +792 -0
  730. package/components/filter-parameter-picker/index.cjs +19 -19
  731. package/components/filter-parameter-picker/index.js +19 -20
  732. package/components/filter-parameter-picker-C8qwIo_H.js +365 -0
  733. package/components/filter-parameter-picker-DjQVFIfg.cjs +124 -0
  734. package/components/filter-value-picker/index.cjs +19 -19
  735. package/components/filter-value-picker/index.js +19 -20
  736. package/components/filter-value-picker-CMNxLzj7.cjs +69 -0
  737. package/components/filter-value-picker-DIYyMymr.js +168 -0
  738. package/components/filter-value-picker-datetime/index.cjs +19 -19
  739. package/components/filter-value-picker-datetime/index.js +19 -20
  740. package/components/filter-value-picker-datetime-BVDQ-og5.cjs +51 -0
  741. package/components/filter-value-picker-datetime-DKblyQrs.js +158 -0
  742. package/components/filter-value-picker-hierarchy/index.cjs +19 -19
  743. package/components/filter-value-picker-hierarchy/index.js +19 -20
  744. package/components/filter-value-picker-hierarchy-CXPC_4MU.cjs +54 -0
  745. package/components/filter-value-picker-hierarchy-IswtY6Qa.js +311 -0
  746. package/components/filter-value-picker-numeric/index.cjs +19 -19
  747. package/components/filter-value-picker-numeric/index.js +19 -20
  748. package/components/filter-value-picker-numeric-C7_-Fpol.cjs +54 -0
  749. package/components/filter-value-picker-numeric-DlFnGZ2O.js +236 -0
  750. package/components/filters/filters.d.ts +11 -0
  751. package/components/filters/index.cjs +19 -19
  752. package/components/filters/index.js +19 -20
  753. package/components/filters-BPbPFOu5.cjs +187 -0
  754. package/components/filters-CxIzuI5q.js +927 -0
  755. package/components/formatter-D_hJ1XXN.cjs +20 -0
  756. package/components/formatter-u-RIfSi3.js +1441 -0
  757. package/components/formula/formula.d.ts +2 -2
  758. package/components/formula/index.cjs +19 -19
  759. package/components/formula/index.js +19 -20
  760. package/components/formula-CXrr9wJZ.cjs +45 -0
  761. package/components/formula-WqOlEQ5o.js +130 -0
  762. package/components/formula-codemirror/formula-codemirror.d.ts +2 -2
  763. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +2 -2
  764. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +2 -2
  765. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +1 -1
  766. package/components/formula-codemirror-BTYlGSxE.cjs +215 -0
  767. package/components/formula-codemirror-bpEb3M2G.js +12029 -0
  768. package/components/formula-display-store-D7fzKNfW.cjs +20 -0
  769. package/components/formula-display-store-QU-B6xp9.js +1070 -0
  770. package/components/formula-editor/formula-aggregations-list.d.ts +2 -2
  771. package/components/formula-editor/formula-datasets-list.d.ts +2 -2
  772. package/components/formula-editor/formula-description.d.ts +1 -1
  773. package/components/formula-editor/formula-editor.d.ts +1 -1
  774. package/components/formula-editor/formula-functions-list.d.ts +2 -2
  775. package/components/formula-editor/index.cjs +19 -19
  776. package/components/formula-editor/index.d.ts +3 -3
  777. package/components/formula-editor/index.js +21 -21
  778. package/components/formula-editor-BbyDf0vM.js +670 -0
  779. package/components/formula-editor-D_NRhjUI.cjs +224 -0
  780. package/components/formula-field/formula-field.d.ts +1 -1
  781. package/components/formula-field/index.cjs +19 -19
  782. package/components/formula-field/index.js +19 -20
  783. package/components/formula-field-BT9K_W6Q.js +36 -0
  784. package/components/formula-field-DSSpI8LB.cjs +20 -0
  785. package/components/formula-input-base-BoWiH97v.cjs +49 -0
  786. package/components/formula-input-base-CQc1OU9G.js +235 -0
  787. package/components/fr-BCxcMVQV.cjs +20 -0
  788. package/components/fr-BlAUad9k.cjs +18 -18
  789. package/components/fr-BmrdQkkf.js +330 -0
  790. package/components/fr-DKAoGI_6.js +599 -0
  791. package/components/funnel-chart-options.config-CKp94nx7.cjs +20 -0
  792. package/components/funnel-chart-options.config-W83a8ukL.js +219 -0
  793. package/components/funnel-chart-options.de-B2f_xxvV.cjs +20 -0
  794. package/components/funnel-chart-options.de-CLMiAr0m.js +76 -0
  795. package/components/funnel-chart-options.en-Cdvkged9.cjs +20 -0
  796. package/components/funnel-chart-options.en-Pu8yU7Yz.js +76 -0
  797. package/components/funnel-chart-options.es-BPjGIJ7s.js +76 -0
  798. package/components/funnel-chart-options.es-CrAp7hOK.cjs +20 -0
  799. package/components/funnel-chart-options.fr-0RxiqeZg.cjs +20 -0
  800. package/components/funnel-chart-options.fr-CtWjGa4q.js +76 -0
  801. package/components/funnel-chart-options.nl-2TPEy_CB.js +76 -0
  802. package/components/funnel-chart-options.nl-r_wRg5qR.cjs +20 -0
  803. package/components/funnel-chart-positioning.config-Dbex7egf.js +47 -0
  804. package/components/funnel-chart-positioning.config-Dx9E5eiW.cjs +20 -0
  805. package/components/funnel-chart-slots.config-BtQ1-r95.js +42 -0
  806. package/components/funnel-chart-slots.config-C6BS2z-H.cjs +20 -0
  807. package/components/get-css-variable-ClRBOKeI.cjs +20 -0
  808. package/components/get-css-variable-Cnzvg4uu.js +61 -0
  809. package/components/get-dataset-name-BArAzBu2.js +30 -0
  810. package/components/get-dataset-name-C3Sc0hZ0.cjs +20 -0
  811. package/components/grid-core-17um9vkU.cjs +68 -0
  812. package/components/grid-core-BAZu7mfE.js +4464 -0
  813. package/components/grid-core.cjs +20 -0
  814. package/components/grid-core.js +20 -0
  815. package/components/groupings-DMWmtE5F.cjs +20 -0
  816. package/components/groupings-DXJS4XIU.js +51 -0
  817. package/components/guidelines-options.config-D-ZuReR_.cjs +18 -18
  818. package/components/guidelines-options.config-DVZrOa3v.js +47 -0
  819. package/components/he-CdtHCved.cjs +18 -18
  820. package/components/he-ndbttrR_.js +125 -0
  821. package/components/heat-map-options.config-ChZeslEy.js +225 -0
  822. package/components/heat-map-options.config-DiNa8NnG.cjs +20 -0
  823. package/components/heat-map-options.de-2WGKE1uj.js +74 -0
  824. package/components/heat-map-options.de-Zq-m7g1c.cjs +18 -18
  825. package/components/heat-map-options.en-BzycxyHN.js +74 -0
  826. package/components/heat-map-options.en-CbP14v8z.cjs +18 -18
  827. package/components/heat-map-options.es-B2m_je_2.js +74 -0
  828. package/components/heat-map-options.es-CUkrnKed.cjs +18 -18
  829. package/components/heat-map-options.fr-DLkEEMp-.js +74 -0
  830. package/components/heat-map-options.fr-DXcosm8B.cjs +18 -18
  831. package/components/heat-map-options.nl-B8LsAqqA.cjs +18 -18
  832. package/components/heat-map-options.nl-CYxHV_cw.js +74 -0
  833. package/components/heat-map-positioning.config-Bzg0DG60.cjs +20 -0
  834. package/components/heat-map-positioning.config-D4T7PQzN.js +47 -0
  835. package/components/heat-map-slots.config-BFZuGyAK.cjs +20 -0
  836. package/components/heat-map-slots.config-Cd6J4Q33.js +36 -0
  837. package/components/heat-table-options.config-BPCszrFn.js +276 -0
  838. package/components/heat-table-options.config-BvE6coaV.cjs +20 -0
  839. package/components/heat-table-options.de-BjW2r5Di.js +113 -0
  840. package/components/heat-table-options.de-Br9DbeCp.cjs +20 -0
  841. package/components/heat-table-options.en-CNQyVmPW.js +113 -0
  842. package/components/heat-table-options.en-Cdn-xUSD.cjs +20 -0
  843. package/components/heat-table-options.es-DM03r8u7.js +113 -0
  844. package/components/heat-table-options.es-Dkv8Q0Gi.cjs +20 -0
  845. package/components/heat-table-options.fr-PKUURBoA.js +113 -0
  846. package/components/heat-table-options.fr-uLTRU2oE.cjs +20 -0
  847. package/components/heat-table-options.nl-BCVLfuQK.js +113 -0
  848. package/components/heat-table-options.nl-DaYIbnqr.cjs +20 -0
  849. package/components/heat-table-positioning.config-Cj6LlLe3.cjs +20 -0
  850. package/components/heat-table-positioning.config-DVQiJfC4.js +54 -0
  851. package/components/heat-table-slots.config-52DDtG_7.js +48 -0
  852. package/components/heat-table-slots.config-C_JKGLP3.cjs +20 -0
  853. package/components/helpers-B2IWxa9q.cjs +18 -18
  854. package/components/helpers-CYA1cJcv.js +67 -0
  855. package/components/hexbin-map-options.config-DUbhSv0B.js +277 -0
  856. package/components/hexbin-map-options.config-DZLLOr7D.cjs +20 -0
  857. package/components/hexbin-map-options.de-BecXyFba.js +107 -0
  858. package/components/hexbin-map-options.de-Ch56ViJL.cjs +18 -18
  859. package/components/hexbin-map-options.en-BHNWW3n5.cjs +18 -18
  860. package/components/hexbin-map-options.en-C2u4_34W.js +107 -0
  861. package/components/hexbin-map-options.es-Cef5NzFK.js +107 -0
  862. package/components/hexbin-map-options.es-CinY6Q9x.cjs +18 -18
  863. package/components/hexbin-map-options.fr-3EQtw1--.cjs +18 -18
  864. package/components/hexbin-map-options.fr-C37I85X2.js +107 -0
  865. package/components/hexbin-map-options.nl-2P7aufJe.cjs +18 -18
  866. package/components/hexbin-map-options.nl-CGYc3Tzm.js +107 -0
  867. package/components/hexbin-map-positioning.config-ChoCCure.cjs +20 -0
  868. package/components/hexbin-map-positioning.config-csNrvMwp.js +47 -0
  869. package/components/hexbin-map-slots.config-DiYcKnDG.cjs +20 -0
  870. package/components/hexbin-map-slots.config-DmITrQD3.js +36 -0
  871. package/components/hu-D0kNP1hN.cjs +18 -18
  872. package/components/hu-DBxO0Baz.js +125 -0
  873. package/components/icon-element-DpN-9yaN.cjs +18 -18
  874. package/components/icon-element-py6Nkaaz.js +83 -0
  875. package/components/image-options.config-D_QOqkE_.js +152 -0
  876. package/components/image-options.config-Dc8N_USB.cjs +20 -0
  877. package/components/image-options.de-03hJ2g0T.js +85 -0
  878. package/components/image-options.de-Bm7MsFjT.cjs +18 -18
  879. package/components/image-options.en-Bt3w6SPu.cjs +18 -18
  880. package/components/image-options.en-CjqpTh_m.js +85 -0
  881. package/components/image-options.es-BjZ9dYXp.js +85 -0
  882. package/components/image-options.es-ecJMtP0F.cjs +18 -18
  883. package/components/image-options.fr-BZZ2scJt.js +85 -0
  884. package/components/image-options.fr-D5P3FQRB.cjs +18 -18
  885. package/components/image-options.nl-B7M__YOZ.cjs +18 -18
  886. package/components/image-options.nl-DGlo-Y7n.js +85 -0
  887. package/components/image-slots.config-CfaLrVzD.cjs +20 -0
  888. package/components/image-slots.config-FlUYF49C.js +23 -0
  889. package/components/index.cjs +19 -19
  890. package/components/index.js +89 -88
  891. package/components/info-tooltip-options.config-B9T0cwSM.cjs +18 -18
  892. package/components/info-tooltip-options.config-CyFz6pUU.js +58 -0
  893. package/components/info-tooltip-options.i18n-B3u0H74j.cjs +18 -18
  894. package/components/info-tooltip-options.i18n-Cmmn-9tw.js +73 -0
  895. package/components/interactive-viz-item/index.cjs +19 -19
  896. package/components/interactive-viz-item/index.d.ts +2 -0
  897. package/components/interactive-viz-item/index.js +21 -20
  898. package/components/interactive-viz-item/interactive-viz-item.d.ts +21 -4
  899. package/components/interactive-viz-item/load-add-to-dashboard.d.ts +1 -0
  900. package/components/interactive-viz-item-CofUkpP6.js +523 -0
  901. package/components/interactive-viz-item-D537mo3l.cjs +261 -0
  902. package/components/interactivity-options.config-Bzk2L-qh.cjs +18 -18
  903. package/components/interactivity-options.config-MuEP5vSt.js +72 -0
  904. package/components/interactivity-options.i18n-BsYv4Rh9.cjs +18 -18
  905. package/components/interactivity-options.i18n-DY947PNz.js +58 -0
  906. package/components/it-BZF7oRfg.cjs +18 -18
  907. package/components/it-SNChaNqP.js +330 -0
  908. package/components/item-context-configs.cjs +18 -18
  909. package/components/item-context-configs.js +19 -20
  910. package/components/item-grid/actions.d.ts +2 -1
  911. package/components/item-grid/helpers/grid-chart-rendering.d.ts +12 -0
  912. package/components/item-grid/helpers/grid-events.d.ts +1 -56
  913. package/components/item-grid/helpers/grid-interactions.d.ts +1 -88
  914. package/components/item-grid/helpers/grid-item-management.d.ts +5 -26
  915. package/components/item-grid/helpers/grid-item-popover.d.ts +1 -21
  916. package/components/item-grid/helpers/grid-items.d.ts +1 -9
  917. package/components/item-grid/helpers/grid-keyboard-updates.d.ts +1 -18
  918. package/components/item-grid/helpers/grid-keydown-event.d.ts +1 -18
  919. package/components/item-grid/helpers/grid-popover-cleanup.d.ts +1 -4
  920. package/components/item-grid/helpers/grid-rendering.d.ts +0 -50
  921. package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +1 -26
  922. package/components/item-grid/helpers/grid-theme.d.ts +2 -14
  923. package/components/item-grid/helpers/grid-update-cycle.d.ts +1 -22
  924. package/components/item-grid/index.cjs +19 -19
  925. package/components/item-grid/index.d.ts +3 -3
  926. package/components/item-grid/index.js +21 -20
  927. package/components/item-grid/item-grid.d.ts +12 -207
  928. package/components/item-grid/types.d.ts +1 -57
  929. package/components/item-grid-DscQOFMu.js +243 -0
  930. package/components/item-grid-DveTRc7D.cjs +41 -0
  931. package/components/item-grid-item-actions-menu/index.cjs +20 -0
  932. package/components/item-grid-item-actions-menu/index.d.ts +8 -0
  933. package/components/item-grid-item-actions-menu/index.js +20 -0
  934. package/components/item-grid-item-actions-menu/item-grid-item-actions-menu.d.ts +70 -0
  935. package/components/item-grid-item-actions-menu/types.d.ts +11 -0
  936. package/components/item-grid-item-actions-menu-B1bKfagj.js +197 -0
  937. package/components/item-grid-item-actions-menu-xRrT9dkY.cjs +52 -0
  938. package/components/item-list.cjs +18 -18
  939. package/components/item-list.js +19 -20
  940. package/components/item-option/index.cjs +19 -19
  941. package/components/item-option/index.js +19 -20
  942. package/components/item-option-Cgx3c08E.js +957 -0
  943. package/components/item-option-CqGDFdPj.cjs +269 -0
  944. package/components/item-option-action-button-group/index.cjs +19 -19
  945. package/components/item-option-action-button-group/index.js +19 -20
  946. package/components/item-option-action-button-group-BMgUwveA.cjs +53 -0
  947. package/components/item-option-action-button-group-Cpd_CNn-.js +115 -0
  948. package/components/item-option-base-BMy6dWbc.cjs +56 -0
  949. package/components/item-option-base-BfHciede.js +119 -0
  950. package/components/item-option-color-palette-picker/index.cjs +19 -19
  951. package/components/item-option-color-palette-picker/index.js +19 -20
  952. package/components/item-option-color-palette-picker-8KFuRU1D.js +2037 -0
  953. package/components/item-option-color-palette-picker-CnM1Gi6o.cjs +40 -0
  954. package/components/item-option-color-picker/index.cjs +19 -19
  955. package/components/item-option-color-picker/index.js +19 -20
  956. package/components/item-option-color-picker-BpPoOO2b.cjs +34 -0
  957. package/components/item-option-color-picker-cojuCvu5.js +84 -0
  958. package/components/item-option-color-range/index.cjs +19 -19
  959. package/components/item-option-color-range/index.js +19 -20
  960. package/components/item-option-color-range-CMBEx1fi.cjs +98 -0
  961. package/components/item-option-color-range-Dt7Bv06p.js +217 -0
  962. package/components/item-option-guidelines/index.cjs +19 -19
  963. package/components/item-option-guidelines/index.js +20 -20
  964. package/components/item-option-guidelines-Beh0DlG0.cjs +135 -0
  965. package/components/item-option-guidelines-DNJevmVD.js +414 -0
  966. package/components/item-option-multi-language-field/index.cjs +19 -19
  967. package/components/item-option-multi-language-field/index.js +19 -20
  968. package/components/item-option-multi-language-field-CqtBl3gM.js +80 -0
  969. package/components/item-option-multi-language-field-DM2PENxV.cjs +33 -0
  970. package/components/item-option-number-field/index.cjs +19 -19
  971. package/components/item-option-number-field/index.js +19 -20
  972. package/components/item-option-number-field-BgQRhFj3.js +99 -0
  973. package/components/item-option-number-field-Cw2ofJL7.cjs +38 -0
  974. package/components/item-option-panel/index.cjs +19 -19
  975. package/components/item-option-panel/index.js +19 -20
  976. package/components/item-option-panel-DHdnisRb.js +183 -0
  977. package/components/item-option-panel-Dl3aYBNe.cjs +67 -0
  978. package/components/item-option-picker/index.cjs +19 -19
  979. package/components/item-option-picker/index.js +19 -20
  980. package/components/item-option-picker-DkAENDES.js +74 -0
  981. package/components/item-option-picker-EJlc0bmj.cjs +37 -0
  982. package/components/item-option-position-picker/index.cjs +19 -19
  983. package/components/item-option-position-picker/index.js +19 -20
  984. package/components/item-option-position-picker-Ba7cBvlL.cjs +32 -0
  985. package/components/item-option-position-picker-DX7lLZKO.js +114 -0
  986. package/components/item-option-positions-number-field/index.cjs +19 -19
  987. package/components/item-option-positions-number-field/index.js +19 -20
  988. package/components/item-option-positions-number-field-BQ8gFOAn.cjs +49 -0
  989. package/components/item-option-positions-number-field-Bqfg0MJm.js +166 -0
  990. package/components/item-option-radio-button-group/index.cjs +19 -19
  991. package/components/item-option-radio-button-group/index.js +19 -20
  992. package/components/item-option-radio-button-group-2hX-E2WV.cjs +37 -0
  993. package/components/item-option-radio-button-group-Bk7VQlpx.js +72 -0
  994. package/components/item-option-slider/index.cjs +19 -19
  995. package/components/item-option-slider/index.js +19 -20
  996. package/components/item-option-slider-Bo5vs6nr.js +89 -0
  997. package/components/item-option-slider-CyWKWr5D.cjs +33 -0
  998. package/components/item-option-switch/index.cjs +19 -19
  999. package/components/item-option-switch/index.js +19 -20
  1000. package/components/item-option-switch-BUteU1mc.cjs +30 -0
  1001. package/components/item-option-switch-cGWccE79.js +66 -0
  1002. package/components/item-option-text-field/index.cjs +19 -19
  1003. package/components/item-option-text-field/index.js +19 -20
  1004. package/components/item-option-text-field-BC9fR-yW.cjs +33 -0
  1005. package/components/item-option-text-field-Dy8pqVKJ.js +77 -0
  1006. package/components/item-options-configs.cjs +19 -19
  1007. package/components/item-options-configs.js +63 -63
  1008. package/components/item-slot-drop/index.cjs +19 -19
  1009. package/components/item-slot-drop/index.js +19 -20
  1010. package/components/item-slot-drop-CwZT8bTP.js +327 -0
  1011. package/components/item-slot-drop-DLzi4Dik.cjs +91 -0
  1012. package/components/item-slot-drop-panel/index.cjs +19 -19
  1013. package/components/item-slot-drop-panel/index.js +19 -20
  1014. package/components/item-slot-drop-panel-Oh8zdKJH.cjs +57 -0
  1015. package/components/item-slot-drop-panel-o5UdVrY_.js +347 -0
  1016. package/components/item-slot-picker/index.cjs +19 -19
  1017. package/components/item-slot-picker/index.js +19 -20
  1018. package/components/item-slot-picker/item-slot-picker.d.ts +30 -2
  1019. package/components/item-slot-picker-O9HKr3mv.cjs +158 -0
  1020. package/components/item-slot-picker-ilmmb0-8.js +550 -0
  1021. package/components/item-slot-picker-panel/index.cjs +19 -19
  1022. package/components/item-slot-picker-panel/index.js +19 -20
  1023. package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +7 -1
  1024. package/components/item-slot-picker-panel-BhhN54IM.cjs +82 -0
  1025. package/components/item-slot-picker-panel-fJqEmxeD.js +442 -0
  1026. package/components/item-slots-configs.cjs +19 -19
  1027. package/components/item-slots-configs.js +63 -63
  1028. package/components/ja-B4YHU4-z.js +125 -0
  1029. package/components/ja-aOzAwMPW.cjs +18 -18
  1030. package/components/ko-B50TWXco.cjs +18 -18
  1031. package/components/ko-DzfeXi4F.js +125 -0
  1032. package/components/kpi-options.config-D9WuRe5z.js +331 -0
  1033. package/components/kpi-options.config-DJW44vTd.cjs +20 -0
  1034. package/components/kpi-options.de-B5lQkGks.js +108 -0
  1035. package/components/kpi-options.de-BNSyszd2.cjs +20 -0
  1036. package/components/kpi-options.en-BKN2-5Jq.js +108 -0
  1037. package/components/kpi-options.en-DZkxgBCc.cjs +20 -0
  1038. package/components/kpi-options.es-DQFRSRwE.cjs +20 -0
  1039. package/components/kpi-options.es-DngzlxEn.js +108 -0
  1040. package/components/kpi-options.fr-Cpm8BfZ9.cjs +20 -0
  1041. package/components/kpi-options.fr-DNRUn0Pk.js +108 -0
  1042. package/components/kpi-options.nl-Bw3N2x-C.js +108 -0
  1043. package/components/kpi-options.nl-W4ujxuOd.cjs +20 -0
  1044. package/components/kpi-positioning.config-DIYWUwID.cjs +20 -0
  1045. package/components/kpi-positioning.config-mQuxf1ke.js +47 -0
  1046. package/components/kpi-slots.config-AMUlgt-H.js +35 -0
  1047. package/components/kpi-slots.config-BvTgcJ9e.cjs +20 -0
  1048. package/components/line-chart-options.config-DOGbeJhy.cjs +20 -0
  1049. package/components/line-chart-options.config-Opoz2jPk.js +254 -0
  1050. package/components/line-chart-options.de-CB8mHJhD.cjs +20 -0
  1051. package/components/line-chart-options.de-yLHBsR0G.js +88 -0
  1052. package/components/line-chart-options.en-BrKt9W7U.cjs +20 -0
  1053. package/components/line-chart-options.en-By_Pq6Kc.js +88 -0
  1054. package/components/line-chart-options.es-BgnNvocl.cjs +20 -0
  1055. package/components/line-chart-options.es-C28q-RTL.js +88 -0
  1056. package/components/line-chart-options.fr-Jl6XdyHr.cjs +20 -0
  1057. package/components/line-chart-options.fr-oMPIRzOe.js +88 -0
  1058. package/components/line-chart-options.nl-C_1T9G-w.js +88 -0
  1059. package/components/line-chart-options.nl-esSfBoBW.cjs +20 -0
  1060. package/components/line-chart-positioning.config-DK9PycZ_.cjs +20 -0
  1061. package/components/line-chart-positioning.config-DqjrWmxJ.js +54 -0
  1062. package/components/line-chart-slots.config-CLSl3ODI.js +54 -0
  1063. package/components/line-chart-slots.config-vyb4U5Ba.cjs +20 -0
  1064. package/components/load-data-fields-for-datasets-DYgA0164.cjs +20 -0
  1065. package/components/load-data-fields-for-datasets-avT5OQVv.js +42 -0
  1066. package/components/localize-BNystXyK.js +28 -0
  1067. package/components/localize-D3i4Epy_.cjs +18 -18
  1068. package/components/localized-mixin-EoNvtTBG.cjs +20 -0
  1069. package/components/localized-mixin-FPDNaZhb.js +44 -0
  1070. package/components/map-tile-providers-DzSBmFkY.cjs +18 -18
  1071. package/components/map-tile-providers-cK8Xlerl.js +114 -0
  1072. package/components/marker-map-options.config-DMPwJHEO.js +121 -0
  1073. package/components/marker-map-options.config-DxcxzLu_.cjs +20 -0
  1074. package/components/marker-map-options.de-BSu8VCAw.cjs +18 -18
  1075. package/components/marker-map-options.de-CUZg_M2c.js +62 -0
  1076. package/components/marker-map-options.en-BfCjBsXX.js +62 -0
  1077. package/components/marker-map-options.en-CKMe-zNW.cjs +18 -18
  1078. package/components/marker-map-options.es-BO7Joctq.js +62 -0
  1079. package/components/marker-map-options.es-D6x5XPW7.cjs +18 -18
  1080. package/components/marker-map-options.fr-CsbyRnt7.js +62 -0
  1081. package/components/marker-map-options.fr-xZ7ixq37.cjs +18 -18
  1082. package/components/marker-map-options.nl-Bvo1Sgwp.cjs +18 -18
  1083. package/components/marker-map-options.nl-Cnsb5g0n.js +62 -0
  1084. package/components/marker-map-positioning.config-BB51kE8O.cjs +20 -0
  1085. package/components/marker-map-positioning.config-CA08hZcp.js +47 -0
  1086. package/components/marker-map-slots.config-BPAExcmN.cjs +20 -0
  1087. package/components/marker-map-slots.config-mCnPFESe.js +36 -0
  1088. package/components/mk-BoGKhggN.js +125 -0
  1089. package/components/mk-CehJi277.cjs +18 -18
  1090. package/components/nl-ByDvxFKr.js +137 -0
  1091. package/components/nl-DNWGcGqO.js +599 -0
  1092. package/components/nl-XotE1MQq.cjs +20 -0
  1093. package/components/nl-wyer9j4m.cjs +18 -18
  1094. package/components/no-C9RQnknk.js +137 -0
  1095. package/components/no-PqE_GjX_.cjs +18 -18
  1096. package/components/ohlc-chart-options.config-C-TCUtOt.js +93 -0
  1097. package/components/ohlc-chart-options.config-CvlHm6hy.cjs +20 -0
  1098. package/components/ohlc-chart-options.de-Bd9HtCU3.js +62 -0
  1099. package/components/ohlc-chart-options.de-DtanuVcU.cjs +18 -18
  1100. package/components/ohlc-chart-options.en-CStPyUia.cjs +18 -18
  1101. package/components/ohlc-chart-options.en-D32KZA3W.js +62 -0
  1102. package/components/ohlc-chart-options.es-B42fuflG.js +62 -0
  1103. package/components/ohlc-chart-options.es-CfTI32Rg.cjs +18 -18
  1104. package/components/ohlc-chart-options.fr-B0tdOmTO.js +62 -0
  1105. package/components/ohlc-chart-options.fr-C53gRLh5.cjs +18 -18
  1106. package/components/ohlc-chart-options.nl-DEy_8xhr.js +62 -0
  1107. package/components/ohlc-chart-options.nl-Dh9iPIWB.cjs +18 -18
  1108. package/components/ohlc-chart-positioning.config-BqFHD1oj.js +77 -0
  1109. package/components/ohlc-chart-positioning.config-CDL2vGsl.cjs +20 -0
  1110. package/components/ohlc-chart-slots.config-AC68CvCP.js +67 -0
  1111. package/components/ohlc-chart-slots.config-SfLpuCud.cjs +20 -0
  1112. package/components/orion-CL_Y_8id.js +67 -0
  1113. package/components/orion-DkQrXOy_.cjs +18 -18
  1114. package/components/parallel-coordinates-plot-options.config-C3HTFBTl.js +47 -0
  1115. package/components/parallel-coordinates-plot-options.config-UHrCS9q5.cjs +20 -0
  1116. package/components/parallel-coordinates-plot-options.de-CDtIM_Z2.cjs +18 -18
  1117. package/components/parallel-coordinates-plot-options.de-_f7GTJXa.js +30 -0
  1118. package/components/parallel-coordinates-plot-options.en-B7oIQWii.js +30 -0
  1119. package/components/parallel-coordinates-plot-options.en-Bu7cMLrv.cjs +18 -18
  1120. package/components/parallel-coordinates-plot-options.es-BPgUHedg.cjs +18 -18
  1121. package/components/parallel-coordinates-plot-options.es-Dyh1h81o.js +30 -0
  1122. package/components/parallel-coordinates-plot-options.fr-BUxk85Ud.cjs +18 -18
  1123. package/components/parallel-coordinates-plot-options.fr-Ct3SBZ1v.js +30 -0
  1124. package/components/parallel-coordinates-plot-options.nl-CHuWgaYV.cjs +18 -18
  1125. package/components/parallel-coordinates-plot-options.nl-DcFKAVMO.js +30 -0
  1126. package/components/parallel-coordinates-plot-positioning.config-Cc-ooVxV.cjs +20 -0
  1127. package/components/parallel-coordinates-plot-positioning.config-D6IuAk_K.js +47 -0
  1128. package/components/parallel-coordinates-plot-slots.config-BQWa5Xe2.js +45 -0
  1129. package/components/parallel-coordinates-plot-slots.config-mEYlLRQy.cjs +20 -0
  1130. package/components/period-over-period-condition.const-AE_2h-9O.js +28 -0
  1131. package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +18 -18
  1132. package/components/periods.const-DZBBRkvS.js +154 -0
  1133. package/components/periods.const-Db0nXrwr.cjs +18 -18
  1134. package/components/pinky-TtncdghA.cjs +18 -18
  1135. package/components/pinky-hbHsDCfd.js +67 -0
  1136. package/components/pivot-table-options.config-5pYvqc35.cjs +20 -0
  1137. package/components/pivot-table-options.config-BlrguysB.js +248 -0
  1138. package/components/pivot-table-options.de-C16jiVYY.js +66 -0
  1139. package/components/pivot-table-options.de-D4WdihDf.cjs +18 -18
  1140. package/components/pivot-table-options.en-Ch0mKBst.cjs +18 -18
  1141. package/components/pivot-table-options.en-Dbp63wyH.js +66 -0
  1142. package/components/pivot-table-options.es-D78TGQMg.js +66 -0
  1143. package/components/pivot-table-options.es-DKNkDOBt.cjs +18 -18
  1144. package/components/pivot-table-options.fr-BAKlur9_.cjs +18 -18
  1145. package/components/pivot-table-options.fr-CHnKYQkR.js +66 -0
  1146. package/components/pivot-table-options.nl-2mSHbpcz.cjs +18 -18
  1147. package/components/pivot-table-options.nl-ByxevE1T.js +66 -0
  1148. package/components/pivot-table-positioning.config-DDwXH70O.js +54 -0
  1149. package/components/pivot-table-positioning.config-DvwKNjoD.cjs +20 -0
  1150. package/components/pivot-table-slots.config-C18Mnk6Y.js +54 -0
  1151. package/components/pivot-table-slots.config-FSIW-Owh.cjs +20 -0
  1152. package/components/pl-Br_k8GI8.js +125 -0
  1153. package/components/pl-Cu6_UJbA.cjs +18 -18
  1154. package/components/pragmatic-element-adapter-B0tn35C8.cjs +24 -0
  1155. package/components/pragmatic-element-adapter-CyTyN1YC.js +1210 -0
  1156. package/components/pt-DA-XGRCP.js +125 -0
  1157. package/components/pt-fymmI5Y3.cjs +18 -18
  1158. package/components/pyramid-chart-options.config-0Qf1naIx.js +221 -0
  1159. package/components/pyramid-chart-options.config-CAC6cMmt.cjs +20 -0
  1160. package/components/pyramid-chart-options.de-2tKl9Efb.js +102 -0
  1161. package/components/pyramid-chart-options.de-DuOpsLs5.cjs +20 -0
  1162. package/components/pyramid-chart-options.en-C3DkPcBH.cjs +20 -0
  1163. package/components/pyramid-chart-options.en-C5QKcY71.js +102 -0
  1164. package/components/pyramid-chart-options.es-B4vyswPg.js +102 -0
  1165. package/components/pyramid-chart-options.es-DWJdStho.cjs +20 -0
  1166. package/components/pyramid-chart-options.fr-BoyFMPfp.js +102 -0
  1167. package/components/pyramid-chart-options.fr-Wb5tFvLC.cjs +20 -0
  1168. package/components/pyramid-chart-options.nl-3ErSugyh.js +102 -0
  1169. package/components/pyramid-chart-options.nl-Csec8VMp.cjs +20 -0
  1170. package/components/pyramid-chart-positioning.config-10BYkgv8.cjs +20 -0
  1171. package/components/pyramid-chart-positioning.config-DWou2jnm.js +54 -0
  1172. package/components/pyramid-chart-slots.config-C1JeQSzK.cjs +20 -0
  1173. package/components/pyramid-chart-slots.config-CGJcv00A.js +49 -0
  1174. package/components/radar-chart-options.config-C1gfNkE6.cjs +20 -0
  1175. package/components/radar-chart-options.config-Dd6SMpMz.js +172 -0
  1176. package/components/radar-chart-options.de-BcugS2tU.js +53 -0
  1177. package/components/radar-chart-options.de-Er7fpAGV.cjs +20 -0
  1178. package/components/radar-chart-options.en-B7ewze8f.js +53 -0
  1179. package/components/radar-chart-options.en-BEJDfdE6.cjs +20 -0
  1180. package/components/radar-chart-options.es-CHPp1rma.js +53 -0
  1181. package/components/radar-chart-options.es-L88u7bqn.cjs +20 -0
  1182. package/components/radar-chart-options.fr-BBJTEXWb.js +53 -0
  1183. package/components/radar-chart-options.fr-CslMsBcG.cjs +20 -0
  1184. package/components/radar-chart-options.nl-CBFeVHx5.js +53 -0
  1185. package/components/radar-chart-options.nl-CIvGrz_A.cjs +20 -0
  1186. package/components/radar-chart-positioning.config-B0O8vn-B.js +54 -0
  1187. package/components/radar-chart-positioning.config-Dg41uYWY.cjs +20 -0
  1188. package/components/radar-chart-slots.config-C3ZoIXnK.cjs +20 -0
  1189. package/components/radar-chart-slots.config-rLD9dRCQ.js +52 -0
  1190. package/components/radiant-Brxg53Bd.cjs +18 -18
  1191. package/components/radiant-D08Q3MEi.js +70 -0
  1192. package/components/regular-table-options.config-BCth1USK.cjs +20 -0
  1193. package/components/regular-table-options.config-TXfzXF_Y.js +152 -0
  1194. package/components/regular-table-options.de-BUJ9aAeo.js +56 -0
  1195. package/components/regular-table-options.de-C1P8Cfb_.cjs +18 -18
  1196. package/components/regular-table-options.en-C2gYTBRo.cjs +18 -18
  1197. package/components/regular-table-options.en-DlLy4DDY.js +56 -0
  1198. package/components/regular-table-options.es-BZ_emUc6.js +56 -0
  1199. package/components/regular-table-options.es-okSFyOya.cjs +18 -18
  1200. package/components/regular-table-options.fr-CcAJM6IR.cjs +18 -18
  1201. package/components/regular-table-options.fr-DT_jwFhs.js +56 -0
  1202. package/components/regular-table-options.nl-BmGfp2Sx.js +56 -0
  1203. package/components/regular-table-options.nl-YAFLo-aU.cjs +18 -18
  1204. package/components/regular-table-positioning.config-BxyFeemR.js +37 -0
  1205. package/components/regular-table-positioning.config-CXabhyJu.cjs +18 -18
  1206. package/components/regular-table-slots.config-CRU_nLHI.cjs +20 -0
  1207. package/components/regular-table-slots.config-sVD_kGbe.js +34 -0
  1208. package/components/resolve-column-presentation-DUETRVCH.cjs +18 -18
  1209. package/components/resolve-column-presentation-FSQv-qiE.js +33 -0
  1210. package/components/rolldown-runtime-DbbDpzbe.cjs +20 -0
  1211. package/components/route-map-options.config-B7vT6KG_.js +327 -0
  1212. package/components/route-map-options.config-DdCaVtIF.cjs +20 -0
  1213. package/components/route-map-options.de-B6WL0heF.cjs +18 -18
  1214. package/components/route-map-options.de-CxZnN008.js +75 -0
  1215. package/components/route-map-options.en-BCuStpST.cjs +18 -18
  1216. package/components/route-map-options.en-CaTwhZYj.js +75 -0
  1217. package/components/route-map-options.es-DRPguAOv.cjs +18 -18
  1218. package/components/route-map-options.es-Da8nQnch.js +75 -0
  1219. package/components/route-map-options.fr-BBSfOGdE.js +75 -0
  1220. package/components/route-map-options.fr-CIOd_axV.cjs +18 -18
  1221. package/components/route-map-options.nl-B5gdyD3P.js +75 -0
  1222. package/components/route-map-options.nl-BQoR8rHj.cjs +18 -18
  1223. package/components/route-map-positioning.config-C1iUodTh.js +65 -0
  1224. package/components/route-map-positioning.config-DlM6xJTP.cjs +20 -0
  1225. package/components/route-map-slots.config-BaZwLyjW.js +58 -0
  1226. package/components/route-map-slots.config-DbSYH_Gm.cjs +20 -0
  1227. package/components/royale-BiMs0EtI.cjs +18 -18
  1228. package/components/royale-Dx1_PBDN.js +59 -0
  1229. package/components/ru-BskkPpk1.js +125 -0
  1230. package/components/ru-RyEkpfw0.cjs +18 -18
  1231. package/components/sankey-diagram-options.config-B8aHKfFt.cjs +20 -0
  1232. package/components/sankey-diagram-options.config-Y6jRK3wk.js +129 -0
  1233. package/components/sankey-diagram-options.de-DnHlLknR.js +62 -0
  1234. package/components/sankey-diagram-options.de-UZnVsw9I.cjs +18 -18
  1235. package/components/sankey-diagram-options.en-BfINAD0e.cjs +18 -18
  1236. package/components/sankey-diagram-options.en-D8mL9pQF.js +62 -0
  1237. package/components/sankey-diagram-options.es-quSoEKtB.cjs +18 -18
  1238. package/components/sankey-diagram-options.es-uqM9X09a.js +62 -0
  1239. package/components/sankey-diagram-options.fr-Chiln2jM.js +62 -0
  1240. package/components/sankey-diagram-options.fr-DeoKurMp.cjs +18 -18
  1241. package/components/sankey-diagram-options.nl-2B5ScaJK.cjs +18 -18
  1242. package/components/sankey-diagram-options.nl-DiohN2Qc.js +62 -0
  1243. package/components/sankey-diagram-positioning.config-5EXNleL5.js +65 -0
  1244. package/components/sankey-diagram-positioning.config-BSu02GJ1.cjs +20 -0
  1245. package/components/sankey-diagram-slots.config-CWKuPz6x.js +60 -0
  1246. package/components/sankey-diagram-slots.config-DF6_NJGq.cjs +20 -0
  1247. package/components/scatter-plot-options.config-DhOGahRc.cjs +20 -0
  1248. package/components/scatter-plot-options.config-DvGofFzR.js +164 -0
  1249. package/components/scatter-plot-options.de-CUPe1USU.cjs +20 -0
  1250. package/components/scatter-plot-options.de-D5QbEAIZ.js +114 -0
  1251. package/components/scatter-plot-options.en-FGRhx7Nu.js +114 -0
  1252. package/components/scatter-plot-options.en-aCHwE_2o.cjs +20 -0
  1253. package/components/scatter-plot-options.es-B2sIEexr.cjs +20 -0
  1254. package/components/scatter-plot-options.es-CQU2STZG.js +114 -0
  1255. package/components/scatter-plot-options.fr-B-7GyEXc.cjs +20 -0
  1256. package/components/scatter-plot-options.fr-CWhv8L_g.js +114 -0
  1257. package/components/scatter-plot-options.nl-Cz-6m7sg.cjs +20 -0
  1258. package/components/scatter-plot-options.nl-DRfh8i_W.js +114 -0
  1259. package/components/scatter-plot-positioning.config-CuyJUmiV.cjs +20 -0
  1260. package/components/scatter-plot-positioning.config-nDbkUUqa.js +76 -0
  1261. package/components/scatter-plot-slots.config-Dda9uF05.js +73 -0
  1262. package/components/scatter-plot-slots.config-DuKQWkKZ.cjs +20 -0
  1263. package/components/search-filter-options.config-DcPuNHyG.cjs +20 -0
  1264. package/components/search-filter-options.config-JvAotvWb.js +102 -0
  1265. package/components/search-filter-options.de-C5mfpqao.js +41 -0
  1266. package/components/search-filter-options.de-XhjxPeKG.cjs +18 -18
  1267. package/components/search-filter-options.en-Bp3Pgxmd.cjs +18 -18
  1268. package/components/search-filter-options.en-CcDritg-.js +41 -0
  1269. package/components/search-filter-options.es-CXfwE4S3.cjs +18 -18
  1270. package/components/search-filter-options.es-Dd3Jgur8.js +41 -0
  1271. package/components/search-filter-options.fr-CZss0Gbq.js +41 -0
  1272. package/components/search-filter-options.fr-bif0VBh1.cjs +18 -18
  1273. package/components/search-filter-options.nl-DZhs-o0B.cjs +18 -18
  1274. package/components/search-filter-options.nl-IjlN2XAx.js +41 -0
  1275. package/components/search-filter-positioning.config-BvwxJS-1.cjs +18 -18
  1276. package/components/search-filter-positioning.config-CY5Yo1sZ.js +37 -0
  1277. package/components/search-filter-slots.config-BnDGoz_4.cjs +20 -0
  1278. package/components/search-filter-slots.config-DtUQAwGn.js +38 -0
  1279. package/components/seasonal-D0SDLKlK.js +75 -0
  1280. package/components/seasonal-DTf_okZ2.cjs +18 -18
  1281. package/components/set-locale-BkMmLcm6.cjs +20 -0
  1282. package/components/set-locale-m257lVi3.js +42 -0
  1283. package/components/set-nested-value-B-4IelRl.cjs +18 -18
  1284. package/components/set-nested-value-DmCMg2V3.js +32 -0
  1285. package/components/slicer-filter-options.config-Bc38dVoU.js +234 -0
  1286. package/components/slicer-filter-options.config-DqI9WtAi.cjs +20 -0
  1287. package/components/slicer-filter-options.de-7mpgtwLj.cjs +18 -18
  1288. package/components/slicer-filter-options.de-CaQJtPre.js +68 -0
  1289. package/components/slicer-filter-options.en-BERi9NJr.js +68 -0
  1290. package/components/slicer-filter-options.en-CiYiPtJB.cjs +18 -18
  1291. package/components/slicer-filter-options.es-B8VkLkMj.cjs +18 -18
  1292. package/components/slicer-filter-options.es-HyaV_xUy.js +68 -0
  1293. package/components/slicer-filter-options.fr-BvhYoAXq.js +68 -0
  1294. package/components/slicer-filter-options.fr-DV9DiqqL.cjs +18 -18
  1295. package/components/slicer-filter-options.nl-DVeUTVn7.cjs +18 -18
  1296. package/components/slicer-filter-options.nl-veviscxn.js +68 -0
  1297. package/components/slicer-filter-positioning.config-BT5aNPHe.js +47 -0
  1298. package/components/slicer-filter-positioning.config-D7ZLoaGu.cjs +20 -0
  1299. package/components/slicer-filter-slots.config-BwlXABsj.cjs +20 -0
  1300. package/components/slicer-filter-slots.config-D3AUD4PD.js +43 -0
  1301. package/components/slider-filter-options.config-BaoIKTFj.js +71 -0
  1302. package/components/slider-filter-options.config-CgMb9Xmz.cjs +20 -0
  1303. package/components/slider-filter-options.de-BedVleOo.js +34 -0
  1304. package/components/slider-filter-options.de-CK9B4Rir.cjs +18 -18
  1305. package/components/slider-filter-options.en-Cw7_6spM.js +34 -0
  1306. package/components/slider-filter-options.en-ZDfr4vqY.cjs +18 -18
  1307. package/components/slider-filter-options.es-CeAMKv7C.cjs +18 -18
  1308. package/components/slider-filter-options.es-Crr8myAG.js +34 -0
  1309. package/components/slider-filter-options.fr-D44hi-fD.cjs +18 -18
  1310. package/components/slider-filter-options.fr-mUxX9zrU.js +34 -0
  1311. package/components/slider-filter-options.nl-CooD4Lau.js +34 -0
  1312. package/components/slider-filter-options.nl-p1nxsQFL.cjs +18 -18
  1313. package/components/slider-filter-positioning.config-DAKt4bpW.js +37 -0
  1314. package/components/slider-filter-positioning.config-a7tK-5va.cjs +18 -18
  1315. package/components/slider-filter-slots.config-B-_6iJX8.cjs +20 -0
  1316. package/components/slider-filter-slots.config-CQG0j5KX.js +42 -0
  1317. package/components/slot-content-DE6NXHcl.js +22 -0
  1318. package/components/slot-content-DYiwtIBX.cjs +20 -0
  1319. package/components/slot-labels.config-DH2Dm3Yd.js +62 -0
  1320. package/components/slot-labels.config-DKnxOncr.cjs +18 -18
  1321. package/components/slot-menu/index.cjs +19 -19
  1322. package/components/slot-menu/index.js +19 -20
  1323. package/components/slot-menu/slot-menu.d.ts +5 -0
  1324. package/components/slot-menu/types.d.ts +1 -1
  1325. package/components/slot-menu-BB_nJWZx.js +427 -0
  1326. package/components/slot-menu-C8p0nkVS.cjs +71 -0
  1327. package/components/slot-menu-list/index.cjs +19 -19
  1328. package/components/slot-menu-list/index.js +19 -20
  1329. package/components/slot-menu-list-3QkrOWgG.js +341 -0
  1330. package/components/slot-menu-list-C2nLODML.cjs +44 -0
  1331. package/components/slot-role-classification-BtYLRqq0.cjs +20 -0
  1332. package/components/slot-role-classification-DGc-M0Of.js +132 -0
  1333. package/components/slots-config-B6AOo19R.cjs +20 -0
  1334. package/components/slots-config-CsKGGLNg.js +76 -0
  1335. package/components/spacer-options.config-BsbiQt-1.cjs +18 -18
  1336. package/components/spacer-options.config-Dd_j69HB.js +22 -0
  1337. package/components/speedometer-chart-options.config-C3o5xpCj.cjs +20 -0
  1338. package/components/speedometer-chart-options.config-CIZKRvbg.js +250 -0
  1339. package/components/speedometer-chart-options.de-CfMm0o9p.js +65 -0
  1340. package/components/speedometer-chart-options.de-Duicdnfl.cjs +18 -18
  1341. package/components/speedometer-chart-options.en-Ct8GyQCI.js +65 -0
  1342. package/components/speedometer-chart-options.en-t4qxY0EQ.cjs +18 -18
  1343. package/components/speedometer-chart-options.es-0JgXONad.cjs +18 -18
  1344. package/components/speedometer-chart-options.es-KA0EJ21O.js +65 -0
  1345. package/components/speedometer-chart-options.fr-B1FxaP-j.js +65 -0
  1346. package/components/speedometer-chart-options.fr-CAsCn9Vw.cjs +18 -18
  1347. package/components/speedometer-chart-options.nl-COjZR7lk.cjs +18 -18
  1348. package/components/speedometer-chart-options.nl-DHNdYT7E.js +65 -0
  1349. package/components/speedometer-chart-positioning.config-BtDD3TiP.cjs +20 -0
  1350. package/components/speedometer-chart-positioning.config-CO1MtdU3.js +47 -0
  1351. package/components/speedometer-chart-slots.config-BhhQ0q7n.cjs +20 -0
  1352. package/components/speedometer-chart-slots.config-DIShNh4T.js +38 -0
  1353. package/components/spike-map-options.config-B3hDh2qU.cjs +20 -0
  1354. package/components/spike-map-options.config-DkmRZ1JZ.js +414 -0
  1355. package/components/spike-map-options.de-BrXqrF-u.js +102 -0
  1356. package/components/spike-map-options.de-Cdd3EEF2.cjs +18 -18
  1357. package/components/spike-map-options.en-B55b8Jn_.cjs +18 -18
  1358. package/components/spike-map-options.en-DSy6nt2M.js +102 -0
  1359. package/components/spike-map-options.es-DOmj973W.cjs +18 -18
  1360. package/components/spike-map-options.es-DuN_Li7Z.js +102 -0
  1361. package/components/spike-map-options.fr-DHr9Aw6b.cjs +18 -18
  1362. package/components/spike-map-options.fr-UPx664xO.js +102 -0
  1363. package/components/spike-map-options.nl-BYSBD11T.cjs +18 -18
  1364. package/components/spike-map-options.nl-C-b0qHyw.js +102 -0
  1365. package/components/spike-map-positioning.config-BhKVutm1.cjs +20 -0
  1366. package/components/spike-map-positioning.config-CQkcCdHD.js +54 -0
  1367. package/components/spike-map-slots.config-B63KfULj.js +46 -0
  1368. package/components/spike-map-slots.config-DHgVNtSl.cjs +20 -0
  1369. package/components/strip-plot-options.config-CoiMZRzM.cjs +20 -0
  1370. package/components/strip-plot-options.config-D1h3YBHj.js +53 -0
  1371. package/components/strip-plot-options.de-BY8O0m1R.js +30 -0
  1372. package/components/strip-plot-options.de-BhNKiBKE.cjs +18 -18
  1373. package/components/strip-plot-options.en-Cxfv-AD6.cjs +18 -18
  1374. package/components/strip-plot-options.en-D2XEAFMd.js +30 -0
  1375. package/components/strip-plot-options.es-B4qu-PBV.cjs +18 -18
  1376. package/components/strip-plot-options.es-DbQvKoCu.js +30 -0
  1377. package/components/strip-plot-options.fr-BJCQe-Bn.cjs +18 -18
  1378. package/components/strip-plot-options.fr-BK_mGl7Y.js +30 -0
  1379. package/components/strip-plot-options.nl-BaFVxWEI.js +30 -0
  1380. package/components/strip-plot-options.nl-BtIGpq6K.cjs +18 -18
  1381. package/components/strip-plot-positioning.config-CEYgtT13.cjs +20 -0
  1382. package/components/strip-plot-positioning.config-DEyOR-yS.js +47 -0
  1383. package/components/strip-plot-slots.config-D9blbOAz.cjs +20 -0
  1384. package/components/strip-plot-slots.config-DjItZdiF.js +37 -0
  1385. package/components/sunburst-chart-options.config-CZdd6qx0.cjs +20 -0
  1386. package/components/sunburst-chart-options.config-DVETeZFc.js +189 -0
  1387. package/components/sunburst-chart-options.de-B0mIITIx.js +60 -0
  1388. package/components/sunburst-chart-options.de-DO65RQI_.cjs +20 -0
  1389. package/components/sunburst-chart-options.en-C3IkkUBW.cjs +20 -0
  1390. package/components/sunburst-chart-options.en-LoUPN34r.js +60 -0
  1391. package/components/sunburst-chart-options.es-BV_4fN10.cjs +20 -0
  1392. package/components/sunburst-chart-options.es-DBje7CMN.js +60 -0
  1393. package/components/sunburst-chart-options.fr-Cnbpsj6t.js +60 -0
  1394. package/components/sunburst-chart-options.fr-DO7-oeNe.cjs +20 -0
  1395. package/components/sunburst-chart-options.nl-CluctKYY.js +60 -0
  1396. package/components/sunburst-chart-options.nl-DsecjcfE.cjs +20 -0
  1397. package/components/sunburst-chart-positioning.config-DNtHXpHg.cjs +20 -0
  1398. package/components/sunburst-chart-positioning.config-DP-ifsmn.js +47 -0
  1399. package/components/sunburst-chart-slots.config-CeB0g1Jz.js +37 -0
  1400. package/components/sunburst-chart-slots.config-DwXruOTF.cjs +20 -0
  1401. package/components/superPropGet-CUPN9Fvv.js +48 -0
  1402. package/components/superPropGet-DmmlTXgo.cjs +20 -0
  1403. package/components/sv-C6Tu9rpj.js +125 -0
  1404. package/components/sv-CtRGTNGV.cjs +18 -18
  1405. package/components/symbol-map-options.config-BwZ7_S4w.js +178 -0
  1406. package/components/symbol-map-options.config-C3RTDsGN.cjs +20 -0
  1407. package/components/symbol-map-options.de-BiDrG9dj.cjs +18 -18
  1408. package/components/symbol-map-options.de-CjMtnkPp.js +65 -0
  1409. package/components/symbol-map-options.en-D3yzVDgP.js +65 -0
  1410. package/components/symbol-map-options.en-DLHLVF14.cjs +18 -18
  1411. package/components/symbol-map-options.es-B6XECjy2.js +65 -0
  1412. package/components/symbol-map-options.es-Bv7kYGH2.cjs +18 -18
  1413. package/components/symbol-map-options.fr-BCMc9cTL.cjs +18 -18
  1414. package/components/symbol-map-options.fr-tZF8dXgD.js +65 -0
  1415. package/components/symbol-map-options.nl-BYykoWAL.js +65 -0
  1416. package/components/symbol-map-options.nl-BiSD07Wp.cjs +18 -18
  1417. package/components/symbol-map-positioning.config-CoLDPgYM.cjs +20 -0
  1418. package/components/symbol-map-positioning.config-Nj7pDOAu.js +54 -0
  1419. package/components/symbol-map-slots.config-Bcg4tTKu.js +52 -0
  1420. package/components/symbol-map-slots.config-Cp9Wp3vo.cjs +20 -0
  1421. package/components/text-options.config-BomEcU58.js +66 -0
  1422. package/components/text-options.config-D9EkimNf.cjs +20 -0
  1423. package/components/text-options.de-B4NOm0u-.js +29 -0
  1424. package/components/text-options.de-hh7o6URS.cjs +18 -18
  1425. package/components/text-options.en-Cb3U3pRQ.js +29 -0
  1426. package/components/text-options.en-Dq7UNCRY.cjs +18 -18
  1427. package/components/text-options.es-BSxIMxFF.cjs +18 -18
  1428. package/components/text-options.es-Bo7gnIX1.js +29 -0
  1429. package/components/text-options.fr-CBUn8HSn.cjs +18 -18
  1430. package/components/text-options.fr-CShH2v0S.js +29 -0
  1431. package/components/text-options.nl-CUiG2YHs.cjs +18 -18
  1432. package/components/text-options.nl-DWxZsCiw.js +29 -0
  1433. package/components/text-slots.config-11KBADL7.js +23 -0
  1434. package/components/text-slots.config-Rt7OwjzL.cjs +20 -0
  1435. package/components/themes-BO_1ebSB.js +71 -0
  1436. package/components/themes-kvrISOTz.cjs +18 -18
  1437. package/components/tokens-6HmQYnEP.js +27 -0
  1438. package/components/tokens-BWMfo_w4.cjs +18 -18
  1439. package/components/tr-DJnNMcm5.js +137 -0
  1440. package/components/tr-xcDpAdjw.cjs +18 -18
  1441. package/components/treemap-chart-options.config-DLEY6YuI.cjs +20 -0
  1442. package/components/treemap-chart-options.config-DsqsX9So.js +210 -0
  1443. package/components/treemap-chart-options.de-BWg_01-W.cjs +18 -18
  1444. package/components/treemap-chart-options.de-CXIYs3oT.js +63 -0
  1445. package/components/treemap-chart-options.en-B7NFLNe9.js +63 -0
  1446. package/components/treemap-chart-options.en-D18VTnD9.cjs +18 -18
  1447. package/components/treemap-chart-options.es-BzkqvqXv.cjs +18 -18
  1448. package/components/treemap-chart-options.es-CKX8PeWE.js +63 -0
  1449. package/components/treemap-chart-options.fr-CPacPcag.js +63 -0
  1450. package/components/treemap-chart-options.fr-g6917FeS.cjs +18 -18
  1451. package/components/treemap-chart-options.nl-BTh-UB95.cjs +18 -18
  1452. package/components/treemap-chart-options.nl-OOTGXzol.js +63 -0
  1453. package/components/treemap-chart-positioning.config-BVOqj2V1.cjs +20 -0
  1454. package/components/treemap-chart-positioning.config-B_R_cmFs.js +54 -0
  1455. package/components/treemap-chart-slots.config-CmPHhmR2.cjs +20 -0
  1456. package/components/treemap-chart-slots.config-CpCIdFAM.js +46 -0
  1457. package/components/type-check-BehV9ZL1.cjs +18 -18
  1458. package/components/type-check-D6K_INvg.js +51 -0
  1459. package/components/types-DJuS9IwG.js +43 -0
  1460. package/components/types-pVa6ut_v.cjs +18 -18
  1461. package/components/types.cjs +18 -18
  1462. package/components/types.js +18 -18
  1463. package/components/urban-CGKIB8yR.js +70 -0
  1464. package/components/urban-CQa3SGnB.cjs +18 -18
  1465. package/components/utils/base.cjs +19 -19
  1466. package/components/utils/base.js +20 -20
  1467. package/components/utils/store.cjs +19 -19
  1468. package/components/utils/store.js +29 -37
  1469. package/components/utils-DIKmx9O1.cjs +20 -0
  1470. package/components/utils-DS6Pthr4.js +238 -0
  1471. package/components/utils.cjs +19 -19
  1472. package/components/utils.js +27 -27
  1473. package/components/v4-Dyp-SQ1c.cjs +18 -18
  1474. package/components/v4-YCkfo8OR.js +46 -0
  1475. package/components/venn-diagram-options.config-3-Adz8wM.js +23 -0
  1476. package/components/venn-diagram-options.config-BsxzLI46.cjs +20 -0
  1477. package/components/venn-diagram-positioning.config-8JCVpYOt.cjs +20 -0
  1478. package/components/venn-diagram-positioning.config-DOsSkJYl.js +54 -0
  1479. package/components/venn-diagram-slots.config-CfOs3HFk.cjs +20 -0
  1480. package/components/venn-diagram-slots.config-DIFovfS5.js +46 -0
  1481. package/components/video-options.config-BACuLmHj.cjs +20 -0
  1482. package/components/video-options.config-DVxtlO5_.js +126 -0
  1483. package/components/video-options.de-BCRCouhI.cjs +18 -18
  1484. package/components/video-options.de-ORwnqA8n.js +59 -0
  1485. package/components/video-options.en-Bs_Lh_CI.js +59 -0
  1486. package/components/video-options.en-CQ-1XqqN.cjs +18 -18
  1487. package/components/video-options.es-BvVdDjfZ.js +59 -0
  1488. package/components/video-options.es-HbR-p7Ll.cjs +18 -18
  1489. package/components/video-options.fr-2LYvhyUV.cjs +18 -18
  1490. package/components/video-options.fr-BesFW-1s.js +59 -0
  1491. package/components/video-options.nl-BW4_pRnk.js +59 -0
  1492. package/components/video-options.nl-CRGUzFaP.cjs +18 -18
  1493. package/components/video-slots.config-B12oMaQR.js +23 -0
  1494. package/components/video-slots.config-Diz5vhEg.cjs +20 -0
  1495. package/components/vivid-DILEKRlz.js +71 -0
  1496. package/components/vivid-K5FZ8F8v.cjs +18 -18
  1497. package/components/wordcloud-chart-options.config-DiyF596X.cjs +20 -0
  1498. package/components/wordcloud-chart-options.config-UAl2hfU7.js +96 -0
  1499. package/components/wordcloud-chart-options.de-Bi2Qjaam.cjs +18 -18
  1500. package/components/wordcloud-chart-options.de-D9c2kOhf.js +48 -0
  1501. package/components/wordcloud-chart-options.en-6YsE8vZq.cjs +18 -18
  1502. package/components/wordcloud-chart-options.en-B2eVzZ8F.js +48 -0
  1503. package/components/wordcloud-chart-options.es-BQib5Adk.cjs +18 -18
  1504. package/components/wordcloud-chart-options.es-C6dUmFLy.js +48 -0
  1505. package/components/wordcloud-chart-options.fr-4orpVaAN.cjs +18 -18
  1506. package/components/wordcloud-chart-options.fr-dNSX7uyQ.js +48 -0
  1507. package/components/wordcloud-chart-options.nl-BAdq6R0h.cjs +18 -18
  1508. package/components/wordcloud-chart-options.nl-D1CFGAGK.js +48 -0
  1509. package/components/wordcloud-chart-positioning.config-D13iPEEg.cjs +20 -0
  1510. package/components/wordcloud-chart-positioning.config-DSVw_z7Y.js +54 -0
  1511. package/components/wordcloud-chart-slots.config-Bw2N-_FE.cjs +20 -0
  1512. package/components/wordcloud-chart-slots.config-D-ZKO6Za.js +44 -0
  1513. package/components/zh-CN-BTatoior.js +125 -0
  1514. package/components/zh-CN-CnxgkEiH.cjs +18 -18
  1515. package/components/zh-TW-CnxgkEiH.cjs +18 -18
  1516. package/components/zh-TW-frHWROW3.js +125 -0
  1517. package/custom-elements.json +7511 -6023
  1518. package/deprecated-react/components/add-to-dashboard.component.cjs +1 -0
  1519. package/deprecated-react/components/item-grid-item-actions-menu.component.cjs +1 -0
  1520. package/grid-core/helpers/grid-events.d.ts +56 -0
  1521. package/grid-core/helpers/grid-interactions.d.ts +88 -0
  1522. package/grid-core/helpers/grid-item-management.d.ts +28 -0
  1523. package/grid-core/helpers/grid-item-popover.d.ts +21 -0
  1524. package/grid-core/helpers/grid-items.d.ts +9 -0
  1525. package/grid-core/helpers/grid-keyboard-updates.d.ts +18 -0
  1526. package/grid-core/helpers/grid-keydown-event.d.ts +18 -0
  1527. package/grid-core/helpers/grid-popover-cleanup.d.ts +4 -0
  1528. package/grid-core/helpers/grid-rendering.d.ts +41 -0
  1529. package/grid-core/helpers/grid-stack-lifecycle.d.ts +26 -0
  1530. package/grid-core/helpers/grid-theme.d.ts +15 -0
  1531. package/grid-core/helpers/grid-update-cycle.d.ts +22 -0
  1532. package/grid-core/index.d.ts +5 -0
  1533. package/grid-core/item-grid-base.d.ts +223 -0
  1534. package/grid-core/types.d.ts +57 -0
  1535. package/index.d.ts +2 -1
  1536. package/package.json +25 -10
  1537. package/react/components/add-to-dashboard.component.ts +30 -0
  1538. package/react/components/ai-chat.component.ts +5 -2
  1539. package/react/components/interactive-viz-item.component.ts +11 -5
  1540. package/react/components/item-grid-item-actions-menu.component.ts +30 -0
  1541. package/react/components/item-grid.component.ts +4 -1
  1542. package/react/esm/components/add-to-dashboard.component.d.ts +14 -0
  1543. package/react/esm/components/add-to-dashboard.component.js +19 -0
  1544. package/react/esm/components/ai-chat.component.d.ts +3 -1
  1545. package/react/esm/components/ai-chat.component.js +3 -1
  1546. package/react/esm/components/interactive-viz-item.component.d.ts +8 -4
  1547. package/react/esm/components/interactive-viz-item.component.js +8 -4
  1548. package/react/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
  1549. package/react/esm/components/item-grid-item-actions-menu.component.js +19 -0
  1550. package/react/esm/components/item-grid.component.d.ts +3 -1
  1551. package/react/esm/components/item-grid.component.js +2 -0
  1552. package/react/esm/index.d.ts +4 -3
  1553. package/react/esm/index.js +10 -6
  1554. package/react/index.ts +10 -6
  1555. package/react/luzmo-stub.d.ts +16 -6
  1556. package/react/package.json +6 -2
  1557. package/standalone/add-to-dashboard.js +168 -0
  1558. package/standalone/chunks/area-chart-options.config-BMvUma_d.js +2 -0
  1559. package/standalone/chunks/area-chart-options.de-CiUYKjuF.js +2 -0
  1560. package/standalone/chunks/area-chart-options.en-ClANS4ox.js +2 -0
  1561. package/standalone/chunks/area-chart-options.es-CJ9G7w-d.js +2 -0
  1562. package/standalone/chunks/area-chart-options.fr-HT5lv1Xa.js +2 -0
  1563. package/standalone/chunks/area-chart-options.nl-BLkEkEtR.js +2 -0
  1564. package/standalone/chunks/axis-options.config-DOE0YdaK.js +2 -0
  1565. package/standalone/chunks/axis-options.i18n-BiaLcciz.js +2 -0
  1566. package/standalone/chunks/bar-chart-options.config-BpHqXBFq.js +2 -0
  1567. package/standalone/chunks/bar-chart-options.de-BFaQAeSt.js +2 -0
  1568. package/standalone/chunks/bar-chart-options.en-uZbbpK84.js +2 -0
  1569. package/standalone/chunks/bar-chart-options.es-twNx5B2m.js +2 -0
  1570. package/standalone/chunks/bar-chart-options.fr-DRaaaSSH.js +2 -0
  1571. package/standalone/chunks/bar-chart-options.nl-CJiMjH5v.js +2 -0
  1572. package/standalone/chunks/box-plot-options.config-DDWb_KmV.js +2 -0
  1573. package/standalone/chunks/box-plot-options.de-CI5qJAF7.js +2 -0
  1574. package/standalone/chunks/box-plot-options.en-BQtMNcl5.js +2 -0
  1575. package/standalone/chunks/box-plot-options.es-CHjivUoY.js +2 -0
  1576. package/standalone/chunks/box-plot-options.fr-FkvAk1kX.js +2 -0
  1577. package/standalone/chunks/box-plot-options.nl-BRnSzvbY.js +2 -0
  1578. package/standalone/chunks/bullet-chart-options.config-BhYe0N0o.js +2 -0
  1579. package/standalone/chunks/bullet-chart-options.de-kCP9VTDJ.js +2 -0
  1580. package/standalone/chunks/bullet-chart-options.en-CQ7u24xM.js +2 -0
  1581. package/standalone/chunks/bullet-chart-options.es-CMRwpRyH.js +2 -0
  1582. package/standalone/chunks/bullet-chart-options.fr-NLzgxbaB.js +2 -0
  1583. package/standalone/chunks/bullet-chart-options.nl-BxNIes0u.js +2 -0
  1584. package/standalone/chunks/chart-helpers-DsIGsaDc.js +4 -0
  1585. package/standalone/chunks/choropleth-map-options.config-Cs4Kvr9h.js +2 -0
  1586. package/standalone/chunks/color-7IgCGZKz.js +2 -0
  1587. package/standalone/chunks/color-range-utils-CKDpd3gZ.js +2 -0
  1588. package/standalone/chunks/column-chart-options.config-YIe6cMV5.js +2 -0
  1589. package/standalone/chunks/column-chart-options.de-CpCK5x2F.js +2 -0
  1590. package/standalone/chunks/column-chart-options.en-uZbbpK84.js +2 -0
  1591. package/standalone/chunks/column-chart-options.es-CNgSUKXK.js +2 -0
  1592. package/standalone/chunks/column-chart-options.fr-DRaaaSSH.js +2 -0
  1593. package/standalone/chunks/column-chart-options.nl-CJiMjH5v.js +2 -0
  1594. package/standalone/chunks/combination-chart-options.config-Bf7cNmpc.js +2 -0
  1595. package/standalone/chunks/combination-chart-options.de-BarapFn7.js +2 -0
  1596. package/standalone/chunks/combination-chart-options.en-Dip8nNUE.js +2 -0
  1597. package/standalone/chunks/combination-chart-options.es-3xQbg-Up.js +2 -0
  1598. package/standalone/chunks/combination-chart-options.fr-BsXLtxB_.js +2 -0
  1599. package/standalone/chunks/combination-chart-options.nl-8LA_bn9G.js +2 -0
  1600. package/standalone/chunks/data-broker-DXDyIrj_.js +2 -0
  1601. package/standalone/chunks/date-comparison-filter-slots.config-GxZF3vb3.js +2 -0
  1602. package/standalone/chunks/de-mdZT2W1G.js +2 -0
  1603. package/standalone/chunks/display-settings-binning-Byffw2Kl.js +38 -0
  1604. package/standalone/chunks/display-settings-datetime-CD52d6Sv.js +199 -0
  1605. package/standalone/chunks/display-settings-grand-totals-Cky99LX9.js +26 -0
  1606. package/standalone/chunks/display-settings-numeric-C9ea7Tgc.js +172 -0
  1607. package/standalone/chunks/display-settings-period-over-period-BLSGumkD.js +209 -0
  1608. package/standalone/chunks/donut-chart-options.config-DWpePR5V.js +2 -0
  1609. package/standalone/chunks/donut-chart-options.de-IKGJRoDL.js +2 -0
  1610. package/standalone/chunks/donut-chart-options.en-O2IK3YiS.js +2 -0
  1611. package/standalone/chunks/donut-chart-options.es-gKAHuFAU.js +2 -0
  1612. package/standalone/chunks/donut-chart-options.fr-Q-uMrtQG.js +2 -0
  1613. package/standalone/chunks/donut-chart-options.nl-B6v6jK4l.js +2 -0
  1614. package/standalone/chunks/embed-BfHBKhIe.js +231 -0
  1615. package/standalone/chunks/en-CSboh17P.js +2 -0
  1616. package/standalone/chunks/en-GB-HoXKQBOY.js +2 -0
  1617. package/standalone/chunks/en-US-CSboh17P.js +2 -0
  1618. package/standalone/chunks/es-Di5D8JFd.js +2 -0
  1619. package/standalone/chunks/evolution-number-options.config-Brbyq_TD.js +2 -0
  1620. package/standalone/chunks/evolution-number-options.de-NPOdl5mB.js +2 -0
  1621. package/standalone/chunks/evolution-number-options.en-Eq53ZOMK.js +2 -0
  1622. package/standalone/chunks/evolution-number-options.es-WS8nAzvW.js +2 -0
  1623. package/standalone/chunks/evolution-number-options.fr-DmcY0jGH.js +2 -0
  1624. package/standalone/chunks/evolution-number-options.nl-CvjB2qil.js +2 -0
  1625. package/standalone/chunks/filters-DKgJcQGP.js +532 -0
  1626. package/standalone/chunks/formula-codemirror-BbyvNEVD.js +197 -0
  1627. package/standalone/chunks/fr-DZku7iB9.js +2 -0
  1628. package/standalone/chunks/funnel-chart-options.config-S1yxc6IG.js +2 -0
  1629. package/standalone/chunks/funnel-chart-options.de-u5OrFyng.js +2 -0
  1630. package/standalone/chunks/funnel-chart-options.en-BEGSBn35.js +2 -0
  1631. package/standalone/chunks/funnel-chart-options.es-CxWkEgMs.js +2 -0
  1632. package/standalone/chunks/funnel-chart-options.fr-DZmmgK2t.js +2 -0
  1633. package/standalone/chunks/funnel-chart-options.nl-C6BitaEJ.js +2 -0
  1634. package/standalone/chunks/heat-map-options.config-DF5kjOOe.js +2 -0
  1635. package/standalone/chunks/heat-table-options.config-DaePzfHG.js +2 -0
  1636. package/standalone/chunks/heat-table-options.de-B4y9dcra.js +2 -0
  1637. package/standalone/chunks/heat-table-options.en-Bouip0NE.js +2 -0
  1638. package/standalone/chunks/heat-table-options.es-BRAQP8GK.js +2 -0
  1639. package/standalone/chunks/heat-table-options.fr-CTzciHeO.js +2 -0
  1640. package/standalone/chunks/heat-table-options.nl-DzmWrTeQ.js +2 -0
  1641. package/standalone/chunks/item-option-action-button-group-BEAwPHVw.js +35 -0
  1642. package/standalone/chunks/item-option-base-CRUxNhJQ.js +38 -0
  1643. package/standalone/chunks/item-option-color-palette-picker-CBz61iZb.js +22 -0
  1644. package/standalone/chunks/item-option-color-picker-Cr7ujQNO.js +16 -0
  1645. package/standalone/chunks/item-option-color-range-CyJd1LZ_.js +80 -0
  1646. package/standalone/chunks/item-option-guidelines-6NjpzS6b.js +117 -0
  1647. package/standalone/chunks/item-option-multi-language-field-DPPpN2qg.js +15 -0
  1648. package/standalone/chunks/item-option-number-field-CkqJjInE.js +20 -0
  1649. package/standalone/chunks/item-option-panel-VxvWU56c.js +298 -0
  1650. package/standalone/chunks/item-option-picker-BnwQPT9A.js +19 -0
  1651. package/standalone/chunks/item-option-position-picker-Bkc4JvJX.js +14 -0
  1652. package/standalone/chunks/item-option-positions-number-field-Dr_315TE.js +31 -0
  1653. package/standalone/chunks/item-option-radio-button-group-BkymJq3E.js +19 -0
  1654. package/standalone/chunks/item-option-slider-l9wt7_0c.js +15 -0
  1655. package/standalone/chunks/item-option-switch-DeihDHhM.js +12 -0
  1656. package/standalone/chunks/item-option-text-field-D7bkuhsv.js +15 -0
  1657. package/standalone/chunks/item-slot-picker-panel-D4BMxGs9.js +429 -0
  1658. package/standalone/chunks/kpi-options.config-DGl2N2HJ.js +2 -0
  1659. package/standalone/chunks/kpi-options.de-CJMQBEs7.js +2 -0
  1660. package/standalone/chunks/kpi-options.en-BzKmi3Bd.js +2 -0
  1661. package/standalone/chunks/kpi-options.es-BTmFYV0w.js +2 -0
  1662. package/standalone/chunks/kpi-options.fr-mlazGpRq.js +2 -0
  1663. package/standalone/chunks/kpi-options.nl-BV1eFo_U.js +2 -0
  1664. package/standalone/chunks/kpi-slots.config-DAjLHdEj.js +2 -0
  1665. package/standalone/chunks/line-chart-options.config--_LXaPbB.js +2 -0
  1666. package/standalone/chunks/line-chart-options.de-CCCH4dI_.js +2 -0
  1667. package/standalone/chunks/line-chart-options.en-BwtEj00F.js +2 -0
  1668. package/standalone/chunks/line-chart-options.es-BWWaIDbd.js +2 -0
  1669. package/standalone/chunks/line-chart-options.fr-Rp7fs4Id.js +2 -0
  1670. package/standalone/chunks/line-chart-options.nl-DcgJ9CUw.js +2 -0
  1671. package/standalone/chunks/load-data-fields-for-datasets-ClctSj6y.js +25 -0
  1672. package/standalone/chunks/localize-DXRmGRe-.js +2 -0
  1673. package/standalone/chunks/localized-decorator-DJVBmJVH.js +2 -0
  1674. package/standalone/chunks/luzmo-icon-markup-ByaNI6dg.js +13 -0
  1675. package/standalone/chunks/luzmoAngleLeft-ebJO7ROy.js +2 -0
  1676. package/standalone/chunks/luzmoArrowsHorizontal-TohKbcQD.js +2 -0
  1677. package/standalone/chunks/nl-CViTevL3.js +2 -0
  1678. package/standalone/chunks/ohlc-chart-options.config-kyYOgBtR.js +2 -0
  1679. package/standalone/chunks/pyramid-chart-options.config-xYIVE_ib.js +2 -0
  1680. package/standalone/chunks/pyramid-chart-options.de-CaxalCcg.js +2 -0
  1681. package/standalone/chunks/pyramid-chart-options.en-B-weoYGh.js +2 -0
  1682. package/standalone/chunks/pyramid-chart-options.es-BahFoH3_.js +2 -0
  1683. package/standalone/chunks/pyramid-chart-options.fr-DcTxsNGH.js +2 -0
  1684. package/standalone/chunks/pyramid-chart-options.nl-ChImCr8r.js +2 -0
  1685. package/standalone/chunks/radar-chart-options.config-CoGFqCqy.js +2 -0
  1686. package/standalone/chunks/radar-chart-options.de-vruPXtB4.js +2 -0
  1687. package/standalone/chunks/radar-chart-options.en-D8rstMVn.js +2 -0
  1688. package/standalone/chunks/radar-chart-options.es-By21lK8S.js +2 -0
  1689. package/standalone/chunks/radar-chart-options.fr-C4b5cJxg.js +2 -0
  1690. package/standalone/chunks/radar-chart-options.nl-CzEi0MTf.js +2 -0
  1691. package/standalone/chunks/route-map-options.config-D7FfzIiU.js +2 -0
  1692. package/standalone/chunks/scatter-plot-options.config-DG9Ki-mt.js +2 -0
  1693. package/standalone/chunks/scatter-plot-options.de-eebqIJA1.js +2 -0
  1694. package/standalone/chunks/scatter-plot-options.en-5i08biJm.js +2 -0
  1695. package/standalone/chunks/scatter-plot-options.es-Bx8kHesL.js +2 -0
  1696. package/standalone/chunks/scatter-plot-options.fr-DK6rPCT_.js +2 -0
  1697. package/standalone/chunks/scatter-plot-options.nl-9mS62LyK.js +2 -0
  1698. package/standalone/chunks/slot-content-BZhmLTG1.js +2 -0
  1699. package/standalone/chunks/spike-map-options.config-CZiFzDm9.js +2 -0
  1700. package/standalone/chunks/sunburst-chart-options.config-DOBSe3i5.js +2 -0
  1701. package/standalone/chunks/sunburst-chart-options.de-D3iq4Q-m.js +2 -0
  1702. package/standalone/chunks/sunburst-chart-options.en-BUJ_Pr9C.js +2 -0
  1703. package/standalone/chunks/sunburst-chart-options.es-stKrKGz2.js +2 -0
  1704. package/standalone/chunks/sunburst-chart-options.fr-RkBtlMNp.js +2 -0
  1705. package/standalone/chunks/sunburst-chart-options.nl-BUeDNot_.js +2 -0
  1706. package/standalone/chunks/task-BlhDPTQS.js +2 -0
  1707. package/standalone/chunks/themes-C2pxFlIq.js +2 -0
  1708. package/standalone/chunks/v4-BxSu4gkw.js +2 -0
  1709. package/standalone/chunks/version-BW4Ixl63.js +2 -0
  1710. package/standalone/interactive-viz-item.js +77 -65
  1711. package/standalone/item-grid.js +94 -86
  1712. package/standalone/manifest.json +155 -154
  1713. package/storybook/register-components.d.ts +2 -1
  1714. package/types/add-to-dashboard.types.d.ts +51 -0
  1715. package/types/ai-chat.types.d.ts +39 -2
  1716. package/types.d.ts +3 -1
  1717. package/utils/data-broker/index.d.ts +19 -1
  1718. package/utils/data-broker/tests/data-broker.test.d.ts +1 -0
  1719. package/utils/filters/filter-text.d.ts +1 -1
  1720. package/utils/formula/base/formula-base.d.ts +2 -2
  1721. package/utils/formula/config/build-datasets.d.ts +2 -2
  1722. package/utils/formula/store/formula-display-store.d.ts +1 -1
  1723. package/utils/store/index.d.ts +1 -0
  1724. package/utils/store/tests/store-base.test.d.ts +1 -0
  1725. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +0 -20
  1726. package/components/ad-hoc-slot-content-hSlT62VS.js +0 -29
  1727. package/components/ai-chat-DA6ago8N.cjs +0 -339
  1728. package/components/ai-chat-kH4xkt7a.js +0 -4373
  1729. package/components/ai-interaction-textarea-Bths0__L.js +0 -829
  1730. package/components/ai-interaction-textarea-D1nK3sjL.cjs +0 -101
  1731. package/components/area-chart-options.config-Bf5kti7Z.cjs +0 -20
  1732. package/components/area-chart-options.config-DJnPr93H.js +0 -201
  1733. package/components/area-chart-options.de-_tPBzxvf.cjs +0 -20
  1734. package/components/area-chart-options.de-pUCTG-s0.js +0 -87
  1735. package/components/area-chart-options.en-AuSHs27k.cjs +0 -20
  1736. package/components/area-chart-options.en-YNsUeMwN.js +0 -87
  1737. package/components/area-chart-options.es-2styw_Fz.js +0 -87
  1738. package/components/area-chart-options.es-BzRHGbo6.cjs +0 -20
  1739. package/components/area-chart-options.fr--WzQVf2z.js +0 -87
  1740. package/components/area-chart-options.fr-DYxUQE3x.cjs +0 -20
  1741. package/components/area-chart-options.nl-BTEIqBtE.js +0 -87
  1742. package/components/area-chart-options.nl-M0xQQ_la.cjs +0 -20
  1743. package/components/area-chart-positioning.config-B8xSL1XU.cjs +0 -20
  1744. package/components/area-chart-positioning.config-C0_dxknc.js +0 -55
  1745. package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
  1746. package/components/area-chart-slots.config-ClE-gYVY.js +0 -55
  1747. package/components/axis-options.config-BCP0Z8VI.js +0 -270
  1748. package/components/axis-options.config-s-Js3ug-.cjs +0 -20
  1749. package/components/axis-options.i18n-BOGRmWjp.js +0 -486
  1750. package/components/axis-options.i18n-Cw-DmewV.cjs +0 -20
  1751. package/components/bar-chart-options.config-CI17HU2I.cjs +0 -20
  1752. package/components/bar-chart-options.config-D1x5WPbL.js +0 -261
  1753. package/components/bar-chart-options.de-3qSh2TNr.js +0 -110
  1754. package/components/bar-chart-options.de-545XMRGl.cjs +0 -20
  1755. package/components/bar-chart-options.en-DAee9yHp.cjs +0 -20
  1756. package/components/bar-chart-options.en-DrhQe9rV.js +0 -110
  1757. package/components/bar-chart-options.es-BZ1yNzUQ.js +0 -110
  1758. package/components/bar-chart-options.es-CfoAEZ-0.cjs +0 -20
  1759. package/components/bar-chart-options.fr-5i13R8bs.js +0 -110
  1760. package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +0 -20
  1761. package/components/bar-chart-options.nl-Bb6XiSDH.cjs +0 -20
  1762. package/components/bar-chart-options.nl-DLj-qucU.js +0 -110
  1763. package/components/bar-chart-positioning.config-B4fazkYv.js +0 -59
  1764. package/components/bar-chart-positioning.config-B6A5m0ZR.cjs +0 -20
  1765. package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
  1766. package/components/bar-chart-slots.config-rMFwFprg.js +0 -50
  1767. package/components/base-BRTs2KqJ.js +0 -248
  1768. package/components/base-BWU343D_.cjs +0 -20
  1769. package/components/base-store-BhGpnbqi.js +0 -152
  1770. package/components/base-store-D5cDq6d4.cjs +0 -20
  1771. package/components/bliss-CK3rEnFv.js +0 -75
  1772. package/components/box-plot-options.config-CooBIc6N.js +0 -334
  1773. package/components/box-plot-options.config-Cp6H9fyb.cjs +0 -20
  1774. package/components/box-plot-options.de-BkgscmvG.js +0 -100
  1775. package/components/box-plot-options.de-alI5_N9d.cjs +0 -20
  1776. package/components/box-plot-options.en-5kGlvxx8.js +0 -100
  1777. package/components/box-plot-options.en-DUlXF9r9.cjs +0 -20
  1778. package/components/box-plot-options.es-CIm06Gpk.cjs +0 -20
  1779. package/components/box-plot-options.es-v_B9Xb9H.js +0 -100
  1780. package/components/box-plot-options.fr-C5j-Dzj6.cjs +0 -20
  1781. package/components/box-plot-options.fr-CRSOCgU5.js +0 -100
  1782. package/components/box-plot-options.nl-DtnBbRo5.cjs +0 -20
  1783. package/components/box-plot-options.nl-ZQjVZPau.js +0 -100
  1784. package/components/box-plot-positioning.config-BI9F_JjL.js +0 -48
  1785. package/components/box-plot-positioning.config-DVXXjP8U.cjs +0 -20
  1786. package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
  1787. package/components/box-plot-slots.config-DS2UIfRF.js +0 -40
  1788. package/components/bubble-chart-options.config-B6aLA_1d.js +0 -142
  1789. package/components/bubble-chart-options.config-e_0LM1Uw.cjs +0 -20
  1790. package/components/bubble-chart-options.de-Q2nhAQfu.js +0 -49
  1791. package/components/bubble-chart-options.en-DedkSXEc.js +0 -49
  1792. package/components/bubble-chart-options.es-B7bZFlIa.js +0 -49
  1793. package/components/bubble-chart-options.fr-Cz9T05xx.js +0 -49
  1794. package/components/bubble-chart-options.nl-BeiE-TWG.js +0 -49
  1795. package/components/bubble-chart-positioning.config-C0tGI4fC.cjs +0 -20
  1796. package/components/bubble-chart-positioning.config-DXhama4z.js +0 -55
  1797. package/components/bubble-chart-slots.config-2qy2RqaU.js +0 -47
  1798. package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
  1799. package/components/bullet-chart-options.config-CBmbmhzI.js +0 -76
  1800. package/components/bullet-chart-options.config-Drv0yQ4x.cjs +0 -20
  1801. package/components/bullet-chart-options.de-DHqxFlm7.js +0 -39
  1802. package/components/bullet-chart-options.de-DQhoZIdV.cjs +0 -20
  1803. package/components/bullet-chart-options.en-6vj0tO4B.js +0 -39
  1804. package/components/bullet-chart-options.en-CTpxw73t.cjs +0 -20
  1805. package/components/bullet-chart-options.es-Cc4GzyJG.cjs +0 -20
  1806. package/components/bullet-chart-options.es-DeDFLO8Z.js +0 -39
  1807. package/components/bullet-chart-options.fr-750sl4sT.js +0 -39
  1808. package/components/bullet-chart-options.fr-D2Z5WBfJ.cjs +0 -20
  1809. package/components/bullet-chart-options.nl-B7tw2hO6.cjs +0 -20
  1810. package/components/bullet-chart-options.nl-CS-xSSVr.js +0 -39
  1811. package/components/bullet-chart-positioning.config-Czlw32Ii.js +0 -56
  1812. package/components/bullet-chart-positioning.config-Dmb_yizO.cjs +0 -20
  1813. package/components/bullet-chart-slots.config-BaMmwIH0.js +0 -46
  1814. package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
  1815. package/components/calculate-data-field-icon-DrSg1PuD.js +0 -149
  1816. package/components/choropleth-map-options.config-DWWydGJ3.js +0 -352
  1817. package/components/choropleth-map-options.config-VG10yjwC.cjs +0 -20
  1818. package/components/choropleth-map-options.de-DXLufNgZ.js +0 -72
  1819. package/components/choropleth-map-options.en-DGENug11.js +0 -72
  1820. package/components/choropleth-map-options.es-Dn2Cv5D-.js +0 -72
  1821. package/components/choropleth-map-options.fr-CK0tUEO3.js +0 -72
  1822. package/components/choropleth-map-options.nl-CwA4TtvT.js +0 -72
  1823. package/components/choropleth-map-positioning.config-BWJmEGy6.js +0 -55
  1824. package/components/choropleth-map-positioning.config-JIj9p6-n.cjs +0 -20
  1825. package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
  1826. package/components/choropleth-map-slots.config-DqOi1kCn.js +0 -53
  1827. package/components/circle-pack-chart-options.config-BmX0w3cH.cjs +0 -20
  1828. package/components/circle-pack-chart-options.config-D2RCikyA.js +0 -60
  1829. package/components/circle-pack-chart-options.de-BrrPqSBf.js +0 -31
  1830. package/components/circle-pack-chart-options.en-BdoNRanZ.js +0 -31
  1831. package/components/circle-pack-chart-options.es-DLQWaD31.js +0 -31
  1832. package/components/circle-pack-chart-options.fr-B66YY6lg.js +0 -31
  1833. package/components/circle-pack-chart-options.nl-kOeRMk4n.js +0 -31
  1834. package/components/circle-pack-chart-positioning.config-D3Ogj0P9.cjs +0 -20
  1835. package/components/circle-pack-chart-positioning.config-PhYH_yh8.js +0 -48
  1836. package/components/circle-pack-chart-slots.config-B7_1p86m.js +0 -38
  1837. package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
  1838. package/components/circular-gauge-options.config-CSIUw2VN.cjs +0 -20
  1839. package/components/circular-gauge-options.config-syWQJHKT.js +0 -193
  1840. package/components/circular-gauge-options.de-D1DVq08k.js +0 -57
  1841. package/components/circular-gauge-options.en-CsH_VhDL.js +0 -57
  1842. package/components/circular-gauge-options.es-BkiRMNis.js +0 -57
  1843. package/components/circular-gauge-options.fr-CxySNula.js +0 -57
  1844. package/components/circular-gauge-options.nl-CcQpr_DM.js +0 -57
  1845. package/components/circular-gauge-positioning.config-COSdEO1U.js +0 -48
  1846. package/components/circular-gauge-positioning.config-DxfZmoEP.cjs +0 -20
  1847. package/components/circular-gauge-slots.config-BxjCP1ao.js +0 -39
  1848. package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
  1849. package/components/classic-BLOsKyb3.js +0 -82
  1850. package/components/classic-dark-Bw01Wzq_.js +0 -73
  1851. package/components/color-BWnYpOu7.js +0 -3812
  1852. package/components/color-Bl8h58rV.cjs +0 -20
  1853. package/components/color-palettes-D4z1ONyx.js +0 -1474
  1854. package/components/color-range-utils-C3HJJUS1.cjs +0 -20
  1855. package/components/color-range-utils-CiqduHJS.js +0 -63
  1856. package/components/column-chart-options.config-B2LIl9lL.js +0 -260
  1857. package/components/column-chart-options.config-xmSH4NKF.cjs +0 -20
  1858. package/components/column-chart-options.de-BX13JkAO.cjs +0 -20
  1859. package/components/column-chart-options.de-CIYtauiG.js +0 -110
  1860. package/components/column-chart-options.en-BkAsfXYV.js +0 -110
  1861. package/components/column-chart-options.en-DAee9yHp.cjs +0 -20
  1862. package/components/column-chart-options.es-CClMQLE-.cjs +0 -20
  1863. package/components/column-chart-options.es-jWM7TxS7.js +0 -110
  1864. package/components/column-chart-options.fr-BB6301nS.js +0 -110
  1865. package/components/column-chart-options.fr-C2Ic0Dq0.cjs +0 -20
  1866. package/components/column-chart-options.nl-Bb6XiSDH.cjs +0 -20
  1867. package/components/column-chart-options.nl-HUMDgKdl.js +0 -110
  1868. package/components/column-chart-positioning.config-6OVsL5vU.cjs +0 -20
  1869. package/components/column-chart-positioning.config-BRYZk4cF.js +0 -55
  1870. package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
  1871. package/components/column-chart-slots.config-D6MBTcj4.js +0 -50
  1872. package/components/combination-chart-options.config-0ATFph8S.js +0 -139
  1873. package/components/combination-chart-options.config-IEamJGCp.cjs +0 -20
  1874. package/components/combination-chart-options.de-BiGjuWUS.cjs +0 -20
  1875. package/components/combination-chart-options.de-DVJ9sfLC.js +0 -66
  1876. package/components/combination-chart-options.en-B5piXq82.js +0 -66
  1877. package/components/combination-chart-options.en-e4XMalU0.cjs +0 -20
  1878. package/components/combination-chart-options.es-BmuyyP32.js +0 -66
  1879. package/components/combination-chart-options.es-OXb8nozF.cjs +0 -20
  1880. package/components/combination-chart-options.fr-CIrnpWEu.js +0 -66
  1881. package/components/combination-chart-options.fr-CYzANyZs.cjs +0 -20
  1882. package/components/combination-chart-options.nl-BDJ7t0BY.js +0 -66
  1883. package/components/combination-chart-options.nl-DyAUjvqC.cjs +0 -20
  1884. package/components/combination-chart-positioning.config-4qgeM8BL.cjs +0 -20
  1885. package/components/combination-chart-positioning.config-CTj23r8f.js +0 -48
  1886. package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
  1887. package/components/combination-chart-slots.config-dYT9lz8M.js +0 -43
  1888. package/components/conditional-number-options.config-Bv2xONtI.js +0 -210
  1889. package/components/conditional-number-options.config-ZVtstIjn.cjs +0 -20
  1890. package/components/conditional-number-options.de-2xle1pGz.js +0 -60
  1891. package/components/conditional-number-options.en-JLoF4JZy.js +0 -60
  1892. package/components/conditional-number-options.es-C_g0UqIh.js +0 -60
  1893. package/components/conditional-number-options.fr-C5cASVba.js +0 -60
  1894. package/components/conditional-number-options.nl-DiV3DzXR.js +0 -60
  1895. package/components/conditional-number-positioning.config-BUdWeVNm.js +0 -48
  1896. package/components/conditional-number-positioning.config-Dg67t4VA.cjs +0 -20
  1897. package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
  1898. package/components/conditional-number-slots.config-DtYkqtN8.js +0 -39
  1899. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
  1900. package/components/create-lazy-loader-BO_oTDF5.js +0 -31
  1901. package/components/cs-wc4Fl7IN.js +0 -126
  1902. package/components/da-Byf4w3lJ.js +0 -126
  1903. package/components/data-broker-B0uUO5er.js +0 -1684
  1904. package/components/data-broker-CyMYR6w1.cjs +0 -20
  1905. package/components/data-field-CwC5VH16.js +0 -122
  1906. package/components/data-field-DHpgI_wv.cjs +0 -54
  1907. package/components/data-field-level-8-eOBdl6.cjs +0 -55
  1908. package/components/data-field-level-Ben_W9pd.js +0 -248
  1909. package/components/data-field-panel-CiuTVMXF.cjs +0 -87
  1910. package/components/data-field-panel-DppKRagT.js +0 -386
  1911. package/components/data-fields-select-DjDeBEj-.cjs +0 -43
  1912. package/components/data-fields-select-HwMkrPAn.js +0 -290
  1913. package/components/dataset-icon-BEq1MNml.js +0 -126
  1914. package/components/dataset-icon-tec1Xulw.cjs +0 -64
  1915. package/components/dataset-selector-list-BL2uKzCy.cjs +0 -75
  1916. package/components/dataset-selector-list-BWavenTF.js +0 -324
  1917. package/components/dataset-selector-row-CRh_a2TO.cjs +0 -104
  1918. package/components/dataset-selector-row-CiqZrv0T.js +0 -444
  1919. package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
  1920. package/components/date-comparison-filter-options.config-DgLx-m3L.js +0 -126
  1921. package/components/date-comparison-filter-options.de-BSRz6o0Y.js +0 -55
  1922. package/components/date-comparison-filter-options.en-DLbsNe_t.js +0 -55
  1923. package/components/date-comparison-filter-options.es-ChO2qlIh.js +0 -55
  1924. package/components/date-comparison-filter-options.fr-D9HKPj4L.js +0 -55
  1925. package/components/date-comparison-filter-options.nl-BOMQo1X3.js +0 -55
  1926. package/components/date-comparison-filter-positioning.config-DokVHoP8.js +0 -38
  1927. package/components/date-comparison-filter-slots.config-BKZ13uzB.js +0 -33
  1928. package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +0 -20
  1929. package/components/date-filter-options.config-Cbiy0QKd.js +0 -118
  1930. package/components/date-filter-options.config-saR_u4w-.cjs +0 -20
  1931. package/components/date-filter-options.de-DVRUmqQh.js +0 -51
  1932. package/components/date-filter-options.en-Df-q6Eqf.js +0 -51
  1933. package/components/date-filter-options.es-eclXOdtw.js +0 -51
  1934. package/components/date-filter-options.fr-B6CHuun3.js +0 -51
  1935. package/components/date-filter-options.nl-qgltgj2Q.js +0 -51
  1936. package/components/date-filter-positioning.config-D8wFL4L9.js +0 -38
  1937. package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
  1938. package/components/date-filter-slots.config-SzWky1y7.js +0 -37
  1939. package/components/de-BhKtDR6p.js +0 -565
  1940. package/components/de-DXFLsh4N.cjs +0 -20
  1941. package/components/de-OHJ9YCFU.js +0 -138
  1942. package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
  1943. package/components/decorate-DyMgX_Uh.js +0 -28
  1944. package/components/default-B35Bj34G.js +0 -78
  1945. package/components/default-acceptable-data-field-types-DFOFWWnT.js +0 -53
  1946. package/components/default-acceptable-data-field-types-fPsz64ka.cjs +0 -20
  1947. package/components/default-dark-CRMTsWZ1.js +0 -78
  1948. package/components/display-settings-Dmvi7XT-.cjs +0 -142
  1949. package/components/display-settings-V5AltVPN.js +0 -316
  1950. package/components/display-settings-binning-BNofVnZE.js +0 -111
  1951. package/components/display-settings-binning-C1Fvc8tj.cjs +0 -56
  1952. package/components/display-settings-datetime-CUR1w0k5.js +0 -414
  1953. package/components/display-settings-datetime-OiFwicTh.cjs +0 -217
  1954. package/components/display-settings-grand-totals-Bi1OcC7p.cjs +0 -44
  1955. package/components/display-settings-grand-totals-CgzHbK1K.js +0 -90
  1956. package/components/display-settings-numeric-BQ_vQrnj.cjs +0 -190
  1957. package/components/display-settings-numeric-CUWkiQtR.js +0 -480
  1958. package/components/display-settings-period-over-period-Br08rz7r.cjs +0 -227
  1959. package/components/display-settings-period-over-period-C7cfSyIL.js +0 -443
  1960. package/components/donut-chart-options.config-C8wpZzyJ.js +0 -217
  1961. package/components/donut-chart-options.config-LbmJpNlm.cjs +0 -20
  1962. package/components/donut-chart-options.de-MwhxVUQU.cjs +0 -20
  1963. package/components/donut-chart-options.de-yLZjyrqC.js +0 -85
  1964. package/components/donut-chart-options.en-CtvZekZO.js +0 -85
  1965. package/components/donut-chart-options.en-Z9kCIcjz.cjs +0 -20
  1966. package/components/donut-chart-options.es-C89OYrl4.js +0 -85
  1967. package/components/donut-chart-options.es-Ch83fRxI.cjs +0 -20
  1968. package/components/donut-chart-options.fr-B7JWWsro.cjs +0 -20
  1969. package/components/donut-chart-options.fr-Cy4UUjdS.js +0 -85
  1970. package/components/donut-chart-options.nl-BT6vFbJ5.js +0 -85
  1971. package/components/donut-chart-options.nl-Brxyw7wD.cjs +0 -20
  1972. package/components/donut-chart-positioning.config-B4JdERSl.cjs +0 -20
  1973. package/components/donut-chart-positioning.config-CWGYZUec.js +0 -48
  1974. package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
  1975. package/components/donut-chart-slots.config-fGqtoKZi.js +0 -39
  1976. package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
  1977. package/components/dropdown-filter-options.config-DkiapYtc.js +0 -153
  1978. package/components/dropdown-filter-options.de-CGwxbXwe.js +0 -54
  1979. package/components/dropdown-filter-options.en-D4YCo5Bj.js +0 -54
  1980. package/components/dropdown-filter-options.es-BvFyqxrr.js +0 -54
  1981. package/components/dropdown-filter-options.fr-9KlpP9JQ.js +0 -54
  1982. package/components/dropdown-filter-options.nl-4HUfHHPT.js +0 -54
  1983. package/components/dropdown-filter-positioning.config-D1tdnuCP.js +0 -38
  1984. package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
  1985. package/components/dropdown-filter-slots.config-DPcT6v-9.js +0 -38
  1986. package/components/en-CcLhGxIh.js +0 -21
  1987. package/components/en-GB-DzkdeUQh.js +0 -28
  1988. package/components/en-GB-uxY5qmIM.cjs +0 -20
  1989. package/components/en-US-CcLhGxIh.js +0 -21
  1990. package/components/en-US-q_Ruzags.cjs +0 -20
  1991. package/components/en-q_Ruzags.cjs +0 -20
  1992. package/components/es-DK-49nGv.cjs +0 -20
  1993. package/components/es-DUENN-m1.js +0 -565
  1994. package/components/es-DuN6cMja.js +0 -331
  1995. package/components/evolution-number-options.config-Ca9ABNVM.js +0 -230
  1996. package/components/evolution-number-options.config-CoGBgLLw.cjs +0 -20
  1997. package/components/evolution-number-options.de-BrdcqfjF.js +0 -76
  1998. package/components/evolution-number-options.de-CjNBpzAw.cjs +0 -20
  1999. package/components/evolution-number-options.en-B9BpR4nq.cjs +0 -20
  2000. package/components/evolution-number-options.en-Sd6L4_T9.js +0 -76
  2001. package/components/evolution-number-options.es-CxbiY9G6.cjs +0 -20
  2002. package/components/evolution-number-options.es-RgSav5iQ.js +0 -76
  2003. package/components/evolution-number-options.fr-BD73JeDU.js +0 -76
  2004. package/components/evolution-number-options.fr-Cae20bgZ.cjs +0 -20
  2005. package/components/evolution-number-options.nl-BJ-5M5kB.cjs +0 -20
  2006. package/components/evolution-number-options.nl-WHBQ04_S.js +0 -76
  2007. package/components/evolution-number-positioning.config-CqQeAPbN.cjs +0 -20
  2008. package/components/evolution-number-positioning.config-DZ7SVvue.js +0 -48
  2009. package/components/evolution-number-slots.config-CKawNqUS.js +0 -37
  2010. package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
  2011. package/components/fi-vuFNiOkH.js +0 -126
  2012. package/components/filter-expression-picker-3xcrAACt.js +0 -434
  2013. package/components/filter-expression-picker-BrtXMSBv.cjs +0 -40
  2014. package/components/filter-item-CH5sjhJy.js +0 -793
  2015. package/components/filter-item-C_h4rbuL.cjs +0 -111
  2016. package/components/filter-parameter-picker-CB3uIoZ2.js +0 -372
  2017. package/components/filter-parameter-picker-DJKHZxlT.cjs +0 -124
  2018. package/components/filter-value-picker-CW9vKpn1.cjs +0 -69
  2019. package/components/filter-value-picker-DeO855hf.js +0 -170
  2020. package/components/filter-value-picker-datetime-B0lLveRY.js +0 -160
  2021. package/components/filter-value-picker-datetime-DapMI9Jr.cjs +0 -51
  2022. package/components/filter-value-picker-hierarchy-B2xSmjFz.js +0 -316
  2023. package/components/filter-value-picker-hierarchy-C9mJ8PH7.cjs +0 -54
  2024. package/components/filter-value-picker-numeric-CayroCHe.js +0 -237
  2025. package/components/filter-value-picker-numeric-DE5h7dZN.cjs +0 -54
  2026. package/components/filters-CGqIDlPK.cjs +0 -199
  2027. package/components/filters-D5oua2IU.js +0 -927
  2028. package/components/formatter-BeXmurVe.cjs +0 -20
  2029. package/components/formatter-Cq5dFCyU.js +0 -1473
  2030. package/components/formula-8YhND5Y7.cjs +0 -45
  2031. package/components/formula-B4lrmE5g.js +0 -139
  2032. package/components/formula-codemirror-CBvQJGHq.cjs +0 -215
  2033. package/components/formula-codemirror-CVlF_Qyh.js +0 -12019
  2034. package/components/formula-display-store-BJvPYYsO.cjs +0 -20
  2035. package/components/formula-display-store-D9MWhreP.js +0 -1087
  2036. package/components/formula-editor-BGT-QcuH.js +0 -691
  2037. package/components/formula-editor-De9Zj-9c.cjs +0 -224
  2038. package/components/formula-field--gNwmTRk.cjs +0 -20
  2039. package/components/formula-field-CQcnyXOD.js +0 -41
  2040. package/components/formula-input-base-BdKh5O_E.js +0 -236
  2041. package/components/formula-input-base-CZih19kC.cjs +0 -49
  2042. package/components/fr-CePmGBUH.js +0 -565
  2043. package/components/fr-CwOLJGv2.js +0 -331
  2044. package/components/fr-uE3fb3kc.cjs +0 -20
  2045. package/components/funnel-chart-options.config-CygQsQVD.js +0 -211
  2046. package/components/funnel-chart-options.config-DgpM8mWb.cjs +0 -20
  2047. package/components/funnel-chart-options.de-CW29wkd4.cjs +0 -20
  2048. package/components/funnel-chart-options.de-DIoKO3fr.js +0 -76
  2049. package/components/funnel-chart-options.en-CGVFwHzU.cjs +0 -20
  2050. package/components/funnel-chart-options.en-Doj4mREG.js +0 -76
  2051. package/components/funnel-chart-options.es-Bcot5MS3.cjs +0 -20
  2052. package/components/funnel-chart-options.es-D-GP_b6C.js +0 -76
  2053. package/components/funnel-chart-options.fr-7ZROacsE.cjs +0 -20
  2054. package/components/funnel-chart-options.fr-BoQkeuls.js +0 -76
  2055. package/components/funnel-chart-options.nl-C0VZ6Ure.cjs +0 -20
  2056. package/components/funnel-chart-options.nl-CRq-RjxK.js +0 -76
  2057. package/components/funnel-chart-positioning.config-B6I8z0_N.js +0 -48
  2058. package/components/funnel-chart-positioning.config-BhK0EStG.cjs +0 -20
  2059. package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
  2060. package/components/funnel-chart-slots.config-CfnSH4Ay.js +0 -43
  2061. package/components/get-css-variable-CBXsAxR6.cjs +0 -20
  2062. package/components/get-css-variable-DYnldi15.js +0 -63
  2063. package/components/get-dataset-name-DLjeChNS.js +0 -32
  2064. package/components/get-dataset-name-mGNEfkAv.cjs +0 -20
  2065. package/components/groupings-C1WNuUBe.js +0 -52
  2066. package/components/groupings-CvXvU4Fr.cjs +0 -20
  2067. package/components/guidelines-options.config-DyedEeX2.js +0 -48
  2068. package/components/he-Cs_3gvpL.js +0 -126
  2069. package/components/heat-map-options.config-DtDh9Gpy.cjs +0 -20
  2070. package/components/heat-map-options.config-X96sw-BV.js +0 -226
  2071. package/components/heat-map-options.de-CdqO8c7P.js +0 -75
  2072. package/components/heat-map-options.en-BAnXacHE.js +0 -75
  2073. package/components/heat-map-options.es-8rTCVZlw.js +0 -75
  2074. package/components/heat-map-options.fr-DbGhKWbq.js +0 -75
  2075. package/components/heat-map-options.nl-nw2vqBOn.js +0 -75
  2076. package/components/heat-map-positioning.config-B9Njs88T.cjs +0 -20
  2077. package/components/heat-map-positioning.config-DAAt2hIR.js +0 -48
  2078. package/components/heat-map-slots.config-D2ypExJQ.js +0 -37
  2079. package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
  2080. package/components/heat-table-options.config-CugBuoUA.cjs +0 -20
  2081. package/components/heat-table-options.config-D6dA9J97.js +0 -269
  2082. package/components/heat-table-options.de-D16uyY3b.cjs +0 -20
  2083. package/components/heat-table-options.de-PCwpTsHu.js +0 -112
  2084. package/components/heat-table-options.en-DCNhZ0Qw.js +0 -112
  2085. package/components/heat-table-options.en-Dhd_yZdX.cjs +0 -20
  2086. package/components/heat-table-options.es-DPqviw02.cjs +0 -20
  2087. package/components/heat-table-options.es-Dhtu0ztS.js +0 -112
  2088. package/components/heat-table-options.fr-BVwdrQWA.cjs +0 -20
  2089. package/components/heat-table-options.fr-dtKsuwpe.js +0 -112
  2090. package/components/heat-table-options.nl-BAiKDY6k.cjs +0 -20
  2091. package/components/heat-table-options.nl-Bc0JFpfk.js +0 -112
  2092. package/components/heat-table-positioning.config-Cn7Ouv5g.cjs +0 -20
  2093. package/components/heat-table-positioning.config-D6ChanEH.js +0 -55
  2094. package/components/heat-table-slots.config-B1iOn6ay.js +0 -49
  2095. package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
  2096. package/components/helpers-irnB2xbq.js +0 -68
  2097. package/components/hexbin-map-options.config-BGmgxnMh.cjs +0 -20
  2098. package/components/hexbin-map-options.config-FK9DrXGD.js +0 -278
  2099. package/components/hexbin-map-options.de-IOtNvdRA.js +0 -108
  2100. package/components/hexbin-map-options.en-DKEF0zQn.js +0 -108
  2101. package/components/hexbin-map-options.es-FkXMepZ7.js +0 -108
  2102. package/components/hexbin-map-options.fr-DT7-Cefu.js +0 -108
  2103. package/components/hexbin-map-options.nl-BwgDBrw4.js +0 -108
  2104. package/components/hexbin-map-positioning.config-BqfRSZbU.cjs +0 -20
  2105. package/components/hexbin-map-positioning.config-CNId41q1.js +0 -48
  2106. package/components/hexbin-map-slots.config-CC1xZINm.js +0 -37
  2107. package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
  2108. package/components/hu-BXedq4ZF.js +0 -126
  2109. package/components/icon-element-_jY440X2.js +0 -85
  2110. package/components/image-options.config-DZ5q1D63.cjs +0 -20
  2111. package/components/image-options.config-DxF0RSUF.js +0 -153
  2112. package/components/image-options.de-Bh8QqYb_.js +0 -86
  2113. package/components/image-options.en-D2iUVarz.js +0 -86
  2114. package/components/image-options.es-CKpabSfB.js +0 -86
  2115. package/components/image-options.fr-vfaeguWy.js +0 -86
  2116. package/components/image-options.nl-B16JINhD.js +0 -86
  2117. package/components/image-slots.config-BPJRdlMR.cjs +0 -20
  2118. package/components/image-slots.config-Ba8NXeCH.js +0 -24
  2119. package/components/info-tooltip-options.config-BmSMkirf.js +0 -59
  2120. package/components/info-tooltip-options.i18n-CDx47Py-.js +0 -74
  2121. package/components/interactive-viz-item-CzIT8K3I.js +0 -723
  2122. package/components/interactive-viz-item-DUyE1QEJ.cjs +0 -249
  2123. package/components/interactivity-options.config-BjEGNaIz.js +0 -73
  2124. package/components/interactivity-options.i18n-UhOnnlBC.js +0 -59
  2125. package/components/it-BoudiwDn.js +0 -331
  2126. package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
  2127. package/components/item-grid-BaW6EZ2a.js +0 -4560
  2128. package/components/item-grid-BcgBGxIq.cjs +0 -113
  2129. package/components/item-option-8PQMxg8v.cjs +0 -269
  2130. package/components/item-option-action-button-group-BcZTtikv.js +0 -119
  2131. package/components/item-option-action-button-group-zZp49Gbz.cjs +0 -53
  2132. package/components/item-option-base-DJ9FLqmu.js +0 -123
  2133. package/components/item-option-base-K2pn6CrX.cjs +0 -56
  2134. package/components/item-option-color-palette-picker-B9JlHGA8.cjs +0 -40
  2135. package/components/item-option-color-palette-picker-DJX3MxcT.js +0 -2042
  2136. package/components/item-option-color-picker-Dgz-VK03.js +0 -88
  2137. package/components/item-option-color-picker-ayYko5QB.cjs +0 -34
  2138. package/components/item-option-color-range-Cc8thG33.cjs +0 -98
  2139. package/components/item-option-color-range-DibSfro5.js +0 -221
  2140. package/components/item-option-em2Lp2zJ.js +0 -956
  2141. package/components/item-option-guidelines-DXUcdAel.js +0 -420
  2142. package/components/item-option-guidelines-h5-NrAYD.cjs +0 -135
  2143. package/components/item-option-multi-language-field-BlnTZCFJ.cjs +0 -33
  2144. package/components/item-option-multi-language-field-Bqo9OeK4.js +0 -83
  2145. package/components/item-option-number-field-BZHhCuuj.js +0 -103
  2146. package/components/item-option-number-field-D9vv1Q-O.cjs +0 -38
  2147. package/components/item-option-panel-Bo3sC4u5.cjs +0 -67
  2148. package/components/item-option-panel-DvgDiRPH.js +0 -184
  2149. package/components/item-option-picker-D5xhm36O.cjs +0 -37
  2150. package/components/item-option-picker-cy0KK-ev.js +0 -78
  2151. package/components/item-option-position-picker-BJ35DWBL.cjs +0 -32
  2152. package/components/item-option-position-picker-BbYP1Jnh.js +0 -118
  2153. package/components/item-option-positions-number-field-DO4z_aKu.js +0 -165
  2154. package/components/item-option-positions-number-field-DzYQoSpk.cjs +0 -49
  2155. package/components/item-option-radio-button-group-CF1gttvP.cjs +0 -37
  2156. package/components/item-option-radio-button-group-DX7wCv8J.js +0 -75
  2157. package/components/item-option-slider-DeGmGyZE.cjs +0 -33
  2158. package/components/item-option-slider-z1CwX5mE.js +0 -97
  2159. package/components/item-option-switch-D3jq7jIt.cjs +0 -30
  2160. package/components/item-option-switch-D41KguKr.js +0 -70
  2161. package/components/item-option-text-field-CnFcApMz.js +0 -81
  2162. package/components/item-option-text-field-cXy2sx5N.cjs +0 -33
  2163. package/components/item-slot-drop-CtEMLkmt.cjs +0 -91
  2164. package/components/item-slot-drop-YAKpKb2-.js +0 -332
  2165. package/components/item-slot-drop-panel-JZtBKPJu.js +0 -356
  2166. package/components/item-slot-drop-panel-aom0ugTz.cjs +0 -57
  2167. package/components/item-slot-picker-D-FvHowO.js +0 -506
  2168. package/components/item-slot-picker-D8h7QXGD.cjs +0 -174
  2169. package/components/item-slot-picker-panel-C98lpd4g.cjs +0 -81
  2170. package/components/item-slot-picker-panel-g4JDw1M_.js +0 -449
  2171. package/components/ja-DOkmGGSd.js +0 -126
  2172. package/components/ko-BrzKwqTe.js +0 -126
  2173. package/components/line-chart-options.config-C3_RnROS.js +0 -237
  2174. package/components/line-chart-options.config-RTYFJQSE.cjs +0 -20
  2175. package/components/line-chart-options.de-CKbHARjX.cjs +0 -20
  2176. package/components/line-chart-options.de-CtxTZ-Nx.js +0 -81
  2177. package/components/line-chart-options.en-BgXtU92P.js +0 -81
  2178. package/components/line-chart-options.en-DmtT3Hbw.cjs +0 -20
  2179. package/components/line-chart-options.es--u7QlrhG.js +0 -81
  2180. package/components/line-chart-options.es-BwyQviz-.cjs +0 -20
  2181. package/components/line-chart-options.fr-BUwOFGR7.cjs +0 -20
  2182. package/components/line-chart-options.fr-BaPc1M70.js +0 -81
  2183. package/components/line-chart-options.nl-BkPXShNF.cjs +0 -20
  2184. package/components/line-chart-options.nl-C86fSn7a.js +0 -81
  2185. package/components/line-chart-positioning.config-BZUWqKWz.cjs +0 -20
  2186. package/components/line-chart-positioning.config-C3VzNcws.js +0 -55
  2187. package/components/line-chart-slots.config-CA-I6B6o.js +0 -55
  2188. package/components/line-chart-slots.config-vv66fcoE.cjs +0 -20
  2189. package/components/load-data-fields-for-datasets-B3XcFFfg.js +0 -42
  2190. package/components/load-data-fields-for-datasets-rL24A68g.cjs +0 -20
  2191. package/components/localize-BT7REYBY.js +0 -29
  2192. package/components/localized-mixin-DaLXe5J9.js +0 -45
  2193. package/components/localized-mixin-DiUJOd06.cjs +0 -20
  2194. package/components/map-tile-providers-RN2cWRln.js +0 -115
  2195. package/components/marker-map-options.config-OMdgbAc4.js +0 -122
  2196. package/components/marker-map-options.config-SkhbtEh0.cjs +0 -20
  2197. package/components/marker-map-options.de-DVb2ab5i.js +0 -63
  2198. package/components/marker-map-options.en-BNwkDxQB.js +0 -63
  2199. package/components/marker-map-options.es-CY2DRGKv.js +0 -63
  2200. package/components/marker-map-options.fr-D31wgwxG.js +0 -63
  2201. package/components/marker-map-options.nl-DyZo_CFt.js +0 -63
  2202. package/components/marker-map-positioning.config-BlvgG6yX.js +0 -48
  2203. package/components/marker-map-positioning.config-CGF74mJI.cjs +0 -20
  2204. package/components/marker-map-slots.config-CcGNgr1_.js +0 -37
  2205. package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
  2206. package/components/mk-Deht4BwZ.js +0 -126
  2207. package/components/nl-BaZM3WoR.js +0 -565
  2208. package/components/nl-BoEhzeIh.cjs +0 -20
  2209. package/components/nl-C1BTOQ5N.js +0 -138
  2210. package/components/no-C9FQ33Mp.js +0 -138
  2211. package/components/ohlc-chart-options.config-CWRI5bXI.js +0 -94
  2212. package/components/ohlc-chart-options.config-Pqd5MFIv.cjs +0 -20
  2213. package/components/ohlc-chart-options.de-LnJmQjiR.js +0 -63
  2214. package/components/ohlc-chart-options.en-B7TU8CK4.js +0 -63
  2215. package/components/ohlc-chart-options.es-B7m8-_pA.js +0 -63
  2216. package/components/ohlc-chart-options.fr-u_Bi9raw.js +0 -63
  2217. package/components/ohlc-chart-options.nl-BrpwjNGt.js +0 -63
  2218. package/components/ohlc-chart-positioning.config-B__cD7Wo.cjs +0 -20
  2219. package/components/ohlc-chart-positioning.config-BdbEgiry.js +0 -78
  2220. package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
  2221. package/components/ohlc-chart-slots.config-Pv0xst-Y.js +0 -68
  2222. package/components/orion-CXeT8EeB.js +0 -68
  2223. package/components/parallel-coordinates-plot-options.config-2BbzNgJ9.cjs +0 -20
  2224. package/components/parallel-coordinates-plot-options.config-DbuNgevO.js +0 -48
  2225. package/components/parallel-coordinates-plot-options.de-BwbOcCnH.js +0 -31
  2226. package/components/parallel-coordinates-plot-options.en-BlzPfF-b.js +0 -31
  2227. package/components/parallel-coordinates-plot-options.es-CPAqJPEY.js +0 -31
  2228. package/components/parallel-coordinates-plot-options.fr-DRTOCvqg.js +0 -31
  2229. package/components/parallel-coordinates-plot-options.nl-DqXxaV_Z.js +0 -31
  2230. package/components/parallel-coordinates-plot-positioning.config-BqdmUJLk.cjs +0 -20
  2231. package/components/parallel-coordinates-plot-positioning.config-DNu5qhNR.js +0 -48
  2232. package/components/parallel-coordinates-plot-slots.config-GvYC-RXK.js +0 -46
  2233. package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
  2234. package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
  2235. package/components/periods.const-NCTkxnvG.js +0 -155
  2236. package/components/pinky-CtuaRwwY.js +0 -68
  2237. package/components/pivot-table-options.config-CTz4bcGJ.js +0 -249
  2238. package/components/pivot-table-options.config-D6Hdgnof.cjs +0 -20
  2239. package/components/pivot-table-options.de-CZjCOf23.js +0 -67
  2240. package/components/pivot-table-options.en-Z6QZwj0n.js +0 -67
  2241. package/components/pivot-table-options.es-DW1enov2.js +0 -67
  2242. package/components/pivot-table-options.fr-Cl4jkSR4.js +0 -67
  2243. package/components/pivot-table-options.nl-CaWEP9qN.js +0 -67
  2244. package/components/pivot-table-positioning.config-CUfnXIHj.js +0 -55
  2245. package/components/pivot-table-positioning.config-DDpgWCZ7.cjs +0 -20
  2246. package/components/pivot-table-slots.config-BAW0U3nh.js +0 -55
  2247. package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
  2248. package/components/pl-4xvkt0Pl.js +0 -126
  2249. package/components/pragmatic-element-adapter-D0LRKx5U.js +0 -1253
  2250. package/components/pragmatic-element-adapter-DdyH32ix.cjs +0 -24
  2251. package/components/pt-BUpCBhz9.js +0 -126
  2252. package/components/pyramid-chart-options.config-C7btzuZj.js +0 -220
  2253. package/components/pyramid-chart-options.config-ClLsv7PT.cjs +0 -20
  2254. package/components/pyramid-chart-options.de-BYqibA2g.cjs +0 -20
  2255. package/components/pyramid-chart-options.de-C7n_k-tE.js +0 -102
  2256. package/components/pyramid-chart-options.en-Cu93qdAo.js +0 -102
  2257. package/components/pyramid-chart-options.en-HiLgjfbn.cjs +0 -20
  2258. package/components/pyramid-chart-options.es-BQ8qCZ32.cjs +0 -20
  2259. package/components/pyramid-chart-options.es-DCRAv4r_.js +0 -102
  2260. package/components/pyramid-chart-options.fr-BA7xAAsG.cjs +0 -20
  2261. package/components/pyramid-chart-options.fr-CLXgcrPz.js +0 -102
  2262. package/components/pyramid-chart-options.nl-BYiPyjuQ.cjs +0 -20
  2263. package/components/pyramid-chart-options.nl-CylUmHpw.js +0 -102
  2264. package/components/pyramid-chart-positioning.config-B2TxqefZ.cjs +0 -20
  2265. package/components/pyramid-chart-positioning.config-CZBcrHEG.js +0 -55
  2266. package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
  2267. package/components/pyramid-chart-slots.config-CsMMyhV3.js +0 -50
  2268. package/components/radar-chart-options.config-B5WP2MPc.cjs +0 -20
  2269. package/components/radar-chart-options.config-CtA6MpUp.js +0 -152
  2270. package/components/radar-chart-options.de-BZPerBca.js +0 -46
  2271. package/components/radar-chart-options.de-D9sVJ3e-.cjs +0 -20
  2272. package/components/radar-chart-options.en-Brb_kgjH.cjs +0 -20
  2273. package/components/radar-chart-options.en-tDJgJQVC.js +0 -46
  2274. package/components/radar-chart-options.es-BmpV458O.cjs +0 -20
  2275. package/components/radar-chart-options.es-Dz4wRR-P.js +0 -46
  2276. package/components/radar-chart-options.fr-B-gaDJX4.cjs +0 -20
  2277. package/components/radar-chart-options.fr-D5KXeury.js +0 -46
  2278. package/components/radar-chart-options.nl-D3_CmNB3.js +0 -46
  2279. package/components/radar-chart-options.nl-DH_wKvgI.cjs +0 -20
  2280. package/components/radar-chart-positioning.config-ddvHAHJF.cjs +0 -20
  2281. package/components/radar-chart-positioning.config-j1WOeFnM.js +0 -55
  2282. package/components/radar-chart-slots.config-8Kf_WAFi.js +0 -53
  2283. package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
  2284. package/components/radiant-CFMCU8Ue.js +0 -71
  2285. package/components/regular-table-options.config-BRmS77t-.js +0 -153
  2286. package/components/regular-table-options.config-nBBnO4ru.cjs +0 -20
  2287. package/components/regular-table-options.de-g9j453gb.js +0 -57
  2288. package/components/regular-table-options.en-BrufALdp.js +0 -57
  2289. package/components/regular-table-options.es-CTDJJHWO.js +0 -57
  2290. package/components/regular-table-options.fr-CwmYI6Kh.js +0 -57
  2291. package/components/regular-table-options.nl-Dco7Br5G.js +0 -57
  2292. package/components/regular-table-positioning.config-DegSA7rc.js +0 -38
  2293. package/components/regular-table-slots.config-UwzWj6gg.cjs +0 -20
  2294. package/components/regular-table-slots.config-r-N9A-qA.js +0 -35
  2295. package/components/resolve-column-presentation-BaEP1mvs.js +0 -34
  2296. package/components/rolldown-runtime-mLOUI7ql.cjs +0 -20
  2297. package/components/route-map-options.config-C65J81_7.js +0 -328
  2298. package/components/route-map-options.config-DS9cCAQK.cjs +0 -20
  2299. package/components/route-map-options.de-C8gPppGo.js +0 -76
  2300. package/components/route-map-options.en-Bqo2qPTY.js +0 -76
  2301. package/components/route-map-options.es-Bk1nyazp.js +0 -76
  2302. package/components/route-map-options.fr-vq0ht9wS.js +0 -76
  2303. package/components/route-map-options.nl-CBhNlitV.js +0 -76
  2304. package/components/route-map-positioning.config-ChBYybF1.js +0 -66
  2305. package/components/route-map-positioning.config-xBhhxtYu.cjs +0 -20
  2306. package/components/route-map-slots.config-DMII2UuP.js +0 -59
  2307. package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
  2308. package/components/royale-Cy1oOAE2.js +0 -60
  2309. package/components/ru-CkNBR3ab.js +0 -126
  2310. package/components/sankey-diagram-options.config-DZDqv5aI.cjs +0 -20
  2311. package/components/sankey-diagram-options.config-nQDCRhKs.js +0 -130
  2312. package/components/sankey-diagram-options.de-CDt5-4Rb.js +0 -63
  2313. package/components/sankey-diagram-options.en-65nfEWo_.js +0 -63
  2314. package/components/sankey-diagram-options.es-JD4SHY3x.js +0 -63
  2315. package/components/sankey-diagram-options.fr-B7wQDggY.js +0 -63
  2316. package/components/sankey-diagram-options.nl-CHqVVjut.js +0 -63
  2317. package/components/sankey-diagram-positioning.config-CudMit_S.js +0 -66
  2318. package/components/sankey-diagram-positioning.config-tZu-dDV-.cjs +0 -20
  2319. package/components/sankey-diagram-slots.config-D-_u4w36.cjs +0 -20
  2320. package/components/sankey-diagram-slots.config-DmWIGut0.js +0 -61
  2321. package/components/scatter-plot-options.config-BplrME7w.js +0 -133
  2322. package/components/scatter-plot-options.config-DJW85uFv.cjs +0 -20
  2323. package/components/scatter-plot-options.de-3CPVK7Hi.cjs +0 -20
  2324. package/components/scatter-plot-options.de-CNLrv6j3.js +0 -99
  2325. package/components/scatter-plot-options.en-DigMzpQy.js +0 -99
  2326. package/components/scatter-plot-options.en-Dzvigy8-.cjs +0 -20
  2327. package/components/scatter-plot-options.es-C-IH7GVH.cjs +0 -20
  2328. package/components/scatter-plot-options.es-CQm_VVqJ.js +0 -99
  2329. package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +0 -20
  2330. package/components/scatter-plot-options.fr-s0M39VT4.js +0 -99
  2331. package/components/scatter-plot-options.nl-CqpPIO03.js +0 -99
  2332. package/components/scatter-plot-options.nl-DeINlMqc.cjs +0 -20
  2333. package/components/scatter-plot-positioning.config-BoJEGmgK.js +0 -77
  2334. package/components/scatter-plot-positioning.config-DQOtIhJi.cjs +0 -20
  2335. package/components/scatter-plot-slots.config-B7wQVEEj.js +0 -74
  2336. package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
  2337. package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
  2338. package/components/search-filter-options.config-yAz6IIto.js +0 -103
  2339. package/components/search-filter-options.de-BxVThclj.js +0 -42
  2340. package/components/search-filter-options.en-CVxOFFq-.js +0 -42
  2341. package/components/search-filter-options.es-YKtCfXeL.js +0 -42
  2342. package/components/search-filter-options.fr-GGa8ofab.js +0 -42
  2343. package/components/search-filter-options.nl-ysVe1z-i.js +0 -42
  2344. package/components/search-filter-positioning.config-DOSL-FX_.js +0 -38
  2345. package/components/search-filter-slots.config-D8-V0BT5.js +0 -39
  2346. package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
  2347. package/components/seasonal-DZkRSBgY.js +0 -76
  2348. package/components/set-locale-Xh_1AFbC.cjs +0 -20
  2349. package/components/set-locale-ydAPif-7.js +0 -43
  2350. package/components/set-nested-value-V1TdquO3.js +0 -33
  2351. package/components/slicer-filter-options.config-BtGkT2hI.js +0 -235
  2352. package/components/slicer-filter-options.config-Cyjd_SRY.cjs +0 -20
  2353. package/components/slicer-filter-options.de-Ck5STkcT.js +0 -69
  2354. package/components/slicer-filter-options.en-RaYV5qQy.js +0 -69
  2355. package/components/slicer-filter-options.es-C1LS6cqV.js +0 -69
  2356. package/components/slicer-filter-options.fr-CYOej3j3.js +0 -69
  2357. package/components/slicer-filter-options.nl-B9CyFXTX.js +0 -69
  2358. package/components/slicer-filter-positioning.config-CY4jw7_A.js +0 -48
  2359. package/components/slicer-filter-positioning.config-CZY2fvwt.cjs +0 -20
  2360. package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
  2361. package/components/slicer-filter-slots.config-DR0Wg_Zr.js +0 -44
  2362. package/components/slider-filter-options.config-BeIw6IrQ.cjs +0 -20
  2363. package/components/slider-filter-options.config-D_yZ_nFz.js +0 -72
  2364. package/components/slider-filter-options.de-CUPN4B_3.js +0 -35
  2365. package/components/slider-filter-options.en-CqnlQHF8.js +0 -35
  2366. package/components/slider-filter-options.es-CN-cg2rH.js +0 -35
  2367. package/components/slider-filter-options.fr-BxgSJRs4.js +0 -35
  2368. package/components/slider-filter-options.nl-Cd41AI1Z.js +0 -35
  2369. package/components/slider-filter-positioning.config-DSoEN2ip.js +0 -38
  2370. package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
  2371. package/components/slider-filter-slots.config-BUHw-32u.js +0 -43
  2372. package/components/slot-labels.config-3nXLBRdr.js +0 -63
  2373. package/components/slot-menu-Bl6PrLIN.cjs +0 -71
  2374. package/components/slot-menu-hIK2_qR3.js +0 -429
  2375. package/components/slot-menu-list-BgwZS32Q.js +0 -348
  2376. package/components/slot-menu-list-BhgD2zt4.cjs +0 -44
  2377. package/components/slot-role-classification-2wChhpcq.cjs +0 -20
  2378. package/components/slot-role-classification-B8bkGhQ_.js +0 -133
  2379. package/components/slots-config-Cd4xAG4H.cjs +0 -20
  2380. package/components/slots-config-GlSNH7Gr.js +0 -76
  2381. package/components/spacer-options.config-C27xkF_H.js +0 -23
  2382. package/components/speedometer-chart-options.config-BL7evgzP.js +0 -251
  2383. package/components/speedometer-chart-options.config-CEIZfeYG.cjs +0 -20
  2384. package/components/speedometer-chart-options.de-9J5HFt8T.js +0 -66
  2385. package/components/speedometer-chart-options.en-DSQsXJfa.js +0 -66
  2386. package/components/speedometer-chart-options.es-BGphL673.js +0 -66
  2387. package/components/speedometer-chart-options.fr-Cj4C4th7.js +0 -66
  2388. package/components/speedometer-chart-options.nl-BKNd6tYT.js +0 -66
  2389. package/components/speedometer-chart-positioning.config-D3CWnYTb.cjs +0 -20
  2390. package/components/speedometer-chart-positioning.config-cBMverSU.js +0 -48
  2391. package/components/speedometer-chart-slots.config-2Y_x52Gy.js +0 -39
  2392. package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
  2393. package/components/spike-map-options.config-BRwdTyrp.cjs +0 -20
  2394. package/components/spike-map-options.config-DjoTrAsC.js +0 -415
  2395. package/components/spike-map-options.de-J48HW0-l.js +0 -103
  2396. package/components/spike-map-options.en-Cic1NUan.js +0 -103
  2397. package/components/spike-map-options.es-DbCa45oc.js +0 -103
  2398. package/components/spike-map-options.fr-LqDsPbpZ.js +0 -103
  2399. package/components/spike-map-options.nl-CRaM6WoB.js +0 -103
  2400. package/components/spike-map-positioning.config-i7ntIkN5.cjs +0 -20
  2401. package/components/spike-map-positioning.config-vuoKutnj.js +0 -55
  2402. package/components/spike-map-slots.config-DJWMFPIR.js +0 -47
  2403. package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
  2404. package/components/strip-plot-options.config-DpRoR04b.cjs +0 -20
  2405. package/components/strip-plot-options.config-tDmVlu9U.js +0 -54
  2406. package/components/strip-plot-options.de-vzJck0Vn.js +0 -31
  2407. package/components/strip-plot-options.en-Bdv_ZOrd.js +0 -31
  2408. package/components/strip-plot-options.es-B91vttJc.js +0 -31
  2409. package/components/strip-plot-options.fr-DJQiJ_Zf.js +0 -31
  2410. package/components/strip-plot-options.nl-Dx7PVRrW.js +0 -31
  2411. package/components/strip-plot-positioning.config-C2H-io7l.cjs +0 -20
  2412. package/components/strip-plot-positioning.config-_-ElbWoV.js +0 -48
  2413. package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
  2414. package/components/strip-plot-slots.config-suFyIf5-.js +0 -38
  2415. package/components/sunburst-chart-options.config-Bjue_lQN.js +0 -184
  2416. package/components/sunburst-chart-options.config-DszAtggj.cjs +0 -20
  2417. package/components/sunburst-chart-options.de-Cv5jxNjX.js +0 -60
  2418. package/components/sunburst-chart-options.de-DV_80qR9.cjs +0 -20
  2419. package/components/sunburst-chart-options.en-Zfns8M0i.cjs +0 -20
  2420. package/components/sunburst-chart-options.en-wsOVOyb6.js +0 -60
  2421. package/components/sunburst-chart-options.es-BSKiBxl_.cjs +0 -20
  2422. package/components/sunburst-chart-options.es-Qhu6VcVi.js +0 -60
  2423. package/components/sunburst-chart-options.fr-DOcWgNOZ.cjs +0 -20
  2424. package/components/sunburst-chart-options.fr-GdCEoo8O.js +0 -60
  2425. package/components/sunburst-chart-options.nl-D2JXoYTB.cjs +0 -20
  2426. package/components/sunburst-chart-options.nl-oTUKol5z.js +0 -60
  2427. package/components/sunburst-chart-positioning.config-MB8z_ZfG.cjs +0 -20
  2428. package/components/sunburst-chart-positioning.config-yzTnv1BQ.js +0 -48
  2429. package/components/sunburst-chart-slots.config-BqVT-h0Z.js +0 -38
  2430. package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +0 -20
  2431. package/components/sv-D2kQHkgH.js +0 -126
  2432. package/components/symbol-map-options.config-Ce0Kv7N7.cjs +0 -20
  2433. package/components/symbol-map-options.config-Dyeya5Z2.js +0 -179
  2434. package/components/symbol-map-options.de-CAapWyZM.js +0 -66
  2435. package/components/symbol-map-options.en-CaXeV5i_.js +0 -66
  2436. package/components/symbol-map-options.es-Ccu0xWZb.js +0 -66
  2437. package/components/symbol-map-options.fr-B7F1XlQX.js +0 -66
  2438. package/components/symbol-map-options.nl-DkV83AGA.js +0 -66
  2439. package/components/symbol-map-positioning.config-BPkEp4Pj.js +0 -55
  2440. package/components/symbol-map-positioning.config-L11e_Z3x.cjs +0 -20
  2441. package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
  2442. package/components/symbol-map-slots.config-Rhpher5o.js +0 -53
  2443. package/components/text-options.config-BwBCG2yo.cjs +0 -20
  2444. package/components/text-options.config-CXhvzzPF.js +0 -67
  2445. package/components/text-options.de-Rtef15Lz.js +0 -30
  2446. package/components/text-options.en-YdJ2bVwv.js +0 -30
  2447. package/components/text-options.es-Chd8-zuc.js +0 -30
  2448. package/components/text-options.fr-CWeBOXaW.js +0 -30
  2449. package/components/text-options.nl-CyY1z7nM.js +0 -30
  2450. package/components/text-slots.config-CPghLc8b.cjs +0 -20
  2451. package/components/text-slots.config-Dzj4-x2G.js +0 -24
  2452. package/components/themes-CQZd578_.js +0 -72
  2453. package/components/tokens-Ov1pCR4Y.js +0 -29
  2454. package/components/tr-B66hMkRl.js +0 -138
  2455. package/components/treemap-chart-options.config-BzOCEWog.js +0 -211
  2456. package/components/treemap-chart-options.config-Cpj6vD6I.cjs +0 -20
  2457. package/components/treemap-chart-options.de-ByDBntoA.js +0 -64
  2458. package/components/treemap-chart-options.en-0-5g1Vjs.js +0 -64
  2459. package/components/treemap-chart-options.es-CDkb_3c3.js +0 -64
  2460. package/components/treemap-chart-options.fr-rj0fjvUO.js +0 -64
  2461. package/components/treemap-chart-options.nl-CQjDtoqG.js +0 -64
  2462. package/components/treemap-chart-positioning.config-40_GcY2u.cjs +0 -20
  2463. package/components/treemap-chart-positioning.config-CitiBQB2.js +0 -55
  2464. package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
  2465. package/components/treemap-chart-slots.config-DRcafVU-.js +0 -47
  2466. package/components/type-check-CGREdneG.js +0 -52
  2467. package/components/types-DNRGKFSD.js +0 -44
  2468. package/components/urban-8R0DqHZs.js +0 -71
  2469. package/components/utils-SzKvwZ9-.cjs +0 -20
  2470. package/components/utils-_8LPCz9-.js +0 -240
  2471. package/components/v4-DIjJgmR0.js +0 -49
  2472. package/components/venn-diagram-options.config-BMlduwIp.js +0 -24
  2473. package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
  2474. package/components/venn-diagram-positioning.config-A28suR_R.js +0 -55
  2475. package/components/venn-diagram-positioning.config-C7bkb2Qv.cjs +0 -20
  2476. package/components/venn-diagram-slots.config-CMDndPVi.js +0 -47
  2477. package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
  2478. package/components/video-options.config-BhBpkaLJ.cjs +0 -20
  2479. package/components/video-options.config-DdfSTJEJ.js +0 -127
  2480. package/components/video-options.de-CqDvojKb.js +0 -60
  2481. package/components/video-options.en-DWsFJndr.js +0 -60
  2482. package/components/video-options.es-C986CdLZ.js +0 -60
  2483. package/components/video-options.fr-CF8lEOzZ.js +0 -60
  2484. package/components/video-options.nl-DnHgROBb.js +0 -60
  2485. package/components/video-slots.config-DMut7o7r.cjs +0 -20
  2486. package/components/video-slots.config-Utnn0DBW.js +0 -24
  2487. package/components/vivid-YDTQ3C2-.js +0 -72
  2488. package/components/viz-item-menu/index.cjs +0 -20
  2489. package/components/viz-item-menu/index.d.ts +0 -8
  2490. package/components/viz-item-menu/index.js +0 -21
  2491. package/components/viz-item-menu/types.d.ts +0 -9
  2492. package/components/viz-item-menu/viz-item-menu.d.ts +0 -85
  2493. package/components/viz-item-menu-DsIJZRgm.js +0 -203
  2494. package/components/viz-item-menu-DtHlgOqt.cjs +0 -63
  2495. package/components/wordcloud-chart-options.config-BQ4Z-vPT.cjs +0 -20
  2496. package/components/wordcloud-chart-options.config-y9Z5I_ZN.js +0 -97
  2497. package/components/wordcloud-chart-options.de-0T6RwBxn.js +0 -49
  2498. package/components/wordcloud-chart-options.en-xMN7HxWU.js +0 -49
  2499. package/components/wordcloud-chart-options.es-DPccPG_x.js +0 -49
  2500. package/components/wordcloud-chart-options.fr-D6DKbL9I.js +0 -49
  2501. package/components/wordcloud-chart-options.nl-CBKMvA4E.js +0 -49
  2502. package/components/wordcloud-chart-positioning.config-BQFzFNko.cjs +0 -20
  2503. package/components/wordcloud-chart-positioning.config-Dk13J1zq.js +0 -55
  2504. package/components/wordcloud-chart-slots.config-CvabtgbP.js +0 -45
  2505. package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
  2506. package/components/zh-CN-EbmFbkUF.js +0 -126
  2507. package/components/zh-TW-zX5KG7hP.js +0 -126
  2508. package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
  2509. package/react/components/viz-item-menu.component.ts +0 -33
  2510. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  2511. package/react/esm/components/viz-item-menu.component.js +0 -21
  2512. package/standalone/chunks/area-chart-options.config-CXWPLl-0.js +0 -2
  2513. package/standalone/chunks/area-chart-options.de-Dr8RVJtb.js +0 -2
  2514. package/standalone/chunks/area-chart-options.en-DV1AZ274.js +0 -2
  2515. package/standalone/chunks/area-chart-options.es-Cg7uU7OK.js +0 -2
  2516. package/standalone/chunks/area-chart-options.fr-CJjgrAt2.js +0 -2
  2517. package/standalone/chunks/area-chart-options.nl-CTGxVXNo.js +0 -2
  2518. package/standalone/chunks/axis-options.config-DP9f04t6.js +0 -2
  2519. package/standalone/chunks/axis-options.i18n-BwkGC9PX.js +0 -2
  2520. package/standalone/chunks/bar-chart-options.config-w4REKu0t.js +0 -2
  2521. package/standalone/chunks/bar-chart-options.de-DCVBVtFi.js +0 -2
  2522. package/standalone/chunks/bar-chart-options.en-B4xiZxTy.js +0 -2
  2523. package/standalone/chunks/bar-chart-options.es-UqehXB9Z.js +0 -2
  2524. package/standalone/chunks/bar-chart-options.fr-CaUBeZBK.js +0 -2
  2525. package/standalone/chunks/bar-chart-options.nl-C2tFvUE8.js +0 -2
  2526. package/standalone/chunks/base-DBoiLw2X.js +0 -2
  2527. package/standalone/chunks/box-plot-options.config-BlYMd4FN.js +0 -2
  2528. package/standalone/chunks/box-plot-options.de-RDAv8kHb.js +0 -2
  2529. package/standalone/chunks/box-plot-options.en-kGLfLsv3.js +0 -2
  2530. package/standalone/chunks/box-plot-options.es-Dw3ivv22.js +0 -2
  2531. package/standalone/chunks/box-plot-options.fr-De5nkQNr.js +0 -2
  2532. package/standalone/chunks/box-plot-options.nl-DD1f-Nlt.js +0 -2
  2533. package/standalone/chunks/bullet-chart-options.config-Cc5lKDjs.js +0 -2
  2534. package/standalone/chunks/bullet-chart-options.de-Ci81seQn.js +0 -2
  2535. package/standalone/chunks/bullet-chart-options.en-Dk95moRX.js +0 -2
  2536. package/standalone/chunks/bullet-chart-options.es-eIqahAOr.js +0 -2
  2537. package/standalone/chunks/bullet-chart-options.fr-CEABbpT0.js +0 -2
  2538. package/standalone/chunks/bullet-chart-options.nl-B3gOPn5D.js +0 -2
  2539. package/standalone/chunks/calculate-data-field-icon-CrEVAfzJ.js +0 -2
  2540. package/standalone/chunks/choropleth-map-options.config-Ul1FSTwf.js +0 -2
  2541. package/standalone/chunks/color-DaeCRJ5Q.js +0 -2
  2542. package/standalone/chunks/color-range-utils-CLqVCA5J.js +0 -2
  2543. package/standalone/chunks/column-chart-options.config-v7fBgXRI.js +0 -2
  2544. package/standalone/chunks/column-chart-options.de-OoMpZc7N.js +0 -2
  2545. package/standalone/chunks/column-chart-options.en-B4xiZxTy.js +0 -2
  2546. package/standalone/chunks/column-chart-options.es-BL-wKXpp.js +0 -2
  2547. package/standalone/chunks/column-chart-options.fr-CaUBeZBK.js +0 -2
  2548. package/standalone/chunks/column-chart-options.nl-C2tFvUE8.js +0 -2
  2549. package/standalone/chunks/combination-chart-options.config-C9hmUPal.js +0 -2
  2550. package/standalone/chunks/combination-chart-options.de-ChlEhT09.js +0 -2
  2551. package/standalone/chunks/combination-chart-options.en-DhCXqnwj.js +0 -2
  2552. package/standalone/chunks/combination-chart-options.es-DESqZp0U.js +0 -2
  2553. package/standalone/chunks/combination-chart-options.fr-v6P2xQCi.js +0 -2
  2554. package/standalone/chunks/combination-chart-options.nl-D8ato2ve.js +0 -2
  2555. package/standalone/chunks/data-broker-CbKNAOhf.js +0 -2
  2556. package/standalone/chunks/date-comparison-filter-slots.config-DfHq9lB8.js +0 -2
  2557. package/standalone/chunks/de-ClGscYPh.js +0 -2
  2558. package/standalone/chunks/decompose-numeric-format-BXLQ97e2.js +0 -2
  2559. package/standalone/chunks/default-local-formats-CES1ItiK.js +0 -2
  2560. package/standalone/chunks/display-settings-binning-BdL-A59O.js +0 -38
  2561. package/standalone/chunks/display-settings-datetime-DEOgG9Fn.js +0 -199
  2562. package/standalone/chunks/display-settings-grand-totals-uYYRykWG.js +0 -26
  2563. package/standalone/chunks/display-settings-numeric-BSCNC8eE.js +0 -172
  2564. package/standalone/chunks/display-settings-period-over-period-Cq6dAc0d.js +0 -209
  2565. package/standalone/chunks/donut-chart-options.config-BuZj-QX5.js +0 -2
  2566. package/standalone/chunks/donut-chart-options.de-QusCBL9B.js +0 -2
  2567. package/standalone/chunks/donut-chart-options.en-D0ligFH6.js +0 -2
  2568. package/standalone/chunks/donut-chart-options.es-Bmn34sGt.js +0 -2
  2569. package/standalone/chunks/donut-chart-options.fr-DGBawYKp.js +0 -2
  2570. package/standalone/chunks/donut-chart-options.nl-DzNTu0v4.js +0 -2
  2571. package/standalone/chunks/embed-BVDnEJte.js +0 -228
  2572. package/standalone/chunks/en-BD2RCLuw.js +0 -2
  2573. package/standalone/chunks/en-GB-DnwmFNwC.js +0 -2
  2574. package/standalone/chunks/en-US-BD2RCLuw.js +0 -2
  2575. package/standalone/chunks/es-C56MpCO9.js +0 -2
  2576. package/standalone/chunks/evolution-number-options.config-B5Cj0YAQ.js +0 -2
  2577. package/standalone/chunks/evolution-number-options.de-Ch0LaHwI.js +0 -2
  2578. package/standalone/chunks/evolution-number-options.en-riChGfa6.js +0 -2
  2579. package/standalone/chunks/evolution-number-options.es-BdG3lvVQ.js +0 -2
  2580. package/standalone/chunks/evolution-number-options.fr-_h0kLeRL.js +0 -2
  2581. package/standalone/chunks/evolution-number-options.nl-CqycrLe1.js +0 -2
  2582. package/standalone/chunks/filters-DvUCMgUM.js +0 -544
  2583. package/standalone/chunks/formatter-LzhH-XSQ.js +0 -2
  2584. package/standalone/chunks/formula-codemirror-BMr35_Qe.js +0 -197
  2585. package/standalone/chunks/fr-BpNJieSH.js +0 -2
  2586. package/standalone/chunks/funnel-chart-options.config-1SyJ_qYd.js +0 -2
  2587. package/standalone/chunks/funnel-chart-options.de-BTxwd7Pe.js +0 -2
  2588. package/standalone/chunks/funnel-chart-options.en-CmY-uO1P.js +0 -2
  2589. package/standalone/chunks/funnel-chart-options.es-DLqBydsE.js +0 -2
  2590. package/standalone/chunks/funnel-chart-options.fr-ztQ5OMZi.js +0 -2
  2591. package/standalone/chunks/funnel-chart-options.nl-DVysx7tP.js +0 -2
  2592. package/standalone/chunks/heat-map-options.config-DYIrP8cV.js +0 -2
  2593. package/standalone/chunks/heat-table-options.config-ByHwT44G.js +0 -2
  2594. package/standalone/chunks/heat-table-options.de-BMx67hXo.js +0 -2
  2595. package/standalone/chunks/heat-table-options.en-BbobGoXs.js +0 -2
  2596. package/standalone/chunks/heat-table-options.es-zKo-QMBY.js +0 -2
  2597. package/standalone/chunks/heat-table-options.fr-XSTL1CSb.js +0 -2
  2598. package/standalone/chunks/heat-table-options.nl-Cgcccsee.js +0 -2
  2599. package/standalone/chunks/item-option-action-button-group-ChkHzrj7.js +0 -35
  2600. package/standalone/chunks/item-option-base-USb5kln8.js +0 -38
  2601. package/standalone/chunks/item-option-color-palette-picker-DZPKR8Dr.js +0 -22
  2602. package/standalone/chunks/item-option-color-picker-CGHlkA30.js +0 -16
  2603. package/standalone/chunks/item-option-color-range-CpALVHsD.js +0 -80
  2604. package/standalone/chunks/item-option-guidelines-HHzEU0r2.js +0 -117
  2605. package/standalone/chunks/item-option-multi-language-field-COcs0I2s.js +0 -15
  2606. package/standalone/chunks/item-option-number-field-B_eRAtHf.js +0 -20
  2607. package/standalone/chunks/item-option-panel-Dvp20wQQ.js +0 -298
  2608. package/standalone/chunks/item-option-picker-BUFJQkyo.js +0 -19
  2609. package/standalone/chunks/item-option-position-picker-DMQgZ50L.js +0 -14
  2610. package/standalone/chunks/item-option-positions-number-field-CezoJKkM.js +0 -31
  2611. package/standalone/chunks/item-option-radio-button-group-Dc1NIqVl.js +0 -19
  2612. package/standalone/chunks/item-option-slider-DXrcOBkc.js +0 -15
  2613. package/standalone/chunks/item-option-switch-DYJCL_ZU.js +0 -12
  2614. package/standalone/chunks/item-option-text-field-DAzMUN29.js +0 -15
  2615. package/standalone/chunks/item-slot-picker-panel-DiRjYi-2.js +0 -439
  2616. package/standalone/chunks/line-chart-options.config-DyqQLGw8.js +0 -2
  2617. package/standalone/chunks/line-chart-options.de-BScjvJsI.js +0 -2
  2618. package/standalone/chunks/line-chart-options.en-BVWFsre-.js +0 -2
  2619. package/standalone/chunks/line-chart-options.es-CxNJevNs.js +0 -2
  2620. package/standalone/chunks/line-chart-options.fr-LCsLx0Uh.js +0 -2
  2621. package/standalone/chunks/line-chart-options.nl-BOgcjx48.js +0 -2
  2622. package/standalone/chunks/lit-localize-CIGP-NUw.js +0 -2
  2623. package/standalone/chunks/load-data-fields-for-datasets-D6Mm3A1F.js +0 -25
  2624. package/standalone/chunks/load-formula-codemirror-DY6C-Kxf.js +0 -6
  2625. package/standalone/chunks/localize-BXHWaHdZ.js +0 -2
  2626. package/standalone/chunks/localized-decorator-Buib6Rq1.js +0 -2
  2627. package/standalone/chunks/localized-mixin-BJ8UiX2u.js +0 -2
  2628. package/standalone/chunks/luzmo-icon-markup-Cw93OB80.js +0 -13
  2629. package/standalone/chunks/nl-BpTxEv-1.js +0 -2
  2630. package/standalone/chunks/ohlc-chart-options.config-Bu2GKlAH.js +0 -2
  2631. package/standalone/chunks/period-over-period-condition.const-AC_onvUf.js +0 -2
  2632. package/standalone/chunks/periods.const-Cie50jR4.js +0 -2
  2633. package/standalone/chunks/pyramid-chart-options.config-CBd-pgn_.js +0 -2
  2634. package/standalone/chunks/pyramid-chart-options.de-CBL_8UjH.js +0 -2
  2635. package/standalone/chunks/pyramid-chart-options.en-CTozc1Uh.js +0 -2
  2636. package/standalone/chunks/pyramid-chart-options.es-BKciL-nO.js +0 -2
  2637. package/standalone/chunks/pyramid-chart-options.fr-B04m8B_b.js +0 -2
  2638. package/standalone/chunks/pyramid-chart-options.nl-DIhj1NYF.js +0 -2
  2639. package/standalone/chunks/radar-chart-options.config-CnQ8mbs9.js +0 -2
  2640. package/standalone/chunks/radar-chart-options.de-_LSueG69.js +0 -2
  2641. package/standalone/chunks/radar-chart-options.en-DBA8TpKJ.js +0 -2
  2642. package/standalone/chunks/radar-chart-options.es-DjSsFQkP.js +0 -2
  2643. package/standalone/chunks/radar-chart-options.fr-CCh2jYPS.js +0 -2
  2644. package/standalone/chunks/radar-chart-options.nl-tZ0JRjXD.js +0 -2
  2645. package/standalone/chunks/route-map-options.config-CWyA9_SB.js +0 -2
  2646. package/standalone/chunks/scatter-plot-options.config-BV9Lb6-v.js +0 -2
  2647. package/standalone/chunks/scatter-plot-options.de-Dg3O1b2R.js +0 -2
  2648. package/standalone/chunks/scatter-plot-options.en-CJH2ZlFW.js +0 -2
  2649. package/standalone/chunks/scatter-plot-options.es-7kExRi4J.js +0 -2
  2650. package/standalone/chunks/scatter-plot-options.fr-Bbkf8efT.js +0 -2
  2651. package/standalone/chunks/scatter-plot-options.nl-zrEXoM-k.js +0 -2
  2652. package/standalone/chunks/spike-map-options.config-YOYHTzZs.js +0 -2
  2653. package/standalone/chunks/sunburst-chart-options.config-DRjBFJV0.js +0 -2
  2654. package/standalone/chunks/sunburst-chart-options.de-D6enQCjV.js +0 -2
  2655. package/standalone/chunks/sunburst-chart-options.en-D9DSivE2.js +0 -2
  2656. package/standalone/chunks/sunburst-chart-options.es-Bb7iCI1h.js +0 -2
  2657. package/standalone/chunks/sunburst-chart-options.fr-CCzUgv7r.js +0 -2
  2658. package/standalone/chunks/sunburst-chart-options.nl-bGOCvc4m.js +0 -2
  2659. package/standalone/chunks/task-pfWn4DHD.js +0 -2
  2660. package/standalone/chunks/themes-BD5sKr3j.js +0 -2
  2661. package/standalone/chunks/type-check-CC6bgirK.js +0 -2
  2662. package/standalone/chunks/types-BS6dxSMT.js +0 -2
  2663. package/standalone/chunks/v4-CI0qP0ur.js +0 -2
@@ -1,4560 +0,0 @@
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-Ov1pCR4Y.js";
21
- import { t as e } from "./decorate-DyMgX_Uh.js";
22
- import { t } from "./localized-mixin-DaLXe5J9.js";
23
- import { t as n } from "./color-BWnYpOu7.js";
24
- import { t as r } from "./v4-DIjJgmR0.js";
25
- import { n as i, t as a } from "./themes-CQZd578_.js";
26
- import { itemTypes as o } from "./item-list.js";
27
- import { luzmoArrows as s, luzmoCircle as c, luzmoClone as l, luzmoCog as u, luzmoFilterOutline as d, luzmoLockOutline as f, luzmoPencil as p, luzmoTable as m, luzmoTrashOutline as h } from "@luzmo/icons";
28
- import "@luzmo/lucero/icon";
29
- import { html as g, nothing as _, render as v, unsafeCSS as y } from "lit";
30
- import { property as b, query as x, queryAll as ee, state as S } from "lit/decorators.js";
31
- import { localized as C, msg as w } from "@lit/localize";
32
- import "@luzmo/lucero/action-button";
33
- import "@luzmo/lucero/tooltip";
34
- import { repeat as te } from "lit/directives/repeat.js";
35
- import { guard as ne } from "lit/directives/guard.js";
36
- import "@luzmo/embed";
37
- import "@luzmo/lucero/action-group";
38
- import { LuzmoElement as re } from "@luzmo/lucero/utils";
39
- //#region node_modules/gridstack/dist/gridstack.min.css?inline
40
- var ie = ".grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.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:none;touch-action:none;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{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}.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}", ae = (e, t) => {
41
- e.forEach((e) => {
42
- let n = e.querySelector("luzmo-embed-viz-item");
43
- n && (n.options = {
44
- ...n.options,
45
- locale: t
46
- });
47
- });
48
- }, oe = ({ action: e, actionType: t, active: n, items: r, element: i, itemId: a, item: o, deletedId: s, originalElement: c, updatedItems: l }) => ({
49
- action: e,
50
- actionType: t,
51
- active: n,
52
- items: r,
53
- element: i,
54
- item: {
55
- ...o,
56
- id: a,
57
- filters: o?.filters ?? []
58
- },
59
- ...s && { deletedId: s },
60
- ...c && { originalElement: c },
61
- ...l && { updatedItems: l }
62
- }), T = ({ target: e, action: t, actionType: n, active: r, items: i, element: a, itemId: o, item: s, deletedId: c, originalElement: l, updatedItems: u }) => {
63
- e.dispatchEvent(new CustomEvent("luzmo-item-grid-item-action", {
64
- detail: oe({
65
- action: t,
66
- actionType: n,
67
- active: r,
68
- items: i,
69
- element: a,
70
- itemId: o,
71
- item: s,
72
- deletedId: c,
73
- originalElement: l,
74
- updatedItems: u
75
- }),
76
- bubbles: !0,
77
- composed: !0,
78
- cancelable: !0
79
- }));
80
- }, E = ({ target: e, itemStates: t, updatedItemStates: n, changedItemStates: r }) => {
81
- e.dispatchEvent(new CustomEvent("luzmo-item-grid-item-states-changed", {
82
- detail: {
83
- itemStates: t,
84
- updatedItemStates: n,
85
- changedItemStates: r
86
- },
87
- bubbles: !0,
88
- composed: !0
89
- }));
90
- }, se = ({ target: e, eventName: t, detail: n }) => {
91
- e.dispatchEvent(new CustomEvent(t, {
92
- detail: n,
93
- bubbles: !0,
94
- composed: !0
95
- }));
96
- }, ce = (e) => e instanceof Element ? e : void 0, le = (e) => ce(e)?.closest(".grid-stack-item"), ue = ({ event: e, gridItem: t }) => !ce(e.relatedTarget)?.closest(".grid-item-actions-popover") && !t.hasAttribute("active"), de = ({ event: e, focusedItemElement: t, removeItemActionsMenuPopover: n }) => {
97
- let r = le(e.target);
98
- return r ? (t && t !== r && (t.removeAttribute("focused"), n(t)), r.setAttribute("focused", "true"), r) : t;
99
- }, fe = ({ event: e, focusedItemElement: t, removeItemActionsMenuPopover: n }) => t ? ce(e.relatedTarget)?.closest("luzmo-item-grid-item-actions-menu") ? {
100
- focusedItemElement: t,
101
- shouldFocusGrid: !1
102
- } : (t.removeAttribute("focused"), n(t), {
103
- focusedItemElement: void 0,
104
- shouldFocusGrid: !0
105
- }) : {
106
- focusedItemElement: void 0,
107
- shouldFocusGrid: !1
108
- }, pe = ({ item: e, activeItemElement: t, gridElement: n, removeItemActionsMenuPopover: r }) => {
109
- if (e.removeAttribute("active"), r(e), t === e) {
110
- n.removeAttribute("has-active-item");
111
- return;
112
- }
113
- return t;
114
- }, me = ({ event: e, gridElement: t, items: n, state: r, cleanupActiveItem: i, dispatchItemActionEvent: a, createItemActionsMenuPopover: o }) => {
115
- e.stopPropagation();
116
- let s = e.detail, c = e.target?.closest(".grid-stack-item");
117
- if (!c) return r;
118
- let l = c.getAttribute("gs-id"), u = n.find((e) => e.id === l);
119
- 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) => {
120
- e !== c && i(e);
121
- }), 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);
122
- }, he = ({ event: e, gridElement: t, hostElement: n, items: r, activeItemActionToggle: i, cleanupActiveItem: a, dispatchItemActionEvent: o }) => {
123
- let s = e.composedPath();
124
- if (!s.includes(t) && !s.includes(n)) return { activeItemActionToggle: i };
125
- let c = t.querySelector(".grid-stack-item[active]");
126
- if (!c || s.includes(c)) return { activeItemActionToggle: i };
127
- let l = c.querySelector(".grid-item-actions-popover");
128
- if (l && s.includes(l)) return { activeItemActionToggle: i };
129
- let u = c.getAttribute("gs-id"), d = r.find((e) => e.id === u);
130
- return a(c), i && u && o(i, "toggle", !1, c, u, d), { activeItemActionToggle: void 0 };
131
- }, ge = ({ gridElement: e, items: t, gridItemData: n, itemId: r, action: i, options: a, state: o, cleanupActiveItem: s, dispatchItemActionEvent: c, createItemActionsMenuPopover: l }) => {
132
- if (!n?.element) return {
133
- result: void 0,
134
- state: o
135
- };
136
- let u = n.element, d = n.item, f = i === o.activeItemActionToggle && u === o.activeItemElement, p = a?.active ?? !f;
137
- if (a?.active !== void 0 && p === f) return {
138
- result: f,
139
- state: o
140
- };
141
- 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), {
142
- result: !1,
143
- state: o
144
- };
145
- if (o.activeItemElement && o.activeItemElement !== u) {
146
- let e = o.activeItemElement.getAttribute("gs-id"), n = t.find((t) => t.id === e), r = o.activeItemActionToggle, i = o.activeItemElement;
147
- s(o.activeItemElement), o.activeItemElement = void 0, o.activeItemActionToggle = void 0, r && e && n && c(r, "toggle", !1, i, e, n);
148
- }
149
- 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), {
150
- result: !0,
151
- state: o
152
- };
153
- }, _e = ({ gridElement: e, items: t, state: n, cleanupActiveItem: r, dispatchItemActionEvent: i }) => {
154
- let a = 0;
155
- if (n.activeItemElement && n.activeItemActionToggle) {
156
- let o = n.activeItemElement.getAttribute("gs-id"), s = t.find((e) => e.id === o), c = n.activeItemActionToggle, l = n.activeItemElement;
157
- 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++);
158
- }
159
- return {
160
- deactivatedCount: a,
161
- state: n
162
- };
163
- }, ve = {
164
- sizeX: 1,
165
- sizeY: 1,
166
- col: 0,
167
- row: 0
168
- }, ye = (e) => {
169
- e.forEach((e) => {
170
- if (!e.id) throw Error("Grid item id is required");
171
- });
172
- }, be = (e) => {
173
- if (!e.id) throw Error("Grid item id is required");
174
- return e.id;
175
- }, xe = (e, t) => ({
176
- id: t,
177
- x: e?.position?.col ?? 0,
178
- y: e?.position?.row ?? 0,
179
- w: e?.position?.sizeX ?? 1,
180
- h: e?.position?.sizeY ?? 1
181
- }), Se = (e, t) => ({
182
- ...structuredClone(e),
183
- id: t,
184
- position: {
185
- ...ve,
186
- ...structuredClone(e.position)
187
- },
188
- canFilter: e.canFilter ?? "all"
189
- }), Ce = (e, t) => {
190
- if (t) {
191
- for (let n of e) if (n.getAttribute("luzmo-item-grid-item-id") === t) return n;
192
- }
193
- }, we = (e, t) => e.map((e) => {
194
- let n = {
195
- item: e,
196
- element: t.querySelector(`[gs-id="${e.id}"]`)
197
- }, r = n.element?.querySelector("luzmo-embed-viz-item");
198
- return r && (n.luzmoElement = r), n;
199
- }), Te = ({ item: e, engine: t, existingItems: n, autoPosition: r, excludeNodeId: i }) => {
200
- let a = e.position, o = i ? t.nodes.filter((e) => e.id !== i) : t.nodes, s = new t.constructor({
201
- column: t.column,
202
- float: t.float,
203
- nodes: o.map((e) => ({ ...e }))
204
- }), c = {
205
- x: a.col,
206
- y: a.row,
207
- w: a.sizeX,
208
- h: a.sizeY,
209
- id: e.id,
210
- autoPosition: r
211
- };
212
- s.addNode(c);
213
- let l = {
214
- ...e,
215
- position: {
216
- col: c.x ?? a.col,
217
- row: c.y ?? a.row,
218
- sizeX: c.w ?? a.sizeX,
219
- sizeY: c.h ?? a.sizeY
220
- }
221
- };
222
- return {
223
- resolvedItem: l,
224
- updatedItems: [...n.map((e) => {
225
- let t = s.nodes.find((t) => t.id === e.id);
226
- return t && t.x != null && t.y != null && t.w != null && t.h != null ? {
227
- ...e,
228
- position: {
229
- col: t.x,
230
- row: t.y,
231
- sizeX: t.w,
232
- sizeY: t.h
233
- }
234
- } : e;
235
- }), l]
236
- };
237
- }, Ee = ({ itemId: e, patch: t, engine: n, existingItems: r }) => {
238
- let i = r.find((t) => t.id === e);
239
- if (!i?.position) return r;
240
- let { resolvedItem: a, updatedItems: o } = Te({
241
- item: {
242
- ...i,
243
- position: {
244
- ...i.position,
245
- ...t
246
- }
247
- },
248
- engine: n,
249
- existingItems: r.filter((t) => t.id !== e),
250
- autoPosition: !1,
251
- excludeNodeId: e
252
- });
253
- return r.map((t) => t.id === e ? a : o.find((e) => e.id === t.id) ?? t);
254
- }, De = (e) => Se(e, e.id), Oe = Math.min, D = Math.max, ke = Math.round, Ae = Math.floor, O = (e) => ({
255
- x: e,
256
- y: e
257
- }), je = {
258
- left: "right",
259
- right: "left",
260
- bottom: "top",
261
- top: "bottom"
262
- };
263
- function Me(e, t) {
264
- return typeof e == "function" ? e(t) : e;
265
- }
266
- function k(e) {
267
- return e.split("-")[0];
268
- }
269
- function Ne(e) {
270
- return e.split("-")[1];
271
- }
272
- function Pe(e) {
273
- return e === "x" ? "y" : "x";
274
- }
275
- function Fe(e) {
276
- return e === "y" ? "height" : "width";
277
- }
278
- function A(e) {
279
- let t = e[0];
280
- return t === "t" || t === "b" ? "y" : "x";
281
- }
282
- function Ie(e) {
283
- return Pe(A(e));
284
- }
285
- function Le(e, t, n) {
286
- n === void 0 && (n = !1);
287
- let r = Ne(e), i = Ie(e), a = Fe(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
288
- return t.reference[a] > t.floating[a] && (o = Ke(o)), [o, Ke(o)];
289
- }
290
- function Re(e) {
291
- let t = Ke(e);
292
- return [
293
- ze(e),
294
- t,
295
- ze(t)
296
- ];
297
- }
298
- function ze(e) {
299
- return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
300
- }
301
- var Be = ["left", "right"], Ve = ["right", "left"], He = ["top", "bottom"], Ue = ["bottom", "top"];
302
- function We(e, t, n) {
303
- switch (e) {
304
- case "top":
305
- case "bottom": return n ? t ? Ve : Be : t ? Be : Ve;
306
- case "left":
307
- case "right": return t ? He : Ue;
308
- default: return [];
309
- }
310
- }
311
- function Ge(e, t, n, r) {
312
- let i = Ne(e), a = We(k(e), n === "start", r);
313
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(ze)))), a;
314
- }
315
- function Ke(e) {
316
- let t = k(e);
317
- return je[t] + e.slice(t.length);
318
- }
319
- function qe(e) {
320
- return {
321
- top: 0,
322
- right: 0,
323
- bottom: 0,
324
- left: 0,
325
- ...e
326
- };
327
- }
328
- function Je(e) {
329
- return typeof e == "number" ? {
330
- top: e,
331
- right: e,
332
- bottom: e,
333
- left: e
334
- } : qe(e);
335
- }
336
- function Ye(e) {
337
- let { x: t, y: n, width: r, height: i } = e;
338
- return {
339
- width: r,
340
- height: i,
341
- top: n,
342
- left: t,
343
- right: t + r,
344
- bottom: n + i,
345
- x: t,
346
- y: n
347
- };
348
- }
349
- //#endregion
350
- //#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
351
- function Xe(e, t, n) {
352
- let { reference: r, floating: i } = e, a = A(t), o = Ie(t), s = Fe(o), c = k(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;
353
- switch (c) {
354
- case "top":
355
- p = {
356
- x: u,
357
- y: r.y - i.height
358
- };
359
- break;
360
- case "bottom":
361
- p = {
362
- x: u,
363
- y: r.y + r.height
364
- };
365
- break;
366
- case "right":
367
- p = {
368
- x: r.x + r.width,
369
- y: d
370
- };
371
- break;
372
- case "left":
373
- p = {
374
- x: r.x - i.width,
375
- y: d
376
- };
377
- break;
378
- default: p = {
379
- x: r.x,
380
- y: r.y
381
- };
382
- }
383
- switch (Ne(t)) {
384
- case "start":
385
- p[o] -= f * (n && l ? -1 : 1);
386
- break;
387
- case "end":
388
- p[o] += f * (n && l ? -1 : 1);
389
- break;
390
- }
391
- return p;
392
- }
393
- async function Ze(e, t) {
394
- t === void 0 && (t = {});
395
- 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 } = Me(t, e), p = Je(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Ye(await i.getClippingRect({
396
- element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
397
- boundary: c,
398
- rootBoundary: l,
399
- strategy: s
400
- })), g = u === "floating" ? {
401
- x: n,
402
- y: r,
403
- width: a.floating.width,
404
- height: a.floating.height
405
- } : 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(_)) || {
406
- x: 1,
407
- y: 1
408
- }, y = Ye(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
409
- elements: o,
410
- rect: g,
411
- offsetParent: _,
412
- strategy: s
413
- }) : g);
414
- return {
415
- top: (h.top - y.top + p.top) / v.y,
416
- bottom: (y.bottom - h.bottom + p.bottom) / v.y,
417
- left: (h.left - y.left + p.left) / v.x,
418
- right: (y.right - h.right + p.right) / v.x
419
- };
420
- }
421
- var Qe = 50, $e = async (e, t, n) => {
422
- let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
423
- ...o,
424
- detectOverflow: Ze
425
- }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
426
- reference: e,
427
- floating: t,
428
- strategy: i
429
- }), { x: u, y: d } = Xe(l, r, c), f = r, p = 0, m = {};
430
- for (let n = 0; n < a.length; n++) {
431
- let h = a[n];
432
- if (!h) continue;
433
- let { name: g, fn: _ } = h, { x: v, y, data: b, reset: x } = await _({
434
- x: u,
435
- y: d,
436
- initialPlacement: r,
437
- placement: f,
438
- strategy: i,
439
- middlewareData: m,
440
- rects: l,
441
- platform: s,
442
- elements: {
443
- reference: e,
444
- floating: t
445
- }
446
- });
447
- u = v ?? u, d = y ?? d, m[g] = {
448
- ...m[g],
449
- ...b
450
- }, x && p < Qe && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
451
- reference: e,
452
- floating: t,
453
- strategy: i
454
- }) : x.rects), {x: u, y: d} = Xe(l, f, c)), n = -1);
455
- }
456
- return {
457
- x: u,
458
- y: d,
459
- placement: f,
460
- strategy: i,
461
- middlewareData: m
462
- };
463
- }, et = function(e) {
464
- return e === void 0 && (e = {}), {
465
- name: "flip",
466
- options: e,
467
- async fn(t) {
468
- var n;
469
- 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 } = Me(e, t);
470
- if ((n = i.arrow) != null && n.alignmentOffset) return {};
471
- let g = k(r), _ = A(o), v = k(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Ke(o)] : Re(o)), x = p !== "none";
472
- !d && x && b.push(...Ge(o, m, p, y));
473
- let ee = [o, ...b], S = await s.detectOverflow(t, h), C = [], w = i.flip?.overflows || [];
474
- if (l && C.push(S[g]), u) {
475
- let e = Le(r, a, y);
476
- C.push(S[e[0]], S[e[1]]);
477
- }
478
- if (w = [...w, {
479
- placement: r,
480
- overflows: C
481
- }], !C.every((e) => e <= 0)) {
482
- let e = (i.flip?.index || 0) + 1, t = ee[e];
483
- if (t && (!(u === "alignment" && _ !== A(t)) || w.every((e) => A(e.placement) !== _ || e.overflows[0] > 0))) return {
484
- data: {
485
- index: e,
486
- overflows: w
487
- },
488
- reset: { placement: t }
489
- };
490
- let n = w.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
491
- if (!n) switch (f) {
492
- case "bestFit": {
493
- let e = w.filter((e) => {
494
- if (x) {
495
- let t = A(e.placement);
496
- return t === _ || t === "y";
497
- }
498
- return !0;
499
- }).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];
500
- e && (n = e);
501
- break;
502
- }
503
- case "initialPlacement":
504
- n = o;
505
- break;
506
- }
507
- if (r !== n) return { reset: { placement: n } };
508
- }
509
- return {};
510
- }
511
- };
512
- }, tt = /*#__PURE__*/ new Set(["left", "top"]);
513
- async function nt(e, t) {
514
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = k(n), s = Ne(n), c = A(n) === "y", l = tt.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Me(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
515
- mainAxis: d,
516
- crossAxis: 0,
517
- alignmentAxis: null
518
- } : {
519
- mainAxis: d.mainAxis || 0,
520
- crossAxis: d.crossAxis || 0,
521
- alignmentAxis: d.alignmentAxis
522
- };
523
- return s && typeof m == "number" && (p = s === "end" ? m * -1 : m), c ? {
524
- x: p * u,
525
- y: f * l
526
- } : {
527
- x: f * l,
528
- y: p * u
529
- };
530
- }
531
- var rt = function(e) {
532
- return e === void 0 && (e = 0), {
533
- name: "offset",
534
- options: e,
535
- async fn(t) {
536
- var n;
537
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await nt(t, e);
538
- return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
539
- x: r + s.x,
540
- y: i + s.y,
541
- data: {
542
- ...s,
543
- placement: a
544
- }
545
- };
546
- }
547
- };
548
- };
549
- //#endregion
550
- //#region node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
551
- function it() {
552
- return typeof window < "u";
553
- }
554
- function j(e) {
555
- return at(e) ? (e.nodeName || "").toLowerCase() : "#document";
556
- }
557
- function M(e) {
558
- var t;
559
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
560
- }
561
- function N(e) {
562
- return ((at(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
563
- }
564
- function at(e) {
565
- return it() ? e instanceof Node || e instanceof M(e).Node : !1;
566
- }
567
- function P(e) {
568
- return it() ? e instanceof Element || e instanceof M(e).Element : !1;
569
- }
570
- function F(e) {
571
- return it() ? e instanceof HTMLElement || e instanceof M(e).HTMLElement : !1;
572
- }
573
- function ot(e) {
574
- return !it() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof M(e).ShadowRoot;
575
- }
576
- function st(e) {
577
- let { overflow: t, overflowX: n, overflowY: r, display: i } = R(e);
578
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
579
- }
580
- function ct(e) {
581
- return /^(table|td|th)$/.test(j(e));
582
- }
583
- function lt(e) {
584
- try {
585
- if (e.matches(":popover-open")) return !0;
586
- } catch {}
587
- try {
588
- return e.matches(":modal");
589
- } catch {
590
- return !1;
591
- }
592
- }
593
- var ut = /transform|translate|scale|rotate|perspective|filter/, dt = /paint|layout|strict|content/, I = (e) => !!e && e !== "none", ft;
594
- function pt(e) {
595
- let t = P(e) ? R(e) : e;
596
- return I(t.transform) || I(t.translate) || I(t.scale) || I(t.rotate) || I(t.perspective) || !ht() && (I(t.backdropFilter) || I(t.filter)) || ut.test(t.willChange || "") || dt.test(t.contain || "");
597
- }
598
- function mt(e) {
599
- let t = z(e);
600
- for (; F(t) && !L(t);) {
601
- if (pt(t)) return t;
602
- if (lt(t)) return null;
603
- t = z(t);
604
- }
605
- return null;
606
- }
607
- function ht() {
608
- return ft ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ft;
609
- }
610
- function L(e) {
611
- return /^(html|body|#document)$/.test(j(e));
612
- }
613
- function R(e) {
614
- return M(e).getComputedStyle(e);
615
- }
616
- function gt(e) {
617
- return P(e) ? {
618
- scrollLeft: e.scrollLeft,
619
- scrollTop: e.scrollTop
620
- } : {
621
- scrollLeft: e.scrollX,
622
- scrollTop: e.scrollY
623
- };
624
- }
625
- function z(e) {
626
- if (j(e) === "html") return e;
627
- let t = e.assignedSlot || e.parentNode || ot(e) && e.host || N(e);
628
- return ot(t) ? t.host : t;
629
- }
630
- function _t(e) {
631
- let t = z(e);
632
- return L(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : F(t) && st(t) ? t : _t(t);
633
- }
634
- function B(e, t, n) {
635
- t === void 0 && (t = []), n === void 0 && (n = !0);
636
- let r = _t(e), i = r === e.ownerDocument?.body, a = M(r);
637
- if (i) {
638
- let e = vt(a);
639
- return t.concat(a, a.visualViewport || [], st(r) ? r : [], e && n ? B(e) : []);
640
- } else return t.concat(r, B(r, [], n));
641
- }
642
- function vt(e) {
643
- return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
644
- }
645
- //#endregion
646
- //#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
647
- function yt(e) {
648
- let t = R(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = F(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = ke(n) !== a || ke(r) !== o;
649
- return s && (n = a, r = o), {
650
- width: n,
651
- height: r,
652
- $: s
653
- };
654
- }
655
- function bt(e) {
656
- return P(e) ? e : e.contextElement;
657
- }
658
- function V(e) {
659
- let t = bt(e);
660
- if (!F(t)) return O(1);
661
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = yt(t), o = (a ? ke(n.width) : n.width) / r, s = (a ? ke(n.height) : n.height) / i;
662
- return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
663
- x: o,
664
- y: s
665
- };
666
- }
667
- var xt = /*#__PURE__*/ O(0);
668
- function St(e) {
669
- let t = M(e);
670
- return !ht() || !t.visualViewport ? xt : {
671
- x: t.visualViewport.offsetLeft,
672
- y: t.visualViewport.offsetTop
673
- };
674
- }
675
- function Ct(e, t, n) {
676
- return t === void 0 && (t = !1), !n || t && n !== M(e) ? !1 : t;
677
- }
678
- function H(e, t, n, r) {
679
- t === void 0 && (t = !1), n === void 0 && (n = !1);
680
- let i = e.getBoundingClientRect(), a = bt(e), o = O(1);
681
- t && (r ? P(r) && (o = V(r)) : o = V(e));
682
- let s = Ct(a, n, r) ? St(a) : O(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;
683
- if (a) {
684
- let e = M(a), t = r && P(r) ? M(r) : r, n = e, i = vt(n);
685
- for (; i && r && t !== n;) {
686
- 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;
687
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = M(i), i = vt(n);
688
- }
689
- }
690
- return Ye({
691
- width: u,
692
- height: d,
693
- x: c,
694
- y: l
695
- });
696
- }
697
- function wt(e, t) {
698
- let n = gt(e).scrollLeft;
699
- return t ? t.left + n : H(N(e)).left + n;
700
- }
701
- function Tt(e, t) {
702
- let n = e.getBoundingClientRect();
703
- return {
704
- x: n.left + t.scrollLeft - wt(e, n),
705
- y: n.top + t.scrollTop
706
- };
707
- }
708
- function Et(e) {
709
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = N(r), s = t ? lt(t.floating) : !1;
710
- if (r === o || s && a) return n;
711
- let c = {
712
- scrollLeft: 0,
713
- scrollTop: 0
714
- }, l = O(1), u = O(0), d = F(r);
715
- if ((d || !d && !a) && ((j(r) !== "body" || st(o)) && (c = gt(r)), d)) {
716
- let e = H(r);
717
- l = V(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
718
- }
719
- let f = o && !d && !a ? Tt(o, c) : O(0);
720
- return {
721
- width: n.width * l.x,
722
- height: n.height * l.y,
723
- x: n.x * l.x - c.scrollLeft * l.x + u.x + f.x,
724
- y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
725
- };
726
- }
727
- function Dt(e) {
728
- return Array.from(e.getClientRects());
729
- }
730
- function Ot(e) {
731
- let t = N(e), n = gt(e), r = e.ownerDocument.body, i = D(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = D(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + wt(e), s = -n.scrollTop;
732
- return R(r).direction === "rtl" && (o += D(t.clientWidth, r.clientWidth) - i), {
733
- width: i,
734
- height: a,
735
- x: o,
736
- y: s
737
- };
738
- }
739
- var kt = 25;
740
- function At(e, t) {
741
- let n = M(e), r = N(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
742
- if (i) {
743
- a = i.width, o = i.height;
744
- let e = ht();
745
- (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
746
- }
747
- let l = wt(r);
748
- if (l <= 0) {
749
- 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);
750
- o <= kt && (a -= o);
751
- } else l <= kt && (a += l);
752
- return {
753
- width: a,
754
- height: o,
755
- x: s,
756
- y: c
757
- };
758
- }
759
- function jt(e, t) {
760
- let n = H(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = F(e) ? V(e) : O(1);
761
- return {
762
- width: e.clientWidth * a.x,
763
- height: e.clientHeight * a.y,
764
- x: i * a.x,
765
- y: r * a.y
766
- };
767
- }
768
- function Mt(e, t, n) {
769
- let r;
770
- if (t === "viewport") r = At(e, n);
771
- else if (t === "document") r = Ot(N(e));
772
- else if (P(t)) r = jt(t, n);
773
- else {
774
- let n = St(e);
775
- r = {
776
- x: t.x - n.x,
777
- y: t.y - n.y,
778
- width: t.width,
779
- height: t.height
780
- };
781
- }
782
- return Ye(r);
783
- }
784
- function Nt(e, t) {
785
- let n = z(e);
786
- return n === t || !P(n) || L(n) ? !1 : R(n).position === "fixed" || Nt(n, t);
787
- }
788
- function Pt(e, t) {
789
- let n = t.get(e);
790
- if (n) return n;
791
- let r = B(e, [], !1).filter((e) => P(e) && j(e) !== "body"), i = null, a = R(e).position === "fixed", o = a ? z(e) : e;
792
- for (; P(o) && !L(o);) {
793
- let t = R(o), n = pt(o);
794
- !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || st(o) && !n && Nt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = z(o);
795
- }
796
- return t.set(e, r), r;
797
- }
798
- function Ft(e) {
799
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? lt(t) ? [] : Pt(t, this._c) : [].concat(n), r], o = Mt(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
800
- for (let e = 1; e < a.length; e++) {
801
- let n = Mt(t, a[e], i);
802
- s = D(n.top, s), c = Oe(n.right, c), l = Oe(n.bottom, l), u = D(n.left, u);
803
- }
804
- return {
805
- width: c - u,
806
- height: l - s,
807
- x: u,
808
- y: s
809
- };
810
- }
811
- function It(e) {
812
- let { width: t, height: n } = yt(e);
813
- return {
814
- width: t,
815
- height: n
816
- };
817
- }
818
- function Lt(e, t, n) {
819
- let r = F(t), i = N(t), a = n === "fixed", o = H(e, !0, a, t), s = {
820
- scrollLeft: 0,
821
- scrollTop: 0
822
- }, c = O(0);
823
- function l() {
824
- c.x = wt(i);
825
- }
826
- if (r || !r && !a) if ((j(t) !== "body" || st(i)) && (s = gt(t)), r) {
827
- let e = H(t, !0, a, t);
828
- c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
829
- } else i && l();
830
- a && !r && i && l();
831
- let u = i && !r && !a ? Tt(i, s) : O(0);
832
- return {
833
- x: o.left + s.scrollLeft - c.x - u.x,
834
- y: o.top + s.scrollTop - c.y - u.y,
835
- width: o.width,
836
- height: o.height
837
- };
838
- }
839
- function Rt(e) {
840
- return R(e).position === "static";
841
- }
842
- function zt(e, t) {
843
- if (!F(e) || R(e).position === "fixed") return null;
844
- if (t) return t(e);
845
- let n = e.offsetParent;
846
- return N(e) === n && (n = n.ownerDocument.body), n;
847
- }
848
- function Bt(e, t) {
849
- let n = M(e);
850
- if (lt(e)) return n;
851
- if (!F(e)) {
852
- let t = z(e);
853
- for (; t && !L(t);) {
854
- if (P(t) && !Rt(t)) return t;
855
- t = z(t);
856
- }
857
- return n;
858
- }
859
- let r = zt(e, t);
860
- for (; r && ct(r) && Rt(r);) r = zt(r, t);
861
- return r && L(r) && Rt(r) && !pt(r) ? n : r || mt(e) || n;
862
- }
863
- var Vt = async function(e) {
864
- let t = this.getOffsetParent || Bt, n = this.getDimensions, r = await n(e.floating);
865
- return {
866
- reference: Lt(e.reference, await t(e.floating), e.strategy),
867
- floating: {
868
- x: 0,
869
- y: 0,
870
- width: r.width,
871
- height: r.height
872
- }
873
- };
874
- };
875
- function Ht(e) {
876
- return R(e).direction === "rtl";
877
- }
878
- var Ut = {
879
- convertOffsetParentRelativeRectToViewportRelativeRect: Et,
880
- getDocumentElement: N,
881
- getClippingRect: Ft,
882
- getOffsetParent: Bt,
883
- getElementRects: Vt,
884
- getClientRects: Dt,
885
- getDimensions: It,
886
- getScale: V,
887
- isElement: P,
888
- isRTL: Ht
889
- };
890
- function Wt(e, t) {
891
- return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
892
- }
893
- function Gt(e, t) {
894
- let n = null, r, i = N(e);
895
- function a() {
896
- var e;
897
- clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
898
- }
899
- function o(s, c) {
900
- s === void 0 && (s = !1), c === void 0 && (c = 1), a();
901
- let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
902
- if (s || t(), !f || !p) return;
903
- let m = Ae(d), h = Ae(i.clientWidth - (u + f)), g = Ae(i.clientHeight - (d + p)), _ = Ae(u), v = {
904
- rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
905
- threshold: D(0, Oe(1, c)) || 1
906
- }, y = !0;
907
- function b(t) {
908
- let n = t[0].intersectionRatio;
909
- if (n !== c) {
910
- if (!y) return o();
911
- n ? o(!1, n) : r = setTimeout(() => {
912
- o(!1, 1e-7);
913
- }, 1e3);
914
- }
915
- n === 1 && !Wt(l, e.getBoundingClientRect()) && o(), y = !1;
916
- }
917
- try {
918
- n = new IntersectionObserver(b, {
919
- ...v,
920
- root: i.ownerDocument
921
- });
922
- } catch {
923
- n = new IntersectionObserver(b, v);
924
- }
925
- n.observe(e);
926
- }
927
- return o(!0), a;
928
- }
929
- function Kt(e, t, n, r) {
930
- r === void 0 && (r = {});
931
- let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = bt(e), u = i || a ? [...l ? B(l) : [], ...t ? B(t) : []] : [];
932
- u.forEach((e) => {
933
- i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
934
- });
935
- let d = l && s ? Gt(l, n) : null, f = -1, p = null;
936
- o && (p = new ResizeObserver((e) => {
937
- let [r] = e;
938
- r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
939
- var e;
940
- (e = p) == null || e.observe(t);
941
- })), n();
942
- }), l && !c && p.observe(l), t && p.observe(t));
943
- let m, h = c ? H(e) : null;
944
- c && g();
945
- function g() {
946
- let t = H(e);
947
- h && !Wt(h, t) && n(), h = t, m = requestAnimationFrame(g);
948
- }
949
- return n(), () => {
950
- var e;
951
- u.forEach((e) => {
952
- i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
953
- }), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
954
- };
955
- }
956
- var qt = rt, Jt = et, Yt = (e, t, n) => {
957
- let r = /* @__PURE__ */ new Map(), i = {
958
- platform: Ut,
959
- ...n
960
- }, a = {
961
- ...i.platform,
962
- _c: r
963
- };
964
- return $e(e, t, {
965
- ...i,
966
- platform: a
967
- });
968
- }, Xt = /* @__PURE__ */ new WeakMap(), Zt = (e, t) => {
969
- Qt(e), Xt.set(e, t);
970
- }, Qt = (e) => {
971
- let t = Xt.get(e);
972
- t && (t(), Xt.delete(e));
973
- }, $t = ({ element: e, activeActions: t, getGridItemById: n, placementItemActionsMenu: r, renderOverlayContent: i, removeItemActionsMenuPopover: a, itemActionsDocumentPopover: o = !0 }) => {
974
- let s = e.querySelector(".grid-item-actions-popover"), c = e.querySelector(".grid-stack-item-content"), l = n(e.getAttribute("gs-id") ?? "");
975
- if (t && t.length > 0 && s && (a(e), s = null), !s) {
976
- let n = document.createDocumentFragment();
977
- v(i(l?.item, t), n), s = n.querySelector(".grid-item-actions-popover"), e.append(s);
978
- }
979
- let u = o ? "absolute" : "fixed", d = Kt(c, s, async () => {
980
- let { x: e, y: t } = await Yt(c, s, {
981
- placement: l?.item?.placementActionsMenu ?? r ?? "right-start",
982
- strategy: u,
983
- middleware: [qt(0), Jt({ crossAxis: !1 })]
984
- });
985
- s.style.left = `${e}px`, s.style.top = `${t}px`, o || (s.style.position = "fixed", s.style.right = "auto", s.style.bottom = "auto", s.style.margin = "0");
986
- });
987
- Zt(s, d), o && s.isConnected && !s.matches(":popover-open") && s.showPopover();
988
- }, en = (e) => {
989
- let t = e.querySelector(".grid-item-actions-popover");
990
- t && (Qt(t), t.hasAttribute("popover") && t.matches(":popover-open") && t.hidePopover(), t.remove());
991
- }, tn = (e) => e === "ArrowLeft" || e === "ArrowRight" || e === "ArrowUp" || e === "ArrowDown", nn = ({ key: e, node: t, maxColumns: n, shiftKey: r, ctrlKey: i, metaKey: a }) => {
992
- let o = {
993
- ArrowLeft: {
994
- move: { x: t.x - 1 },
995
- resize: {
996
- x: t.x - 1,
997
- w: t.w + 1
998
- },
999
- shrink: { w: t.w - 1 },
1000
- canMove: t.x > 0,
1001
- canResize: t.x > 0,
1002
- canShrink: t.w > 1
1003
- },
1004
- ArrowRight: {
1005
- move: { x: t.x + 1 },
1006
- resize: { w: t.w + 1 },
1007
- shrink: {
1008
- x: t.x + 1,
1009
- w: t.w - 1
1010
- },
1011
- canMove: t.x < n - t.w,
1012
- canResize: t.x + t.w < n,
1013
- canShrink: t.w > 1
1014
- },
1015
- ArrowUp: {
1016
- move: { y: t.y - 1 },
1017
- resize: {
1018
- y: t.y - 1,
1019
- h: t.h + 1
1020
- },
1021
- shrink: { h: t.h - 1 },
1022
- canMove: t.y > 0,
1023
- canResize: t.y > 0,
1024
- canShrink: t.h > 1
1025
- },
1026
- ArrowDown: {
1027
- move: { y: t.y + 1 },
1028
- resize: { h: t.h + 1 },
1029
- shrink: {
1030
- y: t.y + 1,
1031
- h: t.h - 1
1032
- },
1033
- canMove: !0,
1034
- canResize: !0,
1035
- canShrink: t.h > 1
1036
- }
1037
- }[e];
1038
- if (r && o.canResize) return o.resize;
1039
- if ((i || a) && o.canShrink) return o.shrink;
1040
- if (o.canMove) return o.move;
1041
- }, rn = ({ event: e, viewMode: t, focusedItemElement: n, activeItemElement: r, gridElement: i, grid: a, columns: o, onDeleteRequest: s, removeItemActionsMenuPopover: c, createItemActionsMenuPopover: l }) => {
1042
- if (t) return {
1043
- focusedItemElement: n,
1044
- activeItemElement: r
1045
- };
1046
- let u = n, d = r;
1047
- if (e.key === "Delete" && n) {
1048
- let e = n.nextElementSibling ?? n.previousElementSibling;
1049
- s(n), u = e ?? void 0, u ? requestAnimationFrame(() => u?.focus()) : i.focus(), r === n && (d = void 0);
1050
- } else if (e.key === "Escape" && n) n.removeAttribute("focused"), c(n), u = void 0, i.focus();
1051
- 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) => {
1052
- e !== n && c(e);
1053
- }), l(n), requestAnimationFrame(() => {
1054
- let e = n.querySelector("luzmo-item-grid-item-actions-menu");
1055
- e && e.focus();
1056
- });
1057
- else if (n && a && tn(e.key)) {
1058
- e.preventDefault(), e.stopPropagation();
1059
- let t = n.gridstackNode;
1060
- if (!t) return {
1061
- focusedItemElement: u,
1062
- activeItemElement: d
1063
- };
1064
- let r = nn({
1065
- key: e.key,
1066
- node: t,
1067
- maxColumns: o,
1068
- shiftKey: e.shiftKey,
1069
- ctrlKey: e.ctrlKey,
1070
- metaKey: e.metaKey
1071
- });
1072
- r && a.update(n, r);
1073
- }
1074
- return {
1075
- focusedItemElement: u,
1076
- activeItemElement: d
1077
- };
1078
- }, U = {
1079
- lock: {
1080
- icon: f,
1081
- label: "Lock",
1082
- tooltip: "Lock",
1083
- action: "lock",
1084
- type: "toggle"
1085
- },
1086
- edit: {
1087
- icon: p,
1088
- label: "Edit",
1089
- tooltip: "Edit",
1090
- action: "edit",
1091
- type: "toggle"
1092
- },
1093
- "edit-data": {
1094
- icon: m,
1095
- label: "Edit data",
1096
- tooltip: "Data",
1097
- action: "edit-data",
1098
- type: "toggle"
1099
- },
1100
- "item-options": {
1101
- icon: u,
1102
- label: "Item options",
1103
- tooltip: "Options",
1104
- action: "item-options",
1105
- type: "toggle"
1106
- },
1107
- filters: {
1108
- icon: d,
1109
- label: "Filters",
1110
- tooltip: "Filters",
1111
- action: "filters",
1112
- type: "toggle"
1113
- },
1114
- clone: {
1115
- icon: l,
1116
- label: "Clone",
1117
- tooltip: "Clone",
1118
- action: "clone",
1119
- type: "button"
1120
- },
1121
- delete: {
1122
- icon: h,
1123
- label: "Delete",
1124
- tooltip: "Delete",
1125
- action: "delete",
1126
- type: "button"
1127
- }
1128
- }, an = (e) => {
1129
- if (e) return structuredClone(e).map((e) => {
1130
- if (e.type === "group") return e.actions = e.actions ?? [], e.actions = e.actions.map((e) => {
1131
- if (typeof e == "string" && Object.hasOwn(U, e)) return { ...U[e] };
1132
- if (typeof e == "object") return e.icon = e.icon ?? c, e.label = e.label ?? e.action, e.tooltip = e.tooltip ?? e.label ?? e.action, e.type = ["toggle", "button"].includes(e.type ?? "") ? e.type : "button", e;
1133
- }).filter(Boolean), e;
1134
- }).filter(Boolean);
1135
- }, on = () => [{
1136
- type: "group",
1137
- actions: [
1138
- { ...U["edit-data"] },
1139
- { ...U["item-options"] },
1140
- { ...U.clone }
1141
- ]
1142
- }, {
1143
- type: "group",
1144
- actions: [{ ...U.delete }]
1145
- }], sn = 16, cn = 10, W = (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})`, ln = async ({ theme: e, currentTheme: t }) => e?.type === "custom" ? structuredClone(e) : e?.id && i.includes(e.id) && t?.id !== e.id ? {
1146
- ...await a(e.id),
1147
- id: e.id
1148
- } : e?.id && t?.id !== e.id || !e && t ? t : await a("default"), un = (e) => [(e?.margins?.[0] ?? sn) / 2, (e?.margins?.[1] ?? sn) / 2], dn = (e) => cn - (e?.margins?.[0] ?? cn), fn = (e) => {
1149
- let t = e?.boxShadow;
1150
- if (!t) return "";
1151
- let r = new n(t.color), i = {
1152
- r: Math.round(r.srgb.r * 255),
1153
- g: Math.round(r.srgb.g * 255),
1154
- b: Math.round(r.srgb.b * 255)
1155
- }, a = e?.margins?.[0] ?? sn, o = Math.min(a / 10, 2);
1156
- return t.size === "none" ? "none" : t.size === "S" ? `0 ${o * 2}px ${o * 4}px ${W(i, .16)}, 0 ${o * 2}px ${o * 4}px ${W(i, .23)}` : t.size === "M" ? `0 ${o * 8}px ${o * 16}px ${W(i, .19)}, 0 ${o * 4}px ${o * 4}px ${W(i, .23)}` : t.size === "L" ? `0 ${o * 12}px ${o * 24}px ${W(i, .25)}, 0 ${o * 8}px ${o * 8}px ${W(i, .22)}` : "";
1157
- }, pn = (e) => {
1158
- let t = fn(e);
1159
- return /* @__PURE__ */ new Map([
1160
- ["--grid-font-family", e?.font?.fontFamily],
1161
- ["--grid-background", e?.background],
1162
- ["--grid-item-box-shadow", t],
1163
- ["--grid-item-background", e?.itemsBackground],
1164
- ["--grid-item-border-color", e?.borders?.["border-color"]],
1165
- ["--grid-item-border-style", e?.borders?.["border-style"]],
1166
- ["--grid-item-border-radius", e?.borders?.["border-radius"]],
1167
- ["--grid-item-border-width", `${e?.borders?.["border-top-width"]}`],
1168
- ["--grid-item-border-top-width", e?.borders?.["border-top-width"]],
1169
- ["--grid-item-border-right-width", e?.borders?.["border-right-width"]],
1170
- ["--grid-item-border-bottom-width", e?.borders?.["border-bottom-width"]],
1171
- ["--grid-item-border-left-width", e?.borders?.["border-left-width"]]
1172
- ]);
1173
- }, mn = (e) => {
1174
- let t = e?.itemsBackground ?? e?.background;
1175
- return t ? new n(t).luminance < .5 : !1;
1176
- }, hn = (e, t) => {
1177
- t && pn(t).forEach((t, n) => {
1178
- t ? e.setProperty(n, t) : e.removeProperty(n);
1179
- });
1180
- }, gn = ({ item: e, defaultItemActionsMenu: t, activeActions: n }) => {
1181
- let r = an(e?.actionsMenu) ?? an(t) ?? on();
1182
- if (!o.find((t) => t.type === e?.type)?.containsData && !e?.actionsMenu && !t && (r = r.map((e) => ({
1183
- ...e,
1184
- actions: e.actions?.filter((e) => e.action !== "edit-data")
1185
- }))), n && n.length > 0) {
1186
- let e = new Set(n);
1187
- r = r.map((t) => ({
1188
- ...t,
1189
- actions: t.actions?.map((t) => ({
1190
- ...t,
1191
- active: t.action && e.has(t.action) ? !0 : t.active
1192
- }))
1193
- }));
1194
- }
1195
- return r;
1196
- }, _n = ({ item: e, activeActions: t, defaultItemActionsMenu: n, placementItemActionsMenu: r, language: i, handleAction: a, itemActionsDocumentPopover: o = !0 }) => {
1197
- let s = gn({
1198
- item: e,
1199
- defaultItemActionsMenu: n,
1200
- activeActions: t
1201
- });
1202
- return g`
1203
- <div class="grid-item-actions-popover" popover=${o ? "manual" : _}>
1204
- <luzmo-item-grid-item-actions-menu
1205
- .actions=${s}
1206
- placement=${e?.placementActionsMenu ?? r ?? "right-start"}
1207
- .language=${i}
1208
- @luzmo-item-grid-item-action=${a}
1209
- >
1210
- </luzmo-item-grid-item-actions-menu>
1211
- </div>
1212
- `;
1213
- }, vn = ({ item: e, index: t, initialized: n, viewMode: r, contentLanguage: i, fullTheme: a, appServer: o, apiHost: c, authKey: l, authToken: u, handleMouseover: d, handleMouseout: f, handleFocus: p, handleBlur: m }) => {
1214
- let h = {
1215
- ...e.options,
1216
- locale: i
1217
- };
1218
- h.theme ||= a?.id ? { id: a.id } : structuredClone(a);
1219
- let _ = !r;
1220
- return g`
1221
- <div
1222
- class="luzmo-item-grid-item has-luzmo-viz-item"
1223
- luzmo-item-grid-item-id=${e.id ?? ""}
1224
- tabindex="0"
1225
- role="row"
1226
- @mouseover=${d}
1227
- @mouseout=${f}
1228
- @focus=${p}
1229
- @blur=${m}
1230
- >
1231
- <div
1232
- class="grid-stack-item-content"
1233
- role="gridcell"
1234
- aria-label=${w("Grid item", { desc: "Accessible label prefix for grid items" }) + ` ${t + 1}`}
1235
- >
1236
- ${_ ? g`
1237
- <div class="grid-item-drag-handle">
1238
- <luzmo-icon .icon=${s} size="s"></luzmo-icon>
1239
- </div>
1240
- ` : g`
1241
-
1242
- `}
1243
- ${n ? g`
1244
- <luzmo-embed-viz-item
1245
- .appServer=${o}
1246
- .apiHost=${c}
1247
- .authKey=${l}
1248
- .authToken=${u}
1249
- .type=${e.type}
1250
- .slots=${e.slots}
1251
- .options=${h}
1252
- .filters=${e.filters}
1253
- .language=${i}
1254
- .canFilter=${e.canFilter ?? "all"}
1255
- ></luzmo-embed-viz-item>` : g`
1256
-
1257
- `}
1258
- </div>
1259
- </div>
1260
- `;
1261
- }, yn = ({ items: e, initialized: t, viewMode: n, contentLanguage: r, fullTheme: i, appServer: a, apiHost: o, authKey: s, authToken: c, renderItem: l }) => te(e, (e) => e.id, (e, u) => ne([
1262
- e,
1263
- t,
1264
- n,
1265
- r,
1266
- i,
1267
- a,
1268
- o,
1269
- s,
1270
- c
1271
- ], () => l(e, u))), bn = ({ items: e, initialized: t, viewMode: n, contentLanguage: r, fullTheme: i, appServer: a, apiHost: o, authKey: s, authToken: c, columns: l, ensureGridItemId: u, handleMouseover: d, handleMouseout: f, handleFocus: p, handleBlur: m }) => {
1272
- e.forEach((e) => {
1273
- u(e);
1274
- });
1275
- let h = yn({
1276
- items: e,
1277
- initialized: t,
1278
- viewMode: n,
1279
- contentLanguage: r,
1280
- fullTheme: i,
1281
- appServer: a,
1282
- apiHost: o,
1283
- authKey: s,
1284
- authToken: c,
1285
- renderItem: (e, l) => vn({
1286
- item: e,
1287
- index: l,
1288
- initialized: t,
1289
- viewMode: n,
1290
- contentLanguage: r,
1291
- fullTheme: i,
1292
- appServer: a,
1293
- apiHost: o,
1294
- authKey: s,
1295
- authToken: c,
1296
- handleMouseover: d,
1297
- handleMouseout: f,
1298
- handleFocus: p,
1299
- handleBlur: m
1300
- })
1301
- });
1302
- return g`
1303
- <div
1304
- ?dark-background=${t ? mn(i) : !1}
1305
- class="grid-stack"
1306
- data-grid-columns=${l}
1307
- role="grid"
1308
- aria-label=${w("Dashboard grid", { desc: "Accessible label for the dashboard grid" })}
1309
- >
1310
- ${h}
1311
- </div>
1312
- `;
1313
- }, G = class e {
1314
- static getElements(e, t = document) {
1315
- if (typeof e == "string") {
1316
- let n = "getElementById" in t ? t : void 0;
1317
- if (n && !isNaN(+e[0])) {
1318
- let t = n.getElementById(e);
1319
- return t ? [t] : [];
1320
- }
1321
- let r = t.querySelectorAll(e);
1322
- if (!r.length && e[0] !== "." && e[0] !== "#" && (r = t.querySelectorAll("." + e), r.length || (r = t.querySelectorAll("#" + e)), !r.length)) {
1323
- let n = t.querySelector(`[gs-id="${e}"]`);
1324
- return n ? [n] : [];
1325
- }
1326
- return Array.from(r);
1327
- }
1328
- return [e];
1329
- }
1330
- static getElement(e, t = document) {
1331
- if (typeof e == "string") {
1332
- let n = "getElementById" in t ? t : void 0;
1333
- if (!e.length) return null;
1334
- if (n && e[0] === "#") return n.getElementById(e.substring(1));
1335
- if (e[0] === "#" || e[0] === "." || e[0] === "[") return t.querySelector(e);
1336
- if (n && !isNaN(+e[0])) return n.getElementById(e);
1337
- let r = t.querySelector(e);
1338
- return n && !r && (r = n.getElementById(e)), r ||= t.querySelector("." + e), r;
1339
- }
1340
- return e;
1341
- }
1342
- static lazyLoad(e) {
1343
- return e.lazyLoad || e.grid?.opts?.lazyLoad && e.lazyLoad !== !1;
1344
- }
1345
- static createDiv(e, t) {
1346
- let n = document.createElement("div");
1347
- return e.forEach((e) => {
1348
- e && n.classList.add(e);
1349
- }), t?.appendChild(n), n;
1350
- }
1351
- static shouldSizeToContent(e, t = !1) {
1352
- 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);
1353
- }
1354
- static isIntercepted(e, t) {
1355
- 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);
1356
- }
1357
- static isTouching(t, n) {
1358
- return e.isIntercepted(t, {
1359
- x: n.x - .5,
1360
- y: n.y - .5,
1361
- w: n.w + 1,
1362
- h: n.h + 1
1363
- });
1364
- }
1365
- static areaIntercept(e, t) {
1366
- 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;
1367
- if (r <= n) return 0;
1368
- 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;
1369
- return a <= i ? 0 : (r - n) * (a - i);
1370
- }
1371
- static area(e) {
1372
- return e.w * e.h;
1373
- }
1374
- static sort(e, t = 1) {
1375
- let n = 1e4;
1376
- return e.sort((e, r) => {
1377
- let i = t * ((e.y ?? n) - (r.y ?? n));
1378
- return i === 0 ? t * ((e.x ?? n) - (r.x ?? n)) : i;
1379
- });
1380
- }
1381
- static find(e, t) {
1382
- return t ? e.find((e) => e.id === t) : void 0;
1383
- }
1384
- static toBool(e) {
1385
- return typeof e == "boolean" ? e : typeof e == "string" ? (e = e.toLowerCase(), !(e === "" || e === "no" || e === "false" || e === "0")) : !!e;
1386
- }
1387
- static toNumber(e) {
1388
- return e === null || e.length === 0 ? void 0 : Number(e);
1389
- }
1390
- static parseHeight(e) {
1391
- let t, n = "px";
1392
- if (typeof e == "string") if (e === "auto" || e === "") t = 0;
1393
- else {
1394
- let r = e.match(/^(-[0-9]+\.[0-9]+|[0-9]*\.[0-9]+|-[0-9]+|[0-9]+)(px|em|rem|vh|vw|%|cm|mm)?$/);
1395
- if (!r) throw Error(`Invalid height val = ${e}`);
1396
- n = r[2] || "px", t = parseFloat(r[1]);
1397
- }
1398
- else t = e;
1399
- return {
1400
- h: t,
1401
- unit: n
1402
- };
1403
- }
1404
- static defaults(t, ...n) {
1405
- return n.forEach((n) => {
1406
- for (let r in n) {
1407
- if (!n.hasOwnProperty(r)) return;
1408
- 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]);
1409
- }
1410
- }), t;
1411
- }
1412
- static same(e, t) {
1413
- if (typeof e != "object") return e == t;
1414
- if (typeof e != typeof t || Object.keys(e).length !== Object.keys(t).length) return !1;
1415
- for (let n in e) if (e[n] !== t[n]) return !1;
1416
- return !0;
1417
- }
1418
- static copyPos(e, t, n = !1) {
1419
- 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;
1420
- }
1421
- static samePos(e, t) {
1422
- return e && t && e.x === t.x && e.y === t.y && (e.w || 1) === (t.w || 1) && (e.h || 1) === (t.h || 1);
1423
- }
1424
- static sanitizeMinMax(e) {
1425
- e.minW || delete e.minW, e.minH || delete e.minH, e.maxW || delete e.maxW, e.maxH || delete e.maxH;
1426
- }
1427
- static removeInternalAndSame(t, n) {
1428
- if (!(typeof t != "object" || typeof n != "object") && !(Array.isArray(t) || Array.isArray(n))) for (let r in t) {
1429
- let i = t[r], a = n[r];
1430
- r[0] === "_" || i === a ? delete t[r] : i && typeof i == "object" && a !== void 0 && (e.removeInternalAndSame(i, a), Object.keys(i).length || delete t[r]);
1431
- }
1432
- }
1433
- static removeInternalForSave(e, t = !0) {
1434
- for (let t in e) (t[0] === "_" || e[t] === null || e[t] === void 0) && delete e[t];
1435
- 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;
1436
- }
1437
- static throttle(e, t) {
1438
- let n = !1;
1439
- return (...r) => {
1440
- n || (n = !0, setTimeout(() => {
1441
- e(...r), n = !1;
1442
- }, t));
1443
- };
1444
- }
1445
- static removePositioningStyles(e) {
1446
- let t = e.style;
1447
- 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");
1448
- }
1449
- static getScrollElement(t) {
1450
- if (!t) return document.scrollingElement || document.documentElement;
1451
- let n = getComputedStyle(t).overflowY;
1452
- return (n === "auto" || n === "scroll") && t.scrollHeight > t.clientHeight ? t : e.getScrollElement(t.parentElement);
1453
- }
1454
- static updateScrollResize(t, n, r) {
1455
- 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;
1456
- c ? i.scrollBy({
1457
- behavior: "smooth",
1458
- top: s - r
1459
- }) : l && i.scrollBy({
1460
- behavior: "smooth",
1461
- top: r - (a - s)
1462
- });
1463
- }
1464
- static clone(e) {
1465
- return typeof e != "object" || !e ? e : e instanceof Array ? [...e] : { ...e };
1466
- }
1467
- static cloneDeep(t) {
1468
- let n = [
1469
- "parentGrid",
1470
- "el",
1471
- "grid",
1472
- "subGrid",
1473
- "engine"
1474
- ], r = e.clone(t);
1475
- for (let i in r) r.hasOwnProperty(i) && typeof r[i] == "object" && i.substring(0, 2) !== "__" && !n.find((e) => e === i) && (r[i] = e.cloneDeep(t[i]));
1476
- return r;
1477
- }
1478
- static cloneNode(e) {
1479
- let t = e.cloneNode(!0);
1480
- return t.removeAttribute("id"), t;
1481
- }
1482
- static appendTo(t, n) {
1483
- let r;
1484
- r = typeof n == "string" ? e.getElement(n) : n, r && r.appendChild(t);
1485
- }
1486
- static addElStyles(e, t) {
1487
- if (t instanceof Object) for (let n in t) t.hasOwnProperty(n) && (Array.isArray(t[n]) ? t[n].forEach((t) => {
1488
- e.style[n] = t;
1489
- }) : e.style[n] = t[n]);
1490
- }
1491
- static initEvent(e, t) {
1492
- let n = { type: t.type }, r = {
1493
- button: 0,
1494
- which: 0,
1495
- buttons: 1,
1496
- bubbles: !0,
1497
- cancelable: !0,
1498
- target: t.target ? t.target : e.target
1499
- };
1500
- return [
1501
- "altKey",
1502
- "ctrlKey",
1503
- "metaKey",
1504
- "shiftKey"
1505
- ].forEach((t) => n[t] = e[t]), [
1506
- "pageX",
1507
- "pageY",
1508
- "clientX",
1509
- "clientY",
1510
- "screenX",
1511
- "screenY"
1512
- ].forEach((t) => n[t] = e[t]), {
1513
- ...n,
1514
- ...r
1515
- };
1516
- }
1517
- static simulateMouseEvent(e, t, n) {
1518
- let r = e, i = new MouseEvent(t, {
1519
- bubbles: !0,
1520
- composed: !0,
1521
- cancelable: !0,
1522
- view: window,
1523
- detail: 1,
1524
- screenX: e.screenX,
1525
- screenY: e.screenY,
1526
- clientX: e.clientX,
1527
- clientY: e.clientY,
1528
- ctrlKey: r.ctrlKey ?? !1,
1529
- altKey: r.altKey ?? !1,
1530
- shiftKey: r.shiftKey ?? !1,
1531
- metaKey: r.metaKey ?? !1,
1532
- button: 0,
1533
- relatedTarget: e.target
1534
- });
1535
- (n || e.target).dispatchEvent(i);
1536
- }
1537
- static getValuesFromTransformedElement(t) {
1538
- let n = document.createElement("div");
1539
- e.addElStyles(n, {
1540
- opacity: "0",
1541
- position: "fixed",
1542
- top: "0px",
1543
- left: "0px",
1544
- width: "1px",
1545
- height: "1px",
1546
- zIndex: "-999999"
1547
- }), t.appendChild(n);
1548
- let r = n.getBoundingClientRect();
1549
- return t.removeChild(n), n.remove(), {
1550
- xScale: 1 / r.width,
1551
- yScale: 1 / r.height,
1552
- xOffset: r.left,
1553
- yOffset: r.top
1554
- };
1555
- }
1556
- static swap(e, t, n) {
1557
- if (!e) return;
1558
- let r = e[t];
1559
- e[t] = e[n], e[n] = r;
1560
- }
1561
- static canBeRotated(e) {
1562
- 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);
1563
- }
1564
- }, xn = class e {
1565
- constructor(e = {}) {
1566
- 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, this._float = e.float, this.nodes = e.nodes || [], this.onChange = e.onChange;
1567
- }
1568
- batchUpdate(e = !0, t = !0) {
1569
- return !!this.batchMode === e ? this : (this.batchMode = e, e ? (this._prevFloat = this._float, this._float = !0, this.cleanNodes(), this.saveInitial()) : (this._float = this._prevFloat, delete this._prevFloat, t && this._packNodes(), this._notify()), this);
1570
- }
1571
- _useEntireRowArea(e, t) {
1572
- return (!this.float || this.batchMode && !this._prevFloat) && !this._hasLocked && (!e._moving || e._skipDown || t.y <= e.y);
1573
- }
1574
- _fixCollisions(e, t = e, n, r = {}) {
1575
- if (this.sortNodes(-1), n ||= this.collide(e, t), !n) return !1;
1576
- if (e._moving && !r.nested && !this.float && this.swap(e, n)) return !0;
1577
- let i = t;
1578
- !this._loading && this._useEntireRowArea(e, t) && (i = {
1579
- x: 0,
1580
- w: this.column,
1581
- y: t.y,
1582
- h: t.h
1583
- }, n = this.collide(e, i, r.skip));
1584
- let a = !1, o = {
1585
- nested: !0,
1586
- pack: !1
1587
- }, s = 0;
1588
- for (; n ||= this.collide(e, i, r.skip);) {
1589
- if (s++ > this.nodes.length * 2) throw Error("Infinite collide check");
1590
- let i;
1591
- if (n.locked || this._loading || e._moving && !e._skipDown && t.y > e.y && !this.float && (!this.collide(n, {
1592
- ...n,
1593
- y: e.y
1594
- }, e) || !this.collide(n, {
1595
- ...n,
1596
- y: t.y - n.h
1597
- }, e))) {
1598
- e._skipDown = e._skipDown || t.y > e.y;
1599
- let s = {
1600
- ...t,
1601
- y: n.y + n.h,
1602
- ...o
1603
- };
1604
- i = this._loading && G.samePos(e, s) ? !0 : this.moveNode(e, s), (n.locked || this._loading) && i ? G.copyPos(t, e) : !n.locked && i && r.pack && (this._packNodes(), t.y = n.y + n.h, G.copyPos(e, t)), a ||= i;
1605
- } else i = this.moveNode(n, {
1606
- ...n,
1607
- y: t.y + t.h,
1608
- skip: e,
1609
- ...o
1610
- });
1611
- if (!i) return a;
1612
- n = void 0;
1613
- }
1614
- return a;
1615
- }
1616
- collide(e, t = e, n) {
1617
- let r = e._id, i = n?._id;
1618
- return this.nodes.find((e) => e._id !== r && e._id !== i && G.isIntercepted(e, t));
1619
- }
1620
- collideAll(e, t = e, n) {
1621
- let r = e._id, i = n?._id;
1622
- return this.nodes.filter((e) => e._id !== r && e._id !== i && G.isIntercepted(e, t));
1623
- }
1624
- directionCollideCoverage(e, t, n) {
1625
- if (!t.rect || !e._rect) return;
1626
- let r = e._rect, i = { ...t.rect };
1627
- i.y > r.y ? (i.h += i.y - r.y, i.y = r.y) : i.h += r.y - i.y, i.x > r.x ? (i.w += i.x - r.x, i.x = r.x) : i.w += r.x - i.x;
1628
- let a, o = .5;
1629
- for (let e of n) {
1630
- if (e.locked || !e._rect) break;
1631
- let t = e._rect, n = Number.MAX_VALUE, s = Number.MAX_VALUE;
1632
- 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);
1633
- let c = Math.min(s, n);
1634
- c > o && (o = c, a = e);
1635
- }
1636
- return t.collide = a, a;
1637
- }
1638
- cacheRects(e, t, n, r, i, a) {
1639
- return this.nodes.forEach((o) => o._rect = {
1640
- y: o.y * t + n,
1641
- x: o.x * e + a,
1642
- w: o.w * e - a - r,
1643
- h: o.h * t - n - i
1644
- }), this;
1645
- }
1646
- swap(e, t) {
1647
- if (!t || t.locked || !e || e.locked) return !1;
1648
- function n() {
1649
- let n = t.x, r = t.y;
1650
- 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;
1651
- }
1652
- let r;
1653
- if (e.w === t.w && e.h === t.h && (e.x === t.x || e.y === t.y) && (r = G.isTouching(e, t))) return n();
1654
- if (r !== !1) {
1655
- if (e.w === t.w && e.x === t.x && (r ||= G.isTouching(e, t))) {
1656
- if (t.y < e.y) {
1657
- let n = e;
1658
- e = t, t = n;
1659
- }
1660
- return n();
1661
- }
1662
- if (r !== !1) {
1663
- if (e.h === t.h && e.y === t.y && (r ||= G.isTouching(e, t))) {
1664
- if (t.x < e.x) {
1665
- let n = e;
1666
- e = t, t = n;
1667
- }
1668
- return n();
1669
- }
1670
- return !1;
1671
- }
1672
- }
1673
- }
1674
- isAreaEmpty(e, t, n, r) {
1675
- let i = {
1676
- x: e || 0,
1677
- y: t || 0,
1678
- w: n || 1,
1679
- h: r || 1
1680
- };
1681
- return !this.collide(i);
1682
- }
1683
- compact(e = "compact", t = !0) {
1684
- if (this.nodes.length === 0) return this;
1685
- t && this.sortNodes();
1686
- let n = this.batchMode;
1687
- n || this.batchUpdate();
1688
- let r = this._inColumnResize;
1689
- r || (this._inColumnResize = !0);
1690
- let i = this.nodes;
1691
- return this.nodes = [], i.forEach((t, n, r) => {
1692
- let i;
1693
- t.locked || (t.autoPosition = !0, e === "list" && n && (i = r[n - 1])), this.addNode(t, !1, i);
1694
- }), r || delete this._inColumnResize, n || this.batchUpdate(!1), this;
1695
- }
1696
- set float(e) {
1697
- this._float !== e && (this._float = e || !1, e || this._packNodes()._notify());
1698
- }
1699
- get float() {
1700
- return this._float || !1;
1701
- }
1702
- sortNodes(e = 1) {
1703
- return this.nodes = G.sort(this.nodes, e), this;
1704
- }
1705
- _packNodes() {
1706
- return this.batchMode ? this : (this.sortNodes(), this.float ? this.nodes.forEach((e) => {
1707
- if (e._updating || e._orig === void 0 || e.y === e._orig.y) return;
1708
- let t = e.y;
1709
- for (; t > e._orig.y;) --t, this.collide(e, {
1710
- x: e.x,
1711
- y: t,
1712
- w: e.w,
1713
- h: e.h
1714
- }) || (e._dirty = !0, e.y = t);
1715
- }) : this.nodes.forEach((e, t) => {
1716
- if (!e.locked) for (; e.y > 0;) {
1717
- let n = t === 0 ? 0 : e.y - 1;
1718
- if (!(t === 0 || !this.collide(e, {
1719
- x: e.x,
1720
- y: n,
1721
- w: e.w,
1722
- h: e.h
1723
- }))) break;
1724
- e._dirty = e.y !== n, e.y = n;
1725
- }
1726
- }), this);
1727
- }
1728
- prepareNode(t, n) {
1729
- t._id = t._id ?? e._idSeq++;
1730
- let r = t.id;
1731
- if (r) {
1732
- let e = 1;
1733
- for (; this.nodes.find((e) => e.id === t.id && e !== t);) t.id = r + "_" + e++;
1734
- }
1735
- (t.x === void 0 || t.y === void 0 || t.x === null || t.y === null) && (t.autoPosition = !0);
1736
- let i = {
1737
- x: 0,
1738
- y: 0,
1739
- w: 1,
1740
- h: 1
1741
- };
1742
- return G.defaults(t, i), t.autoPosition || delete t.autoPosition, t.noResize || delete t.noResize, t.noMove || delete t.noMove, G.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;
1743
- }
1744
- nodeBoundFix(e, t) {
1745
- let n = e._orig || G.copyPos({}, e);
1746
- if (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) {
1747
- let t = { ...e };
1748
- 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);
1749
- }
1750
- 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), G.samePos(e, n) || (e._dirty = !0), this;
1751
- }
1752
- getDirtyNodes(e) {
1753
- return e ? this.nodes.filter((e) => e._dirty && !G.samePos(e, e._orig)) : this.nodes.filter((e) => e._dirty);
1754
- }
1755
- _notify(e) {
1756
- if (this.batchMode || !this.onChange) return this;
1757
- let t = (e || []).concat(this.getDirtyNodes());
1758
- return this.onChange(t), this;
1759
- }
1760
- cleanNodes() {
1761
- return this.batchMode || this.nodes.forEach((e) => {
1762
- delete e._dirty, delete e._lastTried;
1763
- }), this;
1764
- }
1765
- saveInitial() {
1766
- return this.nodes.forEach((e) => {
1767
- e._orig = G.copyPos({}, e), delete e._dirty;
1768
- }), this._hasLocked = this.nodes.some((e) => e.locked), this;
1769
- }
1770
- restoreInitial() {
1771
- return this.nodes.forEach((e) => {
1772
- !e._orig || G.samePos(e, e._orig) || (G.copyPos(e, e._orig), e._dirty = !0);
1773
- }), this._notify(), this;
1774
- }
1775
- findEmptyPosition(e, t = this.nodes, n = this.column, r) {
1776
- let i = r ? r.y * n + (r.x + r.w) : 0, a = !1;
1777
- for (let r = i; !a; ++r) {
1778
- let i = r % n, o = Math.floor(r / n);
1779
- if (i + e.w > n) continue;
1780
- let s = {
1781
- x: i,
1782
- y: o,
1783
- w: e.w,
1784
- h: e.h
1785
- };
1786
- t.find((e) => G.isIntercepted(s, e)) || ((e.x !== i || e.y !== o) && (e._dirty = !0), e.x = i, e.y = o, delete e.autoPosition, a = !0);
1787
- }
1788
- return a;
1789
- }
1790
- addNode(e, t = !1, n) {
1791
- let r = this.nodes.find((t) => t._id === e._id);
1792
- if (r) return r;
1793
- this._inColumnResize ? this.nodeBoundFix(e) : this.prepareNode(e), delete e._temporaryRemoved, delete e._removeDOM;
1794
- let i;
1795
- return e.autoPosition && this.findEmptyPosition(e, this.nodes, this.column, n) && (delete e.autoPosition, i = !0), this.nodes.push(e), t && this.addedNodes.push(e), i || this._fixCollisions(e), this.batchMode || this._packNodes()._notify(), e;
1796
- }
1797
- removeNode(e, t = !0, n = !1) {
1798
- 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) : this;
1799
- }
1800
- removeAll(e = !0, t = !0) {
1801
- if (delete this._layouts, !this.nodes.length) return this;
1802
- e && this.nodes.forEach((e) => e._removeDOM = !0);
1803
- let n = this.nodes;
1804
- return this.removedNodes = t ? n : [], this.nodes = [], this._notify(n);
1805
- }
1806
- moveNodeCheck(t, n) {
1807
- if (!this.changedPosConstrain(t, n)) return !1;
1808
- if (n.pack = !0, !this.maxRow) return this.moveNode(t, n);
1809
- let r, i = new e({
1810
- column: this.column,
1811
- float: this.float,
1812
- nodes: this.nodes.map((e) => e._id === t._id ? (r = { ...e }, r) : { ...e })
1813
- });
1814
- if (!r) return !1;
1815
- let a = i.moveNode(r, n) && i.getRow() <= Math.max(this.getRow(), this.maxRow);
1816
- if (!a && !n.resizing && n.collide) {
1817
- let e = n.collide.el.gridstackNode;
1818
- if (this.swap(t, e)) return this._notify(), !0;
1819
- }
1820
- return a ? (i.nodes.filter((e) => e._dirty).forEach((e) => {
1821
- let t = this.nodes.find((t) => t._id === e._id);
1822
- t && (G.copyPos(t, e), t._dirty = !0);
1823
- }), this._notify(), !0) : !1;
1824
- }
1825
- willItFit(t) {
1826
- if (delete t._willFitPos, !this.maxRow) return !0;
1827
- let n = new e({
1828
- column: this.column,
1829
- float: this.float,
1830
- nodes: this.nodes.map((e) => ({ ...e }))
1831
- }), r = { ...t };
1832
- 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 = G.copyPos({}, r), !0) : !1;
1833
- }
1834
- changedPosConstrain(e, t) {
1835
- return t.w = t.w || e.w, t.h = t.h || e.h, e.x !== t.x || e.y !== t.y ? !0 : (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);
1836
- }
1837
- moveNode(e, t) {
1838
- if (!e || !t) return !1;
1839
- let n;
1840
- 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);
1841
- let r = e.w !== t.w || e.h !== t.h, i = G.copyPos({}, e, !0);
1842
- if (G.copyPos(i, t), this.nodeBoundFix(i, r), G.copyPos(t, i), !t.forceCollide && G.samePos(e, t)) return !1;
1843
- let a = G.copyPos({}, e), o = this.collideAll(e, i, t.skip), s = !0;
1844
- if (o.length) {
1845
- let r = e._moving && !t.nested, a = r ? this.directionCollideCoverage(e, t, o) : o[0];
1846
- if (r && a && e.grid?.opts?.subGridDynamic && !e.grid._isTemp) {
1847
- let n = G.areaIntercept(t.rect, a._rect), r = G.area(t.rect), i = G.area(a._rect);
1848
- n / (r < i ? r : i) > .8 && (a.grid.makeSubGrid(a.el, void 0, e), a = void 0);
1849
- }
1850
- a ? s = !this._fixCollisions(e, i, a, t) : (s = !1, n && delete t.pack);
1851
- }
1852
- return s && !G.samePos(e, i) && (e._dirty = !0, G.copyPos(e, i)), t.pack && this._packNodes()._notify(), !G.samePos(e, a);
1853
- }
1854
- getRow() {
1855
- return this.nodes.reduce((e, t) => Math.max(e, t.y + t.h), 0);
1856
- }
1857
- beginUpdate(e) {
1858
- return e._updating || (e._updating = !0, delete e._skipDown, this.batchMode || this.saveInitial()), this;
1859
- }
1860
- endUpdate() {
1861
- let e = this.nodes.find((e) => e._updating);
1862
- return e && (delete e._updating, delete e._skipDown), this;
1863
- }
1864
- save(e = !0, t, n) {
1865
- let r = this._layouts?.length || 0, i;
1866
- r && (n ? n !== this.column && (i = this._layouts[n]) : this.column !== r - 1 && (i = this._layouts[r - 1]));
1867
- let a = [];
1868
- return this.sortNodes(), this.nodes.forEach((n) => {
1869
- let r = i?.find((e) => e._id === n._id), o = {
1870
- ...n,
1871
- ...r || {}
1872
- };
1873
- G.removeInternalForSave(o, !e), t && t(n, o), a.push(o);
1874
- }), a;
1875
- }
1876
- layoutsNodesChange(e) {
1877
- return !this._layouts || this._inColumnResize || this._layouts.forEach((t, n) => {
1878
- if (!t || n === this.column) return this;
1879
- if (n < this.column) this._layouts[n] = void 0;
1880
- else {
1881
- let r = n / this.column;
1882
- e.forEach((e) => {
1883
- if (!e._orig) return;
1884
- let n = t.find((t) => t._id === e._id);
1885
- 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)));
1886
- });
1887
- }
1888
- }), this;
1889
- }
1890
- columnChanged(e, t, n = "moveScale") {
1891
- if (!this.nodes.length || !t || e === t) return this;
1892
- let r = n === "compact" || n === "list";
1893
- r && this.sortNodes(1), t < e && this.cacheLayout(this.nodes, e), this.batchUpdate();
1894
- let i = [], a = r ? this.nodes : G.sort(this.nodes, -1);
1895
- if (t > e && this._layouts) {
1896
- let n = this._layouts[t] || [], o = this._layouts.length - 1;
1897
- !n.length && e !== o && this._layouts[o]?.length && (e = o, this._layouts[o].forEach((e) => {
1898
- let t = a.find((t) => t._id === e._id);
1899
- 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));
1900
- })), n.forEach((e) => {
1901
- let t = a.findIndex((t) => t._id === e._id);
1902
- if (t !== -1) {
1903
- let n = a[t];
1904
- if (r) {
1905
- n.w = e.w;
1906
- return;
1907
- }
1908
- (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);
1909
- }
1910
- });
1911
- }
1912
- if (r) this.compact(n, !1);
1913
- else {
1914
- if (a.length) if (typeof n == "function") n(t, e, i, a);
1915
- else {
1916
- let o = r || n === "none" ? 1 : t / e, s = n === "move" || n === "moveScale", c = n === "scale" || n === "moveScale";
1917
- a.forEach((n) => {
1918
- 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);
1919
- }), a = [];
1920
- }
1921
- i = G.sort(i, -1), this._inColumnResize = !0, this.nodes = [], i.forEach((e) => {
1922
- this.addNode(e, !1), delete e._orig;
1923
- });
1924
- }
1925
- return this.nodes.forEach((e) => delete e._orig), this.batchUpdate(!1, !r), delete this._inColumnResize, this;
1926
- }
1927
- cacheLayout(t, n, r = !1) {
1928
- let i = [];
1929
- return t.forEach((t, n) => {
1930
- t._id === void 0 && (t._id = (t.id ? this.nodes.find((e) => e.id === t.id) : void 0)?._id ?? e._idSeq++), i[n] = {
1931
- x: t.x,
1932
- y: t.y,
1933
- w: t.w,
1934
- _id: t._id
1935
- };
1936
- }), this._layouts = r ? [] : this._layouts || [], this._layouts[n] = i, this;
1937
- }
1938
- cacheOneLayout(t, n) {
1939
- t._id = t._id ?? e._idSeq++;
1940
- let r = {
1941
- x: t.x,
1942
- y: t.y,
1943
- w: t.w,
1944
- _id: t._id
1945
- };
1946
- (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] || [];
1947
- let i = this.findCacheLayout(t, n);
1948
- return i === -1 ? this._layouts[n].push(r) : this._layouts[n][i] = r, this;
1949
- }
1950
- findCacheLayout(e, t) {
1951
- return this._layouts?.[t]?.findIndex((t) => t._id === e._id) ?? -1;
1952
- }
1953
- removeNodeFromLayoutCache(e) {
1954
- if (this._layouts) for (let t = 0; t < this._layouts.length; t++) {
1955
- let n = this.findCacheLayout(e, t);
1956
- n !== -1 && this._layouts[t].splice(n, 1);
1957
- }
1958
- }
1959
- cleanupNode(e) {
1960
- for (let t in e) t[0] === "_" && t !== "_id" && delete e[t];
1961
- return this;
1962
- }
1963
- };
1964
- xn._idSeq = 0;
1965
- //#endregion
1966
- //#region node_modules/gridstack/dist/types.js
1967
- var K = {
1968
- alwaysShowResizeHandle: "mobile",
1969
- animate: !0,
1970
- auto: !0,
1971
- cellHeight: "auto",
1972
- cellHeightThrottle: 100,
1973
- cellHeightUnit: "px",
1974
- column: 12,
1975
- draggable: {
1976
- handle: ".grid-stack-item-content",
1977
- appendTo: "body",
1978
- scroll: !0
1979
- },
1980
- handle: ".grid-stack-item-content",
1981
- itemClass: "grid-stack-item",
1982
- margin: 10,
1983
- marginUnit: "px",
1984
- maxRow: 0,
1985
- minRow: 0,
1986
- placeholderClass: "grid-stack-placeholder",
1987
- placeholderText: "",
1988
- removableOptions: {
1989
- accept: "grid-stack-item",
1990
- decline: "grid-stack-non-removable"
1991
- },
1992
- resizable: { handles: "se" },
1993
- rtl: "auto"
1994
- }, q = class {}, J = typeof window < "u" && typeof document < "u" && ("ontouchstart" in document || "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0), Y = class {};
1995
- function Sn(e, t) {
1996
- e.touches.length > 1 || (e.cancelable && e.preventDefault(), G.simulateMouseEvent(e.changedTouches[0], t));
1997
- }
1998
- function Cn(e, t) {
1999
- e.cancelable && e.preventDefault(), G.simulateMouseEvent(e, t);
2000
- }
2001
- function wn(e) {
2002
- Y.touchHandled || (Y.touchHandled = !0, Sn(e, "mousedown"));
2003
- }
2004
- function Tn(e) {
2005
- Y.touchHandled && Sn(e, "mousemove");
2006
- }
2007
- function En(e) {
2008
- if (!Y.touchHandled) return;
2009
- Y.pointerLeaveTimeout && (window.clearTimeout(Y.pointerLeaveTimeout), delete Y.pointerLeaveTimeout);
2010
- let t = !!q.dragElement;
2011
- Sn(e, "mouseup"), t || Sn(e, "click"), Y.touchHandled = !1;
2012
- }
2013
- function Dn(e) {
2014
- e.pointerType !== "mouse" && e.target.releasePointerCapture(e.pointerId);
2015
- }
2016
- function On(e) {
2017
- q.dragElement && e.pointerType !== "mouse" && Cn(e, "mouseenter");
2018
- }
2019
- function kn(e) {
2020
- q.dragElement && e.pointerType !== "mouse" && (Y.pointerLeaveTimeout = window.setTimeout(() => {
2021
- delete Y.pointerLeaveTimeout, Cn(e, "mouseleave");
2022
- }, 10));
2023
- }
2024
- //#endregion
2025
- //#region node_modules/gridstack/dist/dd-resizable-handle.js
2026
- var An = class e {
2027
- constructor(e, t, n) {
2028
- this.host = e, this.dir = t, this.option = n, this.moving = !1, this._mouseDown = this._mouseDown.bind(this), this._mouseMove = this._mouseMove.bind(this), this._mouseUp = this._mouseUp.bind(this), this._keyEvent = this._keyEvent.bind(this), this._init();
2029
- }
2030
- _init() {
2031
- if (this.option.element) try {
2032
- this.el = this.option.element instanceof HTMLElement ? this.option.element : this.host.querySelector(this.option.element);
2033
- } catch (e) {
2034
- this.option.element = void 0, console.error("Query for resizeable handle failed, falling back", e);
2035
- }
2036
- 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.style.zIndex = "100", this.el.style.userSelect = "none", this.el.addEventListener("mousedown", this._mouseDown), J && (this.el.addEventListener("touchstart", wn), this.el.addEventListener("pointerdown", Dn)), this;
2037
- }
2038
- destroy() {
2039
- return this.moving && this._mouseUp(this.mouseDownEvent), this.el.removeEventListener("mousedown", this._mouseDown), J && (this.el.removeEventListener("touchstart", wn), this.el.removeEventListener("pointerdown", Dn)), this.option.element || this.host.removeChild(this.el), delete this.el, delete this.host, this;
2040
- }
2041
- _mouseDown(e) {
2042
- this.mouseDownEvent = e, document.addEventListener("mousemove", this._mouseMove, {
2043
- capture: !0,
2044
- passive: !0
2045
- }), document.addEventListener("mouseup", this._mouseUp, !0), J && (this.el.addEventListener("touchmove", Tn), this.el.addEventListener("touchend", En)), e.stopPropagation(), e.preventDefault();
2046
- }
2047
- _mouseMove(e) {
2048
- let t = this.mouseDownEvent;
2049
- this.moving ? this._triggerEvent("move", e) : Math.abs(e.x - t.x) + Math.abs(e.y - t.y) > 2 && (this.moving = !0, this._triggerEvent("start", this.mouseDownEvent), this._triggerEvent("move", e), document.addEventListener("keydown", this._keyEvent)), e.stopPropagation();
2050
- }
2051
- _mouseUp(e) {
2052
- this.moving && (this._triggerEvent("stop", e), document.removeEventListener("keydown", this._keyEvent)), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), J && (this.el.removeEventListener("touchmove", Tn), this.el.removeEventListener("touchend", En)), delete this.moving, delete this.mouseDownEvent, e.stopPropagation(), e.preventDefault();
2053
- }
2054
- _keyEvent(e) {
2055
- e.key === "Escape" && (this.host.gridstackNode?.grid?.engine.restoreInitial(), this._mouseUp(this.mouseDownEvent));
2056
- }
2057
- _triggerEvent(e, t) {
2058
- return this.option[e] && this.option[e](t), this;
2059
- }
2060
- };
2061
- An.prefix = "ui-resizable-";
2062
- //#endregion
2063
- //#region node_modules/gridstack/dist/dd-base-impl.js
2064
- var jn = class {
2065
- constructor() {
2066
- this._eventRegister = {};
2067
- }
2068
- get disabled() {
2069
- return this._disabled;
2070
- }
2071
- on(e, t) {
2072
- this._eventRegister[e] = t;
2073
- }
2074
- off(e) {
2075
- delete this._eventRegister[e];
2076
- }
2077
- enable() {
2078
- this._disabled = !1;
2079
- }
2080
- disable() {
2081
- this._disabled = !0;
2082
- }
2083
- destroy() {
2084
- delete this._eventRegister;
2085
- }
2086
- triggerEvent(e, t) {
2087
- if (!this.disabled && this._eventRegister && this._eventRegister[e]) return this._eventRegister[e](t);
2088
- }
2089
- }, Mn = class e extends jn {
2090
- constructor(e, t = {}) {
2091
- super(), this.el = e, this.option = t, this.rectScale = {
2092
- x: 1,
2093
- y: 1
2094
- }, this._ui = () => {
2095
- let e = this.el.parentElement.getBoundingClientRect(), t = {
2096
- width: this.originalRect.width,
2097
- height: this.originalRect.height + this.scrolled,
2098
- left: this.originalRect.left,
2099
- right: this.originalRect.right,
2100
- top: this.originalRect.top - this.scrolled
2101
- }, n = this.temporalRect || t;
2102
- return {
2103
- position: {
2104
- left: this.option.rtl ? (e.right - n.right) * this.rectScale.x : (n.left - e.left) * this.rectScale.x,
2105
- top: (n.top - e.top) * this.rectScale.y
2106
- },
2107
- size: {
2108
- width: n.width * this.rectScale.x,
2109
- height: n.height * this.rectScale.y
2110
- }
2111
- };
2112
- }, this._mouseOver = this._mouseOver.bind(this), this._mouseOut = this._mouseOut.bind(this), this.enable(), this._setupAutoHide(this.option.autoHide), this._setupHandlers();
2113
- }
2114
- on(e, t) {
2115
- super.on(e, t);
2116
- }
2117
- off(e) {
2118
- super.off(e);
2119
- }
2120
- enable() {
2121
- super.enable(), this.el.classList.remove("ui-resizable-disabled"), this._setupAutoHide(this.option.autoHide);
2122
- }
2123
- disable() {
2124
- super.disable(), this.el.classList.add("ui-resizable-disabled"), this._setupAutoHide(!1);
2125
- }
2126
- destroy() {
2127
- this._removeHandlers(), this._setupAutoHide(!1), delete this.el, super.destroy();
2128
- }
2129
- updateOption(e) {
2130
- let t = e.handles && e.handles !== this.option.handles, n = e.autoHide && e.autoHide !== this.option.autoHide;
2131
- return Object.keys(e).forEach((t) => this.option[t] = e[t]), t && (this._removeHandlers(), this._setupHandlers()), n && this._setupAutoHide(this.option.autoHide), this;
2132
- }
2133
- _setupAutoHide(e) {
2134
- 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), q.overResizeElement === this && delete q.overResizeElement), this;
2135
- }
2136
- _mouseOver(e) {
2137
- q.overResizeElement || q.dragElement || (q.overResizeElement = this, this.el.classList.remove("ui-resizable-autohide"));
2138
- }
2139
- _mouseOut(e) {
2140
- q.overResizeElement === this && (delete q.overResizeElement, this.el.classList.add("ui-resizable-autohide"));
2141
- }
2142
- _setupHandlers() {
2143
- return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new An(this.el, e, {
2144
- element: this.option.element,
2145
- start: (e) => this._resizeStart(e),
2146
- stop: (e) => this._resizeStop(e),
2147
- move: (t) => this._resizing(t, e)
2148
- })), this;
2149
- }
2150
- _resizeStart(e) {
2151
- this.sizeToContent = G.shouldSizeToContent(this.el.gridstackNode, !0), this.originalRect = this.el.getBoundingClientRect(), this.scrollEl = G.getScrollElement(this.el), this.scrollY = this.scrollEl.scrollTop, this.scrolled = 0, this.startEvent = e, this._setupHelper(), this._applyChange();
2152
- let t = G.initEvent(e, {
2153
- type: "resizestart",
2154
- target: this.el
2155
- });
2156
- return this.option.start && this.option.start(t, this._ui()), this.el.classList.add("ui-resizable-resizing"), this.triggerEvent("resizestart", t), this;
2157
- }
2158
- _resizing(e, t) {
2159
- this.scrolled = this.scrollEl.scrollTop - this.scrollY, this.temporalRect = this._getChange(e, t), this._applyChange();
2160
- let n = G.initEvent(e, {
2161
- type: "resize",
2162
- target: this.el
2163
- });
2164
- 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;
2165
- }
2166
- _resizeStop(e) {
2167
- let t = G.initEvent(e, {
2168
- type: "resizestop",
2169
- target: this.el
2170
- });
2171
- return this._cleanHelper(), this.option.stop && this.option.stop(t), this.el.classList.remove("ui-resizable-resizing"), this.triggerEvent("resizestop", t), delete this.startEvent, delete this.originalRect, delete this.temporalRect, delete this.scrollY, delete this.scrolled, this;
2172
- }
2173
- _setupHelper() {
2174
- this.elOriginStyleVal = e._originStyleProp.map((e) => this.el.style[e]), this.parentOriginStylePosition = this.el.parentElement.style.position;
2175
- let t = this.el.parentElement, n = G.getValuesFromTransformedElement(t);
2176
- return this.rectScale = {
2177
- x: n.xScale,
2178
- y: n.yScale
2179
- }, getComputedStyle(this.el.parentElement).position.match(/static/) && (this.el.parentElement.style.position = "relative"), this.el.style.position = "absolute", this.el.style.opacity = "0.8", this;
2180
- }
2181
- _cleanHelper() {
2182
- return e._originStyleProp.forEach((e, t) => {
2183
- this.el.style[e] = this.elOriginStyleVal[t] || null;
2184
- }), this.el.parentElement.style.position = this.parentOriginStylePosition || null, this;
2185
- }
2186
- _getChange(e, t) {
2187
- let n = this.startEvent, r = {
2188
- width: this.originalRect.width,
2189
- height: this.originalRect.height + this.scrolled,
2190
- left: this.originalRect.left,
2191
- right: this.originalRect.right,
2192
- top: this.originalRect.top - this.scrolled
2193
- }, i = e.clientX - n.clientX, a = this.sizeToContent ? 0 : e.clientY - n.clientY, o, s, c = this.option.rtl;
2194
- !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);
2195
- let l = this._constrainSize(r.width, r.height, o, s);
2196
- 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;
2197
- }
2198
- _constrainSize(e, t, n, r) {
2199
- let i = this.option, a = (n ? i.maxWidthMoveLeft : i.maxWidth) || 2 ** 53 - 1, o = i.minWidth / this.rectScale.x || e, s = (r ? i.maxHeightMoveUp : i.maxHeight) || 2 ** 53 - 1, c = i.minHeight / this.rectScale.y || t;
2200
- return {
2201
- width: Math.min(a, Math.max(o, e)),
2202
- height: Math.min(s, Math.max(c, t))
2203
- };
2204
- }
2205
- _applyChange() {
2206
- let e = {
2207
- left: 0,
2208
- right: 0,
2209
- top: 0,
2210
- width: 0,
2211
- height: 0
2212
- };
2213
- if (this.el.style.position === "absolute") {
2214
- let { left: t, right: n, top: r } = this.el.parentElement.getBoundingClientRect();
2215
- e = {
2216
- left: t,
2217
- right: n,
2218
- top: r,
2219
- width: 0,
2220
- height: 0
2221
- };
2222
- }
2223
- return this.temporalRect && Object.entries(this.temporalRect).forEach(([t, n]) => {
2224
- if (this.option.rtl ? t === "left" : t === "right") return;
2225
- let r = t === "width" || t === "left" || t === "right" ? this.rectScale.x : t === "height" || t === "top" ? this.rectScale.y : 1, i;
2226
- i = t === "right" ? (e.right - n) * this.rectScale.x + "px" : (n - e[t]) * r + "px", this.el.style[t] = i;
2227
- }), this;
2228
- }
2229
- _removeHandlers() {
2230
- return this.handlers.forEach((e) => e.destroy()), delete this.handlers, this;
2231
- }
2232
- };
2233
- Mn._originStyleProp = [
2234
- "width",
2235
- "height",
2236
- "position",
2237
- "left",
2238
- "right",
2239
- "top",
2240
- "opacity",
2241
- "zIndex"
2242
- ];
2243
- //#endregion
2244
- //#region node_modules/gridstack/dist/dd-draggable.js
2245
- var Nn = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-resizable-handle", Pn = class e extends jn {
2246
- constructor(e, t = {}) {
2247
- super(), this.el = e, this.option = t, this.dragTransform = {
2248
- xScale: 1,
2249
- yScale: 1,
2250
- xOffset: 0,
2251
- yOffset: 0
2252
- }, this._autoScrollTick = () => {
2253
- let e = this.helper, t = this._autoScrollContainer;
2254
- if (!e || !t) {
2255
- this._stopScrolling();
2256
- return;
2257
- }
2258
- let n = this._getClipping(e, t);
2259
- if (n === 0) {
2260
- this._stopScrolling();
2261
- return;
2262
- }
2263
- if (!this._autoScrollMaxSpeed) {
2264
- let e = window.innerHeight || document.documentElement.clientHeight;
2265
- this._autoScrollMaxSpeed = Math.max(e / 150, 4);
2266
- }
2267
- let r = Math.min(Math.abs(n) * .5, this._autoScrollMaxSpeed), i = n > 0 ? r : -r, a = t.scrollTop;
2268
- if (t.scrollTop += i, t.scrollTop === a) {
2269
- this._stopScrolling();
2270
- return;
2271
- }
2272
- this.dragging && this.lastDrag && (this._dragFollow(this.lastDrag), this._callDrag(this.lastDrag)), this._autoScrollAnimId = requestAnimationFrame(this._autoScrollTick);
2273
- };
2274
- let n = t?.handle?.substring(1), r = e.gridstackNode;
2275
- 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();
2276
- }
2277
- getAllHandles() {
2278
- return Array.from(this.el.querySelectorAll(this.option.handle)).filter((e) => {
2279
- if (!(e instanceof HTMLElement)) return !1;
2280
- let t = e.closest(".grid-stack-item");
2281
- return t === this.el || !t;
2282
- });
2283
- }
2284
- on(e, t) {
2285
- super.on(e, t);
2286
- }
2287
- off(e) {
2288
- super.off(e);
2289
- }
2290
- enable() {
2291
- this.disabled !== !1 && (super.enable(), this.dragEls.forEach((e) => {
2292
- e.addEventListener("mousedown", this._mouseDown), J && (e.addEventListener("touchstart", wn), e.addEventListener("pointerdown", Dn));
2293
- }), this.el.classList.remove("ui-draggable-disabled"));
2294
- }
2295
- disable(e = !1) {
2296
- this.disabled !== !0 && (super.disable(), this.dragEls.forEach((e) => {
2297
- e.removeEventListener("mousedown", this._mouseDown), J && (e.removeEventListener("touchstart", wn), e.removeEventListener("pointerdown", Dn));
2298
- }), e || this.el.classList.add("ui-draggable-disabled"));
2299
- }
2300
- destroy() {
2301
- this.dragTimeout && window.clearTimeout(this.dragTimeout), delete this.dragTimeout, this.mouseDownEvent && this._mouseUp(this.mouseDownEvent), this.disable(!0), delete this.el, delete this.helper, delete this.option, super.destroy();
2302
- }
2303
- updateOption(e) {
2304
- return Object.keys(e).forEach((t) => this.option[t] = e[t]), this;
2305
- }
2306
- _mouseDown(e) {
2307
- if (Y.touchHandled && e.isTrusted && (Y.touchHandled = !1), !q.mouseHandled) return e.button !== 0 || !this.dragEls.find((t) => t === e.target) && e.target.closest(Nn) || this.option.cancel && e.target.closest(this.option.cancel) ? !0 : (this.mouseDownEvent = e, delete this.dragging, delete q.dragElement, delete q.dropElement, delete this._autoScrollMaxSpeed, delete this._autoScrollContainer, document.addEventListener("mousemove", this._mouseMove, {
2308
- capture: !0,
2309
- passive: !0
2310
- }), document.addEventListener("mouseup", this._mouseUp, !0), J && (e.currentTarget.addEventListener("touchmove", Tn), e.currentTarget.addEventListener("touchend", En)), e.preventDefault(), document.activeElement && document.activeElement.blur(), q.mouseHandled = !0, !0);
2311
- }
2312
- _callDrag(e) {
2313
- if (!this.dragging) return;
2314
- let t = G.initEvent(e, {
2315
- target: this.el,
2316
- type: "drag"
2317
- });
2318
- this.option.drag && this.option.drag(t, this.ui()), this.triggerEvent("drag", t);
2319
- }
2320
- _mouseMove(e) {
2321
- let t = this.mouseDownEvent;
2322
- if (this.lastDrag = e, this.dragging) if (this._dragFollow(e), q.pauseDrag) {
2323
- let t = Number.isInteger(q.pauseDrag) ? q.pauseDrag : 100;
2324
- this.dragTimeout && window.clearTimeout(this.dragTimeout), this.dragTimeout = window.setTimeout(() => this._callDrag(e), t);
2325
- } else this._callDrag(e);
2326
- else if (Math.abs(e.x - t.x) + Math.abs(e.y - t.y) > 3) {
2327
- this.dragging = !0, q.dragElement = this;
2328
- let t = this.el.gridstackNode?.grid;
2329
- t ? q.dropElement = t.el.ddElement.ddDroppable : delete q.dropElement, this.helper = this._createHelper(), this._setupHelperContainmentStyle(), this.dragTransform = G.getValuesFromTransformedElement(this.helperContainment), this.dragOffset = this._getDragOffset(e, this.el, this.helperContainment), this._setupHelperStyle(e);
2330
- let n = G.initEvent(e, {
2331
- target: this.el,
2332
- type: "dragstart"
2333
- });
2334
- this.option.start && this.option.start(n, this.ui()), this.triggerEvent("dragstart", n), document.addEventListener("keydown", this._keyEvent);
2335
- }
2336
- return !0;
2337
- }
2338
- _mouseUp(e) {
2339
- if (this._stopScrolling(), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), J && e.currentTarget && (e.currentTarget.removeEventListener("touchmove", Tn, !0), e.currentTarget.removeEventListener("touchend", En, !0)), this.dragging) {
2340
- delete this.dragging, delete this.el.gridstackNode?._origRotate, document.removeEventListener("keydown", this._keyEvent), q.dropElement?.el === this.el.parentElement && delete q.dropElement, this.helperContainment.style.position = this.parentOriginStylePosition || null, this.helper !== this.el && this.helper.remove(), this._removeHelperStyle();
2341
- let t = G.initEvent(e, {
2342
- target: this.el,
2343
- type: "dragstop"
2344
- });
2345
- this.option.stop && this.option.stop(t), this.triggerEvent("dragstop", t), q.dropElement && q.dropElement.drop(e);
2346
- }
2347
- delete this.helper, delete this.mouseDownEvent, delete q.dragElement, delete q.dropElement, delete q.mouseHandled, e.preventDefault();
2348
- }
2349
- _keyEvent(e) {
2350
- let t = this.el.gridstackNode, n = t?.grid || q.dropElement?.el?.gridstack;
2351
- if (e.key === "Escape") t && t._origRotate && (t._orig = t._origRotate, delete t._origRotate), n?.cancelDrag(), this._mouseUp(this.mouseDownEvent);
2352
- else if (t && n && (e.key === "r" || e.key === "R")) {
2353
- if (!G.canBeRotated(t)) return;
2354
- t._origRotate = t._origRotate || { ...t._orig }, delete t._moving, n.setAnimation(!1).rotate(t.el, {
2355
- top: -this.dragOffset.offsetTop,
2356
- left: -this.dragOffset.offsetX
2357
- }).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", G.swap(t._orig, "w", "h"), delete t._rect, this._mouseMove(this.lastDrag);
2358
- }
2359
- }
2360
- _createHelper() {
2361
- let t = this.el;
2362
- return typeof this.option.helper == "function" ? t = this.option.helper(this.el) : this.option.helper === "clone" && (t = G.cloneNode(this.el)), t.parentElement || G.appendTo(t, this.option.appendTo === "parent" ? this.el.parentElement : this.option.appendTo), this.dragElementOriginStyle = e.originStyleProp.map((e) => this.el.style[e]), t;
2363
- }
2364
- _setupHelperStyle(e) {
2365
- this.helper.classList.add("ui-draggable-dragging"), this.el.gridstackNode?.grid?.el.classList.add("grid-stack-dragging");
2366
- let t = this.helper.style;
2367
- 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(() => {
2368
- this.helper && (t.transition = null);
2369
- }, 0), this;
2370
- }
2371
- _removeHelperStyle() {
2372
- if (this.helper.classList.remove("ui-draggable-dragging"), this.el.gridstackNode?.grid?.el.classList.remove("grid-stack-dragging"), !this.helper?.gridstackNode?._isAboutToRemove && this.dragElementOriginStyle) {
2373
- let t = this.helper, n = this.dragElementOriginStyle.transition || null;
2374
- t.style.transition = this.dragElementOriginStyle.transition = "none", e.originStyleProp.forEach((e) => t.style[e] = this.dragElementOriginStyle[e] || null), setTimeout(() => t.style.transition = n, 50);
2375
- }
2376
- return delete this.dragElementOriginStyle, this;
2377
- }
2378
- _dragFollow(e) {
2379
- let t = this.helper.style, n = this.dragOffset;
2380
- 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";
2381
- }
2382
- _setupHelperContainmentStyle() {
2383
- 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;
2384
- }
2385
- _getDragOffset(e, t, n) {
2386
- let r = 0, i = 0;
2387
- n && (r = this.dragTransform.xOffset, i = this.dragTransform.yOffset);
2388
- 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;
2389
- return {
2390
- x: o,
2391
- top: a.top,
2392
- offsetX: s,
2393
- offsetTop: -e.clientY + a.top - i,
2394
- width: a.width * this.dragTransform.xScale,
2395
- height: a.height * this.dragTransform.yScale
2396
- };
2397
- }
2398
- updateScrollPosition(e) {
2399
- this._autoScrollContainer = G.getScrollElement(e), this._getClipping(this.helper, this._autoScrollContainer) === 0 ? this._stopScrolling() : this._autoScrollAnimId ||= requestAnimationFrame(this._autoScrollTick);
2400
- }
2401
- _getClipping(e, t) {
2402
- let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = window.innerHeight || document.documentElement.clientHeight;
2403
- if (n.bottom < r.top || n.top > r.bottom) return 0;
2404
- let a = n.bottom - Math.min(r.bottom, i), o = n.top - Math.max(r.top, 0);
2405
- return o < 0 ? o : a > 0 ? a : 0;
2406
- }
2407
- _stopScrolling() {
2408
- this._autoScrollAnimId && (cancelAnimationFrame(this._autoScrollAnimId), delete this._autoScrollAnimId);
2409
- }
2410
- ui() {
2411
- 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;
2412
- return { position: {
2413
- top: (t.top - e.top) * this.dragTransform.yScale,
2414
- left: n
2415
- } };
2416
- }
2417
- };
2418
- Pn.originStyleProp = [
2419
- "width",
2420
- "height",
2421
- "transform",
2422
- "transform-origin",
2423
- "transition",
2424
- "pointerEvents",
2425
- "position",
2426
- "left",
2427
- "right",
2428
- "top",
2429
- "minWidth",
2430
- "willChange"
2431
- ];
2432
- //#endregion
2433
- //#region node_modules/gridstack/dist/dd-droppable.js
2434
- var Fn = class extends jn {
2435
- constructor(e, t = {}) {
2436
- super(), this.el = e, this.option = t, this._mouseEnter = this._mouseEnter.bind(this), this._mouseLeave = this._mouseLeave.bind(this), this.enable(), this._setupAccept();
2437
- }
2438
- on(e, t) {
2439
- super.on(e, t);
2440
- }
2441
- off(e) {
2442
- super.off(e);
2443
- }
2444
- enable() {
2445
- this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), J && (this.el.addEventListener("pointerenter", On), this.el.addEventListener("pointerleave", kn)));
2446
- }
2447
- disable(e = !1) {
2448
- this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), J && (this.el.removeEventListener("pointerenter", On), this.el.removeEventListener("pointerleave", kn)));
2449
- }
2450
- destroy() {
2451
- this.disable(!0), this.el.classList.remove("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), super.destroy();
2452
- }
2453
- updateOption(e) {
2454
- return Object.keys(e).forEach((t) => this.option[t] = e[t]), this._setupAccept(), this;
2455
- }
2456
- _mouseEnter(e) {
2457
- if (!q.dragElement || Y.touchHandled && e.isTrusted || !this._canDrop(q.dragElement.el)) return;
2458
- e.preventDefault(), e.stopPropagation(), q.dragElement._stopScrolling(), q.dropElement && q.dropElement !== this && q.dropElement._mouseLeave(e, !0), q.dropElement = this;
2459
- let t = G.initEvent(e, {
2460
- target: this.el,
2461
- type: "dropover"
2462
- });
2463
- this.option.over && this.option.over(t, this._ui(q.dragElement)), this.triggerEvent("dropover", t), this.el.classList.add("ui-droppable-over");
2464
- }
2465
- _mouseLeave(e, t = !1) {
2466
- if (!q.dragElement || q.dropElement !== this) return;
2467
- e.preventDefault(), e.stopPropagation(), t && q.dragElement._stopScrolling();
2468
- let n = G.initEvent(e, {
2469
- target: this.el,
2470
- type: "dropout"
2471
- });
2472
- if (this.option.out && this.option.out(n, this._ui(q.dragElement)), this.triggerEvent("dropout", n), q.dropElement === this && (delete q.dropElement, !t)) {
2473
- let t, n = this.el.parentElement;
2474
- for (; !t && n;) t = n.ddElement?.ddDroppable, n = n.parentElement;
2475
- t && t._mouseEnter(e);
2476
- }
2477
- }
2478
- drop(e) {
2479
- e.preventDefault();
2480
- let t = G.initEvent(e, {
2481
- target: this.el,
2482
- type: "drop"
2483
- });
2484
- this.option.drop && this.option.drop(t, this._ui(q.dragElement)), this.triggerEvent("drop", t);
2485
- }
2486
- _canDrop(e) {
2487
- return e && (!this.accept || this.accept(e));
2488
- }
2489
- _setupAccept() {
2490
- return this.option.accept && (typeof this.option.accept == "string" ? this.accept = (e) => e.classList.contains(this.option.accept) || e.matches(this.option.accept) : this.accept = this.option.accept), this;
2491
- }
2492
- _ui(e) {
2493
- return {
2494
- draggable: e.el,
2495
- ...e.ui()
2496
- };
2497
- }
2498
- }, In = class e {
2499
- static init(t) {
2500
- return t.ddElement ||= new e(t), t.ddElement;
2501
- }
2502
- constructor(e) {
2503
- this.el = e;
2504
- }
2505
- on(e, t) {
2506
- return this.ddDraggable && [
2507
- "drag",
2508
- "dragstart",
2509
- "dragstop"
2510
- ].indexOf(e) > -1 ? this.ddDraggable.on(e, t) : this.ddDroppable && [
2511
- "drop",
2512
- "dropover",
2513
- "dropout"
2514
- ].indexOf(e) > -1 ? this.ddDroppable.on(e, t) : this.ddResizable && [
2515
- "resizestart",
2516
- "resize",
2517
- "resizestop"
2518
- ].indexOf(e) > -1 && this.ddResizable.on(e, t), this;
2519
- }
2520
- off(e) {
2521
- return this.ddDraggable && [
2522
- "drag",
2523
- "dragstart",
2524
- "dragstop"
2525
- ].indexOf(e) > -1 ? this.ddDraggable.off(e) : this.ddDroppable && [
2526
- "drop",
2527
- "dropover",
2528
- "dropout"
2529
- ].indexOf(e) > -1 ? this.ddDroppable.off(e) : this.ddResizable && [
2530
- "resizestart",
2531
- "resize",
2532
- "resizestop"
2533
- ].indexOf(e) > -1 && this.ddResizable.off(e), this;
2534
- }
2535
- setupDraggable(e) {
2536
- return this.ddDraggable ? this.ddDraggable.updateOption(e) : this.ddDraggable = new Pn(this.el, e), this;
2537
- }
2538
- cleanDraggable() {
2539
- return this.ddDraggable && (this.ddDraggable.destroy(), delete this.ddDraggable), this;
2540
- }
2541
- setupResizable(e) {
2542
- return this.ddResizable ? this.ddResizable.updateOption(e) : this.ddResizable = new Mn(this.el, e), this;
2543
- }
2544
- cleanResizable() {
2545
- return this.ddResizable && (this.ddResizable.destroy(), delete this.ddResizable), this;
2546
- }
2547
- setupDroppable(e) {
2548
- return this.ddDroppable ? this.ddDroppable.updateOption(e) : this.ddDroppable = new Fn(this.el, e), this;
2549
- }
2550
- cleanDroppable() {
2551
- return this.ddDroppable && (this.ddDroppable.destroy(), delete this.ddDroppable), this;
2552
- }
2553
- }, X = new class {
2554
- resizable(e, t, n, r) {
2555
- return this._getDDElements(e, t).forEach((e) => {
2556
- if (t === "disable" || t === "enable") e.ddResizable && e.ddResizable[t]();
2557
- else if (t === "destroy") e.ddResizable && e.cleanResizable();
2558
- else if (t === "option") e.setupResizable({ [n]: r });
2559
- else {
2560
- let n = e.el.gridstackNode.grid, r = e.el.getAttribute("gs-resize-handles") || n.opts.resizable.handles || "e,s,se";
2561
- r === "all" && (r = "n,e,s,w,se,sw,ne,nw");
2562
- let i = !n.opts.alwaysShowResizeHandle;
2563
- e.setupResizable({
2564
- ...n.opts.resizable,
2565
- handles: r,
2566
- autoHide: i,
2567
- start: t.start,
2568
- stop: t.stop,
2569
- resize: t.resize,
2570
- rtl: t.rtl
2571
- });
2572
- }
2573
- }), this;
2574
- }
2575
- draggable(e, t, n, r) {
2576
- return this._getDDElements(e, t).forEach((e) => {
2577
- if (t === "disable" || t === "enable") e.ddDraggable && e.ddDraggable[t]();
2578
- else if (t === "destroy") e.ddDraggable && e.cleanDraggable();
2579
- else if (t === "option") e.setupDraggable({ [n]: r });
2580
- else {
2581
- let n = e.el.gridstackNode.grid;
2582
- e.setupDraggable({
2583
- ...n.opts.draggable,
2584
- start: t.start,
2585
- stop: t.stop,
2586
- drag: t.drag,
2587
- rtl: t.rtl
2588
- });
2589
- }
2590
- }), this;
2591
- }
2592
- dragIn(e, t) {
2593
- return this._getDDElements(e).forEach((e) => e.setupDraggable(t)), this;
2594
- }
2595
- droppable(e, t, n, r) {
2596
- return typeof t.accept == "function" && !t._accept && (t._accept = t.accept, t.accept = (e) => t._accept(e)), this._getDDElements(e, t).forEach((e) => {
2597
- t === "disable" || t === "enable" ? e.ddDroppable && e.ddDroppable[t]() : t === "destroy" ? e.ddDroppable && e.cleanDroppable() : t === "option" ? e.setupDroppable({ [n]: r }) : e.setupDroppable(t);
2598
- }), this;
2599
- }
2600
- isDroppable(e) {
2601
- return !!(e?.ddElement?.ddDroppable && !e.ddElement.ddDroppable.disabled);
2602
- }
2603
- isDraggable(e) {
2604
- return !!(e?.ddElement?.ddDraggable && !e.ddElement.ddDraggable.disabled);
2605
- }
2606
- isResizable(e) {
2607
- return !!(e?.ddElement?.ddResizable && !e.ddElement.ddResizable.disabled);
2608
- }
2609
- on(e, t, n) {
2610
- return this._getDDElements(e).forEach((e) => e.on(t, (e) => {
2611
- n(e, q.dragElement ? q.dragElement.el : e.target, q.dragElement ? q.dragElement.helper : null);
2612
- })), this;
2613
- }
2614
- off(e, t) {
2615
- return this._getDDElements(e).forEach((e) => e.off(t)), this;
2616
- }
2617
- _getDDElements(e, t) {
2618
- let n = e.gridstack || t !== "destroy" && t !== "disable", r = G.getElements(e);
2619
- return r.length ? r.map((e) => e.ddElement || (n ? In.init(e) : null)).filter((e) => e) : [];
2620
- }
2621
- }(), Z = class e {
2622
- static init(t = {}, n = ".grid-stack") {
2623
- if (typeof document > "u") return null;
2624
- let r = e.getGridElement(n);
2625
- return r ? (r.gridstack ||= new e(r, G.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);
2626
- }
2627
- static initAll(t = {}, n = ".grid-stack") {
2628
- let r = [];
2629
- return typeof document > "u" ? r : (e.getGridElements(n).forEach((n) => {
2630
- n.gridstack ||= new e(n, G.cloneDeep(t)), r.push(n.gridstack);
2631
- }), 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);
2632
- }
2633
- static addGrid(t, n = {}) {
2634
- if (!t) return null;
2635
- let r = t;
2636
- if (r.gridstack) {
2637
- let e = r.gridstack;
2638
- return n && (e.opts = {
2639
- ...e.opts,
2640
- ...n
2641
- }), n.children !== void 0 && e.load(n.children), e;
2642
- }
2643
- return (!t.classList.contains("grid-stack") || e.addRemoveCB) && (r = e.addRemoveCB ? e.addRemoveCB(t, n, !0, !0) : G.createDiv(["grid-stack", n.class], t)), e.init(n, r);
2644
- }
2645
- static registerEngine(t) {
2646
- e.engineClass = t;
2647
- }
2648
- get placeholder() {
2649
- if (!this._placeholder) {
2650
- this._placeholder = G.createDiv([
2651
- this.opts.placeholderClass,
2652
- K.itemClass,
2653
- this.opts.itemClass
2654
- ]);
2655
- let e = G.createDiv(["placeholder-content"], this._placeholder);
2656
- this.opts.placeholderText && (e.textContent = this.opts.placeholderText);
2657
- }
2658
- return this._placeholder;
2659
- }
2660
- constructor(t, n = {}) {
2661
- this.el = t, this.opts = n, this.animationDelay = 310, this._gsEventHandler = {}, this._extraDragRow = 0, this.dragTransform = {
2662
- xScale: 1,
2663
- yScale: 1,
2664
- xOffset: 0,
2665
- yOffset: 0
2666
- }, t.gridstack = this, this.opts = n ||= {}, t.classList.contains("grid-stack") || this.el.classList.add("grid-stack"), n.row && (n.minRow = n.maxRow = n.row, delete n.row);
2667
- let r = G.toNumber(t.getAttribute("gs-row"));
2668
- n.column === "auto" && delete n.column, n.alwaysShowResizeHandle !== void 0 && (n._alwaysShowResizeHandle = n.alwaysShowResizeHandle);
2669
- let i = n.columnOpts;
2670
- if (i) {
2671
- let e = i.breakpoints;
2672
- !i.columnWidth && !e?.length ? delete n.columnOpts : (i.columnMax = i.columnMax || 12, e?.length > 1 && e.sort((e, t) => (t.w || 0) - (e.w || 0)));
2673
- }
2674
- let a = {
2675
- ...G.cloneDeep(K),
2676
- column: G.toNumber(t.getAttribute("gs-column")) || K.column,
2677
- minRow: r || G.toNumber(t.getAttribute("gs-min-row")) || K.minRow,
2678
- maxRow: r || G.toNumber(t.getAttribute("gs-max-row")) || K.maxRow,
2679
- staticGrid: G.toBool(t.getAttribute("gs-static")) || K.staticGrid,
2680
- sizeToContent: G.toBool(t.getAttribute("gs-size-to-content")) || void 0,
2681
- draggable: { handle: (n.handleClass ? "." + n.handleClass : n.handle ? n.handle : "") || K.draggable.handle },
2682
- removableOptions: {
2683
- accept: n.itemClass || K.removableOptions.accept,
2684
- decline: K.removableOptions.decline
2685
- }
2686
- };
2687
- t.getAttribute("gs-animate") && (a.animate = G.toBool(t.getAttribute("gs-animate"))), n = G.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");
2688
- let o = this.el.closest("." + K.itemClass)?.gridstackNode;
2689
- 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._isAutoCellHeight || n.cellHeight === "initial") this.cellHeight(void 0);
2690
- else {
2691
- typeof n.cellHeight == "number" && n.cellHeightUnit && n.cellHeightUnit !== K.cellHeightUnit && (n.cellHeight += n.cellHeightUnit, delete n.cellHeightUnit);
2692
- let e = n.cellHeight;
2693
- delete n.cellHeight, this.cellHeight(e);
2694
- }
2695
- n.alwaysShowResizeHandle === "mobile" && (n.alwaysShowResizeHandle = J), this._setStaticClass();
2696
- let s = n.engineClass || e.engineClass || xn;
2697
- if (this.engine = new s({
2698
- column: this.getColumn(),
2699
- float: n.float,
2700
- maxRow: n.maxRow,
2701
- onChange: (e) => {
2702
- e.forEach((e) => {
2703
- let t = e.el;
2704
- t && (e._removeDOM ? (t && t.remove(), delete e._removeDOM) : this._writePosAttr(t, e));
2705
- }), this._updateContainerHeight();
2706
- }
2707
- }), n.auto && (this.batchUpdate(), this.engine._loading = !0, this.getGridItems().forEach((e) => this._prepareElement(e)), delete this.engine._loading, this.batchUpdate(!1)), n.children) {
2708
- let e = n.children;
2709
- delete n.children, e.length && this.load(e);
2710
- }
2711
- this.setAnimation(), n.subGridDynamic && !q.pauseDrag && (q.pauseDrag = !0), n.draggable?.pause !== void 0 && (q.pauseDrag = n.draggable.pause), this._setupRemoveDrop(), this._setupAcceptWidget(), this._updateResizeEvent();
2712
- }
2713
- _updateColumnVar(e = this.opts) {
2714
- this.el.classList.add("gs-" + e.column), typeof e.column == "number" && this.el.style.setProperty("--gs-column-width", `${100 / e.column}%`);
2715
- }
2716
- addWidget(t) {
2717
- if (!t) return;
2718
- if (typeof t == "string") {
2719
- console.error("V11: GridStack.addWidget() does not support string anymore. see #2736");
2720
- return;
2721
- }
2722
- if (t.ELEMENT_NODE) return console.error("V11: GridStack.addWidget() does not support HTMLElement anymore. use makeWidget()"), this.makeWidget(t);
2723
- let n, r = t;
2724
- if (r.grid = this, n = r.el ? r.el : e.addRemoveCB ? e.addRemoveCB(this.el, t, !0, !1) : this.createWidgetDivs(r), !n) return;
2725
- if (r = n.gridstackNode, r && n.parentElement === this.el && this.engine.nodes.find((e) => e._id === r._id)) return n;
2726
- let i = this._readAttr(n);
2727
- return G.defaults(t, i), this.engine.prepareNode(t), this.el.appendChild(n), this.makeWidget(n, t), n;
2728
- }
2729
- createWidgetDivs(t) {
2730
- let n = G.createDiv(["grid-stack-item", this.opts.itemClass]), r = G.createDiv(["grid-stack-item-content"], n);
2731
- return G.lazyLoad(t) ? t.visibleObservable || (t.visibleObservable = new IntersectionObserver(([n]) => {
2732
- n.isIntersecting && (t.visibleObservable?.disconnect(), delete t.visibleObservable, e.renderCB(r, t), t.grid?.prepareDragDrop(t.el));
2733
- }), window.setTimeout(() => t.visibleObservable?.observe(n))) : e.renderCB(r, t), n;
2734
- }
2735
- makeSubGrid(t, n, r, i = !0) {
2736
- let a = t.gridstackNode;
2737
- if (a ||= this.makeWidget(t).gridstackNode, a.subGrid?.el) return a.subGrid;
2738
- let o, s = this;
2739
- for (; s && !o;) o = s.opts?.subGridOpts, s = s.parentGridNode?.grid;
2740
- n = G.cloneDeep({
2741
- ...this.opts,
2742
- id: void 0,
2743
- children: void 0,
2744
- column: "auto",
2745
- columnOpts: void 0,
2746
- layout: "list",
2747
- subGridOpts: void 0,
2748
- ...o || {},
2749
- ...n || a.subGridOpts || {}
2750
- }), a.subGridOpts = n;
2751
- let c;
2752
- n.column === "auto" && (c = !0, n.column = Math.max(a.w || 1, r?.w || 1), delete n.columnOpts);
2753
- let l = a.el.querySelector(".grid-stack-item-content"), u, d;
2754
- if (i && (this._removeDD(a.el), d = {
2755
- ...a,
2756
- x: 0,
2757
- y: 0
2758
- }, G.removeInternalForSave(d), delete d.subGridOpts, a.content && (d.content = a.content, delete a.content), e.addRemoveCB ? u = e.addRemoveCB(this.el, d, !0, !1) : (u = G.createDiv(["grid-stack-item"]), u.appendChild(l), l = G.createDiv(["grid-stack-item-content"], a.el)), this.prepareDragDrop(a.el)), r) {
2759
- let e = c ? n.column : a.w, t = a.h + r.h, i = a.el.style;
2760
- i.transition = "none", this.update(a.el, {
2761
- w: e,
2762
- h: t
2763
- }), setTimeout(() => i.transition = null);
2764
- }
2765
- let f = a.subGrid = e.addGrid(l, n);
2766
- return r?._moving && (f._isTemp = !0), c && (f._autoColumn = !0), i && f.makeWidget(u, d), r && (r._moving ? window.setTimeout(() => G.simulateMouseEvent(r._event, "mouseenter", f.el), 0) : f.makeWidget(a.el, a)), this.resizeToContentCheck(!1, a), f;
2767
- }
2768
- removeAsSubGrid(e) {
2769
- let t = this.parentGridNode?.grid;
2770
- t && (t.batchUpdate(), t.removeWidget(this.parentGridNode.el, !0, !0), this.engine.nodes.forEach((e) => {
2771
- e.x += this.parentGridNode.x, e.y += this.parentGridNode.y, t.makeWidget(e.el, e);
2772
- }), t.batchUpdate(!1), this.parentGridNode && delete this.parentGridNode.subGrid, delete this.parentGridNode, e && window.setTimeout(() => G.simulateMouseEvent(e._event, "mouseenter", t.el), 0));
2773
- }
2774
- save(t = !0, n = !1, r = e.saveCB, i) {
2775
- let a = this.engine.save(t, r, i);
2776
- if (a.forEach((e) => {
2777
- if (t && e.el && !e.subGrid && !r) e.content = e.el.querySelector(".grid-stack-item-content")?.innerHTML, e.content || delete e.content;
2778
- else if (!t && !r && delete e.content, e.subGrid?.el) {
2779
- let i = e.w || e.subGrid.getColumn(), a = e.subGrid.save(t, n, r, i);
2780
- e.subGridOpts = n ? a : { children: a }, delete e.subGrid;
2781
- }
2782
- delete e.el;
2783
- }), n) {
2784
- let e = G.cloneDeep(this.opts);
2785
- 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");
2786
- let t = e._alwaysShowResizeHandle;
2787
- return delete e._alwaysShowResizeHandle, t === void 0 ? delete e.alwaysShowResizeHandle : e.alwaysShowResizeHandle = t, G.removeInternalAndSame(e, K), e.children = a, e;
2788
- }
2789
- return a;
2790
- }
2791
- load(t, n = e.addRemoveCB || !0) {
2792
- t.forEach((e) => {
2793
- e.w = e.w || e.minW || 1, e.h = e.h || e.minH || 1;
2794
- }), t = G.sort(t), this.engine.skipCacheUpdate = this._ignoreLayoutsNodeChange = !0;
2795
- let r = 0;
2796
- t.forEach((e) => {
2797
- r = Math.max(r, (e.x || 0) + e.w);
2798
- }), r > this.engine.defaultColumn && (this.engine.defaultColumn = r);
2799
- let i = this.getColumn();
2800
- 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));
2801
- let a = e.addRemoveCB;
2802
- typeof n == "function" && (e.addRemoveCB = n);
2803
- let o = [];
2804
- this.batchUpdate();
2805
- let s = !this.engine.nodes.length, c = s && this.opts.animate;
2806
- c && this.setAnimation(!1), !s && n && [...this.engine.nodes].forEach((n) => {
2807
- n.id && (G.find(t, n.id) || (e.addRemoveCB && e.addRemoveCB(this.el, n, !1, !1), o.push(n), this.removeWidget(n.el, !0, !1)));
2808
- }), this.engine._loading = !0;
2809
- let l = [];
2810
- return this.engine.nodes = this.engine.nodes.filter((e) => G.find(t, e.id) ? (l.push(e), !1) : !0), t.forEach((e) => {
2811
- let t = G.find(l, e.id);
2812
- if (t) {
2813
- if (G.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), G.samePos(t, e) && this.engine.nodes.length > 1 && (this.moveNode(t, {
2814
- ...e,
2815
- forceCollide: !0
2816
- }), G.copyPos(e, t)), this.update(t.el, e), e.subGridOpts?.children) {
2817
- let n = t.el.querySelector(".grid-stack");
2818
- n && n.gridstack && n.gridstack.load(e.subGridOpts.children);
2819
- }
2820
- } else n && this.addWidget(e);
2821
- }), 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;
2822
- }
2823
- batchUpdate(e = !0) {
2824
- return this.engine.batchUpdate(e), e || (this._updateContainerHeight(), this._triggerRemoveEvent(), this._triggerAddEvent(), this._triggerChangeEvent()), this;
2825
- }
2826
- getCellHeight(e = !1) {
2827
- if (this.opts.cellHeight && this.opts.cellHeight !== "auto" && (!e || !this.opts.cellHeightUnit || this.opts.cellHeightUnit === "px")) return this.opts.cellHeight;
2828
- if (this.opts.cellHeightUnit === "rem") return this.opts.cellHeight * parseFloat(getComputedStyle(document.documentElement).fontSize);
2829
- if (this.opts.cellHeightUnit === "em") return this.opts.cellHeight * parseFloat(getComputedStyle(this.el).fontSize);
2830
- if (this.opts.cellHeightUnit === "cm") return this.opts.cellHeight * (96 / 2.54);
2831
- if (this.opts.cellHeightUnit === "mm") return this.opts.cellHeight * (96 / 2.54) / 10;
2832
- let t = this.el.querySelector("." + this.opts.itemClass);
2833
- if (t) {
2834
- let e = G.toNumber(t.getAttribute("gs-h")) || 1;
2835
- return Math.round(t.offsetHeight / e);
2836
- }
2837
- let n = parseInt(this.el.getAttribute("gs-current-row"));
2838
- return n ? Math.round(this.el.getBoundingClientRect().height / n) : this.opts.cellHeight;
2839
- }
2840
- cellHeight(e) {
2841
- if (e !== void 0 && this._isAutoCellHeight !== (e === "auto") && (this._isAutoCellHeight = e === "auto", this._updateResizeEvent()), (e === "initial" || e === "auto") && (e = void 0), e === void 0) {
2842
- let t = -this.opts.marginRight - this.opts.marginLeft + this.opts.marginTop + this.opts.marginBottom;
2843
- e = this.cellWidth() + t;
2844
- }
2845
- let t = G.parseHeight(e);
2846
- return this.opts.cellHeightUnit === t.unit && this.opts.cellHeight === t.h ? this : (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);
2847
- }
2848
- cellWidth() {
2849
- return this._widthOrContainer() / this.getColumn();
2850
- }
2851
- _widthOrContainer(e = !1) {
2852
- return e && this.opts.columnOpts?.breakpointForWindow ? window.innerWidth : this.el.clientWidth || this.el.parentElement.clientWidth || window.innerWidth;
2853
- }
2854
- checkDynamicColumn() {
2855
- let e = this.opts.columnOpts;
2856
- if (!e || !e.columnWidth && !e.breakpoints?.length) return !1;
2857
- let t = this.getColumn(), n = t, r = this._widthOrContainer(!0);
2858
- if (e.columnWidth) n = Math.min(Math.round(r / e.columnWidth) || 1, e.columnMax);
2859
- else {
2860
- n = e.columnMax;
2861
- let i = 0;
2862
- for (; i < e.breakpoints.length && r <= e.breakpoints[i].w;) n = e.breakpoints[i++].c || t;
2863
- }
2864
- if (n !== t) {
2865
- let t = e.breakpoints?.find((e) => e.c === n);
2866
- return this.column(n, t?.layout || e.layout), !0;
2867
- }
2868
- return !1;
2869
- }
2870
- compact(e = "compact", t = !0) {
2871
- return this.engine.compact(e, t), this._triggerChangeEvent(), this;
2872
- }
2873
- column(e, t = "moveScale") {
2874
- if (!e || e < 1 || this.opts.column === e) return this;
2875
- let n = this.getColumn();
2876
- 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.cellHeight(), this.resizeToContentCheck(!0), this._ignoreLayoutsNodeChange = !0, this._triggerChangeEvent(), delete this._ignoreLayoutsNodeChange, this) : (this.responseLayout = t, this);
2877
- }
2878
- getColumn() {
2879
- return this.opts.column;
2880
- }
2881
- getGridItems() {
2882
- return Array.from(this.el.children).filter((e) => e.matches("." + this.opts.itemClass) && !e.matches("." + this.opts.placeholderClass));
2883
- }
2884
- isIgnoreChangeCB() {
2885
- return this._ignoreLayoutsNodeChange;
2886
- }
2887
- destroy(e = !0) {
2888
- if (this.el) return 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;
2889
- }
2890
- float(e) {
2891
- return this.opts.float !== e && (this.opts.float = this.engine.float = e, this._triggerChangeEvent()), this;
2892
- }
2893
- getFloat() {
2894
- return this.engine.float;
2895
- }
2896
- getCellFromPixel(e, t = !1) {
2897
- let n = this.el.getBoundingClientRect(), r;
2898
- r = t ? {
2899
- top: n.top + document.documentElement.scrollTop,
2900
- left: n.left
2901
- } : {
2902
- top: this.el.offsetTop,
2903
- left: this.el.offsetLeft
2904
- };
2905
- 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"));
2906
- return {
2907
- x: Math.floor(i / o),
2908
- y: Math.floor(a / s)
2909
- };
2910
- }
2911
- getRow() {
2912
- return Math.max(this.engine.getRow(), this.opts.minRow || 0);
2913
- }
2914
- isAreaEmpty(e, t, n, r) {
2915
- return this.engine.isAreaEmpty(e, t, n, r);
2916
- }
2917
- makeWidget(t, n) {
2918
- let r = e.getElement(t);
2919
- if (!r || r.gridstackNode) return r;
2920
- r.parentElement || this.el.appendChild(r), this._prepareElement(r, !0, n);
2921
- let i = r.gridstackNode;
2922
- this._updateContainerHeight(), i.subGridOpts && this.makeSubGrid(r, i.subGridOpts, void 0, !1);
2923
- let a;
2924
- return this.opts.column === 1 && !this._ignoreLayoutsNodeChange && (a = this._ignoreLayoutsNodeChange = !0), this._triggerAddEvent(), this._triggerChangeEvent(), a && delete this._ignoreLayoutsNodeChange, r;
2925
- }
2926
- on(e, t) {
2927
- 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) => {
2928
- e.detail && t(e, e.detail);
2929
- }, 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);
2930
- }
2931
- off(e) {
2932
- 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);
2933
- }
2934
- offAll() {
2935
- return Object.keys(this._gsEventHandler).forEach((e) => this.off(e)), this;
2936
- }
2937
- removeWidget(t, n = !0, r = !0) {
2938
- return t ? (e.getElements(t).forEach((t) => {
2939
- if (t.parentElement && t.parentElement !== this.el) return;
2940
- let i = t.gridstackNode;
2941
- 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());
2942
- }), r && (this._triggerRemoveEvent(), this._triggerChangeEvent()), this) : (console.error("Error: GridStack.removeWidget(undefined) called"), this);
2943
- }
2944
- removeAll(t = !0, n = !0) {
2945
- return this.engine.nodes.forEach((n) => {
2946
- t && e.addRemoveCB && e.addRemoveCB(this.el, n, !1, !1), delete n.el.gridstackNode, this.opts.staticGrid || this._removeDD(n.el);
2947
- }), this.engine.removeAll(t, n), n && this._triggerRemoveEvent(), this;
2948
- }
2949
- setAnimation(e = this.opts.animate, t) {
2950
- return t ? setTimeout(() => {
2951
- this.opts && this.setAnimation(e);
2952
- }) : e ? this.el.classList.add("grid-stack-animate") : this.el.classList.remove("grid-stack-animate"), this.opts.animate = e, this;
2953
- }
2954
- hasAnimationCSS() {
2955
- return this.el.classList.contains("grid-stack-animate");
2956
- }
2957
- setStatic(e, t = !0, n = !0) {
2958
- return !!this.opts.staticGrid === e ? this : (e ? this.opts.staticGrid = !0 : delete this.opts.staticGrid, this._setupRemoveDrop(), this._setupAcceptWidget(), this.engine.nodes.forEach((r) => {
2959
- this.prepareDragDrop(r.el), r.subGrid && n && r.subGrid.setStatic(e, t, n);
2960
- }), t && this._setStaticClass(), this);
2961
- }
2962
- updateOptions(e) {
2963
- let t = this.opts;
2964
- if (e === t) return this;
2965
- if (e.acceptWidgets !== void 0 && (t.acceptWidgets = e.acceptWidgets, this._setupAcceptWidget()), e.animate !== void 0 && this.setAnimation(e.animate), e.cellHeight && this.cellHeight(e.cellHeight), e.class !== void 0 && e.class !== t.class && (t.class && this.el.classList.remove(t.class), e.class && this.el.classList.add(e.class)), e.columnOpts) {
2966
- let t = !!this.opts.columnOpts;
2967
- this.opts.columnOpts = e.columnOpts, t !== !!this.opts.columnOpts && this._updateResizeEvent(), this.checkDynamicColumn();
2968
- } else e.columnOpts === null && this.opts.columnOpts ? (delete this.opts.columnOpts, this._updateResizeEvent()) : typeof e.column == "number" && this.column(e.column);
2969
- return e.margin !== void 0 && this.margin(e.margin), e.staticGrid !== void 0 && this.setStatic(e.staticGrid), e.disableDrag !== void 0 && !e.staticGrid && this.enableMove(!e.disableDrag), e.disableResize !== void 0 && !e.staticGrid && this.enableResize(!e.disableResize), e.float !== void 0 && this.float(e.float), e.row === void 0 ? (e.minRow !== void 0 && (t.minRow = e.minRow, this._updateContainerHeight()), e.maxRow !== void 0 && (t.maxRow = this.engine.maxRow = e.maxRow)) : (t.minRow = t.maxRow = t.row = e.row, this._updateContainerHeight()), e.lazyLoad !== void 0 && (t.lazyLoad = e.lazyLoad), e.children?.length && this.load(e.children), this;
2970
- }
2971
- update(t, n) {
2972
- return e.getElements(t).forEach((t) => {
2973
- let r = t?.gridstackNode;
2974
- if (!r) return;
2975
- let i = {
2976
- ...G.copyPos({}, r),
2977
- ...G.cloneDeep(n)
2978
- };
2979
- this.engine.nodeBoundFix(i), delete i.autoPosition;
2980
- let a = [
2981
- "x",
2982
- "y",
2983
- "w",
2984
- "h"
2985
- ], o;
2986
- if (a.some((e) => i[e] !== void 0 && i[e] !== r[e]) && (o = {}, a.forEach((e) => {
2987
- o[e] = i[e] === void 0 ? r[e] : i[e], delete i[e];
2988
- })), !o && (i.minW || i.minH || i.maxW || i.maxH) && (o = {}), i.content !== void 0) {
2989
- let n = t.querySelector(".grid-stack-item-content");
2990
- 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;
2991
- }
2992
- let s = !1, c = !1;
2993
- for (let e in i) e[0] !== "_" && r[e] !== i[e] && (r[e] = i[e], s = !0, c ||= !this.opts.staticGrid && (e === "noResize" || e === "noMove" || e === "locked"));
2994
- if (G.sanitizeMinMax(r), o) {
2995
- let e = o.w !== void 0 && o.w !== r.w;
2996
- this.moveNode(r, o), e && r.subGrid ? r.subGrid.onResize(this.hasAnimationCSS() ? r.w : void 0) : this.resizeToContentCheck(e, r), delete r._orig;
2997
- }
2998
- (o || s) && this._writeAttr(t, r), c && this.prepareDragDrop(r.el), e.updateCB && e.updateCB(r);
2999
- }), this;
3000
- }
3001
- moveNode(e, t) {
3002
- let n = e._updating;
3003
- n || this.engine.cleanNodes().beginUpdate(e), this.engine.moveNode(e, t), this._updateContainerHeight(), n || (this._triggerChangeEvent(), this.engine.endUpdate());
3004
- }
3005
- resizeToContent(t) {
3006
- if (!t || (t.classList.remove("size-to-content-max"), !t.clientHeight)) return;
3007
- let n = t.gridstackNode;
3008
- if (!n) return;
3009
- let r = n.grid;
3010
- if (!r || t.parentElement !== r.el) return;
3011
- let i = r.getCellHeight(!0);
3012
- if (!i) return;
3013
- let a = n.h ? n.h * i : t.clientHeight, o;
3014
- if (n.resizeToContentParent && (o = t.querySelector(n.resizeToContentParent)), o ||= t.querySelector(e.resizeToContentParent), !o) return;
3015
- let s = t.clientHeight - o.clientHeight, c = n.h ? n.h * i - s : o.clientHeight, l;
3016
- if (n.subGrid) {
3017
- l = n.subGrid.getRow() * n.subGrid.getCellHeight(!0);
3018
- let e = n.subGrid.el.getBoundingClientRect(), r = t.getBoundingClientRect();
3019
- l += e.top - r.top;
3020
- } else if (n.subGridOpts?.children?.length) return;
3021
- else {
3022
- let t = o.firstElementChild;
3023
- if (!t) {
3024
- console.error(`Error: GridStack.resizeToContent() widget id:${n.id} '${e.resizeToContentParent}'.firstElementChild is null, make sure to have a div like container. Skipping sizing.`);
3025
- return;
3026
- }
3027
- l = t.getBoundingClientRect().height || c;
3028
- }
3029
- if (c === l) return;
3030
- a += l - c;
3031
- let u = Math.ceil(a / i), d = Number.isInteger(n.sizeToContent) ? n.sizeToContent : 0;
3032
- 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);
3033
- }
3034
- resizeToContentCBCheck(t) {
3035
- e.resizeToContentCB ? e.resizeToContentCB(t) : this.resizeToContent(t);
3036
- }
3037
- rotate(t, n) {
3038
- return e.getElements(t).forEach((e) => {
3039
- let t = e.gridstackNode;
3040
- if (!G.canBeRotated(t)) return;
3041
- let r = {
3042
- w: t.h,
3043
- h: t.w,
3044
- minH: t.minW,
3045
- minW: t.minH,
3046
- maxH: t.maxW,
3047
- maxW: t.maxH
3048
- };
3049
- if (n) {
3050
- let e = n.left > 0 ? Math.floor(n.left / this.cellWidth()) : 0, i = n.top > 0 ? Math.floor(n.top / this.opts.cellHeight) : 0;
3051
- r.x = t.x + e - (t.h - (i + 1)), r.y = t.y + i - e;
3052
- }
3053
- Object.keys(r).forEach((e) => {
3054
- r[e] === void 0 && delete r[e];
3055
- });
3056
- let i = t._orig;
3057
- this.update(e, r), t._orig = i;
3058
- }), this;
3059
- }
3060
- margin(e) {
3061
- if (!(typeof e == "string" && e.split(" ").length > 1)) {
3062
- let t = G.parseHeight(e);
3063
- if (this.opts.marginUnit === t.unit && this.opts.margin === t.h) return;
3064
- }
3065
- return this.opts.margin = e, this.opts.marginTop = this.opts.marginBottom = this.opts.marginLeft = this.opts.marginRight = void 0, this._initMargin(), this;
3066
- }
3067
- getMargin() {
3068
- return this.opts.margin;
3069
- }
3070
- willItFit(e) {
3071
- return this.engine.willItFit(e);
3072
- }
3073
- _triggerChangeEvent() {
3074
- if (this.engine.batchMode) return this;
3075
- let e = this.engine.getDirtyNodes(!0);
3076
- return e && e.length && (this._ignoreLayoutsNodeChange || this.engine.layoutsNodesChange(e), this._triggerEvent("change", e)), this.engine.saveInitial(), this;
3077
- }
3078
- _triggerAddEvent() {
3079
- if (this.engine.batchMode) return this;
3080
- if (this.engine.addedNodes?.length) {
3081
- this._ignoreLayoutsNodeChange || this.engine.layoutsNodesChange(this.engine.addedNodes), this.engine.addedNodes.forEach((e) => {
3082
- delete e._dirty;
3083
- });
3084
- let e = [...this.engine.addedNodes];
3085
- this.engine.addedNodes = [], this._triggerEvent("added", e);
3086
- }
3087
- return this;
3088
- }
3089
- _triggerRemoveEvent() {
3090
- if (this.engine.batchMode) return this;
3091
- if (this.engine.removedNodes?.length) {
3092
- let e = [...this.engine.removedNodes];
3093
- this.engine.removedNodes = [], this._triggerEvent("removed", e);
3094
- }
3095
- return this;
3096
- }
3097
- _triggerEvent(e, t) {
3098
- let n = t ? new CustomEvent(e, {
3099
- bubbles: !1,
3100
- detail: t
3101
- }) : new Event(e), r = this;
3102
- for (; r.parentGridNode;) r = r.parentGridNode.grid;
3103
- return r.el.dispatchEvent(n), this;
3104
- }
3105
- _updateContainerHeight() {
3106
- if (!this.engine || this.engine.batchMode) return this;
3107
- let e = this.parentGridNode, t = this.getRow() + this._extraDragRow, n = this.opts.cellHeight, r = this.opts.cellHeightUnit;
3108
- if (!n) return this;
3109
- if (!e && !this.opts.minRow) {
3110
- let e = G.parseHeight(getComputedStyle(this.el).minHeight);
3111
- if (e.h > 0 && e.unit === r) {
3112
- let r = Math.floor(e.h / n);
3113
- t < r && (t = r);
3114
- }
3115
- }
3116
- return this.el.setAttribute("gs-current-row", String(t)), this.el.style.removeProperty("min-height"), this.el.style.removeProperty("height"), t && (this.el.style[e ? "minHeight" : "height"] = t * n + r), e && G.shouldSizeToContent(e) && e.grid.resizeToContentCBCheck(e.el), this;
3117
- }
3118
- _prepareElement(e, t = !1, n) {
3119
- 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(K.itemClass, this.opts.itemClass);
3120
- let r = G.shouldSizeToContent(n);
3121
- return r ? e.classList.add("size-to-content") : e.classList.remove("size-to-content"), r && this.resizeToContentCheck(!1, n), G.lazyLoad(n) || this.prepareDragDrop(n.el), this;
3122
- }
3123
- _writePosAttr(e, t) {
3124
- if (!t._moving && !t._resizing || this._placeholder === e) {
3125
- let n = this.opts.rtl ? "right" : "left";
3126
- e.style.top = t.y ? t.y === 1 ? "var(--gs-cell-height)" : `calc(${t.y} * var(--gs-cell-height))` : null, e.style[n] = t.x ? t.x === 1 ? "var(--gs-column-width)" : `calc(${t.x} * var(--gs-column-width))` : null, e.style.width = t.w > 1 ? `calc(${t.w} * var(--gs-column-width))` : null, e.style.height = t.h > 1 ? `calc(${t.h} * var(--gs-cell-height))` : null;
3127
- }
3128
- return e.setAttribute("gs-x", String(t.x)), e.setAttribute("gs-y", String(t.y)), 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;
3129
- }
3130
- _writeAttr(e, t) {
3131
- if (!t) return this;
3132
- this._writePosAttr(e, t);
3133
- let n = {
3134
- noResize: "gs-no-resize",
3135
- noMove: "gs-no-move",
3136
- locked: "gs-locked",
3137
- id: "gs-id",
3138
- sizeToContent: "gs-size-to-content"
3139
- };
3140
- for (let r in n) t[r] ? e.setAttribute(n[r], String(t[r])) : e.removeAttribute(n[r]);
3141
- return this;
3142
- }
3143
- _readAttr(e, t = !0) {
3144
- let n = {};
3145
- n.x = G.toNumber(e.getAttribute("gs-x")), n.y = G.toNumber(e.getAttribute("gs-y")), n.w = G.toNumber(e.getAttribute("gs-w")), n.h = G.toNumber(e.getAttribute("gs-h")), n.autoPosition = G.toBool(e.getAttribute("gs-auto-position")), n.noResize = G.toBool(e.getAttribute("gs-no-resize")), n.noMove = G.toBool(e.getAttribute("gs-no-move")), n.locked = G.toBool(e.getAttribute("gs-locked"));
3146
- let r = e.getAttribute("gs-size-to-content");
3147
- r && (r === "true" || r === "false" ? n.sizeToContent = G.toBool(r) : n.sizeToContent = parseInt(r, 10)), n.id = e.getAttribute("gs-id"), n.maxW = G.toNumber(e.getAttribute("gs-max-w")), n.minW = G.toNumber(e.getAttribute("gs-min-w")), n.maxH = G.toNumber(e.getAttribute("gs-max-h")), n.minH = G.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"));
3148
- for (let e in n) {
3149
- if (!n.hasOwnProperty(e)) return;
3150
- !n[e] && n[e] !== 0 && e !== "sizeToContent" && delete n[e];
3151
- }
3152
- return n;
3153
- }
3154
- _setStaticClass() {
3155
- let e = ["grid-stack-static"];
3156
- 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;
3157
- }
3158
- onResize(e = this.el?.clientWidth) {
3159
- if (!e || this.prevWidth === e) return;
3160
- this.prevWidth = e, this.batchUpdate();
3161
- let t = !1;
3162
- return this._autoColumn && this.parentGridNode ? this.opts.column !== this.parentGridNode.w && (this.column(this.parentGridNode.w, this.opts.layout || "list"), t = !0) : t = this.checkDynamicColumn(), this._isAutoCellHeight && this.cellHeight(), this.engine.nodes.forEach((e) => {
3163
- e.subGrid && e.subGrid.onResize();
3164
- }), this._skipInitialResize || this.resizeToContentCheck(t), delete this._skipInitialResize, this.batchUpdate(!1), this;
3165
- }
3166
- resizeToContentCheck(e = !1, t = void 0) {
3167
- if (this.engine) {
3168
- if (e && this.hasAnimationCSS()) return setTimeout(() => this.resizeToContentCheck(!1, t), this.animationDelay);
3169
- if (t) G.shouldSizeToContent(t) && this.resizeToContentCBCheck(t.el);
3170
- else if (this.engine.nodes.some((e) => G.shouldSizeToContent(e))) {
3171
- let e = [...this.engine.nodes];
3172
- this.batchUpdate(), e.forEach((e) => {
3173
- G.shouldSizeToContent(e) && this.resizeToContentCBCheck(e.el);
3174
- }), this._ignoreLayoutsNodeChange = !0, this.batchUpdate(!1), this._ignoreLayoutsNodeChange = !1;
3175
- }
3176
- this._gsEventHandler.resizecontent && this._gsEventHandler.resizecontent(null, t ? [t] : this.engine.nodes);
3177
- }
3178
- }
3179
- _updateResizeEvent(e = !1) {
3180
- let t = !this.parentGridNode && (this._isAutoCellHeight || this.opts.sizeToContent || this.opts.columnOpts || this.engine.nodes.find((e) => e.sizeToContent));
3181
- return !e && t && !this.resizeObserver ? (this._sizeThrottle = G.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;
3182
- }
3183
- static getElement(e = ".grid-stack-item") {
3184
- return G.getElement(e);
3185
- }
3186
- static getElements(e = ".grid-stack-item") {
3187
- return G.getElements(e);
3188
- }
3189
- static getGridElement(t) {
3190
- return e.getElement(t);
3191
- }
3192
- static getGridElements(e) {
3193
- return G.getElements(e);
3194
- }
3195
- _initMargin() {
3196
- let e, t = 0, n = [];
3197
- 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 = G.parseHeight(this.opts.margin), this.opts.marginUnit = e.unit, t = this.opts.margin = e.h), [
3198
- "marginTop",
3199
- "marginRight",
3200
- "marginBottom",
3201
- "marginLeft"
3202
- ].forEach((n) => {
3203
- this.opts[n] === void 0 ? this.opts[n] = t : (e = G.parseHeight(this.opts[n]), this.opts[n] = e.h, delete this.opts.margin);
3204
- }), 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);
3205
- let r = this.el.style;
3206
- return r.setProperty("--gs-item-margin-top", `${this.opts.marginTop}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-bottom", `${this.opts.marginBottom}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-right", `${this.opts.marginRight}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-left", `${this.opts.marginLeft}${this.opts.marginUnit}`), this;
3207
- }
3208
- static getDD() {
3209
- return X;
3210
- }
3211
- static setupDragIn(e, t, n, r = document) {
3212
- t?.pause !== void 0 && (q.pauseDrag = t.pause), t = {
3213
- appendTo: "body",
3214
- helper: "clone",
3215
- ...t || {}
3216
- }, (typeof e == "string" ? G.getElements(e, r) : e).forEach((e, r) => {
3217
- X.isDraggable(e) || X.dragIn(e, t), n?.[r] && (e.gridstackNode = n[r]);
3218
- });
3219
- }
3220
- movable(t, n) {
3221
- return this.opts.staticGrid || e.getElements(t).forEach((e) => {
3222
- let t = e.gridstackNode;
3223
- t && (n ? delete t.noMove : t.noMove = !0, this.prepareDragDrop(t.el));
3224
- }), this;
3225
- }
3226
- resizable(t, n) {
3227
- return this.opts.staticGrid || e.getElements(t).forEach((e) => {
3228
- let t = e.gridstackNode;
3229
- t && (n ? delete t.noResize : t.noResize = !0, this.prepareDragDrop(t.el));
3230
- }), this;
3231
- }
3232
- disable(e = !0) {
3233
- if (!this.opts.staticGrid) return this.enableMove(!1, e), this.enableResize(!1, e), this._triggerEvent("disable"), this;
3234
- }
3235
- enable(e = !0) {
3236
- if (!this.opts.staticGrid) return this.enableMove(!0, e), this.enableResize(!0, e), this._triggerEvent("enable"), this;
3237
- }
3238
- enableMove(e, t = !0) {
3239
- return this.opts.staticGrid ? this : (e ? delete this.opts.disableDrag : this.opts.disableDrag = !0, this.engine.nodes.forEach((n) => {
3240
- this.prepareDragDrop(n.el), n.subGrid && t && n.subGrid.enableMove(e, t);
3241
- }), this);
3242
- }
3243
- enableResize(e, t = !0) {
3244
- return this.opts.staticGrid ? this : (e ? delete this.opts.disableResize : this.opts.disableResize = !0, this.engine.nodes.forEach((n) => {
3245
- this.prepareDragDrop(n.el), n.subGrid && t && n.subGrid.enableResize(e, t);
3246
- }), this);
3247
- }
3248
- cancelDrag() {
3249
- let t = this._placeholder?.gridstackNode;
3250
- t && (t._isExternal ? (t._isAboutToRemove = !0, this.engine.removeNode(t)) : t._isAboutToRemove && e._itemRemoving(t.el, !1), this.engine.restoreInitial());
3251
- }
3252
- _removeDD(e) {
3253
- return X.draggable(e, "destroy").resizable(e, "destroy"), e.gridstackNode && delete e.gridstackNode._initDD, delete e.ddElement, this;
3254
- }
3255
- _setupAcceptWidget() {
3256
- if (this.opts.staticGrid || !this.opts.acceptWidgets && !this.opts.removable) return X.droppable(this.el, "destroy"), this;
3257
- let t, n, r = (e, r, i) => {
3258
- i ||= r;
3259
- let a = i.gridstackNode;
3260
- if (!a) return;
3261
- if (!a.grid?.el) {
3262
- i.style.transform = `scale(${1 / this.dragTransform.xScale},${1 / this.dragTransform.yScale})`;
3263
- let t = i.getBoundingClientRect();
3264
- 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";
3265
- }
3266
- let { top: o, left: s } = i.getBoundingClientRect(), c = this.el.getBoundingClientRect();
3267
- s -= c.left, o -= c.top;
3268
- let l = { position: {
3269
- top: o * this.dragTransform.xScale,
3270
- left: s * this.dragTransform.yScale
3271
- } };
3272
- if (a._temporaryRemoved) {
3273
- 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)) {
3274
- if (a.autoPosition = !0, !this.engine.willItFit(a)) {
3275
- X.off(r, "drag");
3276
- return;
3277
- }
3278
- a._willFitPos && (G.copyPos(a, a._willFitPos), delete a._willFitPos);
3279
- }
3280
- this._onStartMoving(i, e, l, a, n, t);
3281
- } else this._dragOrResize(i, e, l, a, n, t);
3282
- };
3283
- return X.droppable(this.el, { accept: (e) => {
3284
- let t = e.gridstackNode || this._readAttr(e, !1);
3285
- if (t?.grid === this) return !0;
3286
- if (!this.opts.acceptWidgets) return !1;
3287
- let n = !0;
3288
- if (typeof this.opts.acceptWidgets == "function") n = this.opts.acceptWidgets(e);
3289
- else {
3290
- let t = this.opts.acceptWidgets === !0 ? ".grid-stack-item" : this.opts.acceptWidgets;
3291
- n = e.matches(t);
3292
- }
3293
- if (n && t && this.opts.maxRow) {
3294
- let e = {
3295
- w: t.w,
3296
- h: t.h,
3297
- minW: t.minW,
3298
- minH: t.minH
3299
- };
3300
- n = this.engine.willItFit(e);
3301
- }
3302
- return n;
3303
- } }).on(this.el, "dropover", (i, a, o) => {
3304
- let s = o?.gridstackNode || a.gridstackNode;
3305
- if (s?.grid === this && !s._temporaryRemoved) return !1;
3306
- 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) {
3307
- let e = o.getAttribute("data-gs-widget") || o.getAttribute("gridstacknode");
3308
- if (e) {
3309
- try {
3310
- s = JSON.parse(e);
3311
- } catch {
3312
- console.error("Gridstack dropover: Bad JSON format: ", e);
3313
- }
3314
- o.removeAttribute("data-gs-widget"), o.removeAttribute("gridstacknode");
3315
- }
3316
- s ||= this._readAttr(o), s._sidebarOrig = {
3317
- w: s.w,
3318
- h: s.h
3319
- };
3320
- }
3321
- s.grid || (s.el || (s = { ...s }), s._isExternal = !0, o.gridstackNode = s);
3322
- let c = s.w || Math.round(o.offsetWidth / n) || 1, l = s.h || Math.round(o.offsetHeight / t) || 1;
3323
- return s.grid && s.grid !== this ? (a._gridstackNodeOrig ||= s, a.gridstackNode = s = {
3324
- ...s,
3325
- w: c,
3326
- h: l,
3327
- grid: this
3328
- }, 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), X.on(a, "drag", r), r(i, a, o), !1;
3329
- }).on(this.el, "dropout", (e, t, n) => {
3330
- let r = n?.gridstackNode || t.gridstackNode;
3331
- return r && (!r.grid || r.grid === this) && (this._leave(t, n), this._isTemp && this.removeAsSubGrid(r)), !1;
3332
- }).on(this.el, "drop", (t, n, r) => {
3333
- let i = r?.gridstackNode || n.gridstackNode;
3334
- if (i?.grid === this && !i._isExternal) return !1;
3335
- let a = !!this.placeholder.parentElement, o = n !== r;
3336
- this.placeholder.remove(), delete this.placeholder.gridstackNode, a && this.opts.animate && (this.setAnimation(!1), this.setAnimation(!0, !0));
3337
- let s = n._gridstackNodeOrig;
3338
- if (delete n._gridstackNodeOrig, a && s?.grid && s.grid !== this) {
3339
- let e = s.grid;
3340
- e.engine.removeNodeFromLayoutCache(s), e.engine.removedNodes.push(s), e._triggerRemoveEvent()._triggerChangeEvent(), e.parentGridNode && !e.engine.nodes.length && e.opts.subGridDynamic && e.removeAsSubGrid();
3341
- }
3342
- if (!i || (a && (this.engine.cleanupNode(i), i.grid = this), delete i.grid?._isTemp, X.off(n, "drag"), r === n ? n.remove() : (r.remove(), n = r), this._removeDD(n), !a)) return !1;
3343
- let c = i.subGrid?.el?.gridstack;
3344
- return G.copyPos(i, this._readAttr(this.placeholder)), G.removePositioningStyles(n), o && (i.content || i.subGridOpts || e.addRemoveCB) ? (delete i.el, n = this.addWidget(i)) : (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({
3345
- ...t,
3346
- type: "dropped"
3347
- }, s && s.grid ? s : void 0, i), !1;
3348
- }), this;
3349
- }
3350
- static _itemRemoving(e, t) {
3351
- if (!e) return;
3352
- let n = e ? e.gridstackNode : void 0;
3353
- !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"));
3354
- }
3355
- _setupRemoveDrop() {
3356
- if (typeof this.opts.removable != "string") return this;
3357
- let t = document.querySelector(this.opts.removable);
3358
- return t && !this.opts.staticGrid && !X.isDroppable(t) && X.droppable(t, this.opts.removableOptions).on(t, "dropover", (t, n) => e._itemRemoving(n, !0)).on(t, "dropout", (t, n) => e._itemRemoving(n, !1)), this;
3359
- }
3360
- prepareDragDrop(e, t = !1) {
3361
- let n = e?.gridstackNode;
3362
- if (!n) return;
3363
- let r = n.noMove || this.opts.disableDrag, i = n.noResize || this.opts.disableResize, a = this.opts.staticGrid || r && i;
3364
- if ((t || a) && (n._initDD && (this._removeDD(e), delete n._initDD), a)) return e.classList.add("ui-draggable-disabled", "ui-resizable-disabled"), this;
3365
- if (!n._initDD) {
3366
- let t, r, i = (i, a) => {
3367
- this.triggerEvent(i, i.target), t = this.cellWidth(), r = this.getCellHeight(!0), this._onStartMoving(e, i, a, n, t, r);
3368
- }, a = (i, a) => {
3369
- this._dragOrResize(e, i, a, n, t, r);
3370
- }, o = (t) => {
3371
- this.placeholder.remove(), delete this.placeholder.gridstackNode, delete n._moving, delete n._resizing, delete n._event, delete n._lastTried;
3372
- let r = n.w !== n._orig.w, i = t.target;
3373
- if (!(!i.gridstackNode || i.gridstackNode.grid !== this)) {
3374
- if (n.el = i, n._isAboutToRemove) {
3375
- let r = e.gridstackNode.grid;
3376
- r._gsEventHandler[t.type] && r._gsEventHandler[t.type](t, i), r.engine.nodes.push(n), r.removeWidget(e, !0, !0);
3377
- } else G.removePositioningStyles(i), n._temporaryRemoved ? (this._writePosAttr(i, n), this.engine.addNode(n)) : this._writePosAttr(i, n), this.triggerEvent(t, i);
3378
- 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));
3379
- }
3380
- };
3381
- X.draggable(e, {
3382
- start: i,
3383
- stop: o,
3384
- drag: a,
3385
- rtl: this.opts.rtl
3386
- }).resizable(e, {
3387
- start: i,
3388
- stop: o,
3389
- resize: a,
3390
- rtl: this.opts.rtl
3391
- }), n._initDD = !0;
3392
- }
3393
- return X.draggable(e, r ? "disable" : "enable").resizable(e, i ? "disable" : "enable"), this;
3394
- }
3395
- _onStartMoving(e, t, n, r, i, a) {
3396
- 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 = G.getValuesFromTransformedElement(e);
3397
- else if (this.placeholder && this.placeholder.closest(".grid-stack")) {
3398
- let e = this.placeholder.closest(".grid-stack");
3399
- this.dragTransform = G.getValuesFromTransformedElement(e);
3400
- } else this.dragTransform = {
3401
- xScale: 1,
3402
- xOffset: 0,
3403
- yScale: 1,
3404
- yOffset: 0
3405
- };
3406
- 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") {
3407
- let t = this.getColumn() - r.x, n = (this.opts.maxRow || 2 ** 53 - 1) - r.y;
3408
- X.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));
3409
- }
3410
- }
3411
- _dragOrResize(e, t, n, r, i, a) {
3412
- let o = { ...r._orig }, s, 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);
3413
- if (c = Math.min(c, p), l = Math.min(l, p), u = Math.min(u, f), d = Math.min(d, f), t.type === "drag") {
3414
- if (r._temporaryRemoved) return;
3415
- r._prevYPix = n.position.top, this.opts.draggable.scroll !== !1 && q.dragElement?.updateScrollPosition(this.el);
3416
- 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);
3417
- o.x = Math.round(e / i), o.y = Math.round(t / a);
3418
- let s = this._extraDragRow;
3419
- if (this.engine.collide(r, o)) {
3420
- let e = this.getRow(), t = Math.max(0, o.y + r.h - e);
3421
- this.opts.maxRow && e + t > this.opts.maxRow && (t = Math.max(0, this.opts.maxRow - e)), this._extraDragRow = t;
3422
- } else this._extraDragRow = 0;
3423
- if (this._extraDragRow !== s && this._updateContainerHeight(), r.x === o.x && r.y === o.y) return;
3424
- } else if (t.type === "resize") {
3425
- if (o.x < 0 || (G.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;
3426
- if (t.hasMovedX) {
3427
- let e = n.position.left + c;
3428
- o.x = Math.round(e / i);
3429
- }
3430
- if (t.hasMovedY) {
3431
- let e = n.position.top + u;
3432
- o.y = Math.round(e / a);
3433
- }
3434
- s = !0;
3435
- }
3436
- r._event = t, r._lastTried = o;
3437
- let m = {
3438
- x: n.position.left + c,
3439
- y: n.position.top + u,
3440
- w: (n.size ? n.size.width : r.w * i) - c - l,
3441
- h: (n.size ? n.size.height : r.h * a) - u - d
3442
- };
3443
- if (this.engine.moveNodeCheck(r, {
3444
- ...o,
3445
- cellWidth: i,
3446
- cellHeight: a,
3447
- rect: m,
3448
- resizing: s
3449
- })) {
3450
- 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();
3451
- let e = t.target;
3452
- r._sidebarOrig || this._writePosAttr(e, r), this.triggerEvent(t, e);
3453
- }
3454
- }
3455
- triggerEvent(e, t) {
3456
- let n = this;
3457
- for (; n.parentGridNode;) n = n.parentGridNode.grid;
3458
- n._gsEventHandler[e.type] && n._gsEventHandler[e.type](e, t);
3459
- }
3460
- _leave(t, n) {
3461
- n ||= t;
3462
- let r = n.gridstackNode;
3463
- if (!r || (n.style.transform = n.style.transformOrigin = null, X.off(t, "drag"), r._temporaryRemoved)) return;
3464
- r._temporaryRemoved = !0, this.engine.removeNode(r), r.el = r._isExternal && n ? n : t;
3465
- let i = r._sidebarOrig;
3466
- 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();
3467
- }
3468
- };
3469
- Z.renderCB = (e, t) => {
3470
- e && t?.content && (e.textContent = t.content);
3471
- }, Z.resizeToContentParent = ".grid-stack-item-content", Z.Utils = G, Z.Engine = xn, Z.GDRev = "12.6.0";
3472
- //#endregion
3473
- //#region src/components/item-grid/helpers/grid-stack-lifecycle.ts
3474
- var Ln = ({ gridElement: e, gridItemElements: t, items: n, columns: r, rowHeight: i, viewMode: a, fullTheme: o, onCreateOrUpdateDimensionsHint: s, onRemoveDimensionsHint: c, onChange: l }) => {
3475
- let [u, d] = un(o), f = {
3476
- column: r,
3477
- cellHeight: i,
3478
- marginTop: u,
3479
- marginLeft: d,
3480
- marginRight: d,
3481
- marginBottom: u,
3482
- animate: !0,
3483
- auto: !1,
3484
- float: !1,
3485
- removable: !1,
3486
- acceptWidgets: !0,
3487
- disableDrag: a,
3488
- disableResize: a,
3489
- minRow: 1,
3490
- resizable: { handles: [
3491
- "n",
3492
- "ne",
3493
- "e",
3494
- "se",
3495
- "s",
3496
- "sw",
3497
- "w",
3498
- "nw"
3499
- ].join(", ") },
3500
- handle: ".grid-item-drag-handle"
3501
- }, p = Z.init(f, e);
3502
- return p.batchUpdate(), t.forEach((e) => {
3503
- let t = e.getAttribute("luzmo-item-grid-item-id"), r = xe(n.find((e) => e.id === t), t ?? void 0);
3504
- p.makeWidget(e, r);
3505
- }), p.batchUpdate(!1), p.on("resizestart", (e, t) => {
3506
- s(t, t.getAttribute("gs-w") ?? "", t.getAttribute("gs-h") ?? "");
3507
- }), p.on("resize", (e, t) => {
3508
- s(t, t.getAttribute("gs-w") ?? "", t.getAttribute("gs-h") ?? "");
3509
- }), p.on("resizestop", (e, t) => {
3510
- c(t);
3511
- }), p.on("change", (e, t) => {
3512
- l(t);
3513
- }), p;
3514
- }, Rn = (e, t) => {
3515
- let n = new Map(t.filter((e) => e.id).map((e) => [e.id, e]));
3516
- return e.map((e) => {
3517
- let t = e.id ? n.get(e.id) : void 0;
3518
- return t ? {
3519
- ...e,
3520
- position: {
3521
- sizeX: t.w ?? 1,
3522
- sizeY: t.h ?? 1,
3523
- row: t.y ?? 0,
3524
- col: t.x ?? 0
3525
- }
3526
- } : e;
3527
- });
3528
- }, zn = ({ element: e, numberOfColumns: t, numberOfRows: n, offsetHint: r }) => {
3529
- let i = e.querySelector(".dimensions-hint-popover");
3530
- if (i) {
3531
- i.style.display = t.length > 0 && n.length > 0 ? "block" : "none", i.textContent = `${t} × ${n}`;
3532
- return;
3533
- }
3534
- let a = document.createElement("div");
3535
- 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), Zt(a, Kt(e, a, async () => {
3536
- let { x: t, y: n } = await Yt(e, a, {
3537
- placement: "bottom",
3538
- middleware: [qt(r), Jt()]
3539
- });
3540
- a.style.left = `${t}px`, a.style.top = `${n}px`;
3541
- })), a.matches(":popover-open") || a.showPopover();
3542
- }, Bn = (e) => {
3543
- let t = e.querySelector(".dimensions-hint-popover");
3544
- t && (Qt(t), t.matches(":popover-open") && t.hidePopover(), t.remove());
3545
- }, Vn = ({ initialized: e, grid: t, hasItemsChanged: n, gridItemElements: r, items: i }) => {
3546
- !e || !t || !n || (t.setAnimation(!1), t.batchUpdate(), t.removeAll(!1), i.forEach((e) => {
3547
- let n = Ce(r, e.id);
3548
- n && t.makeWidget(n, xe(e, e.id));
3549
- }), t.batchUpdate(!1), t.setAnimation(!0));
3550
- }, Hn = ({ initialized: e, grid: t, hasViewModeChanged: n, viewMode: r, previousViewMode: i, activeItemElement: a, gridElement: o, cleanupActiveItem: s }) => {
3551
- if (!e || !t || !n || r === i) return a;
3552
- if (r) {
3553
- if (t.disable(), a) {
3554
- s(a), o.removeAttribute("has-active-item");
3555
- return;
3556
- }
3557
- return a;
3558
- }
3559
- return t.enable(), a;
3560
- }, Un = ":host{--luzmo-action-button-content-color-default:var(--luzmo-item-grid-item-action-button-content-color-default,#fff);--luzmo-action-button-content-color-hover:var(--luzmo-item-grid-item-action-button-content-color-hover,#fff);--luzmo-action-button-content-color-down:var(--luzmo-item-grid-item-action-button-content-color-down,#fff);--luzmo-action-button-content-color-focus:var(--luzmo-item-grid-item-action-button-content-color-focus,#fff);--luzmo-action-button-background-color-default:var(--luzmo-item-grid-item-action-button-background-color-default,#333);--luzmo-action-button-background-color-hover:var(--luzmo-item-grid-item-action-button-background-color-hover,#444);--luzmo-action-button-background-color-down:var(--luzmo-item-grid-item-action-button-background-color-down,#555);--luzmo-action-button-background-color-focus:var(--luzmo-item-grid-item-action-button-background-color-focus,#666);--grid-item-actions-flex-direction:column;display:block}.action-buttons{gap:var(--luzmo-item-grid-item-action-group-gap,.5rem);flex-direction:var(--luzmo-item-grid-item-actions-flex-direction,var(--grid-item-actions-flex-direction));outline:none;display:flex}.action-button[selected]{--luzmo-action-button-background-color-default:var(--luzmo-primary);--luzmo-action-button-background-color-hover:var(--luzmo-primary-hover);--luzmo-action-button-background-color-down:var(--luzmo-primary-down);--luzmo-action-button-background-color-focus:var(--luzmo-primary-focus);--luzmo-action-button-content-color-default:var(--luzmo-primary-inverse-color);--luzmo-action-button-content-color-hover:var(--luzmo-primary-inverse-color);--luzmo-action-button-content-color-down:var(--luzmo-primary-inverse-color);--luzmo-action-button-content-color-focus:var(--luzmo-primary-inverse-color)}:host .action-buttons{--luzmo-action-button-content-color-default:var(--luzmo-item-grid-item-action-button-content-color-default,#fff);--luzmo-action-button-content-color-hover:var(--luzmo-item-grid-item-action-button-content-color-hover,#fff);--luzmo-action-button-content-color-down:var(--luzmo-item-grid-item-action-button-content-color-down,#fff);--luzmo-action-button-content-color-focus:var(--luzmo-item-grid-item-action-button-content-color-focus,#fff);--luzmo-action-button-background-color-default:var(--luzmo-item-grid-item-action-button-background-color-default,#333);--luzmo-action-button-background-color-hover:var(--luzmo-item-grid-item-action-button-background-color-hover,#444);--luzmo-action-button-background-color-down:var(--luzmo-item-grid-item-action-button-background-color-down,#555);--luzmo-action-button-background-color-focus:var(--luzmo-item-grid-item-action-button-background-color-focus,#666)}.delete-button{--luzmo-action-button-background-color-hover:var(--luzmo-item-grid-item-delete-button-background-color-hover,var(--luzmo-negative-color));--luzmo-action-button-content-color-hover:var(--luzmo-item-grid-item-delete-button-content-color-hover,#fff);--luzmo-action-button-background-color-focus:var(--luzmo-item-grid-item-delete-button-background-color-focus,var(--luzmo-negative-color-focus));--luzmo-action-button-content-color-focus:var(--luzmo-item-grid-item-delete-button-content-color-focus,#fff);--luzmo-action-button-background-color-down:var(--luzmo-item-grid-item-delete-button-background-color-down,var(--luzmo-negative-color-down));--luzmo-action-button-content-color-down:var(--luzmo-item-grid-item-delete-button-content-color-down,#fff)}:host([placement=top-start]),:host([placement=top]),:host([placement=top-end]),:host([placement=bottom-start]),:host([placement=bottom]),:host([placement=bottom-end]){--grid-item-actions-flex-direction:row}", Q = class extends t(re) {
3561
- constructor(...e) {
3562
- super(...e), this.placement = "right-start", this.actions = on();
3563
- }
3564
- static get styles() {
3565
- return [y(Un)];
3566
- }
3567
- get isVertical() {
3568
- return this.placement.includes("left") || this.placement.includes("right");
3569
- }
3570
- _dispatchAction(e) {
3571
- this.dispatchEvent(new CustomEvent("luzmo-item-grid-item-action", {
3572
- bubbles: !0,
3573
- composed: !0,
3574
- detail: {
3575
- action: e.action,
3576
- type: e.type,
3577
- active: e.active
3578
- }
3579
- }));
3580
- }
3581
- _handleActionClick(e, t) {
3582
- e.stopPropagation(), t.type === "toggle" && (t.active = !t.active, this.actions.forEach((e) => {
3583
- e.actions?.forEach((e) => {
3584
- t !== e && e.active && (e.active = !1);
3585
- });
3586
- })), this._dispatchAction(t), this.requestUpdate();
3587
- }
3588
- clearActiveToggles() {
3589
- this.actions = this.actions.map((e) => ({
3590
- ...e,
3591
- actions: e.actions?.map((e) => (e.type === "toggle" && (e.active = !1), e)) ?? []
3592
- }));
3593
- }
3594
- focus() {
3595
- let e = this.shadowRoot?.querySelectorAll("luzmo-action-button[toggles]");
3596
- e && e[0]?.focus();
3597
- }
3598
- _generateActionButton(e) {
3599
- let t = {
3600
- Data: w("Data", { desc: "Label for the data section" }),
3601
- Options: w("Options", { desc: "Label for the options section" }),
3602
- Clone: w("Clone", { desc: "Grid item action tooltip" }),
3603
- Delete: w("Delete", { desc: "Delete action label" }),
3604
- Edit: w("Edit", { desc: "Edit action label" }),
3605
- Lock: w("Lock", { desc: "Grid item action tooltip" }),
3606
- Filters: w("Filters", { desc: "Label for the filters section" })
3607
- };
3608
- return g`
3609
- <luzmo-action-button
3610
- class="${e.action}-button action-button"
3611
- .label=${e.label}
3612
- ?toggles=${e.type === "toggle"}
3613
- ?selected=${e.type === "toggle" && e.active}
3614
- @click=${(t) => this._handleActionClick(t, e)}
3615
- >
3616
- <luzmo-icon slot="icon" .icon=${e.icon} size="s"></luzmo-icon>
3617
- ${e.tooltip ? g`
3618
- <luzmo-tooltip
3619
- self-managed
3620
- delayed
3621
- placement=${this.placement?.includes("right") ? "right" : this.placement?.includes("left") ? "left" : this.placement?.includes("bottom") ? "bottom" : this.placement?.includes("top") ? "top" : "right"}
3622
- >
3623
- ${t[e.tooltip] ?? e.tooltip}
3624
- </luzmo-tooltip>
3625
- ` : ""}
3626
- </luzmo-action-button>
3627
- `;
3628
- }
3629
- _generateActionGroup(e) {
3630
- let t = e?.actions?.map((e) => this._generateActionButton(e)) ?? [];
3631
- return t.length > 0 ? g`
3632
- <luzmo-action-group ?vertical=${this.isVertical} compact
3633
- >${t}</luzmo-action-group
3634
- >
3635
- ` : g`
3636
-
3637
- `;
3638
- }
3639
- render() {
3640
- let e = this.actions.map((e) => this._generateActionGroup(e));
3641
- return g`
3642
- <div class="action-buttons" tabindex="0" role="toolbar" aria-label=${w("Item actions", { desc: "Item actions toolbar label" })}>${e}</div>
3643
- `;
3644
- }
3645
- };
3646
- e([b({
3647
- type: String,
3648
- reflect: !0
3649
- })], Q.prototype, "placement", void 0), e([b({ type: Array })], Q.prototype, "actions", void 0), Q = e([C()], Q);
3650
- //#endregion
3651
- //#region src/components/item-grid/item-grid.module.scss?inline
3652
- var Wn = ":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 re {
3653
- constructor(...e) {
3654
- super(...e), this.appServer = "https://app.luzmo.com/", this.apiHost = "https://api.luzmo.com", 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.defaultRenderer = (e) => g`
3655
- <div class="grid-item-content">
3656
- <div class="grid-item-type">${e.type}</div>
3657
- </div>
3658
- `, 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) => {
3659
- if (this.viewMode) return;
3660
- let t = le(e.target);
3661
- t && ue({
3662
- event: e,
3663
- gridItem: t
3664
- }) && this._removeItemActionsMenuPopover(t);
3665
- }, this._handleKeyDown = (e) => {
3666
- let t = rn({
3667
- event: e,
3668
- viewMode: this.viewMode,
3669
- focusedItemElement: this._focusedItemElement,
3670
- activeItemElement: this._activeItemElement,
3671
- gridElement: this._gridElement,
3672
- grid: this._grid,
3673
- columns: this.columns ?? 48,
3674
- onDeleteRequest: (e) => {
3675
- let t = e.getAttribute("gs-id");
3676
- if (!t) return;
3677
- let n = this._effectiveItems, r = n.find((e) => e.id === t);
3678
- if (!r) return;
3679
- this._isControlled || this._clearGridItemUiStateForDelete(e);
3680
- let i = n.filter((e) => e.id !== t);
3681
- T({
3682
- target: this,
3683
- action: "delete",
3684
- actionType: "button",
3685
- active: !1,
3686
- items: n,
3687
- element: e,
3688
- itemId: t,
3689
- item: r,
3690
- updatedItems: i
3691
- }), this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 });
3692
- },
3693
- removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this),
3694
- createItemActionsMenuPopover: this._createItemActionsMenuPopover.bind(this)
3695
- });
3696
- this._focusedItemElement = t.focusedItemElement, this._activeItemElement = t.activeItemElement;
3697
- }, this._handleFocus = (e) => {
3698
- this._focusedItemElement = de({
3699
- event: e,
3700
- focusedItemElement: this._focusedItemElement,
3701
- removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this)
3702
- });
3703
- }, this._handleBlur = (e) => {
3704
- let t = fe({
3705
- event: e,
3706
- focusedItemElement: this._focusedItemElement,
3707
- removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this)
3708
- });
3709
- this._focusedItemElement = t.focusedItemElement, t.shouldFocusGrid && this._gridElement.focus();
3710
- }, this._handleGridClick = (e) => {
3711
- if (this._isControlled) {
3712
- this._emitControlledClickAwayDeactivation(e);
3713
- return;
3714
- }
3715
- let t = he({
3716
- event: e,
3717
- gridElement: this._gridElement,
3718
- hostElement: this,
3719
- items: this.items,
3720
- activeItemActionToggle: this._activeItemActionToggle,
3721
- cleanupActiveItem: this._cleanupActiveItem.bind(this),
3722
- dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this)
3723
- });
3724
- this._activeItemActionToggle = t.activeItemActionToggle;
3725
- }, this._handleAction = (e) => {
3726
- let t = e.detail, n = e.target?.closest(".grid-stack-item"), i = n?.getAttribute("gs-id");
3727
- if (["delete", "clone"].includes(t.action)) {
3728
- if (e.stopPropagation(), !i) return;
3729
- let a = this._effectiveItems, o = a.find((e) => e.id === i);
3730
- if (!o) return;
3731
- let s = this._gridElement.querySelector(".grid-stack-item[active]") ?? this._activeItemElement;
3732
- if (!this._isControlled && s && s !== n) {
3733
- let e = s.getAttribute("gs-id"), t = a.find((t) => t.id === e), n = this._activeItemActionToggle, r = s;
3734
- this._cleanupActiveItem(s), n && e && t && this._dispatchItemActionEvent(n, "toggle", !1, r, e, t), this._activeItemElement = void 0, this._activeItemActionToggle = void 0, this._internalItemStates = {};
3735
- }
3736
- if (t.action === "delete") {
3737
- this._isControlled || this._clearGridItemUiStateForDelete(n);
3738
- let e = a.filter((e) => e.id !== i);
3739
- T({
3740
- target: this,
3741
- action: "delete",
3742
- actionType: t.type,
3743
- active: t.active,
3744
- items: a,
3745
- element: n,
3746
- itemId: i,
3747
- item: o,
3748
- updatedItems: e
3749
- }), this._isItemsControlled || this._setInternalItems(e, { reconcileStates: !0 });
3750
- } else {
3751
- let e = {
3752
- ...structuredClone(o),
3753
- id: r()
3754
- }, i = this._simulateCloneLayout(e, o), s = i.find((t) => t.id === e.id) ?? e;
3755
- T({
3756
- target: this,
3757
- action: "clone",
3758
- actionType: t.type,
3759
- active: t.active,
3760
- items: a,
3761
- element: n,
3762
- itemId: e.id,
3763
- item: s,
3764
- originalElement: n,
3765
- updatedItems: i
3766
- }), this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 });
3767
- }
3768
- return;
3769
- }
3770
- if (this._isControlled) {
3771
- if (e.stopPropagation(), !i) return;
3772
- let r = this.items.find((e) => e.id === i);
3773
- if (t.type === "toggle") {
3774
- let e = this._effectiveItemStates, n = t.active, r = this._computeNextItemStates(i, t.action, n);
3775
- E({
3776
- target: this,
3777
- itemStates: e,
3778
- updatedItemStates: r,
3779
- changedItemStates: { [i]: [t.action] }
3780
- });
3781
- } else T({
3782
- target: this,
3783
- action: t.action,
3784
- actionType: t.type,
3785
- active: t.active,
3786
- items: this.items,
3787
- element: n,
3788
- itemId: i,
3789
- item: r
3790
- });
3791
- n && !n.hasAttribute("active") && this._removeItemActionsMenuPopover(n);
3792
- return;
3793
- }
3794
- this._suppressItemStatesEvent = !0;
3795
- let a = me({
3796
- event: e,
3797
- gridElement: this._gridElement,
3798
- items: this.items,
3799
- state: {
3800
- activeItemElement: this._activeItemElement,
3801
- activeItemActionToggle: this._activeItemActionToggle
3802
- },
3803
- cleanupActiveItem: this._cleanupActiveItem.bind(this),
3804
- dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this),
3805
- createItemActionsMenuPopover: this._createItemActionsMenuPopover.bind(this)
3806
- });
3807
- if (this._suppressItemStatesEvent = !1, this._activeItemElement = a.activeItemElement, this._activeItemActionToggle = a.activeItemActionToggle, t.type === "toggle" && i) {
3808
- let e = this._effectiveItemStates, r = a.activeItemElement === n && a.activeItemActionToggle === t.action, o = this._computeNextItemStates(i, t.action, r);
3809
- this._internalItemStates = o, E({
3810
- target: this,
3811
- itemStates: e,
3812
- updatedItemStates: o,
3813
- changedItemStates: this._diffItemStates(e, o)
3814
- });
3815
- }
3816
- };
3817
- }
3818
- static get styles() {
3819
- return [y(ie), y(Wn)];
3820
- }
3821
- set items(e) {
3822
- let t = this._items, n = structuredClone(e ?? []);
3823
- this._validateItemsHaveIds(n, "items"), this._items = n, this._hasControlledItems = e !== void 0, this._isItemsControlled && !this._hasControlledItems && (this._setInternalItems(t, { reconcileStates: !0 }), this._initialItemsApplied = !0), this.requestUpdate("items", t);
3824
- }
3825
- get items() {
3826
- return this._effectiveItems;
3827
- }
3828
- set initialItems(e) {
3829
- let t = this._initialItems, n = structuredClone(e ?? []);
3830
- this._validateItemsHaveIds(n, "initialItems"), !(!this._isItemsControlled && this._initialItemsApplied) && (this._initialItems = n, this._isItemsControlled || (this._initialItemsApplied = !1), this.requestUpdate("initialItems", t));
3831
- }
3832
- get initialItems() {
3833
- return this._initialItems;
3834
- }
3835
- set itemStates(e) {
3836
- let t = this._itemStates;
3837
- this._itemStates = e ?? void 0, this.requestUpdate("itemStates", t);
3838
- }
3839
- get itemStates() {
3840
- return this._itemStates;
3841
- }
3842
- get _isControlled() {
3843
- return this.itemStates !== void 0;
3844
- }
3845
- get _isItemsControlled() {
3846
- return this._hasControlledItems;
3847
- }
3848
- get _effectiveItems() {
3849
- return this._isItemsControlled ? this._items : this._internalItems;
3850
- }
3851
- get _effectiveItemStates() {
3852
- return this._isControlled ? this.itemStates : this._internalItemStates;
3853
- }
3854
- _validateItemsHaveIds(e, t) {
3855
- for (let n = 0; n < e.length; n += 1) if (!e[n]?.id) throw Error(`luzmo-item-grid: ${t}[${n}] is missing required id`);
3856
- }
3857
- async _loadTheme(e) {
3858
- let t = this._initialized;
3859
- if (this._fullTheme = await ln({
3860
- theme: e,
3861
- currentTheme: this._fullTheme
3862
- }), this._initialized && hn(this.style, this._fullTheme), !this._initialized && this._gridElement && await new Promise((e) => {
3863
- requestAnimationFrame(() => {
3864
- this._initializeGrid(), e();
3865
- });
3866
- }), this._grid) {
3867
- let [e, t] = un(this.theme);
3868
- this._grid.margin([e, t].join(" "));
3869
- }
3870
- t && this.requestUpdate();
3871
- }
3872
- firstUpdated() {
3873
- document.addEventListener("click", this._handleGridClick), this.addEventListener("keydown", this._handleKeyDown);
3874
- }
3875
- disconnectedCallback() {
3876
- super.disconnectedCallback(), this._cleanup(), document.removeEventListener("click", this._handleGridClick), this.removeEventListener("keydown", this._handleKeyDown);
3877
- }
3878
- willUpdate(e) {
3879
- if (super.willUpdate(e), e.has("_initialized") && (hn(this.style, this._fullTheme), this._initialized && this._grid && this._fullTheme?.margins)) {
3880
- let [e, t] = un(this._fullTheme);
3881
- this._grid.margin([e, t].join(" "));
3882
- }
3883
- }
3884
- updated(e) {
3885
- super.updated(e);
3886
- let t = e.has("contentLanguage"), n = e.has("viewMode"), r = e.has("items"), i = e.has("initialItems"), a = r || e.has("_internalItemsVersion"), o = e.has("theme"), s = e.has("itemStates");
3887
- 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) : i && !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), ye(this._effectiveItems), Vn({
3888
- initialized: this._initialized,
3889
- grid: this._grid,
3890
- hasItemsChanged: a,
3891
- gridItemElements: this._gridItemElements,
3892
- items: this._effectiveItems
3893
- }), r && this._reconcileStaleItemStates(), t && ae(this._gridItemElements, this.contentLanguage), this._activeItemElement = Hn({
3894
- initialized: this._initialized,
3895
- grid: this._grid,
3896
- hasViewModeChanged: n,
3897
- viewMode: this.viewMode,
3898
- previousViewMode: e.get("viewMode"),
3899
- activeItemElement: this._activeItemElement,
3900
- gridElement: this._gridElement,
3901
- cleanupActiveItem: this._cleanupActiveItem.bind(this)
3902
- }), (o || !this._fullTheme && !this._initialized) && this._loadTheme(this.theme), (a || s) && this._initialized && this._applyItemStates();
3903
- }
3904
- _setInternalItems(e, t = {}) {
3905
- let n = structuredClone(e);
3906
- this._validateItemsHaveIds(n, "internalItems"), this._internalItems = n, ye(this._internalItems), this._internalItemsVersion += 1, t.reconcileStates && this._reconcileStaleItemStates();
3907
- }
3908
- _handleMouseover(e) {
3909
- if (this.viewMode) return;
3910
- let t = le(e.target);
3911
- t && this._createItemActionsMenuPopover(t);
3912
- }
3913
- _emitControlledClickAwayDeactivation(e) {
3914
- let t = this._effectiveItemStates, n = Object.entries(t).filter(([, e]) => e.length > 0);
3915
- if (!this._gridElement || n.length === 0) return;
3916
- let r = e.composedPath();
3917
- if (n.some(([e]) => {
3918
- let t = Array.from(this._gridElement.querySelectorAll(".grid-stack-item")).find((t) => t.getAttribute("gs-id") === e);
3919
- if (!t) return !1;
3920
- if (r.includes(t)) return !0;
3921
- let n = t.querySelector(".grid-item-actions-popover");
3922
- return n ? r.includes(n) : !1;
3923
- })) return;
3924
- let i = {}, a = { ...t };
3925
- for (let [e, t] of n) {
3926
- for (let n of t) a = this._computeNextItemStates(e, n, !1, a);
3927
- i[e] = [...t];
3928
- }
3929
- E({
3930
- target: this,
3931
- itemStates: t,
3932
- updatedItemStates: a,
3933
- changedItemStates: i
3934
- });
3935
- }
3936
- _cleanupActiveItem(e) {
3937
- this._activeItemElement = pe({
3938
- item: e,
3939
- activeItemElement: this._activeItemElement,
3940
- gridElement: this._gridElement,
3941
- removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this)
3942
- });
3943
- }
3944
- _clearGridItemUiStateForDelete(e) {
3945
- 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");
3946
- }
3947
- _dispatchItemActionEvent(e, t, n, r, i, a, o, s) {
3948
- if (T({
3949
- target: this,
3950
- action: e,
3951
- actionType: t,
3952
- active: n,
3953
- items: this.items,
3954
- element: r,
3955
- itemId: i,
3956
- item: a,
3957
- deletedId: o,
3958
- originalElement: s
3959
- }), t === "toggle" && !this._suppressItemStatesEvent) {
3960
- let t = this._effectiveItemStates, r = this._computeNextItemStates(i, e, n);
3961
- this._isControlled || (this._internalItemStates = r), E({
3962
- target: this,
3963
- itemStates: t,
3964
- updatedItemStates: r,
3965
- changedItemStates: { [i]: [e] }
3966
- });
3967
- }
3968
- }
3969
- _sanitizeInitialItemStates(e) {
3970
- let t = Object.entries(e).filter(([, e]) => e.length > 0), n = t.length, r = t.reduce((e, [, t]) => e + t.length, 0);
3971
- if (n > 1 || r > 1) {
3972
- 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.");
3973
- let [e, n] = t[0];
3974
- return { [e]: [n[0]] };
3975
- }
3976
- return { ...e };
3977
- }
3978
- _diffItemStates(e, t) {
3979
- let n = {}, r = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
3980
- for (let i of r) {
3981
- let r = e[i] ?? [], a = t[i] ?? [], o = a.filter((e) => !r.includes(e)), s = r.filter((e) => !a.includes(e)), c = [...o, ...s];
3982
- c.length > 0 && (n[i] = c);
3983
- }
3984
- return n;
3985
- }
3986
- _computeNextItemStates(e, t, n, r) {
3987
- if (!this._isControlled) return n ? { [e]: [t] } : {};
3988
- let i = { ...r ?? this._effectiveItemStates };
3989
- if (n) {
3990
- let n = i[e] ?? [];
3991
- n.includes(t) || (i[e] = [...n, t]);
3992
- } else {
3993
- let n = i[e];
3994
- if (n) {
3995
- let r = n.filter((e) => e !== t);
3996
- r.length === 0 ? delete i[e] : i[e] = r;
3997
- }
3998
- }
3999
- return i;
4000
- }
4001
- _filterItemStatesToExistingItems(e) {
4002
- let t = new Set(this.items.map((e) => e.id).filter((e) => !!e)), n = {};
4003
- for (let [r, i] of Object.entries(e)) !t.has(r) || i.length === 0 || (n[r] = [...i]);
4004
- return n;
4005
- }
4006
- _reconcileStaleItemStates() {
4007
- let e = this._isControlled ? this._effectiveItemStates : this._internalItemStates, t = this._filterItemStatesToExistingItems(e), n = {};
4008
- for (let [r, i] of Object.entries(e)) !t[r] && i.length > 0 && (n[r] = [...i]);
4009
- Object.keys(n).length > 0 && E({
4010
- target: this,
4011
- itemStates: e,
4012
- updatedItemStates: t,
4013
- changedItemStates: n
4014
- }), this._isControlled || (this._internalItemStates = t);
4015
- }
4016
- _simulateCloneLayout(e, t) {
4017
- let n = this._effectiveItems;
4018
- if (!this._grid) return [...n, e];
4019
- let r = e.position ?? this._resolvePositionFromEngine(t.id);
4020
- if (!r) return [...n, e];
4021
- e = {
4022
- ...e,
4023
- position: { ...r }
4024
- };
4025
- let i = t.position ?? this._resolvePositionFromEngine(t.id);
4026
- this.clonedItemPositioning === "below-item" && i && (e.position = {
4027
- ...e.position,
4028
- col: i.col,
4029
- row: i.row + i.sizeY
4030
- });
4031
- let a = this.clonedItemPositioning !== "below-item" || !i, { updatedItems: o } = Te({
4032
- item: e,
4033
- engine: this._grid.engine,
4034
- existingItems: this._enrichItemsWithEnginePositions(n),
4035
- autoPosition: a
4036
- });
4037
- return o;
4038
- }
4039
- _cleanup() {
4040
- for (let e of this._gridItemElements) this._cleanupActiveItem(e);
4041
- this._grid &&= (this._grid.destroy(), void 0), this._initialized = !1;
4042
- }
4043
- _restoreItemsLayout(e) {
4044
- if (!this._grid || !this._gridElement || e.length === 0 || !this._isItemsControlled) return;
4045
- let t = [];
4046
- for (let n of e) {
4047
- if (!n.id) continue;
4048
- let e = this._effectiveItems.find((e) => e.id === n.id);
4049
- if (!e) continue;
4050
- let r = e.position ?? this._resolvePositionFromEngine(e.id);
4051
- if (!r) continue;
4052
- let i = this._gridElement.querySelector(`.grid-stack-item[gs-id="${e.id}"]`);
4053
- i && (n.x !== r.col || n.y !== r.row || n.w !== r.sizeX || n.h !== r.sizeY) && t.push({
4054
- element: i,
4055
- position: r
4056
- });
4057
- }
4058
- if (t.length !== 0) {
4059
- this._suppressNextLayoutChangedEvent = !0, this._grid.batchUpdate();
4060
- for (let e of t) this._grid.update(e.element, {
4061
- x: e.position.col,
4062
- y: e.position.row,
4063
- w: e.position.sizeX,
4064
- h: e.position.sizeY
4065
- });
4066
- this._grid.batchUpdate(!1), setTimeout(() => {
4067
- this._suppressNextLayoutChangedEvent &&= !1;
4068
- }, 0);
4069
- }
4070
- }
4071
- _initializeGrid() {
4072
- this._initialized || !this._gridElement || (this._grid = Ln({
4073
- gridElement: this._gridElement,
4074
- gridItemElements: this._gridItemElements,
4075
- items: this._effectiveItems,
4076
- columns: this.columns ?? 48,
4077
- rowHeight: this.rowHeight ?? 16,
4078
- viewMode: this.viewMode,
4079
- fullTheme: this._fullTheme,
4080
- onCreateOrUpdateDimensionsHint: this._createOrUpdateDimensionsHint.bind(this),
4081
- onRemoveDimensionsHint: this._removeDimensionsHint.bind(this),
4082
- onChange: (e) => {
4083
- if (this._suppressNextLayoutChangedEvent) {
4084
- this._suppressNextLayoutChangedEvent = !1;
4085
- return;
4086
- }
4087
- let t = this._effectiveItems, n = Rn(t, e);
4088
- this._isItemsControlled || this._setInternalItems(n, { reconcileStates: !0 }), se({
4089
- target: this,
4090
- eventName: "luzmo-item-grid-layout-changed",
4091
- detail: {
4092
- element: this._gridElement,
4093
- grid: this._grid,
4094
- items: t,
4095
- updatedItems: n
4096
- }
4097
- }), this._restoreItemsLayout(e);
4098
- }
4099
- }), this._initialized = !0, se({
4100
- target: this,
4101
- eventName: "luzmo-item-grid-ready",
4102
- detail: {
4103
- element: this._gridElement,
4104
- grid: this._grid,
4105
- items: this._effectiveItems
4106
- }
4107
- }), this._applyItemStates());
4108
- }
4109
- _applyItemStates() {
4110
- 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]");
4111
- if (r) for (let e of r) {
4112
- let n = e.getAttribute("gs-id");
4113
- (!n || !t.has(n)) && (e.removeAttribute("active"), this._removeItemActionsMenuPopover(e));
4114
- }
4115
- if (this._activeItemElement = void 0, this._activeItemActionToggle = void 0, t.size === 0) {
4116
- this._gridElement?.removeAttribute("has-active-item");
4117
- return;
4118
- }
4119
- for (let [t, r] of Object.entries(e)) {
4120
- if (r.length === 0) continue;
4121
- let e = this.getGridItemById(t);
4122
- if (!e?.element) continue;
4123
- let i = e.element;
4124
- i.setAttribute("active", "true"), this._gridElement?.setAttribute("has-active-item", "true"), this._createItemActionsMenuPopover(i, r);
4125
- for (let e of r) n.push({
4126
- element: i,
4127
- action: e
4128
- });
4129
- }
4130
- if (n.length === 0) {
4131
- this._gridElement?.removeAttribute("has-active-item"), this._activeItemElement = void 0, this._activeItemActionToggle = void 0;
4132
- return;
4133
- }
4134
- n.length === 1 ? (this._activeItemElement = n[0].element, this._activeItemActionToggle = n[0].action) : (this._activeItemElement = void 0, this._activeItemActionToggle = void 0);
4135
- }
4136
- _createOrUpdateDimensionsHint(e, t, n) {
4137
- zn({
4138
- element: e,
4139
- numberOfColumns: t,
4140
- numberOfRows: n,
4141
- offsetHint: dn(this.theme)
4142
- });
4143
- }
4144
- _removeDimensionsHint(e) {
4145
- Bn(e);
4146
- }
4147
- get grid() {
4148
- return this._grid;
4149
- }
4150
- get gridItems() {
4151
- return we(this.items, this._gridElement);
4152
- }
4153
- registerRenderer(e, t) {
4154
- this.renderers = {
4155
- ...this.renderers,
4156
- [e]: t
4157
- };
4158
- }
4159
- _renderOverlayContent(e, t) {
4160
- return _n({
4161
- item: e,
4162
- activeActions: t,
4163
- defaultItemActionsMenu: this.defaultItemActionsMenu,
4164
- placementItemActionsMenu: this.placementItemActionsMenu,
4165
- language: this.language,
4166
- handleAction: this._handleAction,
4167
- itemActionsDocumentPopover: this.itemActionsDocumentPopover
4168
- });
4169
- }
4170
- _createItemActionsMenuPopover(e, t) {
4171
- $t({
4172
- element: e,
4173
- activeActions: t,
4174
- getGridItemById: this.getGridItemById.bind(this),
4175
- placementItemActionsMenu: this.placementItemActionsMenu,
4176
- renderOverlayContent: this._renderOverlayContent.bind(this),
4177
- removeItemActionsMenuPopover: this._removeItemActionsMenuPopover.bind(this),
4178
- itemActionsDocumentPopover: this.itemActionsDocumentPopover
4179
- });
4180
- }
4181
- _removeItemActionsMenuPopover(e) {
4182
- en(e);
4183
- }
4184
- getGridItemById(e) {
4185
- return this.gridItems.find((t) => t.item.id === e);
4186
- }
4187
- scrollToItem(e) {
4188
- let t = this.getGridItemById(e);
4189
- if (!t?.element) return;
4190
- let n = t.element.getBoundingClientRect();
4191
- (n.bottom > window.innerHeight || n.top < 0) && t.element.scrollIntoView({
4192
- behavior: "smooth",
4193
- block: "center"
4194
- });
4195
- }
4196
- _createMissingItemError(e) {
4197
- return /* @__PURE__ */ Error(`Grid item with id "${e}" not found`);
4198
- }
4199
- _requireGridItem(e) {
4200
- let t = this._effectiveItems.find((t) => t.id === e);
4201
- if (!t) throw this._createMissingItemError(e);
4202
- return t;
4203
- }
4204
- _resolvePositionFromEngine(e) {
4205
- let t = this._grid?.engine.nodes.find((t) => t.id === e);
4206
- if (!(!t || t.x == null || t.y == null || t.w == null || t.h == null)) return {
4207
- col: t.x,
4208
- row: t.y,
4209
- sizeX: t.w,
4210
- sizeY: t.h
4211
- };
4212
- }
4213
- _requireGridItemWithPosition(e) {
4214
- let t = this._requireGridItem(e);
4215
- if (!t.position) {
4216
- let n = this._resolvePositionFromEngine(e);
4217
- if (!n) throw Error(`Grid item with id "${e}" does not have a position`);
4218
- return {
4219
- ...t,
4220
- position: n
4221
- };
4222
- }
4223
- return t;
4224
- }
4225
- _assertAddItemHasId(e) {
4226
- if (!e.id) throw Error("addGridItem requires newItem.id");
4227
- }
4228
- addGridItem(e) {
4229
- if (this._assertAddItemHasId(e), this._effectiveItems.some((t) => t.id === e.id)) throw Error(`addGridItem rejected: an item with id "${e.id}" already exists`);
4230
- let t = De(e), n = this._effectiveItems;
4231
- if (!this._grid) {
4232
- let r = e.position?.col == null || e.position?.row == null ? {
4233
- ...t,
4234
- position: void 0
4235
- } : t, i = [...n, r];
4236
- return this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 }), i;
4237
- }
4238
- if (!t.position) {
4239
- let e = [...n, t];
4240
- return this._isItemsControlled || this._setInternalItems(e, { reconcileStates: !0 }), e;
4241
- }
4242
- let r = e.position?.col == null || e.position?.row == null, { updatedItems: i } = Te({
4243
- item: t,
4244
- engine: this._grid.engine,
4245
- existingItems: n,
4246
- autoPosition: r
4247
- });
4248
- return this._isItemsControlled || this._setInternalItems(i, { reconcileStates: !0 }), i;
4249
- }
4250
- _enrichItemsWithEnginePositions(e) {
4251
- return this._grid ? e.map((e) => {
4252
- if (e.position) return e;
4253
- let t = this._resolvePositionFromEngine(e.id);
4254
- return t ? {
4255
- ...e,
4256
- position: t
4257
- } : e;
4258
- }) : e;
4259
- }
4260
- _updateGridItemPosition(e, t) {
4261
- let n = this._effectiveItems, r = this._requireGridItemWithPosition(e);
4262
- return n.map((n) => {
4263
- if (n.id !== e) return n;
4264
- let i = n.position ?? r.position;
4265
- return {
4266
- ...n,
4267
- position: {
4268
- ...i,
4269
- ...t
4270
- }
4271
- };
4272
- });
4273
- }
4274
- _dispatchLayoutChangedEvent(e, t) {
4275
- se({
4276
- target: this,
4277
- eventName: "luzmo-item-grid-layout-changed",
4278
- detail: {
4279
- element: this._gridElement,
4280
- grid: this._grid,
4281
- items: e,
4282
- updatedItems: t
4283
- }
4284
- });
4285
- }
4286
- _updateItemField(e, t) {
4287
- let n = this._effectiveItems;
4288
- this._requireGridItem(e);
4289
- let r = n.map((n) => n.id === e ? {
4290
- ...n,
4291
- ...t
4292
- } : n);
4293
- return this._isItemsControlled || this._setInternalItems(r, { reconcileStates: !0 }), r;
4294
- }
4295
- removeGridItem(e) {
4296
- let t = this._effectiveItems, n = this._requireGridItem(e), r = t.filter((t) => t.id !== e);
4297
- return T({
4298
- target: this,
4299
- action: "delete",
4300
- actionType: "button",
4301
- active: !1,
4302
- items: t,
4303
- element: this.getGridItemById(e)?.element ?? this,
4304
- itemId: e,
4305
- item: n,
4306
- updatedItems: r
4307
- }), this._isItemsControlled || this._setInternalItems(r, { reconcileStates: !0 }), r;
4308
- }
4309
- cloneGridItem(e) {
4310
- let t = this._effectiveItems, n = this._requireGridItem(e), i = {
4311
- ...structuredClone(n),
4312
- id: r()
4313
- }, a = this._simulateCloneLayout(i, n), o = a.find((e) => e.id === i.id) ?? i;
4314
- return T({
4315
- target: this,
4316
- action: "clone",
4317
- actionType: "button",
4318
- active: !1,
4319
- items: t,
4320
- element: this.getGridItemById(e)?.element ?? this,
4321
- itemId: i.id,
4322
- item: o,
4323
- originalElement: this.getGridItemById(e)?.element,
4324
- updatedItems: a
4325
- }), this._isItemsControlled || this._setInternalItems(a, { reconcileStates: !0 }), a;
4326
- }
4327
- updateGridItemPosition(e, t) {
4328
- let n = this._updateGridItemPosition(e, t);
4329
- return this._dispatchLayoutChangedEvent(this._effectiveItems, n), this._isItemsControlled || this._setInternalItems(n, { reconcileStates: !0 }), n;
4330
- }
4331
- updateGridItemSize(e, t) {
4332
- let n = this._updateGridItemPosition(e, t);
4333
- return this._dispatchLayoutChangedEvent(this._effectiveItems, n), this._isItemsControlled || this._setInternalItems(n, { reconcileStates: !0 }), n;
4334
- }
4335
- updateGridItemSlots(e, t) {
4336
- return this._updateItemField(e, { slots: t });
4337
- }
4338
- updateGridItemOptions(e, t) {
4339
- return this._updateItemField(e, { options: t });
4340
- }
4341
- updateGridItemFilters(e, t) {
4342
- return this._updateItemField(e, { filters: t });
4343
- }
4344
- updateGridItemType(e, t) {
4345
- return this._updateItemField(e, { type: t });
4346
- }
4347
- updateGridItem(e, t) {
4348
- let n = this._effectiveItems;
4349
- this._requireGridItem(e);
4350
- let { position: r, ...i } = t, a;
4351
- return r && this._grid ? (a = Ee({
4352
- itemId: e,
4353
- patch: r,
4354
- engine: this._grid.engine,
4355
- existingItems: this._enrichItemsWithEnginePositions(n)
4356
- }), a = a.map((t) => t.id === e ? {
4357
- ...t,
4358
- ...i
4359
- } : t)) : a = n.map((t) => t.id === e ? {
4360
- ...t,
4361
- ...i,
4362
- ...r && t.position ? { position: {
4363
- ...t.position,
4364
- ...r
4365
- } } : r ? { position: r } : {}
4366
- } : t), t.position && this._dispatchLayoutChangedEvent(n, a), this._isItemsControlled || this._setInternalItems(a, { reconcileStates: !0 }), a;
4367
- }
4368
- async triggerItemAction(e, t, n) {
4369
- await this.updateComplete;
4370
- let r = this.getGridItemById(e);
4371
- if (!r?.element) {
4372
- console.warn(`Grid item with id "${e}" not found`);
4373
- return;
4374
- }
4375
- if (this._isControlled) return this._triggerControlledItemAction(e, t, n);
4376
- this._suppressItemStatesEvent = !0;
4377
- let i = ge({
4378
- gridElement: this._gridElement,
4379
- items: this.items,
4380
- gridItemData: r,
4381
- itemId: e,
4382
- action: t,
4383
- options: n,
4384
- state: {
4385
- activeItemElement: this._activeItemElement,
4386
- activeItemActionToggle: this._activeItemActionToggle
4387
- },
4388
- cleanupActiveItem: this._cleanupActiveItem.bind(this),
4389
- dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this),
4390
- createItemActionsMenuPopover: this._createItemActionsMenuPopover.bind(this)
4391
- });
4392
- if (this._suppressItemStatesEvent = !1, this._activeItemElement = i.state.activeItemElement, this._activeItemActionToggle = i.state.activeItemActionToggle, i.result !== void 0) {
4393
- let n = this._effectiveItemStates, r = this._computeNextItemStates(e, t, i.result);
4394
- this._internalItemStates = r, E({
4395
- target: this,
4396
- itemStates: n,
4397
- updatedItemStates: r,
4398
- changedItemStates: this._diffItemStates(n, r)
4399
- });
4400
- }
4401
- return i.result;
4402
- }
4403
- activateItemAction(e, t, n) {
4404
- return this.triggerItemAction(e, t, n);
4405
- }
4406
- _triggerControlledItemAction(e, t, n) {
4407
- let r = (this._effectiveItemStates[e] ?? []).includes(t), i = n?.active ?? !r;
4408
- if (n?.active !== void 0 && i === r) return r;
4409
- let a = this._effectiveItemStates, o = this._computeNextItemStates(e, t, i);
4410
- return E({
4411
- target: this,
4412
- itemStates: a,
4413
- updatedItemStates: o,
4414
- changedItemStates: { [e]: [t] }
4415
- }), i;
4416
- }
4417
- deactivateItems() {
4418
- if (this._isControlled) {
4419
- let e = this._effectiveItemStates, t = Object.entries(e).flatMap(([e, t]) => t.map((t) => ({
4420
- itemId: e,
4421
- action: t
4422
- })));
4423
- if (t.length === 0) return 0;
4424
- let n = {}, r = { ...e };
4425
- for (let e of t) r = this._computeNextItemStates(e.itemId, e.action, !1, r), n[e.itemId] = [...n[e.itemId] ?? [], e.action];
4426
- return E({
4427
- target: this,
4428
- itemStates: e,
4429
- updatedItemStates: r,
4430
- changedItemStates: n
4431
- }), new Set(t.map((e) => e.itemId)).size;
4432
- }
4433
- let e = this._effectiveItemStates, t = Object.entries(e).flatMap(([e, t]) => t.map((t) => ({
4434
- itemId: e,
4435
- action: t
4436
- })));
4437
- this._suppressItemStatesEvent = !0;
4438
- let n = _e({
4439
- gridElement: this._gridElement,
4440
- items: this.items,
4441
- state: {
4442
- activeItemElement: this._activeItemElement,
4443
- activeItemActionToggle: this._activeItemActionToggle
4444
- },
4445
- cleanupActiveItem: this._cleanupActiveItem.bind(this),
4446
- dispatchItemActionEvent: this._dispatchItemActionEvent.bind(this)
4447
- });
4448
- if (this._suppressItemStatesEvent = !1, this._activeItemElement = n.state.activeItemElement, this._activeItemActionToggle = n.state.activeItemActionToggle, this._isControlled || (this._internalItemStates = {}), t.length > 0) {
4449
- let n = {};
4450
- for (let e of t) n[e.itemId] = [...n[e.itemId] ?? [], e.action];
4451
- E({
4452
- target: this,
4453
- itemStates: e,
4454
- updatedItemStates: {},
4455
- changedItemStates: n
4456
- });
4457
- }
4458
- return n.deactivatedCount;
4459
- }
4460
- _renderGrid() {
4461
- return bn({
4462
- items: this.items,
4463
- initialized: this._initialized,
4464
- viewMode: this.viewMode,
4465
- contentLanguage: this.contentLanguage,
4466
- fullTheme: this._fullTheme,
4467
- appServer: this.appServer,
4468
- apiHost: this.apiHost,
4469
- authKey: this.authKey,
4470
- authToken: this.authToken,
4471
- columns: this.columns ?? 48,
4472
- ensureGridItemId: (e) => be(e),
4473
- handleMouseover: this._handleMouseover.bind(this),
4474
- handleMouseout: this._handleMouseout,
4475
- handleFocus: this._handleFocus,
4476
- handleBlur: this._handleBlur
4477
- });
4478
- }
4479
- render() {
4480
- return this._renderGrid();
4481
- }
4482
- };
4483
- e([b({
4484
- type: String,
4485
- attribute: "app-server",
4486
- reflect: !0
4487
- })], $.prototype, "appServer", void 0), e([b({
4488
- type: String,
4489
- attribute: "api-host",
4490
- reflect: !0
4491
- })], $.prototype, "apiHost", void 0), e([b({
4492
- type: String,
4493
- attribute: "auth-key",
4494
- reflect: !0
4495
- })], $.prototype, "authKey", void 0), e([b({
4496
- type: String,
4497
- attribute: "auth-token",
4498
- reflect: !0
4499
- })], $.prototype, "authToken", void 0), e([b({
4500
- type: Number,
4501
- attribute: "cache-time",
4502
- reflect: !0
4503
- })], $.prototype, "cacheTime", void 0), e([b({
4504
- type: String,
4505
- reflect: !0
4506
- })], $.prototype, "language", void 0), e([b({
4507
- type: String,
4508
- attribute: "content-language",
4509
- reflect: !0
4510
- })], $.prototype, "contentLanguage", void 0), e([b({
4511
- type: Number,
4512
- reflect: !0
4513
- })], $.prototype, "columns", void 0), e([b({
4514
- type: Number,
4515
- reflect: !0,
4516
- attribute: "row-height"
4517
- })], $.prototype, "rowHeight", void 0), e([b({
4518
- type: Boolean,
4519
- reflect: !0,
4520
- attribute: "view-mode"
4521
- })], $.prototype, "viewMode", void 0), e([b({
4522
- type: Boolean,
4523
- reflect: !0,
4524
- attribute: "item-actions-document-popover"
4525
- })], $.prototype, "itemActionsDocumentPopover", void 0), e([b({
4526
- type: String,
4527
- reflect: !0,
4528
- attribute: "placement-item-actions-menu"
4529
- })], $.prototype, "placementItemActionsMenu", void 0), e([b({
4530
- type: Array,
4531
- reflect: !0,
4532
- attribute: "default-item-actions-menu"
4533
- })], $.prototype, "defaultItemActionsMenu", void 0), e([b({
4534
- type: String,
4535
- reflect: !0,
4536
- attribute: "cloned-item-positioning"
4537
- })], $.prototype, "clonedItemPositioning", void 0), e([b({
4538
- type: Object,
4539
- reflect: !0
4540
- })], $.prototype, "theme", void 0), e([b({
4541
- type: Array,
4542
- reflect: !1
4543
- })], $.prototype, "items", null), e([b({
4544
- type: Array,
4545
- reflect: !1,
4546
- attribute: "initial-items"
4547
- })], $.prototype, "initialItems", null), e([b({
4548
- type: Object,
4549
- reflect: !1
4550
- })], $.prototype, "renderers", void 0), e([b({
4551
- type: Object,
4552
- reflect: !1,
4553
- attribute: "item-states"
4554
- })], $.prototype, "itemStates", null), e([b({
4555
- type: Object,
4556
- reflect: !1,
4557
- attribute: "initial-item-states"
4558
- })], $.prototype, "initialItemStates", void 0), e([S()], $.prototype, "_initialized", void 0), e([x(".grid-stack")], $.prototype, "_gridElement", void 0), e([ee(".luzmo-item-grid-item")], $.prototype, "_gridItemElements", void 0), e([S()], $.prototype, "_internalItemsVersion", void 0), customElements.get("luzmo-item-grid") || customElements.define("luzmo-item-grid", $), customElements.get("luzmo-item-grid-item-actions-menu") || customElements.define("luzmo-item-grid-item-actions-menu", Q);
4559
- //#endregion
4560
- export { Q as n, $ as t };