@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as n, openBlock as e, createElementBlock as r, createBlock as c, resolveDynamicComponent as i, unref as u } from "vue";
|
|
2
|
+
import { useModuleRoute as a } from "@oneclick.dev/cms-kit";
|
|
3
|
+
const l = { class: "relative flex flex-1 @container" }, d = /* @__PURE__ */ n({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
config: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
routes: {
|
|
11
|
+
type: Array,
|
|
12
|
+
required: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
const { pageComponent: t } = a();
|
|
17
|
+
return (p, s) => (e(), r("div", l, [
|
|
18
|
+
(e(), c(i(u(t)), { config: o.config }, null, 8, ["config"]))
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
d as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as e, createElementBlock as t, createBlock as c, resolveDynamicComponent as u, unref as i } from "vue";
|
|
2
|
+
import { useModuleRoute as p } from "@oneclick.dev/cms-kit";
|
|
3
|
+
const s = /* @__PURE__ */ r({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
config: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
routes: {
|
|
11
|
+
type: Array,
|
|
12
|
+
required: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
const { pageComponent: n } = p();
|
|
17
|
+
return (l, m) => (e(), t("div", null, [
|
|
18
|
+
(e(), c(u(i(n)), { config: o.config }, null, 8, ["config"]))
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as n, openBlock as r, createBlock as t, resolveDynamicComponent as c, unref as u } from "vue";
|
|
2
|
+
import { useModuleRoute as p } from "@oneclick.dev/cms-kit";
|
|
3
|
+
const s = /* @__PURE__ */ n({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
config: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
routes: {
|
|
11
|
+
type: Array,
|
|
12
|
+
required: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(e) {
|
|
16
|
+
const { pageComponent: o } = p();
|
|
17
|
+
return (i, f) => (r(), t(c(u(o)), { config: e.config }, null, 8, ["config"]));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
s as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";const b=require("vue"),_=require("./index-DtSvAFLL.js"),A=require("./index-D_nfGegA.js"),w=require("./math-emotyaF6.js");function ft(t){this._context=t}ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function tt(t){return new ft(t)}function pt(t){return t[0]}function yt(t){return t[1]}function dt(){var t=pt,e=yt,i=w.constant(!0),n=null,s=tt,o=null;function a(r){var l,d=r.length,c,h=!1,u;for(n==null&&(o=s(u=w.path())),l=0;l<=d;++l)!(l<d&&i(c=r[l],l,r))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(c,l,r),+e(c,l,r));if(u)return o=null,u+""||null}return a.x=function(r){return arguments.length?(t=typeof r=="function"?r:w.constant(+r),a):t},a.y=function(r){return arguments.length?(e=typeof r=="function"?r:w.constant(+r),a):e},a.defined=function(r){return arguments.length?(i=typeof r=="function"?r:w.constant(!!r),a):i},a.curve=function(r){return arguments.length?(s=r,n!=null&&(o=s(n)),a):s},a.context=function(r){return arguments.length?(r==null?n=o=null:o=s(n=r),a):n},a}function At(){var t=pt,e=null,i=w.constant(0),n=yt,s=w.constant(!0),o=null,a=tt,r=null;function l(c){var h,u,x,m=c.length,S,f=!1,p,v=new Array(m),y=new Array(m);for(o==null&&(r=a(p=w.path())),h=0;h<=m;++h){if(!(h<m&&s(S=c[h],h,c))===f)if(f=!f)u=h,r.areaStart(),r.lineStart();else{for(r.lineEnd(),r.lineStart(),x=h-1;x>=u;--x)r.point(v[x],y[x]);r.lineEnd(),r.areaEnd()}f&&(v[h]=+t(S,h,c),y[h]=+i(S,h,c),r.point(e?+e(S,h,c):v[h],n?+n(S,h,c):y[h]))}if(p)return r=null,p+""||null}function d(){return dt().defined(s).curve(a).context(o)}return l.x=function(c){return arguments.length?(t=typeof c=="function"?c:w.constant(+c),e=null,l):t},l.x0=function(c){return arguments.length?(t=typeof c=="function"?c:w.constant(+c),l):t},l.x1=function(c){return arguments.length?(e=c==null?null:typeof c=="function"?c:w.constant(+c),l):e},l.y=function(c){return arguments.length?(i=typeof c=="function"?c:w.constant(+c),n=null,l):i},l.y0=function(c){return arguments.length?(i=typeof c=="function"?c:w.constant(+c),l):i},l.y1=function(c){return arguments.length?(n=c==null?null:typeof c=="function"?c:w.constant(+c),l):n},l.lineX0=l.lineY0=function(){return d().x(t).y(i)},l.lineY1=function(){return d().x(t).y(n)},l.lineX1=function(){return d().x(e).y(i)},l.defined=function(c){return arguments.length?(s=typeof c=="function"?c:w.constant(!!c),l):s},l.curve=function(c){return arguments.length?(a=c,o!=null&&(r=a(o)),l):a},l.context=function(c){return arguments.length?(c==null?o=r=null:r=a(o=c),l):o},l}function N(){}function H(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function X(t){this._context=t}X.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:H(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Mt(t){return new X(t)}function vt(t){this._context=t}vt.prototype={areaStart:N,areaEnd:N,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{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();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function jt(t){return new vt(t)}function xt(t){this._context=t}xt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break;case 3:this._point=4;default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Dt(t){return new xt(t)}function gt(t,e){this._basis=new X(t),this._beta=e}gt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var n=t[0],s=e[0],o=t[i]-n,a=e[i]-s,r=-1,l;++r<=i;)l=r/i,this._basis.point(this._beta*t[r]+(1-this._beta)*(n+l*o),this._beta*e[r]+(1-this._beta)*(s+l*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Et=(function t(e){function i(n){return e===1?new X(n):new gt(n,e)}return i.beta=function(n){return t(+n)},i})(.85);function L(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function et(t,e){this._context=t,this._k=(1-e)/6}et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:L(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:L(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Bt=(function t(e){function i(n){return new et(n,e)}return i.tension=function(n){return t(+n)},i})(0);function it(t,e){this._context=t,this._k=(1-e)/6}it.prototype={areaStart:N,areaEnd:N,lineStart:function(){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},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:L(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Rt=(function t(e){function i(n){return new it(n,e)}return i.tension=function(n){return t(+n)},i})(0);function nt(t,e){this._context=t,this._k=(1-e)/6}nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:L(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const $t=(function t(e){function i(n){return new nt(n,e)}return i.tension=function(n){return t(+n)},i})(0);function st(t,e,i){var n=t._x1,s=t._y1,o=t._x2,a=t._y2;if(t._l01_a>w.epsilon){var r=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*r-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,s=(s*r-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>w.epsilon){var d=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*d+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*d+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(n,s,o,a,t._x2,t._y2)}function bt(t,e){this._context=t,this._alpha=e}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){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},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:st(this,t,e);break}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ht=(function t(e){function i(n){return e?new bt(n,e):new et(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function mt(t,e){this._context=t,this._alpha=e}mt.prototype={areaStart:N,areaEnd:N,lineStart:function(){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},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:st(this,t,e);break}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Lt=(function t(e){function i(n){return e?new mt(n,e):new it(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function kt(t,e){this._context=t,this._alpha=e}kt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){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},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:st(this,t,e);break}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ft=(function t(e){function i(n){return e?new kt(n,e):new nt(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function St(t){this._context=t}St.prototype={areaStart:N,areaEnd:N,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function It(t){return new St(t)}function ot(t){return t<0?-1:1}function rt(t,e,i){var n=t._x1-t._x0,s=e-t._x1,o=(t._y1-t._y0)/(n||s<0&&-0),a=(i-t._y1)/(s||n<0&&-0),r=(o*s+a*n)/(n+s);return(ot(o)+ot(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(r))||0}function at(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function z(t,e,i){var n=t._x0,s=t._y0,o=t._x1,a=t._y1,r=(o-n)/3;t._context.bezierCurveTo(n+r,s+r*e,o-r,a-r*i,o,a)}function F(t){this._context=t}F.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:z(this,this._t0,at(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,z(this,at(this,i=rt(this,t,e)),i);break;default:z(this,this._t0,i=rt(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}};function wt(t){this._context=new Tt(t)}(wt.prototype=Object.create(F.prototype)).point=function(t,e){F.prototype.point.call(this,e,t)};function Tt(t){this._context=t}Tt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,n,s,o){this._context.bezierCurveTo(e,t,n,i,o,s)}};function Xt(t){return new F(t)}function Yt(t){return new wt(t)}function Nt(t){this._context=t}Nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),i===2)this._context.lineTo(t[1],e[1]);else for(var n=lt(t),s=lt(e),o=0,a=1;a<i;++o,++a)this._context.bezierCurveTo(n[0][o],s[0][o],n[1][o],s[1][o],t[a],e[a]);(this._line||this._line!==0&&i===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function lt(t){var e,i=t.length-1,n,s=new Array(i),o=new Array(i),a=new Array(i);for(s[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<i-1;++e)s[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(s[i-1]=2,o[i-1]=7,a[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=s[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(s[i-1]=a[i-1]/o[i-1],e=i-2;e>=0;--e)s[e]=(a[e]-s[e+1])/o[e];for(o[i-1]=(t[i]+s[i-1])/2,e=0;e<i-1;++e)o[e]=2*t[e+1]-s[e+1];return[s,o]}function Gt(t){return new Nt(t)}function Y(t,e){this._context=t,this._t=e}Y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){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)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}break}}this._x=t,this._y=e}};function Vt(t){return new Y(t,.5)}function zt(t){return new Y(t,0)}function Zt(t){return new Y(t,1)}function ht(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function qt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?ht(Object(i),!0).forEach(function(n){Wt(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ht(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function E(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(e){return typeof e}:E=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(t)}function Wt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I(){return I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},I.apply(this,arguments)}function Ut(t,e){if(t){if(typeof t=="string")return ct(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ct(t,e)}}function ct(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Ot(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=Ut(t))||e){i&&(t=i);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(l){throw l},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,r;return{s:function(){i=i.call(t)},n:function(){var l=i.next();return o=l.done,l},e:function(l){a=!0,r=l},f:function(){try{!o&&i.return!=null&&i.return()}finally{if(a)throw r}}}}function Qt(t,e){var i=[],n=[];function s(o,a){if(o.length===1)i.push(o[0]),n.push(o[0]);else{for(var r=Array(o.length-1),l=0;l<r.length;l++)l===0&&i.push(o[0]),l===r.length-1&&n.push(o[l+1]),r[l]=[(1-a)*o[l][0]+a*o[l+1][0],(1-a)*o[l][1]+a*o[l+1][1]];s(r,a)}}return t.length&&s(t,e),{left:i,right:n.reverse()}}function Jt(t){var e={};return t.length===4&&(e.x2=t[2][0],e.y2=t[2][1]),t.length>=3&&(e.x1=t[1][0],e.y1=t[1][1]),e.x=t[t.length-1][0],e.y=t[t.length-1][1],t.length===4?e.type="C":t.length===3?e.type="Q":e.type="L",e}function Kt(t,e){e=e||2;for(var i=[],n=t,s=1/e,o=0;o<e-1;o++){var a=s/(1-s*o),r=Qt(n,a);i.push(r.left),n=r.right}return i.push(n),i}function te(t,e,i){var n=[[t.x,t.y]];return e.x1!=null&&n.push([e.x1,e.y1]),e.x2!=null&&n.push([e.x2,e.y2]),n.push([e.x,e.y]),Kt(n,i).map(Jt)}var ee=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,j={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};Object.keys(j).forEach(function(t){j[t.toLowerCase()]=j[t]});function Z(t,e){for(var i=Array(t),n=0;n<t;n++)i[n]=e;return i}function ie(t){return"".concat(t.type).concat(j[t.type].map(function(e){return t[e]}).join(","))}function ne(t,e){var i={x1:"x",y1:"y",x2:"x",y2:"y"},n=["xAxisRotation","largeArcFlag","sweepFlag"];if(t.type!==e.type&&e.type.toUpperCase()!=="M"){var s={};Object.keys(e).forEach(function(o){var a=e[o],r=t[o];r===void 0&&(n.includes(o)?r=a:(r===void 0&&i[o]&&(r=t[i[o]]),r===void 0&&(r=0))),s[o]=r}),s.type=e.type,t=s}return t}function se(t,e,i){var n=[];if(e.type==="L"||e.type==="Q"||e.type==="C")n=n.concat(te(t,e,i));else{var s=I({},t);s.type==="M"&&(s.type="L"),n=n.concat(Z(i-1).map(function(){return s})),n.push(e)}return n}function _t(t,e,i){var n=t.length-1,s=e.length-1,o=n/s,a=Z(s).reduce(function(l,d,c){var h=Math.floor(o*c);if(i&&h<t.length-1&&i(t[h],t[h+1])){var u=o*c%1<.5;l[h]&&(u?h>0?h-=1:h<t.length-1&&(h+=1):h<t.length-1?h+=1:h>0&&(h-=1))}return l[h]=(l[h]||0)+1,l},[]),r=a.reduce(function(l,d,c){if(c===t.length-1){var h=Z(d,I({},t[t.length-1]));return h[0].type==="M"&&h.forEach(function(u){u.type="L"}),l.concat(h)}return l.concat(se(t[c],t[c+1],d))},[]);return r.unshift(t[0]),r}function ut(t){for(var e=(t||"").match(ee)||[],i=[],n,s,o=0;o<e.length;++o)if(n=j[e[o]],n){s={type:e[o]};for(var a=0;a<n.length;++a)s[n[a]]=+e[o+a+1];o+=n.length,i.push(s)}return i}function oe(t,e,i){var n=t==null?[]:t.slice(),s=e==null?[]:e.slice(),o=E(i)==="object"?i:{excludeSegment:i,snapEndsToInput:!0},a=o.excludeSegment,r=o.snapEndsToInput;if(!n.length&&!s.length)return function(){return[]};var l=(n.length===0||n[n.length-1].type==="Z")&&(s.length===0||s[s.length-1].type==="Z");n.length>0&&n[n.length-1].type==="Z"&&n.pop(),s.length>0&&s[s.length-1].type==="Z"&&s.pop(),n.length?s.length||s.push(n[0]):n.push(s[0]);var d=Math.abs(s.length-n.length);d!==0&&(s.length>n.length?n=_t(n,s,a):s.length<n.length&&(s=_t(s,n,a))),n=n.map(function(h,u){return ne(h,s[u])});var c=n.map(function(h){return qt({},h)});return l&&(c.push({type:"Z"}),n.push({type:"Z"})),function(u){if(u===1&&r)return e??[];if(u===0)return n;for(var x=0;x<c.length;++x){var m=n[x],S=s[x],f=c[x],p=Ot(j[f.type]),v;try{for(p.s();!(v=p.n()).done;){var y=v.value;f[y]=(1-u)*m[y]+u*S[y],(y==="largeArcFlag"||y==="sweepFlag")&&(f[y]=Math.round(f[y]))}}catch(k){p.e(k)}finally{p.f()}}return c}}function Ct(t,e,i){var n=ut(t),s=ut(e),o=E(i)==="object"?i:{excludeSegment:i,snapEndsToInput:!0},a=o.excludeSegment,r=o.snapEndsToInput;if(!n.length&&!s.length)return function(){return""};var l=oe(n,s,{excludeSegment:a,snapEndsToInput:r});return function(c){if(c===1&&r)return e??"";var h=l(c),u="",x=Ot(h),m;try{for(x.s();!(m=x.n()).done;){var S=m.value;u+=ie(S)}}catch(f){x.e(f)}finally{x.f()}return u}}var g;(function(t){t.Basis="basis",t.BasisClosed="basisClosed",t.BasisOpen="basisOpen",t.Bundle="bundle",t.Cardinal="cardinal",t.CardinalClosed="cardinalClosed",t.CardinalOpen="cardinalOpen",t.CatmullRom="catmullRom",t.CatmullRomClosed="catmullRomClosed",t.CatmullRomOpen="catmullRomOpen",t.Linear="linear",t.LinearClosed="linearClosed",t.MonotoneX="monotoneX",t.MonotoneY="monotoneY",t.Natural="natural",t.Step="step",t.StepAfter="stepAfter",t.StepBefore="stepBefore"})(g||(g={}));const q={[g.Basis]:Mt,[g.BasisClosed]:jt,[g.BasisOpen]:Dt,[g.Bundle]:Et,[g.Cardinal]:Bt,[g.CardinalClosed]:Rt,[g.CardinalOpen]:$t,[g.CatmullRom]:Ht,[g.CatmullRomClosed]:Lt,[g.CatmullRomOpen]:Ft,[g.Linear]:tt,[g.LinearClosed]:It,[g.MonotoneX]:Xt,[g.MonotoneY]:Yt,[g.Natural]:Gt,[g.Step]:Vt,[g.StepAfter]:Zt,[g.StepBefore]:zt},re=Object.assign(Object.assign({},A.XYComponentDefaultConfig),{curveType:g.MonotoneX,lineWidth:2,lineDashArray:void 0,fallbackValue:void 0,highlightOnHover:!1,cursor:null,interpolateMissingData:!1}),ae=_.injectGlobal`
|
|
3
|
+
:root {
|
|
4
|
+
--vis-line-cursor: default;
|
|
5
|
+
--vis-line-stroke-dasharray: none;
|
|
6
|
+
--vis-line-stroke-dashoffset: 0;
|
|
7
|
+
|
|
8
|
+
--vis-line-gapfill-stroke-dasharray: 2 3;
|
|
9
|
+
--vis-line-gapfill-stroke-opacity: 0.8;
|
|
10
|
+
--vis-line-gapfill-stroke-dashoffset: 0;
|
|
11
|
+
}
|
|
12
|
+
`,le=_.css`
|
|
13
|
+
label: line-component;
|
|
14
|
+
`,D=_.css`
|
|
15
|
+
label: line;
|
|
16
|
+
transition: opacity 200ms;
|
|
17
|
+
cursor: var(--vis-line-cursor);
|
|
18
|
+
`,W=_.css`
|
|
19
|
+
label: linePath;
|
|
20
|
+
fill: none;
|
|
21
|
+
stroke-dasharray: var(--vis-line-stroke-dasharray);
|
|
22
|
+
stroke-dashoffset: var(--vis-line-stroke-dashoffset);
|
|
23
|
+
`,U=_.css`
|
|
24
|
+
label: lineSelectionHelper;
|
|
25
|
+
fill: none;
|
|
26
|
+
stroke: rgba(0, 0, 0, 0);
|
|
27
|
+
stroke-width: 8px;
|
|
28
|
+
`,Q=_.css`
|
|
29
|
+
opacity: 0.2;
|
|
30
|
+
`,J=_.css`
|
|
31
|
+
label: interpolated-path;
|
|
32
|
+
fill: none;
|
|
33
|
+
stroke-dasharray: var(--vis-line-gapfill-stroke-dasharray);
|
|
34
|
+
stroke-dashoffset: var(--vis-line-gapfill-stroke-dashoffset);
|
|
35
|
+
stroke-opacity: var(--vis-line-gapfill-stroke-opacity);
|
|
36
|
+
`,he=Object.freeze(Object.defineProperty({__proto__:null,dim:Q,globalStyles:ae,interpolatedPath:J,line:D,linePath:W,lineSelectionHelper:U,root:le},Symbol.toStringTag,{value:"Module"}));class G extends A.XYComponentCore{constructor(e){super(),this._defaultConfig=re,this.config=this._defaultConfig,this.curve=q[g.MonotoneX],this.events={[G.selectors.line]:{mouseover:this._highlight.bind(this),mouseleave:this._resetHighlight.bind(this)}},e&&this.setConfig(e)}get bleed(){const{config:{lineWidth:e}}=this,i=this.yScale.domain(),s=(this.yScale.range()[0]>this.yScale.range()[1]?A.Direction.North:A.Direction.South)===A.Direction.South,o=e>3,a=e>=10;return{top:!a&&(!s&&i[1]===0||s&&i[0]===0)?0:e/2,bottom:!a&&(!s&&i[0]===0||s&&i[1]===0)?0:e/2,left:o?e/2:0,right:o?e/2:0}}_render(e){super._render(e);const{config:i,datamodel:{data:n}}=this,s=_.isNumber(e)?e:i.duration;this.curve=q[i.curveType],this.lineGen=dt().x(h=>h.x).y(h=>h.y).defined(h=>h.defined).curve(this.curve);const o=_.isArray(i.y)?i.y:[i.y],a=n.map((h,u)=>this.xScale(_.getNumber(h,i.x,u))),r=o.map(h=>{const u=n.map((p,v)=>{const y=_.getNumber(p,h,v),k=(_.isNumber(y)||y===null)&&isFinite(y)?y:i.fallbackValue,T=i.interpolateMissingData?(_.isNumber(y)||y===null)&&isFinite(y):isFinite(k);return{x:a[v],y:this.yScale(k??0),defined:T,value:k}}),x=u.reduce((p,v)=>v.defined||p,!1);let m=!1;const S=u.reduce((p,v,y)=>{!v.defined&&isFinite(i.fallbackValue)&&p.push(Object.assign(Object.assign({},v),{defined:!0})),!v.defined&&!m&&(m=!0);const k=y>0&&!u[y-1].defined||y<u.length-1&&!u[y+1].defined;return v.defined&&k&&(m||p.push(Object.assign(Object.assign({},v),{defined:!1})),p.push(v),m=!1),p},[]),f=x&&u.some(p=>p.value!==null);return{values:u,defined:x,gaps:S,visible:f}}),l=this.g.selectAll(`.${D}`).data(r),d=l.enter().append("g").attr("class",D);d.append("path").attr("class",W).attr("stroke",(h,u)=>_.getColor(n,i.color,u)).attr("stroke-opacity",0).attr("stroke-width",i.lineWidth),d.append("path").attr("class",U).attr("d",this._emptyPath()),d.append("path").attr("class",J).attr("d",this._emptyPath()).style("opacity",0);const c=d.merge(l);c.style("cursor",(h,u)=>_.getString(n,i.cursor,u)),c.each((h,u,x)=>{var m;const S=_.select(x[u]),f=S.select(`.${W}`),p=S.select(`.${U}`),v=S.select(`.${J}`),y=h.visible,k=_.getValue(n,i.lineDashArray,u),T=_.smartTransition(f,s).attr("stroke",_.getColor(n,i.color,u)).attr("stroke-width",i.lineWidth).attr("stroke-opacity",y?1:0).style("stroke-dasharray",(m=k?.join(" "))!==null&&m!==void 0?m:null),M=h.values.some(C=>!C.defined),O=this.lineGen(h.values);if(s&&!M){const C=f.attr("d")||this._emptyPath(),P=O||this._emptyPath();T.attrTween("d",()=>Ct(C,P))}else h.visible&&T.attr("d",O);p.attr("d",O).attr("visibility",y?null:"hidden"),M&&i.interpolateMissingData?_.smartTransition(v,s).attr("d",this.lineGen(h.gaps)).attr("stroke",_.getColor(n,i.color,u)).attr("stroke-width",i.lineWidth-1).style("opacity",1):v.transition().duration(s).style("opacity",0)}),_.smartTransition(l.exit(),s).style("opacity",0).remove()}_emptyPath(){const e=this.xScale.range(),i=this.yScale.range();return`M${e[0]},${i[0]} L${e[1]},${i[0]}`}_highlight(e){const{config:i}=this;i.highlightOnHover&&this.g.selectAll(`.${D}`).classed(Q,n=>n!==e)}_resetHighlight(){const{config:e}=this;e.highlightOnHover&&this.g.selectAll(`.${D}`).classed(Q,!1)}}G.selectors=he;const ce=Object.assign(Object.assign({},A.XYComponentDefaultConfig),{color:void 0,curveType:g.MonotoneX,baseline:()=>0,opacity:1,cursor:null,minHeight1Px:!1,minHeight:void 0}),Pt=_.css`
|
|
37
|
+
label: area-component;
|
|
38
|
+
`,_e=_.injectGlobal`
|
|
39
|
+
:root {
|
|
40
|
+
--vis-area-cursor: default;
|
|
41
|
+
--vis-area-fill-opacity: 1;
|
|
42
|
+
--vis-area-stroke-color: none;
|
|
43
|
+
--vis-area-stroke-width: 0px;
|
|
44
|
+
--vis-area-stroke-dasharray: none;
|
|
45
|
+
--vis-area-stroke-opacity: 1;
|
|
46
|
+
--vis-area-hover-fill-opacity: none;
|
|
47
|
+
--vis-area-hover-stroke-width: none;
|
|
48
|
+
|
|
49
|
+
/* Dark Theme */
|
|
50
|
+
--vis-dark-area-stroke-color: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
body.theme-dark ${`.${Pt}`} {
|
|
54
|
+
--vis-area-stroke-color: var(--vis-dark-area-stroke-color);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
`,K=_.css`
|
|
58
|
+
label: area;
|
|
59
|
+
cursor: var(--vis-area-cursor);
|
|
60
|
+
fill-opacity: var(--vis-area-fill-opacity);
|
|
61
|
+
stroke-width: var(--vis-area-stroke-width);
|
|
62
|
+
stroke-dasharray: var(--vis-area-stroke-dasharray);
|
|
63
|
+
stroke: var(--vis-area-stroke-color);
|
|
64
|
+
stroke-opacity: var(--vis-area-stroke-opacity);
|
|
65
|
+
|
|
66
|
+
&:hover {
|
|
67
|
+
fill-opacity: var(--vis-area-hover-fill-opacity);
|
|
68
|
+
stroke-width: var(--vis-area-hover-stroke-width);
|
|
69
|
+
}
|
|
70
|
+
`,ue=Object.freeze(Object.defineProperty({__proto__:null,area:K,globalStyles:_e,root:Pt},Symbol.toStringTag,{value:"Module"}));class V extends A.XYComponentCore{constructor(e){super(),this._defaultConfig=ce,this.config=this._defaultConfig,this.stacked=!0,this.events={[V.selectors.area]:{}},e&&this.setConfig(e),this.stacked=Array.isArray(this.config.y)}_render(e){super._render(e);const{config:i,datamodel:{data:n}}=this,s=_.isNumber(e)?e:i.duration,o=q[i.curveType];this._areaGen=At().x(f=>f.x).y0(f=>f.y0).y1(f=>f.y1).curve(o);const a=_.isArray(i.y)?i.y:[i.y],r=n.map((f,p)=>this.xScale(_.getNumber(f,i.x,p))),l=_.getStackedData(n,i.baseline,a,this._prevNegative);this._prevNegative=l.map(f=>!!f.isMostlyNegative);const d=[],c=l.map(f=>f.map((p,v)=>{var y,k;const T=r[v],M=this.yScale(p[0]),O=this.yScale(p[1]),C=O>M,P=d[v]||0,B=C?M+P:M-P,R=C?O+P:O-P;let $=0;return(i.minHeight||i.minHeight1Px)&&Math.abs(R-B)<((y=i.minHeight)!==null&&y!==void 0?y:1)&&($=((k=i.minHeight)!==null&&k!==void 0?k:1)-Math.abs(R-B),d[v]=P+$),{x:T,y0:B,y1:C?R+$:R-$}})),h=c.length-1,u=c.reverse(),x=this.g.selectAll(`.${K}`).data(u),m=x.enter().append("path").attr("class",K).attr("d",f=>this._areaGen(f)||this._emptyPath()).style("opacity",0).style("fill",(f,p)=>_.getColor(n,i.color,h-p)),S=_.smartTransition(m.merge(x),s).style("opacity",(f,p)=>f.some(y=>y.y0-y.y1!==0)?_.getNumber(n,i.opacity,h-p):0).style("fill",(f,p)=>_.getColor(n,i.color,h-p)).style("cursor",(f,p)=>_.getString(n,i.cursor,h-p));s?S.attrTween("d",(p,v,y)=>{const k=_.select(y[v]).attr("d"),T=this._areaGen(p)||this._emptyPath();return Ct(k,T)}):S.attr("d",f=>this._areaGen(f)||this._emptyPath()),_.smartTransition(x.exit(),s).style("opacity",0).remove()}getYDataExtent(e){const{config:i,datamodel:n}=this,s=_.isArray(i.y)?i.y:[i.y],o=e?_.filterDataByRange(n.data,this.xScale.domain(),i.x):n.data;return _.getStackedExtent(o,i.baseline,...s)}_emptyPath(){const e=this.xScale.range(),i=this.yScale.domain(),n=this.yScale((i[0]+i[1])/2),s=n;return this._areaGen([{y0:n,y1:s,x:e[0]},{y0:n,y1:s,x:e[1]}])}}V.selectors=ue;const fe={"data-vis-component":""},pe=b.defineComponent({__name:"index",props:{color:{},curveType:{},baseline:{},opacity:{},cursor:{},minHeight1Px:{type:Boolean},minHeight:{},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const i=b.inject(_.o),n=t,s=b.computed(()=>i.data.value??n.data),o=_.m(n),a=b.ref();return b.onMounted(()=>{b.nextTick(()=>{var r;a.value=new V(o.value),(r=a.value)==null||r.setData(s.value),i.update(a.value)})}),b.onUnmounted(()=>{var r;(r=a.value)==null||r.destroy(),i.destroy()}),b.watch(o,(r,l)=>{var d;_.f(r,l)||(d=a.value)==null||d.setConfig(o.value)}),b.watch(s,()=>{var r;(r=a.value)==null||r.setData(s.value)}),e({component:a}),(r,l)=>(b.openBlock(),b.createElementBlock("div",fe))}}),ye={"data-vis-component":""},de=b.defineComponent({__name:"index",props:{color:{},curveType:{},lineWidth:{},lineDashArray:{},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{},interpolateMissingData:{type:Boolean},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const i=b.inject(_.o),n=t,s=b.computed(()=>i.data.value??n.data),o=_.m(n),a=b.ref();return b.onMounted(()=>{b.nextTick(()=>{var r;a.value=new G(o.value),(r=a.value)==null||r.setData(s.value),i.update(a.value)})}),b.onUnmounted(()=>{var r;(r=a.value)==null||r.destroy(),i.destroy()}),b.watch(o,(r,l)=>{var d;_.f(r,l)||(d=a.value)==null||d.setConfig(o.value)}),b.watch(s,()=>{var r;(r=a.value)==null||r.setData(s.value)}),e({component:a}),(r,l)=>(b.openBlock(),b.createElementBlock("div",ye))}});exports.P=pe;exports.S=de;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { c as E, a as y, t as W, e as z, d as O, p as M, i as R, b as B } from "./index-L54VBzwJ.mjs";
|
|
2
|
+
import { shallowRef as p, watch as S, computed as b, toValue as w, watchEffect as H, hasInjectionContext as C, unref as N, getCurrentInstance as T, onMounted as L } from "vue";
|
|
3
|
+
const g = y ? window : void 0;
|
|
4
|
+
function m(o) {
|
|
5
|
+
var e;
|
|
6
|
+
const u = w(o);
|
|
7
|
+
return (e = u?.$el) != null ? e : u;
|
|
8
|
+
}
|
|
9
|
+
function I(...o) {
|
|
10
|
+
const e = [], u = () => {
|
|
11
|
+
e.forEach((t) => t()), e.length = 0;
|
|
12
|
+
}, f = (t, i, s, c) => (t.addEventListener(i, s, c), () => t.removeEventListener(i, s, c)), d = b(() => {
|
|
13
|
+
const t = W(w(o[0])).filter((i) => i != null);
|
|
14
|
+
return t.every((i) => typeof i != "string") ? t : void 0;
|
|
15
|
+
}), h = z(
|
|
16
|
+
() => {
|
|
17
|
+
var t, i;
|
|
18
|
+
return [
|
|
19
|
+
(i = (t = d.value) == null ? void 0 : t.map((s) => m(s))) != null ? i : [g].filter((s) => s != null),
|
|
20
|
+
W(w(d.value ? o[1] : o[0])),
|
|
21
|
+
W(N(d.value ? o[2] : o[1])),
|
|
22
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
23
|
+
w(d.value ? o[3] : o[2])
|
|
24
|
+
];
|
|
25
|
+
},
|
|
26
|
+
([t, i, s, c]) => {
|
|
27
|
+
if (u(), !t?.length || !i?.length || !s?.length)
|
|
28
|
+
return;
|
|
29
|
+
const n = B(c) ? { ...c } : c;
|
|
30
|
+
e.push(
|
|
31
|
+
...t.flatMap(
|
|
32
|
+
(a) => i.flatMap(
|
|
33
|
+
(v) => s.map((r) => f(a, v, r, n))
|
|
34
|
+
)
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
},
|
|
38
|
+
{ flush: "post" }
|
|
39
|
+
), l = () => {
|
|
40
|
+
h(), u();
|
|
41
|
+
};
|
|
42
|
+
return O(u), l;
|
|
43
|
+
}
|
|
44
|
+
function P() {
|
|
45
|
+
const o = p(!1), e = T();
|
|
46
|
+
return e && L(() => {
|
|
47
|
+
o.value = !0;
|
|
48
|
+
}, e), o;
|
|
49
|
+
}
|
|
50
|
+
function V(o) {
|
|
51
|
+
const e = P();
|
|
52
|
+
return b(() => (e.value, !!o()));
|
|
53
|
+
}
|
|
54
|
+
const j = /* @__PURE__ */ Symbol("vueuse-ssr-width");
|
|
55
|
+
function A() {
|
|
56
|
+
const o = C() ? R(j, null) : null;
|
|
57
|
+
return typeof o == "number" ? o : void 0;
|
|
58
|
+
}
|
|
59
|
+
function F(o, e = {}) {
|
|
60
|
+
const { window: u = g, ssrWidth: f = A() } = e, d = V(() => u && "matchMedia" in u && typeof u.matchMedia == "function"), h = p(typeof f == "number"), l = p(), t = p(!1), i = (s) => {
|
|
61
|
+
t.value = s.matches;
|
|
62
|
+
};
|
|
63
|
+
return H(() => {
|
|
64
|
+
if (h.value) {
|
|
65
|
+
h.value = !d.value;
|
|
66
|
+
const s = w(o).split(",");
|
|
67
|
+
t.value = s.some((c) => {
|
|
68
|
+
const n = c.includes("not all"), a = c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), v = c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
69
|
+
let r = !!(a || v);
|
|
70
|
+
return a && r && (r = f >= M(a[1])), v && r && (r = f <= M(v[1])), n ? !r : r;
|
|
71
|
+
});
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
d.value && (l.value = u.matchMedia(w(o)), t.value = l.value.matches);
|
|
75
|
+
}), I(l, "change", i, { passive: !0 }), b(() => t.value);
|
|
76
|
+
}
|
|
77
|
+
function Q(o, e, u = {}) {
|
|
78
|
+
const { window: f = g, ...d } = u;
|
|
79
|
+
let h;
|
|
80
|
+
const l = V(() => f && "ResizeObserver" in f), t = () => {
|
|
81
|
+
h && (h.disconnect(), h = void 0);
|
|
82
|
+
}, i = b(() => {
|
|
83
|
+
const n = w(o);
|
|
84
|
+
return Array.isArray(n) ? n.map((a) => m(a)) : [m(n)];
|
|
85
|
+
}), s = S(
|
|
86
|
+
i,
|
|
87
|
+
(n) => {
|
|
88
|
+
if (t(), l.value && f) {
|
|
89
|
+
h = new ResizeObserver(e);
|
|
90
|
+
for (const a of n)
|
|
91
|
+
a && h.observe(a, d);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{ immediate: !0, flush: "post" }
|
|
95
|
+
), c = () => {
|
|
96
|
+
t(), s();
|
|
97
|
+
};
|
|
98
|
+
return O(c), {
|
|
99
|
+
isSupported: l,
|
|
100
|
+
stop: c
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function D(o, e = { width: 0, height: 0 }, u = {}) {
|
|
104
|
+
const { window: f = g, box: d = "content-box" } = u, h = b(() => {
|
|
105
|
+
var n, a;
|
|
106
|
+
return (a = (n = m(o)) == null ? void 0 : n.namespaceURI) == null ? void 0 : a.includes("svg");
|
|
107
|
+
}), l = p(e.width), t = p(e.height), { stop: i } = Q(
|
|
108
|
+
o,
|
|
109
|
+
([n]) => {
|
|
110
|
+
const a = d === "border-box" ? n.borderBoxSize : d === "content-box" ? n.contentBoxSize : n.devicePixelContentBoxSize;
|
|
111
|
+
if (f && h.value) {
|
|
112
|
+
const v = m(o);
|
|
113
|
+
if (v) {
|
|
114
|
+
const r = v.getBoundingClientRect();
|
|
115
|
+
l.value = r.width, t.value = r.height;
|
|
116
|
+
}
|
|
117
|
+
} else if (a) {
|
|
118
|
+
const v = W(a);
|
|
119
|
+
l.value = v.reduce((r, { inlineSize: x }) => r + x, 0), t.value = v.reduce((r, { blockSize: x }) => r + x, 0);
|
|
120
|
+
} else
|
|
121
|
+
l.value = n.contentRect.width, t.value = n.contentRect.height;
|
|
122
|
+
},
|
|
123
|
+
u
|
|
124
|
+
);
|
|
125
|
+
E(() => {
|
|
126
|
+
const n = m(o);
|
|
127
|
+
n && (l.value = "offsetWidth" in n ? n.offsetWidth : e.width, t.value = "offsetHeight" in n ? n.offsetHeight : e.height);
|
|
128
|
+
});
|
|
129
|
+
const s = S(
|
|
130
|
+
() => m(o),
|
|
131
|
+
(n) => {
|
|
132
|
+
l.value = n ? e.width : 0, t.value = n ? e.height : 0;
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
function c() {
|
|
136
|
+
i(), s();
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
width: l,
|
|
140
|
+
height: t,
|
|
141
|
+
stop: c
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function G(o = {}) {
|
|
145
|
+
const {
|
|
146
|
+
window: e = g,
|
|
147
|
+
initialWidth: u = Number.POSITIVE_INFINITY,
|
|
148
|
+
initialHeight: f = Number.POSITIVE_INFINITY,
|
|
149
|
+
listenOrientation: d = !0,
|
|
150
|
+
includeScrollbar: h = !0,
|
|
151
|
+
type: l = "inner"
|
|
152
|
+
} = o, t = p(u), i = p(f), s = () => {
|
|
153
|
+
if (e)
|
|
154
|
+
if (l === "outer")
|
|
155
|
+
t.value = e.outerWidth, i.value = e.outerHeight;
|
|
156
|
+
else if (l === "visual" && e.visualViewport) {
|
|
157
|
+
const { width: n, height: a, scale: v } = e.visualViewport;
|
|
158
|
+
t.value = Math.round(n * v), i.value = Math.round(a * v);
|
|
159
|
+
} else h ? (t.value = e.innerWidth, i.value = e.innerHeight) : (t.value = e.document.documentElement.clientWidth, i.value = e.document.documentElement.clientHeight);
|
|
160
|
+
};
|
|
161
|
+
s(), E(s);
|
|
162
|
+
const c = { passive: !0 };
|
|
163
|
+
if (I("resize", s, c), e && l === "visual" && e.visualViewport && I(e.visualViewport, "resize", s, c), d) {
|
|
164
|
+
const n = F("(orientation: portrait)");
|
|
165
|
+
S(n, () => s());
|
|
166
|
+
}
|
|
167
|
+
return { width: t, height: i };
|
|
168
|
+
}
|
|
169
|
+
export {
|
|
170
|
+
G as a,
|
|
171
|
+
D as u
|
|
172
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("@oneclick.dev/cms-kit"),o=require("lucide-vue-next"),r={class:"@container w-full"},a={class:"flex flex-col space-y-4 @5xl:flex-row @5xl:space-x-6 @5xl:space-y-0 w-full"},u={class:"hidden @5xl:block @5xl:w-1/5 @7xl:w-[255px] shrink-0 pt-8"},d={class:"flex flex-col flex-1 min-w-0"},m={class:"@5xl:hidden pt-4"},p=e.defineComponent({__name:"index",setup(_){const{pageComponent:c,resolvePath:t}=l.useModuleRoute(),n=[{to:t(""),title:"Overview",subtitle:"Key metrics & realtime",icon:o.LayoutDashboard},{to:t("/acquisition"),title:"Acquisition",subtitle:"Where your traffic comes from",icon:o.Megaphone},{to:t("/content"),title:"Content",subtitle:"Page performance & engagement",icon:o.FileText},{to:t("/audience"),title:"Audience",subtitle:"Who visits your site",icon:o.Users},{to:t("/seo"),title:"SEO Health",subtitle:"Search Console & rankings",icon:o.Search}];return(v,x)=>{const i=e.resolveComponent("VerticalNav"),s=e.resolveComponent("DrawerNav");return e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",a,[e.createElementVNode("div",u,[e.createVNode(i,{links:n})]),e.createElementVNode("div",d,[e.createElementVNode("div",m,[e.createVNode(s,{links:n})]),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(c))))])])])}}});exports.default=p;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as e, createElementBlock as t, createBlock as c, resolveDynamicComponent as u, unref as i } from "vue";
|
|
2
|
+
import { useModuleRoute as p } from "@oneclick.dev/cms-kit";
|
|
3
|
+
const s = /* @__PURE__ */ r({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
config: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
routes: {
|
|
11
|
+
type: Array,
|
|
12
|
+
required: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
const { pageComponent: n } = p();
|
|
17
|
+
return (l, m) => (e(), t("div", null, [
|
|
18
|
+
(e(), c(u(i(n)), { config: o.config }, null, 8, ["config"]))
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("@oneclick.dev/cms-kit"),t=e.defineComponent({__name:"index",setup(r){const{pageComponent:n}=o.useModuleRoute();return(c,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(n))))}});exports.default=t;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as e, createElementBlock as t, createBlock as c, resolveDynamicComponent as u, unref as i } from "vue";
|
|
2
|
+
import { useModuleRoute as p } from "@oneclick.dev/cms-kit";
|
|
3
|
+
const s = /* @__PURE__ */ r({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
config: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
},
|
|
10
|
+
routes: {
|
|
11
|
+
type: Array,
|
|
12
|
+
required: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
const { pageComponent: n } = p();
|
|
17
|
+
return (l, m) => (e(), t("div", null, [
|
|
18
|
+
(e(), c(u(i(n)), { config: o.config }, null, 8, ["config"]))
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as n, openBlock as i, createElementBlock as m, createElementVNode as t, createVNode as s, createBlock as d, resolveDynamicComponent as p, unref as u } from "vue";
|
|
2
|
+
import { useModuleRoute as _ } from "@oneclick.dev/cms-kit";
|
|
3
|
+
import { LayoutDashboard as f, Megaphone as x, FileText as h, Users as v, Search as k } from "lucide-vue-next";
|
|
4
|
+
const w = { class: "@container w-full" }, b = { class: "flex flex-col space-y-4 @5xl:flex-row @5xl:space-x-6 @5xl:space-y-0 w-full" }, y = { class: "hidden @5xl:block @5xl:w-1/5 @7xl:w-[255px] shrink-0 pt-8" }, g = { class: "flex flex-col flex-1 min-w-0" }, C = { class: "@5xl:hidden pt-4" }, q = /* @__PURE__ */ r({
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(N) {
|
|
7
|
+
const { pageComponent: c, resolvePath: e } = _(), o = [
|
|
8
|
+
{ to: e(""), title: "Overview", subtitle: "Key metrics & realtime", icon: f },
|
|
9
|
+
{ to: e("/acquisition"), title: "Acquisition", subtitle: "Where your traffic comes from", icon: x },
|
|
10
|
+
{ to: e("/content"), title: "Content", subtitle: "Page performance & engagement", icon: h },
|
|
11
|
+
{ to: e("/audience"), title: "Audience", subtitle: "Who visits your site", icon: v },
|
|
12
|
+
{ to: e("/seo"), title: "SEO Health", subtitle: "Search Console & rankings", icon: k }
|
|
13
|
+
];
|
|
14
|
+
return (D, V) => {
|
|
15
|
+
const l = n("VerticalNav"), a = n("DrawerNav");
|
|
16
|
+
return i(), m("div", w, [
|
|
17
|
+
t("div", b, [
|
|
18
|
+
t("div", y, [
|
|
19
|
+
s(l, { links: o })
|
|
20
|
+
]),
|
|
21
|
+
t("div", g, [
|
|
22
|
+
t("div", C, [
|
|
23
|
+
s(a, { links: o })
|
|
24
|
+
]),
|
|
25
|
+
(i(), d(p(u(c))))
|
|
26
|
+
])
|
|
27
|
+
])
|
|
28
|
+
]);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
q as default
|
|
34
|
+
};
|