n8n-editor-ui 2.3.3 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/node-popularity.json +1920 -1916
- package/dist/assets/{AddDataTableModal-BYsEOjtf.js → AddDataTableModal-BWxuL_U1.js} +18 -21
- package/dist/assets/{AgentEditorModal-CnYw6elM.css → AgentEditorModal-9v5_7c4M.css} +11 -7
- package/dist/assets/{AgentEditorModal-CdUKcN7b.js → AgentEditorModal-ClIVB6be.js} +34 -37
- package/dist/assets/{Alert-BSiQ7W4W.js → Alert-C0sX2MmC.js} +9 -9
- package/dist/assets/AnimatedSpinner-B25lpnvb.js +15 -0
- package/dist/assets/{AnnotationTagsDropdown.ee-CPHqM0oA.js → AnnotationTagsDropdown.ee-bqrzcFvD.js} +6 -6
- package/dist/assets/{MainHeader-KNrtVK1m.js → AppHeader-Bk2_Gkdr.js} +359 -528
- package/dist/assets/{MainHeader-CSaAWCWj.css → AppHeader-CiEVBSe4.css} +42 -160
- package/dist/assets/{MainSidebar-BvZcZjNQ.js → AppSidebar-DVQtWhNG.js} +107 -83
- package/dist/assets/{MainSidebar-CEsQ8o1Y.css → AppSidebar-qYnACKTG.css} +13 -4
- package/dist/assets/{AuthView-DBipI9XX.js → AuthView-B70yKQIj.js} +12 -12
- package/dist/assets/{SettingsView-6sirGv9l.css → BottomMenu-CYgiV90C.css} +57 -37
- package/dist/assets/{BottomMenu-n6wDMblT.js → BottomMenu-Zsty8SFw.js} +70 -168
- package/dist/assets/{useCanvasMapping-BLB5IFnL.js → CanvasRunWorkflowButton-D05EeNT9.js} +268 -262
- package/dist/assets/{useCanvasMapping-CyDAqgNV.css → CanvasRunWorkflowButton-D_Rqnskj.css} +203 -203
- package/dist/assets/{ChangePasswordView-N8tRCxXS.js → ChangePasswordView-B5SZMMPu.js} +14 -18
- package/dist/assets/{ChatAgentAvatar-B68ZZ295.css → ChatAgentAvatar-D94COYC_.css} +10 -13
- package/dist/assets/ChatAgentAvatar-lJduQjSM.js +67 -0
- package/dist/assets/{ChatFile-B6hcldJk.js → ChatFile-DGN9Z6P_.js} +17 -17
- package/dist/assets/{ChatLayout-ZIIWLYox.js → ChatLayout-B3HCEtmF.js} +11 -15
- package/dist/assets/{ChatLayout-CxM-3LAt.css → ChatLayout-C5Cltxb6.css} +1 -8
- package/dist/assets/{ChatPersonalAgentsView-CHjVJlH9.js → ChatPersonalAgentsView-CfuU16Wx.js} +19 -24
- package/dist/assets/{ChatSidebar-DcNxY7Pt.css → ChatSidebar-D-hWKn7w.css} +126 -0
- package/dist/assets/{ChatSidebar-D1wzPLte.js → ChatSidebar-DxXP8jvn.js} +56 -71
- package/dist/assets/{ChatView-CEdaGOiq.js → ChatView-DGO5M0-j.js} +113 -112
- package/dist/assets/{ChatView-DrZ9gYjI.css → ChatView-DjGNW1KJ.css} +58 -50
- package/dist/assets/{ChatWorkflowAgentsView-DDoSKFjL.js → ChatWorkflowAgentsView-BDUzYR0a.js} +19 -24
- package/dist/assets/CollectionParameter-CX0d0ppe.js +42 -0
- package/dist/assets/{CommunityNodeUpdateInfo-D_fpxg7T.js → CommunityNodeUpdateInfo-BzF3To7U.js} +13 -13
- package/dist/assets/{CopyInput-CkRSExvb.js → CopyInput-B3eGtGOr.js} +15 -15
- package/dist/assets/{CredentialIcon-CsmA8n5q.js → CredentialIcon-Co-DgDkv.js} +6 -6
- package/dist/assets/{CredentialPicker-Dc9_fQqB.js → CredentialPicker-xUgsLzd_.js} +8 -8
- package/dist/assets/{CredentialSelectorModal-CrHTSX3D.js → CredentialSelectorModal-te4cxLHY.js} +22 -26
- package/dist/assets/{CredentialsView-BHjKX7p7.js → CredentialsView-CSMNv5Qi.js} +46 -51
- package/dist/assets/{DataTableActions-Baa_gpFk.js → DataTableActions-BkI1G_w4.js} +6 -6
- package/dist/assets/{DataTableDetailsView-Csre5EoG.js → DataTableDetailsView-D5XYBEVr.js} +27 -30
- package/dist/assets/{DataTableView-DvZt7cVh.js → DataTableView-U-FAWXix.js} +31 -36
- package/dist/assets/DemoFooter-uIyuy9UT.js +53 -0
- package/dist/assets/{Draggable-wlu-YKYh.js → Draggable-0gyx_CsY.js} +5 -5
- package/dist/assets/{EmptySharedSectionActionBox-BoAVktyy.js → EmptySharedSectionActionBox-DtGMtVsp.js} +5 -5
- package/dist/assets/{EnterpriseEdition.ee-CvUo0Y3B.js → EnterpriseEdition.ee-UhVkBS4f.js} +2 -2
- package/dist/assets/{EntityNotFound-Dk9s3CwF.js → EntityNotFound-qBJJDr9S.js} +9 -12
- package/dist/assets/{EntityUnAuthorised-h6YriaK9.js → EntityUnAuthorised-Ci980jH0.js} +8 -11
- package/dist/assets/{ErrorView-BGXVjv22.js → ErrorView-CPQg7TDd.js} +13 -16
- package/dist/assets/{EvaluationsRootView-CEJYrCEy.js → EvaluationsRootView-CzP9JGh2.js} +34 -36
- package/dist/assets/{EvaluationsView-DmaEZ7wK.js → EvaluationsView-ikx3LyQf.js} +28 -33
- package/dist/assets/{ExecutionsTime-K-nIEY55.js → ExecutionsTime-D5RuLFMY.js} +16 -15
- package/dist/assets/{ExecutionsView-BC4uwKPS.js → ExecutionsView-cMwfmY4W.js} +62 -65
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-DYabADwO.js → ExternalSecretsProviderConnectionSwitch.ee-BglbvOQG.js} +18 -17
- package/dist/assets/FixedCollectionParameter-COuGvpZ8.css +642 -0
- package/dist/assets/FixedCollectionParameter-rO9blroR.js +1571 -0
- package/dist/assets/FolderBreadcrumbs-DegmC04u.js +187 -0
- package/dist/assets/{SaveButton-Dc01Y2MA.css → FolderBreadcrumbs-eBFopiOp.css} +7 -14
- package/dist/assets/{ForgotMyPasswordView-BxFjt7yf.js → ForgotMyPasswordView-CKDZcZP9.js} +14 -18
- package/dist/assets/{InsightsChartAverageRuntime-mcy8IMaN.js → InsightsChartAverageRuntime-69U4sUmH.js} +10 -11
- package/dist/assets/{InsightsChartFailed-iXvqlU_7.js → InsightsChartFailed-Ct64T5GJ.js} +8 -9
- package/dist/assets/{InsightsChartFailureRate-DzWy07B4.js → InsightsChartFailureRate-BOdV-Q3d.js} +9 -11
- package/dist/assets/{InsightsChartTimeSaved-Db1u-o2U.js → InsightsChartTimeSaved-B83s59mL.js} +9 -11
- package/dist/assets/{InsightsChartTotal-Bge4JSj-.js → InsightsChartTotal-1A5vqW4E.js} +7 -9
- package/dist/assets/{InsightsDashboard-BgxCUZWd.js → InsightsDashboard-Dpwy8q6a.js} +37 -38
- package/dist/assets/{InsightsPaywall-DJIAsFUW.js → InsightsPaywall-iaN7Yt1s.js} +15 -18
- package/dist/assets/{InsightsSummary-uZyetR3b.js → InsightsSummary-UGkz-k9w.js} +11 -11
- package/dist/assets/{InsightsTableWorkflows-9h4pU1WK.js → InsightsTableWorkflows-AP6ddx9D.js} +22 -24
- package/dist/assets/{KeyboardShortcutTooltip-Bpb4SkjE.js → KeyboardShortcutTooltip-Dwz4Hv8g.js} +6 -6
- package/dist/assets/LogsPanel-Cz9qV0gc.js +40 -0
- package/dist/assets/{LogsPanel-BG48JZqa.js → LogsPanel-DuiKN1Na.js} +100 -100
- package/dist/assets/{MCPConnectWorkflowsModal-CWg0xros.js → MCPConnectWorkflowsModal-CrhdbX54.js} +36 -41
- package/dist/assets/{MigrationRuleDetail-Dj4iZ8em.js → MigrationRuleDetail-BXj7ghDO.js} +23 -26
- package/dist/assets/{MigrationRules-CMk4HuMV.js → MigrationRules-CWeHH-jb.js} +21 -24
- package/dist/assets/{Modal-BNJXVsfA.js → Modal-CLJXjbTN.js} +27 -26
- package/dist/assets/{ModelByIdSelectorModal-BwhmTdU4.js → ModelByIdSelectorModal-_Q2e43WD.js} +18 -22
- package/dist/assets/{NDVEmptyState-D9V46oIb.js → NDVEmptyState-CJWa4Aka.js} +15 -12
- package/dist/assets/{NodeCreation-DiAqT9SN.js → NodeCreation-BKxsZGAf.js} +30 -52
- package/dist/assets/{ItemsRenderer-DkobJF9f.css → NodeCreator-039HRrqJ.css} +1525 -6
- package/dist/assets/{NodeCreator-Bjt6BI9v.js → NodeCreator-CRhdWp9N.js} +978 -87
- package/dist/assets/{NodeDetailsView-Ct9i-rTh.js → NodeDetailsView-Cm52jG-U.js} +72 -86
- package/dist/assets/{NodeDetailsViewV2-Dh4gzwFe.js → NodeDetailsViewV2-CqGBXjHp.js} +69 -85
- package/dist/assets/{NodeIcon-t97i3ntx.js → NodeIcon-SaoWBT_U.js} +10 -10
- package/dist/assets/{NodeIcon-BDxr0f30.css → NodeIcon-zqTc5h-V.css} +1 -1
- package/dist/assets/{NodeSettings-Cz9vhjW-.js → NodeSettings-BWWEo77y.js} +73 -73
- package/dist/assets/{NodeView-AuBajxDh.css → NodeView-Xwcu11Wh.css} +11 -11
- package/dist/assets/{NodeView-3Y-9RowK.js → NodeView-xEYRJxA0.js} +171 -148
- package/dist/assets/{OAuthConsentView-Bg5-jLUL.js → OAuthConsentView-D6mfPIJI.js} +14 -17
- package/dist/assets/{ParameterInputList-C1BdtAjc.css → ParameterInputList-BUZ33Aem.css} +717 -208
- package/dist/assets/{ParameterInputList-D3pQ9DPD.js → ParameterInputList-Cb2_SQfz.js} +1864 -1039
- package/dist/assets/{ProjectBreadcrumb-CwG4u83J.js → ProjectBreadcrumb-2BEX5IDD.js} +8 -8
- package/dist/assets/{ProjectCardBadge-DEF5xaop.js → ProjectCardBadge-CTVSam44.js} +10 -10
- package/dist/assets/{ProjectHeader-Ftxgilbl.js → ProjectHeader-BagblRFt.js} +14 -14
- package/dist/assets/{ProjectIcon-CBV14vRK.js → ProjectIcon-gwTM9uPG.js} +8 -8
- package/dist/assets/{ProjectRoleView-DxR_UDnr.js → ProjectRoleView-B5mhpgJj.js} +19 -22
- package/dist/assets/{ProjectRolesView-D5UGjI0u.js → ProjectRolesView-CO-fdyVV.js} +18 -21
- package/dist/assets/{ProjectSettings-DjmRzWiu.js → ProjectSettings-CpdJ0QXS.js} +31 -33
- package/dist/assets/{ProjectSharing-CXtVcK-7.js → ProjectSharing-CgRKQQe4.js} +16 -16
- package/dist/assets/{ProjectVariables-xB0qVBxe.js → ProjectVariables-B7LU3SGS.js} +40 -45
- package/dist/assets/{ProviderSettingsModal-BqKcWfeR.js → ProviderSettingsModal-RmJC0Qwe.js} +20 -25
- package/dist/assets/{PushConnectionTracker-Cwk4a7eu.js → PushConnectionTracker-v1yU_xFk.js} +4 -4
- package/dist/assets/{ResolversView-CnNl-Auj.js → ResolversView-OeI_dYci.js} +20 -23
- package/dist/assets/{ResourceFiltersDropdown-CRkQSQvs.js → ResourceFiltersDropdown-bH--4wBS.js} +12 -12
- package/dist/assets/{ResourcesListLayout-DLAMdJD5.css → ResourcesListLayout-BhnhvHiw.css} +140 -0
- package/dist/assets/{ResourcesListLayout-CreZ1Su6.js → ResourcesListLayout-CS0nUJNt.js} +32 -23
- package/dist/assets/{RunData-Ti8dstr8.js → RunData-B_Vlvf1V.js} +20367 -28266
- package/dist/assets/{RunData-CGWkR8tE.css → RunData-xpRgLK8S.css} +2 -2
- package/dist/assets/{RunDataHtml-S_j2pLRX.js → RunDataHtml-BMxc-zRm.js} +5 -5
- package/dist/assets/RunDataHtml-wQh8fACG.js +5 -0
- package/dist/assets/{RunDataJson-C9RYDf3k.js → RunDataJson-D23jdsWY.js} +31 -31
- package/dist/assets/{RunDataJsonActions-CVkDV_4I.js → RunDataJsonActions-DFa7pezf.js} +19 -22
- package/dist/assets/{RunDataParsedAiContent-B6PgQw1V.js → RunDataParsedAiContent-BCprT0E8.js} +15 -16
- package/dist/assets/RunDataParsedAiContent-o_QkeE0L.js +15 -0
- package/dist/assets/{RunDataSearch-DHw36qjO.js → RunDataSearch-BU2qi4nP.js} +10 -13
- package/dist/assets/{RunDataTable-Co9VAMrg.js → RunDataTable-BDrFzGfU.js} +32 -35
- package/dist/assets/{SamlOnboarding-CpWUC0gl.js → SamlOnboarding-DPYTM0tb.js} +14 -18
- package/dist/assets/{SelectedItemsInfo-wq6nTjan.js → SelectedItemsInfo-CKmcAObD.js} +5 -5
- package/dist/assets/{SettingsApiView-eiQOdjgq.js → SettingsApiView-BowYRtTk.js} +24 -26
- package/dist/assets/{SettingsChatHubView-D4WEo9L3.js → SettingsChatHubView-CObWHU09.js} +18 -23
- package/dist/assets/{SettingsCommunityNodesView-C0AaNOEN.js → SettingsCommunityNodesView-wk9JxXqL.js} +38 -41
- package/dist/assets/{SettingsExternalSecrets-y47selKn.js → SettingsExternalSecrets-C41eND_Y.js} +18 -21
- package/dist/assets/{SettingsLdapView-YMVYMnzw.js → SettingsLdapView-D1L1iyvE.js} +22 -25
- package/dist/assets/{SettingsLogStreamingView-BSzLdWpE.js → SettingsLogStreamingView-BqlK3i3Z.js} +21 -23
- package/dist/assets/{SettingsMCPView-BU0f3ymz.js → SettingsMCPView-CoTmbtV_.js} +42 -45
- package/dist/assets/{SettingsPersonalView-BAfYDXor.js → SettingsPersonalView-BMGG66o5.js} +15 -18
- package/dist/assets/SettingsSidebar-RZssT7t8.js +58 -0
- package/dist/assets/{useCommandBar-eK4Fv9lH.css → SettingsSidebar-hr5ASDKX.css} +22 -24
- package/dist/assets/{SettingsSourceControl-DiTdqVc2.js → SettingsSourceControl-C_XOb728.js} +19 -22
- package/dist/assets/{SettingsSso-D9mWYb6m.js → SettingsSso-DkvVZOSA.js} +26 -28
- package/dist/assets/{SettingsUsageAndPlan-Bhhz0N_R.js → SettingsUsageAndPlan-Cnxx5J_k.js} +20 -22
- package/dist/assets/{SettingsUsersView-Cyv_ZTSa.js → SettingsUsersView-DRFHlEG_.js} +50 -27
- package/dist/assets/{SetupTemplateFormStep-B-OXuIEU.js → SetupTemplateFormStep-DTl-SQ5_.js} +15 -15
- package/dist/assets/{SetupView-BvYO_h_-.js → SetupView-BfCKw7tL.js} +14 -18
- package/dist/assets/{SetupWorkflowCredentialsButton-29sPlZ15.js → SetupWorkflowCredentialsButton-BDNBEpgH.js} +21 -19
- package/dist/assets/{SetupWorkflowFromTemplateView-wGZJlu_v.js → SetupWorkflowFromTemplateView-zNitmbxd.js} +21 -24
- package/dist/assets/{SeverityTag-DiRdnrHj.js → SeverityTag-R-mbBDWg.js} +6 -6
- package/dist/assets/{SigninView-CZmSlJU4.js → SigninView-CspSfYWl.js} +16 -19
- package/dist/assets/{SignoutView-BUsJauew.js → SignoutView-CbmvjLhS.js} +10 -10
- package/dist/assets/{SignupView-CBmZdEUa.js → SignupView-D088WMnK.js} +27 -26
- package/dist/assets/{SkeletonAgentCard-felAhV_j.js → SkeletonAgentCard-DNUy88vs.js} +12 -12
- package/dist/assets/{PageViewLayout-Cn6FD0Wt.css → SlideTransition-Bv5Vx35L.css} +6 -17
- package/dist/assets/SlideTransition-CWSKQ4XI.js +11 -0
- package/dist/assets/{TagsDropdown-B3TllM9L.js → TagsDropdown-998vpfi2.js} +9 -9
- package/dist/assets/{TemplateCard-SxL2lAcu.js → TemplateCard-OCtSSObW.js} +9 -9
- package/dist/assets/{TemplateDetails-joifuvuq.js → TemplateDetails-CExTaNmN.js} +20 -20
- package/dist/assets/{TemplateList-Cr8NzldM.js → TemplateList-CYVIQLBo.js} +44 -44
- package/dist/assets/{TemplatesCollectionView-KlTGNZvL.js → TemplatesCollectionView-J4-MsKaR.js} +22 -25
- package/dist/assets/{TemplatesSearchView-R9w7J_qa.js → TemplatesSearchView-FeOl_F9u.js} +49 -52
- package/dist/assets/{TemplatesView-Cva7ybP0.js → TemplatesView-B2WxZgCT.js} +6 -6
- package/dist/assets/{TemplatesWorkflowView-cZBhTHOi.js → TemplatesWorkflowView-pgmIBnml.js} +23 -26
- package/dist/assets/{TestRunDetailView-C1Pcw196.js → TestRunDetailView-We9DOF3E.js} +20 -24
- package/dist/assets/{TextWithHighlights-CgDEugGZ.js → TextWithHighlights-CH5Zsswa.js} +2 -2
- package/dist/assets/{TimeAgo-D971QnHO.js → TimeAgo-DbbBIULe.js} +4 -4
- package/dist/assets/{ToolsSelectorModal-D4oxUUCF.js → ToolsSelectorModal-D0fzbH8I.js} +20 -23
- package/dist/assets/{TriggerPanel-BkdktrEp.js → TriggerPanel-B3wcn8yr.js} +51 -51
- package/dist/assets/VirtualSchema-C4mYgt95.js +28 -0
- package/dist/assets/{VirtualSchema-Brq3RG-a.js → VirtualSchema-DTit75Ni.js} +60 -61
- package/dist/assets/{VirtualSchema-CwutU4vj.css → VirtualSchema-pdpcVEq9.css} +1 -1
- package/dist/assets/{VueMarkdown-BlVr51fL.js → VueMarkdown-D0Ufjusy.js} +3 -3
- package/dist/assets/{WorkerView-CT6vkOh0.js → WorkerView-BaJG1lYK.js} +38 -42
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DSc_InaM.js → WorkflowExecutionsInfoAccordion-BAgAw-VZ.js} +7 -7
- package/dist/assets/{WorkflowExecutionsLandingPage-CuGCweH0.js → WorkflowExecutionsLandingPage-B5M2M_XO.js} +14 -17
- package/dist/assets/{WorkflowExecutionsPreview-DWGuXXJq.js → WorkflowExecutionsPreview-CGtRdwNt.js} +44 -46
- package/dist/assets/{WorkflowExecutionsView-B4v9ie53.js → WorkflowExecutionsView-R_7zX3VU.js} +60 -61
- package/dist/assets/{WorkflowHistory-BLC1cUoO.js → WorkflowHistory-BS71EB0y.js} +198 -196
- package/dist/assets/{WorkflowHistory-BBHdNsOb.css → WorkflowHistory-dUpsKg3Z.css} +42 -75
- package/dist/assets/{WorkflowLocation-X2ZVBc96.js → WorkflowLocation-CTPWi5M9.js} +18 -18
- package/dist/assets/{WorkflowOnboardingView-CmVI0XDf.js → WorkflowOnboardingView-BroupQUz.js} +10 -10
- package/dist/assets/{WorkflowPreview-CZAcz1Na.js → WorkflowPreview-DLbWDX-7.js} +9 -9
- package/dist/assets/{WorkflowTagsDropdown-DlKqZzjZ.js → WorkflowTagsDropdown-DMBpcKR1.js} +6 -6
- package/dist/assets/{WorkflowsView-C-PD10oe.css → WorkflowsView-0_qNZeIx.css} +32 -42
- package/dist/assets/{WorkflowsView-BDhK0stx.js → WorkflowsView-Bdslfqgx.js} +128 -238
- package/dist/assets/{_MapCache-ficiegRb.js → _MapCache-DkLivSSb.js} +46 -38
- package/dist/assets/{_baseOrderBy-DwurmLcj.js → _baseOrderBy-Cy5MGJv_.js} +8 -13
- package/dist/assets/{_initCloneObject-DPuE6hiH.js → _initCloneObject-DiO9tORE.js} +2 -2
- package/dist/assets/{aiTemplatesStarterCollection.store-B-exu89T.js → aiTemplatesStarterCollection.store-C5UvSRtb.js} +6 -6
- package/dist/assets/{apiKeys.store-DW3qN7-W.js → apiKeys.store-tF_8Mh4s.js} +4 -4
- package/dist/assets/{assistant.store-BWyMPD4R.js → assistant.store-BsyT2BFh.js} +8 -8
- package/dist/assets/{auth.eventBus-BQKtqsAd.js → auth.eventBus-Ce2KL2L4.js} +1 -1
- package/dist/assets/{banners.store-NV1mJdSo.js → banners.store-De4swlHn.js} +7 -7
- package/dist/assets/{buttons.esm-Euf82NbC.js → buttons.esm-DHCtg4os.js} +0 -5
- package/dist/assets/canvas.utils-6yT3qDz5.js +138 -0
- package/dist/assets/{chart-BI8B7UPV.js → chart-BpBZvUkM.js} +0 -6
- package/dist/assets/{chartjs.utils-CZqhhNLn.js → chartjs.utils-B8F_iMP1.js} +5 -5
- package/dist/assets/{chat.store-CIFGQpTZ.js → chat.store-DIrG4eKT.js} +34 -29
- package/dist/assets/{chatPanel.store-gj4bbTwF.js → chatPanel.store-XTtvoDW8.js} +6 -6
- package/dist/assets/{chunk-6z4oVpB-.js → chunk-r2Y0G7H8.js} +3 -2
- package/dist/assets/{col-Cd5kWzv_.js → col-gWKpvp-j.js} +2 -2
- package/dist/assets/collaboration.store-DuCY-6U-.js +287 -0
- package/dist/assets/{constants-vjryKFt3.js → constants-Bgby4me8.js} +12 -3
- package/dist/assets/{constants-B5yiZflE.js → constants-CRdXn3zB.js} +290 -301
- package/dist/assets/core-CKLPLCBJ.js +4 -0
- package/dist/assets/{core-BMwklDiH.js → core-DDiavqSm.js} +1 -1
- package/dist/assets/{dataTable.store-CigyhC-U.js → dataTable.store-DepEpEQf.js} +4 -4
- package/dist/assets/{date-picker-BjmPe_fb.js → date-picker-CutzRF4i.js} +13 -4
- package/dist/assets/{dateFormatter-DjYPheeb.js → dateFormatter-BiQ9pMrA.js} +4 -4
- package/dist/assets/{dateformat-BlfbK1ki.js → dateformat-BeHi9sF4.js} +2 -1
- package/dist/assets/{dialog-CFy8vuwh.js → dialog-ZxkAulrV.js} +4 -4
- package/dist/assets/{dist-BQ7E1jLN.js → dist-C4hPgTYg.js} +3 -3
- package/dist/assets/empty-nq5-pHAR.js +895 -0
- package/dist/assets/en-C4tPMX0d.js +2 -0
- package/dist/assets/{en-CF30SCh2.js → en-PrU4QUr7.js} +10 -2
- package/dist/assets/{es-C2DNxuAa.js → es-347rbIb-.js} +2 -2
- package/dist/assets/{evaluation.constants-CaU1Jek8.js → evaluation.constants-COHKT500.js} +12 -15
- package/dist/assets/{executions.store-BjQUzT_w.js → executions.store-D1BMCixf.js} +4 -4
- package/dist/assets/{exports-C5ncBo9h.js → exports-DwuuoPh-.js} +1 -3
- package/dist/assets/{externalSecrets.ee.store-DS-4lnXS.js → externalSecrets.ee.store-CClIdWWb.js} +4 -4
- package/dist/assets/{folders.store-BqKf5TBS.js → folders.store-DHmLGEYl.js} +4 -4
- package/dist/assets/{index-U6fZiFvz.css → index-BhFfa3xu.css} +3083 -2437
- package/dist/assets/{index-BFqYZQt_.js → index-CZ0ShzXs.js} +4327 -1864
- package/dist/assets/{insights.constants-D63-x9pu.js → insights.constants-98xWnZQu.js} +3 -3
- package/dist/assets/{insights.store-BwsFg9pQ.js → insights.store-B6MSLVpS.js} +7 -7
- package/dist/assets/{insights.utils-CWK5jWpE.js → insights.utils-B0txVt0Q.js} +6 -6
- package/dist/assets/{languageModules-DDJUl1h8.js → languageModules-DyQaii5v.js} +1 -1
- package/dist/assets/{logStreaming.store-BxM1T1ZK.js → logStreaming.store-3rdm0k17.js} +3 -3
- package/dist/assets/{mcp.store-ChjN6nuV.js → mcp.store--DVpfZPc.js} +4 -4
- package/dist/assets/{merge-DjI8TA-7.js → merge-B0-p153C.js} +2 -2
- package/dist/assets/{nodeCreator.store-CXJtK_5o.js → nodeCreator.store-BL_XgPCV.js} +1932 -2216
- package/dist/assets/{nodeIcon-CIlNGIQ6.js → nodeIcon-G45tSifH.js} +3 -3
- package/dist/assets/{nodeTransforms-yL73Ok-c.js → nodeTransforms-CjgwHZte.js} +2 -2
- package/dist/assets/{orderBy-DLgDRKnZ.js → orderBy-CI4ht8Wh.js} +3 -3
- package/dist/assets/{personalizedTemplatesV3.store-Bs_2J_OQ.js → personalizedTemplatesV3.store-EQdiv-tM.js} +4 -4
- package/dist/assets/{pickBy-DYW-ATsL.js → pickBy-CS854Y6u.js} +3 -3
- package/dist/assets/pushConnection.store-Rp8-mZo7.js +496 -0
- package/dist/assets/{radio-BeejvdFG.js → radio-I_Y35sEo.js} +2 -2
- package/dist/assets/{readyToRun.store-DX00OlhN.js → readyToRun.store-i9gaUDlh.js} +17 -8
- package/dist/assets/{readyToRunWorkflows.store-CR7Yn6At.js → readyToRunWorkflows.store-gcTSDf1M.js} +6 -6
- package/dist/assets/{roles.store-DeGSYcWL.js → roles.store-ByEYbWMb.js} +4 -4
- package/dist/assets/{router-CFnjpqoZ.js → router-CmCiJkA0.js} +316 -304
- package/dist/assets/{sanitize-html-BkT1y0bJ.js → sanitize-html-DeDnsMgc.js} +17 -17
- package/dist/assets/{semver-CjLBiqOi.js → semver-DkHAUe3T.js} +6 -8
- package/dist/assets/{sourceControl.eventBus-BlFJV1yj.js → sourceControl.eventBus-l-XuMGfW.js} +1 -1
- package/dist/assets/{sqlite3-worker1-bundler-friendly-BOYmhhGN.js → sqlite3-worker1-bundler-friendly-BvaOkVlV.js} +9 -2
- package/dist/assets/{src-CMoPZtHv.css → src-CUiJtOrW.css} +5070 -4059
- package/dist/assets/{src-BiuB4CZc.js → src-DpZSuyLC.js} +5805 -2547
- package/dist/assets/{sso.store-CgVzmGCn.js → sso.store-B0NxuXiJ.js} +3 -3
- package/dist/assets/{table-fp187Rky.js → table-C3aerURh.js} +5 -5
- package/dist/assets/{templateActions-Dn6PNjyj.js → templateActions-BGHev3SN.js} +5 -5
- package/dist/assets/{templateTransforms-BtbIlupE.js → templateTransforms-B0n1tACx.js} +1 -1
- package/dist/assets/{truncate-B1HVeveJ.js → truncate-BrM_9cme.js} +5 -5
- package/dist/assets/{typescript.worker-CYqLvLHh.js → typescript.worker-DZR6qltN.js} +224 -176
- package/dist/assets/{usage.store-DI2Rilu6.js → usage.store-3GYv6IW-.js} +3 -3
- package/dist/assets/{useActions-B3Tgqfk-.js → useActions-Buaifc4L.js} +5 -5
- package/dist/assets/useBugReporting-D6SXeO6B.js +130 -0
- package/dist/assets/useCalloutHelpers-Cwtyxtsm.js +80 -0
- package/dist/assets/{useCanvasOperations-BttAaAbZ.js → useCanvasOperations-DY9_Vcrs.js} +36 -32
- package/dist/assets/{useClipboard-CurFa2Dj.js → useClipboard-B8OKhRbY.js} +3 -3
- package/dist/assets/{useCredentialResolvers-CJPbKnJV.js → useCredentialResolvers-CCUEZ5V2.js} +5 -5
- package/dist/assets/{useCustomAgent-tUoLIUar.css → useCustomAgent-D8Sw5vcC.css} +32 -9
- package/dist/assets/useCustomAgent-h_FKujBQ.js +630 -0
- package/dist/assets/{useDebounce-BjcMkTu4.js → useDebounce-C4ttil9E.js} +12 -12
- package/dist/assets/{useExecutionData-B5c3pMYr.js → useExecutionData-CAzGOYWw.js} +2 -2
- package/dist/assets/{useExecutionDebugging-BAm9HytR.js → useExecutionDebugging-DQI5yARq.js} +7 -7
- package/dist/assets/{useExecutionHelpers-ClAdmv-B.js → useExecutionHelpers-DWZYR0dg.js} +5 -5
- package/dist/assets/useGlobalEntityCreation-BwX8UUSv.js +192 -0
- package/dist/assets/{useImportCurlCommand-L4oAG6dd.js → useImportCurlCommand-DRS2-Amm.js} +41 -36
- package/dist/assets/{useIntersectionObserver-Bb8gFEHX.js → useIntersectionObserver-CGg561I6.js} +1 -1
- package/dist/assets/{useKeybindings-30WRTvmG.js → useKeybindings-MR6cNtmK.js} +5 -5
- package/dist/assets/{useLogsTreeExpand-6_x7FouR.js → useLogsTreeExpand-CvDEwlbf.js} +41 -41
- package/dist/assets/{useMcp-T0ZvziGl.js → useMcp-BIeH6n02.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-BJH0h6XA.js → usePageRedirectionHelper-DPAtaAXY.js} +3 -3
- package/dist/assets/{usePinnedData-B88__knO.js → usePinnedData-BFTyeyJG.js} +6 -6
- package/dist/assets/{usePushConnection-O_Sg_NLA.js → usePushConnection-CcijHMYv.js} +12 -16
- package/dist/assets/{useRunWorkflow-BK9B9ALV.js → useRunWorkflow-wOjZEWNr.js} +106 -486
- package/dist/assets/{useSettingsItems-aqm5JSTf.js → useSettingsItems-CaNtH9v0.js} +5 -5
- package/dist/assets/{useTelemetryContext-DoX4HWmg.js → useTelemetryContext-CE5phjaX.js} +4 -4
- package/dist/assets/{useWorkflowsCache-CsbESieM.js → useWorkflowsCache-BBhvuqqB.js} +2 -2
- package/dist/assets/{userRoleProvisioning.store-CK7bojX8.js → userRoleProvisioning.store-COPddaUL.js} +3 -3
- package/dist/assets/{builder.store-CgMqPgnW.js → users.store-KBMG-745.js} +22801 -23949
- package/dist/assets/utils-BCX2a8sC.js +133 -0
- package/dist/assets/{versions.store-CzvzmERa.js → versions.store-BnGZ_WOG.js} +4 -4
- package/dist/assets/{vue-Dd77OcSb.js → vue-atn33zIp.js} +255 -213
- package/dist/assets/{vue-json-pretty-DF-vJpHf.js → vue-json-pretty-CTqCbq0T.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler-tP5dCd7J.js → vue.runtime.esm-bundler-XtMkEjzB.js} +703 -538
- package/dist/assets/{worker-CIvWfg3a.js → worker-BnP12nj7.js} +10 -3
- package/dist/index.html +116 -119
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/assets/AnimatedSpinner-DBPcagVq.js +0 -15
- package/dist/assets/BottomMenu-CRVyIu-B.css +0 -474
- package/dist/assets/ChatAgentAvatar-DoN0Vr4x.js +0 -67
- package/dist/assets/CollectionParameter-ByVUPeYR.js +0 -49
- package/dist/assets/DemoFooter-u1dOP76h.js +0 -62
- package/dist/assets/FixedCollectionParameter-CkTQ2epJ.js +0 -493
- package/dist/assets/FixedCollectionParameter-DT3ELzS9.css +0 -202
- package/dist/assets/ItemsRenderer-z7cKER1f.js +0 -922
- package/dist/assets/LogsPanel-B9QiohHK.js +0 -49
- package/dist/assets/NodeCreator-OSIpRI6S.css +0 -1649
- package/dist/assets/PageViewLayout-XiCAnPXE.js +0 -12
- package/dist/assets/PrebuiltAgentTemplatesView-B7uXEamJ.js +0 -151
- package/dist/assets/PrebuiltAgentTemplatesView-jF7HvWnL.css +0 -166
- package/dist/assets/RunDataHtml-CMYh4fix.js +0 -6
- package/dist/assets/RunDataParsedAiContent-DI_kumKV.js +0 -23
- package/dist/assets/SaveButton-DFMQz4OO.js +0 -89
- package/dist/assets/SettingsView-Ccz6LsAi.js +0 -87
- package/dist/assets/VirtualSchema-BOm-odEw.js +0 -33
- package/dist/assets/WorkflowActivationErrorMessage-CkxW6ZtU.js +0 -17
- package/dist/assets/WorkflowActivator-BGcCOUCH.css +0 -391
- package/dist/assets/WorkflowActivator-CisdBXpp.js +0 -362
- package/dist/assets/core-DeR-PV8K.js +0 -4
- package/dist/assets/empty-BUjCyq3U.js +0 -2450
- package/dist/assets/en-DyO2pPiC.js +0 -2
- package/dist/assets/schemaPreview.store-Bs_OZUsM.js +0 -113
- package/dist/assets/uniqBy-6k_SZ3dM.js +0 -10
- package/dist/assets/useBeforeUnload-dAltrwFm.js +0 -40
- package/dist/assets/useCommandBar-CXSPJjOq.js +0 -2425
- package/dist/assets/useCustomAgent-CSvOuB6K.js +0 -471
- package/dist/assets/useRecentResources-Dy5vqIyg.js +0 -118
- package/dist/assets/useWorkflowActivate-i3WAlo0M.js +0 -152
- package/dist/assets/utils-CnShVJFh.js +0 -54
- /package/dist/assets/{CalendarDate-zWqgZMlk.js → CalendarDate-CogIFc4_.js} +0 -0
- /package/dist/assets/{_plugin-vue_export-helper-BwBpWJRZ.js → _plugin-vue_export-helper-fRq25RGE.js} +0 -0
- /package/dist/assets/{fileUtils-Bt1vr1SC.js → fileUtils-C-Bxka0b.js} +0 -0
- /package/dist/assets/{mcp.constants-1HQX33wO.js → mcp.constants-Djm5lWYR.js} +0 -0
- /package/dist/assets/{preload-helper-CR0ecmWK.js → preload-helper-D8n1yiy9.js} +0 -0
- /package/dist/assets/{retry-B-tGcWte.js → retry-BLsJRFf0.js} +0 -0
- /package/dist/assets/{smartDecimal-gA9wGEba.js → smartDecimal-D3Shg2YQ.js} +0 -0
- /package/dist/assets/{sortByProperty-C6sPingU.js → sortByProperty-Dip6DXbv.js} +0 -0
- /package/dist/assets/{sqlite3-opfs-async-proxy-vVtmDGHX.js → sqlite3-opfs-async-proxy-BrtqH9Si.js} +0 -0
- /package/dist/assets/{xml-DDfXMqo8.js → xml-Cf0o4TxQ.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __toCommonJS, n as __esmMin, r as __export, t as __commonJSMin } from "./chunk-
|
|
2
|
-
import { Jt as NOOP, Kt as EMPTY_OBJ, Qt as generateCodeFrame, Sn as shared_esm_bundler_exports, Xt as capitalize, Yt as camelize, Zt as extend, _n as makeMap, a as init_runtime_dom_esm_bundler, cn as isObject, fn as isReservedProp, gn as isVoidTag, hn as isSymbol, ln as isOn, mn as isString, nn as isArray, on as isHTMLTag, pn as isSVGTag, qt as NO, rn as isBuiltInDirective, s as runtime_dom_esm_bundler_exports, sn as isMathMLTag, tn as init_shared_esm_bundler, wn as toHandlerKey, xn as parseStringStyle } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { a as __toCommonJS, n as __esmMin, r as __export, t as __commonJSMin } from "./chunk-r2Y0G7H8.js";
|
|
2
|
+
import { Jt as NOOP, Kt as EMPTY_OBJ, Qt as generateCodeFrame, Sn as shared_esm_bundler_exports, Xt as capitalize, Yt as camelize, Zt as extend, _n as makeMap, a as init_runtime_dom_esm_bundler, cn as isObject, fn as isReservedProp, gn as isVoidTag, hn as isSymbol, ln as isOn, mn as isString, nn as isArray, on as isHTMLTag, pn as isSVGTag, qt as NO, rn as isBuiltInDirective, s as runtime_dom_esm_bundler_exports, sn as isMathMLTag, tn as init_shared_esm_bundler, wn as toHandlerKey, xn as parseStringStyle } from "./vue.runtime.esm-bundler-XtMkEjzB.js";
|
|
3
3
|
function registerRuntimeHelpers(helpers) {
|
|
4
4
|
Object.getOwnPropertySymbols(helpers).forEach((s) => {
|
|
5
5
|
helperNameMap[s] = helpers[s];
|
|
@@ -262,13 +262,15 @@ function walkFunctionParams(node, onIdent) {
|
|
|
262
262
|
for (const p of node.params) for (const id of extractIdentifiers(p)) onIdent(id);
|
|
263
263
|
}
|
|
264
264
|
function walkBlockDeclarations(block, onIdent) {
|
|
265
|
-
|
|
265
|
+
const body = block.type === "SwitchCase" ? block.consequent : block.body;
|
|
266
|
+
for (const stmt of body) if (stmt.type === "VariableDeclaration") {
|
|
266
267
|
if (stmt.declare) continue;
|
|
267
268
|
for (const decl of stmt.declarations) for (const id of extractIdentifiers(decl.id)) onIdent(id);
|
|
268
269
|
} else if (stmt.type === "FunctionDeclaration" || stmt.type === "ClassDeclaration") {
|
|
269
270
|
if (stmt.declare || !stmt.id) continue;
|
|
270
271
|
onIdent(stmt.id);
|
|
271
272
|
} else if (isForStatement(stmt)) walkForStatement(stmt, true, onIdent);
|
|
273
|
+
else if (stmt.type === "SwitchStatement") walkSwitchStatement(stmt, true, onIdent);
|
|
272
274
|
}
|
|
273
275
|
function isForStatement(stmt) {
|
|
274
276
|
return stmt.type === "ForOfStatement" || stmt.type === "ForInStatement" || stmt.type === "ForStatement";
|
|
@@ -277,6 +279,12 @@ function walkForStatement(stmt, isVar, onIdent) {
|
|
|
277
279
|
const variable = stmt.type === "ForStatement" ? stmt.init : stmt.left;
|
|
278
280
|
if (variable && variable.type === "VariableDeclaration" && (variable.kind === "var" ? isVar : !isVar)) for (const decl of variable.declarations) for (const id of extractIdentifiers(decl.id)) onIdent(id);
|
|
279
281
|
}
|
|
282
|
+
function walkSwitchStatement(stmt, isVar, onIdent) {
|
|
283
|
+
for (const cs of stmt.cases) {
|
|
284
|
+
for (const stmt2 of cs.consequent) if (stmt2.type === "VariableDeclaration" && (stmt2.kind === "var" ? isVar : !isVar)) for (const decl of stmt2.declarations) for (const id of extractIdentifiers(decl.id)) onIdent(id);
|
|
285
|
+
walkBlockDeclarations(cs, onIdent);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
280
288
|
function extractIdentifiers(param, nodes = []) {
|
|
281
289
|
switch (param.type) {
|
|
282
290
|
case "Identifier":
|
|
@@ -367,6 +375,9 @@ function hasDynamicKeyVBind(node) {
|
|
|
367
375
|
function isText$1(node) {
|
|
368
376
|
return node.type === 5 || node.type === 2;
|
|
369
377
|
}
|
|
378
|
+
function isVPre(p) {
|
|
379
|
+
return p.type === 7 && p.name === "pre";
|
|
380
|
+
}
|
|
370
381
|
function isVSlot(p) {
|
|
371
382
|
return p.type === 7 && p.name === "slot";
|
|
372
383
|
}
|
|
@@ -457,6 +468,16 @@ function getMemoedVNodeCall(node) {
|
|
|
457
468
|
if (node.type === 14 && node.callee === WITH_MEMO) return node.arguments[1].returns;
|
|
458
469
|
else return node;
|
|
459
470
|
}
|
|
471
|
+
function isAllWhitespace(str) {
|
|
472
|
+
for (let i = 0; i < str.length; i++) if (!isWhitespace(str.charCodeAt(i))) return false;
|
|
473
|
+
return true;
|
|
474
|
+
}
|
|
475
|
+
function isWhitespaceText(node) {
|
|
476
|
+
return node.type === 2 && isAllWhitespace(node.content) || node.type === 12 && isWhitespaceText(node.content);
|
|
477
|
+
}
|
|
478
|
+
function isCommentOrWhitespace(node) {
|
|
479
|
+
return node.type === 3 || isWhitespaceText(node);
|
|
480
|
+
}
|
|
460
481
|
function parseForExpression(input) {
|
|
461
482
|
const loc = input.loc;
|
|
462
483
|
const exp = input.content;
|
|
@@ -597,7 +618,7 @@ function isComponent({ tag, props }) {
|
|
|
597
618
|
function isUpperCase(c) {
|
|
598
619
|
return c > 64 && c < 91;
|
|
599
620
|
}
|
|
600
|
-
function condenseWhitespace(nodes
|
|
621
|
+
function condenseWhitespace(nodes) {
|
|
601
622
|
const shouldCondense = currentOptions.whitespace !== "preserve";
|
|
602
623
|
let removedWhitespace = false;
|
|
603
624
|
for (let i = 0; i < nodes.length; i++) {
|
|
@@ -615,10 +636,6 @@ function condenseWhitespace(nodes, tag) {
|
|
|
615
636
|
}
|
|
616
637
|
return removedWhitespace ? nodes.filter(Boolean) : nodes;
|
|
617
638
|
}
|
|
618
|
-
function isAllWhitespace(str) {
|
|
619
|
-
for (let i = 0; i < str.length; i++) if (!isWhitespace(str.charCodeAt(i))) return false;
|
|
620
|
-
return true;
|
|
621
|
-
}
|
|
622
639
|
function hasNewlineChar(str) {
|
|
623
640
|
for (let i = 0; i < str.length; i++) {
|
|
624
641
|
const c = str.charCodeAt(i);
|
|
@@ -719,11 +736,11 @@ function baseParse(input, options) {
|
|
|
719
736
|
return root;
|
|
720
737
|
}
|
|
721
738
|
function cacheStatic(root, context) {
|
|
722
|
-
walk(root, void 0, context,
|
|
739
|
+
walk(root, void 0, context, !!getSingleElementRoot(root));
|
|
723
740
|
}
|
|
724
|
-
function
|
|
725
|
-
const
|
|
726
|
-
return children.length === 1 &&
|
|
741
|
+
function getSingleElementRoot(root) {
|
|
742
|
+
const children = root.children.filter((x) => x.type !== 3);
|
|
743
|
+
return children.length === 1 && children[0].type === 1 && !isSlotOutlet(children[0]) ? children[0] : null;
|
|
727
744
|
}
|
|
728
745
|
function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
|
|
729
746
|
const { children } = node;
|
|
@@ -751,6 +768,7 @@ function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
|
|
|
751
768
|
}
|
|
752
769
|
} else if (child.type === 12) {
|
|
753
770
|
if ((doNotHoistNode ? 0 : getConstantType(child, context)) >= 2) {
|
|
771
|
+
if (child.codegenNode.type === 14 && child.codegenNode.arguments.length > 0) child.codegenNode.arguments.push("-1");
|
|
754
772
|
toCache.push(child);
|
|
755
773
|
continue;
|
|
756
774
|
}
|
|
@@ -786,7 +804,7 @@ function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
|
|
|
786
804
|
if (!cachedAsArray) for (const child of toCache) child.codegenNode = context.cache(child.codegenNode);
|
|
787
805
|
function getCacheExpression(value) {
|
|
788
806
|
const exp = context.cache(value);
|
|
789
|
-
|
|
807
|
+
exp.needArraySpread = true;
|
|
790
808
|
return exp;
|
|
791
809
|
}
|
|
792
810
|
function getSlotNode(node2, name) {
|
|
@@ -1020,12 +1038,12 @@ function createRootCodegen(root, context) {
|
|
|
1020
1038
|
const { helper } = context;
|
|
1021
1039
|
const { children } = root;
|
|
1022
1040
|
if (children.length === 1) {
|
|
1023
|
-
const
|
|
1024
|
-
if (
|
|
1025
|
-
const codegenNode =
|
|
1041
|
+
const singleElementRootChild = getSingleElementRoot(root);
|
|
1042
|
+
if (singleElementRootChild && singleElementRootChild.codegenNode) {
|
|
1043
|
+
const codegenNode = singleElementRootChild.codegenNode;
|
|
1026
1044
|
if (codegenNode.type === 13) convertToBlock(codegenNode, context);
|
|
1027
1045
|
root.codegenNode = codegenNode;
|
|
1028
|
-
} else root.codegenNode =
|
|
1046
|
+
} else root.codegenNode = children[0];
|
|
1029
1047
|
} else if (children.length > 1) root.codegenNode = createVNodeCall(context, helper(FRAGMENT), void 0, root.children, 64, void 0, void 0, true, void 0, false);
|
|
1030
1048
|
}
|
|
1031
1049
|
function traverseChildren(parent, context) {
|
|
@@ -1539,16 +1557,12 @@ function processIf(node, dir, context, processCodegen) {
|
|
|
1539
1557
|
let i = siblings.indexOf(node);
|
|
1540
1558
|
while (i-- >= -1) {
|
|
1541
1559
|
const sibling = siblings[i];
|
|
1542
|
-
if (sibling && sibling
|
|
1543
|
-
context.removeNode(sibling);
|
|
1544
|
-
continue;
|
|
1545
|
-
}
|
|
1546
|
-
if (sibling && sibling.type === 2 && !sibling.content.trim().length) {
|
|
1560
|
+
if (sibling && isCommentOrWhitespace(sibling)) {
|
|
1547
1561
|
context.removeNode(sibling);
|
|
1548
1562
|
continue;
|
|
1549
1563
|
}
|
|
1550
1564
|
if (sibling && sibling.type === 9) {
|
|
1551
|
-
if (dir.name === "else-if" && sibling.branches[sibling.branches.length - 1].condition === void 0) context.onError(createCompilerError(30, node.loc));
|
|
1565
|
+
if ((dir.name === "else-if" || dir.name === "else") && sibling.branches[sibling.branches.length - 1].condition === void 0) context.onError(createCompilerError(30, node.loc));
|
|
1552
1566
|
context.removeNode();
|
|
1553
1567
|
const branch = createIfBranch(node, dir);
|
|
1554
1568
|
sibling.branches.push(branch);
|
|
@@ -1688,14 +1702,14 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
1688
1702
|
if (vIf = findDir(slotElement, "if")) {
|
|
1689
1703
|
hasDynamicSlots = true;
|
|
1690
1704
|
dynamicSlots.push(createConditionalExpression(vIf.exp, buildDynamicSlot(slotName, slotFunction, conditionalBranchIndex++), defaultFallback));
|
|
1691
|
-
} else if (vElse = findDir(slotElement, /^else(
|
|
1705
|
+
} else if (vElse = findDir(slotElement, /^else(?:-if)?$/, true)) {
|
|
1692
1706
|
let j = i;
|
|
1693
1707
|
let prev;
|
|
1694
1708
|
while (j--) {
|
|
1695
1709
|
prev = children[j];
|
|
1696
|
-
if (prev
|
|
1710
|
+
if (!isCommentOrWhitespace(prev)) break;
|
|
1697
1711
|
}
|
|
1698
|
-
if (prev && isTemplateNode(prev) && findDir(prev, /^(else-)?if$/)) {
|
|
1712
|
+
if (prev && isTemplateNode(prev) && findDir(prev, /^(?:else-)?if$/)) {
|
|
1699
1713
|
let conditional = dynamicSlots[dynamicSlots.length - 1];
|
|
1700
1714
|
while (conditional.alternate.type === 19) conditional = conditional.alternate;
|
|
1701
1715
|
conditional.alternate = vElse.exp ? createConditionalExpression(vElse.exp, buildDynamicSlot(slotName, slotFunction, conditionalBranchIndex++), defaultFallback) : buildDynamicSlot(slotName, slotFunction, conditionalBranchIndex++);
|
|
@@ -1726,7 +1740,7 @@ function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
|
|
|
1726
1740
|
return createObjectProperty(`default`, fn);
|
|
1727
1741
|
};
|
|
1728
1742
|
if (!hasTemplateSlots) slotsProperties.push(buildDefaultSlotProperty(void 0, children));
|
|
1729
|
-
else if (implicitDefaultChildren.length && implicitDefaultChildren.
|
|
1743
|
+
else if (implicitDefaultChildren.length && !implicitDefaultChildren.every(isWhitespaceText)) if (hasNamedDefaultSlot) context.onError(createCompilerError(39, implicitDefaultChildren[0].loc));
|
|
1730
1744
|
else slotsProperties.push(buildDefaultSlotProperty(void 0, implicitDefaultChildren));
|
|
1731
1745
|
}
|
|
1732
1746
|
const slotFlag = hasDynamicSlots ? 2 : hasForwardedSlots(node.children) ? 3 : 1;
|
|
@@ -1760,10 +1774,6 @@ function hasForwardedSlots(children) {
|
|
|
1760
1774
|
}
|
|
1761
1775
|
return false;
|
|
1762
1776
|
}
|
|
1763
|
-
function isNonWhitespaceContent(node) {
|
|
1764
|
-
if (node.type !== 2 && node.type !== 12) return true;
|
|
1765
|
-
return node.type === 2 ? !!node.content.trim() : isNonWhitespaceContent(node.content);
|
|
1766
|
-
}
|
|
1767
1777
|
function resolveComponentType(node, context, ssr = false) {
|
|
1768
1778
|
let { tag } = node;
|
|
1769
1779
|
const isExplicitDynamic = isComponentTag(tag);
|
|
@@ -1855,12 +1865,13 @@ function buildProps(node, context, props = node.props, isComponent$1, isDynamicC
|
|
|
1855
1865
|
if (!arg && (isVBind || isVOn)) {
|
|
1856
1866
|
hasDynamicKeys = true;
|
|
1857
1867
|
if (exp) if (isVBind) {
|
|
1858
|
-
pushRefVForMarker();
|
|
1859
1868
|
pushMergeArg();
|
|
1860
1869
|
if (isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER", context)) {
|
|
1861
1870
|
mergeArgs.unshift(exp);
|
|
1862
1871
|
continue;
|
|
1863
1872
|
}
|
|
1873
|
+
pushRefVForMarker();
|
|
1874
|
+
pushMergeArg();
|
|
1864
1875
|
mergeArgs.push(exp);
|
|
1865
1876
|
} else pushMergeArg({
|
|
1866
1877
|
type: 14,
|
|
@@ -2131,6 +2142,7 @@ function wrapFilter(exp, filter, context) {
|
|
|
2131
2142
|
}
|
|
2132
2143
|
function getBaseTransformPreset(prefixIdentifiers) {
|
|
2133
2144
|
return [[
|
|
2145
|
+
transformVBindShorthand,
|
|
2134
2146
|
transformOnce,
|
|
2135
2147
|
transformIf,
|
|
2136
2148
|
transformMemo,
|
|
@@ -2150,11 +2162,11 @@ function getBaseTransformPreset(prefixIdentifiers) {
|
|
|
2150
2162
|
function baseCompile(source, options = {}) {
|
|
2151
2163
|
const onError = options.onError || defaultOnError;
|
|
2152
2164
|
const isModuleMode = options.mode === "module";
|
|
2153
|
-
if (options.prefixIdentifiers === true) onError(createCompilerError(
|
|
2154
|
-
else if (isModuleMode) onError(createCompilerError(
|
|
2165
|
+
if (options.prefixIdentifiers === true) onError(createCompilerError(48));
|
|
2166
|
+
else if (isModuleMode) onError(createCompilerError(49));
|
|
2155
2167
|
const prefixIdentifiers = false;
|
|
2156
|
-
if (options.cacheHandlers) onError(createCompilerError(
|
|
2157
|
-
if (options.scopeId && !isModuleMode) onError(createCompilerError(
|
|
2168
|
+
if (options.cacheHandlers) onError(createCompilerError(50));
|
|
2169
|
+
if (options.scopeId && !isModuleMode) onError(createCompilerError(51));
|
|
2158
2170
|
const resolvedOptions = extend({}, options, { prefixIdentifiers });
|
|
2159
2171
|
const ast = isString(source) ? baseParse(source, resolvedOptions) : source;
|
|
2160
2172
|
const [nodeTransforms, directiveTransforms] = getBaseTransformPreset();
|
|
@@ -2164,48 +2176,48 @@ function baseCompile(source, options = {}) {
|
|
|
2164
2176
|
}));
|
|
2165
2177
|
return generate(ast, resolvedOptions);
|
|
2166
2178
|
}
|
|
2167
|
-
var FRAGMENT, TELEPORT, SUSPENSE, KEEP_ALIVE, BASE_TRANSITION, OPEN_BLOCK, CREATE_BLOCK, CREATE_ELEMENT_BLOCK, CREATE_VNODE, CREATE_ELEMENT_VNODE, CREATE_COMMENT, CREATE_TEXT, CREATE_STATIC, RESOLVE_COMPONENT, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_FILTER, WITH_DIRECTIVES, RENDER_LIST, RENDER_SLOT, CREATE_SLOTS, TO_DISPLAY_STRING, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_STYLE, NORMALIZE_PROPS, GUARD_REACTIVE_PROPS, TO_HANDLERS, CAMELIZE, CAPITALIZE, TO_HANDLER_KEY, SET_BLOCK_TRACKING, PUSH_SCOPE_ID, POP_SCOPE_ID, WITH_CTX, UNREF, IS_REF, WITH_MEMO, IS_MEMO_SAME, helperNameMap, Namespaces, NodeTypes, ElementTypes, ConstantTypes, locStub, defaultDelimitersOpen, defaultDelimitersClose, Sequences, Tokenizer, CompilerDeprecationTypes, deprecationData, ErrorCodes, errorMessages, isFunctionType, isStaticProperty, isStaticPropertyKey, TS_NODE_TYPES, isStaticExp, nonIdentifierRE, isSimpleIdentifier, validFirstIdentCharRE, validIdentCharRE, whitespaceRE, getExpSource, isMemberExpressionBrowser, isMemberExpressionNode, isMemberExpression, fnExpRE, isFnExpressionBrowser, isFnExpressionNode, isFnExpression, propsHelperSet, forAliasRE, defaultParserOptions, currentOptions, currentRoot, currentInput, currentOpenTag, currentProp, currentAttrValue, currentAttrStartIndex, currentAttrEndIndex, inPre, inVPre, currentVPreBoundary, stack, tokenizer, forIteratorRE, stripParensRE, specialTemplateDir, windowsNewlineRE, allowHoistedHelperSet, PURE_ANNOTATION, aliasHelper, transformExpression, transformIf,
|
|
2179
|
+
var FRAGMENT, TELEPORT, SUSPENSE, KEEP_ALIVE, BASE_TRANSITION, OPEN_BLOCK, CREATE_BLOCK, CREATE_ELEMENT_BLOCK, CREATE_VNODE, CREATE_ELEMENT_VNODE, CREATE_COMMENT, CREATE_TEXT, CREATE_STATIC, RESOLVE_COMPONENT, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_FILTER, WITH_DIRECTIVES, RENDER_LIST, RENDER_SLOT, CREATE_SLOTS, TO_DISPLAY_STRING, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_STYLE, NORMALIZE_PROPS, GUARD_REACTIVE_PROPS, TO_HANDLERS, CAMELIZE, CAPITALIZE, TO_HANDLER_KEY, SET_BLOCK_TRACKING, PUSH_SCOPE_ID, POP_SCOPE_ID, WITH_CTX, UNREF, IS_REF, WITH_MEMO, IS_MEMO_SAME, helperNameMap, Namespaces, NodeTypes, ElementTypes, ConstantTypes, locStub, defaultDelimitersOpen, defaultDelimitersClose, Sequences, Tokenizer, CompilerDeprecationTypes, deprecationData, ErrorCodes, errorMessages, isFunctionType, isStaticProperty, isStaticPropertyKey, TS_NODE_TYPES, isStaticExp, nonIdentifierRE, isSimpleIdentifier, validFirstIdentCharRE, validIdentCharRE, whitespaceRE, getExpSource, isMemberExpressionBrowser, isMemberExpressionNode, isMemberExpression, fnExpRE, isFnExpressionBrowser, isFnExpressionNode, isFnExpression, propsHelperSet, forAliasRE, defaultParserOptions, currentOptions, currentRoot, currentInput, currentOpenTag, currentProp, currentAttrValue, currentAttrStartIndex, currentAttrEndIndex, inPre, inVPre, currentVPreBoundary, stack, tokenizer, forIteratorRE, stripParensRE, specialTemplateDir, windowsNewlineRE, allowHoistedHelperSet, PURE_ANNOTATION, aliasHelper, transformExpression, transformIf, transformFor, defaultFallback, trackSlotScopes, trackVForSlotScopes, buildClientSlotFn, directiveImportMap, transformElement, transformSlotOutlet, transformOn, transformBind, injectPrefix, transformText, seen$1, transformOnce, transformModel, validDivisionCharRE, transformFilter, seen, transformMemo, transformVBindShorthand, BindingTypes, noopDirectiveTransform;
|
|
2168
2180
|
var init_compiler_core_esm_bundler = __esmMin((() => {
|
|
2169
2181
|
init_shared_esm_bundler();
|
|
2170
|
-
FRAGMENT = Symbol(``);
|
|
2171
|
-
TELEPORT = Symbol(``);
|
|
2172
|
-
SUSPENSE = Symbol(``);
|
|
2173
|
-
KEEP_ALIVE = Symbol(``);
|
|
2174
|
-
BASE_TRANSITION = Symbol(``);
|
|
2175
|
-
OPEN_BLOCK = Symbol(``);
|
|
2176
|
-
CREATE_BLOCK = Symbol(``);
|
|
2177
|
-
CREATE_ELEMENT_BLOCK = Symbol(``);
|
|
2178
|
-
CREATE_VNODE = Symbol(``);
|
|
2179
|
-
CREATE_ELEMENT_VNODE = Symbol(``);
|
|
2180
|
-
CREATE_COMMENT = Symbol(``);
|
|
2181
|
-
CREATE_TEXT = Symbol(``);
|
|
2182
|
-
CREATE_STATIC = Symbol(``);
|
|
2183
|
-
RESOLVE_COMPONENT = Symbol(``);
|
|
2184
|
-
RESOLVE_DYNAMIC_COMPONENT = Symbol(``);
|
|
2185
|
-
RESOLVE_DIRECTIVE = Symbol(``);
|
|
2186
|
-
RESOLVE_FILTER = Symbol(``);
|
|
2187
|
-
WITH_DIRECTIVES = Symbol(``);
|
|
2188
|
-
RENDER_LIST = Symbol(``);
|
|
2189
|
-
RENDER_SLOT = Symbol(``);
|
|
2190
|
-
CREATE_SLOTS = Symbol(``);
|
|
2191
|
-
TO_DISPLAY_STRING = Symbol(``);
|
|
2192
|
-
MERGE_PROPS = Symbol(``);
|
|
2193
|
-
NORMALIZE_CLASS = Symbol(``);
|
|
2194
|
-
NORMALIZE_STYLE = Symbol(``);
|
|
2195
|
-
NORMALIZE_PROPS = Symbol(``);
|
|
2196
|
-
GUARD_REACTIVE_PROPS = Symbol(``);
|
|
2197
|
-
TO_HANDLERS = Symbol(``);
|
|
2198
|
-
CAMELIZE = Symbol(``);
|
|
2199
|
-
CAPITALIZE = Symbol(``);
|
|
2200
|
-
TO_HANDLER_KEY = Symbol(``);
|
|
2201
|
-
SET_BLOCK_TRACKING = Symbol(``);
|
|
2202
|
-
PUSH_SCOPE_ID = Symbol(``);
|
|
2203
|
-
POP_SCOPE_ID = Symbol(``);
|
|
2204
|
-
WITH_CTX = Symbol(``);
|
|
2205
|
-
UNREF = Symbol(``);
|
|
2206
|
-
IS_REF = Symbol(``);
|
|
2207
|
-
WITH_MEMO = Symbol(``);
|
|
2208
|
-
IS_MEMO_SAME = Symbol(``);
|
|
2182
|
+
FRAGMENT = /* @__PURE__ */ Symbol(``);
|
|
2183
|
+
TELEPORT = /* @__PURE__ */ Symbol(``);
|
|
2184
|
+
SUSPENSE = /* @__PURE__ */ Symbol(``);
|
|
2185
|
+
KEEP_ALIVE = /* @__PURE__ */ Symbol(``);
|
|
2186
|
+
BASE_TRANSITION = /* @__PURE__ */ Symbol(``);
|
|
2187
|
+
OPEN_BLOCK = /* @__PURE__ */ Symbol(``);
|
|
2188
|
+
CREATE_BLOCK = /* @__PURE__ */ Symbol(``);
|
|
2189
|
+
CREATE_ELEMENT_BLOCK = /* @__PURE__ */ Symbol(``);
|
|
2190
|
+
CREATE_VNODE = /* @__PURE__ */ Symbol(``);
|
|
2191
|
+
CREATE_ELEMENT_VNODE = /* @__PURE__ */ Symbol(``);
|
|
2192
|
+
CREATE_COMMENT = /* @__PURE__ */ Symbol(``);
|
|
2193
|
+
CREATE_TEXT = /* @__PURE__ */ Symbol(``);
|
|
2194
|
+
CREATE_STATIC = /* @__PURE__ */ Symbol(``);
|
|
2195
|
+
RESOLVE_COMPONENT = /* @__PURE__ */ Symbol(``);
|
|
2196
|
+
RESOLVE_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol(``);
|
|
2197
|
+
RESOLVE_DIRECTIVE = /* @__PURE__ */ Symbol(``);
|
|
2198
|
+
RESOLVE_FILTER = /* @__PURE__ */ Symbol(``);
|
|
2199
|
+
WITH_DIRECTIVES = /* @__PURE__ */ Symbol(``);
|
|
2200
|
+
RENDER_LIST = /* @__PURE__ */ Symbol(``);
|
|
2201
|
+
RENDER_SLOT = /* @__PURE__ */ Symbol(``);
|
|
2202
|
+
CREATE_SLOTS = /* @__PURE__ */ Symbol(``);
|
|
2203
|
+
TO_DISPLAY_STRING = /* @__PURE__ */ Symbol(``);
|
|
2204
|
+
MERGE_PROPS = /* @__PURE__ */ Symbol(``);
|
|
2205
|
+
NORMALIZE_CLASS = /* @__PURE__ */ Symbol(``);
|
|
2206
|
+
NORMALIZE_STYLE = /* @__PURE__ */ Symbol(``);
|
|
2207
|
+
NORMALIZE_PROPS = /* @__PURE__ */ Symbol(``);
|
|
2208
|
+
GUARD_REACTIVE_PROPS = /* @__PURE__ */ Symbol(``);
|
|
2209
|
+
TO_HANDLERS = /* @__PURE__ */ Symbol(``);
|
|
2210
|
+
CAMELIZE = /* @__PURE__ */ Symbol(``);
|
|
2211
|
+
CAPITALIZE = /* @__PURE__ */ Symbol(``);
|
|
2212
|
+
TO_HANDLER_KEY = /* @__PURE__ */ Symbol(``);
|
|
2213
|
+
SET_BLOCK_TRACKING = /* @__PURE__ */ Symbol(``);
|
|
2214
|
+
PUSH_SCOPE_ID = /* @__PURE__ */ Symbol(``);
|
|
2215
|
+
POP_SCOPE_ID = /* @__PURE__ */ Symbol(``);
|
|
2216
|
+
WITH_CTX = /* @__PURE__ */ Symbol(``);
|
|
2217
|
+
UNREF = /* @__PURE__ */ Symbol(``);
|
|
2218
|
+
IS_REF = /* @__PURE__ */ Symbol(``);
|
|
2219
|
+
WITH_MEMO = /* @__PURE__ */ Symbol(``);
|
|
2220
|
+
IS_MEMO_SAME = /* @__PURE__ */ Symbol(``);
|
|
2209
2221
|
helperNameMap = {
|
|
2210
2222
|
[FRAGMENT]: `Fragment`,
|
|
2211
2223
|
[TELEPORT]: `Teleport`,
|
|
@@ -2446,13 +2458,23 @@ var init_compiler_core_esm_bundler = __esmMin((() => {
|
|
|
2446
2458
|
getPos(index) {
|
|
2447
2459
|
let line = 1;
|
|
2448
2460
|
let column = index + 1;
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2461
|
+
const length = this.newlines.length;
|
|
2462
|
+
let j = -1;
|
|
2463
|
+
if (length > 100) {
|
|
2464
|
+
let l = -1;
|
|
2465
|
+
let r = length;
|
|
2466
|
+
while (l + 1 < r) {
|
|
2467
|
+
const m = l + r >>> 1;
|
|
2468
|
+
this.newlines[m] < index ? l = m : r = m;
|
|
2455
2469
|
}
|
|
2470
|
+
j = l;
|
|
2471
|
+
} else for (let i = length - 1; i >= 0; i--) if (index > this.newlines[i]) {
|
|
2472
|
+
j = i;
|
|
2473
|
+
break;
|
|
2474
|
+
}
|
|
2475
|
+
if (j >= 0) {
|
|
2476
|
+
line = j + 2;
|
|
2477
|
+
column = index - this.newlines[j];
|
|
2456
2478
|
}
|
|
2457
2479
|
return {
|
|
2458
2480
|
column,
|
|
@@ -2846,7 +2868,7 @@ var init_compiler_core_esm_bundler = __esmMin((() => {
|
|
|
2846
2868
|
this.buffer = input;
|
|
2847
2869
|
while (this.index < this.buffer.length) {
|
|
2848
2870
|
const c = this.buffer.charCodeAt(this.index);
|
|
2849
|
-
if (c === 10) this.newlines.push(this.index);
|
|
2871
|
+
if (c === 10 && this.state !== 33) this.newlines.push(this.index);
|
|
2850
2872
|
switch (this.state) {
|
|
2851
2873
|
case 1:
|
|
2852
2874
|
this.stateText(c);
|
|
@@ -3113,24 +3135,26 @@ var init_compiler_core_esm_bundler = __esmMin((() => {
|
|
|
3113
3135
|
"43": "X_V_MODEL_ON_SCOPE_VARIABLE",
|
|
3114
3136
|
"X_V_MODEL_ON_PROPS": 44,
|
|
3115
3137
|
"44": "X_V_MODEL_ON_PROPS",
|
|
3116
|
-
"
|
|
3117
|
-
"45": "
|
|
3118
|
-
"
|
|
3119
|
-
"46": "
|
|
3120
|
-
"
|
|
3121
|
-
"47": "
|
|
3122
|
-
"
|
|
3123
|
-
"48": "
|
|
3124
|
-
"
|
|
3125
|
-
"49": "
|
|
3126
|
-
"
|
|
3127
|
-
"50": "
|
|
3128
|
-
"
|
|
3129
|
-
"51": "
|
|
3130
|
-
"
|
|
3131
|
-
"52": "
|
|
3132
|
-
"
|
|
3133
|
-
"53": "
|
|
3138
|
+
"X_V_MODEL_ON_CONST": 45,
|
|
3139
|
+
"45": "X_V_MODEL_ON_CONST",
|
|
3140
|
+
"X_INVALID_EXPRESSION": 46,
|
|
3141
|
+
"46": "X_INVALID_EXPRESSION",
|
|
3142
|
+
"X_KEEP_ALIVE_INVALID_CHILDREN": 47,
|
|
3143
|
+
"47": "X_KEEP_ALIVE_INVALID_CHILDREN",
|
|
3144
|
+
"X_PREFIX_ID_NOT_SUPPORTED": 48,
|
|
3145
|
+
"48": "X_PREFIX_ID_NOT_SUPPORTED",
|
|
3146
|
+
"X_MODULE_MODE_NOT_SUPPORTED": 49,
|
|
3147
|
+
"49": "X_MODULE_MODE_NOT_SUPPORTED",
|
|
3148
|
+
"X_CACHE_HANDLER_NOT_SUPPORTED": 50,
|
|
3149
|
+
"50": "X_CACHE_HANDLER_NOT_SUPPORTED",
|
|
3150
|
+
"X_SCOPE_ID_NOT_SUPPORTED": 51,
|
|
3151
|
+
"51": "X_SCOPE_ID_NOT_SUPPORTED",
|
|
3152
|
+
"X_VNODE_HOOKS": 52,
|
|
3153
|
+
"52": "X_VNODE_HOOKS",
|
|
3154
|
+
"X_V_BIND_INVALID_SAME_NAME_ARGUMENT": 53,
|
|
3155
|
+
"53": "X_V_BIND_INVALID_SAME_NAME_ARGUMENT",
|
|
3156
|
+
"__EXTEND_POINT__": 54,
|
|
3157
|
+
"54": "__EXTEND_POINT__"
|
|
3134
3158
|
};
|
|
3135
3159
|
errorMessages = {
|
|
3136
3160
|
[0]: "Illegal comment.",
|
|
@@ -3168,7 +3192,7 @@ var init_compiler_core_esm_bundler = __esmMin((() => {
|
|
|
3168
3192
|
[32]: `v-for has invalid expression.`,
|
|
3169
3193
|
[33]: `<template v-for> key should be placed on the <template> tag.`,
|
|
3170
3194
|
[34]: `v-bind is missing expression.`,
|
|
3171
|
-
[
|
|
3195
|
+
[53]: `v-bind with same-name shorthand only allows static argument.`,
|
|
3172
3196
|
[35]: `v-on is missing expression.`,
|
|
3173
3197
|
[36]: `Unexpected custom directive on <slot> outlet.`,
|
|
3174
3198
|
[37]: `Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,
|
|
@@ -3180,14 +3204,15 @@ var init_compiler_core_esm_bundler = __esmMin((() => {
|
|
|
3180
3204
|
[43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
|
|
3181
3205
|
[44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
3182
3206
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
|
|
3183
|
-
[45]: `
|
|
3184
|
-
[46]:
|
|
3185
|
-
[
|
|
3186
|
-
[
|
|
3187
|
-
[48]: `
|
|
3188
|
-
[49]: `
|
|
3189
|
-
[50]: `"
|
|
3190
|
-
[
|
|
3207
|
+
[45]: `v-model cannot be used on a const binding because it is not writable.`,
|
|
3208
|
+
[46]: `Error parsing JavaScript expression: `,
|
|
3209
|
+
[47]: `<KeepAlive> expects exactly one child component.`,
|
|
3210
|
+
[52]: `@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,
|
|
3211
|
+
[48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
|
|
3212
|
+
[49]: `ES module mode is not supported in this build of compiler.`,
|
|
3213
|
+
[50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
|
3214
|
+
[51]: `"scopeId" option is only supported in module mode.`,
|
|
3215
|
+
[54]: ``
|
|
3191
3216
|
};
|
|
3192
3217
|
isFunctionType = (node) => {
|
|
3193
3218
|
return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
|
|
@@ -3202,7 +3227,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3202
3227
|
"TSSatisfiesExpression"
|
|
3203
3228
|
];
|
|
3204
3229
|
isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
3205
|
-
nonIdentifierRE =
|
|
3230
|
+
nonIdentifierRE = /^$|^\d|[^\$\w\xA0-\uFFFF]/;
|
|
3206
3231
|
isSimpleIdentifier = (name) => !nonIdentifierRE.test(name);
|
|
3207
3232
|
validFirstIdentCharRE = /[A-Za-z_$\xA0-\uFFFF]/;
|
|
3208
3233
|
validIdentCharRE = /[\.\?\w$\xA0-\uFFFF]/;
|
|
@@ -3262,7 +3287,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3262
3287
|
};
|
|
3263
3288
|
isMemberExpressionNode = NOOP;
|
|
3264
3289
|
isMemberExpression = isMemberExpressionBrowser;
|
|
3265
|
-
fnExpRE = /^\s*(async\s*)?(
|
|
3290
|
+
fnExpRE = /^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/;
|
|
3266
3291
|
isFnExpressionBrowser = (exp) => fnExpRE.test(getExpSource(exp));
|
|
3267
3292
|
isFnExpressionNode = NOOP;
|
|
3268
3293
|
isFnExpression = isFnExpressionBrowser;
|
|
@@ -3392,7 +3417,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3392
3417
|
ondirarg(start, end) {
|
|
3393
3418
|
if (start === end) return;
|
|
3394
3419
|
const arg = getSlice(start, end);
|
|
3395
|
-
if (inVPre) {
|
|
3420
|
+
if (inVPre && !isVPre(currentProp)) {
|
|
3396
3421
|
currentProp.name += arg;
|
|
3397
3422
|
setLocEnd(currentProp.nameLoc, end);
|
|
3398
3423
|
} else {
|
|
@@ -3402,7 +3427,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3402
3427
|
},
|
|
3403
3428
|
ondirmodifier(start, end) {
|
|
3404
3429
|
const mod = getSlice(start, end);
|
|
3405
|
-
if (inVPre) {
|
|
3430
|
+
if (inVPre && !isVPre(currentProp)) {
|
|
3406
3431
|
currentProp.name += "." + mod;
|
|
3407
3432
|
setLocEnd(currentProp.nameLoc, end);
|
|
3408
3433
|
} else if (currentProp.name === "slot") {
|
|
@@ -3450,7 +3475,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3450
3475
|
currentProp.exp = createExp(currentAttrValue, false, getLoc(currentAttrStartIndex, currentAttrEndIndex), 0, 0);
|
|
3451
3476
|
if (currentProp.name === "for") currentProp.forParseResult = parseForExpression(currentProp.exp);
|
|
3452
3477
|
let syncIndex = -1;
|
|
3453
|
-
if (currentProp.name === "bind" && (syncIndex = currentProp.modifiers.findIndex((mod) => mod.content === "sync")) > -1 && checkCompatEnabled("COMPILER_V_BIND_SYNC", currentOptions, currentProp.loc, currentProp.
|
|
3478
|
+
if (currentProp.name === "bind" && (syncIndex = currentProp.modifiers.findIndex((mod) => mod.content === "sync")) > -1 && checkCompatEnabled("COMPILER_V_BIND_SYNC", currentOptions, currentProp.loc, currentProp.arg.loc.source)) {
|
|
3454
3479
|
currentProp.name = "model";
|
|
3455
3480
|
currentProp.modifiers.splice(syncIndex, 1);
|
|
3456
3481
|
}
|
|
@@ -3517,7 +3542,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3517
3542
|
}
|
|
3518
3543
|
}
|
|
3519
3544
|
};
|
|
3520
|
-
transformIf = createStructuralDirectiveTransform(/^(if|else|else-if)$/, (node, dir, context) => {
|
|
3545
|
+
transformIf = createStructuralDirectiveTransform(/^(?:if|else|else-if)$/, (node, dir, context) => {
|
|
3521
3546
|
return processIf(node, dir, context, (ifNode, branch, isRoot) => {
|
|
3522
3547
|
const siblings = context.parent.children;
|
|
3523
3548
|
let i = siblings.indexOf(ifNode);
|
|
@@ -3535,47 +3560,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3535
3560
|
};
|
|
3536
3561
|
});
|
|
3537
3562
|
});
|
|
3538
|
-
transformBind = (dir, _node, context) => {
|
|
3539
|
-
const { modifiers, loc } = dir;
|
|
3540
|
-
const arg = dir.arg;
|
|
3541
|
-
let { exp } = dir;
|
|
3542
|
-
if (exp && exp.type === 4 && !exp.content.trim()) exp = void 0;
|
|
3543
|
-
if (!exp) {
|
|
3544
|
-
if (arg.type !== 4 || !arg.isStatic) {
|
|
3545
|
-
context.onError(createCompilerError(52, arg.loc));
|
|
3546
|
-
return { props: [createObjectProperty(arg, createSimpleExpression("", true, loc))] };
|
|
3547
|
-
}
|
|
3548
|
-
transformBindShorthand(dir);
|
|
3549
|
-
exp = dir.exp;
|
|
3550
|
-
}
|
|
3551
|
-
if (arg.type !== 4) {
|
|
3552
|
-
arg.children.unshift(`(`);
|
|
3553
|
-
arg.children.push(`) || ""`);
|
|
3554
|
-
} else if (!arg.isStatic) arg.content = `${arg.content} || ""`;
|
|
3555
|
-
if (modifiers.some((mod) => mod.content === "camel")) if (arg.type === 4) if (arg.isStatic) arg.content = camelize(arg.content);
|
|
3556
|
-
else arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;
|
|
3557
|
-
else {
|
|
3558
|
-
arg.children.unshift(`${context.helperString(CAMELIZE)}(`);
|
|
3559
|
-
arg.children.push(`)`);
|
|
3560
|
-
}
|
|
3561
|
-
if (!context.inSSR) {
|
|
3562
|
-
if (modifiers.some((mod) => mod.content === "prop")) injectPrefix(arg, ".");
|
|
3563
|
-
if (modifiers.some((mod) => mod.content === "attr")) injectPrefix(arg, "^");
|
|
3564
|
-
}
|
|
3565
|
-
return { props: [createObjectProperty(arg, exp)] };
|
|
3566
|
-
};
|
|
3567
|
-
transformBindShorthand = (dir, context) => {
|
|
3568
|
-
const arg = dir.arg;
|
|
3569
|
-
dir.exp = createSimpleExpression(camelize(arg.content), false, arg.loc);
|
|
3570
|
-
};
|
|
3571
|
-
injectPrefix = (arg, prefix) => {
|
|
3572
|
-
if (arg.type === 4) if (arg.isStatic) arg.content = prefix + arg.content;
|
|
3573
|
-
else arg.content = `\`${prefix}\${${arg.content}}\``;
|
|
3574
|
-
else {
|
|
3575
|
-
arg.children.unshift(`'${prefix}' + (`);
|
|
3576
|
-
arg.children.push(`)`);
|
|
3577
|
-
}
|
|
3578
|
-
};
|
|
3579
3563
|
transformFor = createStructuralDirectiveTransform("for", (node, dir, context) => {
|
|
3580
3564
|
const { helper, removeHelper } = context;
|
|
3581
3565
|
return processFor(node, dir, context, (forNode) => {
|
|
@@ -3583,7 +3567,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3583
3567
|
const isTemplate = isTemplateNode(node);
|
|
3584
3568
|
const memo = findDir(node, "memo");
|
|
3585
3569
|
const keyProp = findProp(node, `key`, false, true);
|
|
3586
|
-
|
|
3570
|
+
keyProp && keyProp.type;
|
|
3587
3571
|
let keyExp = keyProp && (keyProp.type === 6 ? keyProp.value ? createSimpleExpression(keyProp.value.content, true) : void 0 : keyProp.exp);
|
|
3588
3572
|
const keyProperty = keyProp && keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
3589
3573
|
const isStableFragment = forNode.source.type === 4 && forNode.source.constType > 0;
|
|
@@ -3776,6 +3760,35 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3776
3760
|
ret.props.forEach((p) => p.key.isHandlerKey = true);
|
|
3777
3761
|
return ret;
|
|
3778
3762
|
};
|
|
3763
|
+
transformBind = (dir, _node, context) => {
|
|
3764
|
+
const { modifiers, loc } = dir;
|
|
3765
|
+
const arg = dir.arg;
|
|
3766
|
+
let { exp } = dir;
|
|
3767
|
+
if (exp && exp.type === 4 && !exp.content.trim()) exp = void 0;
|
|
3768
|
+
if (arg.type !== 4) {
|
|
3769
|
+
arg.children.unshift(`(`);
|
|
3770
|
+
arg.children.push(`) || ""`);
|
|
3771
|
+
} else if (!arg.isStatic) arg.content = arg.content ? `${arg.content} || ""` : `""`;
|
|
3772
|
+
if (modifiers.some((mod) => mod.content === "camel")) if (arg.type === 4) if (arg.isStatic) arg.content = camelize(arg.content);
|
|
3773
|
+
else arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;
|
|
3774
|
+
else {
|
|
3775
|
+
arg.children.unshift(`${context.helperString(CAMELIZE)}(`);
|
|
3776
|
+
arg.children.push(`)`);
|
|
3777
|
+
}
|
|
3778
|
+
if (!context.inSSR) {
|
|
3779
|
+
if (modifiers.some((mod) => mod.content === "prop")) injectPrefix(arg, ".");
|
|
3780
|
+
if (modifiers.some((mod) => mod.content === "attr")) injectPrefix(arg, "^");
|
|
3781
|
+
}
|
|
3782
|
+
return { props: [createObjectProperty(arg, exp)] };
|
|
3783
|
+
};
|
|
3784
|
+
injectPrefix = (arg, prefix) => {
|
|
3785
|
+
if (arg.type === 4) if (arg.isStatic) arg.content = prefix + arg.content;
|
|
3786
|
+
else arg.content = `\`${prefix}\${${arg.content}}\``;
|
|
3787
|
+
else {
|
|
3788
|
+
arg.children.unshift(`'${prefix}' + (`);
|
|
3789
|
+
arg.children.push(`)`);
|
|
3790
|
+
}
|
|
3791
|
+
};
|
|
3779
3792
|
transformText = (node, context) => {
|
|
3780
3793
|
if (node.type === 0 || node.type === 1 || node.type === 11 || node.type === 10) return () => {
|
|
3781
3794
|
const children = node.children;
|
|
@@ -3843,6 +3856,10 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3843
3856
|
context.onError(createCompilerError(44, exp.loc));
|
|
3844
3857
|
return createTransformProps();
|
|
3845
3858
|
}
|
|
3859
|
+
if (bindingType === "literal-const" || bindingType === "setup-const") {
|
|
3860
|
+
context.onError(createCompilerError(45, exp.loc));
|
|
3861
|
+
return createTransformProps();
|
|
3862
|
+
}
|
|
3846
3863
|
if (!expString.trim() || !isMemberExpression(exp) && true) {
|
|
3847
3864
|
context.onError(createCompilerError(42, exp.loc));
|
|
3848
3865
|
return createTransformProps();
|
|
@@ -3875,7 +3892,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3875
3892
|
transformMemo = (node, context) => {
|
|
3876
3893
|
if (node.type === 1) {
|
|
3877
3894
|
const dir = findDir(node, "memo");
|
|
3878
|
-
if (!dir || seen.has(node)) return;
|
|
3895
|
+
if (!dir || seen.has(node) || context.inSSR) return;
|
|
3879
3896
|
seen.add(node);
|
|
3880
3897
|
return () => {
|
|
3881
3898
|
const codegenNode = node.codegenNode || context.currentNode.codegenNode;
|
|
@@ -3892,6 +3909,20 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3892
3909
|
};
|
|
3893
3910
|
}
|
|
3894
3911
|
};
|
|
3912
|
+
transformVBindShorthand = (node, context) => {
|
|
3913
|
+
if (node.type === 1) {
|
|
3914
|
+
for (const prop of node.props) if (prop.type === 7 && prop.name === "bind" && (!prop.exp || prop.exp.type === 4 && !prop.exp.content.trim()) && prop.arg) {
|
|
3915
|
+
const arg = prop.arg;
|
|
3916
|
+
if (arg.type !== 4 || !arg.isStatic) {
|
|
3917
|
+
context.onError(createCompilerError(53, arg.loc));
|
|
3918
|
+
prop.exp = createSimpleExpression("", true, arg.loc);
|
|
3919
|
+
} else {
|
|
3920
|
+
const propName = camelize(arg.content);
|
|
3921
|
+
if (validFirstIdentCharRE.test(propName[0]) || propName[0] === "-") prop.exp = createSimpleExpression(propName, false, arg.loc);
|
|
3922
|
+
}
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
3925
|
+
};
|
|
3895
3926
|
BindingTypes = {
|
|
3896
3927
|
"DATA": "data",
|
|
3897
3928
|
"PROPS": "props",
|
|
@@ -4018,6 +4049,8 @@ var compiler_dom_esm_bundler_exports = /* @__PURE__ */ __export({
|
|
|
4018
4049
|
hasScopeRef: () => hasScopeRef,
|
|
4019
4050
|
helperNameMap: () => helperNameMap,
|
|
4020
4051
|
injectProp: () => injectProp,
|
|
4052
|
+
isAllWhitespace: () => isAllWhitespace,
|
|
4053
|
+
isCommentOrWhitespace: () => isCommentOrWhitespace,
|
|
4021
4054
|
isCoreComponent: () => isCoreComponent,
|
|
4022
4055
|
isFnExpression: () => isFnExpression,
|
|
4023
4056
|
isFnExpressionBrowser: () => isFnExpressionBrowser,
|
|
@@ -4037,7 +4070,9 @@ var compiler_dom_esm_bundler_exports = /* @__PURE__ */ __export({
|
|
|
4037
4070
|
isStaticPropertyKey: () => isStaticPropertyKey,
|
|
4038
4071
|
isTemplateNode: () => isTemplateNode,
|
|
4039
4072
|
isText: () => isText$1,
|
|
4073
|
+
isVPre: () => isVPre,
|
|
4040
4074
|
isVSlot: () => isVSlot,
|
|
4075
|
+
isWhitespaceText: () => isWhitespaceText,
|
|
4041
4076
|
locStub: () => locStub,
|
|
4042
4077
|
noopDirectiveTransform: () => noopDirectiveTransform,
|
|
4043
4078
|
parse: () => parse,
|
|
@@ -4059,13 +4094,15 @@ var compiler_dom_esm_bundler_exports = /* @__PURE__ */ __export({
|
|
|
4059
4094
|
transformModel: () => transformModel,
|
|
4060
4095
|
transformOn: () => transformOn,
|
|
4061
4096
|
transformStyle: () => transformStyle,
|
|
4097
|
+
transformVBindShorthand: () => transformVBindShorthand,
|
|
4062
4098
|
traverseNode: () => traverseNode,
|
|
4063
4099
|
unwrapTSNode: () => unwrapTSNode,
|
|
4100
|
+
validFirstIdentCharRE: () => validFirstIdentCharRE,
|
|
4064
4101
|
walkBlockDeclarations: () => walkBlockDeclarations,
|
|
4065
4102
|
walkFunctionParams: () => walkFunctionParams,
|
|
4066
4103
|
walkIdentifiers: () => walkIdentifiers,
|
|
4067
4104
|
warnDeprecation: () => warnDeprecation
|
|
4068
|
-
});
|
|
4105
|
+
}, 1);
|
|
4069
4106
|
function decodeHtmlBrowser(raw, asAttr = false) {
|
|
4070
4107
|
if (!decoder) decoder = document.createElement("div");
|
|
4071
4108
|
if (asAttr) {
|
|
@@ -4098,16 +4135,16 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
|
|
|
4098
4135
|
init_compiler_core_esm_bundler();
|
|
4099
4136
|
init_compiler_core_esm_bundler();
|
|
4100
4137
|
init_shared_esm_bundler();
|
|
4101
|
-
V_MODEL_RADIO = Symbol(``);
|
|
4102
|
-
V_MODEL_CHECKBOX = Symbol(``);
|
|
4103
|
-
V_MODEL_TEXT = Symbol(``);
|
|
4104
|
-
V_MODEL_SELECT = Symbol(``);
|
|
4105
|
-
V_MODEL_DYNAMIC = Symbol(``);
|
|
4106
|
-
V_ON_WITH_MODIFIERS = Symbol(``);
|
|
4107
|
-
V_ON_WITH_KEYS = Symbol(``);
|
|
4108
|
-
V_SHOW = Symbol(``);
|
|
4109
|
-
TRANSITION = Symbol(``);
|
|
4110
|
-
TRANSITION_GROUP = Symbol(``);
|
|
4138
|
+
V_MODEL_RADIO = /* @__PURE__ */ Symbol(``);
|
|
4139
|
+
V_MODEL_CHECKBOX = /* @__PURE__ */ Symbol(``);
|
|
4140
|
+
V_MODEL_TEXT = /* @__PURE__ */ Symbol(``);
|
|
4141
|
+
V_MODEL_SELECT = /* @__PURE__ */ Symbol(``);
|
|
4142
|
+
V_MODEL_DYNAMIC = /* @__PURE__ */ Symbol(``);
|
|
4143
|
+
V_ON_WITH_MODIFIERS = /* @__PURE__ */ Symbol(``);
|
|
4144
|
+
V_ON_WITH_KEYS = /* @__PURE__ */ Symbol(``);
|
|
4145
|
+
V_SHOW = /* @__PURE__ */ Symbol(``);
|
|
4146
|
+
TRANSITION = /* @__PURE__ */ Symbol(``);
|
|
4147
|
+
TRANSITION_GROUP = /* @__PURE__ */ Symbol(``);
|
|
4111
4148
|
registerRuntimeHelpers({
|
|
4112
4149
|
[V_MODEL_RADIO]: `vModelRadio`,
|
|
4113
4150
|
[V_MODEL_CHECKBOX]: `vModelCheckbox`,
|
|
@@ -4165,58 +4202,58 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
|
|
|
4165
4202
|
return createSimpleExpression(JSON.stringify(normalized), false, loc, 3);
|
|
4166
4203
|
};
|
|
4167
4204
|
DOMErrorCodes = {
|
|
4168
|
-
"X_V_HTML_NO_EXPRESSION":
|
|
4169
|
-
"
|
|
4170
|
-
"X_V_HTML_WITH_CHILDREN":
|
|
4171
|
-
"
|
|
4172
|
-
"X_V_TEXT_NO_EXPRESSION":
|
|
4173
|
-
"
|
|
4174
|
-
"X_V_TEXT_WITH_CHILDREN":
|
|
4175
|
-
"
|
|
4176
|
-
"X_V_MODEL_ON_INVALID_ELEMENT":
|
|
4177
|
-
"
|
|
4178
|
-
"X_V_MODEL_ARG_ON_ELEMENT":
|
|
4179
|
-
"
|
|
4180
|
-
"X_V_MODEL_ON_FILE_INPUT_ELEMENT":
|
|
4181
|
-
"
|
|
4182
|
-
"X_V_MODEL_UNNECESSARY_VALUE":
|
|
4183
|
-
"
|
|
4184
|
-
"X_V_SHOW_NO_EXPRESSION":
|
|
4185
|
-
"
|
|
4186
|
-
"X_TRANSITION_INVALID_CHILDREN":
|
|
4187
|
-
"
|
|
4188
|
-
"X_IGNORED_SIDE_EFFECT_TAG":
|
|
4189
|
-
"
|
|
4190
|
-
"__EXTEND_POINT__":
|
|
4191
|
-
"
|
|
4205
|
+
"X_V_HTML_NO_EXPRESSION": 54,
|
|
4206
|
+
"54": "X_V_HTML_NO_EXPRESSION",
|
|
4207
|
+
"X_V_HTML_WITH_CHILDREN": 55,
|
|
4208
|
+
"55": "X_V_HTML_WITH_CHILDREN",
|
|
4209
|
+
"X_V_TEXT_NO_EXPRESSION": 56,
|
|
4210
|
+
"56": "X_V_TEXT_NO_EXPRESSION",
|
|
4211
|
+
"X_V_TEXT_WITH_CHILDREN": 57,
|
|
4212
|
+
"57": "X_V_TEXT_WITH_CHILDREN",
|
|
4213
|
+
"X_V_MODEL_ON_INVALID_ELEMENT": 58,
|
|
4214
|
+
"58": "X_V_MODEL_ON_INVALID_ELEMENT",
|
|
4215
|
+
"X_V_MODEL_ARG_ON_ELEMENT": 59,
|
|
4216
|
+
"59": "X_V_MODEL_ARG_ON_ELEMENT",
|
|
4217
|
+
"X_V_MODEL_ON_FILE_INPUT_ELEMENT": 60,
|
|
4218
|
+
"60": "X_V_MODEL_ON_FILE_INPUT_ELEMENT",
|
|
4219
|
+
"X_V_MODEL_UNNECESSARY_VALUE": 61,
|
|
4220
|
+
"61": "X_V_MODEL_UNNECESSARY_VALUE",
|
|
4221
|
+
"X_V_SHOW_NO_EXPRESSION": 62,
|
|
4222
|
+
"62": "X_V_SHOW_NO_EXPRESSION",
|
|
4223
|
+
"X_TRANSITION_INVALID_CHILDREN": 63,
|
|
4224
|
+
"63": "X_TRANSITION_INVALID_CHILDREN",
|
|
4225
|
+
"X_IGNORED_SIDE_EFFECT_TAG": 64,
|
|
4226
|
+
"64": "X_IGNORED_SIDE_EFFECT_TAG",
|
|
4227
|
+
"__EXTEND_POINT__": 65,
|
|
4228
|
+
"65": "__EXTEND_POINT__"
|
|
4192
4229
|
};
|
|
4193
4230
|
DOMErrorMessages = {
|
|
4194
|
-
[
|
|
4195
|
-
[
|
|
4196
|
-
[
|
|
4197
|
-
[
|
|
4198
|
-
[
|
|
4199
|
-
[
|
|
4200
|
-
[
|
|
4201
|
-
[
|
|
4202
|
-
[
|
|
4203
|
-
[
|
|
4204
|
-
[
|
|
4231
|
+
[54]: `v-html is missing expression.`,
|
|
4232
|
+
[55]: `v-html will override element children.`,
|
|
4233
|
+
[56]: `v-text is missing expression.`,
|
|
4234
|
+
[57]: `v-text will override element children.`,
|
|
4235
|
+
[58]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
|
|
4236
|
+
[59]: `v-model argument is not supported on plain elements.`,
|
|
4237
|
+
[60]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
|
|
4238
|
+
[61]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
|
|
4239
|
+
[62]: `v-show is missing expression.`,
|
|
4240
|
+
[63]: `<Transition> expects exactly one child element or component.`,
|
|
4241
|
+
[64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
|
|
4205
4242
|
};
|
|
4206
4243
|
transformVHtml = (dir, node, context) => {
|
|
4207
4244
|
const { exp, loc } = dir;
|
|
4208
|
-
if (!exp) context.onError(createDOMCompilerError(
|
|
4245
|
+
if (!exp) context.onError(createDOMCompilerError(54, loc));
|
|
4209
4246
|
if (node.children.length) {
|
|
4210
|
-
context.onError(createDOMCompilerError(
|
|
4247
|
+
context.onError(createDOMCompilerError(55, loc));
|
|
4211
4248
|
node.children.length = 0;
|
|
4212
4249
|
}
|
|
4213
4250
|
return { props: [createObjectProperty(createSimpleExpression(`innerHTML`, true, loc), exp || createSimpleExpression("", true))] };
|
|
4214
4251
|
};
|
|
4215
4252
|
transformVText = (dir, node, context) => {
|
|
4216
4253
|
const { exp, loc } = dir;
|
|
4217
|
-
if (!exp) context.onError(createDOMCompilerError(
|
|
4254
|
+
if (!exp) context.onError(createDOMCompilerError(56, loc));
|
|
4218
4255
|
if (node.children.length) {
|
|
4219
|
-
context.onError(createDOMCompilerError(
|
|
4256
|
+
context.onError(createDOMCompilerError(57, loc));
|
|
4220
4257
|
node.children.length = 0;
|
|
4221
4258
|
}
|
|
4222
4259
|
return { props: [createObjectProperty(createSimpleExpression(`textContent`, true), exp ? getConstantType(exp, context) > 0 ? exp : createCallExpression(context.helperString(TO_DISPLAY_STRING), [exp], loc) : createSimpleExpression("", true))] };
|
|
@@ -4224,7 +4261,7 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
|
|
|
4224
4261
|
transformModel$1 = (dir, node, context) => {
|
|
4225
4262
|
const baseResult = transformModel(dir, node, context);
|
|
4226
4263
|
if (!baseResult.props.length || node.tagType === 1) return baseResult;
|
|
4227
|
-
if (dir.arg) context.onError(createDOMCompilerError(
|
|
4264
|
+
if (dir.arg) context.onError(createDOMCompilerError(59, dir.arg.loc));
|
|
4228
4265
|
const { tag } = node;
|
|
4229
4266
|
const isCustomElement = context.isCustomElement(tag);
|
|
4230
4267
|
if (tag === "input" || tag === "textarea" || tag === "select" || isCustomElement) {
|
|
@@ -4243,14 +4280,14 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
|
|
|
4243
4280
|
break;
|
|
4244
4281
|
case "file":
|
|
4245
4282
|
isInvalidType = true;
|
|
4246
|
-
context.onError(createDOMCompilerError(
|
|
4283
|
+
context.onError(createDOMCompilerError(60, dir.loc));
|
|
4247
4284
|
break;
|
|
4248
4285
|
default: break;
|
|
4249
4286
|
}
|
|
4250
4287
|
} else if (hasDynamicKeyVBind(node)) directiveToUse = V_MODEL_DYNAMIC;
|
|
4251
4288
|
} else if (tag === "select") directiveToUse = V_MODEL_SELECT;
|
|
4252
4289
|
if (!isInvalidType) baseResult.needRuntime = context.helper(directiveToUse);
|
|
4253
|
-
} else context.onError(createDOMCompilerError(
|
|
4290
|
+
} else context.onError(createDOMCompilerError(58, dir.loc));
|
|
4254
4291
|
baseResult.props = baseResult.props.filter((p) => !(p.key.type === 4 && p.key.content === "modelValue"));
|
|
4255
4292
|
return baseResult;
|
|
4256
4293
|
};
|
|
@@ -4313,7 +4350,7 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
|
|
|
4313
4350
|
};
|
|
4314
4351
|
transformShow = (dir, node, context) => {
|
|
4315
4352
|
const { exp, loc } = dir;
|
|
4316
|
-
if (!exp) context.onError(createDOMCompilerError(
|
|
4353
|
+
if (!exp) context.onError(createDOMCompilerError(62, loc));
|
|
4317
4354
|
return {
|
|
4318
4355
|
props: [],
|
|
4319
4356
|
needRuntime: context.helper(V_SHOW)
|
|
@@ -4332,6 +4369,11 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
|
|
|
4332
4369
|
show: transformShow
|
|
4333
4370
|
};
|
|
4334
4371
|
}));
|
|
4372
|
+
/**
|
|
4373
|
+
* vue v3.5.26
|
|
4374
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4375
|
+
* @license MIT
|
|
4376
|
+
**/
|
|
4335
4377
|
var require_vue_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4336
4378
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4337
4379
|
var compilerDom = (init_compiler_dom_esm_bundler(), __toCommonJS(compiler_dom_esm_bundler_exports));
|