n8n-editor-ui 1.119.1 → 1.120.0

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.
Files changed (491) hide show
  1. package/dist/assets/{AddDataTableModal-78UiDOZ6.js → AddDataTableModal-CNPce2MK.js} +17 -17
  2. package/dist/assets/AddDataTableModal-legacy-D_q2DsYi.js +165 -0
  3. package/dist/assets/AnimatedSpinner-legacy-a37yY0a9.js +35 -0
  4. package/dist/assets/{AnnotationTagsDropdown.ee-B5SGfmxY.js → AnnotationTagsDropdown.ee-B3a6ceTY.js} +2 -2
  5. package/dist/assets/AnnotationTagsDropdown.ee-legacy-LINSaq2v.js +90 -0
  6. package/dist/assets/{AuthView-CaCXt20h.js → AuthView-BksSCUt6.js} +6 -6
  7. package/dist/assets/AuthView-legacy-CfV1HZE_.js +170 -0
  8. package/dist/assets/{ChangePasswordView-sh87mWR6.js → ChangePasswordView-Cvxj1PRp.js} +15 -15
  9. package/dist/assets/ChangePasswordView-legacy-xsAfjRRg.js +165 -0
  10. package/dist/assets/{ChatAgentsView-4SiYQ9YJ.js → ChatAgentsView-DJypCGml.js} +22 -22
  11. package/dist/assets/ChatAgentsView-legacy-BaECHABU.js +418 -0
  12. package/dist/assets/{ChatSidebar-C0XXqw3v.js → ChatSidebar-C13q9zqk.js} +29 -24
  13. package/dist/assets/ChatSidebar-legacy-DIt4TcYH.js +485 -0
  14. package/dist/assets/{ChatView-BlkLzP1X.js → ChatView-D2xZRN42.js} +26 -26
  15. package/dist/assets/ChatView-legacy-CFToQG1U.js +1192 -0
  16. package/dist/assets/CollectionParameter-legacy-IavnknS_.js +16 -0
  17. package/dist/assets/CollectionParameter-uuFxXssR.js +58 -0
  18. package/dist/assets/{CommunityNodeUpdateInfo-Egv665vx.js → CommunityNodeUpdateInfo-CLRP_8wC.js} +8 -8
  19. package/dist/assets/CommunityNodeUpdateInfo-legacy-DS8roZW5.js +395 -0
  20. package/dist/assets/{CopyInput-DX-FL085.js → CopyInput-Bn1XwSA8.js} +4 -4
  21. package/dist/assets/CopyInput-legacy-CiWOPgga.js +141 -0
  22. package/dist/assets/{CredentialIcon-DS3l06t2.js → CredentialIcon-BYz55hZ1.js} +2 -2
  23. package/dist/assets/CredentialIcon-legacy-Dj_Wwpq8.js +110 -0
  24. package/dist/assets/{CredentialsView-C3SKDwtI.js → CredentialsView-DAHDYrLs.js} +36 -36
  25. package/dist/assets/CredentialsView-legacy-DLPPpy9f.js +562 -0
  26. package/dist/assets/{DataTableActions-lgRuMb9F.js → DataTableActions-C64c3Y8N.js} +7 -7
  27. package/dist/assets/DataTableActions-legacy-DBVf0Yyo.js +113 -0
  28. package/dist/assets/{DataTableDetailsView-CoWw-4gy.js → DataTableDetailsView-ByMD0P9u.js} +23 -23
  29. package/dist/assets/DataTableDetailsView-legacy-DaV5zS6D.js +46280 -0
  30. package/dist/assets/{DataTableView-hUsgVnZS.js → DataTableView-7hlUIGsV.js} +33 -33
  31. package/dist/assets/DataTableView-legacy-CI8bni3b.js +348 -0
  32. package/dist/assets/DemoFooter-CXKoC-C4.js +70 -0
  33. package/dist/assets/DemoFooter-legacy-C9jTq-mk.js +39 -0
  34. package/dist/assets/{Draggable-DFf4aD-Y.js → Draggable-FGSUZI7J.js} +1 -1
  35. package/dist/assets/Draggable-legacy-DrwbjxUV.js +158 -0
  36. package/dist/assets/{EmptySharedSectionActionBox-BkPu0yI0.js → EmptySharedSectionActionBox-DC-L1kVD.js} +4 -4
  37. package/dist/assets/EmptySharedSectionActionBox-legacy-CcDbu4Qz.js +68 -0
  38. package/dist/assets/{EnterpriseEdition.ee-BoNEV-MB.js → EnterpriseEdition.ee-BLnkG_vb.js} +1 -1
  39. package/dist/assets/EnterpriseEdition.ee-legacy-qbLE7866.js +44 -0
  40. package/dist/assets/{EntityNotFound-Bs-aLs3W.js → EntityNotFound-BEd7ip46.js} +7 -7
  41. package/dist/assets/EntityNotFound-legacy-DYBNYDT_.js +116 -0
  42. package/dist/assets/{EntityUnAuthorised-BwhGn6eD.js → EntityUnAuthorised-BwJ3qYPD.js} +7 -7
  43. package/dist/assets/EntityUnAuthorised-legacy-igjo60QA.js +97 -0
  44. package/dist/assets/{ErrorView-Cvlb8nm0.js → ErrorView-BpDaPgmW.js} +9 -9
  45. package/dist/assets/ErrorView-legacy-DapUi98L.js +100 -0
  46. package/dist/assets/{EvaluationsRootView-DdOZORFr.js → EvaluationsRootView-BeKeeOoI.js} +26 -26
  47. package/dist/assets/EvaluationsRootView-legacy-CKVE58to.js +633 -0
  48. package/dist/assets/{EvaluationsView-DxiPOlGL.js → EvaluationsView-BWf7BQC4.js} +20 -20
  49. package/dist/assets/EvaluationsView-legacy-DhlbC0Ea.js +612 -0
  50. package/dist/assets/{ExecutionsTime-DwXL-TY4.js → ExecutionsTime-EA00RsW3.js} +9 -9
  51. package/dist/assets/ExecutionsTime-legacy-DrbsbtIP.js +618 -0
  52. package/dist/assets/ExecutionsView-legacy-Dgt_HcPK.js +941 -0
  53. package/dist/assets/{ExecutionsView-B4XGhWmY.js → ExecutionsView-nE3nEcsV.js} +37 -37
  54. package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-DCTg0mdX.js → ExternalSecretsProviderConnectionSwitch.ee-BWc-RcA5.js} +4 -4
  55. package/dist/assets/ExternalSecretsProviderConnectionSwitch.ee-legacy-vUb1CeAz.js +269 -0
  56. package/dist/assets/FileSaver.min-legacy-BTN44Z38.js +100 -0
  57. package/dist/assets/{FixedCollectionParameter-DjdDaH5s.js → FixedCollectionParameter-B1yXNe91.js} +48 -48
  58. package/dist/assets/FixedCollectionParameter-legacy-D_uQ0vSg.js +346 -0
  59. package/dist/assets/{ForgotMyPasswordView-KkAVBYit.js → ForgotMyPasswordView-D7LLNbRv.js} +15 -15
  60. package/dist/assets/ForgotMyPasswordView-legacy-DftsnpqL.js +118 -0
  61. package/dist/assets/{InsightsChartAverageRuntime-D5Gh8Rz5.js → InsightsChartAverageRuntime-C7rtAGGH.js} +8 -8
  62. package/dist/assets/InsightsChartAverageRuntime-legacy-C8eNILht.js +91 -0
  63. package/dist/assets/{InsightsChartFailed-D7PZ_ctV.js → InsightsChartFailed-BVvAmkiO.js} +7 -7
  64. package/dist/assets/InsightsChartFailed-legacy-BrgEC_aN.js +82 -0
  65. package/dist/assets/{InsightsChartFailureRate-CpPU5Kwd.js → InsightsChartFailureRate-DwY4ZV2Q.js} +8 -8
  66. package/dist/assets/InsightsChartFailureRate-legacy-BOkyqauQ.js +85 -0
  67. package/dist/assets/{InsightsChartTimeSaved-DYrv2t2N.js → InsightsChartTimeSaved-g3dzoVe5.js} +8 -8
  68. package/dist/assets/InsightsChartTimeSaved-legacy-CRXGQDed.js +99 -0
  69. package/dist/assets/{InsightsChartTotal-CNqL-Qn3.js → InsightsChartTotal-BUzsVTHL.js} +7 -7
  70. package/dist/assets/InsightsChartTotal-legacy-BJMAB7NO.js +82 -0
  71. package/dist/assets/{InsightsDashboard-CrJZtNDS.js → InsightsDashboard-Z46a8mLm.js} +36 -36
  72. package/dist/assets/InsightsDashboard-legacy-BsKYh6Zu.js +562 -0
  73. package/dist/assets/{InsightsPaywall-DxgcxZ5z.js → InsightsPaywall-CM-5Wo37.js} +16 -16
  74. package/dist/assets/InsightsPaywall-legacy-Db6t4x-1.js +83 -0
  75. package/dist/assets/{InsightsSummary-Bew3_p6D.js → InsightsSummary-BKDZRj8q.js} +8 -8
  76. package/dist/assets/InsightsSummary-legacy-e5z3TegQ.js +225 -0
  77. package/dist/assets/{InsightsTableWorkflows-TAIASHgR.js → InsightsTableWorkflows-BNelOen0.js} +16 -16
  78. package/dist/assets/InsightsTableWorkflows-legacy-BDjUKHj8.js +269 -0
  79. package/dist/assets/{ItemsRenderer-BfXptelN.js → ItemsRenderer-DG_0Q-Gb.js} +8 -8
  80. package/dist/assets/ItemsRenderer-legacy-BcFXv3rI.js +1178 -0
  81. package/dist/assets/{KeyboardShortcutTooltip-y1pBqAge.js → KeyboardShortcutTooltip-BYhbaXL9.js} +1 -1
  82. package/dist/assets/KeyboardShortcutTooltip-legacy-DFhofumE.js +81 -0
  83. package/dist/assets/LogsPanel-Cr7P14px.js +57 -0
  84. package/dist/assets/{LogsPanel-Uc0E6yn-.js → LogsPanel-abfXyH7Y.js} +28 -30
  85. package/dist/assets/LogsPanel-legacy-BjPVIpZg.js +2951 -0
  86. package/dist/assets/LogsPanel-legacy-BjVvE6Y0.js +16 -0
  87. package/dist/assets/{MainHeader-M-D-hY8c.js → MainHeader-CsSHhx5_.js} +241 -65
  88. package/dist/assets/{MainHeader-Dz9UViYg.css → MainHeader-Csdi9iXJ.css} +177 -29
  89. package/dist/assets/MainHeader-legacy-CvmcTj8J.js +2193 -0
  90. package/dist/assets/MainSidebar-legacy-YxLN5JqH.js +1306 -0
  91. package/dist/assets/{MainSidebar-Bf52gQzU.js → MainSidebar-rOTUtkBP.js} +26 -26
  92. package/dist/assets/{MainSidebarUserArea-UHX8ACa4.js → MainSidebarUserArea-BJPw39X0.js} +5 -5
  93. package/dist/assets/MainSidebarUserArea-legacy-D6AOIGgS.js +172 -0
  94. package/dist/assets/{Modal-DwutFKNY.js → Modal-DCqr4mja.js} +5 -5
  95. package/dist/assets/Modal-legacy-JHEaiPBD.js +265 -0
  96. package/dist/assets/ModalDrawer-legacy-BJmqm_oA.js +308 -0
  97. package/dist/assets/{ModalDrawer-B2sNzJVm.js → ModalDrawer-tIdfksn8.js} +6 -6
  98. package/dist/assets/{NDVEmptyState-DdpBamQ9.js → NDVEmptyState-BHecevNV.js} +1 -1
  99. package/dist/assets/NDVEmptyState-legacy-MP5RoBw5.js +19819 -0
  100. package/dist/assets/{NodeCreation-BRIx8Ei9.js → NodeCreation-D55e03Og.js} +46 -46
  101. package/dist/assets/NodeCreation-legacy-C2W0brGN.js +273 -0
  102. package/dist/assets/NodeCreator-legacy-CTnRoQSx.js +1670 -0
  103. package/dist/assets/{NodeCreator-DDG2GQ-C.js → NodeCreator-s6kndVrv.js} +31 -31
  104. package/dist/assets/{NodeDetailsView-4jVeGvDi.js → NodeDetailsView-Bob_UNcq.js} +64 -64
  105. package/dist/assets/NodeDetailsView-legacy-DDTRIVzE.js +1116 -0
  106. package/dist/assets/{NodeDetailsViewV2-MeaPvImX.js → NodeDetailsViewV2-B9XEZfhu.js} +65 -65
  107. package/dist/assets/NodeDetailsViewV2-legacy-CK4dIDeL.js +1060 -0
  108. package/dist/assets/{NodeIcon-C-rkj6sB.js → NodeIcon-lOuyYMGN.js} +2 -2
  109. package/dist/assets/NodeIcon-legacy-DG2J9mhW.js +127 -0
  110. package/dist/assets/{NodeSettings-gAtnSv8q.js → NodeSettings-B_ICqwDQ.js} +19 -19
  111. package/dist/assets/NodeSettings-legacy-CF2CaCzs.js +2811 -0
  112. package/dist/assets/NodeView-legacy-BMkGVdkr.js +2660 -0
  113. package/dist/assets/{NodeView-jjqmiYDP.js → NodeView-ph9FnUki.js} +69 -69
  114. package/dist/assets/{SettingsProvisioningView-Dhfda99J.css → OAuthConsentView-CXZbBKS5.css} +74 -32
  115. package/dist/assets/OAuthConsentView-CtUbmPEv.js +225 -0
  116. package/dist/assets/OAuthConsentView-legacy-V4pqsJpk.js +292 -0
  117. package/dist/assets/PageViewLayout-legacy-B1As2gDz.js +44 -0
  118. package/dist/assets/{ParameterInputList-kEoD9fc7.js → ParameterInputList-CVOMMAVC.js} +29 -29
  119. package/dist/assets/ParameterInputList-legacy-D0lnTah6.js +38124 -0
  120. package/dist/assets/{PrebuiltAgentTemplatesView-Dd6IJD_W.js → PrebuiltAgentTemplatesView-C66v0Rfw.js} +18 -18
  121. package/dist/assets/PrebuiltAgentTemplatesView-legacy-no2dr8dA.js +205 -0
  122. package/dist/assets/{ProjectBreadcrumb-scGlGqYf.js → ProjectBreadcrumb-CVitESde.js} +4 -4
  123. package/dist/assets/ProjectBreadcrumb-legacy-DuIjFcuf.js +140 -0
  124. package/dist/assets/{ProjectCardBadge-p4AY0ubu.js → ProjectCardBadge-RcG3IuSv.js} +5 -5
  125. package/dist/assets/ProjectCardBadge-legacy-Ckl-RNYt.js +251 -0
  126. package/dist/assets/{ProjectHeader-BZeiGuD6.js → ProjectHeader-BTxr_uZx.js} +12 -11
  127. package/dist/assets/ProjectHeader-legacy-CpJwWF0C.js +710 -0
  128. package/dist/assets/{ProjectIcon-DqKjDNbR.js → ProjectIcon-CfC5ZMJ_.js} +1 -1
  129. package/dist/assets/ProjectIcon-legacy-CCWF7GdT.js +109 -0
  130. package/dist/assets/{ProjectRoleView-ByzrSQP-.js → ProjectRoleView-CRCohRyJ.js} +16 -16
  131. package/dist/assets/ProjectRoleView-legacy-B73c7qRW.js +469 -0
  132. package/dist/assets/{ProjectRolesView-DclD8eEm.js → ProjectRolesView-BqZGQgVw.js} +19 -19
  133. package/dist/assets/ProjectRolesView-legacy-dTN29nao.js +316 -0
  134. package/dist/assets/{ProjectSettings-4wa93sE4.js → ProjectSettings-C29Ztobq.js} +26 -26
  135. package/dist/assets/ProjectSettings-legacy-B5WM8UM_.js +1069 -0
  136. package/dist/assets/{ProjectSharing-BVPUxo_M.js → ProjectSharing-DUdqsKIb.js} +5 -5
  137. package/dist/assets/ProjectSharing-legacy-DAHRQcVy.js +307 -0
  138. package/dist/assets/{ProjectVariables-x9spBaqX.js → ProjectVariables-k94KpZjl.js} +34 -34
  139. package/dist/assets/ProjectVariables-legacy-BtPtS2zC.js +572 -0
  140. package/dist/assets/{PushConnectionTracker-ByNVqY0h.js → PushConnectionTracker-BRETfc_U.js} +3 -3
  141. package/dist/assets/PushConnectionTracker-legacy-C4k814hh.js +65 -0
  142. package/dist/assets/{ResourcesListLayout-UXbxK1S7.js → ResourcesListLayout-CgQqKl0f.js} +10 -10
  143. package/dist/assets/ResourcesListLayout-legacy-BLQXYEmh.js +938 -0
  144. package/dist/assets/RunDataHtml-B1O-g3bi.js +7 -0
  145. package/dist/assets/{RunDataHtml-DdtrEw19.js → RunDataHtml-BNcvZDMJ.js} +1 -1
  146. package/dist/assets/RunDataHtml-legacy-DopSvQCJ.js +63 -0
  147. package/dist/assets/RunDataHtml-legacy-h0qPMlWv.js +16 -0
  148. package/dist/assets/{RunDataJson-CxLotBq-.js → RunDataJson-CVLzOWUM.js} +14 -17
  149. package/dist/assets/RunDataJson-legacy-dGOOBvFu.js +253 -0
  150. package/dist/assets/{RunDataJsonActions-qylVa2u8.js → RunDataJsonActions-T_9PWIUO.js} +15 -15
  151. package/dist/assets/RunDataJsonActions-legacy-bMw-SnSs.js +5126 -0
  152. package/dist/assets/{RunDataParsedAiContent-Cs80jq_q.js → RunDataParsedAiContent-BTi5LXv5.js} +7 -7
  153. package/dist/assets/RunDataParsedAiContent-lLVWzL_j.js +25 -0
  154. package/dist/assets/RunDataParsedAiContent-legacy-BP9-BZ9y.js +234 -0
  155. package/dist/assets/RunDataParsedAiContent-legacy-Be3V5vPH.js +16 -0
  156. package/dist/assets/{RunDataSearch-BvoYWH8W.js → RunDataSearch-CfgrUp1Q.js} +10 -10
  157. package/dist/assets/RunDataSearch-legacy-Gct_MnP9.js +194 -0
  158. package/dist/assets/{RunDataTable-d3eXUdSg.js → RunDataTable-gBcLds6g.js} +16 -16
  159. package/dist/assets/RunDataTable-legacy-C3okH-2I.js +724 -0
  160. package/dist/assets/{SamlOnboarding-CRtDDWqf.js → SamlOnboarding-B9GmsTCa.js} +15 -15
  161. package/dist/assets/SamlOnboarding-legacy-DOsu-pYe.js +92 -0
  162. package/dist/assets/{SaveButton-D1iDaopV.js → SaveButton-DMlAg6iF.js} +3 -3
  163. package/dist/assets/SaveButton-legacy-D7IEJ_Eb.js +123 -0
  164. package/dist/assets/{SelectedItemsInfo-CSzniBOD.js → SelectedItemsInfo-BxomzONZ.js} +2 -2
  165. package/dist/assets/SelectedItemsInfo-legacy-Df4orSkP.js +95 -0
  166. package/dist/assets/{SettingsApiView-DqnHEaAj.js → SettingsApiView-C2JaCEY4.js} +20 -20
  167. package/dist/assets/SettingsApiView-legacy-C6d8TfWr.js +409 -0
  168. package/dist/assets/{SettingsCommunityNodesView-C7JC1VAK.js → SettingsCommunityNodesView-_kOJvcAb.js} +34 -34
  169. package/dist/assets/SettingsCommunityNodesView-legacy-DWWeuTG5.js +443 -0
  170. package/dist/assets/{SettingsExternalSecrets-CqTHs6zk.js → SettingsExternalSecrets-C99m8ABz.js} +18 -18
  171. package/dist/assets/SettingsExternalSecrets-legacy-BzZ4XIFG.js +315 -0
  172. package/dist/assets/{SettingsLdapView-zifHhZKy.js → SettingsLdapView-C9WjBc7I.js} +21 -21
  173. package/dist/assets/SettingsLdapView-legacy-_AcWgHUq.js +2246 -0
  174. package/dist/assets/{SettingsLogStreamingView-CQwuqSl8.js → SettingsLogStreamingView-DHsRuyjZ.js} +20 -20
  175. package/dist/assets/SettingsLogStreamingView-legacy-tDLLJ44w.js +479 -0
  176. package/dist/assets/SettingsMCPView-51n0OMXD.js +936 -0
  177. package/dist/assets/SettingsMCPView-BGXq9o_x.css +1248 -0
  178. package/dist/assets/SettingsMCPView-legacy-i3kndEib.js +1111 -0
  179. package/dist/assets/{SettingsPersonalView-C1NF8zuk.js → SettingsPersonalView-D446WlNq.js} +16 -16
  180. package/dist/assets/SettingsPersonalView-legacy-BIKKlcFP.js +484 -0
  181. package/dist/assets/SettingsProvisioningView-C4D0a4Kz.css +303 -0
  182. package/dist/assets/SettingsProvisioningView-CMxF-qBt.js +448 -0
  183. package/dist/assets/SettingsProvisioningView-legacy-Dgc-3R2G.js +530 -0
  184. package/dist/assets/{SettingsSourceControl-CZryQCqT.js → SettingsSourceControl-CdGLap-v.js} +20 -20
  185. package/dist/assets/SettingsSourceControl-legacy-CRO9lIt0.js +580 -0
  186. package/dist/assets/{SettingsSso-CeeFO_Pv.js → SettingsSso-CRUwWu73.js} +21 -21
  187. package/dist/assets/SettingsSso-legacy-pdNyjmak.js +507 -0
  188. package/dist/assets/{SettingsUsageAndPlan-DMMd5WcZ.js → SettingsUsageAndPlan-B6x8zZXr.js} +19 -19
  189. package/dist/assets/SettingsUsageAndPlan-legacy-DFV0qoLH.js +505 -0
  190. package/dist/assets/{SettingsUsersView-DWVyE4hY.js → SettingsUsersView-Dsbnghnu.js} +21 -21
  191. package/dist/assets/SettingsUsersView-legacy-u0Fwqh1l.js +931 -0
  192. package/dist/assets/{SettingsView-trF6L-tM.js → SettingsView-cK0an9QH.js} +13 -12
  193. package/dist/assets/SettingsView-legacy-4r_N7Sjz.js +346 -0
  194. package/dist/assets/{SetupTemplateFormStep-BsgzR5CN.js → SetupTemplateFormStep-0WNtoZGl.js} +6 -6
  195. package/dist/assets/SetupTemplateFormStep-legacy-OcWvmzbf.js +548 -0
  196. package/dist/assets/{SetupView-Bx4ZLcja.js → SetupView-BLVZ5AeU.js} +15 -15
  197. package/dist/assets/SetupView-legacy-CRn9XSyo.js +126 -0
  198. package/dist/assets/{SetupWorkflowCredentialsButton-DR_aufFd.js → SetupWorkflowCredentialsButton-C0LFoT-P.js} +12 -12
  199. package/dist/assets/SetupWorkflowCredentialsButton-legacy-QokrFtZ-.js +84 -0
  200. package/dist/assets/{SetupWorkflowFromTemplateView-Ded77Ph-.js → SetupWorkflowFromTemplateView-B9OOt2hJ.js} +21 -21
  201. package/dist/assets/SetupWorkflowFromTemplateView-legacy-CaJODj15.js +376 -0
  202. package/dist/assets/{SigninView-DXPofyPm.js → SigninView-BpvLJPl1.js} +16 -16
  203. package/dist/assets/SigninView-legacy-DvW5NQXx.js +441 -0
  204. package/dist/assets/{SignoutView-B7H_dRJO.js → SignoutView-BWZuW4X2.js} +10 -10
  205. package/dist/assets/SignoutView-legacy-Clx351-m.js +56 -0
  206. package/dist/assets/{SignupView-BHWVvwh8.js → SignupView-Bf89NmFx.js} +15 -15
  207. package/dist/assets/SignupView-legacy-y9mI7y_i.js +154 -0
  208. package/dist/assets/{TagsDropdown-D6CYk5R8.js → TagsDropdown-BGeOVful.js} +4 -4
  209. package/dist/assets/TagsDropdown-legacy-C4hvzF0m.js +285 -0
  210. package/dist/assets/{TemplateDetails-ezK9JOOl.js → TemplateDetails-B6qqstGY.js} +7 -7
  211. package/dist/assets/TemplateDetails-legacy-DJ5AmpDn.js +197 -0
  212. package/dist/assets/{TemplateList-DztR2yKa.js → TemplateList-BGEW-ffb.js} +5 -5
  213. package/dist/assets/TemplateList-legacy-DK9daXlW.js +411 -0
  214. package/dist/assets/{TemplatesCollectionView-Bu_YRd84.js → TemplatesCollectionView-CotElubt.js} +23 -23
  215. package/dist/assets/TemplatesCollectionView-legacy-BLpP7qpC.js +248 -0
  216. package/dist/assets/{TemplatesSearchView-C7zBEV2b.js → TemplatesSearchView-CF_JB0Nl.js} +21 -21
  217. package/dist/assets/TemplatesSearchView-legacy-D5-BrZSe.js +1427 -0
  218. package/dist/assets/{TemplatesView-BnozPkTX.js → TemplatesView-KjV1fZuK.js} +3 -3
  219. package/dist/assets/TemplatesView-legacy-BR7FfPHI.js +113 -0
  220. package/dist/assets/{TemplatesWorkflowView-BTyHc3MG.js → TemplatesWorkflowView-D3dhsGtS.js} +25 -25
  221. package/dist/assets/TemplatesWorkflowView-legacy-BwhS7Lp6.js +220 -0
  222. package/dist/assets/{TestRunDetailView-B76TM9u8.js → TestRunDetailView-CwCkkxlL.js} +18 -18
  223. package/dist/assets/TestRunDetailView-legacy-B8xeQdn3.js +500 -0
  224. package/dist/assets/TextWithHighlights-legacy-CVW5NpX4.js +108 -0
  225. package/dist/assets/{TimeAgo-Gv5h1Utx.js → TimeAgo-CxNgd8gh.js} +2 -2
  226. package/dist/assets/TimeAgo-legacy-C6dJd_gm.js +200 -0
  227. package/dist/assets/{TriggerPanel-Dx9LpA4p.js → TriggerPanel-BGFaLV08.js} +80 -28
  228. package/dist/assets/{TriggerPanel-BQveVt6Q.css → TriggerPanel-jKx3Ut66.css} +31 -10
  229. package/dist/assets/TriggerPanel-legacy-B2UgkRPw.js +1519 -0
  230. package/dist/assets/VirtualSchema-BANmgn2J.js +43 -0
  231. package/dist/assets/{VirtualSchema-CUUzo795.js → VirtualSchema-CQeMCJz2.js} +16 -16
  232. package/dist/assets/VirtualSchema-legacy-DgLao-iv.js +16 -0
  233. package/dist/assets/VirtualSchema-legacy-DxxDcdpp.js +2655 -0
  234. package/dist/assets/{VueMarkdown-CiR4a0gO.js → VueMarkdown-BVDHDwjC.js} +1 -1
  235. package/dist/assets/VueMarkdown-legacy-C7HrPz2N.js +50 -0
  236. package/dist/assets/{WorkerView-D7h4pmTk.js → WorkerView-DaMext16.js} +39 -39
  237. package/dist/assets/WorkerView-legacy-BHcVajFe.js +636 -0
  238. package/dist/assets/{WorkflowActivator-k3HTYXbc.js → WorkflowActivator-B_HRrCra.js} +8 -8
  239. package/dist/assets/WorkflowActivator-legacy-DwUgfsYm.js +473 -0
  240. package/dist/assets/{WorkflowExecutionsInfoAccordion-DL5cBkbK.js → WorkflowExecutionsInfoAccordion-B9s5Q7yu.js} +7 -7
  241. package/dist/assets/WorkflowExecutionsInfoAccordion-legacy-BP2sx7KH.js +226 -0
  242. package/dist/assets/WorkflowExecutionsLandingPage-legacy-Bc8Pv97E.js +136 -0
  243. package/dist/assets/{WorkflowExecutionsLandingPage-DlXz9Jry.js → WorkflowExecutionsLandingPage-q-oTzfKu.js} +21 -21
  244. package/dist/assets/{WorkflowExecutionsPreview-DJWD2i74.js → WorkflowExecutionsPreview-LAeONz_V.js} +25 -25
  245. package/dist/assets/WorkflowExecutionsPreview-legacy-DYnU2VEN.js +745 -0
  246. package/dist/assets/{WorkflowExecutionsView-CK-2WqY7.js → WorkflowExecutionsView-CfFjhYz4.js} +38 -38
  247. package/dist/assets/WorkflowExecutionsView-legacy-DKAzbr8n.js +880 -0
  248. package/dist/assets/WorkflowHistory-legacy-Csdiq5NP.js +881 -0
  249. package/dist/assets/{WorkflowHistory-Cb-ZoRBp.js → WorkflowHistory-n0uzAdZE.js} +19 -19
  250. package/dist/assets/{WorkflowOnboardingView-CguOMlib.js → WorkflowOnboardingView-CHSk719X.js} +9 -9
  251. package/dist/assets/WorkflowOnboardingView-legacy-B9zP9lMz.js +95 -0
  252. package/dist/assets/{WorkflowPreview-DY79uYFw.js → WorkflowPreview-BRS-DBzm.js} +5 -5
  253. package/dist/assets/WorkflowPreview-legacy-DA2H3NgE.js +249 -0
  254. package/dist/assets/{WorkflowTagsDropdown-CdEFZM1A.js → WorkflowTagsDropdown-CxVnfj8H.js} +2 -2
  255. package/dist/assets/WorkflowTagsDropdown-legacy-DHfnvOJY.js +90 -0
  256. package/dist/assets/{WorkflowsView-BnxQSw3m.js → WorkflowsView-CypeB-OF.js} +98 -80
  257. package/dist/assets/{WorkflowsView-2XTsT7zB.css → WorkflowsView-M8ExG7Q2.css} +22 -19
  258. package/dist/assets/WorkflowsView-legacy-DMyidvQo.js +3521 -0
  259. package/dist/assets/{_MapCache-Byd-DTfo.js → _MapCache-Y29RpBXS.js} +50 -10
  260. package/dist/assets/_MapCache-legacy-GeIax_zP.js +11061 -0
  261. package/dist/assets/_plugin-vue_export-helper-legacy-DZMI5HPp.js +19 -0
  262. package/dist/assets/apiKeys.store-legacy-CpmQpacT.js +76 -0
  263. package/dist/assets/{apiKeys.store-CPsBJKkq.js → apiKeys.store-uglU3Z3p.js} +1 -1
  264. package/dist/assets/{assistant.store-DvuxtpS4.js → assistant.store-CxWBk3OU.js} +6 -6
  265. package/dist/assets/assistant.store-legacy-BM5rx1Eo.js +1313 -0
  266. package/dist/assets/{auth.eventBus-YsWbuB84.js → auth.eventBus-6li5BYVU.js} +1 -1
  267. package/dist/assets/auth.eventBus-legacy-BMxxHZ6c.js +22 -0
  268. package/dist/assets/{banners.store-BQPwuqhn.js → banners.store-DtwO0jVD.js} +3 -3
  269. package/dist/assets/banners.store-legacy-CpyAILCk.js +260 -0
  270. package/dist/assets/buttons.esm-legacy-BLrJSt1Z.js +419 -0
  271. package/dist/assets/chart-legacy-DbW-cf8m.js +12055 -0
  272. package/dist/assets/{chartjs.utils-Bf07Y-P-.js → chartjs.utils-BCpB09lQ.js} +3 -3
  273. package/dist/assets/chartjs.utils-legacy-DkVdV-lK.js +208 -0
  274. package/dist/assets/{chatPanel.store-fM-8PK9i.js → chatPanel.store-CB1RbrcJ.js} +4 -4
  275. package/dist/assets/chatPanel.store-legacy-BKAXbpla.js +153 -0
  276. package/dist/assets/chunk-legacy-Re9CbdfL.js +59 -0
  277. package/dist/assets/cloudPlan.store-legacy-BpTKyznI.js +208 -0
  278. package/dist/assets/{cloudPlan.store-DrraBpZJ.js → cloudPlan.store-oTKMV1Bw.js} +2 -2
  279. package/dist/assets/{col-DK_GtMhM.js → col-dYShDiWC.js} +3 -3
  280. package/dist/assets/col-legacy-BmizH2a4.js +186 -0
  281. package/dist/assets/{constants-DvlTm3U4.js → constants-COt-IPHd.js} +362 -356
  282. package/dist/assets/constants-legacy-D22nGw-a.js +26 -0
  283. package/dist/assets/constants-legacy-DiqA0Pu_.js +61343 -0
  284. package/dist/assets/{core-6lPsS9S5.js → core-CH2Kku_3.js} +1 -1
  285. package/dist/assets/core-legacy-BVoFM47F.js +1857 -0
  286. package/dist/assets/core-legacy-De470jmW.js +20 -0
  287. package/dist/assets/{dataTable.store-u9fGWest.js → dataTable.store-DIXUyEMT.js} +2 -2
  288. package/dist/assets/dataTable.store-legacy-CmwyMqOI.js +199 -0
  289. package/dist/assets/{date-picker-CVSd-BRt.js → date-picker-CTXxgDjF.js} +3 -3
  290. package/dist/assets/date-picker-legacy-igcU0G4D.js +4508 -0
  291. package/dist/assets/{dateFormatter-BD73Za8B.js → dateFormatter-DICwd3T9.js} +1 -1
  292. package/dist/assets/dateFormatter-legacy-DQcBot5g.js +53 -0
  293. package/dist/assets/dateformat-legacy-Xt1X-tys.js +161 -0
  294. package/dist/assets/{dialog-BMoy5MDa.js → dialog-B4B-qXLz.js} +4 -4
  295. package/dist/assets/dialog-legacy-CqQ_Lwls.js +518 -0
  296. package/dist/assets/{dist-CWw8iddm.js → dist-D33xoYUY.js} +1 -1
  297. package/dist/assets/dist-legacy-8f5owWm6.js +204 -0
  298. package/dist/assets/{empty-BuGRxzl4.js → empty-RTEMfF4N.js} +1 -1
  299. package/dist/assets/empty-legacy-DnVUoqbC.js +2409 -0
  300. package/dist/assets/en-legacy-Bgme8Vbm.js +98 -0
  301. package/dist/assets/en-legacy-BwVJMmMW.js +16 -0
  302. package/dist/assets/{es-BazDU8Wd.js → es-Cjns9o4Y.js} +1 -1
  303. package/dist/assets/es-legacy-8dRs2C3P.js +16006 -0
  304. package/dist/assets/{evaluation.constants-CIiAC2dT.js → evaluation.constants-CCdKPNue.js} +3 -3
  305. package/dist/assets/evaluation.constants-legacy-Cb1ghpxc.js +363 -0
  306. package/dist/assets/{executions.store-IU9p1s46.js → executions.store-CLBytlL8.js} +1 -1
  307. package/dist/assets/executions.store-legacy-b_Dcfsqp.js +246 -0
  308. package/dist/assets/exports-legacy-RTRnyI4R.js +3103 -0
  309. package/dist/assets/{externalSecrets.ee.store-1z63wMHN.js → externalSecrets.ee.store-DSLmsq-8.js} +2 -2
  310. package/dist/assets/externalSecrets.ee.store-legacy-DaQgDltD.js +145 -0
  311. package/dist/assets/{focusPanel.store-BJpwjMIG.js → focusPanel.store-DX5ouusK.js} +4 -4
  312. package/dist/assets/focusPanel.store-legacy-DwBTeIg0.js +264 -0
  313. package/dist/assets/{folders.store-Db975T-w.js → folders.store-ReN2UdkF.js} +2 -2
  314. package/dist/assets/folders.store-legacy-DpbE1pFn.js +267 -0
  315. package/dist/assets/{icon-DhADuA9N.js → icon-OKik-N-d.js} +1 -1
  316. package/dist/assets/icon-legacy-CdX_ytdJ.js +458 -0
  317. package/dist/assets/{index-C8erHZ_Y.css → index-4I6DPmNr.css} +1 -1
  318. package/dist/assets/{index-C25i7qsE.js → index-BN-GABJS.js} +184 -1622
  319. package/dist/assets/index-legacy-Bah3XJ83.js +28424 -0
  320. package/dist/assets/insights.constants-legacy-D5Y8YhR_.js +64 -0
  321. package/dist/assets/{insights.store-DC_enAA-.js → insights.store-Bb-LzcON.js} +4 -4
  322. package/dist/assets/insights.store-legacy-CVTSLRio.js +89 -0
  323. package/dist/assets/{insights.utils-ClJRVRAK.js → insights.utils-CxISkct3.js} +8 -8
  324. package/dist/assets/insights.utils-legacy-Cmg92kBM.js +96 -0
  325. package/dist/assets/isEmpty-legacy-MFqoebb1.js +43393 -0
  326. package/dist/assets/{isEmpty-DrZRN4lR.js → isEmpty-wmU6JYi-.js} +30 -31
  327. package/dist/assets/{languageModules-CNluY7w0.js → languageModules-BF7Ga1Pj.js} +1 -1
  328. package/dist/assets/languageModules-legacy-BaU1eOK3.js +7184 -0
  329. package/dist/assets/{logStreaming.store-CPvxjcQB.js → logStreaming.store-Fc_T_-nj.js} +1 -1
  330. package/dist/assets/logStreaming.store-legacy-DWvVitNv.js +209 -0
  331. package/dist/assets/mcp.constants-BCNosk1p.js +5 -0
  332. package/dist/assets/mcp.constants-legacy-CZfk8DW2.js +18 -0
  333. package/dist/assets/{mcp.store-YGfe2oZU.js → mcp.store-C8IcP4Ke.js} +23 -3
  334. package/dist/assets/mcp.store-legacy-DdS8xt5B.js +125 -0
  335. package/dist/assets/{merge-CKEa8BM2.js → merge-B2-guEpy.js} +1 -1
  336. package/dist/assets/merge-legacy-qdjRv-L4.js +1529 -0
  337. package/dist/assets/{nodeCreator.store-DHz0Nc1Y.js → nodeCreator.store-D147rfwl.js} +8 -8
  338. package/dist/assets/nodeCreator.store-legacy-DTmylsCF.js +4758 -0
  339. package/dist/assets/{nodeIcon-ry_JIpAT.js → nodeIcon-C5u0jQvj.js} +2 -2
  340. package/dist/assets/nodeIcon-legacy-BV5Z8WOV.js +122 -0
  341. package/dist/assets/{nodeTransforms-PeZUYiCs.js → nodeTransforms-DUsdQQqR.js} +2 -2
  342. package/dist/assets/nodeTransforms-legacy-CuPizwtt.js +86 -0
  343. package/dist/assets/{npsSurvey.store-BTpA4Bdf.js → npsSurvey.store-afUgQwnO.js} +2 -2
  344. package/dist/assets/npsSurvey.store-legacy-BbzLkX9z.js +123 -0
  345. package/dist/assets/{orderBy-CMVxNao4.js → orderBy-HPnqXwF2.js} +2 -2
  346. package/dist/assets/orderBy-legacy-soMIYLFU.js +63 -0
  347. package/dist/assets/{overlay-B8MMvNgs.js → overlay-DZyfhUVh.js} +2 -2
  348. package/dist/assets/overlay-legacy-CIUzKIyX.js +218 -0
  349. package/dist/assets/{path-browserify-DsmB_HMK.js → path-browserify-CTmc1OxV.js} +1 -1
  350. package/dist/assets/path-browserify-legacy-DJbEMZcd.js +328 -0
  351. package/dist/assets/{personalizedTemplatesV3.store-C0D2WZuq.js → personalizedTemplatesV3.store-01UVhq2y.js} +4 -4
  352. package/dist/assets/personalizedTemplatesV3.store-legacy-ZhQVYOUB.js +313 -0
  353. package/dist/assets/{pickBy-DWZbVA0W.js → pickBy-CknAbwMC.js} +2 -2
  354. package/dist/assets/pickBy-legacy-BBHSGJRx.js +59 -0
  355. package/dist/assets/polyfills-legacy-B4O_IIb-.js +4836 -0
  356. package/dist/assets/preload-helper-legacy-CXRjoQ0T.js +73 -0
  357. package/dist/assets/{radio-5XOrKEP7.js → radio-CYQWX3C9.js} +3 -3
  358. package/dist/assets/radio-legacy-cLdtGPV3.js +323 -0
  359. package/dist/assets/{readyToRunWorkflows.store-C23cIyhu.js → readyToRunWorkflows.store-B8_GmfI4.js} +5 -5
  360. package/dist/assets/readyToRunWorkflows.store-legacy-aejFCZX5.js +2086 -0
  361. package/dist/assets/{readyToRunWorkflowsV2.store-BxZUJyXQ.js → readyToRunWorkflowsV2.store-CuI-qJ95.js} +7 -7
  362. package/dist/assets/readyToRunWorkflowsV2.store-legacy-B_dd69MT.js +549 -0
  363. package/dist/assets/retry-legacy-CkXCWkMV.js +48 -0
  364. package/dist/assets/{roles.store-Bk6Eo7y8.js → roles.store-XKf-4ViI.js} +2 -2
  365. package/dist/assets/roles.store-legacy-Kp040fXj.js +67 -0
  366. package/dist/assets/{router-D4zIcC5W.js → router-D93aC8Os.js} +93 -84
  367. package/dist/assets/router-legacy-FVND-nAr.js +1705 -0
  368. package/dist/assets/{sanitize-html-BuXr7o4T.js → sanitize-html-Cfxibw1n.js} +2 -2
  369. package/dist/assets/sanitize-html-legacy-DfOUEbdf.js +9987 -0
  370. package/dist/assets/{schemaPreview.store-BVhugjbw.js → schemaPreview.store-CpV1sUpD.js} +2 -2
  371. package/dist/assets/schemaPreview.store-legacy-CVGvdvdr.js +153 -0
  372. package/dist/assets/{semver-lN9oCZPq.js → semver-Did-vdFS.js} +2 -2
  373. package/dist/assets/semver-legacy-Bddl7qjT.js +1499 -0
  374. package/dist/assets/smartDecimal-legacy-BeOdMR2z.js +19 -0
  375. package/dist/assets/sortByProperty-legacy-CgPLoqtk.js +21 -0
  376. package/dist/assets/{sourceControl.eventBus-BkPwCZw_.js → sourceControl.eventBus-N8j1xdTf.js} +1 -1
  377. package/dist/assets/sourceControl.eventBus-legacy-eIVV95jW.js +17 -0
  378. package/dist/assets/{src-D6S9Khji.js → src-FybnR12q.js} +648 -600
  379. package/dist/assets/src-legacy-CpFWWEWr.js +64208 -0
  380. package/dist/assets/{sso.store-qzj82Xj4.js → sso.store-BBQEezoi.js} +1 -1
  381. package/dist/assets/sso.store-legacy-BAxqS36V.js +185 -0
  382. package/dist/assets/{table-s-zqHExs.js → table-B__ElSXJ.js} +3 -3
  383. package/dist/assets/table-legacy-BfKy4v-Q.js +4957 -0
  384. package/dist/assets/{templateActions-BeIpzgaa.js → templateActions-DgyOHFG1.js} +4 -4
  385. package/dist/assets/templateActions-legacy-P4q_vvOZ.js +134 -0
  386. package/dist/assets/{templateTransforms-Cgy40V1P.js → templateTransforms-BcdsUZmX.js} +1 -1
  387. package/dist/assets/templateTransforms-legacy-Cam0KIvq.js +84 -0
  388. package/dist/assets/{templates.store-COjIpQaS.js → templates.store-BFnRGJH7.js} +3 -3
  389. package/dist/assets/templates.store-legacy-ofk_8E3C.js +459 -0
  390. package/dist/assets/truncate-legacy-B1qmzcuB.js +5763 -0
  391. package/dist/assets/{truncate-DGRsht-H.js → truncate-mIB0DVrK.js} +1 -1
  392. package/dist/assets/{uniqBy-BUNHbbw3.js → uniqBy-BruAENgo.js} +1 -1
  393. package/dist/assets/uniqBy-legacy-Zm0uD9jw.js +52 -0
  394. package/dist/assets/{usage.store-EBmhHKPv.js → usage.store-l7Do-93n.js} +1 -1
  395. package/dist/assets/usage.store-legacy-DQDWAXO_.js +126 -0
  396. package/dist/assets/{useActions-CqdsN2GH.js → useActions-CrswNkaq.js} +5 -5
  397. package/dist/assets/useActions-legacy-CbWvUxft.js +330 -0
  398. package/dist/assets/{useAgent-BHJHCfap.js → useAgent-C-QepMEq.js} +1 -1
  399. package/dist/assets/useAgent-legacy-USOKw7So.js +28 -0
  400. package/dist/assets/{useBeforeUnload-BPhnlPrH.js → useBeforeUnload-Wtg7mRCZ.js} +3 -3
  401. package/dist/assets/useBeforeUnload-legacy-uZWtAsqr.js +69 -0
  402. package/dist/assets/{useBugReporting-oDEHgPM1.js → useBugReporting-9AU3y7Z8.js} +9 -9
  403. package/dist/assets/useBugReporting-legacy-0ADndwuR.js +383 -0
  404. package/dist/assets/{useCanvasMapping-DWlYBxgN.js → useCanvasMapping-C7uzjCWC.js} +19 -19
  405. package/dist/assets/useCanvasMapping-legacy-BUdFWQtI.js +14179 -0
  406. package/dist/assets/{useCanvasOperations-CFsSFVcO.js → useCanvasOperations-DzLHi0LA.js} +13 -13
  407. package/dist/assets/useCanvasOperations-legacy-CuiWyxvs.js +1992 -0
  408. package/dist/assets/{useChatCredentials-CMV_NA0l.js → useChatCredentials-CXFcbFXx.js} +24 -12
  409. package/dist/assets/useChatCredentials-legacy-BMZumVNM.js +717 -0
  410. package/dist/assets/useChatHubSidebarState-legacy-BWvNeC2H.js +733 -0
  411. package/dist/assets/{useChatHubSidebarState-CM9tokIj.js → useChatHubSidebarState-rgjEM3H6.js} +14 -7
  412. package/dist/assets/{useClipboard-fRnZpGbX.js → useClipboard-CfXsW13v.js} +2 -2
  413. package/dist/assets/useClipboard-legacy-C5rVUk4S.js +78 -0
  414. package/dist/assets/{useCommandBar-_c6cO-zw.js → useCommandBar-C1qIX-PQ.js} +29 -25
  415. package/dist/assets/useCommandBar-legacy-RBZZ3P2i.js +2100 -0
  416. package/dist/assets/{useDebounce-BgcdaJ78.js → useDebounce-CETVIuiZ.js} +2 -2
  417. package/dist/assets/useDebounce-legacy-G9H-ixfO.js +326 -0
  418. package/dist/assets/{useExecutionData-Bk540rxU.js → useExecutionData-BVzhcmq6.js} +1 -1
  419. package/dist/assets/useExecutionData-legacy-BGiu76RX.js +42 -0
  420. package/dist/assets/{useExecutionDebugging-BNrxsZTN.js → useExecutionDebugging-Cx7SuR0i.js} +7 -7
  421. package/dist/assets/useExecutionDebugging-legacy-jpoCoaFv.js +152 -0
  422. package/dist/assets/{useExecutionHelpers-DrFWi6u7.js → useExecutionHelpers--Vys-PWr.js} +5 -5
  423. package/dist/assets/useExecutionHelpers-legacy-CE3q6ePz.js +120 -0
  424. package/dist/assets/useExternalHooks-legacy-CtWM2ToU.js +53 -0
  425. package/dist/assets/{useExternalHooks-SxBXYVNW.js → useExternalHooks-q8smeo6K.js} +1 -1
  426. package/dist/assets/{useImportCurlCommand-obipPNWg.js → useImportCurlCommand-BLpnR8N2.js} +11 -11
  427. package/dist/assets/useImportCurlCommand-legacy-DCbH-i63.js +8269 -0
  428. package/dist/assets/useIntersectionObserver-legacy-CQWXa295.js +69 -0
  429. package/dist/assets/{useKeybindings-DlmwtVDN.js → useKeybindings-CDJKqPsl.js} +4 -4
  430. package/dist/assets/useKeybindings-legacy-B9KbjAsp.js +118 -0
  431. package/dist/assets/{useLogsTreeExpand-gKLCILZL.js → useLogsTreeExpand-BdGrNW1V.js} +11 -11
  432. package/dist/assets/useLogsTreeExpand-legacy-DXkemvCE.js +1039 -0
  433. package/dist/assets/{useMcp-_gyuyL1x.js → useMcp-CZmhzw91.js} +3 -7
  434. package/dist/assets/useMcp-legacy-DvW-r8YQ.js +46 -0
  435. package/dist/assets/{useMessage-Ceo97RRX.js → useMessage-Dtn5nLnt.js} +5 -5
  436. package/dist/assets/useMessage-legacy-DST2kUuY.js +683 -0
  437. package/dist/assets/{usePageRedirectionHelper-C_ctyI4O.js → usePageRedirectionHelper-50R23u-V.js} +4 -4
  438. package/dist/assets/usePageRedirectionHelper-legacy-C-71VW-Y.js +95 -0
  439. package/dist/assets/{usePinnedData-Csij2qN3.js → usePinnedData-DixE-21D.js} +5 -5
  440. package/dist/assets/usePinnedData-legacy-BsjuUA_c.js +283 -0
  441. package/dist/assets/{usePushConnection-XZibrqm8.js → usePushConnection-C_hAm9wG.js} +11 -11
  442. package/dist/assets/usePushConnection-legacy-CXZhl2wR.js +763 -0
  443. package/dist/assets/{useRecentResources-FhIOba0w.js → useRecentResources-CKX-UtMk.js} +7 -7
  444. package/dist/assets/useRecentResources-legacy-BXsoflsL.js +159 -0
  445. package/dist/assets/{useRunWorkflow-_-_hUnHE.js → useRunWorkflow-C9HukKMl.js} +9 -9
  446. package/dist/assets/useRunWorkflow-legacy-C7-J9SJI.js +1136 -0
  447. package/dist/assets/{useTelemetry-EOV0Llso.js → useTelemetry-CWnh4Zlh.js} +89 -54
  448. package/dist/assets/useTelemetry-legacy-BDIroahM.js +31004 -0
  449. package/dist/assets/{useTelemetryContext-CSMUQPEW.js → useTelemetryContext-PE8JU_Iv.js} +1 -1
  450. package/dist/assets/useTelemetryContext-legacy-E2rB8GXt.js +81 -0
  451. package/dist/assets/{useToast-BlMNYwds.js → useToast-BxclFB6W.js} +6 -6
  452. package/dist/assets/useToast-legacy-B7FuM_6n.js +610 -0
  453. package/dist/assets/{useWorkflowActivate-OfPMIBJ5.js → useWorkflowActivate-Cmog1_-j.js} +8 -8
  454. package/dist/assets/useWorkflowActivate-legacy-5SOzZU7C.js +125 -0
  455. package/dist/assets/{useWorkflowSaving-CWyt929n.js → useWorkflowSaving-DSJgdRoP.js} +9 -9
  456. package/dist/assets/useWorkflowSaving-legacy-C5sOlXzQ.js +328 -0
  457. package/dist/assets/{useWorkflowsCache-BSXTJC8C.js → useWorkflowsCache-DKCw8FH2.js} +1 -1
  458. package/dist/assets/useWorkflowsCache-legacy-1OAIoSYM.js +217 -0
  459. package/dist/assets/{versions.store-Dx98n6R_.js → versions.store-Dh42EsAx.js} +3 -3
  460. package/dist/assets/versions.store-legacy-DeA4olF0.js +244 -0
  461. package/dist/assets/vue-json-pretty-BAtqAAV1.js +1130 -0
  462. package/dist/assets/vue-json-pretty-legacy-Dk5EQofb.js +1282 -0
  463. package/dist/assets/vue-legacy-Cj7LJTPA.js +4579 -0
  464. package/dist/assets/vue.runtime.esm-bundler-legacy-Bq05oSFs.js +8050 -0
  465. package/dist/assets/xml-legacy-Cyrxa7r6.js +1245 -0
  466. package/dist/index.html +107 -103
  467. package/dist/static/openChat.png +0 -0
  468. package/package.json +1 -1
  469. package/vite.config.mts +0 -2
  470. package/dist/assets/CollectionParameter-CizL_Xml.js +0 -58
  471. package/dist/assets/DemoFooter-D8E8sLCS.js +0 -71
  472. package/dist/assets/LogsPanel-sLas9qHQ.js +0 -58
  473. package/dist/assets/RunDataHtml-X9lzUZaX.js +0 -7
  474. package/dist/assets/RunDataParsedAiContent-DBP5JHe4.js +0 -25
  475. package/dist/assets/SettingsMCPView-BBO_ZyBU.css +0 -552
  476. package/dist/assets/SettingsMCPView-Chjl8-hw.js +0 -584
  477. package/dist/assets/SettingsProvisioningView-BFUB6c2Z.js +0 -252
  478. package/dist/assets/VirtualSchema-5T21Yyqx.js +0 -43
  479. package/dist/assets/vue-json-pretty-BltKoWq2.js +0 -681
  480. /package/dist/assets/{AnimatedSpinner-Dd4F9nQ8.js → AnimatedSpinner-4ie3BOLv.js} +0 -0
  481. /package/dist/assets/{PageViewLayout-Ccqeja5V.js → PageViewLayout-kj_BBPfv.js} +0 -0
  482. /package/dist/assets/{buttons.esm-Euf82NbC.js → buttons.esm-CT4flsfB.js} +0 -0
  483. /package/dist/assets/{chart-BI8B7UPV.js → chart-CE3HWIkr.js} +0 -0
  484. /package/dist/assets/{constants-CPQyU8WO.js → constants-9ReQTHaF.js} +0 -0
  485. /package/dist/assets/{core-CIkXL_1D.js → core-CzunNfUb.js} +0 -0
  486. /package/dist/assets/{insights.constants-NogjFJ3a.js → insights.constants-DK2g3nnD.js} +0 -0
  487. /package/dist/assets/{smartDecimal-5rgLDM96.js → smartDecimal-e9uPsnJa.js} +0 -0
  488. /package/dist/assets/{sortByProperty-0UtqPmvJ.js → sortByProperty-CUhVU03p.js} +0 -0
  489. /package/dist/assets/{useIntersectionObserver-BkAtQAzK.js → useIntersectionObserver-C8Bz3yon.js} +0 -0
  490. /package/dist/assets/{vue-LyXhKoPx.js → vue-RAk0R0Jn.js} +0 -0
  491. /package/dist/assets/{xml-F7krcG3E.js → xml-B_gYdkaU.js} +0 -0
