@oneclick.dev/cms-core-modules 0.0.109 → 0.0.111
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/dist/Acquisition-DgzDQH51.js +1 -0
- package/dist/Acquisition-FV3QpaUX.mjs +400 -0
- package/dist/AgendaOpeningHoursCard-B7ROIPWw.js +1 -0
- package/dist/AgendaOpeningHoursCard-Cp4wxUeK.mjs +172 -0
- package/dist/AppointmentDetailsCard-33WpATpV.mjs +161 -0
- package/dist/AppointmentDetailsCard-DpLM5IrB.js +1 -0
- package/dist/AppointmentEditor-BeOtYV6u.mjs +196 -0
- package/dist/AppointmentEditor-CaTfbkIf.js +1 -0
- package/dist/AppointmentListTable-DZJNmTMb.mjs +177 -0
- package/dist/AppointmentListTable-Dieu9US_.js +1 -0
- package/dist/Audience-BSgNvcVb.js +1 -0
- package/dist/Audience-ka0b7YPE.mjs +489 -0
- package/dist/Components-C83O-xlF.mjs +623 -0
- package/dist/Components-DXbx0RLV.js +1 -0
- package/dist/Content-BHr_rPVY.js +1 -0
- package/dist/Content-CYOZKvWK.mjs +358 -0
- package/dist/ContentEditor-pZPfo0qN.mjs +30802 -0
- package/dist/ContentEditor-tYkh4vRV.js +462 -0
- package/dist/CountryBreakdownCard-D7BK3nRD.js +1 -0
- package/dist/CountryBreakdownCard-DVxNz2DJ.mjs +196 -0
- package/dist/Create--MOBOTA-.js +1 -0
- package/dist/Create-BXNLRQag.mjs +1251 -0
- package/dist/DateFormatter-CSAbE3BC.js +1 -0
- package/dist/DateFormatter-qbhRYxI_.mjs +738 -0
- package/dist/Detail-BCOcP2ql.mjs +585 -0
- package/dist/Detail-Btzwo0Y3.mjs +3477 -0
- package/dist/Detail-Byk781b4.mjs +26 -0
- package/dist/Detail-C8wQiDcv.js +1 -0
- package/dist/Detail-CPqug27l.js +1 -0
- package/dist/Detail-ChD5XurA.mjs +379 -0
- package/dist/Detail-CjuhjPby.js +1 -0
- package/dist/Detail-DnX7tsqN.mjs +649 -0
- package/dist/Detail-RISEJJab.js +1 -0
- package/dist/Detail-mvSGbnFU.js +1 -0
- package/dist/DeviceBreakdownCard-DRhQ9ufG.js +1 -0
- package/dist/DeviceBreakdownCard-W1frLe0L.mjs +159 -0
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DWMqQvHl.mjs +76 -0
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-kpjbVSXg.js +1 -0
- package/dist/Entries-BdhUyJR5.mjs +728 -0
- package/dist/Entries-CEXM_SkO.js +1 -0
- package/dist/Find-D4Qa45qC.js +1 -0
- package/dist/Find-zN_dKz4p.mjs +229 -0
- package/dist/GlobalStyling-C9VthHWK.mjs +1588 -0
- package/dist/GlobalStyling-CnSlXkZc.js +25 -0
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Baqy-rTT.js +1 -0
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dx4Bpa2m.mjs +1263 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-COrK1j0S.js +1 -0
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-Vb3q8EVv.mjs +330 -0
- package/dist/Overview-98nkJUWN.mjs +481 -0
- package/dist/Overview-BCpJNiEB.mjs +190 -0
- package/dist/Overview-BDlBCUI_.js +1 -0
- package/dist/Overview-BR_y8x3W.mjs +860 -0
- package/dist/Overview-BbvfH1u-.js +1 -0
- package/dist/Overview-Bn1Xx3_j.js +1 -0
- package/dist/Overview-CIa1E-HH.mjs +178 -0
- package/dist/Overview-CX-n6W7d.js +1 -0
- package/dist/Overview-DAxCu9XC.js +1 -0
- package/dist/Overview-Dl8cMlsr.js +1 -0
- package/dist/Overview-MpgkLB6m.mjs +567 -0
- package/dist/Overview-Su8ZUbMs.mjs +26 -0
- package/dist/Overview-T-lsy3UZ.js +1 -0
- package/dist/Overview-lWAyyenp.mjs +632 -0
- package/dist/PeakHoursCard-9-EZFZLR.mjs +182 -0
- package/dist/PeakHoursCard-BR5zmta4.js +1 -0
- package/dist/ProductDetailsCard-6nHikw4V.mjs +121 -0
- package/dist/ProductDetailsCard-Bn7qrgmc.js +1 -0
- package/dist/RealtimeCard--APfRNc8.js +1 -0
- package/dist/RealtimeCard-fvQlJcM7.mjs +126 -0
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-CuwREvXD.js +349 -0
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-GYNZ_yhD.mjs +3077 -0
- package/dist/SearchTermsCard-BsB-63aH.js +1 -0
- package/dist/SearchTermsCard-BzVrHKqQ.mjs +201 -0
- package/dist/SendPush-COns44j7.js +1 -0
- package/dist/SendPush-CPIOjVX4.mjs +184 -0
- package/dist/SeoHealth-C5npw7mE.js +1 -0
- package/dist/SeoHealth-bVQj_Xgm.mjs +615 -0
- package/dist/TableView-Bf1fdJrD.mjs +6159 -0
- package/dist/TableView-DNcXyIMu.js +4 -0
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-B_AtWnHa.js +1 -0
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-Cmovy7kk.mjs +40 -0
- package/dist/TopPagesCard-BDeA997A.js +1 -0
- package/dist/TopPagesCard-CTozhOr_.mjs +159 -0
- package/dist/TrafficSourcesCard-BxtCKsqx.mjs +197 -0
- package/dist/TrafficSourcesCard-C3ziDTUL.js +1 -0
- package/dist/View-CsudjxCE.mjs +30 -0
- package/dist/View-Dw_wA6kK.js +1 -0
- package/dist/VisitorStatsCard-BmByE_Hi.js +1 -0
- package/dist/VisitorStatsCard-CXizEbVK.mjs +174 -0
- package/dist/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/agenda-BaJu3-1c.js +1 -0
- package/dist/agenda-BwVY_8oM.mjs +1165 -0
- package/dist/availability-CMrRa5y2.mjs +269 -0
- package/dist/availability-Cf2YfMwM.js +1 -0
- package/dist/booking-data-DgJd0BcM.mjs +889 -0
- package/dist/booking-data-Di5GmH_8.js +1 -0
- package/dist/cms-core-modules.css +1 -2
- package/dist/countries-BTPvmrsb.mjs +4 -0
- package/dist/countries-CgZ081No.js +1 -0
- package/dist/exceptions-B6P9UiCj.js +1 -0
- package/dist/exceptions-De9-FvdP.mjs +646 -0
- package/dist/google-CvtuJwgk.mjs +4 -0
- package/dist/google-D4N3gb01.js +1 -0
- package/dist/index-4tjmIans.js +1 -0
- package/dist/index-9HVlmvK3.js +1 -0
- package/dist/index-B8GvmAwh.mjs +1403 -0
- package/dist/index-BIF2RB7k.mjs +2836 -0
- package/dist/index-BWDwEd8D.mjs +24 -0
- package/dist/index-BfBBm9uY.mjs +24 -0
- package/dist/index-Bkq58CeQ.mjs +22 -0
- package/dist/index-ByRsp77L.js +70 -0
- package/dist/index-CFzn2Lus.mjs +172 -0
- package/dist/index-CJQQBRLY.js +1 -0
- package/dist/index-CQkOH2_3.mjs +24 -0
- package/dist/index-CSxYBeVA.js +1 -0
- package/dist/index-CU-tbS5W.mjs +24 -0
- package/dist/index-CZn2nDLv.mjs +34 -0
- package/dist/index-CkVwMqpn.mjs +3857 -0
- package/dist/index-CkiNvRzs.js +1 -0
- package/dist/index-Co4ON2Di.js +1 -0
- package/dist/index-Cpnn_Pxd.mjs +24 -0
- package/dist/index-CsVeM3PA.mjs +24 -0
- package/dist/index-CwqrAU-H.js +1 -0
- package/dist/index-CxETuRsG.js +1 -0
- package/dist/index-Cz-baGax.js +1 -0
- package/dist/index-DFQGVHTs.js +1 -0
- package/dist/index-DL6orwdK.js +35 -0
- package/dist/index-DPd3waTN.js +1 -0
- package/dist/index-DRqJOqUR.mjs +3484 -0
- package/dist/index-DUlYrnXH.js +58 -0
- package/dist/index-DZV720u-.mjs +439 -0
- package/dist/index-D_nfGegA.js +184 -0
- package/dist/index-DjWuIBxh.js +1 -0
- package/dist/index-Dnn2SCSl.js +1 -0
- package/dist/index-Dpl9sU6a.mjs +12 -0
- package/dist/index-DrXxXB2F.mjs +138 -0
- package/dist/index-DtSvAFLL.js +54 -0
- package/dist/index-L54VBzwJ.mjs +109 -0
- package/dist/index-R2oUDsjx.js +1 -0
- package/dist/index-RLz1QPrf.mjs +203 -0
- package/dist/index-UtjLbLw-.js +1 -0
- package/dist/index-cOnxXTbF.mjs +24 -0
- package/dist/index-hH3e-IYz.mjs +1187 -0
- package/dist/index-hlylYYgy.mjs +24 -0
- package/dist/index-ijdf0d9-.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +806 -1095
- package/dist/interpolation-CHn59tIC.js +1 -0
- package/dist/interpolation-w7IRDJwK.mjs +180 -0
- package/dist/math-BJ-oX_IM.mjs +80 -0
- package/dist/math-emotyaF6.js +1 -0
- package/dist/orders-C65SlpJy.mjs +618 -0
- package/dist/orders-XVzWAgG1.js +1 -0
- package/dist/payment-C3ohkehF.mjs +1080 -0
- package/dist/payment-Dfr-Ro-a.js +1 -0
- package/dist/regular-1LXNPviB.js +1 -0
- package/dist/regular-_05oq5Tx.mjs +1101 -0
- package/dist/resources-CxeFd57z.js +1 -0
- package/dist/resources-DwYxn2Vi.mjs +811 -0
- package/dist/server-handlers.cjs.js +1 -1
- package/dist/server-handlers.mjs +996 -1049
- package/dist/src/appointments/chat-components/AgendaOpeningHoursCard.vue.d.ts +15 -0
- package/dist/src/appointments/chat-components/AppointmentDetailsCard.vue.d.ts +14 -0
- package/dist/src/appointments/chat-components/AppointmentEditor.vue.d.ts +14 -0
- package/dist/src/appointments/chat-components/AppointmentListTable.vue.d.ts +14 -0
- package/dist/src/appointments/components/create/StepNavigation.vue.d.ts +32 -0
- package/dist/src/appointments/components/create/regular/Step1.vue.d.ts +2 -0
- package/dist/src/appointments/components/create/regular/Step2.vue.d.ts +2 -0
- package/dist/src/appointments/components/create/regular/Step3.vue.d.ts +2 -0
- package/dist/src/appointments/components/create/regular/Step4.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +24 -0
- package/dist/src/appointments/components/edit/EditLayout.vue.d.ts +17 -0
- package/dist/src/appointments/components/edit/Event24hSidebar.vue.d.ts +2 -0
- package/dist/src/appointments/components/edit/EventDialog/ApproveReservationDialog.vue.d.ts +8 -0
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +136 -0
- package/dist/src/appointments/components/edit/EventDialog/CancelReservationDialog.vue.d.ts +8 -0
- package/dist/src/appointments/components/edit/EventDialog/EventDialog.vue.d.ts +11 -0
- package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +55 -0
- package/dist/src/appointments/components/edit/EventDialog/RejectReservationDialog.vue.d.ts +8 -0
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +87 -0
- package/dist/src/appointments/components/edit/EventDialog/TimelineChart.vue.d.ts +24 -0
- package/dist/src/appointments/components/edit/EventDialog/TransferReservationDialog.vue.d.ts +4 -0
- package/dist/src/appointments/components/edit/EventTimeIndicator.vue.d.ts +12 -0
- package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +48 -0
- package/dist/src/appointments/components/edit/EventView.vue.d.ts +9 -0
- package/dist/src/appointments/components/edit/ExceptionDialog.vue.d.ts +29 -0
- package/dist/src/appointments/components/edit/MetadataSchemaEditorDialog.vue.d.ts +12 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/CustomerInformation.vue.d.ts +10 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/NewReservationDialog.vue.d.ts +26 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/QuickReservationAdder.vue.d.ts +26 -0
- package/dist/src/appointments/components/edit/NewReservationDialog/ReservationLines.vue.d.ts +31 -0
- package/dist/src/appointments/components/edit/OrderMetadataDisplay.vue.d.ts +21 -0
- package/dist/src/appointments/components/edit/PaymentAddons/Addon.vue.d.ts +22 -0
- package/dist/src/appointments/components/edit/PaymentAddons/AddonList.vue.d.ts +5 -0
- package/dist/src/appointments/components/edit/PaymentAddons/index.vue.d.ts +15 -0
- package/dist/src/appointments/components/edit/ResourceEditorDialog.vue.d.ts +13 -0
- package/dist/src/appointments/components/edit/dashboard/Timeline.vue.d.ts +36 -0
- package/dist/src/appointments/components/edit/dashboard/timeline/ResourceSelector.vue.d.ts +50 -0
- package/dist/src/appointments/index.d.ts +12 -9
- package/dist/src/appointments/index.vue.d.ts +22 -0
- package/dist/src/appointments/metadata.d.ts +1 -1
- package/dist/src/appointments/pages/Overview.vue.d.ts +4 -0
- package/dist/src/appointments/pages/create/index.vue.d.ts +2 -0
- package/dist/src/appointments/pages/create/regular.vue.d.ts +6 -0
- package/dist/src/appointments/pages/edit/agenda.vue.d.ts +4 -0
- package/dist/src/appointments/pages/edit/availability.vue.d.ts +2 -0
- package/dist/src/appointments/pages/edit/booking-data.vue.d.ts +65 -0
- package/dist/src/appointments/pages/edit/index.vue.d.ts +2 -0
- package/dist/src/appointments/pages/edit/payment.vue.d.ts +2 -0
- package/dist/src/appointments/pages/edit/resources.vue.d.ts +28 -0
- package/dist/src/appointments/routes.d.ts +6 -3
- package/dist/src/contentManager/components/components/ComponentDialog.vue.d.ts +12 -0
- package/dist/src/contentManager/components/components/ComponentGridItem.vue.d.ts +16 -0
- package/dist/src/contentManager/components/content-editor/ApiDocs.vue.d.ts +2 -0
- package/dist/src/contentManager/components/content-editor/ContentLayout.vue.d.ts +49 -0
- package/dist/src/contentManager/components/content-editor/ContentSettings.vue.d.ts +24 -0
- package/dist/src/contentManager/components/content-editor/ContentStructuredContentSections.vue.d.ts +4 -0
- package/dist/src/contentManager/components/content-editor/Header.vue.d.ts +64 -0
- package/dist/src/contentManager/components/content-editor/LivePreviewWrapper.vue.d.ts +53 -0
- package/dist/src/contentManager/components/content-editor/Locales.vue.d.ts +44 -0
- package/dist/src/contentManager/components/content-editor/NewSectionDialog.vue.d.ts +21 -0
- package/dist/src/contentManager/components/content-editor/PageSettings.vue.d.ts +2 -0
- package/dist/src/contentManager/components/content-editor/SEO.vue.d.ts +14 -0
- package/dist/src/contentManager/components/content-editor/SidebarSectionWrapper.vue.d.ts +39 -0
- package/dist/src/contentManager/components/content-editor/Status.vue.d.ts +2 -0
- package/dist/src/contentManager/components/content-editor/Versions.vue.d.ts +63 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Button.vue.d.ts +94 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Card.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Column.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Container.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Divider.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +94 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Heading.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Image.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/LockBlocks.d.ts +0 -15
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Map.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Row.vue.d.ts +115 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/ScopedSelectAll.d.ts +1 -2
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Stack.vue.d.ts +115 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +1 -4
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Video.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +92 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +108 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +20 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +104 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +1 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuClassBuilder.vue.d.ts +19 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuLinkBuilder.vue.d.ts +19 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts +29 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +19 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +8 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts +47 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +6 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +17 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/CardMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/DividerMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/RowMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/StackMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +13 -0
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +132 -12
- package/dist/src/contentManager/components/overview/CollectionDialog.vue.d.ts +30 -0
- package/dist/src/contentManager/components/overview/CollectionsGridView.vue.d.ts +18 -0
- package/dist/src/contentManager/components/overview/ContentEntryContextMenu.vue.d.ts +27 -0
- package/dist/src/contentManager/components/overview/FilterPopover.vue.d.ts +2 -0
- package/dist/src/contentManager/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/contentManager/components/styling/ButtonStyleDialog.vue.d.ts +24 -0
- package/dist/src/contentManager/components/styling/CardStyleDialog.vue.d.ts +24 -0
- package/dist/src/contentManager/components/styling/SectionStyleDialog.vue.d.ts +24 -0
- package/dist/src/contentManager/index.d.ts +14 -5
- package/dist/src/contentManager/index.vue.d.ts +22 -0
- package/dist/src/contentManager/metadata.d.ts +1 -1
- package/dist/src/contentManager/pages/Components.vue.d.ts +27 -0
- package/dist/src/contentManager/pages/ContentEditor.vue.d.ts +14 -0
- package/dist/src/contentManager/pages/Entries.vue.d.ts +16 -0
- package/dist/src/contentManager/pages/GlobalStyling.vue.d.ts +117 -0
- package/dist/src/contentManager/pages/Overview.vue.d.ts +57 -0
- package/dist/src/contentManager/routes.d.ts +12 -3
- package/dist/src/custom/index.d.ts +2 -2
- package/dist/src/custom/index.vue.d.ts +2 -0
- package/dist/src/custom/pages/View.vue.d.ts +2 -0
- package/dist/src/custom/routes.d.ts +1 -1
- package/dist/src/googleAnalytics/chat-components/CountryBreakdownCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/DeviceBreakdownCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/PeakHoursCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/RealtimeCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/SearchTermsCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/TopPagesCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/TrafficSourcesCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/chat-components/VisitorStatsCard.vue.d.ts +14 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoClicksChart.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoImpressionsChart.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoKeywordsTab.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoKpiCards.vue.d.ts +10 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoMappingTab.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoPagesTab.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/components/seo-health/SeoRankingDistribution.vue.d.ts +5 -0
- package/dist/src/googleAnalytics/index.d.ts +10 -10
- package/dist/src/googleAnalytics/index.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Acquisition.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Audience.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Content.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/Overview.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/pages/SeoHealth.vue.d.ts +2 -0
- package/dist/src/googleAnalytics/routes.d.ts +1 -1
- package/dist/src/mailTemplates/components/TemplateList.vue.d.ts +2 -0
- package/dist/src/mailTemplates/index.d.ts +3 -3
- package/dist/src/mailTemplates/index.vue.d.ts +22 -0
- package/dist/src/mailTemplates/metadata.d.ts +1 -1
- package/dist/src/mailTemplates/pages/Detail.vue.d.ts +14 -0
- package/dist/src/mailTemplates/pages/Overview.vue.d.ts +14 -0
- package/dist/src/mailTemplates/routes.d.ts +1 -1
- package/dist/src/productCollections/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/productCollections/components/detail/SEO.vue.d.ts +2 -0
- package/dist/src/productCollections/components/detail/Status.vue.d.ts +2 -0
- package/dist/src/productCollections/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/productCollections/index.d.ts +3 -3
- package/dist/src/productCollections/index.vue.d.ts +22 -0
- package/dist/src/productCollections/metadata.d.ts +1 -1
- package/dist/src/productCollections/pages/Detail.vue.d.ts +14 -0
- package/dist/src/productCollections/pages/Overview.vue.d.ts +16 -0
- package/dist/src/productCollections/routes.d.ts +1 -1
- package/dist/src/products/chat-components/ProductDetailsCard.vue.d.ts +14 -0
- package/dist/src/products/components/detail/Collections.vue.d.ts +14 -0
- package/dist/src/products/components/detail/Inventory.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/products/components/detail/NewSection.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Price.vue.d.ts +2 -0
- package/dist/src/products/components/detail/SEO.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Shipping.vue.d.ts +2 -0
- package/dist/src/products/components/detail/Status.vue.d.ts +2 -0
- package/dist/src/products/components/detail/price/UnitPriceDialog.vue.d.ts +17 -0
- package/dist/src/products/components/detail/variants/Option.vue.d.ts +33 -0
- package/dist/src/products/components/detail/variants/VariantList.vue.d.ts +38 -0
- package/dist/src/products/components/overview/FilterPopover.vue.d.ts +2 -0
- package/dist/src/products/components/overview/GridView.vue.d.ts +12 -0
- package/dist/src/products/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/products/components/overview/ProductContextMenu.vue.d.ts +27 -0
- package/dist/src/products/index.d.ts +4 -4
- package/dist/src/products/index.vue.d.ts +22 -0
- package/dist/src/products/metadata.d.ts +1 -1
- package/dist/src/products/pages/Detail.vue.d.ts +14 -0
- package/dist/src/products/pages/Overview.vue.d.ts +16 -0
- package/dist/src/products/routes.d.ts +1 -1
- package/dist/src/promoCodes/components/create/DateRange.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/MultiCodes.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/Note.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/SingleCode.vue.d.ts +2 -0
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeDetailDialog.vue.d.ts +6 -0
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeManageDialog.vue.d.ts +18 -0
- package/dist/src/promoCodes/components/create/TypeAndValue/index.vue.d.ts +2 -0
- package/dist/src/promoCodes/index.d.ts +3 -3
- package/dist/src/promoCodes/index.vue.d.ts +22 -0
- package/dist/src/promoCodes/metadata.d.ts +1 -1
- package/dist/src/promoCodes/pages/Create.vue.d.ts +16 -0
- package/dist/src/promoCodes/pages/Detail.vue.d.ts +14 -0
- package/dist/src/promoCodes/pages/Find.vue.d.ts +16 -0
- package/dist/src/promoCodes/routes.d.ts +1 -1
- package/dist/src/push-notifications/components/PreviewAndroid.vue.d.ts +28 -0
- package/dist/src/push-notifications/components/PreviewIPhone.vue.d.ts +28 -0
- package/dist/src/push-notifications/components/PushPreview.vue.d.ts +28 -0
- package/dist/src/push-notifications/index.d.ts +3 -3
- package/dist/src/push-notifications/index.vue.d.ts +22 -0
- package/dist/src/push-notifications/metadata.d.ts +1 -1
- package/dist/src/push-notifications/pages/SendPush.vue.d.ts +14 -0
- package/dist/src/push-notifications/routes.d.ts +1 -1
- package/dist/src/shared/BrandLogo.vue.d.ts +12 -0
- package/dist/src/shared/DrawerToggle.vue.d.ts +60 -0
- package/dist/src/shared/VerticalToggle.vue.d.ts +60 -0
- package/dist/src/shippingOptions/components/detail/Condition.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/detail/Countries.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/detail/Example.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/detail/Main.vue.d.ts +2 -0
- package/dist/src/shippingOptions/components/overview/ListView.vue.d.ts +12 -0
- package/dist/src/shippingOptions/index.d.ts +3 -3
- package/dist/src/shippingOptions/index.vue.d.ts +22 -0
- package/dist/src/shippingOptions/metadata.d.ts +1 -1
- package/dist/src/shippingOptions/pages/Detail.vue.d.ts +14 -0
- package/dist/src/shippingOptions/pages/Overview.vue.d.ts +16 -0
- package/dist/src/shippingOptions/routes.d.ts +1 -1
- package/dist/src/table/components/DataTable.vue.d.ts +18 -0
- package/dist/src/table/components/DataTableAction.vue.d.ts +14 -0
- package/dist/src/table/components/DataTableMobileRowActionDrawer.vue.d.ts +4 -0
- package/dist/src/table/components/DataTablePagination.vue.d.ts +6 -0
- package/dist/src/table/components/actions/ActionDialog.vue.d.ts +19 -0
- package/dist/src/table/components/actions/CtaActionDialog.vue.d.ts +4 -0
- package/dist/src/table/components/columns/ColumnDropdown.vue.d.ts +2 -0
- package/dist/src/table/components/columns/ColumnEditorDialog.vue.d.ts +34 -0
- package/dist/src/table/components/columns/DialogTableColumnItem.vue.d.ts +12 -0
- package/dist/src/table/components/date-range-filter/DateRangeFilter.vue.d.ts +2 -0
- package/dist/src/table/components/date-range-filter/DateRangeSettingsDialog.vue.d.ts +27 -0
- package/dist/src/table/components/filters/FilterDialog.vue.d.ts +12 -0
- package/dist/src/table/components/filters/Filters.vue.d.ts +27 -0
- package/dist/src/table/components/search/Search.vue.d.ts +2 -0
- package/dist/src/table/components/sort/SortMode.vue.d.ts +2 -0
- package/dist/src/table/components/sort/SortModeSettingsDialog.vue.d.ts +18 -0
- package/dist/src/table/components/stats/StatDialog.vue.d.ts +12 -0
- package/dist/src/table/components/stats/Stats.vue.d.ts +27 -0
- package/dist/src/table/flow-builder-extensions/TableRowEditor.vue.d.ts +16 -0
- package/dist/src/table/flow-builder-extensions/row-item.d.ts +17 -3
- package/dist/src/table/index.d.ts +2 -2
- package/dist/src/table/index.vue.d.ts +22 -0
- package/dist/src/table/pages/TableView.vue.d.ts +54 -0
- package/dist/src/table/routes.d.ts +1 -1
- package/dist/src/types/index.d.ts +0 -6
- package/dist/utils-CanmrIWO.mjs +47 -0
- package/dist/utils-Yd6F5mea.js +3 -0
- package/dist/vee-validate-zod-ByykgYKJ.js +1 -0
- package/dist/vee-validate-zod-DNjTLCgh.mjs +4402 -0
- package/package.json +56 -55
- package/dist/Acquisition-DypEyPSO.js +0 -1
- package/dist/Acquisition-TCNX-th6.mjs +0 -308
- package/dist/AgendaOpeningHoursCard-BIhm0vpV.js +0 -1
- package/dist/AgendaOpeningHoursCard-BKUdJxRI.mjs +0 -133
- package/dist/AppointmentDetailsCard-C5rQ5jsW.js +0 -1
- package/dist/AppointmentDetailsCard-NRHeNP2L.mjs +0 -111
- package/dist/AppointmentEditor-BcF8CiD-.mjs +0 -150
- package/dist/AppointmentEditor-BlhFtoCm.js +0 -1
- package/dist/AppointmentListTable-B-ReBVtV.js +0 -1
- package/dist/AppointmentListTable-DHmy-iid.mjs +0 -129
- package/dist/Audience-CfWHjjg8.mjs +0 -394
- package/dist/Audience-Cj4TyauW.js +0 -1
- package/dist/Components-BehelN4r.js +0 -1
- package/dist/Components-CR6zukUU.mjs +0 -468
- package/dist/Content-C5Iye3t0.mjs +0 -257
- package/dist/Content-eOfBx52Y.js +0 -1
- package/dist/ContentEditor-BgL4qEeg.mjs +0 -26835
- package/dist/ContentEditor-Tlu3w0Hu.js +0 -462
- package/dist/CountryBreakdownCard-CWVyB8be.mjs +0 -151
- package/dist/CountryBreakdownCard-Db-pMiNe.js +0 -1
- package/dist/Create-B1it8S4m.js +0 -1
- package/dist/Create-DbYi0FAI.mjs +0 -907
- package/dist/DateFormatter-DLrDYkby.mjs +0 -630
- package/dist/DateFormatter-Dni0Oq8r.js +0 -1
- package/dist/Detail-D-eahJGO.mjs +0 -21
- package/dist/Detail-D0kdPPIm.mjs +0 -2757
- package/dist/Detail-DAafePYi.mjs +0 -485
- package/dist/Detail-DYpv4fYg.js +0 -1
- package/dist/Detail-Dc_ui4LM.js +0 -1
- package/dist/Detail-DccUekl_.js +0 -1
- package/dist/Detail-Dhz0V0Vf.js +0 -1
- package/dist/Detail-DjnGY0F8.mjs +0 -282
- package/dist/Detail-DplAitHg.mjs +0 -447
- package/dist/Detail-SugyeSxb.js +0 -1
- package/dist/DeviceBreakdownCard-CzxZT6To.js +0 -1
- package/dist/DeviceBreakdownCard-eEwPjzKl.mjs +0 -115
- package/dist/EditLayout-Bnz9q_jd.js +0 -1
- package/dist/EditLayout-J_DGXb8v.mjs +0 -99
- package/dist/Entries-CgpWg6fE.js +0 -1
- package/dist/Entries-CkGTXcAq.mjs +0 -575
- package/dist/Find-Bz0TNJzk.mjs +0 -164
- package/dist/Find-D-ItTXaZ.js +0 -1
- package/dist/GlobalStyling-CSQPF7o_.mjs +0 -1162
- package/dist/GlobalStyling-DabldMZh.js +0 -15
- package/dist/NewReservationDialog-BhIiY2B9.js +0 -1
- package/dist/NewReservationDialog-CN49aGcM.mjs +0 -1002
- package/dist/OrderDetailDialog-BJ01DZFe.js +0 -1
- package/dist/OrderDetailDialog-CoVQ_rzs.mjs +0 -215
- package/dist/Overview-9FMgn5hT.mjs +0 -492
- package/dist/Overview-BOOwMQ-c.mjs +0 -636
- package/dist/Overview-Biz3h60w.js +0 -1
- package/dist/Overview-C2K2ofdS.js +0 -1
- package/dist/Overview-CFHOXP9N.mjs +0 -123
- package/dist/Overview-CTJe7J5_.js +0 -1
- package/dist/Overview-Cvj2i9eW.js +0 -1
- package/dist/Overview-D2I1F8Dm.mjs +0 -21
- package/dist/Overview-DFOc9emt.mjs +0 -345
- package/dist/Overview-Dmhfb94Y.js +0 -1
- package/dist/Overview-PPzv7weG.mjs +0 -450
- package/dist/Overview-qFKcXHVF.js +0 -1
- package/dist/Overview-xkmYYTae.mjs +0 -133
- package/dist/Overview-yPsLvR2c.js +0 -1
- package/dist/PeakHoursCard-CtgEP-ez.mjs +0 -157
- package/dist/PeakHoursCard-DPeoMyhu.js +0 -1
- package/dist/ProductDetailsCard-B0WhmzO-.mjs +0 -98
- package/dist/ProductDetailsCard-C1ROuH6l.js +0 -1
- package/dist/RealtimeCard-DQno-Okz.js +0 -1
- package/dist/RealtimeCard-dR-g1iDo.mjs +0 -92
- package/dist/ReservationDetailDialog-Cdo6h0RD.mjs +0 -2163
- package/dist/ReservationDetailDialog-DZTFD2xI.js +0 -349
- package/dist/SearchTermsCard-BXJSXz_k.js +0 -1
- package/dist/SearchTermsCard-DsaxLKwP.mjs +0 -146
- package/dist/SendPush-Bssi-OZD.mjs +0 -150
- package/dist/SendPush-BuaYboRH.js +0 -1
- package/dist/SeoHealth-CP-kL0us.js +0 -1
- package/dist/SeoHealth-Cxp_Gb3Y.mjs +0 -459
- package/dist/TableView-7iwBkQ_k.mjs +0 -4757
- package/dist/TableView-BB_oIYYZ.js +0 -4
- package/dist/TemplateList-CNcM_Kgq.mjs +0 -56
- package/dist/TemplateList-VuPcBUJO.js +0 -1
- package/dist/TopPagesCard-CvDECn3_.mjs +0 -117
- package/dist/TopPagesCard-DNdATXJE.js +0 -1
- package/dist/TrafficSourcesCard-BLpBr7u0.mjs +0 -151
- package/dist/TrafficSourcesCard-_3gRUCw3.js +0 -1
- package/dist/View-DSnUHI7h.mjs +0 -30
- package/dist/View-Dbcfpdqh.js +0 -1
- package/dist/VisitorStatsCard-CFEnXSjF.mjs +0 -185
- package/dist/VisitorStatsCard-C_jhQxDW.js +0 -1
- package/dist/_plugin-vue_export-helper-5u7tqpWC.js +0 -1
- package/dist/_plugin-vue_export-helper-BJQSo0im.mjs +0 -8
- package/dist/agenda-CzMRcQTA.mjs +0 -989
- package/dist/agenda-D4zWRYSQ.js +0 -1
- package/dist/appointments-9syR5TZE.js +0 -1
- package/dist/appointments-BBmOJMhM.mjs +0 -23
- package/dist/array-BH1uH7XT.js +0 -1
- package/dist/array-DnDL9cFz.mjs +0 -98
- package/dist/availability-CAXB7Yd6.js +0 -1
- package/dist/availability-Dp7eF-ZK.mjs +0 -215
- package/dist/booking-data-Bysf6e5x.mjs +0 -724
- package/dist/booking-data-C6SGjC2X.js +0 -1
- package/dist/chunk-DQi1bQcV.js +0 -1
- package/dist/contentManager-D7JxXCwE.js +0 -1
- package/dist/contentManager-tfy0x1LD.mjs +0 -22
- package/dist/context-AQKfnJ4t.mjs +0 -3809
- package/dist/context-ubyMq9Xe.js +0 -54
- package/dist/core-Dhgr4ctC.mjs +0 -202
- package/dist/core-_HKfBlaZ.js +0 -1
- package/dist/countries-MXLT3mVe.mjs +0 -4
- package/dist/countries-OCd5qPxG.js +0 -1
- package/dist/create-BfNc2C7N.js +0 -1
- package/dist/create-C7JlIlIh.mjs +0 -95
- package/dist/custom-BwN9-6Mb.js +0 -1
- package/dist/custom-INNwaWla.mjs +0 -13
- package/dist/dist-BCVg7FKM.js +0 -1
- package/dist/dist-DIhK9VWh.mjs +0 -3045
- package/dist/edit-BiI2VG60.js +0 -35
- package/dist/edit-DD3iFBEh.mjs +0 -1097
- package/dist/exceptions-DICMaDcH.mjs +0 -462
- package/dist/exceptions-DpWqMNuG.js +0 -1
- package/dist/google-Bcc4XZnV.mjs +0 -4
- package/dist/google-DTSRmJ51.js +0 -1
- package/dist/googleAnalytics-BSaqRR_L.js +0 -1
- package/dist/googleAnalytics-Cg-iWblZ.mjs +0 -47
- package/dist/interpolation-B8OzkMyi.mjs +0 -131
- package/dist/interpolation-DpAqtGOW.js +0 -1
- package/dist/lib-4wSi00Vr.js +0 -1
- package/dist/lib-BZgXUui5.mjs +0 -198
- package/dist/line-DJdnFNI7.js +0 -75
- package/dist/line-tYLnEDGV.mjs +0 -1500
- package/dist/mailTemplates-BNk8fhVS.mjs +0 -23
- package/dist/mailTemplates-DswHzyQe.js +0 -1
- package/dist/orders-CIc0JlKX.mjs +0 -512
- package/dist/orders-DwPSi_pD.js +0 -1
- package/dist/payment-BsNWFaDm.js +0 -1
- package/dist/payment-Ced5_dpa.mjs +0 -718
- package/dist/productCollections-Cuvw_8zC.js +0 -1
- package/dist/productCollections-D0AxRlzr.mjs +0 -23
- package/dist/products-DUD-ZMkR.mjs +0 -22
- package/dist/products-DvX9B-Ul.js +0 -1
- package/dist/promoCodes-BCWqN6w4.mjs +0 -23
- package/dist/promoCodes-CEZ4LYot.js +0 -1
- package/dist/push-notifications-BGp4XWo9.js +0 -1
- package/dist/push-notifications-C7W7KuzR.mjs +0 -23
- package/dist/regular-BCFrS6lK.mjs +0 -908
- package/dist/regular-DBqPgT8C.js +0 -1
- package/dist/resources-DwsMmWgm.mjs +0 -669
- package/dist/resources-Dz81GkHe.js +0 -1
- package/dist/shippingOptions-C3NEJff1.mjs +0 -23
- package/dist/shippingOptions-Cy040ZW1.js +0 -1
- package/dist/single-container-BJmmqq65.mjs +0 -468
- package/dist/single-container-Xoo0Xzxv.js +0 -58
- package/dist/src/vue-shim.d.ts +0 -7
- package/dist/table-DWw0fs3S.js +0 -1
- package/dist/table-LXt5DQOL.mjs +0 -23
- package/dist/utils-CVIHqQsU.js +0 -3
- package/dist/utils-h3owcMtS.mjs +0 -37
- package/dist/vee-validate-zod-BmXMJo8W.js +0 -1
- package/dist/vee-validate-zod-D9dZzbWZ.mjs +0 -4985
- package/dist/xy-container-CuQSwrtB.mjs +0 -3180
- package/dist/xy-container-_6YpscZh.js +0 -158
package/dist/line-tYLnEDGV.mjs
DELETED
|
@@ -1,1500 +0,0 @@
|
|
|
1
|
-
import { F as e, G as t, H as n, K as r, M as i, S as a, U as o, V as s, Z as c, _ as l, ct as u, lt as d, o as f, q as p, r as m, s as h, st as g } from "./context-AQKfnJ4t.mjs";
|
|
2
|
-
import { c as _, o as v, s as y } from "./xy-container-CuQSwrtB.mjs";
|
|
3
|
-
import { g as b, n as x, t as ee } from "./array-DnDL9cFz.mjs";
|
|
4
|
-
import { computed as S, createElementBlock as te, defineComponent as ne, inject as re, nextTick as ie, onMounted as ae, onUnmounted as oe, openBlock as se, ref as ce, watch as C } from "vue";
|
|
5
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
|
|
6
|
-
function le(e) {
|
|
7
|
-
this._context = e;
|
|
8
|
-
}
|
|
9
|
-
le.prototype = {
|
|
10
|
-
areaStart: function() {
|
|
11
|
-
this._line = 0;
|
|
12
|
-
},
|
|
13
|
-
areaEnd: function() {
|
|
14
|
-
this._line = NaN;
|
|
15
|
-
},
|
|
16
|
-
lineStart: function() {
|
|
17
|
-
this._point = 0;
|
|
18
|
-
},
|
|
19
|
-
lineEnd: function() {
|
|
20
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
21
|
-
},
|
|
22
|
-
point: function(e, t) {
|
|
23
|
-
switch (e = +e, t = +t, this._point) {
|
|
24
|
-
case 0:
|
|
25
|
-
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
26
|
-
break;
|
|
27
|
-
case 1: this._point = 2;
|
|
28
|
-
default:
|
|
29
|
-
this._context.lineTo(e, t);
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
function w(e) {
|
|
35
|
-
return new le(e);
|
|
36
|
-
}
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
|
|
39
|
-
function ue(e) {
|
|
40
|
-
return e[0];
|
|
41
|
-
}
|
|
42
|
-
function T(e) {
|
|
43
|
-
return e[1];
|
|
44
|
-
}
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js
|
|
47
|
-
function E(e, t) {
|
|
48
|
-
var n = b(!0), r = null, i = w, a = null, o = x(s);
|
|
49
|
-
e = typeof e == "function" ? e : e === void 0 ? ue : b(e), t = typeof t == "function" ? t : t === void 0 ? T : b(t);
|
|
50
|
-
function s(s) {
|
|
51
|
-
var c, l = (s = ee(s)).length, u, d = !1, f;
|
|
52
|
-
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
|
|
53
|
-
if (f) return a = null, f + "" || null;
|
|
54
|
-
}
|
|
55
|
-
return s.x = function(t) {
|
|
56
|
-
return arguments.length ? (e = typeof t == "function" ? t : b(+t), s) : e;
|
|
57
|
-
}, s.y = function(e) {
|
|
58
|
-
return arguments.length ? (t = typeof e == "function" ? e : b(+e), s) : t;
|
|
59
|
-
}, s.defined = function(e) {
|
|
60
|
-
return arguments.length ? (n = typeof e == "function" ? e : b(!!e), s) : n;
|
|
61
|
-
}, s.curve = function(e) {
|
|
62
|
-
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
|
|
63
|
-
}, s.context = function(e) {
|
|
64
|
-
return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;
|
|
65
|
-
}, s;
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/area.js
|
|
69
|
-
function de(e, t, n) {
|
|
70
|
-
var r = null, i = b(!0), a = null, o = w, s = null, c = x(l);
|
|
71
|
-
e = typeof e == "function" ? e : e === void 0 ? ue : b(+e), t = typeof t == "function" ? t : b(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? T : b(+n);
|
|
72
|
-
function l(l) {
|
|
73
|
-
var u, d, f, p = (l = ee(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
|
|
74
|
-
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
|
|
75
|
-
if (!(u < p && i(m = l[u], u, l)) === h) if (h = !h) d = u, s.areaStart(), s.lineStart();
|
|
76
|
-
else {
|
|
77
|
-
for (s.lineEnd(), s.lineStart(), f = u - 1; f >= d; --f) s.point(_[f], v[f]);
|
|
78
|
-
s.lineEnd(), s.areaEnd();
|
|
79
|
-
}
|
|
80
|
-
h && (_[u] = +e(m, u, l), v[u] = +t(m, u, l), s.point(r ? +r(m, u, l) : _[u], n ? +n(m, u, l) : v[u]));
|
|
81
|
-
}
|
|
82
|
-
if (g) return s = null, g + "" || null;
|
|
83
|
-
}
|
|
84
|
-
function u() {
|
|
85
|
-
return E().defined(i).curve(o).context(a);
|
|
86
|
-
}
|
|
87
|
-
return l.x = function(t) {
|
|
88
|
-
return arguments.length ? (e = typeof t == "function" ? t : b(+t), r = null, l) : e;
|
|
89
|
-
}, l.x0 = function(t) {
|
|
90
|
-
return arguments.length ? (e = typeof t == "function" ? t : b(+t), l) : e;
|
|
91
|
-
}, l.x1 = function(e) {
|
|
92
|
-
return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : b(+e), l) : r;
|
|
93
|
-
}, l.y = function(e) {
|
|
94
|
-
return arguments.length ? (t = typeof e == "function" ? e : b(+e), n = null, l) : t;
|
|
95
|
-
}, l.y0 = function(e) {
|
|
96
|
-
return arguments.length ? (t = typeof e == "function" ? e : b(+e), l) : t;
|
|
97
|
-
}, l.y1 = function(e) {
|
|
98
|
-
return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : b(+e), l) : n;
|
|
99
|
-
}, l.lineX0 = l.lineY0 = function() {
|
|
100
|
-
return u().x(e).y(t);
|
|
101
|
-
}, l.lineY1 = function() {
|
|
102
|
-
return u().x(e).y(n);
|
|
103
|
-
}, l.lineX1 = function() {
|
|
104
|
-
return u().x(r).y(t);
|
|
105
|
-
}, l.defined = function(e) {
|
|
106
|
-
return arguments.length ? (i = typeof e == "function" ? e : b(!!e), l) : i;
|
|
107
|
-
}, l.curve = function(e) {
|
|
108
|
-
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
|
|
109
|
-
}, l.context = function(e) {
|
|
110
|
-
return arguments.length ? (e == null ? a = s = null : s = o(a = e), l) : a;
|
|
111
|
-
}, l;
|
|
112
|
-
}
|
|
113
|
-
//#endregion
|
|
114
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.js
|
|
115
|
-
function D() {}
|
|
116
|
-
//#endregion
|
|
117
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js
|
|
118
|
-
function O(e, t, n) {
|
|
119
|
-
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
|
|
120
|
-
}
|
|
121
|
-
function k(e) {
|
|
122
|
-
this._context = e;
|
|
123
|
-
}
|
|
124
|
-
k.prototype = {
|
|
125
|
-
areaStart: function() {
|
|
126
|
-
this._line = 0;
|
|
127
|
-
},
|
|
128
|
-
areaEnd: function() {
|
|
129
|
-
this._line = NaN;
|
|
130
|
-
},
|
|
131
|
-
lineStart: function() {
|
|
132
|
-
this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
|
|
133
|
-
},
|
|
134
|
-
lineEnd: function() {
|
|
135
|
-
switch (this._point) {
|
|
136
|
-
case 3: O(this, this._x1, this._y1);
|
|
137
|
-
case 2:
|
|
138
|
-
this._context.lineTo(this._x1, this._y1);
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
142
|
-
},
|
|
143
|
-
point: function(e, t) {
|
|
144
|
-
switch (e = +e, t = +t, this._point) {
|
|
145
|
-
case 0:
|
|
146
|
-
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
147
|
-
break;
|
|
148
|
-
case 1:
|
|
149
|
-
this._point = 2;
|
|
150
|
-
break;
|
|
151
|
-
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
|
|
152
|
-
default:
|
|
153
|
-
O(this, e, t);
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
function fe(e) {
|
|
160
|
-
return new k(e);
|
|
161
|
-
}
|
|
162
|
-
//#endregion
|
|
163
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.js
|
|
164
|
-
function pe(e) {
|
|
165
|
-
this._context = e;
|
|
166
|
-
}
|
|
167
|
-
pe.prototype = {
|
|
168
|
-
areaStart: D,
|
|
169
|
-
areaEnd: D,
|
|
170
|
-
lineStart: function() {
|
|
171
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
|
|
172
|
-
},
|
|
173
|
-
lineEnd: function() {
|
|
174
|
-
switch (this._point) {
|
|
175
|
-
case 1:
|
|
176
|
-
this._context.moveTo(this._x2, this._y2), this._context.closePath();
|
|
177
|
-
break;
|
|
178
|
-
case 2:
|
|
179
|
-
this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
|
|
180
|
-
break;
|
|
181
|
-
case 3:
|
|
182
|
-
this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
|
|
183
|
-
break;
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
point: function(e, t) {
|
|
187
|
-
switch (e = +e, t = +t, this._point) {
|
|
188
|
-
case 0:
|
|
189
|
-
this._point = 1, this._x2 = e, this._y2 = t;
|
|
190
|
-
break;
|
|
191
|
-
case 1:
|
|
192
|
-
this._point = 2, this._x3 = e, this._y3 = t;
|
|
193
|
-
break;
|
|
194
|
-
case 2:
|
|
195
|
-
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
|
|
196
|
-
break;
|
|
197
|
-
default:
|
|
198
|
-
O(this, e, t);
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
function me(e) {
|
|
205
|
-
return new pe(e);
|
|
206
|
-
}
|
|
207
|
-
//#endregion
|
|
208
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.js
|
|
209
|
-
function he(e) {
|
|
210
|
-
this._context = e;
|
|
211
|
-
}
|
|
212
|
-
he.prototype = {
|
|
213
|
-
areaStart: function() {
|
|
214
|
-
this._line = 0;
|
|
215
|
-
},
|
|
216
|
-
areaEnd: function() {
|
|
217
|
-
this._line = NaN;
|
|
218
|
-
},
|
|
219
|
-
lineStart: function() {
|
|
220
|
-
this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
|
|
221
|
-
},
|
|
222
|
-
lineEnd: function() {
|
|
223
|
-
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
224
|
-
},
|
|
225
|
-
point: function(e, t) {
|
|
226
|
-
switch (e = +e, t = +t, this._point) {
|
|
227
|
-
case 0:
|
|
228
|
-
this._point = 1;
|
|
229
|
-
break;
|
|
230
|
-
case 1:
|
|
231
|
-
this._point = 2;
|
|
232
|
-
break;
|
|
233
|
-
case 2:
|
|
234
|
-
this._point = 3;
|
|
235
|
-
var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
|
|
236
|
-
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
|
|
237
|
-
break;
|
|
238
|
-
case 3: this._point = 4;
|
|
239
|
-
default:
|
|
240
|
-
O(this, e, t);
|
|
241
|
-
break;
|
|
242
|
-
}
|
|
243
|
-
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
function ge(e) {
|
|
247
|
-
return new he(e);
|
|
248
|
-
}
|
|
249
|
-
//#endregion
|
|
250
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.js
|
|
251
|
-
function _e(e, t) {
|
|
252
|
-
this._basis = new k(e), this._beta = t;
|
|
253
|
-
}
|
|
254
|
-
_e.prototype = {
|
|
255
|
-
lineStart: function() {
|
|
256
|
-
this._x = [], this._y = [], this._basis.lineStart();
|
|
257
|
-
},
|
|
258
|
-
lineEnd: function() {
|
|
259
|
-
var e = this._x, t = this._y, n = e.length - 1;
|
|
260
|
-
if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
|
|
261
|
-
this._x = this._y = null, this._basis.lineEnd();
|
|
262
|
-
},
|
|
263
|
-
point: function(e, t) {
|
|
264
|
-
this._x.push(+e), this._y.push(+t);
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
var ve = (function e(t) {
|
|
268
|
-
function n(e) {
|
|
269
|
-
return t === 1 ? new k(e) : new _e(e, t);
|
|
270
|
-
}
|
|
271
|
-
return n.beta = function(t) {
|
|
272
|
-
return e(+t);
|
|
273
|
-
}, n;
|
|
274
|
-
})(.85);
|
|
275
|
-
//#endregion
|
|
276
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.js
|
|
277
|
-
function A(e, t, n) {
|
|
278
|
-
e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
|
|
279
|
-
}
|
|
280
|
-
function j(e, t) {
|
|
281
|
-
this._context = e, this._k = (1 - t) / 6;
|
|
282
|
-
}
|
|
283
|
-
j.prototype = {
|
|
284
|
-
areaStart: function() {
|
|
285
|
-
this._line = 0;
|
|
286
|
-
},
|
|
287
|
-
areaEnd: function() {
|
|
288
|
-
this._line = NaN;
|
|
289
|
-
},
|
|
290
|
-
lineStart: function() {
|
|
291
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
|
|
292
|
-
},
|
|
293
|
-
lineEnd: function() {
|
|
294
|
-
switch (this._point) {
|
|
295
|
-
case 2:
|
|
296
|
-
this._context.lineTo(this._x2, this._y2);
|
|
297
|
-
break;
|
|
298
|
-
case 3:
|
|
299
|
-
A(this, this._x1, this._y1);
|
|
300
|
-
break;
|
|
301
|
-
}
|
|
302
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
303
|
-
},
|
|
304
|
-
point: function(e, t) {
|
|
305
|
-
switch (e = +e, t = +t, this._point) {
|
|
306
|
-
case 0:
|
|
307
|
-
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
308
|
-
break;
|
|
309
|
-
case 1:
|
|
310
|
-
this._point = 2, this._x1 = e, this._y1 = t;
|
|
311
|
-
break;
|
|
312
|
-
case 2: this._point = 3;
|
|
313
|
-
default:
|
|
314
|
-
A(this, e, t);
|
|
315
|
-
break;
|
|
316
|
-
}
|
|
317
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
var ye = (function e(t) {
|
|
321
|
-
function n(e) {
|
|
322
|
-
return new j(e, t);
|
|
323
|
-
}
|
|
324
|
-
return n.tension = function(t) {
|
|
325
|
-
return e(+t);
|
|
326
|
-
}, n;
|
|
327
|
-
})(0);
|
|
328
|
-
//#endregion
|
|
329
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.js
|
|
330
|
-
function M(e, t) {
|
|
331
|
-
this._context = e, this._k = (1 - t) / 6;
|
|
332
|
-
}
|
|
333
|
-
M.prototype = {
|
|
334
|
-
areaStart: D,
|
|
335
|
-
areaEnd: D,
|
|
336
|
-
lineStart: function() {
|
|
337
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
|
|
338
|
-
},
|
|
339
|
-
lineEnd: function() {
|
|
340
|
-
switch (this._point) {
|
|
341
|
-
case 1:
|
|
342
|
-
this._context.moveTo(this._x3, this._y3), this._context.closePath();
|
|
343
|
-
break;
|
|
344
|
-
case 2:
|
|
345
|
-
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
346
|
-
break;
|
|
347
|
-
case 3:
|
|
348
|
-
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
349
|
-
break;
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
point: function(e, t) {
|
|
353
|
-
switch (e = +e, t = +t, this._point) {
|
|
354
|
-
case 0:
|
|
355
|
-
this._point = 1, this._x3 = e, this._y3 = t;
|
|
356
|
-
break;
|
|
357
|
-
case 1:
|
|
358
|
-
this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
|
|
359
|
-
break;
|
|
360
|
-
case 2:
|
|
361
|
-
this._point = 3, this._x5 = e, this._y5 = t;
|
|
362
|
-
break;
|
|
363
|
-
default:
|
|
364
|
-
A(this, e, t);
|
|
365
|
-
break;
|
|
366
|
-
}
|
|
367
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
var be = (function e(t) {
|
|
371
|
-
function n(e) {
|
|
372
|
-
return new M(e, t);
|
|
373
|
-
}
|
|
374
|
-
return n.tension = function(t) {
|
|
375
|
-
return e(+t);
|
|
376
|
-
}, n;
|
|
377
|
-
})(0);
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.js
|
|
380
|
-
function N(e, t) {
|
|
381
|
-
this._context = e, this._k = (1 - t) / 6;
|
|
382
|
-
}
|
|
383
|
-
N.prototype = {
|
|
384
|
-
areaStart: function() {
|
|
385
|
-
this._line = 0;
|
|
386
|
-
},
|
|
387
|
-
areaEnd: function() {
|
|
388
|
-
this._line = NaN;
|
|
389
|
-
},
|
|
390
|
-
lineStart: function() {
|
|
391
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
|
|
392
|
-
},
|
|
393
|
-
lineEnd: function() {
|
|
394
|
-
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
395
|
-
},
|
|
396
|
-
point: function(e, t) {
|
|
397
|
-
switch (e = +e, t = +t, this._point) {
|
|
398
|
-
case 0:
|
|
399
|
-
this._point = 1;
|
|
400
|
-
break;
|
|
401
|
-
case 1:
|
|
402
|
-
this._point = 2;
|
|
403
|
-
break;
|
|
404
|
-
case 2:
|
|
405
|
-
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
406
|
-
break;
|
|
407
|
-
case 3: this._point = 4;
|
|
408
|
-
default:
|
|
409
|
-
A(this, e, t);
|
|
410
|
-
break;
|
|
411
|
-
}
|
|
412
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
413
|
-
}
|
|
414
|
-
};
|
|
415
|
-
var xe = (function e(t) {
|
|
416
|
-
function n(e) {
|
|
417
|
-
return new N(e, t);
|
|
418
|
-
}
|
|
419
|
-
return n.tension = function(t) {
|
|
420
|
-
return e(+t);
|
|
421
|
-
}, n;
|
|
422
|
-
})(0);
|
|
423
|
-
//#endregion
|
|
424
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.js
|
|
425
|
-
function P(e, t, n) {
|
|
426
|
-
var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
|
|
427
|
-
if (e._l01_a > 1e-12) {
|
|
428
|
-
var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
|
|
429
|
-
r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
|
|
430
|
-
}
|
|
431
|
-
if (e._l23_a > 1e-12) {
|
|
432
|
-
var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
|
|
433
|
-
a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
|
|
434
|
-
}
|
|
435
|
-
e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
|
|
436
|
-
}
|
|
437
|
-
function Se(e, t) {
|
|
438
|
-
this._context = e, this._alpha = t;
|
|
439
|
-
}
|
|
440
|
-
Se.prototype = {
|
|
441
|
-
areaStart: function() {
|
|
442
|
-
this._line = 0;
|
|
443
|
-
},
|
|
444
|
-
areaEnd: function() {
|
|
445
|
-
this._line = NaN;
|
|
446
|
-
},
|
|
447
|
-
lineStart: function() {
|
|
448
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
449
|
-
},
|
|
450
|
-
lineEnd: function() {
|
|
451
|
-
switch (this._point) {
|
|
452
|
-
case 2:
|
|
453
|
-
this._context.lineTo(this._x2, this._y2);
|
|
454
|
-
break;
|
|
455
|
-
case 3:
|
|
456
|
-
this.point(this._x2, this._y2);
|
|
457
|
-
break;
|
|
458
|
-
}
|
|
459
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
460
|
-
},
|
|
461
|
-
point: function(e, t) {
|
|
462
|
-
if (e = +e, t = +t, this._point) {
|
|
463
|
-
var n = this._x2 - e, r = this._y2 - t;
|
|
464
|
-
this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
|
|
465
|
-
}
|
|
466
|
-
switch (this._point) {
|
|
467
|
-
case 0:
|
|
468
|
-
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
469
|
-
break;
|
|
470
|
-
case 1:
|
|
471
|
-
this._point = 2;
|
|
472
|
-
break;
|
|
473
|
-
case 2: this._point = 3;
|
|
474
|
-
default:
|
|
475
|
-
P(this, e, t);
|
|
476
|
-
break;
|
|
477
|
-
}
|
|
478
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
var Ce = (function e(t) {
|
|
482
|
-
function n(e) {
|
|
483
|
-
return t ? new Se(e, t) : new j(e, 0);
|
|
484
|
-
}
|
|
485
|
-
return n.alpha = function(t) {
|
|
486
|
-
return e(+t);
|
|
487
|
-
}, n;
|
|
488
|
-
})(.5);
|
|
489
|
-
//#endregion
|
|
490
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.js
|
|
491
|
-
function we(e, t) {
|
|
492
|
-
this._context = e, this._alpha = t;
|
|
493
|
-
}
|
|
494
|
-
we.prototype = {
|
|
495
|
-
areaStart: D,
|
|
496
|
-
areaEnd: D,
|
|
497
|
-
lineStart: function() {
|
|
498
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
499
|
-
},
|
|
500
|
-
lineEnd: function() {
|
|
501
|
-
switch (this._point) {
|
|
502
|
-
case 1:
|
|
503
|
-
this._context.moveTo(this._x3, this._y3), this._context.closePath();
|
|
504
|
-
break;
|
|
505
|
-
case 2:
|
|
506
|
-
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
507
|
-
break;
|
|
508
|
-
case 3:
|
|
509
|
-
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
510
|
-
break;
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
point: function(e, t) {
|
|
514
|
-
if (e = +e, t = +t, this._point) {
|
|
515
|
-
var n = this._x2 - e, r = this._y2 - t;
|
|
516
|
-
this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
|
|
517
|
-
}
|
|
518
|
-
switch (this._point) {
|
|
519
|
-
case 0:
|
|
520
|
-
this._point = 1, this._x3 = e, this._y3 = t;
|
|
521
|
-
break;
|
|
522
|
-
case 1:
|
|
523
|
-
this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
|
|
524
|
-
break;
|
|
525
|
-
case 2:
|
|
526
|
-
this._point = 3, this._x5 = e, this._y5 = t;
|
|
527
|
-
break;
|
|
528
|
-
default:
|
|
529
|
-
P(this, e, t);
|
|
530
|
-
break;
|
|
531
|
-
}
|
|
532
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
var Te = (function e(t) {
|
|
536
|
-
function n(e) {
|
|
537
|
-
return t ? new we(e, t) : new M(e, 0);
|
|
538
|
-
}
|
|
539
|
-
return n.alpha = function(t) {
|
|
540
|
-
return e(+t);
|
|
541
|
-
}, n;
|
|
542
|
-
})(.5);
|
|
543
|
-
//#endregion
|
|
544
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.js
|
|
545
|
-
function Ee(e, t) {
|
|
546
|
-
this._context = e, this._alpha = t;
|
|
547
|
-
}
|
|
548
|
-
Ee.prototype = {
|
|
549
|
-
areaStart: function() {
|
|
550
|
-
this._line = 0;
|
|
551
|
-
},
|
|
552
|
-
areaEnd: function() {
|
|
553
|
-
this._line = NaN;
|
|
554
|
-
},
|
|
555
|
-
lineStart: function() {
|
|
556
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
557
|
-
},
|
|
558
|
-
lineEnd: function() {
|
|
559
|
-
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
560
|
-
},
|
|
561
|
-
point: function(e, t) {
|
|
562
|
-
if (e = +e, t = +t, this._point) {
|
|
563
|
-
var n = this._x2 - e, r = this._y2 - t;
|
|
564
|
-
this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
|
|
565
|
-
}
|
|
566
|
-
switch (this._point) {
|
|
567
|
-
case 0:
|
|
568
|
-
this._point = 1;
|
|
569
|
-
break;
|
|
570
|
-
case 1:
|
|
571
|
-
this._point = 2;
|
|
572
|
-
break;
|
|
573
|
-
case 2:
|
|
574
|
-
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
575
|
-
break;
|
|
576
|
-
case 3: this._point = 4;
|
|
577
|
-
default:
|
|
578
|
-
P(this, e, t);
|
|
579
|
-
break;
|
|
580
|
-
}
|
|
581
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
582
|
-
}
|
|
583
|
-
};
|
|
584
|
-
var De = (function e(t) {
|
|
585
|
-
function n(e) {
|
|
586
|
-
return t ? new Ee(e, t) : new N(e, 0);
|
|
587
|
-
}
|
|
588
|
-
return n.alpha = function(t) {
|
|
589
|
-
return e(+t);
|
|
590
|
-
}, n;
|
|
591
|
-
})(.5);
|
|
592
|
-
//#endregion
|
|
593
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.js
|
|
594
|
-
function Oe(e) {
|
|
595
|
-
this._context = e;
|
|
596
|
-
}
|
|
597
|
-
Oe.prototype = {
|
|
598
|
-
areaStart: D,
|
|
599
|
-
areaEnd: D,
|
|
600
|
-
lineStart: function() {
|
|
601
|
-
this._point = 0;
|
|
602
|
-
},
|
|
603
|
-
lineEnd: function() {
|
|
604
|
-
this._point && this._context.closePath();
|
|
605
|
-
},
|
|
606
|
-
point: function(e, t) {
|
|
607
|
-
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
function ke(e) {
|
|
611
|
-
return new Oe(e);
|
|
612
|
-
}
|
|
613
|
-
//#endregion
|
|
614
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.js
|
|
615
|
-
function Ae(e) {
|
|
616
|
-
return e < 0 ? -1 : 1;
|
|
617
|
-
}
|
|
618
|
-
function je(e, t, n) {
|
|
619
|
-
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
|
|
620
|
-
return (Ae(a) + Ae(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
|
|
621
|
-
}
|
|
622
|
-
function Me(e, t) {
|
|
623
|
-
var n = e._x1 - e._x0;
|
|
624
|
-
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
|
|
625
|
-
}
|
|
626
|
-
function F(e, t, n) {
|
|
627
|
-
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
|
|
628
|
-
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
|
|
629
|
-
}
|
|
630
|
-
function I(e) {
|
|
631
|
-
this._context = e;
|
|
632
|
-
}
|
|
633
|
-
I.prototype = {
|
|
634
|
-
areaStart: function() {
|
|
635
|
-
this._line = 0;
|
|
636
|
-
},
|
|
637
|
-
areaEnd: function() {
|
|
638
|
-
this._line = NaN;
|
|
639
|
-
},
|
|
640
|
-
lineStart: function() {
|
|
641
|
-
this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
|
|
642
|
-
},
|
|
643
|
-
lineEnd: function() {
|
|
644
|
-
switch (this._point) {
|
|
645
|
-
case 2:
|
|
646
|
-
this._context.lineTo(this._x1, this._y1);
|
|
647
|
-
break;
|
|
648
|
-
case 3:
|
|
649
|
-
F(this, this._t0, Me(this, this._t0));
|
|
650
|
-
break;
|
|
651
|
-
}
|
|
652
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
653
|
-
},
|
|
654
|
-
point: function(e, t) {
|
|
655
|
-
var n = NaN;
|
|
656
|
-
if (e = +e, t = +t, !(e === this._x1 && t === this._y1)) {
|
|
657
|
-
switch (this._point) {
|
|
658
|
-
case 0:
|
|
659
|
-
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
660
|
-
break;
|
|
661
|
-
case 1:
|
|
662
|
-
this._point = 2;
|
|
663
|
-
break;
|
|
664
|
-
case 2:
|
|
665
|
-
this._point = 3, F(this, Me(this, n = je(this, e, t)), n);
|
|
666
|
-
break;
|
|
667
|
-
default:
|
|
668
|
-
F(this, this._t0, n = je(this, e, t));
|
|
669
|
-
break;
|
|
670
|
-
}
|
|
671
|
-
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
};
|
|
675
|
-
function Ne(e) {
|
|
676
|
-
this._context = new Pe(e);
|
|
677
|
-
}
|
|
678
|
-
(Ne.prototype = Object.create(I.prototype)).point = function(e, t) {
|
|
679
|
-
I.prototype.point.call(this, t, e);
|
|
680
|
-
};
|
|
681
|
-
function Pe(e) {
|
|
682
|
-
this._context = e;
|
|
683
|
-
}
|
|
684
|
-
Pe.prototype = {
|
|
685
|
-
moveTo: function(e, t) {
|
|
686
|
-
this._context.moveTo(t, e);
|
|
687
|
-
},
|
|
688
|
-
closePath: function() {
|
|
689
|
-
this._context.closePath();
|
|
690
|
-
},
|
|
691
|
-
lineTo: function(e, t) {
|
|
692
|
-
this._context.lineTo(t, e);
|
|
693
|
-
},
|
|
694
|
-
bezierCurveTo: function(e, t, n, r, i, a) {
|
|
695
|
-
this._context.bezierCurveTo(t, e, r, n, a, i);
|
|
696
|
-
}
|
|
697
|
-
};
|
|
698
|
-
function Fe(e) {
|
|
699
|
-
return new I(e);
|
|
700
|
-
}
|
|
701
|
-
function Ie(e) {
|
|
702
|
-
return new Ne(e);
|
|
703
|
-
}
|
|
704
|
-
//#endregion
|
|
705
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.js
|
|
706
|
-
function Le(e) {
|
|
707
|
-
this._context = e;
|
|
708
|
-
}
|
|
709
|
-
Le.prototype = {
|
|
710
|
-
areaStart: function() {
|
|
711
|
-
this._line = 0;
|
|
712
|
-
},
|
|
713
|
-
areaEnd: function() {
|
|
714
|
-
this._line = NaN;
|
|
715
|
-
},
|
|
716
|
-
lineStart: function() {
|
|
717
|
-
this._x = [], this._y = [];
|
|
718
|
-
},
|
|
719
|
-
lineEnd: function() {
|
|
720
|
-
var e = this._x, t = this._y, n = e.length;
|
|
721
|
-
if (n) if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
|
|
722
|
-
else for (var r = Re(e), i = Re(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
|
|
723
|
-
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
|
|
724
|
-
},
|
|
725
|
-
point: function(e, t) {
|
|
726
|
-
this._x.push(+e), this._y.push(+t);
|
|
727
|
-
}
|
|
728
|
-
};
|
|
729
|
-
function Re(e) {
|
|
730
|
-
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
|
|
731
|
-
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
|
|
732
|
-
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
|
|
733
|
-
for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
|
|
734
|
-
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
|
|
735
|
-
return [i, a];
|
|
736
|
-
}
|
|
737
|
-
function ze(e) {
|
|
738
|
-
return new Le(e);
|
|
739
|
-
}
|
|
740
|
-
//#endregion
|
|
741
|
-
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.js
|
|
742
|
-
function L(e, t) {
|
|
743
|
-
this._context = e, this._t = t;
|
|
744
|
-
}
|
|
745
|
-
L.prototype = {
|
|
746
|
-
areaStart: function() {
|
|
747
|
-
this._line = 0;
|
|
748
|
-
},
|
|
749
|
-
areaEnd: function() {
|
|
750
|
-
this._line = NaN;
|
|
751
|
-
},
|
|
752
|
-
lineStart: function() {
|
|
753
|
-
this._x = this._y = NaN, this._point = 0;
|
|
754
|
-
},
|
|
755
|
-
lineEnd: function() {
|
|
756
|
-
0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
|
|
757
|
-
},
|
|
758
|
-
point: function(e, t) {
|
|
759
|
-
switch (e = +e, t = +t, this._point) {
|
|
760
|
-
case 0:
|
|
761
|
-
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
762
|
-
break;
|
|
763
|
-
case 1: this._point = 2;
|
|
764
|
-
default:
|
|
765
|
-
if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
|
|
766
|
-
else {
|
|
767
|
-
var n = this._x * (1 - this._t) + e * this._t;
|
|
768
|
-
this._context.lineTo(n, this._y), this._context.lineTo(n, t);
|
|
769
|
-
}
|
|
770
|
-
break;
|
|
771
|
-
}
|
|
772
|
-
this._x = e, this._y = t;
|
|
773
|
-
}
|
|
774
|
-
};
|
|
775
|
-
function Be(e) {
|
|
776
|
-
return new L(e, .5);
|
|
777
|
-
}
|
|
778
|
-
function Ve(e) {
|
|
779
|
-
return new L(e, 0);
|
|
780
|
-
}
|
|
781
|
-
function He(e) {
|
|
782
|
-
return new L(e, 1);
|
|
783
|
-
}
|
|
784
|
-
//#endregion
|
|
785
|
-
//#region ../node_modules/.pnpm/d3-interpolate-path@2.3.0/node_modules/d3-interpolate-path/build/d3-interpolate-path.mjs
|
|
786
|
-
function Ue(e, t) {
|
|
787
|
-
var n = Object.keys(e);
|
|
788
|
-
if (Object.getOwnPropertySymbols) {
|
|
789
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
790
|
-
t && (r = r.filter(function(t) {
|
|
791
|
-
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
792
|
-
})), n.push.apply(n, r);
|
|
793
|
-
}
|
|
794
|
-
return n;
|
|
795
|
-
}
|
|
796
|
-
function We(e) {
|
|
797
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
798
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
799
|
-
t % 2 ? Ue(Object(n), !0).forEach(function(t) {
|
|
800
|
-
Ge(e, t, n[t]);
|
|
801
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(t) {
|
|
802
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
803
|
-
});
|
|
804
|
-
}
|
|
805
|
-
return e;
|
|
806
|
-
}
|
|
807
|
-
function R(e) {
|
|
808
|
-
"@babel/helpers - typeof";
|
|
809
|
-
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
810
|
-
return typeof e;
|
|
811
|
-
} : function(e) {
|
|
812
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
813
|
-
}, R(e);
|
|
814
|
-
}
|
|
815
|
-
function Ge(e, t, n) {
|
|
816
|
-
return t in e ? Object.defineProperty(e, t, {
|
|
817
|
-
value: n,
|
|
818
|
-
enumerable: !0,
|
|
819
|
-
configurable: !0,
|
|
820
|
-
writable: !0
|
|
821
|
-
}) : e[t] = n, e;
|
|
822
|
-
}
|
|
823
|
-
function z() {
|
|
824
|
-
return z = Object.assign || function(e) {
|
|
825
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
826
|
-
var n = arguments[t];
|
|
827
|
-
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
828
|
-
}
|
|
829
|
-
return e;
|
|
830
|
-
}, z.apply(this, arguments);
|
|
831
|
-
}
|
|
832
|
-
function Ke(e, t) {
|
|
833
|
-
if (e) {
|
|
834
|
-
if (typeof e == "string") return qe(e, t);
|
|
835
|
-
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
836
|
-
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
837
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return qe(e, t);
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
function qe(e, t) {
|
|
841
|
-
(t == null || t > e.length) && (t = e.length);
|
|
842
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
843
|
-
return r;
|
|
844
|
-
}
|
|
845
|
-
function Je(e, t) {
|
|
846
|
-
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
847
|
-
if (!n) {
|
|
848
|
-
if (Array.isArray(e) || (n = Ke(e)) || t && e && typeof e.length == "number") {
|
|
849
|
-
n && (e = n);
|
|
850
|
-
var r = 0, i = function() {};
|
|
851
|
-
return {
|
|
852
|
-
s: i,
|
|
853
|
-
n: function() {
|
|
854
|
-
return r >= e.length ? { done: !0 } : {
|
|
855
|
-
done: !1,
|
|
856
|
-
value: e[r++]
|
|
857
|
-
};
|
|
858
|
-
},
|
|
859
|
-
e: function(e) {
|
|
860
|
-
throw e;
|
|
861
|
-
},
|
|
862
|
-
f: i
|
|
863
|
-
};
|
|
864
|
-
}
|
|
865
|
-
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
866
|
-
}
|
|
867
|
-
var a = !0, o = !1, s;
|
|
868
|
-
return {
|
|
869
|
-
s: function() {
|
|
870
|
-
n = n.call(e);
|
|
871
|
-
},
|
|
872
|
-
n: function() {
|
|
873
|
-
var e = n.next();
|
|
874
|
-
return a = e.done, e;
|
|
875
|
-
},
|
|
876
|
-
e: function(e) {
|
|
877
|
-
o = !0, s = e;
|
|
878
|
-
},
|
|
879
|
-
f: function() {
|
|
880
|
-
try {
|
|
881
|
-
!a && n.return != null && n.return();
|
|
882
|
-
} finally {
|
|
883
|
-
if (o) throw s;
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
};
|
|
887
|
-
}
|
|
888
|
-
function Ye(e, t) {
|
|
889
|
-
var n = [], r = [];
|
|
890
|
-
function i(e, t) {
|
|
891
|
-
if (e.length === 1) n.push(e[0]), r.push(e[0]);
|
|
892
|
-
else {
|
|
893
|
-
for (var a = Array(e.length - 1), o = 0; o < a.length; o++) o === 0 && n.push(e[0]), o === a.length - 1 && r.push(e[o + 1]), a[o] = [(1 - t) * e[o][0] + t * e[o + 1][0], (1 - t) * e[o][1] + t * e[o + 1][1]];
|
|
894
|
-
i(a, t);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
return e.length && i(e, t), {
|
|
898
|
-
left: n,
|
|
899
|
-
right: r.reverse()
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
function Xe(e) {
|
|
903
|
-
var t = {};
|
|
904
|
-
return e.length === 4 && (t.x2 = e[2][0], t.y2 = e[2][1]), e.length >= 3 && (t.x1 = e[1][0], t.y1 = e[1][1]), t.x = e[e.length - 1][0], t.y = e[e.length - 1][1], e.length === 4 ? t.type = "C" : e.length === 3 ? t.type = "Q" : t.type = "L", t;
|
|
905
|
-
}
|
|
906
|
-
function Ze(e, t) {
|
|
907
|
-
t ||= 2;
|
|
908
|
-
for (var n = [], r = e, i = 1 / t, a = 0; a < t - 1; a++) {
|
|
909
|
-
var o = i / (1 - i * a), s = Ye(r, o);
|
|
910
|
-
n.push(s.left), r = s.right;
|
|
911
|
-
}
|
|
912
|
-
return n.push(r), n;
|
|
913
|
-
}
|
|
914
|
-
function Qe(e, t, n) {
|
|
915
|
-
var r = [[e.x, e.y]];
|
|
916
|
-
return t.x1 != null && r.push([t.x1, t.y1]), t.x2 != null && r.push([t.x2, t.y2]), r.push([t.x, t.y]), Ze(r, n).map(Xe);
|
|
917
|
-
}
|
|
918
|
-
var $e = /[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g, B = {
|
|
919
|
-
M: ["x", "y"],
|
|
920
|
-
L: ["x", "y"],
|
|
921
|
-
H: ["x"],
|
|
922
|
-
V: ["y"],
|
|
923
|
-
C: [
|
|
924
|
-
"x1",
|
|
925
|
-
"y1",
|
|
926
|
-
"x2",
|
|
927
|
-
"y2",
|
|
928
|
-
"x",
|
|
929
|
-
"y"
|
|
930
|
-
],
|
|
931
|
-
S: [
|
|
932
|
-
"x2",
|
|
933
|
-
"y2",
|
|
934
|
-
"x",
|
|
935
|
-
"y"
|
|
936
|
-
],
|
|
937
|
-
Q: [
|
|
938
|
-
"x1",
|
|
939
|
-
"y1",
|
|
940
|
-
"x",
|
|
941
|
-
"y"
|
|
942
|
-
],
|
|
943
|
-
T: ["x", "y"],
|
|
944
|
-
A: [
|
|
945
|
-
"rx",
|
|
946
|
-
"ry",
|
|
947
|
-
"xAxisRotation",
|
|
948
|
-
"largeArcFlag",
|
|
949
|
-
"sweepFlag",
|
|
950
|
-
"x",
|
|
951
|
-
"y"
|
|
952
|
-
],
|
|
953
|
-
Z: []
|
|
954
|
-
};
|
|
955
|
-
Object.keys(B).forEach(function(e) {
|
|
956
|
-
B[e.toLowerCase()] = B[e];
|
|
957
|
-
});
|
|
958
|
-
function V(e, t) {
|
|
959
|
-
for (var n = Array(e), r = 0; r < e; r++) n[r] = t;
|
|
960
|
-
return n;
|
|
961
|
-
}
|
|
962
|
-
function et(e) {
|
|
963
|
-
return `${e.type}${B[e.type].map(function(t) {
|
|
964
|
-
return e[t];
|
|
965
|
-
}).join(",")}`;
|
|
966
|
-
}
|
|
967
|
-
function tt(e, t) {
|
|
968
|
-
var n = {
|
|
969
|
-
x1: "x",
|
|
970
|
-
y1: "y",
|
|
971
|
-
x2: "x",
|
|
972
|
-
y2: "y"
|
|
973
|
-
}, r = [
|
|
974
|
-
"xAxisRotation",
|
|
975
|
-
"largeArcFlag",
|
|
976
|
-
"sweepFlag"
|
|
977
|
-
];
|
|
978
|
-
if (e.type !== t.type && t.type.toUpperCase() !== "M") {
|
|
979
|
-
var i = {};
|
|
980
|
-
Object.keys(t).forEach(function(a) {
|
|
981
|
-
var o = t[a], s = e[a];
|
|
982
|
-
s === void 0 && (r.includes(a) ? s = o : (s === void 0 && n[a] && (s = e[n[a]]), s === void 0 && (s = 0))), i[a] = s;
|
|
983
|
-
}), i.type = t.type, e = i;
|
|
984
|
-
}
|
|
985
|
-
return e;
|
|
986
|
-
}
|
|
987
|
-
function nt(e, t, n) {
|
|
988
|
-
var r = [];
|
|
989
|
-
if (t.type === "L" || t.type === "Q" || t.type === "C") r = r.concat(Qe(e, t, n));
|
|
990
|
-
else {
|
|
991
|
-
var i = z({}, e);
|
|
992
|
-
i.type === "M" && (i.type = "L"), r = r.concat(V(n - 1).map(function() {
|
|
993
|
-
return i;
|
|
994
|
-
})), r.push(t);
|
|
995
|
-
}
|
|
996
|
-
return r;
|
|
997
|
-
}
|
|
998
|
-
function rt(e, t, n) {
|
|
999
|
-
var r = e.length - 1, i = t.length - 1, a = r / i, o = V(i).reduce(function(t, r, i) {
|
|
1000
|
-
var o = Math.floor(a * i);
|
|
1001
|
-
if (n && o < e.length - 1 && n(e[o], e[o + 1])) {
|
|
1002
|
-
var s = a * i % 1 < .5;
|
|
1003
|
-
t[o] && (s ? o > 0 ? --o : o < e.length - 1 && (o += 1) : o < e.length - 1 ? o += 1 : o > 0 && --o);
|
|
1004
|
-
}
|
|
1005
|
-
return t[o] = (t[o] || 0) + 1, t;
|
|
1006
|
-
}, []).reduce(function(t, n, r) {
|
|
1007
|
-
if (r === e.length - 1) {
|
|
1008
|
-
var i = V(n, z({}, e[e.length - 1]));
|
|
1009
|
-
return i[0].type === "M" && i.forEach(function(e) {
|
|
1010
|
-
e.type = "L";
|
|
1011
|
-
}), t.concat(i);
|
|
1012
|
-
}
|
|
1013
|
-
return t.concat(nt(e[r], e[r + 1], n));
|
|
1014
|
-
}, []);
|
|
1015
|
-
return o.unshift(e[0]), o;
|
|
1016
|
-
}
|
|
1017
|
-
function it(e) {
|
|
1018
|
-
for (var t = (e || "").match($e) || [], n = [], r, i, a = 0; a < t.length; ++a) if (r = B[t[a]], r) {
|
|
1019
|
-
i = { type: t[a] };
|
|
1020
|
-
for (var o = 0; o < r.length; ++o) i[r[o]] = +t[a + o + 1];
|
|
1021
|
-
a += r.length, n.push(i);
|
|
1022
|
-
}
|
|
1023
|
-
return n;
|
|
1024
|
-
}
|
|
1025
|
-
function at(e, t, n) {
|
|
1026
|
-
var r = e == null ? [] : e.slice(), i = t == null ? [] : t.slice(), a = R(n) === "object" ? n : {
|
|
1027
|
-
excludeSegment: n,
|
|
1028
|
-
snapEndsToInput: !0
|
|
1029
|
-
}, o = a.excludeSegment, s = a.snapEndsToInput;
|
|
1030
|
-
if (!r.length && !i.length) return function() {
|
|
1031
|
-
return [];
|
|
1032
|
-
};
|
|
1033
|
-
var c = (r.length === 0 || r[r.length - 1].type === "Z") && (i.length === 0 || i[i.length - 1].type === "Z");
|
|
1034
|
-
r.length > 0 && r[r.length - 1].type === "Z" && r.pop(), i.length > 0 && i[i.length - 1].type === "Z" && i.pop(), r.length ? i.length || i.push(r[0]) : r.push(i[0]), Math.abs(i.length - r.length) !== 0 && (i.length > r.length ? r = rt(r, i, o) : i.length < r.length && (i = rt(i, r, o))), r = r.map(function(e, t) {
|
|
1035
|
-
return tt(e, i[t]);
|
|
1036
|
-
});
|
|
1037
|
-
var l = r.map(function(e) {
|
|
1038
|
-
return We({}, e);
|
|
1039
|
-
});
|
|
1040
|
-
return c && (l.push({ type: "Z" }), r.push({ type: "Z" })), function(e) {
|
|
1041
|
-
if (e === 1 && s) return t ?? [];
|
|
1042
|
-
if (e === 0) return r;
|
|
1043
|
-
for (var n = 0; n < l.length; ++n) {
|
|
1044
|
-
var a = r[n], o = i[n], c = l[n], u = Je(B[c.type]), d;
|
|
1045
|
-
try {
|
|
1046
|
-
for (u.s(); !(d = u.n()).done;) {
|
|
1047
|
-
var f = d.value;
|
|
1048
|
-
c[f] = (1 - e) * a[f] + e * o[f], (f === "largeArcFlag" || f === "sweepFlag") && (c[f] = Math.round(c[f]));
|
|
1049
|
-
}
|
|
1050
|
-
} catch (e) {
|
|
1051
|
-
u.e(e);
|
|
1052
|
-
} finally {
|
|
1053
|
-
u.f();
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
return l;
|
|
1057
|
-
};
|
|
1058
|
-
}
|
|
1059
|
-
function H(e, t, n) {
|
|
1060
|
-
var r = it(e), i = it(t), a = R(n) === "object" ? n : {
|
|
1061
|
-
excludeSegment: n,
|
|
1062
|
-
snapEndsToInput: !0
|
|
1063
|
-
}, o = a.excludeSegment, s = a.snapEndsToInput;
|
|
1064
|
-
if (!r.length && !i.length) return function() {
|
|
1065
|
-
return "";
|
|
1066
|
-
};
|
|
1067
|
-
var c = at(r, i, {
|
|
1068
|
-
excludeSegment: o,
|
|
1069
|
-
snapEndsToInput: s
|
|
1070
|
-
});
|
|
1071
|
-
return function(e) {
|
|
1072
|
-
if (e === 1 && s) return t ?? "";
|
|
1073
|
-
var n = c(e), r = "", i = Je(n), a;
|
|
1074
|
-
try {
|
|
1075
|
-
for (i.s(); !(a = i.n()).done;) {
|
|
1076
|
-
var o = a.value;
|
|
1077
|
-
r += et(o);
|
|
1078
|
-
}
|
|
1079
|
-
} catch (e) {
|
|
1080
|
-
i.e(e);
|
|
1081
|
-
} finally {
|
|
1082
|
-
i.f();
|
|
1083
|
-
}
|
|
1084
|
-
return r;
|
|
1085
|
-
};
|
|
1086
|
-
}
|
|
1087
|
-
//#endregion
|
|
1088
|
-
//#region ../node_modules/.pnpm/@unovis+ts@1.6.5/node_modules/@unovis/ts/types/curve.js
|
|
1089
|
-
var U;
|
|
1090
|
-
(function(e) {
|
|
1091
|
-
e.Basis = "basis", e.BasisClosed = "basisClosed", e.BasisOpen = "basisOpen", e.Bundle = "bundle", e.Cardinal = "cardinal", e.CardinalClosed = "cardinalClosed", e.CardinalOpen = "cardinalOpen", e.CatmullRom = "catmullRom", e.CatmullRomClosed = "catmullRomClosed", e.CatmullRomOpen = "catmullRomOpen", e.Linear = "linear", e.LinearClosed = "linearClosed", e.MonotoneX = "monotoneX", e.MonotoneY = "monotoneY", e.Natural = "natural", e.Step = "step", e.StepAfter = "stepAfter", e.StepBefore = "stepBefore";
|
|
1092
|
-
})(U ||= {});
|
|
1093
|
-
var W = {
|
|
1094
|
-
[U.Basis]: fe,
|
|
1095
|
-
[U.BasisClosed]: me,
|
|
1096
|
-
[U.BasisOpen]: ge,
|
|
1097
|
-
[U.Bundle]: ve,
|
|
1098
|
-
[U.Cardinal]: ye,
|
|
1099
|
-
[U.CardinalClosed]: be,
|
|
1100
|
-
[U.CardinalOpen]: xe,
|
|
1101
|
-
[U.CatmullRom]: Ce,
|
|
1102
|
-
[U.CatmullRomClosed]: Te,
|
|
1103
|
-
[U.CatmullRomOpen]: De,
|
|
1104
|
-
[U.Linear]: w,
|
|
1105
|
-
[U.LinearClosed]: ke,
|
|
1106
|
-
[U.MonotoneX]: Fe,
|
|
1107
|
-
[U.MonotoneY]: Ie,
|
|
1108
|
-
[U.Natural]: ze,
|
|
1109
|
-
[U.Step]: Be,
|
|
1110
|
-
[U.StepAfter]: He,
|
|
1111
|
-
[U.StepBefore]: Ve
|
|
1112
|
-
}, ot = Object.assign(Object.assign({}, y), {
|
|
1113
|
-
curveType: U.MonotoneX,
|
|
1114
|
-
lineWidth: 2,
|
|
1115
|
-
lineDashArray: void 0,
|
|
1116
|
-
fallbackValue: void 0,
|
|
1117
|
-
highlightOnHover: !1,
|
|
1118
|
-
cursor: null,
|
|
1119
|
-
interpolateMissingData: !1
|
|
1120
|
-
}), st = /* @__PURE__ */ d({
|
|
1121
|
-
dim: () => J,
|
|
1122
|
-
globalStyles: () => ct,
|
|
1123
|
-
interpolatedPath: () => Y,
|
|
1124
|
-
line: () => G,
|
|
1125
|
-
linePath: () => K,
|
|
1126
|
-
lineSelectionHelper: () => q,
|
|
1127
|
-
root: () => lt
|
|
1128
|
-
}), ct = u`
|
|
1129
|
-
:root {
|
|
1130
|
-
--vis-line-cursor: default;
|
|
1131
|
-
--vis-line-stroke-dasharray: none;
|
|
1132
|
-
--vis-line-stroke-dashoffset: 0;
|
|
1133
|
-
|
|
1134
|
-
--vis-line-gapfill-stroke-dasharray: 2 3;
|
|
1135
|
-
--vis-line-gapfill-stroke-opacity: 0.8;
|
|
1136
|
-
--vis-line-gapfill-stroke-dashoffset: 0;
|
|
1137
|
-
}
|
|
1138
|
-
`, lt = g`
|
|
1139
|
-
label: line-component;
|
|
1140
|
-
`, G = g`
|
|
1141
|
-
label: line;
|
|
1142
|
-
transition: opacity 200ms;
|
|
1143
|
-
cursor: var(--vis-line-cursor);
|
|
1144
|
-
`, K = g`
|
|
1145
|
-
label: linePath;
|
|
1146
|
-
fill: none;
|
|
1147
|
-
stroke-dasharray: var(--vis-line-stroke-dasharray);
|
|
1148
|
-
stroke-dashoffset: var(--vis-line-stroke-dashoffset);
|
|
1149
|
-
`, q = g`
|
|
1150
|
-
label: lineSelectionHelper;
|
|
1151
|
-
fill: none;
|
|
1152
|
-
stroke: rgba(0, 0, 0, 0);
|
|
1153
|
-
stroke-width: 8px;
|
|
1154
|
-
`, J = g`
|
|
1155
|
-
opacity: 0.2;
|
|
1156
|
-
`, Y = g`
|
|
1157
|
-
label: interpolated-path;
|
|
1158
|
-
fill: none;
|
|
1159
|
-
stroke-dasharray: var(--vis-line-gapfill-stroke-dasharray);
|
|
1160
|
-
stroke-dashoffset: var(--vis-line-gapfill-stroke-dashoffset);
|
|
1161
|
-
stroke-opacity: var(--vis-line-gapfill-stroke-opacity);
|
|
1162
|
-
`, X = class e extends v {
|
|
1163
|
-
constructor(t) {
|
|
1164
|
-
super(), this._defaultConfig = ot, this.config = this._defaultConfig, this.curve = W[U.MonotoneX], this.events = { [e.selectors.line]: {
|
|
1165
|
-
mouseover: this._highlight.bind(this),
|
|
1166
|
-
mouseleave: this._resetHighlight.bind(this)
|
|
1167
|
-
} }, t && this.setConfig(t);
|
|
1168
|
-
}
|
|
1169
|
-
get bleed() {
|
|
1170
|
-
let { config: { lineWidth: e } } = this, t = this.yScale.domain(), n = (this.yScale.range()[0] > this.yScale.range()[1] ? _.North : _.South) === _.South, r = e > 3, i = e >= 10;
|
|
1171
|
-
return {
|
|
1172
|
-
top: !i && (!n && t[1] === 0 || n && t[0] === 0) ? 0 : e / 2,
|
|
1173
|
-
bottom: !i && (!n && t[0] === 0 || n && t[1] === 0) ? 0 : e / 2,
|
|
1174
|
-
left: r ? e / 2 : 0,
|
|
1175
|
-
right: r ? e / 2 : 0
|
|
1176
|
-
};
|
|
1177
|
-
}
|
|
1178
|
-
_render(e) {
|
|
1179
|
-
super._render(e);
|
|
1180
|
-
let { config: n, datamodel: { data: o } } = this, u = c(e) ? e : n.duration;
|
|
1181
|
-
this.curve = W[n.curveType], this.lineGen = E().x((e) => e.x).y((e) => e.y).defined((e) => e.defined).curve(this.curve);
|
|
1182
|
-
let d = p(n.y) ? n.y : [n.y], f = o.map((e, t) => this.xScale(s(e, n.x, t))), m = d.map((e) => {
|
|
1183
|
-
let t = o.map((t, r) => {
|
|
1184
|
-
let i = s(t, e, r), a = (c(i) || i === null) && isFinite(i) ? i : n.fallbackValue, o = n.interpolateMissingData ? (c(i) || i === null) && isFinite(i) : isFinite(a);
|
|
1185
|
-
return {
|
|
1186
|
-
x: f[r],
|
|
1187
|
-
y: this.yScale(a ?? 0),
|
|
1188
|
-
defined: o,
|
|
1189
|
-
value: a
|
|
1190
|
-
};
|
|
1191
|
-
}), r = t.reduce((e, t) => t.defined || e, !1), i = !1;
|
|
1192
|
-
return {
|
|
1193
|
-
values: t,
|
|
1194
|
-
defined: r,
|
|
1195
|
-
gaps: t.reduce((e, r, a) => {
|
|
1196
|
-
!r.defined && isFinite(n.fallbackValue) && e.push(Object.assign(Object.assign({}, r), { defined: !0 })), !r.defined && !i && (i = !0);
|
|
1197
|
-
let o = a > 0 && !t[a - 1].defined || a < t.length - 1 && !t[a + 1].defined;
|
|
1198
|
-
return r.defined && o && (i || e.push(Object.assign(Object.assign({}, r), { defined: !1 })), e.push(r), i = !1), e;
|
|
1199
|
-
}, []),
|
|
1200
|
-
visible: r && t.some((e) => e.value !== null)
|
|
1201
|
-
};
|
|
1202
|
-
}), h = this.g.selectAll(`.${G}`).data(m), g = h.enter().append("g").attr("class", G);
|
|
1203
|
-
g.append("path").attr("class", K).attr("stroke", (e, t) => l(o, n.color, t)).attr("stroke-opacity", 0).attr("stroke-width", n.lineWidth), g.append("path").attr("class", q).attr("d", this._emptyPath()), g.append("path").attr("class", Y).attr("d", this._emptyPath()).style("opacity", 0);
|
|
1204
|
-
let _ = g.merge(h);
|
|
1205
|
-
_.style("cursor", (e, r) => t(o, n.cursor, r)), _.each((e, t, s) => {
|
|
1206
|
-
let c = i(s[t]), d = c.select(`.${K}`), f = c.select(`.${q}`), p = c.select(`.${Y}`), m = e.visible, h = r(o, n.lineDashArray, t), g = a(d, u).attr("stroke", l(o, n.color, t)).attr("stroke-width", n.lineWidth).attr("stroke-opacity", +!!m).style("stroke-dasharray", h?.join(" ") ?? null), _ = e.values.some((e) => !e.defined), v = this.lineGen(e.values);
|
|
1207
|
-
if (u && !_) {
|
|
1208
|
-
let e = d.attr("d") || this._emptyPath(), t = v || this._emptyPath();
|
|
1209
|
-
g.attrTween("d", () => H(e, t));
|
|
1210
|
-
} else e.visible && g.attr("d", v);
|
|
1211
|
-
f.attr("d", v).attr("visibility", m ? null : "hidden"), _ && n.interpolateMissingData ? a(p, u).attr("d", this.lineGen(e.gaps)).attr("stroke", l(o, n.color, t)).attr("stroke-width", n.lineWidth - 1).style("opacity", 1) : p.transition().duration(u).style("opacity", 0);
|
|
1212
|
-
}), a(h.exit(), u).style("opacity", 0).remove();
|
|
1213
|
-
}
|
|
1214
|
-
_emptyPath() {
|
|
1215
|
-
let e = this.xScale.range(), t = this.yScale.range();
|
|
1216
|
-
return `M${e[0]},${t[0]} L${e[1]},${t[0]}`;
|
|
1217
|
-
}
|
|
1218
|
-
_highlight(e) {
|
|
1219
|
-
let { config: t } = this;
|
|
1220
|
-
t.highlightOnHover && this.g.selectAll(`.${G}`).classed(J, (t) => t !== e);
|
|
1221
|
-
}
|
|
1222
|
-
_resetHighlight() {
|
|
1223
|
-
let { config: e } = this;
|
|
1224
|
-
e.highlightOnHover && this.g.selectAll(`.${G}`).classed(J, !1);
|
|
1225
|
-
}
|
|
1226
|
-
};
|
|
1227
|
-
X.selectors = st;
|
|
1228
|
-
//#endregion
|
|
1229
|
-
//#region ../node_modules/.pnpm/@unovis+ts@1.6.5/node_modules/@unovis/ts/components/area/config.js
|
|
1230
|
-
var ut = Object.assign(Object.assign({}, y), {
|
|
1231
|
-
color: void 0,
|
|
1232
|
-
curveType: U.MonotoneX,
|
|
1233
|
-
baseline: () => 0,
|
|
1234
|
-
opacity: 1,
|
|
1235
|
-
cursor: null,
|
|
1236
|
-
line: !1,
|
|
1237
|
-
lineColor: void 0,
|
|
1238
|
-
lineWidth: 2,
|
|
1239
|
-
lineDashArray: void 0,
|
|
1240
|
-
minHeight1Px: !1,
|
|
1241
|
-
minHeight: void 0,
|
|
1242
|
-
stackMinHeight: !1
|
|
1243
|
-
}), dt = /* @__PURE__ */ d({
|
|
1244
|
-
area: () => Z,
|
|
1245
|
-
areaLinePath: () => Q,
|
|
1246
|
-
globalStyles: () => pt,
|
|
1247
|
-
root: () => ft
|
|
1248
|
-
}), ft = g`
|
|
1249
|
-
label: area-component;
|
|
1250
|
-
`, pt = u`
|
|
1251
|
-
:root {
|
|
1252
|
-
--vis-area-cursor: default;
|
|
1253
|
-
--vis-area-fill-opacity: 1;
|
|
1254
|
-
--vis-area-stroke-color: none;
|
|
1255
|
-
--vis-area-stroke-width: 0px;
|
|
1256
|
-
--vis-area-stroke-dasharray: none;
|
|
1257
|
-
--vis-area-stroke-opacity: 1;
|
|
1258
|
-
--vis-area-hover-fill-opacity: none;
|
|
1259
|
-
--vis-area-hover-stroke-width: none;
|
|
1260
|
-
|
|
1261
|
-
/* Dark Theme */
|
|
1262
|
-
--vis-dark-area-stroke-color: none;
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
body.theme-dark ${`.${ft}`} {
|
|
1266
|
-
--vis-area-stroke-color: var(--vis-dark-area-stroke-color);
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
`, Z = g`
|
|
1270
|
-
label: area;
|
|
1271
|
-
cursor: var(--vis-area-cursor);
|
|
1272
|
-
fill-opacity: var(--vis-area-fill-opacity);
|
|
1273
|
-
stroke-width: var(--vis-area-stroke-width);
|
|
1274
|
-
stroke-dasharray: var(--vis-area-stroke-dasharray);
|
|
1275
|
-
stroke: var(--vis-area-stroke-color);
|
|
1276
|
-
stroke-opacity: var(--vis-area-stroke-opacity);
|
|
1277
|
-
|
|
1278
|
-
&:hover {
|
|
1279
|
-
fill-opacity: var(--vis-area-hover-fill-opacity);
|
|
1280
|
-
stroke-width: var(--vis-area-hover-stroke-width);
|
|
1281
|
-
}
|
|
1282
|
-
`, Q = g`
|
|
1283
|
-
label: areaLinePath;
|
|
1284
|
-
fill: none;
|
|
1285
|
-
stroke-dasharray: var(--vis-line-stroke-dasharray);
|
|
1286
|
-
stroke-dashoffset: var(--vis-line-stroke-dashoffset);
|
|
1287
|
-
`, $ = class u extends v {
|
|
1288
|
-
constructor(e) {
|
|
1289
|
-
super(), this._defaultConfig = ut, this.config = this._defaultConfig, this.stacked = !0, this.events = { [u.selectors.area]: {} }, e && this.setConfig(e), this.stacked = Array.isArray(this.config.y);
|
|
1290
|
-
}
|
|
1291
|
-
get bleed() {
|
|
1292
|
-
let { config: { line: e, lineWidth: t } } = this;
|
|
1293
|
-
if (!e) return {
|
|
1294
|
-
top: 0,
|
|
1295
|
-
bottom: 0,
|
|
1296
|
-
left: 0,
|
|
1297
|
-
right: 0
|
|
1298
|
-
};
|
|
1299
|
-
let n = this.yScale.domain(), r = (this.yScale.range()[0] > this.yScale.range()[1] ? _.North : _.South) === _.South, i = t > 3, a = t >= 10;
|
|
1300
|
-
return {
|
|
1301
|
-
top: !a && (!r && n[1] === 0 || r && n[0] === 0) ? 0 : t / 2,
|
|
1302
|
-
bottom: !a && (!r && n[0] === 0 || r && n[1] === 0) ? 0 : t / 2,
|
|
1303
|
-
left: i ? t / 2 : 0,
|
|
1304
|
-
right: i ? t / 2 : 0
|
|
1305
|
-
};
|
|
1306
|
-
}
|
|
1307
|
-
_render(e) {
|
|
1308
|
-
super._render(e);
|
|
1309
|
-
let { config: r, datamodel: { data: o } } = this, u = c(e) ? e : r.duration, d = W[r.curveType];
|
|
1310
|
-
this._areaGen = de().x((e) => e.x).y0((e) => e.y0).y1((e) => e.y1).curve(d);
|
|
1311
|
-
let f = p(r.y) ? r.y : [r.y], m = o.map((e, t) => this.xScale(s(e, r.x, t))), h = n(o, r.baseline, f, this._prevNegative);
|
|
1312
|
-
this._prevNegative = h.map((e) => !!e.isMostlyNegative);
|
|
1313
|
-
let g = [], _ = h.map((e) => e.map((e, t) => {
|
|
1314
|
-
let n = m[t], i = this.yScale(e[0]), a = this.yScale(e[1]), o = a > i, s = r.stackMinHeight && g[t] || 0, c = o ? i + s : i - s, l = o ? a + s : a - s, u = 0;
|
|
1315
|
-
return (r.minHeight || r.minHeight1Px) && Math.abs(l - c) < (r.minHeight ?? 1) && (u = (r.minHeight ?? 1) - Math.abs(l - c), r.stackMinHeight && (g[t] = s + u)), {
|
|
1316
|
-
x: n,
|
|
1317
|
-
y0: c,
|
|
1318
|
-
y1: o ? l + u : l - u
|
|
1319
|
-
};
|
|
1320
|
-
})), v = _.length - 1, y = [..._].reverse(), b = this.g.selectAll(`.${Z}`).data(y), x = a(b.enter().append("path").attr("class", Z).attr("d", (e) => this._areaGen(e) || this._emptyPath()).style("opacity", 0).style("fill", (e, t) => l(o, r.color, v - t)).merge(b), u).style("opacity", (e, t) => e.some((e) => e.y0 - e.y1 !== 0) ? s(o, r.opacity, v - t) : 0).style("fill", (e, t) => l(o, r.color, v - t)).style("cursor", (e, n) => t(o, r.cursor, v - n));
|
|
1321
|
-
u ? x.attrTween("d", (e, t, n) => H(i(n[t]).attr("d"), this._areaGen(e) || this._emptyPath())) : x.attr("d", (e) => this._areaGen(e) || this._emptyPath()), a(b.exit(), u).style("opacity", 0).remove(), r.line && this._renderLines(u, _);
|
|
1322
|
-
}
|
|
1323
|
-
_renderLines(e, n) {
|
|
1324
|
-
let { config: o, datamodel: { data: s } } = this, c = n.length - 1, u = [...n].reverse(), d = o.lineColor ?? o.color, f = this.g.selectAll(`.${Q}`).data(u), p = this.g.selectAll(`.${Z}`).nodes(), m = a(f.enter().insert("path", (e, t) => p[t + 1]).attr("class", Q).attr("stroke", (e, t) => l(s, d, c - t)).attr("stroke-width", o.lineWidth).attr("stroke-opacity", 0).merge(f), e).attr("stroke", (e, t) => l(s, d, c - t)).attr("stroke-width", o.lineWidth).attr("stroke-opacity", 1).attr("cursor", (e, n) => t(s, o.cursor, c - n)).style("stroke-dasharray", (e, t) => r(s, o.lineDashArray, t)?.join(" ") ?? null), h = W[o.curveType];
|
|
1325
|
-
this._lineGen = E().x((e) => e.x).y((e) => e.y1).curve(h), e ? m.attrTween("d", (e, t, n) => H(i(n[t]).attr("d") || this._emptyLinePath(), this._lineGen(e) || this._emptyLinePath())) : m.attr("d", (e) => this._lineGen(e) || this._emptyLinePath()), a(f.exit(), e).style("opacity", 0).remove();
|
|
1326
|
-
}
|
|
1327
|
-
getYDataExtent(t) {
|
|
1328
|
-
let { config: n, datamodel: r } = this, i = p(n.y) ? n.y : [n.y], a = this.xScale.domain();
|
|
1329
|
-
return o(t ? e(r.data, a, n.x, !0) : r.data, n.baseline, ...i);
|
|
1330
|
-
}
|
|
1331
|
-
_emptyPath() {
|
|
1332
|
-
let e = this.xScale.range(), t = this.yScale.domain(), n = this.yScale((t[0] + t[1]) / 2), r = n;
|
|
1333
|
-
return this._areaGen([{
|
|
1334
|
-
y0: n,
|
|
1335
|
-
y1: r,
|
|
1336
|
-
x: e[0]
|
|
1337
|
-
}, {
|
|
1338
|
-
y0: n,
|
|
1339
|
-
y1: r,
|
|
1340
|
-
x: e[1]
|
|
1341
|
-
}]);
|
|
1342
|
-
}
|
|
1343
|
-
_emptyLinePath() {
|
|
1344
|
-
let e = this.xScale.range(), t = this.yScale.range();
|
|
1345
|
-
return `M${e[0]},${t[0]} L${e[1]},${t[0]}`;
|
|
1346
|
-
}
|
|
1347
|
-
};
|
|
1348
|
-
$.selectors = dt;
|
|
1349
|
-
//#endregion
|
|
1350
|
-
//#region ../node_modules/.pnpm/@unovis+vue@1.6.5_@unovis+ts@1.6.5_vue@3.5.34_typescript@6.0.3_/node_modules/@unovis/vue/components/area/index.js
|
|
1351
|
-
var mt = { "data-vis-component": "" };
|
|
1352
|
-
$.selectors;
|
|
1353
|
-
var ht = /* @__PURE__ */ ne({
|
|
1354
|
-
__name: "index",
|
|
1355
|
-
props: {
|
|
1356
|
-
color: { type: [
|
|
1357
|
-
Function,
|
|
1358
|
-
String,
|
|
1359
|
-
Array,
|
|
1360
|
-
null
|
|
1361
|
-
] },
|
|
1362
|
-
curveType: {},
|
|
1363
|
-
baseline: { type: [
|
|
1364
|
-
Function,
|
|
1365
|
-
Number,
|
|
1366
|
-
null
|
|
1367
|
-
] },
|
|
1368
|
-
opacity: { type: [
|
|
1369
|
-
Function,
|
|
1370
|
-
Number,
|
|
1371
|
-
null
|
|
1372
|
-
] },
|
|
1373
|
-
cursor: { type: [
|
|
1374
|
-
Function,
|
|
1375
|
-
String,
|
|
1376
|
-
null
|
|
1377
|
-
] },
|
|
1378
|
-
line: { type: Boolean },
|
|
1379
|
-
lineColor: { type: [
|
|
1380
|
-
Function,
|
|
1381
|
-
String,
|
|
1382
|
-
Array,
|
|
1383
|
-
null
|
|
1384
|
-
] },
|
|
1385
|
-
lineWidth: {},
|
|
1386
|
-
lineDashArray: { type: [
|
|
1387
|
-
Function,
|
|
1388
|
-
Array,
|
|
1389
|
-
null
|
|
1390
|
-
] },
|
|
1391
|
-
minHeight1Px: { type: Boolean },
|
|
1392
|
-
minHeight: {},
|
|
1393
|
-
stackMinHeight: { type: Boolean },
|
|
1394
|
-
x: { type: [
|
|
1395
|
-
Function,
|
|
1396
|
-
Number,
|
|
1397
|
-
null
|
|
1398
|
-
] },
|
|
1399
|
-
y: { type: [
|
|
1400
|
-
Function,
|
|
1401
|
-
Number,
|
|
1402
|
-
null,
|
|
1403
|
-
Array
|
|
1404
|
-
] },
|
|
1405
|
-
id: { type: Function },
|
|
1406
|
-
xScale: { type: [Object, Function] },
|
|
1407
|
-
yScale: { type: [Object, Function] },
|
|
1408
|
-
excludeFromDomainCalculation: { type: Boolean },
|
|
1409
|
-
duration: {},
|
|
1410
|
-
events: {},
|
|
1411
|
-
attributes: {},
|
|
1412
|
-
data: {}
|
|
1413
|
-
},
|
|
1414
|
-
setup(e, { expose: t }) {
|
|
1415
|
-
let n = re(m), r = e, i = S(() => n.data.value ?? r.data), a = h(r), o = ce();
|
|
1416
|
-
return ae(() => {
|
|
1417
|
-
ie(() => {
|
|
1418
|
-
var e;
|
|
1419
|
-
o.value = new $(a.value), (e = o.value) == null || e.setData(i.value), n.update(o.value);
|
|
1420
|
-
});
|
|
1421
|
-
}), oe(() => {
|
|
1422
|
-
var e;
|
|
1423
|
-
(e = o.value) == null || e.destroy(), n.destroy();
|
|
1424
|
-
}), C(a, (e, t) => {
|
|
1425
|
-
var n;
|
|
1426
|
-
f(e, t) || (n = o.value) == null || n.setConfig(a.value);
|
|
1427
|
-
}), C(i, () => {
|
|
1428
|
-
var e;
|
|
1429
|
-
(e = o.value) == null || e.setData(i.value);
|
|
1430
|
-
}), t({ component: o }), (e, t) => (se(), te("div", mt));
|
|
1431
|
-
}
|
|
1432
|
-
}), gt = { "data-vis-component": "" };
|
|
1433
|
-
X.selectors;
|
|
1434
|
-
//#endregion
|
|
1435
|
-
//#region ../node_modules/.pnpm/@unovis+vue@1.6.5_@unovis+ts@1.6.5_vue@3.5.34_typescript@6.0.3_/node_modules/@unovis/vue/components/line/index.js
|
|
1436
|
-
var _t = /* @__PURE__ */ ne({
|
|
1437
|
-
__name: "index",
|
|
1438
|
-
props: {
|
|
1439
|
-
color: { type: [
|
|
1440
|
-
Function,
|
|
1441
|
-
String,
|
|
1442
|
-
Array,
|
|
1443
|
-
null
|
|
1444
|
-
] },
|
|
1445
|
-
curveType: {},
|
|
1446
|
-
lineWidth: {},
|
|
1447
|
-
lineDashArray: { type: [
|
|
1448
|
-
Function,
|
|
1449
|
-
Array,
|
|
1450
|
-
null
|
|
1451
|
-
] },
|
|
1452
|
-
fallbackValue: {},
|
|
1453
|
-
highlightOnHover: { type: Boolean },
|
|
1454
|
-
cursor: { type: [
|
|
1455
|
-
Function,
|
|
1456
|
-
String,
|
|
1457
|
-
null
|
|
1458
|
-
] },
|
|
1459
|
-
interpolateMissingData: { type: Boolean },
|
|
1460
|
-
x: { type: [
|
|
1461
|
-
Function,
|
|
1462
|
-
Number,
|
|
1463
|
-
null
|
|
1464
|
-
] },
|
|
1465
|
-
y: { type: [
|
|
1466
|
-
Function,
|
|
1467
|
-
Number,
|
|
1468
|
-
null,
|
|
1469
|
-
Array
|
|
1470
|
-
] },
|
|
1471
|
-
id: { type: Function },
|
|
1472
|
-
xScale: { type: [Object, Function] },
|
|
1473
|
-
yScale: { type: [Object, Function] },
|
|
1474
|
-
excludeFromDomainCalculation: { type: Boolean },
|
|
1475
|
-
duration: {},
|
|
1476
|
-
events: {},
|
|
1477
|
-
attributes: {},
|
|
1478
|
-
data: {}
|
|
1479
|
-
},
|
|
1480
|
-
setup(e, { expose: t }) {
|
|
1481
|
-
let n = re(m), r = e, i = S(() => n.data.value ?? r.data), a = h(r), o = ce();
|
|
1482
|
-
return ae(() => {
|
|
1483
|
-
ie(() => {
|
|
1484
|
-
var e;
|
|
1485
|
-
o.value = new X(a.value), (e = o.value) == null || e.setData(i.value), n.update(o.value);
|
|
1486
|
-
});
|
|
1487
|
-
}), oe(() => {
|
|
1488
|
-
var e;
|
|
1489
|
-
(e = o.value) == null || e.destroy(), n.destroy();
|
|
1490
|
-
}), C(a, (e, t) => {
|
|
1491
|
-
var n;
|
|
1492
|
-
f(e, t) || (n = o.value) == null || n.setConfig(a.value);
|
|
1493
|
-
}), C(i, () => {
|
|
1494
|
-
var e;
|
|
1495
|
-
(e = o.value) == null || e.setData(i.value);
|
|
1496
|
-
}), t({ component: o }), (e, t) => (se(), te("div", gt));
|
|
1497
|
-
}
|
|
1498
|
-
});
|
|
1499
|
-
//#endregion
|
|
1500
|
-
export { ht as n, _t as t };
|