@ds-autonomie/web-components 2.14.0 → 2.15.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.
- package/CHANGELOG.md +29 -0
- package/cdn/chunks/chunk.23SH73TB.js +25 -0
- package/cdn/chunks/chunk.27RSAF7P.js +1 -0
- package/cdn/chunks/chunk.27TNQFPN.js +28 -0
- package/cdn/chunks/chunk.2HL2P3B7.js +12 -0
- package/cdn/chunks/chunk.2IDFQMUY.js +173 -0
- package/cdn/chunks/chunk.2OMAP64Q.js +75 -0
- package/cdn/chunks/chunk.2PKKSM74.js +83 -0
- package/cdn/chunks/chunk.2PN56GC6.js +1 -0
- package/cdn/chunks/chunk.2Q5WFUBC.js +23 -0
- package/cdn/chunks/chunk.2RF4WD6T.js +10 -0
- package/cdn/chunks/chunk.2S76L6WY.js +223 -0
- package/cdn/chunks/chunk.2UFBLWVL.js +197 -0
- package/cdn/chunks/chunk.32PDY7UK.js +62 -0
- package/cdn/chunks/chunk.3CCCUH4R.js +22 -0
- package/cdn/chunks/chunk.3FHGJRJ3.js +249 -0
- package/cdn/chunks/chunk.3FJ6JVEK.js +10 -0
- package/cdn/chunks/chunk.3IM3457W.js +5 -0
- package/cdn/chunks/chunk.3LUZLW6F.js +80 -0
- package/cdn/chunks/chunk.3RLUYXJN.js +1 -0
- package/cdn/chunks/chunk.3SJY545H.js +3 -0
- package/cdn/chunks/chunk.3T33HE3M.js +247 -0
- package/cdn/chunks/chunk.3YGVCBEP.js +442 -0
- package/cdn/chunks/chunk.3ZDZD4UZ.js +8 -0
- package/cdn/chunks/chunk.4E24Z2WP.js +47 -0
- package/cdn/chunks/chunk.4GFD32WP.js +12 -0
- package/cdn/chunks/chunk.4GV3WJET.js +119 -0
- package/cdn/chunks/chunk.4HMGXARV.js +20 -0
- package/cdn/chunks/chunk.4RYFGQPL.js +1 -0
- package/cdn/chunks/chunk.4WOVD75K.js +1 -0
- package/cdn/chunks/chunk.55AOGZN7.js +3 -0
- package/cdn/chunks/chunk.567TV3AI.js +52 -0
- package/cdn/chunks/chunk.57GTEVYE.js +51 -0
- package/cdn/chunks/chunk.5B4NN6DN.js +51 -0
- package/cdn/chunks/chunk.5OHTEVHW.js +231 -0
- package/cdn/chunks/chunk.5PAMB4OC.js +7 -0
- package/cdn/chunks/chunk.5VPTZHRV.js +18 -0
- package/cdn/chunks/chunk.5WVQIAAW.js +12 -0
- package/cdn/chunks/chunk.62TMME56.js +96 -0
- package/cdn/chunks/chunk.656TABWU.js +68 -0
- package/cdn/chunks/chunk.65I7LBQ4.js +81 -0
- package/cdn/chunks/chunk.666CJOK2.js +11 -0
- package/cdn/chunks/chunk.6D7W2ERA.js +224 -0
- package/cdn/chunks/chunk.6G2FNLAV.js +25 -0
- package/cdn/chunks/chunk.6H3XJWN7.js +31 -0
- package/cdn/chunks/chunk.6IF6YOG2.js +72 -0
- package/cdn/chunks/chunk.6MYWUUAG.js +124 -0
- package/cdn/chunks/chunk.6NIF5NUR.js +6 -0
- package/cdn/chunks/chunk.6PG2RNLF.js +24 -0
- package/cdn/chunks/chunk.6QPTXGCJ.js +1 -0
- package/cdn/chunks/chunk.6Y5FKCNR.js +39 -0
- package/cdn/chunks/chunk.6YHPQNRD.js +239 -0
- package/cdn/chunks/chunk.73OVKQML.js +130 -0
- package/cdn/chunks/chunk.76OQZSVD.js +1 -0
- package/cdn/chunks/chunk.76SO56MH.js +178 -0
- package/cdn/chunks/chunk.7E6YCVBM.js +73 -0
- package/cdn/chunks/chunk.7EFNXSDX.js +62 -0
- package/cdn/chunks/chunk.7FSGFZP4.js +19 -0
- package/cdn/chunks/chunk.A4WPNAA5.js +13 -0
- package/cdn/chunks/chunk.A6EQKFLY.js +24 -0
- package/cdn/chunks/chunk.A6MZKELV.js +124 -0
- package/cdn/chunks/chunk.ABEBXNWB.js +27 -0
- package/cdn/chunks/chunk.ADTGGBWH.js +72 -0
- package/cdn/chunks/chunk.AFYV7235.js +51 -0
- package/cdn/chunks/chunk.AP4A32XE.js +198 -0
- package/cdn/chunks/chunk.APETMEWE.js +44 -0
- package/cdn/chunks/chunk.AWUKINCE.js +26 -0
- package/cdn/chunks/chunk.B4KFHYLS.js +1 -0
- package/cdn/chunks/chunk.B6ITXF6W.js +4 -0
- package/cdn/chunks/chunk.BARZKNDN.js +78 -0
- package/cdn/chunks/chunk.BF3YQOYM.js +113 -0
- package/cdn/chunks/chunk.BF3YX5F2.js +61 -0
- package/cdn/chunks/chunk.BLTJNDSL.js +31 -0
- package/cdn/chunks/chunk.BNGKQNWN.js +20 -0
- package/cdn/chunks/chunk.BNRHJT5Y.js +41 -0
- package/cdn/chunks/chunk.BOCM6TRB.js +21 -0
- package/cdn/chunks/chunk.BOVKVXAW.js +36 -0
- package/cdn/chunks/chunk.BRWNVT6G.js +15 -0
- package/cdn/chunks/chunk.BUGOUMBK.js +66 -0
- package/cdn/chunks/chunk.BWEPOOQP.js +1 -0
- package/cdn/chunks/chunk.BYKNQ7UN.js +35 -0
- package/cdn/chunks/chunk.CEKPJB4F.js +147 -0
- package/cdn/chunks/chunk.CEOMZJL3.js +25 -0
- package/cdn/chunks/chunk.CFBXGDPS.js +26 -0
- package/cdn/chunks/chunk.CHNH72UY.js +121 -0
- package/cdn/chunks/chunk.CIKTPEVX.js +93 -0
- package/cdn/chunks/chunk.CPEZHTWZ.js +94 -0
- package/cdn/chunks/chunk.D3S7D52C.js +1 -0
- package/cdn/chunks/chunk.D4Q4A62L.js +71 -0
- package/cdn/chunks/chunk.D7CLOP7O.js +39 -0
- package/cdn/chunks/chunk.DDVB3ULY.js +71 -0
- package/cdn/chunks/chunk.DJQPDKQQ.js +9 -0
- package/cdn/chunks/chunk.DMEVGY2I.js +8 -0
- package/cdn/chunks/chunk.DNAYYYKK.js +31 -0
- package/cdn/chunks/chunk.DO7GE2JH.js +1086 -0
- package/cdn/chunks/chunk.DPMHT2KP.js +14 -0
- package/cdn/chunks/chunk.DRIKSOP6.js +40 -0
- package/cdn/chunks/chunk.DUYCHM7G.js +10 -0
- package/cdn/chunks/chunk.E4OBJ7XY.js +45 -0
- package/cdn/chunks/chunk.E53LA4B5.js +121 -0
- package/cdn/chunks/chunk.EAGPDAIA.js +187 -0
- package/cdn/chunks/chunk.EBJMEK7O.js +1 -0
- package/cdn/chunks/chunk.EFCT4GFV.js +46 -0
- package/cdn/chunks/chunk.EJRD5ETZ.js +56 -0
- package/cdn/chunks/chunk.EJVWPDLE.js +10 -0
- package/cdn/chunks/chunk.ELL45QD3.js +1 -0
- package/cdn/chunks/chunk.ESMXIAXC.js +41 -0
- package/cdn/chunks/chunk.EUEYMWEY.js +65 -0
- package/cdn/chunks/chunk.F2MZMWYW.js +65 -0
- package/cdn/chunks/chunk.F2P7GHWQ.js +26 -0
- package/cdn/chunks/chunk.F6P3DA77.js +83 -0
- package/cdn/chunks/chunk.FC4RDJJF.js +1 -0
- package/cdn/chunks/chunk.FDMPUSVV.js +11 -0
- package/cdn/chunks/chunk.FECWEUQM.js +1 -0
- package/cdn/chunks/chunk.FGBFP2DK.js +9 -0
- package/cdn/chunks/chunk.FIAFLKBH.js +112 -0
- package/cdn/chunks/chunk.FMCWIRIG.js +26 -0
- package/cdn/chunks/chunk.FPWX73NT.js +26 -0
- package/cdn/chunks/chunk.FQD6DREW.js +20 -0
- package/cdn/chunks/chunk.FWT4DITA.js +54 -0
- package/cdn/chunks/chunk.FWTZS7LK.js +1 -0
- package/cdn/chunks/chunk.G3FT5PWN.js +87 -0
- package/cdn/chunks/chunk.GEV6DKVB.js +261 -0
- package/cdn/chunks/chunk.GF6YLXJP.js +11 -0
- package/cdn/chunks/chunk.GFXPRQI6.js +34 -0
- package/cdn/chunks/chunk.GHQSD5YO.js +1 -0
- package/cdn/chunks/chunk.GP725TPQ.js +12 -0
- package/cdn/chunks/chunk.GQ6KYNN7.js +55 -0
- package/cdn/chunks/chunk.GQY4KTZW.js +96 -0
- package/cdn/chunks/chunk.GR7Z5SEP.js +384 -0
- package/cdn/chunks/chunk.GRSCMN3N.js +69 -0
- package/cdn/chunks/chunk.GTWDOMYW.js +73 -0
- package/cdn/chunks/chunk.GUYU2TCC.js +7 -0
- package/cdn/chunks/chunk.GW7LIL6T.js +14 -0
- package/cdn/chunks/chunk.H544RQAW.js +1 -0
- package/cdn/chunks/chunk.HFRREETM.js +1 -0
- package/cdn/chunks/chunk.HHVNQNCC.js +1 -0
- package/cdn/chunks/chunk.HJGLYEWV.js +1 -0
- package/cdn/chunks/chunk.HN5GRHJU.js +58 -0
- package/cdn/chunks/chunk.HN7LULYJ.js +50 -0
- package/cdn/chunks/chunk.HOEECTTJ.js +13 -0
- package/cdn/chunks/chunk.HXKY4TCL.js +42 -0
- package/cdn/chunks/chunk.I5IBJET7.js +14 -0
- package/cdn/chunks/chunk.IFSGAJQ4.js +1 -0
- package/cdn/chunks/chunk.IICXN6X7.js +49 -0
- package/cdn/chunks/chunk.IIJKTI4Z.js +138 -0
- package/cdn/chunks/chunk.ILH5GUUR.js +350 -0
- package/cdn/chunks/chunk.IQSBJVVT.js +115 -0
- package/cdn/chunks/chunk.ISAALGRC.js +11 -0
- package/cdn/chunks/chunk.IZ2HVRME.js +1 -0
- package/cdn/chunks/chunk.J3YJSL5B.js +1 -0
- package/cdn/chunks/chunk.J54BFITR.js +111 -0
- package/cdn/chunks/chunk.J7BHUTIC.js +26 -0
- package/cdn/chunks/chunk.JBN243CX.js +1 -0
- package/cdn/chunks/chunk.JESEUS7N.js +8 -0
- package/cdn/chunks/chunk.JFKYL74D.js +7 -0
- package/cdn/chunks/chunk.JFLLAQ3M.js +1 -0
- package/cdn/chunks/chunk.JKTUEHFN.js +174 -0
- package/cdn/chunks/chunk.JO5OCC2C.js +123 -0
- package/cdn/chunks/chunk.JOY25RSZ.js +233 -0
- package/cdn/chunks/chunk.JP66XCHO.js +90 -0
- package/cdn/chunks/chunk.JQHISP6X.js +35 -0
- package/cdn/chunks/chunk.JR3UZ7RV.js +39 -0
- package/cdn/chunks/chunk.K5JD7GGR.js +8 -0
- package/cdn/chunks/chunk.K747WAAP.js +135 -0
- package/cdn/chunks/chunk.KDH2RAG7.js +1 -0
- package/cdn/chunks/chunk.KJPMO2NG.js +27 -0
- package/cdn/chunks/chunk.KL3MAUBF.js +50 -0
- package/cdn/chunks/chunk.KLFLHNDX.js +5 -0
- package/cdn/chunks/chunk.KLRPP4NQ.js +1 -0
- package/cdn/chunks/chunk.KQCEZAEK.js +53 -0
- package/cdn/chunks/chunk.KXZCAPFG.js +51 -0
- package/cdn/chunks/chunk.KYNJPLDI.js +19 -0
- package/cdn/chunks/chunk.L3D5HYKQ.js +34 -0
- package/cdn/chunks/chunk.L4Z7QLDC.js +7 -0
- package/cdn/chunks/chunk.L5NMGFQR.js +168 -0
- package/cdn/chunks/chunk.LEYHHYW4.js +1 -0
- package/cdn/chunks/chunk.LIGGJXC2.js +46 -0
- package/cdn/chunks/chunk.LIW5XWXL.js +7 -0
- package/cdn/chunks/chunk.LIYDVH7Q.js +48 -0
- package/cdn/chunks/chunk.LLKFUARE.js +58 -0
- package/cdn/chunks/chunk.LRR4YZGW.js +10 -0
- package/cdn/chunks/chunk.LZLMA4XO.js +21 -0
- package/cdn/chunks/chunk.M2JVAL5G.js +29 -0
- package/cdn/chunks/chunk.M3VUEEUL.js +68 -0
- package/cdn/chunks/chunk.M4Y6MS6D.js +13 -0
- package/cdn/chunks/chunk.M5XSTHLZ.js +56 -0
- package/cdn/chunks/chunk.MCWDTN6Q.js +160 -0
- package/cdn/chunks/chunk.MHIIHFT3.js +16 -0
- package/cdn/chunks/chunk.MM6IW466.js +31 -0
- package/cdn/chunks/chunk.MMQPOGIJ.js +41 -0
- package/cdn/chunks/chunk.N6IYJMR7.js +1 -0
- package/cdn/chunks/chunk.NEWW6U6M.js +162 -0
- package/cdn/chunks/chunk.NIRNX67K.js +1 -0
- package/cdn/chunks/chunk.NLVJBP2P.js +86 -0
- package/cdn/chunks/chunk.NPIFJCS3.js +52 -0
- package/cdn/chunks/chunk.NSHYTCO4.js +1 -0
- package/cdn/chunks/chunk.NSZPQ5ZJ.js +1 -0
- package/cdn/chunks/chunk.NTJ2Q7C7.js +27 -0
- package/cdn/chunks/chunk.O5EYVQYT.js +87 -0
- package/cdn/chunks/chunk.ODSVS3RK.js +19 -0
- package/cdn/chunks/chunk.OHVT6KT2.js +114 -0
- package/cdn/chunks/chunk.OJFSSNE6.js +19 -0
- package/cdn/chunks/chunk.ON36GFRP.js +42 -0
- package/cdn/chunks/chunk.OS3TEHEN.js +38 -0
- package/cdn/chunks/chunk.OX2DFLBF.js +11 -0
- package/cdn/chunks/chunk.OZSD377J.js +34 -0
- package/cdn/chunks/chunk.PBH223D4.js +6 -0
- package/cdn/chunks/chunk.PIWF5VEN.js +21 -0
- package/cdn/chunks/chunk.PZEHCF7A.js +23 -0
- package/cdn/chunks/chunk.Q2CL3LZL.js +390 -0
- package/cdn/chunks/chunk.Q6KTHJKH.js +168 -0
- package/cdn/chunks/chunk.Q7Q7EOMW.js +142 -0
- package/cdn/chunks/chunk.QAARCUGO.js +175 -0
- package/cdn/chunks/chunk.QAGAG3KB.js +10 -0
- package/cdn/chunks/chunk.QEF2FJQH.js +1 -0
- package/cdn/chunks/chunk.QHSERCS2.js +124 -0
- package/cdn/chunks/chunk.QQLNTNXD.js +1 -0
- package/cdn/chunks/chunk.QWPUMMAA.js +56 -0
- package/cdn/chunks/chunk.R32NZV24.js +294 -0
- package/cdn/chunks/chunk.R5KZP5VA.js +19 -0
- package/cdn/chunks/chunk.RCGUDUP2.js +161 -0
- package/cdn/chunks/chunk.RDMQQGD2.js +68 -0
- package/cdn/chunks/chunk.RGOPSYRZ.js +1 -0
- package/cdn/chunks/chunk.RLILIS2Y.js +19 -0
- package/cdn/chunks/chunk.RPAZAQZ4.js +1 -0
- package/cdn/chunks/chunk.RPIC63ZA.js +81 -0
- package/cdn/chunks/chunk.RROT6Z42.js +65 -0
- package/cdn/chunks/chunk.RU4YXLMR.js +7 -0
- package/cdn/chunks/chunk.RVJ7GEHV.js +53 -0
- package/cdn/chunks/chunk.S2RTEOQU.js +1 -0
- package/cdn/chunks/chunk.SBOY5ZZ2.js +36 -0
- package/cdn/chunks/chunk.SGR2HWTG.js +1 -0
- package/cdn/chunks/chunk.SPZ3HJLD.js +93 -0
- package/cdn/chunks/chunk.SRQHLJ4W.js +97 -0
- package/cdn/chunks/chunk.SWEIVB73.js +15 -0
- package/cdn/chunks/chunk.SWSURKR7.js +34 -0
- package/cdn/chunks/chunk.SZ2RS6ZH.js +55 -0
- package/cdn/chunks/chunk.T2HPIB56.js +72 -0
- package/cdn/chunks/chunk.TBBDY4SH.js +38 -0
- package/cdn/chunks/chunk.TIUBEV5M.js +71 -0
- package/cdn/chunks/chunk.TKMEE6QH.js +43 -0
- package/cdn/chunks/chunk.TQ3LRTTI.js +71 -0
- package/cdn/chunks/chunk.TUTBC6IK.js +217 -0
- package/cdn/chunks/chunk.TV2TMO2H.js +1 -0
- package/cdn/chunks/chunk.TW5PTRLU.js +20 -0
- package/cdn/chunks/chunk.TWHU4SRL.js +11 -0
- package/cdn/chunks/chunk.TX3ZXE3D.js +1 -0
- package/cdn/chunks/chunk.TYYYX2PR.js +62 -0
- package/cdn/chunks/chunk.TZRJVOUT.js +75 -0
- package/cdn/chunks/chunk.U3MN56U3.js +7 -0
- package/cdn/chunks/chunk.U4TME7DS.js +1 -0
- package/cdn/chunks/chunk.U72UDJIM.js +143 -0
- package/cdn/chunks/chunk.UDNMJ6GB.js +251 -0
- package/cdn/chunks/chunk.UIFWKAGV.js +1 -0
- package/cdn/chunks/chunk.UJBDLF4Q.js +1 -0
- package/cdn/chunks/chunk.UJTEHF7B.js +130 -0
- package/cdn/chunks/chunk.UMC4I57R.js +15 -0
- package/cdn/chunks/chunk.UZFGXWW3.js +60 -0
- package/cdn/chunks/chunk.V3N4CMN7.js +82 -0
- package/cdn/chunks/chunk.V75PDQVT.js +9 -0
- package/cdn/chunks/chunk.VE2TTZQA.js +217 -0
- package/cdn/chunks/chunk.VIXRVYB7.js +1 -0
- package/cdn/chunks/chunk.VKXAQ732.js +77 -0
- package/cdn/chunks/chunk.VLFAKRJ7.js +27 -0
- package/cdn/chunks/chunk.VQENJXGP.js +27 -0
- package/cdn/chunks/chunk.VUP2ER2T.js +5 -0
- package/cdn/chunks/chunk.W2H63I6U.js +76 -0
- package/cdn/chunks/chunk.W6L6KN5E.js +19 -0
- package/cdn/chunks/chunk.WDSDDJUA.js +8 -0
- package/cdn/chunks/chunk.WFR7MSMI.js +1 -0
- package/cdn/chunks/chunk.WJET3UGX.js +1 -0
- package/cdn/chunks/chunk.WPG2N7B5.js +10 -0
- package/cdn/chunks/chunk.WRM72LHH.js +1 -0
- package/cdn/chunks/chunk.WWTHUDXI.js +85 -0
- package/cdn/chunks/chunk.WY3M4SRD.js +25 -0
- package/cdn/chunks/chunk.WY4VZXA6.js +1 -0
- package/cdn/chunks/chunk.X4ZMBBF2.js +1 -0
- package/cdn/chunks/chunk.XNHKS4WB.js +60 -0
- package/cdn/chunks/chunk.XOEINTMR.js +63 -0
- package/cdn/chunks/chunk.XPETABJ4.js +205 -0
- package/cdn/chunks/chunk.XVTFPCEL.js +63 -0
- package/cdn/chunks/chunk.Y2EQJWZE.js +38 -0
- package/cdn/chunks/chunk.YG4POYBS.js +14 -0
- package/cdn/chunks/chunk.YL64DA2G.js +4 -0
- package/cdn/chunks/chunk.YLQZAJP3.js +1 -0
- package/cdn/chunks/chunk.YNAR73DY.js +12 -0
- package/cdn/chunks/chunk.YQPLXJOH.js +18 -0
- package/cdn/chunks/chunk.YRSOFNQ3.js +7 -0
- package/cdn/chunks/chunk.YT2Q5BU6.js +9 -0
- package/cdn/chunks/chunk.YT3TTAYO.js +5 -0
- package/cdn/chunks/chunk.YZCUYRA4.js +47 -0
- package/cdn/chunks/chunk.ZA2UO7BF.js +1 -0
- package/cdn/chunks/chunk.ZBHHLRFH.js +17 -0
- package/cdn/chunks/chunk.ZHE5HDNL.js +1 -0
- package/cdn/chunks/chunk.ZJHH7J64.js +23 -0
- package/cdn/chunks/chunk.ZJVQ3VQM.js +133 -0
- package/cdn/chunks/chunk.ZPQE4HH4.js +158 -0
- package/cdn/chunks/core-js.6QDCQS53.js +8 -0
- package/cdn/chunks/dom.AS2IDUUD.js +25 -0
- package/cdn/chunks/shadow-css.G7TZ65TM.js +17 -0
- package/cdn/chunks/wc-datepicker.entry.6PSI3D65.js +1 -0
- package/cdn/components/accordion/accordion.js +1 -30
- package/cdn/components/accordion/accordion.styles.js +1 -10
- package/cdn/components/accordion-group/accordion-group.d.ts +2 -2
- package/cdn/components/accordion-group/accordion-group.js +1 -31
- package/cdn/components/accordion-group/accordion-group.styles.js +1 -9
- package/cdn/components/alert/alert.js +1 -31
- package/cdn/components/alert/alert.styles.js +1 -10
- package/cdn/components/anchor-tag/anchor-tag.js +1 -16
- package/cdn/components/anchor-tag/anchor-tag.styles.js +1 -10
- package/cdn/components/animation/animation.js +1 -14
- package/cdn/components/animation/animation.styles.js +1 -10
- package/cdn/components/animation/animations.js +1 -11
- package/cdn/components/avatar/avatar.js +1 -22
- package/cdn/components/avatar/avatar.styles.js +1 -10
- package/cdn/components/avatar-group/avatar-group.js +1 -11
- package/cdn/components/avatar-group/avatar-group.styles.js +1 -9
- package/cdn/components/badge/badge.js +1 -14
- package/cdn/components/badge/badge.styles.js +1 -10
- package/cdn/components/breadcrumb/breadcrumb.js +1 -21
- package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -10
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -17
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +1 -10
- package/cdn/components/button/button.js +1 -29
- package/cdn/components/button/button.styles.js +1 -10
- package/cdn/components/calendar/calendar.js +1 -18
- package/cdn/components/calendar/calendar.styles.js +1 -10
- package/cdn/components/callout/callout.js +1 -26
- package/cdn/components/callout/callout.styles.js +1 -10
- package/cdn/components/card/card.js +1 -17
- package/cdn/components/card/card.styles.js +1 -10
- package/cdn/components/card-content/card-content.js +1 -25
- package/cdn/components/card-content/card-content.styles.js +1 -10
- package/cdn/components/card-nav/card-nav.js +1 -16
- package/cdn/components/card-nav/card-nav.styles.js +1 -10
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +1 -27
- package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +1 -10
- package/cdn/components/card-nav-item/card-nav-item.js +1 -23
- package/cdn/components/card-nav-item/card-nav-item.styles.js +1 -10
- package/cdn/components/checkbox/checkbox.js +1 -37
- package/cdn/components/checkbox/checkbox.styles.js +1 -11
- package/cdn/components/checkbox-button/checkbox-button.js +1 -34
- package/cdn/components/checkbox-card/checkbox-card.js +1 -24
- package/cdn/components/checkbox-group/checkbox-group.js +1 -29
- package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -11
- package/cdn/components/combobox/combobox.js +1 -51
- package/cdn/components/combobox/combobox.styles.js +1 -11
- package/cdn/components/copy-button/copy-button.d.ts +2 -2
- package/cdn/components/copy-button/copy-button.js +1 -30
- package/cdn/components/copy-button/copy-button.styles.js +1 -10
- package/cdn/components/dialog/dialog.js +1 -34
- package/cdn/components/dialog/dialog.styles.js +1 -10
- package/cdn/components/divider/divider.js +1 -12
- package/cdn/components/divider/divider.styles.js +1 -10
- package/cdn/components/download-card/download-card.js +1 -19
- package/cdn/components/download-card/download-card.styles.js +1 -9
- package/cdn/components/download-link/download-link.js +1 -20
- package/cdn/components/download-link/download-link.styles.js +1 -9
- package/cdn/components/drawer/drawer.js +1 -34
- package/cdn/components/drawer/drawer.styles.js +1 -10
- package/cdn/components/dropdown/dropdown.js +1 -21
- package/cdn/components/dropdown/dropdown.styles.js +1 -10
- package/cdn/components/error-message-panel/error-message-panel.js +1 -15
- package/cdn/components/error-message-panel/error-message-panel.styles.js +1 -9
- package/cdn/components/error-text/error-text-stories.js +1 -31
- package/cdn/components/error-text/error-text.js +1 -20
- package/cdn/components/error-text/error-text.styles.js +1 -9
- package/cdn/components/error-text/error-text.utils.js +1 -9
- package/cdn/components/fieldset/fieldset.js +1 -16
- package/cdn/components/fieldset/fieldset.styles.js +1 -10
- package/cdn/components/file-upload/file-upload.js +1 -32
- package/cdn/components/file-upload/file-upload.styles.js +1 -11
- package/cdn/components/file-upload-item/file-upload-item.js +1 -28
- package/cdn/components/file-upload-item/file-upload-item.styles.js +1 -10
- package/cdn/components/filter-button/filter-button.js +1 -26
- package/cdn/components/filter-button/filter-button.styles.js +1 -10
- package/cdn/components/filter-counter/filter-counter.js +1 -73
- package/cdn/components/filter-counter/filter-counter.styles.js +1 -11
- package/cdn/components/filter-date/filter-date.js +1 -49
- package/cdn/components/filter-date/filter-date.styles.js +1 -11
- package/cdn/components/filter-range/filter-range.js +1 -78
- package/cdn/components/filter-range/filter-range.styles.js +1 -11
- package/cdn/components/filter-select/filter-select.js +1 -76
- package/cdn/components/filter-select/filter-select.styles.js +1 -11
- package/cdn/components/footer/footer.assets.js +1 -9
- package/cdn/components/footer/footer.js +1 -20
- package/cdn/components/footer/footer.styles.js +1 -10
- package/cdn/components/footer-content-block/footer-content-block.js +1 -16
- package/cdn/components/footer-content-block/footer-content-block.styles.js +1 -10
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -15
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -10
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -14
- package/cdn/components/footer-sitemap/footer-sitemap.styles.js +1 -10
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -14
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -10
- package/cdn/components/format-bytes/format-bytes.js +1 -12
- package/cdn/components/format-date/format-date.js +1 -12
- package/cdn/components/format-number/format-number.js +1 -12
- package/cdn/components/graphic-element/graphic-element.d.ts +30 -0
- package/cdn/components/graphic-element/graphic-element.js +1 -0
- package/cdn/components/graphic-element/graphic-element.library.d.ts +68 -0
- package/cdn/components/graphic-element/graphic-element.library.js +1 -0
- package/cdn/components/graphic-element/graphic-element.styles.d.ts +2 -0
- package/cdn/components/graphic-element/graphic-element.styles.js +1 -0
- package/cdn/components/header/header.assets.js +1 -13
- package/cdn/components/header/header.js +1 -20
- package/cdn/components/header/header.styles.js +1 -10
- package/cdn/components/header-external-link/header-external-link.js +1 -11
- package/cdn/components/header-modern/header-modern.js +1 -20
- package/cdn/components/header-modern/header-modern.styles.js +1 -10
- package/cdn/components/header-search/header-search.d.ts +1 -1
- package/cdn/components/header-search/header-search.js +1 -40
- package/cdn/components/header-search/header-search.styles.js +1 -10
- package/cdn/components/icon/icon.d.ts +1 -0
- package/cdn/components/icon/icon.js +1 -17
- package/cdn/components/icon/icon.styles.js +1 -10
- package/cdn/components/icon/library.default.js +1 -8
- package/cdn/components/icon/library.js +1 -18
- package/cdn/components/icon/library.system.d.ts +2 -2
- package/cdn/components/icon/library.system.js +1 -7
- package/cdn/components/icon-button/icon-button.js +1 -24
- package/cdn/components/icon-button/icon-button.styles.js +1 -10
- package/cdn/components/include/request.js +1 -24
- package/cdn/components/input/input.js +1 -61
- package/cdn/components/input-amount/input-amount.js +1 -42
- package/cdn/components/input-amount/input-amount.styles.js +1 -12
- package/cdn/components/input-amount/input-amount.utils.js +1 -13
- package/cdn/components/input-date/input-date.js +1 -51
- package/cdn/components/input-date/input-date.styles.js +1 -12
- package/cdn/components/input-mask/input-mask.configs.js +1 -11
- package/cdn/components/input-mask/input-mask.js +1 -39
- package/cdn/components/input-mask/input-mask.styles.js +1 -12
- package/cdn/components/input-mask/input-mask.utils.js +1 -23
- package/cdn/components/input-native/input-native.js +1 -42
- package/cdn/components/input-native/input-native.styles.js +1 -12
- package/cdn/components/input-native/input-native.utils.js +1 -9
- package/cdn/components/input-otp/input-otp.js +1 -38
- package/cdn/components/input-otp/input-otp.styles.js +1 -11
- package/cdn/components/input-otp/input-otp.utils.js +1 -11
- package/cdn/components/input-phone/input-phone.configs.js +1 -7
- package/cdn/components/input-phone/input-phone.js +1 -60
- package/cdn/components/input-phone/input-phone.styles.js +1 -11
- package/cdn/components/input-phone/input-phone.utils.js +1 -9
- package/cdn/components/input-time/input-time.js +1 -50
- package/cdn/components/input-time/input-time.styles.js +1 -12
- package/cdn/components/input-time/input-time.utils.js +1 -13
- package/cdn/components/menu-accordion/menu-accordion.js +1 -32
- package/cdn/components/menu-accordion/menu-accordion.styles.js +1 -10
- package/cdn/components/menu-item/menu-item.js +1 -28
- package/cdn/components/menu-item/menu-item.styles.js +1 -10
- package/cdn/components/menu-label/menu-label.js +1 -12
- package/cdn/components/menu-label/menu-label.styles.js +1 -10
- package/cdn/components/menu-navigation/menu-navigation.js +1 -30
- package/cdn/components/menu-navigation/menu-navigation.styles.js +1 -10
- package/cdn/components/mutation-observer/mutation-observer.js +1 -13
- package/cdn/components/mutation-observer/mutation-observer.styles.js +1 -10
- package/cdn/components/navbar/navbar.js +1 -13
- package/cdn/components/navbar/navbar.styles.js +1 -10
- package/cdn/components/navbar-link/navbar-link.js +1 -38
- package/cdn/components/navbar-link/navbar-link.styles.js +1 -10
- package/cdn/components/navbar-menu/navbar-menu.js +1 -38
- package/cdn/components/navbar-menu/navbar-menu.styles.js +1 -10
- package/cdn/components/option/option.js +1 -24
- package/cdn/components/option/option.styles.js +1 -10
- package/cdn/components/page-header/page-header.js +1 -16
- package/cdn/components/page-header/page-header.styles.js +1 -10
- package/cdn/components/pagination/pagination.js +1 -69
- package/cdn/components/pagination/pagination.styles.js +1 -10
- package/cdn/components/pagination-button/pagination-button.js +1 -16
- package/cdn/components/pagination-button/pagination-button.styles.js +1 -11
- package/cdn/components/popup/popup.js +1 -13
- package/cdn/components/popup/popup.styles.js +1 -10
- package/cdn/components/profile-button/profile-button.js +1 -35
- package/cdn/components/profile-button/profile-button.styles.js +1 -10
- package/cdn/components/progress-bar/progress-bar.js +1 -19
- package/cdn/components/progress-bar/progress-bar.styles.js +1 -10
- package/cdn/components/progress-ring/progress-ring.js +1 -16
- package/cdn/components/progress-ring/progress-ring.styles.js +1 -10
- package/cdn/components/quote/quote.d.ts +0 -1
- package/cdn/components/quote/quote.js +1 -26
- package/cdn/components/quote/quote.styles.js +1 -10
- package/cdn/components/radio/radio.js +1 -22
- package/cdn/components/radio/radio.styles.js +1 -10
- package/cdn/components/radio-button/radio-button.js +1 -35
- package/cdn/components/radio-card/radio-card.js +1 -36
- package/cdn/components/radio-group/radio-group.js +1 -30
- package/cdn/components/radio-group/radio-group.styles.js +1 -11
- package/cdn/components/radio-group/radio-group.utils.js +1 -7
- package/cdn/components/range-slider/range-slider.js +1 -17
- package/cdn/components/range-slider/range-slider.styles.js +1 -10
- package/cdn/components/relative-time/relative-time.js +1 -12
- package/cdn/components/resize-observer/resize-observer.js +1 -13
- package/cdn/components/resize-observer/resize-observer.styles.js +1 -10
- package/cdn/components/search/search.js +1 -33
- package/cdn/components/search/search.styles.js +1 -10
- package/cdn/components/select/select.js +1 -49
- package/cdn/components/select/select.styles.js +1 -11
- package/cdn/components/sidenav/sidenav.js +1 -34
- package/cdn/components/sidenav/sidenav.styles.js +1 -10
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -33
- package/cdn/components/skeleton/skeleton.js +1 -15
- package/cdn/components/skeleton/skeleton.styles.js +1 -10
- package/cdn/components/skip-link-item/skip-link-item.js +1 -12
- package/cdn/components/skip-link-item/skip-link-item.styles.js +1 -10
- package/cdn/components/skip-links/skip-links.js +1 -14
- package/cdn/components/skip-links/skip-links.styles.js +1 -10
- package/cdn/components/spinner/spinner.js +1 -15
- package/cdn/components/spinner/spinner.styles.js +1 -10
- package/cdn/components/split-panel/split-panel.js +1 -23
- package/cdn/components/split-panel/split-panel.styles.js +1 -9
- package/cdn/components/step/step.js +1 -29
- package/cdn/components/step/step.styles.js +1 -10
- package/cdn/components/step/step.utils.js +1 -7
- package/cdn/components/stepper/stepper.js +1 -14
- package/cdn/components/stepper/stepper.styles.js +1 -10
- package/cdn/components/success-text/success-text-stories.js +1 -31
- package/cdn/components/success-text/success-text.js +1 -19
- package/cdn/components/success-text/success-text.styles.js +1 -9
- package/cdn/components/switch/switch.js +1 -27
- package/cdn/components/switch/switch.styles.js +1 -9
- package/cdn/components/tab/tab.js +1 -28
- package/cdn/components/tab/tab.styles.js +1 -10
- package/cdn/components/tab-group/tab-group.js +1 -30
- package/cdn/components/tab-group/tab-group.styles.js +1 -10
- package/cdn/components/tab-panel/tab-panel.js +1 -14
- package/cdn/components/tab-panel/tab-panel.styles.js +1 -10
- package/cdn/components/table/table.js +1 -13
- package/cdn/components/table/table.styles.js +1 -10
- package/cdn/components/table/types.js +1 -12
- package/cdn/components/table-action/table-action.js +1 -16
- package/cdn/components/table-action/table-action.styles.js +1 -10
- package/cdn/components/table-body/table-body.js +1 -16
- package/cdn/components/table-body/table-body.styles.js +1 -10
- package/cdn/components/table-caption/table-caption.js +1 -20
- package/cdn/components/table-caption/table-caption.styles.js +1 -10
- package/cdn/components/table-cell/table-cell.js +1 -17
- package/cdn/components/table-cell/table-cell.styles.js +1 -10
- package/cdn/components/table-container/table-container.js +1 -20
- package/cdn/components/table-container/table-container.styles.js +1 -10
- package/cdn/components/table-expanded-row/table-expanded-row.js +1 -12
- package/cdn/components/table-expanded-row/table-expanded-row.styles.js +1 -10
- package/cdn/components/table-head/table-head.js +1 -16
- package/cdn/components/table-head/table-head.styles.js +1 -10
- package/cdn/components/table-header-cell/defs.js +1 -9
- package/cdn/components/table-header-cell/table-header-cell.js +1 -26
- package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -10
- package/cdn/components/table-header-row/table-header-row.d.ts +1 -1
- package/cdn/components/table-header-row/table-header-row.js +1 -53
- package/cdn/components/table-header-row/table-header-row.styles.js +1 -10
- package/cdn/components/table-of-contents/table-of-contents.js +1 -21
- package/cdn/components/table-of-contents/table-of-contents.styles.js +1 -10
- package/cdn/components/table-row/table-row.d.ts +1 -0
- package/cdn/components/table-row/table-row.js +1 -43
- package/cdn/components/table-row/table-row.styles.js +1 -10
- package/cdn/components/table-single-cell-row/table-single-cell-row.js +1 -12
- package/cdn/components/table-single-cell-row/table-single-cell-row.styles.js +1 -10
- package/cdn/components/table-toolbar/table-toolbar.js +1 -12
- package/cdn/components/table-toolbar/table-toolbar.styles.js +1 -10
- package/cdn/components/tag/tag-variants.js +1 -9
- package/cdn/components/tag/tag.d.ts +2 -1
- package/cdn/components/tag/tag.js +1 -38
- package/cdn/components/tag/tag.styles.js +1 -10
- package/cdn/components/tag-button/tag-button.js +1 -17
- package/cdn/components/tag-button/tag-button.styles.js +1 -10
- package/cdn/components/textarea/textarea.d.ts +3 -1
- package/cdn/components/textarea/textarea.js +1 -32
- package/cdn/components/textarea/textarea.styles.js +1 -11
- package/cdn/components/tooltip/tooltip.js +1 -22
- package/cdn/components/tooltip/tooltip.styles.js +1 -10
- package/cdn/components/tree/tree.js +1 -48
- package/cdn/components/tree/tree.styles.js +1 -10
- package/cdn/components/tree-item/tree-item.js +1 -45
- package/cdn/components/tree-item/tree-item.styles.js +1 -10
- package/cdn/components/visually-hidden/visually-hidden.js +1 -12
- package/cdn/components/visually-hidden/visually-hidden.styles.js +1 -10
- package/cdn/custom-elements.json +583 -363
- package/cdn/design-system-autoloader.js +1 -46
- package/cdn/design-system.js +7 -824
- package/cdn/internal/animate.d.ts +3 -3
- package/cdn/internal/components/checkbox-box/checkbox-box.js +1 -2
- package/cdn/internal/components/date-field/date-field.styles.js +0 -3
- package/cdn/internal/components/form-control/form-control-layout.js +8 -6
- package/cdn/internal/components/input-base/input-base.d.ts +3 -1
- package/cdn/internal/components/input-base/input-base.js +10 -2
- package/cdn/internal/components/radio-icon/radio-icon.js +1 -2
- package/cdn/internal/components/radio-icon/radio-icon.styles.js +1 -1
- package/cdn/internal/tabbable.js +2 -1
- package/cdn/internal/test.js +29 -29
- package/cdn/styles/form-control.styles.js +1 -2
- package/cdn/templates/utilities/decorator.d.ts +2 -2
- package/cdn/templates/utilities/decorator.js +5 -6
- package/cdn/templates/utilities/header.js +1 -1
- package/cdn/templates/utilities/template-story-config.d.ts +2 -16
- package/cdn/themes/dsa-theme-tac.css +5 -12
- package/cdn/themes/dsa-theme-tac.min.css +1 -1
- package/cdn/themes/dsa-theme-tac.styles.js +5 -12
- package/cdn/themes/dsa-wc-theme.css +5 -14
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +7 -14
- package/cdn/translations/en-gb.js +1 -23
- package/cdn/translations/en.js +1 -8
- package/cdn/translations/fr.js +1 -8
- package/cdn/utilities/animation-registry.js +1 -11
- package/cdn/utilities/animation.js +1 -10
- package/cdn/utilities/base-path.js +1 -17
- package/cdn/utilities/date.js +1 -23
- package/cdn/utilities/directives.js +1 -9
- package/cdn/utilities/form.js +1 -41
- package/cdn/utilities/helpers.js +1 -9
- package/cdn/utilities/icon-library.js +1 -13
- package/cdn/utilities/localize.js +1 -11
- package/cdn/utilities/storybook.js +13 -111
- package/cdn/vscode.html-custom-data.json +36 -13
- package/cdn/web-types.json +251 -141
- package/dist/chunks/chunk.23ND2IYT.js +138 -0
- package/dist/chunks/chunk.255DCWQE.js +237 -0
- package/dist/chunks/chunk.2HARVX2F.js +95 -0
- package/dist/chunks/chunk.2LNBA2FQ.js +43 -0
- package/dist/chunks/chunk.35QYCRYB.js +335 -0
- package/dist/chunks/chunk.364OCK6Y.js +58 -0
- package/dist/chunks/chunk.3D22YO3Z.js +42 -0
- package/dist/chunks/chunk.3G3MLJCH.js +135 -0
- package/dist/chunks/chunk.3NFVJZPV.js +60 -0
- package/dist/chunks/chunk.3WSB3BNE.js +96 -0
- package/dist/chunks/chunk.42QEV4IV.js +480 -0
- package/dist/chunks/chunk.47GFM36Y.js +41 -0
- package/dist/chunks/chunk.4APWIIUS.js +85 -0
- package/dist/chunks/chunk.4ODHJQ4O.js +88 -0
- package/dist/chunks/chunk.4U66LKYV.js +550 -0
- package/dist/chunks/chunk.4Y4BDZCW.js +397 -0
- package/dist/chunks/chunk.5EIUAA3U.js +450 -0
- package/dist/chunks/chunk.5IJ2STR6.js +78 -0
- package/dist/chunks/chunk.5J4LC3T5.js +79 -0
- package/dist/chunks/chunk.5JCDRTBY.js +47 -0
- package/dist/chunks/chunk.5WY2ZKV4.js +148 -0
- package/dist/chunks/chunk.64EGGLHL.js +157 -0
- package/dist/chunks/chunk.65EX5IS6.js +134 -0
- package/dist/chunks/chunk.664KFSJP.js +116 -0
- package/dist/chunks/chunk.6BXNHKYR.js +236 -0
- package/dist/chunks/chunk.6SP7XNBV.js +56 -0
- package/dist/chunks/chunk.6WEGUWI5.js +119 -0
- package/dist/chunks/chunk.6X467UIN.js +21 -0
- package/dist/chunks/chunk.72TUQY57.js +13 -0
- package/dist/chunks/chunk.73ZFCB6R.js +272 -0
- package/dist/chunks/chunk.76W5QCK5.js +33 -0
- package/dist/chunks/chunk.775FJWON.js +140 -0
- package/dist/chunks/chunk.7I4C6CEB.js +123 -0
- package/dist/chunks/chunk.7ICCANB6.js +227 -0
- package/dist/chunks/chunk.7NJP4D2X.js +233 -0
- package/dist/chunks/chunk.7O7LNFJW.js +286 -0
- package/dist/chunks/chunk.AABUINPL.js +47 -0
- package/dist/chunks/chunk.AHUS3URN.js +46 -0
- package/dist/chunks/chunk.AQ7TU3V7.js +219 -0
- package/dist/chunks/chunk.AUJ2FJE2.js +76 -0
- package/dist/chunks/chunk.BFTVJPB4.js +455 -0
- package/dist/chunks/chunk.BGZYADDV.js +84 -0
- package/dist/chunks/chunk.BKZKEYEW.js +26 -0
- package/dist/chunks/chunk.C2USJPWZ.js +149 -0
- package/dist/chunks/chunk.CEC2UZ2B.js +176 -0
- package/dist/chunks/chunk.CQTA7CG3.js +53 -0
- package/dist/chunks/chunk.CRHM2CE5.js +547 -0
- package/dist/chunks/chunk.CULKJQ43.js +87 -0
- package/dist/chunks/chunk.CXM47Q3Y.js +81 -0
- package/dist/chunks/chunk.CY7SF7KT.js +211 -0
- package/dist/chunks/chunk.D6XRV35U.js +63 -0
- package/dist/chunks/chunk.D72FHMFI.js +96 -0
- package/dist/chunks/chunk.DDWJEZFK.js +81 -0
- package/dist/chunks/chunk.DEQ4YOE2.js +44 -0
- package/dist/chunks/chunk.DJLJEQST.js +309 -0
- package/dist/chunks/chunk.DKRTICMF.js +111 -0
- package/dist/chunks/chunk.DV3XUZHI.js +736 -0
- package/dist/chunks/chunk.E4I65Q6Y.js +113 -0
- package/dist/chunks/chunk.ED25W2OX.js +153 -0
- package/dist/chunks/chunk.EQBGP5ZK.js +645 -0
- package/dist/chunks/chunk.EWY2GCPZ.js +196 -0
- package/dist/chunks/chunk.F7K75AKP.js +301 -0
- package/dist/chunks/chunk.FAG62NRM.js +45 -0
- package/dist/chunks/chunk.FGDQSQXE.js +37 -0
- package/dist/chunks/chunk.FTWMMA3O.js +338 -0
- package/dist/chunks/chunk.FXFNRADC.js +197 -0
- package/dist/chunks/chunk.G3QPDRD4.js +281 -0
- package/dist/chunks/chunk.G7WA3OWF.js +207 -0
- package/dist/chunks/chunk.GNJTQL5Q.js +71 -0
- package/dist/chunks/chunk.GP75TYQS.js +83 -0
- package/dist/chunks/chunk.GWVJL4RF.js +99 -0
- package/dist/chunks/chunk.GY4FLVTL.js +215 -0
- package/dist/chunks/chunk.HPDCOGLH.js +48 -0
- package/dist/chunks/chunk.HSM5HMUP.js +32 -0
- package/dist/chunks/chunk.HSU4VAS4.js +44 -0
- package/dist/chunks/chunk.HUJMVLEQ.js +22 -0
- package/dist/chunks/chunk.HXC52XCE.js +145 -0
- package/dist/chunks/chunk.IQVRPRHR.js +21 -0
- package/dist/chunks/chunk.IR2O4TL3.js +69 -0
- package/dist/chunks/chunk.IT5CTBH7.js +32 -0
- package/dist/chunks/chunk.JAVCUO27.js +33 -0
- package/dist/chunks/chunk.JBEKH5GD.js +228 -0
- package/dist/chunks/chunk.JIXU425U.js +324 -0
- package/dist/chunks/chunk.JRWZ43B7.js +261 -0
- package/dist/chunks/chunk.JTG2VILD.js +33 -0
- package/dist/chunks/chunk.JTKPLTO2.js +64 -0
- package/dist/chunks/chunk.JVFGYM3B.js +66 -0
- package/dist/chunks/chunk.JZCLQ75K.js +210 -0
- package/dist/chunks/chunk.K27SKJCO.js +49 -0
- package/dist/chunks/chunk.KAG2EIKO.js +134 -0
- package/dist/chunks/chunk.KJFIJI7X.js +26 -0
- package/dist/chunks/chunk.KOGIJSJ2.js +230 -0
- package/dist/chunks/chunk.KONRKBD4.js +85 -0
- package/dist/chunks/chunk.KVBCYZ63.js +298 -0
- package/dist/chunks/chunk.L56KKTTB.js +347 -0
- package/dist/chunks/chunk.L7NOS4FR.js +366 -0
- package/dist/chunks/chunk.LAPA4KOO.js +39 -0
- package/dist/chunks/chunk.LJKZZ5Z7.js +67 -0
- package/dist/chunks/chunk.LNQM4VDZ.js +93 -0
- package/dist/chunks/chunk.LO42XUHN.js +171 -0
- package/dist/chunks/chunk.LS7YUONN.js +282 -0
- package/dist/chunks/chunk.M55HS2NY.js +143 -0
- package/dist/chunks/chunk.MDORHGBG.js +97 -0
- package/dist/chunks/chunk.MFNBPWAR.js +363 -0
- package/dist/chunks/chunk.ML7UI7S7.js +131 -0
- package/dist/chunks/chunk.MOQLFC6H.js +44 -0
- package/dist/chunks/chunk.MOTDL3I3.js +49 -0
- package/dist/chunks/chunk.MPR4IZDU.js +358 -0
- package/dist/chunks/chunk.MSN6BH3X.js +121 -0
- package/dist/chunks/chunk.MTRAJSQ5.js +73 -0
- package/dist/chunks/chunk.N3L4GIUO.js +71 -0
- package/dist/chunks/chunk.NC5Y5YXL.js +140 -0
- package/dist/chunks/chunk.NMTWMSSW.js +368 -0
- package/dist/chunks/chunk.NOH4G7Z3.js +196 -0
- package/dist/chunks/chunk.O4ZVD6ZZ.js +197 -0
- package/dist/chunks/chunk.O6JPAHCB.js +230 -0
- package/dist/chunks/chunk.O7HKQMZA.js +88 -0
- package/dist/chunks/chunk.OEOSDW6K.js +257 -0
- package/dist/chunks/chunk.OGVBLLDB.js +148 -0
- package/dist/chunks/chunk.ORDSJDUP.js +195 -0
- package/dist/chunks/chunk.OUAQWUW4.js +109 -0
- package/dist/chunks/chunk.OXRZH5XZ.js +291 -0
- package/dist/chunks/chunk.P6ZIC3SJ.js +26 -0
- package/dist/chunks/chunk.PBDKMCCH.js +312 -0
- package/dist/chunks/chunk.PBUGRVMQ.js +193 -0
- package/dist/chunks/chunk.PDXO7ACT.js +80 -0
- package/dist/chunks/chunk.PEAZPHYW.js +405 -0
- package/dist/chunks/chunk.PNKCJUTV.js +176 -0
- package/dist/chunks/chunk.Q6SKCUWC.js +123 -0
- package/dist/chunks/chunk.Q6XO7AEM.js +193 -0
- package/dist/chunks/chunk.QAYPY3FQ.js +241 -0
- package/dist/chunks/chunk.QB2NJE2Y.js +36 -0
- package/dist/chunks/chunk.QRPBHKNM.js +326 -0
- package/dist/chunks/chunk.QZXP2757.js +100 -0
- package/dist/chunks/chunk.R3PD3TNK.js +44 -0
- package/dist/chunks/chunk.RE5LWX2D.js +188 -0
- package/dist/chunks/chunk.RMCLM44L.js +100 -0
- package/dist/chunks/chunk.RQVGZS26.js +227 -0
- package/dist/chunks/chunk.RYPGPHI7.js +65 -0
- package/dist/chunks/chunk.SAYXVOCR.js +152 -0
- package/dist/chunks/chunk.SK2SJE2S.js +419 -0
- package/dist/chunks/chunk.SL3DN4BD.js +30 -0
- package/dist/chunks/chunk.SO4EEDCJ.js +48 -0
- package/dist/chunks/chunk.SRLGPXHB.js +153 -0
- package/dist/chunks/chunk.STWD3IVA.js +174 -0
- package/dist/chunks/chunk.STZAPPWR.js +264 -0
- package/dist/chunks/chunk.SV42ISYL.js +1000 -0
- package/dist/chunks/chunk.T2M6RDF7.js +555 -0
- package/dist/chunks/chunk.T4Q6QP47.js +403 -0
- package/dist/chunks/chunk.T4R634BF.js +426 -0
- package/dist/chunks/chunk.TD6AE7FQ.js +234 -0
- package/dist/chunks/chunk.TGEREFOF.js +34 -0
- package/dist/chunks/chunk.THC4PF2E.js +97 -0
- package/dist/chunks/chunk.TKIRVUSQ.js +300 -0
- package/dist/chunks/chunk.TN4CAFLD.js +191 -0
- package/dist/chunks/chunk.TZQ3MU6S.js +184 -0
- package/dist/chunks/chunk.U4IPKMN6.js +170 -0
- package/dist/chunks/chunk.UDSWI6Y6.js +354 -0
- package/dist/chunks/chunk.UEVTKGMG.js +168 -0
- package/dist/chunks/chunk.UKOZXT7U.js +17 -0
- package/dist/chunks/chunk.UNN3FKRS.js +113 -0
- package/dist/chunks/chunk.URFGFMJF.js +330 -0
- package/dist/chunks/chunk.V2LO3RHA.js +128 -0
- package/dist/chunks/chunk.VFDZ6OTM.js +61 -0
- package/dist/chunks/chunk.VHKZOCPL.js +83 -0
- package/dist/chunks/chunk.VOHUSNGA.js +270 -0
- package/dist/chunks/chunk.VOUA4OR5.js +456 -0
- package/dist/chunks/chunk.VUF4NZNQ.js +225 -0
- package/dist/chunks/chunk.VVRJUTG5.js +85 -0
- package/dist/chunks/chunk.W5BANU5K.js +24 -0
- package/dist/chunks/chunk.WD5PUKCI.js +363 -0
- package/dist/chunks/chunk.WOMQVTNZ.js +72 -0
- package/dist/chunks/chunk.WWO46GSF.js +172 -0
- package/dist/chunks/chunk.X4ZCLMAL.js +95 -0
- package/dist/chunks/chunk.XATWRKAV.js +245 -0
- package/dist/chunks/chunk.XBYDQEMZ.js +73 -0
- package/dist/chunks/chunk.XGXOHXHU.js +234 -0
- package/dist/chunks/chunk.XMRIXYIV.js +218 -0
- package/dist/chunks/chunk.XRVDXZ37.js +321 -0
- package/dist/chunks/chunk.YAVLD645.js +51 -0
- package/dist/chunks/chunk.YCAQ7W4B.js +13 -0
- package/dist/chunks/chunk.YLG5J7YM.js +122 -0
- package/dist/chunks/chunk.YMBSK45L.js +172 -0
- package/dist/chunks/chunk.YRCGZJGX.js +500 -0
- package/dist/chunks/chunk.YT4HJ3IL.js +88 -0
- package/dist/chunks/chunk.Z6DP5AUJ.js +45 -0
- package/dist/chunks/chunk.Z73F57HS.js +78 -0
- package/dist/chunks/chunk.ZBVZPKHH.js +64 -0
- package/dist/chunks/chunk.ZGBHQB4P.js +314 -0
- package/dist/chunks/chunk.ZJHYC5NS.js +78 -0
- package/dist/chunks/chunk.ZVKFVRCK.js +339 -0
- package/dist/chunks/chunk.ZYP5UA6L.js +92 -0
- package/dist/components/accordion/accordion.js +11 -11
- package/dist/components/accordion/accordion.styles.js +2 -2
- package/dist/components/accordion-group/accordion-group.d.ts +2 -2
- package/dist/components/accordion-group/accordion-group.js +10 -10
- package/dist/components/accordion-group/accordion-group.styles.js +1 -1
- package/dist/components/alert/alert.js +11 -11
- package/dist/components/alert/alert.styles.js +2 -2
- package/dist/components/anchor-tag/anchor-tag.js +3 -3
- package/dist/components/anchor-tag/anchor-tag.styles.js +1 -1
- package/dist/components/animation/animation.js +4 -4
- package/dist/components/animation/animation.styles.js +1 -1
- package/dist/components/animation/animations.js +1 -1
- package/dist/components/avatar/avatar.js +8 -8
- package/dist/components/avatar/avatar.styles.js +2 -2
- package/dist/components/avatar-group/avatar-group.js +3 -3
- package/dist/components/avatar-group/avatar-group.styles.js +1 -1
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/badge.styles.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +2 -2
- package/dist/components/button/button.js +9 -9
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +5 -5
- package/dist/components/calendar/calendar.styles.js +2 -2
- package/dist/components/callout/callout.js +9 -9
- package/dist/components/callout/callout.styles.js +2 -2
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +2 -2
- package/dist/components/card-content/card-content.js +8 -8
- package/dist/components/card-content/card-content.styles.js +2 -2
- package/dist/components/card-nav/card-nav.js +3 -3
- package/dist/components/card-nav/card-nav.styles.js +1 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.js +9 -9
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/dist/components/card-nav-item/card-nav-item.js +7 -7
- package/dist/components/card-nav-item/card-nav-item.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +16 -16
- package/dist/components/checkbox/checkbox.styles.js +3 -3
- package/dist/components/checkbox-button/checkbox-button.js +15 -15
- package/dist/components/checkbox-card/checkbox-card.js +10 -10
- package/dist/components/checkbox-group/checkbox-group.js +13 -13
- package/dist/components/checkbox-group/checkbox-group.styles.js +3 -3
- package/dist/components/combobox/combobox.js +22 -22
- package/dist/components/combobox/combobox.styles.js +3 -3
- package/dist/components/copy-button/copy-button.d.ts +2 -2
- package/dist/components/copy-button/copy-button.js +13 -13
- package/dist/components/copy-button/copy-button.styles.js +2 -2
- package/dist/components/dialog/dialog.js +12 -12
- package/dist/components/dialog/dialog.styles.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/download-card/download-card.js +7 -7
- package/dist/components/download-card/download-card.styles.js +1 -1
- package/dist/components/download-link/download-link.js +7 -7
- package/dist/components/download-link/download-link.styles.js +1 -1
- package/dist/components/drawer/drawer.js +12 -12
- package/dist/components/drawer/drawer.styles.js +2 -2
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/error-message-panel/error-message-panel.js +3 -3
- package/dist/components/error-message-panel/error-message-panel.styles.js +1 -1
- package/dist/components/error-text/error-text-stories.js +1 -1
- package/dist/components/error-text/error-text.js +7 -7
- package/dist/components/error-text/error-text.styles.js +1 -1
- package/dist/components/error-text/error-text.utils.js +1 -1
- package/dist/components/fieldset/fieldset.js +4 -4
- package/dist/components/fieldset/fieldset.styles.js +1 -1
- package/dist/components/file-upload/file-upload.js +11 -11
- package/dist/components/file-upload/file-upload.styles.js +3 -3
- package/dist/components/file-upload-item/file-upload-item.js +8 -8
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.js +10 -10
- package/dist/components/filter-button/filter-button.styles.js +2 -2
- package/dist/components/filter-counter/filter-counter.js +38 -38
- package/dist/components/filter-counter/filter-counter.styles.js +1 -1
- package/dist/components/filter-date/filter-date.js +22 -22
- package/dist/components/filter-date/filter-date.styles.js +2 -2
- package/dist/components/filter-range/filter-range.js +41 -41
- package/dist/components/filter-range/filter-range.styles.js +1 -1
- package/dist/components/filter-select/filter-select.js +40 -40
- package/dist/components/filter-select/filter-select.styles.js +1 -1
- package/dist/components/footer/footer.assets.js +1 -1
- package/dist/components/footer/footer.js +4 -4
- package/dist/components/footer/footer.styles.js +1 -1
- package/dist/components/footer-content-block/footer-content-block.js +4 -4
- package/dist/components/footer-content-block/footer-content-block.styles.js +1 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +5 -5
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +2 -2
- package/dist/components/footer-sitemap/footer-sitemap.js +3 -3
- package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +5 -5
- package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/graphic-element/graphic-element.d.ts +30 -0
- package/dist/components/graphic-element/graphic-element.js +114 -0
- package/dist/components/graphic-element/graphic-element.library.d.ts +68 -0
- package/dist/components/graphic-element/graphic-element.library.js +9 -0
- package/dist/components/graphic-element/graphic-element.styles.d.ts +2 -0
- package/dist/components/graphic-element/graphic-element.styles.js +8 -0
- package/dist/components/header/header.assets.js +1 -1
- package/dist/components/header/header.js +6 -6
- package/dist/components/header/header.styles.js +2 -2
- package/dist/components/header-external-link/header-external-link.js +3 -3
- package/dist/components/header-modern/header-modern.js +6 -6
- package/dist/components/header-modern/header-modern.styles.js +2 -2
- package/dist/components/header-search/header-search.d.ts +1 -1
- package/dist/components/header-search/header-search.js +14 -14
- package/dist/components/header-search/header-search.styles.js +2 -2
- package/dist/components/icon/icon.d.ts +1 -0
- package/dist/components/icon/icon.js +6 -6
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/icon/library.system.d.ts +2 -2
- package/dist/components/icon/library.system.js +6 -4
- package/dist/components/icon-button/icon-button.js +7 -7
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/include/request.js +1 -1
- package/dist/components/input/input.js +30 -30
- package/dist/components/input-amount/input-amount.js +16 -16
- package/dist/components/input-amount/input-amount.styles.js +4 -4
- package/dist/components/input-amount/input-amount.utils.js +1 -1
- package/dist/components/input-date/input-date.js +23 -23
- package/dist/components/input-date/input-date.styles.js +4 -4
- package/dist/components/input-mask/input-mask.configs.js +1 -1
- package/dist/components/input-mask/input-mask.js +15 -15
- package/dist/components/input-mask/input-mask.styles.js +4 -4
- package/dist/components/input-mask/input-mask.utils.js +1 -1
- package/dist/components/input-native/input-native.js +16 -16
- package/dist/components/input-native/input-native.styles.js +4 -4
- package/dist/components/input-native/input-native.utils.js +1 -1
- package/dist/components/input-otp/input-otp.js +15 -15
- package/dist/components/input-otp/input-otp.styles.js +3 -3
- package/dist/components/input-otp/input-otp.utils.js +1 -1
- package/dist/components/input-phone/input-phone.configs.js +1 -1
- package/dist/components/input-phone/input-phone.js +27 -27
- package/dist/components/input-phone/input-phone.styles.js +3 -3
- package/dist/components/input-phone/input-phone.utils.js +1 -1
- package/dist/components/input-time/input-time.js +22 -22
- package/dist/components/input-time/input-time.styles.js +4 -4
- package/dist/components/input-time/input-time.utils.js +1 -1
- package/dist/components/menu-accordion/menu-accordion.js +12 -12
- package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +10 -10
- package/dist/components/menu-item/menu-item.styles.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +11 -11
- package/dist/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/dist/components/mutation-observer/mutation-observer.js +4 -4
- package/dist/components/mutation-observer/mutation-observer.styles.js +1 -1
- package/dist/components/navbar/navbar.js +4 -4
- package/dist/components/navbar/navbar.styles.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +16 -16
- package/dist/components/navbar-link/navbar-link.styles.js +1 -1
- package/dist/components/navbar-menu/navbar-menu.js +15 -15
- package/dist/components/navbar-menu/navbar-menu.styles.js +1 -1
- package/dist/components/option/option.js +10 -10
- package/dist/components/option/option.styles.js +2 -2
- package/dist/components/page-header/page-header.js +4 -4
- package/dist/components/page-header/page-header.styles.js +2 -2
- package/dist/components/pagination/pagination.js +35 -35
- package/dist/components/pagination/pagination.styles.js +2 -2
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +1 -1
- package/dist/components/popup/popup.js +4 -4
- package/dist/components/popup/popup.styles.js +2 -2
- package/dist/components/profile-button/profile-button.js +14 -14
- package/dist/components/profile-button/profile-button.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/quote/quote.d.ts +0 -1
- package/dist/components/quote/quote.js +4 -15
- package/dist/components/quote/quote.styles.js +2 -2
- package/dist/components/radio/radio.js +8 -8
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.js +15 -15
- package/dist/components/radio-card/radio-card.js +17 -17
- package/dist/components/radio-group/radio-group.js +13 -13
- package/dist/components/radio-group/radio-group.styles.js +3 -3
- package/dist/components/radio-group/radio-group.utils.js +1 -1
- package/dist/components/range-slider/range-slider.js +4 -4
- package/dist/components/range-slider/range-slider.styles.js +1 -1
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.js +4 -4
- package/dist/components/resize-observer/resize-observer.styles.js +1 -1
- package/dist/components/search/search.js +9 -9
- package/dist/components/search/search.styles.js +1 -1
- package/dist/components/select/select.js +21 -21
- package/dist/components/select/select.styles.js +3 -3
- package/dist/components/sidenav/sidenav.js +14 -14
- package/dist/components/sidenav/sidenav.styles.js +2 -2
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +13 -13
- package/dist/components/skeleton/skeleton.js +4 -4
- package/dist/components/skeleton/skeleton.styles.js +2 -2
- package/dist/components/skip-link-item/skip-link-item.js +3 -3
- package/dist/components/skip-link-item/skip-link-item.styles.js +1 -1
- package/dist/components/skip-links/skip-links.js +4 -4
- package/dist/components/skip-links/skip-links.styles.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/split-panel/split-panel.js +7 -7
- package/dist/components/split-panel/split-panel.styles.js +1 -1
- package/dist/components/step/step.js +10 -10
- package/dist/components/step/step.styles.js +1 -1
- package/dist/components/step/step.utils.js +1 -1
- package/dist/components/stepper/stepper.js +4 -4
- package/dist/components/stepper/stepper.styles.js +1 -1
- package/dist/components/success-text/success-text-stories.js +1 -1
- package/dist/components/success-text/success-text.js +7 -7
- package/dist/components/success-text/success-text.styles.js +1 -1
- package/dist/components/switch/switch.js +9 -9
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +9 -9
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +4 -4
- package/dist/components/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/table/table.js +4 -4
- package/dist/components/table/table.styles.js +1 -1
- package/dist/components/table/types.js +1 -1
- package/dist/components/table-action/table-action.js +4 -4
- package/dist/components/table-action/table-action.styles.js +1 -1
- package/dist/components/table-body/table-body.js +7 -7
- package/dist/components/table-body/table-body.styles.js +1 -1
- package/dist/components/table-caption/table-caption.js +7 -7
- package/dist/components/table-caption/table-caption.styles.js +1 -1
- package/dist/components/table-cell/table-cell.js +7 -7
- package/dist/components/table-cell/table-cell.styles.js +1 -1
- package/dist/components/table-container/table-container.js +7 -7
- package/dist/components/table-container/table-container.styles.js +1 -1
- package/dist/components/table-expanded-row/table-expanded-row.js +3 -3
- package/dist/components/table-expanded-row/table-expanded-row.styles.js +1 -1
- package/dist/components/table-head/table-head.js +6 -6
- package/dist/components/table-head/table-head.styles.js +1 -1
- package/dist/components/table-header-cell/defs.js +1 -1
- package/dist/components/table-header-cell/table-header-cell.js +11 -11
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.d.ts +1 -1
- package/dist/components/table-header-row/table-header-row.js +25 -25
- package/dist/components/table-header-row/table-header-row.styles.js +1 -1
- package/dist/components/table-of-contents/table-of-contents.js +6 -6
- package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/dist/components/table-row/table-row.d.ts +1 -0
- package/dist/components/table-row/table-row.js +18 -18
- package/dist/components/table-row/table-row.styles.js +1 -1
- package/dist/components/table-single-cell-row/table-single-cell-row.js +3 -3
- package/dist/components/table-single-cell-row/table-single-cell-row.styles.js +1 -1
- package/dist/components/table-toolbar/table-toolbar.js +4 -4
- package/dist/components/table-toolbar/table-toolbar.styles.js +2 -2
- package/dist/components/tag/tag-variants.js +1 -1
- package/dist/components/tag/tag.d.ts +2 -1
- package/dist/components/tag/tag.js +15 -15
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/tag-button/tag-button.js +4 -4
- package/dist/components/tag-button/tag-button.styles.js +2 -2
- package/dist/components/textarea/textarea.d.ts +3 -1
- package/dist/components/textarea/textarea.js +12 -12
- package/dist/components/textarea/textarea.styles.js +3 -3
- package/dist/components/tooltip/tooltip.js +8 -8
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/tree/tree.js +22 -22
- package/dist/components/tree/tree.styles.js +1 -1
- package/dist/components/tree-item/tree-item.js +21 -21
- package/dist/components/tree-item/tree-item.styles.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +4 -4
- package/dist/components/visually-hidden/visually-hidden.styles.js +2 -2
- package/dist/custom-elements.json +583 -363
- package/dist/design-system-autoloader.js +1 -1
- package/dist/design-system.js +251 -251
- package/dist/internal/animate.d.ts +3 -3
- package/dist/internal/components/checkbox-box/checkbox-box.js +1 -2
- package/dist/internal/components/date-field/date-field.styles.js +0 -3
- package/dist/internal/components/form-control/form-control-layout.js +8 -6
- package/dist/internal/components/input-base/input-base.d.ts +3 -1
- package/dist/internal/components/input-base/input-base.js +10 -2
- package/dist/internal/components/radio-icon/radio-icon.js +1 -2
- package/dist/internal/components/radio-icon/radio-icon.styles.js +1 -1
- package/dist/internal/tabbable.js +2 -1
- package/dist/internal/test.js +29 -29
- package/dist/styles/form-control.styles.js +1 -2
- package/dist/templates/utilities/decorator.d.ts +2 -2
- package/dist/templates/utilities/decorator.js +5 -6
- package/dist/templates/utilities/header.js +1 -1
- package/dist/templates/utilities/template-story-config.d.ts +2 -16
- package/dist/themes/dsa-theme-tac.css +5 -12
- package/dist/themes/dsa-theme-tac.min.css +1 -1
- package/dist/themes/dsa-theme-tac.styles.js +5 -12
- package/dist/themes/dsa-wc-theme.css +5 -14
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +7 -14
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/animation-registry.js +2 -2
- package/dist/utilities/animation.js +1 -1
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/directives.js +1 -1
- package/dist/utilities/form.js +2 -2
- package/dist/utilities/helpers.js +1 -1
- package/dist/utilities/icon-library.js +3 -3
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +8 -8
- package/dist/vscode.html-custom-data.json +36 -13
- package/dist/web-types.json +251 -141
- package/package.json +27 -33
- package/cdn/chunks/chunk.27QL4IYU.js +0 -124
- package/cdn/chunks/chunk.2BS4FDS7.js +0 -65
- package/cdn/chunks/chunk.2FH4CXEK.js +0 -44
- package/cdn/chunks/chunk.2OEMPACC.js +0 -181
- package/cdn/chunks/chunk.2PCPJ2O2.js +0 -67
- package/cdn/chunks/chunk.2UTZVF2R.js +0 -51
- package/cdn/chunks/chunk.36FFYO36.js +0 -108
- package/cdn/chunks/chunk.3EGQN2WU.js +0 -332
- package/cdn/chunks/chunk.3GRDVVLK.js +0 -64
- package/cdn/chunks/chunk.3N5SP55U.js +0 -344
- package/cdn/chunks/chunk.3N7ZDDUL.js +0 -69
- package/cdn/chunks/chunk.3PMIWAYM.js +0 -203
- package/cdn/chunks/chunk.3Q3N3KQA.js +0 -83
- package/cdn/chunks/chunk.3UIZ5RTK.js +0 -374
- package/cdn/chunks/chunk.3V2OP5OV.js +0 -84
- package/cdn/chunks/chunk.3VGPRUUT.js +0 -177
- package/cdn/chunks/chunk.3Z2GKRZW.js +0 -23
- package/cdn/chunks/chunk.3ZGSESNP.js +0 -155
- package/cdn/chunks/chunk.4BCQMGKI.js +0 -63
- package/cdn/chunks/chunk.4F45PKJH.js +0 -50
- package/cdn/chunks/chunk.4UPGZ7UA.js +0 -124
- package/cdn/chunks/chunk.4WZNGGVH.js +0 -35
- package/cdn/chunks/chunk.537VGPQJ.js +0 -158
- package/cdn/chunks/chunk.5EMAY7CZ.js +0 -136
- package/cdn/chunks/chunk.5HLGCYCW.js +0 -237
- package/cdn/chunks/chunk.5JPDE2SQ.js +0 -100
- package/cdn/chunks/chunk.5KQYKK7F.js +0 -59
- package/cdn/chunks/chunk.5OXHY35T.js +0 -339
- package/cdn/chunks/chunk.5R2EV6NZ.js +0 -98
- package/cdn/chunks/chunk.5SUEDULN.js +0 -34
- package/cdn/chunks/chunk.5WSWBPLP.js +0 -80
- package/cdn/chunks/chunk.5YWOUFLR.js +0 -47
- package/cdn/chunks/chunk.6B5QADAQ.js +0 -77
- package/cdn/chunks/chunk.6K7NEU66.js +0 -37
- package/cdn/chunks/chunk.6M7NE3YO.js +0 -93
- package/cdn/chunks/chunk.6OI6TY62.js +0 -247
- package/cdn/chunks/chunk.6PLXHBET.js +0 -405
- package/cdn/chunks/chunk.6T4NTP5P.js +0 -343
- package/cdn/chunks/chunk.6TEFOHBI.js +0 -191
- package/cdn/chunks/chunk.6TP5MV24.js +0 -92
- package/cdn/chunks/chunk.7H3HPSRF.js +0 -198
- package/cdn/chunks/chunk.7LJQFNIL.js +0 -34
- package/cdn/chunks/chunk.7MPWPXNQ.js +0 -147
- package/cdn/chunks/chunk.7OHJ4IWG.js +0 -77
- package/cdn/chunks/chunk.7OLEA3GQ.js +0 -237
- package/cdn/chunks/chunk.7WRNLPGX.js +0 -95
- package/cdn/chunks/chunk.AP47GURR.js +0 -455
- package/cdn/chunks/chunk.AP62XFBC.js +0 -984
- package/cdn/chunks/chunk.APSWEF5D.js +0 -29
- package/cdn/chunks/chunk.AU6I633V.js +0 -158
- package/cdn/chunks/chunk.AWFNC7RN.js +0 -89
- package/cdn/chunks/chunk.AWWSQ5SC.js +0 -53
- package/cdn/chunks/chunk.AXLGDJN5.js +0 -356
- package/cdn/chunks/chunk.AYVXBNFN.js +0 -313
- package/cdn/chunks/chunk.B2BEAIE7.js +0 -175
- package/cdn/chunks/chunk.B45H3D5M.js +0 -103
- package/cdn/chunks/chunk.B4BZKR24.js +0 -16
- package/cdn/chunks/chunk.B7XD5DLK.js +0 -28
- package/cdn/chunks/chunk.BFFPRKRY.js +0 -214
- package/cdn/chunks/chunk.BKJGWZ2J.js +0 -212
- package/cdn/chunks/chunk.BKYKGPRF.js +0 -558
- package/cdn/chunks/chunk.BTDZHZPK.js +0 -82
- package/cdn/chunks/chunk.BWYRMRTD.js +0 -26
- package/cdn/chunks/chunk.C2W7WMBY.js +0 -24
- package/cdn/chunks/chunk.C2XIPTU3.js +0 -46
- package/cdn/chunks/chunk.C43CVKBG.js +0 -61
- package/cdn/chunks/chunk.C6YOQGP3.js +0 -99
- package/cdn/chunks/chunk.C77KPVOT.js +0 -191
- package/cdn/chunks/chunk.CAMVBH5H.js +0 -111
- package/cdn/chunks/chunk.CBM7PMU3.js +0 -263
- package/cdn/chunks/chunk.CCDITBCR.js +0 -48
- package/cdn/chunks/chunk.CCTWXABH.js +0 -13
- package/cdn/chunks/chunk.CDFRZZN5.js +0 -147
- package/cdn/chunks/chunk.CDM7VX7Q.js +0 -31
- package/cdn/chunks/chunk.CK3OZQKX.js +0 -98
- package/cdn/chunks/chunk.CMJGPUHA.js +0 -234
- package/cdn/chunks/chunk.CQGGA5R4.js +0 -21
- package/cdn/chunks/chunk.CSILWGEZ.js +0 -356
- package/cdn/chunks/chunk.CTL6ZCUT.js +0 -284
- package/cdn/chunks/chunk.D4SGUF6U.js +0 -148
- package/cdn/chunks/chunk.DBFO36BO.js +0 -2703
- package/cdn/chunks/chunk.DMOAL7VS.js +0 -151
- package/cdn/chunks/chunk.DNBIVA4J.js +0 -70
- package/cdn/chunks/chunk.DR5DXRUB.js +0 -158
- package/cdn/chunks/chunk.DT7G7VQ2.js +0 -65
- package/cdn/chunks/chunk.DWB4V5OD.js +0 -22
- package/cdn/chunks/chunk.DYQJRNYU.js +0 -105
- package/cdn/chunks/chunk.DZNKN7UG.js +0 -210
- package/cdn/chunks/chunk.E3W7YEA4.js +0 -239
- package/cdn/chunks/chunk.E7NEC6I7.js +0 -95
- package/cdn/chunks/chunk.EMIT7S33.js +0 -71
- package/cdn/chunks/chunk.EWW2BZ55.js +0 -63
- package/cdn/chunks/chunk.EXPTHDVJ.js +0 -15
- package/cdn/chunks/chunk.EYGPQ2EH.js +0 -36
- package/cdn/chunks/chunk.F4UWOB6D.js +0 -51
- package/cdn/chunks/chunk.F7NUIVDV.js +0 -10
- package/cdn/chunks/chunk.FAUBDRT4.js +0 -304
- package/cdn/chunks/chunk.FH62MZVI.js +0 -60
- package/cdn/chunks/chunk.FLRB45SF.js +0 -19
- package/cdn/chunks/chunk.FZ5GX4LB.js +0 -426
- package/cdn/chunks/chunk.G2SVIJQS.js +0 -154
- package/cdn/chunks/chunk.GCPJZNMB.js +0 -30
- package/cdn/chunks/chunk.GHNIQQKT.js +0 -85
- package/cdn/chunks/chunk.GI4XTG4I.js +0 -28
- package/cdn/chunks/chunk.GL2JSVBD.js +0 -109
- package/cdn/chunks/chunk.GSJB73YG.js +0 -746
- package/cdn/chunks/chunk.GXQRCYQE.js +0 -16
- package/cdn/chunks/chunk.H5WC4BSU.js +0 -72
- package/cdn/chunks/chunk.HBQ2CUEK.js +0 -420
- package/cdn/chunks/chunk.HF7GESMZ.js +0 -15
- package/cdn/chunks/chunk.HOR2STZV.js +0 -82
- package/cdn/chunks/chunk.HPYTPVEB.js +0 -43
- package/cdn/chunks/chunk.HV63L5BF.js +0 -13
- package/cdn/chunks/chunk.I5IKEQES.js +0 -17
- package/cdn/chunks/chunk.I6BMKPEG.js +0 -362
- package/cdn/chunks/chunk.I6O5BUMW.js +0 -193
- package/cdn/chunks/chunk.I6S6TC3T.js +0 -25
- package/cdn/chunks/chunk.IER4ZBFV.js +0 -24
- package/cdn/chunks/chunk.IH3ACQ3F.js +0 -44
- package/cdn/chunks/chunk.IIYHRPGQ.js +0 -116
- package/cdn/chunks/chunk.IJCMZSUR.js +0 -58
- package/cdn/chunks/chunk.IONY2GZF.js +0 -72
- package/cdn/chunks/chunk.ISYSAUNO.js +0 -114
- package/cdn/chunks/chunk.IW2FTSST.js +0 -180
- package/cdn/chunks/chunk.IXYMG74O.js +0 -85
- package/cdn/chunks/chunk.J22ZHZPW.js +0 -82
- package/cdn/chunks/chunk.J2572HZK.js +0 -374
- package/cdn/chunks/chunk.J5B4J5TO.js +0 -537
- package/cdn/chunks/chunk.JJBI3ZYI.js +0 -33
- package/cdn/chunks/chunk.JJMCEIKB.js +0 -54
- package/cdn/chunks/chunk.JK2FCATP.js +0 -72
- package/cdn/chunks/chunk.JRRGTRHM.js +0 -568
- package/cdn/chunks/chunk.JTLVEFWT.js +0 -43
- package/cdn/chunks/chunk.JXF4O366.js +0 -283
- package/cdn/chunks/chunk.JY4LUWQC.js +0 -72
- package/cdn/chunks/chunk.K25KURIV.js +0 -232
- package/cdn/chunks/chunk.KBU6IE3T.js +0 -34
- package/cdn/chunks/chunk.KF5PNPQM.js +0 -1911
- package/cdn/chunks/chunk.KGCF4GE3.js +0 -310
- package/cdn/chunks/chunk.KJEDKAAU.js +0 -462
- package/cdn/chunks/chunk.KPERDNOW.js +0 -105
- package/cdn/chunks/chunk.L2BUQDZM.js +0 -47
- package/cdn/chunks/chunk.L43WS4PE.js +0 -199
- package/cdn/chunks/chunk.L633QVVV.js +0 -70
- package/cdn/chunks/chunk.LC5MEEST.js +0 -122
- package/cdn/chunks/chunk.LLQW6MLS.js +0 -309
- package/cdn/chunks/chunk.LQLCDMCQ.js +0 -154
- package/cdn/chunks/chunk.LRSBUKH6.js +0 -93
- package/cdn/chunks/chunk.LS2PBFC6.js +0 -40
- package/cdn/chunks/chunk.LSTE53DJ.js +0 -204
- package/cdn/chunks/chunk.M4JIV4Y5.js +0 -297
- package/cdn/chunks/chunk.MA5YJHU4.js +0 -95
- package/cdn/chunks/chunk.MDTUJ5PF.js +0 -121
- package/cdn/chunks/chunk.MF7YPS4H.js +0 -487
- package/cdn/chunks/chunk.MGIRF6TM.js +0 -50
- package/cdn/chunks/chunk.MILYWVXX.js +0 -212
- package/cdn/chunks/chunk.MQAAYEM3.js +0 -24
- package/cdn/chunks/chunk.MRZ24PSM.js +0 -52
- package/cdn/chunks/chunk.MUSSBYDR.js +0 -72
- package/cdn/chunks/chunk.MXWLFVIN.js +0 -105
- package/cdn/chunks/chunk.MY7IDU47.js +0 -240
- package/cdn/chunks/chunk.N5YAEQVH.js +0 -184
- package/cdn/chunks/chunk.N7MNA4GP.js +0 -979
- package/cdn/chunks/chunk.NBIZCATT.js +0 -245
- package/cdn/chunks/chunk.NP4PGPAG.js +0 -46
- package/cdn/chunks/chunk.NR7XWVN5.js +0 -91
- package/cdn/chunks/chunk.NRSRHNP4.js +0 -199
- package/cdn/chunks/chunk.NTFJX4HL.js +0 -19
- package/cdn/chunks/chunk.NV4CUMOV.js +0 -22
- package/cdn/chunks/chunk.NXQMWO3B.js +0 -266
- package/cdn/chunks/chunk.O2TTZGNP.js +0 -66
- package/cdn/chunks/chunk.O4UP6LFM.js +0 -244
- package/cdn/chunks/chunk.OBQI5SCI.js +0 -334
- package/cdn/chunks/chunk.OHT2CDR3.js +0 -307
- package/cdn/chunks/chunk.OII5O55N.js +0 -36
- package/cdn/chunks/chunk.OOJHJQ3U.js +0 -294
- package/cdn/chunks/chunk.OOKGLR7W.js +0 -58
- package/cdn/chunks/chunk.OTTJPZLF.js +0 -154
- package/cdn/chunks/chunk.OYVF3HNG.js +0 -82
- package/cdn/chunks/chunk.P4LDUKRH.js +0 -26
- package/cdn/chunks/chunk.P4ZHSWIG.js +0 -58
- package/cdn/chunks/chunk.PA54RLEK.js +0 -362
- package/cdn/chunks/chunk.PEDI7SLK.js +0 -238
- package/cdn/chunks/chunk.PGCCZX7O.js +0 -233
- package/cdn/chunks/chunk.PHX6FWGI.js +0 -193
- package/cdn/chunks/chunk.PJ4QMHFS.js +0 -144
- package/cdn/chunks/chunk.PJMLZBRQ.js +0 -378
- package/cdn/chunks/chunk.PLMZNC5Q.js +0 -328
- package/cdn/chunks/chunk.PMYSGKZB.js +0 -63
- package/cdn/chunks/chunk.PSBVXVMH.js +0 -306
- package/cdn/chunks/chunk.PT7WRN4R.js +0 -18
- package/cdn/chunks/chunk.PTUY5CX4.js +0 -90
- package/cdn/chunks/chunk.PWL7QCVG.js +0 -9
- package/cdn/chunks/chunk.PWRGRVWK.js +0 -283
- package/cdn/chunks/chunk.PWXXK3CE.js +0 -78
- package/cdn/chunks/chunk.PYPLSUEN.js +0 -45
- package/cdn/chunks/chunk.PZFZE7HZ.js +0 -128
- package/cdn/chunks/chunk.PZK4ARTY.js +0 -32
- package/cdn/chunks/chunk.Q32YUSGV.js +0 -70
- package/cdn/chunks/chunk.Q7GSCDIH.js +0 -97
- package/cdn/chunks/chunk.QCPPB4JM.js +0 -439
- package/cdn/chunks/chunk.QHK23HRN.js +0 -82
- package/cdn/chunks/chunk.QL3GZ4GX.js +0 -98
- package/cdn/chunks/chunk.QQDMDNG6.js +0 -657
- package/cdn/chunks/chunk.QRL5IEW6.js +0 -31
- package/cdn/chunks/chunk.R45HP3PR.js +0 -33
- package/cdn/chunks/chunk.RFDWBIL7.js +0 -180
- package/cdn/chunks/chunk.RGLXYSXF.js +0 -83
- package/cdn/chunks/chunk.RIHVR2XN.js +0 -139
- package/cdn/chunks/chunk.RIKQNF2V.js +0 -84
- package/cdn/chunks/chunk.RJXLIOW7.js +0 -28
- package/cdn/chunks/chunk.RNH6IZWW.js +0 -27
- package/cdn/chunks/chunk.RNIIRHX6.js +0 -509
- package/cdn/chunks/chunk.RNM6I6T5.js +0 -279
- package/cdn/chunks/chunk.S442ESGW.js +0 -365
- package/cdn/chunks/chunk.SALIDVU2.js +0 -349
- package/cdn/chunks/chunk.SD5OYXQH.js +0 -23
- package/cdn/chunks/chunk.SFB5GQLQ.js +0 -560
- package/cdn/chunks/chunk.SGFL2TCK.js +0 -26
- package/cdn/chunks/chunk.SLN5HUKD.js +0 -77
- package/cdn/chunks/chunk.SUUV7E4I.js +0 -13
- package/cdn/chunks/chunk.SV2UWNMS.js +0 -132
- package/cdn/chunks/chunk.SVT7EHTD.js +0 -108
- package/cdn/chunks/chunk.SYSWC3P6.js +0 -19
- package/cdn/chunks/chunk.T7UYS7W3.js +0 -203
- package/cdn/chunks/chunk.TAYXGYQL.js +0 -261
- package/cdn/chunks/chunk.TBYP6SM7.js +0 -219
- package/cdn/chunks/chunk.TDI3Y3EI.js +0 -19
- package/cdn/chunks/chunk.TEKUWOCD.js +0 -143
- package/cdn/chunks/chunk.TKTCYZRK.js +0 -36
- package/cdn/chunks/chunk.TUANFMEV.js +0 -285
- package/cdn/chunks/chunk.TZJNCBSI.js +0 -116
- package/cdn/chunks/chunk.TZRZZOGK.js +0 -87
- package/cdn/chunks/chunk.U3ETB7BS.js +0 -70
- package/cdn/chunks/chunk.UB6PQVJQ.js +0 -1011
- package/cdn/chunks/chunk.UBT35B3F.js +0 -77
- package/cdn/chunks/chunk.UEHJW6ED.js +0 -403
- package/cdn/chunks/chunk.UIDRD6XW.js +0 -226
- package/cdn/chunks/chunk.UIHXF3PF.js +0 -15
- package/cdn/chunks/chunk.UKK3NS3L.js +0 -363
- package/cdn/chunks/chunk.UMEHST4G.js +0 -38
- package/cdn/chunks/chunk.UMGPQSGY.js +0 -70
- package/cdn/chunks/chunk.UUAI33MM.js +0 -99
- package/cdn/chunks/chunk.VC4NFGNB.js +0 -44
- package/cdn/chunks/chunk.VCFEF4I5.js +0 -249
- package/cdn/chunks/chunk.VJM3ESX2.js +0 -92
- package/cdn/chunks/chunk.VMSFUWQQ.js +0 -118
- package/cdn/chunks/chunk.VO5QJNZB.js +0 -139
- package/cdn/chunks/chunk.VRHOQBOT.js +0 -87
- package/cdn/chunks/chunk.VYT2V7U6.js +0 -46
- package/cdn/chunks/chunk.VZKLPHWL.js +0 -126
- package/cdn/chunks/chunk.W3IOWNM7.js +0 -54
- package/cdn/chunks/chunk.W4KTFSQJ.js +0 -129
- package/cdn/chunks/chunk.WBTHKBRH.js +0 -81
- package/cdn/chunks/chunk.WFSNJLGP.js +0 -50
- package/cdn/chunks/chunk.WGJHSD2I.js +0 -72
- package/cdn/chunks/chunk.WGXZQSQR.js +0 -49
- package/cdn/chunks/chunk.WHRSLGOT.js +0 -273
- package/cdn/chunks/chunk.WR237MHU.js +0 -1098
- package/cdn/chunks/chunk.WRRIZ7GK.js +0 -19
- package/cdn/chunks/chunk.WSDXHDWN.js +0 -88
- package/cdn/chunks/chunk.WUW7EYWE.js +0 -107
- package/cdn/chunks/chunk.WX5PKKV7.js +0 -28
- package/cdn/chunks/chunk.X4MXT6H7.js +0 -262
- package/cdn/chunks/chunk.X4ROOYZQ.js +0 -236
- package/cdn/chunks/chunk.XBIJAUV4.js +0 -333
- package/cdn/chunks/chunk.XCDJMN7H.js +0 -51
- package/cdn/chunks/chunk.XED65RH5.js +0 -19
- package/cdn/chunks/chunk.XETLWHSF.js +0 -88
- package/cdn/chunks/chunk.XHBGKXEK.js +0 -94
- package/cdn/chunks/chunk.XTTQ5UPY.js +0 -81
- package/cdn/chunks/chunk.XU2EDX2N.js +0 -52
- package/cdn/chunks/chunk.Y2GFUF4K.js +0 -43
- package/cdn/chunks/chunk.Y4S7SM27.js +0 -94
- package/cdn/chunks/chunk.YDZHK6RM.js +0 -185
- package/cdn/chunks/chunk.YIY5RM53.js +0 -66
- package/cdn/chunks/chunk.YKKP7YAT.js +0 -37
- package/cdn/chunks/chunk.YMIK26F3.js +0 -64
- package/cdn/chunks/chunk.YQ453CSR.js +0 -21
- package/cdn/chunks/chunk.YUKVCPXW.js +0 -89
- package/cdn/chunks/chunk.YVXTJRSI.js +0 -222
- package/cdn/chunks/chunk.Z6FS4TLM.js +0 -155
- package/cdn/chunks/chunk.Z74PCREV.js +0 -181
- package/cdn/chunks/chunk.ZBRHWPTO.js +0 -94
- package/cdn/chunks/chunk.ZED3URBR.js +0 -38
- package/cdn/chunks/chunk.ZFTN4BWG.js +0 -247
- package/cdn/chunks/chunk.ZFWPHGWV.js +0 -73
- package/cdn/chunks/chunk.ZGUGPMGS.js +0 -69
- package/cdn/chunks/chunk.ZHZU2BVV.js +0 -43
- package/cdn/chunks/chunk.ZI6HZEZQ.js +0 -197
- package/cdn/chunks/chunk.ZJONU7FX.js +0 -100
- package/cdn/chunks/chunk.ZKESFKS5.js +0 -244
- package/cdn/chunks/chunk.ZQT7MAGY.js +0 -137
- package/cdn/chunks/chunk.ZSZOMLCT.js +0 -141
- package/cdn/chunks/chunk.ZZSECDIS.js +0 -19
- package/cdn/chunks/core-js.ZQG6JNC2.js +0 -3022
- package/cdn/chunks/dom.CK2WZYWB.js +0 -729
- package/cdn/chunks/shadow-css.ERYUZVEM.js +0 -349
- package/cdn/chunks/wc-datepicker.entry.VUSN5MCN.js +0 -553
- package/dist/chunks/chunk.2CKORPDB.js +0 -88
- package/dist/chunks/chunk.2FH4CXEK.js +0 -44
- package/dist/chunks/chunk.2IQGSC6O.js +0 -291
- package/dist/chunks/chunk.2NY5MPRL.js +0 -300
- package/dist/chunks/chunk.2OOQ2NCR.js +0 -109
- package/dist/chunks/chunk.2SEZCGJ3.js +0 -128
- package/dist/chunks/chunk.33O53GEK.js +0 -26
- package/dist/chunks/chunk.36NZDHSV.js +0 -42
- package/dist/chunks/chunk.3FXWMOTD.js +0 -319
- package/dist/chunks/chunk.3T7MZ3JU.js +0 -26
- package/dist/chunks/chunk.42QDYDUA.js +0 -175
- package/dist/chunks/chunk.43Y2LSPS.js +0 -93
- package/dist/chunks/chunk.46IV7V5Z.js +0 -153
- package/dist/chunks/chunk.46JZ4IOR.js +0 -366
- package/dist/chunks/chunk.4734BI3P.js +0 -41
- package/dist/chunks/chunk.47UW24KJ.js +0 -185
- package/dist/chunks/chunk.4EHJHIX6.js +0 -21
- package/dist/chunks/chunk.4RIYXW6H.js +0 -228
- package/dist/chunks/chunk.5GB6F3WA.js +0 -71
- package/dist/chunks/chunk.5SWZPGRD.js +0 -66
- package/dist/chunks/chunk.5X5WO5HA.js +0 -135
- package/dist/chunks/chunk.64JDAZJD.js +0 -21
- package/dist/chunks/chunk.6BNYXFNI.js +0 -363
- package/dist/chunks/chunk.6G6RGA23.js +0 -149
- package/dist/chunks/chunk.6R2AWNKQ.js +0 -368
- package/dist/chunks/chunk.6WSD7QPH.js +0 -348
- package/dist/chunks/chunk.6WYYBTGI.js +0 -13
- package/dist/chunks/chunk.7532DR34.js +0 -426
- package/dist/chunks/chunk.7627FYPL.js +0 -36
- package/dist/chunks/chunk.7AUS6TUM.js +0 -121
- package/dist/chunks/chunk.7MANDIWA.js +0 -139
- package/dist/chunks/chunk.7NXV3VF3.js +0 -203
- package/dist/chunks/chunk.7O4SJS2C.js +0 -263
- package/dist/chunks/chunk.7Q6JO7V6.js +0 -100
- package/dist/chunks/chunk.7T4JFEP3.js +0 -131
- package/dist/chunks/chunk.A3C6TXYJ.js +0 -13
- package/dist/chunks/chunk.A3SHXMQF.js +0 -453
- package/dist/chunks/chunk.A6JPNFVS.js +0 -58
- package/dist/chunks/chunk.AHMZIQ5V.js +0 -156
- package/dist/chunks/chunk.AI3KXZ5R.js +0 -43
- package/dist/chunks/chunk.AJ6TVRRB.js +0 -237
- package/dist/chunks/chunk.AKYLOFUZ.js +0 -98
- package/dist/chunks/chunk.APQFQQX5.js +0 -309
- package/dist/chunks/chunk.AWE4W7CO.js +0 -33
- package/dist/chunks/chunk.B65HMRYD.js +0 -73
- package/dist/chunks/chunk.BN2N444O.js +0 -119
- package/dist/chunks/chunk.C42D5RKV.js +0 -64
- package/dist/chunks/chunk.CCULDZ5X.js +0 -76
- package/dist/chunks/chunk.CHUBPDIO.js +0 -321
- package/dist/chunks/chunk.CNRGP5OT.js +0 -231
- package/dist/chunks/chunk.D5655OGD.js +0 -234
- package/dist/chunks/chunk.DAJGCL4G.js +0 -230
- package/dist/chunks/chunk.DBQ5OKUO.js +0 -95
- package/dist/chunks/chunk.DFNCZLQM.js +0 -193
- package/dist/chunks/chunk.DK6C5JKN.js +0 -69
- package/dist/chunks/chunk.DONQDIEN.js +0 -73
- package/dist/chunks/chunk.DX25IW4S.js +0 -35
- package/dist/chunks/chunk.DZIULIME.js +0 -138
- package/dist/chunks/chunk.EHTCYJUT.js +0 -246
- package/dist/chunks/chunk.EKKVLF7E.js +0 -45
- package/dist/chunks/chunk.EMFIFHXS.js +0 -172
- package/dist/chunks/chunk.EXYOPG3S.js +0 -153
- package/dist/chunks/chunk.F4IJ3EXV.js +0 -97
- package/dist/chunks/chunk.F4IP53FN.js +0 -358
- package/dist/chunks/chunk.F7ZGTKYJ.js +0 -193
- package/dist/chunks/chunk.FFVQTNFR.js +0 -363
- package/dist/chunks/chunk.FIA35WYC.js +0 -281
- package/dist/chunks/chunk.FT55PUDC.js +0 -137
- package/dist/chunks/chunk.FUL6NUHM.js +0 -207
- package/dist/chunks/chunk.FUWX57HR.js +0 -195
- package/dist/chunks/chunk.FWFLQD5T.js +0 -49
- package/dist/chunks/chunk.G4ODEI4O.js +0 -52
- package/dist/chunks/chunk.G7UOB3HZ.js +0 -95
- package/dist/chunks/chunk.GLDOSWES.js +0 -149
- package/dist/chunks/chunk.GMLB7CQ4.js +0 -176
- package/dist/chunks/chunk.GO2YJX4Q.js +0 -148
- package/dist/chunks/chunk.GQICFAYG.js +0 -99
- package/dist/chunks/chunk.GXLI5TOH.js +0 -47
- package/dist/chunks/chunk.GXST43AN.js +0 -456
- package/dist/chunks/chunk.H7FOSCQV.js +0 -92
- package/dist/chunks/chunk.HFNQK43R.js +0 -96
- package/dist/chunks/chunk.HJMA4FPP.js +0 -272
- package/dist/chunks/chunk.HMTZWLCV.js +0 -335
- package/dist/chunks/chunk.HNYLJTPB.js +0 -87
- package/dist/chunks/chunk.HQWL5ZXH.js +0 -80
- package/dist/chunks/chunk.HYY7Y4SP.js +0 -227
- package/dist/chunks/chunk.I5IKEQES.js +0 -17
- package/dist/chunks/chunk.I5ODFJO6.js +0 -480
- package/dist/chunks/chunk.ILHVGOFN.js +0 -60
- package/dist/chunks/chunk.IOFPPNUO.js +0 -25
- package/dist/chunks/chunk.IQCD6SDT.js +0 -450
- package/dist/chunks/chunk.ISWWNUGH.js +0 -264
- package/dist/chunks/chunk.J5XUN4RX.js +0 -100
- package/dist/chunks/chunk.J6RPTAQI.js +0 -88
- package/dist/chunks/chunk.JDHDSPED.js +0 -333
- package/dist/chunks/chunk.JHQA2R5B.js +0 -230
- package/dist/chunks/chunk.JKZSEYGF.js +0 -174
- package/dist/chunks/chunk.JTJBX4QS.js +0 -276
- package/dist/chunks/chunk.KKJF6BYU.js +0 -44
- package/dist/chunks/chunk.KP4V4E7A.js +0 -173
- package/dist/chunks/chunk.KPJCYT4S.js +0 -30
- package/dist/chunks/chunk.KWPO3EDM.js +0 -547
- package/dist/chunks/chunk.L3P6ICJE.js +0 -215
- package/dist/chunks/chunk.L4D5SWZ2.js +0 -45
- package/dist/chunks/chunk.L5DEEGJU.js +0 -260
- package/dist/chunks/chunk.L6347ZP2.js +0 -84
- package/dist/chunks/chunk.L6NDVRCR.js +0 -405
- package/dist/chunks/chunk.L6QMUWXV.js +0 -111
- package/dist/chunks/chunk.LCNXSDAI.js +0 -401
- package/dist/chunks/chunk.LDGTSFQV.js +0 -116
- package/dist/chunks/chunk.LGIV2ORI.js +0 -403
- package/dist/chunks/chunk.LKL435K3.js +0 -191
- package/dist/chunks/chunk.LRTTUCZP.js +0 -48
- package/dist/chunks/chunk.M245ZGRR.js +0 -80
- package/dist/chunks/chunk.MMEFZDPJ.js +0 -53
- package/dist/chunks/chunk.N5HIPUUE.js +0 -735
- package/dist/chunks/chunk.NEUS25YN.js +0 -51
- package/dist/chunks/chunk.NHRDZGLI.js +0 -81
- package/dist/chunks/chunk.NLQQDGEL.js +0 -286
- package/dist/chunks/chunk.O42OVLHD.js +0 -325
- package/dist/chunks/chunk.OCBSNQXM.js +0 -32
- package/dist/chunks/chunk.OGLESSI3.js +0 -175
- package/dist/chunks/chunk.OHHVC2MR.js +0 -191
- package/dist/chunks/chunk.OKCUR4XQ.js +0 -46
- package/dist/chunks/chunk.OOJRFXKM.js +0 -236
- package/dist/chunks/chunk.OUL3HENR.js +0 -307
- package/dist/chunks/chunk.PGSFPQUF.js +0 -83
- package/dist/chunks/chunk.PX4PKH5C.js +0 -276
- package/dist/chunks/chunk.Q2YIXYWB.js +0 -339
- package/dist/chunks/chunk.Q6CDEOE7.js +0 -64
- package/dist/chunks/chunk.QBV4OLYE.js +0 -63
- package/dist/chunks/chunk.QCSAZGXA.js +0 -301
- package/dist/chunks/chunk.QKV2UFTU.js +0 -85
- package/dist/chunks/chunk.QUXQA452.js +0 -47
- package/dist/chunks/chunk.QXRV6D3A.js +0 -178
- package/dist/chunks/chunk.RBRPIIUZ.js +0 -338
- package/dist/chunks/chunk.RCKLGFQP.js +0 -312
- package/dist/chunks/chunk.RH2CIWCE.js +0 -67
- package/dist/chunks/chunk.RHI7PHVF.js +0 -184
- package/dist/chunks/chunk.RIKQNF2V.js +0 -84
- package/dist/chunks/chunk.RMKMGX5K.js +0 -26
- package/dist/chunks/chunk.ROCLZVBA.js +0 -1000
- package/dist/chunks/chunk.SLR7OI7J.js +0 -145
- package/dist/chunks/chunk.SVXA5YWW.js +0 -123
- package/dist/chunks/chunk.TCTJKHNY.js +0 -187
- package/dist/chunks/chunk.TF5AXNOZ.js +0 -77
- package/dist/chunks/chunk.TRGRP3EU.js +0 -242
- package/dist/chunks/chunk.TSWE7TKY.js +0 -298
- package/dist/chunks/chunk.TTKJ6GEE.js +0 -210
- package/dist/chunks/chunk.TXMLBAIO.js +0 -135
- package/dist/chunks/chunk.TYBH3WM7.js +0 -140
- package/dist/chunks/chunk.TZVFQDBB.js +0 -122
- package/dist/chunks/chunk.U54VTW5T.js +0 -502
- package/dist/chunks/chunk.U6XEEEIG.js +0 -555
- package/dist/chunks/chunk.UAENT3Y6.js +0 -216
- package/dist/chunks/chunk.UF4PZMAF.js +0 -419
- package/dist/chunks/chunk.UUMZUOSS.js +0 -78
- package/dist/chunks/chunk.V3PHLLGV.js +0 -33
- package/dist/chunks/chunk.VC7GDGXF.js +0 -44
- package/dist/chunks/chunk.VCIUXBGN.js +0 -88
- package/dist/chunks/chunk.VI3FKXGA.js +0 -79
- package/dist/chunks/chunk.VIKMVPWW.js +0 -117
- package/dist/chunks/chunk.VJ6DHJGA.js +0 -195
- package/dist/chunks/chunk.VOXVNOTC.js +0 -41
- package/dist/chunks/chunk.VX5PZ5CF.js +0 -145
- package/dist/chunks/chunk.WBB5EJ2R.js +0 -78
- package/dist/chunks/chunk.WCV52Y66.js +0 -113
- package/dist/chunks/chunk.WH3C6KS6.js +0 -61
- package/dist/chunks/chunk.WNBLXX3K.js +0 -78
- package/dist/chunks/chunk.WNYVRNKA.js +0 -549
- package/dist/chunks/chunk.WUA5D6EA.js +0 -182
- package/dist/chunks/chunk.WXIWEJWG.js +0 -96
- package/dist/chunks/chunk.WYUQG5BJ.js +0 -75
- package/dist/chunks/chunk.X3ZR4IMO.js +0 -44
- package/dist/chunks/chunk.XBQLQJQG.js +0 -48
- package/dist/chunks/chunk.XH64BF6I.js +0 -228
- package/dist/chunks/chunk.XPNRSOJY.js +0 -648
- package/dist/chunks/chunk.Y2ZKI6KG.js +0 -65
- package/dist/chunks/chunk.Y3225CZP.js +0 -152
- package/dist/chunks/chunk.Y5XT3CTJ.js +0 -32
- package/dist/chunks/chunk.YVMIUPK5.js +0 -36
- package/dist/chunks/chunk.YXDNYLQX.js +0 -56
- package/dist/chunks/chunk.Z24WSU5C.js +0 -33
- package/dist/chunks/chunk.Z5WPCFQ2.js +0 -113
- package/dist/chunks/chunk.ZCI3JIOP.js +0 -225
- package/dist/chunks/chunk.ZCPJ4TUK.js +0 -236
- package/dist/chunks/chunk.ZKUUTPFX.js +0 -80
- package/dist/chunks/chunk.ZNBZAGXP.js +0 -210
- package/dist/chunks/chunk.ZTQFL5KG.js +0 -354
- package/dist/chunks/chunk.ZWLVZ5XN.js +0 -71
|
@@ -1,2703 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
bootstrapLazy,
|
|
3
|
-
promiseResolve
|
|
4
|
-
} from "./chunk.AP62XFBC.js";
|
|
5
|
-
import {
|
|
6
|
-
getDateFromISO,
|
|
7
|
-
getISOFormattedDate
|
|
8
|
-
} from "./chunk.OYVF3HNG.js";
|
|
9
|
-
import {
|
|
10
|
-
calendar_styles_default
|
|
11
|
-
} from "./chunk.X4MXT6H7.js";
|
|
12
|
-
import {
|
|
13
|
-
LocalizeController
|
|
14
|
-
} from "./chunk.AXLGDJN5.js";
|
|
15
|
-
import {
|
|
16
|
-
o
|
|
17
|
-
} from "./chunk.XED65RH5.js";
|
|
18
|
-
import {
|
|
19
|
-
watch
|
|
20
|
-
} from "./chunk.TKTCYZRK.js";
|
|
21
|
-
import {
|
|
22
|
-
ShoelaceElement,
|
|
23
|
-
e,
|
|
24
|
-
n,
|
|
25
|
-
t
|
|
26
|
-
} from "./chunk.TEKUWOCD.js";
|
|
27
|
-
import {
|
|
28
|
-
x
|
|
29
|
-
} from "./chunk.JXF4O366.js";
|
|
30
|
-
import {
|
|
31
|
-
__decorateClass,
|
|
32
|
-
__glob
|
|
33
|
-
} from "./chunk.7WRNLPGX.js";
|
|
34
|
-
|
|
35
|
-
// ../../node_modules/.pnpm/@stencil+core@2.22.3/node_modules/@stencil/core/internal/app-data/index.js
|
|
36
|
-
var BUILD = {
|
|
37
|
-
allRenderFn: false,
|
|
38
|
-
cmpDidLoad: true,
|
|
39
|
-
cmpDidUnload: false,
|
|
40
|
-
cmpDidUpdate: true,
|
|
41
|
-
cmpDidRender: true,
|
|
42
|
-
cmpWillLoad: true,
|
|
43
|
-
cmpWillUpdate: true,
|
|
44
|
-
cmpWillRender: true,
|
|
45
|
-
connectedCallback: true,
|
|
46
|
-
disconnectedCallback: true,
|
|
47
|
-
element: true,
|
|
48
|
-
event: true,
|
|
49
|
-
hasRenderFn: true,
|
|
50
|
-
lifecycle: true,
|
|
51
|
-
hostListener: true,
|
|
52
|
-
hostListenerTargetWindow: true,
|
|
53
|
-
hostListenerTargetDocument: true,
|
|
54
|
-
hostListenerTargetBody: true,
|
|
55
|
-
hostListenerTargetParent: false,
|
|
56
|
-
hostListenerTarget: true,
|
|
57
|
-
member: true,
|
|
58
|
-
method: true,
|
|
59
|
-
mode: true,
|
|
60
|
-
observeAttribute: true,
|
|
61
|
-
prop: true,
|
|
62
|
-
propMutable: true,
|
|
63
|
-
reflect: true,
|
|
64
|
-
scoped: true,
|
|
65
|
-
shadowDom: true,
|
|
66
|
-
slot: true,
|
|
67
|
-
cssAnnotations: true,
|
|
68
|
-
state: true,
|
|
69
|
-
style: true,
|
|
70
|
-
svg: true,
|
|
71
|
-
updatable: true,
|
|
72
|
-
vdomAttribute: true,
|
|
73
|
-
vdomXlink: true,
|
|
74
|
-
vdomClass: true,
|
|
75
|
-
vdomFunctional: true,
|
|
76
|
-
vdomKey: true,
|
|
77
|
-
vdomListener: true,
|
|
78
|
-
vdomRef: true,
|
|
79
|
-
vdomPropOrAttr: true,
|
|
80
|
-
vdomRender: true,
|
|
81
|
-
vdomStyle: true,
|
|
82
|
-
vdomText: true,
|
|
83
|
-
watchCallback: true,
|
|
84
|
-
taskQueue: true,
|
|
85
|
-
hotModuleReplacement: false,
|
|
86
|
-
isDebug: false,
|
|
87
|
-
isDev: false,
|
|
88
|
-
isTesting: false,
|
|
89
|
-
hydrateServerSide: false,
|
|
90
|
-
hydrateClientSide: false,
|
|
91
|
-
lifecycleDOMEvents: false,
|
|
92
|
-
lazyLoad: false,
|
|
93
|
-
profile: false,
|
|
94
|
-
slotRelocation: true,
|
|
95
|
-
appendChildSlotFix: false,
|
|
96
|
-
cloneNodeFix: false,
|
|
97
|
-
hydratedAttribute: false,
|
|
98
|
-
hydratedClass: true,
|
|
99
|
-
safari10: false,
|
|
100
|
-
scriptDataOpts: false,
|
|
101
|
-
scopedSlotTextContentFix: false,
|
|
102
|
-
shadowDomShim: false,
|
|
103
|
-
slotChildNodesFix: false,
|
|
104
|
-
invisiblePrehydration: true,
|
|
105
|
-
propBoolean: true,
|
|
106
|
-
propNumber: true,
|
|
107
|
-
propString: true,
|
|
108
|
-
cssVarShim: false,
|
|
109
|
-
constructableCSS: true,
|
|
110
|
-
cmpShouldUpdate: true,
|
|
111
|
-
devTools: false,
|
|
112
|
-
dynamicImportShim: false,
|
|
113
|
-
shadowDelegatesFocus: true,
|
|
114
|
-
initializeNextTick: false,
|
|
115
|
-
asyncLoading: false,
|
|
116
|
-
asyncQueue: false,
|
|
117
|
-
transformTagName: false,
|
|
118
|
-
attachStyles: true
|
|
119
|
-
};
|
|
120
|
-
var NAMESPACE = (
|
|
121
|
-
/* default */
|
|
122
|
-
"app"
|
|
123
|
-
);
|
|
124
|
-
|
|
125
|
-
// import("./**/*.entry.js*") in ../../node_modules/.pnpm/@stencil+core@2.22.3/node_modules/@stencil/core/internal/client/index.js
|
|
126
|
-
var globImport_entry_js = __glob({});
|
|
127
|
-
|
|
128
|
-
// ../../node_modules/.pnpm/@stencil+core@2.22.3/node_modules/@stencil/core/internal/client/index.js
|
|
129
|
-
var scopeId;
|
|
130
|
-
var contentRef;
|
|
131
|
-
var hostTagName;
|
|
132
|
-
var customError;
|
|
133
|
-
var i = 0;
|
|
134
|
-
var useNativeShadowDom = false;
|
|
135
|
-
var checkSlotFallbackVisibility = false;
|
|
136
|
-
var checkSlotRelocate = false;
|
|
137
|
-
var isSvgMode = false;
|
|
138
|
-
var renderingRef = null;
|
|
139
|
-
var queueCongestion = 0;
|
|
140
|
-
var queuePending = false;
|
|
141
|
-
var Build = {
|
|
142
|
-
isDev: BUILD.isDev ? true : false,
|
|
143
|
-
isBrowser: true,
|
|
144
|
-
isServer: false,
|
|
145
|
-
isTesting: BUILD.isTesting ? true : false
|
|
146
|
-
};
|
|
147
|
-
var createTime = (fnName, tagName = "") => {
|
|
148
|
-
if (BUILD.profile && performance.mark) {
|
|
149
|
-
const key = `st:${fnName}:${tagName}:${i++}`;
|
|
150
|
-
performance.mark(key);
|
|
151
|
-
return () => performance.measure(`[Stencil] ${fnName}() <${tagName}>`, key);
|
|
152
|
-
} else {
|
|
153
|
-
return () => {
|
|
154
|
-
return;
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
};
|
|
158
|
-
var uniqueTime = (key, measureText) => {
|
|
159
|
-
if (BUILD.profile && performance.mark) {
|
|
160
|
-
if (performance.getEntriesByName(key, "mark").length === 0) {
|
|
161
|
-
performance.mark(key);
|
|
162
|
-
}
|
|
163
|
-
return () => {
|
|
164
|
-
if (performance.getEntriesByName(measureText, "measure").length === 0) {
|
|
165
|
-
performance.measure(measureText, key);
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
} else {
|
|
169
|
-
return () => {
|
|
170
|
-
return;
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
var CONTENT_REF_ID = "r";
|
|
175
|
-
var ORG_LOCATION_ID = "o";
|
|
176
|
-
var SLOT_NODE_ID = "s";
|
|
177
|
-
var TEXT_NODE_ID = "t";
|
|
178
|
-
var HYDRATE_ID = "s-id";
|
|
179
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
180
|
-
var HYDRATE_CHILD_ID = "c-id";
|
|
181
|
-
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
182
|
-
var EMPTY_OBJ = {};
|
|
183
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
184
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
185
|
-
var isDef = (v) => v != null;
|
|
186
|
-
var isComplexType = (o2) => {
|
|
187
|
-
o2 = typeof o2;
|
|
188
|
-
return o2 === "object" || o2 === "function";
|
|
189
|
-
};
|
|
190
|
-
function queryNonceMetaTagContent(doc2) {
|
|
191
|
-
var _a, _b, _c;
|
|
192
|
-
return (_c = (_b = (_a = doc2.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute("content")) !== null && _c !== void 0 ? _c : void 0;
|
|
193
|
-
}
|
|
194
|
-
var h = (nodeName, vnodeData, ...children) => {
|
|
195
|
-
let child = null;
|
|
196
|
-
let key = null;
|
|
197
|
-
let slotName = null;
|
|
198
|
-
let simple = false;
|
|
199
|
-
let lastSimple = false;
|
|
200
|
-
const vNodeChildren = [];
|
|
201
|
-
const walk = (c) => {
|
|
202
|
-
for (let i2 = 0; i2 < c.length; i2++) {
|
|
203
|
-
child = c[i2];
|
|
204
|
-
if (Array.isArray(child)) {
|
|
205
|
-
walk(child);
|
|
206
|
-
} else if (child != null && typeof child !== "boolean") {
|
|
207
|
-
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
208
|
-
child = String(child);
|
|
209
|
-
} else if (BUILD.isDev && typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
210
|
-
consoleDevError(`vNode passed as children has unexpected type.
|
|
211
|
-
Make sure it's using the correct h() function.
|
|
212
|
-
Empty objects can also be the cause, look for JSX comments that became objects.`);
|
|
213
|
-
}
|
|
214
|
-
if (simple && lastSimple) {
|
|
215
|
-
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
216
|
-
} else {
|
|
217
|
-
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
|
218
|
-
}
|
|
219
|
-
lastSimple = simple;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
walk(children);
|
|
224
|
-
if (vnodeData) {
|
|
225
|
-
if (BUILD.isDev && nodeName === "input") {
|
|
226
|
-
validateInputProperties(vnodeData);
|
|
227
|
-
}
|
|
228
|
-
if (BUILD.vdomKey && vnodeData.key) {
|
|
229
|
-
key = vnodeData.key;
|
|
230
|
-
}
|
|
231
|
-
if (BUILD.slotRelocation && vnodeData.name) {
|
|
232
|
-
slotName = vnodeData.name;
|
|
233
|
-
}
|
|
234
|
-
if (BUILD.vdomClass) {
|
|
235
|
-
const classData = vnodeData.className || vnodeData.class;
|
|
236
|
-
if (classData) {
|
|
237
|
-
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
if (BUILD.isDev && vNodeChildren.some(isHost)) {
|
|
242
|
-
consoleDevError(`The <Host> must be the single root component. Make sure:
|
|
243
|
-
- You are NOT using hostData() and <Host> in the same component.
|
|
244
|
-
- <Host> is used once, and it's the single root component of the render() function.`);
|
|
245
|
-
}
|
|
246
|
-
if (BUILD.vdomFunctional && typeof nodeName === "function") {
|
|
247
|
-
return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
|
|
248
|
-
}
|
|
249
|
-
const vnode = newVNode(nodeName, null);
|
|
250
|
-
vnode.$attrs$ = vnodeData;
|
|
251
|
-
if (vNodeChildren.length > 0) {
|
|
252
|
-
vnode.$children$ = vNodeChildren;
|
|
253
|
-
}
|
|
254
|
-
if (BUILD.vdomKey) {
|
|
255
|
-
vnode.$key$ = key;
|
|
256
|
-
}
|
|
257
|
-
if (BUILD.slotRelocation) {
|
|
258
|
-
vnode.$name$ = slotName;
|
|
259
|
-
}
|
|
260
|
-
return vnode;
|
|
261
|
-
};
|
|
262
|
-
var newVNode = (tag, text) => {
|
|
263
|
-
const vnode = {
|
|
264
|
-
$flags$: 0,
|
|
265
|
-
$tag$: tag,
|
|
266
|
-
$text$: text,
|
|
267
|
-
$elm$: null,
|
|
268
|
-
$children$: null
|
|
269
|
-
};
|
|
270
|
-
if (BUILD.vdomAttribute) {
|
|
271
|
-
vnode.$attrs$ = null;
|
|
272
|
-
}
|
|
273
|
-
if (BUILD.vdomKey) {
|
|
274
|
-
vnode.$key$ = null;
|
|
275
|
-
}
|
|
276
|
-
if (BUILD.slotRelocation) {
|
|
277
|
-
vnode.$name$ = null;
|
|
278
|
-
}
|
|
279
|
-
return vnode;
|
|
280
|
-
};
|
|
281
|
-
var Host = {};
|
|
282
|
-
var isHost = (node) => node && node.$tag$ === Host;
|
|
283
|
-
var vdomFnUtils = {
|
|
284
|
-
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
285
|
-
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
286
|
-
};
|
|
287
|
-
var convertToPublic = (node) => ({
|
|
288
|
-
vattrs: node.$attrs$,
|
|
289
|
-
vchildren: node.$children$,
|
|
290
|
-
vkey: node.$key$,
|
|
291
|
-
vname: node.$name$,
|
|
292
|
-
vtag: node.$tag$,
|
|
293
|
-
vtext: node.$text$
|
|
294
|
-
});
|
|
295
|
-
var convertToPrivate = (node) => {
|
|
296
|
-
if (typeof node.vtag === "function") {
|
|
297
|
-
const vnodeData = Object.assign({}, node.vattrs);
|
|
298
|
-
if (node.vkey) {
|
|
299
|
-
vnodeData.key = node.vkey;
|
|
300
|
-
}
|
|
301
|
-
if (node.vname) {
|
|
302
|
-
vnodeData.name = node.vname;
|
|
303
|
-
}
|
|
304
|
-
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
305
|
-
}
|
|
306
|
-
const vnode = newVNode(node.vtag, node.vtext);
|
|
307
|
-
vnode.$attrs$ = node.vattrs;
|
|
308
|
-
vnode.$children$ = node.vchildren;
|
|
309
|
-
vnode.$key$ = node.vkey;
|
|
310
|
-
vnode.$name$ = node.vname;
|
|
311
|
-
return vnode;
|
|
312
|
-
};
|
|
313
|
-
var validateInputProperties = (inputElm) => {
|
|
314
|
-
const props = Object.keys(inputElm);
|
|
315
|
-
const value = props.indexOf("value");
|
|
316
|
-
if (value === -1) {
|
|
317
|
-
return;
|
|
318
|
-
}
|
|
319
|
-
const typeIndex = props.indexOf("type");
|
|
320
|
-
const minIndex = props.indexOf("min");
|
|
321
|
-
const maxIndex = props.indexOf("max");
|
|
322
|
-
const stepIndex = props.indexOf("step");
|
|
323
|
-
if (value < typeIndex || value < minIndex || value < maxIndex || value < stepIndex) {
|
|
324
|
-
consoleDevWarn(`The "value" prop of <input> should be set after "min", "max", "type" and "step"`);
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
328
|
-
const endHydrate = createTime("hydrateClient", tagName);
|
|
329
|
-
const shadowRoot = hostElm.shadowRoot;
|
|
330
|
-
const childRenderNodes = [];
|
|
331
|
-
const slotNodes = [];
|
|
332
|
-
const shadowRootNodes = BUILD.shadowDom && shadowRoot ? [] : null;
|
|
333
|
-
const vnode = hostRef.$vnode$ = newVNode(tagName, null);
|
|
334
|
-
if (!plt.$orgLocNodes$) {
|
|
335
|
-
initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
336
|
-
}
|
|
337
|
-
hostElm[HYDRATE_ID] = hostId;
|
|
338
|
-
hostElm.removeAttribute(HYDRATE_ID);
|
|
339
|
-
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
340
|
-
childRenderNodes.map((c) => {
|
|
341
|
-
const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
|
|
342
|
-
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
343
|
-
const node = c.$elm$;
|
|
344
|
-
if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
|
|
345
|
-
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
346
|
-
}
|
|
347
|
-
if (!shadowRoot) {
|
|
348
|
-
node["s-hn"] = tagName;
|
|
349
|
-
if (orgLocationNode) {
|
|
350
|
-
node["s-ol"] = orgLocationNode;
|
|
351
|
-
node["s-ol"]["s-nr"] = node;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
plt.$orgLocNodes$.delete(orgLocationId);
|
|
355
|
-
});
|
|
356
|
-
if (BUILD.shadowDom && shadowRoot) {
|
|
357
|
-
shadowRootNodes.map((shadowRootNode) => {
|
|
358
|
-
if (shadowRootNode) {
|
|
359
|
-
shadowRoot.appendChild(shadowRootNode);
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
endHydrate();
|
|
364
|
-
};
|
|
365
|
-
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
366
|
-
let childNodeType;
|
|
367
|
-
let childIdSplt;
|
|
368
|
-
let childVNode;
|
|
369
|
-
let i2;
|
|
370
|
-
if (node.nodeType === 1) {
|
|
371
|
-
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
372
|
-
if (childNodeType) {
|
|
373
|
-
childIdSplt = childNodeType.split(".");
|
|
374
|
-
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
375
|
-
childVNode = {
|
|
376
|
-
$flags$: 0,
|
|
377
|
-
$hostId$: childIdSplt[0],
|
|
378
|
-
$nodeId$: childIdSplt[1],
|
|
379
|
-
$depth$: childIdSplt[2],
|
|
380
|
-
$index$: childIdSplt[3],
|
|
381
|
-
$tag$: node.tagName.toLowerCase(),
|
|
382
|
-
$elm$: node,
|
|
383
|
-
$attrs$: null,
|
|
384
|
-
$children$: null,
|
|
385
|
-
$key$: null,
|
|
386
|
-
$name$: null,
|
|
387
|
-
$text$: null
|
|
388
|
-
};
|
|
389
|
-
childRenderNodes.push(childVNode);
|
|
390
|
-
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
391
|
-
if (!parentVNode.$children$) {
|
|
392
|
-
parentVNode.$children$ = [];
|
|
393
|
-
}
|
|
394
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
395
|
-
parentVNode = childVNode;
|
|
396
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
397
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
|
|
402
|
-
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i2], hostId);
|
|
403
|
-
}
|
|
404
|
-
if (node.shadowRoot) {
|
|
405
|
-
for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
|
|
406
|
-
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i2], hostId);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
} else if (node.nodeType === 8) {
|
|
410
|
-
childIdSplt = node.nodeValue.split(".");
|
|
411
|
-
if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
|
|
412
|
-
childNodeType = childIdSplt[0];
|
|
413
|
-
childVNode = {
|
|
414
|
-
$flags$: 0,
|
|
415
|
-
$hostId$: childIdSplt[1],
|
|
416
|
-
$nodeId$: childIdSplt[2],
|
|
417
|
-
$depth$: childIdSplt[3],
|
|
418
|
-
$index$: childIdSplt[4],
|
|
419
|
-
$elm$: node,
|
|
420
|
-
$attrs$: null,
|
|
421
|
-
$children$: null,
|
|
422
|
-
$key$: null,
|
|
423
|
-
$name$: null,
|
|
424
|
-
$tag$: null,
|
|
425
|
-
$text$: null
|
|
426
|
-
};
|
|
427
|
-
if (childNodeType === TEXT_NODE_ID) {
|
|
428
|
-
childVNode.$elm$ = node.nextSibling;
|
|
429
|
-
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3) {
|
|
430
|
-
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
431
|
-
childRenderNodes.push(childVNode);
|
|
432
|
-
node.remove();
|
|
433
|
-
if (!parentVNode.$children$) {
|
|
434
|
-
parentVNode.$children$ = [];
|
|
435
|
-
}
|
|
436
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
437
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
438
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
} else if (childVNode.$hostId$ === hostId) {
|
|
442
|
-
if (childNodeType === SLOT_NODE_ID) {
|
|
443
|
-
childVNode.$tag$ = "slot";
|
|
444
|
-
if (childIdSplt[5]) {
|
|
445
|
-
node["s-sn"] = childVNode.$name$ = childIdSplt[5];
|
|
446
|
-
} else {
|
|
447
|
-
node["s-sn"] = "";
|
|
448
|
-
}
|
|
449
|
-
node["s-sr"] = true;
|
|
450
|
-
if (BUILD.shadowDom && shadowRootNodes) {
|
|
451
|
-
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
452
|
-
if (childVNode.$name$) {
|
|
453
|
-
childVNode.$elm$.setAttribute("name", childVNode.$name$);
|
|
454
|
-
}
|
|
455
|
-
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
456
|
-
node.remove();
|
|
457
|
-
if (childVNode.$depth$ === "0") {
|
|
458
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
slotNodes.push(childVNode);
|
|
462
|
-
if (!parentVNode.$children$) {
|
|
463
|
-
parentVNode.$children$ = [];
|
|
464
|
-
}
|
|
465
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
466
|
-
} else if (childNodeType === CONTENT_REF_ID) {
|
|
467
|
-
if (BUILD.shadowDom && shadowRootNodes) {
|
|
468
|
-
node.remove();
|
|
469
|
-
} else if (BUILD.slotRelocation) {
|
|
470
|
-
hostElm["s-cr"] = node;
|
|
471
|
-
node["s-cn"] = true;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
} else if (parentVNode && parentVNode.$tag$ === "style") {
|
|
477
|
-
const vnode = newVNode(null, node.textContent);
|
|
478
|
-
vnode.$elm$ = node;
|
|
479
|
-
vnode.$index$ = "0";
|
|
480
|
-
parentVNode.$children$ = [vnode];
|
|
481
|
-
}
|
|
482
|
-
};
|
|
483
|
-
var initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
484
|
-
if (node.nodeType === 1) {
|
|
485
|
-
let i2 = 0;
|
|
486
|
-
for (; i2 < node.childNodes.length; i2++) {
|
|
487
|
-
initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
|
|
488
|
-
}
|
|
489
|
-
if (node.shadowRoot) {
|
|
490
|
-
for (i2 = 0; i2 < node.shadowRoot.childNodes.length; i2++) {
|
|
491
|
-
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
} else if (node.nodeType === 8) {
|
|
495
|
-
const childIdSplt = node.nodeValue.split(".");
|
|
496
|
-
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
497
|
-
orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
|
|
498
|
-
node.nodeValue = "";
|
|
499
|
-
node["s-en"] = childIdSplt[3];
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
};
|
|
503
|
-
var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
|
|
504
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
505
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
506
|
-
if (BUILD.propBoolean && propType & 4) {
|
|
507
|
-
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
508
|
-
}
|
|
509
|
-
if (BUILD.propNumber && propType & 2) {
|
|
510
|
-
return parseFloat(propValue);
|
|
511
|
-
}
|
|
512
|
-
if (BUILD.propString && propType & 1) {
|
|
513
|
-
return String(propValue);
|
|
514
|
-
}
|
|
515
|
-
return propValue;
|
|
516
|
-
}
|
|
517
|
-
return propValue;
|
|
518
|
-
};
|
|
519
|
-
var getElement = (ref) => BUILD.lazyLoad ? getHostRef(ref).$hostElement$ : ref;
|
|
520
|
-
var createEvent = (ref, name, flags) => {
|
|
521
|
-
const elm = getElement(ref);
|
|
522
|
-
return {
|
|
523
|
-
emit: (detail) => {
|
|
524
|
-
if (BUILD.isDev && !elm.isConnected) {
|
|
525
|
-
consoleDevWarn(`The "${name}" event was emitted, but the dispatcher node is no longer connected to the dom.`);
|
|
526
|
-
}
|
|
527
|
-
return emitEvent(elm, name, {
|
|
528
|
-
bubbles: !!(flags & 4),
|
|
529
|
-
composed: !!(flags & 2),
|
|
530
|
-
cancelable: !!(flags & 1),
|
|
531
|
-
detail
|
|
532
|
-
});
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
var emitEvent = (elm, name, opts) => {
|
|
537
|
-
const ev = plt.ce(name, opts);
|
|
538
|
-
elm.dispatchEvent(ev);
|
|
539
|
-
return ev;
|
|
540
|
-
};
|
|
541
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
542
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
543
|
-
let style = styles.get(scopeId2);
|
|
544
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
545
|
-
style = style || new CSSStyleSheet();
|
|
546
|
-
if (typeof style === "string") {
|
|
547
|
-
style = cssText;
|
|
548
|
-
} else {
|
|
549
|
-
style.replaceSync(cssText);
|
|
550
|
-
}
|
|
551
|
-
} else {
|
|
552
|
-
style = cssText;
|
|
553
|
-
}
|
|
554
|
-
styles.set(scopeId2, style);
|
|
555
|
-
};
|
|
556
|
-
var addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
557
|
-
var _a;
|
|
558
|
-
let scopeId2 = getScopeId(cmpMeta, mode);
|
|
559
|
-
const style = styles.get(scopeId2);
|
|
560
|
-
if (!BUILD.attachStyles) {
|
|
561
|
-
return scopeId2;
|
|
562
|
-
}
|
|
563
|
-
styleContainerNode = styleContainerNode.nodeType === 11 ? styleContainerNode : doc;
|
|
564
|
-
if (style) {
|
|
565
|
-
if (typeof style === "string") {
|
|
566
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
567
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
568
|
-
let styleElm;
|
|
569
|
-
if (!appliedStyles) {
|
|
570
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
571
|
-
}
|
|
572
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
573
|
-
if (BUILD.hydrateClientSide && styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
574
|
-
styleElm.innerHTML = style;
|
|
575
|
-
} else {
|
|
576
|
-
if (BUILD.cssVarShim && plt.$cssShim$) {
|
|
577
|
-
styleElm = plt.$cssShim$.createHostStyle(hostElm, scopeId2, style, !!(cmpMeta.$flags$ & 10));
|
|
578
|
-
const newScopeId = styleElm["s-sc"];
|
|
579
|
-
if (newScopeId) {
|
|
580
|
-
scopeId2 = newScopeId;
|
|
581
|
-
appliedStyles = null;
|
|
582
|
-
}
|
|
583
|
-
} else {
|
|
584
|
-
styleElm = doc.createElement("style");
|
|
585
|
-
styleElm.innerHTML = style;
|
|
586
|
-
}
|
|
587
|
-
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
588
|
-
if (nonce != null) {
|
|
589
|
-
styleElm.setAttribute("nonce", nonce);
|
|
590
|
-
}
|
|
591
|
-
if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {
|
|
592
|
-
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
593
|
-
}
|
|
594
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
595
|
-
}
|
|
596
|
-
if (appliedStyles) {
|
|
597
|
-
appliedStyles.add(scopeId2);
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
} else if (BUILD.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
601
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
return scopeId2;
|
|
605
|
-
};
|
|
606
|
-
var attachStyles = (hostRef) => {
|
|
607
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
608
|
-
const elm = hostRef.$hostElement$;
|
|
609
|
-
const flags = cmpMeta.$flags$;
|
|
610
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
611
|
-
const scopeId2 = addStyle(BUILD.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$, elm);
|
|
612
|
-
if ((BUILD.shadowDom || BUILD.scoped) && BUILD.cssAnnotations && flags & 10) {
|
|
613
|
-
elm["s-sc"] = scopeId2;
|
|
614
|
-
elm.classList.add(scopeId2 + "-h");
|
|
615
|
-
if (BUILD.scoped && flags & 2) {
|
|
616
|
-
elm.classList.add(scopeId2 + "-s");
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
endAttachStyles();
|
|
620
|
-
};
|
|
621
|
-
var getScopeId = (cmp, mode) => "sc-" + (BUILD.mode && mode && cmp.$flags$ & 32 ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
622
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
623
|
-
if (oldValue !== newValue) {
|
|
624
|
-
let isProp = isMemberInElement(elm, memberName);
|
|
625
|
-
let ln = memberName.toLowerCase();
|
|
626
|
-
if (BUILD.vdomClass && memberName === "class") {
|
|
627
|
-
const classList = elm.classList;
|
|
628
|
-
const oldClasses = parseClassList(oldValue);
|
|
629
|
-
const newClasses = parseClassList(newValue);
|
|
630
|
-
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
631
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
632
|
-
} else if (BUILD.vdomStyle && memberName === "style") {
|
|
633
|
-
if (BUILD.updatable) {
|
|
634
|
-
for (const prop in oldValue) {
|
|
635
|
-
if (!newValue || newValue[prop] == null) {
|
|
636
|
-
if (!BUILD.hydrateServerSide && prop.includes("-")) {
|
|
637
|
-
elm.style.removeProperty(prop);
|
|
638
|
-
} else {
|
|
639
|
-
elm.style[prop] = "";
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
for (const prop in newValue) {
|
|
645
|
-
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
646
|
-
if (!BUILD.hydrateServerSide && prop.includes("-")) {
|
|
647
|
-
elm.style.setProperty(prop, newValue[prop]);
|
|
648
|
-
} else {
|
|
649
|
-
elm.style[prop] = newValue[prop];
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
} else if (BUILD.vdomKey && memberName === "key")
|
|
654
|
-
;
|
|
655
|
-
else if (BUILD.vdomRef && memberName === "ref") {
|
|
656
|
-
if (newValue) {
|
|
657
|
-
newValue(elm);
|
|
658
|
-
}
|
|
659
|
-
} else if (BUILD.vdomListener && (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
|
|
660
|
-
if (memberName[2] === "-") {
|
|
661
|
-
memberName = memberName.slice(3);
|
|
662
|
-
} else if (isMemberInElement(win, ln)) {
|
|
663
|
-
memberName = ln.slice(2);
|
|
664
|
-
} else {
|
|
665
|
-
memberName = ln[2] + memberName.slice(3);
|
|
666
|
-
}
|
|
667
|
-
if (oldValue) {
|
|
668
|
-
plt.rel(elm, memberName, oldValue, false);
|
|
669
|
-
}
|
|
670
|
-
if (newValue) {
|
|
671
|
-
plt.ael(elm, memberName, newValue, false);
|
|
672
|
-
}
|
|
673
|
-
} else if (BUILD.vdomPropOrAttr) {
|
|
674
|
-
const isComplex = isComplexType(newValue);
|
|
675
|
-
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
676
|
-
try {
|
|
677
|
-
if (!elm.tagName.includes("-")) {
|
|
678
|
-
const n2 = newValue == null ? "" : newValue;
|
|
679
|
-
if (memberName === "list") {
|
|
680
|
-
isProp = false;
|
|
681
|
-
} else if (oldValue == null || elm[memberName] != n2) {
|
|
682
|
-
elm[memberName] = n2;
|
|
683
|
-
}
|
|
684
|
-
} else {
|
|
685
|
-
elm[memberName] = newValue;
|
|
686
|
-
}
|
|
687
|
-
} catch (e2) {
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
let xlink = false;
|
|
691
|
-
if (BUILD.vdomXlink) {
|
|
692
|
-
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
693
|
-
memberName = ln;
|
|
694
|
-
xlink = true;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
if (newValue == null || newValue === false) {
|
|
698
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
699
|
-
if (BUILD.vdomXlink && xlink) {
|
|
700
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
701
|
-
} else {
|
|
702
|
-
elm.removeAttribute(memberName);
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
} else if ((!isProp || flags & 4 || isSvg) && !isComplex) {
|
|
706
|
-
newValue = newValue === true ? "" : newValue;
|
|
707
|
-
if (BUILD.vdomXlink && xlink) {
|
|
708
|
-
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
709
|
-
} else {
|
|
710
|
-
elm.setAttribute(memberName, newValue);
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
var parseClassListRegex = /\s/;
|
|
717
|
-
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
718
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2, memberName) => {
|
|
719
|
-
const elm = newVnode.$elm$.nodeType === 11 && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
720
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
721
|
-
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
722
|
-
if (BUILD.updatable) {
|
|
723
|
-
for (memberName in oldVnodeAttrs) {
|
|
724
|
-
if (!(memberName in newVnodeAttrs)) {
|
|
725
|
-
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
for (memberName in newVnodeAttrs) {
|
|
730
|
-
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
731
|
-
}
|
|
732
|
-
};
|
|
733
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
734
|
-
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
735
|
-
let i2 = 0;
|
|
736
|
-
let elm;
|
|
737
|
-
let childNode;
|
|
738
|
-
let oldVNode;
|
|
739
|
-
if (BUILD.slotRelocation && !useNativeShadowDom) {
|
|
740
|
-
checkSlotRelocate = true;
|
|
741
|
-
if (newVNode2.$tag$ === "slot") {
|
|
742
|
-
if (scopeId) {
|
|
743
|
-
parentElm.classList.add(scopeId + "-s");
|
|
744
|
-
}
|
|
745
|
-
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
746
|
-
// slot element has fallback content
|
|
747
|
-
2
|
|
748
|
-
) : (
|
|
749
|
-
// slot element does not have fallback content
|
|
750
|
-
1
|
|
751
|
-
);
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
if (BUILD.isDev && newVNode2.$elm$) {
|
|
755
|
-
consoleDevError(`The JSX ${newVNode2.$text$ !== null ? `"${newVNode2.$text$}" text` : `"${newVNode2.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`);
|
|
756
|
-
}
|
|
757
|
-
if (BUILD.vdomText && newVNode2.$text$ !== null) {
|
|
758
|
-
elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
|
|
759
|
-
} else if (BUILD.slotRelocation && newVNode2.$flags$ & 1) {
|
|
760
|
-
elm = newVNode2.$elm$ = BUILD.isDebug || BUILD.hydrateServerSide ? slotReferenceDebugNode(newVNode2) : doc.createTextNode("");
|
|
761
|
-
} else {
|
|
762
|
-
if (BUILD.svg && !isSvgMode) {
|
|
763
|
-
isSvgMode = newVNode2.$tag$ === "svg";
|
|
764
|
-
}
|
|
765
|
-
elm = newVNode2.$elm$ = BUILD.svg ? doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, BUILD.slotRelocation && newVNode2.$flags$ & 2 ? "slot-fb" : newVNode2.$tag$) : doc.createElement(BUILD.slotRelocation && newVNode2.$flags$ & 2 ? "slot-fb" : newVNode2.$tag$);
|
|
766
|
-
if (BUILD.svg && isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
767
|
-
isSvgMode = false;
|
|
768
|
-
}
|
|
769
|
-
if (BUILD.vdomAttribute) {
|
|
770
|
-
updateElement(null, newVNode2, isSvgMode);
|
|
771
|
-
}
|
|
772
|
-
if ((BUILD.shadowDom || BUILD.scoped) && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
773
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
774
|
-
}
|
|
775
|
-
if (newVNode2.$children$) {
|
|
776
|
-
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
777
|
-
childNode = createElm(oldParentVNode, newVNode2, i2, elm);
|
|
778
|
-
if (childNode) {
|
|
779
|
-
elm.appendChild(childNode);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
if (BUILD.svg) {
|
|
784
|
-
if (newVNode2.$tag$ === "svg") {
|
|
785
|
-
isSvgMode = false;
|
|
786
|
-
} else if (elm.tagName === "foreignObject") {
|
|
787
|
-
isSvgMode = true;
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
if (BUILD.slotRelocation) {
|
|
792
|
-
elm["s-hn"] = hostTagName;
|
|
793
|
-
if (newVNode2.$flags$ & (2 | 1)) {
|
|
794
|
-
elm["s-sr"] = true;
|
|
795
|
-
elm["s-cr"] = contentRef;
|
|
796
|
-
elm["s-sn"] = newVNode2.$name$ || "";
|
|
797
|
-
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
798
|
-
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
799
|
-
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
return elm;
|
|
804
|
-
};
|
|
805
|
-
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
806
|
-
plt.$flags$ |= 1;
|
|
807
|
-
const oldSlotChildNodes = parentElm.childNodes;
|
|
808
|
-
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
809
|
-
const childNode = oldSlotChildNodes[i2];
|
|
810
|
-
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
811
|
-
parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
|
|
812
|
-
childNode["s-ol"].remove();
|
|
813
|
-
childNode["s-ol"] = void 0;
|
|
814
|
-
checkSlotRelocate = true;
|
|
815
|
-
}
|
|
816
|
-
if (recursive) {
|
|
817
|
-
putBackInOriginalLocation(childNode, recursive);
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
plt.$flags$ &= ~1;
|
|
821
|
-
};
|
|
822
|
-
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
823
|
-
let containerElm = BUILD.slotRelocation && parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
824
|
-
let childNode;
|
|
825
|
-
if (BUILD.shadowDom && containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
826
|
-
containerElm = containerElm.shadowRoot;
|
|
827
|
-
}
|
|
828
|
-
for (; startIdx <= endIdx; ++startIdx) {
|
|
829
|
-
if (vnodes[startIdx]) {
|
|
830
|
-
childNode = createElm(null, parentVNode, startIdx, parentElm);
|
|
831
|
-
if (childNode) {
|
|
832
|
-
vnodes[startIdx].$elm$ = childNode;
|
|
833
|
-
containerElm.insertBefore(childNode, BUILD.slotRelocation ? referenceNode(before) : before);
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
};
|
|
838
|
-
var removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
839
|
-
for (; startIdx <= endIdx; ++startIdx) {
|
|
840
|
-
if (vnode = vnodes[startIdx]) {
|
|
841
|
-
elm = vnode.$elm$;
|
|
842
|
-
callNodeRefs(vnode);
|
|
843
|
-
if (BUILD.slotRelocation) {
|
|
844
|
-
checkSlotFallbackVisibility = true;
|
|
845
|
-
if (elm["s-ol"]) {
|
|
846
|
-
elm["s-ol"].remove();
|
|
847
|
-
} else {
|
|
848
|
-
putBackInOriginalLocation(elm, true);
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
elm.remove();
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
};
|
|
855
|
-
var updateChildren = (parentElm, oldCh, newVNode2, newCh) => {
|
|
856
|
-
let oldStartIdx = 0;
|
|
857
|
-
let newStartIdx = 0;
|
|
858
|
-
let idxInOld = 0;
|
|
859
|
-
let i2 = 0;
|
|
860
|
-
let oldEndIdx = oldCh.length - 1;
|
|
861
|
-
let oldStartVnode = oldCh[0];
|
|
862
|
-
let oldEndVnode = oldCh[oldEndIdx];
|
|
863
|
-
let newEndIdx = newCh.length - 1;
|
|
864
|
-
let newStartVnode = newCh[0];
|
|
865
|
-
let newEndVnode = newCh[newEndIdx];
|
|
866
|
-
let node;
|
|
867
|
-
let elmToMove;
|
|
868
|
-
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
869
|
-
if (oldStartVnode == null) {
|
|
870
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
|
871
|
-
} else if (oldEndVnode == null) {
|
|
872
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
|
873
|
-
} else if (newStartVnode == null) {
|
|
874
|
-
newStartVnode = newCh[++newStartIdx];
|
|
875
|
-
} else if (newEndVnode == null) {
|
|
876
|
-
newEndVnode = newCh[--newEndIdx];
|
|
877
|
-
} else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
878
|
-
patch(oldStartVnode, newStartVnode);
|
|
879
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
|
880
|
-
newStartVnode = newCh[++newStartIdx];
|
|
881
|
-
} else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
882
|
-
patch(oldEndVnode, newEndVnode);
|
|
883
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
|
884
|
-
newEndVnode = newCh[--newEndIdx];
|
|
885
|
-
} else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
886
|
-
if (BUILD.slotRelocation && (oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
887
|
-
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
888
|
-
}
|
|
889
|
-
patch(oldStartVnode, newEndVnode);
|
|
890
|
-
parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
891
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
|
892
|
-
newEndVnode = newCh[--newEndIdx];
|
|
893
|
-
} else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
894
|
-
if (BUILD.slotRelocation && (oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
895
|
-
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
896
|
-
}
|
|
897
|
-
patch(oldEndVnode, newStartVnode);
|
|
898
|
-
parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
899
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
|
900
|
-
newStartVnode = newCh[++newStartIdx];
|
|
901
|
-
} else {
|
|
902
|
-
idxInOld = -1;
|
|
903
|
-
if (BUILD.vdomKey) {
|
|
904
|
-
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
|
905
|
-
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
|
906
|
-
idxInOld = i2;
|
|
907
|
-
break;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
if (BUILD.vdomKey && idxInOld >= 0) {
|
|
912
|
-
elmToMove = oldCh[idxInOld];
|
|
913
|
-
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
914
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
|
|
915
|
-
} else {
|
|
916
|
-
patch(elmToMove, newStartVnode);
|
|
917
|
-
oldCh[idxInOld] = void 0;
|
|
918
|
-
node = elmToMove.$elm$;
|
|
919
|
-
}
|
|
920
|
-
newStartVnode = newCh[++newStartIdx];
|
|
921
|
-
} else {
|
|
922
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
|
|
923
|
-
newStartVnode = newCh[++newStartIdx];
|
|
924
|
-
}
|
|
925
|
-
if (node) {
|
|
926
|
-
if (BUILD.slotRelocation) {
|
|
927
|
-
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
928
|
-
} else {
|
|
929
|
-
oldStartVnode.$elm$.parentNode.insertBefore(node, oldStartVnode.$elm$);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
if (oldStartIdx > oldEndIdx) {
|
|
935
|
-
addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode2, newCh, newStartIdx, newEndIdx);
|
|
936
|
-
} else if (BUILD.updatable && newStartIdx > newEndIdx) {
|
|
937
|
-
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
var isSameVnode = (leftVNode, rightVNode) => {
|
|
941
|
-
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
942
|
-
if (BUILD.slotRelocation && leftVNode.$tag$ === "slot") {
|
|
943
|
-
return leftVNode.$name$ === rightVNode.$name$;
|
|
944
|
-
}
|
|
945
|
-
if (BUILD.vdomKey) {
|
|
946
|
-
return leftVNode.$key$ === rightVNode.$key$;
|
|
947
|
-
}
|
|
948
|
-
return true;
|
|
949
|
-
}
|
|
950
|
-
return false;
|
|
951
|
-
};
|
|
952
|
-
var referenceNode = (node) => {
|
|
953
|
-
return node && node["s-ol"] || node;
|
|
954
|
-
};
|
|
955
|
-
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
956
|
-
var patch = (oldVNode, newVNode2) => {
|
|
957
|
-
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
958
|
-
const oldChildren = oldVNode.$children$;
|
|
959
|
-
const newChildren = newVNode2.$children$;
|
|
960
|
-
const tag = newVNode2.$tag$;
|
|
961
|
-
const text = newVNode2.$text$;
|
|
962
|
-
let defaultHolder;
|
|
963
|
-
if (!BUILD.vdomText || text === null) {
|
|
964
|
-
if (BUILD.svg) {
|
|
965
|
-
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
966
|
-
}
|
|
967
|
-
if (BUILD.vdomAttribute || BUILD.reflect) {
|
|
968
|
-
if (BUILD.slot && tag === "slot")
|
|
969
|
-
;
|
|
970
|
-
else {
|
|
971
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
if (BUILD.updatable && oldChildren !== null && newChildren !== null) {
|
|
975
|
-
updateChildren(elm, oldChildren, newVNode2, newChildren);
|
|
976
|
-
} else if (newChildren !== null) {
|
|
977
|
-
if (BUILD.updatable && BUILD.vdomText && oldVNode.$text$ !== null) {
|
|
978
|
-
elm.textContent = "";
|
|
979
|
-
}
|
|
980
|
-
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
981
|
-
} else if (BUILD.updatable && oldChildren !== null) {
|
|
982
|
-
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
983
|
-
}
|
|
984
|
-
if (BUILD.svg && isSvgMode && tag === "svg") {
|
|
985
|
-
isSvgMode = false;
|
|
986
|
-
}
|
|
987
|
-
} else if (BUILD.vdomText && BUILD.slotRelocation && (defaultHolder = elm["s-cr"])) {
|
|
988
|
-
defaultHolder.parentNode.textContent = text;
|
|
989
|
-
} else if (BUILD.vdomText && oldVNode.$text$ !== text) {
|
|
990
|
-
elm.data = text;
|
|
991
|
-
}
|
|
992
|
-
};
|
|
993
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
994
|
-
const childNodes = elm.childNodes;
|
|
995
|
-
let childNode;
|
|
996
|
-
let i2;
|
|
997
|
-
let ilen;
|
|
998
|
-
let j;
|
|
999
|
-
let slotNameAttr;
|
|
1000
|
-
let nodeType;
|
|
1001
|
-
for (i2 = 0, ilen = childNodes.length; i2 < ilen; i2++) {
|
|
1002
|
-
childNode = childNodes[i2];
|
|
1003
|
-
if (childNode.nodeType === 1) {
|
|
1004
|
-
if (childNode["s-sr"]) {
|
|
1005
|
-
slotNameAttr = childNode["s-sn"];
|
|
1006
|
-
childNode.hidden = false;
|
|
1007
|
-
for (j = 0; j < ilen; j++) {
|
|
1008
|
-
nodeType = childNodes[j].nodeType;
|
|
1009
|
-
if (childNodes[j]["s-hn"] !== childNode["s-hn"] || slotNameAttr !== "") {
|
|
1010
|
-
if (nodeType === 1 && slotNameAttr === childNodes[j].getAttribute("slot")) {
|
|
1011
|
-
childNode.hidden = true;
|
|
1012
|
-
break;
|
|
1013
|
-
}
|
|
1014
|
-
} else {
|
|
1015
|
-
if (nodeType === 1 || nodeType === 3 && childNodes[j].textContent.trim() !== "") {
|
|
1016
|
-
childNode.hidden = true;
|
|
1017
|
-
break;
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
updateFallbackSlotVisibility(childNode);
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
};
|
|
1026
|
-
var relocateNodes = [];
|
|
1027
|
-
var relocateSlotContent = (elm) => {
|
|
1028
|
-
let childNode;
|
|
1029
|
-
let node;
|
|
1030
|
-
let hostContentNodes;
|
|
1031
|
-
let slotNameAttr;
|
|
1032
|
-
let relocateNodeData;
|
|
1033
|
-
let j;
|
|
1034
|
-
let i2 = 0;
|
|
1035
|
-
const childNodes = elm.childNodes;
|
|
1036
|
-
const ilen = childNodes.length;
|
|
1037
|
-
for (; i2 < ilen; i2++) {
|
|
1038
|
-
childNode = childNodes[i2];
|
|
1039
|
-
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
1040
|
-
hostContentNodes = node.parentNode.childNodes;
|
|
1041
|
-
slotNameAttr = childNode["s-sn"];
|
|
1042
|
-
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1043
|
-
node = hostContentNodes[j];
|
|
1044
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"]) {
|
|
1045
|
-
if (isNodeLocatedInSlot(node, slotNameAttr)) {
|
|
1046
|
-
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1047
|
-
checkSlotFallbackVisibility = true;
|
|
1048
|
-
node["s-sn"] = node["s-sn"] || slotNameAttr;
|
|
1049
|
-
if (relocateNodeData) {
|
|
1050
|
-
relocateNodeData.$slotRefNode$ = childNode;
|
|
1051
|
-
} else {
|
|
1052
|
-
relocateNodes.push({
|
|
1053
|
-
$slotRefNode$: childNode,
|
|
1054
|
-
$nodeToRelocate$: node
|
|
1055
|
-
});
|
|
1056
|
-
}
|
|
1057
|
-
if (node["s-sr"]) {
|
|
1058
|
-
relocateNodes.map((relocateNode) => {
|
|
1059
|
-
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
|
1060
|
-
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1061
|
-
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
1062
|
-
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
});
|
|
1066
|
-
}
|
|
1067
|
-
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
1068
|
-
relocateNodes.push({
|
|
1069
|
-
$nodeToRelocate$: node
|
|
1070
|
-
});
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
if (childNode.nodeType === 1) {
|
|
1076
|
-
relocateSlotContent(childNode);
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
};
|
|
1080
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
1081
|
-
if (nodeToRelocate.nodeType === 1) {
|
|
1082
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotNameAttr === "") {
|
|
1083
|
-
return true;
|
|
1084
|
-
}
|
|
1085
|
-
if (nodeToRelocate.getAttribute("slot") === slotNameAttr) {
|
|
1086
|
-
return true;
|
|
1087
|
-
}
|
|
1088
|
-
return false;
|
|
1089
|
-
}
|
|
1090
|
-
if (nodeToRelocate["s-sn"] === slotNameAttr) {
|
|
1091
|
-
return true;
|
|
1092
|
-
}
|
|
1093
|
-
return slotNameAttr === "";
|
|
1094
|
-
};
|
|
1095
|
-
var callNodeRefs = (vNode) => {
|
|
1096
|
-
if (BUILD.vdomRef) {
|
|
1097
|
-
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1098
|
-
vNode.$children$ && vNode.$children$.map(callNodeRefs);
|
|
1099
|
-
}
|
|
1100
|
-
};
|
|
1101
|
-
var renderVdom = (hostRef, renderFnResults) => {
|
|
1102
|
-
const hostElm = hostRef.$hostElement$;
|
|
1103
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1104
|
-
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1105
|
-
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
1106
|
-
hostTagName = hostElm.tagName;
|
|
1107
|
-
if (BUILD.isDev && Array.isArray(renderFnResults) && renderFnResults.some(isHost)) {
|
|
1108
|
-
throw new Error(`The <Host> must be the single root component.
|
|
1109
|
-
Looks like the render() function of "${hostTagName.toLowerCase()}" is returning an array that contains the <Host>.
|
|
1110
|
-
|
|
1111
|
-
The render() function should look like this instead:
|
|
1112
|
-
|
|
1113
|
-
render() {
|
|
1114
|
-
// Do not return an array
|
|
1115
|
-
return (
|
|
1116
|
-
<Host>{content}</Host>
|
|
1117
|
-
);
|
|
1118
|
-
}
|
|
1119
|
-
`);
|
|
1120
|
-
}
|
|
1121
|
-
if (BUILD.reflect && cmpMeta.$attrsToReflect$) {
|
|
1122
|
-
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
1123
|
-
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]);
|
|
1124
|
-
}
|
|
1125
|
-
rootVnode.$tag$ = null;
|
|
1126
|
-
rootVnode.$flags$ |= 4;
|
|
1127
|
-
hostRef.$vnode$ = rootVnode;
|
|
1128
|
-
rootVnode.$elm$ = oldVNode.$elm$ = BUILD.shadowDom ? hostElm.shadowRoot || hostElm : hostElm;
|
|
1129
|
-
if (BUILD.scoped || BUILD.shadowDom) {
|
|
1130
|
-
scopeId = hostElm["s-sc"];
|
|
1131
|
-
}
|
|
1132
|
-
if (BUILD.slotRelocation) {
|
|
1133
|
-
contentRef = hostElm["s-cr"];
|
|
1134
|
-
useNativeShadowDom = supportsShadow && (cmpMeta.$flags$ & 1) !== 0;
|
|
1135
|
-
checkSlotFallbackVisibility = false;
|
|
1136
|
-
}
|
|
1137
|
-
patch(oldVNode, rootVnode);
|
|
1138
|
-
if (BUILD.slotRelocation) {
|
|
1139
|
-
plt.$flags$ |= 1;
|
|
1140
|
-
if (checkSlotRelocate) {
|
|
1141
|
-
relocateSlotContent(rootVnode.$elm$);
|
|
1142
|
-
let relocateData;
|
|
1143
|
-
let nodeToRelocate;
|
|
1144
|
-
let orgLocationNode;
|
|
1145
|
-
let parentNodeRef;
|
|
1146
|
-
let insertBeforeNode;
|
|
1147
|
-
let refNode;
|
|
1148
|
-
let i2 = 0;
|
|
1149
|
-
for (; i2 < relocateNodes.length; i2++) {
|
|
1150
|
-
relocateData = relocateNodes[i2];
|
|
1151
|
-
nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1152
|
-
if (!nodeToRelocate["s-ol"]) {
|
|
1153
|
-
orgLocationNode = BUILD.isDebug || BUILD.hydrateServerSide ? originalLocationDebugNode(nodeToRelocate) : doc.createTextNode("");
|
|
1154
|
-
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
1155
|
-
nodeToRelocate.parentNode.insertBefore(nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
for (i2 = 0; i2 < relocateNodes.length; i2++) {
|
|
1159
|
-
relocateData = relocateNodes[i2];
|
|
1160
|
-
nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1161
|
-
if (relocateData.$slotRefNode$) {
|
|
1162
|
-
parentNodeRef = relocateData.$slotRefNode$.parentNode;
|
|
1163
|
-
insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
|
|
1164
|
-
orgLocationNode = nodeToRelocate["s-ol"];
|
|
1165
|
-
while (orgLocationNode = orgLocationNode.previousSibling) {
|
|
1166
|
-
refNode = orgLocationNode["s-nr"];
|
|
1167
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
1168
|
-
refNode = refNode.nextSibling;
|
|
1169
|
-
if (!refNode || !refNode["s-nr"]) {
|
|
1170
|
-
insertBeforeNode = refNode;
|
|
1171
|
-
break;
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
1176
|
-
if (nodeToRelocate !== insertBeforeNode) {
|
|
1177
|
-
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
1178
|
-
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
1179
|
-
}
|
|
1180
|
-
parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
} else {
|
|
1184
|
-
if (nodeToRelocate.nodeType === 1) {
|
|
1185
|
-
nodeToRelocate.hidden = true;
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
if (checkSlotFallbackVisibility) {
|
|
1191
|
-
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1192
|
-
}
|
|
1193
|
-
plt.$flags$ &= ~1;
|
|
1194
|
-
relocateNodes.length = 0;
|
|
1195
|
-
}
|
|
1196
|
-
};
|
|
1197
|
-
var slotReferenceDebugNode = (slotVNode) => doc.createComment(`<slot${slotVNode.$name$ ? ' name="' + slotVNode.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`);
|
|
1198
|
-
var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`));
|
|
1199
|
-
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1200
|
-
if (BUILD.asyncLoading && ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
1201
|
-
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
1202
|
-
}
|
|
1203
|
-
};
|
|
1204
|
-
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
1205
|
-
if (BUILD.taskQueue && BUILD.updatable) {
|
|
1206
|
-
hostRef.$flags$ |= 16;
|
|
1207
|
-
}
|
|
1208
|
-
if (BUILD.asyncLoading && hostRef.$flags$ & 4) {
|
|
1209
|
-
hostRef.$flags$ |= 512;
|
|
1210
|
-
return;
|
|
1211
|
-
}
|
|
1212
|
-
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
1213
|
-
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
1214
|
-
return BUILD.taskQueue ? writeTask(dispatch) : dispatch();
|
|
1215
|
-
};
|
|
1216
|
-
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1217
|
-
const elm = hostRef.$hostElement$;
|
|
1218
|
-
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
1219
|
-
const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
1220
|
-
let promise;
|
|
1221
|
-
if (isInitialLoad) {
|
|
1222
|
-
if (BUILD.lazyLoad && BUILD.hostListener) {
|
|
1223
|
-
hostRef.$flags$ |= 256;
|
|
1224
|
-
if (hostRef.$queuedListeners$) {
|
|
1225
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
1226
|
-
hostRef.$queuedListeners$ = null;
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
emitLifecycleEvent(elm, "componentWillLoad");
|
|
1230
|
-
if (BUILD.cmpWillLoad) {
|
|
1231
|
-
promise = safeCall(instance, "componentWillLoad");
|
|
1232
|
-
}
|
|
1233
|
-
} else {
|
|
1234
|
-
emitLifecycleEvent(elm, "componentWillUpdate");
|
|
1235
|
-
if (BUILD.cmpWillUpdate) {
|
|
1236
|
-
promise = safeCall(instance, "componentWillUpdate");
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
emitLifecycleEvent(elm, "componentWillRender");
|
|
1240
|
-
if (BUILD.cmpWillRender) {
|
|
1241
|
-
promise = then(promise, () => safeCall(instance, "componentWillRender"));
|
|
1242
|
-
}
|
|
1243
|
-
endSchedule();
|
|
1244
|
-
return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1245
|
-
};
|
|
1246
|
-
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1247
|
-
const elm = hostRef.$hostElement$;
|
|
1248
|
-
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
|
1249
|
-
const rc = elm["s-rc"];
|
|
1250
|
-
if (BUILD.style && isInitialLoad) {
|
|
1251
|
-
attachStyles(hostRef);
|
|
1252
|
-
}
|
|
1253
|
-
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
1254
|
-
if (BUILD.isDev) {
|
|
1255
|
-
hostRef.$flags$ |= 1024;
|
|
1256
|
-
}
|
|
1257
|
-
if (BUILD.hydrateServerSide) {
|
|
1258
|
-
await callRender(hostRef, instance, elm);
|
|
1259
|
-
} else {
|
|
1260
|
-
callRender(hostRef, instance, elm);
|
|
1261
|
-
}
|
|
1262
|
-
if (BUILD.cssVarShim && plt.$cssShim$) {
|
|
1263
|
-
plt.$cssShim$.updateHost(elm);
|
|
1264
|
-
}
|
|
1265
|
-
if (BUILD.isDev) {
|
|
1266
|
-
hostRef.$renderCount$++;
|
|
1267
|
-
hostRef.$flags$ &= ~1024;
|
|
1268
|
-
}
|
|
1269
|
-
if (BUILD.hydrateServerSide) {
|
|
1270
|
-
try {
|
|
1271
|
-
serverSideConnected(elm);
|
|
1272
|
-
if (isInitialLoad) {
|
|
1273
|
-
if (hostRef.$cmpMeta$.$flags$ & 1) {
|
|
1274
|
-
elm["s-en"] = "";
|
|
1275
|
-
} else if (hostRef.$cmpMeta$.$flags$ & 2) {
|
|
1276
|
-
elm["s-en"] = "c";
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
} catch (e2) {
|
|
1280
|
-
consoleError(e2, elm);
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
if (BUILD.asyncLoading && rc) {
|
|
1284
|
-
rc.map((cb) => cb());
|
|
1285
|
-
elm["s-rc"] = void 0;
|
|
1286
|
-
}
|
|
1287
|
-
endRender();
|
|
1288
|
-
endUpdate();
|
|
1289
|
-
if (BUILD.asyncLoading) {
|
|
1290
|
-
const childrenPromises = elm["s-p"];
|
|
1291
|
-
const postUpdate = () => postUpdateComponent(hostRef);
|
|
1292
|
-
if (childrenPromises.length === 0) {
|
|
1293
|
-
postUpdate();
|
|
1294
|
-
} else {
|
|
1295
|
-
Promise.all(childrenPromises).then(postUpdate);
|
|
1296
|
-
hostRef.$flags$ |= 4;
|
|
1297
|
-
childrenPromises.length = 0;
|
|
1298
|
-
}
|
|
1299
|
-
} else {
|
|
1300
|
-
postUpdateComponent(hostRef);
|
|
1301
|
-
}
|
|
1302
|
-
};
|
|
1303
|
-
var callRender = (hostRef, instance, elm) => {
|
|
1304
|
-
const allRenderFn = BUILD.allRenderFn ? true : false;
|
|
1305
|
-
const lazyLoad = BUILD.lazyLoad ? true : false;
|
|
1306
|
-
const taskQueue = BUILD.taskQueue ? true : false;
|
|
1307
|
-
const updatable = BUILD.updatable ? true : false;
|
|
1308
|
-
try {
|
|
1309
|
-
renderingRef = instance;
|
|
1310
|
-
instance = allRenderFn ? instance.render() : instance.render && instance.render();
|
|
1311
|
-
if (updatable && taskQueue) {
|
|
1312
|
-
hostRef.$flags$ &= ~16;
|
|
1313
|
-
}
|
|
1314
|
-
if (updatable || lazyLoad) {
|
|
1315
|
-
hostRef.$flags$ |= 2;
|
|
1316
|
-
}
|
|
1317
|
-
if (BUILD.hasRenderFn || BUILD.reflect) {
|
|
1318
|
-
if (BUILD.vdomRender || BUILD.reflect) {
|
|
1319
|
-
if (BUILD.hydrateServerSide) {
|
|
1320
|
-
return Promise.resolve(instance).then((value) => renderVdom(hostRef, value));
|
|
1321
|
-
} else {
|
|
1322
|
-
renderVdom(hostRef, instance);
|
|
1323
|
-
}
|
|
1324
|
-
} else {
|
|
1325
|
-
elm.textContent = instance;
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
} catch (e2) {
|
|
1329
|
-
consoleError(e2, hostRef.$hostElement$);
|
|
1330
|
-
}
|
|
1331
|
-
renderingRef = null;
|
|
1332
|
-
return null;
|
|
1333
|
-
};
|
|
1334
|
-
var postUpdateComponent = (hostRef) => {
|
|
1335
|
-
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
1336
|
-
const elm = hostRef.$hostElement$;
|
|
1337
|
-
const endPostUpdate = createTime("postUpdate", tagName);
|
|
1338
|
-
const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
1339
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1340
|
-
if (BUILD.cmpDidRender) {
|
|
1341
|
-
if (BUILD.isDev) {
|
|
1342
|
-
hostRef.$flags$ |= 1024;
|
|
1343
|
-
}
|
|
1344
|
-
safeCall(instance, "componentDidRender");
|
|
1345
|
-
if (BUILD.isDev) {
|
|
1346
|
-
hostRef.$flags$ &= ~1024;
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
emitLifecycleEvent(elm, "componentDidRender");
|
|
1350
|
-
if (!(hostRef.$flags$ & 64)) {
|
|
1351
|
-
hostRef.$flags$ |= 64;
|
|
1352
|
-
if (BUILD.asyncLoading && BUILD.cssAnnotations) {
|
|
1353
|
-
addHydratedFlag(elm);
|
|
1354
|
-
}
|
|
1355
|
-
if (BUILD.cmpDidLoad) {
|
|
1356
|
-
if (BUILD.isDev) {
|
|
1357
|
-
hostRef.$flags$ |= 2048;
|
|
1358
|
-
}
|
|
1359
|
-
safeCall(instance, "componentDidLoad");
|
|
1360
|
-
if (BUILD.isDev) {
|
|
1361
|
-
hostRef.$flags$ &= ~2048;
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
emitLifecycleEvent(elm, "componentDidLoad");
|
|
1365
|
-
endPostUpdate();
|
|
1366
|
-
if (BUILD.asyncLoading) {
|
|
1367
|
-
hostRef.$onReadyResolve$(elm);
|
|
1368
|
-
if (!ancestorComponent) {
|
|
1369
|
-
appDidLoad(tagName);
|
|
1370
|
-
}
|
|
1371
|
-
}
|
|
1372
|
-
} else {
|
|
1373
|
-
if (BUILD.cmpDidUpdate) {
|
|
1374
|
-
if (BUILD.isDev) {
|
|
1375
|
-
hostRef.$flags$ |= 1024;
|
|
1376
|
-
}
|
|
1377
|
-
safeCall(instance, "componentDidUpdate");
|
|
1378
|
-
if (BUILD.isDev) {
|
|
1379
|
-
hostRef.$flags$ &= ~1024;
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
emitLifecycleEvent(elm, "componentDidUpdate");
|
|
1383
|
-
endPostUpdate();
|
|
1384
|
-
}
|
|
1385
|
-
if (BUILD.hotModuleReplacement) {
|
|
1386
|
-
elm["s-hmr-load"] && elm["s-hmr-load"]();
|
|
1387
|
-
}
|
|
1388
|
-
if (BUILD.method && BUILD.lazyLoad) {
|
|
1389
|
-
hostRef.$onInstanceResolve$(elm);
|
|
1390
|
-
}
|
|
1391
|
-
if (BUILD.asyncLoading) {
|
|
1392
|
-
if (hostRef.$onRenderResolve$) {
|
|
1393
|
-
hostRef.$onRenderResolve$();
|
|
1394
|
-
hostRef.$onRenderResolve$ = void 0;
|
|
1395
|
-
}
|
|
1396
|
-
if (hostRef.$flags$ & 512) {
|
|
1397
|
-
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1398
|
-
}
|
|
1399
|
-
hostRef.$flags$ &= ~(4 | 512);
|
|
1400
|
-
}
|
|
1401
|
-
};
|
|
1402
|
-
var appDidLoad = (who) => {
|
|
1403
|
-
if (BUILD.cssAnnotations) {
|
|
1404
|
-
addHydratedFlag(doc.documentElement);
|
|
1405
|
-
}
|
|
1406
|
-
if (BUILD.asyncQueue) {
|
|
1407
|
-
plt.$flags$ |= 2;
|
|
1408
|
-
}
|
|
1409
|
-
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1410
|
-
if (BUILD.profile && performance.measure) {
|
|
1411
|
-
performance.measure(`[Stencil] ${NAMESPACE} initial load (by ${who})`, "st:app:start");
|
|
1412
|
-
}
|
|
1413
|
-
};
|
|
1414
|
-
var safeCall = (instance, method, arg) => {
|
|
1415
|
-
if (instance && instance[method]) {
|
|
1416
|
-
try {
|
|
1417
|
-
return instance[method](arg);
|
|
1418
|
-
} catch (e2) {
|
|
1419
|
-
consoleError(e2);
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
return void 0;
|
|
1423
|
-
};
|
|
1424
|
-
var then = (promise, thenFn) => {
|
|
1425
|
-
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1426
|
-
};
|
|
1427
|
-
var emitLifecycleEvent = (elm, lifecycleName) => {
|
|
1428
|
-
if (BUILD.lifecycleDOMEvents) {
|
|
1429
|
-
emitEvent(elm, "stencil_" + lifecycleName, {
|
|
1430
|
-
bubbles: true,
|
|
1431
|
-
composed: true,
|
|
1432
|
-
detail: {
|
|
1433
|
-
namespace: NAMESPACE
|
|
1434
|
-
}
|
|
1435
|
-
});
|
|
1436
|
-
}
|
|
1437
|
-
};
|
|
1438
|
-
var addHydratedFlag = (elm) => BUILD.hydratedClass ? elm.classList.add("hydrated") : BUILD.hydratedAttribute ? elm.setAttribute("hydrated", "") : void 0;
|
|
1439
|
-
var serverSideConnected = (elm) => {
|
|
1440
|
-
const children = elm.children;
|
|
1441
|
-
if (children != null) {
|
|
1442
|
-
for (let i2 = 0, ii = children.length; i2 < ii; i2++) {
|
|
1443
|
-
const childElm = children[i2];
|
|
1444
|
-
if (typeof childElm.connectedCallback === "function") {
|
|
1445
|
-
childElm.connectedCallback();
|
|
1446
|
-
}
|
|
1447
|
-
serverSideConnected(childElm);
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
};
|
|
1451
|
-
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1452
|
-
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1453
|
-
const hostRef = getHostRef(ref);
|
|
1454
|
-
const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
1455
|
-
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
1456
|
-
const flags = hostRef.$flags$;
|
|
1457
|
-
const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
1458
|
-
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1459
|
-
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1460
|
-
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1461
|
-
if ((!BUILD.lazyLoad || !(flags & 8) || oldVal === void 0) && didValueChange) {
|
|
1462
|
-
hostRef.$instanceValues$.set(propName, newVal);
|
|
1463
|
-
if (BUILD.isDev) {
|
|
1464
|
-
if (hostRef.$flags$ & 1024) {
|
|
1465
|
-
consoleDevWarn(`The state/prop "${propName}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`, "\nElement", elm, "\nNew value", newVal, "\nOld value", oldVal);
|
|
1466
|
-
} else if (hostRef.$flags$ & 2048) {
|
|
1467
|
-
consoleDevWarn(`The state/prop "${propName}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`, "\nElement", elm, "\nNew value", newVal, "\nOld value", oldVal);
|
|
1468
|
-
}
|
|
1469
|
-
}
|
|
1470
|
-
if (!BUILD.lazyLoad || instance) {
|
|
1471
|
-
if (BUILD.watchCallback && cmpMeta.$watchers$ && flags & 128) {
|
|
1472
|
-
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1473
|
-
if (watchMethods) {
|
|
1474
|
-
watchMethods.map((watchMethodName) => {
|
|
1475
|
-
try {
|
|
1476
|
-
instance[watchMethodName](newVal, oldVal, propName);
|
|
1477
|
-
} catch (e2) {
|
|
1478
|
-
consoleError(e2, elm);
|
|
1479
|
-
}
|
|
1480
|
-
});
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
if (BUILD.updatable && (flags & (2 | 16)) === 2) {
|
|
1484
|
-
if (BUILD.cmpShouldUpdate && instance.componentShouldUpdate) {
|
|
1485
|
-
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1486
|
-
return;
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
scheduleUpdate(hostRef, false);
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
};
|
|
1494
|
-
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1495
|
-
if (BUILD.member && cmpMeta.$members$) {
|
|
1496
|
-
if (BUILD.watchCallback && Cstr.watchers) {
|
|
1497
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1498
|
-
}
|
|
1499
|
-
const members = Object.entries(cmpMeta.$members$);
|
|
1500
|
-
const prototype = Cstr.prototype;
|
|
1501
|
-
members.map(([memberName, [memberFlags]]) => {
|
|
1502
|
-
if ((BUILD.prop || BUILD.state) && (memberFlags & 31 || (!BUILD.lazyLoad || flags & 2) && memberFlags & 32)) {
|
|
1503
|
-
Object.defineProperty(prototype, memberName, {
|
|
1504
|
-
get() {
|
|
1505
|
-
return getValue(this, memberName);
|
|
1506
|
-
},
|
|
1507
|
-
set(newValue) {
|
|
1508
|
-
if (BUILD.isDev) {
|
|
1509
|
-
const ref = getHostRef(this);
|
|
1510
|
-
if (
|
|
1511
|
-
// we are proxying the instance (not element)
|
|
1512
|
-
(flags & 1) === 0 && // the element is not constructing
|
|
1513
|
-
(ref.$flags$ & 8) === 0 && // the member is a prop
|
|
1514
|
-
(memberFlags & 31) !== 0 && // the member is not mutable
|
|
1515
|
-
(memberFlags & 1024) === 0
|
|
1516
|
-
) {
|
|
1517
|
-
consoleDevWarn(`@Prop() "${memberName}" on <${cmpMeta.$tagName$}> is immutable but was modified from within the component.
|
|
1518
|
-
More information: https://stenciljs.com/docs/properties#prop-mutability`);
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1522
|
-
},
|
|
1523
|
-
configurable: true,
|
|
1524
|
-
enumerable: true
|
|
1525
|
-
});
|
|
1526
|
-
} else if (BUILD.lazyLoad && BUILD.method && flags & 1 && memberFlags & 64) {
|
|
1527
|
-
Object.defineProperty(prototype, memberName, {
|
|
1528
|
-
value(...args) {
|
|
1529
|
-
const ref = getHostRef(this);
|
|
1530
|
-
return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
|
|
1531
|
-
}
|
|
1532
|
-
});
|
|
1533
|
-
}
|
|
1534
|
-
});
|
|
1535
|
-
if (BUILD.observeAttribute && (!BUILD.lazyLoad || flags & 1)) {
|
|
1536
|
-
const attrNameToPropName = /* @__PURE__ */ new Map();
|
|
1537
|
-
prototype.attributeChangedCallback = function(attrName, _oldValue, newValue) {
|
|
1538
|
-
plt.jmp(() => {
|
|
1539
|
-
const propName = attrNameToPropName.get(attrName);
|
|
1540
|
-
if (this.hasOwnProperty(propName)) {
|
|
1541
|
-
newValue = this[propName];
|
|
1542
|
-
delete this[propName];
|
|
1543
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
1544
|
-
return;
|
|
1545
|
-
}
|
|
1546
|
-
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1547
|
-
});
|
|
1548
|
-
};
|
|
1549
|
-
Cstr.observedAttributes = members.filter(
|
|
1550
|
-
([_, m]) => m[0] & 15
|
|
1551
|
-
/* MEMBER_FLAGS.HasAttribute */
|
|
1552
|
-
).map(([propName, m]) => {
|
|
1553
|
-
const attrName = m[1] || propName;
|
|
1554
|
-
attrNameToPropName.set(attrName, propName);
|
|
1555
|
-
if (BUILD.reflect && m[0] & 512) {
|
|
1556
|
-
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1557
|
-
}
|
|
1558
|
-
return attrName;
|
|
1559
|
-
});
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
return Cstr;
|
|
1563
|
-
};
|
|
1564
|
-
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1565
|
-
if ((BUILD.lazyLoad || BUILD.hydrateServerSide || BUILD.style) && (hostRef.$flags$ & 32) === 0) {
|
|
1566
|
-
if (BUILD.lazyLoad || BUILD.hydrateClientSide) {
|
|
1567
|
-
hostRef.$flags$ |= 32;
|
|
1568
|
-
Cstr = loadModule(cmpMeta, hostRef, hmrVersionId);
|
|
1569
|
-
if (Cstr.then) {
|
|
1570
|
-
const endLoad = uniqueTime(`st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`, `[Stencil] Load module for <${cmpMeta.$tagName$}>`);
|
|
1571
|
-
Cstr = await Cstr;
|
|
1572
|
-
endLoad();
|
|
1573
|
-
}
|
|
1574
|
-
if ((BUILD.isDev || BUILD.isDebug) && !Cstr) {
|
|
1575
|
-
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1576
|
-
}
|
|
1577
|
-
if (BUILD.member && !Cstr.isProxied) {
|
|
1578
|
-
if (BUILD.watchCallback) {
|
|
1579
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1580
|
-
}
|
|
1581
|
-
proxyComponent(
|
|
1582
|
-
Cstr,
|
|
1583
|
-
cmpMeta,
|
|
1584
|
-
2
|
|
1585
|
-
/* PROXY_FLAGS.proxyState */
|
|
1586
|
-
);
|
|
1587
|
-
Cstr.isProxied = true;
|
|
1588
|
-
}
|
|
1589
|
-
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
1590
|
-
if (BUILD.member) {
|
|
1591
|
-
hostRef.$flags$ |= 8;
|
|
1592
|
-
}
|
|
1593
|
-
try {
|
|
1594
|
-
new Cstr(hostRef);
|
|
1595
|
-
} catch (e2) {
|
|
1596
|
-
consoleError(e2);
|
|
1597
|
-
}
|
|
1598
|
-
if (BUILD.member) {
|
|
1599
|
-
hostRef.$flags$ &= ~8;
|
|
1600
|
-
}
|
|
1601
|
-
if (BUILD.watchCallback) {
|
|
1602
|
-
hostRef.$flags$ |= 128;
|
|
1603
|
-
}
|
|
1604
|
-
endNewInstance();
|
|
1605
|
-
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1606
|
-
} else {
|
|
1607
|
-
Cstr = elm.constructor;
|
|
1608
|
-
hostRef.$flags$ |= 32;
|
|
1609
|
-
customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128);
|
|
1610
|
-
}
|
|
1611
|
-
if (BUILD.style && Cstr.style) {
|
|
1612
|
-
let style = Cstr.style;
|
|
1613
|
-
if (BUILD.mode && typeof style !== "string") {
|
|
1614
|
-
style = style[hostRef.$modeName$ = computeMode(elm)];
|
|
1615
|
-
if (BUILD.hydrateServerSide && hostRef.$modeName$) {
|
|
1616
|
-
elm.setAttribute("s-mode", hostRef.$modeName$);
|
|
1617
|
-
}
|
|
1618
|
-
}
|
|
1619
|
-
const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);
|
|
1620
|
-
if (!styles.has(scopeId2)) {
|
|
1621
|
-
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1622
|
-
if (!BUILD.hydrateServerSide && BUILD.shadowDom && BUILD.shadowDomShim && cmpMeta.$flags$ & 8) {
|
|
1623
|
-
style = await import("./shadow-css.ERYUZVEM.js").then((m) => m.scopeCss(style, scopeId2, false));
|
|
1624
|
-
}
|
|
1625
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1));
|
|
1626
|
-
endRegisterStyles();
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1631
|
-
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1632
|
-
if (BUILD.asyncLoading && ancestorComponent && ancestorComponent["s-rc"]) {
|
|
1633
|
-
ancestorComponent["s-rc"].push(schedule);
|
|
1634
|
-
} else {
|
|
1635
|
-
schedule();
|
|
1636
|
-
}
|
|
1637
|
-
};
|
|
1638
|
-
var fireConnectedCallback = (instance) => {
|
|
1639
|
-
if (BUILD.lazyLoad && BUILD.connectedCallback) {
|
|
1640
|
-
safeCall(instance, "connectedCallback");
|
|
1641
|
-
}
|
|
1642
|
-
};
|
|
1643
|
-
var connectedCallback = (elm) => {
|
|
1644
|
-
if ((plt.$flags$ & 1) === 0) {
|
|
1645
|
-
const hostRef = getHostRef(elm);
|
|
1646
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1647
|
-
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
1648
|
-
if (BUILD.hostListenerTargetParent) {
|
|
1649
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);
|
|
1650
|
-
}
|
|
1651
|
-
if (!(hostRef.$flags$ & 1)) {
|
|
1652
|
-
hostRef.$flags$ |= 1;
|
|
1653
|
-
let hostId;
|
|
1654
|
-
if (BUILD.hydrateClientSide) {
|
|
1655
|
-
hostId = elm.getAttribute(HYDRATE_ID);
|
|
1656
|
-
if (hostId) {
|
|
1657
|
-
if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1) {
|
|
1658
|
-
const scopeId2 = BUILD.mode ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) : addStyle(elm.shadowRoot, cmpMeta);
|
|
1659
|
-
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
1660
|
-
}
|
|
1661
|
-
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1662
|
-
}
|
|
1663
|
-
}
|
|
1664
|
-
if (BUILD.slotRelocation && !hostId) {
|
|
1665
|
-
if (BUILD.hydrateServerSide || (BUILD.slot || BUILD.shadowDom) && cmpMeta.$flags$ & (4 | 8)) {
|
|
1666
|
-
setContentReference(elm);
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
if (BUILD.asyncLoading) {
|
|
1670
|
-
let ancestorComponent = elm;
|
|
1671
|
-
while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
|
|
1672
|
-
if (BUILD.hydrateClientSide && ancestorComponent.nodeType === 1 && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
|
|
1673
|
-
attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
|
|
1674
|
-
break;
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {
|
|
1679
|
-
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1680
|
-
if (memberFlags & 31 && elm.hasOwnProperty(memberName)) {
|
|
1681
|
-
const value = elm[memberName];
|
|
1682
|
-
delete elm[memberName];
|
|
1683
|
-
elm[memberName] = value;
|
|
1684
|
-
}
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
if (BUILD.initializeNextTick) {
|
|
1688
|
-
nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
|
|
1689
|
-
} else {
|
|
1690
|
-
initializeComponent(elm, hostRef, cmpMeta);
|
|
1691
|
-
}
|
|
1692
|
-
} else {
|
|
1693
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
|
|
1694
|
-
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1695
|
-
}
|
|
1696
|
-
endConnected();
|
|
1697
|
-
}
|
|
1698
|
-
};
|
|
1699
|
-
var setContentReference = (elm) => {
|
|
1700
|
-
const contentRefElm = elm["s-cr"] = doc.createComment(BUILD.isDebug ? `content-ref (host=${elm.localName})` : "");
|
|
1701
|
-
contentRefElm["s-cn"] = true;
|
|
1702
|
-
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1703
|
-
};
|
|
1704
|
-
var disconnectedCallback = (elm) => {
|
|
1705
|
-
if ((plt.$flags$ & 1) === 0) {
|
|
1706
|
-
const hostRef = getHostRef(elm);
|
|
1707
|
-
const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
1708
|
-
if (BUILD.hostListener) {
|
|
1709
|
-
if (hostRef.$rmListeners$) {
|
|
1710
|
-
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1711
|
-
hostRef.$rmListeners$ = void 0;
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
if (BUILD.cssVarShim && plt.$cssShim$) {
|
|
1715
|
-
plt.$cssShim$.removeHost(elm);
|
|
1716
|
-
}
|
|
1717
|
-
if (BUILD.lazyLoad && BUILD.disconnectedCallback) {
|
|
1718
|
-
safeCall(instance, "disconnectedCallback");
|
|
1719
|
-
}
|
|
1720
|
-
if (BUILD.cmpDidUnload) {
|
|
1721
|
-
safeCall(instance, "componentDidUnload");
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
};
|
|
1725
|
-
var proxyCustomElement = (Cstr, compactMeta) => {
|
|
1726
|
-
const cmpMeta = {
|
|
1727
|
-
$flags$: compactMeta[0],
|
|
1728
|
-
$tagName$: compactMeta[1]
|
|
1729
|
-
};
|
|
1730
|
-
if (BUILD.member) {
|
|
1731
|
-
cmpMeta.$members$ = compactMeta[2];
|
|
1732
|
-
}
|
|
1733
|
-
if (BUILD.hostListener) {
|
|
1734
|
-
cmpMeta.$listeners$ = compactMeta[3];
|
|
1735
|
-
}
|
|
1736
|
-
if (BUILD.watchCallback) {
|
|
1737
|
-
cmpMeta.$watchers$ = Cstr.$watchers$;
|
|
1738
|
-
}
|
|
1739
|
-
if (BUILD.reflect) {
|
|
1740
|
-
cmpMeta.$attrsToReflect$ = [];
|
|
1741
|
-
}
|
|
1742
|
-
if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1) {
|
|
1743
|
-
cmpMeta.$flags$ |= 8;
|
|
1744
|
-
}
|
|
1745
|
-
const originalConnectedCallback = Cstr.prototype.connectedCallback;
|
|
1746
|
-
const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
|
|
1747
|
-
Object.assign(Cstr.prototype, {
|
|
1748
|
-
__registerHost() {
|
|
1749
|
-
registerHost(this, cmpMeta);
|
|
1750
|
-
},
|
|
1751
|
-
connectedCallback() {
|
|
1752
|
-
connectedCallback(this);
|
|
1753
|
-
if (BUILD.connectedCallback && originalConnectedCallback) {
|
|
1754
|
-
originalConnectedCallback.call(this);
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
disconnectedCallback() {
|
|
1758
|
-
disconnectedCallback(this);
|
|
1759
|
-
if (BUILD.disconnectedCallback && originalDisconnectedCallback) {
|
|
1760
|
-
originalDisconnectedCallback.call(this);
|
|
1761
|
-
}
|
|
1762
|
-
},
|
|
1763
|
-
__attachShadow() {
|
|
1764
|
-
if (supportsShadow) {
|
|
1765
|
-
if (BUILD.shadowDelegatesFocus) {
|
|
1766
|
-
this.attachShadow({
|
|
1767
|
-
mode: "open",
|
|
1768
|
-
delegatesFocus: !!(cmpMeta.$flags$ & 16)
|
|
1769
|
-
});
|
|
1770
|
-
} else {
|
|
1771
|
-
this.attachShadow({ mode: "open" });
|
|
1772
|
-
}
|
|
1773
|
-
} else {
|
|
1774
|
-
this.shadowRoot = this;
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
|
-
});
|
|
1778
|
-
Cstr.is = cmpMeta.$tagName$;
|
|
1779
|
-
return proxyComponent(
|
|
1780
|
-
Cstr,
|
|
1781
|
-
cmpMeta,
|
|
1782
|
-
1 | 2
|
|
1783
|
-
/* PROXY_FLAGS.proxyState */
|
|
1784
|
-
);
|
|
1785
|
-
};
|
|
1786
|
-
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1787
|
-
if (BUILD.hostListener && listeners) {
|
|
1788
|
-
if (BUILD.hostListenerTargetParent) {
|
|
1789
|
-
if (attachParentListeners) {
|
|
1790
|
-
listeners = listeners.filter(
|
|
1791
|
-
([flags]) => flags & 32
|
|
1792
|
-
/* LISTENER_FLAGS.TargetParent */
|
|
1793
|
-
);
|
|
1794
|
-
} else {
|
|
1795
|
-
listeners = listeners.filter(([flags]) => !(flags & 32));
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
|
-
listeners.map(([flags, name, method]) => {
|
|
1799
|
-
const target = BUILD.hostListenerTarget ? getHostListenerTarget(elm, flags) : elm;
|
|
1800
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
1801
|
-
const opts = hostListenerOpts(flags);
|
|
1802
|
-
plt.ael(target, name, handler, opts);
|
|
1803
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1804
|
-
});
|
|
1805
|
-
}
|
|
1806
|
-
};
|
|
1807
|
-
var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1808
|
-
try {
|
|
1809
|
-
if (BUILD.lazyLoad) {
|
|
1810
|
-
if (hostRef.$flags$ & 256) {
|
|
1811
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
1812
|
-
} else {
|
|
1813
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1814
|
-
}
|
|
1815
|
-
} else {
|
|
1816
|
-
hostRef.$hostElement$[methodName](ev);
|
|
1817
|
-
}
|
|
1818
|
-
} catch (e2) {
|
|
1819
|
-
consoleError(e2);
|
|
1820
|
-
}
|
|
1821
|
-
};
|
|
1822
|
-
var getHostListenerTarget = (elm, flags) => {
|
|
1823
|
-
if (BUILD.hostListenerTargetDocument && flags & 4)
|
|
1824
|
-
return doc;
|
|
1825
|
-
if (BUILD.hostListenerTargetWindow && flags & 8)
|
|
1826
|
-
return win;
|
|
1827
|
-
if (BUILD.hostListenerTargetBody && flags & 16)
|
|
1828
|
-
return doc.body;
|
|
1829
|
-
if (BUILD.hostListenerTargetParent && flags & 32)
|
|
1830
|
-
return elm.parentElement;
|
|
1831
|
-
return elm;
|
|
1832
|
-
};
|
|
1833
|
-
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
1834
|
-
passive: (flags & 1) !== 0,
|
|
1835
|
-
capture: (flags & 2) !== 0
|
|
1836
|
-
} : (flags & 2) !== 0;
|
|
1837
|
-
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
1838
|
-
var getHostRef = (ref) => hostRefs.get(ref);
|
|
1839
|
-
var registerHost = (elm, cmpMeta) => {
|
|
1840
|
-
const hostRef = {
|
|
1841
|
-
$flags$: 0,
|
|
1842
|
-
$hostElement$: elm,
|
|
1843
|
-
$cmpMeta$: cmpMeta,
|
|
1844
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
1845
|
-
};
|
|
1846
|
-
if (BUILD.isDev) {
|
|
1847
|
-
hostRef.$renderCount$ = 0;
|
|
1848
|
-
}
|
|
1849
|
-
if (BUILD.method && BUILD.lazyLoad) {
|
|
1850
|
-
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
1851
|
-
}
|
|
1852
|
-
if (BUILD.asyncLoading) {
|
|
1853
|
-
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
1854
|
-
elm["s-p"] = [];
|
|
1855
|
-
elm["s-rc"] = [];
|
|
1856
|
-
}
|
|
1857
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
|
|
1858
|
-
return hostRefs.set(elm, hostRef);
|
|
1859
|
-
};
|
|
1860
|
-
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1861
|
-
var consoleError = (e2, el) => (customError || console.error)(e2, el);
|
|
1862
|
-
var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
|
|
1863
|
-
"%cstencil",
|
|
1864
|
-
"color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
|
|
1865
|
-
];
|
|
1866
|
-
var consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);
|
|
1867
|
-
var consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);
|
|
1868
|
-
var cmpModules = /* @__PURE__ */ new Map();
|
|
1869
|
-
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1870
|
-
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
1871
|
-
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1872
|
-
if (BUILD.isDev && typeof bundleId !== "string") {
|
|
1873
|
-
consoleDevError(`Trying to lazily load component <${cmpMeta.$tagName$}> with style mode "${hostRef.$modeName$}", but it does not exist.`);
|
|
1874
|
-
return void 0;
|
|
1875
|
-
}
|
|
1876
|
-
const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;
|
|
1877
|
-
if (module) {
|
|
1878
|
-
return module[exportName];
|
|
1879
|
-
}
|
|
1880
|
-
return /* @vite-ignore */ /* webpackInclude: /\.entry\.js$/ */ /* webpackExclude: /\.system\.entry\.js$/ */ /* webpackMode: "lazy" */ globImport_entry_js(`./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? "?s-hmr=" + hmrVersionId : ""}`).then((importedModule) => {
|
|
1881
|
-
if (!BUILD.hotModuleReplacement) {
|
|
1882
|
-
cmpModules.set(bundleId, importedModule);
|
|
1883
|
-
}
|
|
1884
|
-
return importedModule[exportName];
|
|
1885
|
-
}, consoleError);
|
|
1886
|
-
};
|
|
1887
|
-
var styles = /* @__PURE__ */ new Map();
|
|
1888
|
-
var modeResolutionChain = [];
|
|
1889
|
-
var win = typeof window !== "undefined" ? window : {};
|
|
1890
|
-
var CSS = BUILD.cssVarShim ? win.CSS : null;
|
|
1891
|
-
var doc = win.document || { head: {} };
|
|
1892
|
-
var H = win.HTMLElement || class {
|
|
1893
|
-
};
|
|
1894
|
-
var plt = {
|
|
1895
|
-
$flags$: 0,
|
|
1896
|
-
$resourcesUrl$: "",
|
|
1897
|
-
jmp: (h2) => h2(),
|
|
1898
|
-
raf: (h2) => requestAnimationFrame(h2),
|
|
1899
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1900
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1901
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
1902
|
-
};
|
|
1903
|
-
var supportsShadow = BUILD.shadowDomShim && BUILD.shadowDom ? /* @__PURE__ */ (() => (doc.head.attachShadow + "").indexOf("[native") > -1)() : true;
|
|
1904
|
-
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
1905
|
-
let supportsListenerOptions2 = false;
|
|
1906
|
-
try {
|
|
1907
|
-
doc.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
1908
|
-
get() {
|
|
1909
|
-
supportsListenerOptions2 = true;
|
|
1910
|
-
}
|
|
1911
|
-
}));
|
|
1912
|
-
} catch (e2) {
|
|
1913
|
-
}
|
|
1914
|
-
return supportsListenerOptions2;
|
|
1915
|
-
})();
|
|
1916
|
-
var promiseResolve2 = (v) => Promise.resolve(v);
|
|
1917
|
-
var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
|
|
1918
|
-
try {
|
|
1919
|
-
new CSSStyleSheet();
|
|
1920
|
-
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
1921
|
-
} catch (e2) {
|
|
1922
|
-
}
|
|
1923
|
-
return false;
|
|
1924
|
-
})() : false;
|
|
1925
|
-
var queueDomReads = [];
|
|
1926
|
-
var queueDomWrites = [];
|
|
1927
|
-
var queueDomWritesLow = [];
|
|
1928
|
-
var queueTask = (queue, write) => (cb) => {
|
|
1929
|
-
queue.push(cb);
|
|
1930
|
-
if (!queuePending) {
|
|
1931
|
-
queuePending = true;
|
|
1932
|
-
if (write && plt.$flags$ & 4) {
|
|
1933
|
-
nextTick(flush);
|
|
1934
|
-
} else {
|
|
1935
|
-
plt.raf(flush);
|
|
1936
|
-
}
|
|
1937
|
-
}
|
|
1938
|
-
};
|
|
1939
|
-
var consume = (queue) => {
|
|
1940
|
-
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
1941
|
-
try {
|
|
1942
|
-
queue[i2](performance.now());
|
|
1943
|
-
} catch (e2) {
|
|
1944
|
-
consoleError(e2);
|
|
1945
|
-
}
|
|
1946
|
-
}
|
|
1947
|
-
queue.length = 0;
|
|
1948
|
-
};
|
|
1949
|
-
var consumeTimeout = (queue, timeout) => {
|
|
1950
|
-
let i2 = 0;
|
|
1951
|
-
let ts = 0;
|
|
1952
|
-
while (i2 < queue.length && (ts = performance.now()) < timeout) {
|
|
1953
|
-
try {
|
|
1954
|
-
queue[i2++](ts);
|
|
1955
|
-
} catch (e2) {
|
|
1956
|
-
consoleError(e2);
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
if (i2 === queue.length) {
|
|
1960
|
-
queue.length = 0;
|
|
1961
|
-
} else if (i2 !== 0) {
|
|
1962
|
-
queue.splice(0, i2);
|
|
1963
|
-
}
|
|
1964
|
-
};
|
|
1965
|
-
var flush = () => {
|
|
1966
|
-
if (BUILD.asyncQueue) {
|
|
1967
|
-
queueCongestion++;
|
|
1968
|
-
}
|
|
1969
|
-
consume(queueDomReads);
|
|
1970
|
-
if (BUILD.asyncQueue) {
|
|
1971
|
-
const timeout = (plt.$flags$ & 6) === 2 ? performance.now() + 14 * Math.ceil(queueCongestion * (1 / 10)) : Infinity;
|
|
1972
|
-
consumeTimeout(queueDomWrites, timeout);
|
|
1973
|
-
consumeTimeout(queueDomWritesLow, timeout);
|
|
1974
|
-
if (queueDomWrites.length > 0) {
|
|
1975
|
-
queueDomWritesLow.push(...queueDomWrites);
|
|
1976
|
-
queueDomWrites.length = 0;
|
|
1977
|
-
}
|
|
1978
|
-
if (queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0) {
|
|
1979
|
-
plt.raf(flush);
|
|
1980
|
-
} else {
|
|
1981
|
-
queueCongestion = 0;
|
|
1982
|
-
}
|
|
1983
|
-
} else {
|
|
1984
|
-
consume(queueDomWrites);
|
|
1985
|
-
if (queuePending = queueDomReads.length > 0) {
|
|
1986
|
-
plt.raf(flush);
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
};
|
|
1990
|
-
var nextTick = (cb) => promiseResolve2().then(cb);
|
|
1991
|
-
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
1992
|
-
|
|
1993
|
-
// ../../node_modules/.pnpm/wc-datepicker@0.8.0/node_modules/wc-datepicker/dist/components/wc-datepicker.js
|
|
1994
|
-
function addDays(date, days) {
|
|
1995
|
-
const newDate = new Date(date);
|
|
1996
|
-
newDate.setDate(newDate.getDate() + days);
|
|
1997
|
-
return newDate;
|
|
1998
|
-
}
|
|
1999
|
-
function getDaysOfMonth(date, padded, firstDayOfWeek) {
|
|
2000
|
-
const days = [];
|
|
2001
|
-
const firstOfMonth = getFirstOfMonth(date);
|
|
2002
|
-
const firstDayMonth = firstOfMonth.getDay() === 0 ? 7 : firstOfMonth.getDay();
|
|
2003
|
-
const lastOfMonth = getLastOfMonth(date);
|
|
2004
|
-
const lastDayOfMonth = lastOfMonth.getDay() === 0 ? 7 : lastOfMonth.getDay();
|
|
2005
|
-
const lastDayOfWeek = firstDayOfWeek === 1 ? 7 : firstDayOfWeek - 1;
|
|
2006
|
-
const leftPaddingDays = [];
|
|
2007
|
-
const rightPaddingDays = [];
|
|
2008
|
-
if (padded) {
|
|
2009
|
-
const leftPadding = (7 - firstDayOfWeek + firstDayMonth) % 7;
|
|
2010
|
-
let leftPaddingAmount = leftPadding;
|
|
2011
|
-
let leftPaddingDay = getPreviousDay(firstOfMonth);
|
|
2012
|
-
while (leftPaddingAmount > 0) {
|
|
2013
|
-
leftPaddingDays.push(leftPaddingDay);
|
|
2014
|
-
leftPaddingDay = getPreviousDay(leftPaddingDay);
|
|
2015
|
-
leftPaddingAmount -= 1;
|
|
2016
|
-
}
|
|
2017
|
-
leftPaddingDays.reverse();
|
|
2018
|
-
const rightPadding = (7 - lastDayOfMonth + lastDayOfWeek) % 7;
|
|
2019
|
-
let rightPaddingAmount = rightPadding;
|
|
2020
|
-
let rightPaddingDay = getNextDay(lastOfMonth);
|
|
2021
|
-
while (rightPaddingAmount > 0) {
|
|
2022
|
-
rightPaddingDays.push(rightPaddingDay);
|
|
2023
|
-
rightPaddingDay = getNextDay(rightPaddingDay);
|
|
2024
|
-
rightPaddingAmount -= 1;
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
let currentDay = firstOfMonth;
|
|
2028
|
-
while (currentDay.getMonth() === date.getMonth()) {
|
|
2029
|
-
days.push(currentDay);
|
|
2030
|
-
currentDay = getNextDay(currentDay);
|
|
2031
|
-
}
|
|
2032
|
-
return [...leftPaddingDays, ...days, ...rightPaddingDays];
|
|
2033
|
-
}
|
|
2034
|
-
function getFirstOfMonth(date) {
|
|
2035
|
-
const firstOfMonth = removeTimezoneOffset(/* @__PURE__ */ new Date(`${String(getYear(date)).padStart(4, "0")}-${String(getMonth(date)).padStart(2, "0")}-01`));
|
|
2036
|
-
return firstOfMonth;
|
|
2037
|
-
}
|
|
2038
|
-
function getISODateString(date) {
|
|
2039
|
-
if (!(date instanceof Date)) {
|
|
2040
|
-
return;
|
|
2041
|
-
}
|
|
2042
|
-
return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
|
|
2043
|
-
}
|
|
2044
|
-
function getLastOfMonth(date) {
|
|
2045
|
-
const newDate = getFirstOfMonth(date);
|
|
2046
|
-
newDate.setMonth(newDate.getMonth() + 1);
|
|
2047
|
-
newDate.setDate(newDate.getDate() - 1);
|
|
2048
|
-
return newDate;
|
|
2049
|
-
}
|
|
2050
|
-
function getMonth(date) {
|
|
2051
|
-
return date.getMonth() + 1;
|
|
2052
|
-
}
|
|
2053
|
-
function getMonths(locale) {
|
|
2054
|
-
return new Array(12).fill(void 0).map((_, month) => {
|
|
2055
|
-
const date = removeTimezoneOffset(/* @__PURE__ */ new Date(`2006-${String(month + 1).padStart(2, "0")}-01`));
|
|
2056
|
-
return Intl.DateTimeFormat(locale, {
|
|
2057
|
-
month: "long"
|
|
2058
|
-
}).format(date);
|
|
2059
|
-
});
|
|
2060
|
-
}
|
|
2061
|
-
function getNextDay(date) {
|
|
2062
|
-
return addDays(date, 1);
|
|
2063
|
-
}
|
|
2064
|
-
function getNextMonth(date) {
|
|
2065
|
-
const newDate = new Date(date);
|
|
2066
|
-
newDate.setDate(1);
|
|
2067
|
-
newDate.setMonth(newDate.getMonth() + 1);
|
|
2068
|
-
return newDate;
|
|
2069
|
-
}
|
|
2070
|
-
function getNextYear(date) {
|
|
2071
|
-
const newDate = new Date(date);
|
|
2072
|
-
newDate.setFullYear(newDate.getFullYear() + 1);
|
|
2073
|
-
return newDate;
|
|
2074
|
-
}
|
|
2075
|
-
function getPreviousDay(date) {
|
|
2076
|
-
return subDays(date, 1);
|
|
2077
|
-
}
|
|
2078
|
-
function getPreviousMonth(date) {
|
|
2079
|
-
const newDate = new Date(date);
|
|
2080
|
-
newDate.setDate(1);
|
|
2081
|
-
newDate.setMonth(newDate.getMonth() - 1);
|
|
2082
|
-
return newDate;
|
|
2083
|
-
}
|
|
2084
|
-
function getPreviousYear(date) {
|
|
2085
|
-
const newDate = new Date(date);
|
|
2086
|
-
newDate.setFullYear(newDate.getFullYear() - 1);
|
|
2087
|
-
return newDate;
|
|
2088
|
-
}
|
|
2089
|
-
function getWeekDays(firstDayOfWeek, locale) {
|
|
2090
|
-
return new Array(7).fill(void 0).map((_, index) => (firstDayOfWeek + index) % 7 + 1).map((day) => {
|
|
2091
|
-
const date = removeTimezoneOffset(/* @__PURE__ */ new Date(`2006-01-0${day}`));
|
|
2092
|
-
return [
|
|
2093
|
-
Intl.DateTimeFormat(locale, {
|
|
2094
|
-
weekday: "short"
|
|
2095
|
-
}).format(date),
|
|
2096
|
-
Intl.DateTimeFormat(locale, {
|
|
2097
|
-
weekday: "long"
|
|
2098
|
-
}).format(date)
|
|
2099
|
-
];
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
|
-
function getYear(date) {
|
|
2103
|
-
return date.getFullYear();
|
|
2104
|
-
}
|
|
2105
|
-
function isDateInRange(date, range) {
|
|
2106
|
-
if (!date || !range || !range.from || !range.to) {
|
|
2107
|
-
return false;
|
|
2108
|
-
}
|
|
2109
|
-
const earlyDate = range.from < range.to ? range.from : range.to;
|
|
2110
|
-
const laterDate = range.from < range.to ? range.to : range.from;
|
|
2111
|
-
return date >= earlyDate && date <= laterDate;
|
|
2112
|
-
}
|
|
2113
|
-
function isSameDay(date1, date2) {
|
|
2114
|
-
if (!date1 || !date2) {
|
|
2115
|
-
return false;
|
|
2116
|
-
}
|
|
2117
|
-
return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
|
|
2118
|
-
}
|
|
2119
|
-
function removeTimezoneOffset(date) {
|
|
2120
|
-
const newDate = new Date(date);
|
|
2121
|
-
newDate.setMinutes(newDate.getMinutes() + newDate.getTimezoneOffset());
|
|
2122
|
-
return newDate;
|
|
2123
|
-
}
|
|
2124
|
-
function subDays(date, days) {
|
|
2125
|
-
const newDate = new Date(date);
|
|
2126
|
-
newDate.setDate(newDate.getDate() - days);
|
|
2127
|
-
return newDate;
|
|
2128
|
-
}
|
|
2129
|
-
var wcDatepickerCss = ".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%)}";
|
|
2130
|
-
var defaultLabels = {
|
|
2131
|
-
clearButton: "Clear value",
|
|
2132
|
-
monthSelect: "Select month",
|
|
2133
|
-
nextMonthButton: "Next month",
|
|
2134
|
-
nextYearButton: "Next year",
|
|
2135
|
-
picker: "Choose date",
|
|
2136
|
-
previousMonthButton: "Previous month",
|
|
2137
|
-
previousYearButton: "Previous year",
|
|
2138
|
-
todayButton: "Show today",
|
|
2139
|
-
yearSelect: "Select year"
|
|
2140
|
-
};
|
|
2141
|
-
var WCDatepicker = /* @__PURE__ */ proxyCustomElement(class extends H {
|
|
2142
|
-
constructor() {
|
|
2143
|
-
super();
|
|
2144
|
-
this.__registerHost();
|
|
2145
|
-
this.selectDate = createEvent(this, "selectDate", 7);
|
|
2146
|
-
this.changeMonth = createEvent(this, "changeMonth", 7);
|
|
2147
|
-
this.disabled = false;
|
|
2148
|
-
this.disableDate = () => false;
|
|
2149
|
-
this.elementClassName = "wc-datepicker";
|
|
2150
|
-
this.firstDayOfWeek = 0;
|
|
2151
|
-
this.labels = defaultLabels;
|
|
2152
|
-
this.locale = (navigator === null || navigator === void 0 ? void 0 : navigator.language) || "en-US";
|
|
2153
|
-
this.showClearButton = false;
|
|
2154
|
-
this.showMonthStepper = true;
|
|
2155
|
-
this.showTodayButton = false;
|
|
2156
|
-
this.showYearStepper = false;
|
|
2157
|
-
this.startDate = getISODateString(/* @__PURE__ */ new Date());
|
|
2158
|
-
this.maxSearchDays = 365;
|
|
2159
|
-
this.goToRangeStartOnSelect = true;
|
|
2160
|
-
this.init = () => {
|
|
2161
|
-
this.currentDate = this.startDate ? removeTimezoneOffset(new Date(this.startDate)) : /* @__PURE__ */ new Date();
|
|
2162
|
-
this.updateWeekdays();
|
|
2163
|
-
};
|
|
2164
|
-
this.getAvailableDate = (date, direction) => {
|
|
2165
|
-
let potentialDate;
|
|
2166
|
-
let outOfRange = false;
|
|
2167
|
-
switch (direction) {
|
|
2168
|
-
case "previousDay":
|
|
2169
|
-
potentialDate = getPreviousDay(date);
|
|
2170
|
-
break;
|
|
2171
|
-
case "nextDay":
|
|
2172
|
-
potentialDate = getNextDay(date);
|
|
2173
|
-
break;
|
|
2174
|
-
case "previousSameWeekDay":
|
|
2175
|
-
potentialDate = subDays(date, 7);
|
|
2176
|
-
break;
|
|
2177
|
-
case "nextSameWeekDay":
|
|
2178
|
-
potentialDate = addDays(date, 7);
|
|
2179
|
-
break;
|
|
2180
|
-
case "firstOfMonth":
|
|
2181
|
-
potentialDate = getFirstOfMonth(date);
|
|
2182
|
-
break;
|
|
2183
|
-
case "lastOfMonth":
|
|
2184
|
-
potentialDate = getLastOfMonth(date);
|
|
2185
|
-
break;
|
|
2186
|
-
case "previousMonth":
|
|
2187
|
-
potentialDate = getPreviousMonth(date);
|
|
2188
|
-
break;
|
|
2189
|
-
case "nextMonth":
|
|
2190
|
-
potentialDate = getNextMonth(date);
|
|
2191
|
-
break;
|
|
2192
|
-
case "previousYear":
|
|
2193
|
-
potentialDate = getPreviousYear(date);
|
|
2194
|
-
break;
|
|
2195
|
-
case "nextYear":
|
|
2196
|
-
potentialDate = getNextYear(date);
|
|
2197
|
-
break;
|
|
2198
|
-
}
|
|
2199
|
-
while (this.disableDate(potentialDate) && !outOfRange) {
|
|
2200
|
-
switch (direction) {
|
|
2201
|
-
case "previousDay":
|
|
2202
|
-
case "lastOfMonth":
|
|
2203
|
-
potentialDate = getPreviousDay(potentialDate);
|
|
2204
|
-
break;
|
|
2205
|
-
case "nextDay":
|
|
2206
|
-
case "firstOfMonth":
|
|
2207
|
-
case "previousMonth":
|
|
2208
|
-
case "nextMonth":
|
|
2209
|
-
case "previousYear":
|
|
2210
|
-
case "nextYear":
|
|
2211
|
-
potentialDate = getNextDay(potentialDate);
|
|
2212
|
-
break;
|
|
2213
|
-
case "previousSameWeekDay":
|
|
2214
|
-
potentialDate = subDays(potentialDate, 7);
|
|
2215
|
-
break;
|
|
2216
|
-
case "nextSameWeekDay":
|
|
2217
|
-
potentialDate = addDays(potentialDate, 7);
|
|
2218
|
-
break;
|
|
2219
|
-
}
|
|
2220
|
-
switch (direction) {
|
|
2221
|
-
case "firstOfMonth":
|
|
2222
|
-
case "lastOfMonth":
|
|
2223
|
-
case "previousYear":
|
|
2224
|
-
case "nextYear":
|
|
2225
|
-
outOfRange = potentialDate.getMonth() !== date.getMonth();
|
|
2226
|
-
break;
|
|
2227
|
-
case "previousMonth":
|
|
2228
|
-
outOfRange = potentialDate.getMonth() !== date.getMonth() - 1;
|
|
2229
|
-
break;
|
|
2230
|
-
case "nextMonth":
|
|
2231
|
-
outOfRange = potentialDate.getMonth() !== date.getMonth() + 1;
|
|
2232
|
-
break;
|
|
2233
|
-
default:
|
|
2234
|
-
outOfRange = !isDateInRange(potentialDate, {
|
|
2235
|
-
from: subDays(date, this.maxSearchDays),
|
|
2236
|
-
to: addDays(date, this.maxSearchDays)
|
|
2237
|
-
});
|
|
2238
|
-
break;
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
if (outOfRange) {
|
|
2242
|
-
return date;
|
|
2243
|
-
}
|
|
2244
|
-
return potentialDate;
|
|
2245
|
-
};
|
|
2246
|
-
this.nextMonth = () => {
|
|
2247
|
-
this.updateCurrentDate(getNextMonth(this.currentDate));
|
|
2248
|
-
};
|
|
2249
|
-
this.nextYear = () => {
|
|
2250
|
-
this.updateCurrentDate(getNextYear(this.currentDate));
|
|
2251
|
-
};
|
|
2252
|
-
this.previousMonth = () => {
|
|
2253
|
-
this.updateCurrentDate(getPreviousMonth(this.currentDate));
|
|
2254
|
-
};
|
|
2255
|
-
this.previousYear = () => {
|
|
2256
|
-
this.updateCurrentDate(getPreviousYear(this.currentDate));
|
|
2257
|
-
};
|
|
2258
|
-
this.showToday = () => {
|
|
2259
|
-
this.updateCurrentDate(/* @__PURE__ */ new Date());
|
|
2260
|
-
};
|
|
2261
|
-
this.clear = () => {
|
|
2262
|
-
this.value = void 0;
|
|
2263
|
-
this.selectDate.emit(void 0);
|
|
2264
|
-
};
|
|
2265
|
-
this.onClick = (event) => {
|
|
2266
|
-
if (this.disabled) {
|
|
2267
|
-
return;
|
|
2268
|
-
}
|
|
2269
|
-
const target = event.target.closest("[data-date]");
|
|
2270
|
-
if (!Boolean(target)) {
|
|
2271
|
-
return;
|
|
2272
|
-
}
|
|
2273
|
-
const date = removeTimezoneOffset(new Date(target.dataset.date));
|
|
2274
|
-
this.updateCurrentDate(date);
|
|
2275
|
-
this.onSelectDate(date);
|
|
2276
|
-
};
|
|
2277
|
-
this.onMonthSelect = (event) => {
|
|
2278
|
-
const month = +event.target.value - 1;
|
|
2279
|
-
const date = new Date(this.currentDate);
|
|
2280
|
-
date.setMonth(month);
|
|
2281
|
-
this.updateCurrentDate(date);
|
|
2282
|
-
};
|
|
2283
|
-
this.onYearSelect = (event) => {
|
|
2284
|
-
let year = +event.target.value;
|
|
2285
|
-
const input = event.target;
|
|
2286
|
-
if (isNaN(year)) {
|
|
2287
|
-
year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
2288
|
-
input.value = String(year);
|
|
2289
|
-
} else if (year < 0) {
|
|
2290
|
-
year = 0;
|
|
2291
|
-
input.value = String(year);
|
|
2292
|
-
} else if (year > 9999) {
|
|
2293
|
-
year = 9999;
|
|
2294
|
-
input.value = String(year);
|
|
2295
|
-
}
|
|
2296
|
-
const date = new Date(this.currentDate);
|
|
2297
|
-
date.setFullYear(year);
|
|
2298
|
-
this.updateCurrentDate(date);
|
|
2299
|
-
};
|
|
2300
|
-
this.onKeyDown = (event) => {
|
|
2301
|
-
if (this.disabled) {
|
|
2302
|
-
return;
|
|
2303
|
-
}
|
|
2304
|
-
if (event.code === "ArrowLeft") {
|
|
2305
|
-
event.preventDefault();
|
|
2306
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousDay"), true);
|
|
2307
|
-
} else if (event.code === "ArrowRight") {
|
|
2308
|
-
event.preventDefault();
|
|
2309
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextDay"), true);
|
|
2310
|
-
} else if (event.code === "ArrowUp") {
|
|
2311
|
-
event.preventDefault();
|
|
2312
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousSameWeekDay"), true);
|
|
2313
|
-
} else if (event.code === "ArrowDown") {
|
|
2314
|
-
event.preventDefault();
|
|
2315
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextSameWeekDay"), true);
|
|
2316
|
-
} else if (event.code === "PageUp") {
|
|
2317
|
-
event.preventDefault();
|
|
2318
|
-
if (event.shiftKey) {
|
|
2319
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousYear"), true);
|
|
2320
|
-
} else {
|
|
2321
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "previousMonth"), true);
|
|
2322
|
-
}
|
|
2323
|
-
} else if (event.code === "PageDown") {
|
|
2324
|
-
event.preventDefault();
|
|
2325
|
-
if (event.shiftKey) {
|
|
2326
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextYear"), true);
|
|
2327
|
-
} else {
|
|
2328
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "nextMonth"), true);
|
|
2329
|
-
}
|
|
2330
|
-
} else if (event.code === "Home") {
|
|
2331
|
-
event.preventDefault();
|
|
2332
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "firstOfMonth"), true);
|
|
2333
|
-
} else if (event.code === "End") {
|
|
2334
|
-
event.preventDefault();
|
|
2335
|
-
this.updateCurrentDate(this.getAvailableDate(this.currentDate, "lastOfMonth"), true);
|
|
2336
|
-
} else if (event.code === "Space" || event.code === "Enter") {
|
|
2337
|
-
event.preventDefault();
|
|
2338
|
-
this.onSelectDate(this.currentDate);
|
|
2339
|
-
}
|
|
2340
|
-
};
|
|
2341
|
-
this.onMouseEnter = (event) => {
|
|
2342
|
-
if (this.disabled) {
|
|
2343
|
-
return;
|
|
2344
|
-
}
|
|
2345
|
-
const date = removeTimezoneOffset(new Date(event.target.closest("td").dataset.date));
|
|
2346
|
-
this.hoveredDate = date;
|
|
2347
|
-
};
|
|
2348
|
-
this.onMouseLeave = () => {
|
|
2349
|
-
this.hoveredDate = void 0;
|
|
2350
|
-
};
|
|
2351
|
-
}
|
|
2352
|
-
componentWillLoad() {
|
|
2353
|
-
this.init();
|
|
2354
|
-
}
|
|
2355
|
-
watchFirstDayOfWeek() {
|
|
2356
|
-
this.updateWeekdays();
|
|
2357
|
-
}
|
|
2358
|
-
watchLocale() {
|
|
2359
|
-
if (!Boolean(this.locale)) {
|
|
2360
|
-
this.locale = (navigator === null || navigator === void 0 ? void 0 : navigator.language) || "en-US";
|
|
2361
|
-
}
|
|
2362
|
-
this.updateWeekdays();
|
|
2363
|
-
}
|
|
2364
|
-
watchRange() {
|
|
2365
|
-
this.value = void 0;
|
|
2366
|
-
this.selectDate.emit(void 0);
|
|
2367
|
-
}
|
|
2368
|
-
watchStartDate() {
|
|
2369
|
-
this.currentDate = this.startDate ? removeTimezoneOffset(new Date(this.startDate)) : /* @__PURE__ */ new Date();
|
|
2370
|
-
}
|
|
2371
|
-
watchValue() {
|
|
2372
|
-
if (!Boolean(this.value)) {
|
|
2373
|
-
return;
|
|
2374
|
-
}
|
|
2375
|
-
if (Array.isArray(this.value)) {
|
|
2376
|
-
this.currentDate = this.value.length > 1 && !this.goToRangeStartOnSelect ? this.value[1] : this.value[0];
|
|
2377
|
-
} else if (this.value instanceof Date) {
|
|
2378
|
-
this.currentDate = this.value;
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
componentDidRender() {
|
|
2382
|
-
if (this.moveFocusAfterMonthChanged) {
|
|
2383
|
-
this.focusDate(this.currentDate);
|
|
2384
|
-
this.moveFocusAfterMonthChanged = false;
|
|
2385
|
-
}
|
|
2386
|
-
}
|
|
2387
|
-
updateWeekdays() {
|
|
2388
|
-
this.weekdays = getWeekDays(this.firstDayOfWeek === 0 ? 7 : this.firstDayOfWeek, this.locale);
|
|
2389
|
-
}
|
|
2390
|
-
getClassName(element) {
|
|
2391
|
-
return Boolean(element) ? `${this.elementClassName}__${element}` : this.elementClassName;
|
|
2392
|
-
}
|
|
2393
|
-
getCalendarRows() {
|
|
2394
|
-
const daysOfMonth = getDaysOfMonth(this.currentDate, true, this.firstDayOfWeek === 0 ? 7 : this.firstDayOfWeek);
|
|
2395
|
-
const calendarRows = [];
|
|
2396
|
-
for (let i2 = 0; i2 < daysOfMonth.length; i2 += 7) {
|
|
2397
|
-
const row = daysOfMonth.slice(i2, i2 + 7);
|
|
2398
|
-
calendarRows.push(row);
|
|
2399
|
-
}
|
|
2400
|
-
return calendarRows;
|
|
2401
|
-
}
|
|
2402
|
-
getTitle() {
|
|
2403
|
-
if (!Boolean(this.value)) {
|
|
2404
|
-
return;
|
|
2405
|
-
}
|
|
2406
|
-
if (this.isRangeValue(this.value)) {
|
|
2407
|
-
const startDate = Intl.DateTimeFormat(this.locale, {
|
|
2408
|
-
day: "numeric",
|
|
2409
|
-
month: "long",
|
|
2410
|
-
year: "numeric"
|
|
2411
|
-
}).format(this.value[0]);
|
|
2412
|
-
const endDate = this.value[1] ? Intl.DateTimeFormat(this.locale, {
|
|
2413
|
-
day: "numeric",
|
|
2414
|
-
month: "long",
|
|
2415
|
-
year: "numeric"
|
|
2416
|
-
}).format(this.value[1]) : void 0;
|
|
2417
|
-
if (Boolean(endDate)) {
|
|
2418
|
-
return `${startDate} - ${endDate}`;
|
|
2419
|
-
} else {
|
|
2420
|
-
return startDate;
|
|
2421
|
-
}
|
|
2422
|
-
} else {
|
|
2423
|
-
return Intl.DateTimeFormat(this.locale, {
|
|
2424
|
-
day: "numeric",
|
|
2425
|
-
month: "long",
|
|
2426
|
-
year: "numeric"
|
|
2427
|
-
}).format(this.value);
|
|
2428
|
-
}
|
|
2429
|
-
}
|
|
2430
|
-
focusDate(date) {
|
|
2431
|
-
var _a;
|
|
2432
|
-
(_a = this.el.querySelector(`[data-date="${getISODateString(date)}"]`)) === null || _a === void 0 ? void 0 : _a.focus();
|
|
2433
|
-
}
|
|
2434
|
-
updateCurrentDate(date, moveFocus) {
|
|
2435
|
-
const month = date.getMonth();
|
|
2436
|
-
const year = date.getFullYear();
|
|
2437
|
-
if (year > 9999 || year < 0) {
|
|
2438
|
-
return;
|
|
2439
|
-
}
|
|
2440
|
-
const monthChanged = month !== this.currentDate.getMonth() || year !== this.currentDate.getFullYear();
|
|
2441
|
-
if (monthChanged) {
|
|
2442
|
-
this.changeMonth.emit({ month: getMonth(date), year: getYear(date) });
|
|
2443
|
-
if (moveFocus) {
|
|
2444
|
-
this.moveFocusAfterMonthChanged = true;
|
|
2445
|
-
}
|
|
2446
|
-
}
|
|
2447
|
-
this.currentDate = date;
|
|
2448
|
-
if (moveFocus) {
|
|
2449
|
-
this.focusDate(this.currentDate);
|
|
2450
|
-
}
|
|
2451
|
-
}
|
|
2452
|
-
onSelectDate(date) {
|
|
2453
|
-
var _a, _b;
|
|
2454
|
-
if (this.disableDate(date)) {
|
|
2455
|
-
return;
|
|
2456
|
-
}
|
|
2457
|
-
if (this.isRangeValue(this.value)) {
|
|
2458
|
-
const newValue = ((_a = this.value) === null || _a === void 0 ? void 0 : _a[0]) === void 0 || this.value.length === 2 ? [date] : [this.value[0], date];
|
|
2459
|
-
if (newValue.length === 2 && newValue[0] > newValue[1]) {
|
|
2460
|
-
newValue.reverse();
|
|
2461
|
-
}
|
|
2462
|
-
const isoValue = newValue[1] === void 0 ? [getISODateString(newValue[0])] : [getISODateString(newValue[0]), getISODateString(newValue[1])];
|
|
2463
|
-
this.value = newValue;
|
|
2464
|
-
this.selectDate.emit(isoValue);
|
|
2465
|
-
} else {
|
|
2466
|
-
if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.getTime()) === date.getTime()) {
|
|
2467
|
-
return;
|
|
2468
|
-
}
|
|
2469
|
-
this.value = date;
|
|
2470
|
-
this.selectDate.emit(getISODateString(date));
|
|
2471
|
-
}
|
|
2472
|
-
}
|
|
2473
|
-
// @ts-ignore
|
|
2474
|
-
isRangeValue(value) {
|
|
2475
|
-
return this.range;
|
|
2476
|
-
}
|
|
2477
|
-
render() {
|
|
2478
|
-
const showFooter = this.showTodayButton || this.showClearButton;
|
|
2479
|
-
return h(Host, null, h("div", { "aria-disabled": String(this.disabled), "aria-label": this.labels.picker, class: {
|
|
2480
|
-
[this.getClassName()]: true,
|
|
2481
|
-
[`${this.getClassName()}--disabled`]: this.disabled
|
|
2482
|
-
}, role: "group" }, h("div", { class: this.getClassName("header") }, h("span", { "aria-atomic": "true", "aria-live": "polite", class: "visually-hidden" }, this.getTitle()), this.showYearStepper && h("button", { "aria-label": this.labels.previousYearButton, class: this.getClassName("previous-year-button"), disabled: this.disabled, innerHTML: this.previousYearButtonContent || void 0, onClick: this.previousYear, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "11 17 6 12 11 7" }), h("polyline", { points: "18 17 13 12 18 7" }))), this.showMonthStepper && h("button", { "aria-label": this.labels.previousMonthButton, class: this.getClassName("previous-month-button"), disabled: this.disabled, innerHTML: this.previousMonthButtonContent || void 0, onClick: this.previousMonth, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "15 18 9 12 15 6" }))), h("span", { class: this.getClassName("current-month") }, h("select", { title: this.labels.monthSelect, "aria-label": this.labels.monthSelect, class: this.getClassName("month-select"), disabled: this.disabled, name: "month", onChange: this.onMonthSelect }, getMonths(this.locale).map((month, index) => h("option", { key: month, selected: this.currentDate.getMonth() === index, value: index + 1 }, month))), h("input", { title: this.labels.yearSelect, "aria-label": this.labels.yearSelect, class: this.getClassName("year-select"), disabled: this.disabled, max: 9999, maxLength: 4, min: 1, name: "year", onChange: this.onYearSelect, type: "number", value: this.currentDate.getFullYear() })), this.showMonthStepper && h("button", { "aria-label": this.labels.nextMonthButton, class: this.getClassName("next-month-button"), disabled: this.disabled, innerHTML: this.nextMonthButtonContent || void 0, onClick: this.nextMonth, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "9 18 15 12 9 6" }))), this.showYearStepper && h("button", { "aria-label": this.labels.nextYearButton, class: this.getClassName("next-year-button"), disabled: this.disabled, innerHTML: this.nextYearButtonContent || void 0, onClick: this.nextYear, type: "button" }, h("svg", { fill: "none", height: "24", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", stroke: "currentColor", viewBox: "0 0 24 24", width: "24" }, h("polyline", { points: "13 17 18 12 13 7" }), h("polyline", { points: "6 17 11 12 6 7" })))), h("div", { class: this.getClassName("body") }, h("table", { class: this.getClassName("calendar"), onKeyDown: this.onKeyDown, role: "grid" }, h("thead", { class: this.getClassName("calendar-header") }, h("tr", { class: this.getClassName("weekday-row") }, this.weekdays.map((weekday) => h("th", { "aria-label": weekday[1], abbr: weekday[1], class: this.getClassName("weekday"), key: weekday[0], scope: "col" }, h("span", null, weekday[0]))))), h("tbody", null, this.getCalendarRows().map((calendarRow) => {
|
|
2483
|
-
const rowKey = `row-${calendarRow[0].getMonth()}-${calendarRow[0].getDate()}`;
|
|
2484
|
-
return h("tr", { class: this.getClassName("calendar-row"), key: rowKey }, calendarRow.map((day) => {
|
|
2485
|
-
var _a, _b, _c, _d, _e;
|
|
2486
|
-
const isCurrent = isSameDay(day, this.currentDate);
|
|
2487
|
-
const isOverflowing = day.getMonth() !== this.currentDate.getMonth();
|
|
2488
|
-
const isSelected = Array.isArray(this.value) ? isSameDay(day, this.value[0]) || isSameDay(day, this.value[1]) : isSameDay(day, this.value);
|
|
2489
|
-
const isInRange = !this.isRangeValue ? false : isDateInRange(day, {
|
|
2490
|
-
from: (_a = this.value) === null || _a === void 0 ? void 0 : _a[0],
|
|
2491
|
-
to: ((_b = this.value) === null || _b === void 0 ? void 0 : _b[1]) || this.hoveredDate || this.currentDate
|
|
2492
|
-
});
|
|
2493
|
-
const orderedValues = Boolean((_c = this.value) === null || _c === void 0 ? void 0 : _c[0]) ? [
|
|
2494
|
-
(_d = this.value) === null || _d === void 0 ? void 0 : _d[0],
|
|
2495
|
-
((_e = this.value) === null || _e === void 0 ? void 0 : _e[1]) || this.hoveredDate
|
|
2496
|
-
].sort((a, b) => a - b) : [];
|
|
2497
|
-
const isStart = this.range && isSameDay(orderedValues[0], day);
|
|
2498
|
-
const isEnd = this.range && isSameDay(orderedValues[1], day);
|
|
2499
|
-
const isToday = isSameDay(day, /* @__PURE__ */ new Date());
|
|
2500
|
-
const isDisabled = this.disableDate(day);
|
|
2501
|
-
const cellKey = `cell-${day.getMonth()}-${day.getDate()}`;
|
|
2502
|
-
const className = {
|
|
2503
|
-
[this.getClassName("date")]: true,
|
|
2504
|
-
[this.getClassName("date--current")]: isCurrent,
|
|
2505
|
-
[this.getClassName("date--disabled")]: isDisabled,
|
|
2506
|
-
[this.getClassName("date--overflowing")]: isOverflowing,
|
|
2507
|
-
[this.getClassName("date--today")]: isToday,
|
|
2508
|
-
[this.getClassName("date--selected")]: isSelected,
|
|
2509
|
-
[this.getClassName("date--in-range")]: isInRange,
|
|
2510
|
-
[this.getClassName("date--start")]: isStart,
|
|
2511
|
-
[this.getClassName("date--end")]: isEnd
|
|
2512
|
-
};
|
|
2513
|
-
const Tag = isSelected ? "strong" : isToday ? "em" : "span";
|
|
2514
|
-
return h("td", { "aria-disabled": String(isDisabled), "aria-selected": isSelected ? "true" : void 0, "aria-current": isToday ? "date" : void 0, class: className, "data-date": getISODateString(day), key: cellKey, onClick: this.onClick, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, role: "gridcell", tabIndex: isSameDay(day, this.currentDate) && !isDisabled && !this.disabled ? 0 : -1 }, h(Tag, { "aria-hidden": "true" }, day.getDate()), h("span", { class: "visually-hidden" }, Intl.DateTimeFormat(this.locale, {
|
|
2515
|
-
day: "numeric",
|
|
2516
|
-
month: "long"
|
|
2517
|
-
}).format(day)));
|
|
2518
|
-
}));
|
|
2519
|
-
})))), showFooter && h("div", { class: this.getClassName("footer") }, this.showTodayButton && h("button", { class: this.getClassName("today-button"), disabled: this.disabled, innerHTML: this.todayButtonContent || void 0, onClick: this.showToday, type: "button" }, this.labels.todayButton), this.showClearButton && h("button", { class: this.getClassName("clear-button"), disabled: this.disabled, innerHTML: this.clearButtonContent || void 0, onClick: this.clear, type: "button" }, this.labels.clearButton))));
|
|
2520
|
-
}
|
|
2521
|
-
get el() {
|
|
2522
|
-
return this;
|
|
2523
|
-
}
|
|
2524
|
-
static get watchers() {
|
|
2525
|
-
return {
|
|
2526
|
-
"firstDayOfWeek": ["watchFirstDayOfWeek"],
|
|
2527
|
-
"locale": ["watchLocale"],
|
|
2528
|
-
"range": ["watchRange"],
|
|
2529
|
-
"startDate": ["watchStartDate"],
|
|
2530
|
-
"value": ["watchValue"]
|
|
2531
|
-
};
|
|
2532
|
-
}
|
|
2533
|
-
static get style() {
|
|
2534
|
-
return wcDatepickerCss;
|
|
2535
|
-
}
|
|
2536
|
-
}, [2, "wc-datepicker", {
|
|
2537
|
-
"clearButtonContent": [1, "clear-button-content"],
|
|
2538
|
-
"disabled": [4],
|
|
2539
|
-
"disableDate": [16],
|
|
2540
|
-
"elementClassName": [1, "element-class-name"],
|
|
2541
|
-
"firstDayOfWeek": [2, "first-day-of-week"],
|
|
2542
|
-
"range": [4],
|
|
2543
|
-
"labels": [16],
|
|
2544
|
-
"locale": [1],
|
|
2545
|
-
"nextMonthButtonContent": [1, "next-month-button-content"],
|
|
2546
|
-
"nextYearButtonContent": [1, "next-year-button-content"],
|
|
2547
|
-
"previousMonthButtonContent": [1, "previous-month-button-content"],
|
|
2548
|
-
"previousYearButtonContent": [1, "previous-year-button-content"],
|
|
2549
|
-
"showClearButton": [4, "show-clear-button"],
|
|
2550
|
-
"showMonthStepper": [4, "show-month-stepper"],
|
|
2551
|
-
"showTodayButton": [4, "show-today-button"],
|
|
2552
|
-
"showYearStepper": [4, "show-year-stepper"],
|
|
2553
|
-
"startDate": [1, "start-date"],
|
|
2554
|
-
"todayButtonContent": [1, "today-button-content"],
|
|
2555
|
-
"value": [1040],
|
|
2556
|
-
"maxSearchDays": [2, "max-search-days"],
|
|
2557
|
-
"goToRangeStartOnSelect": [4, "go-to-range-start-on-select"],
|
|
2558
|
-
"currentDate": [32],
|
|
2559
|
-
"hoveredDate": [32],
|
|
2560
|
-
"weekdays": [32]
|
|
2561
|
-
}]);
|
|
2562
|
-
var WcDatepicker = WCDatepicker;
|
|
2563
|
-
|
|
2564
|
-
// ../../node_modules/.pnpm/wc-datepicker@0.8.0/node_modules/wc-datepicker/dist/esm/loader.js
|
|
2565
|
-
var patchEsm = () => {
|
|
2566
|
-
return promiseResolve();
|
|
2567
|
-
};
|
|
2568
|
-
var defineCustomElements = (win2, options) => {
|
|
2569
|
-
if (typeof window === "undefined") return Promise.resolve();
|
|
2570
|
-
return patchEsm().then(() => {
|
|
2571
|
-
return bootstrapLazy([["wc-datepicker", [[2, "wc-datepicker", { "clearButtonContent": [1, "clear-button-content"], "disabled": [4], "disableDate": [16], "elementClassName": [1, "element-class-name"], "firstDayOfWeek": [2, "first-day-of-week"], "range": [4], "labels": [16], "locale": [1], "nextMonthButtonContent": [1, "next-month-button-content"], "nextYearButtonContent": [1, "next-year-button-content"], "previousMonthButtonContent": [1, "previous-month-button-content"], "previousYearButtonContent": [1, "previous-year-button-content"], "showClearButton": [4, "show-clear-button"], "showMonthStepper": [4, "show-month-stepper"], "showTodayButton": [4, "show-today-button"], "showYearStepper": [4, "show-year-stepper"], "startDate": [1, "start-date"], "todayButtonContent": [1, "today-button-content"], "value": [1040], "maxSearchDays": [2, "max-search-days"], "goToRangeStartOnSelect": [4, "go-to-range-start-on-select"], "currentDate": [32], "hoveredDate": [32], "weekdays": [32] }]]]], options);
|
|
2572
|
-
});
|
|
2573
|
-
};
|
|
2574
|
-
|
|
2575
|
-
// ../../node_modules/.pnpm/wc-datepicker@0.8.0/node_modules/wc-datepicker/dist/loader/index.js
|
|
2576
|
-
(function() {
|
|
2577
|
-
if ("undefined" !== typeof window && void 0 !== window.Reflect && void 0 !== window.customElements) {
|
|
2578
|
-
var a = HTMLElement;
|
|
2579
|
-
window.HTMLElement = function() {
|
|
2580
|
-
return Reflect.construct(a, [], this.constructor);
|
|
2581
|
-
};
|
|
2582
|
-
HTMLElement.prototype = a.prototype;
|
|
2583
|
-
HTMLElement.prototype.constructor = HTMLElement;
|
|
2584
|
-
Object.setPrototypeOf(HTMLElement, a);
|
|
2585
|
-
}
|
|
2586
|
-
})();
|
|
2587
|
-
|
|
2588
|
-
// src/internal/components/calendar/calendar.ts
|
|
2589
|
-
defineCustomElements();
|
|
2590
|
-
customElements.define("dsa-internal-calendar", WcDatepicker);
|
|
2591
|
-
|
|
2592
|
-
// src/components/calendar/calendar.ts
|
|
2593
|
-
var CALENDAR_MONDAY_INDEX = 1;
|
|
2594
|
-
var DSACalendar = class extends ShoelaceElement {
|
|
2595
|
-
constructor() {
|
|
2596
|
-
super(...arguments);
|
|
2597
|
-
this.localize = new LocalizeController(this);
|
|
2598
|
-
this.value = "";
|
|
2599
|
-
this.startDate = getISOFormattedDate(/* @__PURE__ */ new Date());
|
|
2600
|
-
this.range = false;
|
|
2601
|
-
}
|
|
2602
|
-
firstUpdated() {
|
|
2603
|
-
if (this.disableDate !== void 0) {
|
|
2604
|
-
this.calendar.disableDate = this.disableDate;
|
|
2605
|
-
}
|
|
2606
|
-
this.updateCalendarValue();
|
|
2607
|
-
}
|
|
2608
|
-
updateCalendarValue() {
|
|
2609
|
-
const dates = this.parsedDateValue;
|
|
2610
|
-
this.calendar.value = dates.length > 1 ? dates : dates[0];
|
|
2611
|
-
}
|
|
2612
|
-
get parsedDateValue() {
|
|
2613
|
-
if (this.value === "") {
|
|
2614
|
-
return [];
|
|
2615
|
-
}
|
|
2616
|
-
return this.value.split(",").filter((dateString) => dateString !== "").map((dateString) => getDateFromISO(dateString));
|
|
2617
|
-
}
|
|
2618
|
-
handleDateSelection(event) {
|
|
2619
|
-
const { detail } = event;
|
|
2620
|
-
if (detail === void 0) {
|
|
2621
|
-
return;
|
|
2622
|
-
}
|
|
2623
|
-
const dates = Array.isArray(detail) ? detail.map((dateString) => getDateFromISO(dateString)) : [getDateFromISO(detail)];
|
|
2624
|
-
this.emit("dsa-date-selected", { detail: { dates } });
|
|
2625
|
-
}
|
|
2626
|
-
handleMonthSelection(event) {
|
|
2627
|
-
const { month, year } = event.detail;
|
|
2628
|
-
this.emit("dsa-month-year-selected", { detail: { month, year } });
|
|
2629
|
-
}
|
|
2630
|
-
getLabels() {
|
|
2631
|
-
return {
|
|
2632
|
-
clearButton: this.localize.term("clearButton"),
|
|
2633
|
-
monthSelect: this.localize.term("monthSelect"),
|
|
2634
|
-
nextMonthButton: this.localize.term("nextMonthButton"),
|
|
2635
|
-
nextYearButton: this.localize.term("nextYearButton"),
|
|
2636
|
-
picker: this.localize.term(this.range ? "pickerRange" : "picker"),
|
|
2637
|
-
previousMonthButton: this.localize.term("previousMonthButton"),
|
|
2638
|
-
previousYearButton: this.localize.term("previousYearButton"),
|
|
2639
|
-
todayButton: this.localize.term("todayButton"),
|
|
2640
|
-
yearSelect: this.localize.term("yearSelect")
|
|
2641
|
-
};
|
|
2642
|
-
}
|
|
2643
|
-
handleDisableDateChange() {
|
|
2644
|
-
if (this.disableDate !== void 0) {
|
|
2645
|
-
this.calendar.disableDate = this.disableDate;
|
|
2646
|
-
}
|
|
2647
|
-
}
|
|
2648
|
-
handleValueChange() {
|
|
2649
|
-
if (this.value === "") {
|
|
2650
|
-
this.calendar.value = void 0;
|
|
2651
|
-
return;
|
|
2652
|
-
}
|
|
2653
|
-
this.updateCalendarValue();
|
|
2654
|
-
}
|
|
2655
|
-
render() {
|
|
2656
|
-
return x`
|
|
2657
|
-
<dsa-internal-calendar
|
|
2658
|
-
class="calendar"
|
|
2659
|
-
?range=${o(this.range)}
|
|
2660
|
-
@selectDate=${this.handleDateSelection}
|
|
2661
|
-
@changeMonth=${this.handleMonthSelection}
|
|
2662
|
-
start-date=${this.value === "" ? this.startDate : getISOFormattedDate(this.parsedDateValue[0])}
|
|
2663
|
-
locale=${this.localize.lang()}
|
|
2664
|
-
.labels=${this.getLabels()}
|
|
2665
|
-
first-day-of-week=${CALENDAR_MONDAY_INDEX}
|
|
2666
|
-
></dsa-internal-calendar>
|
|
2667
|
-
`;
|
|
2668
|
-
}
|
|
2669
|
-
};
|
|
2670
|
-
DSACalendar.styles = calendar_styles_default;
|
|
2671
|
-
__decorateClass([
|
|
2672
|
-
e(".calendar")
|
|
2673
|
-
], DSACalendar.prototype, "calendar", 2);
|
|
2674
|
-
__decorateClass([
|
|
2675
|
-
n()
|
|
2676
|
-
], DSACalendar.prototype, "value", 2);
|
|
2677
|
-
__decorateClass([
|
|
2678
|
-
n({ attribute: "start-date" })
|
|
2679
|
-
], DSACalendar.prototype, "startDate", 2);
|
|
2680
|
-
__decorateClass([
|
|
2681
|
-
n({ type: Boolean, reflect: true })
|
|
2682
|
-
], DSACalendar.prototype, "range", 2);
|
|
2683
|
-
__decorateClass([
|
|
2684
|
-
n({ type: Function, attribute: false })
|
|
2685
|
-
], DSACalendar.prototype, "disableDate", 2);
|
|
2686
|
-
__decorateClass([
|
|
2687
|
-
watch("disableDate", { waitUntilFirstUpdate: true })
|
|
2688
|
-
], DSACalendar.prototype, "handleDisableDateChange", 1);
|
|
2689
|
-
__decorateClass([
|
|
2690
|
-
watch("value", { waitUntilFirstUpdate: true })
|
|
2691
|
-
], DSACalendar.prototype, "handleValueChange", 1);
|
|
2692
|
-
DSACalendar = __decorateClass([
|
|
2693
|
-
t("dsa-calendar")
|
|
2694
|
-
], DSACalendar);
|
|
2695
|
-
|
|
2696
|
-
export {
|
|
2697
|
-
DSACalendar
|
|
2698
|
-
};
|
|
2699
|
-
/*! Bundled license information:
|
|
2700
|
-
|
|
2701
|
-
@stencil/core/internal/client/index.js:
|
|
2702
|
-
(*!__STENCIL_STATIC_IMPORT_SWITCH__*)
|
|
2703
|
-
*/
|