@mobileaction/action-kit 1.50.2 → 1.50.3-beta.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 (475) hide show
  1. package/.vscode/settings.json +93 -0
  2. package/CHANGELOG.md +14 -0
  3. package/dist/action-kit.mjs +11 -11
  4. package/dist/{annotations-nuDYR8LD.js → annotations-CWwm4nmk.js} +285 -270
  5. package/dist/{src/components → components}/alert/index.vue.d.ts +3 -9
  6. package/dist/{src/components → components}/alert/stories/alert.stories.d.ts +1 -1
  7. package/dist/{src/components → components}/animation/index.vue.d.ts +3 -3
  8. package/dist/{src/components → components}/animation/stories/animation.stories.d.ts +1 -1
  9. package/dist/{src/components → components}/app-icon/index.vue.d.ts +4 -4
  10. package/dist/{src/components → components}/app-icon/stories/constants.d.ts +1 -2
  11. package/dist/{src/components → components}/app-icon/stories/default.stories.d.ts +2 -2
  12. package/dist/{src/components → components}/app-track-button/index.vue.d.ts +1 -1
  13. package/dist/{src/components → components}/app-track-button/stories/default.stories.d.ts +2 -2
  14. package/dist/{src/components → components}/avatar/index.vue.d.ts +2 -2
  15. package/dist/{src/components → components}/avatar/stories/default.stories.d.ts +1 -1
  16. package/dist/components/badge/index.vue.d.ts +27 -0
  17. package/dist/components/badge/stories/basic.stories.d.ts +733 -0
  18. package/dist/components/badge/stories/blue.stories.d.ts +733 -0
  19. package/dist/components/badge/stories/constants.d.ts +323 -0
  20. package/dist/components/badge/stories/dark.stories.d.ts +733 -0
  21. package/dist/components/badge/stories/green.stories.d.ts +733 -0
  22. package/dist/components/badge/stories/orange.stories.d.ts +733 -0
  23. package/dist/components/badge/stories/pink.stories.d.ts +733 -0
  24. package/dist/components/badge/stories/purple.stories.d.ts +733 -0
  25. package/dist/components/badge/stories/red.stories.d.ts +733 -0
  26. package/dist/{src/components → components}/badge/stories/status.stories.d.ts +2 -2
  27. package/dist/components/badge/stories/teal.stories.d.ts +733 -0
  28. package/dist/components/badge/stories/yellow.stories.d.ts +733 -0
  29. package/dist/{src/components → components}/button/index.vue.d.ts +8 -13
  30. package/dist/{src/components → components}/button/link-button/index.vue.d.ts +8 -13
  31. package/dist/{src/components → components}/button/link-button/stories/link.stories.d.ts +1 -1
  32. package/dist/{src/components → components}/button/social-button/index.vue.d.ts +7 -12
  33. package/dist/{src/components → components}/button/social-button/stories/social.stories.d.ts +1 -1
  34. package/dist/{src/components → components}/button/stories/filled.stories.d.ts +1 -1
  35. package/dist/{src/components → components}/button/stories/ghost.stories.d.ts +1 -1
  36. package/dist/{src/components → components}/button/stories/lighter.stories.d.ts +1 -1
  37. package/dist/{src/components → components}/button/stories/stroke.stories.d.ts +1 -1
  38. package/dist/components/button/utils.d.ts +3 -0
  39. package/dist/components/card/index.vue.d.ts +62 -0
  40. package/dist/{src/components → components}/card/stories/default.stories.d.ts +1 -1
  41. package/dist/{src/components → components}/card/stories/footer.stories.d.ts +1 -1
  42. package/dist/{src/components → components}/card/stories/header.stories.d.ts +1 -1
  43. package/dist/{src/components → components}/cascader/components/option.vue.d.ts +9 -14
  44. package/dist/{src/components → components}/cascader/components/options.vue.d.ts +15 -21
  45. package/dist/{src/components → components}/cascader/composables/useCascaderOverflow.d.ts +2 -2
  46. package/dist/components/cascader/composables/usePopoverAttributeWatcher.d.ts +6 -0
  47. package/dist/components/cascader/index.vue.d.ts +44 -0
  48. package/dist/{src/components → components}/cascader/stories/default.stories.d.ts +1713 -729
  49. package/dist/{src/components → components}/cascader/utils/index.d.ts +4 -4
  50. package/dist/{src/components → components}/chart/components/ChartLoadingContainer.vue.d.ts +12 -16
  51. package/dist/{src/components → components}/chart/components/ChartWatermarkContainer.vue.d.ts +6 -11
  52. package/dist/{src/components → components}/chart/index.vue.d.ts +2 -2
  53. package/dist/{src/components → components}/chart/stories/chart.stories.d.ts +1 -1
  54. package/dist/{src/components → components}/chart/types.d.ts +2 -2
  55. package/dist/{src/components → components}/chart/utils.d.ts +2 -2
  56. package/dist/components/checkbox/group.vue.d.ts +24 -0
  57. package/dist/components/checkbox/index.vue.d.ts +23 -0
  58. package/dist/{src/components → components}/checkbox/stories/default.stories.d.ts +1 -1
  59. package/dist/{src/components → components}/checkbox/stories/group.stories.d.ts +2 -2
  60. package/dist/{src/components → components}/checkbox/stories/indeterminate.stories.d.ts +1 -1
  61. package/dist/components/checkbox-2/card.vue.d.ts +36 -0
  62. package/dist/components/checkbox-2/group.vue.d.ts +38 -0
  63. package/dist/components/checkbox-2/index.vue.d.ts +31 -0
  64. package/dist/{src/components → components}/checkbox-2/stories/card.stories.d.ts +1 -1
  65. package/dist/{src/components → components}/checkbox-2/stories/default.stories.d.ts +1 -1
  66. package/dist/{src/components → components}/checkbox-2/stories/group.stories.d.ts +1 -1
  67. package/dist/components/collapse/components/CollapseContent.vue.d.ts +12 -0
  68. package/dist/components/collapse/components/CollapseHeader.vue.d.ts +16 -0
  69. package/dist/{src/components → components}/collapse/components/CollapseItem.vue.d.ts +8 -12
  70. package/dist/{src/components → components}/collapse/index.vue.d.ts +13 -24
  71. package/dist/{src/components → components}/collapse/stories/default.stories.d.ts +1 -1
  72. package/dist/{src/components → components}/content-scroller/index.vue.d.ts +15 -19
  73. package/dist/{src/components → components}/content-scroller/stories/default.stories.d.ts +1 -1
  74. package/dist/{src/components → components}/country-radio/index.vue.d.ts +1 -1
  75. package/dist/{src/components → components}/country-radio/stories/default.stories.d.ts +1 -1
  76. package/dist/components/country-select/components/multiCountrySelect.vue.d.ts +44 -0
  77. package/dist/components/country-select/components/singleCountrySelect.vue.d.ts +41 -0
  78. package/dist/{src/components → components}/country-select/index.vue.d.ts +15 -10
  79. package/dist/{src/components → components}/country-select/stories/default.stories.d.ts +1 -1
  80. package/dist/{src/components → components}/date-picker/index.vue.d.ts +18 -14
  81. package/dist/{src/components → components}/date-picker/stories/default.stories.d.ts +1 -1
  82. package/dist/{src/components → components}/date-picker/stories/range.stories.d.ts +1 -1
  83. package/dist/{src/components → components}/date-picker-2/components/calendarSelect.vue.d.ts +3 -3
  84. package/dist/{src/components → components}/date-picker-2/composables/useDatePickerFormat.d.ts +3 -3
  85. package/dist/{src/components → components}/date-picker-2/composables/utils.d.ts +1 -1
  86. package/dist/components/date-picker-2/index.vue.d.ts +80 -0
  87. package/dist/{src/components → components}/date-picker-2/stories/default.stories.d.ts +2 -2
  88. package/dist/{src/components → components}/date-picker-2/stories/range.stories.d.ts +2 -2
  89. package/dist/{src/components → components}/date-picker-2/types.d.ts +55 -55
  90. package/dist/{src/components → components}/drawer/index.vue.d.ts +27 -53
  91. package/dist/{src/components → components}/drawer/stories/drawer.stories.d.ts +1 -1
  92. package/dist/{src/components → components}/dropdown/index.vue.d.ts +14 -10
  93. package/dist/{src/components → components}/dropdown/stories/default.stories.d.ts +1 -1
  94. package/dist/components/ellipsis/index.vue.d.ts +16 -0
  95. package/dist/{src/components → components}/ellipsis/stories/default.stories.d.ts +1 -1
  96. package/dist/components/empty/index.vue.d.ts +32 -0
  97. package/dist/{src/components → components}/empty/stories/animation.stories.d.ts +1 -1
  98. package/dist/{src/components → components}/empty/stories/default.stories.d.ts +1 -1
  99. package/dist/{src/components → components}/form/index.vue.d.ts +9 -6
  100. package/dist/{src/components → components}/form/stories/default.stories.d.ts +1 -1
  101. package/dist/components/form-item/index.vue.d.ts +12 -0
  102. package/dist/{src/components → components}/icon/components/flagIcon.vue.d.ts +2 -2
  103. package/dist/{src/components → components}/icon/components/maIcon.vue.d.ts +1 -1
  104. package/dist/{src/components → components}/icon/composables/useUniqueIds.d.ts +2 -2
  105. package/dist/{src/components → components}/icon/index.vue.d.ts +1 -1
  106. package/dist/{src/components → components}/icon/stories/icon.stories.d.ts +1 -1
  107. package/dist/{src/components → components}/icon-button/components/button.vue.d.ts +7 -12
  108. package/dist/components/icon-button/index.vue.d.ts +41 -0
  109. package/dist/{src/components → components}/icon-button/stories/primary.stories.d.ts +1 -1
  110. package/dist/{src/components → components}/icon-button/stories/secondary.stories.d.ts +1 -1
  111. package/dist/components/image/group.vue.d.ts +12 -0
  112. package/dist/components/image/index.vue.d.ts +26 -0
  113. package/dist/{src/components → components}/image/stories/default.stories.d.ts +1 -1
  114. package/dist/components/image-2/group.vue.d.ts +19 -0
  115. package/dist/{src/components → components}/image-2/index.vue.d.ts +6 -11
  116. package/dist/{src/components → components}/image-2/stories/default.stories.d.ts +1 -1
  117. package/dist/{src/components → components}/input/index.vue.d.ts +19 -10
  118. package/dist/{src/components → components}/input/stories/amount.stories.d.ts +1 -1
  119. package/dist/{src/components → components}/input/stories/credit-card.stories.d.ts +1 -1
  120. package/dist/{src/components → components}/input/stories/default.stories.d.ts +1 -1
  121. package/dist/{src/components → components}/input/stories/email.stories.d.ts +1 -1
  122. package/dist/{src/components → components}/input/stories/password.stories.d.ts +1 -1
  123. package/dist/{src/components → components}/input/stories/textarea.stories.d.ts +1 -1
  124. package/dist/{src/components → components}/input/stories/url.stories.d.ts +1 -1
  125. package/dist/{src/components → components}/input/stories/user-info.stories.d.ts +1 -1
  126. package/dist/{src/components → components}/input/types.d.ts +7 -7
  127. package/dist/{src/components → components}/input-number/index.vue.d.ts +12 -8
  128. package/dist/{src/components → components}/input-number/stories/default.stories.d.ts +101 -93
  129. package/dist/{src/components → components}/input-number/types.d.ts +4 -4
  130. package/dist/{src/components → components}/menu/components/MenuItem.vue.d.ts +8 -5
  131. package/dist/{src/components → components}/menu/index.vue.d.ts +8 -5
  132. package/dist/{src/components → components}/menu/stories/constants.d.ts +2 -2
  133. package/dist/{src/components → components}/menu/stories/default.stories.d.ts +2 -2
  134. package/dist/{src/components → components}/modal/components/renderContent.vue.d.ts +1 -1
  135. package/dist/{src/components → components}/modal/index.vue.d.ts +22 -13
  136. package/dist/{src/components → components}/modal/stories/default.stories.d.ts +1 -1
  137. package/dist/{src/components → components}/modal/stories/functions.stories.d.ts +2 -2
  138. package/dist/{src/components → components}/modal/types.d.ts +3 -3
  139. package/dist/{src/components → components}/notification/components/notification.vue.d.ts +2 -2
  140. package/dist/components/notification/components/notificationContainer.vue.d.ts +10 -0
  141. package/dist/{src/components → components}/notification/composables/useNotificationAnimation.d.ts +2 -2
  142. package/dist/{src/components → components}/notification/index.d.ts +1 -1
  143. package/dist/{src/components → components}/notification/stories/commonStories.d.ts +2 -2
  144. package/dist/{src/components → components}/notification/stories/filled.stories.d.ts +1 -1
  145. package/dist/{src/components → components}/notification/stories/light.stories.d.ts +1 -1
  146. package/dist/{src/components → components}/notification/stories/stroke.stories.d.ts +1 -1
  147. package/dist/{src/components → components}/notification/types.d.ts +1 -1
  148. package/dist/{src/components → components}/numeric-input/components/singleNumericInput.vue.d.ts +2 -2
  149. package/dist/{src/components → components}/numeric-input/index.vue.d.ts +3 -3
  150. package/dist/{src/components → components}/numeric-input/stories/default.stories.d.ts +2 -2
  151. package/dist/{src/components → components}/pagination/index.vue.d.ts +10 -7
  152. package/dist/{src/components → components}/pagination/stories/default.stories.d.ts +1 -1
  153. package/dist/components/pagination/types.d.ts +19 -0
  154. package/dist/{src/components → components}/popconfirm/index.vue.d.ts +19 -13
  155. package/dist/{src/components → components}/popconfirm/stories/default.stories.d.ts +1 -1
  156. package/dist/{src/components → components}/popconfirm-2/index.vue.d.ts +17 -19
  157. package/dist/{src/components → components}/popconfirm-2/stories/default.stories.d.ts +1 -1
  158. package/dist/{src/components → components}/popconfirm-2/types.d.ts +1 -1
  159. package/dist/{src/components → components}/popover/index.vue.d.ts +16 -11
  160. package/dist/{src/components → components}/popover/stories/default.stories.d.ts +1 -1
  161. package/dist/{src/components → components}/popover-2/index.vue.d.ts +12 -16
  162. package/dist/{src/components → components}/popover-2/stories/default.stories.d.ts +1 -1
  163. package/dist/{src/components → components}/progress/components/circle.vue.d.ts +8 -13
  164. package/dist/{src/components → components}/progress/components/halfCircle.vue.d.ts +8 -13
  165. package/dist/{src/components → components}/progress/components/line.vue.d.ts +9 -13
  166. package/dist/{src/components → components}/progress/components/stepLine.vue.d.ts +8 -13
  167. package/dist/components/progress/index.vue.d.ts +32 -0
  168. package/dist/{src/components → components}/progress/stories/circle.stories.d.ts +1 -1
  169. package/dist/{src/components → components}/progress/stories/half-circle.stories.d.ts +1 -1
  170. package/dist/{src/components → components}/progress/stories/line-step.stories.d.ts +1 -1
  171. package/dist/{src/components → components}/progress/stories/line.stories.d.ts +1 -1
  172. package/dist/{src/components → components}/radio/group.vue.d.ts +9 -4
  173. package/dist/components/radio/index.vue.d.ts +29 -0
  174. package/dist/{src/components → components}/radio/stories/default.stories.d.ts +1 -1
  175. package/dist/components/radio-card/index.vue.d.ts +26 -0
  176. package/dist/{src/components → components}/radio-card/stories/default.stories.d.ts +1 -1
  177. package/dist/{src/components → components}/rate/components/star.vue.d.ts +1 -1
  178. package/dist/{src/components → components}/rate/index.vue.d.ts +2 -2
  179. package/dist/{src/components → components}/rate/stories/default.stories.d.ts +1 -1
  180. package/dist/components/result/index.vue.d.ts +28 -0
  181. package/dist/{src/components → components}/result/stories/constants.d.ts +16 -14
  182. package/dist/{src/components → components}/result/stories/default.stories.d.ts +1 -1
  183. package/dist/{src/components → components}/select/components/dropdownRender.vue.d.ts +2 -2
  184. package/dist/components/select/components/option.vue.d.ts +12 -0
  185. package/dist/{src/components → components}/select/index.vue.d.ts +34 -21
  186. package/dist/{src/components → components}/select/stories/default.stories.d.ts +1 -1
  187. package/dist/{src/components → components}/select/stories/group.stories.d.ts +1 -1
  188. package/dist/{src/components → components}/select/stories/multi-select.stories.d.ts +2 -2
  189. package/dist/{src/components → components}/select/stories/single.stories.d.ts +2 -2
  190. package/dist/{src/components → components}/select-2/components/selectOption.vue.d.ts +9 -20
  191. package/dist/components/select-2/components/selectOptionGroup.vue.d.ts +15 -0
  192. package/dist/{src/components → components}/select-2/composables/use-keyboard-navigation.d.ts +3 -3
  193. package/dist/{src/components → components}/select-2/composables/use-options-registry.d.ts +2 -2
  194. package/dist/components/select-2/index.vue.d.ts +77 -0
  195. package/dist/{src/components → components}/select-2/stories/borderless.stories.d.ts +2 -2
  196. package/dist/{src/components → components}/select-2/stories/inline.stories.d.ts +2 -2
  197. package/dist/{src/components → components}/select-2/stories/multiple.stories.d.ts +2 -2
  198. package/dist/{src/components → components}/select-2/stories/select-option-group.stories.d.ts +12 -10
  199. package/dist/{src/components → components}/select-2/stories/select-option.stories.d.ts +10 -14
  200. package/dist/{src/components → components}/select-2/stories/single.stories.d.ts +2 -2
  201. package/dist/components/select-2/types.d.ts +181 -0
  202. package/dist/components/side-menu/add-new-app-button/index.vue.d.ts +21 -0
  203. package/dist/{src/components → components}/side-menu/add-new-app-button/stories/constants.d.ts +1 -1
  204. package/dist/{src/components → components}/side-menu/add-new-app-button/stories/default.stories.d.ts +2 -2
  205. package/dist/components/side-menu/app-button/index.vue.d.ts +19 -0
  206. package/dist/{src/components → components}/side-menu/app-button/stories/default.stories.d.ts +1 -1
  207. package/dist/components/side-menu/button/index.vue.d.ts +24 -0
  208. package/dist/{src/components → components}/side-menu/button/stories/default.stories.d.ts +1 -1
  209. package/dist/components/side-menu/icon-button/index.vue.d.ts +25 -0
  210. package/dist/{src/components → components}/side-menu/icon-button/stories/default.stories.d.ts +1 -1
  211. package/dist/components/side-menu/menu-item/index.vue.d.ts +32 -0
  212. package/dist/{src/components → components}/side-menu/menu-item/stories/default.stories.d.ts +1 -1
  213. package/dist/components/side-menu/round-icon-button/index.vue.d.ts +15 -0
  214. package/dist/{src/components → components}/side-menu/round-icon-button/stories/default.stories.d.ts +1 -1
  215. package/dist/components/side-menu-2/menu-button/index.vue.d.ts +27 -0
  216. package/dist/{src/components → components}/side-menu-2/menu-button/stories/default.stories.d.ts +1 -1
  217. package/dist/components/side-menu-2/menu-item/index.vue.d.ts +20 -0
  218. package/dist/{src/components → components}/side-menu-2/menu-item/stories/default.stories.d.ts +1 -1
  219. package/dist/{src/components → components}/slider/index.vue.d.ts +14 -11
  220. package/dist/{src/components → components}/slider/stories/default.stories.d.ts +1 -1
  221. package/dist/components/spin/index.vue.d.ts +27 -0
  222. package/dist/{src/components → components}/spin/stories/container.stories.d.ts +1 -1
  223. package/dist/{src/components → components}/spin/stories/default.stories.d.ts +1 -1
  224. package/dist/{src/components → components}/step-items/components/index.vue.d.ts +13 -16
  225. package/dist/{src/components → components}/step-items/index.vue.d.ts +8 -5
  226. package/dist/{src/components → components}/step-items/stories/default.stories.d.ts +1 -1
  227. package/dist/{src/components → components}/step-items/stories/step-item.stories.d.ts +1 -1
  228. package/dist/{src/components → components}/steps/components/index.vue.d.ts +8 -14
  229. package/dist/{src/components → components}/steps/index.vue.d.ts +10 -7
  230. package/dist/{src/components → components}/steps/stories/constants.d.ts +1 -1
  231. package/dist/{src/components → components}/steps/stories/default.stories.d.ts +1 -1
  232. package/dist/{src/components → components}/steps/stories/step.stories.d.ts +1 -1
  233. package/dist/{src/components → components}/switch/index.vue.d.ts +13 -10
  234. package/dist/{src/components → components}/switch/stories/default.stories.d.ts +2 -2
  235. package/dist/{src/components → components}/table/preview.vue.d.ts +1 -1
  236. package/dist/{src/components → components}/table/row-detail.vue.d.ts +1 -1
  237. package/dist/{src/components → components}/table/stories/default.stories.d.ts +1 -1
  238. package/dist/components/tabs/components/tabPane.vue.d.ts +12 -0
  239. package/dist/{src/components → components}/tabs/index.vue.d.ts +9 -4
  240. package/dist/{src/components → components}/tabs/stories/card.stories.d.ts +1 -1
  241. package/dist/{src/components → components}/tabs/stories/line.stories.d.ts +1 -1
  242. package/dist/{src/components → components}/tabs-2/components/tabButton.vue.d.ts +9 -13
  243. package/dist/components/tabs-2/components/tabPane.vue.d.ts +21 -0
  244. package/dist/{src/components → components}/tabs-2/index.vue.d.ts +7 -12
  245. package/dist/{src/components → components}/tabs-2/stories/default.stories.d.ts +22 -22
  246. package/dist/{src/components → components}/tabs-2/stories/tab-button.stories.d.ts +37 -30
  247. package/dist/{src/components → components}/tabs-2/stories/tab-pane.stories.d.ts +6 -9
  248. package/dist/{src/components → components}/tabs-2/types.d.ts +30 -30
  249. package/dist/{src/components → components}/tag-input/index.vue.d.ts +12 -8
  250. package/dist/{src/components → components}/tag-input/stories/default.stories.d.ts +1 -1
  251. package/dist/{src/components → components}/toggle/index.vue.d.ts +2 -2
  252. package/dist/{src/components → components}/toggle/stories/default.stories.d.ts +1 -1
  253. package/dist/components/tooltip/index.vue.d.ts +40 -0
  254. package/dist/{src/components → components}/tooltip/stories/default.stories.d.ts +1 -1
  255. package/dist/{src/components → components}/tooltip-2/index.vue.d.ts +18 -20
  256. package/dist/{src/components → components}/tooltip-2/stories/default.stories.d.ts +1 -1
  257. package/dist/{src/components → components}/tooltip-2/types.d.ts +1 -1
  258. package/dist/{src/components → components}/track-button/index.vue.d.ts +7 -12
  259. package/dist/{src/components → components}/track-button/stories/default.stories.d.ts +1 -1
  260. package/dist/components/tree/components/treeNode.vue.d.ts +86 -0
  261. package/dist/{src/components → components}/tree/index.vue.d.ts +44 -34
  262. package/dist/{src/components → components}/tree/stories/default.stories.d.ts +1 -1
  263. package/dist/{src/components → components}/tree/stories/useTreeData.d.ts +2 -2
  264. package/dist/components/typography/index.vue.d.ts +22 -0
  265. package/dist/{src/components → components}/typography/stories/default.stories.d.ts +1 -1
  266. package/dist/components/upload/composables/file.d.ts +7 -0
  267. package/dist/{src/components → components}/upload/index.vue.d.ts +14 -20
  268. package/dist/{src/components → components}/upload/singleFile.vue.d.ts +2 -2
  269. package/dist/{src/components → components}/upload/stories/box.stories.d.ts +1 -1
  270. package/dist/{src/components → components}/upload/stories/button.stories.d.ts +1 -1
  271. package/dist/{src/components → components}/upload/stories/small-box.stories.d.ts +1 -1
  272. package/dist/{src/components → components}/watchlist-button/components/button.vue.d.ts +7 -12
  273. package/dist/components/watchlist-button/index.vue.d.ts +38 -0
  274. package/dist/{src/components → components}/watchlist-button/stories/dashed.stories.d.ts +1 -1
  275. package/dist/{src/components → components}/watchlist-button/stories/default.stories.d.ts +1 -1
  276. package/dist/composables/ssr.d.ts +4 -0
  277. package/dist/export-data-CHLtCPKw.js +327 -0
  278. package/dist/exporting-SxR9gG1N.js +535 -0
  279. package/dist/index-Pkisqyzc.js +21240 -0
  280. package/dist/like-dislike-CHlo8ZOK.js +41 -0
  281. package/dist/like-dislike-QQeH_i2r.js +10 -0
  282. package/dist/{map-D5KwUZSw.js → map-DNmKKOCy.js} +142 -131
  283. package/dist/offline-exporting-D5oDbA8l.js +192 -0
  284. package/dist/{stock-Cba-k-EP.js → stock-LrgFv6CV.js} +569 -543
  285. package/dist/style.css +1 -1
  286. package/dist/table.css +20 -9
  287. package/dist/{src/utils → utils}/breakpoints.d.ts +7 -7
  288. package/dist/{src/utils → utils}/slots.d.ts +1 -1
  289. package/dist/{venn-B6QPLruI.js → venn-rWBj7Y1S.js} +11 -1
  290. package/dist/wordcloud-tAa60GDl.js +235 -0
  291. package/package.json +65 -65
  292. package/dist/export-data-CuSWwgWD.js +0 -292
  293. package/dist/exporting-B9qu_91x.js +0 -385
  294. package/dist/index-DFJoEOFc.js +0 -21110
  295. package/dist/offline-exporting-QVHvrRwG.js +0 -578
  296. package/dist/src/components/badge/index.vue.d.ts +0 -24
  297. package/dist/src/components/badge/stories/basic.stories.d.ts +0 -12
  298. package/dist/src/components/badge/stories/blue.stories.d.ts +0 -13
  299. package/dist/src/components/badge/stories/constants.d.ts +0 -5
  300. package/dist/src/components/badge/stories/dark.stories.d.ts +0 -13
  301. package/dist/src/components/badge/stories/green.stories.d.ts +0 -13
  302. package/dist/src/components/badge/stories/orange.stories.d.ts +0 -13
  303. package/dist/src/components/badge/stories/pink.stories.d.ts +0 -13
  304. package/dist/src/components/badge/stories/purple.stories.d.ts +0 -13
  305. package/dist/src/components/badge/stories/red.stories.d.ts +0 -13
  306. package/dist/src/components/badge/stories/teal.stories.d.ts +0 -13
  307. package/dist/src/components/badge/stories/yellow.stories.d.ts +0 -13
  308. package/dist/src/components/button/utils.d.ts +0 -3
  309. package/dist/src/components/card/index.vue.d.ts +0 -49
  310. package/dist/src/components/cascader/composables/usePopoverAttributeWatcher.d.ts +0 -6
  311. package/dist/src/components/cascader/index.vue.d.ts +0 -145
  312. package/dist/src/components/checkbox/group.vue.d.ts +0 -19
  313. package/dist/src/components/checkbox/index.vue.d.ts +0 -18
  314. package/dist/src/components/checkbox-2/card.vue.d.ts +0 -59
  315. package/dist/src/components/checkbox-2/group.vue.d.ts +0 -42
  316. package/dist/src/components/checkbox-2/index.vue.d.ts +0 -48
  317. package/dist/src/components/collapse/components/CollapseContent.vue.d.ts +0 -17
  318. package/dist/src/components/collapse/components/CollapseHeader.vue.d.ts +0 -21
  319. package/dist/src/components/country-select/components/multiCountrySelect.vue.d.ts +0 -37
  320. package/dist/src/components/country-select/components/singleCountrySelect.vue.d.ts +0 -34
  321. package/dist/src/components/date-picker-2/index.vue.d.ts +0 -147
  322. package/dist/src/components/ellipsis/index.vue.d.ts +0 -13
  323. package/dist/src/components/empty/index.vue.d.ts +0 -26
  324. package/dist/src/components/form-item/index.vue.d.ts +0 -7
  325. package/dist/src/components/icon-button/index.vue.d.ts +0 -36
  326. package/dist/src/components/image/group.vue.d.ts +0 -35
  327. package/dist/src/components/image/index.vue.d.ts +0 -21
  328. package/dist/src/components/image-2/group.vue.d.ts +0 -26
  329. package/dist/src/components/notification/components/notificationContainer.vue.d.ts +0 -7
  330. package/dist/src/components/pagination/types.d.ts +0 -19
  331. package/dist/src/components/progress/index.vue.d.ts +0 -29
  332. package/dist/src/components/radio/index.vue.d.ts +0 -24
  333. package/dist/src/components/radio-card/index.vue.d.ts +0 -21
  334. package/dist/src/components/result/index.vue.d.ts +0 -23
  335. package/dist/src/components/select/components/option.vue.d.ts +0 -7
  336. package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
  337. package/dist/src/components/select-2/index.vue.d.ts +0 -332
  338. package/dist/src/components/select-2/types.d.ts +0 -181
  339. package/dist/src/components/side-menu/add-new-app-button/index.vue.d.ts +0 -18
  340. package/dist/src/components/side-menu/app-button/index.vue.d.ts +0 -16
  341. package/dist/src/components/side-menu/button/index.vue.d.ts +0 -21
  342. package/dist/src/components/side-menu/icon-button/index.vue.d.ts +0 -21
  343. package/dist/src/components/side-menu/menu-item/index.vue.d.ts +0 -29
  344. package/dist/src/components/side-menu/round-icon-button/index.vue.d.ts +0 -12
  345. package/dist/src/components/side-menu-2/menu-button/index.vue.d.ts +0 -24
  346. package/dist/src/components/side-menu-2/menu-item/index.vue.d.ts +0 -17
  347. package/dist/src/components/spin/index.vue.d.ts +0 -22
  348. package/dist/src/components/tabs/components/tabPane.vue.d.ts +0 -15
  349. package/dist/src/components/tabs-2/components/tabPane.vue.d.ts +0 -36
  350. package/dist/src/components/tooltip/index.vue.d.ts +0 -34
  351. package/dist/src/components/tree/components/treeNode.vue.d.ts +0 -78
  352. package/dist/src/components/typography/index.vue.d.ts +0 -19
  353. package/dist/src/components/upload/composables/file.d.ts +0 -7
  354. package/dist/src/components/watchlist-button/index.vue.d.ts +0 -33
  355. package/dist/src/composables/ssr.d.ts +0 -4
  356. package/dist/wordcloud-Cck6VRF8.js +0 -222
  357. package/dist/{src/components → components}/alert/alert.test.d.ts +0 -0
  358. package/dist/{src/components → components}/alert/types.d.ts +0 -0
  359. package/dist/{src/components → components}/animation/stories/constants.d.ts +0 -0
  360. package/dist/{src/components → components}/animation/types.d.ts +0 -0
  361. package/dist/{src/components → components}/app-icon/types.d.ts +0 -0
  362. package/dist/{src/components → components}/app-track-button/stories/constants.d.ts +0 -0
  363. package/dist/{src/components → components}/avatar/avatar.test.d.ts +0 -0
  364. package/dist/{src/components → components}/avatar/types.d.ts +0 -0
  365. package/dist/{src/components → components}/badge/badge.test.d.ts +0 -0
  366. package/dist/{src/components → components}/badge/types.d.ts +0 -0
  367. package/dist/{src/components → components}/button/button.test.d.ts +0 -0
  368. package/dist/{src/components → components}/button/link-button/types.d.ts +0 -0
  369. package/dist/{src/components → components}/button/social-button/types.d.ts +0 -0
  370. package/dist/{src/components → components}/button/stories/constants.d.ts +0 -0
  371. package/dist/{src/components → components}/button/types.d.ts +0 -0
  372. package/dist/{src/components → components}/card/stories/constants.d.ts +0 -0
  373. package/dist/{src/components → components}/card/types.d.ts +0 -0
  374. package/dist/{src/components → components}/cascader/cascader.test.d.ts +0 -0
  375. package/dist/{src/components → components}/cascader/types.d.ts +0 -0
  376. package/dist/{src/components → components}/cascader/utils/index.test.d.ts +0 -0
  377. package/dist/{src/components → components}/chart/chart.test.d.ts +0 -0
  378. package/dist/{src/components → components}/checkbox/stories/constants.d.ts +0 -0
  379. package/dist/{src/components → components}/checkbox/types.d.ts +0 -0
  380. package/dist/{src/components → components}/checkbox-2/checkbox-2.test.d.ts +0 -0
  381. package/dist/{src/components → components}/checkbox-2/composables/useCheckbox.d.ts +0 -0
  382. package/dist/{src/components → components}/checkbox-2/types.d.ts +0 -0
  383. package/dist/{src/components → components}/collapse/collapse.test.d.ts +0 -0
  384. package/dist/{src/components → components}/collapse/types.d.ts +0 -0
  385. package/dist/{src/components → components}/content-scroller/types.d.ts +0 -0
  386. package/dist/{src/components → components}/country-select/types.d.ts +0 -0
  387. package/dist/{src/components → components}/date-picker/stories/constants.d.ts +0 -0
  388. package/dist/{src/components → components}/date-picker/types.d.ts +0 -0
  389. package/dist/{src/components → components}/date-picker-2/date-picker.test.d.ts +0 -0
  390. package/dist/{src/components → components}/date-picker-2/stories/constants.d.ts +0 -0
  391. package/dist/{src/components → components}/drawer/drawer.test.d.ts +0 -0
  392. package/dist/{src/components → components}/dropdown/stories/constants.d.ts +0 -0
  393. package/dist/{src/components → components}/dropdown/types.d.ts +0 -0
  394. package/dist/{src/components → components}/ellipsis/stories/constants.d.ts +0 -0
  395. package/dist/{src/components → components}/empty/stories/constants.d.ts +0 -0
  396. package/dist/{src/components → components}/empty/types.d.ts +0 -0
  397. package/dist/{src/components → components}/form/components/nonHSFormsIgnore.vue.d.ts +0 -0
  398. package/dist/{src/components → components}/form/stories/constants.d.ts +0 -0
  399. package/dist/{src/components → components}/form/types.d.ts +0 -0
  400. package/dist/{src/components → components}/icon/icon.test.d.ts +0 -0
  401. package/dist/{src/components → components}/icon/types.d.ts +0 -0
  402. package/dist/{src/components → components}/icon/utils.d.ts +0 -0
  403. package/dist/{src/components → components}/icon-button/stories/constants.d.ts +0 -0
  404. package/dist/{src/components → components}/icon-button/types.d.ts +0 -0
  405. package/dist/{src/components → components}/image/stories/constants.d.ts +0 -0
  406. package/dist/{src/components → components}/image-2/image2.test.d.ts +0 -0
  407. package/dist/{src/components → components}/image-2/preview.vue.d.ts +0 -0
  408. package/dist/{src/components → components}/modal/index.d.ts +0 -0
  409. package/dist/{src/components → components}/modal/stories/constants.d.ts +0 -0
  410. package/dist/{src/components → components}/notification/notification.test.d.ts +0 -0
  411. package/dist/{src/components → components}/notification/stories/constants.d.ts +0 -0
  412. package/dist/{src/components → components}/numeric-input/stories/constants.d.ts +0 -0
  413. package/dist/{src/components → components}/numeric-input/types.d.ts +0 -0
  414. package/dist/{src/components → components}/pagination/pagination.test.d.ts +0 -0
  415. package/dist/{src/components → components}/popconfirm/types.d.ts +0 -0
  416. package/dist/{src/components → components}/popconfirm-2/popconfirm2.test.d.ts +0 -0
  417. package/dist/{src/components → components}/popover/stories/constants.d.ts +0 -0
  418. package/dist/{src/components → components}/popover/types.d.ts +0 -0
  419. package/dist/{src/components → components}/popover-2/popover2.test.d.ts +0 -0
  420. package/dist/{src/components → components}/popover-2/types.d.ts +0 -0
  421. package/dist/{src/components → components}/progress/stories/constants.d.ts +0 -0
  422. package/dist/{src/components → components}/progress/types.d.ts +0 -0
  423. package/dist/{src/components → components}/radio/types.d.ts +0 -0
  424. package/dist/{src/components → components}/rate/types.d.ts +0 -0
  425. package/dist/{src/components → components}/result/types.d.ts +0 -0
  426. package/dist/{src/components → components}/select/components/optionCheckbox.vue.d.ts +0 -0
  427. package/dist/{src/components → components}/select/stories/constants.d.ts +0 -0
  428. package/dist/{src/components → components}/select/types.d.ts +0 -0
  429. package/dist/{src/components → components}/select-2/select.test.d.ts +0 -0
  430. package/dist/{src/components → components}/select-2/stories/constants.d.ts +0 -0
  431. package/dist/{src/components → components}/side-menu/app-button/stories/constants.d.ts +0 -0
  432. package/dist/{src/components → components}/side-menu/button/stories/constants.d.ts +0 -0
  433. package/dist/{src/components → components}/side-menu/icon-button/stories/constants.d.ts +0 -0
  434. package/dist/{src/components → components}/side-menu/menu-item/stories/constants.d.ts +0 -0
  435. package/dist/{src/components → components}/side-menu/menu-item/types.d.ts +0 -0
  436. package/dist/{src/components → components}/side-menu/round-icon-button/stories/constants.d.ts +0 -0
  437. package/dist/{src/components → components}/side-menu-2/menu-button/types.d.ts +0 -0
  438. package/dist/{src/components → components}/side-menu-2/menu-item/stories/constants.d.ts +0 -0
  439. package/dist/{src/components → components}/side-menu-2/side-menu-2.test.d.ts +0 -0
  440. package/dist/{src/components → components}/slider/types.d.ts +0 -0
  441. package/dist/{src/components → components}/spin/stories/constants.d.ts +0 -0
  442. package/dist/{src/components → components}/spin/types.d.ts +0 -0
  443. package/dist/{src/components → components}/steps/types.d.ts +0 -0
  444. package/dist/{src/components → components}/switch/stories/constants.d.ts +0 -0
  445. package/dist/{src/components → components}/switch/switch.test.d.ts +0 -0
  446. package/dist/{src/components → components}/switch/types.d.ts +0 -0
  447. package/dist/{src/components → components}/table/stories/data/fields.d.ts +0 -0
  448. package/dist/{src/components → components}/tabs/stories/constants.d.ts +0 -0
  449. package/dist/{src/components → components}/tabs/types.d.ts +0 -0
  450. package/dist/{src/components → components}/tabs-2/tabButton.test.d.ts +0 -0
  451. package/dist/{src/components → components}/tabs-2/tabs.test.d.ts +0 -0
  452. package/dist/{src/components → components}/tag-input/stories/constants.d.ts +0 -0
  453. package/dist/{src/components → components}/tag-input/types.d.ts +0 -0
  454. package/dist/{src/components → components}/toggle/types.d.ts +0 -0
  455. package/dist/{src/components → components}/tooltip/stories/constants.d.ts +0 -0
  456. package/dist/{src/components → components}/tooltip/tooltip.test.d.ts +0 -0
  457. package/dist/{src/components → components}/tooltip/types.d.ts +0 -0
  458. package/dist/{src/components → components}/tooltip-2/tooltip2.test.d.ts +0 -0
  459. package/dist/{src/components → components}/track-button/stories/constants.d.ts +0 -0
  460. package/dist/{src/components → components}/track-button/track-button.test.d.ts +0 -0
  461. package/dist/{src/components → components}/track-button/types.d.ts +0 -0
  462. package/dist/{src/components → components}/tree/stories/constants.d.ts +0 -0
  463. package/dist/{src/components → components}/tree/tree.test.d.ts +0 -0
  464. package/dist/{src/components → components}/tree/types.d.ts +0 -0
  465. package/dist/{src/components → components}/typography/stories/constants.d.ts +0 -0
  466. package/dist/{src/components → components}/typography/types.d.ts +0 -0
  467. package/dist/{src/components → components}/typography/typography.test.d.ts +0 -0
  468. package/dist/{src/components → components}/upload/stories/constants.d.ts +0 -0
  469. package/dist/{src/components → components}/upload/types.d.ts +0 -0
  470. package/dist/{src/components → components}/watchlist-button/stories/constants.d.ts +0 -0
  471. package/dist/{src/components → components}/watchlist-button/types.d.ts +0 -0
  472. package/dist/{src/composables → composables}/config.d.ts +0 -0
  473. package/dist/{src/index.d.ts → index.d.ts} +103 -103
  474. /package/dist/{src/services → services}/config.d.ts +0 -0
  475. /package/dist/{src/utils → utils}/breakpoints.test.d.ts +0 -0
