@tylertech/forge 2.0.0 → 2.1.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/README.md +30 -13
- package/dist/esm/accordion/index.js +39 -0
- package/dist/esm/accordion/index.js.map +7 -0
- package/dist/esm/app-bar/help-button/index.js +58 -0
- package/dist/esm/app-bar/help-button/index.js.map +7 -0
- package/dist/esm/app-bar/index.js +136 -0
- package/dist/esm/app-bar/index.js.map +7 -0
- package/dist/esm/app-bar/menu-button/index.js +41 -0
- package/dist/esm/app-bar/menu-button/index.js.map +7 -0
- package/dist/esm/app-bar/notification-button/index.js +46 -0
- package/dist/esm/app-bar/notification-button/index.js.map +7 -0
- package/dist/esm/app-bar/profile-button/index.js +51 -0
- package/dist/esm/app-bar/profile-button/index.js.map +7 -0
- package/dist/esm/app-bar/search/index.js +43 -0
- package/dist/esm/app-bar/search/index.js.map +7 -0
- package/dist/esm/autocomplete/index.js +77 -0
- package/dist/esm/autocomplete/index.js.map +7 -0
- package/dist/esm/avatar/index.js +33 -0
- package/dist/esm/avatar/index.js.map +7 -0
- package/dist/esm/backdrop/index.js +28 -0
- package/dist/esm/backdrop/index.js.map +7 -0
- package/dist/esm/badge/index.js +31 -0
- package/dist/esm/badge/index.js.map +7 -0
- package/dist/esm/banner/index.js +45 -0
- package/dist/esm/banner/index.js.map +7 -0
- package/dist/esm/bottom-sheet/index.js +45 -0
- package/dist/esm/bottom-sheet/index.js.map +7 -0
- package/dist/esm/busy-indicator/index.js +37 -0
- package/dist/esm/busy-indicator/index.js.map +7 -0
- package/dist/esm/button/index.js +29 -0
- package/dist/esm/button/index.js.map +7 -0
- package/dist/esm/button-toggle/button-toggle/index.js +33 -0
- package/dist/esm/button-toggle/button-toggle/index.js.map +7 -0
- package/dist/esm/button-toggle/button-toggle-group/index.js +32 -0
- package/dist/esm/button-toggle/button-toggle-group/index.js.map +7 -0
- package/dist/esm/button-toggle/index.js +46 -0
- package/dist/esm/button-toggle/index.js.map +7 -0
- package/dist/esm/calendar/calendar-dropdown/index.js +35 -0
- package/dist/esm/calendar/calendar-dropdown/index.js.map +7 -0
- package/dist/esm/calendar/calendar-menu/index.js +48 -0
- package/dist/esm/calendar/calendar-menu/index.js.map +7 -0
- package/dist/esm/calendar/core/index.js +13 -0
- package/dist/esm/calendar/core/index.js.map +7 -0
- package/dist/esm/calendar/index.js +199 -0
- package/dist/esm/calendar/index.js.map +7 -0
- package/dist/esm/card/index.js +22 -0
- package/dist/esm/card/index.js.map +7 -0
- package/dist/esm/checkbox/index.js +44 -0
- package/dist/esm/checkbox/index.js.map +7 -0
- package/dist/esm/chip-field/index.js +51 -0
- package/dist/esm/chip-field/index.js.map +7 -0
- package/dist/esm/chips/chip/index.js +42 -0
- package/dist/esm/chips/chip/index.js.map +7 -0
- package/dist/esm/chips/chip-set/index.js +42 -0
- package/dist/esm/chips/chip-set/index.js.map +7 -0
- package/dist/esm/chips/index.js +55 -0
- package/dist/esm/chips/index.js.map +7 -0
- package/dist/esm/chunks/chunk.2F6PST3N.js +476 -0
- package/dist/esm/chunks/chunk.2F6PST3N.js.map +7 -0
- package/dist/esm/chunks/chunk.2FXYTBYG.js +1450 -0
- package/dist/esm/chunks/chunk.2FXYTBYG.js.map +7 -0
- package/dist/esm/chunks/chunk.2LQMHAC7.js +187 -0
- package/dist/esm/chunks/chunk.2LQMHAC7.js.map +7 -0
- package/dist/esm/chunks/chunk.2LSEVYAC.js +342 -0
- package/dist/esm/chunks/chunk.2LSEVYAC.js.map +7 -0
- package/dist/esm/chunks/chunk.2NUAEZY7.js +221 -0
- package/dist/esm/chunks/chunk.2NUAEZY7.js.map +7 -0
- package/dist/esm/chunks/chunk.35U3UPDV.js +70 -0
- package/dist/esm/chunks/chunk.35U3UPDV.js.map +7 -0
- package/dist/esm/chunks/chunk.3KCCCXWS.js +344 -0
- package/dist/esm/chunks/chunk.3KCCCXWS.js.map +7 -0
- package/dist/esm/chunks/chunk.3NOZRZ7R.js +145 -0
- package/dist/esm/chunks/chunk.3NOZRZ7R.js.map +7 -0
- package/dist/esm/chunks/chunk.3ZKORL4I.js +212 -0
- package/dist/esm/chunks/chunk.3ZKORL4I.js.map +7 -0
- package/dist/esm/chunks/chunk.4BG22DGY.js +317 -0
- package/dist/esm/chunks/chunk.4BG22DGY.js.map +7 -0
- package/dist/esm/chunks/chunk.4HQ5VELO.js +793 -0
- package/dist/esm/chunks/chunk.4HQ5VELO.js.map +7 -0
- package/dist/esm/chunks/chunk.4JURZYE4.js +410 -0
- package/dist/esm/chunks/chunk.4JURZYE4.js.map +7 -0
- package/dist/esm/chunks/chunk.4UKSUUTX.js +296 -0
- package/dist/esm/chunks/chunk.4UKSUUTX.js.map +7 -0
- package/dist/esm/chunks/chunk.4V5O2CPU.js +417 -0
- package/dist/esm/chunks/chunk.4V5O2CPU.js.map +7 -0
- package/dist/esm/chunks/chunk.52F6VUCF.js +273 -0
- package/dist/esm/chunks/chunk.52F6VUCF.js.map +7 -0
- package/dist/esm/chunks/chunk.5EEEKOOK.js +552 -0
- package/dist/esm/chunks/chunk.5EEEKOOK.js.map +7 -0
- package/dist/esm/chunks/chunk.5NXVVSTU.js +243 -0
- package/dist/esm/chunks/chunk.5NXVVSTU.js.map +7 -0
- package/dist/esm/chunks/chunk.5VKAVHLM.js +610 -0
- package/dist/esm/chunks/chunk.5VKAVHLM.js.map +7 -0
- package/dist/esm/chunks/chunk.6KTLOA7V.js +6 -0
- package/dist/esm/chunks/chunk.6KTLOA7V.js.map +7 -0
- package/dist/esm/chunks/chunk.6V463G4I.js +105 -0
- package/dist/esm/chunks/chunk.6V463G4I.js.map +7 -0
- package/dist/esm/chunks/chunk.7FC5CPLE.js +603 -0
- package/dist/esm/chunks/chunk.7FC5CPLE.js.map +7 -0
- package/dist/esm/chunks/chunk.7G2S3DCM.js +458 -0
- package/dist/esm/chunks/chunk.7G2S3DCM.js.map +7 -0
- package/dist/esm/chunks/chunk.7I2XNJBL.js +593 -0
- package/dist/esm/chunks/chunk.7I2XNJBL.js.map +7 -0
- package/dist/esm/chunks/chunk.7KILTPJ6.js +72 -0
- package/dist/esm/chunks/chunk.7KILTPJ6.js.map +7 -0
- package/dist/esm/chunks/chunk.7XGNGXLR.js +648 -0
- package/dist/esm/chunks/chunk.7XGNGXLR.js.map +7 -0
- package/dist/esm/chunks/chunk.7Y4NHCJH.js +338 -0
- package/dist/esm/chunks/chunk.7Y4NHCJH.js.map +7 -0
- package/dist/esm/chunks/chunk.AHQ6QX3J.js +716 -0
- package/dist/esm/chunks/chunk.AHQ6QX3J.js.map +7 -0
- package/dist/esm/chunks/chunk.AYOZGYGO.js +21 -0
- package/dist/esm/chunks/chunk.AYOZGYGO.js.map +7 -0
- package/dist/esm/chunks/chunk.BKMWXPAS.js +439 -0
- package/dist/esm/chunks/chunk.BKMWXPAS.js.map +7 -0
- package/dist/esm/chunks/chunk.BOWCSPCH.js +2428 -0
- package/dist/esm/chunks/chunk.BOWCSPCH.js.map +7 -0
- package/dist/esm/chunks/chunk.BYN27JXZ.js +51 -0
- package/dist/esm/chunks/chunk.BYN27JXZ.js.map +7 -0
- package/dist/esm/chunks/chunk.BZPQIDQP.js +602 -0
- package/dist/esm/chunks/chunk.BZPQIDQP.js.map +7 -0
- package/dist/esm/chunks/chunk.C2MR3RDF.js +202 -0
- package/dist/esm/chunks/chunk.C2MR3RDF.js.map +7 -0
- package/dist/esm/chunks/chunk.C64YUJHS.js +55 -0
- package/dist/esm/chunks/chunk.C64YUJHS.js.map +7 -0
- package/dist/esm/chunks/chunk.CGHKW6S6.js +683 -0
- package/dist/esm/chunks/chunk.CGHKW6S6.js.map +7 -0
- package/dist/esm/chunks/chunk.CKS5A4YN.js +6 -0
- package/dist/esm/chunks/chunk.CKS5A4YN.js.map +7 -0
- package/dist/esm/chunks/chunk.COF6DD6T.js +293 -0
- package/dist/esm/chunks/chunk.COF6DD6T.js.map +7 -0
- package/dist/esm/chunks/chunk.D4XU5MZN.js +1203 -0
- package/dist/esm/chunks/chunk.D4XU5MZN.js.map +7 -0
- package/dist/esm/chunks/chunk.D5DMZ7ZG.js +350 -0
- package/dist/esm/chunks/chunk.D5DMZ7ZG.js.map +7 -0
- package/dist/esm/chunks/chunk.DB7ZQBES.js +244 -0
- package/dist/esm/chunks/chunk.DB7ZQBES.js.map +7 -0
- package/dist/esm/chunks/chunk.E4NCI7MS.js +6 -0
- package/dist/esm/chunks/chunk.E4NCI7MS.js.map +7 -0
- package/dist/esm/chunks/chunk.EA7XMXI5.js +200 -0
- package/dist/esm/chunks/chunk.EA7XMXI5.js.map +7 -0
- package/dist/esm/chunks/chunk.EARNUKJ2.js +401 -0
- package/dist/esm/chunks/chunk.EARNUKJ2.js.map +7 -0
- package/dist/esm/chunks/chunk.EKIW7VYG.js +419 -0
- package/dist/esm/chunks/chunk.EKIW7VYG.js.map +7 -0
- package/dist/esm/chunks/chunk.EL6B2ODN.js +52 -0
- package/dist/esm/chunks/chunk.EL6B2ODN.js.map +7 -0
- package/dist/esm/chunks/chunk.ETP6HSXO.js +513 -0
- package/dist/esm/chunks/chunk.ETP6HSXO.js.map +7 -0
- package/dist/esm/chunks/chunk.ETQIBLKP.js +978 -0
- package/dist/esm/chunks/chunk.ETQIBLKP.js.map +7 -0
- package/dist/esm/chunks/chunk.EWQENJ4W.js +505 -0
- package/dist/esm/chunks/chunk.EWQENJ4W.js.map +7 -0
- package/dist/esm/chunks/chunk.EY57VTRF.js +33 -0
- package/dist/esm/chunks/chunk.EY57VTRF.js.map +7 -0
- package/dist/esm/chunks/chunk.FBUQQD2T.js +732 -0
- package/dist/esm/chunks/chunk.FBUQQD2T.js.map +7 -0
- package/dist/esm/chunks/chunk.FMMPWQKC.js +439 -0
- package/dist/esm/chunks/chunk.FMMPWQKC.js.map +7 -0
- package/dist/esm/chunks/chunk.FWJ7SIFA.js +433 -0
- package/dist/esm/chunks/chunk.FWJ7SIFA.js.map +7 -0
- package/dist/esm/chunks/chunk.FZQCBRPK.js +6 -0
- package/dist/esm/chunks/chunk.FZQCBRPK.js.map +7 -0
- package/dist/esm/chunks/chunk.G6FY472A.js +658 -0
- package/dist/esm/chunks/chunk.G6FY472A.js.map +7 -0
- package/dist/esm/chunks/chunk.GS2AXUCN.js +150 -0
- package/dist/esm/chunks/chunk.GS2AXUCN.js.map +7 -0
- package/dist/esm/chunks/chunk.HHHMDDTU.js +297 -0
- package/dist/esm/chunks/chunk.HHHMDDTU.js.map +7 -0
- package/dist/esm/chunks/chunk.HZISALRH.js +20 -0
- package/dist/esm/chunks/chunk.HZISALRH.js.map +7 -0
- package/dist/esm/chunks/chunk.IBH5GL7A.js +258 -0
- package/dist/esm/chunks/chunk.IBH5GL7A.js.map +7 -0
- package/dist/esm/chunks/chunk.IWXT6VVJ.js +222 -0
- package/dist/esm/chunks/chunk.IWXT6VVJ.js.map +7 -0
- package/dist/esm/chunks/chunk.J6LOWXOG.js +654 -0
- package/dist/esm/chunks/chunk.J6LOWXOG.js.map +7 -0
- package/dist/esm/chunks/chunk.JICZQ2BO.js +168 -0
- package/dist/esm/chunks/chunk.JICZQ2BO.js.map +7 -0
- package/dist/esm/chunks/chunk.JKC5PU23.js +42 -0
- package/dist/esm/chunks/chunk.JKC5PU23.js.map +7 -0
- package/dist/esm/chunks/chunk.JQQOZMKQ.js +2994 -0
- package/dist/esm/chunks/chunk.JQQOZMKQ.js.map +7 -0
- package/dist/esm/chunks/chunk.JVQP6BJ3.js +1591 -0
- package/dist/esm/chunks/chunk.JVQP6BJ3.js.map +7 -0
- package/dist/esm/chunks/chunk.K2PCTUVN.js +139 -0
- package/dist/esm/chunks/chunk.K2PCTUVN.js.map +7 -0
- package/dist/esm/chunks/chunk.KCK3G74Y.js +634 -0
- package/dist/esm/chunks/chunk.KCK3G74Y.js.map +7 -0
- package/dist/esm/chunks/chunk.KI3IHPS2.js +801 -0
- package/dist/esm/chunks/chunk.KI3IHPS2.js.map +7 -0
- package/dist/esm/chunks/chunk.KRW2IAIU.js +445 -0
- package/dist/esm/chunks/chunk.KRW2IAIU.js.map +7 -0
- package/dist/esm/chunks/chunk.KZ2QNQK2.js +21 -0
- package/dist/esm/chunks/chunk.KZ2QNQK2.js.map +7 -0
- package/dist/esm/chunks/chunk.KZATVOA6.js +68 -0
- package/dist/esm/chunks/chunk.KZATVOA6.js.map +7 -0
- package/dist/esm/chunks/chunk.LCWRP2UI.js +59 -0
- package/dist/esm/chunks/chunk.LCWRP2UI.js.map +7 -0
- package/dist/esm/chunks/chunk.LM5TVNZY.js +71 -0
- package/dist/esm/chunks/chunk.LM5TVNZY.js.map +7 -0
- package/dist/esm/chunks/chunk.MAGJQ2PP.js +964 -0
- package/dist/esm/chunks/chunk.MAGJQ2PP.js.map +7 -0
- package/dist/esm/chunks/chunk.MEFT5FQC.js +158 -0
- package/dist/esm/chunks/chunk.MEFT5FQC.js.map +7 -0
- package/dist/esm/chunks/chunk.MHEJZJT3.js +6 -0
- package/dist/esm/chunks/chunk.MHEJZJT3.js.map +7 -0
- package/dist/esm/chunks/chunk.MMIZOYAS.js +147 -0
- package/dist/esm/chunks/chunk.MMIZOYAS.js.map +7 -0
- package/dist/esm/chunks/chunk.MNFGVNDI.js +6 -0
- package/dist/esm/chunks/chunk.MNFGVNDI.js.map +7 -0
- package/dist/esm/chunks/chunk.NQOD2XB3.js +840 -0
- package/dist/esm/chunks/chunk.NQOD2XB3.js.map +7 -0
- package/dist/esm/chunks/chunk.NRI7SWVX.js +1347 -0
- package/dist/esm/chunks/chunk.NRI7SWVX.js.map +7 -0
- package/dist/esm/chunks/chunk.NX5SKZLU.js +50 -0
- package/dist/esm/chunks/chunk.NX5SKZLU.js.map +7 -0
- package/dist/esm/chunks/chunk.O6UHX6FK.js +463 -0
- package/dist/esm/chunks/chunk.O6UHX6FK.js.map +7 -0
- package/dist/esm/chunks/chunk.OJI6ZRYW.js +561 -0
- package/dist/esm/chunks/chunk.OJI6ZRYW.js.map +7 -0
- package/dist/esm/chunks/chunk.OQRMHHPB.js +1335 -0
- package/dist/esm/chunks/chunk.OQRMHHPB.js.map +7 -0
- package/dist/esm/chunks/chunk.OYO6NUZY.js +52 -0
- package/dist/esm/chunks/chunk.OYO6NUZY.js.map +7 -0
- package/dist/esm/chunks/chunk.P43Z3YAS.js +507 -0
- package/dist/esm/chunks/chunk.P43Z3YAS.js.map +7 -0
- package/dist/esm/chunks/chunk.P7NOYP4O.js +73 -0
- package/dist/esm/chunks/chunk.P7NOYP4O.js.map +7 -0
- package/dist/esm/chunks/chunk.PBGL3BRX.js +27 -0
- package/dist/esm/chunks/chunk.PBGL3BRX.js.map +7 -0
- package/dist/esm/chunks/chunk.PCYIY5OY.js +461 -0
- package/dist/esm/chunks/chunk.PCYIY5OY.js.map +7 -0
- package/dist/esm/chunks/chunk.Q4YMHFRY.js +155 -0
- package/dist/esm/chunks/chunk.Q4YMHFRY.js.map +7 -0
- package/dist/esm/chunks/chunk.QD7EPCL6.js +144 -0
- package/dist/esm/chunks/chunk.QD7EPCL6.js.map +7 -0
- package/dist/esm/chunks/chunk.QQDDGRY6.js +6 -0
- package/dist/esm/chunks/chunk.QQDDGRY6.js.map +7 -0
- package/dist/esm/chunks/chunk.RNPIV3BY.js +540 -0
- package/dist/esm/chunks/chunk.RNPIV3BY.js.map +7 -0
- package/dist/esm/chunks/chunk.RR7HDQU6.js +236 -0
- package/dist/esm/chunks/chunk.RR7HDQU6.js.map +7 -0
- package/dist/esm/chunks/chunk.RV3E762Y.js +73 -0
- package/dist/esm/chunks/chunk.RV3E762Y.js.map +7 -0
- package/dist/esm/chunks/chunk.RWCC6E4O.js +52 -0
- package/dist/esm/chunks/chunk.RWCC6E4O.js.map +7 -0
- package/dist/esm/chunks/chunk.SJZ54RE3.js +56 -0
- package/dist/esm/chunks/chunk.SJZ54RE3.js.map +7 -0
- package/dist/esm/chunks/chunk.SKISCNSC.js +559 -0
- package/dist/esm/chunks/chunk.SKISCNSC.js.map +7 -0
- package/dist/esm/chunks/chunk.SKLCDWYQ.js +6 -0
- package/dist/esm/chunks/chunk.SKLCDWYQ.js.map +7 -0
- package/dist/esm/chunks/chunk.SNAZ6JSS.js +22 -0
- package/dist/esm/chunks/chunk.SNAZ6JSS.js.map +7 -0
- package/dist/esm/chunks/chunk.ST3R6JEE.js +73 -0
- package/dist/esm/chunks/chunk.ST3R6JEE.js.map +7 -0
- package/dist/esm/chunks/chunk.TLCGGWBO.js +6 -0
- package/dist/esm/chunks/chunk.TLCGGWBO.js.map +7 -0
- package/dist/esm/chunks/chunk.U35QQZVK.js +422 -0
- package/dist/esm/chunks/chunk.U35QQZVK.js.map +7 -0
- package/dist/esm/chunks/chunk.U6FJJGO3.js +6 -0
- package/dist/esm/chunks/chunk.U6FJJGO3.js.map +7 -0
- package/dist/esm/chunks/chunk.VAPJ75PS.js +21 -0
- package/dist/esm/chunks/chunk.VAPJ75PS.js.map +7 -0
- package/dist/esm/chunks/chunk.VHO7NUMI.js +37 -0
- package/dist/esm/chunks/chunk.VHO7NUMI.js.map +7 -0
- package/dist/esm/chunks/chunk.VK6LIH3B.js +13 -0
- package/dist/esm/chunks/chunk.VK6LIH3B.js.map +7 -0
- package/dist/esm/chunks/chunk.VTXXZ5KT.js +450 -0
- package/dist/esm/chunks/chunk.VTXXZ5KT.js.map +7 -0
- package/dist/esm/chunks/chunk.WAJDLUSQ.js +56 -0
- package/dist/esm/chunks/chunk.WAJDLUSQ.js.map +7 -0
- package/dist/esm/chunks/chunk.WF2MFLG4.js +6 -0
- package/dist/esm/chunks/chunk.WF2MFLG4.js.map +7 -0
- package/dist/esm/chunks/chunk.WINL2C7Q.js +6 -0
- package/dist/esm/chunks/chunk.WINL2C7Q.js.map +7 -0
- package/dist/esm/chunks/chunk.WIYLQTSX.js +3550 -0
- package/dist/esm/chunks/chunk.WIYLQTSX.js.map +7 -0
- package/dist/esm/chunks/chunk.WT4W2IFT.js +92 -0
- package/dist/esm/chunks/chunk.WT4W2IFT.js.map +7 -0
- package/dist/esm/chunks/chunk.WXFCZJJI.js +52 -0
- package/dist/esm/chunks/chunk.WXFCZJJI.js.map +7 -0
- package/dist/esm/chunks/chunk.XEF6G5NS.js +248 -0
- package/dist/esm/chunks/chunk.XEF6G5NS.js.map +7 -0
- package/dist/esm/chunks/chunk.XGMOOPIE.js +136 -0
- package/dist/esm/chunks/chunk.XGMOOPIE.js.map +7 -0
- package/dist/esm/chunks/chunk.XIDZXGD4.js +912 -0
- package/dist/esm/chunks/chunk.XIDZXGD4.js.map +7 -0
- package/dist/esm/chunks/chunk.XJVLHRVJ.js +59 -0
- package/dist/esm/chunks/chunk.XJVLHRVJ.js.map +7 -0
- package/dist/esm/chunks/chunk.XO3XVXWW.js +72 -0
- package/dist/esm/chunks/chunk.XO3XVXWW.js.map +7 -0
- package/dist/esm/chunks/chunk.XY3ZHN7Y.js +649 -0
- package/dist/esm/chunks/chunk.XY3ZHN7Y.js.map +7 -0
- package/dist/esm/chunks/chunk.Y2TDQIA4.js +307 -0
- package/dist/esm/chunks/chunk.Y2TDQIA4.js.map +7 -0
- package/dist/esm/chunks/chunk.YCW56AVX.js +176 -0
- package/dist/esm/chunks/chunk.YCW56AVX.js.map +7 -0
- package/dist/esm/chunks/chunk.YDPSV74L.js +742 -0
- package/dist/esm/chunks/chunk.YDPSV74L.js.map +7 -0
- package/dist/esm/chunks/chunk.YJ5X3WZ4.js +110 -0
- package/dist/esm/chunks/chunk.YJ5X3WZ4.js.map +7 -0
- package/dist/esm/chunks/chunk.ZABF5CI6.js +760 -0
- package/dist/esm/chunks/chunk.ZABF5CI6.js.map +7 -0
- package/dist/esm/chunks/chunk.ZG4NZM2P.js +173 -0
- package/dist/esm/chunks/chunk.ZG4NZM2P.js.map +7 -0
- package/dist/esm/chunks/chunk.ZUM5YLB2.js +291 -0
- package/dist/esm/chunks/chunk.ZUM5YLB2.js.map +7 -0
- package/dist/esm/circular-progress/index.js +28 -0
- package/dist/esm/circular-progress/index.js.map +7 -0
- package/dist/esm/color-picker/index.js +49 -0
- package/dist/esm/color-picker/index.js.map +7 -0
- package/dist/esm/core/base/index.js +21 -0
- package/dist/esm/core/base/index.js.map +7 -0
- package/dist/esm/core/delegates/index.js +20 -0
- package/dist/esm/core/delegates/index.js.map +7 -0
- package/dist/esm/core/index.js +83 -0
- package/dist/esm/core/index.js.map +7 -0
- package/dist/esm/core/mask/index.js +26 -0
- package/dist/esm/core/mask/index.js.map +7 -0
- package/dist/esm/core/utils/index.js +46 -0
- package/dist/esm/core/utils/index.js.map +7 -0
- package/dist/esm/date-picker/index.js +62 -0
- package/dist/esm/date-picker/index.js.map +7 -0
- package/dist/esm/date-range-picker/index.js +64 -0
- package/dist/esm/date-range-picker/index.js.map +7 -0
- package/dist/esm/dialog/index.js +44 -0
- package/dist/esm/dialog/index.js.map +7 -0
- package/dist/esm/divider/index.js +22 -0
- package/dist/esm/divider/index.js.map +7 -0
- package/dist/esm/drawer/base/index.js +25 -0
- package/dist/esm/drawer/base/index.js.map +7 -0
- package/dist/esm/drawer/drawer/index.js +25 -0
- package/dist/esm/drawer/drawer/index.js.map +7 -0
- package/dist/esm/drawer/index.js +56 -0
- package/dist/esm/drawer/index.js.map +7 -0
- package/dist/esm/drawer/mini-drawer/index.js +25 -0
- package/dist/esm/drawer/mini-drawer/index.js.map +7 -0
- package/dist/esm/drawer/modal-drawer/index.js +30 -0
- package/dist/esm/drawer/modal-drawer/index.js.map +7 -0
- package/dist/esm/expansion-panel/index.js +38 -0
- package/dist/esm/expansion-panel/index.js.map +7 -0
- package/dist/esm/file-picker/index.js +41 -0
- package/dist/esm/file-picker/index.js.map +7 -0
- package/dist/esm/floating-action-button/index.js +29 -0
- package/dist/esm/floating-action-button/index.js.map +7 -0
- package/dist/esm/floating-label/index.js +23 -0
- package/dist/esm/floating-label/index.js.map +7 -0
- package/dist/esm/icon/index.js +53 -0
- package/dist/esm/icon/index.js.map +7 -0
- package/dist/esm/icon-button/index.js +37 -0
- package/dist/esm/icon-button/index.js.map +7 -0
- package/dist/esm/index.js +1275 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/inline-message/index.js +22 -0
- package/dist/esm/inline-message/index.js.map +7 -0
- package/dist/esm/keyboard-shortcut/index.js +41 -0
- package/dist/esm/keyboard-shortcut/index.js.map +7 -0
- package/dist/esm/label-value/index.js +32 -0
- package/dist/esm/label-value/index.js.map +7 -0
- package/dist/esm/linear-progress/index.js +24 -0
- package/dist/esm/linear-progress/index.js.map +7 -0
- package/dist/esm/list/index.js +44 -0
- package/dist/esm/list/index.js.map +7 -0
- package/dist/esm/list/list/index.js +33 -0
- package/dist/esm/list/list/index.js.map +7 -0
- package/dist/esm/list/list-item/index.js +31 -0
- package/dist/esm/list/list-item/index.js.map +7 -0
- package/dist/esm/list-dropdown/index.js +55 -0
- package/dist/esm/list-dropdown/index.js.map +7 -0
- package/dist/esm/menu/index.js +53 -0
- package/dist/esm/menu/index.js.map +7 -0
- package/dist/esm/open-icon/index.js +37 -0
- package/dist/esm/open-icon/index.js.map +7 -0
- package/dist/esm/page-state/index.js +22 -0
- package/dist/esm/page-state/index.js.map +7 -0
- package/dist/esm/paginator/index.js +66 -0
- package/dist/esm/paginator/index.js.map +7 -0
- package/dist/esm/popup/index.js +31 -0
- package/dist/esm/popup/index.js.map +7 -0
- package/dist/esm/product-icon/index.js +29 -0
- package/dist/esm/product-icon/index.js.map +7 -0
- package/dist/esm/profile-card/index.js +37 -0
- package/dist/esm/profile-card/index.js.map +7 -0
- package/dist/esm/quantity-field/index.js +46 -0
- package/dist/esm/quantity-field/index.js.map +7 -0
- package/dist/esm/radio/index.js +26 -0
- package/dist/esm/radio/index.js.map +7 -0
- package/dist/esm/ripple/index.js +32 -0
- package/dist/esm/ripple/index.js.map +7 -0
- package/dist/esm/scaffold/index.js +22 -0
- package/dist/esm/scaffold/index.js.map +7 -0
- package/dist/esm/select/core/index.js +60 -0
- package/dist/esm/select/core/index.js.map +7 -0
- package/dist/esm/select/index.js +114 -0
- package/dist/esm/select/index.js.map +7 -0
- package/dist/esm/select/option/index.js +28 -0
- package/dist/esm/select/option/index.js.map +7 -0
- package/dist/esm/select/option-group/index.js +22 -0
- package/dist/esm/select/option-group/index.js.map +7 -0
- package/dist/esm/select/select/index.js +63 -0
- package/dist/esm/select/select/index.js.map +7 -0
- package/dist/esm/select/select-dropdown/index.js +59 -0
- package/dist/esm/select/select-dropdown/index.js.map +7 -0
- package/dist/esm/skeleton/index.js +22 -0
- package/dist/esm/skeleton/index.js.map +7 -0
- package/dist/esm/slider/index.js +35 -0
- package/dist/esm/slider/index.js.map +7 -0
- package/dist/esm/stepper/index.js +55 -0
- package/dist/esm/stepper/index.js.map +7 -0
- package/dist/esm/stepper/step/index.js +40 -0
- package/dist/esm/stepper/step/index.js.map +7 -0
- package/dist/esm/stepper/stepper/index.js +43 -0
- package/dist/esm/stepper/stepper/index.js.map +7 -0
- package/dist/esm/switch/index.js +34 -0
- package/dist/esm/switch/index.js.map +7 -0
- package/dist/esm/table/index.js +57 -0
- package/dist/esm/table/index.js.map +7 -0
- package/dist/esm/tabs/index.js +61 -0
- package/dist/esm/tabs/index.js.map +7 -0
- package/dist/esm/tabs/tab/index.js +33 -0
- package/dist/esm/tabs/tab/index.js.map +7 -0
- package/dist/esm/tabs/tab-bar/index.js +47 -0
- package/dist/esm/tabs/tab-bar/index.js.map +7 -0
- package/dist/esm/text-field/index.js +39 -0
- package/dist/esm/text-field/index.js.map +7 -0
- package/dist/esm/theme/index.js +17 -0
- package/dist/esm/theme/index.js.map +7 -0
- package/dist/esm/time-picker/index.js +92 -0
- package/dist/esm/time-picker/index.js.map +7 -0
- package/dist/esm/toast/index.js +42 -0
- package/dist/esm/toast/index.js.map +7 -0
- package/dist/esm/toolbar/index.js +22 -0
- package/dist/esm/toolbar/index.js.map +7 -0
- package/dist/esm/tooltip/index.js +34 -0
- package/dist/esm/tooltip/index.js.map +7 -0
- package/dist/esm/utils/index.js +17 -0
- package/dist/esm/utils/index.js.map +7 -0
- package/dist/esm/view-switcher/index.js +40 -0
- package/dist/esm/view-switcher/index.js.map +7 -0
- package/dist/esm/view-switcher/view/index.js +22 -0
- package/dist/esm/view-switcher/view/index.js.map +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import {
|
|
7
|
+
ForgeRipple,
|
|
8
|
+
ForgeRippleFoundation
|
|
9
|
+
} from "./chunk.C2MR3RDF.js";
|
|
10
|
+
import {
|
|
11
|
+
tylIconBlock,
|
|
12
|
+
tylIconCheck,
|
|
13
|
+
tylIconModeEdit,
|
|
14
|
+
tylIconWarning
|
|
15
|
+
} from "./chunk.GS2AXUCN.js";
|
|
16
|
+
import {
|
|
17
|
+
IconComponent,
|
|
18
|
+
IconRegistry
|
|
19
|
+
} from "./chunk.P43Z3YAS.js";
|
|
20
|
+
import {
|
|
21
|
+
BaseAdapter
|
|
22
|
+
} from "./chunk.KZATVOA6.js";
|
|
23
|
+
import {
|
|
24
|
+
FoundationProperty
|
|
25
|
+
} from "./chunk.MMIZOYAS.js";
|
|
26
|
+
import {
|
|
27
|
+
COMPONENT_NAME_PREFIX,
|
|
28
|
+
CustomElement
|
|
29
|
+
} from "./chunk.35U3UPDV.js";
|
|
30
|
+
import {
|
|
31
|
+
BaseComponent
|
|
32
|
+
} from "./chunk.VK6LIH3B.js";
|
|
33
|
+
import {
|
|
34
|
+
attachShadowTemplate,
|
|
35
|
+
defineCustomElement,
|
|
36
|
+
getShadowElement
|
|
37
|
+
} from "./chunk.K2PCTUVN.js";
|
|
38
|
+
import {
|
|
39
|
+
addClass,
|
|
40
|
+
toggleAttribute,
|
|
41
|
+
toggleClass
|
|
42
|
+
} from "./chunk.4JURZYE4.js";
|
|
43
|
+
import {
|
|
44
|
+
coerceBoolean,
|
|
45
|
+
coerceNumber
|
|
46
|
+
} from "./chunk.MEFT5FQC.js";
|
|
47
|
+
import {
|
|
48
|
+
__decorateClass,
|
|
49
|
+
__spreadProps,
|
|
50
|
+
__spreadValues
|
|
51
|
+
} from "./chunk.LM5TVNZY.js";
|
|
52
|
+
|
|
53
|
+
// dist/build/lib/staging/src/stepper/step/step-constants.ts
|
|
54
|
+
var elementName = `${COMPONENT_NAME_PREFIX}step`;
|
|
55
|
+
var classes = {
|
|
56
|
+
STEP: "forge-step",
|
|
57
|
+
STEP_CONTAINER: "forge-step__container",
|
|
58
|
+
ERROR: "forge-step--error",
|
|
59
|
+
SELECTED: "forge-step--selected",
|
|
60
|
+
COMPLETED: "forge-step--completed",
|
|
61
|
+
EDITABLE: "forge-step--editable",
|
|
62
|
+
ALTERNATIVE: "forge-step--alternative",
|
|
63
|
+
ICON_CONTENT: "forge-step-icon-content",
|
|
64
|
+
ICON: "forge-step-icon",
|
|
65
|
+
LABEL_CONTAINER: "forge-step-label-container",
|
|
66
|
+
LABEL: "forge-step-label",
|
|
67
|
+
OPTIONAL_LABEL: "forge-step-optional-label",
|
|
68
|
+
INDEX: "forge-step-index",
|
|
69
|
+
CLUSTERED: "forge-step--clustered",
|
|
70
|
+
DISABLED: "forge-step--disabled",
|
|
71
|
+
VERTICAL: "forge-step--vertical",
|
|
72
|
+
EXPANDED: "forge-step--expanded",
|
|
73
|
+
EXPANDABLE: "forge-step--expandable",
|
|
74
|
+
EXPANSION_PANEL: "forge-step__expansion-panel",
|
|
75
|
+
EXPANSION_ICON: "forge-step__expanded-icon",
|
|
76
|
+
EXPANSION_ICON_EXPANDED: "forge-step__expanded-icon--expanded",
|
|
77
|
+
EXPANSION_CONTENT: "forge-step__expansion-content"
|
|
78
|
+
};
|
|
79
|
+
var attributes = {
|
|
80
|
+
SELECTED: `selected`,
|
|
81
|
+
INDEX: `index`,
|
|
82
|
+
EDITABLE: `editable`,
|
|
83
|
+
COMPLETED: `completed`,
|
|
84
|
+
ERROR: `error`,
|
|
85
|
+
ALTERNATIVE: "alternative",
|
|
86
|
+
FIRST: "first",
|
|
87
|
+
LAST: "last",
|
|
88
|
+
ARIA_SELECTED: "aria-selected",
|
|
89
|
+
CLUSTERED: `clustered`,
|
|
90
|
+
DISABLED: "disabled",
|
|
91
|
+
VERTICAL: "vertical",
|
|
92
|
+
EXPANDED: "expanded",
|
|
93
|
+
EXPANDABLE: "expandable",
|
|
94
|
+
IGNORE_USER_EXPANSION: "ignore-user-expansion"
|
|
95
|
+
};
|
|
96
|
+
var selectors = {
|
|
97
|
+
STEP: `.${classes.STEP}`,
|
|
98
|
+
STEP_CONTAINER: `.${classes.STEP_CONTAINER}`,
|
|
99
|
+
INDEX: `.${classes.INDEX}`,
|
|
100
|
+
ICON: `.${classes.ICON}`,
|
|
101
|
+
ICON_CONTENT: `.${classes.ICON_CONTENT}`,
|
|
102
|
+
EXPANSION_SLOT: `slot[name="expansion-content"]`,
|
|
103
|
+
EXPANSION_PANEL: `.${classes.EXPANSION_PANEL}`,
|
|
104
|
+
EXPANSION_ICON: `.${classes.EXPANSION_ICON}`
|
|
105
|
+
};
|
|
106
|
+
var strings = {
|
|
107
|
+
ARROW_LEFT_KEY: "ArrowLeft",
|
|
108
|
+
ARROW_RIGHT_KEY: "ArrowRight",
|
|
109
|
+
ARROW_UP_KEY: "ArrowUp",
|
|
110
|
+
ARROW_DOWN_KEY: "ArrowDown",
|
|
111
|
+
END_KEY: "End",
|
|
112
|
+
ENTER_KEY: "Enter",
|
|
113
|
+
HOME_KEY: "Home",
|
|
114
|
+
SPACE_KEY: "Space",
|
|
115
|
+
EXPANSION_CONTENT_SLOT_NAME: "expansion-content"
|
|
116
|
+
};
|
|
117
|
+
var events = {
|
|
118
|
+
SELECT: `${elementName}-select`,
|
|
119
|
+
EXPANDED_CONTENT_FOCUSIN: `${elementName}-expanded-content-focusin`,
|
|
120
|
+
EXPANDED_CONTENT_FOCUSOUT: `${elementName}-expanded-content-focusout`
|
|
121
|
+
};
|
|
122
|
+
var STEP_CONSTANTS = {
|
|
123
|
+
elementName,
|
|
124
|
+
classes,
|
|
125
|
+
selectors,
|
|
126
|
+
attributes,
|
|
127
|
+
events,
|
|
128
|
+
strings
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
// dist/build/lib/staging/src/stepper/step/step-adapter.ts
|
|
132
|
+
var StepAdapter = class extends BaseAdapter {
|
|
133
|
+
constructor(_component) {
|
|
134
|
+
super(_component);
|
|
135
|
+
this.unbounded = false;
|
|
136
|
+
this._buttonElement = getShadowElement(_component, STEP_CONSTANTS.selectors.STEP);
|
|
137
|
+
this._container = getShadowElement(_component, STEP_CONSTANTS.selectors.STEP_CONTAINER);
|
|
138
|
+
}
|
|
139
|
+
get root() {
|
|
140
|
+
return this._buttonElement;
|
|
141
|
+
}
|
|
142
|
+
get disabled() {
|
|
143
|
+
return this._buttonElement.disabled;
|
|
144
|
+
}
|
|
145
|
+
get component() {
|
|
146
|
+
return this._component;
|
|
147
|
+
}
|
|
148
|
+
setRootTabIndex(value) {
|
|
149
|
+
this._buttonElement.tabIndex = value;
|
|
150
|
+
}
|
|
151
|
+
initialize() {
|
|
152
|
+
this._component.setAttribute("role", "tab");
|
|
153
|
+
}
|
|
154
|
+
attachRipple() {
|
|
155
|
+
this._rippleInstance = this.initializeRipple();
|
|
156
|
+
}
|
|
157
|
+
detatchRipple() {
|
|
158
|
+
if (this._rippleInstance) {
|
|
159
|
+
this._rippleInstance.destroy();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
initializeRipple() {
|
|
163
|
+
return this._createRipple();
|
|
164
|
+
}
|
|
165
|
+
setIndex(value) {
|
|
166
|
+
this._buttonElement.querySelector(STEP_CONSTANTS.selectors.INDEX).innerHTML = (value + 1 || "").toString();
|
|
167
|
+
}
|
|
168
|
+
toggleRootClass(className, on) {
|
|
169
|
+
toggleClass(this._buttonElement, on, className);
|
|
170
|
+
}
|
|
171
|
+
setRootAttribute(attribute, value) {
|
|
172
|
+
this._buttonElement.setAttribute(attribute, value);
|
|
173
|
+
}
|
|
174
|
+
focusButton() {
|
|
175
|
+
this._buttonElement.focus();
|
|
176
|
+
}
|
|
177
|
+
toggleDisabled(disabled) {
|
|
178
|
+
toggleClass(this._buttonElement, disabled, STEP_CONSTANTS.classes.DISABLED);
|
|
179
|
+
toggleAttribute(this._buttonElement, disabled, "aria-disabled");
|
|
180
|
+
this._buttonElement.disabled = disabled;
|
|
181
|
+
}
|
|
182
|
+
toggleIcon(name, show) {
|
|
183
|
+
const index = this._buttonElement.querySelector(STEP_CONSTANTS.selectors.INDEX);
|
|
184
|
+
const icon = this._buttonElement.querySelector(STEP_CONSTANTS.selectors.ICON);
|
|
185
|
+
if (!show) {
|
|
186
|
+
index.style.display = "inherit";
|
|
187
|
+
icon.style.display = "none";
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
index.style.display = "none";
|
|
191
|
+
icon.style.display = "inherit";
|
|
192
|
+
icon.name = name;
|
|
193
|
+
}
|
|
194
|
+
slotHasContent() {
|
|
195
|
+
return this._expansionSlot.assignedElements({ flatten: true }).length > 0;
|
|
196
|
+
}
|
|
197
|
+
setClickListener(listener) {
|
|
198
|
+
this._buttonElement.addEventListener("click", listener);
|
|
199
|
+
}
|
|
200
|
+
removeClickListener(listener) {
|
|
201
|
+
this._buttonElement.removeEventListener("click", listener);
|
|
202
|
+
}
|
|
203
|
+
setSlotListener(listener) {
|
|
204
|
+
this._expansionSlot.addEventListener("slotchange", listener);
|
|
205
|
+
}
|
|
206
|
+
removeSlotListener(listener) {
|
|
207
|
+
if (this._expansionSlot) {
|
|
208
|
+
this._expansionSlot.removeEventListener("slotchange", listener);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
setExpanded(expanded) {
|
|
212
|
+
if (this._expansionPanel) {
|
|
213
|
+
this._expansionPanel.open = expanded;
|
|
214
|
+
toggleAttribute(this._expansionPanel, !expanded, "tabindex", "-1");
|
|
215
|
+
}
|
|
216
|
+
toggleClass(this._buttonElement, expanded, STEP_CONSTANTS.classes.EXPANDED);
|
|
217
|
+
}
|
|
218
|
+
setExpansionPanelAnimations(animate) {
|
|
219
|
+
this._expansionPanel.useAnimations = animate;
|
|
220
|
+
}
|
|
221
|
+
addExpansionPanel() {
|
|
222
|
+
const panel = this._container.querySelector(STEP_CONSTANTS.selectors.EXPANSION_PANEL);
|
|
223
|
+
if (panel) {
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
this._expansionPanel = this._container.appendChild(this._createExpansionPanel());
|
|
227
|
+
this._expansionSlot = this._expansionPanel.querySelector(STEP_CONSTANTS.selectors.EXPANSION_SLOT);
|
|
228
|
+
}
|
|
229
|
+
removeExpansionPanel() {
|
|
230
|
+
const panel = this._container.querySelector(STEP_CONSTANTS.selectors.EXPANSION_PANEL);
|
|
231
|
+
if (panel) {
|
|
232
|
+
this._container.removeChild(panel);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
addExpansionIcon() {
|
|
236
|
+
const icon = this._buttonElement.querySelector(STEP_CONSTANTS.selectors.EXPANSION_ICON);
|
|
237
|
+
if (icon) {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
this._buttonElement.appendChild(this._createExpansionIcon());
|
|
241
|
+
}
|
|
242
|
+
removeExpansionIcon() {
|
|
243
|
+
const icon = this._buttonElement.querySelector(STEP_CONSTANTS.selectors.EXPANSION_ICON);
|
|
244
|
+
if (icon) {
|
|
245
|
+
this._buttonElement.removeChild(icon);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
addExpansionPanelListener(event, listener) {
|
|
249
|
+
this._expansionPanel.addEventListener(event, listener);
|
|
250
|
+
}
|
|
251
|
+
removeExpansionPanelListener(event, listener) {
|
|
252
|
+
if (this._expansionPanel) {
|
|
253
|
+
this._expansionPanel.removeEventListener(event, listener);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
isExpandedContentInFocus(checkElement) {
|
|
257
|
+
return this._expansionSlot.assignedElements().some((element) => element.contains(checkElement || document.activeElement));
|
|
258
|
+
}
|
|
259
|
+
_createRipple() {
|
|
260
|
+
const adapter = __spreadProps(__spreadValues({}, ForgeRipple.createAdapter(this)), {
|
|
261
|
+
isSurfaceDisabled: () => this._buttonElement.disabled
|
|
262
|
+
});
|
|
263
|
+
const ripple = new ForgeRipple(this._buttonElement, new ForgeRippleFoundation(adapter));
|
|
264
|
+
return ripple;
|
|
265
|
+
}
|
|
266
|
+
_createExpansionPanel() {
|
|
267
|
+
const panel = document.createElement("forge-expansion-panel");
|
|
268
|
+
panel.useAnimations = false;
|
|
269
|
+
panel.setAttribute("part", "expansion-panel");
|
|
270
|
+
addClass(STEP_CONSTANTS.classes.EXPANSION_PANEL, panel);
|
|
271
|
+
const slot = document.createElement("slot");
|
|
272
|
+
slot.setAttribute("name", "expansion-content");
|
|
273
|
+
addClass(STEP_CONSTANTS.classes.EXPANSION_CONTENT, slot);
|
|
274
|
+
panel.appendChild(slot);
|
|
275
|
+
return panel;
|
|
276
|
+
}
|
|
277
|
+
_createExpansionIcon() {
|
|
278
|
+
const icon = document.createElement("forge-icon");
|
|
279
|
+
addClass(STEP_CONSTANTS.classes.EXPANSION_ICON, icon);
|
|
280
|
+
icon.name = "keyboard_arrow_down";
|
|
281
|
+
icon.setAttribute("part", "expanded-icon");
|
|
282
|
+
return icon;
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
// dist/build/lib/staging/src/stepper/step/step-foundation.ts
|
|
287
|
+
var StepFoundation = class {
|
|
288
|
+
constructor(_adapter) {
|
|
289
|
+
this._adapter = _adapter;
|
|
290
|
+
this._clickListener = () => this._onClickListener();
|
|
291
|
+
this._expansionContentSlotChangeListener = (evt) => this._onExpansionContentSlotChange(evt);
|
|
292
|
+
this._expansionContentFocusInListener = (evt) => this._onExpansionContentFocusIn(evt);
|
|
293
|
+
this._expansionContentFocusOutListener = (evt) => this._onExpansionContentFocusOut(evt);
|
|
294
|
+
}
|
|
295
|
+
initialize() {
|
|
296
|
+
this._adapter.initialize();
|
|
297
|
+
this._adapter.attachRipple();
|
|
298
|
+
this._applySelected();
|
|
299
|
+
this._toggleIcon();
|
|
300
|
+
if (this._vertical) {
|
|
301
|
+
this._adapter.addExpansionPanel();
|
|
302
|
+
this._adapter.addExpansionIcon();
|
|
303
|
+
this._adapter.setClickListener(this._clickListener);
|
|
304
|
+
this._adapter.setSlotListener(this._expansionContentSlotChangeListener);
|
|
305
|
+
this._adapter.addExpansionPanelListener("focusin", this._expansionContentFocusInListener);
|
|
306
|
+
this._adapter.addExpansionPanelListener("focusout", this._expansionContentFocusOutListener);
|
|
307
|
+
}
|
|
308
|
+
this._initialized = true;
|
|
309
|
+
}
|
|
310
|
+
disconnect() {
|
|
311
|
+
this._adapter.detatchRipple();
|
|
312
|
+
this._adapter.removeClickListener(this._clickListener);
|
|
313
|
+
this._adapter.removeSlotListener(this._expansionContentSlotChangeListener);
|
|
314
|
+
this._adapter.removeExpansionPanelListener("focusin", this._onExpansionContentFocusIn);
|
|
315
|
+
this._adapter.removeExpansionPanelListener("focusout", this._onExpansionContentFocusOut);
|
|
316
|
+
}
|
|
317
|
+
get index() {
|
|
318
|
+
return this._index;
|
|
319
|
+
}
|
|
320
|
+
set index(value) {
|
|
321
|
+
if (this._index !== value) {
|
|
322
|
+
this._index = value;
|
|
323
|
+
this._applyIndex();
|
|
324
|
+
this._adapter.setHostAttribute(STEP_CONSTANTS.attributes.INDEX, value.toString());
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
get editable() {
|
|
328
|
+
return this._editable;
|
|
329
|
+
}
|
|
330
|
+
set editable(value) {
|
|
331
|
+
if (this._editable !== value) {
|
|
332
|
+
this._editable = value;
|
|
333
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.EDITABLE, value);
|
|
334
|
+
this._applyEditable();
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
get completed() {
|
|
338
|
+
return this._completed;
|
|
339
|
+
}
|
|
340
|
+
set completed(value) {
|
|
341
|
+
if (this._completed !== value) {
|
|
342
|
+
this._completed = value;
|
|
343
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.COMPLETED, value);
|
|
344
|
+
this._applyCompleted();
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
get error() {
|
|
348
|
+
return this._error;
|
|
349
|
+
}
|
|
350
|
+
set error(value) {
|
|
351
|
+
if (this._error !== value) {
|
|
352
|
+
this._error = value;
|
|
353
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.ERROR, value);
|
|
354
|
+
this._applyError();
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
get selected() {
|
|
358
|
+
return this._selected;
|
|
359
|
+
}
|
|
360
|
+
set selected(value) {
|
|
361
|
+
if (this._selected !== value) {
|
|
362
|
+
this._selected = value;
|
|
363
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.SELECTED, value);
|
|
364
|
+
this._applySelected();
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
get alternative() {
|
|
368
|
+
return this._alternative;
|
|
369
|
+
}
|
|
370
|
+
set alternative(value) {
|
|
371
|
+
if (this._alternative !== value) {
|
|
372
|
+
this._alternative = value;
|
|
373
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.ALTERNATIVE, value);
|
|
374
|
+
this._applyAlternative();
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
get disabled() {
|
|
378
|
+
return this._disabled;
|
|
379
|
+
}
|
|
380
|
+
set disabled(value) {
|
|
381
|
+
this._disabled = value;
|
|
382
|
+
this._applyDisabled();
|
|
383
|
+
}
|
|
384
|
+
get vertical() {
|
|
385
|
+
return this._vertical;
|
|
386
|
+
}
|
|
387
|
+
set vertical(value) {
|
|
388
|
+
if (value !== this._vertical) {
|
|
389
|
+
this._vertical = value;
|
|
390
|
+
this._applyVertical();
|
|
391
|
+
if (this._initialized) {
|
|
392
|
+
if (this._vertical) {
|
|
393
|
+
this._adapter.addExpansionPanel();
|
|
394
|
+
this._adapter.addExpansionIcon();
|
|
395
|
+
this._adapter.setClickListener(this._clickListener);
|
|
396
|
+
this._adapter.setSlotListener(this._expansionContentSlotChangeListener);
|
|
397
|
+
} else {
|
|
398
|
+
this._adapter.removeClickListener(this._clickListener);
|
|
399
|
+
this._adapter.removeSlotListener(this._expansionContentSlotChangeListener);
|
|
400
|
+
this._adapter.removeExpansionPanel();
|
|
401
|
+
this._adapter.removeExpansionIcon();
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
get expanded() {
|
|
407
|
+
return this._expanded;
|
|
408
|
+
}
|
|
409
|
+
set expanded(value) {
|
|
410
|
+
if (value !== this._expanded) {
|
|
411
|
+
this._expanded = value;
|
|
412
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.EXPANDED, this._expanded);
|
|
413
|
+
if (this._initialized) {
|
|
414
|
+
this._applyExpanded();
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
get ignoreUserExpansion() {
|
|
419
|
+
return this._ignoreUserExpansion;
|
|
420
|
+
}
|
|
421
|
+
set ignoreUserExpansion(value) {
|
|
422
|
+
if (value !== this._ignoreUserExpansion) {
|
|
423
|
+
this._ignoreUserExpansion = value;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
setStepTabIndex(index) {
|
|
427
|
+
this._adapter.setRootTabIndex(index);
|
|
428
|
+
}
|
|
429
|
+
_applyExpanded() {
|
|
430
|
+
this._adapter.setExpanded(this._expanded);
|
|
431
|
+
}
|
|
432
|
+
_applyVertical() {
|
|
433
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.VERTICAL, this._vertical);
|
|
434
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.VERTICAL, this._vertical);
|
|
435
|
+
}
|
|
436
|
+
focus() {
|
|
437
|
+
this._adapter.focusButton();
|
|
438
|
+
}
|
|
439
|
+
_applyAlternative() {
|
|
440
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.ALTERNATIVE, this._alternative);
|
|
441
|
+
}
|
|
442
|
+
_applySelected() {
|
|
443
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.SELECTED, this._selected);
|
|
444
|
+
this._adapter.setHostAttribute(STEP_CONSTANTS.attributes.ARIA_SELECTED, (this._selected || false).toString());
|
|
445
|
+
this._adapter.setRootTabIndex(this._selected ? 0 : -1);
|
|
446
|
+
this._toggleIcon();
|
|
447
|
+
}
|
|
448
|
+
_applyIndex() {
|
|
449
|
+
this._adapter.setIndex(this._index);
|
|
450
|
+
}
|
|
451
|
+
_applyEditable() {
|
|
452
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.EDITABLE, this._editable);
|
|
453
|
+
this._toggleIcon();
|
|
454
|
+
}
|
|
455
|
+
_applyCompleted() {
|
|
456
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.COMPLETED, this._completed);
|
|
457
|
+
this._toggleIcon();
|
|
458
|
+
}
|
|
459
|
+
_applyError() {
|
|
460
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.ERROR, this._error);
|
|
461
|
+
this._toggleIcon();
|
|
462
|
+
}
|
|
463
|
+
_applyDisabled() {
|
|
464
|
+
this._adapter.toggleDisabled(this._disabled);
|
|
465
|
+
this._toggleIcon();
|
|
466
|
+
}
|
|
467
|
+
_getIconState() {
|
|
468
|
+
if (this._error) {
|
|
469
|
+
return "warning";
|
|
470
|
+
}
|
|
471
|
+
if (this._completed) {
|
|
472
|
+
if (this._editable) {
|
|
473
|
+
return "mode_edit";
|
|
474
|
+
}
|
|
475
|
+
return "check";
|
|
476
|
+
}
|
|
477
|
+
if (this._editable && this._selected && !this._disabled) {
|
|
478
|
+
return "mode_edit";
|
|
479
|
+
}
|
|
480
|
+
if (this._disabled) {
|
|
481
|
+
return "block";
|
|
482
|
+
}
|
|
483
|
+
return "";
|
|
484
|
+
}
|
|
485
|
+
_toggleIcon() {
|
|
486
|
+
this._iconState = this._getIconState();
|
|
487
|
+
this._adapter.toggleIcon(this._iconState, this._iconState !== "");
|
|
488
|
+
}
|
|
489
|
+
_toggleExpanded() {
|
|
490
|
+
if (this._adapter.slotHasContent()) {
|
|
491
|
+
this._expanded = !this._expanded;
|
|
492
|
+
this._applyExpanded();
|
|
493
|
+
this._adapter.toggleHostAttribute(STEP_CONSTANTS.attributes.EXPANDED, this._expanded);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
_onClickListener() {
|
|
497
|
+
if (this._vertical && !this._ignoreUserExpansion) {
|
|
498
|
+
this._toggleExpanded();
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
_onExpansionContentSlotChange(evt) {
|
|
502
|
+
const hasSlotContent = this._adapter.slotHasContent();
|
|
503
|
+
if (hasSlotContent) {
|
|
504
|
+
this._adapter.setHostAttribute(STEP_CONSTANTS.attributes.EXPANDABLE);
|
|
505
|
+
this._applyExpanded();
|
|
506
|
+
this._adapter.setExpansionPanelAnimations(true);
|
|
507
|
+
} else {
|
|
508
|
+
this._adapter.removeHostAttribute(STEP_CONSTANTS.attributes.EXPANDABLE);
|
|
509
|
+
this._adapter.setExpansionPanelAnimations(false);
|
|
510
|
+
}
|
|
511
|
+
this._adapter.toggleRootClass(STEP_CONSTANTS.classes.EXPANDABLE, hasSlotContent);
|
|
512
|
+
}
|
|
513
|
+
_onExpansionContentFocusIn(event) {
|
|
514
|
+
if (!this._expandedContentFocused && this._adapter.isExpandedContentInFocus(event.target)) {
|
|
515
|
+
this._adapter.emitHostEvent(STEP_CONSTANTS.events.EXPANDED_CONTENT_FOCUSIN, this._adapter.component);
|
|
516
|
+
this._expandedContentFocused = true;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
_onExpansionContentFocusOut(event) {
|
|
520
|
+
if (event.relatedTarget && !this._adapter.isExpandedContentInFocus(event.relatedTarget)) {
|
|
521
|
+
this._adapter.emitHostEvent(STEP_CONSTANTS.events.EXPANDED_CONTENT_FOCUSOUT, this._adapter.component);
|
|
522
|
+
this._expandedContentFocused = false;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
// dist/build/lib/staging/src/stepper/step/step.ts
|
|
528
|
+
var template = '<template><div class="forge-step__container" part="root"><button class="forge-step" type="button" part="button"><div class="before" part="before"></div><div class="forge-step__icon-container" part="icon-container"><div class="forge-step-icon-content" part="icon-content"><span class="forge-step-index" part="index"></span><forge-icon class="forge-step-icon" part="icon"></forge-icon></div></div><div class="forge-step__text-container" part="text-container"><div class="forge-step__title" part="title-container"><slot></slot></div><div class="forge-step__subtitle" part="subtitle-container"><slot name="optional"></slot></div></div><div class="after" part="after"></div></button></div></template>';
|
|
529
|
+
var styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-step{padding:12px 16px;outline:0;background:0 0;border:none;border-radius:14px;position:relative;display:-webkit-box;display:flex;overflow:hidden;-webkit-box-align:center;align-items:center;z-index:1;--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;cursor:pointer}.forge-step:focus{outline:0}.forge-step::-moz-focus-inner,.forge-step::-moz-focus-outer{padding:0;border:0}.forge-step::after,.forge-step::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.forge-step::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.forge-step::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.forge-step.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.forge-step.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.forge-step.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.forge-step.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.forge-step.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.forge-step::after,.forge-step::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.forge-step.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.forge-step::after,.forge-step::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.forge-step.mdc-ripple-surface--hover::before,.forge-step:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.forge-step.mdc-ripple-upgraded--background-focused::before,.forge-step:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.forge-step:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-step:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.forge-step.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.forge-step--selected::before{opacity:.08;opacity:var(--mdc-ripple-selected-opacity, .08)}.forge-step--selected::after,.forge-step--selected::before{background-color:#3f51b5;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#3f51b5))}.forge-step--selected.mdc-ripple-surface--hover::before,.forge-step--selected:hover::before{opacity:.12;opacity:var(--mdc-ripple-hover-opacity, .12)}.forge-step--selected.mdc-ripple-upgraded--background-focused::before,.forge-step--selected:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-focus-opacity, .2)}.forge-step--selected:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-step--selected:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-press-opacity, .2)}.forge-step--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.forge-step.forge-step--error.forge-step--selected::before{opacity:.08;opacity:var(--mdc-ripple-selected-opacity, .08)}.forge-step.forge-step--error.forge-step--selected::after,.forge-step.forge-step--error.forge-step--selected::before{background-color:#b00020;background-color:var(--mdc-ripple-color,var(--mdc-theme-error,#b00020))}.forge-step.forge-step--error.forge-step--selected.mdc-ripple-surface--hover::before,.forge-step.forge-step--error.forge-step--selected:hover::before{opacity:.12;opacity:var(--mdc-ripple-hover-opacity, .12)}.forge-step.forge-step--error.forge-step--selected.mdc-ripple-upgraded--background-focused::before,.forge-step.forge-step--error.forge-step--selected:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-focus-opacity, .2)}.forge-step.forge-step--error.forge-step--selected:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.forge-step.forge-step--error.forge-step--selected:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.2;opacity:var(--mdc-ripple-press-opacity, .2)}.forge-step.forge-step--error.forge-step--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.forge-step--selected{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}.forge-step--disabled::after,.forge-step--disabled::before{background-color:transparent}.forge-step__container{display:contents}.forge-step__expansion-panel{display:none}.forge-step__expanded-icon{color:#757575;color:var(--forge-theme-icon-color,#757575);display:none;margin-left:auto}.forge-step__title{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);text-align:left;overflow:hidden;text-overflow:ellipsis}.forge-step__subtitle{text-align:left;overflow:hidden;text-overflow:ellipsis}.forge-step__subtitle ::slotted(*){color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit)}.forge-step__icon-container .forge-step-icon-content{border-style:solid;border-width:2px;border-color:transparent;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;border-radius:50%;height:24px;width:24px;font-size:14px;-webkit-transition:background-color .4s cubic-bezier(.25, .8, .25, 1);transition:background-color .4s cubic-bezier(.25, .8, .25, 1);margin:0 8px 0 0;-webkit-box-flex:0;flex:none}.forge-step__icon-container .forge-step-icon-content forge-icon{font-size:14px}.forge-step:not(.forge-step--disabled) .forge-step-icon-content{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}.forge-step--disabled{cursor:not-allowed;color:rgba(0,0,0,.6);color:var(--forge-theme-form-field-text-disabled-on-background,rgba(0,0,0,.6))}.forge-step--disabled.forge-step .forge-step__icon-container .forge-step-icon-content{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38));background-color:#f5f5f5;background-color:var(--forge-theme-form-field-disabled-on-background,#f5f5f5)}.forge-step--disabled .forge-step__text-container .forge-step__title{color:rgba(0,0,0,.6);color:var(--forge-theme-form-field-text-disabled-on-background,rgba(0,0,0,.6))}.forge-step--disabled .forge-step__text-container .forge-step__subtitle ::slotted(*){color:rgba(0,0,0,.6);color:var(--forge-theme-form-field-text-disabled-on-background,rgba(0,0,0,.6))}.forge-step--alternative{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-step--alternative .forge-step__icon-container .forge-step-icon-content{margin:0}.forge-step--alternative .forge-step__text-container{margin-top:8px;place-items:center}.forge-step:not(.forge-step--selected):not(.forge-step--disabled).forge-step--editable:not(.forge-step--completed):not(.forge-step--error) .forge-step-icon-content,.forge-step:not(.forge-step--selected):not(.forge-step--disabled):not(.forge-step--editable):not(.forge-step--completed):not(.forge-step--error) .forge-step-icon-content{border-color:#3f51b5;border-color:var(--mdc-theme-primary,#3f51b5)}.forge-step:not(.forge-step--selected):not(.forge-step--disabled).forge-step--editable:not(.forge-step--completed):not(.forge-step--error) .forge-step-icon-content .forge-step-index,.forge-step:not(.forge-step--selected):not(.forge-step--disabled):not(.forge-step--editable):not(.forge-step--completed):not(.forge-step--error) .forge-step-icon-content .forge-step-index{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5)}.forge-step--selected.forge-step--disabled .forge-step-icon-content{color:rgba(0,0,0,.38);color:var(--mdc-theme-text-disabled-on-light,rgba(0,0,0,.38));background-color:#f5f5f5;background-color:var(--forge-theme-form-field-disabled-on-background,#f5f5f5)}.forge-step--selected:not(.forge-step--disabled) .forge-step__icon-container .forge-step-icon-content{background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5);color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-step--selected:not(.forge-step--disabled) .forge-step__title{color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5);font-weight:500}.forge-step--selected:not(.forge-step--disabled) .forge-step__subtitle ::slotted(*){color:#3f51b5;color:var(--mdc-theme-primary,#3f51b5);font-weight:500}.forge-step--error:not(.forge-step--disabled) .forge-step__title{color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-step--error:not(.forge-step--disabled) .forge-step__subtitle ::slotted(*){color:#b00020;color:var(--mdc-theme-error,#b00020)}.forge-step--error:not(.forge-step--disabled) .forge-step__icon-container .forge-step-icon-content{background-color:#b00020;background-color:var(--mdc-theme-error,#b00020);color:#fff;color:var(--mdc-theme-on-error,#fff)}.forge-step--completed:not(.forge-step--disabled):not(.forge-step--error):not(.forge-step--editable) .forge-step-icon-content{background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5);color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-step--completed:not(.forge-step--disabled):not(.forge-step--error).forge-step--editable .forge-step-icon-content{background-color:#3f51b5;background-color:var(--mdc-theme-primary,#3f51b5);color:#fff;color:var(--mdc-theme-on-primary,#fff)}.forge-step--expandable .forge-step__expanded-icon{display:inline-block;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.forge-step--expandable.forge-step--expanded .forge-step__expanded-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.forge-step--expandable .forge-step__icon-container .forge-step-icon-content{margin:0 16px 0 0}.forge-step__text-container{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(:first-child[alternative])::after{align-self:flex-start;top:22px;margin:0}:host(:last-child[alternative])::before{align-self:flex-start;top:22px;margin:0}:host(:not(:first-child):not(:last-child)[alternative])::after,:host(:not(:first-child):not(:last-child)[alternative])::before{align-self:flex-start;top:22px;min-width:7px;margin:0}:host(:not(:last-child)[alternative]) .after{align-self:flex-start;top:22px;position:absolute;width:calc(50% - 18px);left:calc(50% + 18px);height:0;right:0}:host(:not(:last-child)[alternative]) .after::after{content:"";-webkit-box-flex:1;flex:1;flex-basis:0.000000001px;position:absolute;right:0;left:0;min-width:0;width:100%;border-top-color:#e0e0e0;border-top-color:var(--forge-theme-border-color,#e0e0e0);border-top-style:solid;border-top-width:1px;border-radius:1px 0 0 1px}:host(:not(:first-child)[alternative]) .before{align-self:flex-start;top:22px;position:absolute;left:0;width:calc(50% - 18px);height:0}:host(:not(:first-child)[alternative]) .before::before{content:"";left:0;min-width:0;width:100%;-webkit-box-flex:1;flex:1;flex-basis:0.000000001px;position:absolute;border-top-color:#e0e0e0;border-top-color:var(--forge-theme-border-color,#e0e0e0);border-top-style:solid;border-top-width:1px;border-radius:1px 0 0 1px}:host(:not(:first-child):not(:last-child)):host(:not([vertical]))::after,:host(:not(:first-child):not(:last-child)):host(:not([vertical]))::before{border-top-color:#e0e0e0;border-top-color:var(--forge-theme-border-color,#e0e0e0);content:"";position:relative;height:0;min-width:10px;-webkit-box-flex:1;flex:1;flex-basis:0.000000001px;border-top-style:solid;border-top-width:1px;border-radius:1px 0 0 1px;margin:0 -10px}:host(:last-child):host(:not([vertical]))::before{border-top-color:#e0e0e0;border-top-color:var(--forge-theme-border-color,#e0e0e0);content:"";position:relative;height:0;min-width:10px;-webkit-box-flex:1;flex:1;flex-basis:0.000000001px;border-top-style:solid;border-top-width:1px;border-radius:1px 0 0 1px;margin:0 -10px 0 0}:host(:not(:last-child)):host(:not([vertical]))::after{border-top-color:#e0e0e0;border-top-color:var(--forge-theme-border-color,#e0e0e0);content:"";position:relative;height:0;min-width:10px;-webkit-box-flex:1;flex:1;flex-basis:0.000000001px;border-top-style:solid;border-top-width:1px;border-radius:1px 0 0 1px;margin:0 0 0 -10px}:host(:focus){outline:0}:host([vertical]){-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}:host([vertical])::after{content:none}:host([vertical])::before{content:none}:host([vertical]) .forge-step{width:100%;border-radius:4px;min-height:52px}:host([vertical]) .forge-step__text-container{white-space:normal}:host([vertical]) .forge-step__icon-container .forge-step-icon-content{margin:0 16px 0 0}:host([vertical][expandable]) .forge-step__expansion-panel{display:block}:host([ignore-user-expansion]) .forge-step__expanded-icon{display:none}forge-expansion-panel::part(root){border-left-style:solid;border-color:#e0e0e0;border-color:var(--forge-theme-border-color,#e0e0e0);border-left-width:1px;border-left-width:var(--forge-step-expansion-panel-border-left-width,1px);margin-left:60px;margin-left:var(--forge-step-expansion-panel-margin-left,60px);margin-top:4px;margin-top:var(--forge-step-expansion-panel-margin-top,4px);margin-bottom:4px;margin-bottom:var(--forge-step-expansion-panel-margin-bottom,4px)}:host(:not(:last-child)[clustered])::after{min-width:25px}:host(:last-child[clustered])::before{min-width:25px}:host(:not(:first-child):not(:last-child)[clustered])::after,:host(:not(:first-child):not(:last-child)[clustered])::before{min-width:25px}:host(:not(:last-child)[safari][alternative])::after{top:24px;margin:0 -5px}:host(:last-child[safari][alternative])::before{top:24px;margin:0 -5px}:host(:not(:first-child):not(:last-child)[safari][alternative])::after,:host(:not(:first-child):not(:last-child)[safari][alternative])::before{top:24px;margin:0 -5px}';
|
|
530
|
+
var StepComponent = class extends BaseComponent {
|
|
531
|
+
constructor() {
|
|
532
|
+
super();
|
|
533
|
+
IconRegistry.define([
|
|
534
|
+
tylIconModeEdit,
|
|
535
|
+
tylIconCheck,
|
|
536
|
+
tylIconWarning,
|
|
537
|
+
tylIconBlock
|
|
538
|
+
]);
|
|
539
|
+
attachShadowTemplate(this, template, styles);
|
|
540
|
+
this._foundation = new StepFoundation(new StepAdapter(this));
|
|
541
|
+
}
|
|
542
|
+
static get observedAttributes() {
|
|
543
|
+
return [
|
|
544
|
+
STEP_CONSTANTS.attributes.COMPLETED,
|
|
545
|
+
STEP_CONSTANTS.attributes.EDITABLE,
|
|
546
|
+
STEP_CONSTANTS.attributes.ERROR,
|
|
547
|
+
STEP_CONSTANTS.attributes.INDEX,
|
|
548
|
+
STEP_CONSTANTS.attributes.SELECTED,
|
|
549
|
+
STEP_CONSTANTS.attributes.ALTERNATIVE,
|
|
550
|
+
STEP_CONSTANTS.attributes.DISABLED,
|
|
551
|
+
STEP_CONSTANTS.attributes.VERTICAL,
|
|
552
|
+
STEP_CONSTANTS.attributes.EXPANDED,
|
|
553
|
+
STEP_CONSTANTS.attributes.IGNORE_USER_EXPANSION
|
|
554
|
+
];
|
|
555
|
+
}
|
|
556
|
+
connectedCallback() {
|
|
557
|
+
this._foundation.initialize();
|
|
558
|
+
}
|
|
559
|
+
disconnectedCallback() {
|
|
560
|
+
this._foundation.disconnect();
|
|
561
|
+
}
|
|
562
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
563
|
+
switch (name) {
|
|
564
|
+
case STEP_CONSTANTS.attributes.INDEX:
|
|
565
|
+
this.index = coerceNumber(newValue);
|
|
566
|
+
break;
|
|
567
|
+
case STEP_CONSTANTS.attributes.COMPLETED:
|
|
568
|
+
this.completed = coerceBoolean(newValue);
|
|
569
|
+
break;
|
|
570
|
+
case STEP_CONSTANTS.attributes.EDITABLE:
|
|
571
|
+
this.editable = coerceBoolean(newValue);
|
|
572
|
+
break;
|
|
573
|
+
case STEP_CONSTANTS.attributes.ERROR:
|
|
574
|
+
this.error = coerceBoolean(newValue);
|
|
575
|
+
break;
|
|
576
|
+
case STEP_CONSTANTS.attributes.SELECTED:
|
|
577
|
+
this.selected = coerceBoolean(newValue);
|
|
578
|
+
break;
|
|
579
|
+
case STEP_CONSTANTS.attributes.ALTERNATIVE:
|
|
580
|
+
this.alternative = coerceBoolean(newValue);
|
|
581
|
+
break;
|
|
582
|
+
case STEP_CONSTANTS.attributes.DISABLED:
|
|
583
|
+
this.disabled = coerceBoolean(newValue);
|
|
584
|
+
break;
|
|
585
|
+
case STEP_CONSTANTS.attributes.VERTICAL:
|
|
586
|
+
this.vertical = coerceBoolean(newValue);
|
|
587
|
+
break;
|
|
588
|
+
case STEP_CONSTANTS.attributes.EXPANDED:
|
|
589
|
+
this.expanded = coerceBoolean(newValue);
|
|
590
|
+
break;
|
|
591
|
+
case STEP_CONSTANTS.attributes.IGNORE_USER_EXPANSION:
|
|
592
|
+
this.ignoreUserExpansion = coerceBoolean(newValue);
|
|
593
|
+
break;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
focus() {
|
|
597
|
+
this._foundation.focus();
|
|
598
|
+
}
|
|
599
|
+
setStepTabIndex(index) {
|
|
600
|
+
this._foundation.setStepTabIndex(index);
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
__decorateClass([
|
|
604
|
+
FoundationProperty()
|
|
605
|
+
], StepComponent.prototype, "alternative", 2);
|
|
606
|
+
__decorateClass([
|
|
607
|
+
FoundationProperty()
|
|
608
|
+
], StepComponent.prototype, "index", 2);
|
|
609
|
+
__decorateClass([
|
|
610
|
+
FoundationProperty()
|
|
611
|
+
], StepComponent.prototype, "editable", 2);
|
|
612
|
+
__decorateClass([
|
|
613
|
+
FoundationProperty()
|
|
614
|
+
], StepComponent.prototype, "completed", 2);
|
|
615
|
+
__decorateClass([
|
|
616
|
+
FoundationProperty()
|
|
617
|
+
], StepComponent.prototype, "error", 2);
|
|
618
|
+
__decorateClass([
|
|
619
|
+
FoundationProperty()
|
|
620
|
+
], StepComponent.prototype, "selected", 2);
|
|
621
|
+
__decorateClass([
|
|
622
|
+
FoundationProperty()
|
|
623
|
+
], StepComponent.prototype, "disabled", 2);
|
|
624
|
+
__decorateClass([
|
|
625
|
+
FoundationProperty()
|
|
626
|
+
], StepComponent.prototype, "vertical", 2);
|
|
627
|
+
__decorateClass([
|
|
628
|
+
FoundationProperty()
|
|
629
|
+
], StepComponent.prototype, "expanded", 2);
|
|
630
|
+
__decorateClass([
|
|
631
|
+
FoundationProperty()
|
|
632
|
+
], StepComponent.prototype, "ignoreUserExpansion", 2);
|
|
633
|
+
StepComponent = __decorateClass([
|
|
634
|
+
CustomElement({
|
|
635
|
+
name: STEP_CONSTANTS.elementName,
|
|
636
|
+
dependencies: [
|
|
637
|
+
IconComponent
|
|
638
|
+
]
|
|
639
|
+
})
|
|
640
|
+
], StepComponent);
|
|
641
|
+
|
|
642
|
+
// dist/build/lib/staging/src/stepper/step/index.ts
|
|
643
|
+
function defineStepComponent() {
|
|
644
|
+
defineCustomElement(StepComponent);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
export {
|
|
648
|
+
STEP_CONSTANTS,
|
|
649
|
+
StepAdapter,
|
|
650
|
+
StepFoundation,
|
|
651
|
+
StepComponent,
|
|
652
|
+
defineStepComponent
|
|
653
|
+
};
|
|
654
|
+
//# sourceMappingURL=chunk.J6LOWXOG.js.map
|