impact-ui 4.0.0-alpha.2 → 4.0.0-alpha.21
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/MIGRATION_GUIDE.md +37 -7
- package/README.md +6 -6
- package/bin/migrate.js +5 -5
- package/codemods/transform.js +17 -23
- package/dist/_virtual/BookmarkBorderOutlined.js +4 -0
- package/dist/_virtual/ChevronLeftOutlined.js +4 -0
- package/dist/_virtual/CloseRounded.js +4 -0
- package/dist/_virtual/FilterAltOutlined.js +4 -0
- package/dist/_virtual/FilterListOutlined.js +4 -0
- package/dist/_virtual/KeyboardRounded.js +4 -0
- package/dist/_virtual/index.js +4 -2
- package/dist/_virtual/index10.js +3 -3
- package/dist/_virtual/index11.js +3 -3
- package/dist/_virtual/index12.js +3 -3
- package/dist/_virtual/index13.js +2 -4
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index2.js +2 -4
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +2 -4
- package/dist/_virtual/index7.js +4 -2
- package/dist/_virtual/index8.js +3 -3
- package/dist/_virtual/index9.js +3 -3
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.js +45 -31
- package/dist/components/AccordionModern/SortableAccordionComp.js +3 -3
- package/dist/components/AccordionModern/index.js +2 -1
- package/dist/components/Alert/index.js +3 -2
- package/dist/components/Avatar/index.js +2 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +2 -1
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +2 -1
- package/dist/components/BottomSheet/index.js +2 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +10 -2
- package/dist/components/Button/Button.types.d.ts +4 -0
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +4 -1
- package/dist/components/ButtonGroup/ButtonGroup.types.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.types.d.ts.map +1 -1
- package/dist/components/ButtonGroup/index.d.ts +1 -1
- package/dist/components/ButtonGroup/index.d.ts.map +1 -1
- package/dist/components/ButtonGroup/index.js +7 -2
- package/dist/components/Card/index.js +2 -1
- package/dist/components/Chart/Chart.types.d.ts +2 -2
- package/dist/components/Chart/index.d.ts +1 -1
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +22 -14
- package/dist/components/Chatbot/Chatbot.types.d.ts +16 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.js +4 -3
- package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
- package/dist/components/Chatbot/chatInput.js +8 -7
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +6 -5
- package/dist/components/Chatbot/constant.d.ts.map +1 -1
- package/dist/components/Chatbot/constant.js +6 -5
- package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/historyPanel.js +2 -1
- package/dist/components/Chatbot/index.d.ts +1 -1
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +66 -9
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +3 -2
- package/dist/components/Checkbox/Checkbox.types.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/dist/components/Checkbox/Default.d.ts +1 -1
- package/dist/components/Checkbox/Default.d.ts.map +1 -1
- package/dist/components/Checkbox/Default.js +4 -0
- package/dist/components/Checkbox/index.js +2 -1
- package/dist/components/Chips/index.js +2 -1
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +4 -2
- package/dist/components/DatePicker/datePickerDropdown.js +2 -1
- package/dist/components/DatePicker/datePickerInput.d.ts +2 -0
- package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.js +4 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +7 -2
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.js +31 -0
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +4 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +20 -5
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +4 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.js +18 -4
- package/dist/components/DateRangePicker/index.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +31 -5
- package/dist/components/DynamicLayout/index.js +2 -1
- package/dist/components/EmptyState/EmptyState.types.d.ts +2 -2
- package/dist/components/EmptyState/EmptyStateImage.d.ts +0 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyStateImage.js +19 -37
- package/dist/components/EmptyState/index.d.ts +1 -2
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/EmptyState/index.js +35 -21
- package/dist/components/FileUpload/FileUpload.types.d.ts +10 -2
- package/dist/components/FileUpload/FileUpload.types.d.ts.map +1 -1
- package/dist/components/FileUpload/TemplatePreview.d.ts +9 -0
- package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -0
- package/dist/components/FileUpload/TemplatePreview.js +31 -0
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +1 -3
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +1 -1
- package/dist/components/FileUpload/fileUploadAssets.loader.js +17 -48
- package/dist/components/FileUpload/fileUploadUtils.d.ts +4 -0
- package/dist/components/FileUpload/fileUploadUtils.d.ts.map +1 -0
- package/dist/components/FileUpload/fileUploadUtils.js +14 -0
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FileUpload/index.js +115 -10
- package/dist/components/FileUpload/useFileUploadTemplateState.d.ts +14 -0
- package/dist/components/FileUpload/useFileUploadTemplateState.d.ts.map +1 -0
- package/dist/components/FileUpload/useFileUploadTemplateState.js +46 -0
- package/dist/components/FilterPanel/index.d.ts.map +1 -1
- package/dist/components/FilterPanel/index.js +34 -1
- package/dist/components/FiltersStrip/FiltersStrip.types.d.ts +2 -2
- package/dist/components/FiltersStrip/index.d.ts +1 -1
- package/dist/components/FiltersStrip/index.d.ts.map +1 -1
- package/dist/components/FiltersStrip/index.js +10 -3
- package/dist/components/Header/Header.types.d.ts +2 -2
- package/dist/components/Header/index.d.ts +1 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +148 -135
- package/dist/components/HomePage/constants.d.ts.map +1 -1
- package/dist/components/HomePage/constants.js +67 -66
- package/dist/components/HomePage/index.d.ts.map +1 -1
- package/dist/components/HomePage/index.js +66 -10
- package/dist/components/Input/InputWithIcon.d.ts +1 -1
- package/dist/components/Input/InputWithIcon.d.ts.map +1 -1
- package/dist/components/Input/InputWithIcon.js +20 -2
- package/dist/components/Input/VanillaInput.d.ts +1 -1
- package/dist/components/Input/VanillaInput.d.ts.map +1 -1
- package/dist/components/Input/VanillaInput.js +20 -2
- package/dist/components/Input/index.js +2 -1
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts +12 -0
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/Keycombo.js +20 -0
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +7 -0
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +69 -0
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +7 -0
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +167 -0
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +3 -0
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts +6 -0
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/allSetBox.js +32 -0
- package/dist/components/KeyboardShortCuts/index.d.ts +14 -0
- package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/index.js +187 -0
- package/dist/components/KeyboardShortCuts/screen2.d.ts +4 -0
- package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/screen2.js +19 -0
- package/dist/components/KeyboardShortCuts/screen3.d.ts +4 -0
- package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/screen3.js +19 -0
- package/dist/components/KeyboardShortCuts/tutorial.d.ts +7 -0
- package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/tutorial.js +161 -0
- package/dist/components/Loader/Loader.types.d.ts +2 -2
- package/dist/components/Loader/index.d.ts +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +57 -37
- package/dist/components/Menu/IconMenuItem.js +2 -1
- package/dist/components/Menu/Menu.types.d.ts +3 -1
- package/dist/components/Menu/Menu.types.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +4 -2
- package/dist/components/Menu/NestedMenuItem.js +2 -1
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +8 -4
- package/dist/components/Menu/nestedMenuItemsFromObject.js +2 -1
- package/dist/components/Modal/index.js +2 -1
- package/dist/components/MonthPicker/DefaultYearSelect.js +10 -0
- package/dist/components/MonthPicker/constants.js +4 -0
- package/dist/components/MonthPicker/index.js +324 -0
- package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts +30 -0
- package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts.map +1 -0
- package/dist/components/MonthRangePicker/constants.d.ts +2 -0
- package/dist/components/MonthRangePicker/constants.d.ts.map +1 -0
- package/dist/components/MonthRangePicker/constants.js +4 -0
- package/dist/components/MonthRangePicker/index.d.ts +22 -0
- package/dist/components/MonthRangePicker/index.d.ts.map +1 -0
- package/dist/components/MonthRangePicker/index.js +613 -0
- package/dist/components/Notification/Notification.types.d.ts +35 -5
- package/dist/components/Notification/Notification.types.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +21 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +49 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +30 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +212 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +14 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +299 -0
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +9 -0
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +71 -0
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +43 -0
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationTaskList.js +245 -0
- package/dist/components/Notification/NotificationBody/index.d.ts +2 -3
- package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/index.js +21 -11
- package/dist/components/Notification/index.js +2 -1
- package/dist/components/Notification/mockData.d.ts +14 -0
- package/dist/components/Notification/mockData.d.ts.map +1 -0
- package/dist/components/Panel/index.js +2 -1
- package/dist/components/Popover/index.js +2 -1
- package/dist/components/Portal/index.d.ts +1 -1
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/Portal/index.js +2 -1
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +2 -2
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.js +31 -14
- package/dist/components/Prompt/index.js +2 -1
- package/dist/components/RadioButtonGroup/index.d.ts +1 -1
- package/dist/components/RadioButtonGroup/index.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/index.js +11 -2
- package/dist/components/Select/SearchFilter.d.ts.map +1 -1
- package/dist/components/Select/SearchFilter.js +140 -28
- package/dist/components/Select/Select.types.d.ts +46 -1
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/customGroupHeading.js +1 -1
- package/dist/components/Select/dropdown.d.ts +1 -1
- package/dist/components/Select/dropdown.d.ts.map +1 -1
- package/dist/components/Select/dropdown.js +3 -2
- package/dist/components/Select/hooks/index.d.ts +3 -0
- package/dist/components/Select/hooks/index.d.ts.map +1 -1
- package/dist/components/Select/hooks/useKeyboardNavigation.d.ts +22 -0
- package/dist/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/components/Select/hooks/useKeyboardNavigation.js +160 -0
- package/dist/components/Select/hooks/useScrollIntoView.d.ts +11 -0
- package/dist/components/Select/hooks/useScrollIntoView.d.ts.map +1 -0
- package/dist/components/Select/hooks/useScrollIntoView.js +28 -0
- package/dist/components/Select/hooks/useTypeahead.d.ts +11 -0
- package/dist/components/Select/hooks/useTypeahead.d.ts.map +1 -0
- package/dist/components/Select/hooks/useTypeahead.js +41 -0
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +529 -151
- package/dist/components/Select/menuList.d.ts +2 -7
- package/dist/components/Select/menuList.d.ts.map +1 -1
- package/dist/components/Select/menuList.js +70 -18
- package/dist/components/Select/optionList.js +1 -1
- package/dist/components/Select/utils.d.ts +2 -2
- package/dist/components/Select/utils.d.ts.map +1 -1
- package/dist/components/Select/utils.js +3 -32
- package/dist/components/Shortcuts/ShortcutContext.d.ts +3 -0
- package/dist/components/Shortcuts/ShortcutContext.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutContext.js +5 -0
- package/dist/components/Shortcuts/ShortcutHint.d.ts +9 -0
- package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutHint.js +33 -0
- package/dist/components/Shortcuts/ShortcutScope.d.ts +9 -0
- package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutScope.js +10 -0
- package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts +7 -0
- package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutsConfigContext.js +8 -0
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts +9 -0
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutsProvider.js +18 -0
- package/dist/components/Shortcuts/index.d.ts +13 -0
- package/dist/components/Shortcuts/index.d.ts.map +1 -0
- package/dist/components/Shortcuts/useShortcut.d.ts +6 -0
- package/dist/components/Shortcuts/useShortcut.d.ts.map +1 -0
- package/dist/components/Shortcuts/useShortcut.js +92 -0
- package/dist/components/Shortcuts/useShortcutScope.d.ts +5 -0
- package/dist/components/Shortcuts/useShortcutScope.d.ts.map +1 -0
- package/dist/components/Shortcuts/useShortcutScope.js +25 -0
- package/dist/components/Sidebar/ChildMenu.js +1 -1
- package/dist/components/Sidebar/ParentMenu.js +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.js +2 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.js +64 -5
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +4 -2
- package/dist/components/Stepper/index.js +2 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.js +8 -3
- package/dist/components/Table/AdvanceSortModal.d.ts +8 -0
- package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -0
- package/dist/components/Table/AdvanceSortModal.js +285 -0
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +98 -65
- package/dist/components/Table/CommentsPortal.d.ts +1 -3
- package/dist/components/Table/CommentsPortal.d.ts.map +1 -1
- package/dist/components/Table/CommentsPortal.js +7 -7
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +14 -11
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +2 -7
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +11 -10
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +4 -3
- package/dist/components/Table/NoComments.d.ts.map +1 -1
- package/dist/components/Table/NoComments.js +3 -1
- package/dist/components/Table/Table.types.d.ts +13 -0
- package/dist/components/Table/Table.types.d.ts.map +1 -1
- package/dist/components/Table/TableImpl.d.ts +1 -2
- package/dist/components/Table/TableImpl.d.ts.map +1 -1
- package/dist/components/Table/TableImpl.js +334 -141
- package/dist/components/Table/actionBar.d.ts +12 -0
- package/dist/components/Table/actionBar.d.ts.map +1 -0
- package/dist/components/Table/actionBar.js +44 -0
- package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/commentPanel.d.ts +2 -1
- package/dist/components/Table/commentPanel.d.ts.map +1 -1
- package/dist/components/Table/commentPanel.js +13 -8
- package/dist/components/Table/filterUtils.d.ts +2 -0
- package/dist/components/Table/filterUtils.d.ts.map +1 -1
- package/dist/components/Table/filterUtils.js +23 -1
- package/dist/components/Table/tableFunctions.d.ts +1 -3
- package/dist/components/Table/tableFunctions.d.ts.map +1 -1
- package/dist/components/Table/tableFunctions.js +13 -12
- package/dist/components/Table/tableHeader.d.ts +6 -1
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableHeader.js +13 -3
- package/dist/components/Table/tableMoreOptions.d.ts +3 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.js +29 -2
- package/dist/components/Table/tableSettings.d.ts.map +1 -1
- package/dist/components/Table/tableSettings.js +1 -1
- package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
- package/dist/components/Table/withCommentIcon.js +2 -1
- package/dist/components/TableChat/EmptyContainer.js +2 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +6 -3
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +2 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +15 -16
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +3 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +4 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +14 -12
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType /ChatEditedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType /ChatEditedMessageType.js +5 -4
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +4 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +7 -6
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +2 -0
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +18 -14
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +7 -3
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +10 -21
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +4 -6
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +2 -1
- package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +12 -10
- package/dist/components/TableChat/components/TextEditor/MentionList.js +2 -1
- package/dist/components/TableChat/components/TextEditor/suggestion.js +2 -2
- package/dist/components/TableOld/AgGridHeader.d.ts +12 -0
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -0
- package/dist/components/TableOld/actionBar.d.ts +7 -0
- package/dist/components/TableOld/actionBar.d.ts.map +1 -0
- package/dist/components/TableOld/index.d.ts +3 -0
- package/dist/components/TableOld/index.d.ts.map +1 -0
- package/dist/components/TableOld/mockData.d.ts +39 -0
- package/dist/components/TableOld/mockData.d.ts.map +1 -0
- package/dist/components/TableOld/tableFunctions.d.ts +56 -0
- package/dist/components/TableOld/tableFunctions.d.ts.map +1 -0
- package/dist/components/TableOld/tableHeader.d.ts +48 -0
- package/dist/components/TableOld/tableHeader.d.ts.map +1 -0
- package/dist/components/TableOld/tableIcons.d.ts +3 -0
- package/dist/components/TableOld/tableIcons.d.ts.map +1 -0
- package/dist/components/TableOld/tablePagination.d.ts +8 -0
- package/dist/components/TableOld/tablePagination.d.ts.map +1 -0
- package/dist/components/TableOld/tableSettings.d.ts +11 -0
- package/dist/components/TableOld/tableSettings.d.ts.map +1 -0
- package/dist/components/Tabs/index.js +2 -1
- package/dist/components/Tag/Tag.types.d.ts +4 -0
- package/dist/components/Tag/Tag.types.d.ts.map +1 -1
- package/dist/components/Tag/filled.d.ts +1 -1
- package/dist/components/Tag/filled.d.ts.map +1 -1
- package/dist/components/Tag/filled.js +18 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +30 -28
- package/dist/components/Tag/solid.d.ts +1 -1
- package/dist/components/Tag/solid.d.ts.map +1 -1
- package/dist/components/Tag/solid.js +9 -1
- package/dist/components/Tag/stroke.d.ts +1 -1
- package/dist/components/Tag/stroke.d.ts.map +1 -1
- package/dist/components/Tag/stroke.js +9 -1
- package/dist/components/TagGroup/TagGroup.types.d.ts +2 -2
- package/dist/components/TagGroup/index.d.ts +1 -1
- package/dist/components/TagGroup/index.d.ts.map +1 -1
- package/dist/components/TagGroup/index.js +12 -2
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +28 -39
- package/dist/components/Toast/index.js +2 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/index.js +5 -4
- package/dist/components/YearSelect/index.js +83 -0
- package/dist/components/common/HelperText/HelperText.types.d.ts +2 -2
- package/dist/components/common/HelperText/index.d.ts +1 -1
- package/dist/components/common/HelperText/index.d.ts.map +1 -1
- package/dist/components/common/HelperText/index.js +12 -2
- package/dist/components/index.d.ts +11 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +37 -4
- package/dist/mcp-component-registry.json +3870 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +2 -1
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +1 -1
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +1 -0
- package/dist/node_modules/@mui/icons-material/Add.js +2 -2
- package/dist/node_modules/@mui/icons-material/AttachFile.js +2 -2
- package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +2 -2
- package/dist/node_modules/@mui/icons-material/Block.js +2 -2
- package/dist/node_modules/@mui/icons-material/BookmarkBorderOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/Brush.js +2 -2
- package/dist/node_modules/@mui/icons-material/Cancel.js +2 -2
- package/dist/node_modules/@mui/icons-material/CheckCircle.js +2 -2
- package/dist/node_modules/@mui/icons-material/ChevronLeft.js +2 -2
- package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/ChevronRight.js +2 -2
- package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Clear.js +2 -2
- package/dist/node_modules/@mui/icons-material/Close.js +2 -2
- package/dist/node_modules/@mui/icons-material/CloseOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/CloseRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/DragIndicator.js +2 -2
- package/dist/node_modules/@mui/icons-material/ErrorOutline.js +2 -2
- package/dist/node_modules/@mui/icons-material/ExpandLess.js +2 -2
- package/dist/node_modules/@mui/icons-material/ExpandMore.js +2 -2
- package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/FilterList.js +2 -2
- package/dist/node_modules/@mui/icons-material/FilterListOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/FormatBold.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatItalic.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +2 -2
- package/dist/node_modules/@mui/icons-material/Image.js +2 -2
- package/dist/node_modules/@mui/icons-material/Info.js +2 -2
- package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/Link.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks3.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks4.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks5.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks6.js +2 -2
- package/dist/node_modules/@mui/icons-material/LooksOne.js +2 -2
- package/dist/node_modules/@mui/icons-material/LooksTwo.js +2 -2
- package/dist/node_modules/@mui/icons-material/MoreHoriz.js +2 -2
- package/dist/node_modules/@mui/icons-material/MoreVert.js +2 -2
- package/dist/node_modules/@mui/icons-material/North.js +2 -2
- package/dist/node_modules/@mui/icons-material/NotificationsOff.js +2 -2
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Search.js +2 -2
- package/dist/node_modules/@mui/icons-material/SearchOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/StrikethroughS.js +2 -2
- package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Tune.js +2 -2
- package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Warning.js +2 -2
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +2 -2
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +2 -2
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +2 -2
- package/dist/node_modules/@mui/material/Alert/Alert.js +2 -2
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +2 -2
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +2 -2
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +2 -2
- package/dist/node_modules/@mui/material/Badge/Badge.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/node_modules/@mui/material/Button/Button.js +2 -2
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +2 -2
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +2 -2
- package/dist/node_modules/@mui/material/Card/Card.js +2 -2
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +2 -2
- package/dist/node_modules/@mui/material/Chip/Chip.js +2 -2
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +2 -2
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +2 -2
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -0
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +2 -2
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +2 -2
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +2 -2
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +2 -2
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +2 -2
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +2 -2
- package/dist/node_modules/@mui/material/Fade/Fade.js +2 -2
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +2 -2
- package/dist/node_modules/@mui/material/FilledInput/filledInputClasses.js +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +2 -2
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +2 -2
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +2 -2
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +2 -2
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow.js +2 -2
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +2 -2
- package/dist/node_modules/@mui/material/Input/Input.js +2 -2
- package/dist/node_modules/@mui/material/Input/inputClasses.js +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +2 -2
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +2 -2
- package/dist/node_modules/@mui/material/Link/Link.js +2 -2
- package/dist/node_modules/@mui/material/List/List.js +2 -2
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +2 -2
- package/dist/node_modules/@mui/material/Menu/Menu.js +2 -2
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +2 -2
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +2 -2
- package/dist/node_modules/@mui/material/Modal/Modal.js +2 -2
- package/dist/node_modules/@mui/material/Modal/useModal.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper.js +2 -2
- package/dist/node_modules/@mui/material/Popover/Popover.js +2 -2
- package/dist/node_modules/@mui/material/Popper/BasePopper.js +3 -3
- package/dist/node_modules/@mui/material/Popper/Popper.js +2 -2
- package/dist/node_modules/@mui/material/Radio/Radio.js +2 -2
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +2 -2
- package/dist/node_modules/@mui/material/Select/Select.js +2 -2
- package/dist/node_modules/@mui/material/Select/SelectInput.js +2 -2
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +2 -2
- package/dist/node_modules/@mui/material/Slide/Slide.js +2 -2
- package/dist/node_modules/@mui/material/Slider/Slider.js +2 -2
- package/dist/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +2 -2
- package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +2 -2
- package/dist/node_modules/@mui/material/Step/Step.js +2 -2
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +2 -2
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +2 -2
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +2 -2
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +2 -2
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +2 -2
- package/dist/node_modules/@mui/material/Switch/Switch.js +2 -2
- package/dist/node_modules/@mui/material/Tab/Tab.js +2 -2
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +2 -2
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +2 -2
- package/dist/node_modules/@mui/material/Typography/Typography.js +2 -2
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +2 -2
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/exactProp/exactProp.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +2 -2
- package/dist/node_modules/@mui/material/styles/createMixins.js +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette.js +2 -2
- package/dist/node_modules/@mui/material/styles/createTheme.js +2 -2
- package/dist/node_modules/@mui/material/styles/createTransitions.js +2 -2
- package/dist/node_modules/@mui/material/styles/createTypography.js +2 -2
- package/dist/node_modules/@mui/material/utils/createSvgIcon.js +1 -1
- package/dist/node_modules/@mui/material/utils/useSlot.js +2 -2
- package/dist/node_modules/@mui/system/colorManipulator.js +4 -4
- package/dist/node_modules/@mui/system/createStyled.js +11 -11
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +2 -2
- package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -0
- package/dist/node_modules/@mui/system/esm/createBox.js +2 -2
- package/dist/node_modules/@mui/system/esm/createStyled.js +2 -2
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +2 -2
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +2 -2
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +2 -2
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-dates/lib/initialize.js +2 -2
- package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +2 -2
- package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +2 -2
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +2 -2
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +4 -4
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +3 -3
- package/dist/storybook-utils/rootAttributes.d.ts +33 -0
- package/dist/storybook-utils/rootAttributes.d.ts.map +1 -0
- package/dist/storybook-utils.d.ts +2 -1
- package/dist/storybook-utils.d.ts.map +1 -1
- package/dist/styles/entry.d.ts +2 -0
- package/dist/styles/entry.d.ts.map +1 -0
- package/dist/styles/entry.js +1 -0
- package/dist/styles/style.css +1 -1
- package/dist/test-utils/itForwardsRootId.d.ts +15 -0
- package/dist/test-utils/itForwardsRootId.d.ts.map +1 -0
- package/dist/test-utils/rootAttributes.d.ts +22 -0
- package/dist/test-utils/rootAttributes.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/assetBase.d.ts +7 -0
- package/dist/utils/assetBase.d.ts.map +1 -0
- package/dist/utils/assetBase.js +14 -0
- package/dist/utils/debounce.d.ts +7 -2
- package/dist/utils/debounce.d.ts.map +1 -1
- package/dist/utils/debounce.js +8 -1
- package/dist/utils/pickRootDomAttributes.d.ts +18 -0
- package/dist/utils/pickRootDomAttributes.d.ts.map +1 -0
- package/dist/utils/shortcuts/ShortcutManager.d.ts +34 -0
- package/dist/utils/shortcuts/ShortcutManager.d.ts.map +1 -0
- package/dist/utils/shortcuts/ShortcutManager.js +159 -0
- package/dist/utils/shortcuts/constants.d.ts +10 -0
- package/dist/utils/shortcuts/constants.d.ts.map +1 -0
- package/dist/utils/shortcuts/constants.js +46 -0
- package/dist/utils/shortcuts/format.d.ts +3 -0
- package/dist/utils/shortcuts/format.d.ts.map +1 -0
- package/dist/utils/shortcuts/format.js +27 -0
- package/dist/utils/shortcuts/index.d.ts +8 -0
- package/dist/utils/shortcuts/index.d.ts.map +1 -0
- package/dist/utils/shortcuts/match.d.ts +9 -0
- package/dist/utils/shortcuts/match.d.ts.map +1 -0
- package/dist/utils/shortcuts/match.js +52 -0
- package/dist/utils/shortcuts/parse.d.ts +10 -0
- package/dist/utils/shortcuts/parse.d.ts.map +1 -0
- package/dist/utils/shortcuts/parse.js +50 -0
- package/dist/utils/shortcuts/platform.d.ts +2 -0
- package/dist/utils/shortcuts/platform.d.ts.map +1 -0
- package/dist/utils/shortcuts/platform.js +5 -0
- package/dist/utils/shortcuts/shortcuts.test.d.ts +2 -0
- package/dist/utils/shortcuts/shortcuts.test.d.ts.map +1 -0
- package/dist/utils/shortcuts/types.d.ts +50 -0
- package/dist/utils/shortcuts/types.d.ts.map +1 -0
- package/eslint-plugin/rules/no-barrel-import.js +21 -9
- package/package.json +21 -8
- package/dist/_virtual/extends.js +0 -6
- package/dist/_virtual/heatmap.js +0 -4
- package/dist/_virtual/highcharts-3d.js +0 -4
- package/dist/_virtual/highcharts-more.js +0 -4
- package/dist/_virtual/highcharts-react.min.js +0 -4
- package/dist/_virtual/highcharts.js +0 -4
- package/dist/_virtual/index17.js +0 -4
- package/dist/_virtual/interopRequireDefault.js +0 -4
- package/dist/_virtual/objectWithoutPropertiesLoose.js +0 -4
- package/dist/_virtual/stock.js +0 -4
- package/dist/_virtual/treemap.js +0 -4
- package/dist/_virtual/venn.js +0 -4
- package/dist/assets/Chart-dropdown.svg.js +0 -4
- package/dist/assets/CheckTickAll.svg.js +0 -4
- package/dist/assets/Collapse.svg.js +0 -4
- package/dist/assets/Comment.svg.js +0 -4
- package/dist/assets/Down.svg.js +0 -4
- package/dist/assets/IA_Logo.svg.js +0 -4
- package/dist/assets/MoreHorizontal.svg.js +0 -4
- package/dist/assets/Up.svg.js +0 -4
- package/dist/assets/active-notificationIcon.svg.js +0 -4
- package/dist/assets/activeModuleIcon.svg.js +0 -4
- package/dist/assets/bell.svg.js +0 -4
- package/dist/assets/bookmarkIcon.svg.js +0 -4
- package/dist/assets/calendar.svg.js +0 -4
- package/dist/assets/chat-home-icon.svg.js +0 -4
- package/dist/assets/chatBotMicIcon.svg.js +0 -4
- package/dist/assets/chatBotRefreshIcon.svg.js +0 -4
- package/dist/assets/chatBotSendIcon.svg.js +0 -4
- package/dist/assets/chatIcon.svg.js +0 -4
- package/dist/assets/chatbotBannerIcon.svg.js +0 -4
- package/dist/assets/chatbotStopIcon.svg.js +0 -4
- package/dist/assets/checkBlueIcon.svg.js +0 -4
- package/dist/assets/checkGreeIcon.svg.js +0 -4
- package/dist/assets/checkIcon.svg.js +0 -4
- package/dist/assets/clientLogos/Balsam.svg.js +0 -4
- package/dist/assets/clientLogos/Starboard.svg.js +0 -4
- package/dist/assets/clientLogos/figs.svg.js +0 -4
- package/dist/assets/close.svg.js +0 -4
- package/dist/assets/collapse-icon.svg.js +0 -4
- package/dist/assets/comment-indicator.svg.js +0 -4
- package/dist/assets/commentEmptyStateIcon.svg.js +0 -4
- package/dist/assets/createFlowImage.svg.js +0 -4
- package/dist/assets/csv-icon.svg.js +0 -4
- package/dist/assets/defaultViewIcon.svg.js +0 -4
- package/dist/assets/defaultViewIconActive.svg.js +0 -4
- package/dist/assets/delete-black.svg.js +0 -4
- package/dist/assets/deleteIcon.svg.js +0 -4
- package/dist/assets/deleteRedIcon.svg.js +0 -4
- package/dist/assets/downArrow.svg.js +0 -4
- package/dist/assets/edit-black.svg.js +0 -4
- package/dist/assets/editYellowIcon.svg.js +0 -4
- package/dist/assets/excel-icon.svg.js +0 -4
- package/dist/assets/expand-icon.svg.js +0 -4
- package/dist/assets/failed-csv-icon.svg.js +0 -4
- package/dist/assets/failed-excel-icon.svg.js +0 -4
- package/dist/assets/file-upload-error.svg.js +0 -4
- package/dist/assets/file-upload.svg.js +0 -4
- package/dist/assets/fileUploadDownloadIcon.svg.js +0 -4
- package/dist/assets/fileUploadRetryIcon.svg.js +0 -4
- package/dist/assets/hamburger-close.svg.js +0 -4
- package/dist/assets/help-icon.svg.js +0 -4
- package/dist/assets/historyIcon.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon1.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon2.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon3.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon4.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon5.svg.js +0 -4
- package/dist/assets/landingPageAssets/book-demo.svg.js +0 -4
- package/dist/assets/landingPageAssets/configuration_icon.svg.js +0 -4
- package/dist/assets/landingPageAssets/launch.svg.js +0 -4
- package/dist/assets/listIcon.svg.js +0 -4
- package/dist/assets/logout-icon.svg.js +0 -4
- package/dist/assets/material-symbols_sort.svg.js +0 -4
- package/dist/assets/message-icon-disabled.svg.js +0 -4
- package/dist/assets/message-icon.svg.js +0 -4
- package/dist/assets/newChatIcon.svg.js +0 -4
- package/dist/assets/no-filter-results.svg.js +0 -4
- package/dist/assets/notAllowedGreenIcon.svg.js +0 -4
- package/dist/assets/notification-dnd.svg.js +0 -4
- package/dist/assets/pageIcon.svg.js +0 -4
- package/dist/assets/pencilIcon.svg.js +0 -4
- package/dist/assets/pinedIcon.svg.js +0 -4
- package/dist/assets/pinnedIcon.svg.js +0 -4
- package/dist/assets/saveViewDeleteIcon.svg.js +0 -4
- package/dist/assets/saveViewEditIcon.svg.js +0 -4
- package/dist/assets/saveViewIcon.svg.js +0 -4
- package/dist/assets/search.svg.js +0 -4
- package/dist/assets/searchIcon.svg.js +0 -4
- package/dist/assets/searchIconTable.svg.js +0 -4
- package/dist/assets/sendIcon.svg.js +0 -4
- package/dist/assets/smartBotAlan.svg.js +0 -4
- package/dist/assets/success-fill.svg.js +0 -4
- package/dist/assets/success-gray.svg.js +0 -4
- package/dist/assets/sun.png.js +0 -4
- package/dist/assets/tableSettingIcon.svg.js +0 -4
- package/dist/assets/tableSortIcon.svg.js +0 -4
- package/dist/assets/text-icon.svg.js +0 -4
- package/dist/assets/thumbsUpYellowIcon.svg.js +0 -4
- package/dist/assets/thumbsupBlueIcon.svg.js +0 -4
- package/dist/assets/treadChatIcon.svg.js +0 -4
- package/dist/assets/treedotIcon.svg.js +0 -4
- package/dist/assets/unpinedIcon.svg.js +0 -4
- package/dist/assets/upload-close-icon.svg.js +0 -4
- package/dist/assets/upload-pause-icon.svg.js +0 -4
- package/dist/assets/uploadDownloadIcon.svg.js +0 -4
- package/dist/assets/userPlusIcon1.svg.js +0 -4
- package/dist/assets/warningRedIcon.svg.js +0 -4
- package/dist/assets/webp/clientLogos/PACSUN.webp.js +0 -4
- package/dist/assets/webp/clientLogos/aaa.webp.js +0 -4
- package/dist/assets/webp/clientLogos/al-futtaim.webp.js +0 -4
- package/dist/assets/webp/clientLogos/arhaus.webp.js +0 -4
- package/dist/assets/webp/clientLogos/asley-stewart.webp.js +0 -4
- package/dist/assets/webp/clientLogos/briscoe.webp.js +0 -4
- package/dist/assets/webp/clientLogos/carters.webp.js +0 -4
- package/dist/assets/webp/clientLogos/cb.webp.js +0 -4
- package/dist/assets/webp/clientLogos/coach.webp.js +0 -4
- package/dist/assets/webp/clientLogos/dollargeneral.webp.js +0 -4
- package/dist/assets/webp/clientLogos/fossil.webp.js +0 -4
- package/dist/assets/webp/clientLogos/jared.webp.js +0 -4
- package/dist/assets/webp/clientLogos/katespade.webp.js +0 -4
- package/dist/assets/webp/clientLogos/kay.webp.js +0 -4
- package/dist/assets/webp/clientLogos/kik.webp.js +0 -4
- package/dist/assets/webp/clientLogos/leslies.webp.js +0 -4
- package/dist/assets/webp/clientLogos/lovisa_1.webp.js +0 -4
- package/dist/assets/webp/clientLogos/lsco_logo_red.webp.js +0 -4
- package/dist/assets/webp/clientLogos/m-s.webp.js +0 -4
- package/dist/assets/webp/clientLogos/oshkosh.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pantagonia.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pink.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pitta-roso.webp.js +0 -4
- package/dist/assets/webp/clientLogos/psp.webp.js +0 -4
- package/dist/assets/webp/clientLogos/ralphlauren.webp.js +0 -4
- package/dist/assets/webp/clientLogos/rebel.webp.js +0 -4
- package/dist/assets/webp/clientLogos/scarpe.webp.js +0 -4
- package/dist/assets/webp/clientLogos/signet.webp.js +0 -4
- package/dist/assets/webp/clientLogos/so5.webp.js +0 -4
- package/dist/assets/webp/clientLogos/spanx.webp.js +0 -4
- package/dist/assets/webp/clientLogos/stevemadden.webp.js +0 -4
- package/dist/assets/webp/clientLogos/stuart.webp.js +0 -4
- package/dist/assets/webp/clientLogos/tillys.webp.js +0 -4
- package/dist/assets/webp/clientLogos/tommy-bahama.webp.js +0 -4
- package/dist/assets/webp/clientLogos/vs.webp.js +0 -4
- package/dist/assets/webp/clientLogos/zales.webp.js +0 -4
- package/dist/assets/webp/emptyState1.webp.js +0 -4
- package/dist/assets/webp/emptyState2.webp.js +0 -4
- package/dist/assets/webp/emptyState3.webp.js +0 -4
- package/dist/assets/webp/emptyState4.webp.js +0 -4
- package/dist/assets/webp/emptyState5.webp.js +0 -4
- package/dist/assets/webp/emptyState6.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/1.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/10.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/11.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/12.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/13.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/14.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/15.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/17.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/19.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/2.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/20.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/21.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/22.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/23.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/24.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/3.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/4.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/5.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/6.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/7.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/8.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/carouselImages/image-2.webp.js +0 -4
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -17
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -24
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -22
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +0 -59
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +0 -3405
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +0 -418
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +0 -301
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -257
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -122
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -34
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -149
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -38
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -61
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -53
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -51
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -22
- package/dist/node_modules/@popperjs/core/lib/enums.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -71
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -72
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -131
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -40
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -113
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -57
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -43
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -105
- package/dist/node_modules/@popperjs/core/lib/popper.js +0 -28
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -35
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -59
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -17
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -47
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -39
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
- package/dist/node_modules/@remix-run/router/dist/router.js +0 -400
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -4252
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -52
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -86
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -68
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -62
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -196
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -60
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -71
- package/dist/node_modules/@tiptap/extension-highlight/dist/index.js +0 -82
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -40
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -79
- package/dist/node_modules/@tiptap/extension-image/dist/index.js +0 -69
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -85
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -360
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-mention/dist/index.js +0 -213
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -86
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -36
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -60
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -72
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -1077
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -84
- package/dist/node_modules/@tiptap/suggestion/dist/index.js +0 -224
- package/dist/node_modules/dompurify/dist/purify.es.js +0 -1012
- package/dist/node_modules/emoji-picker-react/dist/emoji-picker-react.esm.js +0 -25708
- package/dist/node_modules/flairup/dist/esm/index.js +0 -334
- package/dist/node_modules/highcharts/highcharts-3d.js +0 -768
- package/dist/node_modules/highcharts/highcharts-more.js +0 -1814
- package/dist/node_modules/highcharts/highcharts.js +0 -5153
- package/dist/node_modules/highcharts/modules/heatmap.js +0 -416
- package/dist/node_modules/highcharts/modules/stock.js +0 -2095
- package/dist/node_modules/highcharts/modules/treemap.js +0 -558
- package/dist/node_modules/highcharts/modules/venn.js +0 -434
- package/dist/node_modules/highcharts-border-radius/index.js +0 -92
- package/dist/node_modules/highcharts-react-official/dist/highcharts-react.min.js +0 -106
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -1158
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +0 -52
- package/dist/node_modules/orderedmap/dist/index.js +0 -119
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -526
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -136
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -220
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -356
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -83
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -3208
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -130
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -935
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1861
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -5223
- package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -2089
- package/dist/node_modules/react-router/dist/index.js +0 -375
- package/dist/node_modules/react-router-dom/dist/index.js +0 -521
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2317
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1071
- package/dist/node_modules/react-select/dist/react-select.esm.js +0 -20
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -51
- package/dist/node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js +0 -213
- package/dist/node_modules/react-window/dist/index.esm.js +0 -505
- package/dist/node_modules/react-window/node_modules/memoize-one/dist/memoize-one.esm.js +0 -50
- package/dist/node_modules/rope-sequence/dist/index.js +0 -183
- package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -1283
- package/dist/node_modules/use-composed-ref/dist/use-composed-ref.esm.js +0 -25
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/node_modules/use-latest/dist/use-latest.esm.js +0 -12
- package/dist/node_modules/w3c-keyname/index.js +0 -105
- package/dist/stats.html +0 -4950
|
@@ -1,1814 +0,0 @@
|
|
|
1
|
-
import { commonjsGlobal, getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as highchartsMore } from "../../_virtual/highcharts-more.js";
|
|
3
|
-
(function(module, exports$1) {
|
|
4
|
-
!/**
|
|
5
|
-
* Highcharts JS v12.5.0 (2026-01-12)
|
|
6
|
-
* @module highcharts/highcharts-more
|
|
7
|
-
* @requires highcharts
|
|
8
|
-
*
|
|
9
|
-
* (c) 2009-2026 Highsoft AS
|
|
10
|
-
*
|
|
11
|
-
* A commercial license may be required depending on use.
|
|
12
|
-
* See www.highcharts.com/license
|
|
13
|
-
*/
|
|
14
|
-
function(t, e) {
|
|
15
|
-
module.exports = e(t._Highcharts, t._Highcharts.SeriesRegistry, t._Highcharts.Series, t._Highcharts.Series.types.column, t._Highcharts.Templating, t._Highcharts.Point, t._Highcharts.Color, t._Highcharts.Chart, t._Highcharts.SVGElement, t._Highcharts.StackItem);
|
|
16
|
-
}("u" < typeof window ? commonjsGlobal : window, (t, e, i, s, a, o, r, n, l, h) => (() => {
|
|
17
|
-
var p, d, c, u, g = { 28: (t10) => {
|
|
18
|
-
t10.exports = l;
|
|
19
|
-
}, 184: (t10) => {
|
|
20
|
-
t10.exports = h;
|
|
21
|
-
}, 260: (t10) => {
|
|
22
|
-
t10.exports = o;
|
|
23
|
-
}, 448: (t10) => {
|
|
24
|
-
t10.exports = s;
|
|
25
|
-
}, 512: (t10) => {
|
|
26
|
-
t10.exports = e;
|
|
27
|
-
}, 620: (t10) => {
|
|
28
|
-
t10.exports = r;
|
|
29
|
-
}, 820: (t10) => {
|
|
30
|
-
t10.exports = i;
|
|
31
|
-
}, 944: (e10) => {
|
|
32
|
-
e10.exports = t;
|
|
33
|
-
}, 960: (t10) => {
|
|
34
|
-
t10.exports = n;
|
|
35
|
-
}, 984: (t10) => {
|
|
36
|
-
t10.exports = a;
|
|
37
|
-
} }, f = {};
|
|
38
|
-
function m(t10) {
|
|
39
|
-
var e10 = f[t10];
|
|
40
|
-
if (void 0 !== e10) return e10.exports;
|
|
41
|
-
var i10 = f[t10] = { exports: {} };
|
|
42
|
-
return g[t10](i10, i10.exports, m), i10.exports;
|
|
43
|
-
}
|
|
44
|
-
m.n = (t10) => {
|
|
45
|
-
var e10 = t10 && t10.__esModule ? () => t10.default : () => t10;
|
|
46
|
-
return m.d(e10, { a: e10 }), e10;
|
|
47
|
-
}, m.d = (t10, e10) => {
|
|
48
|
-
for (var i10 in e10) m.o(e10, i10) && !m.o(t10, i10) && Object.defineProperty(t10, i10, { enumerable: true, get: e10[i10] });
|
|
49
|
-
}, m.o = (t10, e10) => Object.prototype.hasOwnProperty.call(t10, e10);
|
|
50
|
-
var b = {};
|
|
51
|
-
m.d(b, { default: () => aA });
|
|
52
|
-
var y = m(944), x = m.n(y), P = m(512), M = m.n(P), v = m(820), L = m.n(v);
|
|
53
|
-
let { deg2rad: k } = x(), { fireEvent: w, isNumber: A, pick: S, relativeLength: T } = x();
|
|
54
|
-
(p = d || (d = {})).getCenter = function() {
|
|
55
|
-
let t10 = this.options, e10 = this.chart, i10 = 2 * (t10.slicedOffset || 0), s10 = e10.plotWidth - 2 * i10, a2 = e10.plotHeight - 2 * i10, o2 = t10.center, r2 = Math.min(s10, a2), n2 = t10.thickness, l2, h2 = t10.size, p2 = t10.innerSize || 0, d2, c2;
|
|
56
|
-
"string" == typeof h2 && (h2 = parseFloat(h2)), "string" == typeof p2 && (p2 = parseFloat(p2));
|
|
57
|
-
let u2 = [S(o2 == null ? void 0 : o2[0], "50%"), S(o2 == null ? void 0 : o2[1], "50%"), S(h2 && h2 < 0 ? void 0 : t10.size, "100%"), S(p2 && p2 < 0 ? void 0 : t10.innerSize || 0, "0%")];
|
|
58
|
-
for (!e10.angular || this instanceof L() || (u2[3] = 0), d2 = 0; d2 < 4; ++d2) c2 = u2[d2], l2 = d2 < 2 || 2 === d2 && /%$/.test(c2), u2[d2] = T(c2, [s10, a2, r2, u2[2]][d2]) + (l2 ? i10 : 0);
|
|
59
|
-
return u2[3] > u2[2] && (u2[3] = u2[2]), A(n2) && 2 * n2 < u2[2] && n2 > 0 && (u2[3] = u2[2] - 2 * n2), w(this, "afterGetCenter", { positions: u2 }), u2;
|
|
60
|
-
}, p.getStartAndEndRadians = function(t10, e10) {
|
|
61
|
-
let i10 = A(t10) ? t10 : 0, s10 = A(e10) && e10 > i10 && e10 - i10 < 360 ? e10 : i10 + 360;
|
|
62
|
-
return { start: k * (i10 + -90), end: k * (s10 + -90) };
|
|
63
|
-
};
|
|
64
|
-
let C = d, { addEvent: N, correctFloat: X, defined: Y, pick: R } = x();
|
|
65
|
-
function I(t10) {
|
|
66
|
-
let e10, i10 = this;
|
|
67
|
-
return t10 && i10.pane.forEach((s10) => {
|
|
68
|
-
D(t10.chartX - i10.plotLeft, t10.chartY - i10.plotTop, s10.center) && (e10 = s10);
|
|
69
|
-
}), e10;
|
|
70
|
-
}
|
|
71
|
-
function E({ clipBox: t10 }) {
|
|
72
|
-
if (!this.xAxis || !this.yAxis || !this.chart.angular && !this.chart.polar) return;
|
|
73
|
-
let { plotWidth: e10, plotHeight: i10 } = this.chart, s10 = Math.min(e10, i10), a2 = this.xAxis.pane, o2 = this.yAxis.pane;
|
|
74
|
-
a2 && a2.axis && (t10.x += a2.center[0] - a2.center[2] / s10 * e10 / 2), o2 && o2.axis && (t10.y += o2.center[1] - o2.center[2] / s10 * i10 / 2);
|
|
75
|
-
}
|
|
76
|
-
function D(t10, e10, i10, s10, a2) {
|
|
77
|
-
let o2 = true, r2 = i10[0], n2 = i10[1], l2 = 2 * Math.PI, h2 = Math.sqrt(Math.pow(t10 - r2, 2) + Math.pow(e10 - n2, 2));
|
|
78
|
-
if (Y(s10) && Y(a2)) {
|
|
79
|
-
let i11 = Math.atan2(X(e10 - n2, 8), X(t10 - r2, 8));
|
|
80
|
-
i11 = (i11 + l2) % l2, s10 = (s10 + l2) % l2, Math.abs((a2 = (a2 + l2) % l2) - s10) > 1e-6 && (o2 = s10 > a2 ? i11 >= s10 || i11 <= a2 : i11 >= s10 && i11 <= a2);
|
|
81
|
-
} else o2 = true;
|
|
82
|
-
return h2 <= Math.ceil(i10[2] / 2) && o2;
|
|
83
|
-
}
|
|
84
|
-
function z(t10) {
|
|
85
|
-
this.polar && (t10.options.inverted && ([t10.x, t10.y] = [t10.y, t10.x]), t10.isInsidePlot = this.pane.some((e10) => D(t10.x, t10.y, e10.center, e10.axis && e10.axis.normalizedStartAngleRad, e10.axis && e10.axis.normalizedEndAngleRad)));
|
|
86
|
-
}
|
|
87
|
-
function O(t10) {
|
|
88
|
-
let e10 = this.chart;
|
|
89
|
-
t10.hoverPoint && t10.hoverPoint.plotX && t10.hoverPoint.plotY && e10.hoverPane && !D(t10.hoverPoint.plotX, t10.hoverPoint.plotY, e10.hoverPane.center) && (t10.hoverPoint = void 0);
|
|
90
|
-
}
|
|
91
|
-
function H(t10) {
|
|
92
|
-
let e10 = this.chart;
|
|
93
|
-
e10.polar ? (e10.hoverPane = e10.getHoverPane(t10), t10.filter = function(i10) {
|
|
94
|
-
return i10.visible && !(!t10.shared && i10.directTouch) && R(i10.options.enableMouseTracking, true) && (!e10.hoverPane || i10.xAxis.pane === e10.hoverPane);
|
|
95
|
-
}) : e10.hoverPane = void 0;
|
|
96
|
-
}
|
|
97
|
-
let { defaultOptions: B } = x(), W = { shape: "circle", borderRadius: 0, borderWidth: 1, borderColor: "#cccccc", backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [[0, "#ffffff"], [1, "#e6e6e6"]] }, from: -Number.MAX_VALUE, innerRadius: 0, to: Number.MAX_VALUE, outerRadius: "105%" }, F = { background: W, center: ["50%", "50%"], size: "85%", innerSize: "0%", startAngle: 0 };
|
|
98
|
-
B.pane = F;
|
|
99
|
-
let { extend: G, merge: q, splat: V } = x();
|
|
100
|
-
class _ {
|
|
101
|
-
constructor(t10, e10) {
|
|
102
|
-
this.coll = "pane", this.init(t10, e10);
|
|
103
|
-
}
|
|
104
|
-
init(t10, e10) {
|
|
105
|
-
this.chart = e10, this.background = [], e10.pane.push(this), this.setOptions(t10);
|
|
106
|
-
}
|
|
107
|
-
setOptions(t10) {
|
|
108
|
-
this.options = t10 = q(F, { background: this.chart.angular ? {} : void 0 }, t10);
|
|
109
|
-
}
|
|
110
|
-
render() {
|
|
111
|
-
let t10 = this.options, e10 = this.chart.renderer;
|
|
112
|
-
this.group || (this.group = e10.g("pane-group").attr({ zIndex: t10.zIndex || 0 }).add()), this.updateCenter();
|
|
113
|
-
let i10 = this.options.background;
|
|
114
|
-
if (i10) {
|
|
115
|
-
let t11 = Math.max((i10 = V(i10)).length, this.background.length || 0);
|
|
116
|
-
for (let e11 = 0; e11 < t11; e11++) i10[e11] && this.axis ? this.renderBackground(q(W, i10[e11]), e11) : this.background[e11] && (this.background[e11] = this.background[e11].destroy(), this.background.splice(e11, 1));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
renderBackground(t10, e10) {
|
|
120
|
-
let i10 = { class: "highcharts-pane " + (t10.className || "") }, s10 = "animate";
|
|
121
|
-
this.chart.styledMode || G(i10, { fill: t10.backgroundColor, stroke: t10.borderColor, "stroke-width": t10.borderWidth }), this.background[e10] || (this.background[e10] = this.chart.renderer.path().add(this.group), s10 = "attr"), this.background[e10][s10]({ d: this.axis.getPlotBandPath(t10.from, t10.to, t10) }).attr(i10);
|
|
122
|
-
}
|
|
123
|
-
updateCenter(t10) {
|
|
124
|
-
this.center = (t10 || this.axis || {}).center = C.getCenter.call(this);
|
|
125
|
-
}
|
|
126
|
-
update(t10, e10) {
|
|
127
|
-
q(true, this.options, t10), this.setOptions(this.options), this.render(), this.chart.axes.forEach(function(t11) {
|
|
128
|
-
t11.pane === this && (t11.pane = null, t11.update({}, e10));
|
|
129
|
-
}, this);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
_.compose = function(t10, e10, i10) {
|
|
133
|
-
let s10 = t10.prototype;
|
|
134
|
-
s10.getHoverPane || (s10.collectionsWithUpdate.push("pane"), s10.getHoverPane = I, N(t10, "afterIsInsidePlot", z), N(e10, "afterGetHoverData", O), N(e10, "beforeGetHoverData", H), N(i10, "setClip", E));
|
|
135
|
-
};
|
|
136
|
-
let { area: { prototype: { pointClass: U, pointClass: { prototype: K } } } } = M().seriesTypes, { defined: j, isNumber: Z } = x(), $ = class extends U {
|
|
137
|
-
setState() {
|
|
138
|
-
let t10 = this.state, e10 = this.series, i10 = e10.chart.polar;
|
|
139
|
-
j(this.plotHigh) || (this.plotHigh = e10.yAxis.toPixels(this.high, true)), j(this.plotLow) || (this.plotLow = this.plotY = e10.yAxis.toPixels(this.low, true)), e10.lowerStateMarkerGraphic = e10.stateMarkerGraphic, e10.stateMarkerGraphic = e10.upperStateMarkerGraphic, this.graphic = this.graphics && this.graphics[1], this.plotY = this.plotHigh, i10 && Z(this.plotHighX) && (this.plotX = this.plotHighX), K.setState.apply(this, arguments), this.state = t10, this.plotY = this.plotLow, this.graphic = this.graphics && this.graphics[0], i10 && Z(this.plotLowX) && (this.plotX = this.plotLowX), e10.upperStateMarkerGraphic = e10.stateMarkerGraphic, e10.stateMarkerGraphic = e10.lowerStateMarkerGraphic, e10.lowerStateMarkerGraphic = void 0;
|
|
140
|
-
let s10 = e10.modifyMarkerSettings();
|
|
141
|
-
K.setState.apply(this, arguments), e10.restoreMarkerSettings(s10);
|
|
142
|
-
}
|
|
143
|
-
haloPath() {
|
|
144
|
-
let t10 = this.series.chart.polar, e10 = [];
|
|
145
|
-
return this.plotY = this.plotLow, t10 && Z(this.plotLowX) && (this.plotX = this.plotLowX), this.isInside && (e10 = K.haloPath.apply(this, arguments)), this.plotY = this.plotHigh, t10 && Z(this.plotHighX) && (this.plotX = this.plotHighX), this.isTopInside && (e10 = e10.concat(K.haloPath.apply(this, arguments))), e10;
|
|
146
|
-
}
|
|
147
|
-
isValid() {
|
|
148
|
-
return Z(this.low) && Z(this.high);
|
|
149
|
-
}
|
|
150
|
-
}, { noop: Q } = x(), { area: J, area: { prototype: tt }, column: { prototype: te } } = M().seriesTypes, { addEvent: ti, defined: ts, extend: ta, isArray: to, isNumber: tr, pick: tn, merge: tl } = x();
|
|
151
|
-
class th extends J {
|
|
152
|
-
toYData(t10) {
|
|
153
|
-
return [t10.low, t10.high];
|
|
154
|
-
}
|
|
155
|
-
highToXY(t10) {
|
|
156
|
-
let e10 = this.chart, i10 = this.xAxis.postTranslate(t10.rectPlotX || 0, this.yAxis.len - (t10.plotHigh || 0));
|
|
157
|
-
t10.plotHighX = i10.x - e10.plotLeft, t10.plotHigh = i10.y - e10.plotTop, t10.plotLowX = t10.plotX;
|
|
158
|
-
}
|
|
159
|
-
getGraphPath(t10) {
|
|
160
|
-
let e10 = [], i10 = [], s10 = tt.getGraphPath, a2 = this.options, o2 = this.chart.polar, r2 = o2 && false !== a2.connectEnds, n2 = a2.connectNulls, l2, h2, p2, d2 = a2.step;
|
|
161
|
-
for (l2 = (t10 = t10 || this.points).length; l2--; ) {
|
|
162
|
-
h2 = t10[l2];
|
|
163
|
-
let s11 = o2 ? { plotX: h2.rectPlotX, plotY: h2.yBottom, doCurve: false } : { plotX: h2.plotX, plotY: h2.plotY, doCurve: false };
|
|
164
|
-
h2.isNull || r2 || n2 || t10[l2 + 1] && !t10[l2 + 1].isNull || i10.push(s11), p2 = { polarPlotY: h2.polarPlotY, rectPlotX: h2.rectPlotX, yBottom: h2.yBottom, plotX: tn(h2.plotHighX, h2.plotX), plotY: h2.plotHigh, isNull: h2.isNull }, i10.push(p2), e10.push(p2), h2.isNull || r2 || n2 || t10[l2 - 1] && !t10[l2 - 1].isNull || i10.push(s11);
|
|
165
|
-
}
|
|
166
|
-
let c2 = s10.call(this, t10);
|
|
167
|
-
d2 && (true === d2 && (d2 = "left"), a2.step = { left: "right", center: "center", right: "left" }[d2]);
|
|
168
|
-
let u2 = s10.call(this, e10), g2 = s10.call(this, i10);
|
|
169
|
-
a2.step = d2;
|
|
170
|
-
let f2 = [].concat(c2, u2);
|
|
171
|
-
return !this.chart.polar && g2[0] && "M" === g2[0][0] && (g2[0] = ["L", g2[0][1], g2[0][2]]), this.graphPath = f2, this.areaPath = c2.concat(g2), f2.isArea = true, f2.xMap = c2.xMap, this.areaPath.xMap = c2.xMap, f2;
|
|
172
|
-
}
|
|
173
|
-
drawDataLabels() {
|
|
174
|
-
var _a, _b;
|
|
175
|
-
let t10, e10, i10, s10, a2, o2 = this.points, r2 = o2.length, n2 = [], l2 = this.options.dataLabels, h2 = this.chart.inverted;
|
|
176
|
-
if (l2) {
|
|
177
|
-
if (to(l2) ? (s10 = l2[0] || { enabled: false }, a2 = l2[1] || { enabled: false }) : ((s10 = ta({}, l2)).x = l2.xHigh, s10.y = l2.yHigh, (a2 = ta({}, l2)).x = l2.xLow, a2.y = l2.yLow), s10.enabled || ((_a = this.hasDataLabels) == null ? void 0 : _a.call(this))) {
|
|
178
|
-
for (t10 = r2; t10--; ) if (e10 = o2[t10]) {
|
|
179
|
-
let { plotHigh: a3 = 0, plotLow: o3 = 0 } = e10;
|
|
180
|
-
i10 = s10.inside ? a3 < o3 : a3 > o3, e10.y = e10.high, e10._plotY = e10.plotY, e10.plotY = a3, n2[t10] = e10.dataLabel, e10.dataLabel = e10.dataLabelUpper, e10.below = i10, h2 ? s10.align || (s10.align = i10 ? "right" : "left") : s10.verticalAlign || (s10.verticalAlign = i10 ? "top" : "bottom");
|
|
181
|
-
}
|
|
182
|
-
for (this.options.dataLabels = s10, tt.drawDataLabels && tt.drawDataLabels.apply(this, arguments), t10 = r2; t10--; ) (e10 = o2[t10]) && (e10.dataLabelUpper = e10.dataLabel, e10.dataLabel = n2[t10], delete e10.dataLabels, e10.y = e10.low, e10.plotY = e10._plotY);
|
|
183
|
-
}
|
|
184
|
-
if (a2.enabled || ((_b = this.hasDataLabels) == null ? void 0 : _b.call(this))) {
|
|
185
|
-
for (t10 = r2; t10--; ) if (e10 = o2[t10]) {
|
|
186
|
-
let { plotHigh: t11 = 0, plotLow: s11 = 0 } = e10;
|
|
187
|
-
i10 = a2.inside ? t11 < s11 : t11 > s11, e10.below = !i10, h2 ? a2.align || (a2.align = i10 ? "left" : "right") : a2.verticalAlign || (a2.verticalAlign = i10 ? "bottom" : "top");
|
|
188
|
-
}
|
|
189
|
-
this.options.dataLabels = a2, tt.drawDataLabels && tt.drawDataLabels.apply(this, arguments);
|
|
190
|
-
}
|
|
191
|
-
if (s10.enabled) for (t10 = r2; t10--; ) (e10 = o2[t10]) && (e10.dataLabels = [e10.dataLabelUpper, e10.dataLabel].filter(function(t11) {
|
|
192
|
-
return !!t11;
|
|
193
|
-
}));
|
|
194
|
-
this.options.dataLabels = l2;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
alignDataLabel() {
|
|
198
|
-
te.alignDataLabel.apply(this, arguments);
|
|
199
|
-
}
|
|
200
|
-
modifyMarkerSettings() {
|
|
201
|
-
let t10 = { marker: this.options.marker, symbol: this.symbol };
|
|
202
|
-
if (this.options.lowMarker) {
|
|
203
|
-
let { options: { marker: t11, lowMarker: e10 } } = this;
|
|
204
|
-
this.options.marker = tl(t11, e10), e10.symbol && (this.symbol = e10.symbol);
|
|
205
|
-
}
|
|
206
|
-
return t10;
|
|
207
|
-
}
|
|
208
|
-
restoreMarkerSettings(t10) {
|
|
209
|
-
this.options.marker = t10.marker, this.symbol = t10.symbol;
|
|
210
|
-
}
|
|
211
|
-
drawPoints() {
|
|
212
|
-
let t10, e10, i10 = this.points.length, s10 = this.modifyMarkerSettings();
|
|
213
|
-
for (tt.drawPoints.apply(this, arguments), this.restoreMarkerSettings(s10), t10 = 0; t10 < i10; ) (e10 = this.points[t10]).graphics = e10.graphics || [], e10.origProps = { plotY: e10.plotY, plotX: e10.plotX, isInside: e10.isInside, negative: e10.negative, zone: e10.zone, y: e10.y }, (e10.graphic || e10.graphics[0]) && (e10.graphics[0] = e10.graphic), e10.graphic = e10.graphics[1], e10.plotY = e10.plotHigh, ts(e10.plotHighX) && (e10.plotX = e10.plotHighX), e10.y = tn(e10.high, e10.origProps.y), e10.negative = e10.y < (this.options.threshold || 0), this.zones.length && (e10.zone = e10.getZone()), this.chart.polar || (e10.isInside = e10.isTopInside = void 0 !== e10.plotY && e10.plotY >= 0 && e10.plotY <= this.yAxis.len && e10.plotX >= 0 && e10.plotX <= this.xAxis.len), t10++;
|
|
214
|
-
for (tt.drawPoints.apply(this, arguments), t10 = 0; t10 < i10; ) (e10 = this.points[t10]).graphics = e10.graphics || [], (e10.graphic || e10.graphics[1]) && (e10.graphics[1] = e10.graphic), e10.graphic = e10.graphics[0], e10.origProps && (ta(e10, e10.origProps), delete e10.origProps), t10++;
|
|
215
|
-
}
|
|
216
|
-
hasMarkerChanged(t10, e10) {
|
|
217
|
-
let i10 = t10.lowMarker, s10 = e10.lowMarker || {};
|
|
218
|
-
return i10 && (false === i10.enabled || s10.symbol !== i10.symbol || s10.height !== i10.height || s10.width !== i10.width) || super.hasMarkerChanged(t10, e10);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
th.defaultOptions = tl(J.defaultOptions, { lineWidth: 1, threshold: null, tooltip: { pointFormat: '<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>' }, trackByArea: true, dataLabels: { align: void 0, verticalAlign: void 0, xLow: 0, xHigh: 0, yLow: 0, yHigh: 0 } }), ti(th, "afterTranslate", function() {
|
|
222
|
-
"low,high" === this.pointArrayMap.join(",") && this.points.forEach((t10) => {
|
|
223
|
-
let e10 = t10.high, i10 = t10.plotY;
|
|
224
|
-
t10.isNull ? t10.plotY = void 0 : (t10.plotLow = i10, t10.plotHigh = tr(e10) ? this.yAxis.translate(this.dataModify ? this.dataModify.modifyValue(e10) : e10, false, true, void 0, true) : void 0, this.dataModify && (t10.yBottom = t10.plotHigh));
|
|
225
|
-
});
|
|
226
|
-
}, { order: 0 }), ti(th, "afterTranslate", function() {
|
|
227
|
-
this.points.forEach((t10) => {
|
|
228
|
-
if (this.chart.polar) this.highToXY(t10), t10.plotLow = t10.plotY, t10.tooltipPos = [((t10.plotHighX || 0) + (t10.plotLowX || 0)) / 2, ((t10.plotHigh || 0) + (t10.plotLow || 0)) / 2];
|
|
229
|
-
else {
|
|
230
|
-
let e10 = t10.pos(false, t10.plotLow), i10 = t10.pos(false, t10.plotHigh);
|
|
231
|
-
e10 && i10 && (e10[0] = (e10[0] + i10[0]) / 2, e10[1] = (e10[1] + i10[1]) / 2), t10.tooltipPos = e10;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
}, { order: 3 }), ta(th.prototype, { deferTranslatePolar: true, pointArrayMap: ["low", "high"], pointClass: $, pointValKey: "low", setStackedPoints: Q }), M().registerSeriesType("arearange", th);
|
|
235
|
-
let tp = th, { spline: { prototype: td } } = M().seriesTypes, { merge: tc, extend: tu } = x();
|
|
236
|
-
class tg extends tp {
|
|
237
|
-
}
|
|
238
|
-
tg.defaultOptions = tc(tp.defaultOptions), tu(tg.prototype, { getPointSpline: td.getPointSpline }), M().registerSeriesType("areasplinerange", tg);
|
|
239
|
-
var tf = m(448), tm = m.n(tf);
|
|
240
|
-
let { noop: tb } = x(), { crisp: ty, extend: tx, merge: tP, pick: tM, relativeLength: tv } = x();
|
|
241
|
-
class tL extends tm() {
|
|
242
|
-
pointAttribs() {
|
|
243
|
-
return {};
|
|
244
|
-
}
|
|
245
|
-
getWhiskerPair(t10, e10, i10, s10, a2) {
|
|
246
|
-
let o2 = a2.whiskers.strokeWidth(), r2 = (i11, s11) => {
|
|
247
|
-
let a3 = tv(i11, 2 * t10) / 2, r3 = ty(s11, o2);
|
|
248
|
-
return [["M", ty(e10 - a3), r3], ["L", ty(e10 + a3), r3]];
|
|
249
|
-
};
|
|
250
|
-
return [...r2(i10, a2.highPlot), ...r2(s10, a2.lowPlot)];
|
|
251
|
-
}
|
|
252
|
-
translate() {
|
|
253
|
-
let t10 = this.yAxis, e10 = this.pointArrayMap;
|
|
254
|
-
super.translate.apply(this), this.points.forEach(function(i10) {
|
|
255
|
-
e10.forEach(function(e11) {
|
|
256
|
-
null !== i10[e11] && (i10[e11 + "Plot"] = t10.translate(i10[e11], 0, 1, 0, 1));
|
|
257
|
-
}), i10.plotHigh = i10.highPlot;
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
drawPoints() {
|
|
261
|
-
let t10, e10, i10, s10, a2, o2, r2, n2, l2, h2, p2, d2 = this.points, c2 = this.options, u2 = this.chart, g2 = u2.renderer, f2 = false !== this.doQuartiles, m2 = this.options.whiskerLength;
|
|
262
|
-
for (let b2 of d2) {
|
|
263
|
-
let d3 = (n2 = b2.graphic) ? "animate" : "attr", y2 = b2.shapeArgs, x2 = {}, P2 = {}, M2 = {}, v2 = {}, L2 = b2.color || this.color, k2 = b2.options.whiskerLength || m2;
|
|
264
|
-
if (void 0 !== b2.plotY) {
|
|
265
|
-
let w2;
|
|
266
|
-
l2 = y2.width, p2 = (h2 = y2.x) + l2, t10 = f2 ? b2.q1Plot : b2.lowPlot, e10 = f2 ? b2.q3Plot : b2.lowPlot, i10 = b2.highPlot, s10 = b2.lowPlot, n2 || (b2.graphic = n2 = g2.g("point").add(this.group), b2.stem = g2.path().addClass("highcharts-boxplot-stem").add(n2), m2 && (b2.whiskers = g2.path().addClass("highcharts-boxplot-whisker").add(n2)), f2 && (b2.box = g2.path(r2).addClass("highcharts-boxplot-box").add(n2)), b2.medianShape = g2.path(o2).addClass("highcharts-boxplot-median").add(n2)), u2.styledMode || (P2.stroke = b2.stemColor || c2.stemColor || L2, P2["stroke-width"] = tM(b2.stemWidth, c2.stemWidth, c2.lineWidth), P2.dashstyle = b2.stemDashStyle || c2.stemDashStyle || c2.dashStyle, b2.stem.attr(P2), k2 && (M2.stroke = b2.whiskerColor || c2.whiskerColor || L2, M2["stroke-width"] = tM(b2.whiskerWidth, c2.whiskerWidth, c2.lineWidth), M2.dashstyle = b2.whiskerDashStyle || c2.whiskerDashStyle || c2.dashStyle, b2.whiskers.attr(M2)), f2 && (x2.fill = b2.fillColor || c2.fillColor || L2, x2.stroke = c2.lineColor || L2, x2["stroke-width"] = c2.lineWidth || 0, x2.dashstyle = b2.boxDashStyle || c2.boxDashStyle || c2.dashStyle, b2.box.attr(x2)), v2.stroke = b2.medianColor || c2.medianColor || L2, v2["stroke-width"] = tM(b2.medianWidth, c2.medianWidth, c2.lineWidth), v2.dashstyle = b2.medianDashStyle || c2.medianDashStyle || c2.dashStyle, b2.medianShape.attr(v2));
|
|
267
|
-
let A2 = ty((b2.plotX || 0) + (this.pointXOffset || 0) + (this.barW || 0) / 2, b2.stem.strokeWidth());
|
|
268
|
-
if (w2 = [["M", A2, e10], ["L", A2, i10], ["M", A2, t10], ["L", A2, s10]], b2.stem[d3]({ d: w2 }), f2) {
|
|
269
|
-
let i11 = b2.box.strokeWidth();
|
|
270
|
-
t10 = ty(t10, i11), e10 = ty(e10, i11), w2 = [["M", h2 = ty(h2, i11), e10], ["L", h2, t10], ["L", p2 = ty(p2, i11), t10], ["L", p2, e10], ["L", h2, e10], ["Z"]], b2.box[d3]({ d: w2 });
|
|
271
|
-
}
|
|
272
|
-
if (k2) {
|
|
273
|
-
let t11 = l2 / 2, e11 = this.getWhiskerPair(t11, A2, b2.upperWhiskerLength ?? c2.upperWhiskerLength ?? k2, b2.lowerWhiskerLength ?? c2.lowerWhiskerLength ?? k2, b2);
|
|
274
|
-
b2.whiskers[d3]({ d: e11 });
|
|
275
|
-
}
|
|
276
|
-
w2 = [["M", h2, a2 = ty(b2.medianPlot, b2.medianShape.strokeWidth())], ["L", p2, a2]], b2.medianShape[d3]({ d: w2 });
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
toYData(t10) {
|
|
281
|
-
return [t10.low, t10.q1, t10.median, t10.q3, t10.high];
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
tL.defaultOptions = tP(tm().defaultOptions, { threshold: null, tooltip: { pointFormat: '<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>' }, whiskerLength: "50%", fillColor: "#ffffff", lineWidth: 1, medianWidth: 2, whiskerWidth: 2 }), tx(tL.prototype, { pointArrayMap: ["low", "q1", "median", "q3", "high"], pointValKey: "high", drawDataLabels: tb, setStackedPoints: tb }), M().registerSeriesType("boxplot", tL);
|
|
285
|
-
let tk = tL, tw = { borderColor: void 0, borderWidth: 2, className: void 0, color: void 0, connectorClassName: void 0, connectorColor: void 0, connectorDistance: 60, connectorWidth: 1, enabled: false, labels: { className: void 0, allowOverlap: false, 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: false, zIndex: 1, zThreshold: 0 };
|
|
286
|
-
var tA = m(984), tS = m.n(tA);
|
|
287
|
-
let { noop: tT } = x(), { arrayMax: tC, arrayMin: tN, isNumber: tX, merge: tY, pick: tR, stableSort: tI } = x(), tE = class {
|
|
288
|
-
constructor(t10, e10) {
|
|
289
|
-
this.setState = tT, this.init(t10, e10);
|
|
290
|
-
}
|
|
291
|
-
init(t10, e10) {
|
|
292
|
-
this.options = t10, this.visible = true, this.chart = e10.chart, this.legend = e10;
|
|
293
|
-
}
|
|
294
|
-
addToLegend(t10) {
|
|
295
|
-
t10.splice(this.options.legendIndex, 0, this);
|
|
296
|
-
}
|
|
297
|
-
drawLegendSymbol(t10) {
|
|
298
|
-
let e10, i10 = tR(t10.options.itemDistance, 20), s10 = this.legendItem || {}, a2 = this.options, o2 = a2.ranges, r2 = a2.connectorDistance;
|
|
299
|
-
if (!o2 || !o2.length || !tX(o2[0].value)) {
|
|
300
|
-
t10.options.bubbleLegend.autoRanges = true;
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
tI(o2, function(t11, e11) {
|
|
304
|
-
return e11.value - t11.value;
|
|
305
|
-
}), this.ranges = o2, this.setOptions(), this.render();
|
|
306
|
-
let n2 = this.getMaxLabelSize(), l2 = this.ranges[0].radius, h2 = 2 * l2;
|
|
307
|
-
e10 = (e10 = r2 - l2 + n2.width) > 0 ? e10 : 0, this.maxLabel = n2, this.movementX = "left" === a2.labels.align ? e10 : 0, s10.labelWidth = h2 + e10 + i10, s10.labelHeight = h2 + n2.height / 2;
|
|
308
|
-
}
|
|
309
|
-
setOptions() {
|
|
310
|
-
let t10 = this.ranges, e10 = this.options, i10 = this.chart.series[e10.seriesIndex], s10 = this.legend.baseline, a2 = { zIndex: e10.zIndex, "stroke-width": e10.borderWidth }, o2 = { zIndex: e10.zIndex, "stroke-width": e10.connectorWidth }, r2 = { align: this.legend.options.rtl || "left" === e10.labels.align ? "right" : "left", zIndex: e10.zIndex }, n2 = i10.options.marker.fillOpacity, l2 = this.chart.styledMode;
|
|
311
|
-
t10.forEach(function(h2, p2) {
|
|
312
|
-
l2 || (a2.stroke = tR(h2.borderColor, e10.borderColor, i10.color), a2.fill = h2.color || e10.color, a2.fill || (a2.fill = i10.color, a2["fill-opacity"] = n2 ?? 1), o2.stroke = tR(h2.connectorColor, e10.connectorColor, i10.color)), t10[p2].radius = this.getRangeRadius(h2.value), t10[p2] = tY(t10[p2], { center: t10[0].radius - t10[p2].radius + s10 }), l2 || tY(true, t10[p2], { bubbleAttribs: tY(a2), connectorAttribs: tY(o2), labelAttribs: r2 });
|
|
313
|
-
}, this);
|
|
314
|
-
}
|
|
315
|
-
getRangeRadius(t10) {
|
|
316
|
-
let e10 = this.options, i10 = this.options.seriesIndex, s10 = this.chart.series[i10], a2 = e10.ranges[0].value, o2 = e10.ranges[e10.ranges.length - 1].value, r2 = e10.minSize, n2 = e10.maxSize;
|
|
317
|
-
return s10.getRadius.call(this, o2, a2, r2, n2, t10);
|
|
318
|
-
}
|
|
319
|
-
render() {
|
|
320
|
-
let t10 = this.legendItem || {}, e10 = this.chart.renderer, i10 = this.options.zThreshold;
|
|
321
|
-
for (let s10 of (this.symbols || (this.symbols = { connectors: [], bubbleItems: [], labels: [] }), t10.symbol = e10.g("bubble-legend"), t10.label = e10.g("bubble-legend-item").css(this.legend.itemStyle || {}), t10.symbol.translateX = 0, t10.symbol.translateY = 0, t10.symbol.add(t10.label), t10.label.add(t10.group), this.ranges)) s10.value >= i10 && this.renderRange(s10);
|
|
322
|
-
this.hideOverlappingLabels();
|
|
323
|
-
}
|
|
324
|
-
renderRange(t10) {
|
|
325
|
-
let e10 = this.ranges[0], i10 = this.legend, s10 = this.options, a2 = s10.labels, o2 = this.chart, r2 = o2.series[s10.seriesIndex], n2 = o2.renderer, l2 = this.symbols, h2 = l2.labels, p2 = t10.center, d2 = Math.abs(t10.radius), c2 = s10.connectorDistance || 0, u2 = a2.align, g2 = i10.options.rtl, f2 = s10.borderWidth, m2 = s10.connectorWidth, b2 = e10.radius || 0, y2 = p2 - d2 - f2 / 2 + m2 / 2, x2 = (y2 % 1 ? 1 : 0.5) - (m2 % 2 ? 0 : 0.5), P2 = n2.styledMode, M2 = g2 || "left" === u2 ? -c2 : c2;
|
|
326
|
-
"center" === u2 && (M2 = 0, s10.connectorDistance = 0, t10.labelAttribs.align = "center"), l2.bubbleItems.push(n2.circle(b2, p2 + x2, d2).attr(P2 ? {} : t10.bubbleAttribs).addClass((P2 ? "highcharts-color-" + r2.colorIndex + " " : "") + "highcharts-bubble-legend-symbol " + (s10.className || "")).add(this.legendItem.symbol)), l2.connectors.push(n2.path(n2.crispLine([["M", b2, y2], ["L", b2 + M2, y2]], s10.connectorWidth)).attr(P2 ? {} : t10.connectorAttribs).addClass((P2 ? "highcharts-color-" + this.options.seriesIndex + " " : "") + "highcharts-bubble-legend-connectors " + (s10.connectorClassName || "")).add(this.legendItem.symbol));
|
|
327
|
-
let v2 = n2.text(this.formatLabel(t10)).attr(P2 ? {} : t10.labelAttribs).css(P2 ? {} : a2.style).addClass("highcharts-bubble-legend-labels " + (s10.labels.className || "")).add(this.legendItem.symbol), L2 = { x: b2 + M2 + s10.labels.x, y: y2 + s10.labels.y + 0.4 * v2.getBBox().height };
|
|
328
|
-
v2.attr(L2), h2.push(v2), v2.placed = true, v2.alignAttr = L2;
|
|
329
|
-
}
|
|
330
|
-
getMaxLabelSize() {
|
|
331
|
-
let t10, e10;
|
|
332
|
-
return this.symbols.labels.forEach(function(i10) {
|
|
333
|
-
e10 = i10.getBBox(true), t10 = t10 ? e10.width > t10.width ? e10 : t10 : e10;
|
|
334
|
-
}), t10 || {};
|
|
335
|
-
}
|
|
336
|
-
formatLabel(t10) {
|
|
337
|
-
let e10 = this.options, i10 = e10.labels.formatter, s10 = e10.labels.format, { numberFormatter: a2 } = this.chart;
|
|
338
|
-
return s10 ? tS().format(s10, t10, this.chart) : i10 ? i10.call(t10) : a2(t10.value, 1);
|
|
339
|
-
}
|
|
340
|
-
hideOverlappingLabels() {
|
|
341
|
-
let t10 = this.chart, e10 = this.options.labels.allowOverlap, i10 = this.symbols;
|
|
342
|
-
!e10 && i10 && (t10.hideOverlappingLabels(i10.labels), i10.labels.forEach(function(t11, e11) {
|
|
343
|
-
t11.newOpacity ? t11.newOpacity !== t11.oldOpacity && i10.connectors[e11].show() : i10.connectors[e11].hide();
|
|
344
|
-
}));
|
|
345
|
-
}
|
|
346
|
-
getRanges() {
|
|
347
|
-
let t10 = this.legend.bubbleLegend, e10 = t10.chart.series, i10 = t10.options.ranges, s10, a2, o2 = Number.MAX_VALUE, r2 = -Number.MAX_VALUE;
|
|
348
|
-
return e10.forEach(function(t11) {
|
|
349
|
-
t11.isBubble && !t11.ignoreSeries && (a2 = t11.getColumn("z").filter(tX)).length && (o2 = tR(t11.options.zMin, Math.min(o2, Math.max(tN(a2), false === t11.options.displayNegative ? t11.options.zThreshold : -Number.MAX_VALUE))), r2 = tR(t11.options.zMax, Math.max(r2, tC(a2))));
|
|
350
|
-
}), s10 = o2 === r2 ? [{ value: r2 }] : [{ value: o2 }, { value: (o2 + r2) / 2 }, { value: r2, autoRanges: true }], i10.length && i10[0].radius && s10.reverse(), s10.forEach(function(t11, e11) {
|
|
351
|
-
i10 && i10[e11] && (s10[e11] = tY(i10[e11], t11));
|
|
352
|
-
}), s10;
|
|
353
|
-
}
|
|
354
|
-
predictBubbleSizes() {
|
|
355
|
-
let t10 = this.chart, e10 = t10.legend.options, i10 = e10.floating, s10 = "horizontal" === e10.layout, a2 = s10 ? t10.legend.lastLineHeight : 0, o2 = t10.plotSizeX, r2 = t10.plotSizeY, n2 = t10.series[this.options.seriesIndex], l2 = n2.getPxExtremes(), h2 = Math.ceil(l2.minPxSize), p2 = Math.ceil(l2.maxPxSize), d2 = Math.min(r2, o2), c2, u2 = n2.options.maxSize;
|
|
356
|
-
return i10 || !/%$/.test(u2) ? c2 = p2 : (c2 = (d2 + a2) * (u2 = parseFloat(u2)) / 100 / (u2 / 100 + 1), (s10 && r2 - c2 >= o2 || !s10 && o2 - c2 >= r2) && (c2 = p2)), [h2, Math.ceil(c2)];
|
|
357
|
-
}
|
|
358
|
-
updateRanges(t10, e10) {
|
|
359
|
-
let i10 = this.legend.options.bubbleLegend;
|
|
360
|
-
i10.minSize = t10, i10.maxSize = e10, i10.ranges = this.getRanges();
|
|
361
|
-
}
|
|
362
|
-
correctSizes() {
|
|
363
|
-
let t10 = this.legend, e10 = this.chart.series[this.options.seriesIndex].getPxExtremes();
|
|
364
|
-
Math.abs(Math.ceil(e10.maxPxSize) - this.options.maxSize) > 1 && (this.updateRanges(this.options.minSize, e10.maxPxSize), t10.render());
|
|
365
|
-
}
|
|
366
|
-
}, { setOptions: tD } = x(), { composed: tz } = x(), { addEvent: tO, objectEach: tH, pushUnique: tB, wrap: tW } = x();
|
|
367
|
-
function tF(t10, e10, i10) {
|
|
368
|
-
let s10, a2, o2, r2 = this.legend, n2 = tG(this) >= 0;
|
|
369
|
-
r2 && r2.options.enabled && r2.bubbleLegend && r2.options.bubbleLegend.autoRanges && n2 ? (s10 = r2.bubbleLegend.options, a2 = r2.bubbleLegend.predictBubbleSizes(), r2.bubbleLegend.updateRanges(a2[0], a2[1]), s10.placed || (r2.group.placed = false, r2.allItems.forEach((t11) => {
|
|
370
|
-
(o2 = t11.legendItem || {}).group && (o2.group.translateY = void 0);
|
|
371
|
-
})), r2.render(), s10.placed || (this.getMargins(), this.axes.forEach((t11) => {
|
|
372
|
-
t11.setScale(), t11.updateNames(), tH(t11.ticks, function(t12) {
|
|
373
|
-
t12.isNew = true, t12.isNewLabel = true;
|
|
374
|
-
});
|
|
375
|
-
}), this.getMargins()), s10.placed = true, t10.call(this, e10, i10), r2.bubbleLegend.correctSizes(), tU(r2, tq(r2))) : (t10.call(this, e10, i10), r2 && r2.options.enabled && r2.bubbleLegend && (r2.render(), tU(r2, tq(r2))));
|
|
376
|
-
}
|
|
377
|
-
function tG(t10) {
|
|
378
|
-
let e10 = t10.series, i10 = 0;
|
|
379
|
-
for (; i10 < e10.length; ) {
|
|
380
|
-
if (e10[i10] && e10[i10].isBubble && e10[i10].visible && e10[i10].dataTable.rowCount) return i10;
|
|
381
|
-
i10++;
|
|
382
|
-
}
|
|
383
|
-
return -1;
|
|
384
|
-
}
|
|
385
|
-
function tq(t10) {
|
|
386
|
-
let e10 = t10.allItems, i10 = [], s10 = e10.length, a2, o2, r2, n2 = 0, l2 = 0;
|
|
387
|
-
for (n2 = 0; n2 < s10; n2++) if (o2 = e10[n2].legendItem || {}, r2 = (e10[n2 + 1] || {}).legendItem || {}, o2.labelHeight && (e10[n2].itemHeight = o2.labelHeight), e10[n2] === e10[s10 - 1] || o2.y !== r2.y) {
|
|
388
|
-
for (i10.push({ height: 0 }), a2 = i10[i10.length - 1]; l2 <= n2; l2++) e10[l2].itemHeight > a2.height && (a2.height = e10[l2].itemHeight);
|
|
389
|
-
a2.step = n2;
|
|
390
|
-
}
|
|
391
|
-
return i10;
|
|
392
|
-
}
|
|
393
|
-
function tV(t10) {
|
|
394
|
-
let e10 = this.bubbleLegend, i10 = this.options, s10 = i10.bubbleLegend, a2 = tG(this.chart);
|
|
395
|
-
e10 && e10.ranges && e10.ranges.length && (s10.ranges.length && (s10.autoRanges = !!s10.ranges[0].autoRanges), this.destroyItem(e10)), a2 >= 0 && i10.enabled && s10.enabled && (s10.seriesIndex = a2, this.bubbleLegend = new tE(s10, this), this.bubbleLegend.addToLegend(t10.allItems));
|
|
396
|
-
}
|
|
397
|
-
function t_(t10) {
|
|
398
|
-
let e10;
|
|
399
|
-
if (t10.defaultPrevented) return false;
|
|
400
|
-
let i10 = t10.legendItem, s10 = this.chart, a2 = i10.visible;
|
|
401
|
-
this && this.bubbleLegend && (i10.visible = !a2, i10.ignoreSeries = a2, e10 = tG(s10) >= 0, this.bubbleLegend.visible !== e10 && (this.update({ bubbleLegend: { enabled: e10 } }), this.bubbleLegend.visible = e10), i10.visible = a2);
|
|
402
|
-
}
|
|
403
|
-
function tU(t10, e10) {
|
|
404
|
-
let i10 = t10.allItems, s10 = t10.options.rtl, a2, o2, r2, n2, l2 = 0;
|
|
405
|
-
i10.forEach((t11, i11) => {
|
|
406
|
-
(n2 = t11.legendItem || {}).group && (a2 = n2.group.translateX || 0, o2 = n2.y || 0, ((r2 = t11.movementX) || s10 && t11.ranges) && (r2 = s10 ? a2 - t11.options.maxSize / 2 : a2 + r2, n2.group.attr({ translateX: r2 })), i11 > e10[l2].step && l2++, n2.group.attr({ translateY: Math.round(o2 + e10[l2].height / 2) }), n2.y = o2 + e10[l2].height / 2);
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
let tK = function(t10, e10) {
|
|
410
|
-
tB(tz, "Series.BubbleLegend") && (tD({ legend: { bubbleLegend: tw } }), tW(t10.prototype, "drawChartBox", tF), tO(e10, "afterGetAllItems", tV), tO(e10, "itemClick", t_));
|
|
411
|
-
};
|
|
412
|
-
var tj = m(260), tZ = m.n(tj);
|
|
413
|
-
let { seriesTypes: { scatter: { prototype: { pointClass: t$ } } } } = M(), { extend: tQ } = x();
|
|
414
|
-
class tJ extends t$ {
|
|
415
|
-
haloPath(t10) {
|
|
416
|
-
let e10 = (t10 && this.marker && this.marker.radius || 0) + t10;
|
|
417
|
-
if (this.series.chart.inverted) {
|
|
418
|
-
let t11 = this.pos() || [0, 0], { xAxis: i10, yAxis: s10, chart: a2 } = this.series, o2 = 2 * e10;
|
|
419
|
-
return a2.renderer.symbols.circle(((i10 == null ? void 0 : i10.len) || 0) - t11[1] - e10, ((s10 == null ? void 0 : s10.len) || 0) - t11[0] - e10, o2, o2);
|
|
420
|
-
}
|
|
421
|
-
return tZ().prototype.haloPath.call(this, e10);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
tQ(tJ.prototype, { ttBelow: false });
|
|
425
|
-
let { composed: t0, noop: t1 } = x(), { series: t2, seriesTypes: { column: { prototype: t3 }, scatter: t5 } } = M(), { addEvent: t8, arrayMax: t6, arrayMin: t4, clamp: t9, extend: t7, isNumber: et, merge: ee, pick: ei, pushUnique: es } = x();
|
|
426
|
-
function ea() {
|
|
427
|
-
let t10 = this.len, { coll: e10, isXAxis: i10, min: s10 } = this, a2 = (this.max || 0) - (s10 || 0), o2 = 0, r2 = t10, n2 = t10 / a2, l2;
|
|
428
|
-
("xAxis" === e10 || "yAxis" === e10) && (this.series.forEach((t11) => {
|
|
429
|
-
if (t11.bubblePadding && t11.reserveSpace()) {
|
|
430
|
-
this.allowZoomOutside = true, l2 = true;
|
|
431
|
-
let e11 = t11.getColumn(i10 ? "x" : "y");
|
|
432
|
-
if (i10 && ((t11.onPoint || t11).getRadii(0, 0, t11), t11.onPoint && (t11.radii = t11.onPoint.radii)), a2 > 0) {
|
|
433
|
-
let i11 = e11.length;
|
|
434
|
-
for (; i11--; ) if (et(e11[i11]) && this.dataMin <= e11[i11] && e11[i11] <= this.max) {
|
|
435
|
-
let a3 = t11.radii && t11.radii[i11] || 0;
|
|
436
|
-
o2 = Math.min((e11[i11] - s10) * n2 - a3, o2), r2 = Math.max((e11[i11] - s10) * n2 + a3, r2);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}), l2 && a2 > 0 && !this.logarithmic && (r2 -= t10, n2 *= (t10 + Math.max(0, o2) - Math.min(r2, t10)) / t10, [["min", "userMin", o2], ["max", "userMax", r2]].forEach((t11) => {
|
|
441
|
-
void 0 === ei(this.options[t11[0]], this[t11[1]]) && (this[t11[0]] += t11[2] / n2);
|
|
442
|
-
})));
|
|
443
|
-
}
|
|
444
|
-
function eo() {
|
|
445
|
-
var _a;
|
|
446
|
-
let { ticks: t10, tickPositions: e10, dataMin: i10 = 0, dataMax: s10 = 0, categories: a2 } = this, o2 = this.options.type;
|
|
447
|
-
if (((a2 == null ? void 0 : a2.length) || "category" === o2) && this.series.find((t11) => t11.bubblePadding)) {
|
|
448
|
-
let a3 = e10.length;
|
|
449
|
-
for (; a3--; ) {
|
|
450
|
-
let o3 = t10[e10[a3]], r2 = o3.pos || 0;
|
|
451
|
-
(r2 > s10 || r2 < i10) && ((_a = o3.label) == null ? void 0 : _a.hide());
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
class er extends t5 {
|
|
456
|
-
static compose(t10, e10, i10) {
|
|
457
|
-
tK(e10, i10), es(t0, "Series.Bubble") && (t8(t10, "foundExtremes", ea), t8(t10, "afterRender", eo));
|
|
458
|
-
}
|
|
459
|
-
animate(t10) {
|
|
460
|
-
!t10 && this.points.length < this.options.animationLimit && this.points.forEach(function(t11) {
|
|
461
|
-
let { graphic: e10, plotX: i10 = 0, plotY: s10 = 0 } = t11;
|
|
462
|
-
e10 && e10.width && (this.hasRendered || e10.attr({ x: i10, y: s10, width: 1, height: 1 }), e10.animate(this.markerAttribs(t11), this.options.animation));
|
|
463
|
-
}, this);
|
|
464
|
-
}
|
|
465
|
-
getRadii() {
|
|
466
|
-
let t10 = this.getColumn("z"), e10 = this.getColumn("y"), i10 = [], s10, a2, o2, r2 = this.chart.bubbleZExtremes, { minPxSize: n2, maxPxSize: l2 } = this.getPxExtremes();
|
|
467
|
-
if (!r2) {
|
|
468
|
-
let t11, e11 = Number.MAX_VALUE, i11 = -Number.MAX_VALUE;
|
|
469
|
-
this.chart.series.forEach((s11) => {
|
|
470
|
-
if (s11.bubblePadding && s11.reserveSpace()) {
|
|
471
|
-
let a3 = (s11.onPoint || s11).getZExtremes();
|
|
472
|
-
a3 && (e11 = Math.min(ei(e11, a3.zMin), a3.zMin), i11 = Math.max(ei(i11, a3.zMax), a3.zMax), t11 = true);
|
|
473
|
-
}
|
|
474
|
-
}), t11 ? (r2 = { zMin: e11, zMax: i11 }, this.chart.bubbleZExtremes = r2) : r2 = { zMin: 0, zMax: 0 };
|
|
475
|
-
}
|
|
476
|
-
for (a2 = 0, s10 = t10.length; a2 < s10; a2++) o2 = t10[a2], i10.push(this.getRadius(r2.zMin, r2.zMax, n2, l2, o2, e10 && e10[a2]));
|
|
477
|
-
this.radii = i10;
|
|
478
|
-
}
|
|
479
|
-
getRadius(t10, e10, i10, s10, a2, o2) {
|
|
480
|
-
let r2 = this.options, n2 = "width" !== r2.sizeBy, l2 = r2.zThreshold, h2 = e10 - t10, p2 = 0.5;
|
|
481
|
-
if (null === o2 || null === a2) return null;
|
|
482
|
-
if (et(a2)) {
|
|
483
|
-
if (r2.sizeByAbsoluteValue && (a2 = Math.abs(a2 - l2), e10 = h2 = Math.max(e10 - l2, Math.abs(t10 - l2)), t10 = 0), a2 < t10) return i10 / 2 - 1;
|
|
484
|
-
h2 > 0 && (p2 = (a2 - t10) / h2);
|
|
485
|
-
}
|
|
486
|
-
return n2 && p2 >= 0 && (p2 = Math.sqrt(p2)), Math.ceil(i10 + p2 * (s10 - i10)) / 2;
|
|
487
|
-
}
|
|
488
|
-
hasData() {
|
|
489
|
-
return !!this.dataTable.rowCount;
|
|
490
|
-
}
|
|
491
|
-
markerAttribs(t10, e10) {
|
|
492
|
-
let i10 = super.markerAttribs(t10, e10), { height: s10 = 0, width: a2 = 0 } = i10;
|
|
493
|
-
return this.chart.inverted ? t7(i10, { x: (t10.plotX || 0) - a2 / 2, y: (t10.plotY || 0) - s10 / 2 }) : i10;
|
|
494
|
-
}
|
|
495
|
-
pointAttribs(t10, e10) {
|
|
496
|
-
let i10 = this.options.marker, s10 = i10 == null ? void 0 : i10.fillOpacity, a2 = t2.prototype.pointAttribs.call(this, t10, e10);
|
|
497
|
-
return a2["fill-opacity"] = s10 ?? 1, a2;
|
|
498
|
-
}
|
|
499
|
-
translate() {
|
|
500
|
-
super.translate.call(this), this.getRadii(), this.translateBubble();
|
|
501
|
-
}
|
|
502
|
-
translateBubble() {
|
|
503
|
-
let { data: t10, options: e10, radii: i10 } = this, { minPxSize: s10 } = this.getPxExtremes(), a2 = t10.length;
|
|
504
|
-
for (; a2--; ) {
|
|
505
|
-
let o2 = t10[a2], r2 = i10 ? i10[a2] : 0;
|
|
506
|
-
"z" === this.zoneAxis && (o2.negative = (o2.z || 0) < (e10.zThreshold || 0)), et(r2) && r2 >= s10 / 2 ? (o2.marker = t7(o2.marker, { radius: r2, width: 2 * r2, height: 2 * r2 }), o2.dlBox = { x: o2.plotX - r2, y: o2.plotY - r2, width: 2 * r2, height: 2 * r2 }) : (o2.shapeArgs = o2.plotY = o2.dlBox = void 0, o2.isInside = false);
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
getPxExtremes() {
|
|
510
|
-
let t10 = Math.min(this.chart.plotWidth, this.chart.plotHeight), e10 = (e11) => {
|
|
511
|
-
let i11;
|
|
512
|
-
return "string" == typeof e11 && (i11 = /%$/.test(e11), e11 = parseInt(e11, 10)), i11 ? t10 * e11 / 100 : e11;
|
|
513
|
-
}, i10 = e10(ei(this.options.minSize, 8)), s10 = Math.max(e10(ei(this.options.maxSize, "20%")), i10);
|
|
514
|
-
return { minPxSize: i10, maxPxSize: s10 };
|
|
515
|
-
}
|
|
516
|
-
getZExtremes() {
|
|
517
|
-
let t10 = this.options, e10 = this.getColumn("z").filter(et);
|
|
518
|
-
if (e10.length) {
|
|
519
|
-
let i10 = ei(t10.zMin, t9(t4(e10), false === t10.displayNegative ? t10.zThreshold || 0 : -Number.MAX_VALUE, Number.MAX_VALUE)), s10 = ei(t10.zMax, t6(e10));
|
|
520
|
-
if (et(i10) && et(s10)) return { zMin: i10, zMax: s10 };
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
searchKDTree(t10, e10, i10, s10 = t1, a2 = t1) {
|
|
524
|
-
return s10 = (t11, e11, i11) => {
|
|
525
|
-
var _a, _b;
|
|
526
|
-
let s11 = t11[i11] || 0, a3 = e11[i11] || 0, o2, r2 = false;
|
|
527
|
-
return s11 === a3 ? o2 = t11.index > e11.index ? t11 : e11 : s11 < 0 && a3 < 0 ? (o2 = s11 - (((_a = t11.marker) == null ? void 0 : _a.radius) || 0) >= a3 - (((_b = e11.marker) == null ? void 0 : _b.radius) || 0) ? t11 : e11, r2 = true) : o2 = s11 < a3 ? t11 : e11, [o2, r2];
|
|
528
|
-
}, a2 = (t11, e11, i11) => !i11 && t11 > e11 || t11 < e11, super.searchKDTree(t10, e10, i10, s10, a2);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
er.defaultOptions = ee(t5.defaultOptions, { dataLabels: { formatter: function() {
|
|
532
|
-
let { numberFormatter: t10 } = this.series.chart, { z: e10 } = this.point;
|
|
533
|
-
return et(e10) ? t10(e10, -1) : "";
|
|
534
|
-
}, inside: true, verticalAlign: "middle" }, animationLimit: 250, marker: { lineColor: null, lineWidth: 1, fillOpacity: 0.5, radius: null, states: { hover: { radiusPlus: 0 } }, symbol: "circle" }, minSize: 8, maxSize: "20%", softThreshold: false, states: { hover: { halo: { size: 5 } } }, tooltip: { pointFormat: "({point.x}, {point.y}), Size: {point.z}" }, turboThreshold: 0, zThreshold: 0, zoneAxis: "z" }), t7(er.prototype, { alignDataLabel: t3.alignDataLabel, applyZones: t1, bubblePadding: true, isBubble: true, keysAffectYAxis: ["y"], pointArrayMap: ["y", "z"], pointClass: tJ, parallelArrays: ["x", "y", "z"], trackerGroups: ["group", "dataLabelsGroup"], specialGroup: "group", zoneAxis: "z" }), t8(er, "updatedData", (t10) => {
|
|
535
|
-
delete t10.target.chart.bubbleZExtremes;
|
|
536
|
-
}), t8(er, "remove", (t10) => {
|
|
537
|
-
delete t10.target.chart.bubbleZExtremes;
|
|
538
|
-
}), M().registerSeriesType("bubble", er);
|
|
539
|
-
let { seriesTypes: { column: { prototype: { pointClass: { prototype: en } } }, arearange: { prototype: { pointClass: el } } } } = M(), { extend: eh, isNumber: ep } = x();
|
|
540
|
-
class ed extends el {
|
|
541
|
-
isValid() {
|
|
542
|
-
return ep(this.low);
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
eh(ed.prototype, { setState: en.setState });
|
|
546
|
-
let { noop: ec } = x(), { seriesTypes: { arearange: eu, column: eg, column: { prototype: ef } } } = M(), { addEvent: em, clamp: eb, extend: ey, isNumber: ex, merge: eP, pick: eM } = x();
|
|
547
|
-
class ev extends eu {
|
|
548
|
-
setOptions() {
|
|
549
|
-
return eP(true, arguments[0], { stacking: void 0 }), eu.prototype.setOptions.apply(this, arguments);
|
|
550
|
-
}
|
|
551
|
-
translate() {
|
|
552
|
-
return ef.translate.apply(this);
|
|
553
|
-
}
|
|
554
|
-
pointAttribs() {
|
|
555
|
-
return ef.pointAttribs.apply(this, arguments);
|
|
556
|
-
}
|
|
557
|
-
translate3dPoints() {
|
|
558
|
-
return ef.translate3dPoints.apply(this, arguments);
|
|
559
|
-
}
|
|
560
|
-
translate3dShapes() {
|
|
561
|
-
return ef.translate3dShapes.apply(this, arguments);
|
|
562
|
-
}
|
|
563
|
-
afterColumnTranslate() {
|
|
564
|
-
let t10, e10, i10, s10, a2 = this.yAxis, o2 = this.xAxis, r2 = o2.startAngleRad, n2 = this.chart, l2 = this.xAxis.isRadial, h2 = Math.max(n2.chartWidth, n2.chartHeight) + 999;
|
|
565
|
-
this.points.forEach((p2) => {
|
|
566
|
-
let d2 = p2.shapeArgs || {}, c2 = this.options.minPointLength, u2 = p2.plotY, g2 = a2.translate(p2.high, 0, 1, 0, 1);
|
|
567
|
-
if (ex(g2) && ex(u2)) if (p2.plotHigh = eb(g2, -h2, h2), p2.plotLow = eb(u2, -h2, h2), s10 = p2.plotHigh, Math.abs(t10 = eM(p2.rectPlotY, p2.plotY) - p2.plotHigh) < c2 ? (e10 = c2 - t10, t10 += e10, s10 -= e10 / 2) : t10 < 0 && (t10 *= -1, s10 -= t10), l2 && this.polar) i10 = p2.barX + r2, p2.shapeType = "arc", p2.shapeArgs = this.polar.arc(s10 + t10, s10, i10, i10 + p2.pointWidth);
|
|
568
|
-
else {
|
|
569
|
-
d2.height = t10, d2.y = s10;
|
|
570
|
-
let { x: e11 = 0, width: i11 = 0 } = d2;
|
|
571
|
-
p2.shapeArgs = eP(p2.shapeArgs, this.crispCol(e11, s10, i11, t10)), p2.tooltipPos = n2.inverted ? [a2.len + a2.pos - n2.plotLeft - s10 - t10 / 2, o2.len + o2.pos - n2.plotTop - e11 - i11 / 2, t10] : [o2.left - n2.plotLeft + e11 + i11 / 2, a2.pos - n2.plotTop + s10 + t10 / 2, t10];
|
|
572
|
-
}
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
ev.defaultOptions = eP(eg.defaultOptions, eu.defaultOptions, { borderRadius: { where: "all" }, pointRange: null, legendSymbol: "rectangle", marker: null, states: { hover: { halo: false } } }), em(ev, "afterColumnTranslate", function() {
|
|
577
|
-
ev.prototype.afterColumnTranslate.apply(this);
|
|
578
|
-
}, { order: 5 }), ey(ev.prototype, { directTouch: true, pointClass: ed, trackerGroups: ["group", "dataLabelsGroup"], adjustForMissingColumns: ef.adjustForMissingColumns, animate: ef.animate, crispCol: ef.crispCol, drawGraph: ec, drawPoints: ef.drawPoints, getSymbol: ec, drawTracker: ef.drawTracker, getColumnMetrics: ef.getColumnMetrics }), M().registerSeriesType("columnrange", ev);
|
|
579
|
-
let { column: eL } = M().seriesTypes, { clamp: ek, merge: ew, pick: eA } = x();
|
|
580
|
-
class eS extends eL {
|
|
581
|
-
translate() {
|
|
582
|
-
let t10 = this.chart, e10 = this.options, i10 = this.dense = this.closestPointRange * this.xAxis.transA < 2, s10 = this.borderWidth = eA(e10.borderWidth, +!i10), a2 = this.yAxis, o2 = e10.threshold, r2 = eA(e10.minPointLength, 5), n2 = this.getColumnMetrics(), l2 = n2.width, h2 = this.pointXOffset = n2.offset, p2 = this.translatedThreshold = a2.getThreshold(o2), d2 = this.barW = Math.max(l2, 1 + 2 * s10);
|
|
583
|
-
for (let i11 of (t10.inverted && (p2 -= 0.5), e10.pointPadding && (d2 = Math.ceil(d2)), super.translate(), this.points)) {
|
|
584
|
-
let s11 = eA(i11.yBottom, p2), c2 = 999 + Math.abs(s11), u2 = ek(i11.plotY, -c2, a2.len + c2), g2 = d2 / 2, f2 = Math.min(u2, s11), m2 = Math.max(u2, s11) - f2, b2 = i11.plotX + h2, y2, x2, P2, M2, v2, L2, k2, w2, A2, S2, T2;
|
|
585
|
-
e10.centerInCategory && (b2 = this.adjustForMissingColumns(b2, l2, i11, n2)), i11.barX = b2, i11.pointWidth = l2, i11.tooltipPos = t10.inverted ? [a2.len + a2.pos - t10.plotLeft - u2, this.xAxis.len - b2 - g2, m2] : [b2 + g2, u2 + a2.pos - t10.plotTop, m2], y2 = o2 + (i11.total || i11.y), "percent" === e10.stacking && (y2 = o2 + (i11.y < 0) ? -100 : 100);
|
|
586
|
-
let C2 = a2.toPixels(y2, true);
|
|
587
|
-
P2 = (x2 = t10.plotHeight - C2 - (t10.plotHeight - p2)) ? g2 * (f2 - C2) / x2 : 0, M2 = x2 ? g2 * (f2 + m2 - C2) / x2 : 0, L2 = b2 - P2 + g2, k2 = b2 + P2 + g2, w2 = b2 + M2 + g2, A2 = b2 - M2 + g2, S2 = f2 - r2, T2 = f2 + m2, i11.y < 0 && (S2 = f2, T2 = f2 + m2 + r2), t10.inverted && (v2 = a2.width - f2, x2 = C2 - (a2.width - p2), P2 = g2 * (C2 - v2) / x2, M2 = g2 * (C2 - (v2 - m2)) / x2, k2 = (L2 = b2 + g2 + P2) - 2 * P2, w2 = b2 - M2 + g2, A2 = b2 + M2 + g2, S2 = f2, T2 = f2 + m2 - r2, i11.y < 0 && (T2 = f2 + m2 + r2)), i11.shapeType = "path", i11.shapeArgs = { x: L2, y: S2, width: k2 - L2, height: m2, d: [["M", L2, S2], ["L", k2, S2], ["L", w2, T2], ["L", A2, T2], ["Z"]] };
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
eS.defaultOptions = ew(eL.defaultOptions, {}), M().registerSeriesType("columnpyramid", eS);
|
|
592
|
-
let { arearange: eT } = M().seriesTypes, { addEvent: eC, merge: eN, extend: eX } = x();
|
|
593
|
-
class eY extends tk {
|
|
594
|
-
getColumnMetrics() {
|
|
595
|
-
return this.linkedParent && this.linkedParent.columnMetrics || tm().prototype.getColumnMetrics.call(this);
|
|
596
|
-
}
|
|
597
|
-
drawDataLabels() {
|
|
598
|
-
let t10 = this.pointValKey;
|
|
599
|
-
if (eT) for (let e10 of (eT.prototype.drawDataLabels.call(this), this.points)) e10.y = e10[t10];
|
|
600
|
-
}
|
|
601
|
-
toYData(t10) {
|
|
602
|
-
return [t10.low, t10.high];
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
eY.defaultOptions = eN(tk.defaultOptions, { color: "#000000", grouping: false, linkedTo: ":previous", tooltip: { pointFormat: '<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>' }, whiskerWidth: null }), eC(eY, "afterTranslate", function() {
|
|
606
|
-
for (let t10 of this.points) t10.plotLow = t10.plotY;
|
|
607
|
-
}, { order: 0 }), eX(eY.prototype, { pointArrayMap: ["low", "high"], pointValKey: "high", doQuartiles: false }), M().registerSeriesType("errorbar", eY);
|
|
608
|
-
let { series: { prototype: { pointClass: eR } } } = M(), { noop: eI } = x(), { series: eE, seriesTypes: { column: eD } } = M(), { clamp: ez, isNumber: eO, extend: eH, merge: eB, pick: eW, pInt: eF, defined: eG } = x();
|
|
609
|
-
class eq extends eE {
|
|
610
|
-
translate() {
|
|
611
|
-
let t10 = this.yAxis, e10 = this.options, i10 = t10.center;
|
|
612
|
-
this.generatePoints(), this.points.forEach((s10) => {
|
|
613
|
-
let a2 = eB(e10.dial, s10.dial), o2 = eF(a2.radius) * i10[2] / 200, r2 = eF(a2.baseLength) * o2 / 100, n2 = eF(a2.rearLength) * o2 / 100, l2 = a2.baseWidth, h2 = a2.topWidth, p2 = e10.overshoot, d2 = t10.startAngleRad + t10.translate(s10.y, void 0, void 0, void 0, true);
|
|
614
|
-
(eO(p2) || false === e10.wrap) && (p2 = eO(p2) ? p2 / 180 * Math.PI : 0, d2 = ez(d2, t10.startAngleRad - p2, t10.endAngleRad + p2)), d2 = 180 * d2 / Math.PI, s10.shapeType = "path", s10.shapeArgs = { d: a2.path || [["M", -n2, -l2 / 2], ["L", r2, -l2 / 2], ["L", o2, -h2 / 2], ["L", o2, h2 / 2], ["L", r2, l2 / 2], ["L", -n2, l2 / 2], ["Z"]], translateX: i10[0], translateY: i10[1], rotation: d2 }, s10.plotX = i10[0], s10.plotY = i10[1], eG(s10.y) && t10.max - t10.min && (s10.percentage = (s10.y - t10.min) / (t10.max - t10.min) * 100);
|
|
615
|
-
});
|
|
616
|
-
}
|
|
617
|
-
drawPoints() {
|
|
618
|
-
let t10 = this, e10 = t10.chart, i10 = t10.yAxis.center, s10 = t10.pivot, a2 = t10.options, o2 = a2.pivot, r2 = e10.renderer;
|
|
619
|
-
t10.points.forEach((i11) => {
|
|
620
|
-
let s11 = i11.graphic, o3 = i11.shapeArgs, n2 = o3.d, l2 = eB(a2.dial, i11.dial);
|
|
621
|
-
s11 ? (s11.animate(o3), o3.d = n2) : i11.graphic = r2[i11.shapeType](o3).addClass("highcharts-dial").add(t10.group), e10.styledMode || i11.graphic[s11 ? "animate" : "attr"]({ stroke: l2.borderColor, "stroke-width": l2.borderWidth, fill: l2.backgroundColor });
|
|
622
|
-
}), s10 ? s10.animate({ translateX: i10[0], translateY: i10[1] }) : o2 && (t10.pivot = r2.circle(0, 0, o2.radius).attr({ zIndex: 2 }).addClass("highcharts-pivot").translate(i10[0], i10[1]).add(t10.group), e10.styledMode || t10.pivot.attr({ fill: o2.backgroundColor, stroke: o2.borderColor, "stroke-width": o2.borderWidth }));
|
|
623
|
-
}
|
|
624
|
-
animate(t10) {
|
|
625
|
-
let e10 = this;
|
|
626
|
-
t10 || e10.points.forEach((t11) => {
|
|
627
|
-
let i10 = t11.graphic;
|
|
628
|
-
i10 && (i10.attr({ rotation: 180 * e10.yAxis.startAngleRad / Math.PI }), i10.animate({ rotation: t11.shapeArgs.rotation }, e10.options.animation));
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
render() {
|
|
632
|
-
this.group = this.plotGroup("group", "series", this.visible ? "inherit" : "hidden", this.options.zIndex, this.chart.seriesGroup), eE.prototype.render.call(this), this.group.clip(this.chart.clipRect);
|
|
633
|
-
}
|
|
634
|
-
setData(t10, e10) {
|
|
635
|
-
eE.prototype.setData.call(this, t10, false), this.processData(), this.generatePoints(), eW(e10, true) && this.chart.redraw();
|
|
636
|
-
}
|
|
637
|
-
hasData() {
|
|
638
|
-
return !!this.points.length;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
eq.defaultOptions = eB(eE.defaultOptions, { dataLabels: { borderColor: "#cccccc", borderRadius: 3, borderWidth: 1, crop: false, defer: false, enabled: true, verticalAlign: "top", y: 15, zIndex: 2 }, dial: { backgroundColor: "#000000", baseLength: "70%", baseWidth: 3, borderColor: "#cccccc", borderWidth: 0, radius: "80%", rearLength: "10%", topWidth: 1 }, pivot: { radius: 5, borderWidth: 0, borderColor: "#cccccc", backgroundColor: "#000000" }, tooltip: { headerFormat: "" }, showInLegend: false }), eH(eq.prototype, { angular: true, directTouch: true, drawGraph: eI, drawTracker: eD.prototype.drawTracker, fixedBox: true, forceDL: true, noSharedTooltip: true, pointClass: class extends eR {
|
|
642
|
-
setState(t10) {
|
|
643
|
-
this.state = t10;
|
|
644
|
-
}
|
|
645
|
-
}, trackerGroups: ["group", "dataLabelsGroup"] }), M().registerSeriesType("gauge", eq);
|
|
646
|
-
var eV = m(620), e_ = m.n(eV);
|
|
647
|
-
let { composed: eU } = x(), { addEvent: eK, pushUnique: ej } = x();
|
|
648
|
-
function eZ() {
|
|
649
|
-
let t10, e10, i10, s10, a2 = this;
|
|
650
|
-
a2.container && (t10 = eK(a2.container, "mousedown", (t11) => {
|
|
651
|
-
e10 && e10(), i10 && i10(), (s10 = a2.hoverPoint) && s10.series && s10.series.hasDraggableNodes && s10.series.options.draggable && (s10.series.onMouseDown(s10, t11), e10 = eK(a2.container, "mousemove", (t12) => s10 && s10.series && s10.series.onMouseMove(s10, t12)), i10 = eK(a2.container.ownerDocument, "mouseup", (t12) => (e10(), i10(), s10 && s10.series && s10.series.onMouseUp(s10, t12))));
|
|
652
|
-
})), eK(a2, "destroy", function() {
|
|
653
|
-
t10();
|
|
654
|
-
});
|
|
655
|
-
}
|
|
656
|
-
let e$ = { compose: function(t10) {
|
|
657
|
-
ej(eU, "DragNodes") && eK(t10, "load", eZ);
|
|
658
|
-
}, onMouseDown: function(t10, e10) {
|
|
659
|
-
var _a;
|
|
660
|
-
let { panKey: i10 } = this.chart.options.chart;
|
|
661
|
-
if (i10 && e10[`${i10}Key`]) return;
|
|
662
|
-
let s10 = ((_a = this.chart.pointer) == null ? void 0 : _a.normalize(e10)) || e10;
|
|
663
|
-
t10.fixedPosition = { chartX: s10.chartX, chartY: s10.chartY, plotX: t10.plotX, plotY: t10.plotY }, t10.inDragMode = true;
|
|
664
|
-
}, onMouseMove: function(t10, e10) {
|
|
665
|
-
var _a;
|
|
666
|
-
if (t10.fixedPosition && t10.inDragMode) {
|
|
667
|
-
let i10, s10, a2 = this.chart, o2 = ((_a = a2.pointer) == null ? void 0 : _a.normalize(e10)) || e10, r2 = t10.fixedPosition.chartX - o2.chartX, n2 = t10.fixedPosition.chartY - o2.chartY, l2 = a2.graphLayoutsLookup;
|
|
668
|
-
(Math.abs(r2) > 5 || Math.abs(n2) > 5) && (i10 = t10.fixedPosition.plotX - r2, s10 = t10.fixedPosition.plotY - n2, a2.isInsidePlot(i10, s10) && (t10.plotX = i10, t10.plotY = s10, t10.hasDragged = true, this.redrawHalo(t10), l2.forEach((t11) => {
|
|
669
|
-
t11.restartSimulation();
|
|
670
|
-
})));
|
|
671
|
-
}
|
|
672
|
-
}, onMouseUp: function(t10) {
|
|
673
|
-
t10.fixedPosition && (t10.hasDragged && (this.layout.enableSimulation ? this.layout.start() : this.chart.redraw()), t10.inDragMode = t10.hasDragged = false, this.options.fixedDraggable || delete t10.fixedPosition);
|
|
674
|
-
}, redrawHalo: function(t10) {
|
|
675
|
-
t10 && this.halo && this.halo.attr({ d: t10.haloPath(this.options.states.hover.halo.size) });
|
|
676
|
-
} }, { setAnimation: eQ } = x(), { composed: eJ } = x(), { addEvent: e0, pushUnique: e1 } = x();
|
|
677
|
-
function e2() {
|
|
678
|
-
this.graphLayoutsLookup && (this.graphLayoutsLookup.forEach((t10) => {
|
|
679
|
-
t10.updateSimulation();
|
|
680
|
-
}), this.redraw());
|
|
681
|
-
}
|
|
682
|
-
function e3() {
|
|
683
|
-
this.graphLayoutsLookup && (this.graphLayoutsLookup.forEach((t10) => {
|
|
684
|
-
t10.updateSimulation(false);
|
|
685
|
-
}), this.redraw());
|
|
686
|
-
}
|
|
687
|
-
function e5() {
|
|
688
|
-
this.graphLayoutsLookup && this.graphLayoutsLookup.forEach((t10) => {
|
|
689
|
-
t10.stop();
|
|
690
|
-
});
|
|
691
|
-
}
|
|
692
|
-
function e8() {
|
|
693
|
-
var _a;
|
|
694
|
-
let t10, e10 = false, i10 = (i11) => {
|
|
695
|
-
i11.maxIterations-- && isFinite(i11.temperature) && !i11.isStable() && !i11.enableSimulation && (i11.beforeStep && i11.beforeStep(), i11.step(), t10 = false, e10 = true);
|
|
696
|
-
};
|
|
697
|
-
if (this.graphLayoutsLookup && !((_a = this.pointer) == null ? void 0 : _a.hasDragged)) {
|
|
698
|
-
for (eQ(false, this), this.graphLayoutsLookup.forEach((t11) => t11.start()); !t10; ) t10 = true, this.graphLayoutsLookup.forEach(i10);
|
|
699
|
-
e10 && this.series.forEach((t11) => {
|
|
700
|
-
t11 && t11.layout && t11.render();
|
|
701
|
-
});
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
let e6 = function(t10) {
|
|
705
|
-
e1(eJ, "GraphLayout") && (e0(t10, "afterPrint", e2), e0(t10, "beforePrint", e3), e0(t10, "predraw", e5), e0(t10, "render", e8));
|
|
706
|
-
}, e4 = {}, e9 = {};
|
|
707
|
-
var e7 = m(960), it = m.n(e7);
|
|
708
|
-
let { seriesTypes: { bubble: { prototype: { pointClass: ie } } } } = M(), ii = class extends ie {
|
|
709
|
-
destroy() {
|
|
710
|
-
var _a;
|
|
711
|
-
return ((_a = this.series) == null ? void 0 : _a.layout) && this.series.layout.removeElementFromCollection(this, this.series.layout.nodes), tZ().prototype.destroy.apply(this, arguments);
|
|
712
|
-
}
|
|
713
|
-
firePointEvent() {
|
|
714
|
-
let t10 = this.series.options;
|
|
715
|
-
if (this.isParentNode && t10.parentNode) {
|
|
716
|
-
let e10 = t10.allowPointSelect;
|
|
717
|
-
t10.allowPointSelect = t10.parentNode.allowPointSelect, tZ().prototype.firePointEvent.apply(this, arguments), t10.allowPointSelect = e10;
|
|
718
|
-
} else tZ().prototype.firePointEvent.apply(this, arguments);
|
|
719
|
-
}
|
|
720
|
-
select() {
|
|
721
|
-
let t10 = this.series.chart;
|
|
722
|
-
this.isParentNode ? (t10.getSelectedPoints = t10.getSelectedParentNodes, tZ().prototype.select.apply(this, arguments), t10.getSelectedPoints = it().prototype.getSelectedPoints) : tZ().prototype.select.apply(this, arguments);
|
|
723
|
-
}
|
|
724
|
-
setState(t10, e10) {
|
|
725
|
-
var _a, _b;
|
|
726
|
-
((_b = (_a = this == null ? void 0 : this.graphic) == null ? void 0 : _a.parentGroup) == null ? void 0 : _b.element) && super.setState(t10, e10);
|
|
727
|
-
}
|
|
728
|
-
}, { isNumber: is } = x(), ia = { attractive: function(t10, e10, i10) {
|
|
729
|
-
let s10 = t10.getMass(), a2 = -i10.x * e10 * this.diffTemperature, o2 = -i10.y * e10 * this.diffTemperature;
|
|
730
|
-
t10.fromNode.fixedPosition || (t10.fromNode.plotX -= a2 * s10.fromNode / t10.fromNode.degree, t10.fromNode.plotY -= o2 * s10.fromNode / t10.fromNode.degree), t10.toNode.fixedPosition || (t10.toNode.plotX += a2 * s10.toNode / t10.toNode.degree, t10.toNode.plotY += o2 * s10.toNode / t10.toNode.degree);
|
|
731
|
-
}, attractiveForceFunction: function(t10, e10) {
|
|
732
|
-
return (e10 - t10) / t10;
|
|
733
|
-
}, barycenter: function() {
|
|
734
|
-
let t10 = this.options.gravitationalConstant || 0, e10 = (this.barycenter.xFactor - (this.box.left + this.box.width) / 2) * t10, i10 = (this.barycenter.yFactor - (this.box.top + this.box.height) / 2) * t10;
|
|
735
|
-
this.nodes.forEach(function(t11) {
|
|
736
|
-
t11.fixedPosition || (t11.plotX -= e10 / t11.mass / t11.degree, t11.plotY -= i10 / t11.mass / t11.degree);
|
|
737
|
-
});
|
|
738
|
-
}, getK: function(t10) {
|
|
739
|
-
return Math.pow(t10.box.width * t10.box.height / t10.nodes.length, 0.5);
|
|
740
|
-
}, integrate: function(t10, e10) {
|
|
741
|
-
let i10 = -t10.options.friction, s10 = t10.options.maxSpeed, a2 = e10.prevX, o2 = e10.prevY, r2 = (e10.plotX + e10.dispX - a2) * i10, n2 = (e10.plotY + e10.dispY - o2) * i10, l2 = Math.abs, h2 = l2(r2) / (r2 || 1), p2 = l2(n2) / (n2 || 1), d2 = h2 * Math.min(s10, Math.abs(r2)), c2 = p2 * Math.min(s10, Math.abs(n2));
|
|
742
|
-
e10.prevX = e10.plotX + e10.dispX, e10.prevY = e10.plotY + e10.dispY, e10.plotX += d2, e10.plotY += c2, e10.temperature = t10.vectorLength({ x: d2, y: c2 });
|
|
743
|
-
}, repulsive: function(t10, e10, i10) {
|
|
744
|
-
let s10 = e10 * this.diffTemperature / t10.mass / t10.degree;
|
|
745
|
-
t10.fixedPosition || (t10.plotX += i10.x * s10, t10.plotY += i10.y * s10);
|
|
746
|
-
}, repulsiveForceFunction: function(t10, e10) {
|
|
747
|
-
return (e10 - t10) / t10 * (e10 > t10);
|
|
748
|
-
} }, { noop: io } = x(), ir = { barycenter: function() {
|
|
749
|
-
let t10, e10, i10 = this.options.gravitationalConstant || 0, s10 = this.box, a2 = this.nodes, o2 = Math.sqrt(a2.length);
|
|
750
|
-
for (let r2 of a2) if (!r2.fixedPosition) {
|
|
751
|
-
let a3 = r2.mass * o2, n2 = r2.plotX || 0, l2 = r2.plotY || 0, h2 = r2.series, p2 = h2.parentNode;
|
|
752
|
-
this.resolveSplitSeries(r2) && p2 && !r2.isParentNode ? (t10 = p2.plotX || 0, e10 = p2.plotY || 0) : (t10 = s10.width / 2, e10 = s10.height / 2), r2.plotX = n2 - (n2 - t10) * i10 / a3, r2.plotY = l2 - (l2 - e10) * i10 / a3, h2.chart.hoverPoint === r2 && h2.redrawHalo && h2.halo && h2.redrawHalo(r2);
|
|
753
|
-
}
|
|
754
|
-
}, getK: io, integrate: ia.integrate, repulsive: function(t10, e10, i10, s10) {
|
|
755
|
-
let a2 = e10 * this.diffTemperature / t10.mass / t10.degree, o2 = i10.x * a2, r2 = i10.y * a2;
|
|
756
|
-
t10.fixedPosition || (t10.plotX += o2, t10.plotY += r2), s10.fixedPosition || (s10.plotX -= o2, s10.plotY -= r2);
|
|
757
|
-
}, repulsiveForceFunction: function(t10, e10, i10, s10) {
|
|
758
|
-
return Math.min(t10, (i10.marker.radius + s10.marker.radius) / 2);
|
|
759
|
-
} }, il = { attractive: function(t10, e10, i10, s10) {
|
|
760
|
-
let a2 = t10.getMass(), o2 = i10.x / s10 * e10, r2 = i10.y / s10 * e10;
|
|
761
|
-
t10.fromNode.fixedPosition || (t10.fromNode.dispX -= o2 * a2.fromNode / t10.fromNode.degree, t10.fromNode.dispY -= r2 * a2.fromNode / t10.fromNode.degree), t10.toNode.fixedPosition || (t10.toNode.dispX += o2 * a2.toNode / t10.toNode.degree, t10.toNode.dispY += r2 * a2.toNode / t10.toNode.degree);
|
|
762
|
-
}, attractiveForceFunction: function(t10, e10) {
|
|
763
|
-
return t10 * t10 / e10;
|
|
764
|
-
}, barycenter: function() {
|
|
765
|
-
let t10 = this.options.gravitationalConstant, e10 = this.barycenter.xFactor, i10 = this.barycenter.yFactor;
|
|
766
|
-
this.nodes.forEach(function(s10) {
|
|
767
|
-
if (!s10.fixedPosition) {
|
|
768
|
-
let a2 = s10.getDegree(), o2 = a2 * (1 + a2 / 2);
|
|
769
|
-
s10.dispX += (e10 - s10.plotX) * t10 * o2 / s10.degree, s10.dispY += (i10 - s10.plotY) * t10 * o2 / s10.degree;
|
|
770
|
-
}
|
|
771
|
-
});
|
|
772
|
-
}, getK: function(t10) {
|
|
773
|
-
return Math.pow(t10.box.width * t10.box.height / t10.nodes.length, 0.3);
|
|
774
|
-
}, integrate: function(t10, e10) {
|
|
775
|
-
e10.dispX += e10.dispX * t10.options.friction, e10.dispY += e10.dispY * t10.options.friction;
|
|
776
|
-
let i10 = e10.temperature = t10.vectorLength({ x: e10.dispX, y: e10.dispY });
|
|
777
|
-
0 !== i10 && (e10.plotX += e10.dispX / i10 * Math.min(Math.abs(e10.dispX), t10.temperature), e10.plotY += e10.dispY / i10 * Math.min(Math.abs(e10.dispY), t10.temperature));
|
|
778
|
-
}, repulsive: function(t10, e10, i10, s10) {
|
|
779
|
-
t10.dispX += i10.x / s10 * e10 / t10.degree, t10.dispY += i10.y / s10 * e10 / t10.degree;
|
|
780
|
-
}, repulsiveForceFunction: function(t10, e10) {
|
|
781
|
-
return e10 * e10 / t10;
|
|
782
|
-
} };
|
|
783
|
-
class ih {
|
|
784
|
-
constructor(t10) {
|
|
785
|
-
this.body = false, this.isEmpty = false, this.isInternal = false, this.nodes = [], this.box = t10, this.boxSize = Math.min(t10.width, t10.height);
|
|
786
|
-
}
|
|
787
|
-
divideBox() {
|
|
788
|
-
let t10 = this.box.width / 2, e10 = this.box.height / 2;
|
|
789
|
-
this.nodes[0] = new ih({ left: this.box.left, top: this.box.top, width: t10, height: e10 }), this.nodes[1] = new ih({ left: this.box.left + t10, top: this.box.top, width: t10, height: e10 }), this.nodes[2] = new ih({ left: this.box.left + t10, top: this.box.top + e10, width: t10, height: e10 }), this.nodes[3] = new ih({ left: this.box.left, top: this.box.top + e10, width: t10, height: e10 });
|
|
790
|
-
}
|
|
791
|
-
getBoxPosition(t10) {
|
|
792
|
-
let e10 = t10.plotX < this.box.left + this.box.width / 2, i10 = t10.plotY < this.box.top + this.box.height / 2;
|
|
793
|
-
return e10 ? 3 * !i10 : i10 ? 1 : 2;
|
|
794
|
-
}
|
|
795
|
-
insert(t10, e10) {
|
|
796
|
-
let i10;
|
|
797
|
-
this.isInternal ? this.nodes[this.getBoxPosition(t10)].insert(t10, e10 - 1) : (this.isEmpty = false, this.body ? e10 ? (this.isInternal = true, this.divideBox(), true !== this.body && (this.nodes[this.getBoxPosition(this.body)].insert(this.body, e10 - 1), this.body = true), this.nodes[this.getBoxPosition(t10)].insert(t10, e10 - 1)) : ((i10 = new ih({ top: t10.plotX || NaN, left: t10.plotY || NaN, width: 0.1, height: 0.1 })).body = t10, i10.isInternal = false, this.nodes.push(i10)) : (this.isInternal = false, this.body = t10));
|
|
798
|
-
}
|
|
799
|
-
updateMassAndCenter() {
|
|
800
|
-
let t10 = 0, e10 = 0, i10 = 0;
|
|
801
|
-
if (this.isInternal) {
|
|
802
|
-
for (let s10 of this.nodes) s10.isEmpty || (t10 += s10.mass, e10 += s10.plotX * s10.mass, i10 += s10.plotY * s10.mass);
|
|
803
|
-
e10 /= t10, i10 /= t10;
|
|
804
|
-
} else this.body && (t10 = this.body.mass, e10 = this.body.plotX, i10 = this.body.plotY);
|
|
805
|
-
this.mass = t10, this.plotX = e10, this.plotY = i10;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
let ip = class {
|
|
809
|
-
constructor(t10, e10, i10, s10) {
|
|
810
|
-
this.box = { left: t10, top: e10, width: i10, height: s10 }, this.maxDepth = 25, this.root = new ih(this.box), this.root.isInternal = true, this.root.isRoot = true, this.root.divideBox();
|
|
811
|
-
}
|
|
812
|
-
calculateMassAndCenter() {
|
|
813
|
-
this.visitNodeRecursive(null, null, function(t10) {
|
|
814
|
-
t10.updateMassAndCenter();
|
|
815
|
-
});
|
|
816
|
-
}
|
|
817
|
-
insertNodes(t10) {
|
|
818
|
-
for (let e10 of t10) this.root.insert(e10, this.maxDepth);
|
|
819
|
-
}
|
|
820
|
-
visitNodeRecursive(t10, e10, i10) {
|
|
821
|
-
let s10;
|
|
822
|
-
if (t10 || (t10 = this.root), t10 === this.root && e10 && (s10 = e10(t10)), false !== s10) {
|
|
823
|
-
for (let a2 of t10.nodes) {
|
|
824
|
-
if (a2.isInternal) {
|
|
825
|
-
if (e10 && (s10 = e10(a2)), false === s10) continue;
|
|
826
|
-
this.visitNodeRecursive(a2, e10, i10);
|
|
827
|
-
} else a2.body && e10 && e10(a2.body);
|
|
828
|
-
i10 && i10(a2);
|
|
829
|
-
}
|
|
830
|
-
t10 === this.root && i10 && i10(t10);
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
}, { win: id } = x(), { clamp: ic, defined: iu, isFunction: ig, fireEvent: im, pick: ib } = x();
|
|
834
|
-
class iy {
|
|
835
|
-
constructor() {
|
|
836
|
-
this.box = {}, this.currentStep = 0, this.initialRendering = true, this.links = [], this.nodes = [], this.series = [], this.simulation = false;
|
|
837
|
-
}
|
|
838
|
-
static compose(t10) {
|
|
839
|
-
e6(t10), e4.euler = il, e4.verlet = ia, e9["reingold-fruchterman"] = iy;
|
|
840
|
-
}
|
|
841
|
-
init(t10) {
|
|
842
|
-
this.options = t10, this.nodes = [], this.links = [], this.series = [], this.box = { x: 0, y: 0, width: 0, height: 0 }, this.setInitialRendering(true), this.integration = e4[t10.integration], this.enableSimulation = t10.enableSimulation, this.attractiveForce = ib(t10.attractiveForce, this.integration.attractiveForceFunction), this.repulsiveForce = ib(t10.repulsiveForce, this.integration.repulsiveForceFunction), this.approximation = t10.approximation;
|
|
843
|
-
}
|
|
844
|
-
updateSimulation(t10) {
|
|
845
|
-
this.enableSimulation = ib(t10, this.options.enableSimulation);
|
|
846
|
-
}
|
|
847
|
-
start() {
|
|
848
|
-
let t10 = this.series, e10 = this.options;
|
|
849
|
-
this.currentStep = 0, this.forces = t10[0] && t10[0].forces || [], this.chart = t10[0] && t10[0].chart, this.initialRendering && (this.initPositions(), t10.forEach(function(t11) {
|
|
850
|
-
t11.finishedAnimating = true, t11.render();
|
|
851
|
-
})), this.setK(), this.resetSimulation(e10), this.enableSimulation && this.step();
|
|
852
|
-
}
|
|
853
|
-
step() {
|
|
854
|
-
let t10 = this.series;
|
|
855
|
-
for (let t11 of (this.currentStep++, "barnes-hut" === this.approximation && (this.createQuadTree(), this.quadTree.calculateMassAndCenter()), this.forces || [])) this[t11 + "Forces"](this.temperature);
|
|
856
|
-
if (this.applyLimits(), this.temperature = this.coolDown(this.startTemperature, this.diffTemperature, this.currentStep), this.prevSystemTemperature = this.systemTemperature, this.systemTemperature = this.getSystemTemperature(), this.enableSimulation) {
|
|
857
|
-
for (let e10 of t10) e10.chart && e10.render();
|
|
858
|
-
this.maxIterations-- && isFinite(this.temperature) && !this.isStable() ? (this.simulation && id.cancelAnimationFrame(this.simulation), this.simulation = id.requestAnimationFrame(() => this.step())) : (this.simulation = false, this.series.forEach((t11) => {
|
|
859
|
-
im(t11, "afterSimulation");
|
|
860
|
-
}));
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
stop() {
|
|
864
|
-
this.simulation && id.cancelAnimationFrame(this.simulation);
|
|
865
|
-
}
|
|
866
|
-
setArea(t10, e10, i10, s10) {
|
|
867
|
-
this.box = { left: t10, top: e10, width: i10, height: s10 };
|
|
868
|
-
}
|
|
869
|
-
setK() {
|
|
870
|
-
this.k = this.options.linkLength || this.integration.getK(this);
|
|
871
|
-
}
|
|
872
|
-
addElementsToCollection(t10, e10) {
|
|
873
|
-
for (let i10 of t10) -1 === e10.indexOf(i10) && e10.push(i10);
|
|
874
|
-
}
|
|
875
|
-
removeElementFromCollection(t10, e10) {
|
|
876
|
-
let i10 = e10.indexOf(t10);
|
|
877
|
-
-1 !== i10 && e10.splice(i10, 1);
|
|
878
|
-
}
|
|
879
|
-
clear() {
|
|
880
|
-
this.nodes.length = 0, this.links.length = 0, this.series.length = 0, this.resetSimulation();
|
|
881
|
-
}
|
|
882
|
-
resetSimulation() {
|
|
883
|
-
this.forcedStop = false, this.systemTemperature = 0, this.setMaxIterations(), this.setTemperature(), this.setDiffTemperature();
|
|
884
|
-
}
|
|
885
|
-
restartSimulation() {
|
|
886
|
-
this.simulation ? this.resetSimulation() : (this.setInitialRendering(false), this.enableSimulation ? this.start() : this.setMaxIterations(1), this.chart && this.chart.redraw(), this.setInitialRendering(true));
|
|
887
|
-
}
|
|
888
|
-
setMaxIterations(t10) {
|
|
889
|
-
this.maxIterations = ib(t10, this.options.maxIterations);
|
|
890
|
-
}
|
|
891
|
-
setTemperature() {
|
|
892
|
-
this.temperature = this.startTemperature = Math.sqrt(this.nodes.length);
|
|
893
|
-
}
|
|
894
|
-
setDiffTemperature() {
|
|
895
|
-
this.diffTemperature = this.startTemperature / (this.options.maxIterations + 1);
|
|
896
|
-
}
|
|
897
|
-
setInitialRendering(t10) {
|
|
898
|
-
this.initialRendering = t10;
|
|
899
|
-
}
|
|
900
|
-
createQuadTree() {
|
|
901
|
-
this.quadTree = new ip(this.box.left, this.box.top, this.box.width, this.box.height), this.quadTree.insertNodes(this.nodes);
|
|
902
|
-
}
|
|
903
|
-
initPositions() {
|
|
904
|
-
let t10 = this.options.initialPositions;
|
|
905
|
-
if (ig(t10)) for (let e10 of (t10.call(this), this.nodes)) iu(e10.prevX) || (e10.prevX = e10.plotX), iu(e10.prevY) || (e10.prevY = e10.plotY), e10.dispX = 0, e10.dispY = 0;
|
|
906
|
-
else "circle" === t10 ? this.setCircularPositions() : this.setRandomPositions();
|
|
907
|
-
}
|
|
908
|
-
setCircularPositions() {
|
|
909
|
-
let t10, e10 = this.box, i10 = this.nodes, s10 = 2 * Math.PI / (i10.length + 1), a2 = i10.filter(function(t11) {
|
|
910
|
-
return 0 === t11.linksTo.length;
|
|
911
|
-
}), o2 = {}, r2 = this.options.initialPositionRadius, n2 = (t11) => {
|
|
912
|
-
for (let e11 of t11.linksFrom || []) o2[e11.toNode.id] || (o2[e11.toNode.id] = true, l2.push(e11.toNode), n2(e11.toNode));
|
|
913
|
-
}, l2 = [];
|
|
914
|
-
for (let t11 of a2) l2.push(t11), n2(t11);
|
|
915
|
-
if (l2.length) for (let t11 of i10) -1 === l2.indexOf(t11) && l2.push(t11);
|
|
916
|
-
else l2 = i10;
|
|
917
|
-
for (let i11 = 0, a3 = l2.length; i11 < a3; ++i11) (t10 = l2[i11]).plotX = t10.prevX = ib(t10.plotX, e10.width / 2 + r2 * Math.cos(i11 * s10)), t10.plotY = t10.prevY = ib(t10.plotY, e10.height / 2 + r2 * Math.sin(i11 * s10)), t10.dispX = 0, t10.dispY = 0;
|
|
918
|
-
}
|
|
919
|
-
setRandomPositions() {
|
|
920
|
-
let t10, e10 = this.box, i10 = this.nodes, s10 = i10.length + 1, a2 = (t11) => {
|
|
921
|
-
let e11 = t11 * t11 / Math.PI;
|
|
922
|
-
return e11 - Math.floor(e11);
|
|
923
|
-
};
|
|
924
|
-
for (let o2 = 0, r2 = i10.length; o2 < r2; ++o2) (t10 = i10[o2]).plotX = t10.prevX = ib(t10.plotX, e10.width * a2(o2)), t10.plotY = t10.prevY = ib(t10.plotY, e10.height * a2(s10 + o2)), t10.dispX = 0, t10.dispY = 0;
|
|
925
|
-
}
|
|
926
|
-
force(t10, ...e10) {
|
|
927
|
-
this.integration[t10].apply(this, e10);
|
|
928
|
-
}
|
|
929
|
-
barycenterForces() {
|
|
930
|
-
this.getBarycenter(), this.force("barycenter");
|
|
931
|
-
}
|
|
932
|
-
getBarycenter() {
|
|
933
|
-
let t10 = 0, e10 = 0, i10 = 0;
|
|
934
|
-
for (let s10 of this.nodes) e10 += s10.plotX * s10.mass, i10 += s10.plotY * s10.mass, t10 += s10.mass;
|
|
935
|
-
return this.barycenter = { x: e10, y: i10, xFactor: e10 / t10, yFactor: i10 / t10 }, this.barycenter;
|
|
936
|
-
}
|
|
937
|
-
barnesHutApproximation(t10, e10) {
|
|
938
|
-
let i10, s10, a2 = this.getDistXY(t10, e10), o2 = this.vectorLength(a2);
|
|
939
|
-
return t10 !== e10 && 0 !== o2 && (e10.isInternal ? e10.boxSize / o2 < this.options.theta && 0 !== o2 ? (s10 = this.repulsiveForce(o2, this.k), this.force("repulsive", t10, s10 * e10.mass, a2, o2), i10 = false) : i10 = true : (s10 = this.repulsiveForce(o2, this.k), this.force("repulsive", t10, s10 * e10.mass, a2, o2))), i10;
|
|
940
|
-
}
|
|
941
|
-
repulsiveForces() {
|
|
942
|
-
if ("barnes-hut" === this.approximation) for (let t10 of this.nodes) this.quadTree.visitNodeRecursive(null, (e10) => this.barnesHutApproximation(t10, e10));
|
|
943
|
-
else {
|
|
944
|
-
let t10, e10, i10;
|
|
945
|
-
for (let s10 of this.nodes) for (let a2 of this.nodes) s10 === a2 || s10.fixedPosition || (i10 = this.getDistXY(s10, a2), 0 !== (e10 = this.vectorLength(i10)) && (t10 = this.repulsiveForce(e10, this.k), this.force("repulsive", s10, t10 * a2.mass, i10, e10)));
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
attractiveForces() {
|
|
949
|
-
let t10, e10, i10;
|
|
950
|
-
for (let s10 of this.links) s10.fromNode && s10.toNode && (t10 = this.getDistXY(s10.fromNode, s10.toNode), 0 !== (e10 = this.vectorLength(t10)) && (i10 = this.attractiveForce(e10, this.k), this.force("attractive", s10, i10, t10, e10)));
|
|
951
|
-
}
|
|
952
|
-
applyLimits() {
|
|
953
|
-
for (let t10 of this.nodes) t10.fixedPosition || (this.integration.integrate(this, t10), this.applyLimitBox(t10, this.box), t10.dispX = 0, t10.dispY = 0);
|
|
954
|
-
}
|
|
955
|
-
applyLimitBox(t10, e10) {
|
|
956
|
-
let i10 = t10.radius;
|
|
957
|
-
t10.plotX = ic(t10.plotX, e10.left + i10, e10.width - i10), t10.plotY = ic(t10.plotY, e10.top + i10, e10.height - i10);
|
|
958
|
-
}
|
|
959
|
-
coolDown(t10, e10, i10) {
|
|
960
|
-
return t10 - e10 * i10;
|
|
961
|
-
}
|
|
962
|
-
isStable() {
|
|
963
|
-
return 1e-5 > Math.abs(this.systemTemperature - this.prevSystemTemperature) || this.temperature <= 0;
|
|
964
|
-
}
|
|
965
|
-
getSystemTemperature() {
|
|
966
|
-
let t10 = 0;
|
|
967
|
-
for (let e10 of this.nodes) t10 += e10.temperature;
|
|
968
|
-
return t10;
|
|
969
|
-
}
|
|
970
|
-
vectorLength(t10) {
|
|
971
|
-
return Math.sqrt(t10.x * t10.x + t10.y * t10.y);
|
|
972
|
-
}
|
|
973
|
-
getDistR(t10, e10) {
|
|
974
|
-
let i10 = this.getDistXY(t10, e10);
|
|
975
|
-
return this.vectorLength(i10);
|
|
976
|
-
}
|
|
977
|
-
getDistXY(t10, e10) {
|
|
978
|
-
let i10 = t10.plotX - e10.plotX, s10 = t10.plotY - e10.plotY;
|
|
979
|
-
return { x: i10, y: s10, absX: Math.abs(i10), absY: Math.abs(s10) };
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
let ix = iy, { addEvent: iP, defined: iM, pick: iv } = x();
|
|
983
|
-
function iL() {
|
|
984
|
-
let t10 = this.series, e10 = [];
|
|
985
|
-
return t10.forEach((t11) => {
|
|
986
|
-
t11.parentNode && t11.parentNode.selected && e10.push(t11.parentNode);
|
|
987
|
-
}), e10;
|
|
988
|
-
}
|
|
989
|
-
function ik() {
|
|
990
|
-
this.allDataPoints && delete this.allDataPoints;
|
|
991
|
-
}
|
|
992
|
-
class iw extends ix {
|
|
993
|
-
constructor() {
|
|
994
|
-
super(...arguments), this.index = NaN, this.nodes = [], this.series = [];
|
|
995
|
-
}
|
|
996
|
-
static compose(t10) {
|
|
997
|
-
ix.compose(t10), e4.packedbubble = ir, e9.packedbubble = iw;
|
|
998
|
-
let e10 = t10.prototype;
|
|
999
|
-
e10.getSelectedParentNodes || (iP(t10, "beforeRedraw", ik), e10.getSelectedParentNodes = iL), e10.allParentNodes || (e10.allParentNodes = []);
|
|
1000
|
-
}
|
|
1001
|
-
beforeStep() {
|
|
1002
|
-
this.options.marker && this.series.forEach((t10) => {
|
|
1003
|
-
t10 && t10.calculateParentRadius();
|
|
1004
|
-
});
|
|
1005
|
-
}
|
|
1006
|
-
isStable() {
|
|
1007
|
-
let t10 = Math.abs(this.prevSystemTemperature - this.systemTemperature);
|
|
1008
|
-
return 1 > Math.abs(10 * this.systemTemperature / Math.sqrt(this.nodes.length)) && t10 < 1e-5 || this.temperature <= 0;
|
|
1009
|
-
}
|
|
1010
|
-
setCircularPositions() {
|
|
1011
|
-
var _a;
|
|
1012
|
-
let t10 = this.box, e10 = [...this.nodes, ...((_a = this == null ? void 0 : this.chart) == null ? void 0 : _a.allParentNodes) || []], i10 = 2 * Math.PI / (e10.length + 1), s10 = this.options.initialPositionRadius, a2, o2, r2 = 0;
|
|
1013
|
-
for (let n2 of e10) this.resolveSplitSeries(n2) && !n2.isParentNode ? (a2 = n2.series.parentNode.plotX, o2 = n2.series.parentNode.plotY) : (a2 = t10.width / 2, o2 = t10.height / 2), n2.plotX = n2.prevX = iv(n2.plotX, a2 + s10 * Math.cos(n2.index || r2 * i10)), n2.plotY = n2.prevY = iv(n2.plotY, o2 + s10 * Math.sin(n2.index || r2 * i10)), n2.dispX = 0, n2.dispY = 0, r2++;
|
|
1014
|
-
}
|
|
1015
|
-
repulsiveForces() {
|
|
1016
|
-
var _a, _b, _c;
|
|
1017
|
-
let { options: t10, k: e10 } = this, { bubblePadding: i10 = 0, seriesInteraction: s10 } = t10, a2 = [...this.nodes, ...((_a = this == null ? void 0 : this.chart) == null ? void 0 : _a.allParentNodes) || []];
|
|
1018
|
-
for (let t11 of a2) {
|
|
1019
|
-
let o2 = t11.series, r2 = t11.fixedPosition, n2 = (((_b = t11.marker) == null ? void 0 : _b.radius) || 0) + i10;
|
|
1020
|
-
for (let i11 of (t11.degree = t11.mass, t11.neighbours = 0, a2)) {
|
|
1021
|
-
let a3 = i11.series;
|
|
1022
|
-
if (t11 !== i11 && !r2 && (s10 || o2 === a3) && !(o2 === a3 && (i11.isParentNode || t11.isParentNode))) {
|
|
1023
|
-
let s11, a4 = this.getDistXY(t11, i11), o3 = this.vectorLength(a4) - (n2 + (((_c = i11.marker) == null ? void 0 : _c.radius) || 0));
|
|
1024
|
-
o3 < 0 && (t11.degree += 0.01, s11 = this.repulsiveForce(-o3 / Math.sqrt(++t11.neighbours), e10, t11, i11) * i11.mass), this.force("repulsive", t11, s11 || 0, a4, i11, o3);
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
resolveSplitSeries(t10) {
|
|
1030
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1031
|
-
let e10 = (_c = (_b = (_a = t10.series) == null ? void 0 : _a.options) == null ? void 0 : _b.layoutAlgorithm) == null ? void 0 : _c.splitSeries;
|
|
1032
|
-
return !iM(e10) && ((_h = (_g = (_f = (_e = (_d = t10.series.chart) == null ? void 0 : _d.options) == null ? void 0 : _e.plotOptions) == null ? void 0 : _f.packedbubble) == null ? void 0 : _g.layoutAlgorithm) == null ? void 0 : _h.splitSeries) || e10 || false;
|
|
1033
|
-
}
|
|
1034
|
-
applyLimitBox(t10, e10) {
|
|
1035
|
-
let i10, s10;
|
|
1036
|
-
this.resolveSplitSeries(t10) && !t10.isParentNode && this.options.parentNodeLimit && (i10 = this.getDistXY(t10, t10.series.parentNode), (s10 = t10.series.parentNodeRadius - t10.marker.radius - this.vectorLength(i10)) < 0 && s10 > -2 * t10.marker.radius && (t10.plotX -= 0.01 * i10.x, t10.plotY -= 0.01 * i10.y)), super.applyLimitBox(t10, e10);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
e9.packedbubble = iw;
|
|
1040
|
-
let { syncTimeout: iA } = x(), { animObject: iS } = x();
|
|
1041
|
-
var iT = m(28), iC = m.n(iT);
|
|
1042
|
-
let { deg2rad: iN } = x(), { addEvent: iX, merge: iY, uniqueKey: iR, defined: iI, extend: iE } = x();
|
|
1043
|
-
function iD(t10, e10) {
|
|
1044
|
-
e10 = iY(true, { enabled: true, attributes: { dy: -5, startOffset: "50%", textAnchor: "middle" } }, e10);
|
|
1045
|
-
let i10 = this.renderer.url, s10 = this.text || this, a2 = s10.textPath, { attributes: o2, enabled: r2 } = e10;
|
|
1046
|
-
if (t10 = t10 || a2 && a2.path, a2 && a2.undo(), t10 && r2) {
|
|
1047
|
-
let e11 = iX(s10, "afterModifyTree", (e12) => {
|
|
1048
|
-
if (t10 && r2) {
|
|
1049
|
-
let a3 = t10.attr("id");
|
|
1050
|
-
a3 || t10.attr("id", a3 = iR());
|
|
1051
|
-
let r3 = { x: 0, y: 0 };
|
|
1052
|
-
iI(o2.dx) && (r3.dx = o2.dx, delete o2.dx), iI(o2.dy) && (r3.dy = o2.dy, delete o2.dy), s10.attr(r3), this.attr({ transform: "" }), this.box && (this.box = this.box.destroy());
|
|
1053
|
-
let n2 = e12.nodes.slice(0);
|
|
1054
|
-
e12.nodes.length = 0, e12.nodes[0] = { tagName: "textPath", attributes: iE(o2, { "text-anchor": o2.textAnchor, href: `${i10}#${a3}` }), children: n2 };
|
|
1055
|
-
}
|
|
1056
|
-
});
|
|
1057
|
-
s10.textPath = { path: t10, undo: e11 };
|
|
1058
|
-
} else s10.attr({ dx: 0, dy: 0 }), delete s10.textPath;
|
|
1059
|
-
return this.added && (s10.textCache = "", this.renderer.buildText(s10)), this;
|
|
1060
|
-
}
|
|
1061
|
-
function iz(t10) {
|
|
1062
|
-
var _a;
|
|
1063
|
-
let e10 = t10.bBox, i10 = (_a = this.element) == null ? void 0 : _a.querySelector("textPath");
|
|
1064
|
-
if (i10) {
|
|
1065
|
-
let t11 = [], { b: s10, h: a2 } = this.renderer.fontMetrics(this.element), o2 = a2 - s10, r2 = RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)', "g"), n2 = i10.innerHTML.replace(r2, "").split(/<tspan class="highcharts-br"[^>]*>/), l2 = n2.length, h2 = (t12, e11) => {
|
|
1066
|
-
let { x: a3, y: r3 } = e11, n3 = (i10.getRotationOfChar(t12) - 90) * iN, l3 = Math.cos(n3), h3 = Math.sin(n3);
|
|
1067
|
-
return [[a3 - o2 * l3, r3 - o2 * h3], [a3 + s10 * l3, r3 + s10 * h3]];
|
|
1068
|
-
};
|
|
1069
|
-
for (let e11 = 0, s11 = 0; s11 < l2; s11++) {
|
|
1070
|
-
let a3 = n2[s11].length;
|
|
1071
|
-
for (let o3 = 0; o3 < a3; o3 += 5) try {
|
|
1072
|
-
let a4 = e11 + o3 + s11, [r3, n3] = h2(a4, i10.getStartPositionOfChar(a4));
|
|
1073
|
-
0 === o3 ? (t11.push(n3), t11.push(r3)) : (0 === s11 && t11.unshift(n3), s11 === l2 - 1 && t11.push(r3));
|
|
1074
|
-
} catch {
|
|
1075
|
-
break;
|
|
1076
|
-
}
|
|
1077
|
-
e11 += a3 - 1;
|
|
1078
|
-
try {
|
|
1079
|
-
let a4 = e11 + s11, o3 = i10.getEndPositionOfChar(a4), [r3, n3] = h2(a4, o3);
|
|
1080
|
-
t11.unshift(n3), t11.unshift(r3);
|
|
1081
|
-
} catch {
|
|
1082
|
-
break;
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
t11.length && t11.push(t11[0].slice()), e10.polygon = t11;
|
|
1086
|
-
}
|
|
1087
|
-
return e10;
|
|
1088
|
-
}
|
|
1089
|
-
function iO(t10) {
|
|
1090
|
-
var _a;
|
|
1091
|
-
let e10 = t10.labelOptions, i10 = t10.point, s10 = e10[i10.formatPrefix + "TextPath"] || e10.textPath;
|
|
1092
|
-
s10 && !e10.useHTML && (this.setTextPath(((_a = i10.getDataLabelPath) == null ? void 0 : _a.call(i10, this)) || i10.graphic, s10), i10.dataLabelPath && !s10.enabled && (i10.dataLabelPath = i10.dataLabelPath.destroy()));
|
|
1093
|
-
}
|
|
1094
|
-
let { parse: iH } = e_(), { noop: iB } = x(), { series: { prototype: iW }, seriesTypes: { bubble: iF } } = M(), { initDataLabels: iG, initDataLabelsDefer: iq } = { initDataLabels: function() {
|
|
1095
|
-
let t10 = this.options.dataLabels;
|
|
1096
|
-
if (!this.dataLabelsGroup) {
|
|
1097
|
-
let e10 = this.initDataLabelsGroup(0, t10);
|
|
1098
|
-
return !this.chart.styledMode && (t10 == null ? void 0 : t10.style) && e10.css(t10.style), e10.attr({ opacity: 0 }), this.visible && (this.options.animation && (t10 == null ? void 0 : t10.animation) ? e10.animate({ opacity: 1 }, t10.animation) : e10.attr({ opacity: 1 }), e10.show()), e10;
|
|
1099
|
-
}
|
|
1100
|
-
return this.dataLabelsGroup.attr({ opacity: 1, ...this.getPlotBox("data-labels") }), this.dataLabelsGroup;
|
|
1101
|
-
}, initDataLabelsDefer: function() {
|
|
1102
|
-
var _a;
|
|
1103
|
-
let t10 = this.options.dataLabels;
|
|
1104
|
-
(t10 == null ? void 0 : t10.defer) && ((_a = this.options.layoutAlgorithm) == null ? void 0 : _a.enableSimulation) ? iA(() => {
|
|
1105
|
-
this.deferDataLabels = false;
|
|
1106
|
-
}, t10 ? iS(t10.animation).defer : 0) : this.deferDataLabels = false;
|
|
1107
|
-
} }, { addEvent: iV, clamp: i_, defined: iU, extend: iK, fireEvent: ij, isArray: iZ, isNumber: i$, merge: iQ, pick: iJ } = x();
|
|
1108
|
-
({ compose: function(t10) {
|
|
1109
|
-
iX(t10, "afterGetBBox", iz), iX(t10, "beforeAddingDataLabel", iO);
|
|
1110
|
-
let e10 = t10.prototype;
|
|
1111
|
-
e10.setTextPath || (e10.setTextPath = iD);
|
|
1112
|
-
} }).compose(iC());
|
|
1113
|
-
class i0 extends iF {
|
|
1114
|
-
constructor() {
|
|
1115
|
-
super(...arguments), this.parentNodeMass = 0, this.deferDataLabels = true;
|
|
1116
|
-
}
|
|
1117
|
-
static compose(t10, e10, i10) {
|
|
1118
|
-
iF.compose(t10, e10, i10), e$.compose(e10), iw.compose(e10);
|
|
1119
|
-
}
|
|
1120
|
-
accumulateAllPoints() {
|
|
1121
|
-
let t10 = this.chart, e10 = [];
|
|
1122
|
-
for (let i10 of t10.series) if (i10.is("packedbubble") && i10.reserveSpace()) {
|
|
1123
|
-
let t11 = i10.getColumn("value");
|
|
1124
|
-
for (let s10 = 0; s10 < t11.length; s10++) e10.push([null, null, t11[s10], i10.index, s10, { id: s10, marker: { radius: 0 } }]);
|
|
1125
|
-
}
|
|
1126
|
-
return e10;
|
|
1127
|
-
}
|
|
1128
|
-
addLayout() {
|
|
1129
|
-
let t10 = this.options.layoutAlgorithm = this.options.layoutAlgorithm || {}, e10 = t10.type || "packedbubble", i10 = this.chart.options.chart, s10 = this.chart.graphLayoutsStorage, a2 = this.chart.graphLayoutsLookup, o2;
|
|
1130
|
-
s10 || (this.chart.graphLayoutsStorage = s10 = {}, this.chart.graphLayoutsLookup = a2 = []), (o2 = s10[e10]) || (t10.enableSimulation = iU(i10.forExport) ? !i10.forExport : t10.enableSimulation, s10[e10] = o2 = new e9[e10](), o2.init(t10), a2.splice(o2.index, 0, o2)), this.layout = o2, this.points.forEach((t11) => {
|
|
1131
|
-
t11.mass = 2, t11.degree = 1, t11.collisionNmb = 1;
|
|
1132
|
-
}), o2.setArea(0, 0, this.chart.plotWidth, this.chart.plotHeight), o2.addElementsToCollection([this], o2.series), o2.addElementsToCollection(this.points, o2.nodes);
|
|
1133
|
-
}
|
|
1134
|
-
addSeriesLayout() {
|
|
1135
|
-
let t10 = this.options.layoutAlgorithm = this.options.layoutAlgorithm || {}, e10 = t10.type || "packedbubble", i10 = this.chart.graphLayoutsStorage, s10 = this.chart.graphLayoutsLookup, a2 = iQ(t10, t10.parentNodeOptions, { enableSimulation: this.layout.options.enableSimulation }), o2 = i10[e10 + "-series"];
|
|
1136
|
-
o2 || (i10[e10 + "-series"] = o2 = new e9[e10](), o2.init(a2), s10.splice(o2.index, 0, o2)), this.parentNodeLayout = o2, this.createParentNodes();
|
|
1137
|
-
}
|
|
1138
|
-
calculateParentRadius() {
|
|
1139
|
-
let t10 = this.seriesBox();
|
|
1140
|
-
this.parentNodeRadius = i_(Math.sqrt(2 * this.parentNodeMass / Math.PI) + 20, 20, t10 ? Math.max(Math.sqrt(Math.pow(t10.width, 2) + Math.pow(t10.height, 2)) / 2 + 20, 20) : Math.sqrt(2 * this.parentNodeMass / Math.PI) + 20), this.parentNode && (this.parentNode.marker.radius = this.parentNode.radius = this.parentNodeRadius);
|
|
1141
|
-
}
|
|
1142
|
-
calculateZExtremes() {
|
|
1143
|
-
let t10 = this.chart.series, e10 = this.options.zMin, i10 = this.options.zMax, s10 = 1 / 0, a2 = -1 / 0;
|
|
1144
|
-
return e10 && i10 ? [e10, i10] : (t10.forEach((t11) => {
|
|
1145
|
-
t11.getColumn("value").forEach((t12) => {
|
|
1146
|
-
iU(t12) && (t12 > a2 && (a2 = t12), t12 < s10 && (s10 = t12));
|
|
1147
|
-
});
|
|
1148
|
-
}), [e10 = iJ(e10, s10), i10 = iJ(i10, a2)]);
|
|
1149
|
-
}
|
|
1150
|
-
checkOverlap(t10, e10) {
|
|
1151
|
-
let i10 = t10[0] - e10[0], s10 = t10[1] - e10[1];
|
|
1152
|
-
return Math.sqrt(i10 * i10 + s10 * s10) - Math.abs(t10[2] + e10[2]) < -1e-3;
|
|
1153
|
-
}
|
|
1154
|
-
createParentNodes() {
|
|
1155
|
-
let t10 = this.pointClass, e10 = this.chart, i10 = this.parentNodeLayout, s10 = this.layout.options, a2, o2 = this.parentNode, r2 = { radius: this.parentNodeRadius, lineColor: this.color, fillColor: iH(this.color).brighten(0.4).get() };
|
|
1156
|
-
s10.parentNodeOptions && (r2 = iQ(s10.parentNodeOptions.marker || {}, r2)), this.parentNodeMass = 0, this.points.forEach((t11) => {
|
|
1157
|
-
this.parentNodeMass += Math.PI * Math.pow(t11.marker.radius, 2);
|
|
1158
|
-
}), this.calculateParentRadius(), i10.nodes.forEach((t11) => {
|
|
1159
|
-
t11.seriesIndex === this.index && (a2 = true);
|
|
1160
|
-
}), i10.setArea(0, 0, e10.plotWidth, e10.plotHeight), a2 || (o2 || (o2 = new t10(this, { mass: this.parentNodeRadius / 2, marker: r2, dataLabels: { inside: false }, states: { normal: { marker: r2 }, hover: { marker: r2 } }, dataLabelOnNull: true, degree: this.parentNodeRadius, isParentNode: true, seriesIndex: this.index }), this.chart.allParentNodes.push(o2)), this.parentNode && (o2.plotX = this.parentNode.plotX, o2.plotY = this.parentNode.plotY), this.parentNode = o2, i10.addElementsToCollection([this], i10.series), i10.addElementsToCollection([o2], i10.nodes));
|
|
1161
|
-
}
|
|
1162
|
-
deferLayout() {
|
|
1163
|
-
let t10 = this.options.layoutAlgorithm;
|
|
1164
|
-
this.visible && (this.addLayout(), t10.splitSeries && this.addSeriesLayout());
|
|
1165
|
-
}
|
|
1166
|
-
destroy() {
|
|
1167
|
-
this.chart.graphLayoutsLookup && this.chart.graphLayoutsLookup.forEach((t10) => {
|
|
1168
|
-
t10.removeElementFromCollection(this, t10.series);
|
|
1169
|
-
}, this), this.parentNode && this.parentNodeLayout && (this.parentNodeLayout.removeElementFromCollection(this.parentNode, this.parentNodeLayout.nodes), this.parentNode.dataLabel && (this.parentNode.dataLabel = this.parentNode.dataLabel.destroy())), iW.destroy.apply(this, arguments);
|
|
1170
|
-
}
|
|
1171
|
-
drawDataLabels() {
|
|
1172
|
-
!this.deferDataLabels && (iW.drawDataLabels.call(this, this.points), this.parentNode && (this.parentNode.formatPrefix = "parentNode", iW.drawDataLabels.call(this, [this.parentNode])));
|
|
1173
|
-
}
|
|
1174
|
-
drawGraph() {
|
|
1175
|
-
var _a;
|
|
1176
|
-
if (!this.layout || !this.layout.options.splitSeries) return;
|
|
1177
|
-
let t10 = this.chart, e10 = this.layout.options.parentNodeOptions.marker, i10 = { fill: e10.fillColor || iH(this.color).brighten(0.4).get(), opacity: e10.fillOpacity, stroke: e10.lineColor || this.color, "stroke-width": iJ(e10.lineWidth, this.options.lineWidth) }, s10 = {};
|
|
1178
|
-
this.parentNodesGroup = this.plotGroup("parentNodesGroup", "parentNode", this.visible ? "inherit" : "hidden", 0.1, t10.seriesGroup), (_a = this.group) == null ? void 0 : _a.attr({ zIndex: 2 }), this.calculateParentRadius(), this.parentNode && iU(this.parentNode.plotX) && iU(this.parentNode.plotY) && iU(this.parentNodeRadius) && (s10 = iQ({ x: this.parentNode.plotX - this.parentNodeRadius, y: this.parentNode.plotY - this.parentNodeRadius, width: 2 * this.parentNodeRadius, height: 2 * this.parentNodeRadius }, i10), this.parentNode.graphic || (this.graph = this.parentNode.graphic = t10.renderer.symbol(i10.symbol).add(this.parentNodesGroup)), this.parentNode.graphic.attr(s10));
|
|
1179
|
-
}
|
|
1180
|
-
drawTracker() {
|
|
1181
|
-
let t10, e10 = this.parentNode;
|
|
1182
|
-
super.drawTracker(), e10 && (t10 = iZ(e10.dataLabels) ? e10.dataLabels : e10.dataLabel ? [e10.dataLabel] : [], e10.graphic && (e10.graphic.element.point = e10), t10.forEach((t11) => {
|
|
1183
|
-
(t11.div || t11.element).point = e10;
|
|
1184
|
-
}));
|
|
1185
|
-
}
|
|
1186
|
-
getPointRadius() {
|
|
1187
|
-
let t10, e10, i10, s10, a2 = this.chart, o2 = a2.plotWidth, r2 = a2.plotHeight, n2 = this.options, l2 = n2.useSimulation, h2 = Math.min(o2, r2), p2 = {}, d2 = [], c2 = a2.allDataPoints || [], u2 = c2.length;
|
|
1188
|
-
["minSize", "maxSize"].forEach((t11) => {
|
|
1189
|
-
let e11 = parseInt(n2[t11], 10), i11 = /%$/.test(n2[t11]);
|
|
1190
|
-
p2[t11] = i11 ? h2 * e11 / 100 : e11 * Math.sqrt(u2);
|
|
1191
|
-
}), a2.minRadius = t10 = p2.minSize / Math.sqrt(u2), a2.maxRadius = e10 = p2.maxSize / Math.sqrt(u2);
|
|
1192
|
-
let g2 = l2 ? this.calculateZExtremes() : [t10, e10];
|
|
1193
|
-
c2.forEach((a3, o3) => {
|
|
1194
|
-
i10 = l2 ? i_(a3[2], g2[0], g2[1]) : a3[2], 0 === (s10 = this.getRadius(g2[0], g2[1], t10, e10, i10)) && (s10 = null), c2[o3][2] = s10, d2.push(s10);
|
|
1195
|
-
}), this.radii = d2;
|
|
1196
|
-
}
|
|
1197
|
-
init() {
|
|
1198
|
-
return iW.init.apply(this, arguments), iq.call(this), this.eventsToUnbind.push(iV(this, "updatedData", function() {
|
|
1199
|
-
this.chart.series.forEach((t10) => {
|
|
1200
|
-
t10.type === this.type && (t10.isDirty = true);
|
|
1201
|
-
}, this);
|
|
1202
|
-
})), this;
|
|
1203
|
-
}
|
|
1204
|
-
onMouseUp(t10) {
|
|
1205
|
-
if (t10.fixedPosition && !t10.removed) {
|
|
1206
|
-
let e10, i10 = this.layout, s10 = this.parentNodeLayout;
|
|
1207
|
-
!t10.isParentNode && s10 && i10.options.dragBetweenSeries && s10.nodes.forEach((s11) => {
|
|
1208
|
-
t10 && t10.marker && s11 !== t10.series.parentNode && (e10 = i10.getDistXY(t10, s11), i10.vectorLength(e10) - s11.marker.radius - t10.marker.radius < 0 && (s11.series.addPoint(iQ(t10.options, { plotX: t10.plotX, plotY: t10.plotY }), false), i10.removeElementFromCollection(t10, i10.nodes), t10.remove()));
|
|
1209
|
-
}), e$.onMouseUp.apply(this, arguments);
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
placeBubbles(t10) {
|
|
1213
|
-
let e10 = this.checkOverlap, i10 = this.positionBubble, s10 = [], a2 = 1, o2 = 0, r2 = 0, n2, l2 = [], h2, p2 = t10.sort((t11, e11) => e11[2] - t11[2]);
|
|
1214
|
-
if (p2.length) {
|
|
1215
|
-
if (s10.push([[0, 0, p2[0][2], p2[0][3], p2[0][4]]]), p2.length > 1) for (s10.push([[0, 0 - p2[1][2] - p2[0][2], p2[1][2], p2[1][3], p2[1][4]]]), h2 = 2; h2 < p2.length; h2++) p2[h2][2] = p2[h2][2] || 1, e10(n2 = i10(s10[a2][o2], s10[a2 - 1][r2], p2[h2]), s10[a2][0]) ? (s10.push([]), r2 = 0, s10[a2 + 1].push(i10(s10[a2][o2], s10[a2][0], p2[h2])), a2++, o2 = 0) : a2 > 1 && s10[a2 - 1][r2 + 1] && e10(n2, s10[a2 - 1][r2 + 1]) ? (r2++, s10[a2].push(i10(s10[a2][o2], s10[a2 - 1][r2], p2[h2])), o2++) : (o2++, s10[a2].push(n2));
|
|
1216
|
-
this.chart.stages = s10, this.chart.rawPositions = [].concat.apply([], s10), this.resizeRadius(), l2 = this.chart.rawPositions;
|
|
1217
|
-
}
|
|
1218
|
-
return l2;
|
|
1219
|
-
}
|
|
1220
|
-
pointAttribs(t10, e10) {
|
|
1221
|
-
let i10 = this.options, s10 = t10 && t10.isParentNode, a2 = i10.marker;
|
|
1222
|
-
s10 && i10.layoutAlgorithm && i10.layoutAlgorithm.parentNodeOptions && (a2 = i10.layoutAlgorithm.parentNodeOptions.marker);
|
|
1223
|
-
let o2 = a2.fillOpacity, r2 = iW.pointAttribs.call(this, t10, e10);
|
|
1224
|
-
return 1 !== o2 && (r2["fill-opacity"] = o2), r2;
|
|
1225
|
-
}
|
|
1226
|
-
positionBubble(t10, e10, i10) {
|
|
1227
|
-
let s10 = Math.asin, a2 = Math.acos, o2 = Math.pow, r2 = Math.abs, n2 = (0, Math.sqrt)(o2(t10[0] - e10[0], 2) + o2(t10[1] - e10[1], 2)), l2 = a2((o2(n2, 2) + o2(i10[2] + e10[2], 2) - o2(i10[2] + t10[2], 2)) / (2 * (i10[2] + e10[2]) * n2)), h2 = s10(r2(t10[0] - e10[0]) / n2), p2 = (t10[1] - e10[1] < 0 ? 0 : Math.PI) + l2 + h2 * ((t10[0] - e10[0]) * (t10[1] - e10[1]) < 0 ? 1 : -1), d2 = Math.cos(p2), c2 = Math.sin(p2);
|
|
1228
|
-
return [e10[0] + (e10[2] + i10[2]) * c2, e10[1] - (e10[2] + i10[2]) * d2, i10[2], i10[3], i10[4]];
|
|
1229
|
-
}
|
|
1230
|
-
render() {
|
|
1231
|
-
let t10 = [];
|
|
1232
|
-
iW.render.apply(this, arguments), !this.options.dataLabels.allowOverlap && (this.data.forEach((e10) => {
|
|
1233
|
-
iZ(e10.dataLabels) && e10.dataLabels.forEach((e11) => {
|
|
1234
|
-
t10.push(e11);
|
|
1235
|
-
});
|
|
1236
|
-
}), this.options.useSimulation && this.chart.hideOverlappingLabels(t10));
|
|
1237
|
-
}
|
|
1238
|
-
resizeRadius() {
|
|
1239
|
-
let t10, e10, i10, s10, a2, o2 = this.chart, r2 = o2.rawPositions, n2 = Math.min, l2 = Math.max, h2 = o2.plotLeft, p2 = o2.plotTop, d2 = o2.plotHeight, c2 = o2.plotWidth;
|
|
1240
|
-
for (let o3 of (t10 = i10 = 1 / 0, e10 = s10 = -1 / 0, r2)) a2 = o3[2], t10 = n2(t10, o3[0] - a2), e10 = l2(e10, o3[0] + a2), i10 = n2(i10, o3[1] - a2), s10 = l2(s10, o3[1] + a2);
|
|
1241
|
-
let u2 = [e10 - t10, s10 - i10], g2 = [(c2 - h2) / u2[0], (d2 - p2) / u2[1]], f2 = n2.apply([], g2);
|
|
1242
|
-
if (Math.abs(f2 - 1) > 1e-10) {
|
|
1243
|
-
for (let t11 of r2) t11[2] *= f2;
|
|
1244
|
-
this.placeBubbles(r2);
|
|
1245
|
-
} else o2.diffY = d2 / 2 + p2 - i10 - (s10 - i10) / 2, o2.diffX = c2 / 2 + h2 - t10 - (e10 - t10) / 2;
|
|
1246
|
-
}
|
|
1247
|
-
seriesBox() {
|
|
1248
|
-
let t10, e10 = this.chart, i10 = this.data, s10 = Math.max, a2 = Math.min, o2 = [e10.plotLeft, e10.plotLeft + e10.plotWidth, e10.plotTop, e10.plotTop + e10.plotHeight];
|
|
1249
|
-
return i10.forEach((e11) => {
|
|
1250
|
-
iU(e11.plotX) && iU(e11.plotY) && e11.marker.radius && (t10 = e11.marker.radius, o2[0] = a2(o2[0], e11.plotX - t10), o2[1] = s10(o2[1], e11.plotX + t10), o2[2] = a2(o2[2], e11.plotY - t10), o2[3] = s10(o2[3], e11.plotY + t10));
|
|
1251
|
-
}), i$(o2.width / o2.height) ? o2 : null;
|
|
1252
|
-
}
|
|
1253
|
-
setVisible() {
|
|
1254
|
-
let t10 = this;
|
|
1255
|
-
iW.setVisible.apply(t10, arguments), t10.parentNodeLayout && t10.graph ? t10.visible ? (t10.graph.show(), t10.parentNode.dataLabel && t10.parentNode.dataLabel.show()) : (t10.graph.hide(), t10.parentNodeLayout.removeElementFromCollection(t10.parentNode, t10.parentNodeLayout.nodes), t10.parentNode.dataLabel && t10.parentNode.dataLabel.hide()) : t10.layout && (t10.visible ? t10.layout.addElementsToCollection(t10.points, t10.layout.nodes) : t10.points.forEach((e10) => {
|
|
1256
|
-
t10.layout.removeElementFromCollection(e10, t10.layout.nodes);
|
|
1257
|
-
}));
|
|
1258
|
-
}
|
|
1259
|
-
translate() {
|
|
1260
|
-
let t10, e10, i10, s10 = this.chart, a2 = this.data, o2 = this.index, r2 = this.options.useSimulation;
|
|
1261
|
-
for (let n2 of (this.generatePoints(), iU(s10.allDataPoints) || (s10.allDataPoints = this.accumulateAllPoints(), this.getPointRadius()), r2 ? i10 = s10.allDataPoints : (i10 = this.placeBubbles(s10.allDataPoints), this.options.draggable = false), i10)) n2[3] === o2 && (t10 = a2[n2[4]], e10 = iJ(n2[2], void 0), r2 || (t10.plotX = n2[0] - s10.plotLeft + s10.diffX, t10.plotY = n2[1] - s10.plotTop + s10.diffY), i$(e10) && (t10.marker = iK(t10.marker, { radius: e10, width: 2 * e10, height: 2 * e10 }), t10.radius = e10));
|
|
1262
|
-
r2 && this.deferLayout(), ij(this, "afterTranslate");
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
i0.defaultOptions = iQ(iF.defaultOptions, { minSize: "10%", maxSize: "50%", sizeBy: "area", zoneAxis: "y", crisp: false, tooltip: { pointFormat: "Value: {point.value}" }, draggable: true, useSimulation: true, parentNode: { allowPointSelect: false }, dataLabels: { formatter: function() {
|
|
1266
|
-
let { numberFormatter: t10 } = this.series.chart, { value: e10 } = this.point;
|
|
1267
|
-
return is(e10) ? t10(e10, -1) : "";
|
|
1268
|
-
}, parentNodeFormatter: function() {
|
|
1269
|
-
return this.name || "";
|
|
1270
|
-
}, parentNodeTextPath: { enabled: true }, padding: 0, style: { transition: "opacity 2000ms" } }, layoutAlgorithm: { initialPositions: "circle", initialPositionRadius: 20, bubblePadding: 5, parentNodeLimit: false, seriesInteraction: true, dragBetweenSeries: false, parentNodeOptions: { maxIterations: 400, gravitationalConstant: 0.03, maxSpeed: 50, initialPositionRadius: 100, seriesInteraction: true, marker: { fillColor: null, fillOpacity: 1, lineWidth: null, lineColor: null, symbol: "circle" } }, enableSimulation: true, type: "packedbubble", integration: "packedbubble", maxIterations: 1e3, splitSeries: false, maxSpeed: 5, gravitationalConstant: 0.01, friction: -0.981 }, stickyTracking: false }), iK(i0.prototype, { pointClass: ii, axisTypes: [], directTouch: true, forces: ["barycenter", "repulsive"], hasDraggableNodes: true, invertible: false, isCartesian: false, noSharedTooltip: true, pointArrayMap: ["value"], pointValKey: "value", requireSorting: false, trackerGroups: ["group", "dataLabelsGroup", "parentNodesGroup"], initDataLabels: iG, alignDataLabel: iW.alignDataLabel, indexateNodes: iB, onMouseDown: e$.onMouseDown, onMouseMove: e$.onMouseMove, redrawHalo: e$.redrawHalo, searchPoint: iB }), M().registerSeriesType("packedbubble", i0);
|
|
1271
|
-
let { noop: i1 } = x(), { area: i2, line: i3, scatter: i5 } = M().seriesTypes, { extend: i8, merge: i6 } = x();
|
|
1272
|
-
class i4 extends i5 {
|
|
1273
|
-
getGraphPath() {
|
|
1274
|
-
let t10 = i3.prototype.getGraphPath.call(this), e10 = t10.length + 1;
|
|
1275
|
-
for (; e10--; ) (e10 === t10.length || "M" === t10[e10][0]) && e10 > 0 && t10.splice(e10, 0, ["Z"]);
|
|
1276
|
-
return this.areaPath = t10, t10;
|
|
1277
|
-
}
|
|
1278
|
-
drawGraph() {
|
|
1279
|
-
this.options.fillColor = this.color, i2.prototype.drawGraph.call(this);
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
i4.defaultOptions = i6(i5.defaultOptions, { marker: { enabled: false, states: { hover: { enabled: false } } }, stickyTracking: false, tooltip: { followPointer: true, pointFormat: "" }, trackByArea: true, legendSymbol: "rectangle" }), i8(i4.prototype, { type: "polygon", drawTracker: i3.prototype.drawTracker, setStackedPoints: i1 }), M().registerSeriesType("polygon", i4);
|
|
1283
|
-
let { defaultOptions: i9 } = x(), { noop: i7 } = x(), { addEvent: st, extend: se, isObject: si, merge: ss, relativeLength: sa } = x(), so = { radius: 0, scope: "stack", where: void 0 };
|
|
1284
|
-
function sp(t10, e10) {
|
|
1285
|
-
return si(t10) || (t10 = { radius: t10 || 0 }), ss(so, e10, t10);
|
|
1286
|
-
}
|
|
1287
|
-
let su = { circular: { gridLineWidth: 1, labels: { align: void 0, x: 0, y: void 0 }, maxPadding: 0, minPadding: 0, showLastLabel: false, tickLength: 0 }, radial: { gridLineInterpolation: "circle", gridLineWidth: 1, labels: { align: "right", padding: 5, x: -3, y: -2 }, showLastLabel: false, title: { x: 4, text: null, rotation: 90 } }, radialGauge: { endOnTick: false, gridLineWidth: 0, labels: { align: "center", distance: -25, x: 0, y: void 0 }, lineWidth: 1, minorGridLineWidth: 0, minorTickInterval: "auto", minorTickLength: 10, minorTickPosition: "inside", minorTickWidth: 1, startOnTick: false, tickLength: 10, tickPixelInterval: 100, tickPosition: "inside", tickWidth: 2, title: { rotation: 0, text: "" }, zIndex: 2 } }, { defaultOptions: sg } = x(), { composed: sf, noop: sm } = x(), { addEvent: sb, correctFloat: sy, defined: sx, extend: sP, fireEvent: sM, isObject: sv, merge: sL, pick: sk, pushUnique: sw, relativeLength: sA, splat: sS, wrap: sT } = x();
|
|
1288
|
-
!function(t10) {
|
|
1289
|
-
function e10() {
|
|
1290
|
-
this.autoConnect = this.isCircular && void 0 === sk(this.userMax, this.options.max) && sy(this.endAngleRad - this.startAngleRad) === sy(2 * Math.PI), !this.isCircular && this.chart.inverted && this.max++, this.autoConnect && (this.max += this.categories && 1 || this.pointRange || this.closestPointRange || 0);
|
|
1291
|
-
}
|
|
1292
|
-
function i10() {
|
|
1293
|
-
return () => {
|
|
1294
|
-
if (this.isRadial && this.tickPositions && this.options.labels && true !== this.options.labels.allowOverlap) return this.tickPositions.map((t11) => {
|
|
1295
|
-
var _a;
|
|
1296
|
-
return (_a = this.ticks[t11]) == null ? void 0 : _a.label;
|
|
1297
|
-
}).filter((t11) => !!t11);
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
|
-
function s10() {
|
|
1301
|
-
return sm;
|
|
1302
|
-
}
|
|
1303
|
-
function a2(t11, e11, i11) {
|
|
1304
|
-
let s11 = this.pane.center, a3 = t11.value, o3, r3, n3;
|
|
1305
|
-
return this.isCircular ? (sx(a3) ? t11.point && (t11.point.shapeArgs || {}).start && (a3 = this.chart.inverted ? this.translate(t11.point.rectPlotY, true) : t11.point.x) : (r3 = t11.chartX || 0, n3 = t11.chartY || 0, a3 = this.translate(Math.atan2(n3 - i11, r3 - e11) - this.startAngleRad, true)), r3 = (o3 = this.getPosition(a3)).x, n3 = o3.y) : (sx(a3) || (r3 = t11.chartX, n3 = t11.chartY), sx(r3) && sx(n3) && (i11 = s11[1] + this.chart.plotTop, a3 = this.translate(Math.min(Math.sqrt(Math.pow(r3 - e11, 2) + Math.pow(n3 - i11, 2)), s11[2] / 2) - s11[3] / 2, true))), [a3, r3 || 0, n3 || 0];
|
|
1306
|
-
}
|
|
1307
|
-
function o2(t11, e11, i11) {
|
|
1308
|
-
let s11 = this.pane.center, a3 = this.chart, o3 = this.left || 0, r3 = this.top || 0, n3, l3 = sk(e11, s11[2] / 2 - this.offset), h3;
|
|
1309
|
-
return void 0 === i11 && (i11 = this.horiz ? 0 : this.center && -this.center[3] / 2), i11 && (l3 += i11), this.isCircular || void 0 !== e11 ? ((h3 = this.chart.renderer.symbols.arc(o3 + s11[0], r3 + s11[1], l3, l3, { start: this.startAngleRad, end: this.endAngleRad, open: true, innerR: 0 })).xBounds = [o3 + s11[0]], h3.yBounds = [r3 + s11[1] - l3]) : (n3 = this.postTranslate(this.angleRad, l3), h3 = [["M", this.center[0] + a3.plotLeft, this.center[1] + a3.plotTop], ["L", n3.x, n3.y]]), h3;
|
|
1310
|
-
}
|
|
1311
|
-
function r2() {
|
|
1312
|
-
this.constructor.prototype.getOffset.call(this), this.chart.axisOffset[this.side] = 0;
|
|
1313
|
-
}
|
|
1314
|
-
function n2(t11, e11, i11) {
|
|
1315
|
-
let s11 = this.chart, a3 = (t12) => {
|
|
1316
|
-
if ("string" == typeof t12) {
|
|
1317
|
-
let e12 = parseInt(t12, 10);
|
|
1318
|
-
return c3.test(t12) && (e12 = e12 * l3 / 100), e12;
|
|
1319
|
-
}
|
|
1320
|
-
return t12;
|
|
1321
|
-
}, o3 = this.center, r3 = this.startAngleRad, n3 = i11.borderRadius, l3 = o3[2] / 2, h3 = Math.min(this.offset, 0), p3 = this.left || 0, d3 = this.top || 0, c3 = /%$/, u3 = this.isCircular, g3 = this.options.plotBands || [], f3 = g3.indexOf(i11), m3, b3, y3, x2, P3, M3, v3 = sk(a3(i11.outerRadius), l3), L3 = a3(i11.innerRadius), k3 = sk(a3(i11.thickness), 10), w3 = true, A3 = true;
|
|
1322
|
-
if (n3 && f3 > -1 && (g3[f3 - 1] && g3[f3 - 1].to === t11 && (w3 = false), g3[f3 + 1] && g3[f3 + 1].from === e11 && (A3 = false)), "polygon" === this.options.gridLineInterpolation) M3 = this.getPlotLinePath({ value: t11 }).concat(this.getPlotLinePath({ value: e11, reverse: true }));
|
|
1323
|
-
else {
|
|
1324
|
-
t11 = Math.max(t11, this.min), e11 = Math.min(e11, this.max);
|
|
1325
|
-
let a4 = this.translate(t11), l4 = this.translate(e11);
|
|
1326
|
-
u3 || (v3 = a4 || 0, L3 = l4 || 0), "circle" !== i11.shape && u3 ? (m3 = r3 + (a4 || 0), b3 = r3 + (l4 || 0)) : (m3 = -Math.PI / 2, b3 = 1.5 * Math.PI, P3 = true), v3 -= h3, k3 -= h3, M3 = s11.renderer.symbols.arc(p3 + o3[0], d3 + o3[1], v3, v3, { start: Math.min(m3, b3), end: Math.max(m3, b3), innerR: sk(L3, v3 - k3), open: P3, borderRadius: n3, brStart: w3, brEnd: A3 }), u3 && (y3 = (b3 + m3) / 2, x2 = p3 + o3[0] + o3[2] / 2 * Math.cos(y3), M3.xBounds = y3 > -Math.PI / 2 && y3 < Math.PI / 2 ? [x2, s11.plotWidth] : [0, x2], M3.yBounds = [d3 + o3[1] + o3[2] / 2 * Math.sin(y3)], M3.yBounds[0] += y3 > -Math.PI && y3 < 0 || y3 > Math.PI ? -10 : 10);
|
|
1327
|
-
}
|
|
1328
|
-
return M3;
|
|
1329
|
-
}
|
|
1330
|
-
function l2(t11) {
|
|
1331
|
-
let e11 = this.pane.center, i11 = this.chart, s11 = i11.inverted, a3 = t11.reverse, o3 = this.pane.options.background, r3 = o3 ? sS(o3)[0] : {}, n3 = r3.innerRadius || "0%", l3 = r3.outerRadius || "100%", h3 = e11[0] + i11.plotLeft, p3 = e11[1] + i11.plotTop, d3 = this.height, c3 = t11.isCrosshair, u3 = e11[3] / 2, g3 = t11.value, f3, m3, b3, y3, x2, P3, M3, v3, L3, k3 = this.getPosition(g3), w3 = k3.x, A3 = k3.y;
|
|
1332
|
-
if (c3 && (g3 = (v3 = this.getCrosshairPosition(t11, h3, p3))[0], w3 = v3[1], A3 = v3[2]), this.isCircular) m3 = Math.sqrt(Math.pow(w3 - h3, 2) + Math.pow(A3 - p3, 2)), b3 = "string" == typeof n3 ? sA(n3, 1) : n3 / m3, y3 = "string" == typeof l3 ? sA(l3, 1) : l3 / m3, e11 && u3 && (b3 < (f3 = u3 / m3) && (b3 = f3), y3 < f3 && (y3 = f3)), L3 = [["M", h3 + b3 * (w3 - h3), p3 - b3 * (p3 - A3)], ["L", w3 - (1 - y3) * (w3 - h3), A3 + (1 - y3) * (p3 - A3)]];
|
|
1333
|
-
else if ((g3 = this.translate(g3)) && (g3 < 0 || g3 > d3) && (g3 = 0), "circle" === this.options.gridLineInterpolation) L3 = this.getLinePath(0, g3, u3);
|
|
1334
|
-
else if (L3 = [], i11[s11 ? "yAxis" : "xAxis"].forEach((t12) => {
|
|
1335
|
-
t12.pane === this.pane && (x2 = t12);
|
|
1336
|
-
}), x2) {
|
|
1337
|
-
M3 = x2.tickPositions, x2.autoConnect && (M3 = M3.concat([M3[0]])), a3 && (M3 = M3.slice().reverse()), g3 && (g3 += u3);
|
|
1338
|
-
for (let t12 = 0; t12 < M3.length; t12++) P3 = x2.getPosition(M3[t12], g3), L3.push(t12 ? ["L", P3.x, P3.y] : ["M", P3.x, P3.y]);
|
|
1339
|
-
}
|
|
1340
|
-
return L3;
|
|
1341
|
-
}
|
|
1342
|
-
function h2(t11, e11) {
|
|
1343
|
-
let i11 = this.translate(t11);
|
|
1344
|
-
return this.postTranslate(this.isCircular ? i11 : this.angleRad, sk(this.isCircular ? e11 : i11 < 0 ? 0 : i11, this.center[2] / 2) - this.offset);
|
|
1345
|
-
}
|
|
1346
|
-
function p2() {
|
|
1347
|
-
let t11 = this.center, e11 = this.chart, i11 = this.options.title;
|
|
1348
|
-
return { x: e11.plotLeft + t11[0] + (i11.x || 0), y: e11.plotTop + t11[1] - { high: 0.5, middle: 0.25, low: 0 }[i11.align] * t11[2] + (i11.y || 0) };
|
|
1349
|
-
}
|
|
1350
|
-
function d2(t11) {
|
|
1351
|
-
t11.beforeSetTickPositions = e10, t11.createLabelCollector = i10, t11.getCrosshairPosition = a2, t11.getLinePath = o2, t11.getOffset = r2, t11.getPlotBandPath = n2, t11.getPlotLinePath = l2, t11.getPosition = h2, t11.getTitlePosition = p2, t11.postTranslate = M2, t11.setAxisSize = L2, t11.setAxisTranslation = k2, t11.setOptions = w2;
|
|
1352
|
-
}
|
|
1353
|
-
function c2() {
|
|
1354
|
-
let t11 = this.chart, e11 = this.options, i11 = t11.angular && this.isXAxis, s11 = this.pane, a3 = s11 == null ? void 0 : s11.options;
|
|
1355
|
-
if (!i11 && s11 && (t11.angular || t11.polar)) {
|
|
1356
|
-
let t12 = 2 * Math.PI, i12 = (sk(a3.startAngle, 0) - 90) * Math.PI / 180, s12 = (sk(a3.endAngle, sk(a3.startAngle, 0) + 360) - 90) * Math.PI / 180;
|
|
1357
|
-
this.angleRad = (e11.angle || 0) * Math.PI / 180, this.startAngleRad = i12, this.endAngleRad = s12, this.offset = e11.offset || 0;
|
|
1358
|
-
let o3 = (i12 % t12 + t12) % t12, r3 = (s12 % t12 + t12) % t12;
|
|
1359
|
-
o3 > Math.PI && (o3 -= t12), r3 > Math.PI && (r3 -= t12), this.normalizedStartAngleRad = o3, this.normalizedEndAngleRad = r3;
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
function u2(t11) {
|
|
1363
|
-
this.isRadial && (t11.align = void 0, t11.preventDefault());
|
|
1364
|
-
}
|
|
1365
|
-
function g2() {
|
|
1366
|
-
var _a;
|
|
1367
|
-
if ((_a = this.chart) == null ? void 0 : _a.labelCollectors) {
|
|
1368
|
-
let t11 = this.labelCollector ? this.chart.labelCollectors.indexOf(this.labelCollector) : -1;
|
|
1369
|
-
t11 >= 0 && this.chart.labelCollectors.splice(t11, 1);
|
|
1370
|
-
}
|
|
1371
|
-
}
|
|
1372
|
-
function f2(t11) {
|
|
1373
|
-
let e11, i11 = this.chart, a3 = i11.angular, o3 = i11.polar, r3 = this.isXAxis, n3 = this.coll, l3 = t11.userOptions.pane || 0, h3 = this.pane = i11.pane && i11.pane[l3];
|
|
1374
|
-
if ("colorAxis" === n3) {
|
|
1375
|
-
this.isRadial = false;
|
|
1376
|
-
return;
|
|
1377
|
-
}
|
|
1378
|
-
if (a3) {
|
|
1379
|
-
if (a3 && r3) this.isHidden = true, this.createLabelCollector = s10, this.getOffset = sm, this.redraw = v2, this.render = v2, this.setScale = sm, this.setCategories = sm, this.setTitle = sm;
|
|
1380
|
-
else d2(this);
|
|
1381
|
-
e11 = !r3;
|
|
1382
|
-
} else o3 && (d2(this), e11 = this.horiz);
|
|
1383
|
-
a3 || o3 ? (this.isRadial = true, this.labelCollector || (this.labelCollector = this.createLabelCollector()), this.labelCollector && i11.labelCollectors.push(this.labelCollector)) : this.isRadial = false, h3 && e11 && (h3.axis = this), this.isCircular = e11;
|
|
1384
|
-
}
|
|
1385
|
-
function m2() {
|
|
1386
|
-
this.isRadial && this.beforeSetTickPositions();
|
|
1387
|
-
}
|
|
1388
|
-
function b2(t11) {
|
|
1389
|
-
let e11 = this.label;
|
|
1390
|
-
if (!e11) return;
|
|
1391
|
-
let i11 = this.axis, s11 = e11.getBBox(), a3 = i11.options.labels, o3 = (i11.translate(this.pos) + i11.startAngleRad + Math.PI / 2) / Math.PI * 180 % 360, r3 = Math.round(o3), n3 = sx(a3.y) ? 0 : -(0.3 * s11.height), l3 = a3.y, h3, p3 = 20, d3 = a3.align, c3 = "end", u3 = r3 < 0 ? r3 + 360 : r3, g3 = u3, f3 = 0, m3 = 0;
|
|
1392
|
-
i11.isRadial && (h3 = i11.getPosition(this.pos, i11.center[2] / 2 + sA(sk(a3.distance, -25), i11.center[2] / 2, -i11.center[2] / 2)), "auto" === a3.rotation ? e11.attr({ rotation: o3 }) : sx(l3) || (l3 = i11.chart.renderer.fontMetrics(e11).b - s11.height / 2), sx(d3) || (i11.isCircular ? (s11.width > i11.len * i11.tickInterval / (i11.max - i11.min) && (p3 = 0), d3 = o3 > p3 && o3 < 180 - p3 ? "left" : o3 > 180 + p3 && o3 < 360 - p3 ? "right" : "center") : d3 = "center", e11.attr({ align: d3 })), "auto" === d3 && 2 === i11.tickPositions.length && i11.isCircular && (u3 > 90 && u3 < 180 ? u3 = 180 - u3 : u3 > 270 && u3 <= 360 && (u3 = 540 - u3), g3 > 180 && g3 <= 360 && (g3 = 360 - g3), (i11.pane.options.startAngle === r3 || i11.pane.options.startAngle === r3 + 360 || i11.pane.options.startAngle === r3 - 360) && (c3 = "start"), d3 = r3 >= -90 && r3 <= 90 || r3 >= -360 && r3 <= -270 || r3 >= 270 && r3 <= 360 ? "start" === c3 ? "right" : "left" : "start" === c3 ? "left" : "right", g3 > 70 && g3 < 110 && (d3 = "center"), u3 < 15 || u3 >= 180 && u3 < 195 ? f3 = 0.3 * s11.height : u3 >= 15 && u3 <= 35 ? f3 = "start" === c3 ? 0 : 0.75 * s11.height : u3 >= 195 && u3 <= 215 ? f3 = "start" === c3 ? 0.75 * s11.height : 0 : u3 > 35 && u3 <= 90 ? f3 = "start" === c3 ? -(0.25 * s11.height) : s11.height : u3 > 215 && u3 <= 270 && (f3 = "start" === c3 ? s11.height : -(0.25 * s11.height)), g3 < 15 ? m3 = "start" === c3 ? -(0.15 * s11.height) : 0.15 * s11.height : g3 > 165 && g3 <= 180 && (m3 = "start" === c3 ? 0.15 * s11.height : -(0.15 * s11.height)), e11.attr({ align: d3 }), e11.translate(m3, f3 + n3)), t11.pos.x = h3.x + (a3.x || 0), t11.pos.y = h3.y + (l3 || 0));
|
|
1393
|
-
}
|
|
1394
|
-
function y2(t11) {
|
|
1395
|
-
this.axis.getPosition && sP(t11.pos, this.axis.getPosition(this.pos));
|
|
1396
|
-
}
|
|
1397
|
-
function P2({ options: e11 }) {
|
|
1398
|
-
e11.xAxis && sL(true, t10.radialDefaultOptions.circular, e11.xAxis), e11.yAxis && sL(true, t10.radialDefaultOptions.radialGauge, e11.yAxis);
|
|
1399
|
-
}
|
|
1400
|
-
function M2(t11, e11) {
|
|
1401
|
-
let i11 = this.chart, s11 = this.center;
|
|
1402
|
-
return t11 = this.startAngleRad + t11, { x: i11.plotLeft + s11[0] + Math.cos(t11) * e11, y: i11.plotTop + s11[1] + Math.sin(t11) * e11 };
|
|
1403
|
-
}
|
|
1404
|
-
function v2() {
|
|
1405
|
-
this.isDirty = false;
|
|
1406
|
-
}
|
|
1407
|
-
function L2() {
|
|
1408
|
-
let t11, e11;
|
|
1409
|
-
this.constructor.prototype.setAxisSize.call(this), this.isRadial && (this.pane.updateCenter(this), t11 = this.center = this.pane.center.slice(), this.isCircular ? this.sector = this.endAngleRad - this.startAngleRad : (e11 = this.postTranslate(this.angleRad, t11[3] / 2), t11[0] = e11.x - this.chart.plotLeft, t11[1] = e11.y - this.chart.plotTop), this.len = this.width = this.height = (t11[2] - t11[3]) * sk(this.sector, 1) / 2);
|
|
1410
|
-
}
|
|
1411
|
-
function k2() {
|
|
1412
|
-
this.constructor.prototype.setAxisTranslation.call(this), this.center && (this.isCircular ? this.transA = (this.endAngleRad - this.startAngleRad) / (this.max - this.min || 1) : this.transA = (this.center[2] - this.center[3]) / 2 / (this.max - this.min || 1), this.isXAxis ? this.minPixelPadding = this.transA * this.minPointOffset : this.minPixelPadding = 0);
|
|
1413
|
-
}
|
|
1414
|
-
function w2(e11) {
|
|
1415
|
-
let { coll: i11 } = this, { angular: s11, inverted: a3, polar: o3 } = this.chart, r3 = {};
|
|
1416
|
-
s11 ? this.isXAxis || (r3 = sL(sg.yAxis, t10.radialDefaultOptions.radialGauge)) : o3 && (r3 = this.horiz ? sL(sg.xAxis, t10.radialDefaultOptions.circular) : sL("xAxis" === i11 ? sg.xAxis : sg.yAxis, t10.radialDefaultOptions.radial)), a3 && "yAxis" === i11 && (r3.stackLabels = sv(sg.yAxis, true) ? sg.yAxis.stackLabels : {}, r3.reversedStacks = true);
|
|
1417
|
-
let n3 = this.options = sL(r3, e11);
|
|
1418
|
-
n3.plotBands || (n3.plotBands = []), sM(this, "afterSetOptions");
|
|
1419
|
-
}
|
|
1420
|
-
function A2(t11, e11, i11, s11, a3, o3, r3) {
|
|
1421
|
-
let n3, l3 = this.axis;
|
|
1422
|
-
return l3.isRadial ? ["M", e11, i11, "L", (n3 = l3.getPosition(this.pos, l3.center[2] / 2 + s11)).x, n3.y] : t11.call(this, e11, i11, s11, a3, o3, r3);
|
|
1423
|
-
}
|
|
1424
|
-
t10.radialDefaultOptions = sL(su), t10.compose = function(t11, e11) {
|
|
1425
|
-
return sw(sf, "Axis.Radial") && (sb(t11, "afterInit", c2), sb(t11, "autoLabelAlign", u2), sb(t11, "destroy", g2), sb(t11, "init", f2), sb(t11, "initialAxisTranslation", m2), sb(e11, "afterGetLabelPosition", b2), sb(e11, "afterGetPosition", y2), sb(x(), "setOptions", P2), sT(e11.prototype, "getMarkPath", A2)), t11;
|
|
1426
|
-
};
|
|
1427
|
-
}(c || (c = {}));
|
|
1428
|
-
let sC = c, { animObject: sN } = x(), { optionsToObject: sX } = { optionsToObject: sp }, { defaultOptions: sY } = x(), { composed: sR } = x(), { addEvent: sI, defined: sE, find: sD, isNumber: sz, isObject: sO, merge: sH, pick: sB, pushUnique: sW, relativeLength: sF, splat: sG, uniqueKey: sq, wrap: sV } = x();
|
|
1429
|
-
function s_() {
|
|
1430
|
-
(this.pane || []).forEach((t10) => {
|
|
1431
|
-
t10.render();
|
|
1432
|
-
});
|
|
1433
|
-
}
|
|
1434
|
-
function sU(t10) {
|
|
1435
|
-
let e10 = t10.args[0].xAxis, i10 = t10.args[0].yAxis, s10 = t10.args[0].chart;
|
|
1436
|
-
e10 && i10 && ("polygon" === i10.gridLineInterpolation ? (e10.startOnTick = true, e10.endOnTick = true) : "polygon" === e10.gridLineInterpolation && s10.inverted && (i10.startOnTick = true, i10.endOnTick = true));
|
|
1437
|
-
}
|
|
1438
|
-
function sK() {
|
|
1439
|
-
this.pane || (this.pane = []), this.options.pane = sG(this.options.pane || {}), sG(this.userOptions.pane || {}).forEach((t10) => {
|
|
1440
|
-
new _(t10, this);
|
|
1441
|
-
}, this);
|
|
1442
|
-
}
|
|
1443
|
-
function sj(t10) {
|
|
1444
|
-
let e10 = t10.args.marker, i10 = this.chart.xAxis[0], s10 = this.chart.yAxis[0], a2 = this.chart.inverted, o2 = a2 ? s10 : i10, r2 = a2 ? i10 : s10;
|
|
1445
|
-
if (this.chart.polar) {
|
|
1446
|
-
t10.preventDefault();
|
|
1447
|
-
let i11 = (e10.attr ? e10.attr("start") : e10.start) - o2.startAngleRad, s11 = e10.attr ? e10.attr("r") : e10.r, a3 = (e10.attr ? e10.attr("end") : e10.end) - o2.startAngleRad, n2 = e10.attr ? e10.attr("innerR") : e10.innerR;
|
|
1448
|
-
t10.result.x = i11 + o2.pos, t10.result.width = a3 - i11, t10.result.y = r2.len + r2.pos - s11, t10.result.height = s11 - n2;
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
function sZ(t10) {
|
|
1452
|
-
let e10 = this.chart;
|
|
1453
|
-
if (e10.polar && e10.hoverPane && e10.hoverPane.axis) {
|
|
1454
|
-
t10.preventDefault();
|
|
1455
|
-
let i10 = e10.hoverPane.center, s10 = e10.mouseDownX || 0, a2 = e10.mouseDownY || 0, o2 = t10.args.chartY, r2 = t10.args.chartX, n2 = 2 * Math.PI, l2 = e10.hoverPane.axis.startAngleRad, h2 = e10.hoverPane.axis.endAngleRad, p2 = e10.inverted ? e10.xAxis[0] : e10.yAxis[0], d2 = {}, c2 = "arc";
|
|
1456
|
-
if (d2.x = i10[0] + e10.plotLeft, d2.y = i10[1] + e10.plotTop, this.zoomHor) {
|
|
1457
|
-
let t11 = l2 > 0 ? h2 - l2 : Math.abs(l2) + Math.abs(h2), u2 = Math.atan2(a2 - e10.plotTop - i10[1], s10 - e10.plotLeft - i10[0]) - l2, g2 = Math.atan2(o2 - e10.plotTop - i10[1], r2 - e10.plotLeft - i10[0]) - l2;
|
|
1458
|
-
d2.r = i10[2] / 2, d2.innerR = i10[3] / 2, u2 <= 0 && (u2 += n2), g2 <= 0 && (g2 += n2), g2 < u2 && (g2 = [u2, u2 = g2][0]), t11 < n2 && l2 + g2 > h2 + (n2 - t11) / 2 && (g2 = u2, u2 = l2 <= 0 ? l2 : 0);
|
|
1459
|
-
let f2 = d2.start = Math.max(u2 + l2, l2), m2 = d2.end = Math.min(g2 + l2, h2);
|
|
1460
|
-
if ("polygon" === p2.options.gridLineInterpolation) {
|
|
1461
|
-
let t12 = e10.hoverPane.axis, s11 = f2 - t12.startAngleRad + t12.pos, a3 = p2.getPlotLinePath({ value: p2.max }), o3 = t12.toValue(s11), r3 = t12.toValue(s11 + (m2 - f2));
|
|
1462
|
-
if (o3 < t12.getExtremes().min) {
|
|
1463
|
-
let { min: e11, max: i11 } = t12.getExtremes();
|
|
1464
|
-
o3 = i11 - (e11 - o3);
|
|
1465
|
-
}
|
|
1466
|
-
if (r3 < t12.getExtremes().min) {
|
|
1467
|
-
let { min: e11, max: i11 } = t12.getExtremes();
|
|
1468
|
-
r3 = i11 - (e11 - r3);
|
|
1469
|
-
}
|
|
1470
|
-
r3 < o3 && (r3 = [o3, o3 = r3][0]), (a3 = s1(a3, o3, r3, t12)).push(["L", i10[0] + e10.plotLeft, e10.plotTop + i10[1]]), d2.d = a3, c2 = "path";
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
if (this.zoomVert) {
|
|
1474
|
-
let t11 = e10.inverted ? e10.xAxis[0] : e10.yAxis[0], n3 = Math.sqrt(Math.pow(s10 - e10.plotLeft - i10[0], 2) + Math.pow(a2 - e10.plotTop - i10[1], 2)), p3 = Math.sqrt(Math.pow(r2 - e10.plotLeft - i10[0], 2) + Math.pow(o2 - e10.plotTop - i10[1], 2));
|
|
1475
|
-
if (p3 < n3 && (n3 = [p3, p3 = n3][0]), p3 > i10[2] / 2 && (p3 = i10[2] / 2), n3 < i10[3] / 2 && (n3 = i10[3] / 2), this.zoomHor || (d2.start = l2, d2.end = h2), d2.r = p3, d2.innerR = n3, "polygon" === t11.options.gridLineInterpolation) {
|
|
1476
|
-
let e11 = t11.toValue(t11.len + t11.pos - n3), i11 = t11.toValue(t11.len + t11.pos - p3);
|
|
1477
|
-
d2.d = t11.getPlotLinePath({ value: i11 }).concat(t11.getPlotLinePath({ value: e11, reverse: true })), c2 = "path";
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
if (this.zoomHor && this.zoomVert && "polygon" === p2.options.gridLineInterpolation) {
|
|
1481
|
-
let t11 = e10.hoverPane.axis, i11 = d2.start || 0, s11 = d2.end || 0, a3 = i11 - t11.startAngleRad + t11.pos, o3 = t11.toValue(a3), r3 = t11.toValue(a3 + (s11 - i11));
|
|
1482
|
-
if (d2.d instanceof Array) {
|
|
1483
|
-
let t12 = d2.d.slice(0, d2.d.length / 2), i12 = d2.d.slice(d2.d.length / 2, d2.d.length);
|
|
1484
|
-
i12 = [...i12].reverse();
|
|
1485
|
-
let s12 = e10.hoverPane.axis;
|
|
1486
|
-
t12 = s1(t12, o3, r3, s12), (i12 = s1(i12, o3, r3, s12)) && (i12[0][0] = "L"), i12 = [...i12].reverse(), d2.d = t12.concat(i12), c2 = "path";
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
t10.attrs = d2, t10.shapeType = c2;
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
function s$() {
|
|
1493
|
-
let t10 = this.chart;
|
|
1494
|
-
t10.polar && (this.polar = new ae(this), t10.inverted && (this.isRadialSeries = true, this.is("column") && (this.isRadialBar = true)));
|
|
1495
|
-
}
|
|
1496
|
-
function sQ() {
|
|
1497
|
-
var _a, _b;
|
|
1498
|
-
let { chart: t10, options: e10, yAxis: i10 } = this;
|
|
1499
|
-
if (e10.borderRadius && t10.polar && t10.inverted) {
|
|
1500
|
-
let t11 = (_b = (_a = sY.plotOptions) == null ? void 0 : _a[this.type]) == null ? void 0 : _b.borderRadius, { scope: s10, where: a2 = "end" } = sX(e10.borderRadius, sO(t11) ? t11 : {});
|
|
1501
|
-
for (let t12 of this.points) {
|
|
1502
|
-
let { shapeArgs: o2 } = t12;
|
|
1503
|
-
if ("arc" === t12.shapeType && o2) {
|
|
1504
|
-
let r2 = "all" === a2, n2 = true;
|
|
1505
|
-
e10.stacking && "stack" === s10 && (r2 = t12.stackY === t12.y && "all" === a2, n2 = t12.stackY === t12.stackTotal), i10.reversed && ([r2, n2] = [n2, r2]), o2.brStart = r2, o2.brEnd = n2;
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
function sJ() {
|
|
1511
|
-
if (this.chart.polar && this.xAxis) {
|
|
1512
|
-
let { xAxis: t10, yAxis: e10 } = this, i10 = this.chart;
|
|
1513
|
-
this.kdByAngle = i10.tooltip && i10.tooltip.shared, this.kdByAngle || i10.inverted ? this.searchPoint = s0 : this.options.findNearestPointBy = "xy";
|
|
1514
|
-
let s10 = this.points, a2 = s10.length;
|
|
1515
|
-
for (; a2--; ) this.is("column") || this.is("columnrange") || this.polar.toXY(s10[a2]), i10.hasParallelCoordinates || this.yAxis.reversed || (sB(s10[a2].y, 5e-324) < e10.min || s10[a2].x < t10.min || s10[a2].x > t10.max ? (s10[a2].isNull = true, s10[a2].plotY = NaN) : s10[a2].isNull = s10[a2].isValid && !s10[a2].isValid());
|
|
1516
|
-
this.hasClipCircleSetter || (this.hasClipCircleSetter = !!this.eventsToUnbind.push(sI(this, "afterRender", function() {
|
|
1517
|
-
let t11;
|
|
1518
|
-
if (i10.polar && false !== this.options.clip) {
|
|
1519
|
-
if (t11 = this.yAxis.pane.center, this.clipCircle) this.clipCircle.animate({ x: t11[0], y: t11[1], r: t11[2] / 2, innerR: t11[3] / 2 });
|
|
1520
|
-
else {
|
|
1521
|
-
var e11, s11, a3, o2, r2;
|
|
1522
|
-
let n2, l2, h2;
|
|
1523
|
-
this.clipCircle = (e11 = i10.renderer, s11 = t11[0], a3 = t11[1], o2 = t11[2] / 2, r2 = t11[3] / 2, n2 = sq(), l2 = e11.createElement("clipPath").attr({ id: n2 }).add(e11.defs), (h2 = r2 ? e11.arc(s11, a3, o2, r2, 0, 2 * Math.PI).add(l2) : e11.circle(s11, a3, o2).add(l2)).id = n2, h2.clipPath = l2, h2);
|
|
1524
|
-
}
|
|
1525
|
-
this.group.clip(this.clipCircle), this.setClip = x().noop;
|
|
1526
|
-
}
|
|
1527
|
-
})));
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
function s0(t10) {
|
|
1531
|
-
let e10 = this.chart, i10 = this.xAxis, s10 = this.yAxis, a2 = i10.pane && i10.pane.center, o2 = t10.chartX - (a2 && a2[0] || 0) - e10.plotLeft, r2 = t10.chartY - (a2 && a2[1] || 0) - e10.plotTop, n2 = e10.inverted ? { clientX: t10.chartX - s10.pos, plotY: t10.chartY - i10.pos } : { clientX: 180 + -180 / Math.PI * Math.atan2(o2, r2) };
|
|
1532
|
-
return this.searchKDTree(n2);
|
|
1533
|
-
}
|
|
1534
|
-
function s1(t10, e10, i10, s10) {
|
|
1535
|
-
let a2 = s10.tickInterval, o2 = s10.tickPositions, r2 = sD(o2, (t11) => t11 >= i10), n2 = sD([...o2].reverse(), (t11) => t11 <= e10);
|
|
1536
|
-
return sE(r2) || (r2 = o2[o2.length - 1]), sE(n2) || (n2 = o2[0], r2 += a2, t10[0][0] = "L", t10.unshift(t10[t10.length - 3])), (t10 = t10.slice(o2.indexOf(n2), o2.indexOf(r2) + 1))[0][0] = "M", t10;
|
|
1537
|
-
}
|
|
1538
|
-
function s2(t10, e10) {
|
|
1539
|
-
return sD(this.pane || [], (t11) => t11.options.id === e10) || t10.call(this, e10);
|
|
1540
|
-
}
|
|
1541
|
-
function s3(t10, e10, i10, s10, a2, o2) {
|
|
1542
|
-
let r2, n2, l2, h2 = this.chart, p2 = sB(s10.inside, !!this.options.stacking);
|
|
1543
|
-
if (h2.polar) {
|
|
1544
|
-
if (r2 = e10.rectPlotX / Math.PI * 180, h2.inverted) this.forceDL = h2.isInsidePlot(e10.plotX, e10.plotY), p2 && e10.shapeArgs ? (n2 = e10.shapeArgs, a2 = sH(a2, { x: (l2 = this.yAxis.postTranslate(((n2.start || 0) + (n2.end || 0)) / 2 - this.xAxis.startAngleRad, e10.barX + e10.pointWidth / 2)).x - h2.plotLeft, y: l2.y - h2.plotTop })) : e10.tooltipPos && (a2 = sH(a2, { x: e10.tooltipPos[0], y: e10.tooltipPos[1] })), s10.align = sB(s10.align, "center"), s10.verticalAlign = sB(s10.verticalAlign, "middle");
|
|
1545
|
-
else {
|
|
1546
|
-
var d2;
|
|
1547
|
-
null === (d2 = s10).align && (d2.align = r2 > 20 && r2 < 160 ? "left" : r2 > 200 && r2 < 340 ? "right" : "center"), null === d2.verticalAlign && (d2.verticalAlign = r2 < 45 || r2 > 315 ? "bottom" : r2 > 135 && r2 < 225 ? "top" : "middle"), s10 = d2;
|
|
1548
|
-
}
|
|
1549
|
-
L().prototype.alignDataLabel.call(this, e10, i10, s10, a2, o2), this.isRadialBar && e10.shapeArgs && e10.shapeArgs.start === e10.shapeArgs.end ? i10.hide() : i10.show();
|
|
1550
|
-
} else t10.call(this, e10, i10, s10, a2, o2);
|
|
1551
|
-
}
|
|
1552
|
-
function s5() {
|
|
1553
|
-
let t10 = this.options, e10 = t10.stacking, i10 = this.chart, s10 = this.xAxis, a2 = this.yAxis, o2 = a2.reversed, r2 = a2.center, n2 = s10.startAngleRad, l2 = s10.endAngleRad - n2, h2 = t10.threshold, p2 = 0, d2, c2, u2, g2, f2, m2 = 0, b2 = 0, y2, P2, M2, v2, L2, k2, w2, A2;
|
|
1554
|
-
if (s10.isRadial) for (u2 = (d2 = this.points).length, g2 = a2.translate(a2.min), f2 = a2.translate(a2.max), h2 = t10.threshold || 0, i10.inverted && sz(h2) && sE(p2 = a2.translate(h2)) && (p2 < 0 ? p2 = 0 : p2 > l2 && (p2 = l2), this.translatedThreshold = p2 + n2); u2--; ) {
|
|
1555
|
-
if (k2 = (c2 = d2[u2]).barX, P2 = c2.x, M2 = c2.y, c2.shapeType = "arc", i10.inverted) {
|
|
1556
|
-
c2.plotY = a2.translate(M2), e10 && a2.stacking ? (L2 = a2.stacking.stacks[(M2 < 0 ? "-" : "") + this.stackKey], this.visible && L2 && L2[P2] && !c2.isNull && (v2 = L2[P2].points[this.getStackIndicator(void 0, P2, this.index).key], m2 = a2.translate(v2[0]), b2 = a2.translate(v2[1]), sE(m2) && (m2 = x().clamp(m2, 0, l2)))) : (m2 = p2, b2 = c2.plotY), m2 > b2 && (b2 = [m2, m2 = b2][0]), o2 ? b2 > g2 ? b2 = g2 : m2 < f2 ? m2 = f2 : (m2 > g2 || b2 < f2) && (m2 = b2 = l2) : m2 < g2 ? m2 = g2 : b2 > f2 ? b2 = f2 : (b2 < g2 || m2 > f2) && (m2 = b2 = 0), a2.min > a2.max && (m2 = b2 = o2 ? l2 : 0), m2 += n2, b2 += n2, r2 && (c2.barX = k2 += r2[3] / 2), w2 = Math.max(k2, 0), A2 = Math.max(k2 + c2.pointWidth, 0);
|
|
1557
|
-
let i11 = t10.borderRadius, s11 = sF(("object" == typeof i11 ? i11.radius : i11) || 0, A2 - w2);
|
|
1558
|
-
c2.shapeArgs = { x: r2[0], y: r2[1], r: A2, innerR: w2, start: m2, end: b2, borderRadius: s11 }, c2.opacity = m2 === b2 ? 0 : void 0, c2.plotY = (sE(this.translatedThreshold) && (m2 < this.translatedThreshold ? m2 : b2)) - n2;
|
|
1559
|
-
} else m2 = k2 + n2, c2.shapeArgs = this.polar.arc(c2.yBottom, c2.plotY, m2, m2 + c2.pointWidth), c2.shapeArgs.borderRadius = 0;
|
|
1560
|
-
this.polar.toXY(c2), i10.inverted ? (y2 = a2.postTranslate(c2.rectPlotY, k2 + c2.pointWidth / 2), c2.tooltipPos = [y2.x - i10.plotLeft, y2.y - i10.plotTop]) : c2.tooltipPos = [c2.plotX, c2.plotY], r2 && (c2.ttBelow = c2.plotY > r2[1]);
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
function s8(t10, e10) {
|
|
1564
|
-
let i10, s10, a2 = this;
|
|
1565
|
-
if (this.chart.polar) {
|
|
1566
|
-
e10 = e10 || this.points;
|
|
1567
|
-
for (let t11 = 0; t11 < e10.length; t11++) if (!e10[t11].isNull) {
|
|
1568
|
-
i10 = t11;
|
|
1569
|
-
break;
|
|
1570
|
-
}
|
|
1571
|
-
false !== this.options.connectEnds && void 0 !== i10 && (this.connectEnds = true, e10.splice(e10.length, 0, e10[i10]), s10 = true), e10.forEach((t11) => {
|
|
1572
|
-
void 0 === t11.polarPlotY && a2.polar.toXY(t11);
|
|
1573
|
-
});
|
|
1574
|
-
}
|
|
1575
|
-
let o2 = t10.apply(this, [].slice.call(arguments, 1));
|
|
1576
|
-
return s10 && e10.pop(), o2;
|
|
1577
|
-
}
|
|
1578
|
-
function s6(t10, e10) {
|
|
1579
|
-
let i10 = this.chart, s10 = { xAxis: [], yAxis: [] };
|
|
1580
|
-
return i10.polar ? i10.axes.forEach((t11) => {
|
|
1581
|
-
if ("colorAxis" === t11.coll) return;
|
|
1582
|
-
let a2 = t11.isXAxis, o2 = t11.center, r2 = e10.chartX - o2[0] - i10.plotLeft, n2 = e10.chartY - o2[1] - i10.plotTop;
|
|
1583
|
-
s10[a2 ? "xAxis" : "yAxis"].push({ axis: t11, value: t11.translate(a2 ? Math.PI - Math.atan2(r2, n2) : Math.sqrt(Math.pow(r2, 2) + Math.pow(n2, 2)), true) });
|
|
1584
|
-
}) : s10 = t10.call(this, e10), s10;
|
|
1585
|
-
}
|
|
1586
|
-
function s4(t10, e10) {
|
|
1587
|
-
this.chart.polar || t10.call(this, e10);
|
|
1588
|
-
}
|
|
1589
|
-
function s9(t10, e10) {
|
|
1590
|
-
let i10 = this, s10 = this.chart, a2 = this.group, o2 = this.markerGroup, r2 = this.xAxis && this.xAxis.center, n2 = s10.plotLeft, l2 = s10.plotTop, h2 = this.options.animation, p2, d2, c2, u2, g2, f2;
|
|
1591
|
-
s10.polar ? i10.isRadialBar ? e10 || (i10.startAngleRad = sB(i10.translatedThreshold, i10.xAxis.startAngleRad), x().seriesTypes.pie.prototype.animate.call(i10, e10)) : (h2 = sN(h2), i10.is("column") ? e10 || (d2 = r2[3] / 2, i10.points.forEach((t11) => {
|
|
1592
|
-
c2 = t11.graphic, g2 = (u2 = t11.shapeArgs) && u2.r, f2 = u2 && u2.innerR, c2 && u2 && (c2.attr({ r: d2, innerR: d2 }), c2.animate({ r: g2, innerR: f2 }, i10.options.animation));
|
|
1593
|
-
})) : e10 ? (p2 = { translateX: r2[0] + n2, translateY: r2[1] + l2, scaleX: 1e-3, scaleY: 1e-3 }, a2.attr(p2), o2 && o2.attr(p2)) : (p2 = { translateX: n2, translateY: l2, scaleX: 1, scaleY: 1 }, a2.animate(p2, h2), o2 && o2.animate(p2, h2))) : t10.call(this, e10);
|
|
1594
|
-
}
|
|
1595
|
-
function s7(t10, e10, i10, s10) {
|
|
1596
|
-
let a2, o2;
|
|
1597
|
-
if (this.chart.polar) if (s10) {
|
|
1598
|
-
let t11 = (o2 = function t12(e11, i12, s11, a3) {
|
|
1599
|
-
let o3, r2, n2, l2, h2, p2, d2 = +!!a3, c2 = (o3 = i12 >= 0 && i12 <= e11.length - 1 ? i12 : i12 < 0 ? e11.length - 1 + i12 : 0) - 1 < 0 ? e11.length - (1 + d2) : o3 - 1, u2 = o3 + 1 > e11.length - 1 ? d2 : o3 + 1, g2 = e11[c2], f2 = e11[u2], m2 = g2.plotX, b2 = g2.plotY, y2 = f2.plotX, x2 = f2.plotY, P2 = e11[o3].plotX, M2 = e11[o3].plotY;
|
|
1600
|
-
r2 = (1.5 * P2 + m2) / 2.5, n2 = (1.5 * M2 + b2) / 2.5, l2 = (1.5 * P2 + y2) / 2.5, h2 = (1.5 * M2 + x2) / 2.5;
|
|
1601
|
-
let v2 = Math.sqrt(Math.pow(r2 - P2, 2) + Math.pow(n2 - M2, 2)), L2 = Math.sqrt(Math.pow(l2 - P2, 2) + Math.pow(h2 - M2, 2)), k2 = Math.atan2(n2 - M2, r2 - P2);
|
|
1602
|
-
p2 = Math.PI / 2 + (k2 + Math.atan2(h2 - M2, l2 - P2)) / 2, Math.abs(k2 - p2) > Math.PI / 2 && (p2 -= Math.PI), r2 = P2 + Math.cos(p2) * v2, n2 = M2 + Math.sin(p2) * v2;
|
|
1603
|
-
let w2 = { rightContX: l2 = P2 + Math.cos(Math.PI + p2) * L2, rightContY: h2 = M2 + Math.sin(Math.PI + p2) * L2, leftContX: r2, leftContY: n2, plotX: P2, plotY: M2 };
|
|
1604
|
-
return s11 && (w2.prevPointCont = t12(e11, c2, false, a3)), w2;
|
|
1605
|
-
}(e10, s10, true, this.connectEnds)).prevPointCont && o2.prevPointCont.rightContX, i11 = o2.prevPointCont && o2.prevPointCont.rightContY;
|
|
1606
|
-
a2 = ["C", sz(t11) ? t11 : o2.plotX, sz(i11) ? i11 : o2.plotY, sz(o2.leftContX) ? o2.leftContX : o2.plotX, sz(o2.leftContY) ? o2.leftContY : o2.plotY, o2.plotX, o2.plotY];
|
|
1607
|
-
} else a2 = ["M", i10.plotX, i10.plotY];
|
|
1608
|
-
else a2 = t10.call(this, e10, i10, s10);
|
|
1609
|
-
return a2;
|
|
1610
|
-
}
|
|
1611
|
-
function at(t10, e10, i10 = this.plotY) {
|
|
1612
|
-
if (!this.destroyed) {
|
|
1613
|
-
let { plotX: s10, series: a2 } = this, { chart: o2 } = a2;
|
|
1614
|
-
return o2.polar && sz(s10) && sz(i10) ? [s10 + (e10 ? o2.plotLeft : 0), i10 + (e10 ? o2.plotTop : 0)] : t10.call(this, e10, i10);
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
class ae {
|
|
1618
|
-
static compose(t10, e10, i10, s10, a2, o2, r2, n2, l2, h2) {
|
|
1619
|
-
if (_.compose(e10, i10, s10), sC.compose(t10, a2), sW(sR, "Polar")) {
|
|
1620
|
-
let t11 = e10.prototype, a3 = o2.prototype, p2 = i10.prototype, d2 = s10.prototype;
|
|
1621
|
-
if (sI(e10, "afterDrawChartBox", s_), sI(e10, "createAxes", sK), sI(e10, "init", sU), sV(t11, "get", s2), sV(p2, "getCoordinates", s6), sV(p2, "pinch", s4), sI(i10, "getSelectionMarkerAttrs", sZ), sI(i10, "getSelectionBox", sj), sI(s10, "afterInit", s$), sI(s10, "afterColumnTranslate", sQ, { order: 9 }), sI(s10, "afterTranslate", sJ, { order: 2 }), sI(s10, "afterColumnTranslate", s5, { order: 4 }), sV(d2, "animate", s9), sV(a3, "pos", at), n2) {
|
|
1622
|
-
let t12 = n2.prototype;
|
|
1623
|
-
sV(t12, "alignDataLabel", s3), sV(t12, "animate", s9);
|
|
1624
|
-
}
|
|
1625
|
-
if (l2 && sV(l2.prototype, "getGraphPath", s8), h2) {
|
|
1626
|
-
let t12 = h2.prototype;
|
|
1627
|
-
sV(t12, "getPointSpline", s7), r2 && (r2.prototype.getPointSpline = t12.getPointSpline);
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
constructor(t10) {
|
|
1632
|
-
this.series = t10;
|
|
1633
|
-
}
|
|
1634
|
-
arc(t10, e10, i10, s10) {
|
|
1635
|
-
let a2 = this.series, o2 = a2.xAxis.center, r2 = a2.yAxis.len, n2 = o2[3] / 2, l2 = r2 - e10 + n2, h2 = r2 - sB(t10, r2) + n2;
|
|
1636
|
-
return a2.yAxis.reversed && (l2 < 0 && (l2 = n2), h2 < 0 && (h2 = n2)), { x: o2[0], y: o2[1], r: l2, innerR: h2, start: i10, end: s10 };
|
|
1637
|
-
}
|
|
1638
|
-
toXY(t10) {
|
|
1639
|
-
let e10 = this.series, i10 = e10.chart, s10 = e10.xAxis, a2 = e10.yAxis, o2 = t10.plotX, r2 = i10.inverted, n2 = t10.y, l2 = t10.plotY, h2 = r2 ? o2 : a2.len - l2, p2;
|
|
1640
|
-
if (r2 && e10 && !e10.isRadialBar && (t10.plotY = l2 = sz(n2) ? a2.translate(n2) : 0), t10.rectPlotX = o2, t10.rectPlotY = l2, a2.center && (h2 += a2.center[3] / 2), sz(l2)) {
|
|
1641
|
-
let e11 = r2 ? a2.postTranslate(l2, h2) : s10.postTranslate(o2, h2);
|
|
1642
|
-
t10.plotX = t10.polarPlotX = e11.x - i10.plotLeft, t10.plotY = t10.polarPlotY = e11.y - i10.plotTop;
|
|
1643
|
-
}
|
|
1644
|
-
e10.kdByAngle ? ((p2 = (o2 / Math.PI * 180 + s10.pane.options.startAngle) % 360) < 0 && (p2 += 360), t10.clientX = p2) : t10.clientX = t10.plotX;
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
var ai = m(184), as = m.n(ai);
|
|
1648
|
-
let { composed: aa } = x(), { addEvent: ao, objectEach: ar, pushUnique: an } = x();
|
|
1649
|
-
!function(t10) {
|
|
1650
|
-
function e10() {
|
|
1651
|
-
var _a;
|
|
1652
|
-
let t11 = (_a = this.waterfall) == null ? void 0 : _a.stacks;
|
|
1653
|
-
t11 && (t11.changed = false, delete t11.alreadyChanged);
|
|
1654
|
-
}
|
|
1655
|
-
function i10() {
|
|
1656
|
-
var _a;
|
|
1657
|
-
let t11 = this.options.stackLabels;
|
|
1658
|
-
(t11 == null ? void 0 : t11.enabled) && ((_a = this.waterfall) == null ? void 0 : _a.stacks) && this.waterfall.renderStackTotals();
|
|
1659
|
-
}
|
|
1660
|
-
function s10() {
|
|
1661
|
-
this.waterfall || (this.waterfall = new o2(this));
|
|
1662
|
-
}
|
|
1663
|
-
function a2() {
|
|
1664
|
-
let t11 = this.axes;
|
|
1665
|
-
for (let e11 of this.series) if (e11.options.stacking) {
|
|
1666
|
-
for (let e12 of t11) !e12.isXAxis && e12.waterfall && (e12.waterfall.stacks.changed = true);
|
|
1667
|
-
break;
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
t10.compose = function(t11, o3) {
|
|
1671
|
-
an(aa, "Axis.Waterfall") && (ao(t11, "init", s10), ao(t11, "afterBuildStacks", e10), ao(t11, "afterRender", i10), ao(o3, "beforeRedraw", a2));
|
|
1672
|
-
};
|
|
1673
|
-
class o2 {
|
|
1674
|
-
constructor(t11) {
|
|
1675
|
-
this.axis = t11, this.stacks = { changed: false };
|
|
1676
|
-
}
|
|
1677
|
-
renderStackTotals() {
|
|
1678
|
-
var _a, _b;
|
|
1679
|
-
let t11 = this.axis, e11 = (_a = t11.waterfall) == null ? void 0 : _a.stacks, i11 = (_b = t11.stacking) == null ? void 0 : _b.stackTotalGroup, s11 = new (as())(t11, t11.options.stackLabels || {}, false, 0, void 0);
|
|
1680
|
-
this.dummyStackItem = s11, i11 && ar(e11, (t12) => {
|
|
1681
|
-
ar(t12, (t13, e12) => {
|
|
1682
|
-
s11.total = t13.stackTotal, s11.x = +e12, t13.label && (s11.label = t13.label), as().prototype.render.call(s11, i11), t13.label = s11.label, delete s11.label;
|
|
1683
|
-
});
|
|
1684
|
-
}), s11.total = null;
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
t10.Composition = o2;
|
|
1688
|
-
}(u || (u = {}));
|
|
1689
|
-
let al = u, { isNumber: ah } = x();
|
|
1690
|
-
class ap extends tm().prototype.pointClass {
|
|
1691
|
-
getClassName() {
|
|
1692
|
-
let t10 = tZ().prototype.getClassName.call(this);
|
|
1693
|
-
return this.isSum ? t10 += " highcharts-sum" : this.isIntermediateSum && (t10 += " highcharts-intermediate-sum"), t10;
|
|
1694
|
-
}
|
|
1695
|
-
isValid() {
|
|
1696
|
-
return ah(this.y) || this.isSum || !!this.isIntermediateSum;
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
let { column: ad, line: ac } = M().seriesTypes, { addEvent: au, arrayMax: ag, arrayMin: af, correctFloat: am, crisp: ab, extend: ay, isNumber: ax, merge: aP, objectEach: aM, pick: av } = x();
|
|
1700
|
-
function aL(t10, e10) {
|
|
1701
|
-
return Object.hasOwnProperty.call(t10, e10);
|
|
1702
|
-
}
|
|
1703
|
-
class ak extends ad {
|
|
1704
|
-
generatePoints() {
|
|
1705
|
-
ad.prototype.generatePoints.apply(this);
|
|
1706
|
-
let t10 = this.getColumn("y", true);
|
|
1707
|
-
for (let e10 = 0, i10 = this.points.length; e10 < i10; e10++) {
|
|
1708
|
-
let i11 = this.points[e10], s10 = t10[e10];
|
|
1709
|
-
ax(s10) && (i11.isIntermediateSum || i11.isSum) && (i11.y = am(s10));
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
processData(t10) {
|
|
1713
|
-
let e10, i10, s10, a2, o2, r2, n2 = this.options, l2 = this.getColumn("y"), h2 = n2.data, p2 = l2.length, d2 = n2.threshold || 0;
|
|
1714
|
-
s10 = i10 = a2 = o2 = 0;
|
|
1715
|
-
for (let t11 = 0; t11 < p2; t11++) r2 = l2[t11], e10 = (h2 == null ? void 0 : h2[t11]) || {}, "sum" === r2 || e10.isSum ? l2[t11] = am(s10) : "intermediateSum" === r2 || e10.isIntermediateSum ? (l2[t11] = am(i10), i10 = 0) : (s10 += r2, i10 += r2), a2 = Math.min(s10, a2), o2 = Math.max(s10, o2);
|
|
1716
|
-
super.processData.call(this, t10), n2.stacking || (this.dataMin = a2 + d2, this.dataMax = o2);
|
|
1717
|
-
}
|
|
1718
|
-
toYData(t10) {
|
|
1719
|
-
return t10.isSum ? "sum" : t10.isIntermediateSum ? "intermediateSum" : t10.y;
|
|
1720
|
-
}
|
|
1721
|
-
pointAttribs(t10, e10) {
|
|
1722
|
-
let i10 = this.options.upColor;
|
|
1723
|
-
i10 && !t10.options.color && ax(t10.y) && (t10.color = t10.y > 0 ? i10 : void 0);
|
|
1724
|
-
let s10 = ad.prototype.pointAttribs.call(this, t10, e10);
|
|
1725
|
-
return delete s10.dashstyle, s10;
|
|
1726
|
-
}
|
|
1727
|
-
getGraphPath() {
|
|
1728
|
-
var _a;
|
|
1729
|
-
return ((_a = this.graph) == null ? void 0 : _a.pathArray) || [["M", 0, 0]];
|
|
1730
|
-
}
|
|
1731
|
-
getCrispPath() {
|
|
1732
|
-
var _a, _b;
|
|
1733
|
-
let t10 = this.points.filter((t11) => ax(t11.y)), e10 = this.yAxis, i10 = t10.length, s10 = ((_a = this.graph) == null ? void 0 : _a.strokeWidth()) || 0, a2 = this.xAxis.reversed, o2 = this.yAxis.reversed, r2 = this.options.stacking, n2 = [];
|
|
1734
|
-
for (let l2 = 1; l2 < i10; l2++) {
|
|
1735
|
-
if (!(this.options.connectNulls || ax(this.data[t10[l2].index - 1].y))) continue;
|
|
1736
|
-
let i11 = t10[l2].box, h2 = t10[l2 - 1], p2 = h2.y || 0, d2 = t10[l2 - 1].box;
|
|
1737
|
-
if (!i11 || !d2) continue;
|
|
1738
|
-
let c2 = (_b = e10.waterfall) == null ? void 0 : _b.stacks[this.stackKey], u2 = p2 > 0 ? -d2.height : 0;
|
|
1739
|
-
if (c2 && d2 && i11) {
|
|
1740
|
-
let t11, p3 = c2[l2 - 1];
|
|
1741
|
-
t11 = r2 ? ab(e10.translate(p3.connectorThreshold || 0, false, true, false, true) + (o2 ? u2 : 0), s10) : ab(d2.y + (h2.minPointLengthOffset || 0), s10), n2.push(["M", (d2.x || 0) + (a2 ? 0 : d2.width || 0), t11], ["L", (i11.x || 0) + (a2 && i11.width || 0), t11]);
|
|
1742
|
-
}
|
|
1743
|
-
if (d2 && n2.length && (!r2 && p2 < 0 && !o2 || p2 > 0 && o2)) {
|
|
1744
|
-
let t11 = n2[n2.length - 2];
|
|
1745
|
-
t11 && "number" == typeof t11[2] && (t11[2] += d2.height || 0);
|
|
1746
|
-
let e11 = n2[n2.length - 1];
|
|
1747
|
-
e11 && "number" == typeof e11[2] && (e11[2] += d2.height || 0);
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
return n2;
|
|
1751
|
-
}
|
|
1752
|
-
drawGraph() {
|
|
1753
|
-
var _a;
|
|
1754
|
-
ac.prototype.drawGraph.call(this), (_a = this.graph) == null ? void 0 : _a.animate({ d: this.getCrispPath() });
|
|
1755
|
-
}
|
|
1756
|
-
setStackedPoints(t10) {
|
|
1757
|
-
var _a;
|
|
1758
|
-
let e10 = this.options, i10 = (_a = t10.waterfall) == null ? void 0 : _a.stacks, s10 = e10.threshold || 0, a2 = this.stackKey, o2 = this.getColumn("x"), r2 = this.getColumn("y"), n2 = o2.length, l2 = s10, h2 = l2, p2, d2 = 0, c2 = 0, u2 = 0, g2, f2, m2, b2, y2, x2, P2, M2, v2 = (t11, e11, i11, s11) => {
|
|
1759
|
-
if (p2) {
|
|
1760
|
-
if (g2) for (; i11 < g2; i11++) p2.stackState[i11] += s11;
|
|
1761
|
-
else p2.stackState[0] = t11, g2 = p2.stackState.length;
|
|
1762
|
-
p2.stackState.push(p2.stackState[g2 - 1] + e11);
|
|
1763
|
-
}
|
|
1764
|
-
};
|
|
1765
|
-
if (t10.stacking && i10 && this.reserveSpace()) {
|
|
1766
|
-
M2 = i10.changed, (P2 = i10.alreadyChanged) && 0 > P2.indexOf(a2) && (M2 = true), i10[a2] || (i10[a2] = {});
|
|
1767
|
-
let t11 = i10[a2];
|
|
1768
|
-
if (t11) for (let i11 = 0; i11 < n2; i11++) (!t11[x2 = o2[i11]] || M2) && (t11[x2] = { negTotal: 0, posTotal: 0, stackTotal: 0, threshold: 0, stateIndex: 0, stackState: [], label: M2 && t11[x2] ? t11[x2].label : void 0 }), p2 = t11[x2], (y2 = r2[i11]) >= 0 ? p2.posTotal += y2 : p2.negTotal += y2, b2 = e10.data[i11], f2 = p2.absolutePos = p2.posTotal, m2 = p2.absoluteNeg = p2.negTotal, p2.stackTotal = f2 + m2, g2 = p2.stackState.length, (b2 == null ? void 0 : b2.isIntermediateSum) ? (v2(u2, c2, 0, u2), u2 = c2, c2 = s10, l2 ^= h2, h2 ^= l2, l2 ^= h2) : (b2 == null ? void 0 : b2.isSum) ? (v2(s10, d2, g2, 0), l2 = s10) : (v2(l2, y2, 0, d2), b2 && (d2 += y2, c2 += y2)), p2.stateIndex++, p2.threshold = l2, l2 += p2.stackTotal;
|
|
1769
|
-
i10.changed = false, i10.alreadyChanged || (i10.alreadyChanged = []), i10.alreadyChanged.push(a2);
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
getExtremes() {
|
|
1773
|
-
var _a;
|
|
1774
|
-
let t10, e10, i10 = this.options.stacking, s10 = this.yAxis, a2 = (_a = s10.waterfall) == null ? void 0 : _a.stacks;
|
|
1775
|
-
return i10 && a2 ? (t10 = this.stackedYNeg = [], e10 = this.stackedYPos = [], "overlap" === i10 ? aM(a2[this.stackKey], function(i11) {
|
|
1776
|
-
t10.push(af(i11.stackState)), e10.push(ag(i11.stackState));
|
|
1777
|
-
}) : aM(a2[this.stackKey], function(i11) {
|
|
1778
|
-
t10.push(i11.negTotal + i11.threshold), e10.push(i11.posTotal + i11.threshold);
|
|
1779
|
-
}), { dataMin: af(t10), dataMax: ag(e10) }) : { dataMin: this.dataMin, dataMax: this.dataMax };
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
ak.defaultOptions = aP(ad.defaultOptions, { dataLabels: { inside: true }, lineWidth: 1, lineColor: "#333333", dashStyle: "Dot", borderColor: "#333333", states: { hover: { lineWidthPlus: 0 } } }), ak.compose = al.compose, ay(ak.prototype, { pointValKey: "y", showLine: true, pointClass: ap }), au(ak, "afterColumnTranslate", function() {
|
|
1783
|
-
var _a, _b;
|
|
1784
|
-
let { options: t10, points: e10, yAxis: i10 } = this, s10 = av(t10.minPointLength, 5), a2 = s10 / 2, o2 = t10.threshold || 0, r2 = t10.stacking, n2 = (_a = i10.waterfall) == null ? void 0 : _a.stacks[this.stackKey], l2 = this.getColumn("y", true), h2 = o2, p2 = o2, d2, c2, u2, g2;
|
|
1785
|
-
for (let t11 = 0; t11 < e10.length; t11++) {
|
|
1786
|
-
let f2 = e10[t11], m2 = l2[t11], b2 = ay({ x: 0, y: 0, width: 0, height: 0 }, f2.shapeArgs || {});
|
|
1787
|
-
f2.box = b2;
|
|
1788
|
-
let y2 = [0, m2], x2 = f2.y || 0;
|
|
1789
|
-
if (r2) {
|
|
1790
|
-
if (n2) {
|
|
1791
|
-
let e11 = n2[t11];
|
|
1792
|
-
"overlap" === r2 ? (c2 = e11.stackState[e11.stateIndex--], d2 = x2 >= 0 ? c2 : c2 - x2, aL(e11, "absolutePos") && delete e11.absolutePos, aL(e11, "absoluteNeg") && delete e11.absoluteNeg) : (x2 >= 0 ? (c2 = e11.threshold + e11.posTotal, e11.posTotal -= x2, d2 = c2) : (c2 = e11.threshold + e11.negTotal, e11.negTotal -= x2, d2 = c2 - x2), !e11.posTotal && ax(e11.absolutePos) && aL(e11, "absolutePos") && (e11.posTotal = e11.absolutePos, delete e11.absolutePos), !e11.negTotal && ax(e11.absoluteNeg) && aL(e11, "absoluteNeg") && (e11.negTotal = e11.absoluteNeg, delete e11.absoluteNeg)), f2.isSum || (e11.connectorThreshold = e11.threshold + e11.stackTotal), i10.reversed ? (u2 = x2 >= 0 ? d2 - x2 : d2 + x2, g2 = d2) : (u2 = d2, g2 = d2 - x2), f2.below = u2 <= o2, b2.y = i10.translate(u2, false, true, false, true), b2.height = Math.abs(b2.y - i10.translate(g2, false, true, false, true));
|
|
1793
|
-
let s11 = (_b = i10.waterfall) == null ? void 0 : _b.dummyStackItem;
|
|
1794
|
-
s11 && (s11.x = t11, s11.label = n2[t11].label, s11.setOffset(this.pointXOffset || 0, this.barW || 0, this.stackedYNeg[t11], this.stackedYPos[t11], void 0, this.xAxis));
|
|
1795
|
-
}
|
|
1796
|
-
} else d2 = Math.max(p2, p2 + x2) + y2[0], b2.y = i10.translate(d2, false, true, false, true), f2.isSum ? (b2.y = i10.translate(y2[1], false, true, false, true), b2.height = Math.min(i10.translate(y2[0], false, true, false, true), i10.len) - b2.y, f2.below = y2[1] <= o2) : f2.isIntermediateSum ? (x2 >= 0 ? (u2 = y2[1] + h2, g2 = h2) : (u2 = h2, g2 = y2[1] + h2), i10.reversed && (u2 ^= g2, g2 ^= u2, u2 ^= g2), b2.y = i10.translate(u2, false, true, false, true), b2.height = Math.abs(b2.y - Math.min(i10.translate(g2, false, true, false, true), i10.len)), h2 += y2[1], f2.below = u2 <= o2) : (b2.height = m2 > 0 ? i10.translate(p2, false, true, false, true) - b2.y : i10.translate(p2, false, true, false, true) - i10.translate(p2 - m2, false, true, false, true), f2.below = (p2 += m2) < o2), b2.height < 0 && (b2.y += b2.height, b2.height *= -1);
|
|
1797
|
-
f2.plotY = b2.y, f2.yBottom = b2.y + b2.height, b2.height <= s10 && !f2.isNull ? (b2.height = s10, b2.y -= a2, f2.yBottom = b2.y + b2.height, f2.plotY = b2.y, x2 < 0 ? f2.minPointLengthOffset = -a2 : f2.minPointLengthOffset = a2) : (f2.isNull && (b2.width = 0), f2.minPointLengthOffset = 0);
|
|
1798
|
-
let P2 = f2.plotY + (f2.negative ? b2.height : 0);
|
|
1799
|
-
f2.below && (f2.plotY += b2.height), f2.tooltipPos && (this.chart.inverted ? f2.tooltipPos[0] = i10.len - P2 : f2.tooltipPos[1] = P2), f2.isInside = this.isPointInside(f2);
|
|
1800
|
-
let M2 = ab(f2.yBottom, this.borderWidth);
|
|
1801
|
-
b2.y = ab(b2.y, this.borderWidth), b2.height = M2 - b2.y, aP(true, f2.shapeArgs, b2);
|
|
1802
|
-
}
|
|
1803
|
-
}, { order: 2 }), M().registerSeriesType("waterfall", ak);
|
|
1804
|
-
let aw = x();
|
|
1805
|
-
aw.RadialAxis = sC, er.compose(aw.Axis, aw.Chart, aw.Legend), i0.compose(aw.Axis, aw.Chart, aw.Legend), _.compose(aw.Chart, aw.Pointer, aw.Series), ae.compose(aw.Axis, aw.Chart, aw.Pointer, aw.Series, aw.Tick, aw.Point, M().seriesTypes.areasplinerange, M().seriesTypes.column, M().seriesTypes.line, M().seriesTypes.spline), ak.compose(aw.Axis, aw.Chart);
|
|
1806
|
-
let aA = aw;
|
|
1807
|
-
return b.default;
|
|
1808
|
-
})());
|
|
1809
|
-
})(highchartsMore);
|
|
1810
|
-
var highchartsMoreExports = highchartsMore.exports;
|
|
1811
|
-
const HighchartsMore = /* @__PURE__ */ getDefaultExportFromCjs(highchartsMoreExports);
|
|
1812
|
-
export {
|
|
1813
|
-
HighchartsMore as default
|
|
1814
|
-
};
|