@@ -0,0 +1,535 @@
1
+ import { g as Bt } from "./index-Pkisqyzc.js";
2
+ function Gt(U, $) {
3
+ for (var k = 0; k < $.length; k++) {
4
+ const F = $[k];
5
+ if (typeof F != "string" && !Array.isArray(F)) {
6
+ for (const R in F)
7
+ if (R !== "default" && !(R in U)) {
8
+ const N = Object.getOwnPropertyDescriptor(F, R);
9
+ N && Object.defineProperty(U, R, N.get ? N : {
10
+ enumerable: !0,
11
+ get: () => F[R]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(U, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var q = { exports: {} }, Vt = q.exports, st;
19
+ function qt() {
20
+ return st || (st = 1, function(U, $) {
21
+ /**
22
+ * Highcharts JS v12.3.0 (2025-06-21)
23
+ * @module highcharts/modules/exporting
24
+ * @requires highcharts
25
+ *
26
+ * Exporting module
27
+ *
28
+ * (c) 2010-2025 Torstein Honsi
29
+ *
30
+ * License: www.highcharts.com/license
31
+ */
32
+ (function(k, F) {
33
+ U.exports = F(k._Highcharts, k._Highcharts.AST, k._Highcharts.Chart);
34
+ })(typeof window > "u" ? Vt : window, (k, F, R) => (() => {
35
+ var N, W, ct = { 660: (a) => {
36
+ a.exports = F;
37
+ }, 944: (a) => {
38
+ a.exports = k;
39
+ }, 960: (a) => {
40
+ a.exports = R;
41
+ } }, Y = {};
42
+ function w(a) {
43
+ var t = Y[a];
44
+ if (t !== void 0) return t.exports;
45
+ var e = Y[a] = { exports: {} };
46
+ return ct[a](e, e.exports, w), e.exports;
47
+ }
48
+ w.n = (a) => {
49
+ var t = a && a.__esModule ? () => a.default : () => a;
50
+ return w.d(t, { a: t }), t;
51
+ }, w.d = (a, t) => {
52
+ for (var e in t) w.o(t, e) && !w.o(a, e) && Object.defineProperty(a, e, { enumerable: !0, get: t[e] });
53
+ }, w.o = (a, t) => Object.prototype.hasOwnProperty.call(a, t);
54
+ var Z = {};
55
+ w.d(Z, { default: () => It });
56
+ var pt = w(944), E = w.n(pt), dt = w(660), G = w.n(dt), ut = w(960), ht = w.n(ut);
57
+ (function(a) {
58
+ a.compose = function(e) {
59
+ return e.navigation || (e.navigation = new t(e)), e;
60
+ };
61
+ class t {
62
+ constructor(o) {
63
+ this.updates = [], this.chart = o;
64
+ }
65
+ addUpdate(o) {
66
+ this.chart.navigation.updates.push(o);
67
+ }
68
+ update(o, n) {
69
+ this.updates.forEach((i) => {
70
+ i.call(this.chart, o, n);
71
+ });
72
+ }
73
+ }
74
+ a.Additions = t;
75
+ })(N || (N = {}));
76
+ let gt = N, { isSafari: ft, win: S, win: { document: j } } = E(), { error: mt } = E(), Q = S.URL || S.webkitURL || S;
77
+ function xt(a) {
78
+ let t = a.replace(/filename=.*;/, "").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);
79
+ if (t && t.length > 3 && S.atob && S.ArrayBuffer && S.Uint8Array && S.Blob && Q.createObjectURL) {
80
+ let e = S.atob(t[3]), o = new S.ArrayBuffer(e.length), n = new S.Uint8Array(o);
81
+ for (let i = 0; i < n.length; ++i) n[i] = e.charCodeAt(i);
82
+ return Q.createObjectURL(new S.Blob([n], { type: t[1] }));
83
+ }
84
+ }
85
+ let { isTouchDevice: yt } = E(), bt = { exporting: { allowTableSorting: !0, libURL: "https://code.highcharts.com/12.3.0/lib/", local: !0, type: "image/png", url: `https://export-svg.highcharts.com?v=${E().version}`, pdfFont: { normal: void 0, bold: void 0, bolditalic: void 0, italic: void 0 }, printMaxWidth: 780, scale: 2, buttons: { contextButton: { className: "highcharts-contextbutton", menuClassName: "highcharts-contextmenu", symbol: "menu", titleKey: "contextButtonTitle", menuItems: ["viewFullscreen", "printChart", "separator", "downloadPNG", "downloadJPEG", "downloadSVG"] } }, menuItemDefinitions: { viewFullscreen: { textKey: "viewFullscreen", onclick: function() {
86
+ this.fullscreen?.toggle();
87
+ } }, printChart: { textKey: "printChart", onclick: function() {
88
+ this.exporting?.print();
89
+ } }, separator: { separator: !0 }, downloadPNG: { textKey: "downloadPNG", onclick: async function() {
90
+ await this.exporting?.exportChart();
91
+ } }, downloadJPEG: { textKey: "downloadJPEG", onclick: async function() {
92
+ await this.exporting?.exportChart({ type: "image/jpeg" });
93
+ } }, downloadPDF: { textKey: "downloadPDF", onclick: async function() {
94
+ await this.exporting?.exportChart({ type: "application/pdf" });
95
+ } }, downloadSVG: { textKey: "downloadSVG", onclick: async function() {
96
+ await this.exporting?.exportChart({ type: "image/svg+xml" });
97
+ } } } }, lang: { viewFullscreen: "View in full screen", exitFullscreen: "Exit from full screen", printChart: "Print chart", downloadPNG: "Download PNG image", downloadJPEG: "Download JPEG image", downloadPDF: "Download PDF document", downloadSVG: "Download SVG vector image", contextButtonTitle: "Chart context menu" }, navigation: { buttonOptions: { symbolSize: 14, symbolX: 14.5, symbolY: 13.5, align: "right", buttonSpacing: 5, height: 28, y: -5, verticalAlign: "top", width: 28, symbolFill: "#666666", symbolStroke: "#666666", symbolStrokeWidth: 3, theme: { fill: "#ffffff", padding: 5, stroke: "none", "stroke-linecap": "round" } }, menuStyle: { border: "none", borderRadius: "3px", background: "#ffffff", padding: "0.5em" }, menuItemStyle: { background: "none", borderRadius: "3px", color: "#333333", padding: "0.5em", fontSize: yt ? "0.9em" : "0.8em", transition: "background 250ms, color 250ms" }, menuItemHoverStyle: { background: "#f2f2f2" } } };
98
+ (function(a) {
99
+ let t = [];
100
+ function e(n, i, r, c) {
101
+ return [["M", n, i + 2.5], ["L", n + r, i + 2.5], ["M", n, i + c / 2 + 0.5], ["L", n + r, i + c / 2 + 0.5], ["M", n, i + c - 1.5], ["L", n + r, i + c - 1.5]];
102
+ }
103
+ function o(n, i, r, c) {
104
+ let s = c / 3 - 2;
105
+ return [].concat(this.circle(r - s, i, s, s), this.circle(r - s, i + s + 4, s, s), this.circle(r - s, i + 2 * (s + 4), s, s));
106
+ }
107
+ a.compose = function(n) {
108
+ if (t.indexOf(n) === -1) {
109
+ t.push(n);
110
+ let i = n.prototype.symbols;
111
+ i.menu = e, i.menuball = o.bind(i);
112
+ }
113
+ };
114
+ })(W || (W = {}));
115
+ let vt = W, { composed: wt } = E(), { addEvent: z, fireEvent: _, pushUnique: St } = E();
116
+ function Et() {
117
+ this.fullscreen = new tt(this);
118
+ }
119
+ class tt {
120
+ static compose(t) {
121
+ St(wt, "Fullscreen") && z(t, "beforeRender", Et);
122
+ }
123
+ constructor(t) {
124
+ this.chart = t, this.isOpen = !1;
125
+ let e = t.renderTo;
126
+ !this.browserProps && (typeof e.requestFullscreen == "function" ? this.browserProps = { fullscreenChange: "fullscreenchange", requestFullscreen: "requestFullscreen", exitFullscreen: "exitFullscreen" } : e.mozRequestFullScreen ? this.browserProps = { fullscreenChange: "mozfullscreenchange", requestFullscreen: "mozRequestFullScreen", exitFullscreen: "mozCancelFullScreen" } : e.webkitRequestFullScreen ? this.browserProps = { fullscreenChange: "webkitfullscreenchange", requestFullscreen: "webkitRequestFullScreen", exitFullscreen: "webkitExitFullscreen" } : e.msRequestFullscreen && (this.browserProps = { fullscreenChange: "MSFullscreenChange", requestFullscreen: "msRequestFullscreen", exitFullscreen: "msExitFullscreen" }));
127
+ }
128
+ close() {
129
+ let t = this, e = t.chart, o = e.options.chart;
130
+ _(e, "fullscreenClose", null, function() {
131
+ t.isOpen && t.browserProps && e.container.ownerDocument instanceof Document && e.container.ownerDocument[t.browserProps.exitFullscreen](), t.unbindFullscreenEvent && (t.unbindFullscreenEvent = t.unbindFullscreenEvent()), e.setSize(t.origWidth, t.origHeight, !1), t.origWidth = void 0, t.origHeight = void 0, o.width = t.origWidthOption, o.height = t.origHeightOption, t.origWidthOption = void 0, t.origHeightOption = void 0, t.isOpen = !1, t.setButtonText();
132
+ });
133
+ }
134
+ open() {
135
+ let t = this, e = t.chart, o = e.options.chart;
136
+ _(e, "fullscreenOpen", null, function() {
137
+ if (o && (t.origWidthOption = o.width, t.origHeightOption = o.height), t.origWidth = e.chartWidth, t.origHeight = e.chartHeight, t.browserProps) {
138
+ let n = z(e.container.ownerDocument, t.browserProps.fullscreenChange, function() {
139
+ t.isOpen ? (t.isOpen = !1, t.close()) : (e.setSize(null, null, !1), t.isOpen = !0, t.setButtonText());
140
+ }), i = z(e, "destroy", n);
141
+ t.unbindFullscreenEvent = () => {
142
+ n(), i();
143
+ };
144
+ let r = e.renderTo[t.browserProps.requestFullscreen]();
145
+ r && r.catch(function() {
146
+ alert("Full screen is not supported inside a frame.");
147
+ });
148
+ }
149
+ });
150
+ }
151
+ setButtonText() {
152
+ let t = this.chart, e = t.exporting?.divElements, o = t.options.exporting, n = o && o.buttons && o.buttons.contextButton.menuItems, i = t.options.lang;
153
+ if (o && o.menuItemDefinitions && i && i.exitFullscreen && i.viewFullscreen && n && e) {
154
+ let r = e[n.indexOf("viewFullscreen")];
155
+ r && G().setElementHTML(r, this.isOpen ? i.exitFullscreen : o.menuItemDefinitions.viewFullscreen.text || i.viewFullscreen);
156
+ }
157
+ }
158
+ toggle() {
159
+ this.isOpen ? this.close() : this.open();
160
+ }
161
+ }
162
+ let { win: et } = E(), { discardElement: Ot, objectEach: nt } = E(), K = { ajax: function(a) {
163
+ let t = { json: "application/json", xml: "application/xml", text: "text/plain", octet: "application/octet-stream" }, e = new XMLHttpRequest();
164
+ function o(n, i) {
165
+ a.error && a.error(n, i);
166
+ }
167
+ if (!a.url) return !1;
168
+ e.open((a.type || "get").toUpperCase(), a.url, !0), a.headers?.["Content-Type"] || e.setRequestHeader("Content-Type", t[a.dataType || "json"] || t.text), nt(a.headers, function(n, i) {
169
+ e.setRequestHeader(i, n);
170
+ }), a.responseType && (e.responseType = a.responseType), e.onreadystatechange = function() {
171
+ let n;
172
+ if (e.readyState === 4) {
173
+ if (e.status === 200) {
174
+ if (a.responseType !== "blob" && (n = e.responseText, a.dataType === "json")) try {
175
+ n = JSON.parse(n);
176
+ } catch (i) {
177
+ if (i instanceof Error) return o(e, i);
178
+ }
179
+ return a.success?.(n, e);
180
+ }
181
+ o(e, e.responseText);
182
+ }
183
+ }, a.data && typeof a.data != "string" && (a.data = JSON.stringify(a.data)), e.send(a.data);
184
+ }, getJSON: function(a, t) {
185
+ K.ajax({ url: a, success: t, dataType: "json", headers: { "Content-Type": "text/plain" } });
186
+ }, post: async function(a, t, e) {
187
+ let o = new et.FormData();
188
+ nt(t, function(i, r) {
189
+ o.append(r, i);
190
+ }), o.append("b64", "true");
191
+ let n = await et.fetch(a, { method: "POST", body: o, ...e });
192
+ if (n.ok) {
193
+ let i = await n.text(), r = document.createElement("a");
194
+ r.href = `data:${t.type};base64,${i}`, r.download = t.filename, r.click(), Ot(r);
195
+ }
196
+ } }, { defaultOptions: Ct, setOptions: Tt } = E(), { downloadURL: J, getScript: kt } = { downloadURL: function(a, t) {
197
+ let e = S.navigator, o = j.createElement("a");
198
+ if (typeof a != "string" && !(a instanceof String) && e.msSaveOrOpenBlob) return void e.msSaveOrOpenBlob(a, t);
199
+ if (a = "" + a, e.userAgent.length > 1e3) throw Error("Input too long");
200
+ let n = /Edge\/\d+/.test(e.userAgent);
201
+ if ((ft && typeof a == "string" && a.indexOf("data:application/pdf") === 0 || n || a.length > 2e6) && !(a = xt(a) || "")) throw Error("Failed to convert to blob");
202
+ if (o.download !== void 0) o.href = a, o.download = t, j.body.appendChild(o), o.click(), j.body.removeChild(o);
203
+ else try {
204
+ if (!S.open(a, "chart")) throw Error("Failed to open window");
205
+ } catch {
206
+ S.location.href = a;
207
+ }
208
+ }, getScript: function(a) {
209
+ return new Promise((t, e) => {
210
+ let o = j.getElementsByTagName("head")[0], n = j.createElement("script");
211
+ n.type = "text/javascript", n.src = a, n.onload = () => {
212
+ t();
213
+ }, n.onerror = () => {
214
+ e(mt(`Error loading script ${a}`));
215
+ }, o.appendChild(n);
216
+ });
217
+ } }, { composed: Ft, doc: D, isFirefox: Pt, isMS: I, isSafari: V, SVG_NS: Rt, win: b } = E(), { addEvent: P, clearTimeout: X, createElement: A, css: O, discardElement: it, error: Nt, extend: L, find: Lt, fireEvent: H, isObject: Mt, merge: C, objectEach: Dt, pick: B, pushUnique: At, removeEvent: Ht, splat: Ut, uniqueKey: jt } = E();
218
+ G().allowedAttributes.push("data-z-index", "fill-opacity", "filter", "preserveAspectRatio", "rx", "ry", "stroke-dasharray", "stroke-linejoin", "stroke-opacity", "text-anchor", "transform", "transform-origin", "version", "viewBox", "visibility", "xmlns", "xmlns:xlink"), G().allowedTags.push("desc", "clippath", "fedropshadow", "femorphology", "g", "image");
219
+ let ot = b.URL || b.webkitURL || b;
220
+ class h {
221
+ constructor(t, e) {
222
+ this.options = {}, this.chart = t, this.options = e, this.btnCount = 0, this.buttonOffset = 0, this.divElements = [], this.svgElements = [];
223
+ }
224
+ static hyphenate(t) {
225
+ return t.replace(/[A-Z]/g, function(e) {
226
+ return "-" + e.toLowerCase();
227
+ });
228
+ }
229
+ static async imageToDataURL(t, e, o) {
230
+ let n = await h.loadImage(t), i = D.createElement("canvas"), r = i?.getContext("2d");
231
+ if (r) return i.height = n.height * e, i.width = n.width * e, r.drawImage(n, 0, 0, i.width, i.height), i.toDataURL(o);
232
+ throw Error("No canvas found!");
233
+ }
234
+ static loadImage(t) {
235
+ return new Promise((e, o) => {
236
+ let n = new b.Image();
237
+ n.crossOrigin = "Anonymous", n.onload = () => {
238
+ setTimeout(() => {
239
+ e(n);
240
+ }, h.loadEventDeferDelay);
241
+ }, n.onerror = (i) => {
242
+ o(i);
243
+ }, n.src = t;
244
+ });
245
+ }
246
+ static prepareImageOptions(t) {
247
+ let e = t?.type || "image/png", o = t?.libURL || Ct.exporting?.libURL;
248
+ return { type: e, filename: (t?.filename || "chart") + "." + (e === "image/svg+xml" ? "svg" : e.split("/")[1]), scale: t?.scale || 1, libURL: o?.slice(-1) !== "/" ? o + "/" : o };
249
+ }
250
+ static sanitizeSVG(t, e) {
251
+ let o = t.indexOf("</svg>") + 6, n = t.indexOf("<foreignObject") > -1, i = t.substr(o);
252
+ return t = t.substr(0, o), n ? t = t.replace(/(<(?:img|br).*?(?=\>))>/g, "$1 />") : i && e?.exporting?.allowHTML && (i = '<foreignObject x="0" y="0" width="' + e.chart.width + '" height="' + e.chart.height + '"><body xmlns="http://www.w3.org/1999/xhtml">' + i.replace(/(<(?:img|br).*?(?=\>))>/g, "$1 />") + "</body></foreignObject>", t = t.replace("</svg>", i + "</svg>")), t = t.replace(/zIndex="[^"]+"/g, "").replace(/symbolName="[^"]+"/g, "").replace(/jQuery\d+="[^"]+"/g, "").replace(/url\(("|&quot;)(.*?)("|&quot;)\;?\)/g, "url($2)").replace(/url\([^#]+#/g, "url(#").replace(/<svg /, '<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g, " xlink:href=").replace(/\n+/g, " ").replace(/&nbsp;/g, " ").replace(/&shy;/g, "­");
253
+ }
254
+ static svgToDataURL(t) {
255
+ let e = b.navigator.userAgent, o = e.indexOf("WebKit") > -1 && 0 > e.indexOf("Chrome");
256
+ try {
257
+ if (!o && t.indexOf("<foreignObject") === -1) return ot.createObjectURL(new b.Blob([t], { type: "image/svg+xml;charset-utf-16" }));
258
+ } catch {
259
+ }
260
+ return "data:image/svg+xml;charset=UTF-8," + encodeURIComponent(t);
261
+ }
262
+ addButton(t) {
263
+ let e, o = this, n = o.chart, i = n.renderer, r = C(n.options.navigation?.buttonOptions, t), c = r.onclick, s = r.menuItems, l = r.symbolSize || 12;
264
+ if (r.enabled === !1 || !r.theme) return;
265
+ let f = n.styledMode ? {} : r.theme, m = () => {
266
+ };
267
+ c ? m = function(p) {
268
+ p && p.stopPropagation(), c.call(n, p);
269
+ } : s && (m = function(p) {
270
+ p && p.stopPropagation(), o.contextMenu(d.menuClassName, s, d.translateX || 0, d.translateY || 0, d.width || 0, d.height || 0, d), d.setState(2);
271
+ }), r.text && r.symbol ? f.paddingLeft = B(f.paddingLeft, 30) : r.text || L(f, { width: r.width, height: r.height, padding: 0 });
272
+ let d = i.button(r.text || "", 0, 0, m, f, void 0, void 0, void 0, void 0, r.useHTML).addClass(t.className || "").attr({ title: B(n.options.lang[r._titleKey || r.titleKey], "") });
273
+ d.menuClassName = t.menuClassName || "highcharts-menu-" + o.btnCount++, r.symbol && (e = i.symbol(r.symbol, Math.round((r.symbolX || 0) - l / 2), Math.round((r.symbolY || 0) - l / 2), l, l, { width: l, height: l }).addClass("highcharts-button-symbol").attr({ zIndex: 1 }).add(d), n.styledMode || e.attr({ stroke: r.symbolStroke, fill: r.symbolFill, "stroke-width": r.symbolStrokeWidth || 1 })), d.add(o.group).align(L(r, { width: d.width, x: B(r.x, o.buttonOffset) }), !0, "spacingBox"), o.buttonOffset += ((d.width || 0) + (r.buttonSpacing || 0)) * (r.align === "right" ? -1 : 1), o.svgElements.push(d, e);
274
+ }
275
+ afterPrint() {
276
+ let t = this.chart;
277
+ if (!this.printReverseInfo) return;
278
+ let { childNodes: e, origDisplay: o, resetParams: n } = this.printReverseInfo;
279
+ this.moveContainers(t.renderTo), [].forEach.call(e, function(i, r) {
280
+ i.nodeType === 1 && (i.style.display = o[r] || "");
281
+ }), this.isPrinting = !1, n && t.setSize.apply(t, n), delete this.printReverseInfo, h.printingChart = void 0, H(t, "afterPrint");
282
+ }
283
+ beforePrint() {
284
+ let t = this.chart, e = D.body, o = this.options.printMaxWidth, n = { childNodes: e.childNodes, origDisplay: [], resetParams: void 0 };
285
+ this.isPrinting = !0, t.pointer?.reset(void 0, 0), H(t, "beforePrint"), o && t.chartWidth > o && (n.resetParams = [t.options.chart.width, void 0, !1], t.setSize(o, void 0, !1)), [].forEach.call(n.childNodes, function(i, r) {
286
+ i.nodeType === 1 && (n.origDisplay[r] = i.style.display, i.style.display = "none");
287
+ }), this.moveContainers(e), this.printReverseInfo = n;
288
+ }
289
+ contextMenu(t, e, o, n, i, r, c) {
290
+ let s = this, l = s.chart, f = l.options.navigation, m = l.chartWidth, d = l.chartHeight, p = "cache-" + t, y = Math.max(i, r), v, g = l[p];
291
+ g || (s.contextMenuEl = l[p] = g = A("div", { className: t }, { position: "absolute", zIndex: 1e3, padding: y + "px", pointerEvents: "auto", ...l.renderer.style }, l.scrollablePlotArea?.fixedDiv || l.container), v = A("ul", { className: "highcharts-menu" }, l.styledMode ? {} : { listStyle: "none", margin: 0, padding: 0 }, g), l.styledMode || O(v, L({ MozBoxShadow: "3px 3px 10px #0008", WebkitBoxShadow: "3px 3px 10px #0008", boxShadow: "3px 3px 10px #0008" }, f?.menuStyle || {})), g.hideMenu = function() {
292
+ O(g, { display: "none" }), c && c.setState(0), l.exporting && (l.exporting.openMenu = !1), O(l.renderTo, { overflow: "hidden" }), O(l.container, { overflow: "hidden" }), X(g.hideTimer), H(l, "exportMenuHidden");
293
+ }, s.events?.push(P(g, "mouseleave", function() {
294
+ g.hideTimer = b.setTimeout(g.hideMenu, 500);
295
+ }), P(g, "mouseenter", function() {
296
+ X(g.hideTimer);
297
+ }), P(D, "mouseup", function(u) {
298
+ l.pointer?.inClass(u.target, t) || g.hideMenu();
299
+ }), P(g, "click", function() {
300
+ l.exporting?.openMenu && g.hideMenu();
301
+ })), e.forEach(function(u) {
302
+ if (typeof u == "string" && s.options.menuItemDefinitions?.[u] && (u = s.options.menuItemDefinitions[u]), Mt(u, !0)) {
303
+ let M;
304
+ u.separator ? M = A("hr", void 0, void 0, v) : (u.textKey === "viewData" && s.isDataTableVisible && (u.textKey = "hideData"), M = A("li", { className: "highcharts-menu-item", onclick: function(at) {
305
+ at && at.stopPropagation(), g.hideMenu(), typeof u != "string" && u.onclick && u.onclick.apply(l, arguments);
306
+ } }, void 0, v), G().setElementHTML(M, u.text || l.options.lang[u.textKey]), l.styledMode || (M.onmouseover = function() {
307
+ O(this, f?.menuItemHoverStyle || {});
308
+ }, M.onmouseout = function() {
309
+ O(this, f?.menuItemStyle || {});
310
+ }, O(M, L({ cursor: "pointer" }, f?.menuItemStyle || {})))), s.divElements.push(M);
311
+ }
312
+ }), s.divElements.push(v, g), s.menuHeight = g.offsetHeight, s.menuWidth = g.offsetWidth);
313
+ let x = { display: "block" };
314
+ o + (s.menuWidth || 0) > m ? x.right = m - o - i - y + "px" : x.left = o - y + "px", n + r + (s.menuHeight || 0) > d && c.alignOptions?.verticalAlign !== "top" ? x.bottom = d - n - y + "px" : x.top = n + r - y + "px", O(g, x), O(l.renderTo, { overflow: "" }), O(l.container, { overflow: "" }), l.exporting && (l.exporting.openMenu = !0), H(l, "exportMenuShown");
315
+ }
316
+ destroy(t) {
317
+ let e, o = t ? t.target : this.chart, { divElements: n, events: i, svgElements: r } = this;
318
+ r.forEach((c, s) => {
319
+ c && (c.onclick = c.ontouchstart = null, o[e = "cache-" + c.menuClassName] && delete o[e], r[s] = c.destroy());
320
+ }), r.length = 0, this.group && (this.group.destroy(), delete this.group), n.forEach(function(c, s) {
321
+ c && (X(c.hideTimer), Ht(c, "mouseleave"), n[s] = c.onmouseout = c.onmouseover = c.ontouchstart = c.onclick = null, it(c));
322
+ }), n.length = 0, i && (i.forEach(function(c) {
323
+ c();
324
+ }), i.length = 0);
325
+ }
326
+ async downloadSVG(t, e) {
327
+ let o, n = { svg: t, exportingOptions: e, exporting: this };
328
+ if (H(h.prototype, "downloadSVG", n), n.defaultPrevented) return;
329
+ let { type: i, filename: r, scale: c, libURL: s } = h.prepareImageOptions(e);
330
+ if (i === "application/pdf") throw Error("Offline exporting logic for PDF type is not found.");
331
+ if (i === "image/svg+xml") {
332
+ if (b.MSBlobBuilder !== void 0) {
333
+ let l = new b.MSBlobBuilder();
334
+ l.append(t), o = l.getBlob("image/svg+xml");
335
+ } else o = h.svgToDataURL(t);
336
+ J(o, r);
337
+ } else {
338
+ o = h.svgToDataURL(t);
339
+ try {
340
+ h.objectURLRevoke = !0;
341
+ let l = await h.imageToDataURL(o, c, i);
342
+ J(l, r);
343
+ } catch (l) {
344
+ if (l.message === "No canvas found!") throw l;
345
+ if (t.length > 1e8) throw Error("Input too long");
346
+ let f = D.createElement("canvas"), m = f.getContext("2d"), d = t.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/), p = t.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/);
347
+ if (m && d && p) {
348
+ let y = d[1] * c, v = p[1] * c;
349
+ f.width = y, f.height = v, b.canvg || (h.objectURLRevoke = !0, await kt(s + "canvg.js")), b.canvg.Canvg.fromString(m, t).start(), J(b.navigator.msSaveOrOpenBlob ? f.msToBlob() : f.toDataURL(i), r);
350
+ }
351
+ } finally {
352
+ if (h.objectURLRevoke) try {
353
+ ot.revokeObjectURL(o);
354
+ } catch {
355
+ }
356
+ }
357
+ }
358
+ }
359
+ async exportChart(t, e) {
360
+ if ((t = C(this.options, t)).local) await this.localExport(t, e || {});
361
+ else {
362
+ let o = this.getSVGForExport(t, e);
363
+ t.url && await K.post(t.url, { filename: t.filename ? t.filename.replace(/\//g, "-") : this.getFilename(), type: t.type, width: t.width, scale: t.scale, svg: o }, t.fetchOptions);
364
+ }
365
+ }
366
+ async fallbackToServer(t, e) {
367
+ t.fallbackToExportServer === !1 ? t.error ? t.error(t, e) : Nt(28, !0) : t.type === "application/pdf" && (t.local = !1, await this.exportChart(t));
368
+ }
369
+ getChartHTML(t) {
370
+ let e = this.chart;
371
+ return t && this.inlineStyles(), this.resolveCSSVariables(), e.container.innerHTML;
372
+ }
373
+ getFilename() {
374
+ let t = this.chart.userOptions.title?.text, e = this.options.filename;
375
+ return e ? e.replace(/\//g, "-") : (typeof t == "string" && (e = t.toLowerCase().replace(/<\/?[^>]+(>|$)/g, "").replace(/[\s_]+/g, "-").replace(/[^a-z\d\-]/g, "").replace(/^[\-]+/g, "").replace(/[\-]+/g, "-").substr(0, 24).replace(/[\-]+$/g, "")), (!e || e.length < 5) && (e = "chart"), e);
376
+ }
377
+ getSVG(t) {
378
+ let e = this.chart, o, n, i = C(e.options, t);
379
+ i.plotOptions = C(e.userOptions.plotOptions, t?.plotOptions), i.time = C(e.userOptions.time, t?.time);
380
+ let r = A("div", void 0, { position: "absolute", top: "-9999em", width: e.chartWidth + "px", height: e.chartHeight + "px" }, D.body), c = e.renderTo.style.width, s = e.renderTo.style.height, l = i.exporting?.sourceWidth || i.chart.width || /px$/.test(c) && parseInt(c, 10) || (i.isGantt ? 800 : 600), f = i.exporting?.sourceHeight || i.chart.height || /px$/.test(s) && parseInt(s, 10) || 400;
381
+ L(i.chart, { animation: !1, renderTo: r, forExport: !0, renderer: "SVGRenderer", width: l, height: f }), i.exporting && (i.exporting.enabled = !1), delete i.data, i.series = [], e.series.forEach(function(p) {
382
+ (n = C(p.userOptions, { animation: !1, enableMouseTracking: !1, showCheckbox: !1, visible: p.visible })).isInternal || i?.series?.push(n);
383
+ });
384
+ let m = {};
385
+ e.axes.forEach(function(p) {
386
+ p.userOptions.internalKey || (p.userOptions.internalKey = jt()), i && !p.options.isInternal && (m[p.coll] || (m[p.coll] = !0, i[p.coll] = []), i[p.coll].push(C(p.userOptions, { visible: p.visible, type: p.type, uniqueNames: p.uniqueNames })));
387
+ }), i.colorAxis = e.userOptions.colorAxis;
388
+ let d = new e.constructor(i, e.callback);
389
+ return t && ["xAxis", "yAxis", "series"].forEach(function(p) {
390
+ t[p] && d.update({ [p]: t[p] });
391
+ }), e.axes.forEach(function(p) {
392
+ let y = Lt(d.axes, (v) => v.options.internalKey === p.userOptions.internalKey);
393
+ if (y) {
394
+ let v = p.getExtremes(), g = Ut(t?.[p.coll] || {})[0], x = "min" in g ? g.min : v.userMin, u = "max" in g ? g.max : v.userMax;
395
+ (x !== void 0 && x !== y.min || u !== void 0 && u !== y.max) && y.setExtremes(x ?? void 0, u ?? void 0, !0, !1);
396
+ }
397
+ }), o = d.exporting?.getChartHTML(e.styledMode || i.exporting?.applyStyleSheets) || "", H(e, "getSVG", { chartCopy: d }), o = h.sanitizeSVG(o, i), i = void 0, d.destroy(), it(r), o;
398
+ }
399
+ getSVGForExport(t, e) {
400
+ let o = this.options;
401
+ return this.getSVG(C({ chart: { borderRadius: 0 } }, o.chartOptions, e, { exporting: { sourceWidth: t?.sourceWidth || o.sourceWidth, sourceHeight: t?.sourceHeight || o.sourceHeight } }));
402
+ }
403
+ inlineStyles() {
404
+ let t, e = h.inlineDenylist, o = h.inlineAllowlist, n = {}, i = A("iframe", void 0, { width: "1px", height: "1px", visibility: "hidden" }, D.body), r = i.contentWindow?.document;
405
+ r && r.body.appendChild(r.createElementNS(Rt, "svg")), function c(s) {
406
+ let l, f, m, d, p, y, v = {};
407
+ if (r && s.nodeType === 1 && h.unstyledElements.indexOf(s.nodeName) === -1) {
408
+ if (l = b.getComputedStyle(s, null), f = s.nodeName === "svg" ? {} : b.getComputedStyle(s.parentNode, null), !n[s.nodeName]) {
409
+ t = r.getElementsByTagName("svg")[0], m = r.createElementNS(s.namespaceURI, s.nodeName), t.appendChild(m);
410
+ let g = b.getComputedStyle(m, null), x = {};
411
+ for (let u in g) u.length < 1e3 && typeof g[u] == "string" && !/^\d+$/.test(u) && (x[u] = g[u]);
412
+ n[s.nodeName] = x, s.nodeName === "text" && delete n.text.fill, t.removeChild(m);
413
+ }
414
+ for (let g in l) (Pt || I || V || Object.hasOwnProperty.call(l, g)) && function(x, u) {
415
+ if (d = p = !1, o.length) {
416
+ for (y = o.length; y-- && !p; ) p = o[y].test(u);
417
+ d = !p;
418
+ }
419
+ for (u === "transform" && x === "none" && (d = !0), y = e.length; y-- && !d; ) {
420
+ if (u.length > 1e3) throw Error("Input too long");
421
+ d = e[y].test(u) || typeof x == "function";
422
+ }
423
+ !d && (f[u] !== x || s.nodeName === "svg") && n[s.nodeName][u] !== x && (h.inlineToAttributes && h.inlineToAttributes.indexOf(u) === -1 ? v[u] = x : x && s.setAttribute(h.hyphenate(u), x));
424
+ }(l[g], g);
425
+ if (O(s, v), s.nodeName === "svg" && s.setAttribute("stroke-width", "1px"), s.nodeName === "text") return;
426
+ [].forEach.call(s.children || s.childNodes, c);
427
+ }
428
+ }(this.chart.container.querySelector("svg")), t.parentNode.removeChild(t), i.parentNode.removeChild(i);
429
+ }
430
+ async localExport(t, e) {
431
+ let o = this.chart, n, i, r = null, c;
432
+ if (I && o.styledMode && !h.inlineAllowlist.length && h.inlineAllowlist.push(/^blockSize/, /^border/, /^caretColor/, /^color/, /^columnRule/, /^columnRuleColor/, /^cssFloat/, /^cursor/, /^fill$/, /^fillOpacity/, /^font/, /^inlineSize/, /^length/, /^lineHeight/, /^opacity/, /^outline/, /^parentRule/, /^rx$/, /^ry$/, /^stroke/, /^textAlign/, /^textAnchor/, /^textDecoration/, /^transform/, /^vectorEffect/, /^visibility/, /^x$/, /^y$/), I && (t.type === "application/pdf" || o.container.getElementsByTagName("image").length && t.type !== "image/svg+xml") || t.type === "application/pdf" && [].some.call(o.container.getElementsByTagName("image"), function(l) {
433
+ let f = l.getAttribute("href");
434
+ return f !== "" && typeof f == "string" && f.indexOf("data:") !== 0;
435
+ })) return void await this.fallbackToServer(t, Error("Image type not supported for this chart/browser."));
436
+ let s = P(o, "getSVG", (l) => {
437
+ i = l.chartCopy.options, c = (n = l.chartCopy.container.cloneNode(!0)) && n.getElementsByTagName("image") || [];
438
+ });
439
+ try {
440
+ let l;
441
+ for (let m of (this.getSVGForExport(t, e), c ? Array.from(c) : [])) if (r = m.getAttributeNS("http://www.w3.org/1999/xlink", "href")) {
442
+ h.objectURLRevoke = !1;
443
+ let d = await h.imageToDataURL(r, t?.scale || 1, t?.type || "image/png");
444
+ m.setAttributeNS("http://www.w3.org/1999/xlink", "href", d);
445
+ } else m.parentNode.removeChild(m);
446
+ let f = (l = n?.innerHTML, h.sanitizeSVG(l || "", i));
447
+ if (f.indexOf("<foreignObject") > -1 && t.type !== "image/svg+xml" && (I || t.type === "application/pdf")) throw Error("Image type not supported for charts with embedded HTML");
448
+ return await this.downloadSVG(f, L({ filename: this.getFilename() }, t)), f;
449
+ } catch (l) {
450
+ await this.fallbackToServer(t, l);
451
+ } finally {
452
+ s();
453
+ }
454
+ }
455
+ moveContainers(t) {
456
+ let e = this.chart, { scrollablePlotArea: o } = e;
457
+ (o ? [o.fixedDiv, o.scrollingContainer] : [e.container]).forEach(function(n) {
458
+ t.appendChild(n);
459
+ });
460
+ }
461
+ print() {
462
+ let t = this.chart;
463
+ this.isPrinting || (h.printingChart = t, V || this.beforePrint(), setTimeout(() => {
464
+ b.focus(), b.print(), V || setTimeout(() => {
465
+ t.exporting?.afterPrint();
466
+ }, 1e3);
467
+ }, 1));
468
+ }
469
+ render() {
470
+ let t = this, { chart: e, options: o } = t, n = t?.isDirty || !t?.svgElements.length;
471
+ t.buttonOffset = 0, t.isDirty && t.destroy(), n && o.enabled !== !1 && (t.events = [], t.group || (t.group = e.renderer.g("exporting-group").attr({ zIndex: 3 }).add()), Dt(o?.buttons, function(i) {
472
+ t.addButton(i);
473
+ }), t.isDirty = !1);
474
+ }
475
+ resolveCSSVariables() {
476
+ Array.from(this.chart.container.querySelectorAll("*")).forEach((t) => {
477
+ ["color", "fill", "stop-color", "stroke"].forEach((e) => {
478
+ t.getAttribute(e)?.includes("var(") && t.setAttribute(e, getComputedStyle(t).getPropertyValue(e)), t.style?.[e]?.includes("var(") && (t.style[e] = getComputedStyle(t).getPropertyValue(e));
479
+ });
480
+ });
481
+ }
482
+ update(t, e) {
483
+ this.isDirty = !0, C(!0, this.options, t), B(e, !0) && this.chart.redraw();
484
+ }
485
+ }
486
+ h.inlineAllowlist = [], h.inlineDenylist = [/-/, /^(clipPath|cssText|d|height|width)$/, /^font$/, /[lL]ogical(Width|Height)$/, /^parentRule$/, /^(cssRules|ownerRules)$/, /perspective/, /TapHighlightColor/, /^transition/, /^length$/, /^\d+$/], h.inlineToAttributes = ["fill", "stroke", "strokeLinecap", "strokeLinejoin", "strokeWidth", "textAnchor", "x", "y"], h.loadEventDeferDelay = 150 * !!I, h.unstyledElements = ["clipPath", "defs", "desc"], function(a) {
487
+ function t(n) {
488
+ let i = n.exporting;
489
+ i && (i.render(), P(n, "redraw", function() {
490
+ this.exporting?.render();
491
+ }), P(n, "destroy", function() {
492
+ this.exporting?.destroy();
493
+ }));
494
+ }
495
+ function e() {
496
+ let n = this;
497
+ n.options.exporting && (n.exporting = new a(n, n.options.exporting), gt.compose(n).navigation.addUpdate((i, r) => {
498
+ n.exporting && (n.exporting.isDirty = !0, C(!0, n.options.navigation, i), B(r, !0) && n.redraw());
499
+ }));
500
+ }
501
+ function o({ alignTo: n, key: i, textPxLength: r }) {
502
+ let c = this.options.exporting, { align: s, buttonSpacing: l = 0, verticalAlign: f, width: m = 0 } = C(this.options.navigation?.buttonOptions, c?.buttons?.contextButton), d = n.width - r, p = m + l;
503
+ (c?.enabled ?? !0) && i === "title" && s === "right" && f === "top" && d < 2 * p && (d < p ? n.width -= p : this.title?.alignValue !== "left" && (n.x -= p - d / 2));
504
+ }
505
+ a.compose = function(n, i) {
506
+ vt.compose(i), tt.compose(n), At(Ft, "Exporting") && (L(ht().prototype, { exportChart: async function(r, c) {
507
+ await this.exporting?.exportChart(r, c);
508
+ }, getChartHTML: function(r) {
509
+ return this.exporting?.getChartHTML(r);
510
+ }, getFilename: function() {
511
+ return this.exporting?.getFilename();
512
+ }, getSVG: function(r) {
513
+ return this.exporting?.getSVG(r);
514
+ }, print: function() {
515
+ return this.exporting?.print();
516
+ } }), n.prototype.callbacks.push(t), P(n, "afterInit", e), P(n, "layOutTitle", o), V && b.matchMedia("print").addListener(function(r) {
517
+ a.printingChart && (r.matches ? a.printingChart.exporting?.beforePrint() : a.printingChart.exporting?.afterPrint());
518
+ }), Tt(bt));
519
+ };
520
+ }(h || (h = {}));
521
+ let rt = h, T = E();
522
+ T.Exporting = rt, T.HttpUtilities = T.HttpUtilities || K, T.ajax = T.HttpUtilities.ajax, T.getJSON = T.HttpUtilities.getJSON, T.post = T.HttpUtilities.post, rt.compose(T.Chart, T.Renderer);
523
+ let It = E();
524
+ return Z.default;
525
+ })());
526
+ }(q)), q.exports;
527
+ }
528
+ var lt = qt();
529
+ const $t = /* @__PURE__ */ Bt(lt), zt = /* @__PURE__ */ Gt({
530
+ __proto__: null,
531
+ default: $t
532
+ }, [lt]);
533
+ export {
534
+ zt as e
535
+ };