@trilogy-data/trilogy-studio-components 0.1.12 → 0.1.14
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/{ChatCreatorModal-kIXgcJQp.js → ChatCreatorModal-D-CByWEF.js} +12 -12
- package/dist/{Dashboard-B-YfrO5u.js → Dashboard-CCWjUVBq.js} +347 -348
- package/dist/{DashboardCreatorInline-C6fr4jNo.js → DashboardCreatorInline-DRlxDEBN.js} +1 -1
- package/dist/{DashboardMobile-D911XYkl.js → DashboardMobile-GOPaxc9_.js} +104 -103
- package/dist/{LLMConnectionList-DZbu1kGq.js → LLMConnectionList-ByLjIXLO.js} +1168 -1213
- package/dist/{LLMView-C4RQS1B8.js → LLMView-B7XLbzBx.js} +53 -51
- package/dist/Manager-B2wTf-lw.js +4 -0
- package/dist/{ResultComponent-fVgARLAb.js → ResultComponent-BKuWOt_p.js} +37 -34
- package/dist/Sidebar-CMy9ptnW.js +2188 -0
- package/dist/TutorialPage-9YzXa97t.js +509 -0
- package/dist/{WelcomePage-LRJvygaE.js → WelcomePage-BMcBpSQ7.js} +4 -4
- package/dist/components/AssetAutoImporter.vue.d.ts.map +1 -1
- package/dist/components/ChartControlPanel.vue.d.ts.map +1 -1
- package/dist/components/CodeBlock.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog.vue.d.ts +25 -0
- package/dist/components/ConfirmDialog.vue.d.ts.map +1 -0
- package/dist/components/ContextMenu.vue.d.ts +4 -2
- package/dist/components/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/DataTable.vue.d.ts +9 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/EditableTitle.vue.d.ts.map +1 -1
- package/dist/components/HintComponent.vue.d.ts +1 -1
- package/dist/components/HintComponent.vue.d.ts.map +1 -1
- package/dist/components/LoadingButton.vue.d.ts.map +1 -1
- package/dist/components/MarkdownRenderer.vue.d.ts +1 -0
- package/dist/components/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/components/ModalDialog.vue.d.ts +36 -0
- package/dist/components/ModalDialog.vue.d.ts.map +1 -0
- package/dist/components/PopupModal.vue.d.ts.map +1 -1
- package/dist/components/SimpleEditor.vue.d.ts +117 -0
- package/dist/components/SimpleEditor.vue.d.ts.map +1 -1
- package/dist/components/StatusIcon.vue.d.ts +3 -3
- package/dist/components/StatusIcon.vue.d.ts.map +1 -1
- package/dist/components/StoreTokenModal.vue.d.ts +18 -0
- package/dist/components/StoreTokenModal.vue.d.ts.map +1 -0
- package/dist/components/SymbolsPane.vue.d.ts.map +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/chartRenderManager.d.ts +2 -0
- package/dist/components/chartRenderManager.d.ts.map +1 -1
- package/dist/components/community/AddStoreModal.vue.d.ts +46 -1
- package/dist/components/community/AddStoreModal.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModelCard.vue.d.ts +3 -3
- package/dist/components/community/CommunityModelCard.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModelHeader.vue.d.ts +7 -4
- package/dist/components/community/CommunityModelHeader.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModels.vue.d.ts +4 -4
- package/dist/components/community/CommunityModels.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityRemote.vue.d.ts.map +1 -1
- package/dist/components/connection/ConnectionDatabase.vue.d.ts.map +1 -1
- package/dist/components/connection/ConnectionSchema.vue.d.ts.map +1 -1
- package/dist/components/connection/ConnectionTable.vue.d.ts +9 -0
- package/dist/components/connection/ConnectionTable.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Dashboard.vue.d.ts +4 -4
- package/dist/components/dashboard/Dashboard.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts +4 -4
- package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardCTA.vue.d.ts +4 -4
- package/dist/components/dashboard/DashboardCTA.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardChart.vue.d.ts +1 -1
- package/dist/components/dashboard/DashboardChart.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardChartEditor.vue.d.ts +234 -2
- package/dist/components/dashboard/DashboardChartEditor.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardDataSelector.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardEditorDialog.vue.d.ts +42 -0
- package/dist/components/dashboard/DashboardEditorDialog.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardFilter.vue.d.ts +0 -1
- package/dist/components/dashboard/DashboardFilter.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardFilterAutocomplete.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardGridItem.vue.d.ts +4 -4
- package/dist/components/dashboard/DashboardGridItem.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardHeader.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts +1 -0
- package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardImportPopup.vue.d.ts +5 -7
- package/dist/components/dashboard/DashboardImportPopup.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardImportSelector.vue.d.ts +4 -1
- package/dist/components/dashboard/DashboardImportSelector.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardMarkdown.vue.d.ts +1 -20
- package/dist/components/dashboard/DashboardMarkdown.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts +234 -1
- package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardMobile.vue.d.ts +3 -3
- package/dist/components/dashboard/DashboardMobile.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardSharePopup.vue.d.ts +5 -7
- package/dist/components/dashboard/DashboardSharePopup.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardTable.vue.d.ts +9 -1
- package/dist/components/dashboard/DashboardTable.vue.d.ts.map +1 -1
- package/dist/components/dashboard/useDashboard.d.ts.map +1 -1
- package/dist/components/dashboard/useDashboardItemShell.d.ts +28 -0
- package/dist/components/dashboard/useDashboardItemShell.d.ts.map +1 -0
- package/dist/components/editor/Editor.vue.d.ts +20 -6
- package/dist/components/editor/Editor.vue.d.ts.map +1 -1
- package/dist/components/editor/EditorCreatorInline.vue.d.ts.map +1 -1
- package/dist/components/editor/EditorHeader.vue.d.ts +10 -3
- package/dist/components/editor/EditorHeader.vue.d.ts.map +1 -1
- package/dist/components/editor/ResultComponent.vue.d.ts +75 -181
- package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
- package/dist/components/editor/Results.vue.d.ts +9 -0
- package/dist/components/editor/Results.vue.d.ts.map +1 -1
- package/dist/components/editor/editorHelpers.d.ts +1 -1
- package/dist/components/editor/editorHelpers.d.ts.map +1 -1
- package/dist/components/jobs/JobsAddStoreModal.vue.d.ts +14 -0
- package/dist/components/jobs/JobsAddStoreModal.vue.d.ts.map +1 -0
- package/dist/components/jobs/JobsView.vue.d.ts +6 -0
- package/dist/components/jobs/JobsView.vue.d.ts.map +1 -0
- package/dist/components/layout/MobileSidebarLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedBrowser.vue.d.ts +1 -12
- package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/llm/ArtifactsPane.vue.d.ts +11 -2
- package/dist/components/llm/ArtifactsPane.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatArtifact.vue.d.ts +10 -0
- package/dist/components/llm/ChatArtifact.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatCreatorModal.vue.d.ts +1 -9
- package/dist/components/llm/ChatCreatorModal.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMChat.vue.d.ts +9 -36
- package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMChatSplitView.vue.d.ts +55 -185
- package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts +47 -180
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -1
- package/dist/components/llm/toolCallDisplay.d.ts +13 -0
- package/dist/components/llm/toolCallDisplay.d.ts.map +1 -0
- package/dist/components/model/ModelCard.vue.d.ts +22 -5
- package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
- package/dist/components/model/ModelConcept.vue.d.ts.map +1 -1
- package/dist/components/model/ModelCreator.vue.d.ts +3 -0
- package/dist/components/model/ModelCreator.vue.d.ts.map +1 -1
- package/dist/components/model/ModelSelector.vue.d.ts.map +1 -1
- package/dist/components/sidebar/CommunityModelList.vue.d.ts +284 -0
- package/dist/components/sidebar/CommunityModelList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts +7 -7
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionCreatorInline.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionIcon.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionList.vue.d.ts +21 -71
- package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionListItem.vue.d.ts +15 -61
- package/dist/components/sidebar/ConnectionListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionRefresh.vue.d.ts.map +1 -1
- package/dist/components/sidebar/CreateEditorFromDatasourcePopup.vue.d.ts.map +1 -1
- package/dist/components/sidebar/DashboardList.vue.d.ts +33 -75
- package/dist/components/sidebar/DashboardList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/DashboardListItem.vue.d.ts +13 -59
- package/dist/components/sidebar/DashboardListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/DuckDBImporter.vue.d.ts +1 -0
- package/dist/components/sidebar/DuckDBImporter.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorList.vue.d.ts +190 -67
- package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorListItem.vue.d.ts +16 -59
- package/dist/components/sidebar/EditorListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/GenericSidebarItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/JobsList.vue.d.ts +12 -0
- package/dist/components/sidebar/JobsList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/JobsListItem.vue.d.ts +25 -0
- package/dist/components/sidebar/JobsListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts +14 -356
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts +15 -190
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ModelSidebar.vue.d.ts +15 -0
- package/dist/components/sidebar/ModelSidebar.vue.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.vue.d.ts +3966 -0
- package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/SidebarOverflowMenu.vue.d.ts +19 -0
- package/dist/components/sidebar/SidebarOverflowMenu.vue.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarTagChip.vue.d.ts +6 -0
- package/dist/components/sidebar/SidebarTagChip.vue.d.ts.map +1 -0
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +97 -186
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
- package/dist/components/useConfirmationState.d.ts +10 -0
- package/dist/components/useConfirmationState.d.ts.map +1 -0
- package/dist/composables/useClickOutside.d.ts +12 -0
- package/dist/composables/useClickOutside.d.ts.map +1 -0
- package/dist/connections/index.d.ts +1 -0
- package/dist/connections/index.d.ts.map +1 -1
- package/dist/connections/remoteProject.d.ts +23 -0
- package/dist/connections/remoteProject.d.ts.map +1 -0
- package/dist/{cssMode-DCSjJlZ5.js → cssMode-Cfy3yIk-.js} +1 -1
- package/dist/dashboards/base.d.ts +2 -1
- package/dist/dashboards/base.d.ts.map +1 -1
- package/dist/dashboards/prompts.d.ts +1 -1
- package/dist/dashboards/prompts.d.ts.map +1 -1
- package/dist/dashboards/spec.d.ts +4 -0
- package/dist/dashboards/spec.d.ts.map +1 -1
- package/dist/data/index.d.ts +1 -0
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/localStorage.d.ts +3 -3
- package/dist/data/localStorage.d.ts.map +1 -1
- package/dist/data/remoteStoreStorage.d.ts +46 -0
- package/dist/data/remoteStoreStorage.d.ts.map +1 -0
- package/dist/data/storage.d.ts +6 -6
- package/dist/data/storage.d.ts.map +1 -1
- package/dist/data/tutorial/reference.d.ts.map +1 -1
- package/dist/editors/editor.d.ts +19 -5
- package/dist/editors/editor.d.ts.map +1 -1
- package/dist/editors/fileTypes.d.ts +12 -0
- package/dist/editors/fileTypes.d.ts.map +1 -0
- package/dist/editors/helpers.d.ts +2 -0
- package/dist/editors/helpers.d.ts.map +1 -1
- package/dist/{freemarker2-BKjHRYvq.js → freemarker2-Dy8u-XQv.js} +1 -1
- package/dist/{handlebars-D_px6u7k.js → handlebars-BDrD8h_c.js} +1 -1
- package/dist/{html-Bm-h8fTq.js → html-CKz7V4Cn.js} +1 -1
- package/dist/{htmlMode-YODzRvjv.js → htmlMode-BZE5C9QD.js} +1 -1
- package/dist/{javascript-DZrwO1Xq.js → javascript-Cav2mApM.js} +1 -1
- package/dist/{jsonMode-_ThxxZQx.js → jsonMode-B6434NZu.js} +1 -1
- package/dist/{liquid-I2p3UrJy.js → liquid-Cq-Omf5B.js} +1 -1
- package/dist/llm/chatToolExecutor.d.ts.map +1 -1
- package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -1
- package/dist/llm/toolLoopCore.d.ts.map +1 -1
- package/dist/{main-Bjg9NFbT.js → main-C-6acy1R.js} +54550 -52400
- package/dist/main.css +1 -1
- package/dist/main.js +16 -16
- package/dist/main.umd.cjs +580 -559
- package/dist/{mdx-e5VczKhJ.js → mdx-DYvw7-lF.js} +1 -1
- package/dist/models/helpers.d.ts +16 -4
- package/dist/models/helpers.d.ts.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.d.ts.map +1 -1
- package/dist/monaco/editorHelpers.d.ts.map +1 -1
- package/dist/prism-clike-SH1s-yiH.js +31 -0
- package/dist/prism-javascript-CLux6jF8.js +137 -0
- package/dist/prism-json-iVb7He6L.js +25 -0
- package/dist/prism-markdown-tjNeCMi3.js +300 -0
- package/dist/prism-markup-BNGj0Tvm.js +173 -0
- package/dist/prism-python-DBk-6kcY.js +71 -0
- package/dist/prism-typescript-Crma_dEX.js +55 -0
- package/dist/{python-CUAfebEu.js → python-BTTSwl4o.js} +1 -1
- package/dist/{razor-B95YKGrm.js → razor-BVBhJqGl.js} +1 -1
- package/dist/remotes/genericStoreMetadata.d.ts +8 -0
- package/dist/remotes/genericStoreMetadata.d.ts.map +1 -0
- package/dist/remotes/jobs.d.ts +38 -0
- package/dist/remotes/jobs.d.ts.map +1 -0
- package/dist/remotes/jobsService.d.ts +15 -0
- package/dist/remotes/jobsService.d.ts.map +1 -0
- package/dist/remotes/models.d.ts +2 -1
- package/dist/remotes/models.d.ts.map +1 -1
- package/dist/remotes/remoteStoreSync.d.ts +7 -0
- package/dist/remotes/remoteStoreSync.d.ts.map +1 -0
- package/dist/remotes/storeService.d.ts +2 -1
- package/dist/remotes/storeService.d.ts.map +1 -1
- package/dist/stores/Manager.vue.d.ts +9 -0
- package/dist/stores/Manager.vue.d.ts.map +1 -1
- package/dist/stores/communityApiStore.d.ts +6 -0
- package/dist/stores/communityApiStore.d.ts.map +1 -1
- package/dist/stores/editorStore.d.ts +7 -2
- package/dist/stores/editorStore.d.ts.map +1 -1
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/stores/jobsApiStore.d.ts +45 -0
- package/dist/stores/jobsApiStore.d.ts.map +1 -0
- package/dist/stores/modelStore.d.ts.map +1 -1
- package/dist/stores/queryExecutionService.d.ts +6 -4
- package/dist/stores/queryExecutionService.d.ts.map +1 -1
- package/dist/stores/resolver.d.ts +4 -4
- package/dist/stores/resolver.d.ts.map +1 -1
- package/dist/stores/useScreenNavigation.d.ts +3 -1
- package/dist/stores/useScreenNavigation.d.ts.map +1 -1
- package/dist/stores/userSettingsStore.d.ts.map +1 -1
- package/dist/{tsMode-BcjYt2WB.js → tsMode-z99lZ8eT.js} +1 -1
- package/dist/{typescript-Ck_cSGyE.js → typescript-BXQnMlGm.js} +1 -1
- package/dist/useDashboard-3deVRse_.js +3502 -0
- package/dist/utility/markdownRenderer.d.ts.map +1 -1
- package/dist/utility/prism.d.ts +5 -0
- package/dist/utility/prism.d.ts.map +1 -0
- package/dist/utils/terminalOutput.d.ts +3 -0
- package/dist/utils/terminalOutput.d.ts.map +1 -0
- package/dist/views/ConnectionView.vue.d.ts +9 -0
- package/dist/views/ConnectionView.vue.d.ts.map +1 -1
- package/dist/views/IDE.vue.d.ts +7 -0
- package/dist/views/IDE.vue.d.ts.map +1 -0
- package/dist/views/LLMView.vue.d.ts +232 -846
- package/dist/views/LLMView.vue.d.ts.map +1 -1
- package/dist/views/MobileIDE.vue.d.ts +6 -0
- package/dist/views/MobileIDE.vue.d.ts.map +1 -0
- package/dist/views/ModelView.vue.d.ts +46 -10
- package/dist/views/ModelView.vue.d.ts.map +1 -1
- package/dist/views/ResponsiveIDE.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +465 -907
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/{xml-Do52fQeS.js → xml-Ci-UOFva.js} +1 -1
- package/dist/{yaml-C8U7HH0M.js → yaml-XEOisXAU.js} +1 -1
- package/package.json +1 -1
- package/dist/Manager-CoKiEZT-.js +0 -4
- package/dist/Sidebar-esb9EqnY.js +0 -1862
- package/dist/TutorialPage-DfA2845i.js +0 -482
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +0 -52
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +0 -1
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts +0 -61
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +0 -1
- package/dist/useDashboard-BnXAbWPO.js +0 -3352
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as sn, ref as k, provide as Bo, onBeforeUnmount as Vn, onBeforeMount as Lo, onMounted as Kn, nextTick as yt, watch as G, createElementBlock as Pt, openBlock as vt, normalizeStyle as Te, renderSlot as Qn, withDirectives as Ho, createVNode as Bt, vShow as Wo, inject as jo, computed as Lt, useSlots as $o, normalizeClass as yn, createCommentVNode as Ye, getCurrentInstance as Uo, createBlock as xe, unref as
|
|
2
|
-
import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-
|
|
3
|
-
import { D as ti } from "./DashboardCreatorInline-
|
|
4
|
-
import {
|
|
5
|
-
var oi = Object.defineProperty, ii = (e, t, n) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n,
|
|
1
|
+
import { defineComponent as sn, ref as k, provide as Bo, onBeforeUnmount as Vn, onBeforeMount as Lo, onMounted as Kn, nextTick as yt, watch as G, createElementBlock as Pt, openBlock as vt, normalizeStyle as Te, renderSlot as Qn, withDirectives as Ho, createVNode as Bt, vShow as Wo, inject as jo, computed as Lt, useSlots as $o, normalizeClass as yn, createCommentVNode as Ye, getCurrentInstance as Uo, createBlock as xe, unref as I, createElementVNode as He, withCtx as bn, Fragment as xn, renderList as Xo, Teleport as wn, toDisplayString as qo } from "vue";
|
|
2
|
+
import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-3deVRse_.js";
|
|
3
|
+
import { D as ti } from "./DashboardCreatorInline-DRlxDEBN.js";
|
|
4
|
+
import { N as ei, a as ni } from "./main-C-6acy1R.js";
|
|
5
|
+
var oi = Object.defineProperty, ii = (e, t, n) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, p = (e, t, n) => (ii(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
6
6
|
function ri(e) {
|
|
7
7
|
let t = 0, n;
|
|
8
8
|
for (let o = 0, i = e.length; o < i; o++)
|
|
@@ -31,15 +31,15 @@ function Zt(e, t, n) {
|
|
|
31
31
|
}
|
|
32
32
|
function ai(e, t, n, o) {
|
|
33
33
|
if (n)
|
|
34
|
-
for (; t.y > 0 && !
|
|
34
|
+
for (; t.y > 0 && !pe(e, t); )
|
|
35
35
|
t.y--;
|
|
36
36
|
else if (o) {
|
|
37
37
|
const r = o[t.i].y;
|
|
38
|
-
for (; t.y > r && !
|
|
38
|
+
for (; t.y > r && !pe(e, t); )
|
|
39
39
|
t.y--;
|
|
40
40
|
}
|
|
41
41
|
let i;
|
|
42
|
-
for (; i =
|
|
42
|
+
for (; i = pe(e, t); )
|
|
43
43
|
t.y = i.y + i.h;
|
|
44
44
|
return t;
|
|
45
45
|
}
|
|
@@ -50,7 +50,7 @@ function li(e, t) {
|
|
|
50
50
|
if (r.x + r.w > t.cols && (r.x = t.cols - r.w), r.x < 0 && (r.x = 0, r.w = t.cols), !r.static)
|
|
51
51
|
n.push(r);
|
|
52
52
|
else
|
|
53
|
-
for (;
|
|
53
|
+
for (; pe(n, r); )
|
|
54
54
|
r.y++;
|
|
55
55
|
}
|
|
56
56
|
return e;
|
|
@@ -60,7 +60,7 @@ function En(e, t) {
|
|
|
60
60
|
if (e[n].i === t)
|
|
61
61
|
return e[n];
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function pe(e, t) {
|
|
64
64
|
for (let n = 0, o = e.length; n < o; n++)
|
|
65
65
|
if (Jn(e[n], t))
|
|
66
66
|
return e[n];
|
|
@@ -81,7 +81,7 @@ function Ve(e, t, n, o, i, r) {
|
|
|
81
81
|
const u = Zn(c, t);
|
|
82
82
|
if (r && u.length)
|
|
83
83
|
return t.x = s, t.y = a, t.moved = !1, e;
|
|
84
|
-
for (let d = 0,
|
|
84
|
+
for (let d = 0, f = u.length; d < f; d++) {
|
|
85
85
|
const g = u[d];
|
|
86
86
|
g.moved || t.y > g.y && t.y - g.y > g.h / 4 || (g.static ? e = Sn(e, g, t, i) : e = Sn(e, t, g, i));
|
|
87
87
|
}
|
|
@@ -95,7 +95,7 @@ function Sn(e, t, n, o) {
|
|
|
95
95
|
w: n.w,
|
|
96
96
|
h: n.h
|
|
97
97
|
};
|
|
98
|
-
if (i.y = Math.max(t.y - n.h, 0), !
|
|
98
|
+
if (i.y = Math.max(t.y - n.h, 0), !pe(e, i))
|
|
99
99
|
return Ve(e, n, void 0, i.y, !1);
|
|
100
100
|
}
|
|
101
101
|
return Ve(e, n, void 0, n.y + 1, !1);
|
|
@@ -149,7 +149,7 @@ function eo(e) {
|
|
|
149
149
|
return t.y === n.y && t.x === n.x ? 0 : t.y > n.y || t.y === n.y && t.x > n.x ? 1 : -1;
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function pi(e, t) {
|
|
153
153
|
t = t || "Layout";
|
|
154
154
|
const n = ["x", "y", "w", "h"], o = [];
|
|
155
155
|
if (!Array.isArray(e))
|
|
@@ -172,9 +172,9 @@ function fi(e, t) {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
function Tn(e) {
|
|
175
|
-
return
|
|
175
|
+
return fi(e);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function fi(e) {
|
|
178
178
|
const t = e.target, n = t.offsetParent || document.body, o = t.offsetParent === document.body ? { left: 0, top: 0 } : n.getBoundingClientRect(), i = e.clientX + n.scrollLeft - o.left, r = e.clientY + n.scrollTop - o.top;
|
|
179
179
|
return { x: i, y: r };
|
|
180
180
|
}
|
|
@@ -220,9 +220,9 @@ function vi(e, t, n, o, i, r, s) {
|
|
|
220
220
|
let a = e;
|
|
221
221
|
const l = no(n), c = l.slice(l.indexOf(o));
|
|
222
222
|
for (let u = 0, d = c.length; u < d; u++) {
|
|
223
|
-
const
|
|
224
|
-
if (t[
|
|
225
|
-
a = t[
|
|
223
|
+
const f = c[u];
|
|
224
|
+
if (t[f]) {
|
|
225
|
+
a = t[f];
|
|
226
226
|
break;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -264,7 +264,7 @@ const wt = {
|
|
|
264
264
|
};
|
|
265
265
|
function Jt() {
|
|
266
266
|
}
|
|
267
|
-
const
|
|
267
|
+
const ft = wt;
|
|
268
268
|
function Ei(e) {
|
|
269
269
|
const t = e;
|
|
270
270
|
wt.document = t.document, wt.DocumentFragment = t.DocumentFragment || Jt, wt.SVGElement = t.SVGElement || Jt, wt.SVGSVGElement = t.SVGSVGElement || Jt, wt.SVGElementInstance = t.SVGElementInstance || Jt, wt.Element = t.Element || Jt, wt.HTMLElement = t.HTMLElement || wt.Element, wt.Event = t.Event, wt.Touch = t.Touch || Jt, wt.PointerEvent = t.PointerEvent || t.MSPointerEvent;
|
|
@@ -309,8 +309,8 @@ const Si = (e) => e === Ht || io(e), Ti = (e) => Ce(e) && e.nodeType === 11, Ce
|
|
|
309
309
|
wheelEvent: null
|
|
310
310
|
};
|
|
311
311
|
function Pi(e) {
|
|
312
|
-
const t =
|
|
313
|
-
Et.supportsTouch = "ontouchstart" in e || m.func(e.DocumentTouch) &&
|
|
312
|
+
const t = ft.Element, n = e.navigator || {};
|
|
313
|
+
Et.supportsTouch = "ontouchstart" in e || m.func(e.DocumentTouch) && ft.document instanceof e.DocumentTouch, Et.supportsPointerEvent = n.pointerEnabled !== !1 && !!ft.PointerEvent, Et.isIOS = /iP(hone|od|ad)/.test(n.platform), Et.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), Et.isIe9 = /MSIE 9/.test(n.userAgent), Et.isOperaMobile = n.appName === "Opera" && Et.supportsTouch && /Presto/.test(n.userAgent), Et.prefixedMatchesSelector = "matches" in t.prototype ? "matches" : "webkitMatchesSelector" in t.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in t.prototype ? "mozMatchesSelector" : "oMatchesSelector" in t.prototype ? "oMatchesSelector" : "msMatchesSelector", Et.pEventTypes = Et.supportsPointerEvent ? ft.PointerEvent === e.MSPointerEvent ? {
|
|
314
314
|
up: "MSPointerUp",
|
|
315
315
|
down: "MSPointerDown",
|
|
316
316
|
over: "mouseover",
|
|
@@ -324,7 +324,7 @@ function Pi(e) {
|
|
|
324
324
|
out: "pointerout",
|
|
325
325
|
move: "pointermove",
|
|
326
326
|
cancel: "pointercancel"
|
|
327
|
-
} : null, Et.wheelEvent =
|
|
327
|
+
} : null, Et.wheelEvent = ft.document && "onmousewheel" in ft.document ? "mousewheel" : "wheel";
|
|
328
328
|
}
|
|
329
329
|
const Mt = Et;
|
|
330
330
|
function Xt(e, t) {
|
|
@@ -376,7 +376,7 @@ function Ai(e) {
|
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
378
|
function an(e) {
|
|
379
|
-
const t = e instanceof
|
|
379
|
+
const t = e instanceof ft.SVGElement ? e.getBoundingClientRect() : e.getClientRects()[0];
|
|
380
380
|
return t && {
|
|
381
381
|
left: t.left,
|
|
382
382
|
right: t.right,
|
|
@@ -395,7 +395,7 @@ function ln(e) {
|
|
|
395
395
|
return t;
|
|
396
396
|
}
|
|
397
397
|
function zn(e) {
|
|
398
|
-
return m.string(e) ? (
|
|
398
|
+
return m.string(e) ? (ft.document.querySelector(e), !0) : !1;
|
|
399
399
|
}
|
|
400
400
|
function D(e, t) {
|
|
401
401
|
for (const n in t)
|
|
@@ -422,7 +422,7 @@ function ki(e) {
|
|
|
422
422
|
return this._backCompatOption("ignoreFrom", n);
|
|
423
423
|
}, "Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."), t.prototype.allowFrom = ge(function(n) {
|
|
424
424
|
return this._backCompatOption("allowFrom", n);
|
|
425
|
-
}, "Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."), t.prototype.actionChecker =
|
|
425
|
+
}, "Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."), t.prototype.actionChecker = Ni, t.prototype.styleCursor = Ri;
|
|
426
426
|
}
|
|
427
427
|
function Oi(e, t, n, o, i) {
|
|
428
428
|
const r = e.getRect(o), s = t.buttons || {
|
|
@@ -443,10 +443,10 @@ function Oi(e, t, n, o, i) {
|
|
|
443
443
|
function Ri(e) {
|
|
444
444
|
return m.bool(e) ? (this.options.styleCursor = e, this) : e === null ? (delete this.options.styleCursor, this) : this.options.styleCursor;
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function Ni(e) {
|
|
447
447
|
return m.func(e) ? (this.options.actionChecker = e, this) : e === null ? (delete this.options.actionChecker, this) : this.options.actionChecker;
|
|
448
448
|
}
|
|
449
|
-
const
|
|
449
|
+
const Fi = {
|
|
450
450
|
id: "auto-start/interactableMethods",
|
|
451
451
|
install: ki
|
|
452
452
|
};
|
|
@@ -455,14 +455,14 @@ function Bi(e) {
|
|
|
455
455
|
interactStatic: t,
|
|
456
456
|
defaults: n
|
|
457
457
|
} = e;
|
|
458
|
-
e.usePlugin(
|
|
458
|
+
e.usePlugin(Fi), n.base.actionChecker = null, n.base.styleCursor = !0, D(n.perAction, {
|
|
459
459
|
manualStart: !1,
|
|
460
460
|
max: 1 / 0,
|
|
461
461
|
maxPerElement: 1,
|
|
462
462
|
allowFrom: null,
|
|
463
463
|
ignoreFrom: null,
|
|
464
464
|
mouseButtons: 1
|
|
465
|
-
}), t.maxInteractions = (o) =>
|
|
465
|
+
}), t.maxInteractions = (o) => fo(o, e), e.autoStart = {
|
|
466
466
|
maxInteractions: 1 / 0,
|
|
467
467
|
withinInteractionLimit: De,
|
|
468
468
|
cursorElement: null
|
|
@@ -477,7 +477,7 @@ function Li({
|
|
|
477
477
|
if (e.interacting())
|
|
478
478
|
return;
|
|
479
479
|
const r = ho(e, t, n, o, i);
|
|
480
|
-
|
|
480
|
+
po(e, r, i);
|
|
481
481
|
}
|
|
482
482
|
function Hi({
|
|
483
483
|
interaction: e,
|
|
@@ -488,7 +488,7 @@ function Hi({
|
|
|
488
488
|
if (e.pointerType !== "mouse" || e.pointerIsDown || e.interacting())
|
|
489
489
|
return;
|
|
490
490
|
const r = ho(e, t, n, o, i);
|
|
491
|
-
|
|
491
|
+
po(e, r, i);
|
|
492
492
|
}
|
|
493
493
|
function Wi(e, t) {
|
|
494
494
|
const {
|
|
@@ -518,10 +518,10 @@ function $i(e, t, n, o, i, r, s) {
|
|
|
518
518
|
const c = o[a], u = i[a], d = c.getAction(t, n, e, u);
|
|
519
519
|
if (!d)
|
|
520
520
|
continue;
|
|
521
|
-
const
|
|
522
|
-
if (
|
|
521
|
+
const f = uo(d, c, u, r, s);
|
|
522
|
+
if (f)
|
|
523
523
|
return {
|
|
524
|
-
action:
|
|
524
|
+
action: f,
|
|
525
525
|
interactable: c,
|
|
526
526
|
element: u
|
|
527
527
|
};
|
|
@@ -550,7 +550,7 @@ function ho(e, t, n, o, i) {
|
|
|
550
550
|
element: null
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function po(e, {
|
|
554
554
|
action: t,
|
|
555
555
|
interactable: n,
|
|
556
556
|
element: o
|
|
@@ -567,13 +567,13 @@ function De(e, t, n, o) {
|
|
|
567
567
|
if (!(r && s && a))
|
|
568
568
|
return !1;
|
|
569
569
|
for (const d of o.interactions.list) {
|
|
570
|
-
const
|
|
571
|
-
if (d.interacting() && (l++, l >= a || d.interactable === e && (c +=
|
|
570
|
+
const f = d.prepared.name;
|
|
571
|
+
if (d.interacting() && (l++, l >= a || d.interactable === e && (c += f === n.name ? 1 : 0, c >= r || d.element === t && (u++, f === n.name && u >= s))))
|
|
572
572
|
return !1;
|
|
573
573
|
}
|
|
574
574
|
return a > 0;
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function fo(e, t) {
|
|
577
577
|
return m.number(e) ? (t.autoStart.maxInteractions = e, this) : t.autoStart.maxInteractions;
|
|
578
578
|
}
|
|
579
579
|
function Je(e, t, n) {
|
|
@@ -610,7 +610,7 @@ const Ui = {
|
|
|
610
610
|
},
|
|
611
611
|
"interactions:stop": ji
|
|
612
612
|
},
|
|
613
|
-
maxInteractions:
|
|
613
|
+
maxInteractions: fo,
|
|
614
614
|
withinInteractionLimit: De,
|
|
615
615
|
validateAction: uo
|
|
616
616
|
}, cn = Ui;
|
|
@@ -626,20 +626,20 @@ function Xi({
|
|
|
626
626
|
if (e.prepared.axis = a.lockAxis === "start" ? c[0] : a.lockAxis, c !== "xy" && l !== "xy" && l !== c) {
|
|
627
627
|
e.prepared.name = null;
|
|
628
628
|
let u = t;
|
|
629
|
-
const d = function(
|
|
630
|
-
if (
|
|
629
|
+
const d = function(f) {
|
|
630
|
+
if (f === e.interactable)
|
|
631
631
|
return;
|
|
632
632
|
const g = e.interactable.options.drag;
|
|
633
|
-
if (!g.manualStart &&
|
|
634
|
-
const x =
|
|
635
|
-
if (x && x.name === "drag" && qi(c,
|
|
636
|
-
return
|
|
633
|
+
if (!g.manualStart && f.testIgnoreAllow(g, u, t)) {
|
|
634
|
+
const x = f.getAction(e.downPointer, e.downEvent, e, u);
|
|
635
|
+
if (x && x.name === "drag" && qi(c, f) && cn.validateAction(x, f, u, t, i))
|
|
636
|
+
return f;
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
639
|
for (; m.element(u); ) {
|
|
640
|
-
const
|
|
641
|
-
if (
|
|
642
|
-
e.prepared.name = "drag", e.interactable =
|
|
640
|
+
const f = i.interactables.forEachMatch(u, d);
|
|
641
|
+
if (f) {
|
|
642
|
+
e.prepared.name = "drag", e.interactable = f, e.element = u;
|
|
643
643
|
break;
|
|
644
644
|
}
|
|
645
645
|
u = Wt(u);
|
|
@@ -770,7 +770,7 @@ function Pn(e, t) {
|
|
|
770
770
|
}
|
|
771
771
|
class yo {
|
|
772
772
|
constructor(t) {
|
|
773
|
-
|
|
773
|
+
p(this, "options"), p(this, "types", {}), p(this, "propagationStopped", !1), p(this, "immediatePropagationStopped", !1), p(this, "global"), this.options = D({}, t || {});
|
|
774
774
|
}
|
|
775
775
|
fire(t) {
|
|
776
776
|
let n;
|
|
@@ -829,7 +829,7 @@ function dn(e, t, n) {
|
|
|
829
829
|
const ke = (e, t) => Math.sqrt(e * e + t * t);
|
|
830
830
|
class xo {
|
|
831
831
|
constructor(t) {
|
|
832
|
-
|
|
832
|
+
p(this, "immediatePropagationStopped", !1), p(this, "propagationStopped", !1), this._interaction = t;
|
|
833
833
|
}
|
|
834
834
|
preventDefault() {
|
|
835
835
|
}
|
|
@@ -863,19 +863,19 @@ const wo = {
|
|
|
863
863
|
};
|
|
864
864
|
class hn extends xo {
|
|
865
865
|
constructor(t, n, o, i, r, s, a) {
|
|
866
|
-
super(t),
|
|
867
|
-
const l = t.interactable, c = (l && l.options || wo).deltaSource, u = dn(l, r, o), d = i === "start",
|
|
866
|
+
super(t), p(this, "relatedTarget", null), p(this, "screenX"), p(this, "screenY"), p(this, "button"), p(this, "buttons"), p(this, "ctrlKey"), p(this, "shiftKey"), p(this, "altKey"), p(this, "metaKey"), p(this, "page"), p(this, "client"), p(this, "delta"), p(this, "rect"), p(this, "x0"), p(this, "y0"), p(this, "t0"), p(this, "dt"), p(this, "duration"), p(this, "clientX0"), p(this, "clientY0"), p(this, "velocity"), p(this, "speed"), p(this, "swipe"), p(this, "axes"), p(this, "preEnd"), r = r || t.element;
|
|
867
|
+
const l = t.interactable, c = (l && l.options || wo).deltaSource, u = dn(l, r, o), d = i === "start", f = i === "end", g = d ? this : t.prevEvent, x = d ? t.coords.start : f ? {
|
|
868
868
|
page: g.page,
|
|
869
869
|
client: g.client,
|
|
870
870
|
timeStamp: t.coords.cur.timeStamp
|
|
871
871
|
} : t.coords.cur;
|
|
872
|
-
this.page = D({}, x.page), this.client = D({}, x.client), this.rect = D({}, t.rect), this.timeStamp = x.timeStamp,
|
|
872
|
+
this.page = D({}, x.page), this.client = D({}, x.client), this.rect = D({}, t.rect), this.timeStamp = x.timeStamp, f || (this.page.x -= u.x, this.page.y -= u.y, this.client.x -= u.x, this.client.y -= u.y), this.ctrlKey = n.ctrlKey, this.altKey = n.altKey, this.shiftKey = n.shiftKey, this.metaKey = n.metaKey, this.button = n.button, this.buttons = n.buttons, this.target = r, this.currentTarget = r, this.preEnd = s, this.type = a || o + (i || ""), this.interactable = l, this.t0 = d ? t.pointers[t.pointers.length - 1].downTime : g.t0, this.x0 = t.coords.start.page.x - u.x, this.y0 = t.coords.start.page.y - u.y, this.clientX0 = t.coords.start.client.x - u.x, this.clientY0 = t.coords.start.client.y - u.y, d || f ? this.delta = {
|
|
873
873
|
x: 0,
|
|
874
874
|
y: 0
|
|
875
875
|
} : this.delta = {
|
|
876
876
|
x: this[c].x - g[c].x,
|
|
877
877
|
y: this[c].y - g[c].y
|
|
878
|
-
}, this.dt = t.coords.delta.timeStamp, this.duration = this.timeStamp - this.t0, this.velocity = D({}, t.coords.velocity[c]), this.speed = ke(this.velocity.x, this.velocity.y), this.swipe =
|
|
878
|
+
}, this.dt = t.coords.delta.timeStamp, this.duration = this.timeStamp - this.t0, this.velocity = D({}, t.coords.velocity[c]), this.speed = ke(this.velocity.x, this.velocity.y), this.swipe = f || i === "inertiastart" ? this.getSwipe() : null;
|
|
879
879
|
}
|
|
880
880
|
getSwipe() {
|
|
881
881
|
const t = this._interaction;
|
|
@@ -1001,7 +1001,7 @@ function or(e) {
|
|
|
1001
1001
|
e.page.x = 0, e.page.y = 0, e.client.x = 0, e.client.y = 0;
|
|
1002
1002
|
}
|
|
1003
1003
|
function So(e) {
|
|
1004
|
-
return e instanceof
|
|
1004
|
+
return e instanceof ft.Event || e instanceof ft.Touch;
|
|
1005
1005
|
}
|
|
1006
1006
|
function Me(e, t, n) {
|
|
1007
1007
|
return n = n || {}, e = e || "page", n.x = t[e + "X"], n.y = t[e + "Y"], n;
|
|
@@ -1022,7 +1022,7 @@ function sr(e, t, n) {
|
|
|
1022
1022
|
const o = t.length > 1 ? To(t) : t[0];
|
|
1023
1023
|
ir(o, e.page), rr(o, e.client), e.timeStamp = n;
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1025
|
+
function pn(e) {
|
|
1026
1026
|
const t = [];
|
|
1027
1027
|
return m.array(e) ? (t[0] = e[0], t[1] = e[1]) : e.type === "touchend" ? e.touches.length === 1 ? (t[0] = e.touches[0], t[1] = e.changedTouches[0]) : e.touches.length === 0 && (t[0] = e.changedTouches[0], t[1] = e.changedTouches[1]) : (t[0] = e.touches[0], t[1] = e.touches[1]), t;
|
|
1028
1028
|
}
|
|
@@ -1045,7 +1045,7 @@ function To(e) {
|
|
|
1045
1045
|
function ar(e) {
|
|
1046
1046
|
if (!e.length)
|
|
1047
1047
|
return null;
|
|
1048
|
-
const t =
|
|
1048
|
+
const t = pn(e), n = Math.min(t[0].pageX, t[1].pageX), o = Math.min(t[0].pageY, t[1].pageY), i = Math.max(t[0].pageX, t[1].pageX), r = Math.max(t[0].pageY, t[1].pageY);
|
|
1049
1049
|
return {
|
|
1050
1050
|
x: n,
|
|
1051
1051
|
y: o,
|
|
@@ -1058,15 +1058,15 @@ function ar(e) {
|
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
1060
|
function lr(e, t) {
|
|
1061
|
-
const n = t + "X", o = t + "Y", i =
|
|
1061
|
+
const n = t + "X", o = t + "Y", i = pn(e), r = i[0][n] - i[1][n], s = i[0][o] - i[1][o];
|
|
1062
1062
|
return ke(r, s);
|
|
1063
1063
|
}
|
|
1064
1064
|
function cr(e, t) {
|
|
1065
|
-
const n = t + "X", o = t + "Y", i =
|
|
1065
|
+
const n = t + "X", o = t + "Y", i = pn(e), r = i[1][n] - i[0][n], s = i[1][o] - i[0][o];
|
|
1066
1066
|
return 180 * Math.atan2(s, r) / Math.PI;
|
|
1067
1067
|
}
|
|
1068
1068
|
function ur(e) {
|
|
1069
|
-
return m.string(e.pointerType) ? e.pointerType : m.number(e.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][e.pointerType] : /touch/.test(e.type || "") || e instanceof
|
|
1069
|
+
return m.string(e.pointerType) ? e.pointerType : m.number(e.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][e.pointerType] : /touch/.test(e.type || "") || e instanceof ft.Touch ? "touch" : "mouse";
|
|
1070
1070
|
}
|
|
1071
1071
|
function Mo(e) {
|
|
1072
1072
|
const t = m.func(e.composedPath) ? e.composedPath() : e.path;
|
|
@@ -1153,7 +1153,7 @@ function dr(e) {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
class hr {
|
|
1155
1155
|
constructor(t, n, o, i) {
|
|
1156
|
-
|
|
1156
|
+
p(this, "options"), p(this, "_actions"), p(this, "target"), p(this, "events", new yo()), p(this, "_context"), p(this, "_win"), p(this, "_doc"), p(this, "_scopeEvents"), p(this, "_rectChecker"), this._actions = n.actions, this.target = t, this._context = n.context || o, this._win = qt(zn(t) ? this._context : t), this._doc = this._win.document, this._scopeEvents = i, this.set(n);
|
|
1157
1157
|
}
|
|
1158
1158
|
get _defaults() {
|
|
1159
1159
|
return {
|
|
@@ -1263,9 +1263,9 @@ class hr {
|
|
|
1263
1263
|
this._scopeEvents.remove(this.target, "all");
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
|
-
class
|
|
1266
|
+
class pr {
|
|
1267
1267
|
constructor(t) {
|
|
1268
|
-
|
|
1268
|
+
p(this, "list", []), p(this, "selectorMap", {}), p(this, "scope"), this.scope = t, t.addListeners({
|
|
1269
1269
|
"interactable:unset": ({
|
|
1270
1270
|
interactable: n
|
|
1271
1271
|
}) => {
|
|
@@ -1310,7 +1310,7 @@ class fr {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function fr(e) {
|
|
1314
1314
|
var t;
|
|
1315
1315
|
const n = [], o = {}, i = [], r = {
|
|
1316
1316
|
add: s,
|
|
@@ -1333,21 +1333,21 @@ function pr(e) {
|
|
|
1333
1333
|
return r.supportsPassive = !0;
|
|
1334
1334
|
}
|
|
1335
1335
|
}), e.events = r;
|
|
1336
|
-
function s(
|
|
1336
|
+
function s(f, g, x, E) {
|
|
1337
1337
|
const T = ue(E);
|
|
1338
|
-
let L = Ze(n, (M) => M.eventTarget ===
|
|
1338
|
+
let L = Ze(n, (M) => M.eventTarget === f);
|
|
1339
1339
|
L || (L = {
|
|
1340
|
-
eventTarget:
|
|
1340
|
+
eventTarget: f,
|
|
1341
1341
|
events: {}
|
|
1342
|
-
}, n.push(L)), L.events[g] || (L.events[g] = []),
|
|
1342
|
+
}, n.push(L)), L.events[g] || (L.events[g] = []), f.addEventListener && !Ji(L.events[g], x) && (f.addEventListener(g, x, r.supportsOptions ? T : T.capture), L.events[g].push(x));
|
|
1343
1343
|
}
|
|
1344
|
-
function a(
|
|
1345
|
-
const T = ue(E), L = Pe(n, (h) => h.eventTarget ===
|
|
1344
|
+
function a(f, g, x, E) {
|
|
1345
|
+
const T = ue(E), L = Pe(n, (h) => h.eventTarget === f), M = n[L];
|
|
1346
1346
|
if (!M || !M.events)
|
|
1347
1347
|
return;
|
|
1348
1348
|
if (g === "all") {
|
|
1349
1349
|
for (g in M.events)
|
|
1350
|
-
M.events.hasOwnProperty(g) && a(
|
|
1350
|
+
M.events.hasOwnProperty(g) && a(f, g, "all");
|
|
1351
1351
|
return;
|
|
1352
1352
|
}
|
|
1353
1353
|
let C = !1;
|
|
@@ -1355,18 +1355,18 @@ function pr(e) {
|
|
|
1355
1355
|
if (v) {
|
|
1356
1356
|
if (x === "all") {
|
|
1357
1357
|
for (let h = v.length - 1; h >= 0; h--)
|
|
1358
|
-
a(
|
|
1358
|
+
a(f, g, v[h], T);
|
|
1359
1359
|
return;
|
|
1360
1360
|
} else
|
|
1361
1361
|
for (let h = 0; h < v.length; h++)
|
|
1362
1362
|
if (v[h] === x) {
|
|
1363
|
-
|
|
1363
|
+
f.removeEventListener(g, x, r.supportsOptions ? T : T.capture), v.splice(h, 1), v.length === 0 && (delete M.events[g], C = !0);
|
|
1364
1364
|
break;
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
1367
|
C && !Object.keys(M.events).length && n.splice(L, 1);
|
|
1368
1368
|
}
|
|
1369
|
-
function l(
|
|
1369
|
+
function l(f, g, x, E, T) {
|
|
1370
1370
|
const L = ue(T);
|
|
1371
1371
|
if (!o[x]) {
|
|
1372
1372
|
o[x] = [];
|
|
@@ -1374,20 +1374,20 @@ function pr(e) {
|
|
|
1374
1374
|
s(v, x, u), s(v, x, d, !0);
|
|
1375
1375
|
}
|
|
1376
1376
|
const M = o[x];
|
|
1377
|
-
let C = Ze(M, (v) => v.selector ===
|
|
1377
|
+
let C = Ze(M, (v) => v.selector === f && v.context === g);
|
|
1378
1378
|
C || (C = {
|
|
1379
|
-
selector:
|
|
1379
|
+
selector: f,
|
|
1380
1380
|
context: g,
|
|
1381
1381
|
listeners: []
|
|
1382
1382
|
}, M.push(C)), C.listeners.push([E, L]);
|
|
1383
1383
|
}
|
|
1384
|
-
function c(
|
|
1384
|
+
function c(f, g, x, E, T) {
|
|
1385
1385
|
const L = ue(T), M = o[x];
|
|
1386
1386
|
let C = !1, v;
|
|
1387
1387
|
if (M)
|
|
1388
1388
|
for (v = M.length - 1; v >= 0; v--) {
|
|
1389
1389
|
const h = M[v];
|
|
1390
|
-
if (h.selector ===
|
|
1390
|
+
if (h.selector === f && h.context === g) {
|
|
1391
1391
|
const {
|
|
1392
1392
|
listeners: F
|
|
1393
1393
|
} = h;
|
|
@@ -1406,8 +1406,8 @@ function pr(e) {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
|
-
function u(
|
|
1410
|
-
const x = ue(g), E = new gr(
|
|
1409
|
+
function u(f, g) {
|
|
1410
|
+
const x = ue(g), E = new gr(f), T = o[f.type], [L] = Mo(f);
|
|
1411
1411
|
let M = L;
|
|
1412
1412
|
for (; m.element(M); ) {
|
|
1413
1413
|
for (let C = 0; C < T.length; C++) {
|
|
@@ -1430,14 +1430,14 @@ function pr(e) {
|
|
|
1430
1430
|
M = Wt(M);
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
|
-
function d(
|
|
1434
|
-
return u.call(this,
|
|
1433
|
+
function d(f) {
|
|
1434
|
+
return u.call(this, f, !0);
|
|
1435
1435
|
}
|
|
1436
1436
|
return r;
|
|
1437
1437
|
}
|
|
1438
1438
|
class gr {
|
|
1439
1439
|
constructor(t) {
|
|
1440
|
-
|
|
1440
|
+
p(this, "currentTarget"), p(this, "originalEvent"), p(this, "type"), this.originalEvent = t, Eo(this, t);
|
|
1441
1441
|
}
|
|
1442
1442
|
preventOriginalDefault() {
|
|
1443
1443
|
this.originalEvent.preventDefault();
|
|
@@ -1460,11 +1460,11 @@ function ue(e) {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
const mr = {
|
|
1462
1462
|
id: "events",
|
|
1463
|
-
install:
|
|
1463
|
+
install: fr
|
|
1464
1464
|
};
|
|
1465
1465
|
class vr {
|
|
1466
1466
|
constructor(t, n, o, i, r) {
|
|
1467
|
-
|
|
1467
|
+
p(this, "id"), p(this, "pointer"), p(this, "event"), p(this, "downTime"), p(this, "downTarget"), this.id = t, this.pointer = n, this.event = o, this.downTime = i, this.downTarget = r;
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
1470
1470
|
let en;
|
|
@@ -1481,23 +1481,23 @@ class br {
|
|
|
1481
1481
|
pointerType: t,
|
|
1482
1482
|
scopeFire: n
|
|
1483
1483
|
}) {
|
|
1484
|
-
|
|
1484
|
+
p(this, "interactable", null), p(this, "element", null), p(this, "rect", null), p(this, "_rects"), p(this, "edges", null), p(this, "_scopeFire"), p(this, "prepared", {
|
|
1485
1485
|
name: null,
|
|
1486
1486
|
axis: null,
|
|
1487
1487
|
edges: null
|
|
1488
|
-
}),
|
|
1488
|
+
}), p(this, "pointerType"), p(this, "pointers", []), p(this, "downEvent", null), p(this, "downPointer", {}), p(this, "_latestPointer", {
|
|
1489
1489
|
pointer: null,
|
|
1490
1490
|
event: null,
|
|
1491
1491
|
eventTarget: null
|
|
1492
|
-
}),
|
|
1492
|
+
}), p(this, "prevEvent", null), p(this, "pointerIsDown", !1), p(this, "pointerWasMoved", !1), p(this, "_interacting", !1), p(this, "_ending", !1), p(this, "_stopped", !0), p(this, "_proxy", null), p(this, "simulation", null), p(this, "doMove", ge(function(i) {
|
|
1493
1493
|
this.move(i);
|
|
1494
|
-
}, "The interaction.doMove() method has been renamed to interaction.move()")),
|
|
1494
|
+
}, "The interaction.doMove() method has been renamed to interaction.move()")), p(this, "coords", {
|
|
1495
1495
|
start: ce(),
|
|
1496
1496
|
prev: ce(),
|
|
1497
1497
|
cur: ce(),
|
|
1498
1498
|
delta: ce(),
|
|
1499
1499
|
velocity: ce()
|
|
1500
|
-
}),
|
|
1500
|
+
}), p(this, "_id", yr++), this._scopeFire = n, this.pointerType = t;
|
|
1501
1501
|
const o = this;
|
|
1502
1502
|
this._proxy = {};
|
|
1503
1503
|
for (const i in en)
|
|
@@ -1812,7 +1812,7 @@ function Ir(e) {
|
|
|
1812
1812
|
t[r] = Io(r, e);
|
|
1813
1813
|
const n = Mt.pEventTypes;
|
|
1814
1814
|
let o;
|
|
1815
|
-
|
|
1815
|
+
ft.PointerEvent ? o = [{
|
|
1816
1816
|
type: n.down,
|
|
1817
1817
|
listener: i
|
|
1818
1818
|
}, {
|
|
@@ -1902,8 +1902,8 @@ function Io(e, t) {
|
|
|
1902
1902
|
eventTarget: r,
|
|
1903
1903
|
curEventTarget: s,
|
|
1904
1904
|
scope: t
|
|
1905
|
-
},
|
|
1906
|
-
a.push([d.pointer, d.eventTarget, d.curEventTarget,
|
|
1905
|
+
}, f = On(d);
|
|
1906
|
+
a.push([d.pointer, d.eventTarget, d.curEventTarget, f]);
|
|
1907
1907
|
}
|
|
1908
1908
|
} else {
|
|
1909
1909
|
let l = !1;
|
|
@@ -1987,7 +1987,7 @@ const zr = {
|
|
|
1987
1987
|
}, Cr = zr;
|
|
1988
1988
|
class Dr {
|
|
1989
1989
|
constructor() {
|
|
1990
|
-
|
|
1990
|
+
p(this, "id", `__interact_scope_${Math.floor(Math.random() * 100)}`), p(this, "isInitialized", !1), p(this, "listenerMaps", []), p(this, "browser", Mt), p(this, "defaults", oe(wo)), p(this, "Eventable", yo), p(this, "actions", {
|
|
1991
1991
|
map: {},
|
|
1992
1992
|
phases: {
|
|
1993
1993
|
start: !0,
|
|
@@ -1996,10 +1996,10 @@ class Dr {
|
|
|
1996
1996
|
},
|
|
1997
1997
|
methodDict: {},
|
|
1998
1998
|
phaselessTypes: {}
|
|
1999
|
-
}),
|
|
1999
|
+
}), p(this, "interactStatic", dr(this)), p(this, "InteractEvent", hn), p(this, "Interactable"), p(this, "interactables", new pr(this)), p(this, "_win"), p(this, "document"), p(this, "window"), p(this, "documents", []), p(this, "_plugins", {
|
|
2000
2000
|
list: [],
|
|
2001
2001
|
map: {}
|
|
2002
|
-
}),
|
|
2002
|
+
}), p(this, "onWindowUnload", (n) => this.removeDocument(n.target));
|
|
2003
2003
|
const t = this;
|
|
2004
2004
|
this.Interactable = class extends hr {
|
|
2005
2005
|
get _defaults() {
|
|
@@ -2103,7 +2103,7 @@ class Dr {
|
|
|
2103
2103
|
}
|
|
2104
2104
|
}
|
|
2105
2105
|
function Pr(e, t) {
|
|
2106
|
-
return e.isInitialized = !0, m.window(t) && so(t),
|
|
2106
|
+
return e.isInitialized = !0, m.window(t) && so(t), ft.init(t), Mt.init(t), te.init(t), e.window = t, e.document = t.document, e.usePlugin(Cr), e.usePlugin(mr), e;
|
|
2107
2107
|
}
|
|
2108
2108
|
function Rn(e) {
|
|
2109
2109
|
return e && e.replace(/\/.*$/, "");
|
|
@@ -2146,24 +2146,24 @@ const A = {
|
|
|
2146
2146
|
} = A, {
|
|
2147
2147
|
interactable: t,
|
|
2148
2148
|
element: n
|
|
2149
|
-
} = e, o = e.prepared.name, i = t.options[o].autoScroll, r =
|
|
2149
|
+
} = e, o = e.prepared.name, i = t.options[o].autoScroll, r = Nn(i.container, t, n), s = A.now(), a = (s - A.prevTime) / 1e3, l = i.speed * a;
|
|
2150
2150
|
if (l >= 1) {
|
|
2151
2151
|
const c = {
|
|
2152
2152
|
x: A.x * l,
|
|
2153
2153
|
y: A.y * l
|
|
2154
2154
|
};
|
|
2155
2155
|
if (c.x || c.y) {
|
|
2156
|
-
const u =
|
|
2156
|
+
const u = Fn(r);
|
|
2157
2157
|
m.window(r) ? r.scrollBy(c.x, c.y) : r && (r.scrollLeft += c.x, r.scrollTop += c.y);
|
|
2158
|
-
const d =
|
|
2158
|
+
const d = Fn(r), f = {
|
|
2159
2159
|
x: d.x - u.x,
|
|
2160
2160
|
y: d.y - u.y
|
|
2161
2161
|
};
|
|
2162
|
-
(
|
|
2162
|
+
(f.x || f.y) && t.fire({
|
|
2163
2163
|
type: "autoscroll",
|
|
2164
2164
|
target: n,
|
|
2165
2165
|
interactable: t,
|
|
2166
|
-
delta:
|
|
2166
|
+
delta: f,
|
|
2167
2167
|
interaction: e,
|
|
2168
2168
|
container: r
|
|
2169
2169
|
});
|
|
@@ -2190,7 +2190,7 @@ const A = {
|
|
|
2190
2190
|
const {
|
|
2191
2191
|
interactable: s,
|
|
2192
2192
|
element: a
|
|
2193
|
-
} = e, l = e.prepared.name, c = s.options[l].autoScroll, u =
|
|
2193
|
+
} = e, l = e.prepared.name, c = s.options[l].autoScroll, u = Nn(c.container, s, a);
|
|
2194
2194
|
if (m.window(u))
|
|
2195
2195
|
r = t.clientX < A.margin, n = t.clientY < A.margin, o = t.clientX > u.innerWidth - A.margin, i = t.clientY > u.innerHeight - A.margin;
|
|
2196
2196
|
else {
|
|
@@ -2200,10 +2200,10 @@ const A = {
|
|
|
2200
2200
|
A.x = o ? 1 : r ? -1 : 0, A.y = i ? 1 : n ? -1 : 0, A.isScrolling || (A.margin = c.margin, A.speed = c.speed, A.start(e));
|
|
2201
2201
|
}
|
|
2202
2202
|
};
|
|
2203
|
-
function
|
|
2203
|
+
function Nn(e, t, n) {
|
|
2204
2204
|
return (m.string(e) ? bo(e, t, n) : e) || qt(n);
|
|
2205
2205
|
}
|
|
2206
|
-
function
|
|
2206
|
+
function Fn(e) {
|
|
2207
2207
|
return m.window(e) && (e = window.document.body), {
|
|
2208
2208
|
x: e.scrollLeft,
|
|
2209
2209
|
y: e.scrollTop
|
|
@@ -2226,9 +2226,9 @@ const Rr = {
|
|
|
2226
2226
|
"interactions:stop": A.stop,
|
|
2227
2227
|
"interactions:action-move": (e) => A.onInteractionMove(e)
|
|
2228
2228
|
}
|
|
2229
|
-
},
|
|
2230
|
-
kt.use(
|
|
2231
|
-
function
|
|
2229
|
+
}, Nr = Rr;
|
|
2230
|
+
kt.use(Nr);
|
|
2231
|
+
function Fr(e) {
|
|
2232
2232
|
const {
|
|
2233
2233
|
actions: t,
|
|
2234
2234
|
Interactable: n,
|
|
@@ -2260,7 +2260,7 @@ const Br = function(e) {
|
|
|
2260
2260
|
return m.object(e) ? (this.options.drag.enabled = e.enabled !== !1, this.setPerAction("drag", e), this.setOnEvents("drag", e), /^(xy|x|y|start)$/.test(e.lockAxis) && (this.options.drag.lockAxis = e.lockAxis), /^(xy|x|y)$/.test(e.startAxis) && (this.options.drag.startAxis = e.startAxis), this) : m.bool(e) ? (this.options.drag.enabled = e, this) : this.options.drag;
|
|
2261
2261
|
}, Se = {
|
|
2262
2262
|
id: "actions/drag",
|
|
2263
|
-
install:
|
|
2263
|
+
install: Fr,
|
|
2264
2264
|
listeners: {
|
|
2265
2265
|
"interactions:before-action-move": Ue,
|
|
2266
2266
|
"interactions:action-resume": Ue,
|
|
@@ -2526,8 +2526,8 @@ const Vr = () => {
|
|
|
2526
2526
|
y: null
|
|
2527
2527
|
};
|
|
2528
2528
|
for (const [c, u] of t) {
|
|
2529
|
-
const d = Math.round((o - a.x) / e[c]),
|
|
2530
|
-
l[c] = Math.max(s.left, Math.min(s.right, d * e[c] + a.x)), l[u] = Math.max(s.top, Math.min(s.bottom,
|
|
2529
|
+
const d = Math.round((o - a.x) / e[c]), f = Math.round((i - a.y) / e[u]);
|
|
2530
|
+
l[c] = Math.max(s.left, Math.min(s.right, d * e[c] + a.x)), l[u] = Math.max(s.top, Math.min(s.bottom, f * e[u] + a.y));
|
|
2531
2531
|
}
|
|
2532
2532
|
return l;
|
|
2533
2533
|
};
|
|
@@ -2548,12 +2548,12 @@ const Vr = () => {
|
|
|
2548
2548
|
}, ts = Zr;
|
|
2549
2549
|
class Co {
|
|
2550
2550
|
constructor(t) {
|
|
2551
|
-
|
|
2551
|
+
p(this, "states", []), p(this, "startOffset", {
|
|
2552
2552
|
left: 0,
|
|
2553
2553
|
right: 0,
|
|
2554
2554
|
top: 0,
|
|
2555
2555
|
bottom: 0
|
|
2556
|
-
}),
|
|
2556
|
+
}), p(this, "startDelta"), p(this, "result"), p(this, "endResult"), p(this, "startEdges"), p(this, "edges"), p(this, "interaction"), this.interaction = t, this.result = we(), this.edges = {
|
|
2557
2557
|
left: !1,
|
|
2558
2558
|
right: !1,
|
|
2559
2559
|
top: !1,
|
|
@@ -2597,13 +2597,13 @@ class Co {
|
|
|
2597
2597
|
} = t;
|
|
2598
2598
|
t.coords = D({}, t.pageCoords), t.rect = D({}, r), t.edges = D({}, s);
|
|
2599
2599
|
const a = i ? this.states.slice(i) : this.states, l = we(t.coords, t.rect);
|
|
2600
|
-
for (const
|
|
2600
|
+
for (const f of a) {
|
|
2601
2601
|
var c;
|
|
2602
2602
|
const {
|
|
2603
2603
|
options: g
|
|
2604
|
-
} =
|
|
2604
|
+
} = f, x = D({}, t.coords);
|
|
2605
2605
|
let E = null;
|
|
2606
|
-
(c =
|
|
2606
|
+
(c = f.methods) != null && c.set && this.shouldDo(g, o, n) && (t.state = f, E = f.methods.set(t), un(t.edges, t.rect, {
|
|
2607
2607
|
x: t.coords.x - x.x,
|
|
2608
2608
|
y: t.coords.y - x.y
|
|
2609
2609
|
})), l.eventProps.push(E);
|
|
@@ -2611,8 +2611,8 @@ class Co {
|
|
|
2611
2611
|
D(this.edges, t.edges), l.delta.x = t.coords.x - t.pageCoords.x, l.delta.y = t.coords.y - t.pageCoords.y, l.rectDelta.left = t.rect.left - r.left, l.rectDelta.right = t.rect.right - r.right, l.rectDelta.top = t.rect.top - r.top, l.rectDelta.bottom = t.rect.bottom - r.bottom;
|
|
2612
2612
|
const u = this.result.coords, d = this.result.rect;
|
|
2613
2613
|
if (u && d) {
|
|
2614
|
-
const
|
|
2615
|
-
l.changed =
|
|
2614
|
+
const f = l.rect.left !== d.left || l.rect.right !== d.right || l.rect.top !== d.top || l.rect.bottom !== d.bottom;
|
|
2615
|
+
l.changed = f || u.x !== l.coords.x || u.y !== l.coords.y;
|
|
2616
2616
|
}
|
|
2617
2617
|
return l;
|
|
2618
2618
|
}
|
|
@@ -2626,8 +2626,8 @@ class Co {
|
|
|
2626
2626
|
startDelta: a
|
|
2627
2627
|
} = this, l = s.delta;
|
|
2628
2628
|
o === "start" && D(this.startDelta, s.delta);
|
|
2629
|
-
for (const [d,
|
|
2630
|
-
d.page.x +=
|
|
2629
|
+
for (const [d, f] of [[r, a], [i, l]])
|
|
2630
|
+
d.page.x += f.x, d.page.y += f.y, d.client.x += f.x, d.client.y += f.y;
|
|
2631
2631
|
const {
|
|
2632
2632
|
rectDelta: c
|
|
2633
2633
|
} = this.result, u = t.rect || n.rect;
|
|
@@ -3026,7 +3026,7 @@ const ds = {
|
|
|
3026
3026
|
bottom: 1 / 0,
|
|
3027
3027
|
right: 1 / 0
|
|
3028
3028
|
};
|
|
3029
|
-
function
|
|
3029
|
+
function ps({
|
|
3030
3030
|
interaction: e,
|
|
3031
3031
|
startOffset: t,
|
|
3032
3032
|
state: n
|
|
@@ -3049,7 +3049,7 @@ function fs({
|
|
|
3049
3049
|
right: i.x - t.right
|
|
3050
3050
|
};
|
|
3051
3051
|
}
|
|
3052
|
-
function
|
|
3052
|
+
function fs({
|
|
3053
3053
|
coords: e,
|
|
3054
3054
|
edges: t,
|
|
3055
3055
|
interaction: n,
|
|
@@ -3075,13 +3075,13 @@ const gs = {
|
|
|
3075
3075
|
offset: null,
|
|
3076
3076
|
endOnly: !1,
|
|
3077
3077
|
enabled: !1
|
|
3078
|
-
},
|
|
3078
|
+
}, fe = {
|
|
3079
3079
|
noInner: Po,
|
|
3080
3080
|
noOuter: Ao,
|
|
3081
|
-
start:
|
|
3082
|
-
set:
|
|
3081
|
+
start: ps,
|
|
3082
|
+
set: fs,
|
|
3083
3083
|
defaults: gs
|
|
3084
|
-
}, ms = jt(
|
|
3084
|
+
}, ms = jt(fe, "restrictEdges"), vs = D({
|
|
3085
3085
|
get elementRect() {
|
|
3086
3086
|
return {
|
|
3087
3087
|
top: 0,
|
|
@@ -3104,7 +3104,7 @@ const gs = {
|
|
|
3104
3104
|
height: 1 / 0
|
|
3105
3105
|
};
|
|
3106
3106
|
function Es(e) {
|
|
3107
|
-
return
|
|
3107
|
+
return fe.start(e);
|
|
3108
3108
|
}
|
|
3109
3109
|
function Ss(e) {
|
|
3110
3110
|
const {
|
|
@@ -3120,9 +3120,9 @@ function Ss(e) {
|
|
|
3120
3120
|
const s = An(Gt(r.min, t, e.coords)) || xs, a = An(Gt(r.max, t, e.coords)) || ws;
|
|
3121
3121
|
n.options = {
|
|
3122
3122
|
endOnly: r.endOnly,
|
|
3123
|
-
inner: D({},
|
|
3124
|
-
outer: D({},
|
|
3125
|
-
}, i.top ? (n.options.inner.top = o.bottom - s.height, n.options.outer.top = o.bottom - a.height) : i.bottom && (n.options.inner.bottom = o.top + s.height, n.options.outer.bottom = o.top + a.height), i.left ? (n.options.inner.left = o.right - s.width, n.options.outer.left = o.right - a.width) : i.right && (n.options.inner.right = o.left + s.width, n.options.outer.right = o.left + a.width),
|
|
3123
|
+
inner: D({}, fe.noInner),
|
|
3124
|
+
outer: D({}, fe.noOuter)
|
|
3125
|
+
}, i.top ? (n.options.inner.top = o.bottom - s.height, n.options.outer.top = o.bottom - a.height) : i.bottom && (n.options.inner.bottom = o.top + s.height, n.options.outer.bottom = o.top + a.height), i.left ? (n.options.inner.left = o.right - s.width, n.options.outer.left = o.right - a.width) : i.right && (n.options.inner.right = o.left + s.width, n.options.outer.right = o.left + a.width), fe.set(e), n.options = r;
|
|
3126
3126
|
}
|
|
3127
3127
|
const Ts = {
|
|
3128
3128
|
min: null,
|
|
@@ -3164,8 +3164,8 @@ function Is(e) {
|
|
|
3164
3164
|
const {
|
|
3165
3165
|
relativePoints: u
|
|
3166
3166
|
} = a;
|
|
3167
|
-
r.offsets = i && u && u.length ? u.map((d,
|
|
3168
|
-
index:
|
|
3167
|
+
r.offsets = i && u && u.length ? u.map((d, f) => ({
|
|
3168
|
+
index: f,
|
|
3169
3169
|
relativePoint: d,
|
|
3170
3170
|
x: s.left - i.width * d.x + c.x,
|
|
3171
3171
|
y: s.top - i.height * d.y + c.y
|
|
@@ -3187,13 +3187,13 @@ function zs(e) {
|
|
|
3187
3187
|
} = o, s = dn(t.interactable, t.element, t.prepared.name), a = D({}, n), l = [];
|
|
3188
3188
|
i.offsetWithOrigin || (a.x -= s.x, a.y -= s.y);
|
|
3189
3189
|
for (const u of r) {
|
|
3190
|
-
const d = a.x - u.x,
|
|
3190
|
+
const d = a.x - u.x, f = a.y - u.y;
|
|
3191
3191
|
for (let g = 0, x = i.targets.length; g < x; g++) {
|
|
3192
3192
|
const E = i.targets[g];
|
|
3193
3193
|
let T;
|
|
3194
|
-
m.func(E) ? T = E(d,
|
|
3194
|
+
m.func(E) ? T = E(d, f, t._proxy, u, g) : T = E, T && l.push({
|
|
3195
3195
|
x: (m.number(T.x) ? T.x : d) + u.x,
|
|
3196
|
-
y: (m.number(T.y) ? T.y :
|
|
3196
|
+
y: (m.number(T.y) ? T.y : f) + u.y,
|
|
3197
3197
|
range: m.number(T.range) ? T.range : i.range,
|
|
3198
3198
|
source: E,
|
|
3199
3199
|
index: g,
|
|
@@ -3212,9 +3212,9 @@ function zs(e) {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
};
|
|
3214
3214
|
for (const u of l) {
|
|
3215
|
-
const d = u.range,
|
|
3215
|
+
const d = u.range, f = u.x - a.x, g = u.y - a.y, x = ke(f, g);
|
|
3216
3216
|
let E = x <= d;
|
|
3217
|
-
d === 1 / 0 && c.inRange && c.range !== 1 / 0 && (E = !1), (!c.target || (E ? c.inRange && d !== 1 / 0 ? x / d < c.distance / c.range : d === 1 / 0 && c.range !== 1 / 0 || x < c.distance : !c.inRange && x < c.distance)) && (c.target = u, c.distance = x, c.range = d, c.inRange = E, c.delta.x =
|
|
3217
|
+
d === 1 / 0 && c.inRange && c.range !== 1 / 0 && (E = !1), (!c.target || (E ? c.inRange && d !== 1 / 0 ? x / d < c.distance / c.range : d === 1 / 0 && c.range !== 1 / 0 || x < c.distance : !c.inRange && x < c.distance)) && (c.target = u, c.distance = x, c.range = d, c.inRange = E, c.delta.x = f, c.delta.y = g);
|
|
3218
3218
|
}
|
|
3219
3219
|
return c.inRange && (n.x = c.target.x, n.y = c.target.y), o.closest = c, c;
|
|
3220
3220
|
}
|
|
@@ -3233,11 +3233,11 @@ const Ds = {
|
|
|
3233
3233
|
relativePoints: null,
|
|
3234
3234
|
endOnly: !1,
|
|
3235
3235
|
enabled: !1
|
|
3236
|
-
},
|
|
3236
|
+
}, fn = {
|
|
3237
3237
|
start: Is,
|
|
3238
3238
|
set: zs,
|
|
3239
3239
|
defaults: Ds
|
|
3240
|
-
}, Ps = jt(
|
|
3240
|
+
}, Ps = jt(fn, "snap");
|
|
3241
3241
|
function As(e) {
|
|
3242
3242
|
const {
|
|
3243
3243
|
state: t,
|
|
@@ -3261,7 +3261,7 @@ function As(e) {
|
|
|
3261
3261
|
},
|
|
3262
3262
|
range: o.range
|
|
3263
3263
|
}
|
|
3264
|
-
}, t.targetFields = t.targetFields || [["width", "height"], ["x", "y"]],
|
|
3264
|
+
}, t.targetFields = t.targetFields || [["width", "height"], ["x", "y"]], fn.start(e), t.offsets = e.state.offsets, e.state = t;
|
|
3265
3265
|
}
|
|
3266
3266
|
function ks(e) {
|
|
3267
3267
|
const {
|
|
@@ -3287,7 +3287,7 @@ function ks(e) {
|
|
|
3287
3287
|
n.options.targets.push(c);
|
|
3288
3288
|
}
|
|
3289
3289
|
}
|
|
3290
|
-
const a =
|
|
3290
|
+
const a = fn.set(e);
|
|
3291
3291
|
return n.options = i, a;
|
|
3292
3292
|
}
|
|
3293
3293
|
const Os = {
|
|
@@ -3301,14 +3301,14 @@ const Os = {
|
|
|
3301
3301
|
set: ks,
|
|
3302
3302
|
defaults: Os
|
|
3303
3303
|
}, Rs = jt(ze, "snapSize");
|
|
3304
|
-
function
|
|
3304
|
+
function Ns(e) {
|
|
3305
3305
|
const {
|
|
3306
3306
|
edges: t
|
|
3307
3307
|
} = e;
|
|
3308
3308
|
return t ? (e.state.targetFields = e.state.targetFields || [[t.left ? "left" : "right", t.top ? "top" : "bottom"]], ze.start(e)) : null;
|
|
3309
3309
|
}
|
|
3310
|
-
const
|
|
3311
|
-
start:
|
|
3310
|
+
const Fs = {
|
|
3311
|
+
start: Ns,
|
|
3312
3312
|
set: ze.set,
|
|
3313
3313
|
defaults: D(oe(ze.defaults), {
|
|
3314
3314
|
targets: null,
|
|
@@ -3318,7 +3318,7 @@ const Ns = {
|
|
|
3318
3318
|
y: 0
|
|
3319
3319
|
}
|
|
3320
3320
|
})
|
|
3321
|
-
}, Bs = jt(
|
|
3321
|
+
}, Bs = jt(Fs, "snapEdges"), qe = {
|
|
3322
3322
|
aspectRatio: ls,
|
|
3323
3323
|
restrictEdges: ms,
|
|
3324
3324
|
restrict: hs,
|
|
@@ -3390,7 +3390,7 @@ const jn = [{
|
|
|
3390
3390
|
const {
|
|
3391
3391
|
element: t
|
|
3392
3392
|
} = e;
|
|
3393
|
-
return e.prepared.name === "resize" && t instanceof
|
|
3393
|
+
return e.prepared.name === "resize" && t instanceof ft.HTMLElement && !ko(t, "boxSizing", /border-box/);
|
|
3394
3394
|
},
|
|
3395
3395
|
text: 'Consider adding CSS "box-sizing: border-box" to this resizable element',
|
|
3396
3396
|
getInfo({
|
|
@@ -3476,7 +3476,7 @@ const Gs = {
|
|
|
3476
3476
|
},
|
|
3477
3477
|
emits: ["container-resized", "resize", "resized", "move", "moved", "dragging", "dragend"],
|
|
3478
3478
|
setup(e, { expose: t, emit: n }) {
|
|
3479
|
-
const o = e, { proxy: i } = Ys(), r = i == null ? void 0 : i.$parent, s = jo("eventBus"), a = k({}), l = k(1), c = k(100), u = k(30), d = k([10, 10]),
|
|
3479
|
+
const o = e, { proxy: i } = Ys(), r = i == null ? void 0 : i.$parent, s = jo("eventBus"), a = k({}), l = k(1), c = k(100), u = k(30), d = k([10, 10]), f = k(1 / 0), g = k(null), x = k(null), E = k(1), T = k(!0), L = k(!0), M = k(!1), C = k(null), v = k(!1), h = k(null), F = k(NaN), w = k(NaN), q = k(NaN), Q = k(NaN), R = k({}), $ = k(!1), b = k(!1), P = k(!1), j = k(null), ot = k(null), J = k(null), et = k(null), z = k(o.x), it = k(o.y), rt = k(o.w), nt = k(o.h), ut = k(null), V = k(null), Vt = Lt(() => x.value && !o.static), ie = Lt(() => (g.value || x.value) && !o.static), Kt = Lt(() => navigator.userAgent.toLowerCase().indexOf("android") !== -1), dt = Lt(() => r != null && r.isMirrored ? !$.value : $.value), Ot = Lt(() => ({
|
|
3480
3480
|
"vue-resizable": Vt.value,
|
|
3481
3481
|
static: o.static,
|
|
3482
3482
|
resizing: v.value,
|
|
@@ -3494,7 +3494,7 @@ const Gs = {
|
|
|
3494
3494
|
), G(
|
|
3495
3495
|
() => o.static,
|
|
3496
3496
|
() => {
|
|
3497
|
-
ye(),
|
|
3497
|
+
ye(), pt();
|
|
3498
3498
|
}
|
|
3499
3499
|
), G(g, () => {
|
|
3500
3500
|
ye();
|
|
@@ -3509,13 +3509,13 @@ const Gs = {
|
|
|
3509
3509
|
ut.value = y;
|
|
3510
3510
|
}
|
|
3511
3511
|
), G(x, () => {
|
|
3512
|
-
|
|
3512
|
+
pt();
|
|
3513
3513
|
}), G(u, () => {
|
|
3514
3514
|
Z(), gt();
|
|
3515
3515
|
}), G(l, () => {
|
|
3516
|
-
|
|
3516
|
+
pt(), Z(), gt();
|
|
3517
3517
|
}), G(c, () => {
|
|
3518
|
-
|
|
3518
|
+
pt(), Z();
|
|
3519
3519
|
}), G(
|
|
3520
3520
|
() => o.x,
|
|
3521
3521
|
(y) => {
|
|
@@ -3537,34 +3537,34 @@ const Gs = {
|
|
|
3537
3537
|
rt.value = y, Z();
|
|
3538
3538
|
}
|
|
3539
3539
|
), G(dt, () => {
|
|
3540
|
-
|
|
3540
|
+
pt(), Z();
|
|
3541
3541
|
}), G(
|
|
3542
3542
|
() => o.minH,
|
|
3543
3543
|
() => {
|
|
3544
|
-
|
|
3544
|
+
pt();
|
|
3545
3545
|
}
|
|
3546
3546
|
), G(
|
|
3547
3547
|
() => o.maxH,
|
|
3548
3548
|
() => {
|
|
3549
|
-
|
|
3549
|
+
pt();
|
|
3550
3550
|
}
|
|
3551
3551
|
), G(
|
|
3552
3552
|
() => o.minW,
|
|
3553
3553
|
() => {
|
|
3554
|
-
|
|
3554
|
+
pt();
|
|
3555
3555
|
}
|
|
3556
3556
|
), G(
|
|
3557
3557
|
() => o.maxW,
|
|
3558
3558
|
() => {
|
|
3559
|
-
|
|
3559
|
+
pt();
|
|
3560
3560
|
}
|
|
3561
3561
|
), G(
|
|
3562
3562
|
() => r == null ? void 0 : r.margin,
|
|
3563
3563
|
(y) => {
|
|
3564
|
-
!y || y[0] == d.value[0] && y[1] == d.value[1] || (d.value = y.map((
|
|
3564
|
+
!y || y[0] == d.value[0] && y[1] == d.value[1] || (d.value = y.map((_) => Number(_)), Z(), gt());
|
|
3565
3565
|
}
|
|
3566
3566
|
);
|
|
3567
|
-
function
|
|
3567
|
+
function B(y) {
|
|
3568
3568
|
Rt(y);
|
|
3569
3569
|
}
|
|
3570
3570
|
function K(y) {
|
|
@@ -3579,47 +3579,47 @@ const Gs = {
|
|
|
3579
3579
|
function St(y) {
|
|
3580
3580
|
o.isBounded === null && (ut.value = y);
|
|
3581
3581
|
}
|
|
3582
|
-
function
|
|
3582
|
+
function N(y) {
|
|
3583
3583
|
E.value = y;
|
|
3584
3584
|
}
|
|
3585
3585
|
function Y(y) {
|
|
3586
3586
|
u.value = y;
|
|
3587
3587
|
}
|
|
3588
3588
|
function O(y) {
|
|
3589
|
-
|
|
3589
|
+
f.value = y;
|
|
3590
3590
|
}
|
|
3591
3591
|
function lt() {
|
|
3592
3592
|
$.value = _n() === "rtl", It();
|
|
3593
3593
|
}
|
|
3594
3594
|
function ct(y) {
|
|
3595
|
-
const
|
|
3596
|
-
l.value = parseInt(
|
|
3595
|
+
const _ = y.toString();
|
|
3596
|
+
l.value = parseInt(_);
|
|
3597
3597
|
}
|
|
3598
|
-
s.on("updateWidth",
|
|
3599
|
-
s.off("updateWidth",
|
|
3598
|
+
s.on("updateWidth", B), s.on("compact", K), s.on("setDraggable", ht), s.on("setResizable", bt), s.on("setBounded", St), s.on("setTransformScale", N), s.on("setRowHeight", Y), s.on("setMaxRows", O), s.on("directionchange", lt), s.on("setColNum", ct), $.value = _n() === "rtl", Vn(() => {
|
|
3599
|
+
s.off("updateWidth", B), s.off("compact", K), s.off("setDraggable", ht), s.off("setResizable", bt), s.off("setBounded", St), s.off("setTransformScale", N), s.off("setRowHeight", Y), s.off("setMaxRows", O), s.off("directionchange", lt), s.off("setColNum", ct), V.value && V.value.unset();
|
|
3600
3600
|
}), Kn(() => {
|
|
3601
|
-
r != null && r.responsive && r.lastBreakpoint ? l.value = Ke(r.lastBreakpoint, r == null ? void 0 : r.cols) : l.value = r == null ? void 0 : r.colNum, u.value = r == null ? void 0 : r.rowHeight, c.value = (r == null ? void 0 : r.width) !== null ? r == null ? void 0 : r.width : 100, d.value = (r == null ? void 0 : r.margin) !== void 0 ? r.margin : [10, 10],
|
|
3601
|
+
r != null && r.responsive && r.lastBreakpoint ? l.value = Ke(r.lastBreakpoint, r == null ? void 0 : r.cols) : l.value = r == null ? void 0 : r.colNum, u.value = r == null ? void 0 : r.rowHeight, c.value = (r == null ? void 0 : r.width) !== null ? r == null ? void 0 : r.width : 100, d.value = (r == null ? void 0 : r.margin) !== void 0 ? r.margin : [10, 10], f.value = r == null ? void 0 : r.maxRows, o.isDraggable === null ? g.value = r == null ? void 0 : r.isDraggable : g.value = o.isDraggable, o.isResizable === null ? x.value = r == null ? void 0 : r.isResizable : x.value = o.isResizable, o.isBounded === null ? ut.value = r == null ? void 0 : r.isBounded : ut.value = o.isBounded, E.value = r == null ? void 0 : r.transformScale, T.value = r == null ? void 0 : r.useCssTransforms, L.value = r == null ? void 0 : r.useStyleCursor, Z();
|
|
3602
3602
|
});
|
|
3603
3603
|
function Z() {
|
|
3604
|
-
var y,
|
|
3604
|
+
var y, _, U, tt, at;
|
|
3605
3605
|
o.x + o.w > l.value ? (z.value = 0, rt.value = o.w > l.value ? l.value : o.w) : (z.value = o.x, rt.value = o.w);
|
|
3606
3606
|
let H = _t(z.value, it.value, rt.value, nt.value);
|
|
3607
|
-
M.value && (H.top = (y = C.value) == null ? void 0 : y.top, dt.value ? H.right = (
|
|
3607
|
+
M.value && (H.top = (y = C.value) == null ? void 0 : y.top, dt.value ? H.right = (_ = C.value) == null ? void 0 : _.left : H.left = (U = C.value) == null ? void 0 : U.left), v.value && (H.width = (tt = h.value) == null ? void 0 : tt.width, H.height = (at = h.value) == null ? void 0 : at.height);
|
|
3608
3608
|
let Tt;
|
|
3609
3609
|
T.value ? dt.value ? Tt = ui(H.top, H.right, H.width, H.height) : Tt = ci(H.top, H.left, H.width, H.height) : dt.value ? Tt = hi(H.top, H.right, H.width, H.height) : Tt = di(H.top, H.left, H.width, H.height), R.value = Tt;
|
|
3610
3610
|
}
|
|
3611
3611
|
function gt() {
|
|
3612
3612
|
let y = {};
|
|
3613
|
-
for (let
|
|
3614
|
-
let U = R.value[
|
|
3613
|
+
for (let _ of ["width", "height"]) {
|
|
3614
|
+
let U = R.value[_].match(/^(\d+)px$/);
|
|
3615
3615
|
if (!U)
|
|
3616
3616
|
return;
|
|
3617
|
-
y[
|
|
3617
|
+
y[_] = U[1];
|
|
3618
3618
|
}
|
|
3619
3619
|
n("container-resized", o.i, o.h, o.w, y.height, y.width);
|
|
3620
3620
|
}
|
|
3621
3621
|
function Qt(y) {
|
|
3622
|
-
var
|
|
3622
|
+
var _, U, tt;
|
|
3623
3623
|
{
|
|
3624
3624
|
if (o.static)
|
|
3625
3625
|
return;
|
|
@@ -3630,12 +3630,12 @@ const Gs = {
|
|
|
3630
3630
|
let W;
|
|
3631
3631
|
switch (y.type) {
|
|
3632
3632
|
case "resizestart": {
|
|
3633
|
-
|
|
3633
|
+
pt(), j.value = rt.value, ot.value = nt.value, W = _t(z.value, it.value, rt.value, nt.value), X.width = W.width, X.height = W.height, h.value = X, v.value = !0;
|
|
3634
3634
|
break;
|
|
3635
3635
|
}
|
|
3636
3636
|
case "resizemove": {
|
|
3637
3637
|
const mt = Mn(q.value, Q.value, H, Tt);
|
|
3638
|
-
dt.value ? X.width = Number((
|
|
3638
|
+
dt.value ? X.width = Number((_ = h.value) == null ? void 0 : _.width) - mt.deltaX / E.value : X.width = Number((U = h.value) == null ? void 0 : U.width) + mt.deltaX / E.value, X.height = Number((tt = h.value) == null ? void 0 : tt.height) + mt.deltaY / E.value, h.value = X;
|
|
3639
3639
|
break;
|
|
3640
3640
|
}
|
|
3641
3641
|
case "resizeend": {
|
|
@@ -3656,7 +3656,7 @@ const Gs = {
|
|
|
3656
3656
|
}
|
|
3657
3657
|
}
|
|
3658
3658
|
function ve(y) {
|
|
3659
|
-
var
|
|
3659
|
+
var _, U, tt;
|
|
3660
3660
|
if (o.static || v.value)
|
|
3661
3661
|
return;
|
|
3662
3662
|
const at = Tn(y);
|
|
@@ -3669,8 +3669,8 @@ const Gs = {
|
|
|
3669
3669
|
J.value = z.value, et.value = it.value;
|
|
3670
3670
|
const mt = y.target;
|
|
3671
3671
|
let zt = mt.offsetParent.getBoundingClientRect(), Ct = mt.getBoundingClientRect();
|
|
3672
|
-
const le = Ct.left / E.value, Re = zt.left / E.value,
|
|
3673
|
-
dt.value ? X.left = (
|
|
3672
|
+
const le = Ct.left / E.value, Re = zt.left / E.value, Ne = Ct.right / E.value, Fe = zt.right / E.value, Be = Ct.top / E.value, Le = zt.top / E.value;
|
|
3673
|
+
dt.value ? X.left = (Ne - Fe) * -1 : X.left = le - Re, X.top = Be - Le, C.value = X, M.value = !0;
|
|
3674
3674
|
break;
|
|
3675
3675
|
}
|
|
3676
3676
|
case "dragend": {
|
|
@@ -3679,14 +3679,14 @@ const Gs = {
|
|
|
3679
3679
|
n("dragend", y, o.i);
|
|
3680
3680
|
const mt = y.target;
|
|
3681
3681
|
let zt = mt.offsetParent.getBoundingClientRect(), Ct = mt.getBoundingClientRect();
|
|
3682
|
-
const le = Ct.left / E.value, Re = zt.left / E.value,
|
|
3683
|
-
dt.value ? X.left = (
|
|
3682
|
+
const le = Ct.left / E.value, Re = zt.left / E.value, Ne = Ct.right / E.value, Fe = zt.right / E.value, Be = Ct.top / E.value, Le = zt.top / E.value;
|
|
3683
|
+
dt.value ? X.left = (Ne - Fe) * -1 : X.left = le - Re, X.top = Be - Le, C.value = null, M.value = !1;
|
|
3684
3684
|
break;
|
|
3685
3685
|
}
|
|
3686
3686
|
case "dragmove": {
|
|
3687
3687
|
n("dragging", y, o.i);
|
|
3688
3688
|
const mt = Mn(F.value, w.value, H, Tt);
|
|
3689
|
-
if (dt.value ? X.left = Number((
|
|
3689
|
+
if (dt.value ? X.left = Number((_ = C.value) == null ? void 0 : _.left) - mt.deltaX / E.value : X.left = Number((U = C.value) == null ? void 0 : U.left) + mt.deltaX / E.value, X.top = Number((tt = C.value) == null ? void 0 : tt.top) + mt.deltaY / E.value, ut.value) {
|
|
3690
3690
|
const zt = y.target.offsetParent.clientHeight - se(o.h, u.value, d.value[1]);
|
|
3691
3691
|
X.top = st(X.top, 0, zt);
|
|
3692
3692
|
const Ct = $t(), le = c.value - se(o.w, Ct, d.value[0]);
|
|
@@ -3708,41 +3708,41 @@ const Gs = {
|
|
|
3708
3708
|
};
|
|
3709
3709
|
s.emit("dragEvent", Oe);
|
|
3710
3710
|
}
|
|
3711
|
-
function _t(y,
|
|
3711
|
+
function _t(y, _, U, tt) {
|
|
3712
3712
|
const at = $t();
|
|
3713
3713
|
let H;
|
|
3714
3714
|
return dt.value ? H = {
|
|
3715
3715
|
right: Math.round(at * y + (y + 1) * d.value[0]),
|
|
3716
|
-
top: Math.round(u.value *
|
|
3716
|
+
top: Math.round(u.value * _ + (_ + 1) * d.value[1]),
|
|
3717
3717
|
width: U === 1 / 0 ? U : Math.round(at * U + Math.max(0, U - 1) * d.value[0]),
|
|
3718
3718
|
height: tt === 1 / 0 ? tt : Math.round(u.value * tt + Math.max(0, tt - 1) * d.value[1])
|
|
3719
3719
|
} : H = {
|
|
3720
3720
|
left: Math.round(at * y + (y + 1) * d.value[0]),
|
|
3721
|
-
top: Math.round(u.value *
|
|
3721
|
+
top: Math.round(u.value * _ + (_ + 1) * d.value[1]),
|
|
3722
3722
|
width: U === 1 / 0 ? U : Math.round(at * U + Math.max(0, U - 1) * d.value[0]),
|
|
3723
3723
|
height: tt === 1 / 0 ? tt : Math.round(u.value * tt + Math.max(0, tt - 1) * d.value[1])
|
|
3724
3724
|
}, H;
|
|
3725
3725
|
}
|
|
3726
|
-
function re(y,
|
|
3726
|
+
function re(y, _) {
|
|
3727
3727
|
const U = $t();
|
|
3728
|
-
let tt = Math.round((
|
|
3729
|
-
return tt = Math.max(Math.min(tt, l.value - rt.value), 0), at = Math.max(Math.min(at,
|
|
3728
|
+
let tt = Math.round((_ - d.value[0]) / (U + d.value[0])), at = Math.round((y - d.value[1]) / (u.value + d.value[1]));
|
|
3729
|
+
return tt = Math.max(Math.min(tt, l.value - rt.value), 0), at = Math.max(Math.min(at, f.value - nt.value), 0), { x: tt, y: at };
|
|
3730
3730
|
}
|
|
3731
3731
|
function $t() {
|
|
3732
3732
|
return (c.value - d.value[0] * (l.value + 1)) / l.value;
|
|
3733
3733
|
}
|
|
3734
|
-
function se(y,
|
|
3735
|
-
return Number.isFinite(y) ? Math.round(
|
|
3734
|
+
function se(y, _, U) {
|
|
3735
|
+
return Number.isFinite(y) ? Math.round(_ * y + Math.max(0, y - 1) * U) : y;
|
|
3736
3736
|
}
|
|
3737
|
-
function st(y,
|
|
3738
|
-
return Math.max(Math.min(y, U),
|
|
3737
|
+
function st(y, _, U) {
|
|
3738
|
+
return Math.max(Math.min(y, U), _);
|
|
3739
3739
|
}
|
|
3740
|
-
function xt(y,
|
|
3740
|
+
function xt(y, _, U = !1) {
|
|
3741
3741
|
const tt = $t();
|
|
3742
|
-
let at = Math.round((
|
|
3743
|
-
return U ? H = Math.ceil((y + d.value[1]) / (u.value + d.value[1])) : H = Math.round((y + d.value[1]) / (u.value + d.value[1])), at = Math.max(Math.min(at, l.value - z.value), 0), H = Math.max(Math.min(H,
|
|
3742
|
+
let at = Math.round((_ + d.value[0]) / (tt + d.value[0])), H = 0;
|
|
3743
|
+
return U ? H = Math.ceil((y + d.value[1]) / (u.value + d.value[1])) : H = Math.round((y + d.value[1]) / (u.value + d.value[1])), at = Math.max(Math.min(at, l.value - z.value), 0), H = Math.max(Math.min(H, f.value - it.value), 0), { w: at, h: H };
|
|
3744
3744
|
}
|
|
3745
|
-
function Rt(y,
|
|
3745
|
+
function Rt(y, _) {
|
|
3746
3746
|
c.value = y;
|
|
3747
3747
|
}
|
|
3748
3748
|
function It(y) {
|
|
@@ -3755,17 +3755,17 @@ const Gs = {
|
|
|
3755
3755
|
allowFrom: o.dragAllowFrom,
|
|
3756
3756
|
...o.dragOption
|
|
3757
3757
|
};
|
|
3758
|
-
V.value.draggable(y), b.value || (b.value = !0, V.value.on("dragstart dragmove dragend", function(
|
|
3759
|
-
ve(
|
|
3758
|
+
V.value.draggable(y), b.value || (b.value = !0, V.value.on("dragstart dragmove dragend", function(_) {
|
|
3759
|
+
ve(_);
|
|
3760
3760
|
}));
|
|
3761
3761
|
} else
|
|
3762
3762
|
V.value.draggable({
|
|
3763
3763
|
enabled: !1
|
|
3764
3764
|
});
|
|
3765
3765
|
}
|
|
3766
|
-
function
|
|
3766
|
+
function pt() {
|
|
3767
3767
|
if ((V.value === null || V.value === void 0) && (V.value = kt(a.value), L.value || V.value.styleCursor(!1)), x.value && !o.static) {
|
|
3768
|
-
let y = _t(0, 0, o.maxW, o.maxH),
|
|
3768
|
+
let y = _t(0, 0, o.maxW, o.maxH), _ = _t(0, 0, o.minW, o.minH);
|
|
3769
3769
|
const U = {
|
|
3770
3770
|
edges: {
|
|
3771
3771
|
left: !1,
|
|
@@ -3776,8 +3776,8 @@ const Gs = {
|
|
|
3776
3776
|
ignoreFrom: o.resizeIgnoreFrom,
|
|
3777
3777
|
restrictSize: {
|
|
3778
3778
|
min: {
|
|
3779
|
-
height:
|
|
3780
|
-
width:
|
|
3779
|
+
height: _.height * E.value,
|
|
3780
|
+
width: _.width * E.value
|
|
3781
3781
|
},
|
|
3782
3782
|
max: {
|
|
3783
3783
|
height: y.height * E.value,
|
|
@@ -3801,16 +3801,16 @@ const Gs = {
|
|
|
3801
3801
|
const be = $o();
|
|
3802
3802
|
function ae() {
|
|
3803
3803
|
j.value = rt.value, ot.value = nt.value;
|
|
3804
|
-
let y = be == null ? void 0 : be.default[0].elm.getBoundingClientRect(),
|
|
3805
|
-
if (
|
|
3806
|
-
n("resized", o.i,
|
|
3804
|
+
let y = be == null ? void 0 : be.default[0].elm.getBoundingClientRect(), _ = xt(y.height, y.width, !0);
|
|
3805
|
+
if (_.w < o.minW && (_.w = o.minW), _.w > o.maxW && (_.w = o.maxW), _.h < o.minH && (_.h = o.minH), _.h > o.maxH && (_.h = o.maxH), _.h < 1 && (_.h = 1), _.w < 1 && (_.w = 1), (rt.value !== _.w || nt.value !== _.h) && n("resize", o.i, _.h, _.w, y.height, y.width), j.value !== _.w || ot.value !== _.h) {
|
|
3806
|
+
n("resized", o.i, _.h, _.w, y.height, y.width);
|
|
3807
3807
|
const U = {
|
|
3808
3808
|
eventType: "resizeend",
|
|
3809
3809
|
i: o.i,
|
|
3810
3810
|
x: z.value,
|
|
3811
3811
|
y: it.value,
|
|
3812
|
-
h:
|
|
3813
|
-
w:
|
|
3812
|
+
h: _.h,
|
|
3813
|
+
w: _.w
|
|
3814
3814
|
};
|
|
3815
3815
|
s.emit("resizeEvent", U);
|
|
3816
3816
|
}
|
|
@@ -3820,7 +3820,7 @@ const Gs = {
|
|
|
3820
3820
|
calcXY: re,
|
|
3821
3821
|
dragging: C,
|
|
3822
3822
|
...o
|
|
3823
|
-
}), (y,
|
|
3823
|
+
}), (y, _) => (vt(), Pt("div", {
|
|
3824
3824
|
ref_key: "this$refsItem",
|
|
3825
3825
|
ref: a,
|
|
3826
3826
|
class: yn(["vue-grid-item", Ot.value]),
|
|
@@ -3978,13 +3978,13 @@ Ro.isIE = function(e) {
|
|
|
3978
3978
|
Ro.isLegacyOpera = function() {
|
|
3979
3979
|
return !!window.opera;
|
|
3980
3980
|
};
|
|
3981
|
-
var
|
|
3981
|
+
var No = { exports: {} }, na = No.exports = {};
|
|
3982
3982
|
na.getOption = oa;
|
|
3983
3983
|
function oa(e, t, n) {
|
|
3984
3984
|
var o = e[t];
|
|
3985
3985
|
return o == null && n !== void 0 ? n : o;
|
|
3986
3986
|
}
|
|
3987
|
-
var $n =
|
|
3987
|
+
var $n = No.exports, ia = function(e) {
|
|
3988
3988
|
e = e || {};
|
|
3989
3989
|
var t = e.reporter, n = $n.getOption(e, "async", !0), o = $n.getOption(e, "auto", !0);
|
|
3990
3990
|
o && !n && (t && t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."), n = !0);
|
|
@@ -4003,13 +4003,13 @@ var $n = Fo.exports, ia = function(e) {
|
|
|
4003
4003
|
s || (g === void 0 && (g = n), r && (d(r), r = null), g ? u() : l());
|
|
4004
4004
|
}
|
|
4005
4005
|
function u() {
|
|
4006
|
-
r =
|
|
4006
|
+
r = f(l);
|
|
4007
4007
|
}
|
|
4008
4008
|
function d(g) {
|
|
4009
4009
|
var x = clearTimeout;
|
|
4010
4010
|
return x(g);
|
|
4011
4011
|
}
|
|
4012
|
-
function
|
|
4012
|
+
function f(g) {
|
|
4013
4013
|
var x = function(E) {
|
|
4014
4014
|
return setTimeout(E, 0);
|
|
4015
4015
|
};
|
|
@@ -4043,9 +4043,9 @@ function Un() {
|
|
|
4043
4043
|
}
|
|
4044
4044
|
var vn = "_erd";
|
|
4045
4045
|
function ra(e) {
|
|
4046
|
-
return e[vn] = {},
|
|
4046
|
+
return e[vn] = {}, Fo(e);
|
|
4047
4047
|
}
|
|
4048
|
-
function
|
|
4048
|
+
function Fo(e) {
|
|
4049
4049
|
return e[vn];
|
|
4050
4050
|
}
|
|
4051
4051
|
function sa(e) {
|
|
@@ -4053,7 +4053,7 @@ function sa(e) {
|
|
|
4053
4053
|
}
|
|
4054
4054
|
var aa = {
|
|
4055
4055
|
initState: ra,
|
|
4056
|
-
getState:
|
|
4056
|
+
getState: Fo,
|
|
4057
4057
|
cleanState: sa
|
|
4058
4058
|
}, de = mn.exports, la = function(e) {
|
|
4059
4059
|
e = e || {};
|
|
@@ -4069,10 +4069,10 @@ var aa = {
|
|
|
4069
4069
|
proxy: d
|
|
4070
4070
|
}, c.attachEvent("onresize", d);
|
|
4071
4071
|
else {
|
|
4072
|
-
var
|
|
4073
|
-
if (!
|
|
4072
|
+
var f = a(c);
|
|
4073
|
+
if (!f)
|
|
4074
4074
|
throw new Error("Element is not detectable by this strategy.");
|
|
4075
|
-
|
|
4075
|
+
f.contentDocument.defaultView.addEventListener("resize", d);
|
|
4076
4076
|
}
|
|
4077
4077
|
}
|
|
4078
4078
|
function r(c) {
|
|
@@ -4081,7 +4081,7 @@ var aa = {
|
|
|
4081
4081
|
}
|
|
4082
4082
|
function s(c, u, d) {
|
|
4083
4083
|
d || (d = u, u = c, c = null), c = c || {}, c.debug;
|
|
4084
|
-
function
|
|
4084
|
+
function f(g, x) {
|
|
4085
4085
|
var E = r(["display: block", "position: absolute", "top: 0", "left: 0", "width: 100%", "height: 100%", "border: none", "padding: 0", "margin: 0", "opacity: 0", "z-index: -1000", "pointer-events: none"]), T = !1, L = window.getComputedStyle(g), M = g.offsetWidth, C = g.offsetHeight;
|
|
4086
4086
|
o(g).startSize = {
|
|
4087
4087
|
width: M,
|
|
@@ -4124,7 +4124,7 @@ var aa = {
|
|
|
4124
4124
|
}
|
|
4125
4125
|
n ? n.add(v) : v();
|
|
4126
4126
|
}
|
|
4127
|
-
de.isIE(8) ? d(u) :
|
|
4127
|
+
de.isIE(8) ? d(u) : f(u, d);
|
|
4128
4128
|
}
|
|
4129
4129
|
function a(c) {
|
|
4130
4130
|
return o(c).object;
|
|
@@ -4187,7 +4187,7 @@ var aa = {
|
|
|
4187
4187
|
`, R += "@keyframes " + q + " { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }", w(R);
|
|
4188
4188
|
}
|
|
4189
4189
|
}
|
|
4190
|
-
function
|
|
4190
|
+
function f(v) {
|
|
4191
4191
|
v.className += " " + a + "_animation_active";
|
|
4192
4192
|
}
|
|
4193
4193
|
function g(v, h, F) {
|
|
@@ -4226,24 +4226,24 @@ var aa = {
|
|
|
4226
4226
|
if (S.unshift(i.get(h), "Scroll: "), t.log.apply)
|
|
4227
4227
|
t.log.apply(null, S);
|
|
4228
4228
|
else
|
|
4229
|
-
for (var
|
|
4230
|
-
t.log(S[
|
|
4229
|
+
for (var B = 0; B < S.length; B++)
|
|
4230
|
+
t.log(S[B]);
|
|
4231
4231
|
}
|
|
4232
4232
|
}
|
|
4233
4233
|
function q(S) {
|
|
4234
|
-
function
|
|
4234
|
+
function B(K) {
|
|
4235
4235
|
var ht = K.getRootNode && K.getRootNode().contains(K);
|
|
4236
4236
|
return K === K.ownerDocument.body || K.ownerDocument.body.contains(K) || ht;
|
|
4237
4237
|
}
|
|
4238
|
-
return !
|
|
4238
|
+
return !B(S) || window.getComputedStyle(S) === null;
|
|
4239
4239
|
}
|
|
4240
4240
|
function Q(S) {
|
|
4241
|
-
var
|
|
4241
|
+
var B = o(S).container.childNodes[0], K = window.getComputedStyle(B);
|
|
4242
4242
|
return !K.width || K.width.indexOf("px") === -1;
|
|
4243
4243
|
}
|
|
4244
4244
|
function R() {
|
|
4245
|
-
var S = window.getComputedStyle(h),
|
|
4246
|
-
return
|
|
4245
|
+
var S = window.getComputedStyle(h), B = {};
|
|
4246
|
+
return B.position = S.position, B.width = h.offsetWidth, B.height = h.offsetHeight, B.top = S.top, B.right = S.right, B.bottom = S.bottom, B.left = S.left, B.widthCSS = S.width, B.heightCSS = S.height, B;
|
|
4247
4247
|
}
|
|
4248
4248
|
function $() {
|
|
4249
4249
|
var S = R();
|
|
@@ -4263,8 +4263,8 @@ var aa = {
|
|
|
4263
4263
|
var S = R();
|
|
4264
4264
|
o(h).style = S;
|
|
4265
4265
|
}
|
|
4266
|
-
function j(S,
|
|
4267
|
-
o(S).lastWidth =
|
|
4266
|
+
function j(S, B, K) {
|
|
4267
|
+
o(S).lastWidth = B, o(S).lastHeight = K;
|
|
4268
4268
|
}
|
|
4269
4269
|
function ot(S) {
|
|
4270
4270
|
return E(S).childNodes[0];
|
|
@@ -4287,18 +4287,18 @@ var aa = {
|
|
|
4287
4287
|
function nt(S) {
|
|
4288
4288
|
return S * 2 + et();
|
|
4289
4289
|
}
|
|
4290
|
-
function ut(S,
|
|
4291
|
-
var ht = E(S), bt = T(S), St = z(
|
|
4292
|
-
ht.scrollLeft = St, ht.scrollTop =
|
|
4290
|
+
function ut(S, B, K) {
|
|
4291
|
+
var ht = E(S), bt = T(S), St = z(B), N = it(K), Y = rt(B), O = nt(K);
|
|
4292
|
+
ht.scrollLeft = St, ht.scrollTop = N, bt.scrollLeft = Y, bt.scrollTop = O;
|
|
4293
4293
|
}
|
|
4294
4294
|
function V() {
|
|
4295
4295
|
var S = o(h).container;
|
|
4296
4296
|
if (!S) {
|
|
4297
|
-
S = document.createElement("div"), S.className = a, S.style.cssText = c(["visibility: hidden", "display: inline", "width: 0px", "height: 0px", "z-index: -1", "overflow: hidden", "margin: 0", "padding: 0"]), o(h).container = S,
|
|
4298
|
-
var
|
|
4297
|
+
S = document.createElement("div"), S.className = a, S.style.cssText = c(["visibility: hidden", "display: inline", "width: 0px", "height: 0px", "z-index: -1", "overflow: hidden", "margin: 0", "padding: 0"]), o(h).container = S, f(S), h.appendChild(S);
|
|
4298
|
+
var B = function() {
|
|
4299
4299
|
o(h).onRendered && o(h).onRendered();
|
|
4300
4300
|
};
|
|
4301
|
-
g(S, "animationstart",
|
|
4301
|
+
g(S, "animationstart", B), o(h).onAnimationStart = B;
|
|
4302
4302
|
}
|
|
4303
4303
|
return S;
|
|
4304
4304
|
}
|
|
@@ -4307,17 +4307,17 @@ var aa = {
|
|
|
4307
4307
|
var st = o(h).style;
|
|
4308
4308
|
if (st.position === "static") {
|
|
4309
4309
|
h.style.setProperty("position", "relative", v.important ? "important" : "");
|
|
4310
|
-
var xt = function(Rt, It, ye,
|
|
4310
|
+
var xt = function(Rt, It, ye, pt) {
|
|
4311
4311
|
function be(y) {
|
|
4312
4312
|
return y.replace(/[^-\d\.]/g, "");
|
|
4313
4313
|
}
|
|
4314
|
-
var ae = ye[
|
|
4315
|
-
ae !== "auto" && be(ae) !== "0" && (Rt.warn("An element that is positioned static has style." +
|
|
4314
|
+
var ae = ye[pt];
|
|
4315
|
+
ae !== "auto" && be(ae) !== "0" && (Rt.warn("An element that is positioned static has style." + pt + "=" + ae + " which is ignored due to the static positioning. The element will need to be positioned relative, so the style." + pt + " will be set to 0. Element: ", It), It.style[pt] = 0);
|
|
4316
4316
|
};
|
|
4317
4317
|
xt(t, h, st, "top"), xt(t, h, st, "right"), xt(t, h, st, "bottom"), xt(t, h, st, "left");
|
|
4318
4318
|
}
|
|
4319
4319
|
}
|
|
4320
|
-
function
|
|
4320
|
+
function B(st, xt, Rt, It) {
|
|
4321
4321
|
return st = st ? st + "px" : "0", xt = xt ? xt + "px" : "0", Rt = Rt ? Rt + "px" : "0", It = It ? It + "px" : "0", ["left: " + st, "top: " + xt, "right: " + It, "bottom: " + Rt];
|
|
4322
4322
|
}
|
|
4323
4323
|
if (w("Injecting elements"), !o(h)) {
|
|
@@ -4327,8 +4327,8 @@ var aa = {
|
|
|
4327
4327
|
S();
|
|
4328
4328
|
var K = o(h).container;
|
|
4329
4329
|
K || (K = V());
|
|
4330
|
-
var ht = r.width, bt = r.height, St = c(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%", "left: 0px", "top: 0px"]),
|
|
4331
|
-
Z.dir = "ltr", Z.style.cssText = St, Z.className = a, gt.className = a, gt.style.cssText =
|
|
4330
|
+
var ht = r.width, bt = r.height, St = c(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%", "left: 0px", "top: 0px"]), N = c(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden"].concat(B(-(1 + ht), -(1 + bt), -bt, -ht))), Y = c(["position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%"]), O = c(["position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%"]), lt = c(["position: absolute", "left: 0", "top: 0"]), ct = c(["position: absolute", "width: 200%", "height: 200%"]), Z = document.createElement("div"), gt = document.createElement("div"), Qt = document.createElement("div"), ve = document.createElement("div"), _t = document.createElement("div"), re = document.createElement("div");
|
|
4331
|
+
Z.dir = "ltr", Z.style.cssText = St, Z.className = a, gt.className = a, gt.style.cssText = N, Qt.style.cssText = Y, ve.style.cssText = lt, _t.style.cssText = O, re.style.cssText = ct, Qt.appendChild(ve), _t.appendChild(re), gt.appendChild(Qt), gt.appendChild(_t), Z.appendChild(gt), K.appendChild(Z);
|
|
4332
4332
|
function $t() {
|
|
4333
4333
|
var st = o(h);
|
|
4334
4334
|
st && st.onExpand ? st.onExpand() : w("Aborting expand scroll handler: element has been uninstalled");
|
|
@@ -4344,7 +4344,7 @@ var aa = {
|
|
|
4344
4344
|
var ct = ot(Y), Z = z(O), gt = it(lt);
|
|
4345
4345
|
ct.style.setProperty("width", Z + "px", v.important ? "important" : ""), ct.style.setProperty("height", gt + "px", v.important ? "important" : "");
|
|
4346
4346
|
}
|
|
4347
|
-
function
|
|
4347
|
+
function B(Y) {
|
|
4348
4348
|
var O = h.offsetWidth, lt = h.offsetHeight, ct = O !== o(h).lastWidth || lt !== o(h).lastHeight;
|
|
4349
4349
|
w("Storing current size", O, lt), j(h, O, lt), n.add(0, function() {
|
|
4350
4350
|
if (ct) {
|
|
@@ -4408,22 +4408,22 @@ var aa = {
|
|
|
4408
4408
|
}
|
|
4409
4409
|
w("Element rendered.");
|
|
4410
4410
|
var Y = E(h), O = T(h);
|
|
4411
|
-
(Y.scrollLeft === 0 || Y.scrollTop === 0 || O.scrollLeft === 0 || O.scrollTop === 0) && (w("Scrollbars out of sync. Updating detector elements..."),
|
|
4411
|
+
(Y.scrollLeft === 0 || Y.scrollTop === 0 || O.scrollLeft === 0 || O.scrollTop === 0) && (w("Scrollbars out of sync. Updating detector elements..."), B(ht));
|
|
4412
4412
|
}
|
|
4413
4413
|
function St() {
|
|
4414
4414
|
if (w("Scroll detected."), Q(h)) {
|
|
4415
4415
|
w("Scroll event fired while unrendered. Ignoring...");
|
|
4416
4416
|
return;
|
|
4417
4417
|
}
|
|
4418
|
-
|
|
4418
|
+
B(ht);
|
|
4419
4419
|
}
|
|
4420
4420
|
if (w("registerListenersAndPositionElements invoked."), !o(h)) {
|
|
4421
4421
|
w("Aborting because element has been uninstalled");
|
|
4422
4422
|
return;
|
|
4423
4423
|
}
|
|
4424
4424
|
o(h).onRendered = bt, o(h).onExpand = St, o(h).onShrink = St;
|
|
4425
|
-
var
|
|
4426
|
-
S(h,
|
|
4425
|
+
var N = o(h).style;
|
|
4426
|
+
S(h, N.width, N.height);
|
|
4427
4427
|
}
|
|
4428
4428
|
function Kt() {
|
|
4429
4429
|
if (w("finalizeDomMutation invoked."), !o(h)) {
|
|
@@ -4453,7 +4453,7 @@ var aa = {
|
|
|
4453
4453
|
uninstall: C,
|
|
4454
4454
|
initDocument: l
|
|
4455
4455
|
};
|
|
4456
|
-
}, he = gn.exports.forEach, da = Qs, ha = Js,
|
|
4456
|
+
}, he = gn.exports.forEach, da = Qs, ha = Js, pa = Zs, fa = ta, ga = ea, Xn = mn.exports, ma = ia, Nt = aa, va = la, ya = ua;
|
|
4457
4457
|
function qn(e) {
|
|
4458
4458
|
return Array.isArray(e) || e.length !== void 0;
|
|
4459
4459
|
}
|
|
@@ -4479,9 +4479,9 @@ var ba = function(e) {
|
|
|
4479
4479
|
set: e.idHandler.set
|
|
4480
4480
|
};
|
|
4481
4481
|
else {
|
|
4482
|
-
var n =
|
|
4482
|
+
var n = pa(), o = fa({
|
|
4483
4483
|
idGenerator: n,
|
|
4484
|
-
stateHandler:
|
|
4484
|
+
stateHandler: Nt
|
|
4485
4485
|
});
|
|
4486
4486
|
t = o;
|
|
4487
4487
|
}
|
|
@@ -4490,16 +4490,16 @@ var ba = function(e) {
|
|
|
4490
4490
|
var r = i === !1;
|
|
4491
4491
|
i = ga(r);
|
|
4492
4492
|
}
|
|
4493
|
-
var s =
|
|
4494
|
-
a.callOnAdd = !!
|
|
4493
|
+
var s = Ft(e, "batchProcessor", ma({ reporter: i })), a = {};
|
|
4494
|
+
a.callOnAdd = !!Ft(e, "callOnAdd", !0), a.debug = !!Ft(e, "debug", !1);
|
|
4495
4495
|
var l = ha(t), c = da({
|
|
4496
|
-
stateHandler:
|
|
4497
|
-
}), u, d =
|
|
4496
|
+
stateHandler: Nt
|
|
4497
|
+
}), u, d = Ft(e, "strategy", "object"), f = Ft(e, "important", !1), g = {
|
|
4498
4498
|
reporter: i,
|
|
4499
4499
|
batchProcessor: s,
|
|
4500
|
-
stateHandler:
|
|
4500
|
+
stateHandler: Nt,
|
|
4501
4501
|
idHandler: t,
|
|
4502
|
-
important:
|
|
4502
|
+
important: f
|
|
4503
4503
|
};
|
|
4504
4504
|
if (d === "scroll" && (Xn.isLegacyOpera() ? (i.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."), d = "object") : Xn.isIE(9) && (i.warn("Scroll strategy is not supported on IE9. Changing to object strategy."), d = "object")), d === "scroll")
|
|
4505
4505
|
u = ya(g);
|
|
@@ -4528,10 +4528,10 @@ var ba = function(e) {
|
|
|
4528
4528
|
C = Yn(C);
|
|
4529
4529
|
else
|
|
4530
4530
|
return i.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");
|
|
4531
|
-
var w = 0, q =
|
|
4532
|
-
}), R =
|
|
4531
|
+
var w = 0, q = Ft(M, "callOnAdd", a.callOnAdd), Q = Ft(M, "onReady", function() {
|
|
4532
|
+
}), R = Ft(M, "debug", a.debug);
|
|
4533
4533
|
he(C, function($) {
|
|
4534
|
-
|
|
4534
|
+
Nt.getState($) || (Nt.initState($), t.set($));
|
|
4535
4535
|
var b = t.get($);
|
|
4536
4536
|
if (R && i.log("Attaching listener to element", b, $), !c.isDetectable($)) {
|
|
4537
4537
|
if (R && i.log(b, "Not detectable."), c.isBusy($)) {
|
|
@@ -4540,10 +4540,10 @@ var ba = function(e) {
|
|
|
4540
4540
|
});
|
|
4541
4541
|
return;
|
|
4542
4542
|
}
|
|
4543
|
-
return R && i.log(b, "Making detectable..."), c.markBusy($, !0), u.makeDetectable({ debug: R, important:
|
|
4544
|
-
if (R && i.log(b, "onElementDetectable"),
|
|
4543
|
+
return R && i.log(b, "Making detectable..."), c.markBusy($, !0), u.makeDetectable({ debug: R, important: f }, $, function(P) {
|
|
4544
|
+
if (R && i.log(b, "onElementDetectable"), Nt.getState(P)) {
|
|
4545
4545
|
c.markAsDetectable(P), c.markBusy(P, !1), u.addListener(P, h), F(q, P, v);
|
|
4546
|
-
var j =
|
|
4546
|
+
var j = Nt.getState(P);
|
|
4547
4547
|
if (j && j.startSize) {
|
|
4548
4548
|
var ot = P.offsetWidth, J = P.offsetHeight;
|
|
4549
4549
|
(j.startSize.width !== ot || j.startSize.height !== J) && h(P);
|
|
@@ -4569,7 +4569,7 @@ var ba = function(e) {
|
|
|
4569
4569
|
else
|
|
4570
4570
|
return i.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");
|
|
4571
4571
|
he(M, function(C) {
|
|
4572
|
-
l.removeAllListeners(C), u.uninstall(C),
|
|
4572
|
+
l.removeAllListeners(C), u.uninstall(C), Nt.cleanState(C);
|
|
4573
4573
|
});
|
|
4574
4574
|
}
|
|
4575
4575
|
function L(M) {
|
|
@@ -4583,7 +4583,7 @@ var ba = function(e) {
|
|
|
4583
4583
|
initDocument: L
|
|
4584
4584
|
};
|
|
4585
4585
|
};
|
|
4586
|
-
function
|
|
4586
|
+
function Ft(e, t, n) {
|
|
4587
4587
|
var o = e[t];
|
|
4588
4588
|
return o == null && n !== void 0 ? n : o;
|
|
4589
4589
|
}
|
|
@@ -4615,7 +4615,7 @@ const xa = {
|
|
|
4615
4615
|
},
|
|
4616
4616
|
emits: ["layout-created", "layout-before-mount", "layout-mounted", "layout-updated", "layout-ready", "update:layout", "breakpoint-changed"],
|
|
4617
4617
|
setup(e, { expose: t, emit: n }) {
|
|
4618
|
-
const o = e, i = k(null), r = k({}), s = k(0), a = k(!1), l = k({ x: 0, y: 0, w: 0, h: 0, i: -1 }), c = k({}), u = k(null), d = k(null),
|
|
4618
|
+
const o = e, i = k(null), r = k({}), s = k(0), a = k(!1), l = k({ x: 0, y: 0, w: 0, h: 0, i: -1 }), c = k({}), u = k(null), d = k(null), f = k(null), g = k(), x = k({}), E = k(), T = Vs();
|
|
4619
4619
|
Bo("eventBus", T);
|
|
4620
4620
|
function L(b) {
|
|
4621
4621
|
if (!b)
|
|
@@ -4634,17 +4634,17 @@ const xa = {
|
|
|
4634
4634
|
}
|
|
4635
4635
|
}
|
|
4636
4636
|
T.on("resizeEvent", L), T.on("dragEvent", M), n("layout-created", o.layout), Vn(() => {
|
|
4637
|
-
T.off("resizeEvent", L), T.off("dragEvent", M), wi("resize", h),
|
|
4637
|
+
T.off("resizeEvent", L), T.off("dragEvent", M), wi("resize", h), f.value && f.value.uninstall(x.value);
|
|
4638
4638
|
}), Lo(() => {
|
|
4639
4639
|
n("layout-before-mount", o.layout);
|
|
4640
4640
|
}), Kn(() => {
|
|
4641
4641
|
n("layout-mounted", o.layout), yt(function() {
|
|
4642
|
-
|
|
4642
|
+
pi(o.layout), d.value = o.layout, yt(() => {
|
|
4643
4643
|
R(), h(), xi("resize", h), Zt(o.layout, o.verticalCompact), n("layout-updated", o.layout), v(), yt(() => {
|
|
4644
|
-
|
|
4644
|
+
f.value = ba({
|
|
4645
4645
|
strategy: "scroll",
|
|
4646
4646
|
callOnAdd: !1
|
|
4647
|
-
}),
|
|
4647
|
+
}), f.value.listenTo(x.value, function() {
|
|
4648
4648
|
h();
|
|
4649
4649
|
});
|
|
4650
4650
|
});
|
|
@@ -4808,7 +4808,7 @@ const xa = {
|
|
|
4808
4808
|
layouts: c,
|
|
4809
4809
|
lastBreakpoint: u,
|
|
4810
4810
|
originalLayout: d,
|
|
4811
|
-
erd:
|
|
4811
|
+
erd: f,
|
|
4812
4812
|
defaultGridItem: E,
|
|
4813
4813
|
dragEvent: w
|
|
4814
4814
|
}), (b, P) => (vt(), Pt("div", {
|
|
@@ -4855,14 +4855,14 @@ const xa = {
|
|
|
4855
4855
|
emits: ["fullScreen"],
|
|
4856
4856
|
setup(e, { emit: t }) {
|
|
4857
4857
|
const n = e, o = t, i = ei(), r = Lt(() => {
|
|
4858
|
-
const
|
|
4859
|
-
if (!
|
|
4858
|
+
const N = Object.values(i.dashboards).find((Y) => Y.id === n.name);
|
|
4859
|
+
if (!N && n.connectionId)
|
|
4860
4860
|
try {
|
|
4861
4861
|
return i.newDashboard(n.name, n.connectionId);
|
|
4862
4862
|
} catch (Y) {
|
|
4863
4863
|
return console.error("Failed to create dashboard:", Y), null;
|
|
4864
4864
|
}
|
|
4865
|
-
return
|
|
4865
|
+
return N;
|
|
4866
4866
|
}), {
|
|
4867
4867
|
layout: s,
|
|
4868
4868
|
editMode: a,
|
|
@@ -4870,7 +4870,7 @@ const xa = {
|
|
|
4870
4870
|
filter: c,
|
|
4871
4871
|
filterError: u,
|
|
4872
4872
|
globalCompletion: d,
|
|
4873
|
-
showAddItemModal:
|
|
4873
|
+
showAddItemModal: f,
|
|
4874
4874
|
showQueryEditor: g,
|
|
4875
4875
|
showMarkdownEditor: x,
|
|
4876
4876
|
editingItem: E,
|
|
@@ -4910,52 +4910,52 @@ const xa = {
|
|
|
4910
4910
|
isMobile: !1
|
|
4911
4911
|
},
|
|
4912
4912
|
{
|
|
4913
|
-
layoutUpdated: (
|
|
4914
|
-
dimensionsUpdate: (
|
|
4915
|
-
triggerResize: () =>
|
|
4916
|
-
fullScreen: (
|
|
4913
|
+
layoutUpdated: (N) => w(N),
|
|
4914
|
+
dimensionsUpdate: (N) => S(N),
|
|
4915
|
+
triggerResize: () => B(),
|
|
4916
|
+
fullScreen: (N) => o("fullScreen", N)
|
|
4917
4917
|
}
|
|
4918
4918
|
), Kt = Lt(() => {
|
|
4919
|
-
var
|
|
4920
|
-
return ((
|
|
4919
|
+
var N;
|
|
4920
|
+
return ((N = r.value) == null ? void 0 : N.state) === "editing" || !1;
|
|
4921
4921
|
}), dt = k(!1), Ot = k(!1);
|
|
4922
|
-
function S(
|
|
4922
|
+
function S(N) {
|
|
4923
4923
|
if (!r.value) return;
|
|
4924
|
-
const Y = document.querySelector(`.vue-grid-item[data-i="${
|
|
4924
|
+
const Y = document.querySelector(`.vue-grid-item[data-i="${N}"] .grid-item-content`);
|
|
4925
4925
|
if (Y) {
|
|
4926
|
-
const O = Y.getBoundingClientRect(), lt = 36, ct = Math.floor(O.width), Z = Math.floor(O.height - lt);
|
|
4927
|
-
r.value.id && it(
|
|
4926
|
+
const O = Y.getBoundingClientRect(), lt = z(N, r.value.id).type === "section-header" ? 0 : 36, ct = Math.floor(O.width), Z = Math.floor(O.height - lt);
|
|
4927
|
+
r.value.id && it(N, r.value.id, { width: ct, height: Z });
|
|
4928
4928
|
}
|
|
4929
4929
|
}
|
|
4930
|
-
function
|
|
4931
|
-
r.value && s.value.forEach((
|
|
4932
|
-
S(
|
|
4930
|
+
function B() {
|
|
4931
|
+
r.value && s.value.forEach((N) => {
|
|
4932
|
+
S(N.i);
|
|
4933
4933
|
});
|
|
4934
4934
|
}
|
|
4935
4935
|
function K() {
|
|
4936
4936
|
dt.value = !0, yt(() => {
|
|
4937
|
-
|
|
4937
|
+
B();
|
|
4938
4938
|
});
|
|
4939
4939
|
}
|
|
4940
|
-
function ht(
|
|
4941
|
-
dt.value === !0 && (w(
|
|
4942
|
-
|
|
4940
|
+
function ht(N) {
|
|
4941
|
+
dt.value === !0 && (w(N), yt(() => {
|
|
4942
|
+
B();
|
|
4943
4943
|
}));
|
|
4944
4944
|
}
|
|
4945
|
-
function bt(
|
|
4946
|
-
F(
|
|
4947
|
-
|
|
4945
|
+
function bt(N) {
|
|
4946
|
+
F(N), o("fullScreen", N === "fullscreen"), yt(() => {
|
|
4947
|
+
B();
|
|
4948
4948
|
});
|
|
4949
4949
|
}
|
|
4950
4950
|
async function St() {
|
|
4951
4951
|
if (r.value) {
|
|
4952
4952
|
Ot.value = !0;
|
|
4953
4953
|
try {
|
|
4954
|
-
const { default:
|
|
4954
|
+
const { default: N } = await import("./html2canvas.esm-dgT_1dIT.js"), Y = document.querySelector(".grid-content");
|
|
4955
4955
|
if (!Y)
|
|
4956
4956
|
throw new Error("Dashboard content not found");
|
|
4957
4957
|
Y.classList.add("image-export-mode"), await yt(), await new Promise((Z) => setTimeout(Z, 500));
|
|
4958
|
-
const lt = (await
|
|
4958
|
+
const lt = (await N(Y, {
|
|
4959
4959
|
backgroundColor: "#ffffff",
|
|
4960
4960
|
scale: 2,
|
|
4961
4961
|
// Higher scale for better quality
|
|
@@ -4966,57 +4966,57 @@ const xa = {
|
|
|
4966
4966
|
height: Y.scrollHeight
|
|
4967
4967
|
})).toDataURL("image/png"), ct = document.createElement("a");
|
|
4968
4968
|
ct.download = `${r.value.name || "dashboard"}_${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.png`, ct.href = lt, document.body.appendChild(ct), ct.click(), document.body.removeChild(ct);
|
|
4969
|
-
} catch (
|
|
4970
|
-
console.error("Error exporting image:",
|
|
4969
|
+
} catch (N) {
|
|
4970
|
+
console.error("Error exporting image:", N), alert("Failed to export image. Please try again.");
|
|
4971
4971
|
} finally {
|
|
4972
|
-
const
|
|
4973
|
-
|
|
4972
|
+
const N = document.querySelector(".grid-content");
|
|
4973
|
+
N && N.classList.remove("image-export-mode"), Ot.value = !1;
|
|
4974
4974
|
}
|
|
4975
4975
|
}
|
|
4976
4976
|
}
|
|
4977
|
-
return (
|
|
4977
|
+
return (N, Y) => r.value ? (vt(), Pt("div", Ea, [
|
|
4978
4978
|
Bt(Go, {
|
|
4979
4979
|
dashboard: r.value,
|
|
4980
4980
|
"edits-locked": r.value.state === "locked",
|
|
4981
|
-
"selected-connection":
|
|
4982
|
-
filterError:
|
|
4983
|
-
globalCompletion:
|
|
4984
|
-
validateFilter:
|
|
4981
|
+
"selected-connection": I(l),
|
|
4982
|
+
filterError: I(u),
|
|
4983
|
+
globalCompletion: I(d),
|
|
4984
|
+
validateFilter: I(v),
|
|
4985
4985
|
"is-exporting-image": Ot.value,
|
|
4986
|
-
onConnectionChange:
|
|
4987
|
-
onFilterChange:
|
|
4988
|
-
onImportChange:
|
|
4989
|
-
onAddItem:
|
|
4990
|
-
onClearItems:
|
|
4986
|
+
onConnectionChange: I(h),
|
|
4987
|
+
onFilterChange: I(L),
|
|
4988
|
+
onImportChange: I(C),
|
|
4989
|
+
onAddItem: I(q),
|
|
4990
|
+
onClearItems: I(R),
|
|
4991
4991
|
onModeChange: bt,
|
|
4992
|
-
onRefresh:
|
|
4993
|
-
onClearFilter:
|
|
4994
|
-
onTitleUpdate:
|
|
4992
|
+
onRefresh: I(rt),
|
|
4993
|
+
onClearFilter: I(M),
|
|
4994
|
+
onTitleUpdate: I(ie),
|
|
4995
4995
|
onExportImage: St
|
|
4996
4996
|
}, null, 8, ["dashboard", "edits-locked", "selected-connection", "filterError", "globalCompletion", "validateFilter", "is-exporting-image", "onConnectionChange", "onFilterChange", "onImportChange", "onAddItem", "onClearItems", "onRefresh", "onClearFilter", "onTitleUpdate"]),
|
|
4997
|
-
r.value &&
|
|
4997
|
+
r.value && I(s).length === 0 ? (vt(), Pt("div", Sa, [
|
|
4998
4998
|
Bt(Vo, {
|
|
4999
4999
|
"dashboard-id": r.value.id
|
|
5000
5000
|
}, null, 8, ["dashboard-id"])
|
|
5001
5001
|
])) : (vt(), Pt("div", Ta, [
|
|
5002
5002
|
He("div", {
|
|
5003
5003
|
class: "grid-content",
|
|
5004
|
-
style: Te({ maxWidth:
|
|
5004
|
+
style: Te({ maxWidth: I(T) + "px" })
|
|
5005
5005
|
}, [
|
|
5006
|
-
Bt(
|
|
5006
|
+
Bt(I(wa), {
|
|
5007
5007
|
"col-num": 20,
|
|
5008
5008
|
"row-height": 30,
|
|
5009
5009
|
"is-draggable": Kt.value,
|
|
5010
5010
|
"is-resizable": Kt.value,
|
|
5011
5011
|
"is-bounded": !0,
|
|
5012
|
-
layout:
|
|
5012
|
+
layout: I(s),
|
|
5013
5013
|
"vertical-compact": !0,
|
|
5014
5014
|
"use-css-transforms": !0,
|
|
5015
5015
|
onLayoutUpdated: ht,
|
|
5016
5016
|
onLayoutReady: K
|
|
5017
5017
|
}, {
|
|
5018
5018
|
default: bn(() => [
|
|
5019
|
-
(vt(!0), Pt(xn, null, Xo(
|
|
5019
|
+
(vt(!0), Pt(xn, null, Xo(I(s), (O) => (vt(), xe(I(Oo), {
|
|
5020
5020
|
key: O.i,
|
|
5021
5021
|
static: O.static,
|
|
5022
5022
|
x: O.x,
|
|
@@ -5032,19 +5032,19 @@ const xa = {
|
|
|
5032
5032
|
Bt(Ko, {
|
|
5033
5033
|
"dashboard-id": r.value.id,
|
|
5034
5034
|
item: O,
|
|
5035
|
-
"edit-mode":
|
|
5036
|
-
filter:
|
|
5037
|
-
"get-item-data":
|
|
5038
|
-
symbols:
|
|
5039
|
-
"get-dashboard-query-executor":
|
|
5040
|
-
onDimensionClick:
|
|
5041
|
-
"set-item-data":
|
|
5042
|
-
onEditContent:
|
|
5043
|
-
onRemoveFilter:
|
|
5044
|
-
onBackgroundClick:
|
|
5035
|
+
"edit-mode": I(a),
|
|
5036
|
+
filter: I(c),
|
|
5037
|
+
"get-item-data": I(z),
|
|
5038
|
+
symbols: I(d),
|
|
5039
|
+
"get-dashboard-query-executor": I(et),
|
|
5040
|
+
onDimensionClick: I(nt),
|
|
5041
|
+
"set-item-data": I(it),
|
|
5042
|
+
onEditContent: I(j),
|
|
5043
|
+
onRemoveFilter: I(ut),
|
|
5044
|
+
onBackgroundClick: I(V),
|
|
5045
5045
|
onUpdateDimensions: S,
|
|
5046
|
-
onCopyItem:
|
|
5047
|
-
onRemoveItem:
|
|
5046
|
+
onCopyItem: I(b),
|
|
5047
|
+
onRemoveItem: I($)
|
|
5048
5048
|
}, null, 8, ["dashboard-id", "item", "edit-mode", "filter", "get-item-data", "symbols", "get-dashboard-query-executor", "onDimensionClick", "set-item-data", "onEditContent", "onRemoveFilter", "onBackgroundClick", "onCopyItem", "onRemoveItem"])
|
|
5049
5049
|
]),
|
|
5050
5050
|
_: 2
|
|
@@ -5055,35 +5055,34 @@ const xa = {
|
|
|
5055
5055
|
], 4)
|
|
5056
5056
|
])),
|
|
5057
5057
|
Bt(Qo, {
|
|
5058
|
-
show:
|
|
5059
|
-
onAdd:
|
|
5060
|
-
onClose:
|
|
5058
|
+
show: I(f),
|
|
5059
|
+
onAdd: I(Q),
|
|
5060
|
+
onClose: I(P)
|
|
5061
5061
|
}, null, 8, ["show", "onAdd", "onClose"]),
|
|
5062
|
-
|
|
5062
|
+
I(g) && I(E) ? (vt(), xe(wn, {
|
|
5063
5063
|
key: 2,
|
|
5064
5064
|
to: "body"
|
|
5065
5065
|
}, [
|
|
5066
5066
|
Bt(Jo, {
|
|
5067
|
-
connectionName:
|
|
5068
|
-
imports:
|
|
5069
|
-
rootContent:
|
|
5070
|
-
content:
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
}, null, 8, ["connectionName", "imports", "rootContent", "content", "showing", "onSave", "onCancel"])
|
|
5067
|
+
connectionName: I(z)(I(E).i, r.value.id).connectionName || "",
|
|
5068
|
+
imports: I(z)(I(E).i, r.value.id).imports || [],
|
|
5069
|
+
rootContent: I(z)(I(E).i, r.value.id).rootContent || [],
|
|
5070
|
+
content: I(z)(I(E).i, r.value.id).content,
|
|
5071
|
+
onSave: I(ot),
|
|
5072
|
+
onCancel: I(J)
|
|
5073
|
+
}, null, 8, ["connectionName", "imports", "rootContent", "content", "onSave", "onCancel"])
|
|
5075
5074
|
])) : Ye("", !0),
|
|
5076
|
-
|
|
5075
|
+
I(x) && I(E) ? (vt(), xe(wn, {
|
|
5077
5076
|
key: 3,
|
|
5078
5077
|
to: "body"
|
|
5079
5078
|
}, [
|
|
5080
5079
|
Bt(Zo, {
|
|
5081
|
-
connectionName:
|
|
5082
|
-
imports:
|
|
5083
|
-
rootContent:
|
|
5084
|
-
content:
|
|
5085
|
-
onSave:
|
|
5086
|
-
onCancel:
|
|
5080
|
+
connectionName: I(z)(I(E).i, r.value.id).connectionName || "",
|
|
5081
|
+
imports: I(z)(I(E).i, r.value.id).imports || [],
|
|
5082
|
+
rootContent: I(z)(I(E).i, r.value.id).rootContent || [],
|
|
5083
|
+
content: I(z)(I(E).i, r.value.id).structured_content,
|
|
5084
|
+
onSave: I(ot),
|
|
5085
|
+
onCancel: I(J)
|
|
5087
5086
|
}, null, 8, ["connectionName", "imports", "rootContent", "content", "onSave", "onCancel"])
|
|
5088
5087
|
])) : Ye("", !0)
|
|
5089
5088
|
])) : (vt(), Pt("div", Ma, [
|
|
@@ -5094,11 +5093,11 @@ const xa = {
|
|
|
5094
5093
|
key: 1,
|
|
5095
5094
|
class: "inline-creator",
|
|
5096
5095
|
visible: !0,
|
|
5097
|
-
onDashboardCreated:
|
|
5096
|
+
onDashboardCreated: I(Vt)
|
|
5098
5097
|
}, null, 8, ["onDashboardCreated"]))
|
|
5099
5098
|
]));
|
|
5100
5099
|
}
|
|
5101
|
-
}), Pa = /* @__PURE__ */ ni(_a, [["__scopeId", "data-v-
|
|
5100
|
+
}), Pa = /* @__PURE__ */ ni(_a, [["__scopeId", "data-v-4269eacb"]]);
|
|
5102
5101
|
export {
|
|
5103
5102
|
Pa as default
|
|
5104
5103
|
};
|