@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.
- package/.vscode/settings.json +93 -0
- package/CHANGELOG.md +14 -0
- package/dist/action-kit.mjs +11 -11
- package/dist/{annotations-nuDYR8LD.js → annotations-CWwm4nmk.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-CHLtCPKw.js +327 -0
- package/dist/exporting-SxR9gG1N.js +535 -0
- package/dist/index-Pkisqyzc.js +21240 -0
- package/dist/like-dislike-CHlo8ZOK.js +41 -0
- package/dist/like-dislike-QQeH_i2r.js +10 -0
- package/dist/{map-D5KwUZSw.js → map-DNmKKOCy.js} +142 -131
- package/dist/offline-exporting-D5oDbA8l.js +192 -0
- package/dist/{stock-Cba-k-EP.js → stock-LrgFv6CV.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-B6QPLruI.js → venn-rWBj7Y1S.js} +11 -1
- package/dist/wordcloud-tAa60GDl.js +235 -0
- package/package.json +65 -65
- package/dist/export-data-CuSWwgWD.js +0 -292
- package/dist/exporting-B9qu_91x.js +0 -385
- package/dist/index-DFJoEOFc.js +0 -21110
- package/dist/offline-exporting-QVHvrRwG.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 -332
- 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-Cck6VRF8.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as tr } from "./index-
|
|
1
|
+
import { g as tr } from "./index-Pkisqyzc.js";
|
|
2
2
|
function ir(ne, Ze) {
|
|
3
3
|
for (var S = 0; S < Ze.length; S++) {
|
|
4
4
|
const Y = Ze[S];
|
|
@@ -18,6 +18,17 @@ function ir(ne, Ze) {
|
|
|
18
18
|
var We = { exports: {} }, sr = We.exports, xi;
|
|
19
19
|
function or() {
|
|
20
20
|
return xi || (xi = 1, function(ne, Ze) {
|
|
21
|
+
/**
|
|
22
|
+
* Highcharts JS v12.3.0 (2025-06-21)
|
|
23
|
+
* @module highcharts/modules/color-axis
|
|
24
|
+
* @requires highcharts
|
|
25
|
+
*
|
|
26
|
+
* ColorAxis module
|
|
27
|
+
*
|
|
28
|
+
* (c) 2012-2025 Pawel Potaczek
|
|
29
|
+
*
|
|
30
|
+
* License: www.highcharts.com/license
|
|
31
|
+
*/
|
|
21
32
|
(function(S, Y) {
|
|
22
33
|
ne.exports = Y(S._Highcharts, S._Highcharts.Axis, S._Highcharts.Color, S._Highcharts.LegendSymbol, S._Highcharts.SeriesRegistry, S._Highcharts.SVGElement, S._Highcharts.Series, S._Highcharts.Chart, S._Highcharts.SVGRenderer, S._Highcharts.Templating, S._Highcharts.Series.types.scatter, S._Highcharts.Point);
|
|
23
34
|
})(typeof window > "u" ? sr : window, (S, Y, U, le, vi, wi, Ci, Pi, Ti, Ai, Li, ji) => (() => {
|
|
@@ -70,17 +81,17 @@ function or() {
|
|
|
70
81
|
this.colorAxis = [], c.colorAxis && (c.colorAxis = Di(c.colorAxis), c.colorAxis.map((g) => new e(this, g)));
|
|
71
82
|
}
|
|
72
83
|
function i(c) {
|
|
73
|
-
let g = this.chart.colorAxis || [], f = (
|
|
74
|
-
let x = c.allItems.indexOf(
|
|
84
|
+
let g = this.chart.colorAxis || [], f = (y) => {
|
|
85
|
+
let x = c.allItems.indexOf(y);
|
|
75
86
|
x !== -1 && (this.destroyItem(c.allItems[x]), c.allItems.splice(x, 1));
|
|
76
|
-
}, u = [], m,
|
|
77
|
-
for (g.forEach(function(
|
|
78
|
-
m =
|
|
87
|
+
}, u = [], m, b;
|
|
88
|
+
for (g.forEach(function(y) {
|
|
89
|
+
m = y.options, m?.showInLegend && (m.dataClasses && m.visible ? u = u.concat(y.getDataClassLegendSymbols()) : m.visible && u.push(y), y.series.forEach(function(x) {
|
|
79
90
|
(!x.options.showInLegend || m.dataClasses) && (x.options.legendType === "point" ? x.points.forEach(function(M) {
|
|
80
91
|
f(M);
|
|
81
92
|
}) : f(x));
|
|
82
93
|
}));
|
|
83
|
-
}),
|
|
94
|
+
}), b = u.length; b--; ) c.allItems.unshift(u[b]);
|
|
84
95
|
}
|
|
85
96
|
function s(c) {
|
|
86
97
|
c.visible && c.item.legendColor && c.item.legendItem.symbol.attr({ fill: c.item.legendColor });
|
|
@@ -105,9 +116,9 @@ function or() {
|
|
|
105
116
|
}
|
|
106
117
|
function h() {
|
|
107
118
|
let c = this, g = this.getPointsCollection(), f = this.options.nullColor, u = this.colorAxis, m = this.colorKey;
|
|
108
|
-
g.forEach((
|
|
109
|
-
let
|
|
110
|
-
x &&
|
|
119
|
+
g.forEach((b) => {
|
|
120
|
+
let y = b.getNestedProperty(m), x = b.options.color || (b.isNull || b.value === null ? f : u && y !== void 0 ? u.toColor(y, b) : b.color || c.color);
|
|
121
|
+
x && b.color !== x && (b.color = x, c.options.legendType === "point" && b.legendItem && b.legendItem.label && c.chart.legend.colorizeItem(b, b.visible));
|
|
111
122
|
});
|
|
112
123
|
}
|
|
113
124
|
function p() {
|
|
@@ -117,8 +128,8 @@ function or() {
|
|
|
117
128
|
this.elem.attr("stroke", Te(this.start).tweenTo(Te(this.end), this.pos), void 0, !0);
|
|
118
129
|
}
|
|
119
130
|
l.compose = function(c, g, f, u, m) {
|
|
120
|
-
let
|
|
121
|
-
|
|
131
|
+
let b = g.prototype, y = f.prototype, x = m.prototype;
|
|
132
|
+
b.collectionsWithUpdate.includes("colorAxis") || (e = c, b.collectionsWithUpdate.push("colorAxis"), b.collectionsWithInit.colorAxis = [b.addColorAxis], Q(g, "afterCreateAxes", t), function(M) {
|
|
122
133
|
let w = M.prototype.createAxis;
|
|
123
134
|
M.prototype.createAxis = function(P, j) {
|
|
124
135
|
if (P !== "colorAxis") return w.apply(this, arguments);
|
|
@@ -129,7 +140,7 @@ function or() {
|
|
|
129
140
|
T.bindAxes(), T.isDirtyData = !0;
|
|
130
141
|
}), Ei(j.redraw, !0) && this.redraw(j.animation), A;
|
|
131
142
|
};
|
|
132
|
-
}(g),
|
|
143
|
+
}(g), y.fillSetter = p, y.strokeSetter = d, Q(u, "afterGetAllItems", i), Q(u, "afterColorizeItem", s), Q(u, "afterUpdate", r), wt(x, { optionalAxis: "colorAxis", translateColors: h }), wt(x.pointClass.prototype, { setVisible: n }), Q(m, "afterTranslate", a, { order: 1 }), Q(m, "bindAxes", o));
|
|
133
144
|
}, l.pointSetVisible = n;
|
|
134
145
|
})(Ue || (Ue = {}));
|
|
135
146
|
let Oi = Ue, { parse: et } = Qe(), { merge: Vi } = v();
|
|
@@ -349,8 +360,8 @@ function or() {
|
|
|
349
360
|
!i.styledMode && n.theme && (zt(p, n.theme), p.style = it(n.theme.style, n.style));
|
|
350
361
|
let { text: d, width: c = 0, height: g = 0, padding: f = 0 } = n, u = i.renderer.button(d !== "+" && d !== "-" && d || "", 0, 0, r, p, void 0, void 0, void 0, h === "zoomIn" ? "topbutton" : "bottombutton").addClass("highcharts-map-navigation highcharts-" + { zoomIn: "zoom-in", zoomOut: "zoom-out" }[h]).attr({ width: c, height: g, title: i.options.lang[h], zIndex: 5 }).add(t.navButtonsGroup);
|
|
351
362
|
if (d === "+" || d === "-") {
|
|
352
|
-
let m = c + 1,
|
|
353
|
-
d === "+" &&
|
|
363
|
+
let m = c + 1, b = [["M", f + 3, f + g / 2], ["L", f + m - 3, f + g / 2]];
|
|
364
|
+
d === "+" && b.push(["M", f + m / 2, f + 3], ["L", f + m / 2, f + g - 3]), i.renderer.path(b).addClass("highcharts-button-symbol").attr(i.styledMode ? {} : { stroke: n.style?.color, "stroke-width": 3, "stroke-linecap": "round" }).add(u);
|
|
354
365
|
}
|
|
355
366
|
if (u.handler = n.onclick, ee(u.element, "dblclick", ot), s.push(u), zt(n, { width: u.width, height: 2 * (u.height || 0) }), i.hasLoaded) u.align(n, !1, n.alignTo);
|
|
356
367
|
else {
|
|
@@ -361,7 +372,7 @@ function or() {
|
|
|
361
372
|
});
|
|
362
373
|
let o = (n, h) => !(h.x >= n.x + n.width || h.x + h.width <= n.x || h.y >= n.y + n.height || h.y + h.height <= n.y);
|
|
363
374
|
i.hasLoaded || ee(i, "render", function() {
|
|
364
|
-
let n = i.
|
|
375
|
+
let n = i.exporting?.group?.getBBox();
|
|
365
376
|
if (n) {
|
|
366
377
|
let h = t.navButtonsGroup.getBBox();
|
|
367
378
|
if (o(n, h)) {
|
|
@@ -446,8 +457,8 @@ function or() {
|
|
|
446
457
|
let o = a[a.length - 2], n = a[a.length - 1];
|
|
447
458
|
typeof o == "number" && typeof n == "number" && (t = Math.min(t, o), e = Math.max(e, o), s = Math.min(s, n), i = Math.max(i, n), r = !0);
|
|
448
459
|
}), r) return { x1: t, y1: s, x2: e, y2: i };
|
|
449
|
-
} }, { boundsFromPath:
|
|
450
|
-
class te extends
|
|
460
|
+
} }, { boundsFromPath: bs } = It, ys = I().seriesTypes.scatter.prototype.pointClass, { extend: Bt, isNumber: pe, pick: Et } = v();
|
|
461
|
+
class te extends ys {
|
|
451
462
|
static getProjectedPath(e, t) {
|
|
452
463
|
return e.projectedPath || (t && e.geometry ? (t.hasCoordinates = !0, e.projectedPath = t.path(e.geometry)) : e.projectedPath = e.path), e.projectedPath || [];
|
|
453
464
|
}
|
|
@@ -460,7 +471,7 @@ function or() {
|
|
|
460
471
|
return s;
|
|
461
472
|
}
|
|
462
473
|
getProjectedBounds(e) {
|
|
463
|
-
let t =
|
|
474
|
+
let t = bs(te.getProjectedPath(this, e)), i = this.properties, s = this.series.chart.mapView;
|
|
464
475
|
if (t) {
|
|
465
476
|
let r = i?.["hc-middle-lon"], a = i?.["hc-middle-lat"];
|
|
466
477
|
if (s && pe(r) && pe(a)) {
|
|
@@ -506,21 +517,15 @@ function or() {
|
|
|
506
517
|
}
|
|
507
518
|
function i(o, n) {
|
|
508
519
|
let h = this.options.chart.proj4 || Ot.proj4;
|
|
509
|
-
if (!h)
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
let { jsonmarginX: p = 0, jsonmarginY: d = 0, jsonres: c = 1, scale: g = 1, xoffset: f = 0, xpan: u = 0, yoffset: m = 0, ypan: y = 0 } = n, b = h(n.crs, [o.lon, o.lat]), x = n.cosAngle || n.rotation && Math.cos(n.rotation), M = n.sinAngle || n.rotation && Math.sin(n.rotation), w = n.rotation ? [b[0] * x + b[1] * M, -b[0] * M + b[1] * x] : b;
|
|
514
|
-
return { x: ((w[0] - f) * g + u) * c + p, y: -(((m - w[1]) * g + y) * c - d) };
|
|
520
|
+
if (!h) return void Xt(21, !1, this);
|
|
521
|
+
let { jsonmarginX: p = 0, jsonmarginY: d = 0, jsonres: c = 1, scale: g = 1, xoffset: f = 0, xpan: u = 0, yoffset: m = 0, ypan: b = 0 } = n, y = h(n.crs, [o.lon, o.lat]), x = n.cosAngle || n.rotation && Math.cos(n.rotation), M = n.sinAngle || n.rotation && Math.sin(n.rotation), w = n.rotation ? [y[0] * x + y[1] * M, -y[0] * M + y[1] * x] : y;
|
|
522
|
+
return { x: ((w[0] - f) * g + u) * c + p, y: -(((m - w[1]) * g + b) * c - d) };
|
|
515
523
|
}
|
|
516
524
|
function s(o, n) {
|
|
517
525
|
let h = this.options.chart.proj4 || Ot.proj4;
|
|
518
|
-
if (!h)
|
|
519
|
-
Xt(21, !1, this);
|
|
520
|
-
return;
|
|
521
|
-
}
|
|
526
|
+
if (!h) return void Xt(21, !1, this);
|
|
522
527
|
if (o.y === null) return;
|
|
523
|
-
let { jsonmarginX: p = 0, jsonmarginY: d = 0, jsonres: c = 1, scale: g = 1, xoffset: f = 0, xpan: u = 0, yoffset: m = 0, ypan:
|
|
528
|
+
let { jsonmarginX: p = 0, jsonmarginY: d = 0, jsonres: c = 1, scale: g = 1, xoffset: f = 0, xpan: u = 0, yoffset: m = 0, ypan: b = 0 } = n, y = { x: ((o.x - p) / c - u) / g + f, y: ((o.y - d) / c + b) / g + m }, x = n.cosAngle || n.rotation && Math.cos(n.rotation), M = n.sinAngle || n.rotation && Math.sin(n.rotation), w = h(n.crs, "WGS84", n.rotation ? { x: y.x * x + -(y.y * M), y: y.x * M + y.y * x } : y);
|
|
524
529
|
return { lat: w.y, lon: w.x };
|
|
525
530
|
}
|
|
526
531
|
function r(o, n) {
|
|
@@ -529,17 +534,17 @@ function or() {
|
|
|
529
534
|
if (h["hc-decoded-geojson"] && h["hc-decoded-geojson"].title === o.title) return h["hc-decoded-geojson"];
|
|
530
535
|
let p = o.arcs;
|
|
531
536
|
if (o.transform) {
|
|
532
|
-
let u, m,
|
|
537
|
+
let u, m, b, y = o.arcs, { scale: x, translate: M } = o.transform;
|
|
533
538
|
p = [];
|
|
534
|
-
for (let w = 0, P =
|
|
535
|
-
let j =
|
|
536
|
-
p.push(u = []), m = 0,
|
|
537
|
-
for (let A = 0, T = j.length; A < T; ++A) u.push([(m += j[A][0]) * x[0] + M[0], (
|
|
539
|
+
for (let w = 0, P = y.length; w < P; ++w) {
|
|
540
|
+
let j = y[w];
|
|
541
|
+
p.push(u = []), m = 0, b = 0;
|
|
542
|
+
for (let A = 0, T = j.length; A < T; ++A) u.push([(m += j[A][0]) * x[0] + M[0], (b += j[A][1]) * x[1] + M[1]]);
|
|
538
543
|
}
|
|
539
544
|
}
|
|
540
|
-
let d = (u) => typeof u[0] == "number" ? u.reduce((m,
|
|
541
|
-
let x =
|
|
542
|
-
return
|
|
545
|
+
let d = (u) => typeof u[0] == "number" ? u.reduce((m, b, y) => {
|
|
546
|
+
let x = b < 0 ? p[~b] : p[b];
|
|
547
|
+
return b < 0 ? (x = x.slice(0, y === 0 ? x.length : x.length - 1)).reverse() : y && (x = x.slice(1)), m.concat(x);
|
|
543
548
|
}, []) : u.map(d), c = h.geometries, g = [];
|
|
544
549
|
for (let u = 0, m = c.length; u < m; ++u) g.push({ type: "Feature", properties: c[u].properties, geometry: { type: c[u].type, coordinates: c[u].coordinates || d(c[u].arcs) } });
|
|
545
550
|
let f = { type: "FeatureCollection", copyright: o.copyright, copyrightShort: o.copyrightShort, copyrightUrl: o.copyrightUrl, features: g, "hc-recommended-mapview": h["hc-recommended-mapview"], bbox: o.bbox, title: o.title };
|
|
@@ -554,8 +559,8 @@ function or() {
|
|
|
554
559
|
}, l.geojson = function(o, n = "map", h) {
|
|
555
560
|
let p = [], d = o.type === "Topology" ? r(o) : o, c = d.features;
|
|
556
561
|
for (let g = 0, f = c.length; g < f; ++g) {
|
|
557
|
-
let u, m = c[g],
|
|
558
|
-
if ((n === "map" || n === "mapbubble") && (
|
|
562
|
+
let u, m = c[g], b = m.geometry || {}, y = b.type, x = b.coordinates, M = m.properties;
|
|
563
|
+
if ((n === "map" || n === "mapbubble") && (y === "Polygon" || y === "MultiPolygon") || n === "mapline" && (y === "LineString" || y === "MultiLineString") ? x.length && (u = { geometry: { coordinates: x, type: y } }) : n === "mappoint" && y === "Point" && x.length && (u = { geometry: { coordinates: x, type: y } }), u) {
|
|
559
564
|
let w = M && (M.name || M.NAME), P = M && M.lon, j = M && M.lat;
|
|
560
565
|
p.push(ws(u, { lat: typeof j == "number" ? j : void 0, lon: typeof P == "number" ? P : void 0, name: typeof w == "string" ? w : void 0, properties: M }));
|
|
561
566
|
}
|
|
@@ -681,11 +686,11 @@ function or() {
|
|
|
681
686
|
return 6371e3 * (2 * i(s(r), s(1 - r)));
|
|
682
687
|
}
|
|
683
688
|
static geodesic(e, t, i, s = 5e5) {
|
|
684
|
-
let { atan2: r, cos: a, sin: o, sqrt: n } = Math, h = E.distance, p = e[1] * z, d = e[0] * z, c = t[1] * z, g = t[0] * z, f = a(p) * a(d), u = a(c) * a(g), m = a(p) * o(d),
|
|
689
|
+
let { atan2: r, cos: a, sin: o, sqrt: n } = Math, h = E.distance, p = e[1] * z, d = e[0] * z, c = t[1] * z, g = t[0] * z, f = a(p) * a(d), u = a(c) * a(g), m = a(p) * o(d), b = a(c) * o(g), y = o(p), x = o(c), M = h(e, t), w = M / 6371e3, P = o(w), j = Math.round(M / s), A = [];
|
|
685
690
|
if (i && A.push(e), j > 1) {
|
|
686
691
|
let T = 1 / j;
|
|
687
692
|
for (let k = T; k < 0.999; k += T) {
|
|
688
|
-
let V = o((1 - k) * w) / P, R = o(k * w) / P, Me = V * f + R * u, ve = V * m + R *
|
|
693
|
+
let V = o((1 - k) * w) / P, R = o(k * w) / P, Me = V * f + R * u, ve = V * m + R * b, we = r(V * y + R * x, n(Me * Me + ve * ve)), Ce = r(ve, Me);
|
|
689
694
|
A.push([Ce / z, we / z]);
|
|
690
695
|
}
|
|
691
696
|
}
|
|
@@ -751,30 +756,29 @@ function or() {
|
|
|
751
756
|
s.push({ i: a, lat: g, direction: p < 0 ? 1 : -1, previousLonLat: h, lonLat: n });
|
|
752
757
|
}
|
|
753
758
|
}
|
|
754
|
-
if (s.length)
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
break;
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
} else {
|
|
772
|
-
let a = s.length;
|
|
773
|
-
for (; a--; ) {
|
|
774
|
-
let o = s[a].i, n = e.splice(o, e.length, [se(180 + 1e-6 * s[a].direction), s[a].lat]);
|
|
775
|
-
n.unshift([se(180 - 1e-6 * s[a].direction), s[a].lat]), r.push(n);
|
|
759
|
+
if (s.length) if (t) {
|
|
760
|
+
s.length % 2 == 1 && (i = s.slice().sort((o, n) => Math.abs(n.lat) - Math.abs(o.lat))[0], Es(s, i));
|
|
761
|
+
let a = s.length - 2;
|
|
762
|
+
for (; a >= 0; ) {
|
|
763
|
+
let o = s[a].i, n = se(180 + 1e-6 * s[a].direction), h = se(180 - 1e-6 * s[a].direction), p = e.splice(o, s[a + 1].i - o, ...E.geodesic([n, s[a].lat], [n, s[a + 1].lat], !0));
|
|
764
|
+
p.push(...E.geodesic([h, s[a + 1].lat], [h, s[a].lat], !0)), r.push(p), a -= 2;
|
|
765
|
+
}
|
|
766
|
+
if (i) for (let o = 0; o < r.length; o++) {
|
|
767
|
+
let { direction: n, lat: h } = i, p = r[o], d = p.indexOf(i.lonLat);
|
|
768
|
+
if (d > -1) {
|
|
769
|
+
let c = (h < 0 ? -1 : 1) * this.maxLatitude, g = se(180 + 1e-6 * n), f = se(180 - 1e-6 * n), u = E.geodesic([g, h], [g, c], !0);
|
|
770
|
+
for (let m = g + 120 * n; m > -180 && m < 180; m += 120 * n) u.push([m, c]);
|
|
771
|
+
u.push(...E.geodesic([f, c], [f, i.lat], !0)), p.splice(d, 0, ...u);
|
|
772
|
+
break;
|
|
776
773
|
}
|
|
777
774
|
}
|
|
775
|
+
} else {
|
|
776
|
+
let a = s.length;
|
|
777
|
+
for (; a--; ) {
|
|
778
|
+
let o = s[a].i, n = e.splice(o, e.length, [se(180 + 1e-6 * s[a].direction), s[a].lat]);
|
|
779
|
+
n.unshift([se(180 - 1e-6 * s[a].direction), s[a].lat]), r.push(n);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
778
782
|
return r;
|
|
779
783
|
}
|
|
780
784
|
path(e) {
|
|
@@ -784,13 +788,13 @@ function or() {
|
|
|
784
788
|
let f = g.map((m) => {
|
|
785
789
|
if (h) {
|
|
786
790
|
p && (m = p.forward(m));
|
|
787
|
-
let
|
|
788
|
-
1e-6 > Math.abs(
|
|
791
|
+
let b = m[0];
|
|
792
|
+
1e-6 > Math.abs(b - 180) && (b = b < 180 ? 179.999999 : 180.000001), m = [b, m[1]];
|
|
789
793
|
}
|
|
790
794
|
return m;
|
|
791
795
|
}), u = [f];
|
|
792
796
|
n && (E.insertGeodesics(f), h && (u = this.cutOnAntimeridian(f, o))), u.forEach((m) => {
|
|
793
|
-
let
|
|
797
|
+
let b, y;
|
|
794
798
|
if (m.length < 2) return;
|
|
795
799
|
let x = !1, M = !1, w = (T) => {
|
|
796
800
|
x ? a.push(["L", T[0], T[1]]) : (a.push(["M", T[0], T[1]]), x = !0);
|
|
@@ -803,18 +807,15 @@ function or() {
|
|
|
803
807
|
if (!j) return;
|
|
804
808
|
if (t) {
|
|
805
809
|
if (o) A = Is(A, t);
|
|
806
|
-
else if (i) {
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
});
|
|
810
|
-
return;
|
|
811
|
-
}
|
|
810
|
+
else if (i) return void Ss(A, t).forEach((T) => {
|
|
811
|
+
x = !1, T.forEach(w);
|
|
812
|
+
});
|
|
812
813
|
}
|
|
813
814
|
}
|
|
814
815
|
A.forEach(w);
|
|
815
816
|
} else for (let T = 0; T < A.length; T++) {
|
|
816
817
|
let k = m[T], V = A[T];
|
|
817
|
-
V.outside ? M = !0 : (o && !
|
|
818
|
+
V.outside ? M = !0 : (o && !b && (b = k, m.push(k), A.push(V)), M && y && (o && n ? E.geodesic(y, k).forEach((R) => w(d.forward(R))) : x = !1), w(V), y = k, M = !1);
|
|
818
819
|
}
|
|
819
820
|
});
|
|
820
821
|
};
|
|
@@ -899,11 +900,10 @@ function or() {
|
|
|
899
900
|
return a && r.options.affectsMapView !== !1 && s.push(a), s;
|
|
900
901
|
}, []), i = this.options.fitToGeometry;
|
|
901
902
|
if (i) {
|
|
902
|
-
if (!this.fitToGeometryCache)
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
} else this.fitToGeometryCache = Wt(e.path(i));
|
|
903
|
+
if (!this.fitToGeometryCache) if (i.type === "MultiPoint") {
|
|
904
|
+
let s = i.coordinates.map((o) => e.forward(o)), r = s.map((o) => o[0]), a = s.map((o) => o[1]);
|
|
905
|
+
this.fitToGeometryCache = { x1: Math.min.apply(0, r), x2: Math.max.apply(0, r), y1: Math.min.apply(0, a), y2: Math.max.apply(0, a) };
|
|
906
|
+
} else this.fitToGeometryCache = Wt(e.path(i));
|
|
907
907
|
return this.fitToGeometryCache;
|
|
908
908
|
}
|
|
909
909
|
return this.projection.bounds || N.compositeBounds(t);
|
|
@@ -980,8 +980,8 @@ function or() {
|
|
|
980
980
|
if (r) {
|
|
981
981
|
let a = this.projection.forward(this.center), { x: o, y: n, width: h, height: p } = this.playingField, d = this.getScale(), c = this.projectedUnitsToPixels({ x: r.x1, y: r.y1 }), g = this.projectedUnitsToPixels({ x: r.x2, y: r.y2 }), f = [(r.x1 + r.x2) / 2, (r.y1 + r.y2) / 2];
|
|
982
982
|
if (!this.chart.series.some((u) => u.isDrilling)) {
|
|
983
|
-
let u = c.x, m = g.y,
|
|
984
|
-
|
|
983
|
+
let u = c.x, m = g.y, b = g.x, y = c.y;
|
|
984
|
+
b - u < h ? a[0] = f[0] : u < o && b < o + h ? a[0] += Math.max(u - o, b - h - o) / d : b > o + h && u > o && (a[0] += Math.min(b - h - o, u - o) / d), y - m < p ? a[1] = f[1] : m < n && y < n + p ? a[1] -= Math.max(m - n, y - p - n) / d : y > n + p && m > n && (a[1] -= Math.min(y - p - n, m - n) / d), this.center = this.projection.inverse(a);
|
|
985
985
|
}
|
|
986
986
|
this.insets.forEach((u) => {
|
|
987
987
|
u.options.field && (u.hitZone = u.getHitZone(), u.playingField = u.getField());
|
|
@@ -1006,8 +1006,8 @@ function or() {
|
|
|
1006
1006
|
if (n?.length === 1 ? (d = n[0].chartX, c = n[0].chartY) : n?.length === 2 && (d = (n[0].chartX + n[1].chartX) / 2, c = (n[0].chartY + n[1].chartY) / 2), p?.length === 2 && o && (g = Math.log(Math.sqrt(Math.pow(o[0].chartX - o[1].chartX, 2) + Math.pow(o[0].chartY - o[1].chartY, 2)) / Math.sqrt(Math.pow(p[0].chartX - p[1].chartX, 2) + Math.pow(p[0].chartY - p[1].chartY, 2))) / Math.log(0.5)), X(d) && X(c)) {
|
|
1007
1007
|
let f = `${d},${c}`, { chartX: u, chartY: m } = a.originalEvent;
|
|
1008
1008
|
p?.length === 2 && (u = (p[0].chartX + p[1].chartX) / 2, m = (p[0].chartY + p[1].chartY) / 2), f !== t && (t = f, e = this.projection.forward(this.center), i = (this.projection.options.rotation || [0, 0]).slice());
|
|
1009
|
-
let
|
|
1010
|
-
if (h.options.name === "Orthographic" && 2 > (p?.length || 0) && (this.minZoom || 1 / 0) < 1.3 *
|
|
1009
|
+
let b = h.def && h.def.bounds, y = b && Ht(b, this.playingField) || -1 / 0;
|
|
1010
|
+
if (h.options.name === "Orthographic" && 2 > (p?.length || 0) && (this.minZoom || 1 / 0) < 1.3 * y) {
|
|
1011
1011
|
let x = 440 / (this.getScale() * Math.min(s.plotWidth, s.plotHeight));
|
|
1012
1012
|
if (i) {
|
|
1013
1013
|
let M = (d - u) * x - i[0], w = Vs(-i[1] - (c - m) * x, -80, 80), P = this.zoom;
|
|
@@ -1154,18 +1154,18 @@ function or() {
|
|
|
1154
1154
|
})), s.forEach((o, n) => {
|
|
1155
1155
|
let h = (n === 0 ? r : r.insets[n - 1]).getSVGTransform(), p = pt(this.getStrokeWidth(this.options), 1), d = h.scaleX, c = h.scaleY > 0 ? 1 : -1, g = (f) => {
|
|
1156
1156
|
(e.points || []).forEach((u) => {
|
|
1157
|
-
let m,
|
|
1158
|
-
|
|
1157
|
+
let m, b = u.graphic;
|
|
1158
|
+
b?.["stroke-width"] && (m = this.getStrokeWidth(u.options)) && b.attr({ "stroke-width": m / f });
|
|
1159
1159
|
});
|
|
1160
1160
|
};
|
|
1161
1161
|
if (a.globalAnimation && t.hasRendered && r.allowTransformAnimation) {
|
|
1162
|
-
let f = Number(o.attr("translateX")), u = Number(o.attr("translateY")), m = Number(o.attr("scaleX")),
|
|
1162
|
+
let f = Number(o.attr("translateX")), u = Number(o.attr("translateY")), m = Number(o.attr("scaleX")), b = (M, w) => {
|
|
1163
1163
|
let P = m + (d - m) * w.pos;
|
|
1164
1164
|
o.attr({ translateX: f + (h.translateX - f) * w.pos, translateY: u + (h.translateY - u) * w.pos, scaleX: P, scaleY: P * c, "stroke-width": p / P }), g(P);
|
|
1165
|
-
},
|
|
1166
|
-
|
|
1167
|
-
x && x.apply(this, arguments),
|
|
1168
|
-
}, o.attr({ animator: 0 }).animate({ animator: 1 },
|
|
1165
|
+
}, y = ge($t(a.globalAnimation)), x = y.step;
|
|
1166
|
+
y.step = function() {
|
|
1167
|
+
x && x.apply(this, arguments), b.apply(this, arguments);
|
|
1168
|
+
}, o.attr({ animator: 0 }).animate({ animator: 1 }, y, function() {
|
|
1169
1169
|
typeof a.globalAnimation != "boolean" && a.globalAnimation.complete && a.globalAnimation.complete({ applyDrilldown: !0 }), Qt(this, "mapZoomComplete");
|
|
1170
1170
|
}.bind(this));
|
|
1171
1171
|
} else Fs(o), o.attr(ge(h, { "stroke-width": p / d })), g(d);
|
|
@@ -1229,14 +1229,14 @@ function or() {
|
|
|
1229
1229
|
let u = this.processedData;
|
|
1230
1230
|
if (r) {
|
|
1231
1231
|
let m;
|
|
1232
|
-
for (let
|
|
1233
|
-
if (D(m = r[
|
|
1232
|
+
for (let b = 0, y = r.length; b < y; ++b) {
|
|
1233
|
+
if (D(m = r[b])) u[b] = { value: m };
|
|
1234
1234
|
else if (ht(m)) {
|
|
1235
1235
|
let x = 0;
|
|
1236
|
-
u[
|
|
1237
|
-
for (let M = 0; M < h.length; ++M, ++x) h[M] && m[x] !== void 0 && (h[M].indexOf(".") > 0 ? te.prototype.setNestedProperty(u[
|
|
1238
|
-
} else u[
|
|
1239
|
-
n && n[0] === "_i" && (u[
|
|
1236
|
+
u[b] = {}, !s.keys && m.length > h.length && typeof m[0] == "string" && (u[b]["hc-key"] = m[0], ++x);
|
|
1237
|
+
for (let M = 0; M < h.length; ++M, ++x) h[M] && m[x] !== void 0 && (h[M].indexOf(".") > 0 ? te.prototype.setNestedProperty(u[b], m[x], h[M]) : u[b][h[M]] = m[x]);
|
|
1238
|
+
} else u[b] = r[b];
|
|
1239
|
+
n && n[0] === "_i" && (u[b]._i = b);
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
1242
|
if (i) {
|
|
@@ -1244,23 +1244,23 @@ function or() {
|
|
|
1244
1244
|
for (let m = 0; m < i.length; m++) t = (e = i[m]).properties, e._i = m, n[0] && t && t[n[0]] && (e[n[0]] = t[n[0]]), d[e[n[0]]] = e;
|
|
1245
1245
|
if (this.mapMap = d, n[1]) {
|
|
1246
1246
|
let m = n[1];
|
|
1247
|
-
u.forEach((
|
|
1248
|
-
let
|
|
1249
|
-
d[
|
|
1247
|
+
u.forEach((b) => {
|
|
1248
|
+
let y = ei(m, b);
|
|
1249
|
+
d[y] && p.push(d[y]);
|
|
1250
1250
|
});
|
|
1251
1251
|
}
|
|
1252
1252
|
if (s.allAreas) {
|
|
1253
1253
|
if (n[1]) {
|
|
1254
|
-
let
|
|
1255
|
-
u.forEach((
|
|
1256
|
-
p.push(ei(
|
|
1254
|
+
let b = n[1];
|
|
1255
|
+
u.forEach((y) => {
|
|
1256
|
+
p.push(ei(b, y));
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
|
-
let m = "|" + p.map(function(
|
|
1260
|
-
return
|
|
1259
|
+
let m = "|" + p.map(function(b) {
|
|
1260
|
+
return b && b[n[0]];
|
|
1261
1261
|
}).join("|") + "|";
|
|
1262
|
-
i.forEach((
|
|
1263
|
-
n[0] && m.indexOf("|" +
|
|
1262
|
+
i.forEach((b) => {
|
|
1263
|
+
n[0] && m.indexOf("|" + b[n[0]] + "|") !== -1 || u.push(ge(b, { value: null }));
|
|
1264
1264
|
});
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
@@ -1276,7 +1276,7 @@ function or() {
|
|
|
1276
1276
|
let s = t.getSVGTransform();
|
|
1277
1277
|
this.points.forEach((r) => {
|
|
1278
1278
|
let a = D(r.insetIndex) && t.insets[r.insetIndex].getSVGTransform() || s;
|
|
1279
|
-
a && r.bounds && D(r.bounds.midX) && D(r.bounds.midY) && (r.plotX = r.bounds.midX * a.scaleX + a.translateX, r.plotY = r.bounds.midY * a.scaleY + a.translateY), e && (r.shapeType = "path", r.shapeArgs = { d: te.getProjectedPath(r, i) }), r.hiddenInDataClass
|
|
1279
|
+
a && r.bounds && D(r.bounds.midX) && D(r.bounds.midY) && (r.plotX = r.bounds.midX * a.scaleX + a.translateX, r.plotY = r.bounds.midY * a.scaleY + a.translateY), e && (r.shapeType = "path", r.shapeArgs = { d: te.getProjectedPath(r, i) }), !r.hiddenInDataClass && (r.projectedPath && !r.projectedPath.length ? r.setVisible(!1) : r.visible || r.setVisible(!0));
|
|
1280
1280
|
});
|
|
1281
1281
|
}
|
|
1282
1282
|
Qt(this, "afterTranslate");
|
|
@@ -1345,7 +1345,7 @@ function or() {
|
|
|
1345
1345
|
let n = o ? i / 3 : i / 2;
|
|
1346
1346
|
return [["M", r, a], ["C", r, a, r - n, e + 1.5 * n, r - n, e + n], ["A", n, n, 1, 1, 1, r + n, e + n], ["C", r + n, e + 1.5 * n, r, a, r, a], ["Z"]];
|
|
1347
1347
|
}, io(ct.prototype, { type: "mappoint", axisTypes: ["colorAxis"], forceDL: !0, isCartesian: !1, pointClass: Qs, searchPoint: eo, useMapGeometry: !0 }), I().registerSeriesType("mappoint", ct);
|
|
1348
|
-
let ro = { borderColor: void 0, borderWidth: 2, className: void 0, color: void 0, connectorClassName: void 0, connectorColor: void 0, connectorDistance: 60, connectorWidth: 1, enabled: !1, labels: { className: void 0, allowOverlap: !1, format: "", formatter: void 0, align: "right", style: { fontSize: "0.9em", color: "#000000" }, x: 0, y: 0 }, maxSize: 60, minSize: 10, legendIndex: 0, ranges: { value: void 0, borderColor: void 0, color: void 0, connectorColor: void 0 }, sizeBy: "area", sizeByAbsoluteValue: !1, zIndex: 1, zThreshold: 0 }, { noop: ao } = v(), { arrayMax: no, arrayMin: lo, isNumber: oi, merge:
|
|
1348
|
+
let ro = { borderColor: void 0, borderWidth: 2, className: void 0, color: void 0, connectorClassName: void 0, connectorColor: void 0, connectorDistance: 60, connectorWidth: 1, enabled: !1, labels: { className: void 0, allowOverlap: !1, format: "", formatter: void 0, align: "right", style: { fontSize: "0.9em", color: "#000000" }, x: 0, y: 0 }, maxSize: 60, minSize: 10, legendIndex: 0, ranges: { value: void 0, borderColor: void 0, color: void 0, connectorColor: void 0 }, sizeBy: "area", sizeByAbsoluteValue: !1, zIndex: 1, zThreshold: 0 }, { noop: ao } = v(), { arrayMax: no, arrayMin: lo, isNumber: oi, merge: be, pick: ye, stableSort: ho } = v(), po = class {
|
|
1349
1349
|
constructor(l, e) {
|
|
1350
1350
|
this.setState = ao, this.init(l, e);
|
|
1351
1351
|
}
|
|
@@ -1356,7 +1356,7 @@ function or() {
|
|
|
1356
1356
|
l.splice(this.options.legendIndex, 0, this);
|
|
1357
1357
|
}
|
|
1358
1358
|
drawLegendSymbol(l) {
|
|
1359
|
-
let e, t =
|
|
1359
|
+
let e, t = ye(l.options.itemDistance, 20), i = this.legendItem || {}, s = this.options, r = s.ranges, a = s.connectorDistance;
|
|
1360
1360
|
if (!r || !r.length || !oi(r[0].value)) {
|
|
1361
1361
|
l.options.bubbleLegend.autoRanges = !0;
|
|
1362
1362
|
return;
|
|
@@ -1370,7 +1370,7 @@ function or() {
|
|
|
1370
1370
|
setOptions() {
|
|
1371
1371
|
let l = this.ranges, e = this.options, t = this.chart.series[e.seriesIndex], i = this.legend.baseline, s = { zIndex: e.zIndex, "stroke-width": e.borderWidth }, r = { zIndex: e.zIndex, "stroke-width": e.connectorWidth }, a = { align: this.legend.options.rtl || e.labels.align === "left" ? "right" : "left", zIndex: e.zIndex }, o = t.options.marker.fillOpacity, n = this.chart.styledMode;
|
|
1372
1372
|
l.forEach(function(h, p) {
|
|
1373
|
-
n || (s.stroke =
|
|
1373
|
+
n || (s.stroke = ye(h.borderColor, e.borderColor, t.color), s.fill = h.color || e.color, s.fill || (s.fill = t.color, s["fill-opacity"] = o ?? 1), r.stroke = ye(h.connectorColor, e.connectorColor, t.color)), l[p].radius = this.getRangeRadius(h.value), l[p] = be(l[p], { center: l[0].radius - l[p].radius + i }), n || be(!0, l[p], { bubbleAttribs: be(s), connectorAttribs: be(r), labelAttribs: a });
|
|
1374
1374
|
}, this);
|
|
1375
1375
|
}
|
|
1376
1376
|
getRangeRadius(l) {
|
|
@@ -1383,9 +1383,9 @@ function or() {
|
|
|
1383
1383
|
this.hideOverlappingLabels();
|
|
1384
1384
|
}
|
|
1385
1385
|
renderRange(l) {
|
|
1386
|
-
let e = this.ranges[0], t = this.legend, i = this.options, s = i.labels, r = this.chart, a = r.series[i.seriesIndex], o = r.renderer, n = this.symbols, h = n.labels, p = l.center, d = Math.abs(l.radius), c = i.connectorDistance || 0, g = s.align, f = t.options.rtl, u = i.borderWidth, m = i.connectorWidth,
|
|
1387
|
-
g === "center" && (w = 0, i.connectorDistance = 0, l.labelAttribs.align = "center"), n.bubbleItems.push(o.circle(
|
|
1388
|
-
let P = o.text(this.formatLabel(l)).attr(M ? {} : l.labelAttribs).css(M ? {} : s.style).addClass("highcharts-bubble-legend-labels " + (i.labels.className || "")).add(this.legendItem.symbol), j = { x:
|
|
1386
|
+
let e = this.ranges[0], t = this.legend, i = this.options, s = i.labels, r = this.chart, a = r.series[i.seriesIndex], o = r.renderer, n = this.symbols, h = n.labels, p = l.center, d = Math.abs(l.radius), c = i.connectorDistance || 0, g = s.align, f = t.options.rtl, u = i.borderWidth, m = i.connectorWidth, b = e.radius || 0, y = p - d - u / 2 + m / 2, x = (y % 1 ? 1 : 0.5) - (m % 2 ? 0 : 0.5), M = o.styledMode, w = f || g === "left" ? -c : c;
|
|
1387
|
+
g === "center" && (w = 0, i.connectorDistance = 0, l.labelAttribs.align = "center"), n.bubbleItems.push(o.circle(b, p + x, d).attr(M ? {} : l.bubbleAttribs).addClass((M ? "highcharts-color-" + a.colorIndex + " " : "") + "highcharts-bubble-legend-symbol " + (i.className || "")).add(this.legendItem.symbol)), n.connectors.push(o.path(o.crispLine([["M", b, y], ["L", b + w, y]], i.connectorWidth)).attr(M ? {} : l.connectorAttribs).addClass((M ? "highcharts-color-" + this.options.seriesIndex + " " : "") + "highcharts-bubble-legend-connectors " + (i.connectorClassName || "")).add(this.legendItem.symbol));
|
|
1388
|
+
let P = o.text(this.formatLabel(l)).attr(M ? {} : l.labelAttribs).css(M ? {} : s.style).addClass("highcharts-bubble-legend-labels " + (i.labels.className || "")).add(this.legendItem.symbol), j = { x: b + w + i.labels.x, y: y + i.labels.y + 0.4 * P.getBBox().height };
|
|
1389
1389
|
P.attr(j), h.push(P), P.placed = !0, P.alignAttr = j;
|
|
1390
1390
|
}
|
|
1391
1391
|
getMaxLabelSize() {
|
|
@@ -1407,9 +1407,9 @@ function or() {
|
|
|
1407
1407
|
getRanges() {
|
|
1408
1408
|
let l = this.legend.bubbleLegend, e = l.chart.series, t = l.options.ranges, i, s, r = Number.MAX_VALUE, a = -Number.MAX_VALUE;
|
|
1409
1409
|
return e.forEach(function(o) {
|
|
1410
|
-
o.isBubble && !o.ignoreSeries && (s = o.getColumn("z").filter(oi)).length && (r =
|
|
1410
|
+
o.isBubble && !o.ignoreSeries && (s = o.getColumn("z").filter(oi)).length && (r = ye(o.options.zMin, Math.min(r, Math.max(lo(s), o.options.displayNegative === !1 ? o.options.zThreshold : -Number.MAX_VALUE))), a = ye(o.options.zMax, Math.max(a, no(s))));
|
|
1411
1411
|
}), i = r === a ? [{ value: a }] : [{ value: r }, { value: (r + a) / 2 }, { value: a, autoRanges: !0 }], t.length && t[0].radius && i.reverse(), i.forEach(function(o, n) {
|
|
1412
|
-
t && t[n] && (i[n] =
|
|
1412
|
+
t && t[n] && (i[n] = be(t[n], o));
|
|
1413
1413
|
}), i;
|
|
1414
1414
|
}
|
|
1415
1415
|
predictBubbleSizes() {
|
|
@@ -1425,7 +1425,7 @@ function or() {
|
|
|
1425
1425
|
Math.abs(Math.ceil(e.maxPxSize) - this.options.maxSize) > 1 && (this.updateRanges(this.options.minSize, e.maxPxSize), l.render());
|
|
1426
1426
|
}
|
|
1427
1427
|
}, { setOptions: co } = v(), { composed: uo } = v(), { addEvent: ri, objectEach: mo, pushUnique: go, wrap: fo } = v();
|
|
1428
|
-
function
|
|
1428
|
+
function bo(l, e, t) {
|
|
1429
1429
|
let i, s, r, a = this.legend, o = ut(this) >= 0;
|
|
1430
1430
|
a && a.options.enabled && a.bubbleLegend && a.options.bubbleLegend.autoRanges && o ? (i = a.bubbleLegend.options, s = a.bubbleLegend.predictBubbleSizes(), a.bubbleLegend.updateRanges(s[0], s[1]), i.placed || (a.group.placed = !1, a.allItems.forEach((n) => {
|
|
1431
1431
|
(r = n.legendItem || {}).group && (r.group.translateY = void 0);
|
|
@@ -1451,7 +1451,7 @@ function or() {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
return t;
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function yo(l) {
|
|
1455
1455
|
let e = this.bubbleLegend, t = this.options, i = t.bubbleLegend, s = ut(this.chart);
|
|
1456
1456
|
e && e.ranges && e.ranges.length && (i.ranges.length && (i.autoRanges = !!i.ranges[0].autoRanges), this.destroyItem(e)), s >= 0 && t.enabled && i.enabled && (i.seriesIndex = s, this.bubbleLegend = new po(i, this), this.bubbleLegend.addToLegend(l.allItems));
|
|
1457
1457
|
}
|
|
@@ -1468,7 +1468,7 @@ function or() {
|
|
|
1468
1468
|
});
|
|
1469
1469
|
}
|
|
1470
1470
|
let Mo = { compose: function(l, e) {
|
|
1471
|
-
go(uo, "Series.BubbleLegend") && (co({ legend: { bubbleLegend: ro } }), fo(l.prototype, "drawChartBox",
|
|
1471
|
+
go(uo, "Series.BubbleLegend") && (co({ legend: { bubbleLegend: ro } }), fo(l.prototype, "drawChartBox", bo), ri(e, "afterGetAllItems", yo), ri(e, "itemClick", xo));
|
|
1472
1472
|
} };
|
|
1473
1473
|
var vo = C(260), wo = C.n(vo);
|
|
1474
1474
|
let { seriesTypes: { scatter: { prototype: { pointClass: Co } } } } = I(), { extend: Po } = v();
|
|
@@ -1476,8 +1476,8 @@ function or() {
|
|
|
1476
1476
|
haloPath(e) {
|
|
1477
1477
|
let t = (e && this.marker && this.marker.radius || 0) + e;
|
|
1478
1478
|
if (this.series.chart.inverted) {
|
|
1479
|
-
let i = this.pos() || [0, 0], { xAxis: s, yAxis: r, chart: a } = this.series;
|
|
1480
|
-
return a.renderer.symbols.circle(s
|
|
1479
|
+
let i = this.pos() || [0, 0], { xAxis: s, yAxis: r, chart: a } = this.series, o = 2 * t;
|
|
1480
|
+
return a.renderer.symbols.circle((s?.len || 0) - i[1] - t, (r?.len || 0) - i[0] - t, o, o);
|
|
1481
1481
|
}
|
|
1482
1482
|
return wo().prototype.haloPath.call(this, t);
|
|
1483
1483
|
}
|
|
@@ -1623,10 +1623,10 @@ function or() {
|
|
|
1623
1623
|
getCellAttributes() {
|
|
1624
1624
|
let e = this.series, t = e.options, i = (t.colsize || 1) / 2, s = (t.rowsize || 1) / 2, r = e.xAxis, a = e.yAxis, o = this.options.marker || e.options.marker, n = e.pointPlacementToXValue(), h = Go(this.pointPadding, t.pointPadding, 0), p = { x1: Ye(Math.round(r.len - r.translate(this.x - i, !1, !0, !1, !0, -n)), -r.len, 2 * r.len), x2: Ye(Math.round(r.len - r.translate(this.x + i, !1, !0, !1, !0, -n)), -r.len, 2 * r.len), y1: Ye(Math.round(a.translate(this.y - s, !1, !0, !1, !0)), -a.len, 2 * a.len), y2: Ye(Math.round(a.translate(this.y + s, !1, !0, !1, !0)), -a.len, 2 * a.len) };
|
|
1625
1625
|
for (let d of [["width", "x"], ["height", "y"]]) {
|
|
1626
|
-
let c = d[0], g = d[1], f = g + "1", u = g + "2", m = Math.abs(p[f] - p[u]),
|
|
1626
|
+
let c = d[0], g = d[1], f = g + "1", u = g + "2", m = Math.abs(p[f] - p[u]), b = o && o.lineWidth || 0, y = Math.abs(p[f] + p[u]) / 2, x = o && o[c];
|
|
1627
1627
|
if (No(x) && x < m) {
|
|
1628
|
-
let M = x / 2 +
|
|
1629
|
-
p[f] =
|
|
1628
|
+
let M = x / 2 + b / 2;
|
|
1629
|
+
p[f] = y - M, p[u] = y + M;
|
|
1630
1630
|
}
|
|
1631
1631
|
h && ((g === "x" && r.reversed || g === "y" && !a.reversed) && (f = u, u = g + "1"), p[f] += h, p[u] -= h);
|
|
1632
1632
|
}
|
|
@@ -1642,7 +1642,7 @@ function or() {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
1644
|
Yo(gi.prototype, { dataLabelOnNull: !0, moveToTopOnHover: !0, ttBelow: !1 });
|
|
1645
|
-
let { isNumber: Ro } = v(), { doc: Fo } = v(), { defined: Wo, pick: fi } = v(), { series: ae, seriesTypes: { column: Zo, scatter:
|
|
1645
|
+
let { isNumber: Ro } = v(), { doc: Fo } = v(), { defined: Wo, pick: fi } = v(), { series: ae, seriesTypes: { column: Zo, scatter: bi } } = I(), { prototype: { symbols: Ge } } = at(), { addEvent: Uo, extend: Ho, fireEvent: qo, isNumber: Re, merge: ft, pick: Ko } = v(), { colorFromPoint: $o, getContext: _o } = { colorFromPoint: function(l, e) {
|
|
1646
1646
|
let t = e.series.colorAxis;
|
|
1647
1647
|
if (t) {
|
|
1648
1648
|
let i = t.toColor(l || 0, e).split(")")[0].split("(")[1].split(",").map((s) => fi(parseFloat(s), parseInt(s, 10)));
|
|
@@ -1653,7 +1653,7 @@ function or() {
|
|
|
1653
1653
|
let { canvas: e, context: t } = l;
|
|
1654
1654
|
return e && t ? (t.clearRect(0, 0, e.width, e.height), t) : (l.canvas = Fo.createElement("canvas"), l.context = l.canvas.getContext("2d", { willReadFrequently: !0 }) || void 0, l.context);
|
|
1655
1655
|
} };
|
|
1656
|
-
class xe extends
|
|
1656
|
+
class xe extends bi {
|
|
1657
1657
|
constructor() {
|
|
1658
1658
|
super(...arguments), this.valueMax = NaN, this.valueMin = NaN, this.isDirtyCanvas = !0;
|
|
1659
1659
|
}
|
|
@@ -1662,15 +1662,15 @@ function or() {
|
|
|
1662
1662
|
if (i) {
|
|
1663
1663
|
let { image: r, chart: a, xAxis: o, yAxis: n } = e, { reversed: h = !1, len: p } = o, { reversed: d = !1, len: c } = n, g = { width: p, height: c };
|
|
1664
1664
|
if (!r || e.isDirtyData || e.isDirtyCanvas) {
|
|
1665
|
-
let f = _o(e), { canvas: u, options: { colsize: m = 1, rowsize:
|
|
1665
|
+
let f = _o(e), { canvas: u, options: { colsize: m = 1, rowsize: b = 1 }, points: y, points: { length: x } } = e, M = a.colorAxis && a.colorAxis[0];
|
|
1666
1666
|
if (u && f && M) {
|
|
1667
|
-
let { min: w, max: P } = o.getExtremes(), { min: j, max: A } = n.getExtremes(), T = P - w, k = A - j, V = Math.round(T / m / 8 * 8), R = Math.round(k /
|
|
1667
|
+
let { min: w, max: P } = o.getExtremes(), { min: j, max: A } = n.getExtremes(), T = P - w, k = A - j, V = Math.round(T / m / 8 * 8), R = Math.round(k / b / 8 * 8), [Me, ve] = [[V, V / T, h, "ceil"], [R, R / k, !d, "floor"]].map(([J, Z, bt, Fe]) => bt ? (yt) => Math[Fe](J - Z * yt) : (yt) => Math[Fe](Z * yt)), we = u.width = V + 1, Ce = we * (u.height = R + 1), Qo = (x - 1) / Ce, yi = new Uint8ClampedArray(4 * Ce), er = (J, Z) => 4 * Math.ceil(we * ve(Z - j) + Me(J - w));
|
|
1668
1668
|
e.buildKDTree();
|
|
1669
1669
|
for (let J = 0; J < Ce; J++) {
|
|
1670
|
-
let Z =
|
|
1671
|
-
|
|
1670
|
+
let Z = y[Math.ceil(Qo * J)], { x: bt, y: Fe } = Z;
|
|
1671
|
+
yi.set($o(Z.value, Z), er(bt, Fe));
|
|
1672
1672
|
}
|
|
1673
|
-
f.putImageData(new ImageData(
|
|
1673
|
+
f.putImageData(new ImageData(yi, we), 0, 0), r ? r.attr({ ...g, href: u.toDataURL("image/png", 1) }) : (e.directTouch = !1, e.image = a.renderer.image(u.toDataURL("image/png", 1)).attr(g).add(e.group));
|
|
1674
1674
|
}
|
|
1675
1675
|
e.isDirtyCanvas = !1;
|
|
1676
1676
|
} else (r.width !== p || r.height !== c) && r.attr(g);
|
|
@@ -1723,12 +1723,23 @@ function or() {
|
|
|
1723
1723
|
qo(this, "afterTranslate");
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
|
-
xe.defaultOptions = ft(
|
|
1726
|
+
xe.defaultOptions = ft(bi.defaultOptions, { animation: !1, borderRadius: 0, borderWidth: 0, interpolation: !1, nullColor: "#f7f7f7", dataLabels: { formatter: function() {
|
|
1727
1727
|
let { numberFormatter: l } = this.series.chart, { value: e } = this.point;
|
|
1728
1728
|
return Ro(e) ? l(e, -1) : "";
|
|
1729
1729
|
}, inside: !0, verticalAlign: "middle", crop: !1, overflow: "allow", padding: 0 }, marker: { symbol: "rect", radius: 0, lineColor: void 0, states: { hover: { lineWidthPlus: 0 }, select: {} } }, clip: !0, pointRange: null, tooltip: { pointFormat: "{point.x}, {point.y}: {point.value}<br/>" }, states: { hover: { halo: !1, brightness: 0.2 } }, legendSymbol: "rectangle" }), Uo(xe, "afterDataClassLegendClick", function() {
|
|
1730
1730
|
this.isDirtyCanvas = !0, this.drawPoints();
|
|
1731
1731
|
}), Ho(xe.prototype, { axisTypes: B.seriesMembers.axisTypes, colorKey: B.seriesMembers.colorKey, directTouch: !0, getExtremesFromAll: !0, keysAffectYAxis: ["y"], parallelArrays: B.seriesMembers.parallelArrays, pointArrayMap: ["y", "value"], pointClass: gi, specialGroup: "group", trackerGroups: B.seriesMembers.trackerGroups, alignDataLabel: Zo.prototype.alignDataLabel, colorAttribs: B.seriesMembers.colorAttribs, getSymbol: ae.prototype.getSymbol }), B.compose(xe), I().registerSeriesType("heatmap", xe);
|
|
1732
|
+
/**
|
|
1733
|
+
* @license Highmaps JS v12.3.0 (2025-06-21)
|
|
1734
|
+
* @module highcharts/modules/map
|
|
1735
|
+
* @requires highcharts
|
|
1736
|
+
*
|
|
1737
|
+
* Highmaps as a plugin for Highcharts or Highcharts Stock.
|
|
1738
|
+
*
|
|
1739
|
+
* (c) 2011-2025 Torstein Honsi
|
|
1740
|
+
*
|
|
1741
|
+
* License: www.highcharts.com/license
|
|
1742
|
+
*/
|
|
1732
1743
|
let L = v();
|
|
1733
1744
|
L.ColorMapComposition = B, L.MapChart = L.MapChart || ze, L.MapNavigation = L.MapNavigation || Le, L.MapView = L.MapView || N, L.Projection = L.Projection || E, L.mapChart = L.Map = L.MapChart.mapChart, L.maps = L.MapChart.maps, L.geojson = ke.geojson, L.topo2geo = ke.topo2geo, ke.compose(L.Chart), Ne.compose(L.Axis, L.Chart, L.Legend), Le.compose(ze, L.Pointer, L.SVGRenderer), N.compose(ze);
|
|
1734
1745
|
let Jo = v();
|