@@ -0,0 +1,4508 @@
1
+ ;
2
+ (function () {
3
+ System.register(["./chunk-legacy-Re9CbdfL.js", "./vue.runtime.esm-bundler-legacy-Bq05oSFs.js", "./src-legacy-CpFWWEWr.js", "./truncate-legacy-B1qmzcuB.js", "./icon-legacy-CdX_ytdJ.js"], function (_export, _context) {
4
+ "use strict";
5
+
6
+ var __toESM, __commonJS, computed, createElementBlock, createCommentVNode, getCurrentInstance, nextTick, unref, ref, createVNode, defineComponent, reactive, toDisplayString, createBlock, toRef, mergeProps, onMounted, Fragment, normalizeClass, watch, isFunction, renderSlot, withCtx, resolveDynamicComponent, openBlock, withModifiers, isDate, renderList, createTextVNode, withKeys, Transition, isArray, provide, vShow, useSlots, init_shared_esm_bundler, useAttrs, createBaseVNode, withDirectives, normalizeStyle, inject, ElTooltip, vRepeatClick, TOOLTIP_INJECTION_KEY, ClickOutside, ElButton, ElInput, ElScrollbar, useFormItem, flatten_default, datePickTypes, useFormSize, debounce_default, isEqual_default, useLocale, definePropType, isEmpty, buildProps, getStyle, useSizeProp, onClickOutside, debugWarn, isUndefined, useNamespace, hasClass, d_arrow_right_default, calendar_default, arrow_up_default, arrow_right_default, arrow_left_default, _export_sfc, arrow_down_default, EVENT_CODE, ElIcon, circle_close_default, d_arrow_left_default, clock_default, castArray, require_dayjs_min, require_customParseFormat, timeUnits, DEFAULT_FORMATS_TIME, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, import_dayjs_min$10, buildTimeList, rangeArr, extractDateFormat, extractTimeFormat, dateEquals, valueEquals, parseDate, formatter, makeList, disabledTimeListsProps, timePanelSharedProps, timePickerDefaultProps, _hoisted_1$7, _hoisted_2$7, CommonPicker, panelTimePickerProps, useTimePanel, makeAvailableArr, getTimeLists, buildAvailableTimeSlotGetter, useOldValue, basicTimeSpinnerProps, _hoisted_1$6, _hoisted_2$6, TimeSpinner, import_dayjs_min$9, TimePickPanel, require_localeData, require_advancedFormat, require_weekOfYear, require_weekYear, require_dayOfYear, require_isSameOrAfter, require_isSameOrBefore, ROOT_PICKER_INJECTION_KEY, datePickerProps, selectionModes, datePickerSharedProps, panelSharedProps, panelRangeSharedProps, selectionModeWithDefault, panelDatePickProps, basicDateTableProps, basicDateTableEmits, import_dayjs_min$8, isValidRange, getDefaultValue, buildPickerTable, import_dayjs_min$7, isNormalDay, useBasicDateTable, useBasicDateTableDOM, basicCellProps, ElDatePickerCell, _hoisted_1$5, _hoisted_2$5, _hoisted_3$5, _hoisted_4$3, DateTable, basicMonthTableProps, import_dayjs_min$6, _hoisted_1$4, _hoisted_2$4, _hoisted_3$4, MonthTable, date, disabledDate, parsedValue, basicYearTableProps, import_dayjs_min$5, _hoisted_1$3, _hoisted_2$3, _hoisted_3$3, _hoisted_4$2, YearTable, import_dayjs_min$4, _hoisted_1$2, _hoisted_2$2, _hoisted_3$2, _hoisted_4$1, _hoisted_5$1, DatePickPanel, panelDateRangeProps, import_dayjs_min$3, useShortcut, useRangePicker, import_dayjs_min$2, _hoisted_1$1, _hoisted_2$1, _hoisted_3$1, _hoisted_4, _hoisted_5, _hoisted_6, _hoisted_7, _hoisted_8, _hoisted_9, unit$1, DateRangePickPanel, panelMonthRangeProps, panelMonthRangeEmits, useMonthRangeHeader, import_dayjs_min$1, _hoisted_1, _hoisted_2, _hoisted_3, unit, MonthRangePickPanel, getPanel, import_dayjs_min, import_customParseFormat, import_advancedFormat, import_localeData, import_weekOfYear, import_weekYear, import_dayOfYear, import_isSameOrAfter, import_isSameOrBefore, DatePicker, _DatePicker, ElDatePicker;
7
+ return {
8
+ setters: [function (_chunkLegacy001Js) {
9
+ __toESM = _chunkLegacy001Js.o;
10
+ __commonJS = _chunkLegacy001Js.t;
11
+ }, function (_vueRuntimeEsmBundlerLegacy003Js) {
12
+ computed = _vueRuntimeEsmBundlerLegacy003Js.C;
13
+ createElementBlock = _vueRuntimeEsmBundlerLegacy003Js.D;
14
+ createCommentVNode = _vueRuntimeEsmBundlerLegacy003Js.E;
15
+ getCurrentInstance = _vueRuntimeEsmBundlerLegacy003Js.F;
16
+ nextTick = _vueRuntimeEsmBundlerLegacy003Js.G;
17
+ unref = _vueRuntimeEsmBundlerLegacy003Js.Gt;
18
+ ref = _vueRuntimeEsmBundlerLegacy003Js.It;
19
+ createVNode = _vueRuntimeEsmBundlerLegacy003Js.M;
20
+ defineComponent = _vueRuntimeEsmBundlerLegacy003Js.P;
21
+ reactive = _vueRuntimeEsmBundlerLegacy003Js.Pt;
22
+ toDisplayString = _vueRuntimeEsmBundlerLegacy003Js.Sn;
23
+ createBlock = _vueRuntimeEsmBundlerLegacy003Js.T;
24
+ toRef = _vueRuntimeEsmBundlerLegacy003Js.Vt;
25
+ mergeProps = _vueRuntimeEsmBundlerLegacy003Js.W;
26
+ onMounted = _vueRuntimeEsmBundlerLegacy003Js.Z;
27
+ Fragment = _vueRuntimeEsmBundlerLegacy003Js._;
28
+ normalizeClass = _vueRuntimeEsmBundlerLegacy003Js._n;
29
+ watch = _vueRuntimeEsmBundlerLegacy003Js._t;
30
+ isFunction = _vueRuntimeEsmBundlerLegacy003Js.an;
31
+ renderSlot = _vueRuntimeEsmBundlerLegacy003Js.at;
32
+ withCtx = _vueRuntimeEsmBundlerLegacy003Js.bt;
33
+ resolveDynamicComponent = _vueRuntimeEsmBundlerLegacy003Js.ct;
34
+ openBlock = _vueRuntimeEsmBundlerLegacy003Js.et;
35
+ withModifiers = _vueRuntimeEsmBundlerLegacy003Js.h;
36
+ isDate = _vueRuntimeEsmBundlerLegacy003Js.in;
37
+ renderList = _vueRuntimeEsmBundlerLegacy003Js.it;
38
+ createTextVNode = _vueRuntimeEsmBundlerLegacy003Js.j;
39
+ withKeys = _vueRuntimeEsmBundlerLegacy003Js.m;
40
+ Transition = _vueRuntimeEsmBundlerLegacy003Js.n;
41
+ isArray = _vueRuntimeEsmBundlerLegacy003Js.nn;
42
+ provide = _vueRuntimeEsmBundlerLegacy003Js.nt;
43
+ vShow = _vueRuntimeEsmBundlerLegacy003Js.p;
44
+ useSlots = _vueRuntimeEsmBundlerLegacy003Js.pt;
45
+ init_shared_esm_bundler = _vueRuntimeEsmBundlerLegacy003Js.tn;
46
+ useAttrs = _vueRuntimeEsmBundlerLegacy003Js.ut;
47
+ createBaseVNode = _vueRuntimeEsmBundlerLegacy003Js.w;
48
+ withDirectives = _vueRuntimeEsmBundlerLegacy003Js.xt;
49
+ normalizeStyle = _vueRuntimeEsmBundlerLegacy003Js.yn;
50
+ inject = _vueRuntimeEsmBundlerLegacy003Js.z;
51
+ }, function (_srcLegacy007Js) {
52
+ ElTooltip = _srcLegacy007Js.Gt;
53
+ vRepeatClick = _srcLegacy007Js.Ht;
54
+ TOOLTIP_INJECTION_KEY = _srcLegacy007Js.Kt;
55
+ ClickOutside = _srcLegacy007Js.Ut;
56
+ ElButton = _srcLegacy007Js.Wt;
57
+ ElInput = _srcLegacy007Js.Xt;
58
+ ElScrollbar = _srcLegacy007Js.Yt;
59
+ useFormItem = _srcLegacy007Js.Zt;
60
+ flatten_default = _srcLegacy007Js.bn;
61
+ datePickTypes = _srcLegacy007Js.dn;
62
+ useFormSize = _srcLegacy007Js.en;
63
+ debounce_default = _srcLegacy007Js.gn;
64
+ isEqual_default = _srcLegacy007Js.hn;
65
+ }, function (_truncateLegacy00hJs) {
66
+ useLocale = _truncateLegacy00hJs.A;
67
+ definePropType = _truncateLegacy00hJs.F;
68
+ isEmpty = _truncateLegacy00hJs.J;
69
+ buildProps = _truncateLegacy00hJs.P;
70
+ getStyle = _truncateLegacy00hJs.R;
71
+ useSizeProp = _truncateLegacy00hJs.T;
72
+ onClickOutside = _truncateLegacy00hJs.Tt;
73
+ debugWarn = _truncateLegacy00hJs.V;
74
+ isUndefined = _truncateLegacy00hJs.X;
75
+ useNamespace = _truncateLegacy00hJs.k;
76
+ hasClass = _truncateLegacy00hJs.z;
77
+ }, function (_iconLegacy00lJs) {
78
+ d_arrow_right_default = _iconLegacy00lJs.S;
79
+ calendar_default = _iconLegacy00lJs._;
80
+ arrow_up_default = _iconLegacy00lJs.g;
81
+ arrow_right_default = _iconLegacy00lJs.h;
82
+ arrow_left_default = _iconLegacy00lJs.m;
83
+ _export_sfc = _iconLegacy00lJs.n;
84
+ arrow_down_default = _iconLegacy00lJs.p;
85
+ EVENT_CODE = _iconLegacy00lJs.r;
86
+ ElIcon = _iconLegacy00lJs.t;
87
+ circle_close_default = _iconLegacy00lJs.v;
88
+ d_arrow_left_default = _iconLegacy00lJs.x;
89
+ clock_default = _iconLegacy00lJs.y;
90
+ }],
91
+ execute: function () {
92
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/utils/arrays.mjs
93
+ castArray = arr => {
94
+ if (!arr && arr !== 0) return [];
95
+ return Array.isArray(arr) ? arr : [arr];
96
+ }; //#endregion
97
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/dayjs.min.js
98
+ require_dayjs_min = /* @__PURE__ */__commonJS({
99
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/dayjs.min.js": (exports, module) => {
100
+ (function (t, e) {
101
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
102
+ })(exports, function () {
103
+ var t = 1e3,
104
+ e = 6e4,
105
+ n = 36e5,
106
+ r = "millisecond",
107
+ i = "second",
108
+ s = "minute",
109
+ u = "hour",
110
+ a = "day",
111
+ o = "week",
112
+ c = "month",
113
+ f = "quarter",
114
+ h = "year",
115
+ d = "date",
116
+ l = "Invalid Date",
117
+ $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
118
+ y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
119
+ M = {
120
+ name: "en",
121
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
122
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
123
+ ordinal: function (t$1) {
124
+ var e$1 = ["th", "st", "nd", "rd"],
125
+ n$1 = t$1 % 100;
126
+ return "[" + t$1 + (e$1[(n$1 - 20) % 10] || e$1[n$1] || e$1[0]) + "]";
127
+ }
128
+ },
129
+ m = function (t$1, e$1, n$1) {
130
+ var r$1 = String(t$1);
131
+ return !r$1 || r$1.length >= e$1 ? t$1 : "" + Array(e$1 + 1 - r$1.length).join(n$1) + t$1;
132
+ },
133
+ v = {
134
+ s: m,
135
+ z: function (t$1) {
136
+ var e$1 = -t$1.utcOffset(),
137
+ n$1 = Math.abs(e$1),
138
+ r$1 = Math.floor(n$1 / 60),
139
+ i$1 = n$1 % 60;
140
+ return (e$1 <= 0 ? "+" : "-") + m(r$1, 2, "0") + ":" + m(i$1, 2, "0");
141
+ },
142
+ m: function t$1(e$1, n$1) {
143
+ if (e$1.date() < n$1.date()) return -t$1(n$1, e$1);
144
+ var r$1 = 12 * (n$1.year() - e$1.year()) + (n$1.month() - e$1.month()),
145
+ i$1 = e$1.clone().add(r$1, c),
146
+ s$1 = n$1 - i$1 < 0,
147
+ u$1 = e$1.clone().add(r$1 + (s$1 ? -1 : 1), c);
148
+ return +(-(r$1 + (n$1 - i$1) / (s$1 ? i$1 - u$1 : u$1 - i$1)) || 0);
149
+ },
150
+ a: function (t$1) {
151
+ return t$1 < 0 ? Math.ceil(t$1) || 0 : Math.floor(t$1);
152
+ },
153
+ p: function (t$1) {
154
+ return {
155
+ M: c,
156
+ y: h,
157
+ w: o,
158
+ d: a,
159
+ D: d,
160
+ h: u,
161
+ m: s,
162
+ s: i,
163
+ ms: r,
164
+ Q: f
165
+ }[t$1] || String(t$1 || "").toLowerCase().replace(/s$/, "");
166
+ },
167
+ u: function (t$1) {
168
+ return void 0 === t$1;
169
+ }
170
+ },
171
+ g = "en",
172
+ D = {};
173
+ D[g] = M;
174
+ var p = "$isDayjsObject",
175
+ S = function (t$1) {
176
+ return t$1 instanceof _ || !(!t$1 || !t$1[p]);
177
+ },
178
+ w = function t$1(e$1, n$1, r$1) {
179
+ var i$1;
180
+ if (!e$1) return g;
181
+ if ("string" == typeof e$1) {
182
+ var s$1 = e$1.toLowerCase();
183
+ D[s$1] && (i$1 = s$1), n$1 && (D[s$1] = n$1, i$1 = s$1);
184
+ var u$1 = e$1.split("-");
185
+ if (!i$1 && u$1.length > 1) return t$1(u$1[0]);
186
+ } else {
187
+ var a$1 = e$1.name;
188
+ D[a$1] = e$1, i$1 = a$1;
189
+ }
190
+ return !r$1 && i$1 && (g = i$1), i$1 || !r$1 && g;
191
+ },
192
+ O = function (t$1, e$1) {
193
+ if (S(t$1)) return t$1.clone();
194
+ var n$1 = "object" == typeof e$1 ? e$1 : {};
195
+ return n$1.date = t$1, n$1.args = arguments, new _(n$1);
196
+ },
197
+ b = v;
198
+ b.l = w, b.i = S, b.w = function (t$1, e$1) {
199
+ return O(t$1, {
200
+ locale: e$1.$L,
201
+ utc: e$1.$u,
202
+ x: e$1.$x,
203
+ $offset: e$1.$offset
204
+ });
205
+ };
206
+ var _ = function () {
207
+ function M$1(t$1) {
208
+ this.$L = w(t$1.locale, null, !0), this.parse(t$1), this.$x = this.$x || t$1.x || {}, this[p] = !0;
209
+ }
210
+ var m$1 = M$1.prototype;
211
+ return m$1.parse = function (t$1) {
212
+ this.$d = function (t$2) {
213
+ var e$1 = t$2.date,
214
+ n$1 = t$2.utc;
215
+ if (null === e$1) return /* @__PURE__ */new Date(NaN);
216
+ if (b.u(e$1)) return /* @__PURE__ */new Date();
217
+ if (e$1 instanceof Date) return new Date(e$1);
218
+ if ("string" == typeof e$1 && !/Z$/i.test(e$1)) {
219
+ var r$1 = e$1.match($);
220
+ if (r$1) {
221
+ var i$1 = r$1[2] - 1 || 0,
222
+ s$1 = (r$1[7] || "0").substring(0, 3);
223
+ return n$1 ? new Date(Date.UTC(r$1[1], i$1, r$1[3] || 1, r$1[4] || 0, r$1[5] || 0, r$1[6] || 0, s$1)) : new Date(r$1[1], i$1, r$1[3] || 1, r$1[4] || 0, r$1[5] || 0, r$1[6] || 0, s$1);
224
+ }
225
+ }
226
+ return new Date(e$1);
227
+ }(t$1), this.init();
228
+ }, m$1.init = function () {
229
+ var t$1 = this.$d;
230
+ this.$y = t$1.getFullYear(), this.$M = t$1.getMonth(), this.$D = t$1.getDate(), this.$W = t$1.getDay(), this.$H = t$1.getHours(), this.$m = t$1.getMinutes(), this.$s = t$1.getSeconds(), this.$ms = t$1.getMilliseconds();
231
+ }, m$1.$utils = function () {
232
+ return b;
233
+ }, m$1.isValid = function () {
234
+ return !(this.$d.toString() === l);
235
+ }, m$1.isSame = function (t$1, e$1) {
236
+ var n$1 = O(t$1);
237
+ return this.startOf(e$1) <= n$1 && n$1 <= this.endOf(e$1);
238
+ }, m$1.isAfter = function (t$1, e$1) {
239
+ return O(t$1) < this.startOf(e$1);
240
+ }, m$1.isBefore = function (t$1, e$1) {
241
+ return this.endOf(e$1) < O(t$1);
242
+ }, m$1.$g = function (t$1, e$1, n$1) {
243
+ return b.u(t$1) ? this[e$1] : this.set(n$1, t$1);
244
+ }, m$1.unix = function () {
245
+ return Math.floor(this.valueOf() / 1e3);
246
+ }, m$1.valueOf = function () {
247
+ return this.$d.getTime();
248
+ }, m$1.startOf = function (t$1, e$1) {
249
+ var n$1 = this,
250
+ r$1 = !!b.u(e$1) || e$1,
251
+ f$1 = b.p(t$1),
252
+ l$1 = function (t$2, e$2) {
253
+ var i$1 = b.w(n$1.$u ? Date.UTC(n$1.$y, e$2, t$2) : new Date(n$1.$y, e$2, t$2), n$1);
254
+ return r$1 ? i$1 : i$1.endOf(a);
255
+ },
256
+ $$1 = function (t$2, e$2) {
257
+ return b.w(n$1.toDate()[t$2].apply(n$1.toDate("s"), (r$1 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e$2)), n$1);
258
+ },
259
+ y$1 = this.$W,
260
+ M$2 = this.$M,
261
+ m$2 = this.$D,
262
+ v$1 = "set" + (this.$u ? "UTC" : "");
263
+ switch (f$1) {
264
+ case h:
265
+ return r$1 ? l$1(1, 0) : l$1(31, 11);
266
+ case c:
267
+ return r$1 ? l$1(1, M$2) : l$1(0, M$2 + 1);
268
+ case o:
269
+ var g$1 = this.$locale().weekStart || 0,
270
+ D$1 = (y$1 < g$1 ? y$1 + 7 : y$1) - g$1;
271
+ return l$1(r$1 ? m$2 - D$1 : m$2 + (6 - D$1), M$2);
272
+ case a:
273
+ case d:
274
+ return $$1(v$1 + "Hours", 0);
275
+ case u:
276
+ return $$1(v$1 + "Minutes", 1);
277
+ case s:
278
+ return $$1(v$1 + "Seconds", 2);
279
+ case i:
280
+ return $$1(v$1 + "Milliseconds", 3);
281
+ default:
282
+ return this.clone();
283
+ }
284
+ }, m$1.endOf = function (t$1) {
285
+ return this.startOf(t$1, !1);
286
+ }, m$1.$set = function (t$1, e$1) {
287
+ var n$1,
288
+ o$1 = b.p(t$1),
289
+ f$1 = "set" + (this.$u ? "UTC" : ""),
290
+ l$1 = (n$1 = {}, n$1[a] = f$1 + "Date", n$1[d] = f$1 + "Date", n$1[c] = f$1 + "Month", n$1[h] = f$1 + "FullYear", n$1[u] = f$1 + "Hours", n$1[s] = f$1 + "Minutes", n$1[i] = f$1 + "Seconds", n$1[r] = f$1 + "Milliseconds", n$1)[o$1],
291
+ $$1 = o$1 === a ? this.$D + (e$1 - this.$W) : e$1;
292
+ if (o$1 === c || o$1 === h) {
293
+ var y$1 = this.clone().set(d, 1);
294
+ y$1.$d[l$1]($$1), y$1.init(), this.$d = y$1.set(d, Math.min(this.$D, y$1.daysInMonth())).$d;
295
+ } else l$1 && this.$d[l$1]($$1);
296
+ return this.init(), this;
297
+ }, m$1.set = function (t$1, e$1) {
298
+ return this.clone().$set(t$1, e$1);
299
+ }, m$1.get = function (t$1) {
300
+ return this[b.p(t$1)]();
301
+ }, m$1.add = function (r$1, f$1) {
302
+ var d$1,
303
+ l$1 = this;
304
+ r$1 = Number(r$1);
305
+ var $$1 = b.p(f$1),
306
+ y$1 = function (t$1) {
307
+ var e$1 = O(l$1);
308
+ return b.w(e$1.date(e$1.date() + Math.round(t$1 * r$1)), l$1);
309
+ };
310
+ if ($$1 === c) return this.set(c, this.$M + r$1);
311
+ if ($$1 === h) return this.set(h, this.$y + r$1);
312
+ if ($$1 === a) return y$1(1);
313
+ if ($$1 === o) return y$1(7);
314
+ var M$2 = (d$1 = {}, d$1[s] = e, d$1[u] = n, d$1[i] = t, d$1)[$$1] || 1,
315
+ m$2 = this.$d.getTime() + r$1 * M$2;
316
+ return b.w(m$2, this);
317
+ }, m$1.subtract = function (t$1, e$1) {
318
+ return this.add(-1 * t$1, e$1);
319
+ }, m$1.format = function (t$1) {
320
+ var e$1 = this,
321
+ n$1 = this.$locale();
322
+ if (!this.isValid()) return n$1.invalidDate || l;
323
+ var r$1 = t$1 || "YYYY-MM-DDTHH:mm:ssZ",
324
+ i$1 = b.z(this),
325
+ s$1 = this.$H,
326
+ u$1 = this.$m,
327
+ a$1 = this.$M,
328
+ o$1 = n$1.weekdays,
329
+ c$1 = n$1.months,
330
+ f$1 = n$1.meridiem,
331
+ h$1 = function (t$2, n$2, i$2, s$2) {
332
+ return t$2 && (t$2[n$2] || t$2(e$1, r$1)) || i$2[n$2].slice(0, s$2);
333
+ },
334
+ d$1 = function (t$2) {
335
+ return b.s(s$1 % 12 || 12, t$2, "0");
336
+ },
337
+ $$1 = f$1 || function (t$2, e$2, n$2) {
338
+ var r$2 = t$2 < 12 ? "AM" : "PM";
339
+ return n$2 ? r$2.toLowerCase() : r$2;
340
+ };
341
+ return r$1.replace(y, function (t$2, r$2) {
342
+ return r$2 || function (t$3) {
343
+ switch (t$3) {
344
+ case "YY":
345
+ return String(e$1.$y).slice(-2);
346
+ case "YYYY":
347
+ return b.s(e$1.$y, 4, "0");
348
+ case "M":
349
+ return a$1 + 1;
350
+ case "MM":
351
+ return b.s(a$1 + 1, 2, "0");
352
+ case "MMM":
353
+ return h$1(n$1.monthsShort, a$1, c$1, 3);
354
+ case "MMMM":
355
+ return h$1(c$1, a$1);
356
+ case "D":
357
+ return e$1.$D;
358
+ case "DD":
359
+ return b.s(e$1.$D, 2, "0");
360
+ case "d":
361
+ return String(e$1.$W);
362
+ case "dd":
363
+ return h$1(n$1.weekdaysMin, e$1.$W, o$1, 2);
364
+ case "ddd":
365
+ return h$1(n$1.weekdaysShort, e$1.$W, o$1, 3);
366
+ case "dddd":
367
+ return o$1[e$1.$W];
368
+ case "H":
369
+ return String(s$1);
370
+ case "HH":
371
+ return b.s(s$1, 2, "0");
372
+ case "h":
373
+ return d$1(1);
374
+ case "hh":
375
+ return d$1(2);
376
+ case "a":
377
+ return $$1(s$1, u$1, !0);
378
+ case "A":
379
+ return $$1(s$1, u$1, !1);
380
+ case "m":
381
+ return String(u$1);
382
+ case "mm":
383
+ return b.s(u$1, 2, "0");
384
+ case "s":
385
+ return String(e$1.$s);
386
+ case "ss":
387
+ return b.s(e$1.$s, 2, "0");
388
+ case "SSS":
389
+ return b.s(e$1.$ms, 3, "0");
390
+ case "Z":
391
+ return i$1;
392
+ }
393
+ return null;
394
+ }(t$2) || i$1.replace(":", "");
395
+ });
396
+ }, m$1.utcOffset = function () {
397
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
398
+ }, m$1.diff = function (r$1, d$1, l$1) {
399
+ var $$1,
400
+ y$1 = this,
401
+ M$2 = b.p(d$1),
402
+ m$2 = O(r$1),
403
+ v$1 = (m$2.utcOffset() - this.utcOffset()) * e,
404
+ g$1 = this - m$2,
405
+ D$1 = function () {
406
+ return b.m(y$1, m$2);
407
+ };
408
+ switch (M$2) {
409
+ case h:
410
+ $$1 = D$1() / 12;
411
+ break;
412
+ case c:
413
+ $$1 = D$1();
414
+ break;
415
+ case f:
416
+ $$1 = D$1() / 3;
417
+ break;
418
+ case o:
419
+ $$1 = (g$1 - v$1) / 6048e5;
420
+ break;
421
+ case a:
422
+ $$1 = (g$1 - v$1) / 864e5;
423
+ break;
424
+ case u:
425
+ $$1 = g$1 / n;
426
+ break;
427
+ case s:
428
+ $$1 = g$1 / e;
429
+ break;
430
+ case i:
431
+ $$1 = g$1 / t;
432
+ break;
433
+ default:
434
+ $$1 = g$1;
435
+ }
436
+ return l$1 ? $$1 : b.a($$1);
437
+ }, m$1.daysInMonth = function () {
438
+ return this.endOf(c).$D;
439
+ }, m$1.$locale = function () {
440
+ return D[this.$L];
441
+ }, m$1.locale = function (t$1, e$1) {
442
+ if (!t$1) return this.$L;
443
+ var n$1 = this.clone(),
444
+ r$1 = w(t$1, e$1, !0);
445
+ return r$1 && (n$1.$L = r$1), n$1;
446
+ }, m$1.clone = function () {
447
+ return b.w(this.$d, this);
448
+ }, m$1.toDate = function () {
449
+ return new Date(this.valueOf());
450
+ }, m$1.toJSON = function () {
451
+ return this.isValid() ? this.toISOString() : null;
452
+ }, m$1.toISOString = function () {
453
+ return this.$d.toISOString();
454
+ }, m$1.toString = function () {
455
+ return this.$d.toUTCString();
456
+ }, M$1;
457
+ }(),
458
+ k = _.prototype;
459
+ return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t$1) {
460
+ k[t$1[1]] = function (e$1) {
461
+ return this.$g(e$1, t$1[0], t$1[1]);
462
+ };
463
+ }), O.extend = function (t$1, e$1) {
464
+ return t$1.$i || (t$1(e$1, _, O), t$1.$i = !0), O;
465
+ }, O.locale = w, O.isDayjs = S, O.unix = function (t$1) {
466
+ return O(1e3 * t$1);
467
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
468
+ });
469
+ }
470
+ }); //#endregion
471
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/customParseFormat.js
472
+ require_customParseFormat = /* @__PURE__ */__commonJS({
473
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/customParseFormat.js": (exports, module) => {
474
+ (function (e, t) {
475
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_customParseFormat = t();
476
+ })(exports, function () {
477
+ var e = {
478
+ LTS: "h:mm:ss A",
479
+ LT: "h:mm A",
480
+ L: "MM/DD/YYYY",
481
+ LL: "MMMM D, YYYY",
482
+ LLL: "MMMM D, YYYY h:mm A",
483
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
484
+ },
485
+ t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,
486
+ n = /\d\d/,
487
+ r = /\d\d?/,
488
+ i = /\d*[^-_:/,()\s\d]+/,
489
+ o = {},
490
+ s = function (e$1) {
491
+ return (e$1 = +e$1) + (e$1 > 68 ? 1900 : 2e3);
492
+ };
493
+ var a = function (e$1) {
494
+ return function (t$1) {
495
+ this[e$1] = +t$1;
496
+ };
497
+ },
498
+ f = [/[+-]\d\d:?(\d\d)?|Z/, function (e$1) {
499
+ (this.zone || (this.zone = {})).offset = function (e$2) {
500
+ if (!e$2) return 0;
501
+ if ("Z" === e$2) return 0;
502
+ var t$1 = e$2.match(/([+-]|\d\d)/g),
503
+ n$1 = 60 * t$1[1] + (+t$1[2] || 0);
504
+ return 0 === n$1 ? 0 : "+" === t$1[0] ? -n$1 : n$1;
505
+ }(e$1);
506
+ }],
507
+ h = function (e$1) {
508
+ var t$1 = o[e$1];
509
+ return t$1 && (t$1.indexOf ? t$1 : t$1.s.concat(t$1.f));
510
+ },
511
+ u = function (e$1, t$1) {
512
+ var n$1,
513
+ r$1 = o.meridiem;
514
+ if (r$1) {
515
+ for (var i$1 = 1; i$1 <= 24; i$1 += 1) if (e$1.indexOf(r$1(i$1, 0, t$1)) > -1) {
516
+ n$1 = i$1 > 12;
517
+ break;
518
+ }
519
+ } else n$1 = e$1 === (t$1 ? "pm" : "PM");
520
+ return n$1;
521
+ },
522
+ d = {
523
+ A: [i, function (e$1) {
524
+ this.afternoon = u(e$1, !1);
525
+ }],
526
+ a: [i, function (e$1) {
527
+ this.afternoon = u(e$1, !0);
528
+ }],
529
+ S: [/\d/, function (e$1) {
530
+ this.milliseconds = 100 * +e$1;
531
+ }],
532
+ SS: [n, function (e$1) {
533
+ this.milliseconds = 10 * +e$1;
534
+ }],
535
+ SSS: [/\d{3}/, function (e$1) {
536
+ this.milliseconds = +e$1;
537
+ }],
538
+ s: [r, a("seconds")],
539
+ ss: [r, a("seconds")],
540
+ m: [r, a("minutes")],
541
+ mm: [r, a("minutes")],
542
+ H: [r, a("hours")],
543
+ h: [r, a("hours")],
544
+ HH: [r, a("hours")],
545
+ hh: [r, a("hours")],
546
+ D: [r, a("day")],
547
+ DD: [n, a("day")],
548
+ Do: [i, function (e$1) {
549
+ var t$1 = o.ordinal;
550
+ if (this.day = e$1.match(/\d+/)[0], t$1) for (var r$1 = 1; r$1 <= 31; r$1 += 1) t$1(r$1).replace(/\[|\]/g, "") === e$1 && (this.day = r$1);
551
+ }],
552
+ M: [r, a("month")],
553
+ MM: [n, a("month")],
554
+ MMM: [i, function (e$1) {
555
+ var t$1 = h("months"),
556
+ n$1 = (h("monthsShort") || t$1.map(function (e$2) {
557
+ return e$2.slice(0, 3);
558
+ })).indexOf(e$1) + 1;
559
+ if (n$1 < 1) throw new Error();
560
+ this.month = n$1 % 12 || n$1;
561
+ }],
562
+ MMMM: [i, function (e$1) {
563
+ var t$1 = h("months").indexOf(e$1) + 1;
564
+ if (t$1 < 1) throw new Error();
565
+ this.month = t$1 % 12 || t$1;
566
+ }],
567
+ Y: [/[+-]?\d+/, a("year")],
568
+ YY: [n, function (e$1) {
569
+ this.year = s(e$1);
570
+ }],
571
+ YYYY: [/\d{4}/, a("year")],
572
+ Z: f,
573
+ ZZ: f
574
+ };
575
+ function c(n$1) {
576
+ var r$1 = n$1,
577
+ i$1 = o && o.formats;
578
+ for (var s$1 = (n$1 = r$1.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (t$1, n$2, r$2) {
579
+ var o$1 = r$2 && r$2.toUpperCase();
580
+ return n$2 || i$1[r$2] || e[r$2] || i$1[o$1].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (e$1, t$2, n$3) {
581
+ return t$2 || n$3.slice(1);
582
+ });
583
+ })).match(t), a$1 = s$1.length, f$1 = 0; f$1 < a$1; f$1 += 1) {
584
+ var h$1 = s$1[f$1],
585
+ u$1 = d[h$1],
586
+ c$1 = u$1 && u$1[0],
587
+ l = u$1 && u$1[1];
588
+ s$1[f$1] = l ? {
589
+ regex: c$1,
590
+ parser: l
591
+ } : h$1.replace(/^\[|\]$/g, "");
592
+ }
593
+ return function (e$1) {
594
+ for (var t$1 = {}, n$2 = 0, r$2 = 0; n$2 < a$1; n$2 += 1) {
595
+ var i$2 = s$1[n$2];
596
+ if ("string" == typeof i$2) r$2 += i$2.length;else {
597
+ var o$1 = i$2.regex,
598
+ f$2 = i$2.parser,
599
+ h$2 = e$1.slice(r$2),
600
+ u$2 = o$1.exec(h$2)[0];
601
+ f$2.call(t$1, u$2), e$1 = e$1.replace(u$2, "");
602
+ }
603
+ }
604
+ return function (e$2) {
605
+ var t$2 = e$2.afternoon;
606
+ if (void 0 !== t$2) {
607
+ var n$3 = e$2.hours;
608
+ t$2 ? n$3 < 12 && (e$2.hours += 12) : 12 === n$3 && (e$2.hours = 0), delete e$2.afternoon;
609
+ }
610
+ }(t$1), t$1;
611
+ };
612
+ }
613
+ return function (e$1, t$1, n$1) {
614
+ n$1.p.customParseFormat = !0, e$1 && e$1.parseTwoDigitYear && (s = e$1.parseTwoDigitYear);
615
+ var r$1 = t$1.prototype,
616
+ i$1 = r$1.parse;
617
+ r$1.parse = function (e$2) {
618
+ var t$2 = e$2.date,
619
+ r$2 = e$2.utc,
620
+ s$1 = e$2.args;
621
+ this.$u = r$2;
622
+ var a$1 = s$1[1];
623
+ if ("string" == typeof a$1) {
624
+ var f$1 = !0 === s$1[2],
625
+ h$1 = !0 === s$1[3],
626
+ u$1 = f$1 || h$1,
627
+ d$1 = s$1[2];
628
+ h$1 && (d$1 = s$1[2]), o = this.$locale(), !f$1 && d$1 && (o = n$1.Ls[d$1]), this.$d = function (e$3, t$3, n$2) {
629
+ try {
630
+ if (["x", "X"].indexOf(t$3) > -1) return /* @__PURE__ */new Date(("X" === t$3 ? 1e3 : 1) * e$3);
631
+ var r$3 = c(t$3)(e$3),
632
+ i$2 = r$3.year,
633
+ o$1 = r$3.month,
634
+ s$2 = r$3.day,
635
+ a$2 = r$3.hours,
636
+ f$2 = r$3.minutes,
637
+ h$2 = r$3.seconds,
638
+ u$2 = r$3.milliseconds,
639
+ d$2 = r$3.zone,
640
+ l$1 = /* @__PURE__ */new Date(),
641
+ m$1 = s$2 || (i$2 || o$1 ? 1 : l$1.getDate()),
642
+ M$1 = i$2 || l$1.getFullYear(),
643
+ Y = 0;
644
+ i$2 && !o$1 || (Y = o$1 > 0 ? o$1 - 1 : l$1.getMonth());
645
+ var p = a$2 || 0,
646
+ v = f$2 || 0,
647
+ D = h$2 || 0,
648
+ g = u$2 || 0;
649
+ return d$2 ? new Date(Date.UTC(M$1, Y, m$1, p, v, D, g + 60 * d$2.offset * 1e3)) : n$2 ? new Date(Date.UTC(M$1, Y, m$1, p, v, D, g)) : new Date(M$1, Y, m$1, p, v, D, g);
650
+ } catch (e$4) {
651
+ return /* @__PURE__ */new Date("");
652
+ }
653
+ }(t$2, a$1, r$2), this.init(), d$1 && !0 !== d$1 && (this.$L = this.locale(d$1).$L), u$1 && t$2 != this.format(a$1) && (this.$d = /* @__PURE__ */new Date("")), o = {};
654
+ } else if (a$1 instanceof Array) for (var l = a$1.length, m = 1; m <= l; m += 1) {
655
+ s$1[1] = a$1[m - 1];
656
+ var M = n$1.apply(this, s$1);
657
+ if (M.isValid()) {
658
+ this.$d = M.$d, this.$L = M.$L, this.init();
659
+ break;
660
+ }
661
+ m === l && (this.$d = /* @__PURE__ */new Date(""));
662
+ } else i$1.call(this, e$2);
663
+ };
664
+ };
665
+ });
666
+ }
667
+ }); //#endregion
668
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/constants.mjs
669
+ timeUnits = ["hours", "minutes", "seconds"];
670
+ DEFAULT_FORMATS_TIME = "HH:mm:ss";
671
+ DEFAULT_FORMATS_DATE = "YYYY-MM-DD";
672
+ DEFAULT_FORMATS_DATEPICKER = {
673
+ date: DEFAULT_FORMATS_DATE,
674
+ dates: DEFAULT_FORMATS_DATE,
675
+ week: "gggg[w]ww",
676
+ year: "YYYY",
677
+ month: "YYYY-MM",
678
+ datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,
679
+ monthrange: "YYYY-MM",
680
+ daterange: DEFAULT_FORMATS_DATE,
681
+ datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`
682
+ }; //#endregion
683
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/utils.mjs
684
+ import_dayjs_min$10 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
685
+ init_shared_esm_bundler();
686
+ buildTimeList = (value, bound) => {
687
+ return [value > 0 ? value - 1 : void 0, value, value < bound ? value + 1 : void 0];
688
+ };
689
+ rangeArr = n => Array.from(Array.from({
690
+ length: n
691
+ }).keys());
692
+ extractDateFormat = format => {
693
+ return format.replace(/\W?m{1,2}|\W?ZZ/g, "").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi, "").trim();
694
+ };
695
+ extractTimeFormat = format => {
696
+ return format.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g, "").trim();
697
+ };
698
+ dateEquals = function (a, b) {
699
+ const aIsDate = isDate(a);
700
+ const bIsDate = isDate(b);
701
+ if (aIsDate && bIsDate) return a.getTime() === b.getTime();
702
+ if (!aIsDate && !bIsDate) return a === b;
703
+ return false;
704
+ };
705
+ valueEquals = function (a, b) {
706
+ const aIsArray = isArray(a);
707
+ const bIsArray = isArray(b);
708
+ if (aIsArray && bIsArray) {
709
+ if (a.length !== b.length) return false;
710
+ return a.every((item, index) => dateEquals(item, b[index]));
711
+ }
712
+ if (!aIsArray && !bIsArray) return dateEquals(a, b);
713
+ return false;
714
+ };
715
+ parseDate = function (date$1, format, lang) {
716
+ const day = isEmpty(format) || format === "x" ? (0, import_dayjs_min$10.default)(date$1).locale(lang) : (0, import_dayjs_min$10.default)(date$1, format).locale(lang);
717
+ return day.isValid() ? day : void 0;
718
+ };
719
+ formatter = function (date$1, format, lang) {
720
+ if (isEmpty(format)) return date$1;
721
+ if (format === "x") return +date$1;
722
+ return (0, import_dayjs_min$10.default)(date$1).locale(lang).format(format);
723
+ };
724
+ makeList = (total, method) => {
725
+ var _a;
726
+ const arr = [];
727
+ const disabledArr = method == null ? void 0 : method();
728
+ for (let i = 0; i < total; i++) arr.push((_a = disabledArr == null ? void 0 : disabledArr.includes(i)) != null ? _a : false);
729
+ return arr;
730
+ }; //#endregion
731
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/props/shared.mjs
732
+ disabledTimeListsProps = buildProps({
733
+ disabledHours: {
734
+ type: definePropType(Function)
735
+ },
736
+ disabledMinutes: {
737
+ type: definePropType(Function)
738
+ },
739
+ disabledSeconds: {
740
+ type: definePropType(Function)
741
+ }
742
+ });
743
+ timePanelSharedProps = buildProps({
744
+ visible: Boolean,
745
+ actualVisible: {
746
+ type: Boolean,
747
+ default: void 0
748
+ },
749
+ format: {
750
+ type: String,
751
+ default: ""
752
+ }
753
+ }); //#endregion
754
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/common/props.mjs
755
+ timePickerDefaultProps = buildProps({
756
+ id: {
757
+ type: definePropType([Array, String])
758
+ },
759
+ name: {
760
+ type: definePropType([Array, String]),
761
+ default: ""
762
+ },
763
+ popperClass: {
764
+ type: String,
765
+ default: ""
766
+ },
767
+ format: String,
768
+ valueFormat: String,
769
+ dateFormat: String,
770
+ timeFormat: String,
771
+ type: {
772
+ type: String,
773
+ default: ""
774
+ },
775
+ clearable: {
776
+ type: Boolean,
777
+ default: true
778
+ },
779
+ clearIcon: {
780
+ type: definePropType([String, Object]),
781
+ default: circle_close_default
782
+ },
783
+ editable: {
784
+ type: Boolean,
785
+ default: true
786
+ },
787
+ prefixIcon: {
788
+ type: definePropType([String, Object]),
789
+ default: ""
790
+ },
791
+ size: useSizeProp,
792
+ readonly: Boolean,
793
+ disabled: Boolean,
794
+ placeholder: {
795
+ type: String,
796
+ default: ""
797
+ },
798
+ popperOptions: {
799
+ type: definePropType(Object),
800
+ default: () => ({})
801
+ },
802
+ modelValue: {
803
+ type: definePropType([Date, Array, String, Number]),
804
+ default: ""
805
+ },
806
+ rangeSeparator: {
807
+ type: String,
808
+ default: "-"
809
+ },
810
+ startPlaceholder: String,
811
+ endPlaceholder: String,
812
+ defaultValue: {
813
+ type: definePropType([Date, Array])
814
+ },
815
+ defaultTime: {
816
+ type: definePropType([Date, Array])
817
+ },
818
+ isRange: Boolean,
819
+ ...disabledTimeListsProps,
820
+ disabledDate: {
821
+ type: Function
822
+ },
823
+ cellClassName: {
824
+ type: Function
825
+ },
826
+ shortcuts: {
827
+ type: Array,
828
+ default: () => []
829
+ },
830
+ arrowControl: Boolean,
831
+ label: {
832
+ type: String,
833
+ default: void 0
834
+ },
835
+ tabindex: {
836
+ type: definePropType([String, Number]),
837
+ default: 0
838
+ },
839
+ validateEvent: {
840
+ type: Boolean,
841
+ default: true
842
+ },
843
+ unlinkPanels: Boolean
844
+ }); //#endregion
845
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/common/picker.mjs
846
+ init_shared_esm_bundler();
847
+ _hoisted_1$7 = ["id", "name", "placeholder", "value", "disabled", "readonly"];
848
+ _hoisted_2$7 = ["id", "name", "placeholder", "value", "disabled", "readonly"];
849
+ CommonPicker = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
850
+ ...defineComponent({
851
+ name: "Picker"
852
+ }),
853
+ props: timePickerDefaultProps,
854
+ emits: ["update:modelValue", "change", "focus", "blur", "calendar-change", "panel-change", "visible-change", "keydown"],
855
+ setup(__props, {
856
+ expose,
857
+ emit
858
+ }) {
859
+ const props = __props;
860
+ const attrs = useAttrs();
861
+ const {
862
+ lang
863
+ } = useLocale();
864
+ const nsDate = useNamespace("date");
865
+ const nsInput = useNamespace("input");
866
+ const nsRange = useNamespace("range");
867
+ const {
868
+ form,
869
+ formItem
870
+ } = useFormItem();
871
+ const elPopperOptions = inject("ElPopperOptions", {});
872
+ const refPopper = ref();
873
+ const inputRef = ref();
874
+ const pickerVisible = ref(false);
875
+ const pickerActualVisible = ref(false);
876
+ const valueOnOpen = ref(null);
877
+ let hasJustTabExitedInput = false;
878
+ let ignoreFocusEvent = false;
879
+ const rangeInputKls = computed(() => [nsDate.b("editor"), nsDate.bm("editor", props.type), nsInput.e("wrapper"), nsDate.is("disabled", pickerDisabled.value), nsDate.is("active", pickerVisible.value), nsRange.b("editor"), pickerSize ? nsRange.bm("editor", pickerSize.value) : "", attrs.class]);
880
+ const clearIconKls = computed(() => [nsInput.e("icon"), nsRange.e("close-icon"), !showClose.value ? nsRange.e("close-icon--hidden") : ""]);
881
+ watch(pickerVisible, val => {
882
+ if (!val) {
883
+ userInput.value = null;
884
+ nextTick(() => {
885
+ emitChange(props.modelValue);
886
+ });
887
+ } else nextTick(() => {
888
+ if (val) valueOnOpen.value = props.modelValue;
889
+ });
890
+ });
891
+ const emitChange = (val, isClear) => {
892
+ if (isClear || !valueEquals(val, valueOnOpen.value)) {
893
+ emit("change", val);
894
+ props.validateEvent && formItem?.validate("change").catch(err => debugWarn(err));
895
+ }
896
+ };
897
+ const emitInput = input => {
898
+ if (!valueEquals(props.modelValue, input)) {
899
+ let formatted;
900
+ if (isArray(input)) formatted = input.map(item => formatter(item, props.valueFormat, lang.value));else if (input) formatted = formatter(input, props.valueFormat, lang.value);
901
+ emit("update:modelValue", input ? formatted : input, lang.value);
902
+ }
903
+ };
904
+ const emitKeydown = e => {
905
+ emit("keydown", e);
906
+ };
907
+ const refInput = computed(() => {
908
+ if (inputRef.value) {
909
+ const _r = isRangeInput.value ? inputRef.value : inputRef.value.$el;
910
+ return Array.from(_r.querySelectorAll("input"));
911
+ }
912
+ return [];
913
+ });
914
+ const setSelectionRange = (start, end, pos) => {
915
+ const _inputs = refInput.value;
916
+ if (!_inputs.length) return;
917
+ if (!pos || pos === "min") {
918
+ _inputs[0].setSelectionRange(start, end);
919
+ _inputs[0].focus();
920
+ } else if (pos === "max") {
921
+ _inputs[1].setSelectionRange(start, end);
922
+ _inputs[1].focus();
923
+ }
924
+ };
925
+ const focusOnInputBox = () => {
926
+ focus(true, true);
927
+ nextTick(() => {
928
+ ignoreFocusEvent = false;
929
+ });
930
+ };
931
+ const onPick = (date$1 = "", visible = false) => {
932
+ if (!visible) ignoreFocusEvent = true;
933
+ pickerVisible.value = visible;
934
+ let result;
935
+ if (isArray(date$1)) result = date$1.map(_ => _.toDate());else result = date$1 ? date$1.toDate() : date$1;
936
+ userInput.value = null;
937
+ emitInput(result);
938
+ };
939
+ const onBeforeShow = () => {
940
+ pickerActualVisible.value = true;
941
+ };
942
+ const onShow = () => {
943
+ emit("visible-change", true);
944
+ };
945
+ const onKeydownPopperContent = event => {
946
+ if ((event == null ? void 0 : event.key) === EVENT_CODE.esc) focus(true, true);
947
+ };
948
+ const onHide = () => {
949
+ pickerActualVisible.value = false;
950
+ pickerVisible.value = false;
951
+ ignoreFocusEvent = false;
952
+ emit("visible-change", false);
953
+ };
954
+ const handleOpen = () => {
955
+ pickerVisible.value = true;
956
+ };
957
+ const handleClose = () => {
958
+ pickerVisible.value = false;
959
+ };
960
+ const focus = (focusStartInput = true, isIgnoreFocusEvent = false) => {
961
+ ignoreFocusEvent = isIgnoreFocusEvent;
962
+ const [leftInput, rightInput] = unref(refInput);
963
+ let input = leftInput;
964
+ if (!focusStartInput && isRangeInput.value) input = rightInput;
965
+ if (input) input.focus();
966
+ };
967
+ const handleFocusInput = e => {
968
+ if (props.readonly || pickerDisabled.value || pickerVisible.value || ignoreFocusEvent) return;
969
+ pickerVisible.value = true;
970
+ emit("focus", e);
971
+ };
972
+ let currentHandleBlurDeferCallback = void 0;
973
+ const handleBlurInput = e => {
974
+ const handleBlurDefer = async () => {
975
+ setTimeout(() => {
976
+ var _a;
977
+ if (currentHandleBlurDeferCallback === handleBlurDefer) {
978
+ if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter(input => {
979
+ return input.contains(document.activeElement);
980
+ }).length === 0) {
981
+ handleChange();
982
+ pickerVisible.value = false;
983
+ emit("blur", e);
984
+ props.validateEvent && formItem?.validate("blur").catch(err => debugWarn(err));
985
+ }
986
+ hasJustTabExitedInput = false;
987
+ }
988
+ }, 0);
989
+ };
990
+ currentHandleBlurDeferCallback = handleBlurDefer;
991
+ handleBlurDefer();
992
+ };
993
+ const pickerDisabled = computed(() => {
994
+ return props.disabled || (form == null ? void 0 : form.disabled);
995
+ });
996
+ const parsedValue$1 = computed(() => {
997
+ let dayOrDays;
998
+ if (valueIsEmpty.value) {
999
+ if (pickerOptions.value.getDefaultValue) dayOrDays = pickerOptions.value.getDefaultValue();
1000
+ } else if (isArray(props.modelValue)) dayOrDays = props.modelValue.map(d => parseDate(d, props.valueFormat, lang.value));else dayOrDays = parseDate(props.modelValue, props.valueFormat, lang.value);
1001
+ if (pickerOptions.value.getRangeAvailableTime) {
1002
+ const availableResult = pickerOptions.value.getRangeAvailableTime(dayOrDays);
1003
+ if (!isEqual_default(availableResult, dayOrDays)) {
1004
+ dayOrDays = availableResult;
1005
+ emitInput(isArray(dayOrDays) ? dayOrDays.map(_ => _.toDate()) : dayOrDays.toDate());
1006
+ }
1007
+ }
1008
+ if (isArray(dayOrDays) && dayOrDays.some(day => !day)) dayOrDays = [];
1009
+ return dayOrDays;
1010
+ });
1011
+ const displayValue = computed(() => {
1012
+ if (!pickerOptions.value.panelReady) return "";
1013
+ const formattedValue = formatDayjsToString(parsedValue$1.value);
1014
+ if (isArray(userInput.value)) return [userInput.value[0] || formattedValue && formattedValue[0] || "", userInput.value[1] || formattedValue && formattedValue[1] || ""];else if (userInput.value !== null) return userInput.value;
1015
+ if (!isTimePicker.value && valueIsEmpty.value) return "";
1016
+ if (!pickerVisible.value && valueIsEmpty.value) return "";
1017
+ if (formattedValue) return isDatesPicker.value ? formattedValue.join(", ") : formattedValue;
1018
+ return "";
1019
+ });
1020
+ const isTimeLikePicker = computed(() => props.type.includes("time"));
1021
+ const isTimePicker = computed(() => props.type.startsWith("time"));
1022
+ const isDatesPicker = computed(() => props.type === "dates");
1023
+ const triggerIcon = computed(() => props.prefixIcon || (isTimeLikePicker.value ? clock_default : calendar_default));
1024
+ const showClose = ref(false);
1025
+ const onClearIconClick = event => {
1026
+ if (props.readonly || pickerDisabled.value) return;
1027
+ if (showClose.value) {
1028
+ event.stopPropagation();
1029
+ focusOnInputBox();
1030
+ emitInput(null);
1031
+ emitChange(null, true);
1032
+ showClose.value = false;
1033
+ pickerVisible.value = false;
1034
+ pickerOptions.value.handleClear && pickerOptions.value.handleClear();
1035
+ }
1036
+ };
1037
+ const valueIsEmpty = computed(() => {
1038
+ const {
1039
+ modelValue
1040
+ } = props;
1041
+ return !modelValue || isArray(modelValue) && !modelValue.filter(Boolean).length;
1042
+ });
1043
+ const onMouseDownInput = async event => {
1044
+ var _a;
1045
+ if (props.readonly || pickerDisabled.value) return;
1046
+ if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT" || refInput.value.includes(document.activeElement)) pickerVisible.value = true;
1047
+ };
1048
+ const onMouseEnter = () => {
1049
+ if (props.readonly || pickerDisabled.value) return;
1050
+ if (!valueIsEmpty.value && props.clearable) showClose.value = true;
1051
+ };
1052
+ const onMouseLeave = () => {
1053
+ showClose.value = false;
1054
+ };
1055
+ const onTouchStartInput = event => {
1056
+ var _a;
1057
+ if (props.readonly || pickerDisabled.value) return;
1058
+ if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== "INPUT" || refInput.value.includes(document.activeElement)) pickerVisible.value = true;
1059
+ };
1060
+ const isRangeInput = computed(() => {
1061
+ return props.type.includes("range");
1062
+ });
1063
+ const pickerSize = useFormSize();
1064
+ const popperEl = computed(() => {
1065
+ var _a, _b;
1066
+ return (_b = (_a = unref(refPopper)) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;
1067
+ });
1068
+ const actualInputRef = computed(() => {
1069
+ var _a;
1070
+ if (unref(isRangeInput)) return unref(inputRef);
1071
+ return (_a = unref(inputRef)) == null ? void 0 : _a.$el;
1072
+ });
1073
+ onClickOutside(actualInputRef, e => {
1074
+ const unrefedPopperEl = unref(popperEl);
1075
+ const inputEl = unref(actualInputRef);
1076
+ if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || e.composedPath().includes(inputEl)) return;
1077
+ pickerVisible.value = false;
1078
+ });
1079
+ const userInput = ref(null);
1080
+ const handleChange = () => {
1081
+ if (userInput.value) {
1082
+ const value = parseUserInputToDayjs(displayValue.value);
1083
+ if (value) {
1084
+ if (isValidValue(value)) {
1085
+ emitInput(isArray(value) ? value.map(_ => _.toDate()) : value.toDate());
1086
+ userInput.value = null;
1087
+ }
1088
+ }
1089
+ }
1090
+ if (userInput.value === "") {
1091
+ emitInput(null);
1092
+ emitChange(null);
1093
+ userInput.value = null;
1094
+ }
1095
+ };
1096
+ const parseUserInputToDayjs = value => {
1097
+ if (!value) return null;
1098
+ return pickerOptions.value.parseUserInput(value);
1099
+ };
1100
+ const formatDayjsToString = value => {
1101
+ if (!value) return null;
1102
+ return pickerOptions.value.formatToString(value);
1103
+ };
1104
+ const isValidValue = value => {
1105
+ return pickerOptions.value.isValidValue(value);
1106
+ };
1107
+ const handleKeydownInput = async event => {
1108
+ if (props.readonly || pickerDisabled.value) return;
1109
+ const {
1110
+ code
1111
+ } = event;
1112
+ emitKeydown(event);
1113
+ if (code === EVENT_CODE.esc) {
1114
+ if (pickerVisible.value === true) {
1115
+ pickerVisible.value = false;
1116
+ event.preventDefault();
1117
+ event.stopPropagation();
1118
+ }
1119
+ return;
1120
+ }
1121
+ if (code === EVENT_CODE.down) {
1122
+ if (pickerOptions.value.handleFocusPicker) {
1123
+ event.preventDefault();
1124
+ event.stopPropagation();
1125
+ }
1126
+ if (pickerVisible.value === false) {
1127
+ pickerVisible.value = true;
1128
+ await nextTick();
1129
+ }
1130
+ if (pickerOptions.value.handleFocusPicker) {
1131
+ pickerOptions.value.handleFocusPicker();
1132
+ return;
1133
+ }
1134
+ }
1135
+ if (code === EVENT_CODE.tab) {
1136
+ hasJustTabExitedInput = true;
1137
+ return;
1138
+ }
1139
+ if (code === EVENT_CODE.enter || code === EVENT_CODE.numpadEnter) {
1140
+ if (userInput.value === null || userInput.value === "" || isValidValue(parseUserInputToDayjs(displayValue.value))) {
1141
+ handleChange();
1142
+ pickerVisible.value = false;
1143
+ }
1144
+ event.stopPropagation();
1145
+ return;
1146
+ }
1147
+ if (userInput.value) {
1148
+ event.stopPropagation();
1149
+ return;
1150
+ }
1151
+ if (pickerOptions.value.handleKeydownInput) pickerOptions.value.handleKeydownInput(event);
1152
+ };
1153
+ const onUserInput = e => {
1154
+ userInput.value = e;
1155
+ if (!pickerVisible.value) pickerVisible.value = true;
1156
+ };
1157
+ const handleStartInput = event => {
1158
+ const target = event.target;
1159
+ if (userInput.value) userInput.value = [target.value, userInput.value[1]];else userInput.value = [target.value, null];
1160
+ };
1161
+ const handleEndInput = event => {
1162
+ const target = event.target;
1163
+ if (userInput.value) userInput.value = [userInput.value[0], target.value];else userInput.value = [null, target.value];
1164
+ };
1165
+ const handleStartChange = () => {
1166
+ var _a;
1167
+ const values = userInput.value;
1168
+ const value = parseUserInputToDayjs(values && values[0]);
1169
+ const parsedVal = unref(parsedValue$1);
1170
+ if (value && value.isValid()) {
1171
+ userInput.value = [formatDayjsToString(value), ((_a = displayValue.value) == null ? void 0 : _a[1]) || null];
1172
+ const newValue = [value, parsedVal && (parsedVal[1] || null)];
1173
+ if (isValidValue(newValue)) {
1174
+ emitInput(newValue);
1175
+ userInput.value = null;
1176
+ }
1177
+ }
1178
+ };
1179
+ const handleEndChange = () => {
1180
+ var _a;
1181
+ const values = unref(userInput);
1182
+ const value = parseUserInputToDayjs(values && values[1]);
1183
+ const parsedVal = unref(parsedValue$1);
1184
+ if (value && value.isValid()) {
1185
+ userInput.value = [((_a = unref(displayValue)) == null ? void 0 : _a[0]) || null, formatDayjsToString(value)];
1186
+ const newValue = [parsedVal && parsedVal[0], value];
1187
+ if (isValidValue(newValue)) {
1188
+ emitInput(newValue);
1189
+ userInput.value = null;
1190
+ }
1191
+ }
1192
+ };
1193
+ const pickerOptions = ref({});
1194
+ const onSetPickerOption = e => {
1195
+ pickerOptions.value[e[0]] = e[1];
1196
+ pickerOptions.value.panelReady = true;
1197
+ };
1198
+ const onCalendarChange = e => {
1199
+ emit("calendar-change", e);
1200
+ };
1201
+ const onPanelChange = (value, mode, view) => {
1202
+ emit("panel-change", value, mode, view);
1203
+ };
1204
+ provide("EP_PICKER_BASE", {
1205
+ props
1206
+ });
1207
+ expose({
1208
+ focus,
1209
+ handleFocusInput,
1210
+ handleBlurInput,
1211
+ handleOpen,
1212
+ handleClose,
1213
+ onPick
1214
+ });
1215
+ return (_ctx, _cache) => {
1216
+ return openBlock(), createBlock(unref(ElTooltip), mergeProps({
1217
+ ref_key: "refPopper",
1218
+ ref: refPopper,
1219
+ visible: pickerVisible.value,
1220
+ effect: "light",
1221
+ pure: "",
1222
+ trigger: "click"
1223
+ }, _ctx.$attrs, {
1224
+ role: "dialog",
1225
+ teleported: "",
1226
+ transition: `${unref(nsDate).namespace.value}-zoom-in-top`,
1227
+ "popper-class": [`${unref(nsDate).namespace.value}-picker__popper`, _ctx.popperClass],
1228
+ "popper-options": unref(elPopperOptions),
1229
+ "fallback-placements": ["bottom", "top", "right", "left"],
1230
+ "gpu-acceleration": false,
1231
+ "stop-popper-mouse-event": false,
1232
+ "hide-after": 0,
1233
+ persistent: "",
1234
+ onBeforeShow,
1235
+ onShow,
1236
+ onHide
1237
+ }), {
1238
+ default: withCtx(() => [!unref(isRangeInput) ? (openBlock(), createBlock(unref(ElInput), {
1239
+ key: 0,
1240
+ id: _ctx.id,
1241
+ ref_key: "inputRef",
1242
+ ref: inputRef,
1243
+ "container-role": "combobox",
1244
+ "model-value": unref(displayValue),
1245
+ name: _ctx.name,
1246
+ size: unref(pickerSize),
1247
+ disabled: unref(pickerDisabled),
1248
+ placeholder: _ctx.placeholder,
1249
+ class: normalizeClass([unref(nsDate).b("editor"), unref(nsDate).bm("editor", _ctx.type), _ctx.$attrs.class]),
1250
+ style: normalizeStyle(_ctx.$attrs.style),
1251
+ readonly: !_ctx.editable || _ctx.readonly || unref(isDatesPicker) || _ctx.type === "week",
1252
+ label: _ctx.label,
1253
+ tabindex: _ctx.tabindex,
1254
+ "validate-event": false,
1255
+ onInput: onUserInput,
1256
+ onFocus: handleFocusInput,
1257
+ onBlur: handleBlurInput,
1258
+ onKeydown: handleKeydownInput,
1259
+ onChange: handleChange,
1260
+ onMousedown: onMouseDownInput,
1261
+ onMouseenter: onMouseEnter,
1262
+ onMouseleave: onMouseLeave,
1263
+ onTouchstart: onTouchStartInput,
1264
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"]))
1265
+ }, {
1266
+ prefix: withCtx(() => [unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {
1267
+ key: 0,
1268
+ class: normalizeClass(unref(nsInput).e("icon")),
1269
+ onMousedown: withModifiers(onMouseDownInput, ["prevent"]),
1270
+ onTouchstart: onTouchStartInput
1271
+ }, {
1272
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))]),
1273
+ _: 1
1274
+ }, 8, ["class", "onMousedown"])) : createCommentVNode("v-if", true)]),
1275
+ suffix: withCtx(() => [showClose.value && _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
1276
+ key: 0,
1277
+ class: normalizeClass(`${unref(nsInput).e("icon")} clear-icon`),
1278
+ onClick: withModifiers(onClearIconClick, ["stop"])
1279
+ }, {
1280
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))]),
1281
+ _: 1
1282
+ }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)]),
1283
+ _: 1
1284
+ }, 8, ["id", "model-value", "name", "size", "disabled", "placeholder", "class", "style", "readonly", "label", "tabindex", "onKeydown"])) : (openBlock(), createElementBlock("div", {
1285
+ key: 1,
1286
+ ref_key: "inputRef",
1287
+ ref: inputRef,
1288
+ class: normalizeClass(unref(rangeInputKls)),
1289
+ style: normalizeStyle(_ctx.$attrs.style),
1290
+ onClick: handleFocusInput,
1291
+ onMouseenter: onMouseEnter,
1292
+ onMouseleave: onMouseLeave,
1293
+ onTouchstart: onTouchStartInput,
1294
+ onKeydown: handleKeydownInput
1295
+ }, [unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {
1296
+ key: 0,
1297
+ class: normalizeClass([unref(nsInput).e("icon"), unref(nsRange).e("icon")]),
1298
+ onMousedown: withModifiers(onMouseDownInput, ["prevent"]),
1299
+ onTouchstart: onTouchStartInput
1300
+ }, {
1301
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))]),
1302
+ _: 1
1303
+ }, 8, ["class", "onMousedown"])) : createCommentVNode("v-if", true), createBaseVNode("input", {
1304
+ id: _ctx.id && _ctx.id[0],
1305
+ autocomplete: "off",
1306
+ name: _ctx.name && _ctx.name[0],
1307
+ placeholder: _ctx.startPlaceholder,
1308
+ value: unref(displayValue) && unref(displayValue)[0],
1309
+ disabled: unref(pickerDisabled),
1310
+ readonly: !_ctx.editable || _ctx.readonly,
1311
+ class: normalizeClass(unref(nsRange).b("input")),
1312
+ onMousedown: onMouseDownInput,
1313
+ onInput: handleStartInput,
1314
+ onChange: handleStartChange,
1315
+ onFocus: handleFocusInput,
1316
+ onBlur: handleBlurInput
1317
+ }, null, 42, _hoisted_1$7), renderSlot(_ctx.$slots, "range-separator", {}, () => [createBaseVNode("span", {
1318
+ class: normalizeClass(unref(nsRange).b("separator"))
1319
+ }, toDisplayString(_ctx.rangeSeparator), 3)]), createBaseVNode("input", {
1320
+ id: _ctx.id && _ctx.id[1],
1321
+ autocomplete: "off",
1322
+ name: _ctx.name && _ctx.name[1],
1323
+ placeholder: _ctx.endPlaceholder,
1324
+ value: unref(displayValue) && unref(displayValue)[1],
1325
+ disabled: unref(pickerDisabled),
1326
+ readonly: !_ctx.editable || _ctx.readonly,
1327
+ class: normalizeClass(unref(nsRange).b("input")),
1328
+ onMousedown: onMouseDownInput,
1329
+ onFocus: handleFocusInput,
1330
+ onBlur: handleBlurInput,
1331
+ onInput: handleEndInput,
1332
+ onChange: handleEndChange
1333
+ }, null, 42, _hoisted_2$7), _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
1334
+ key: 1,
1335
+ class: normalizeClass(unref(clearIconKls)),
1336
+ onClick: onClearIconClick
1337
+ }, {
1338
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))]),
1339
+ _: 1
1340
+ }, 8, ["class"])) : createCommentVNode("v-if", true)], 38))]),
1341
+ content: withCtx(() => [renderSlot(_ctx.$slots, "default", {
1342
+ visible: pickerVisible.value,
1343
+ actualVisible: pickerActualVisible.value,
1344
+ parsedValue: unref(parsedValue$1),
1345
+ format: _ctx.format,
1346
+ dateFormat: _ctx.dateFormat,
1347
+ timeFormat: _ctx.timeFormat,
1348
+ unlinkPanels: _ctx.unlinkPanels,
1349
+ type: _ctx.type,
1350
+ defaultValue: _ctx.defaultValue,
1351
+ onPick,
1352
+ onSelectRange: setSelectionRange,
1353
+ onSetPickerOption,
1354
+ onCalendarChange,
1355
+ onPanelChange,
1356
+ onKeydown: onKeydownPopperContent,
1357
+ onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"]))
1358
+ })]),
1359
+ _: 3
1360
+ }, 16, ["visible", "transition", "popper-class", "popper-options"]);
1361
+ };
1362
+ }
1363
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]); //#endregion
1364
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/props/panel-time-picker.mjs
1365
+ panelTimePickerProps = buildProps({
1366
+ ...timePanelSharedProps,
1367
+ datetimeRole: String,
1368
+ parsedValue: {
1369
+ type: definePropType(Object)
1370
+ }
1371
+ }); //#endregion
1372
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/composables/use-time-panel.mjs
1373
+ useTimePanel = ({
1374
+ getAvailableHours,
1375
+ getAvailableMinutes,
1376
+ getAvailableSeconds
1377
+ }) => {
1378
+ const getAvailableTime = (date$1, role, first, compareDate) => {
1379
+ const availableTimeGetters = {
1380
+ hour: getAvailableHours,
1381
+ minute: getAvailableMinutes,
1382
+ second: getAvailableSeconds
1383
+ };
1384
+ let result = date$1;
1385
+ ["hour", "minute", "second"].forEach(type => {
1386
+ if (availableTimeGetters[type]) {
1387
+ let availableTimeSlots;
1388
+ const method = availableTimeGetters[type];
1389
+ switch (type) {
1390
+ case "minute":
1391
+ availableTimeSlots = method(result.hour(), role, compareDate);
1392
+ break;
1393
+ case "second":
1394
+ availableTimeSlots = method(result.hour(), result.minute(), role, compareDate);
1395
+ break;
1396
+ default:
1397
+ availableTimeSlots = method(role, compareDate);
1398
+ break;
1399
+ }
1400
+ if ((availableTimeSlots == null ? void 0 : availableTimeSlots.length) && !availableTimeSlots.includes(result[type]())) {
1401
+ const pos = first ? 0 : availableTimeSlots.length - 1;
1402
+ result = result[type](availableTimeSlots[pos]);
1403
+ }
1404
+ }
1405
+ });
1406
+ return result;
1407
+ };
1408
+ const timePickerOptions = {};
1409
+ const onSetOption = ([key, val]) => {
1410
+ timePickerOptions[key] = val;
1411
+ };
1412
+ return {
1413
+ timePickerOptions,
1414
+ getAvailableTime,
1415
+ onSetOption
1416
+ };
1417
+ }; //#endregion
1418
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/composables/use-time-picker.mjs
1419
+ makeAvailableArr = disabledList => {
1420
+ const trueOrNumber = (isDisabled, index) => isDisabled || index;
1421
+ const getNumber = predicate => predicate !== true;
1422
+ return disabledList.map(trueOrNumber).filter(getNumber);
1423
+ };
1424
+ getTimeLists = (disabledHours, disabledMinutes, disabledSeconds) => {
1425
+ const getHoursList = (role, compare) => {
1426
+ return makeList(24, disabledHours && (() => disabledHours == null ? void 0 : disabledHours(role, compare)));
1427
+ };
1428
+ const getMinutesList = (hour, role, compare) => {
1429
+ return makeList(60, disabledMinutes && (() => disabledMinutes == null ? void 0 : disabledMinutes(hour, role, compare)));
1430
+ };
1431
+ const getSecondsList = (hour, minute, role, compare) => {
1432
+ return makeList(60, disabledSeconds && (() => disabledSeconds == null ? void 0 : disabledSeconds(hour, minute, role, compare)));
1433
+ };
1434
+ return {
1435
+ getHoursList,
1436
+ getMinutesList,
1437
+ getSecondsList
1438
+ };
1439
+ };
1440
+ buildAvailableTimeSlotGetter = (disabledHours, disabledMinutes, disabledSeconds) => {
1441
+ const {
1442
+ getHoursList,
1443
+ getMinutesList,
1444
+ getSecondsList
1445
+ } = getTimeLists(disabledHours, disabledMinutes, disabledSeconds);
1446
+ const getAvailableHours = (role, compare) => {
1447
+ return makeAvailableArr(getHoursList(role, compare));
1448
+ };
1449
+ const getAvailableMinutes = (hour, role, compare) => {
1450
+ return makeAvailableArr(getMinutesList(hour, role, compare));
1451
+ };
1452
+ const getAvailableSeconds = (hour, minute, role, compare) => {
1453
+ return makeAvailableArr(getSecondsList(hour, minute, role, compare));
1454
+ };
1455
+ return {
1456
+ getAvailableHours,
1457
+ getAvailableMinutes,
1458
+ getAvailableSeconds
1459
+ };
1460
+ };
1461
+ useOldValue = props => {
1462
+ const oldValue = ref(props.parsedValue);
1463
+ watch(() => props.visible, val => {
1464
+ if (!val) oldValue.value = props.parsedValue;
1465
+ });
1466
+ return oldValue;
1467
+ }; //#endregion
1468
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/props/basic-time-spinner.mjs
1469
+ basicTimeSpinnerProps = buildProps({
1470
+ role: {
1471
+ type: String,
1472
+ required: true
1473
+ },
1474
+ spinnerDate: {
1475
+ type: definePropType(Object),
1476
+ required: true
1477
+ },
1478
+ showSeconds: {
1479
+ type: Boolean,
1480
+ default: true
1481
+ },
1482
+ arrowControl: Boolean,
1483
+ amPmMode: {
1484
+ type: definePropType(String),
1485
+ default: ""
1486
+ },
1487
+ ...disabledTimeListsProps
1488
+ }); //#endregion
1489
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs
1490
+ _hoisted_1$6 = ["onClick"];
1491
+ _hoisted_2$6 = ["onMouseenter"];
1492
+ TimeSpinner = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
1493
+ __name: "basic-time-spinner",
1494
+ props: basicTimeSpinnerProps,
1495
+ emits: ["change", "select-range", "set-option"],
1496
+ setup(__props, {
1497
+ emit
1498
+ }) {
1499
+ const props = __props;
1500
+ const ns = useNamespace("time");
1501
+ const {
1502
+ getHoursList,
1503
+ getMinutesList,
1504
+ getSecondsList
1505
+ } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);
1506
+ let isScrolling = false;
1507
+ const currentScrollbar = ref();
1508
+ const listRefsMap = {
1509
+ hours: ref(),
1510
+ minutes: ref(),
1511
+ seconds: ref()
1512
+ };
1513
+ const spinnerItems = computed(() => {
1514
+ return props.showSeconds ? timeUnits : timeUnits.slice(0, 2);
1515
+ });
1516
+ const timePartials = computed(() => {
1517
+ const {
1518
+ spinnerDate
1519
+ } = props;
1520
+ return {
1521
+ hours: spinnerDate.hour(),
1522
+ minutes: spinnerDate.minute(),
1523
+ seconds: spinnerDate.second()
1524
+ };
1525
+ });
1526
+ const timeList = computed(() => {
1527
+ const {
1528
+ hours,
1529
+ minutes
1530
+ } = unref(timePartials);
1531
+ return {
1532
+ hours: getHoursList(props.role),
1533
+ minutes: getMinutesList(hours, props.role),
1534
+ seconds: getSecondsList(hours, minutes, props.role)
1535
+ };
1536
+ });
1537
+ const arrowControlTimeList = computed(() => {
1538
+ const {
1539
+ hours,
1540
+ minutes,
1541
+ seconds
1542
+ } = unref(timePartials);
1543
+ return {
1544
+ hours: buildTimeList(hours, 23),
1545
+ minutes: buildTimeList(minutes, 59),
1546
+ seconds: buildTimeList(seconds, 59)
1547
+ };
1548
+ });
1549
+ const debouncedResetScroll = debounce_default(type => {
1550
+ isScrolling = false;
1551
+ adjustCurrentSpinner(type);
1552
+ }, 200);
1553
+ const getAmPmFlag = hour => {
1554
+ if (!!!props.amPmMode) return "";
1555
+ const isCapital = props.amPmMode === "A";
1556
+ let content = hour < 12 ? " am" : " pm";
1557
+ if (isCapital) content = content.toUpperCase();
1558
+ return content;
1559
+ };
1560
+ const emitSelectRange = type => {
1561
+ let range;
1562
+ switch (type) {
1563
+ case "hours":
1564
+ range = [0, 2];
1565
+ break;
1566
+ case "minutes":
1567
+ range = [3, 5];
1568
+ break;
1569
+ case "seconds":
1570
+ range = [6, 8];
1571
+ break;
1572
+ }
1573
+ const [left, right] = range;
1574
+ emit("select-range", left, right);
1575
+ currentScrollbar.value = type;
1576
+ };
1577
+ const adjustCurrentSpinner = type => {
1578
+ adjustSpinner(type, unref(timePartials)[type]);
1579
+ };
1580
+ const adjustSpinners = () => {
1581
+ adjustCurrentSpinner("hours");
1582
+ adjustCurrentSpinner("minutes");
1583
+ adjustCurrentSpinner("seconds");
1584
+ };
1585
+ const getScrollbarElement = el => el.querySelector(`.${ns.namespace.value}-scrollbar__wrap`);
1586
+ const adjustSpinner = (type, value) => {
1587
+ if (props.arrowControl) return;
1588
+ const scrollbar = unref(listRefsMap[type]);
1589
+ if (scrollbar && scrollbar.$el) getScrollbarElement(scrollbar.$el).scrollTop = Math.max(0, value * typeItemHeight(type));
1590
+ };
1591
+ const typeItemHeight = type => {
1592
+ const scrollbar = unref(listRefsMap[type]);
1593
+ const listItem = scrollbar == null ? void 0 : scrollbar.$el.querySelector("li");
1594
+ if (listItem) return Number.parseFloat(getStyle(listItem, "height")) || 0;
1595
+ return 0;
1596
+ };
1597
+ const onIncrement = () => {
1598
+ scrollDown(1);
1599
+ };
1600
+ const onDecrement = () => {
1601
+ scrollDown(-1);
1602
+ };
1603
+ const scrollDown = step => {
1604
+ if (!currentScrollbar.value) emitSelectRange("hours");
1605
+ const label = currentScrollbar.value;
1606
+ const now = unref(timePartials)[label];
1607
+ const next = findNextUnDisabled(label, now, step, currentScrollbar.value === "hours" ? 24 : 60);
1608
+ modifyDateField(label, next);
1609
+ adjustSpinner(label, next);
1610
+ nextTick(() => emitSelectRange(label));
1611
+ };
1612
+ const findNextUnDisabled = (type, now, step, total) => {
1613
+ let next = (now + step + total) % total;
1614
+ const list = unref(timeList)[type];
1615
+ while (list[next] && next !== now) next = (next + step + total) % total;
1616
+ return next;
1617
+ };
1618
+ const modifyDateField = (type, value) => {
1619
+ if (unref(timeList)[type][value]) return;
1620
+ const {
1621
+ hours,
1622
+ minutes,
1623
+ seconds
1624
+ } = unref(timePartials);
1625
+ let changeTo;
1626
+ switch (type) {
1627
+ case "hours":
1628
+ changeTo = props.spinnerDate.hour(value).minute(minutes).second(seconds);
1629
+ break;
1630
+ case "minutes":
1631
+ changeTo = props.spinnerDate.hour(hours).minute(value).second(seconds);
1632
+ break;
1633
+ case "seconds":
1634
+ changeTo = props.spinnerDate.hour(hours).minute(minutes).second(value);
1635
+ break;
1636
+ }
1637
+ emit("change", changeTo);
1638
+ };
1639
+ const handleClick = (type, {
1640
+ value,
1641
+ disabled
1642
+ }) => {
1643
+ if (!disabled) {
1644
+ modifyDateField(type, value);
1645
+ emitSelectRange(type);
1646
+ adjustSpinner(type, value);
1647
+ }
1648
+ };
1649
+ const handleScroll = type => {
1650
+ isScrolling = true;
1651
+ debouncedResetScroll(type);
1652
+ modifyDateField(type, Math.min(Math.round((getScrollbarElement(unref(listRefsMap[type]).$el).scrollTop - (scrollBarHeight(type) * .5 - 10) / typeItemHeight(type) + 3) / typeItemHeight(type)), type === "hours" ? 23 : 59));
1653
+ };
1654
+ const scrollBarHeight = type => {
1655
+ return unref(listRefsMap[type]).$el.offsetHeight;
1656
+ };
1657
+ const bindScrollEvent = () => {
1658
+ const bindFunction = type => {
1659
+ const scrollbar = unref(listRefsMap[type]);
1660
+ if (scrollbar && scrollbar.$el) getScrollbarElement(scrollbar.$el).onscroll = () => {
1661
+ handleScroll(type);
1662
+ };
1663
+ };
1664
+ bindFunction("hours");
1665
+ bindFunction("minutes");
1666
+ bindFunction("seconds");
1667
+ };
1668
+ onMounted(() => {
1669
+ nextTick(() => {
1670
+ !props.arrowControl && bindScrollEvent();
1671
+ adjustSpinners();
1672
+ if (props.role === "start") emitSelectRange("hours");
1673
+ });
1674
+ });
1675
+ const setRef = (scrollbar, type) => {
1676
+ listRefsMap[type].value = scrollbar;
1677
+ };
1678
+ emit("set-option", [`${props.role}_scrollDown`, scrollDown]);
1679
+ emit("set-option", [`${props.role}_emitSelectRange`, emitSelectRange]);
1680
+ watch(() => props.spinnerDate, () => {
1681
+ if (isScrolling) return;
1682
+ adjustSpinners();
1683
+ });
1684
+ return (_ctx, _cache) => {
1685
+ return openBlock(), createElementBlock("div", {
1686
+ class: normalizeClass([unref(ns).b("spinner"), {
1687
+ "has-seconds": _ctx.showSeconds
1688
+ }])
1689
+ }, [!_ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, {
1690
+ key: 0
1691
+ }, renderList(unref(spinnerItems), item => {
1692
+ return openBlock(), createBlock(unref(ElScrollbar), {
1693
+ key: item,
1694
+ ref_for: true,
1695
+ ref: scrollbar => setRef(scrollbar, item),
1696
+ class: normalizeClass(unref(ns).be("spinner", "wrapper")),
1697
+ "wrap-style": "max-height: inherit;",
1698
+ "view-class": unref(ns).be("spinner", "list"),
1699
+ noresize: "",
1700
+ tag: "ul",
1701
+ onMouseenter: $event => emitSelectRange(item),
1702
+ onMousemove: $event => adjustCurrentSpinner(item)
1703
+ }, {
1704
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(timeList)[item], (disabled, key) => {
1705
+ return openBlock(), createElementBlock("li", {
1706
+ key,
1707
+ class: normalizeClass([unref(ns).be("spinner", "item"), unref(ns).is("active", key === unref(timePartials)[item]), unref(ns).is("disabled", disabled)]),
1708
+ onClick: $event => handleClick(item, {
1709
+ value: key,
1710
+ disabled
1711
+ })
1712
+ }, [item === "hours" ? (openBlock(), createElementBlock(Fragment, {
1713
+ key: 0
1714
+ }, [createTextVNode(toDisplayString(("0" + (_ctx.amPmMode ? key % 12 || 12 : key)).slice(-2)) + toDisplayString(getAmPmFlag(key)), 1)], 64)) : (openBlock(), createElementBlock(Fragment, {
1715
+ key: 1
1716
+ }, [createTextVNode(toDisplayString(("0" + key).slice(-2)), 1)], 64))], 10, _hoisted_1$6);
1717
+ }), 128))]),
1718
+ _: 2
1719
+ }, 1032, ["class", "view-class", "onMouseenter", "onMousemove"]);
1720
+ }), 128)) : createCommentVNode("v-if", true), _ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, {
1721
+ key: 1
1722
+ }, renderList(unref(spinnerItems), item => {
1723
+ return openBlock(), createElementBlock("div", {
1724
+ key: item,
1725
+ class: normalizeClass([unref(ns).be("spinner", "wrapper"), unref(ns).is("arrow")]),
1726
+ onMouseenter: $event => emitSelectRange(item)
1727
+ }, [withDirectives((openBlock(), createBlock(unref(ElIcon), {
1728
+ class: normalizeClass(["arrow-up", unref(ns).be("spinner", "arrow")])
1729
+ }, {
1730
+ default: withCtx(() => [createVNode(unref(arrow_up_default))]),
1731
+ _: 1
1732
+ }, 8, ["class"])), [[unref(vRepeatClick), onDecrement]]), withDirectives((openBlock(), createBlock(unref(ElIcon), {
1733
+ class: normalizeClass(["arrow-down", unref(ns).be("spinner", "arrow")])
1734
+ }, {
1735
+ default: withCtx(() => [createVNode(unref(arrow_down_default))]),
1736
+ _: 1
1737
+ }, 8, ["class"])), [[unref(vRepeatClick), onIncrement]]), createBaseVNode("ul", {
1738
+ class: normalizeClass(unref(ns).be("spinner", "list"))
1739
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(arrowControlTimeList)[item], (time, key) => {
1740
+ return openBlock(), createElementBlock("li", {
1741
+ key,
1742
+ class: normalizeClass([unref(ns).be("spinner", "item"), unref(ns).is("active", time === unref(timePartials)[item]), unref(ns).is("disabled", unref(timeList)[item][time])])
1743
+ }, [typeof time === "number" ? (openBlock(), createElementBlock(Fragment, {
1744
+ key: 0
1745
+ }, [item === "hours" ? (openBlock(), createElementBlock(Fragment, {
1746
+ key: 0
1747
+ }, [createTextVNode(toDisplayString(("0" + (_ctx.amPmMode ? time % 12 || 12 : time)).slice(-2)) + toDisplayString(getAmPmFlag(time)), 1)], 64)) : (openBlock(), createElementBlock(Fragment, {
1748
+ key: 1
1749
+ }, [createTextVNode(toDisplayString(("0" + time).slice(-2)), 1)], 64))], 64)) : createCommentVNode("v-if", true)], 2);
1750
+ }), 128))], 2)], 42, _hoisted_2$6);
1751
+ }), 128)) : createCommentVNode("v-if", true)], 2);
1752
+ };
1753
+ }
1754
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]); //#endregion
1755
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/time-picker/src/time-picker-com/panel-time-pick.mjs
1756
+ import_dayjs_min$9 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
1757
+ TimePickPanel = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
1758
+ __name: "panel-time-pick",
1759
+ props: panelTimePickerProps,
1760
+ emits: ["pick", "select-range", "set-picker-option"],
1761
+ setup(__props, {
1762
+ emit
1763
+ }) {
1764
+ const props = __props;
1765
+ const {
1766
+ arrowControl,
1767
+ disabledHours,
1768
+ disabledMinutes,
1769
+ disabledSeconds,
1770
+ defaultValue
1771
+ } = inject("EP_PICKER_BASE").props;
1772
+ const {
1773
+ getAvailableHours,
1774
+ getAvailableMinutes,
1775
+ getAvailableSeconds
1776
+ } = buildAvailableTimeSlotGetter(disabledHours, disabledMinutes, disabledSeconds);
1777
+ const ns = useNamespace("time");
1778
+ const {
1779
+ t,
1780
+ lang
1781
+ } = useLocale();
1782
+ const selectionRange = ref([0, 2]);
1783
+ const oldValue = useOldValue(props);
1784
+ const transitionName = computed(() => {
1785
+ return isUndefined(props.actualVisible) ? `${ns.namespace.value}-zoom-in-top` : "";
1786
+ });
1787
+ const showSeconds = computed(() => {
1788
+ return props.format.includes("ss");
1789
+ });
1790
+ const amPmMode = computed(() => {
1791
+ if (props.format.includes("A")) return "A";
1792
+ if (props.format.includes("a")) return "a";
1793
+ return "";
1794
+ });
1795
+ const isValidValue = _date => {
1796
+ const parsedDate = (0, import_dayjs_min$9.default)(_date).locale(lang.value);
1797
+ const result = getRangeAvailableTime(parsedDate);
1798
+ return parsedDate.isSame(result);
1799
+ };
1800
+ const handleCancel = () => {
1801
+ emit("pick", oldValue.value, false);
1802
+ };
1803
+ const handleConfirm = (visible = false, first = false) => {
1804
+ if (first) return;
1805
+ emit("pick", props.parsedValue, visible);
1806
+ };
1807
+ const handleChange = _date => {
1808
+ if (!props.visible) return;
1809
+ emit("pick", getRangeAvailableTime(_date).millisecond(0), true);
1810
+ };
1811
+ const setSelectionRange = (start, end) => {
1812
+ emit("select-range", start, end);
1813
+ selectionRange.value = [start, end];
1814
+ };
1815
+ const changeSelectionRange = step => {
1816
+ const list = [0, 3].concat(showSeconds.value ? [6] : []);
1817
+ const mapping = ["hours", "minutes"].concat(showSeconds.value ? ["seconds"] : []);
1818
+ const next = (list.indexOf(selectionRange.value[0]) + step + list.length) % list.length;
1819
+ timePickerOptions["start_emitSelectRange"](mapping[next]);
1820
+ };
1821
+ const handleKeydown = event => {
1822
+ const code = event.code;
1823
+ const {
1824
+ left,
1825
+ right,
1826
+ up,
1827
+ down
1828
+ } = EVENT_CODE;
1829
+ if ([left, right].includes(code)) {
1830
+ changeSelectionRange(code === left ? -1 : 1);
1831
+ event.preventDefault();
1832
+ return;
1833
+ }
1834
+ if ([up, down].includes(code)) {
1835
+ const step = code === up ? -1 : 1;
1836
+ timePickerOptions["start_scrollDown"](step);
1837
+ event.preventDefault();
1838
+ return;
1839
+ }
1840
+ };
1841
+ const {
1842
+ timePickerOptions,
1843
+ onSetOption,
1844
+ getAvailableTime
1845
+ } = useTimePanel({
1846
+ getAvailableHours,
1847
+ getAvailableMinutes,
1848
+ getAvailableSeconds
1849
+ });
1850
+ const getRangeAvailableTime = date$1 => {
1851
+ return getAvailableTime(date$1, props.datetimeRole || "", true);
1852
+ };
1853
+ const parseUserInput = value => {
1854
+ if (!value) return null;
1855
+ return (0, import_dayjs_min$9.default)(value, props.format).locale(lang.value);
1856
+ };
1857
+ const formatToString = value => {
1858
+ if (!value) return null;
1859
+ return value.format(props.format);
1860
+ };
1861
+ const getDefaultValue$1 = () => {
1862
+ return (0, import_dayjs_min$9.default)(defaultValue).locale(lang.value);
1863
+ };
1864
+ emit("set-picker-option", ["isValidValue", isValidValue]);
1865
+ emit("set-picker-option", ["formatToString", formatToString]);
1866
+ emit("set-picker-option", ["parseUserInput", parseUserInput]);
1867
+ emit("set-picker-option", ["handleKeydownInput", handleKeydown]);
1868
+ emit("set-picker-option", ["getRangeAvailableTime", getRangeAvailableTime]);
1869
+ emit("set-picker-option", ["getDefaultValue", getDefaultValue$1]);
1870
+ return (_ctx, _cache) => {
1871
+ return openBlock(), createBlock(Transition, {
1872
+ name: unref(transitionName)
1873
+ }, {
1874
+ default: withCtx(() => [_ctx.actualVisible || _ctx.visible ? (openBlock(), createElementBlock("div", {
1875
+ key: 0,
1876
+ class: normalizeClass(unref(ns).b("panel"))
1877
+ }, [createBaseVNode("div", {
1878
+ class: normalizeClass([unref(ns).be("panel", "content"), {
1879
+ "has-seconds": unref(showSeconds)
1880
+ }])
1881
+ }, [createVNode(TimeSpinner, {
1882
+ ref: "spinner",
1883
+ role: _ctx.datetimeRole || "start",
1884
+ "arrow-control": unref(arrowControl),
1885
+ "show-seconds": unref(showSeconds),
1886
+ "am-pm-mode": unref(amPmMode),
1887
+ "spinner-date": _ctx.parsedValue,
1888
+ "disabled-hours": unref(disabledHours),
1889
+ "disabled-minutes": unref(disabledMinutes),
1890
+ "disabled-seconds": unref(disabledSeconds),
1891
+ onChange: handleChange,
1892
+ onSetOption: unref(onSetOption),
1893
+ onSelectRange: setSelectionRange
1894
+ }, null, 8, ["role", "arrow-control", "show-seconds", "am-pm-mode", "spinner-date", "disabled-hours", "disabled-minutes", "disabled-seconds", "onSetOption"])], 2), createBaseVNode("div", {
1895
+ class: normalizeClass(unref(ns).be("panel", "footer"))
1896
+ }, [createBaseVNode("button", {
1897
+ type: "button",
1898
+ class: normalizeClass([unref(ns).be("panel", "btn"), "cancel"]),
1899
+ onClick: handleCancel
1900
+ }, toDisplayString(unref(t)("el.datepicker.cancel")), 3), createBaseVNode("button", {
1901
+ type: "button",
1902
+ class: normalizeClass([unref(ns).be("panel", "btn"), "confirm"]),
1903
+ onClick: _cache[0] || (_cache[0] = $event => handleConfirm())
1904
+ }, toDisplayString(unref(t)("el.datepicker.confirm")), 3)], 2)], 2)) : createCommentVNode("v-if", true)]),
1905
+ _: 1
1906
+ }, 8, ["name"]);
1907
+ };
1908
+ }
1909
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]); //#endregion
1910
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/localeData.js
1911
+ require_localeData = /* @__PURE__ */__commonJS({
1912
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/localeData.js": (exports, module) => {
1913
+ (function (n, e) {
1914
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (n = "undefined" != typeof globalThis ? globalThis : n || self).dayjs_plugin_localeData = e();
1915
+ })(exports, function () {
1916
+ return function (n, e, t) {
1917
+ var r = e.prototype,
1918
+ o = function (n$1) {
1919
+ return n$1 && (n$1.indexOf ? n$1 : n$1.s);
1920
+ },
1921
+ u = function (n$1, e$1, t$1, r$1, u$1) {
1922
+ var i$1 = n$1.name ? n$1 : n$1.$locale(),
1923
+ a$1 = o(i$1[e$1]),
1924
+ s$1 = o(i$1[t$1]),
1925
+ f = a$1 || s$1.map(function (n$2) {
1926
+ return n$2.slice(0, r$1);
1927
+ });
1928
+ if (!u$1) return f;
1929
+ var d = i$1.weekStart;
1930
+ return f.map(function (n$2, e$2) {
1931
+ return f[(e$2 + (d || 0)) % 7];
1932
+ });
1933
+ },
1934
+ i = function () {
1935
+ return t.Ls[t.locale()];
1936
+ },
1937
+ a = function (n$1, e$1) {
1938
+ return n$1.formats[e$1] || function (n$2) {
1939
+ return n$2.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (n$3, e$2, t$1) {
1940
+ return e$2 || t$1.slice(1);
1941
+ });
1942
+ }(n$1.formats[e$1.toUpperCase()]);
1943
+ },
1944
+ s = function () {
1945
+ var n$1 = this;
1946
+ return {
1947
+ months: function (e$1) {
1948
+ return e$1 ? e$1.format("MMMM") : u(n$1, "months");
1949
+ },
1950
+ monthsShort: function (e$1) {
1951
+ return e$1 ? e$1.format("MMM") : u(n$1, "monthsShort", "months", 3);
1952
+ },
1953
+ firstDayOfWeek: function () {
1954
+ return n$1.$locale().weekStart || 0;
1955
+ },
1956
+ weekdays: function (e$1) {
1957
+ return e$1 ? e$1.format("dddd") : u(n$1, "weekdays");
1958
+ },
1959
+ weekdaysMin: function (e$1) {
1960
+ return e$1 ? e$1.format("dd") : u(n$1, "weekdaysMin", "weekdays", 2);
1961
+ },
1962
+ weekdaysShort: function (e$1) {
1963
+ return e$1 ? e$1.format("ddd") : u(n$1, "weekdaysShort", "weekdays", 3);
1964
+ },
1965
+ longDateFormat: function (e$1) {
1966
+ return a(n$1.$locale(), e$1);
1967
+ },
1968
+ meridiem: this.$locale().meridiem,
1969
+ ordinal: this.$locale().ordinal
1970
+ };
1971
+ };
1972
+ r.localeData = function () {
1973
+ return s.bind(this)();
1974
+ }, t.localeData = function () {
1975
+ var n$1 = i();
1976
+ return {
1977
+ firstDayOfWeek: function () {
1978
+ return n$1.weekStart || 0;
1979
+ },
1980
+ weekdays: function () {
1981
+ return t.weekdays();
1982
+ },
1983
+ weekdaysShort: function () {
1984
+ return t.weekdaysShort();
1985
+ },
1986
+ weekdaysMin: function () {
1987
+ return t.weekdaysMin();
1988
+ },
1989
+ months: function () {
1990
+ return t.months();
1991
+ },
1992
+ monthsShort: function () {
1993
+ return t.monthsShort();
1994
+ },
1995
+ longDateFormat: function (e$1) {
1996
+ return a(n$1, e$1);
1997
+ },
1998
+ meridiem: n$1.meridiem,
1999
+ ordinal: n$1.ordinal
2000
+ };
2001
+ }, t.months = function () {
2002
+ return u(i(), "months");
2003
+ }, t.monthsShort = function () {
2004
+ return u(i(), "monthsShort", "months", 3);
2005
+ }, t.weekdays = function (n$1) {
2006
+ return u(i(), "weekdays", null, null, n$1);
2007
+ }, t.weekdaysShort = function (n$1) {
2008
+ return u(i(), "weekdaysShort", "weekdays", 3, n$1);
2009
+ }, t.weekdaysMin = function (n$1) {
2010
+ return u(i(), "weekdaysMin", "weekdays", 2, n$1);
2011
+ };
2012
+ };
2013
+ });
2014
+ }
2015
+ }); //#endregion
2016
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/advancedFormat.js
2017
+ require_advancedFormat = /* @__PURE__ */__commonJS({
2018
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/advancedFormat.js": (exports, module) => {
2019
+ (function (e, t) {
2020
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_advancedFormat = t();
2021
+ })(exports, function () {
2022
+ return function (e, t) {
2023
+ var r = t.prototype,
2024
+ n = r.format;
2025
+ r.format = function (e$1) {
2026
+ var t$1 = this,
2027
+ r$1 = this.$locale();
2028
+ if (!this.isValid()) return n.bind(this)(e$1);
2029
+ var s = this.$utils(),
2030
+ a = (e$1 || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function (e$2) {
2031
+ switch (e$2) {
2032
+ case "Q":
2033
+ return Math.ceil((t$1.$M + 1) / 3);
2034
+ case "Do":
2035
+ return r$1.ordinal(t$1.$D);
2036
+ case "gggg":
2037
+ return t$1.weekYear();
2038
+ case "GGGG":
2039
+ return t$1.isoWeekYear();
2040
+ case "wo":
2041
+ return r$1.ordinal(t$1.week(), "W");
2042
+ case "w":
2043
+ case "ww":
2044
+ return s.s(t$1.week(), "w" === e$2 ? 1 : 2, "0");
2045
+ case "W":
2046
+ case "WW":
2047
+ return s.s(t$1.isoWeek(), "W" === e$2 ? 1 : 2, "0");
2048
+ case "k":
2049
+ case "kk":
2050
+ return s.s(String(0 === t$1.$H ? 24 : t$1.$H), "k" === e$2 ? 1 : 2, "0");
2051
+ case "X":
2052
+ return Math.floor(t$1.$d.getTime() / 1e3);
2053
+ case "x":
2054
+ return t$1.$d.getTime();
2055
+ case "z":
2056
+ return "[" + t$1.offsetName() + "]";
2057
+ case "zzz":
2058
+ return "[" + t$1.offsetName("long") + "]";
2059
+ default:
2060
+ return e$2;
2061
+ }
2062
+ });
2063
+ return n.bind(this)(a);
2064
+ };
2065
+ };
2066
+ });
2067
+ }
2068
+ }); //#endregion
2069
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/weekOfYear.js
2070
+ require_weekOfYear = /* @__PURE__ */__commonJS({
2071
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/weekOfYear.js": (exports, module) => {
2072
+ (function (e, t) {
2073
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekOfYear = t();
2074
+ })(exports, function () {
2075
+ var e = "week",
2076
+ t = "year";
2077
+ return function (i, n, r) {
2078
+ var f = n.prototype;
2079
+ f.week = function (i$1) {
2080
+ if (void 0 === i$1 && (i$1 = null), null !== i$1) return this.add(7 * (i$1 - this.week()), "day");
2081
+ var n$1 = this.$locale().yearStart || 1;
2082
+ if (11 === this.month() && this.date() > 25) {
2083
+ var f$1 = r(this).startOf(t).add(1, t).date(n$1),
2084
+ s = r(this).endOf(e);
2085
+ if (f$1.isBefore(s)) return 1;
2086
+ }
2087
+ var a = r(this).startOf(t).date(n$1).startOf(e).subtract(1, "millisecond"),
2088
+ o = this.diff(a, e, !0);
2089
+ return o < 0 ? r(this).startOf("week").week() : Math.ceil(o);
2090
+ }, f.weeks = function (e$1) {
2091
+ return void 0 === e$1 && (e$1 = null), this.week(e$1);
2092
+ };
2093
+ };
2094
+ });
2095
+ }
2096
+ }); //#endregion
2097
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/weekYear.js
2098
+ require_weekYear = /* @__PURE__ */__commonJS({
2099
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/weekYear.js": (exports, module) => {
2100
+ (function (e, t) {
2101
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekYear = t();
2102
+ })(exports, function () {
2103
+ return function (e, t) {
2104
+ t.prototype.weekYear = function () {
2105
+ var e$1 = this.month(),
2106
+ t$1 = this.week(),
2107
+ n = this.year();
2108
+ return 1 === t$1 && 11 === e$1 ? n + 1 : 0 === e$1 && t$1 >= 52 ? n - 1 : n;
2109
+ };
2110
+ };
2111
+ });
2112
+ }
2113
+ }); //#endregion
2114
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/dayOfYear.js
2115
+ require_dayOfYear = /* @__PURE__ */__commonJS({
2116
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/dayOfYear.js": (exports, module) => {
2117
+ (function (e, t) {
2118
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_dayOfYear = t();
2119
+ })(exports, function () {
2120
+ return function (e, t, n) {
2121
+ t.prototype.dayOfYear = function (e$1) {
2122
+ var t$1 = Math.round((n(this).startOf("day") - n(this).startOf("year")) / 864e5) + 1;
2123
+ return null == e$1 ? t$1 : this.add(e$1 - t$1, "day");
2124
+ };
2125
+ };
2126
+ });
2127
+ }
2128
+ }); //#endregion
2129
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrAfter.js
2130
+ require_isSameOrAfter = /* @__PURE__ */__commonJS({
2131
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrAfter.js": (exports, module) => {
2132
+ (function (e, t) {
2133
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_isSameOrAfter = t();
2134
+ })(exports, function () {
2135
+ return function (e, t) {
2136
+ t.prototype.isSameOrAfter = function (e$1, t$1) {
2137
+ return this.isSame(e$1, t$1) || this.isAfter(e$1, t$1);
2138
+ };
2139
+ };
2140
+ });
2141
+ }
2142
+ }); //#endregion
2143
+ //#region ../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrBefore.js
2144
+ require_isSameOrBefore = /* @__PURE__ */__commonJS({
2145
+ "../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrBefore.js": (exports, module) => {
2146
+ (function (e, i) {
2147
+ "object" == typeof exports && "undefined" != typeof module ? module.exports = i() : "function" == typeof define && define.amd ? define(i) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_isSameOrBefore = i();
2148
+ })(exports, function () {
2149
+ return function (e, i) {
2150
+ i.prototype.isSameOrBefore = function (e$1, i$1) {
2151
+ return this.isSame(e$1, i$1) || this.isBefore(e$1, i$1);
2152
+ };
2153
+ };
2154
+ });
2155
+ }
2156
+ }); //#endregion
2157
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/constants.mjs
2158
+ ROOT_PICKER_INJECTION_KEY = Symbol(); //#endregion
2159
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/date-picker.mjs
2160
+ datePickerProps = buildProps({
2161
+ ...timePickerDefaultProps,
2162
+ type: {
2163
+ type: definePropType(String),
2164
+ default: "date"
2165
+ }
2166
+ }); //#endregion
2167
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/shared.mjs
2168
+ selectionModes = ["date", "dates", "year", "month", "week", "range"];
2169
+ datePickerSharedProps = buildProps({
2170
+ disabledDate: {
2171
+ type: definePropType(Function)
2172
+ },
2173
+ date: {
2174
+ type: definePropType(Object),
2175
+ required: true
2176
+ },
2177
+ minDate: {
2178
+ type: definePropType(Object)
2179
+ },
2180
+ maxDate: {
2181
+ type: definePropType(Object)
2182
+ },
2183
+ parsedValue: {
2184
+ type: definePropType([Object, Array])
2185
+ },
2186
+ rangeState: {
2187
+ type: definePropType(Object),
2188
+ default: () => ({
2189
+ endDate: null,
2190
+ selecting: false
2191
+ })
2192
+ }
2193
+ });
2194
+ panelSharedProps = buildProps({
2195
+ type: {
2196
+ type: definePropType(String),
2197
+ required: true,
2198
+ values: datePickTypes
2199
+ },
2200
+ dateFormat: String,
2201
+ timeFormat: String
2202
+ });
2203
+ panelRangeSharedProps = buildProps({
2204
+ unlinkPanels: Boolean,
2205
+ parsedValue: {
2206
+ type: definePropType(Array)
2207
+ }
2208
+ });
2209
+ selectionModeWithDefault = mode => {
2210
+ return {
2211
+ type: String,
2212
+ values: selectionModes,
2213
+ default: mode
2214
+ };
2215
+ }; //#endregion
2216
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/panel-date-pick.mjs
2217
+ panelDatePickProps = buildProps({
2218
+ ...panelSharedProps,
2219
+ parsedValue: {
2220
+ type: definePropType([Object, Array])
2221
+ },
2222
+ visible: {
2223
+ type: Boolean
2224
+ },
2225
+ format: {
2226
+ type: String,
2227
+ default: ""
2228
+ }
2229
+ }); //#endregion
2230
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/basic-date-table.mjs
2231
+ basicDateTableProps = buildProps({
2232
+ ...datePickerSharedProps,
2233
+ cellClassName: {
2234
+ type: definePropType(Function)
2235
+ },
2236
+ showWeekNumber: Boolean,
2237
+ selectionMode: selectionModeWithDefault("date")
2238
+ });
2239
+ basicDateTableEmits = ["changerange", "pick", "select"]; //#endregion
2240
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/utils.mjs
2241
+ import_dayjs_min$8 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
2242
+ init_shared_esm_bundler();
2243
+ isValidRange = range => {
2244
+ if (!isArray(range)) return false;
2245
+ const [left, right] = range;
2246
+ return import_dayjs_min$8.default.isDayjs(left) && import_dayjs_min$8.default.isDayjs(right) && left.isSameOrBefore(right);
2247
+ };
2248
+ getDefaultValue = (defaultValue, {
2249
+ lang,
2250
+ unit: unit$2,
2251
+ unlinkPanels
2252
+ }) => {
2253
+ let start;
2254
+ if (isArray(defaultValue)) {
2255
+ let [left, right] = defaultValue.map(d => (0, import_dayjs_min$8.default)(d).locale(lang));
2256
+ if (!unlinkPanels) right = left.add(1, unit$2);
2257
+ return [left, right];
2258
+ } else if (defaultValue) start = (0, import_dayjs_min$8.default)(defaultValue);else start = (0, import_dayjs_min$8.default)();
2259
+ start = start.locale(lang);
2260
+ return [start, start.add(1, unit$2)];
2261
+ };
2262
+ buildPickerTable = (dimension, rows, {
2263
+ columnIndexOffset,
2264
+ startDate,
2265
+ nextEndDate,
2266
+ now,
2267
+ unit: unit$2,
2268
+ relativeDateGetter,
2269
+ setCellMetadata,
2270
+ setRowMetadata
2271
+ }) => {
2272
+ for (let rowIndex = 0; rowIndex < dimension.row; rowIndex++) {
2273
+ const row = rows[rowIndex];
2274
+ for (let columnIndex = 0; columnIndex < dimension.column; columnIndex++) {
2275
+ let cell = row[columnIndex + columnIndexOffset];
2276
+ if (!cell) cell = {
2277
+ row: rowIndex,
2278
+ column: columnIndex,
2279
+ type: "normal",
2280
+ inRange: false,
2281
+ start: false,
2282
+ end: false
2283
+ };
2284
+ const nextStartDate = relativeDateGetter(rowIndex * dimension.column + columnIndex);
2285
+ cell.dayjs = nextStartDate;
2286
+ cell.date = nextStartDate.toDate();
2287
+ cell.timestamp = nextStartDate.valueOf();
2288
+ cell.type = "normal";
2289
+ cell.inRange = !!(startDate && nextStartDate.isSameOrAfter(startDate, unit$2) && nextEndDate && nextStartDate.isSameOrBefore(nextEndDate, unit$2)) || !!(startDate && nextStartDate.isSameOrBefore(startDate, unit$2) && nextEndDate && nextStartDate.isSameOrAfter(nextEndDate, unit$2));
2290
+ if (startDate == null ? void 0 : startDate.isSameOrAfter(nextEndDate)) {
2291
+ cell.start = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit$2);
2292
+ cell.end = startDate && nextStartDate.isSame(startDate, unit$2);
2293
+ } else {
2294
+ cell.start = !!startDate && nextStartDate.isSame(startDate, unit$2);
2295
+ cell.end = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit$2);
2296
+ }
2297
+ if (nextStartDate.isSame(now, unit$2)) cell.type = "today";
2298
+ setCellMetadata?.(cell, {
2299
+ rowIndex,
2300
+ columnIndex
2301
+ });
2302
+ row[columnIndex + columnIndexOffset] = cell;
2303
+ }
2304
+ setRowMetadata?.(row);
2305
+ }
2306
+ }; //#endregion
2307
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/composables/use-basic-date-table.mjs
2308
+ import_dayjs_min$7 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
2309
+ isNormalDay = (type = "") => {
2310
+ return ["normal", "today"].includes(type);
2311
+ };
2312
+ useBasicDateTable = (props, emit) => {
2313
+ const {
2314
+ lang
2315
+ } = useLocale();
2316
+ const tbodyRef = ref();
2317
+ const currentCellRef = ref();
2318
+ const lastRow = ref();
2319
+ const lastColumn = ref();
2320
+ const tableRows = ref([[], [], [], [], [], []]);
2321
+ let focusWithClick = false;
2322
+ const firstDayOfWeek = props.date.$locale().weekStart || 7;
2323
+ const WEEKS_CONSTANT = props.date.locale("en").localeData().weekdaysShort().map(_ => _.toLowerCase());
2324
+ const offsetDay = computed(() => {
2325
+ return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek;
2326
+ });
2327
+ const startDate = computed(() => {
2328
+ const startDayOfMonth = props.date.startOf("month");
2329
+ return startDayOfMonth.subtract(startDayOfMonth.day() || 7, "day");
2330
+ });
2331
+ const WEEKS = computed(() => {
2332
+ return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(firstDayOfWeek, firstDayOfWeek + 7);
2333
+ });
2334
+ const hasCurrent = computed(() => {
2335
+ return flatten_default(unref(rows)).some(row => {
2336
+ return row.isCurrent;
2337
+ });
2338
+ });
2339
+ const days = computed(() => {
2340
+ const startOfMonth = props.date.startOf("month");
2341
+ return {
2342
+ startOfMonthDay: startOfMonth.day() || 7,
2343
+ dateCountOfMonth: startOfMonth.daysInMonth(),
2344
+ dateCountOfLastMonth: startOfMonth.subtract(1, "month").daysInMonth()
2345
+ };
2346
+ });
2347
+ const selectedDate = computed(() => {
2348
+ return props.selectionMode === "dates" ? castArray(props.parsedValue) : [];
2349
+ });
2350
+ const setDateText = (cell, {
2351
+ count,
2352
+ rowIndex,
2353
+ columnIndex
2354
+ }) => {
2355
+ const {
2356
+ startOfMonthDay,
2357
+ dateCountOfMonth,
2358
+ dateCountOfLastMonth
2359
+ } = unref(days);
2360
+ const offset = unref(offsetDay);
2361
+ if (rowIndex >= 0 && rowIndex <= 1) {
2362
+ const numberOfDaysFromPreviousMonth = startOfMonthDay + offset < 0 ? 7 + startOfMonthDay + offset : startOfMonthDay + offset;
2363
+ if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {
2364
+ cell.text = count;
2365
+ return true;
2366
+ } else {
2367
+ cell.text = dateCountOfLastMonth - (numberOfDaysFromPreviousMonth - columnIndex % 7) + 1 + rowIndex * 7;
2368
+ cell.type = "prev-month";
2369
+ }
2370
+ } else {
2371
+ if (count <= dateCountOfMonth) cell.text = count;else {
2372
+ cell.text = count - dateCountOfMonth;
2373
+ cell.type = "next-month";
2374
+ }
2375
+ return true;
2376
+ }
2377
+ return false;
2378
+ };
2379
+ const setCellMetadata = (cell, {
2380
+ columnIndex,
2381
+ rowIndex
2382
+ }, count) => {
2383
+ const {
2384
+ disabledDate: disabledDate$1,
2385
+ cellClassName
2386
+ } = props;
2387
+ const _selectedDate = unref(selectedDate);
2388
+ const shouldIncrement = setDateText(cell, {
2389
+ count,
2390
+ rowIndex,
2391
+ columnIndex
2392
+ });
2393
+ const cellDate = cell.dayjs.toDate();
2394
+ cell.selected = _selectedDate.find(d => d.valueOf() === cell.dayjs.valueOf());
2395
+ cell.isSelected = !!cell.selected;
2396
+ cell.isCurrent = isCurrent(cell);
2397
+ cell.disabled = disabledDate$1 == null ? void 0 : disabledDate$1(cellDate);
2398
+ cell.customClass = cellClassName == null ? void 0 : cellClassName(cellDate);
2399
+ return shouldIncrement;
2400
+ };
2401
+ const setRowMetadata = row => {
2402
+ if (props.selectionMode === "week") {
2403
+ const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6];
2404
+ const isActive = isWeekActive(row[start + 1]);
2405
+ row[start].inRange = isActive;
2406
+ row[start].start = isActive;
2407
+ row[end].inRange = isActive;
2408
+ row[end].end = isActive;
2409
+ }
2410
+ };
2411
+ const rows = computed(() => {
2412
+ const {
2413
+ minDate,
2414
+ maxDate,
2415
+ rangeState,
2416
+ showWeekNumber
2417
+ } = props;
2418
+ const offset = unref(offsetDay);
2419
+ const rows_ = unref(tableRows);
2420
+ const dateUnit = "day";
2421
+ let count = 1;
2422
+ if (showWeekNumber) {
2423
+ for (let rowIndex = 0; rowIndex < 6; rowIndex++) if (!rows_[rowIndex][0]) rows_[rowIndex][0] = {
2424
+ type: "week",
2425
+ text: unref(startDate).add(rowIndex * 7 + 1, dateUnit).week()
2426
+ };
2427
+ }
2428
+ buildPickerTable({
2429
+ row: 6,
2430
+ column: 7
2431
+ }, rows_, {
2432
+ startDate: minDate,
2433
+ columnIndexOffset: showWeekNumber ? 1 : 0,
2434
+ nextEndDate: rangeState.endDate || maxDate || rangeState.selecting && minDate || null,
2435
+ now: (0, import_dayjs_min$7.default)().locale(unref(lang)).startOf(dateUnit),
2436
+ unit: dateUnit,
2437
+ relativeDateGetter: idx => unref(startDate).add(idx - offset, dateUnit),
2438
+ setCellMetadata: (...args) => {
2439
+ if (setCellMetadata(...args, count)) count += 1;
2440
+ },
2441
+ setRowMetadata
2442
+ });
2443
+ return rows_;
2444
+ });
2445
+ watch(() => props.date, async () => {
2446
+ var _a;
2447
+ if ((_a = unref(tbodyRef)) == null ? void 0 : _a.contains(document.activeElement)) {
2448
+ await nextTick();
2449
+ await focus();
2450
+ }
2451
+ });
2452
+ const focus = async () => {
2453
+ var _a;
2454
+ return (_a = unref(currentCellRef)) == null ? void 0 : _a.focus();
2455
+ };
2456
+ const isCurrent = cell => {
2457
+ return props.selectionMode === "date" && isNormalDay(cell.type) && cellMatchesDate(cell, props.parsedValue);
2458
+ };
2459
+ const cellMatchesDate = (cell, date$1) => {
2460
+ if (!date$1) return false;
2461
+ return (0, import_dayjs_min$7.default)(date$1).locale(unref(lang)).isSame(props.date.date(Number(cell.text)), "day");
2462
+ };
2463
+ const getDateOfCell = (row, column) => {
2464
+ const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0)) - unref(offsetDay);
2465
+ return unref(startDate).add(offsetFromStart, "day");
2466
+ };
2467
+ const handleMouseMove = event => {
2468
+ var _a;
2469
+ if (!props.rangeState.selecting) return;
2470
+ let target = event.target;
2471
+ if (target.tagName === "SPAN") target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;
2472
+ if (target.tagName === "DIV") target = target.parentNode;
2473
+ if (target.tagName !== "TD") return;
2474
+ const row = target.parentNode.rowIndex - 1;
2475
+ const column = target.cellIndex;
2476
+ if (unref(rows)[row][column].disabled) return;
2477
+ if (row !== unref(lastRow) || column !== unref(lastColumn)) {
2478
+ lastRow.value = row;
2479
+ lastColumn.value = column;
2480
+ emit("changerange", {
2481
+ selecting: true,
2482
+ endDate: getDateOfCell(row, column)
2483
+ });
2484
+ }
2485
+ };
2486
+ const isSelectedCell = cell => {
2487
+ return !unref(hasCurrent) && (cell == null ? void 0 : cell.text) === 1 && cell.type === "normal" || cell.isCurrent;
2488
+ };
2489
+ const handleFocus = event => {
2490
+ if (focusWithClick || unref(hasCurrent) || props.selectionMode !== "date") return;
2491
+ handlePickDate(event, true);
2492
+ };
2493
+ const handleMouseDown = event => {
2494
+ if (!event.target.closest("td")) return;
2495
+ focusWithClick = true;
2496
+ };
2497
+ const handleMouseUp = event => {
2498
+ if (!event.target.closest("td")) return;
2499
+ focusWithClick = false;
2500
+ };
2501
+ const handleRangePick = newDate => {
2502
+ if (!props.rangeState.selecting || !props.minDate) {
2503
+ emit("pick", {
2504
+ minDate: newDate,
2505
+ maxDate: null
2506
+ });
2507
+ emit("select", true);
2508
+ } else {
2509
+ if (newDate >= props.minDate) emit("pick", {
2510
+ minDate: props.minDate,
2511
+ maxDate: newDate
2512
+ });else emit("pick", {
2513
+ minDate: newDate,
2514
+ maxDate: props.minDate
2515
+ });
2516
+ emit("select", false);
2517
+ }
2518
+ };
2519
+ const handleWeekPick = newDate => {
2520
+ const weekNumber = newDate.week();
2521
+ const value = `${newDate.year()}w${weekNumber}`;
2522
+ emit("pick", {
2523
+ year: newDate.year(),
2524
+ week: weekNumber,
2525
+ value,
2526
+ date: newDate.startOf("week")
2527
+ });
2528
+ };
2529
+ const handleDatesPick = (newDate, selected) => {
2530
+ emit("pick", selected ? castArray(props.parsedValue).filter(d => (d == null ? void 0 : d.valueOf()) !== newDate.valueOf()) : castArray(props.parsedValue).concat([newDate]));
2531
+ };
2532
+ const handlePickDate = (event, isKeyboardMovement = false) => {
2533
+ const target = event.target.closest("td");
2534
+ if (!target) return;
2535
+ const row = target.parentNode.rowIndex - 1;
2536
+ const column = target.cellIndex;
2537
+ const cell = unref(rows)[row][column];
2538
+ if (cell.disabled || cell.type === "week") return;
2539
+ const newDate = getDateOfCell(row, column);
2540
+ switch (props.selectionMode) {
2541
+ case "range":
2542
+ handleRangePick(newDate);
2543
+ break;
2544
+ case "date":
2545
+ emit("pick", newDate, isKeyboardMovement);
2546
+ break;
2547
+ case "week":
2548
+ handleWeekPick(newDate);
2549
+ break;
2550
+ case "dates":
2551
+ handleDatesPick(newDate, !!cell.selected);
2552
+ break;
2553
+ default:
2554
+ break;
2555
+ }
2556
+ };
2557
+ const isWeekActive = cell => {
2558
+ if (props.selectionMode !== "week") return false;
2559
+ let newDate = props.date.startOf("day");
2560
+ if (cell.type === "prev-month") newDate = newDate.subtract(1, "month");
2561
+ if (cell.type === "next-month") newDate = newDate.add(1, "month");
2562
+ newDate = newDate.date(Number.parseInt(cell.text, 10));
2563
+ if (props.parsedValue && !Array.isArray(props.parsedValue)) {
2564
+ const dayOffset = (props.parsedValue.day() - firstDayOfWeek + 7) % 7 - 1;
2565
+ return props.parsedValue.subtract(dayOffset, "day").isSame(newDate, "day");
2566
+ }
2567
+ return false;
2568
+ };
2569
+ return {
2570
+ WEEKS,
2571
+ rows,
2572
+ tbodyRef,
2573
+ currentCellRef,
2574
+ focus,
2575
+ isCurrent,
2576
+ isWeekActive,
2577
+ isSelectedCell,
2578
+ handlePickDate,
2579
+ handleMouseUp,
2580
+ handleMouseDown,
2581
+ handleMouseMove,
2582
+ handleFocus
2583
+ };
2584
+ };
2585
+ useBasicDateTableDOM = (props, {
2586
+ isCurrent,
2587
+ isWeekActive
2588
+ }) => {
2589
+ const ns = useNamespace("date-table");
2590
+ const {
2591
+ t
2592
+ } = useLocale();
2593
+ const tableKls = computed(() => [ns.b(), {
2594
+ "is-week-mode": props.selectionMode === "week"
2595
+ }]);
2596
+ const tableLabel = computed(() => t("el.datepicker.dateTablePrompt"));
2597
+ const weekLabel = computed(() => t("el.datepicker.week"));
2598
+ const getCellClasses = cell => {
2599
+ const classes = [];
2600
+ if (isNormalDay(cell.type) && !cell.disabled) {
2601
+ classes.push("available");
2602
+ if (cell.type === "today") classes.push("today");
2603
+ } else classes.push(cell.type);
2604
+ if (isCurrent(cell)) classes.push("current");
2605
+ if (cell.inRange && (isNormalDay(cell.type) || props.selectionMode === "week")) {
2606
+ classes.push("in-range");
2607
+ if (cell.start) classes.push("start-date");
2608
+ if (cell.end) classes.push("end-date");
2609
+ }
2610
+ if (cell.disabled) classes.push("disabled");
2611
+ if (cell.selected) classes.push("selected");
2612
+ if (cell.customClass) classes.push(cell.customClass);
2613
+ return classes.join(" ");
2614
+ };
2615
+ const getRowKls = cell => [ns.e("row"), {
2616
+ current: isWeekActive(cell)
2617
+ }];
2618
+ return {
2619
+ tableKls,
2620
+ tableLabel,
2621
+ weekLabel,
2622
+ getCellClasses,
2623
+ getRowKls,
2624
+ t
2625
+ };
2626
+ }; //#endregion
2627
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/basic-cell.mjs
2628
+ basicCellProps = buildProps({
2629
+ cell: {
2630
+ type: definePropType(Object)
2631
+ }
2632
+ }); //#endregion
2633
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs
2634
+ ElDatePickerCell = defineComponent({
2635
+ name: "ElDatePickerCell",
2636
+ props: basicCellProps,
2637
+ setup(props) {
2638
+ const ns = useNamespace("date-table-cell");
2639
+ const {
2640
+ slots
2641
+ } = inject(ROOT_PICKER_INJECTION_KEY);
2642
+ return () => {
2643
+ const {
2644
+ cell
2645
+ } = props;
2646
+ if (slots.default) {
2647
+ const list = slots.default(cell).filter(item => {
2648
+ return item.patchFlag !== -2 && item.type.toString() !== "Symbol(Comment)" && item.type.toString() !== "Symbol(v-cmt)";
2649
+ });
2650
+ if (list.length) return list;
2651
+ }
2652
+ return createVNode("div", {
2653
+ "class": ns.b()
2654
+ }, [createVNode("span", {
2655
+ "class": ns.e("text")
2656
+ }, [cell == null ? void 0 : cell.text])]);
2657
+ };
2658
+ }
2659
+ }); //#endregion
2660
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-date-table.mjs
2661
+ _hoisted_1$5 = ["aria-label"];
2662
+ _hoisted_2$5 = {
2663
+ key: 0,
2664
+ scope: "col"
2665
+ };
2666
+ _hoisted_3$5 = ["aria-label"];
2667
+ _hoisted_4$3 = ["aria-current", "aria-selected", "tabindex"];
2668
+ DateTable = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
2669
+ __name: "basic-date-table",
2670
+ props: basicDateTableProps,
2671
+ emits: basicDateTableEmits,
2672
+ setup(__props, {
2673
+ expose,
2674
+ emit
2675
+ }) {
2676
+ const props = __props;
2677
+ const {
2678
+ WEEKS,
2679
+ rows,
2680
+ tbodyRef,
2681
+ currentCellRef,
2682
+ focus,
2683
+ isCurrent,
2684
+ isWeekActive,
2685
+ isSelectedCell,
2686
+ handlePickDate,
2687
+ handleMouseUp,
2688
+ handleMouseDown,
2689
+ handleMouseMove,
2690
+ handleFocus
2691
+ } = useBasicDateTable(props, emit);
2692
+ const {
2693
+ tableLabel,
2694
+ tableKls,
2695
+ weekLabel,
2696
+ getCellClasses,
2697
+ getRowKls,
2698
+ t
2699
+ } = useBasicDateTableDOM(props, {
2700
+ isCurrent,
2701
+ isWeekActive
2702
+ });
2703
+ expose({
2704
+ focus
2705
+ });
2706
+ return (_ctx, _cache) => {
2707
+ return openBlock(), createElementBlock("table", {
2708
+ "aria-label": unref(tableLabel),
2709
+ class: normalizeClass(unref(tableKls)),
2710
+ cellspacing: "0",
2711
+ cellpadding: "0",
2712
+ role: "grid",
2713
+ onClick: _cache[1] || (_cache[1] = (...args) => unref(handlePickDate) && unref(handlePickDate)(...args)),
2714
+ onMousemove: _cache[2] || (_cache[2] = (...args) => unref(handleMouseMove) && unref(handleMouseMove)(...args)),
2715
+ onMousedown: _cache[3] || (_cache[3] = withModifiers((...args) => unref(handleMouseDown) && unref(handleMouseDown)(...args), ["prevent"])),
2716
+ onMouseup: _cache[4] || (_cache[4] = (...args) => unref(handleMouseUp) && unref(handleMouseUp)(...args))
2717
+ }, [createBaseVNode("tbody", {
2718
+ ref_key: "tbodyRef",
2719
+ ref: tbodyRef
2720
+ }, [createBaseVNode("tr", null, [_ctx.showWeekNumber ? (openBlock(), createElementBlock("th", _hoisted_2$5, toDisplayString(unref(weekLabel)), 1)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(unref(WEEKS), (week, key) => {
2721
+ return openBlock(), createElementBlock("th", {
2722
+ key,
2723
+ "aria-label": unref(t)("el.datepicker.weeksFull." + week),
2724
+ scope: "col"
2725
+ }, toDisplayString(unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$5);
2726
+ }), 128))]), (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, rowKey) => {
2727
+ return openBlock(), createElementBlock("tr", {
2728
+ key: rowKey,
2729
+ class: normalizeClass(unref(getRowKls)(row[1]))
2730
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, columnKey) => {
2731
+ return openBlock(), createElementBlock("td", {
2732
+ key: `${rowKey}.${columnKey}`,
2733
+ ref_for: true,
2734
+ ref: el => unref(isSelectedCell)(cell) && (currentCellRef.value = el),
2735
+ class: normalizeClass(unref(getCellClasses)(cell)),
2736
+ "aria-current": cell.isCurrent ? "date" : void 0,
2737
+ "aria-selected": cell.isCurrent,
2738
+ tabindex: unref(isSelectedCell)(cell) ? 0 : -1,
2739
+ onFocus: _cache[0] || (_cache[0] = (...args) => unref(handleFocus) && unref(handleFocus)(...args))
2740
+ }, [createVNode(unref(ElDatePickerCell), {
2741
+ cell
2742
+ }, null, 8, ["cell"])], 42, _hoisted_4$3);
2743
+ }), 128))], 2);
2744
+ }), 128))], 512)], 42, _hoisted_1$5);
2745
+ };
2746
+ }
2747
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]); //#endregion
2748
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/basic-month-table.mjs
2749
+ basicMonthTableProps = buildProps({
2750
+ ...datePickerSharedProps,
2751
+ selectionMode: selectionModeWithDefault("month")
2752
+ }); //#endregion
2753
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-month-table.mjs
2754
+ import_dayjs_min$6 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
2755
+ _hoisted_1$4 = ["aria-label"];
2756
+ _hoisted_2$4 = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
2757
+ _hoisted_3$4 = {
2758
+ class: "cell"
2759
+ };
2760
+ MonthTable = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
2761
+ __name: "basic-month-table",
2762
+ props: basicMonthTableProps,
2763
+ emits: ["changerange", "pick", "select"],
2764
+ setup(__props, {
2765
+ expose,
2766
+ emit
2767
+ }) {
2768
+ const props = __props;
2769
+ const datesInMonth = (year, month, lang2) => {
2770
+ const firstDay = (0, import_dayjs_min$6.default)().locale(lang2).startOf("month").month(month).year(year);
2771
+ return rangeArr(firstDay.daysInMonth()).map(n => firstDay.add(n, "day").toDate());
2772
+ };
2773
+ const ns = useNamespace("month-table");
2774
+ const {
2775
+ t,
2776
+ lang
2777
+ } = useLocale();
2778
+ const tbodyRef = ref();
2779
+ const currentCellRef = ref();
2780
+ const months = ref(props.date.locale("en").localeData().monthsShort().map(_ => _.toLowerCase()));
2781
+ const tableRows = ref([[], [], []]);
2782
+ const lastRow = ref();
2783
+ const lastColumn = ref();
2784
+ const rows = computed(() => {
2785
+ var _a, _b;
2786
+ const rows2 = tableRows.value;
2787
+ const now = (0, import_dayjs_min$6.default)().locale(lang.value).startOf("month");
2788
+ for (let i = 0; i < 3; i++) {
2789
+ const row = rows2[i];
2790
+ for (let j = 0; j < 4; j++) {
2791
+ const cell = row[j] || (row[j] = {
2792
+ row: i,
2793
+ column: j,
2794
+ type: "normal",
2795
+ inRange: false,
2796
+ start: false,
2797
+ end: false,
2798
+ text: -1,
2799
+ disabled: false
2800
+ });
2801
+ cell.type = "normal";
2802
+ const index = i * 4 + j;
2803
+ const calTime = props.date.startOf("year").month(index);
2804
+ const calEndDate = props.rangeState.endDate || props.maxDate || props.rangeState.selecting && props.minDate || null;
2805
+ cell.inRange = !!(props.minDate && calTime.isSameOrAfter(props.minDate, "month") && calEndDate && calTime.isSameOrBefore(calEndDate, "month")) || !!(props.minDate && calTime.isSameOrBefore(props.minDate, "month") && calEndDate && calTime.isSameOrAfter(calEndDate, "month"));
2806
+ if ((_a = props.minDate) == null ? void 0 : _a.isSameOrAfter(calEndDate)) {
2807
+ cell.start = !!(calEndDate && calTime.isSame(calEndDate, "month"));
2808
+ cell.end = props.minDate && calTime.isSame(props.minDate, "month");
2809
+ } else {
2810
+ cell.start = !!(props.minDate && calTime.isSame(props.minDate, "month"));
2811
+ cell.end = !!(calEndDate && calTime.isSame(calEndDate, "month"));
2812
+ }
2813
+ if (now.isSame(calTime)) cell.type = "today";
2814
+ cell.text = index;
2815
+ cell.disabled = ((_b = props.disabledDate) == null ? void 0 : _b.call(props, calTime.toDate())) || false;
2816
+ }
2817
+ }
2818
+ return rows2;
2819
+ });
2820
+ const focus = () => {
2821
+ var _a;
2822
+ (_a = currentCellRef.value) == null || _a.focus();
2823
+ };
2824
+ const getCellStyle = cell => {
2825
+ const style = {};
2826
+ const year = props.date.year();
2827
+ const today = /* @__PURE__ */new Date();
2828
+ const month = cell.text;
2829
+ style.disabled = props.disabledDate ? datesInMonth(year, month, lang.value).every(props.disabledDate) : false;
2830
+ style.current = castArray(props.parsedValue).findIndex(date$1 => import_dayjs_min$6.default.isDayjs(date$1) && date$1.year() === year && date$1.month() === month) >= 0;
2831
+ style.today = today.getFullYear() === year && today.getMonth() === month;
2832
+ if (cell.inRange) {
2833
+ style["in-range"] = true;
2834
+ if (cell.start) style["start-date"] = true;
2835
+ if (cell.end) style["end-date"] = true;
2836
+ }
2837
+ return style;
2838
+ };
2839
+ const isSelectedCell = cell => {
2840
+ const year = props.date.year();
2841
+ const month = cell.text;
2842
+ return castArray(props.date).findIndex(date$1 => date$1.year() === year && date$1.month() === month) >= 0;
2843
+ };
2844
+ const handleMouseMove = event => {
2845
+ var _a;
2846
+ if (!props.rangeState.selecting) return;
2847
+ let target = event.target;
2848
+ if (target.tagName === "A") target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;
2849
+ if (target.tagName === "DIV") target = target.parentNode;
2850
+ if (target.tagName !== "TD") return;
2851
+ const row = target.parentNode.rowIndex;
2852
+ const column = target.cellIndex;
2853
+ if (rows.value[row][column].disabled) return;
2854
+ if (row !== lastRow.value || column !== lastColumn.value) {
2855
+ lastRow.value = row;
2856
+ lastColumn.value = column;
2857
+ emit("changerange", {
2858
+ selecting: true,
2859
+ endDate: props.date.startOf("year").month(row * 4 + column)
2860
+ });
2861
+ }
2862
+ };
2863
+ const handleMonthTableClick = event => {
2864
+ var _a;
2865
+ const target = (_a = event.target) == null ? void 0 : _a.closest("td");
2866
+ if ((target == null ? void 0 : target.tagName) !== "TD") return;
2867
+ if (hasClass(target, "disabled")) return;
2868
+ const column = target.cellIndex;
2869
+ const month = target.parentNode.rowIndex * 4 + column;
2870
+ const newDate = props.date.startOf("year").month(month);
2871
+ if (props.selectionMode === "range") {
2872
+ if (!props.rangeState.selecting) {
2873
+ emit("pick", {
2874
+ minDate: newDate,
2875
+ maxDate: null
2876
+ });
2877
+ emit("select", true);
2878
+ } else {
2879
+ if (props.minDate && newDate >= props.minDate) emit("pick", {
2880
+ minDate: props.minDate,
2881
+ maxDate: newDate
2882
+ });else emit("pick", {
2883
+ minDate: newDate,
2884
+ maxDate: props.minDate
2885
+ });
2886
+ emit("select", false);
2887
+ }
2888
+ } else emit("pick", month);
2889
+ };
2890
+ watch(() => props.date, async () => {
2891
+ var _a, _b;
2892
+ if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {
2893
+ await nextTick();
2894
+ (_b = currentCellRef.value) == null || _b.focus();
2895
+ }
2896
+ });
2897
+ expose({
2898
+ focus
2899
+ });
2900
+ return (_ctx, _cache) => {
2901
+ return openBlock(), createElementBlock("table", {
2902
+ role: "grid",
2903
+ "aria-label": unref(t)("el.datepicker.monthTablePrompt"),
2904
+ class: normalizeClass(unref(ns).b()),
2905
+ onClick: handleMonthTableClick,
2906
+ onMousemove: handleMouseMove
2907
+ }, [createBaseVNode("tbody", {
2908
+ ref_key: "tbodyRef",
2909
+ ref: tbodyRef
2910
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, key) => {
2911
+ return openBlock(), createElementBlock("tr", {
2912
+ key
2913
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, key_) => {
2914
+ return openBlock(), createElementBlock("td", {
2915
+ key: key_,
2916
+ ref_for: true,
2917
+ ref: el => isSelectedCell(cell) && (currentCellRef.value = el),
2918
+ class: normalizeClass(getCellStyle(cell)),
2919
+ "aria-selected": `${isSelectedCell(cell)}`,
2920
+ "aria-label": unref(t)(`el.datepicker.month${+cell.text + 1}`),
2921
+ tabindex: isSelectedCell(cell) ? 0 : -1,
2922
+ onKeydown: [withKeys(withModifiers(handleMonthTableClick, ["prevent", "stop"]), ["space"]), withKeys(withModifiers(handleMonthTableClick, ["prevent", "stop"]), ["enter"])]
2923
+ }, [createBaseVNode("div", null, [createBaseVNode("span", _hoisted_3$4, toDisplayString(unref(t)("el.datepicker.months." + months.value[cell.text])), 1)])], 42, _hoisted_2$4);
2924
+ }), 128))]);
2925
+ }), 128))], 512)], 42, _hoisted_1$4);
2926
+ };
2927
+ }
2928
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]); //#endregion
2929
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/basic-year-table.mjs
2930
+ ({
2931
+ date,
2932
+ disabledDate,
2933
+ parsedValue
2934
+ } = datePickerSharedProps);
2935
+ basicYearTableProps = buildProps({
2936
+ date,
2937
+ disabledDate,
2938
+ parsedValue
2939
+ }); //#endregion
2940
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-year-table.mjs
2941
+ import_dayjs_min$5 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
2942
+ _hoisted_1$3 = ["aria-label"];
2943
+ _hoisted_2$3 = ["aria-selected", "tabindex", "onKeydown"];
2944
+ _hoisted_3$3 = {
2945
+ class: "cell"
2946
+ };
2947
+ _hoisted_4$2 = {
2948
+ key: 1
2949
+ };
2950
+ YearTable = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
2951
+ __name: "basic-year-table",
2952
+ props: basicYearTableProps,
2953
+ emits: ["pick"],
2954
+ setup(__props, {
2955
+ expose,
2956
+ emit
2957
+ }) {
2958
+ const props = __props;
2959
+ const datesInYear = (year, lang2) => {
2960
+ const firstDay = (0, import_dayjs_min$5.default)(String(year)).locale(lang2).startOf("year");
2961
+ return rangeArr(firstDay.endOf("year").dayOfYear()).map(n => firstDay.add(n, "day").toDate());
2962
+ };
2963
+ const ns = useNamespace("year-table");
2964
+ const {
2965
+ t,
2966
+ lang
2967
+ } = useLocale();
2968
+ const tbodyRef = ref();
2969
+ const currentCellRef = ref();
2970
+ const startYear = computed(() => {
2971
+ return Math.floor(props.date.year() / 10) * 10;
2972
+ });
2973
+ const focus = () => {
2974
+ var _a;
2975
+ (_a = currentCellRef.value) == null || _a.focus();
2976
+ };
2977
+ const getCellKls = year => {
2978
+ const kls = {};
2979
+ const today = (0, import_dayjs_min$5.default)().locale(lang.value);
2980
+ kls.disabled = props.disabledDate ? datesInYear(year, lang.value).every(props.disabledDate) : false;
2981
+ kls.current = castArray(props.parsedValue).findIndex(d => d.year() === year) >= 0;
2982
+ kls.today = today.year() === year;
2983
+ return kls;
2984
+ };
2985
+ const isSelectedCell = year => {
2986
+ return year === startYear.value && props.date.year() < startYear.value && props.date.year() > startYear.value + 9 || castArray(props.date).findIndex(date$1 => date$1.year() === year) >= 0;
2987
+ };
2988
+ const handleYearTableClick = event => {
2989
+ const target = event.target.closest("td");
2990
+ if (target && target.textContent) {
2991
+ if (hasClass(target, "disabled")) return;
2992
+ const year = target.textContent || target.innerText;
2993
+ emit("pick", Number(year));
2994
+ }
2995
+ };
2996
+ watch(() => props.date, async () => {
2997
+ var _a, _b;
2998
+ if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {
2999
+ await nextTick();
3000
+ (_b = currentCellRef.value) == null || _b.focus();
3001
+ }
3002
+ });
3003
+ expose({
3004
+ focus
3005
+ });
3006
+ return (_ctx, _cache) => {
3007
+ return openBlock(), createElementBlock("table", {
3008
+ role: "grid",
3009
+ "aria-label": unref(t)("el.datepicker.yearTablePrompt"),
3010
+ class: normalizeClass(unref(ns).b()),
3011
+ onClick: handleYearTableClick
3012
+ }, [createBaseVNode("tbody", {
3013
+ ref_key: "tbodyRef",
3014
+ ref: tbodyRef
3015
+ }, [(openBlock(), createElementBlock(Fragment, null, renderList(3, (_, i) => {
3016
+ return createBaseVNode("tr", {
3017
+ key: i
3018
+ }, [(openBlock(), createElementBlock(Fragment, null, renderList(4, (__, j) => {
3019
+ return openBlock(), createElementBlock(Fragment, {
3020
+ key: i + "_" + j
3021
+ }, [i * 4 + j < 10 ? (openBlock(), createElementBlock("td", {
3022
+ key: 0,
3023
+ ref_for: true,
3024
+ ref: el => isSelectedCell(unref(startYear) + i * 4 + j) && (currentCellRef.value = el),
3025
+ class: normalizeClass(["available", getCellKls(unref(startYear) + i * 4 + j)]),
3026
+ "aria-selected": `${isSelectedCell(unref(startYear) + i * 4 + j)}`,
3027
+ tabindex: isSelectedCell(unref(startYear) + i * 4 + j) ? 0 : -1,
3028
+ onKeydown: [withKeys(withModifiers(handleYearTableClick, ["prevent", "stop"]), ["space"]), withKeys(withModifiers(handleYearTableClick, ["prevent", "stop"]), ["enter"])]
3029
+ }, [createBaseVNode("span", _hoisted_3$3, toDisplayString(unref(startYear) + i * 4 + j), 1)], 42, _hoisted_2$3)) : (openBlock(), createElementBlock("td", _hoisted_4$2))], 64);
3030
+ }), 64))]);
3031
+ }), 64))], 512)], 10, _hoisted_1$3);
3032
+ };
3033
+ }
3034
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]); //#endregion
3035
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs
3036
+ import_dayjs_min$4 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
3037
+ init_shared_esm_bundler();
3038
+ _hoisted_1$2 = ["onClick"];
3039
+ _hoisted_2$2 = ["aria-label"];
3040
+ _hoisted_3$2 = ["aria-label"];
3041
+ _hoisted_4$1 = ["aria-label"];
3042
+ _hoisted_5$1 = ["aria-label"];
3043
+ DatePickPanel = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
3044
+ __name: "panel-date-pick",
3045
+ props: panelDatePickProps,
3046
+ emits: ["pick", "set-picker-option", "panel-change"],
3047
+ setup(__props, {
3048
+ emit: contextEmit
3049
+ }) {
3050
+ const props = __props;
3051
+ const timeWithinRange = (_, __, ___) => true;
3052
+ const ppNs = useNamespace("picker-panel");
3053
+ const dpNs = useNamespace("date-picker");
3054
+ const attrs = useAttrs();
3055
+ const slots = useSlots();
3056
+ const {
3057
+ t,
3058
+ lang
3059
+ } = useLocale();
3060
+ const pickerBase = inject("EP_PICKER_BASE");
3061
+ const popper = inject(TOOLTIP_INJECTION_KEY);
3062
+ const {
3063
+ shortcuts,
3064
+ disabledDate: disabledDate$1,
3065
+ cellClassName,
3066
+ defaultTime
3067
+ } = pickerBase.props;
3068
+ const defaultValue = toRef(pickerBase.props, "defaultValue");
3069
+ const currentViewRef = ref();
3070
+ const innerDate = ref((0, import_dayjs_min$4.default)().locale(lang.value));
3071
+ const isChangeToNow = ref(false);
3072
+ let isShortcut = false;
3073
+ const defaultTimeD = computed(() => {
3074
+ return (0, import_dayjs_min$4.default)(defaultTime).locale(lang.value);
3075
+ });
3076
+ const month = computed(() => {
3077
+ return innerDate.value.month();
3078
+ });
3079
+ const year = computed(() => {
3080
+ return innerDate.value.year();
3081
+ });
3082
+ const selectableRange = ref([]);
3083
+ const userInputDate = ref(null);
3084
+ const userInputTime = ref(null);
3085
+ const checkDateWithinRange = date$1 => {
3086
+ return selectableRange.value.length > 0 ? timeWithinRange(date$1, selectableRange.value, props.format || "HH:mm:ss") : true;
3087
+ };
3088
+ const formatEmit = emitDayjs => {
3089
+ if (defaultTime && !visibleTime.value && !isChangeToNow.value && !isShortcut) return defaultTimeD.value.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());
3090
+ if (showTime.value) return emitDayjs.millisecond(0);
3091
+ return emitDayjs.startOf("day");
3092
+ };
3093
+ const emit = (value, ...args) => {
3094
+ if (!value) contextEmit("pick", value, ...args);else if (isArray(value)) contextEmit("pick", value.map(formatEmit), ...args);else contextEmit("pick", formatEmit(value), ...args);
3095
+ userInputDate.value = null;
3096
+ userInputTime.value = null;
3097
+ isChangeToNow.value = false;
3098
+ isShortcut = false;
3099
+ };
3100
+ const handleDatePick = (value, keepOpen) => {
3101
+ if (selectionMode.value === "date") {
3102
+ value = value;
3103
+ let newDate = props.parsedValue ? props.parsedValue.year(value.year()).month(value.month()).date(value.date()) : value;
3104
+ if (!checkDateWithinRange(newDate)) newDate = selectableRange.value[0][0].year(value.year()).month(value.month()).date(value.date());
3105
+ innerDate.value = newDate;
3106
+ emit(newDate, showTime.value || keepOpen);
3107
+ } else if (selectionMode.value === "week") emit(value.date);else if (selectionMode.value === "dates") emit(value, true);
3108
+ };
3109
+ const moveByMonth = forward => {
3110
+ const action = forward ? "add" : "subtract";
3111
+ innerDate.value = innerDate.value[action](1, "month");
3112
+ handlePanelChange("month");
3113
+ };
3114
+ const moveByYear = forward => {
3115
+ const currentDate = innerDate.value;
3116
+ const action = forward ? "add" : "subtract";
3117
+ innerDate.value = currentView.value === "year" ? currentDate[action](10, "year") : currentDate[action](1, "year");
3118
+ handlePanelChange("year");
3119
+ };
3120
+ const currentView = ref("date");
3121
+ const yearLabel = computed(() => {
3122
+ const yearTranslation = t("el.datepicker.year");
3123
+ if (currentView.value === "year") {
3124
+ const startYear = Math.floor(year.value / 10) * 10;
3125
+ if (yearTranslation) return `${startYear} ${yearTranslation} - ${startYear + 9} ${yearTranslation}`;
3126
+ return `${startYear} - ${startYear + 9}`;
3127
+ }
3128
+ return `${year.value} ${yearTranslation}`;
3129
+ });
3130
+ const handleShortcutClick = shortcut => {
3131
+ const shortcutValue = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;
3132
+ if (shortcutValue) {
3133
+ isShortcut = true;
3134
+ emit((0, import_dayjs_min$4.default)(shortcutValue).locale(lang.value));
3135
+ return;
3136
+ }
3137
+ if (shortcut.onClick) shortcut.onClick({
3138
+ attrs,
3139
+ slots,
3140
+ emit: contextEmit
3141
+ });
3142
+ };
3143
+ const selectionMode = computed(() => {
3144
+ const {
3145
+ type
3146
+ } = props;
3147
+ if (["week", "month", "year", "dates"].includes(type)) return type;
3148
+ return "date";
3149
+ });
3150
+ const keyboardMode = computed(() => {
3151
+ return selectionMode.value === "date" ? currentView.value : selectionMode.value;
3152
+ });
3153
+ const hasShortcuts = computed(() => !!shortcuts.length);
3154
+ const handleMonthPick = async month2 => {
3155
+ innerDate.value = innerDate.value.startOf("month").month(month2);
3156
+ if (selectionMode.value === "month") emit(innerDate.value, false);else {
3157
+ currentView.value = "date";
3158
+ if (["month", "year", "date", "week"].includes(selectionMode.value)) {
3159
+ emit(innerDate.value, true);
3160
+ await nextTick();
3161
+ handleFocusPicker();
3162
+ }
3163
+ }
3164
+ handlePanelChange("month");
3165
+ };
3166
+ const handleYearPick = async year2 => {
3167
+ if (selectionMode.value === "year") {
3168
+ innerDate.value = innerDate.value.startOf("year").year(year2);
3169
+ emit(innerDate.value, false);
3170
+ } else {
3171
+ innerDate.value = innerDate.value.year(year2);
3172
+ currentView.value = "month";
3173
+ if (["month", "year", "date", "week"].includes(selectionMode.value)) {
3174
+ emit(innerDate.value, true);
3175
+ await nextTick();
3176
+ handleFocusPicker();
3177
+ }
3178
+ }
3179
+ handlePanelChange("year");
3180
+ };
3181
+ const showPicker = async view => {
3182
+ currentView.value = view;
3183
+ await nextTick();
3184
+ handleFocusPicker();
3185
+ };
3186
+ const showTime = computed(() => props.type === "datetime" || props.type === "datetimerange");
3187
+ const footerVisible = computed(() => {
3188
+ return showTime.value || selectionMode.value === "dates";
3189
+ });
3190
+ const disabledConfirm = computed(() => {
3191
+ if (!disabledDate$1) return false;
3192
+ if (!props.parsedValue) return true;
3193
+ if (isArray(props.parsedValue)) return disabledDate$1(props.parsedValue[0].toDate());
3194
+ return disabledDate$1(props.parsedValue.toDate());
3195
+ });
3196
+ const onConfirm = () => {
3197
+ if (selectionMode.value === "dates") emit(props.parsedValue);else {
3198
+ let result = props.parsedValue;
3199
+ if (!result) {
3200
+ const defaultTimeD2 = (0, import_dayjs_min$4.default)(defaultTime).locale(lang.value);
3201
+ const defaultValueD = getDefaultValue$1();
3202
+ result = defaultTimeD2.year(defaultValueD.year()).month(defaultValueD.month()).date(defaultValueD.date());
3203
+ }
3204
+ innerDate.value = result;
3205
+ emit(result);
3206
+ }
3207
+ };
3208
+ const disabledNow = computed(() => {
3209
+ if (!disabledDate$1) return false;
3210
+ return disabledDate$1((0, import_dayjs_min$4.default)().locale(lang.value).toDate());
3211
+ });
3212
+ const changeToNow = () => {
3213
+ const nowDate = (0, import_dayjs_min$4.default)().locale(lang.value).toDate();
3214
+ isChangeToNow.value = true;
3215
+ if ((!disabledDate$1 || !disabledDate$1(nowDate)) && checkDateWithinRange(nowDate)) {
3216
+ innerDate.value = (0, import_dayjs_min$4.default)().locale(lang.value);
3217
+ emit(innerDate.value);
3218
+ }
3219
+ };
3220
+ const timeFormat = computed(() => {
3221
+ return props.timeFormat || extractTimeFormat(props.format);
3222
+ });
3223
+ const dateFormat = computed(() => {
3224
+ return props.dateFormat || extractDateFormat(props.format);
3225
+ });
3226
+ const visibleTime = computed(() => {
3227
+ if (userInputTime.value) return userInputTime.value;
3228
+ if (!props.parsedValue && !defaultValue.value) return;
3229
+ return (props.parsedValue || innerDate.value).format(timeFormat.value);
3230
+ });
3231
+ const visibleDate = computed(() => {
3232
+ if (userInputDate.value) return userInputDate.value;
3233
+ if (!props.parsedValue && !defaultValue.value) return;
3234
+ return (props.parsedValue || innerDate.value).format(dateFormat.value);
3235
+ });
3236
+ const timePickerVisible = ref(false);
3237
+ const onTimePickerInputFocus = () => {
3238
+ timePickerVisible.value = true;
3239
+ };
3240
+ const handleTimePickClose = () => {
3241
+ timePickerVisible.value = false;
3242
+ };
3243
+ const getUnits = date$1 => {
3244
+ return {
3245
+ hour: date$1.hour(),
3246
+ minute: date$1.minute(),
3247
+ second: date$1.second(),
3248
+ year: date$1.year(),
3249
+ month: date$1.month(),
3250
+ date: date$1.date()
3251
+ };
3252
+ };
3253
+ const handleTimePick = (value, visible, first) => {
3254
+ const {
3255
+ hour,
3256
+ minute,
3257
+ second
3258
+ } = getUnits(value);
3259
+ innerDate.value = props.parsedValue ? props.parsedValue.hour(hour).minute(minute).second(second) : value;
3260
+ emit(innerDate.value, true);
3261
+ if (!first) timePickerVisible.value = visible;
3262
+ };
3263
+ const handleVisibleTimeChange = value => {
3264
+ const newDate = (0, import_dayjs_min$4.default)(value, timeFormat.value).locale(lang.value);
3265
+ if (newDate.isValid() && checkDateWithinRange(newDate)) {
3266
+ const {
3267
+ year: year2,
3268
+ month: month2,
3269
+ date: date$1
3270
+ } = getUnits(innerDate.value);
3271
+ innerDate.value = newDate.year(year2).month(month2).date(date$1);
3272
+ userInputTime.value = null;
3273
+ timePickerVisible.value = false;
3274
+ emit(innerDate.value, true);
3275
+ }
3276
+ };
3277
+ const handleVisibleDateChange = value => {
3278
+ const newDate = (0, import_dayjs_min$4.default)(value, dateFormat.value).locale(lang.value);
3279
+ if (newDate.isValid()) {
3280
+ if (disabledDate$1 && disabledDate$1(newDate.toDate())) return;
3281
+ const {
3282
+ hour,
3283
+ minute,
3284
+ second
3285
+ } = getUnits(innerDate.value);
3286
+ innerDate.value = newDate.hour(hour).minute(minute).second(second);
3287
+ userInputDate.value = null;
3288
+ emit(innerDate.value, true);
3289
+ }
3290
+ };
3291
+ const isValidValue = date$1 => {
3292
+ return import_dayjs_min$4.default.isDayjs(date$1) && date$1.isValid() && (disabledDate$1 ? !disabledDate$1(date$1.toDate()) : true);
3293
+ };
3294
+ const formatToString = value => {
3295
+ if (selectionMode.value === "dates") return value.map(_ => _.format(props.format));
3296
+ return value.format(props.format);
3297
+ };
3298
+ const parseUserInput = value => {
3299
+ return (0, import_dayjs_min$4.default)(value, props.format).locale(lang.value);
3300
+ };
3301
+ const getDefaultValue$1 = () => {
3302
+ const parseDate$1 = (0, import_dayjs_min$4.default)(defaultValue.value).locale(lang.value);
3303
+ if (!defaultValue.value) {
3304
+ const defaultTimeDValue = defaultTimeD.value;
3305
+ return (0, import_dayjs_min$4.default)().hour(defaultTimeDValue.hour()).minute(defaultTimeDValue.minute()).second(defaultTimeDValue.second()).locale(lang.value);
3306
+ }
3307
+ return parseDate$1;
3308
+ };
3309
+ const handleFocusPicker = async () => {
3310
+ var _a;
3311
+ if (["week", "month", "year", "date"].includes(selectionMode.value)) {
3312
+ (_a = currentViewRef.value) == null || _a.focus();
3313
+ if (selectionMode.value === "week") handleKeyControl(EVENT_CODE.down);
3314
+ }
3315
+ };
3316
+ const handleKeydownTable = event => {
3317
+ const {
3318
+ code
3319
+ } = event;
3320
+ if ([EVENT_CODE.up, EVENT_CODE.down, EVENT_CODE.left, EVENT_CODE.right, EVENT_CODE.home, EVENT_CODE.end, EVENT_CODE.pageUp, EVENT_CODE.pageDown].includes(code)) {
3321
+ handleKeyControl(code);
3322
+ event.stopPropagation();
3323
+ event.preventDefault();
3324
+ }
3325
+ if ([EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.numpadEnter].includes(code) && userInputDate.value === null && userInputTime.value === null) {
3326
+ event.preventDefault();
3327
+ emit(innerDate.value, false);
3328
+ }
3329
+ };
3330
+ const handleKeyControl = code => {
3331
+ var _a;
3332
+ const {
3333
+ up,
3334
+ down,
3335
+ left,
3336
+ right,
3337
+ home,
3338
+ end,
3339
+ pageUp,
3340
+ pageDown
3341
+ } = EVENT_CODE;
3342
+ const mapping = {
3343
+ year: {
3344
+ [up]: -4,
3345
+ [down]: 4,
3346
+ [left]: -1,
3347
+ [right]: 1,
3348
+ offset: (date$1, step) => date$1.setFullYear(date$1.getFullYear() + step)
3349
+ },
3350
+ month: {
3351
+ [up]: -4,
3352
+ [down]: 4,
3353
+ [left]: -1,
3354
+ [right]: 1,
3355
+ offset: (date$1, step) => date$1.setMonth(date$1.getMonth() + step)
3356
+ },
3357
+ week: {
3358
+ [up]: -1,
3359
+ [down]: 1,
3360
+ [left]: -1,
3361
+ [right]: 1,
3362
+ offset: (date$1, step) => date$1.setDate(date$1.getDate() + step * 7)
3363
+ },
3364
+ date: {
3365
+ [up]: -7,
3366
+ [down]: 7,
3367
+ [left]: -1,
3368
+ [right]: 1,
3369
+ [home]: date$1 => -date$1.getDay(),
3370
+ [end]: date$1 => -date$1.getDay() + 6,
3371
+ [pageUp]: date$1 => -new Date(date$1.getFullYear(), date$1.getMonth(), 0).getDate(),
3372
+ [pageDown]: date$1 => new Date(date$1.getFullYear(), date$1.getMonth() + 1, 0).getDate(),
3373
+ offset: (date$1, step) => date$1.setDate(date$1.getDate() + step)
3374
+ }
3375
+ };
3376
+ const newDate = innerDate.value.toDate();
3377
+ while (Math.abs(innerDate.value.diff(newDate, "year", true)) < 1) {
3378
+ const map = mapping[keyboardMode.value];
3379
+ if (!map) return;
3380
+ map.offset(newDate, isFunction(map[code]) ? map[code](newDate) : (_a = map[code]) != null ? _a : 0);
3381
+ if (disabledDate$1 && disabledDate$1(newDate)) break;
3382
+ const result = (0, import_dayjs_min$4.default)(newDate).locale(lang.value);
3383
+ innerDate.value = result;
3384
+ contextEmit("pick", result, true);
3385
+ break;
3386
+ }
3387
+ };
3388
+ const handlePanelChange = mode => {
3389
+ contextEmit("panel-change", innerDate.value.toDate(), mode, currentView.value);
3390
+ };
3391
+ watch(() => selectionMode.value, val => {
3392
+ if (["month", "year"].includes(val)) {
3393
+ currentView.value = val;
3394
+ return;
3395
+ }
3396
+ currentView.value = "date";
3397
+ }, {
3398
+ immediate: true
3399
+ });
3400
+ watch(() => currentView.value, () => {
3401
+ popper?.updatePopper();
3402
+ });
3403
+ watch(() => defaultValue.value, val => {
3404
+ if (val) innerDate.value = getDefaultValue$1();
3405
+ }, {
3406
+ immediate: true
3407
+ });
3408
+ watch(() => props.parsedValue, val => {
3409
+ if (val) {
3410
+ if (selectionMode.value === "dates") return;
3411
+ if (Array.isArray(val)) return;
3412
+ innerDate.value = val;
3413
+ } else innerDate.value = getDefaultValue$1();
3414
+ }, {
3415
+ immediate: true
3416
+ });
3417
+ contextEmit("set-picker-option", ["isValidValue", isValidValue]);
3418
+ contextEmit("set-picker-option", ["formatToString", formatToString]);
3419
+ contextEmit("set-picker-option", ["parseUserInput", parseUserInput]);
3420
+ contextEmit("set-picker-option", ["handleFocusPicker", handleFocusPicker]);
3421
+ return (_ctx, _cache) => {
3422
+ return openBlock(), createElementBlock("div", {
3423
+ class: normalizeClass([unref(ppNs).b(), unref(dpNs).b(), {
3424
+ "has-sidebar": _ctx.$slots.sidebar || unref(hasShortcuts),
3425
+ "has-time": unref(showTime)
3426
+ }])
3427
+ }, [createBaseVNode("div", {
3428
+ class: normalizeClass(unref(ppNs).e("body-wrapper"))
3429
+ }, [renderSlot(_ctx.$slots, "sidebar", {
3430
+ class: normalizeClass(unref(ppNs).e("sidebar"))
3431
+ }), unref(hasShortcuts) ? (openBlock(), createElementBlock("div", {
3432
+ key: 0,
3433
+ class: normalizeClass(unref(ppNs).e("sidebar"))
3434
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {
3435
+ return openBlock(), createElementBlock("button", {
3436
+ key,
3437
+ type: "button",
3438
+ class: normalizeClass(unref(ppNs).e("shortcut")),
3439
+ onClick: $event => handleShortcutClick(shortcut)
3440
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$2);
3441
+ }), 128))], 2)) : createCommentVNode("v-if", true), createBaseVNode("div", {
3442
+ class: normalizeClass(unref(ppNs).e("body"))
3443
+ }, [unref(showTime) ? (openBlock(), createElementBlock("div", {
3444
+ key: 0,
3445
+ class: normalizeClass(unref(dpNs).e("time-header"))
3446
+ }, [createBaseVNode("span", {
3447
+ class: normalizeClass(unref(dpNs).e("editor-wrap"))
3448
+ }, [createVNode(unref(ElInput), {
3449
+ placeholder: unref(t)("el.datepicker.selectDate"),
3450
+ "model-value": unref(visibleDate),
3451
+ size: "small",
3452
+ "validate-event": false,
3453
+ onInput: _cache[0] || (_cache[0] = val => userInputDate.value = val),
3454
+ onChange: handleVisibleDateChange
3455
+ }, null, 8, ["placeholder", "model-value"])], 2), withDirectives((openBlock(), createElementBlock("span", {
3456
+ class: normalizeClass(unref(dpNs).e("editor-wrap"))
3457
+ }, [createVNode(unref(ElInput), {
3458
+ placeholder: unref(t)("el.datepicker.selectTime"),
3459
+ "model-value": unref(visibleTime),
3460
+ size: "small",
3461
+ "validate-event": false,
3462
+ onFocus: onTimePickerInputFocus,
3463
+ onInput: _cache[1] || (_cache[1] = val => userInputTime.value = val),
3464
+ onChange: handleVisibleTimeChange
3465
+ }, null, 8, ["placeholder", "model-value"]), createVNode(unref(TimePickPanel), {
3466
+ visible: timePickerVisible.value,
3467
+ format: unref(timeFormat),
3468
+ "parsed-value": innerDate.value,
3469
+ onPick: handleTimePick
3470
+ }, null, 8, ["visible", "format", "parsed-value"])], 2)), [[unref(ClickOutside), handleTimePickClose]])], 2)) : createCommentVNode("v-if", true), withDirectives(createBaseVNode("div", {
3471
+ class: normalizeClass([unref(dpNs).e("header"), (currentView.value === "year" || currentView.value === "month") && unref(dpNs).e("header--bordered")])
3472
+ }, [createBaseVNode("span", {
3473
+ class: normalizeClass(unref(dpNs).e("prev-btn"))
3474
+ }, [createBaseVNode("button", {
3475
+ type: "button",
3476
+ "aria-label": unref(t)(`el.datepicker.prevYear`),
3477
+ class: normalizeClass(["d-arrow-left", unref(ppNs).e("icon-btn")]),
3478
+ onClick: _cache[2] || (_cache[2] = $event => moveByYear(false))
3479
+ }, [createVNode(unref(ElIcon), null, {
3480
+ default: withCtx(() => [createVNode(unref(d_arrow_left_default))]),
3481
+ _: 1
3482
+ })], 10, _hoisted_2$2), withDirectives(createBaseVNode("button", {
3483
+ type: "button",
3484
+ "aria-label": unref(t)(`el.datepicker.prevMonth`),
3485
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "arrow-left"]),
3486
+ onClick: _cache[3] || (_cache[3] = $event => moveByMonth(false))
3487
+ }, [createVNode(unref(ElIcon), null, {
3488
+ default: withCtx(() => [createVNode(unref(arrow_left_default))]),
3489
+ _: 1
3490
+ })], 10, _hoisted_3$2), [[vShow, currentView.value === "date"]])], 2), createBaseVNode("span", {
3491
+ role: "button",
3492
+ class: normalizeClass(unref(dpNs).e("header-label")),
3493
+ "aria-live": "polite",
3494
+ tabindex: "0",
3495
+ onKeydown: _cache[4] || (_cache[4] = withKeys($event => showPicker("year"), ["enter"])),
3496
+ onClick: _cache[5] || (_cache[5] = $event => showPicker("year"))
3497
+ }, toDisplayString(unref(yearLabel)), 35), withDirectives(createBaseVNode("span", {
3498
+ role: "button",
3499
+ "aria-live": "polite",
3500
+ tabindex: "0",
3501
+ class: normalizeClass([unref(dpNs).e("header-label"), {
3502
+ active: currentView.value === "month"
3503
+ }]),
3504
+ onKeydown: _cache[6] || (_cache[6] = withKeys($event => showPicker("month"), ["enter"])),
3505
+ onClick: _cache[7] || (_cache[7] = $event => showPicker("month"))
3506
+ }, toDisplayString(unref(t)(`el.datepicker.month${unref(month) + 1}`)), 35), [[vShow, currentView.value === "date"]]), createBaseVNode("span", {
3507
+ class: normalizeClass(unref(dpNs).e("next-btn"))
3508
+ }, [withDirectives(createBaseVNode("button", {
3509
+ type: "button",
3510
+ "aria-label": unref(t)(`el.datepicker.nextMonth`),
3511
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "arrow-right"]),
3512
+ onClick: _cache[8] || (_cache[8] = $event => moveByMonth(true))
3513
+ }, [createVNode(unref(ElIcon), null, {
3514
+ default: withCtx(() => [createVNode(unref(arrow_right_default))]),
3515
+ _: 1
3516
+ })], 10, _hoisted_4$1), [[vShow, currentView.value === "date"]]), createBaseVNode("button", {
3517
+ type: "button",
3518
+ "aria-label": unref(t)(`el.datepicker.nextYear`),
3519
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-right"]),
3520
+ onClick: _cache[9] || (_cache[9] = $event => moveByYear(true))
3521
+ }, [createVNode(unref(ElIcon), null, {
3522
+ default: withCtx(() => [createVNode(unref(d_arrow_right_default))]),
3523
+ _: 1
3524
+ })], 10, _hoisted_5$1)], 2)], 2), [[vShow, currentView.value !== "time"]]), createBaseVNode("div", {
3525
+ class: normalizeClass(unref(ppNs).e("content")),
3526
+ onKeydown: handleKeydownTable
3527
+ }, [currentView.value === "date" ? (openBlock(), createBlock(DateTable, {
3528
+ key: 0,
3529
+ ref_key: "currentViewRef",
3530
+ ref: currentViewRef,
3531
+ "selection-mode": unref(selectionMode),
3532
+ date: innerDate.value,
3533
+ "parsed-value": _ctx.parsedValue,
3534
+ "disabled-date": unref(disabledDate$1),
3535
+ "cell-class-name": unref(cellClassName),
3536
+ onPick: handleDatePick
3537
+ }, null, 8, ["selection-mode", "date", "parsed-value", "disabled-date", "cell-class-name"])) : createCommentVNode("v-if", true), currentView.value === "year" ? (openBlock(), createBlock(YearTable, {
3538
+ key: 1,
3539
+ ref_key: "currentViewRef",
3540
+ ref: currentViewRef,
3541
+ date: innerDate.value,
3542
+ "disabled-date": unref(disabledDate$1),
3543
+ "parsed-value": _ctx.parsedValue,
3544
+ onPick: handleYearPick
3545
+ }, null, 8, ["date", "disabled-date", "parsed-value"])) : createCommentVNode("v-if", true), currentView.value === "month" ? (openBlock(), createBlock(MonthTable, {
3546
+ key: 2,
3547
+ ref_key: "currentViewRef",
3548
+ ref: currentViewRef,
3549
+ date: innerDate.value,
3550
+ "parsed-value": _ctx.parsedValue,
3551
+ "disabled-date": unref(disabledDate$1),
3552
+ onPick: handleMonthPick
3553
+ }, null, 8, ["date", "parsed-value", "disabled-date"])) : createCommentVNode("v-if", true)], 34)], 2)], 2), withDirectives(createBaseVNode("div", {
3554
+ class: normalizeClass(unref(ppNs).e("footer"))
3555
+ }, [withDirectives(createVNode(unref(ElButton), {
3556
+ text: "",
3557
+ size: "small",
3558
+ class: normalizeClass(unref(ppNs).e("link-btn")),
3559
+ disabled: unref(disabledNow),
3560
+ onClick: changeToNow
3561
+ }, {
3562
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("el.datepicker.now")), 1)]),
3563
+ _: 1
3564
+ }, 8, ["class", "disabled"]), [[vShow, unref(selectionMode) !== "dates"]]), createVNode(unref(ElButton), {
3565
+ plain: "",
3566
+ size: "small",
3567
+ class: normalizeClass(unref(ppNs).e("link-btn")),
3568
+ disabled: unref(disabledConfirm),
3569
+ onClick: onConfirm
3570
+ }, {
3571
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("el.datepicker.confirm")), 1)]),
3572
+ _: 1
3573
+ }, 8, ["class", "disabled"])], 2), [[vShow, unref(footerVisible) && currentView.value === "date"]])], 2);
3574
+ };
3575
+ }
3576
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]); //#endregion
3577
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/panel-date-range.mjs
3578
+ panelDateRangeProps = buildProps({
3579
+ ...panelSharedProps,
3580
+ ...panelRangeSharedProps
3581
+ }); //#endregion
3582
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/composables/use-shortcut.mjs
3583
+ import_dayjs_min$3 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
3584
+ init_shared_esm_bundler();
3585
+ useShortcut = lang => {
3586
+ const {
3587
+ emit
3588
+ } = getCurrentInstance();
3589
+ const attrs = useAttrs();
3590
+ const slots = useSlots();
3591
+ const handleShortcutClick = shortcut => {
3592
+ const shortcutValues = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;
3593
+ if (shortcutValues) {
3594
+ emit("pick", [(0, import_dayjs_min$3.default)(shortcutValues[0]).locale(lang.value), (0, import_dayjs_min$3.default)(shortcutValues[1]).locale(lang.value)]);
3595
+ return;
3596
+ }
3597
+ if (shortcut.onClick) shortcut.onClick({
3598
+ attrs,
3599
+ slots,
3600
+ emit
3601
+ });
3602
+ };
3603
+ return handleShortcutClick;
3604
+ }; //#endregion
3605
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/composables/use-range-picker.mjs
3606
+ init_shared_esm_bundler();
3607
+ useRangePicker = (props, {
3608
+ defaultValue,
3609
+ leftDate,
3610
+ rightDate,
3611
+ unit: unit$2,
3612
+ onParsedValueChanged
3613
+ }) => {
3614
+ const {
3615
+ emit
3616
+ } = getCurrentInstance();
3617
+ const {
3618
+ pickerNs
3619
+ } = inject(ROOT_PICKER_INJECTION_KEY);
3620
+ const drpNs = useNamespace("date-range-picker");
3621
+ const {
3622
+ t,
3623
+ lang
3624
+ } = useLocale();
3625
+ const handleShortcutClick = useShortcut(lang);
3626
+ const minDate = ref();
3627
+ const maxDate = ref();
3628
+ const rangeState = ref({
3629
+ endDate: null,
3630
+ selecting: false
3631
+ });
3632
+ const handleChangeRange = val => {
3633
+ rangeState.value = val;
3634
+ };
3635
+ const handleRangeConfirm = (visible = false) => {
3636
+ const _minDate = unref(minDate);
3637
+ const _maxDate = unref(maxDate);
3638
+ if (isValidRange([_minDate, _maxDate])) emit("pick", [_minDate, _maxDate], visible);
3639
+ };
3640
+ const onSelect = selecting => {
3641
+ rangeState.value.selecting = selecting;
3642
+ if (!selecting) rangeState.value.endDate = null;
3643
+ };
3644
+ const restoreDefault = () => {
3645
+ const [start, end] = getDefaultValue(unref(defaultValue), {
3646
+ lang: unref(lang),
3647
+ unit: unit$2,
3648
+ unlinkPanels: props.unlinkPanels
3649
+ });
3650
+ minDate.value = void 0;
3651
+ maxDate.value = void 0;
3652
+ leftDate.value = start;
3653
+ rightDate.value = end;
3654
+ };
3655
+ watch(defaultValue, val => {
3656
+ if (val) restoreDefault();
3657
+ }, {
3658
+ immediate: true
3659
+ });
3660
+ watch(() => props.parsedValue, parsedValue$1 => {
3661
+ if (isArray(parsedValue$1) && parsedValue$1.length === 2) {
3662
+ const [start, end] = parsedValue$1;
3663
+ minDate.value = start;
3664
+ leftDate.value = start;
3665
+ maxDate.value = end;
3666
+ onParsedValueChanged(unref(minDate), unref(maxDate));
3667
+ } else restoreDefault();
3668
+ }, {
3669
+ immediate: true
3670
+ });
3671
+ return {
3672
+ minDate,
3673
+ maxDate,
3674
+ rangeState,
3675
+ lang,
3676
+ ppNs: pickerNs,
3677
+ drpNs,
3678
+ handleChangeRange,
3679
+ handleRangeConfirm,
3680
+ handleShortcutClick,
3681
+ onSelect,
3682
+ t
3683
+ };
3684
+ }; //#endregion
3685
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-range.mjs
3686
+ import_dayjs_min$2 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
3687
+ init_shared_esm_bundler();
3688
+ _hoisted_1$1 = ["onClick"];
3689
+ _hoisted_2$1 = ["aria-label"];
3690
+ _hoisted_3$1 = ["aria-label"];
3691
+ _hoisted_4 = ["disabled", "aria-label"];
3692
+ _hoisted_5 = ["disabled", "aria-label"];
3693
+ _hoisted_6 = ["disabled", "aria-label"];
3694
+ _hoisted_7 = ["disabled", "aria-label"];
3695
+ _hoisted_8 = ["aria-label"];
3696
+ _hoisted_9 = ["aria-label"];
3697
+ unit$1 = "month";
3698
+ DateRangePickPanel = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
3699
+ __name: "panel-date-range",
3700
+ props: panelDateRangeProps,
3701
+ emits: ["pick", "set-picker-option", "calendar-change", "panel-change"],
3702
+ setup(__props, {
3703
+ emit
3704
+ }) {
3705
+ const props = __props;
3706
+ const pickerBase = inject("EP_PICKER_BASE");
3707
+ const {
3708
+ disabledDate: disabledDate$1,
3709
+ cellClassName,
3710
+ format,
3711
+ defaultTime,
3712
+ clearable
3713
+ } = pickerBase.props;
3714
+ const shortcuts = toRef(pickerBase.props, "shortcuts");
3715
+ const defaultValue = toRef(pickerBase.props, "defaultValue");
3716
+ const {
3717
+ lang
3718
+ } = useLocale();
3719
+ const leftDate = ref((0, import_dayjs_min$2.default)().locale(lang.value));
3720
+ const rightDate = ref((0, import_dayjs_min$2.default)().locale(lang.value).add(1, unit$1));
3721
+ const {
3722
+ minDate,
3723
+ maxDate,
3724
+ rangeState,
3725
+ ppNs,
3726
+ drpNs,
3727
+ handleChangeRange,
3728
+ handleRangeConfirm,
3729
+ handleShortcutClick,
3730
+ onSelect,
3731
+ t
3732
+ } = useRangePicker(props, {
3733
+ defaultValue,
3734
+ leftDate,
3735
+ rightDate,
3736
+ unit: unit$1,
3737
+ onParsedValueChanged
3738
+ });
3739
+ const dateUserInput = ref({
3740
+ min: null,
3741
+ max: null
3742
+ });
3743
+ const timeUserInput = ref({
3744
+ min: null,
3745
+ max: null
3746
+ });
3747
+ const leftLabel = computed(() => {
3748
+ return `${leftDate.value.year()} ${t("el.datepicker.year")} ${t(`el.datepicker.month${leftDate.value.month() + 1}`)}`;
3749
+ });
3750
+ const rightLabel = computed(() => {
3751
+ return `${rightDate.value.year()} ${t("el.datepicker.year")} ${t(`el.datepicker.month${rightDate.value.month() + 1}`)}`;
3752
+ });
3753
+ const leftYear = computed(() => {
3754
+ return leftDate.value.year();
3755
+ });
3756
+ const leftMonth = computed(() => {
3757
+ return leftDate.value.month();
3758
+ });
3759
+ const rightYear = computed(() => {
3760
+ return rightDate.value.year();
3761
+ });
3762
+ const rightMonth = computed(() => {
3763
+ return rightDate.value.month();
3764
+ });
3765
+ const hasShortcuts = computed(() => !!shortcuts.value.length);
3766
+ const minVisibleDate = computed(() => {
3767
+ if (dateUserInput.value.min !== null) return dateUserInput.value.min;
3768
+ if (minDate.value) return minDate.value.format(dateFormat.value);
3769
+ return "";
3770
+ });
3771
+ const maxVisibleDate = computed(() => {
3772
+ if (dateUserInput.value.max !== null) return dateUserInput.value.max;
3773
+ if (maxDate.value || minDate.value) return (maxDate.value || minDate.value).format(dateFormat.value);
3774
+ return "";
3775
+ });
3776
+ const minVisibleTime = computed(() => {
3777
+ if (timeUserInput.value.min !== null) return timeUserInput.value.min;
3778
+ if (minDate.value) return minDate.value.format(timeFormat.value);
3779
+ return "";
3780
+ });
3781
+ const maxVisibleTime = computed(() => {
3782
+ if (timeUserInput.value.max !== null) return timeUserInput.value.max;
3783
+ if (maxDate.value || minDate.value) return (maxDate.value || minDate.value).format(timeFormat.value);
3784
+ return "";
3785
+ });
3786
+ const timeFormat = computed(() => {
3787
+ return props.timeFormat || extractTimeFormat(format);
3788
+ });
3789
+ const dateFormat = computed(() => {
3790
+ return props.dateFormat || extractDateFormat(format);
3791
+ });
3792
+ const isValidValue = date$1 => {
3793
+ return isValidRange(date$1) && (disabledDate$1 ? !disabledDate$1(date$1[0].toDate()) && !disabledDate$1(date$1[1].toDate()) : true);
3794
+ };
3795
+ const leftPrevYear = () => {
3796
+ leftDate.value = leftDate.value.subtract(1, "year");
3797
+ if (!props.unlinkPanels) rightDate.value = leftDate.value.add(1, "month");
3798
+ handlePanelChange("year");
3799
+ };
3800
+ const leftPrevMonth = () => {
3801
+ leftDate.value = leftDate.value.subtract(1, "month");
3802
+ if (!props.unlinkPanels) rightDate.value = leftDate.value.add(1, "month");
3803
+ handlePanelChange("month");
3804
+ };
3805
+ const rightNextYear = () => {
3806
+ if (!props.unlinkPanels) {
3807
+ leftDate.value = leftDate.value.add(1, "year");
3808
+ rightDate.value = leftDate.value.add(1, "month");
3809
+ } else rightDate.value = rightDate.value.add(1, "year");
3810
+ handlePanelChange("year");
3811
+ };
3812
+ const rightNextMonth = () => {
3813
+ if (!props.unlinkPanels) {
3814
+ leftDate.value = leftDate.value.add(1, "month");
3815
+ rightDate.value = leftDate.value.add(1, "month");
3816
+ } else rightDate.value = rightDate.value.add(1, "month");
3817
+ handlePanelChange("month");
3818
+ };
3819
+ const leftNextYear = () => {
3820
+ leftDate.value = leftDate.value.add(1, "year");
3821
+ handlePanelChange("year");
3822
+ };
3823
+ const leftNextMonth = () => {
3824
+ leftDate.value = leftDate.value.add(1, "month");
3825
+ handlePanelChange("month");
3826
+ };
3827
+ const rightPrevYear = () => {
3828
+ rightDate.value = rightDate.value.subtract(1, "year");
3829
+ handlePanelChange("year");
3830
+ };
3831
+ const rightPrevMonth = () => {
3832
+ rightDate.value = rightDate.value.subtract(1, "month");
3833
+ handlePanelChange("month");
3834
+ };
3835
+ const handlePanelChange = mode => {
3836
+ emit("panel-change", [leftDate.value.toDate(), rightDate.value.toDate()], mode);
3837
+ };
3838
+ const enableMonthArrow = computed(() => {
3839
+ const nextMonth = (leftMonth.value + 1) % 12;
3840
+ const yearOffset = leftMonth.value + 1 >= 12 ? 1 : 0;
3841
+ return props.unlinkPanels && new Date(leftYear.value + yearOffset, nextMonth) < new Date(rightYear.value, rightMonth.value);
3842
+ });
3843
+ const enableYearArrow = computed(() => {
3844
+ return props.unlinkPanels && rightYear.value * 12 + rightMonth.value - (leftYear.value * 12 + leftMonth.value + 1) >= 12;
3845
+ });
3846
+ const btnDisabled = computed(() => {
3847
+ return !(minDate.value && maxDate.value && !rangeState.value.selecting && isValidRange([minDate.value, maxDate.value]));
3848
+ });
3849
+ const showTime = computed(() => props.type === "datetime" || props.type === "datetimerange");
3850
+ const formatEmit = (emitDayjs, index) => {
3851
+ if (!emitDayjs) return;
3852
+ if (defaultTime) return (0, import_dayjs_min$2.default)(defaultTime[index] || defaultTime).locale(lang.value).year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());
3853
+ return emitDayjs;
3854
+ };
3855
+ const handleRangePick = (val, close = true) => {
3856
+ const min_ = val.minDate;
3857
+ const max_ = val.maxDate;
3858
+ const minDate_ = formatEmit(min_, 0);
3859
+ const maxDate_ = formatEmit(max_, 1);
3860
+ if (maxDate.value === maxDate_ && minDate.value === minDate_) return;
3861
+ emit("calendar-change", [min_.toDate(), max_ && max_.toDate()]);
3862
+ maxDate.value = maxDate_;
3863
+ minDate.value = minDate_;
3864
+ if (!close || showTime.value) return;
3865
+ handleRangeConfirm();
3866
+ };
3867
+ const minTimePickerVisible = ref(false);
3868
+ const maxTimePickerVisible = ref(false);
3869
+ const handleMinTimeClose = () => {
3870
+ minTimePickerVisible.value = false;
3871
+ };
3872
+ const handleMaxTimeClose = () => {
3873
+ maxTimePickerVisible.value = false;
3874
+ };
3875
+ const handleDateInput = (value, type) => {
3876
+ dateUserInput.value[type] = value;
3877
+ const parsedValueD = (0, import_dayjs_min$2.default)(value, dateFormat.value).locale(lang.value);
3878
+ if (parsedValueD.isValid()) {
3879
+ if (disabledDate$1 && disabledDate$1(parsedValueD.toDate())) return;
3880
+ if (type === "min") {
3881
+ leftDate.value = parsedValueD;
3882
+ minDate.value = (minDate.value || leftDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());
3883
+ if (!props.unlinkPanels && (!maxDate.value || maxDate.value.isBefore(minDate.value))) {
3884
+ rightDate.value = parsedValueD.add(1, "month");
3885
+ maxDate.value = minDate.value.add(1, "month");
3886
+ }
3887
+ } else {
3888
+ rightDate.value = parsedValueD;
3889
+ maxDate.value = (maxDate.value || rightDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());
3890
+ if (!props.unlinkPanels && (!minDate.value || minDate.value.isAfter(maxDate.value))) {
3891
+ leftDate.value = parsedValueD.subtract(1, "month");
3892
+ minDate.value = maxDate.value.subtract(1, "month");
3893
+ }
3894
+ }
3895
+ }
3896
+ };
3897
+ const handleDateChange = (_, type) => {
3898
+ dateUserInput.value[type] = null;
3899
+ };
3900
+ const handleTimeInput = (value, type) => {
3901
+ timeUserInput.value[type] = value;
3902
+ const parsedValueD = (0, import_dayjs_min$2.default)(value, timeFormat.value).locale(lang.value);
3903
+ if (parsedValueD.isValid()) if (type === "min") {
3904
+ minTimePickerVisible.value = true;
3905
+ minDate.value = (minDate.value || leftDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());
3906
+ if (!maxDate.value || maxDate.value.isBefore(minDate.value)) maxDate.value = minDate.value;
3907
+ } else {
3908
+ maxTimePickerVisible.value = true;
3909
+ maxDate.value = (maxDate.value || rightDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());
3910
+ rightDate.value = maxDate.value;
3911
+ if (maxDate.value && maxDate.value.isBefore(minDate.value)) minDate.value = maxDate.value;
3912
+ }
3913
+ };
3914
+ const handleTimeChange = (value, type) => {
3915
+ timeUserInput.value[type] = null;
3916
+ if (type === "min") {
3917
+ leftDate.value = minDate.value;
3918
+ minTimePickerVisible.value = false;
3919
+ } else {
3920
+ rightDate.value = maxDate.value;
3921
+ maxTimePickerVisible.value = false;
3922
+ }
3923
+ };
3924
+ const handleMinTimePick = (value, visible, first) => {
3925
+ if (timeUserInput.value.min) return;
3926
+ if (value) {
3927
+ leftDate.value = value;
3928
+ minDate.value = (minDate.value || leftDate.value).hour(value.hour()).minute(value.minute()).second(value.second());
3929
+ }
3930
+ if (!first) minTimePickerVisible.value = visible;
3931
+ if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {
3932
+ maxDate.value = minDate.value;
3933
+ rightDate.value = value;
3934
+ }
3935
+ };
3936
+ const handleMaxTimePick = (value, visible, first) => {
3937
+ if (timeUserInput.value.max) return;
3938
+ if (value) {
3939
+ rightDate.value = value;
3940
+ maxDate.value = (maxDate.value || rightDate.value).hour(value.hour()).minute(value.minute()).second(value.second());
3941
+ }
3942
+ if (!first) maxTimePickerVisible.value = visible;
3943
+ if (maxDate.value && maxDate.value.isBefore(minDate.value)) minDate.value = maxDate.value;
3944
+ };
3945
+ const handleClear = () => {
3946
+ leftDate.value = getDefaultValue(unref(defaultValue), {
3947
+ lang: unref(lang),
3948
+ unit: "month",
3949
+ unlinkPanels: props.unlinkPanels
3950
+ })[0];
3951
+ rightDate.value = leftDate.value.add(1, "month");
3952
+ emit("pick", null);
3953
+ };
3954
+ const formatToString = value => {
3955
+ return isArray(value) ? value.map(_ => _.format(format)) : value.format(format);
3956
+ };
3957
+ const parseUserInput = value => {
3958
+ return isArray(value) ? value.map(_ => (0, import_dayjs_min$2.default)(_, format).locale(lang.value)) : (0, import_dayjs_min$2.default)(value, format).locale(lang.value);
3959
+ };
3960
+ function onParsedValueChanged(minDate2, maxDate2) {
3961
+ if (props.unlinkPanels && maxDate2) {
3962
+ const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;
3963
+ const minDateMonth = (minDate2 == null ? void 0 : minDate2.month()) || 0;
3964
+ const maxDateYear = maxDate2.year();
3965
+ const maxDateMonth = maxDate2.month();
3966
+ rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit$1) : maxDate2;
3967
+ } else {
3968
+ rightDate.value = leftDate.value.add(1, unit$1);
3969
+ if (maxDate2) rightDate.value = rightDate.value.hour(maxDate2.hour()).minute(maxDate2.minute()).second(maxDate2.second());
3970
+ }
3971
+ }
3972
+ emit("set-picker-option", ["isValidValue", isValidValue]);
3973
+ emit("set-picker-option", ["parseUserInput", parseUserInput]);
3974
+ emit("set-picker-option", ["formatToString", formatToString]);
3975
+ emit("set-picker-option", ["handleClear", handleClear]);
3976
+ return (_ctx, _cache) => {
3977
+ return openBlock(), createElementBlock("div", {
3978
+ class: normalizeClass([unref(ppNs).b(), unref(drpNs).b(), {
3979
+ "has-sidebar": _ctx.$slots.sidebar || unref(hasShortcuts),
3980
+ "has-time": unref(showTime)
3981
+ }])
3982
+ }, [createBaseVNode("div", {
3983
+ class: normalizeClass(unref(ppNs).e("body-wrapper"))
3984
+ }, [renderSlot(_ctx.$slots, "sidebar", {
3985
+ class: normalizeClass(unref(ppNs).e("sidebar"))
3986
+ }), unref(hasShortcuts) ? (openBlock(), createElementBlock("div", {
3987
+ key: 0,
3988
+ class: normalizeClass(unref(ppNs).e("sidebar"))
3989
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {
3990
+ return openBlock(), createElementBlock("button", {
3991
+ key,
3992
+ type: "button",
3993
+ class: normalizeClass(unref(ppNs).e("shortcut")),
3994
+ onClick: $event => unref(handleShortcutClick)(shortcut)
3995
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$1);
3996
+ }), 128))], 2)) : createCommentVNode("v-if", true), createBaseVNode("div", {
3997
+ class: normalizeClass(unref(ppNs).e("body"))
3998
+ }, [unref(showTime) ? (openBlock(), createElementBlock("div", {
3999
+ key: 0,
4000
+ class: normalizeClass(unref(drpNs).e("time-header"))
4001
+ }, [createBaseVNode("span", {
4002
+ class: normalizeClass(unref(drpNs).e("editors-wrap"))
4003
+ }, [createBaseVNode("span", {
4004
+ class: normalizeClass(unref(drpNs).e("time-picker-wrap"))
4005
+ }, [createVNode(unref(ElInput), {
4006
+ size: "small",
4007
+ disabled: unref(rangeState).selecting,
4008
+ placeholder: unref(t)("el.datepicker.startDate"),
4009
+ class: normalizeClass(unref(drpNs).e("editor")),
4010
+ "model-value": unref(minVisibleDate),
4011
+ "validate-event": false,
4012
+ onInput: _cache[0] || (_cache[0] = val => handleDateInput(val, "min")),
4013
+ onChange: _cache[1] || (_cache[1] = val => handleDateChange(val, "min"))
4014
+ }, null, 8, ["disabled", "placeholder", "class", "model-value"])], 2), withDirectives((openBlock(), createElementBlock("span", {
4015
+ class: normalizeClass(unref(drpNs).e("time-picker-wrap"))
4016
+ }, [createVNode(unref(ElInput), {
4017
+ size: "small",
4018
+ class: normalizeClass(unref(drpNs).e("editor")),
4019
+ disabled: unref(rangeState).selecting,
4020
+ placeholder: unref(t)("el.datepicker.startTime"),
4021
+ "model-value": unref(minVisibleTime),
4022
+ "validate-event": false,
4023
+ onFocus: _cache[2] || (_cache[2] = $event => minTimePickerVisible.value = true),
4024
+ onInput: _cache[3] || (_cache[3] = val => handleTimeInput(val, "min")),
4025
+ onChange: _cache[4] || (_cache[4] = val => handleTimeChange(val, "min"))
4026
+ }, null, 8, ["class", "disabled", "placeholder", "model-value"]), createVNode(unref(TimePickPanel), {
4027
+ visible: minTimePickerVisible.value,
4028
+ format: unref(timeFormat),
4029
+ "datetime-role": "start",
4030
+ "parsed-value": leftDate.value,
4031
+ onPick: handleMinTimePick
4032
+ }, null, 8, ["visible", "format", "parsed-value"])], 2)), [[unref(ClickOutside), handleMinTimeClose]])], 2), createBaseVNode("span", null, [createVNode(unref(ElIcon), null, {
4033
+ default: withCtx(() => [createVNode(unref(arrow_right_default))]),
4034
+ _: 1
4035
+ })]), createBaseVNode("span", {
4036
+ class: normalizeClass([unref(drpNs).e("editors-wrap"), "is-right"])
4037
+ }, [createBaseVNode("span", {
4038
+ class: normalizeClass(unref(drpNs).e("time-picker-wrap"))
4039
+ }, [createVNode(unref(ElInput), {
4040
+ size: "small",
4041
+ class: normalizeClass(unref(drpNs).e("editor")),
4042
+ disabled: unref(rangeState).selecting,
4043
+ placeholder: unref(t)("el.datepicker.endDate"),
4044
+ "model-value": unref(maxVisibleDate),
4045
+ readonly: !unref(minDate),
4046
+ "validate-event": false,
4047
+ onInput: _cache[5] || (_cache[5] = val => handleDateInput(val, "max")),
4048
+ onChange: _cache[6] || (_cache[6] = val => handleDateChange(val, "max"))
4049
+ }, null, 8, ["class", "disabled", "placeholder", "model-value", "readonly"])], 2), withDirectives((openBlock(), createElementBlock("span", {
4050
+ class: normalizeClass(unref(drpNs).e("time-picker-wrap"))
4051
+ }, [createVNode(unref(ElInput), {
4052
+ size: "small",
4053
+ class: normalizeClass(unref(drpNs).e("editor")),
4054
+ disabled: unref(rangeState).selecting,
4055
+ placeholder: unref(t)("el.datepicker.endTime"),
4056
+ "model-value": unref(maxVisibleTime),
4057
+ readonly: !unref(minDate),
4058
+ "validate-event": false,
4059
+ onFocus: _cache[7] || (_cache[7] = $event => unref(minDate) && (maxTimePickerVisible.value = true)),
4060
+ onInput: _cache[8] || (_cache[8] = val => handleTimeInput(val, "max")),
4061
+ onChange: _cache[9] || (_cache[9] = val => handleTimeChange(val, "max"))
4062
+ }, null, 8, ["class", "disabled", "placeholder", "model-value", "readonly"]), createVNode(unref(TimePickPanel), {
4063
+ "datetime-role": "end",
4064
+ visible: maxTimePickerVisible.value,
4065
+ format: unref(timeFormat),
4066
+ "parsed-value": rightDate.value,
4067
+ onPick: handleMaxTimePick
4068
+ }, null, 8, ["visible", "format", "parsed-value"])], 2)), [[unref(ClickOutside), handleMaxTimeClose]])], 2)], 2)) : createCommentVNode("v-if", true), createBaseVNode("div", {
4069
+ class: normalizeClass([[unref(ppNs).e("content"), unref(drpNs).e("content")], "is-left"])
4070
+ }, [createBaseVNode("div", {
4071
+ class: normalizeClass(unref(drpNs).e("header"))
4072
+ }, [createBaseVNode("button", {
4073
+ type: "button",
4074
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-left"]),
4075
+ "aria-label": unref(t)(`el.datepicker.prevYear`),
4076
+ onClick: leftPrevYear
4077
+ }, [createVNode(unref(ElIcon), null, {
4078
+ default: withCtx(() => [createVNode(unref(d_arrow_left_default))]),
4079
+ _: 1
4080
+ })], 10, _hoisted_2$1), createBaseVNode("button", {
4081
+ type: "button",
4082
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "arrow-left"]),
4083
+ "aria-label": unref(t)(`el.datepicker.prevMonth`),
4084
+ onClick: leftPrevMonth
4085
+ }, [createVNode(unref(ElIcon), null, {
4086
+ default: withCtx(() => [createVNode(unref(arrow_left_default))]),
4087
+ _: 1
4088
+ })], 10, _hoisted_3$1), _ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
4089
+ key: 0,
4090
+ type: "button",
4091
+ disabled: !unref(enableYearArrow),
4092
+ class: normalizeClass([[unref(ppNs).e("icon-btn"), {
4093
+ "is-disabled": !unref(enableYearArrow)
4094
+ }], "d-arrow-right"]),
4095
+ "aria-label": unref(t)(`el.datepicker.nextYear`),
4096
+ onClick: leftNextYear
4097
+ }, [createVNode(unref(ElIcon), null, {
4098
+ default: withCtx(() => [createVNode(unref(d_arrow_right_default))]),
4099
+ _: 1
4100
+ })], 10, _hoisted_4)) : createCommentVNode("v-if", true), _ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
4101
+ key: 1,
4102
+ type: "button",
4103
+ disabled: !unref(enableMonthArrow),
4104
+ class: normalizeClass([[unref(ppNs).e("icon-btn"), {
4105
+ "is-disabled": !unref(enableMonthArrow)
4106
+ }], "arrow-right"]),
4107
+ "aria-label": unref(t)(`el.datepicker.nextMonth`),
4108
+ onClick: leftNextMonth
4109
+ }, [createVNode(unref(ElIcon), null, {
4110
+ default: withCtx(() => [createVNode(unref(arrow_right_default))]),
4111
+ _: 1
4112
+ })], 10, _hoisted_5)) : createCommentVNode("v-if", true), createBaseVNode("div", null, toDisplayString(unref(leftLabel)), 1)], 2), createVNode(DateTable, {
4113
+ "selection-mode": "range",
4114
+ date: leftDate.value,
4115
+ "min-date": unref(minDate),
4116
+ "max-date": unref(maxDate),
4117
+ "range-state": unref(rangeState),
4118
+ "disabled-date": unref(disabledDate$1),
4119
+ "cell-class-name": unref(cellClassName),
4120
+ onChangerange: unref(handleChangeRange),
4121
+ onPick: handleRangePick,
4122
+ onSelect: unref(onSelect)
4123
+ }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "cell-class-name", "onChangerange", "onSelect"])], 2), createBaseVNode("div", {
4124
+ class: normalizeClass([[unref(ppNs).e("content"), unref(drpNs).e("content")], "is-right"])
4125
+ }, [createBaseVNode("div", {
4126
+ class: normalizeClass(unref(drpNs).e("header"))
4127
+ }, [_ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
4128
+ key: 0,
4129
+ type: "button",
4130
+ disabled: !unref(enableYearArrow),
4131
+ class: normalizeClass([[unref(ppNs).e("icon-btn"), {
4132
+ "is-disabled": !unref(enableYearArrow)
4133
+ }], "d-arrow-left"]),
4134
+ "aria-label": unref(t)(`el.datepicker.prevYear`),
4135
+ onClick: rightPrevYear
4136
+ }, [createVNode(unref(ElIcon), null, {
4137
+ default: withCtx(() => [createVNode(unref(d_arrow_left_default))]),
4138
+ _: 1
4139
+ })], 10, _hoisted_6)) : createCommentVNode("v-if", true), _ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
4140
+ key: 1,
4141
+ type: "button",
4142
+ disabled: !unref(enableMonthArrow),
4143
+ class: normalizeClass([[unref(ppNs).e("icon-btn"), {
4144
+ "is-disabled": !unref(enableMonthArrow)
4145
+ }], "arrow-left"]),
4146
+ "aria-label": unref(t)(`el.datepicker.prevMonth`),
4147
+ onClick: rightPrevMonth
4148
+ }, [createVNode(unref(ElIcon), null, {
4149
+ default: withCtx(() => [createVNode(unref(arrow_left_default))]),
4150
+ _: 1
4151
+ })], 10, _hoisted_7)) : createCommentVNode("v-if", true), createBaseVNode("button", {
4152
+ type: "button",
4153
+ "aria-label": unref(t)(`el.datepicker.nextYear`),
4154
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-right"]),
4155
+ onClick: rightNextYear
4156
+ }, [createVNode(unref(ElIcon), null, {
4157
+ default: withCtx(() => [createVNode(unref(d_arrow_right_default))]),
4158
+ _: 1
4159
+ })], 10, _hoisted_8), createBaseVNode("button", {
4160
+ type: "button",
4161
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "arrow-right"]),
4162
+ "aria-label": unref(t)(`el.datepicker.nextMonth`),
4163
+ onClick: rightNextMonth
4164
+ }, [createVNode(unref(ElIcon), null, {
4165
+ default: withCtx(() => [createVNode(unref(arrow_right_default))]),
4166
+ _: 1
4167
+ })], 10, _hoisted_9), createBaseVNode("div", null, toDisplayString(unref(rightLabel)), 1)], 2), createVNode(DateTable, {
4168
+ "selection-mode": "range",
4169
+ date: rightDate.value,
4170
+ "min-date": unref(minDate),
4171
+ "max-date": unref(maxDate),
4172
+ "range-state": unref(rangeState),
4173
+ "disabled-date": unref(disabledDate$1),
4174
+ "cell-class-name": unref(cellClassName),
4175
+ onChangerange: unref(handleChangeRange),
4176
+ onPick: handleRangePick,
4177
+ onSelect: unref(onSelect)
4178
+ }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "cell-class-name", "onChangerange", "onSelect"])], 2)], 2)], 2), unref(showTime) ? (openBlock(), createElementBlock("div", {
4179
+ key: 0,
4180
+ class: normalizeClass(unref(ppNs).e("footer"))
4181
+ }, [unref(clearable) ? (openBlock(), createBlock(unref(ElButton), {
4182
+ key: 0,
4183
+ text: "",
4184
+ size: "small",
4185
+ class: normalizeClass(unref(ppNs).e("link-btn")),
4186
+ onClick: handleClear
4187
+ }, {
4188
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("el.datepicker.clear")), 1)]),
4189
+ _: 1
4190
+ }, 8, ["class"])) : createCommentVNode("v-if", true), createVNode(unref(ElButton), {
4191
+ plain: "",
4192
+ size: "small",
4193
+ class: normalizeClass(unref(ppNs).e("link-btn")),
4194
+ disabled: unref(btnDisabled),
4195
+ onClick: _cache[10] || (_cache[10] = $event => unref(handleRangeConfirm)(false))
4196
+ }, {
4197
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("el.datepicker.confirm")), 1)]),
4198
+ _: 1
4199
+ }, 8, ["class", "disabled"])], 2)) : createCommentVNode("v-if", true)], 2);
4200
+ };
4201
+ }
4202
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]); //#endregion
4203
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs
4204
+ panelMonthRangeProps = buildProps({
4205
+ ...panelRangeSharedProps
4206
+ });
4207
+ panelMonthRangeEmits = ["pick", "set-picker-option", "calendar-change"]; //#endregion
4208
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/composables/use-month-range-header.mjs
4209
+ useMonthRangeHeader = ({
4210
+ unlinkPanels,
4211
+ leftDate,
4212
+ rightDate
4213
+ }) => {
4214
+ const {
4215
+ t
4216
+ } = useLocale();
4217
+ const leftPrevYear = () => {
4218
+ leftDate.value = leftDate.value.subtract(1, "year");
4219
+ if (!unlinkPanels.value) rightDate.value = rightDate.value.subtract(1, "year");
4220
+ };
4221
+ const rightNextYear = () => {
4222
+ if (!unlinkPanels.value) leftDate.value = leftDate.value.add(1, "year");
4223
+ rightDate.value = rightDate.value.add(1, "year");
4224
+ };
4225
+ const leftNextYear = () => {
4226
+ leftDate.value = leftDate.value.add(1, "year");
4227
+ };
4228
+ const rightPrevYear = () => {
4229
+ rightDate.value = rightDate.value.subtract(1, "year");
4230
+ };
4231
+ return {
4232
+ leftPrevYear,
4233
+ rightNextYear,
4234
+ leftNextYear,
4235
+ rightPrevYear,
4236
+ leftLabel: computed(() => {
4237
+ return `${leftDate.value.year()} ${t("el.datepicker.year")}`;
4238
+ }),
4239
+ rightLabel: computed(() => {
4240
+ return `${rightDate.value.year()} ${t("el.datepicker.year")}`;
4241
+ }),
4242
+ leftYear: computed(() => {
4243
+ return leftDate.value.year();
4244
+ }),
4245
+ rightYear: computed(() => {
4246
+ return rightDate.value.year() === leftDate.value.year() ? leftDate.value.year() + 1 : rightDate.value.year();
4247
+ })
4248
+ };
4249
+ }; //#endregion
4250
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs
4251
+ import_dayjs_min$1 = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
4252
+ _hoisted_1 = ["onClick"];
4253
+ _hoisted_2 = ["disabled"];
4254
+ _hoisted_3 = ["disabled"];
4255
+ unit = "year";
4256
+ MonthRangePickPanel = /* @__PURE__ */_export_sfc(/* @__PURE__ */defineComponent({
4257
+ ...defineComponent({
4258
+ name: "DatePickerMonthRange"
4259
+ }),
4260
+ props: panelMonthRangeProps,
4261
+ emits: panelMonthRangeEmits,
4262
+ setup(__props, {
4263
+ emit
4264
+ }) {
4265
+ const props = __props;
4266
+ const {
4267
+ lang
4268
+ } = useLocale();
4269
+ const pickerBase = inject("EP_PICKER_BASE");
4270
+ const {
4271
+ shortcuts,
4272
+ disabledDate: disabledDate$1,
4273
+ format
4274
+ } = pickerBase.props;
4275
+ const defaultValue = toRef(pickerBase.props, "defaultValue");
4276
+ const leftDate = ref((0, import_dayjs_min$1.default)().locale(lang.value));
4277
+ const rightDate = ref((0, import_dayjs_min$1.default)().locale(lang.value).add(1, unit));
4278
+ const {
4279
+ minDate,
4280
+ maxDate,
4281
+ rangeState,
4282
+ ppNs,
4283
+ drpNs,
4284
+ handleChangeRange,
4285
+ handleRangeConfirm,
4286
+ handleShortcutClick,
4287
+ onSelect
4288
+ } = useRangePicker(props, {
4289
+ defaultValue,
4290
+ leftDate,
4291
+ rightDate,
4292
+ unit,
4293
+ onParsedValueChanged
4294
+ });
4295
+ const hasShortcuts = computed(() => !!shortcuts.length);
4296
+ const {
4297
+ leftPrevYear,
4298
+ rightNextYear,
4299
+ leftNextYear,
4300
+ rightPrevYear,
4301
+ leftLabel,
4302
+ rightLabel,
4303
+ leftYear,
4304
+ rightYear
4305
+ } = useMonthRangeHeader({
4306
+ unlinkPanels: toRef(props, "unlinkPanels"),
4307
+ leftDate,
4308
+ rightDate
4309
+ });
4310
+ const enableYearArrow = computed(() => {
4311
+ return props.unlinkPanels && rightYear.value > leftYear.value + 1;
4312
+ });
4313
+ const handleRangePick = (val, close = true) => {
4314
+ const minDate_ = val.minDate;
4315
+ const maxDate_ = val.maxDate;
4316
+ if (maxDate.value === maxDate_ && minDate.value === minDate_) return;
4317
+ emit("calendar-change", [minDate_.toDate(), maxDate_ && maxDate_.toDate()]);
4318
+ maxDate.value = maxDate_;
4319
+ minDate.value = minDate_;
4320
+ if (!close) return;
4321
+ handleRangeConfirm();
4322
+ };
4323
+ const formatToString = days => {
4324
+ return days.map(day => day.format(format));
4325
+ };
4326
+ function onParsedValueChanged(minDate2, maxDate2) {
4327
+ if (props.unlinkPanels && maxDate2) rightDate.value = ((minDate2 == null ? void 0 : minDate2.year()) || 0) === maxDate2.year() ? maxDate2.add(1, unit) : maxDate2;else rightDate.value = leftDate.value.add(1, unit);
4328
+ }
4329
+ emit("set-picker-option", ["formatToString", formatToString]);
4330
+ return (_ctx, _cache) => {
4331
+ return openBlock(), createElementBlock("div", {
4332
+ class: normalizeClass([unref(ppNs).b(), unref(drpNs).b(), {
4333
+ "has-sidebar": Boolean(_ctx.$slots.sidebar) || unref(hasShortcuts)
4334
+ }])
4335
+ }, [createBaseVNode("div", {
4336
+ class: normalizeClass(unref(ppNs).e("body-wrapper"))
4337
+ }, [renderSlot(_ctx.$slots, "sidebar", {
4338
+ class: normalizeClass(unref(ppNs).e("sidebar"))
4339
+ }), unref(hasShortcuts) ? (openBlock(), createElementBlock("div", {
4340
+ key: 0,
4341
+ class: normalizeClass(unref(ppNs).e("sidebar"))
4342
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {
4343
+ return openBlock(), createElementBlock("button", {
4344
+ key,
4345
+ type: "button",
4346
+ class: normalizeClass(unref(ppNs).e("shortcut")),
4347
+ onClick: $event => unref(handleShortcutClick)(shortcut)
4348
+ }, toDisplayString(shortcut.text), 11, _hoisted_1);
4349
+ }), 128))], 2)) : createCommentVNode("v-if", true), createBaseVNode("div", {
4350
+ class: normalizeClass(unref(ppNs).e("body"))
4351
+ }, [createBaseVNode("div", {
4352
+ class: normalizeClass([[unref(ppNs).e("content"), unref(drpNs).e("content")], "is-left"])
4353
+ }, [createBaseVNode("div", {
4354
+ class: normalizeClass(unref(drpNs).e("header"))
4355
+ }, [createBaseVNode("button", {
4356
+ type: "button",
4357
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-left"]),
4358
+ onClick: _cache[0] || (_cache[0] = (...args) => unref(leftPrevYear) && unref(leftPrevYear)(...args))
4359
+ }, [createVNode(unref(ElIcon), null, {
4360
+ default: withCtx(() => [createVNode(unref(d_arrow_left_default))]),
4361
+ _: 1
4362
+ })], 2), _ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
4363
+ key: 0,
4364
+ type: "button",
4365
+ disabled: !unref(enableYearArrow),
4366
+ class: normalizeClass([[unref(ppNs).e("icon-btn"), {
4367
+ [unref(ppNs).is("disabled")]: !unref(enableYearArrow)
4368
+ }], "d-arrow-right"]),
4369
+ onClick: _cache[1] || (_cache[1] = (...args) => unref(leftNextYear) && unref(leftNextYear)(...args))
4370
+ }, [createVNode(unref(ElIcon), null, {
4371
+ default: withCtx(() => [createVNode(unref(d_arrow_right_default))]),
4372
+ _: 1
4373
+ })], 10, _hoisted_2)) : createCommentVNode("v-if", true), createBaseVNode("div", null, toDisplayString(unref(leftLabel)), 1)], 2), createVNode(MonthTable, {
4374
+ "selection-mode": "range",
4375
+ date: leftDate.value,
4376
+ "min-date": unref(minDate),
4377
+ "max-date": unref(maxDate),
4378
+ "range-state": unref(rangeState),
4379
+ "disabled-date": unref(disabledDate$1),
4380
+ onChangerange: unref(handleChangeRange),
4381
+ onPick: handleRangePick,
4382
+ onSelect: unref(onSelect)
4383
+ }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "onChangerange", "onSelect"])], 2), createBaseVNode("div", {
4384
+ class: normalizeClass([[unref(ppNs).e("content"), unref(drpNs).e("content")], "is-right"])
4385
+ }, [createBaseVNode("div", {
4386
+ class: normalizeClass(unref(drpNs).e("header"))
4387
+ }, [_ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
4388
+ key: 0,
4389
+ type: "button",
4390
+ disabled: !unref(enableYearArrow),
4391
+ class: normalizeClass([[unref(ppNs).e("icon-btn"), {
4392
+ "is-disabled": !unref(enableYearArrow)
4393
+ }], "d-arrow-left"]),
4394
+ onClick: _cache[2] || (_cache[2] = (...args) => unref(rightPrevYear) && unref(rightPrevYear)(...args))
4395
+ }, [createVNode(unref(ElIcon), null, {
4396
+ default: withCtx(() => [createVNode(unref(d_arrow_left_default))]),
4397
+ _: 1
4398
+ })], 10, _hoisted_3)) : createCommentVNode("v-if", true), createBaseVNode("button", {
4399
+ type: "button",
4400
+ class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-right"]),
4401
+ onClick: _cache[3] || (_cache[3] = (...args) => unref(rightNextYear) && unref(rightNextYear)(...args))
4402
+ }, [createVNode(unref(ElIcon), null, {
4403
+ default: withCtx(() => [createVNode(unref(d_arrow_right_default))]),
4404
+ _: 1
4405
+ })], 2), createBaseVNode("div", null, toDisplayString(unref(rightLabel)), 1)], 2), createVNode(MonthTable, {
4406
+ "selection-mode": "range",
4407
+ date: rightDate.value,
4408
+ "min-date": unref(minDate),
4409
+ "max-date": unref(maxDate),
4410
+ "range-state": unref(rangeState),
4411
+ "disabled-date": unref(disabledDate$1),
4412
+ onChangerange: unref(handleChangeRange),
4413
+ onPick: handleRangePick,
4414
+ onSelect: unref(onSelect)
4415
+ }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "onChangerange", "onSelect"])], 2)], 2)], 2)], 2);
4416
+ };
4417
+ }
4418
+ }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]); //#endregion
4419
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/panel-utils.mjs
4420
+ getPanel = function (type) {
4421
+ switch (type) {
4422
+ case "daterange":
4423
+ case "datetimerange":
4424
+ return DateRangePickPanel;
4425
+ case "monthrange":
4426
+ return MonthRangePickPanel;
4427
+ default:
4428
+ return DatePickPanel;
4429
+ }
4430
+ }; //#endregion
4431
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/src/date-picker.mjs
4432
+ import_dayjs_min = /* @__PURE__ */__toESM(require_dayjs_min(), 1);
4433
+ import_customParseFormat = /* @__PURE__ */__toESM(require_customParseFormat(), 1);
4434
+ import_advancedFormat = /* @__PURE__ */__toESM(require_advancedFormat(), 1);
4435
+ import_localeData = /* @__PURE__ */__toESM(require_localeData(), 1);
4436
+ import_weekOfYear = /* @__PURE__ */__toESM(require_weekOfYear(), 1);
4437
+ import_weekYear = /* @__PURE__ */__toESM(require_weekYear(), 1);
4438
+ import_dayOfYear = /* @__PURE__ */__toESM(require_dayOfYear(), 1);
4439
+ import_isSameOrAfter = /* @__PURE__ */__toESM(require_isSameOrAfter(), 1);
4440
+ import_isSameOrBefore = /* @__PURE__ */__toESM(require_isSameOrBefore(), 1);
4441
+ import_dayjs_min.default.extend(import_localeData.default);
4442
+ import_dayjs_min.default.extend(import_advancedFormat.default);
4443
+ import_dayjs_min.default.extend(import_customParseFormat.default);
4444
+ import_dayjs_min.default.extend(import_weekOfYear.default);
4445
+ import_dayjs_min.default.extend(import_weekYear.default);
4446
+ import_dayjs_min.default.extend(import_dayOfYear.default);
4447
+ import_dayjs_min.default.extend(import_isSameOrAfter.default);
4448
+ import_dayjs_min.default.extend(import_isSameOrBefore.default);
4449
+ DatePicker = defineComponent({
4450
+ name: "ElDatePicker",
4451
+ install: null,
4452
+ props: datePickerProps,
4453
+ emits: ["update:modelValue"],
4454
+ setup(props, {
4455
+ expose,
4456
+ emit,
4457
+ slots
4458
+ }) {
4459
+ const ns = useNamespace("picker-panel");
4460
+ provide("ElPopperOptions", reactive(toRef(props, "popperOptions")));
4461
+ provide(ROOT_PICKER_INJECTION_KEY, {
4462
+ slots,
4463
+ pickerNs: ns
4464
+ });
4465
+ const commonPicker = ref();
4466
+ expose({
4467
+ focus: (focusStartInput = true) => {
4468
+ var _a;
4469
+ (_a = commonPicker.value) == null || _a.focus(focusStartInput);
4470
+ },
4471
+ handleOpen: () => {
4472
+ var _a;
4473
+ (_a = commonPicker.value) == null || _a.handleOpen();
4474
+ },
4475
+ handleClose: () => {
4476
+ var _a;
4477
+ (_a = commonPicker.value) == null || _a.handleClose();
4478
+ }
4479
+ });
4480
+ const onModelValueUpdated = val => {
4481
+ emit("update:modelValue", val);
4482
+ };
4483
+ return () => {
4484
+ var _a;
4485
+ const format = (_a = props.format) != null ? _a : DEFAULT_FORMATS_DATEPICKER[props.type] || "YYYY-MM-DD";
4486
+ const Component = getPanel(props.type);
4487
+ return createVNode(CommonPicker, mergeProps(props, {
4488
+ "format": format,
4489
+ "type": props.type,
4490
+ "ref": commonPicker,
4491
+ "onUpdate:modelValue": onModelValueUpdated
4492
+ }), {
4493
+ default: scopedProps => createVNode(Component, scopedProps, null),
4494
+ "range-separator": slots["range-separator"]
4495
+ });
4496
+ };
4497
+ }
4498
+ }); //#endregion
4499
+ //#region ../../../node_modules/.pnpm/element-plus@2.4.3_patch_hash=3bc4ea0a42ad52c6bbc3d06c12c2963d55b57d6b5b8d436e46e7fd8ff_87815230ec1d292541fa9e3e306612e7/node_modules/element-plus/es/components/date-picker/index.mjs
4500
+ _DatePicker = DatePicker;
4501
+ _DatePicker.install = app => {
4502
+ app.component(_DatePicker.name, _DatePicker);
4503
+ };
4504
+ _export("t", ElDatePicker = _DatePicker); //#endregion
4505
+ }
4506
+ };
4507
+ });
4508
+ })();