@mobileaction/action-kit 1.51.0 → 1.52.0-beta.0
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.
- package/.vscode/settings.json +93 -0
- package/CHANGELOG.md +7 -0
- package/dist/action-kit.mjs +11 -11
- package/dist/{annotations-7fGjdZm_.js → annotations-a-MLDVnu.js} +285 -270
- package/dist/{src/components → components}/alert/index.vue.d.ts +3 -9
- package/dist/{src/components → components}/alert/stories/alert.stories.d.ts +1 -1
- package/dist/{src/components → components}/animation/index.vue.d.ts +3 -3
- package/dist/{src/components → components}/animation/stories/animation.stories.d.ts +1 -1
- package/dist/{src/components → components}/app-icon/index.vue.d.ts +4 -4
- package/dist/{src/components → components}/app-icon/stories/constants.d.ts +1 -2
- package/dist/{src/components → components}/app-icon/stories/default.stories.d.ts +2 -2
- package/dist/{src/components → components}/app-track-button/index.vue.d.ts +1 -1
- package/dist/{src/components → components}/app-track-button/stories/default.stories.d.ts +2 -2
- package/dist/{src/components → components}/avatar/index.vue.d.ts +2 -2
- package/dist/{src/components → components}/avatar/stories/default.stories.d.ts +1 -1
- package/dist/components/badge/index.vue.d.ts +27 -0
- package/dist/components/badge/stories/basic.stories.d.ts +733 -0
- package/dist/components/badge/stories/blue.stories.d.ts +733 -0
- package/dist/components/badge/stories/constants.d.ts +323 -0
- package/dist/components/badge/stories/dark.stories.d.ts +733 -0
- package/dist/components/badge/stories/green.stories.d.ts +733 -0
- package/dist/components/badge/stories/orange.stories.d.ts +733 -0
- package/dist/components/badge/stories/pink.stories.d.ts +733 -0
- package/dist/components/badge/stories/purple.stories.d.ts +733 -0
- package/dist/components/badge/stories/red.stories.d.ts +733 -0
- package/dist/{src/components → components}/badge/stories/status.stories.d.ts +2 -2
- package/dist/components/badge/stories/teal.stories.d.ts +733 -0
- package/dist/components/badge/stories/yellow.stories.d.ts +733 -0
- package/dist/{src/components → components}/button/index.vue.d.ts +8 -13
- package/dist/{src/components → components}/button/link-button/index.vue.d.ts +8 -13
- package/dist/{src/components → components}/button/link-button/stories/link.stories.d.ts +1 -1
- package/dist/{src/components → components}/button/social-button/index.vue.d.ts +7 -12
- package/dist/{src/components → components}/button/social-button/stories/social.stories.d.ts +1 -1
- package/dist/{src/components → components}/button/stories/filled.stories.d.ts +1 -1
- package/dist/{src/components → components}/button/stories/ghost.stories.d.ts +1 -1
- package/dist/{src/components → components}/button/stories/lighter.stories.d.ts +1 -1
- package/dist/{src/components → components}/button/stories/stroke.stories.d.ts +1 -1
- package/dist/components/button/utils.d.ts +3 -0
- package/dist/components/card/index.vue.d.ts +62 -0
- package/dist/{src/components → components}/card/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/card/stories/footer.stories.d.ts +1 -1
- package/dist/{src/components → components}/card/stories/header.stories.d.ts +1 -1
- package/dist/{src/components → components}/cascader/components/option.vue.d.ts +9 -14
- package/dist/{src/components → components}/cascader/components/options.vue.d.ts +15 -21
- package/dist/{src/components → components}/cascader/composables/useCascaderOverflow.d.ts +2 -2
- package/dist/components/cascader/composables/usePopoverAttributeWatcher.d.ts +6 -0
- package/dist/components/cascader/index.vue.d.ts +44 -0
- package/dist/{src/components → components}/cascader/stories/default.stories.d.ts +1713 -729
- package/dist/{src/components → components}/cascader/utils/index.d.ts +4 -4
- package/dist/{src/components → components}/chart/components/ChartLoadingContainer.vue.d.ts +12 -16
- package/dist/{src/components → components}/chart/components/ChartWatermarkContainer.vue.d.ts +6 -11
- package/dist/{src/components → components}/chart/index.vue.d.ts +2 -2
- package/dist/{src/components → components}/chart/stories/chart.stories.d.ts +1 -1
- package/dist/{src/components → components}/chart/types.d.ts +2 -2
- package/dist/{src/components → components}/chart/utils.d.ts +2 -2
- package/dist/components/checkbox/group.vue.d.ts +24 -0
- package/dist/components/checkbox/index.vue.d.ts +23 -0
- package/dist/{src/components → components}/checkbox/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/checkbox/stories/group.stories.d.ts +2 -2
- package/dist/{src/components → components}/checkbox/stories/indeterminate.stories.d.ts +1 -1
- package/dist/components/checkbox-2/card.vue.d.ts +36 -0
- package/dist/components/checkbox-2/group.vue.d.ts +38 -0
- package/dist/components/checkbox-2/index.vue.d.ts +31 -0
- package/dist/{src/components → components}/checkbox-2/stories/card.stories.d.ts +1 -1
- package/dist/{src/components → components}/checkbox-2/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/checkbox-2/stories/group.stories.d.ts +1 -1
- package/dist/components/collapse/components/CollapseContent.vue.d.ts +12 -0
- package/dist/components/collapse/components/CollapseHeader.vue.d.ts +16 -0
- package/dist/{src/components → components}/collapse/components/CollapseItem.vue.d.ts +8 -12
- package/dist/{src/components → components}/collapse/index.vue.d.ts +13 -24
- package/dist/{src/components → components}/collapse/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/content-scroller/index.vue.d.ts +15 -19
- package/dist/{src/components → components}/content-scroller/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/country-radio/index.vue.d.ts +1 -1
- package/dist/{src/components → components}/country-radio/stories/default.stories.d.ts +1 -1
- package/dist/components/country-select/components/multiCountrySelect.vue.d.ts +44 -0
- package/dist/components/country-select/components/singleCountrySelect.vue.d.ts +41 -0
- package/dist/{src/components → components}/country-select/index.vue.d.ts +15 -10
- package/dist/{src/components → components}/country-select/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/date-picker/index.vue.d.ts +18 -14
- package/dist/{src/components → components}/date-picker/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/date-picker/stories/range.stories.d.ts +1 -1
- package/dist/{src/components → components}/date-picker-2/components/calendarSelect.vue.d.ts +3 -3
- package/dist/{src/components → components}/date-picker-2/composables/useDatePickerFormat.d.ts +3 -3
- package/dist/{src/components → components}/date-picker-2/composables/utils.d.ts +1 -1
- package/dist/components/date-picker-2/index.vue.d.ts +80 -0
- package/dist/{src/components → components}/date-picker-2/stories/default.stories.d.ts +2 -2
- package/dist/{src/components → components}/date-picker-2/stories/range.stories.d.ts +2 -2
- package/dist/{src/components → components}/date-picker-2/types.d.ts +55 -55
- package/dist/{src/components → components}/drawer/index.vue.d.ts +27 -53
- package/dist/{src/components → components}/drawer/stories/drawer.stories.d.ts +1 -1
- package/dist/{src/components → components}/dropdown/index.vue.d.ts +14 -10
- package/dist/{src/components → components}/dropdown/stories/default.stories.d.ts +1 -1
- package/dist/components/ellipsis/index.vue.d.ts +16 -0
- package/dist/{src/components → components}/ellipsis/stories/default.stories.d.ts +1 -1
- package/dist/components/empty/index.vue.d.ts +32 -0
- package/dist/{src/components → components}/empty/stories/animation.stories.d.ts +1 -1
- package/dist/{src/components → components}/empty/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/form/index.vue.d.ts +9 -6
- package/dist/{src/components → components}/form/stories/default.stories.d.ts +1 -1
- package/dist/components/form-item/index.vue.d.ts +12 -0
- package/dist/{src/components → components}/icon/components/flagIcon.vue.d.ts +2 -2
- package/dist/{src/components → components}/icon/components/maIcon.vue.d.ts +1 -1
- package/dist/{src/components → components}/icon/composables/useUniqueIds.d.ts +2 -2
- package/dist/{src/components → components}/icon/index.vue.d.ts +1 -1
- package/dist/{src/components → components}/icon/stories/icon.stories.d.ts +1 -1
- package/dist/{src/components → components}/icon-button/components/button.vue.d.ts +7 -12
- package/dist/components/icon-button/index.vue.d.ts +41 -0
- package/dist/{src/components → components}/icon-button/stories/primary.stories.d.ts +1 -1
- package/dist/{src/components → components}/icon-button/stories/secondary.stories.d.ts +1 -1
- package/dist/components/image/group.vue.d.ts +12 -0
- package/dist/components/image/index.vue.d.ts +26 -0
- package/dist/{src/components → components}/image/stories/default.stories.d.ts +1 -1
- package/dist/components/image-2/group.vue.d.ts +19 -0
- package/dist/{src/components → components}/image-2/index.vue.d.ts +6 -11
- package/dist/{src/components → components}/image-2/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/index.vue.d.ts +19 -10
- package/dist/{src/components → components}/input/stories/amount.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/credit-card.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/email.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/password.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/textarea.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/url.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/stories/user-info.stories.d.ts +1 -1
- package/dist/{src/components → components}/input/types.d.ts +7 -7
- package/dist/{src/components → components}/input-number/index.vue.d.ts +12 -8
- package/dist/{src/components → components}/input-number/stories/default.stories.d.ts +101 -93
- package/dist/{src/components → components}/input-number/types.d.ts +4 -4
- package/dist/{src/components → components}/menu/components/MenuItem.vue.d.ts +8 -5
- package/dist/{src/components → components}/menu/index.vue.d.ts +8 -5
- package/dist/{src/components → components}/menu/stories/constants.d.ts +2 -2
- package/dist/{src/components → components}/menu/stories/default.stories.d.ts +2 -2
- package/dist/{src/components → components}/modal/components/renderContent.vue.d.ts +1 -1
- package/dist/{src/components → components}/modal/index.vue.d.ts +22 -13
- package/dist/{src/components → components}/modal/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/modal/stories/functions.stories.d.ts +2 -2
- package/dist/{src/components → components}/modal/types.d.ts +3 -3
- package/dist/{src/components → components}/notification/components/notification.vue.d.ts +2 -2
- package/dist/components/notification/components/notificationContainer.vue.d.ts +10 -0
- package/dist/{src/components → components}/notification/composables/useNotificationAnimation.d.ts +2 -2
- package/dist/{src/components → components}/notification/index.d.ts +1 -1
- package/dist/{src/components → components}/notification/stories/commonStories.d.ts +2 -2
- package/dist/{src/components → components}/notification/stories/filled.stories.d.ts +1 -1
- package/dist/{src/components → components}/notification/stories/light.stories.d.ts +1 -1
- package/dist/{src/components → components}/notification/stories/stroke.stories.d.ts +1 -1
- package/dist/{src/components → components}/notification/types.d.ts +1 -1
- package/dist/{src/components → components}/numeric-input/components/singleNumericInput.vue.d.ts +2 -2
- package/dist/{src/components → components}/numeric-input/index.vue.d.ts +3 -3
- package/dist/{src/components → components}/numeric-input/stories/default.stories.d.ts +2 -2
- package/dist/{src/components → components}/pagination/index.vue.d.ts +10 -7
- package/dist/{src/components → components}/pagination/stories/default.stories.d.ts +1 -1
- package/dist/components/pagination/types.d.ts +19 -0
- package/dist/{src/components → components}/popconfirm/index.vue.d.ts +19 -13
- package/dist/{src/components → components}/popconfirm/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/popconfirm-2/index.vue.d.ts +17 -19
- package/dist/{src/components → components}/popconfirm-2/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/popconfirm-2/types.d.ts +1 -1
- package/dist/{src/components → components}/popover/index.vue.d.ts +16 -11
- package/dist/{src/components → components}/popover/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/popover-2/index.vue.d.ts +12 -16
- package/dist/{src/components → components}/popover-2/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/progress/components/circle.vue.d.ts +8 -13
- package/dist/{src/components → components}/progress/components/halfCircle.vue.d.ts +8 -13
- package/dist/{src/components → components}/progress/components/line.vue.d.ts +9 -13
- package/dist/{src/components → components}/progress/components/stepLine.vue.d.ts +8 -13
- package/dist/components/progress/index.vue.d.ts +32 -0
- package/dist/{src/components → components}/progress/stories/circle.stories.d.ts +1 -1
- package/dist/{src/components → components}/progress/stories/half-circle.stories.d.ts +1 -1
- package/dist/{src/components → components}/progress/stories/line-step.stories.d.ts +1 -1
- package/dist/{src/components → components}/progress/stories/line.stories.d.ts +1 -1
- package/dist/{src/components → components}/radio/group.vue.d.ts +9 -4
- package/dist/components/radio/index.vue.d.ts +29 -0
- package/dist/{src/components → components}/radio/stories/default.stories.d.ts +1 -1
- package/dist/components/radio-card/index.vue.d.ts +26 -0
- package/dist/{src/components → components}/radio-card/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/rate/components/star.vue.d.ts +1 -1
- package/dist/{src/components → components}/rate/index.vue.d.ts +2 -2
- package/dist/{src/components → components}/rate/stories/default.stories.d.ts +1 -1
- package/dist/components/result/index.vue.d.ts +28 -0
- package/dist/{src/components → components}/result/stories/constants.d.ts +16 -14
- package/dist/{src/components → components}/result/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/select/components/dropdownRender.vue.d.ts +2 -2
- package/dist/components/select/components/option.vue.d.ts +12 -0
- package/dist/{src/components → components}/select/index.vue.d.ts +34 -21
- package/dist/{src/components → components}/select/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/select/stories/group.stories.d.ts +1 -1
- package/dist/{src/components → components}/select/stories/multi-select.stories.d.ts +2 -2
- package/dist/{src/components → components}/select/stories/single.stories.d.ts +2 -2
- package/dist/{src/components → components}/select-2/components/selectOption.vue.d.ts +9 -20
- package/dist/components/select-2/components/selectOptionGroup.vue.d.ts +15 -0
- package/dist/{src/components → components}/select-2/composables/use-keyboard-navigation.d.ts +3 -3
- package/dist/{src/components → components}/select-2/composables/use-options-registry.d.ts +2 -2
- package/dist/components/select-2/index.vue.d.ts +77 -0
- package/dist/{src/components → components}/select-2/stories/borderless.stories.d.ts +2 -2
- package/dist/{src/components → components}/select-2/stories/inline.stories.d.ts +2 -2
- package/dist/{src/components → components}/select-2/stories/multiple.stories.d.ts +2 -2
- package/dist/{src/components → components}/select-2/stories/select-option-group.stories.d.ts +12 -10
- package/dist/{src/components → components}/select-2/stories/select-option.stories.d.ts +10 -14
- package/dist/{src/components → components}/select-2/stories/single.stories.d.ts +2 -2
- package/dist/components/select-2/types.d.ts +181 -0
- package/dist/components/side-menu/add-new-app-button/index.vue.d.ts +21 -0
- package/dist/{src/components → components}/side-menu/add-new-app-button/stories/constants.d.ts +1 -1
- package/dist/{src/components → components}/side-menu/add-new-app-button/stories/default.stories.d.ts +2 -2
- package/dist/components/side-menu/app-button/index.vue.d.ts +19 -0
- package/dist/{src/components → components}/side-menu/app-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/button/index.vue.d.ts +24 -0
- package/dist/{src/components → components}/side-menu/button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/icon-button/index.vue.d.ts +25 -0
- package/dist/{src/components → components}/side-menu/icon-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/menu-item/index.vue.d.ts +32 -0
- package/dist/{src/components → components}/side-menu/menu-item/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu/round-icon-button/index.vue.d.ts +15 -0
- package/dist/{src/components → components}/side-menu/round-icon-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu-2/menu-button/index.vue.d.ts +27 -0
- package/dist/{src/components → components}/side-menu-2/menu-button/stories/default.stories.d.ts +1 -1
- package/dist/components/side-menu-2/menu-item/index.vue.d.ts +20 -0
- package/dist/{src/components → components}/side-menu-2/menu-item/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/slider/index.vue.d.ts +14 -11
- package/dist/{src/components → components}/slider/stories/default.stories.d.ts +1 -1
- package/dist/components/spin/index.vue.d.ts +27 -0
- package/dist/{src/components → components}/spin/stories/container.stories.d.ts +1 -1
- package/dist/{src/components → components}/spin/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/step-items/components/index.vue.d.ts +13 -16
- package/dist/{src/components → components}/step-items/index.vue.d.ts +8 -5
- package/dist/{src/components → components}/step-items/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/step-items/stories/step-item.stories.d.ts +1 -1
- package/dist/{src/components → components}/steps/components/index.vue.d.ts +8 -14
- package/dist/{src/components → components}/steps/index.vue.d.ts +10 -7
- package/dist/{src/components → components}/steps/stories/constants.d.ts +1 -1
- package/dist/{src/components → components}/steps/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/steps/stories/step.stories.d.ts +1 -1
- package/dist/{src/components → components}/switch/index.vue.d.ts +13 -10
- package/dist/{src/components → components}/switch/stories/default.stories.d.ts +2 -2
- package/dist/{src/components → components}/table/preview.vue.d.ts +1 -1
- package/dist/{src/components → components}/table/row-detail.vue.d.ts +1 -1
- package/dist/{src/components → components}/table/stories/default.stories.d.ts +1 -1
- package/dist/components/tabs/components/tabPane.vue.d.ts +12 -0
- package/dist/{src/components → components}/tabs/index.vue.d.ts +9 -4
- package/dist/{src/components → components}/tabs/stories/card.stories.d.ts +1 -1
- package/dist/{src/components → components}/tabs/stories/line.stories.d.ts +1 -1
- package/dist/{src/components → components}/tabs-2/components/tabButton.vue.d.ts +9 -13
- package/dist/components/tabs-2/components/tabPane.vue.d.ts +21 -0
- package/dist/{src/components → components}/tabs-2/index.vue.d.ts +7 -12
- package/dist/{src/components → components}/tabs-2/stories/default.stories.d.ts +22 -22
- package/dist/{src/components → components}/tabs-2/stories/tab-button.stories.d.ts +37 -30
- package/dist/{src/components → components}/tabs-2/stories/tab-pane.stories.d.ts +6 -9
- package/dist/{src/components → components}/tabs-2/types.d.ts +30 -30
- package/dist/{src/components → components}/tag-input/index.vue.d.ts +12 -8
- package/dist/{src/components → components}/tag-input/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/toggle/index.vue.d.ts +2 -2
- package/dist/{src/components → components}/toggle/stories/default.stories.d.ts +1 -1
- package/dist/components/tooltip/index.vue.d.ts +40 -0
- package/dist/{src/components → components}/tooltip/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/tooltip-2/index.vue.d.ts +18 -20
- package/dist/{src/components → components}/tooltip-2/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/tooltip-2/types.d.ts +1 -1
- package/dist/{src/components → components}/track-button/index.vue.d.ts +7 -12
- package/dist/{src/components → components}/track-button/stories/default.stories.d.ts +1 -1
- package/dist/components/tree/components/treeNode.vue.d.ts +86 -0
- package/dist/{src/components → components}/tree/index.vue.d.ts +44 -34
- package/dist/{src/components → components}/tree/stories/default.stories.d.ts +1 -1
- package/dist/{src/components → components}/tree/stories/useTreeData.d.ts +2 -2
- package/dist/components/typography/index.vue.d.ts +22 -0
- package/dist/{src/components → components}/typography/stories/default.stories.d.ts +1 -1
- package/dist/components/upload/composables/file.d.ts +7 -0
- package/dist/{src/components → components}/upload/index.vue.d.ts +14 -20
- package/dist/{src/components → components}/upload/singleFile.vue.d.ts +2 -2
- package/dist/{src/components → components}/upload/stories/box.stories.d.ts +1 -1
- package/dist/{src/components → components}/upload/stories/button.stories.d.ts +1 -1
- package/dist/{src/components → components}/upload/stories/small-box.stories.d.ts +1 -1
- package/dist/{src/components → components}/watchlist-button/components/button.vue.d.ts +7 -12
- package/dist/components/watchlist-button/index.vue.d.ts +38 -0
- package/dist/{src/components → components}/watchlist-button/stories/dashed.stories.d.ts +1 -1
- package/dist/{src/components → components}/watchlist-button/stories/default.stories.d.ts +1 -1
- package/dist/composables/ssr.d.ts +4 -0
- package/dist/export-data-G9Q4VtDW.js +327 -0
- package/dist/exporting-DtCtstTA.js +535 -0
- package/dist/filter-add-BZXvR72T.js +38 -0
- package/dist/filter-add-K7DtYw-z.js +47 -0
- package/dist/index-BJT-_ow4.js +21240 -0
- package/dist/{map-Djj7i274.js → map-Cw-wx-Go.js} +142 -131
- package/dist/offline-exporting-BfzW9XZJ.js +192 -0
- package/dist/{stock-DvNmzyGr.js → stock-CHTqfRVL.js} +569 -543
- package/dist/style.css +1 -1
- package/dist/table.css +20 -9
- package/dist/{src/utils → utils}/breakpoints.d.ts +7 -7
- package/dist/{src/utils → utils}/slots.d.ts +1 -1
- package/dist/{venn-B0TlC5Cf.js → venn-Dn3YC3Ur.js} +11 -1
- package/dist/wordcloud-FFMch093.js +235 -0
- package/package.json +71 -63
- package/dist/export-data-CYNtz4Np.js +0 -292
- package/dist/exporting-C20W7Hvs.js +0 -385
- package/dist/index-KDOaaLYa.js +0 -21110
- package/dist/offline-exporting-D-g7-QpH.js +0 -578
- package/dist/src/components/badge/index.vue.d.ts +0 -24
- package/dist/src/components/badge/stories/basic.stories.d.ts +0 -12
- package/dist/src/components/badge/stories/blue.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/constants.d.ts +0 -5
- package/dist/src/components/badge/stories/dark.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/green.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/orange.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/pink.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/purple.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/red.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/teal.stories.d.ts +0 -13
- package/dist/src/components/badge/stories/yellow.stories.d.ts +0 -13
- package/dist/src/components/button/utils.d.ts +0 -3
- package/dist/src/components/card/index.vue.d.ts +0 -49
- package/dist/src/components/cascader/composables/usePopoverAttributeWatcher.d.ts +0 -6
- package/dist/src/components/cascader/index.vue.d.ts +0 -145
- package/dist/src/components/checkbox/group.vue.d.ts +0 -19
- package/dist/src/components/checkbox/index.vue.d.ts +0 -18
- package/dist/src/components/checkbox-2/card.vue.d.ts +0 -59
- package/dist/src/components/checkbox-2/group.vue.d.ts +0 -42
- package/dist/src/components/checkbox-2/index.vue.d.ts +0 -48
- package/dist/src/components/collapse/components/CollapseContent.vue.d.ts +0 -17
- package/dist/src/components/collapse/components/CollapseHeader.vue.d.ts +0 -21
- package/dist/src/components/country-select/components/multiCountrySelect.vue.d.ts +0 -37
- package/dist/src/components/country-select/components/singleCountrySelect.vue.d.ts +0 -34
- package/dist/src/components/date-picker-2/index.vue.d.ts +0 -147
- package/dist/src/components/ellipsis/index.vue.d.ts +0 -13
- package/dist/src/components/empty/index.vue.d.ts +0 -26
- package/dist/src/components/form-item/index.vue.d.ts +0 -7
- package/dist/src/components/icon-button/index.vue.d.ts +0 -36
- package/dist/src/components/image/group.vue.d.ts +0 -35
- package/dist/src/components/image/index.vue.d.ts +0 -21
- package/dist/src/components/image-2/group.vue.d.ts +0 -26
- package/dist/src/components/notification/components/notificationContainer.vue.d.ts +0 -7
- package/dist/src/components/pagination/types.d.ts +0 -19
- package/dist/src/components/progress/index.vue.d.ts +0 -29
- package/dist/src/components/radio/index.vue.d.ts +0 -24
- package/dist/src/components/radio-card/index.vue.d.ts +0 -21
- package/dist/src/components/result/index.vue.d.ts +0 -23
- package/dist/src/components/select/components/option.vue.d.ts +0 -7
- package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
- package/dist/src/components/select-2/index.vue.d.ts +0 -331
- package/dist/src/components/select-2/types.d.ts +0 -181
- package/dist/src/components/side-menu/add-new-app-button/index.vue.d.ts +0 -18
- package/dist/src/components/side-menu/app-button/index.vue.d.ts +0 -16
- package/dist/src/components/side-menu/button/index.vue.d.ts +0 -21
- package/dist/src/components/side-menu/icon-button/index.vue.d.ts +0 -21
- package/dist/src/components/side-menu/menu-item/index.vue.d.ts +0 -29
- package/dist/src/components/side-menu/round-icon-button/index.vue.d.ts +0 -12
- package/dist/src/components/side-menu-2/menu-button/index.vue.d.ts +0 -24
- package/dist/src/components/side-menu-2/menu-item/index.vue.d.ts +0 -17
- package/dist/src/components/spin/index.vue.d.ts +0 -22
- package/dist/src/components/tabs/components/tabPane.vue.d.ts +0 -15
- package/dist/src/components/tabs-2/components/tabPane.vue.d.ts +0 -36
- package/dist/src/components/tooltip/index.vue.d.ts +0 -34
- package/dist/src/components/tree/components/treeNode.vue.d.ts +0 -78
- package/dist/src/components/typography/index.vue.d.ts +0 -19
- package/dist/src/components/upload/composables/file.d.ts +0 -7
- package/dist/src/components/watchlist-button/index.vue.d.ts +0 -33
- package/dist/src/composables/ssr.d.ts +0 -4
- package/dist/wordcloud-B8Nz--rg.js +0 -222
- package/dist/{src/components → components}/alert/alert.test.d.ts +0 -0
- package/dist/{src/components → components}/alert/types.d.ts +0 -0
- package/dist/{src/components → components}/animation/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/animation/types.d.ts +0 -0
- package/dist/{src/components → components}/app-icon/types.d.ts +0 -0
- package/dist/{src/components → components}/app-track-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/avatar/avatar.test.d.ts +0 -0
- package/dist/{src/components → components}/avatar/types.d.ts +0 -0
- package/dist/{src/components → components}/badge/badge.test.d.ts +0 -0
- package/dist/{src/components → components}/badge/types.d.ts +0 -0
- package/dist/{src/components → components}/button/button.test.d.ts +0 -0
- package/dist/{src/components → components}/button/link-button/types.d.ts +0 -0
- package/dist/{src/components → components}/button/social-button/types.d.ts +0 -0
- package/dist/{src/components → components}/button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/button/types.d.ts +0 -0
- package/dist/{src/components → components}/card/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/card/types.d.ts +0 -0
- package/dist/{src/components → components}/cascader/cascader.test.d.ts +0 -0
- package/dist/{src/components → components}/cascader/types.d.ts +0 -0
- package/dist/{src/components → components}/cascader/utils/index.test.d.ts +0 -0
- package/dist/{src/components → components}/chart/chart.test.d.ts +0 -0
- package/dist/{src/components → components}/checkbox/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/checkbox/types.d.ts +0 -0
- package/dist/{src/components → components}/checkbox-2/checkbox-2.test.d.ts +0 -0
- package/dist/{src/components → components}/checkbox-2/composables/useCheckbox.d.ts +0 -0
- package/dist/{src/components → components}/checkbox-2/types.d.ts +0 -0
- package/dist/{src/components → components}/collapse/collapse.test.d.ts +0 -0
- package/dist/{src/components → components}/collapse/types.d.ts +0 -0
- package/dist/{src/components → components}/content-scroller/types.d.ts +0 -0
- package/dist/{src/components → components}/country-select/types.d.ts +0 -0
- package/dist/{src/components → components}/date-picker/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/date-picker/types.d.ts +0 -0
- package/dist/{src/components → components}/date-picker-2/date-picker.test.d.ts +0 -0
- package/dist/{src/components → components}/date-picker-2/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/drawer/drawer.test.d.ts +0 -0
- package/dist/{src/components → components}/dropdown/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/dropdown/types.d.ts +0 -0
- package/dist/{src/components → components}/ellipsis/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/empty/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/empty/types.d.ts +0 -0
- package/dist/{src/components → components}/form/components/nonHSFormsIgnore.vue.d.ts +0 -0
- package/dist/{src/components → components}/form/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/form/types.d.ts +0 -0
- package/dist/{src/components → components}/icon/icon.test.d.ts +0 -0
- package/dist/{src/components → components}/icon/types.d.ts +0 -0
- package/dist/{src/components → components}/icon/utils.d.ts +0 -0
- package/dist/{src/components → components}/icon-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/icon-button/types.d.ts +0 -0
- package/dist/{src/components → components}/image/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/image-2/image2.test.d.ts +0 -0
- package/dist/{src/components → components}/image-2/preview.vue.d.ts +0 -0
- package/dist/{src/components → components}/modal/index.d.ts +0 -0
- package/dist/{src/components → components}/modal/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/notification/notification.test.d.ts +0 -0
- package/dist/{src/components → components}/notification/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/numeric-input/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/numeric-input/types.d.ts +0 -0
- package/dist/{src/components → components}/pagination/pagination.test.d.ts +0 -0
- package/dist/{src/components → components}/popconfirm/types.d.ts +0 -0
- package/dist/{src/components → components}/popconfirm-2/popconfirm2.test.d.ts +0 -0
- package/dist/{src/components → components}/popover/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/popover/types.d.ts +0 -0
- package/dist/{src/components → components}/popover-2/popover2.test.d.ts +0 -0
- package/dist/{src/components → components}/popover-2/types.d.ts +0 -0
- package/dist/{src/components → components}/progress/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/progress/types.d.ts +0 -0
- package/dist/{src/components → components}/radio/types.d.ts +0 -0
- package/dist/{src/components → components}/rate/types.d.ts +0 -0
- package/dist/{src/components → components}/result/types.d.ts +0 -0
- package/dist/{src/components → components}/select/components/optionCheckbox.vue.d.ts +0 -0
- package/dist/{src/components → components}/select/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/select/types.d.ts +0 -0
- package/dist/{src/components → components}/select-2/select.test.d.ts +0 -0
- package/dist/{src/components → components}/select-2/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu/app-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu/button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu/icon-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu/menu-item/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu/menu-item/types.d.ts +0 -0
- package/dist/{src/components → components}/side-menu/round-icon-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu-2/menu-button/types.d.ts +0 -0
- package/dist/{src/components → components}/side-menu-2/menu-item/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/side-menu-2/side-menu-2.test.d.ts +0 -0
- package/dist/{src/components → components}/slider/types.d.ts +0 -0
- package/dist/{src/components → components}/spin/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/spin/types.d.ts +0 -0
- package/dist/{src/components → components}/steps/types.d.ts +0 -0
- package/dist/{src/components → components}/switch/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/switch/switch.test.d.ts +0 -0
- package/dist/{src/components → components}/switch/types.d.ts +0 -0
- package/dist/{src/components → components}/table/stories/data/fields.d.ts +0 -0
- package/dist/{src/components → components}/tabs/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/tabs/types.d.ts +0 -0
- package/dist/{src/components → components}/tabs-2/tabButton.test.d.ts +0 -0
- package/dist/{src/components → components}/tabs-2/tabs.test.d.ts +0 -0
- package/dist/{src/components → components}/tag-input/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/tag-input/types.d.ts +0 -0
- package/dist/{src/components → components}/toggle/types.d.ts +0 -0
- package/dist/{src/components → components}/tooltip/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/tooltip/tooltip.test.d.ts +0 -0
- package/dist/{src/components → components}/tooltip/types.d.ts +0 -0
- package/dist/{src/components → components}/tooltip-2/tooltip2.test.d.ts +0 -0
- package/dist/{src/components → components}/track-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/track-button/track-button.test.d.ts +0 -0
- package/dist/{src/components → components}/track-button/types.d.ts +0 -0
- package/dist/{src/components → components}/tree/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/tree/tree.test.d.ts +0 -0
- package/dist/{src/components → components}/tree/types.d.ts +0 -0
- package/dist/{src/components → components}/typography/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/typography/types.d.ts +0 -0
- package/dist/{src/components → components}/typography/typography.test.d.ts +0 -0
- package/dist/{src/components → components}/upload/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/upload/types.d.ts +0 -0
- package/dist/{src/components → components}/watchlist-button/stories/constants.d.ts +0 -0
- package/dist/{src/components → components}/watchlist-button/types.d.ts +0 -0
- package/dist/{src/composables → composables}/config.d.ts +0 -0
- package/dist/{src/index.d.ts → index.d.ts} +103 -103
- /package/dist/{src/services → services}/config.d.ts +0 -0
- /package/dist/{src/utils → utils}/breakpoints.test.d.ts +0 -0
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
import { g as Bt } from "./index-BJT-_ow4.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\(("|")(.*?)("|")\;?\)/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(/ /g, " ").replace(/­/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
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const n = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
stroke="currentColor"
|
|
4
|
+
stroke-width="1.5"
|
|
5
|
+
stroke-miterlimit="10"
|
|
6
|
+
stroke-linecap="round"
|
|
7
|
+
stroke-linejoin="round"
|
|
8
|
+
d="M21.6299 14.75C21.6299 15.64 21.3799 16.48 20.9399 17.2C20.1199 18.58 18.6099 19.5 16.8799 19.5C15.1499 19.5 13.6399 18.57 12.8199 17.2C12.3799 16.49 12.1299 15.64 12.1299 14.75C12.1299 12.13 14.2599 10 16.8799 10C19.4999 10 21.6299 12.13 21.6299 14.75Z"
|
|
9
|
+
/>
|
|
10
|
+
<path
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="1.5"
|
|
13
|
+
stroke-miterlimit="10"
|
|
14
|
+
stroke-linecap="round"
|
|
15
|
+
stroke-linejoin="round"
|
|
16
|
+
d="M18.6599 14.73H15.1099"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
stroke="currentColor"
|
|
20
|
+
stroke-width="1.5"
|
|
21
|
+
stroke-miterlimit="10"
|
|
22
|
+
stroke-linecap="round"
|
|
23
|
+
stroke-linejoin="round"
|
|
24
|
+
d="M16.8799 13V16.55"
|
|
25
|
+
/>
|
|
26
|
+
<path
|
|
27
|
+
stroke="currentColor"
|
|
28
|
+
stroke-width="1.5"
|
|
29
|
+
stroke-miterlimit="10"
|
|
30
|
+
stroke-linecap="round"
|
|
31
|
+
stroke-linejoin="round"
|
|
32
|
+
d="M20.6901 4.02002V6.23999C20.6901 7.04999 20.1801 8.06001 19.6801 8.57001L17.9201 10.12C17.5901 10.04 17.2401 10 16.8801 10C14.2601 10 12.1301 12.13 12.1301 14.75C12.1301 15.64 12.3801 16.48 12.8201 17.2C13.1901 17.82 13.7001 18.35 14.3201 18.73V19.07C14.3201 19.68 13.9201 20.49 13.4101 20.79L12.0001 21.7C10.6901 22.51 8.87006 21.6 8.87006 19.98V14.63C8.87006 13.92 8.46006 13.01 8.06006 12.51L4.22006 8.46997C3.72006 7.95997 3.31006 7.05001 3.31006 6.45001V4.12C3.31006 2.91 4.22006 2 5.33006 2H18.6701C19.7801 2 20.6901 2.91002 20.6901 4.02002Z"
|
|
33
|
+
/>
|
|
34
|
+
</svg>
|
|
35
|
+
`;
|
|
36
|
+
export {
|
|
37
|
+
n as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
viewBox: "0 0 24 24",
|
|
4
|
+
fill: "none",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
};
|
|
7
|
+
function i(l, e) {
|
|
8
|
+
return o(), t("svg", n, e[0] || (e[0] = [
|
|
9
|
+
r("path", {
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "1.5",
|
|
12
|
+
"stroke-miterlimit": "10",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M21.6299 14.75C21.6299 15.64 21.3799 16.48 20.9399 17.2C20.1199 18.58 18.6099 19.5 16.8799 19.5C15.1499 19.5 13.6399 18.57 12.8199 17.2C12.3799 16.49 12.1299 15.64 12.1299 14.75C12.1299 12.13 14.2599 10 16.8799 10C19.4999 10 21.6299 12.13 21.6299 14.75Z"
|
|
16
|
+
}, null, -1),
|
|
17
|
+
r("path", {
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
"stroke-width": "1.5",
|
|
20
|
+
"stroke-miterlimit": "10",
|
|
21
|
+
"stroke-linecap": "round",
|
|
22
|
+
"stroke-linejoin": "round",
|
|
23
|
+
d: "M18.6599 14.73H15.1099"
|
|
24
|
+
}, null, -1),
|
|
25
|
+
r("path", {
|
|
26
|
+
stroke: "currentColor",
|
|
27
|
+
"stroke-width": "1.5",
|
|
28
|
+
"stroke-miterlimit": "10",
|
|
29
|
+
"stroke-linecap": "round",
|
|
30
|
+
"stroke-linejoin": "round",
|
|
31
|
+
d: "M16.8799 13V16.55"
|
|
32
|
+
}, null, -1),
|
|
33
|
+
r("path", {
|
|
34
|
+
stroke: "currentColor",
|
|
35
|
+
"stroke-width": "1.5",
|
|
36
|
+
"stroke-miterlimit": "10",
|
|
37
|
+
"stroke-linecap": "round",
|
|
38
|
+
"stroke-linejoin": "round",
|
|
39
|
+
d: "M20.6901 4.02002V6.23999C20.6901 7.04999 20.1801 8.06001 19.6801 8.57001L17.9201 10.12C17.5901 10.04 17.2401 10 16.8801 10C14.2601 10 12.1301 12.13 12.1301 14.75C12.1301 15.64 12.3801 16.48 12.8201 17.2C13.1901 17.82 13.7001 18.35 14.3201 18.73V19.07C14.3201 19.68 13.9201 20.49 13.4101 20.79L12.0001 21.7C10.6901 22.51 8.87006 21.6 8.87006 19.98V14.63C8.87006 13.92 8.46006 13.01 8.06006 12.51L4.22006 8.46997C3.72006 7.95997 3.31006 7.05001 3.31006 6.45001V4.12C3.31006 2.91 4.22006 2 5.33006 2H18.6701C19.7801 2 20.6901 2.91002 20.6901 4.02002Z"
|
|
40
|
+
}, null, -1)
|
|
41
|
+
]));
|
|
42
|
+
}
|
|
43
|
+
const d = { render: i };
|
|
44
|
+
export {
|
|
45
|
+
d as default,
|
|
46
|
+
i as render
|
|
47
|
+
};
|