@tylertech/forge 3.0.0-next.22 → 3.0.0-next.24
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/custom-elements.json +28789 -33252
- package/dist/esm/accordion/index.js +1 -1
- package/dist/esm/app-bar/app-bar/index.js +1 -1
- package/dist/esm/app-bar/help-button/index.js +1 -1
- package/dist/esm/app-bar/index.js +1 -1
- package/dist/esm/app-bar/menu-button/index.js +1 -1
- package/dist/esm/app-bar/notification-button/index.js +1 -1
- package/dist/esm/app-bar/profile-button/index.js +1 -1
- package/dist/esm/app-bar/search/index.js +1 -1
- package/dist/esm/autocomplete/index.js +1 -1
- package/dist/esm/avatar/index.js +1 -1
- package/dist/esm/backdrop/index.js +1 -1
- package/dist/esm/badge/index.js +1 -1
- package/dist/esm/banner/index.js +1 -1
- package/dist/esm/bottom-sheet/index.js +1 -1
- package/dist/esm/button/index.js +1 -1
- package/dist/esm/button-area/index.js +1 -1
- package/dist/esm/button-toggle/button-toggle/index.js +1 -1
- package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
- package/dist/esm/button-toggle/index.js +1 -1
- package/dist/esm/calendar/calendar-dropdown/index.js +1 -1
- package/dist/esm/calendar/calendar-menu/index.js +1 -1
- package/dist/esm/calendar/index.js +1 -1
- package/dist/esm/card/index.js +1 -1
- package/dist/esm/checkbox/index.js +1 -1
- package/dist/esm/chip-field/index.js +1 -1
- package/dist/esm/chips/chip/index.js +1 -1
- package/dist/esm/chips/chip-set/index.js +1 -1
- package/dist/esm/chips/index.js +1 -1
- package/dist/esm/chunks/{chunk.AOVXNX7P.js → chunk.24L6GVJK.js} +2 -2
- package/dist/esm/chunks/{chunk.WMJSYYXQ.js → chunk.27YQZWEJ.js} +2 -2
- package/dist/esm/chunks/{chunk.AG6IRMLZ.js → chunk.2CP5CIRB.js} +2 -2
- package/dist/esm/chunks/chunk.2FF7EQQ3.js +7 -0
- package/dist/esm/chunks/chunk.2FF7EQQ3.js.map +7 -0
- package/dist/esm/chunks/{chunk.USTVZ6MZ.js → chunk.345JBXIL.js} +2 -2
- package/dist/esm/chunks/{chunk.USTVZ6MZ.js.map → chunk.345JBXIL.js.map} +2 -2
- package/dist/esm/chunks/chunk.3B573FQF.js +7 -0
- package/dist/esm/chunks/chunk.3B573FQF.js.map +7 -0
- package/dist/esm/chunks/{chunk.H4VQXV2H.js → chunk.3CXCYRCE.js} +2 -2
- package/dist/esm/chunks/{chunk.MTIPIEXA.js → chunk.3LNZRQAL.js} +2 -2
- package/dist/esm/chunks/{chunk.BQ52JYLA.js → chunk.3LUG3LPU.js} +2 -2
- package/dist/esm/chunks/{chunk.IL4S57WO.js → chunk.3ODT27TD.js} +2 -2
- package/dist/esm/chunks/chunk.3S3NH5P4.js +7 -0
- package/dist/esm/chunks/chunk.3S3NH5P4.js.map +7 -0
- package/dist/esm/chunks/{chunk.A2NB7CIK.js → chunk.45N7ZZVL.js} +2 -2
- package/dist/esm/chunks/{chunk.YWJVZVZX.js → chunk.4GFUXXXH.js} +2 -2
- package/dist/esm/chunks/chunk.4UMFAYZH.js +7 -0
- package/dist/esm/chunks/chunk.4UMFAYZH.js.map +7 -0
- package/dist/esm/chunks/{chunk.ZA7JY3AY.js → chunk.5DDR6QSF.js} +2 -2
- package/dist/esm/chunks/{chunk.3KAKJGUS.js → chunk.5NEWFXFX.js} +2 -2
- package/dist/esm/chunks/{chunk.VRSPT7WX.js → chunk.5OT53ZJM.js} +2 -2
- package/dist/esm/chunks/{chunk.EHVCEEV2.js → chunk.6DWRGYKV.js} +2 -2
- package/dist/esm/chunks/{chunk.IEABOPNB.js → chunk.6T7KPDCD.js} +2 -2
- package/dist/esm/chunks/chunk.6TQDZAMD.js +7 -0
- package/dist/esm/chunks/chunk.6TQDZAMD.js.map +7 -0
- package/dist/esm/chunks/chunk.6V6VLKIK.js +7 -0
- package/dist/esm/chunks/chunk.6V6VLKIK.js.map +7 -0
- package/dist/esm/chunks/{chunk.SROEDYPL.js → chunk.7JO5MB55.js} +2 -2
- package/dist/esm/chunks/{chunk.3IUQ4C47.js → chunk.7TE74NJZ.js} +2 -2
- package/dist/esm/chunks/{chunk.AGLI4WR4.js → chunk.AJLS5C7O.js} +2 -2
- package/dist/esm/chunks/{chunk.KTPEFU7V.js → chunk.BURDWL57.js} +2 -2
- package/dist/esm/chunks/chunk.BYSMPFWQ.js +7 -0
- package/dist/esm/chunks/chunk.BYSMPFWQ.js.map +7 -0
- package/dist/esm/chunks/{chunk.BHE6Z5Y2.js → chunk.CQ4XBOX5.js} +2 -2
- package/dist/esm/chunks/{chunk.NEQX2QVX.js → chunk.DJQXJO3T.js} +2 -2
- package/dist/esm/chunks/chunk.DN6Y3VXC.js +7 -0
- package/dist/esm/chunks/{chunk.RLQB7224.js.map → chunk.DN6Y3VXC.js.map} +2 -2
- package/dist/esm/chunks/{chunk.XTJGWT5F.js → chunk.DPJJB67L.js} +2 -2
- package/dist/esm/chunks/{chunk.7Y3BUR7Q.js → chunk.EBRMG6N3.js} +2 -2
- package/dist/esm/chunks/{chunk.7Y3BUR7Q.js.map → chunk.EBRMG6N3.js.map} +2 -2
- package/dist/esm/chunks/chunk.EPMDEQF7.js +7 -0
- package/dist/esm/chunks/chunk.EPMDEQF7.js.map +7 -0
- package/dist/esm/chunks/{chunk.OOAJHLW4.js → chunk.EZIABLIR.js} +2 -2
- package/dist/esm/chunks/{chunk.ZG6YF2HI.js → chunk.F53DSRUO.js} +2 -2
- package/dist/esm/chunks/{chunk.7AAICE77.js → chunk.FIO22U2C.js} +2 -2
- package/dist/esm/chunks/{chunk.U6J4VHU6.js → chunk.FKMTIOBA.js} +2 -2
- package/dist/esm/chunks/chunk.FMDUCGOU.js +7 -0
- package/dist/esm/chunks/{chunk.5A665C5E.js.map → chunk.FMDUCGOU.js.map} +1 -1
- package/dist/esm/chunks/{chunk.W4HANHUO.js → chunk.FMGBPF7B.js} +2 -2
- package/dist/esm/chunks/{chunk.5MB6CTBA.js → chunk.FVFPDWA4.js} +2 -2
- package/dist/esm/chunks/{chunk.ENUKGA2U.js → chunk.FYPIHFXD.js} +2 -2
- package/dist/esm/chunks/chunk.GNQ24XWK.js +7 -0
- package/dist/esm/chunks/chunk.GNQ24XWK.js.map +7 -0
- package/dist/esm/chunks/chunk.GP6LHJDA.js +7 -0
- package/dist/esm/chunks/chunk.GP6LHJDA.js.map +7 -0
- package/dist/esm/chunks/{chunk.CE35CVDV.js → chunk.GQ33JZVE.js} +2 -2
- package/dist/esm/chunks/{chunk.5ADUSMC7.js → chunk.GUBLRHCG.js} +2 -2
- package/dist/esm/chunks/{chunk.473WRJ5G.js → chunk.HJUXBSFZ.js} +2 -2
- package/dist/esm/chunks/chunk.HJUXBSFZ.js.map +7 -0
- package/dist/esm/chunks/{chunk.37B332ZK.js → chunk.HSNVTV7K.js} +2 -2
- package/dist/esm/chunks/{chunk.PC6TW5XE.js → chunk.HXNNWUI3.js} +2 -2
- package/dist/esm/chunks/{chunk.QCPV5DEG.js → chunk.IOGCI64X.js} +2 -2
- package/dist/esm/chunks/chunk.JB2F2HQE.js +7 -0
- package/dist/esm/chunks/chunk.JB2F2HQE.js.map +7 -0
- package/dist/esm/chunks/chunk.JGPWKCAU.js +7 -0
- package/dist/esm/chunks/chunk.JGPWKCAU.js.map +7 -0
- package/dist/esm/chunks/chunk.JU76GN6C.js +7 -0
- package/dist/esm/chunks/{chunk.KLU54MDQ.js.map → chunk.JU76GN6C.js.map} +2 -2
- package/dist/esm/chunks/chunk.K7I5FWBT.js +7 -0
- package/dist/esm/chunks/chunk.K7I5FWBT.js.map +7 -0
- package/dist/esm/chunks/{chunk.5UOX22ML.js → chunk.KKVQNKMV.js} +2 -2
- package/dist/esm/chunks/{chunk.YPNSK2CK.js → chunk.KW5A2U5U.js} +2 -2
- package/dist/esm/chunks/chunk.L6L3CPBH.js +7 -0
- package/dist/esm/chunks/chunk.L6L3CPBH.js.map +7 -0
- package/dist/esm/chunks/{chunk.KO6ODCZC.js → chunk.LIJE4T3D.js} +2 -2
- package/dist/esm/chunks/{chunk.KEOLH7G3.js → chunk.LQN5U4QH.js} +2 -2
- package/dist/esm/chunks/{chunk.24SQJBSQ.js → chunk.LSUIJDFO.js} +2 -2
- package/dist/esm/chunks/{chunk.77C7S7ZS.js → chunk.N65CAIE5.js} +2 -2
- package/dist/esm/chunks/{chunk.UKBE2FMZ.js → chunk.NNLZKMFX.js} +2 -2
- package/dist/esm/chunks/{chunk.EO3GP6DP.js → chunk.ON6FFHRE.js} +2 -2
- package/dist/esm/chunks/{chunk.OVXEOEJF.js → chunk.ONFZ3H7M.js} +2 -2
- package/dist/esm/chunks/{chunk.XATVDHDW.js → chunk.OVVBXM6K.js} +2 -2
- package/dist/esm/chunks/{chunk.FLBYVCQ6.js → chunk.P3Q3IVVX.js} +2 -2
- package/dist/esm/chunks/{chunk.FLBYVCQ6.js.map → chunk.P3Q3IVVX.js.map} +2 -2
- package/dist/esm/chunks/{chunk.DKERDHXH.js → chunk.P74RZEWP.js} +2 -2
- package/dist/esm/chunks/{chunk.QLGJS37N.js → chunk.PBORL6KX.js} +2 -2
- package/dist/esm/chunks/chunk.PDJ2H5ZG.js +7 -0
- package/dist/esm/chunks/{chunk.UPSXYWPD.js.map → chunk.PDJ2H5ZG.js.map} +3 -3
- package/dist/esm/chunks/{chunk.JGURMVW7.js → chunk.PGMOAILY.js} +2 -2
- package/dist/esm/chunks/{chunk.OEI35LFU.js → chunk.PKCMTSWR.js} +2 -2
- package/dist/esm/chunks/{chunk.QUXMLWBJ.js → chunk.Q3Z6VZUD.js} +2 -2
- package/dist/esm/chunks/{chunk.TQWZDM6T.js → chunk.QBHJFCLL.js} +2 -2
- package/dist/esm/chunks/{chunk.WXVVOFNK.js → chunk.QDG6TP2Z.js} +2 -2
- package/dist/esm/chunks/{chunk.H5RW3A4M.js → chunk.QH27OIAK.js} +2 -2
- package/dist/esm/chunks/chunk.QKCPE4LW.js +7 -0
- package/dist/esm/chunks/{chunk.2GUWHBUU.js → chunk.QM32CJAX.js} +2 -2
- package/dist/esm/chunks/{chunk.2GUWHBUU.js.map → chunk.QM32CJAX.js.map} +2 -2
- package/dist/esm/chunks/{chunk.FLF5RTYO.js → chunk.R2CJMM2F.js} +2 -2
- package/dist/esm/chunks/{chunk.IQYOLMPG.js → chunk.RGDLRUSM.js} +2 -2
- package/dist/esm/chunks/{chunk.QIZBZGYT.js → chunk.RKPWFEFJ.js} +2 -2
- package/dist/esm/chunks/{chunk.RXBLU4OJ.js → chunk.S5EU72NR.js} +2 -2
- package/dist/esm/chunks/chunk.SJYEDGBN.js +7 -0
- package/dist/esm/chunks/chunk.SJYEDGBN.js.map +7 -0
- package/dist/esm/chunks/{chunk.T7NWP7DB.js → chunk.SW6JDC2Y.js} +2 -2
- package/dist/esm/chunks/{chunk.7IPAW4D2.js → chunk.TAQRHBGS.js} +2 -2
- package/dist/esm/chunks/{chunk.MFQRXVKO.js → chunk.TEZFEC5B.js} +2 -2
- package/dist/esm/chunks/{chunk.MX4JX4GT.js → chunk.THIUQ2AU.js} +2 -2
- package/dist/esm/chunks/{chunk.JE5LSPXG.js → chunk.TQMT7BIZ.js} +2 -2
- package/dist/esm/chunks/{chunk.GIENHEMN.js → chunk.TR45SGWL.js} +2 -2
- package/dist/esm/chunks/chunk.TZHVZMOB.js +12 -0
- package/dist/esm/chunks/chunk.TZHVZMOB.js.map +7 -0
- package/dist/esm/chunks/{chunk.CFAI4K3E.js → chunk.UBVWYWO7.js} +2 -2
- package/dist/esm/chunks/{chunk.NWVQ5HK2.js → chunk.UHPODZWA.js} +2 -2
- package/dist/esm/chunks/{chunk.3PMONORO.js → chunk.V4R7FCZ2.js} +2 -2
- package/dist/esm/chunks/chunk.V5YGDB7V.js +7 -0
- package/dist/esm/chunks/{chunk.ISLJNJEE.js.map → chunk.V5YGDB7V.js.map} +2 -2
- package/dist/esm/chunks/chunk.VAE5IFEM.js +7 -0
- package/dist/esm/chunks/{chunk.GBAVJILM.js.map → chunk.VAE5IFEM.js.map} +4 -4
- package/dist/esm/chunks/{chunk.QTY25OTN.js → chunk.VCASLYVR.js} +2 -2
- package/dist/esm/chunks/{chunk.QTY25OTN.js.map → chunk.VCASLYVR.js.map} +2 -2
- package/dist/esm/chunks/chunk.W4CL56G7.js +7 -0
- package/dist/esm/chunks/{chunk.BQZKOIAW.js.map → chunk.W4CL56G7.js.map} +2 -2
- package/dist/esm/chunks/{chunk.BEFAXPXJ.js → chunk.WNX3GGYT.js} +2 -2
- package/dist/esm/chunks/chunk.X4NHJE7S.js +7 -0
- package/dist/esm/chunks/chunk.X4NHJE7S.js.map +7 -0
- package/dist/esm/chunks/{chunk.I7YON2TC.js → chunk.X5MI5OFS.js} +2 -2
- package/dist/esm/chunks/{chunk.QKTK5XUE.js → chunk.XHRBFPZ2.js} +2 -2
- package/dist/esm/chunks/{chunk.ASLHRT3N.js → chunk.XT6RPXTM.js} +2 -2
- package/dist/esm/chunks/{chunk.VGIRVTBJ.js → chunk.XWVFJVBN.js} +2 -2
- package/dist/esm/chunks/{chunk.YNCTSMT6.js → chunk.YXFGOJ5Z.js} +2 -2
- package/dist/esm/chunks/chunk.YZ26YDCO.js +7 -0
- package/dist/esm/chunks/{chunk.A7BCLPP4.js.map → chunk.YZ26YDCO.js.map} +2 -2
- package/dist/esm/chunks/chunk.Z6G2RUC2.js +7 -0
- package/dist/esm/chunks/chunk.Z6G2RUC2.js.map +7 -0
- package/dist/esm/chunks/{chunk.K6GJNDTY.js → chunk.Z7IUKJHZ.js} +2 -2
- package/dist/esm/chunks/{chunk.K6GJNDTY.js.map → chunk.Z7IUKJHZ.js.map} +1 -1
- package/dist/esm/chunks/{chunk.GG7IQL46.js → chunk.ZPH3TMNA.js} +2 -2
- package/dist/esm/chunks/chunk.ZSHPKAXP.js +7 -0
- package/dist/esm/chunks/chunk.ZSHPKAXP.js.map +7 -0
- package/dist/esm/chunks/{chunk.CEGBMUSR.js → chunk.ZWELGTD7.js} +2 -2
- package/dist/esm/circular-progress/index.js +1 -1
- package/dist/esm/color-picker/index.js +1 -1
- package/dist/esm/core/index.js +1 -1
- package/dist/esm/date-picker/index.js +1 -1
- package/dist/esm/date-range-picker/index.js +1 -1
- package/dist/esm/deprecated/button/index.js +1 -1
- package/dist/esm/deprecated/icon-button/index.js +7 -0
- package/dist/esm/deprecated/index.js +1 -1
- package/dist/esm/dialog/index.js +1 -1
- package/dist/esm/divider/index.js +1 -1
- package/dist/esm/drawer/drawer/index.js +1 -1
- package/dist/esm/drawer/index.js +1 -1
- package/dist/esm/drawer/mini-drawer/index.js +1 -1
- package/dist/esm/drawer/modal-drawer/index.js +1 -1
- package/dist/esm/expansion-panel/index.js +1 -1
- package/dist/esm/field/index.js +1 -1
- package/dist/esm/file-picker/index.js +1 -1
- package/dist/esm/floating-action-button/index.js +1 -1
- package/dist/esm/focus-indicator/index.js +1 -1
- package/dist/esm/icon/index.js +1 -1
- package/dist/esm/icon-button/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inline-message/index.js +1 -1
- package/dist/esm/keyboard-shortcut/index.js +1 -1
- package/dist/esm/label/index.js +1 -1
- package/dist/esm/label-value/index.js +1 -1
- package/dist/esm/linear-progress/index.js +1 -1
- package/dist/esm/list/index.js +1 -1
- package/dist/esm/list/list/index.js +1 -1
- package/dist/esm/list/list-item/index.js +1 -1
- package/dist/esm/list-dropdown/index.js +1 -1
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/open-icon/index.js +1 -1
- package/dist/esm/overlay/index.js +1 -1
- package/dist/esm/page-state/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/popover/index.js +1 -1
- package/dist/esm/profile-card/index.js +1 -1
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/radio/radio/index.js +1 -1
- package/dist/esm/radio/radio-group/index.js +1 -1
- package/dist/esm/scaffold/index.js +1 -1
- package/dist/esm/select/core/index.js +1 -1
- package/dist/esm/select/index.js +1 -1
- package/dist/esm/select/option/index.js +1 -1
- package/dist/esm/select/option-group/index.js +1 -1
- package/dist/esm/select/select/index.js +1 -1
- package/dist/esm/select/select-dropdown/index.js +1 -1
- package/dist/esm/skeleton/index.js +1 -1
- package/dist/esm/slider/index.js +1 -1
- package/dist/esm/split-button/index.js +1 -1
- package/dist/esm/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view-panel/index.js +1 -1
- package/dist/esm/stack/index.js +1 -1
- package/dist/esm/state-layer/index.js +1 -1
- package/dist/esm/stepper/index.js +1 -1
- package/dist/esm/stepper/step/index.js +1 -1
- package/dist/esm/stepper/stepper/index.js +1 -1
- package/dist/esm/switch/index.js +1 -1
- package/dist/esm/table/index.js +1 -1
- package/dist/esm/tabs/index.js +1 -1
- package/dist/esm/tabs/tab/index.js +1 -1
- package/dist/esm/tabs/tab-bar/index.js +1 -1
- package/dist/esm/text-field/index.js +1 -1
- package/dist/esm/time-picker/index.js +1 -1
- package/dist/esm/toast/index.js +1 -1
- package/dist/esm/toolbar/index.js +1 -1
- package/dist/esm/tooltip/index.js +1 -1
- package/dist/esm/utils/index.js +1 -1
- package/dist/esm/view-switcher/index.js +1 -1
- package/dist/esm/view-switcher/view/index.js +1 -1
- package/dist/forge-dark.css +1 -1
- package/dist/forge-tokens.css +6 -0
- package/dist/forge.css +1 -1
- package/dist/table/forge-table.css +1 -1
- package/dist/theme/forge-theme.css +1 -1
- package/dist/typography/forge-typography.css +1 -1
- package/esm/app-bar/search/app-bar-search.d.ts +3 -3
- package/esm/app-bar/search/app-bar-search.js +3 -3
- package/esm/avatar/avatar-constants.d.ts +0 -1
- package/esm/avatar/avatar-constants.js +0 -2
- package/esm/bottom-sheet/bottom-sheet-adapter.d.ts +26 -42
- package/esm/bottom-sheet/bottom-sheet-adapter.js +46 -85
- package/esm/bottom-sheet/bottom-sheet-constants.d.ts +16 -13
- package/esm/bottom-sheet/bottom-sheet-constants.js +24 -27
- package/esm/bottom-sheet/bottom-sheet-foundation.d.ts +17 -43
- package/esm/bottom-sheet/bottom-sheet-foundation.js +106 -213
- package/esm/bottom-sheet/bottom-sheet.d.ts +42 -29
- package/esm/bottom-sheet/bottom-sheet.js +52 -41
- package/esm/calendar/calendar-constants.d.ts +0 -1
- package/esm/calendar/calendar-constants.js +0 -1
- package/esm/calendar/calendar-dom-utils.js +10 -4
- package/esm/calendar/calendar-menu/calendar-menu-adapter.js +9 -2
- package/esm/calendar/calendar-menu/calendar-menu-constants.d.ts +0 -1
- package/esm/calendar/calendar-menu/calendar-menu-constants.js +0 -1
- package/esm/calendar/calendar-menu/calendar-menu-utils.js +10 -0
- package/esm/calendar/calendar-menu/calendar-menu.js +8 -2
- package/esm/calendar/calendar.js +6 -2
- package/esm/checkbox/checkbox-foundation.js +9 -9
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/color-picker/color-picker.js +1 -1
- package/esm/deprecated/icon-button/deprecated-icon-button-component-delegate.d.ts +38 -0
- package/esm/deprecated/icon-button/deprecated-icon-button-component-delegate.js +93 -0
- package/esm/deprecated/icon-button/deprecated-icon-button-constants.d.ts +28 -0
- package/esm/deprecated/icon-button/deprecated-icon-button-constants.js +28 -0
- package/esm/deprecated/icon-button/deprecated-icon-button.d.ts +62 -0
- package/esm/deprecated/icon-button/deprecated-icon-button.js +208 -0
- package/esm/deprecated/icon-button/index.d.ts +12 -0
- package/esm/deprecated/icon-button/index.js +16 -0
- package/esm/dialog/dialog.js +1 -1
- package/esm/drawer/drawer/drawer.js +1 -1
- package/esm/drawer/mini-drawer/mini-drawer.js +1 -1
- package/esm/drawer/modal-drawer/modal-drawer.js +1 -1
- package/esm/field/field.js +1 -1
- package/esm/index.d.ts +1 -3
- package/esm/index.js +4 -8
- package/esm/list/list/list.js +1 -1
- package/esm/list/list-item/list-item-adapter.js +4 -0
- package/esm/list/list-item/list-item.d.ts +6 -4
- package/esm/list/list-item/list-item.js +7 -5
- package/esm/open-icon/index.d.ts +0 -2
- package/esm/open-icon/index.js +0 -2
- package/esm/open-icon/open-icon-constants.d.ts +10 -6
- package/esm/open-icon/open-icon-constants.js +9 -11
- package/esm/open-icon/open-icon.d.ts +37 -12
- package/esm/open-icon/open-icon.js +67 -22
- package/esm/paginator/paginator-adapter.d.ts +19 -52
- package/esm/paginator/paginator-adapter.js +25 -106
- package/esm/paginator/paginator-constants.d.ts +22 -35
- package/esm/paginator/paginator-constants.js +17 -40
- package/esm/paginator/paginator-foundation.d.ts +10 -12
- package/esm/paginator/paginator-foundation.js +39 -51
- package/esm/paginator/paginator.d.ts +4 -7
- package/esm/paginator/paginator.js +24 -45
- package/esm/popover/popover.js +1 -1
- package/esm/profile-card/profile-card.js +1 -1
- package/esm/radio/radio/radio-foundation.js +2 -2
- package/esm/radio/radio/radio.js +1 -1
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/stepper/step/step.js +1 -1
- package/esm/switch/switch-foundation.js +6 -6
- package/esm/switch/switch.js +1 -1
- package/esm/table/table-constants.d.ts +1 -0
- package/esm/table/table-constants.js +4 -3
- package/esm/table/table-foundation.js +2 -2
- package/esm/table/table-utils.js +31 -14
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/utils/color-utils.d.ts +0 -4
- package/esm/utils/color-utils.js +0 -19
- package/esm/view-switcher/view-switcher.js +1 -1
- package/package.json +1 -12
- package/styles/bottom-sheet/_core.scss +19 -0
- package/styles/bottom-sheet/_token-utils.scss +30 -0
- package/styles/bottom-sheet/bottom-sheet.scss +59 -3
- package/styles/{color-picker/_variables.scss → bottom-sheet/index.scss} +1 -1
- package/styles/calendar/_mixins.scss +33 -56
- package/styles/calendar/_variables.scss +39 -39
- package/styles/calendar/calendar-menu/_mixins.scss +25 -84
- package/styles/color-picker/_mixins.scss +15 -21
- package/styles/color-picker/color-picker.scss +0 -1
- package/styles/core/styles/animation/index.scss +22 -0
- package/styles/core/styles/border/index.scss +10 -1
- package/styles/core/styles/elevation/index.scss +19 -26
- package/styles/core/styles/shape/index.scss +9 -0
- package/styles/core/styles/spacing/index.scss +9 -0
- package/styles/core/styles/theme/index.scss +2 -13
- package/styles/core/styles/tokens/bottom-sheet/_tokens.scss +21 -0
- package/styles/core/styles/tokens/checkbox/_tokens.scss +1 -1
- package/styles/core/styles/tokens/elevation/_tokens.scss +35 -84
- package/styles/core/styles/tokens/list/list/_tokens.scss +14 -1
- package/styles/core/styles/tokens/list/list-item/_tokens.scss +6 -6
- package/styles/core/styles/tokens/open-icon/_tokens.scss +25 -0
- package/styles/core/styles/tokens/popover/_tokens.scss +1 -1
- package/styles/core/styles/tokens/radio/_tokens.scss +1 -1
- package/styles/core/styles/tokens/switch/_tokens.scss +1 -1
- package/styles/core/styles/tokens/theme/_tokens.core.scss +60 -30
- package/styles/core/styles/tokens/theme/_tokens.scss +1 -48
- package/styles/core/styles/tokens/theme/_tokens.status.scss +78 -32
- package/styles/core/styles/tokens/theme/_tokens.surface.scss +33 -51
- package/styles/core/styles/tokens/theme/_tokens.text.scss +20 -26
- package/styles/core/styles/tokens/theme/_tokens.utilities.scss +13 -23
- package/styles/core/styles/tokens/tooltip/_tokens.scss +1 -1
- package/styles/deprecated/icon-button/deprecated-icon-button.scss +114 -0
- package/styles/dialog/_core.scss +3 -1
- package/styles/dialog/dialog.scss +1 -1
- package/styles/drawer/base/_mixins.scss +11 -10
- package/styles/drawer/base/_variables.scss +6 -5
- package/styles/drawer/drawer/_variables.scss +6 -5
- package/styles/drawer/mini-drawer/_mixins.scss +11 -14
- package/styles/drawer/modal-drawer/_mixins.scss +4 -9
- package/styles/field/_core.variant.scss +0 -1
- package/styles/forge-tokens.scss +40 -0
- package/styles/forge.scss +1 -10
- package/styles/linear-progress/_core.scss +0 -1
- package/styles/list/list/list.scss +23 -7
- package/styles/list/list-item/_core.scss +10 -10
- package/styles/list/list-item/list-item.scss +4 -4
- package/styles/open-icon/_core.scss +26 -0
- package/styles/open-icon/_token-utils.scss +30 -0
- package/styles/{paginator/_variables.scss → open-icon/index.scss} +1 -1
- package/styles/open-icon/open-icon.scss +75 -3
- package/styles/paginator/_core.scss +42 -0
- package/styles/{typography/_index.scss → paginator/index.scss} +1 -2
- package/styles/paginator/paginator.scss +49 -5
- package/styles/profile-card/profile-card.scss +0 -1
- package/styles/split-view/split-view/_mixins.scss +0 -2
- package/styles/split-view/split-view-panel/_mixins.scss +12 -16
- package/styles/split-view/split-view-panel/_variables.scss +0 -1
- package/styles/table/_core.scss +333 -0
- package/styles/table/_variables.scss +22 -37
- package/styles/table/forge-table.scss +217 -3
- package/styles/{theme/_index.scss → table/index.scss} +1 -2
- package/styles/theme/_theme-dark.scss +0 -5
- package/styles/theme/forge-theme.scss +0 -7
- package/styles/typography/forge-typography.scss +0 -3
- package/styles/view-switcher/_mixins.scss +8 -8
- package/dist/busy-indicator/forge-busy-indicator.css +0 -6
- package/dist/esm/busy-indicator/index.js +0 -7
- package/dist/esm/chunks/chunk.3CTKWBV2.js +0 -7
- package/dist/esm/chunks/chunk.3CTKWBV2.js.map +0 -7
- package/dist/esm/chunks/chunk.5A665C5E.js +0 -7
- package/dist/esm/chunks/chunk.6E5WHIPF.js +0 -7
- package/dist/esm/chunks/chunk.6E5WHIPF.js.map +0 -7
- package/dist/esm/chunks/chunk.6VS3LYAF.js +0 -7
- package/dist/esm/chunks/chunk.6VS3LYAF.js.map +0 -7
- package/dist/esm/chunks/chunk.A7BCLPP4.js +0 -7
- package/dist/esm/chunks/chunk.AFWWND2C.js +0 -7
- package/dist/esm/chunks/chunk.AFWWND2C.js.map +0 -7
- package/dist/esm/chunks/chunk.BQZKOIAW.js +0 -7
- package/dist/esm/chunks/chunk.BV7EAQST.js +0 -7
- package/dist/esm/chunks/chunk.BV7EAQST.js.map +0 -7
- package/dist/esm/chunks/chunk.CGFSMACZ.js +0 -7
- package/dist/esm/chunks/chunk.CGFSMACZ.js.map +0 -7
- package/dist/esm/chunks/chunk.DZJ6HBAG.js +0 -7
- package/dist/esm/chunks/chunk.DZJ6HBAG.js.map +0 -7
- package/dist/esm/chunks/chunk.E2BE52ME.js +0 -7
- package/dist/esm/chunks/chunk.E2BE52ME.js.map +0 -7
- package/dist/esm/chunks/chunk.EUJBIOGT.js +0 -7
- package/dist/esm/chunks/chunk.EUJBIOGT.js.map +0 -7
- package/dist/esm/chunks/chunk.GBAVJILM.js +0 -7
- package/dist/esm/chunks/chunk.HG4IDRAC.js +0 -7
- package/dist/esm/chunks/chunk.HG4IDRAC.js.map +0 -7
- package/dist/esm/chunks/chunk.ISLJNJEE.js +0 -7
- package/dist/esm/chunks/chunk.KLU54MDQ.js +0 -7
- package/dist/esm/chunks/chunk.LGSCBWNR.js +0 -7
- package/dist/esm/chunks/chunk.LGSCBWNR.js.map +0 -7
- package/dist/esm/chunks/chunk.LSMHIVX2.js +0 -7
- package/dist/esm/chunks/chunk.LSMHIVX2.js.map +0 -7
- package/dist/esm/chunks/chunk.O5WAQQNR.js +0 -7
- package/dist/esm/chunks/chunk.O5WAQQNR.js.map +0 -7
- package/dist/esm/chunks/chunk.PFIIBXTS.js +0 -7
- package/dist/esm/chunks/chunk.PFIIBXTS.js.map +0 -7
- package/dist/esm/chunks/chunk.Q7TBWGKN.js +0 -12
- package/dist/esm/chunks/chunk.Q7TBWGKN.js.map +0 -7
- package/dist/esm/chunks/chunk.QVATEY5S.js +0 -7
- package/dist/esm/chunks/chunk.QVATEY5S.js.map +0 -7
- package/dist/esm/chunks/chunk.RFT3BAJ2.js +0 -7
- package/dist/esm/chunks/chunk.RFT3BAJ2.js.map +0 -7
- package/dist/esm/chunks/chunk.RKIJTSSL.js +0 -7
- package/dist/esm/chunks/chunk.RKIJTSSL.js.map +0 -7
- package/dist/esm/chunks/chunk.RLQB7224.js +0 -7
- package/dist/esm/chunks/chunk.RONMNRSH.js +0 -7
- package/dist/esm/chunks/chunk.RONMNRSH.js.map +0 -7
- package/dist/esm/chunks/chunk.RSYEG2RW.js +0 -7
- package/dist/esm/chunks/chunk.RSYEG2RW.js.map +0 -7
- package/dist/esm/chunks/chunk.UPSXYWPD.js +0 -7
- package/dist/esm/chunks/chunk.W6FT6MKN.js +0 -7
- package/dist/esm/chunks/chunk.W6FT6MKN.js.map +0 -7
- package/dist/esm/chunks/chunk.YRAEFQJW.js +0 -7
- package/dist/esm/chunks/chunk.YRAEFQJW.js.map +0 -7
- package/dist/esm/quantity-field/index.js +0 -7
- package/dist/esm/quantity-field/index.js.map +0 -7
- package/dist/esm/theme/index.js +0 -7
- package/dist/esm/theme/index.js.map +0 -7
- package/dist/quantity-field/forge-quantity-field.css +0 -6
- package/dist/typography/forge-typography-legacy.css +0 -6
- package/dist/utils/forge-utils.css +0 -6
- package/esm/busy-indicator/busy-indicator-adapter.d.ts +0 -155
- package/esm/busy-indicator/busy-indicator-adapter.js +0 -203
- package/esm/busy-indicator/busy-indicator-constants.d.ts +0 -49
- package/esm/busy-indicator/busy-indicator-constants.js +0 -58
- package/esm/busy-indicator/busy-indicator-foundation.d.ts +0 -97
- package/esm/busy-indicator/busy-indicator-foundation.js +0 -268
- package/esm/busy-indicator/busy-indicator.d.ts +0 -77
- package/esm/busy-indicator/busy-indicator.js +0 -115
- package/esm/busy-indicator/index.d.ts +0 -10
- package/esm/busy-indicator/index.js +0 -14
- package/esm/open-icon/open-icon-adapter.d.ts +0 -18
- package/esm/open-icon/open-icon-adapter.js +0 -27
- package/esm/open-icon/open-icon-foundation.d.ts +0 -22
- package/esm/open-icon/open-icon-foundation.js +0 -35
- package/esm/quantity-field/index.d.ts +0 -11
- package/esm/quantity-field/index.js +0 -15
- package/esm/quantity-field/quantity-field-adapter.d.ts +0 -77
- package/esm/quantity-field/quantity-field-adapter.js +0 -221
- package/esm/quantity-field/quantity-field-component-delegate.d.ts +0 -44
- package/esm/quantity-field/quantity-field-component-delegate.js +0 -129
- package/esm/quantity-field/quantity-field-constants.d.ts +0 -35
- package/esm/quantity-field/quantity-field-constants.js +0 -41
- package/esm/quantity-field/quantity-field-foundation.d.ts +0 -36
- package/esm/quantity-field/quantity-field-foundation.js +0 -100
- package/esm/quantity-field/quantity-field.d.ts +0 -34
- package/esm/quantity-field/quantity-field.js +0 -100
- package/esm/theme/color-constants.d.ts +0 -313
- package/esm/theme/color-constants.js +0 -363
- package/esm/theme/index.d.ts +0 -7
- package/esm/theme/index.js +0 -7
- package/esm/theme/theme-utils.d.ts +0 -9
- package/esm/theme/theme-utils.js +0 -68
- package/styles/bottom-sheet/_mixins.scss +0 -93
- package/styles/bottom-sheet/_variables.scss +0 -7
- package/styles/busy-indicator/_mixins.scss +0 -185
- package/styles/busy-indicator/_variables.scss +0 -9
- package/styles/busy-indicator/busy-indicator.scss +0 -22
- package/styles/busy-indicator/forge-busy-indicator.scss +0 -8
- package/styles/open-icon/_mixins.scss +0 -39
- package/styles/open-icon/_variables.scss +0 -8
- package/styles/paginator/_mixins.scss +0 -136
- package/styles/quantity-field/_mixins.scss +0 -116
- package/styles/quantity-field/forge-quantity-field.scss +0 -18
- package/styles/quantity-field/quantity-field.scss +0 -16
- package/styles/table/_mixins.scss +0 -547
- package/styles/theme/_custom-properties.scss +0 -311
- package/styles/theme/_keys.scss +0 -477
- package/styles/theme/_theme-utils.scss +0 -23
- package/styles/theme/_theme-values.scss +0 -246
- package/styles/theme/_theme.scss +0 -279
- package/styles/typography/_mixins.scss +0 -73
- package/styles/typography/_variables.scss +0 -100
- package/styles/typography/forge-typography-legacy.scss +0 -8
- package/styles/utils/forge-utils.scss +0 -45
- /package/dist/esm/chunks/{chunk.AOVXNX7P.js.map → chunk.24L6GVJK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WMJSYYXQ.js.map → chunk.27YQZWEJ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AG6IRMLZ.js.map → chunk.2CP5CIRB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.H4VQXV2H.js.map → chunk.3CXCYRCE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MTIPIEXA.js.map → chunk.3LNZRQAL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BQ52JYLA.js.map → chunk.3LUG3LPU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IL4S57WO.js.map → chunk.3ODT27TD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.A2NB7CIK.js.map → chunk.45N7ZZVL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YWJVZVZX.js.map → chunk.4GFUXXXH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZA7JY3AY.js.map → chunk.5DDR6QSF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3KAKJGUS.js.map → chunk.5NEWFXFX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VRSPT7WX.js.map → chunk.5OT53ZJM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.EHVCEEV2.js.map → chunk.6DWRGYKV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IEABOPNB.js.map → chunk.6T7KPDCD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SROEDYPL.js.map → chunk.7JO5MB55.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3IUQ4C47.js.map → chunk.7TE74NJZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AGLI4WR4.js.map → chunk.AJLS5C7O.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KTPEFU7V.js.map → chunk.BURDWL57.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BHE6Z5Y2.js.map → chunk.CQ4XBOX5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NEQX2QVX.js.map → chunk.DJQXJO3T.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XTJGWT5F.js.map → chunk.DPJJB67L.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OOAJHLW4.js.map → chunk.EZIABLIR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZG6YF2HI.js.map → chunk.F53DSRUO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7AAICE77.js.map → chunk.FIO22U2C.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.U6J4VHU6.js.map → chunk.FKMTIOBA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.W4HANHUO.js.map → chunk.FMGBPF7B.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5MB6CTBA.js.map → chunk.FVFPDWA4.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ENUKGA2U.js.map → chunk.FYPIHFXD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CE35CVDV.js.map → chunk.GQ33JZVE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5ADUSMC7.js.map → chunk.GUBLRHCG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.37B332ZK.js.map → chunk.HSNVTV7K.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PC6TW5XE.js.map → chunk.HXNNWUI3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.77C7S7ZS.js.map → chunk.IOGCI64X.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5UOX22ML.js.map → chunk.KKVQNKMV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YPNSK2CK.js.map → chunk.KW5A2U5U.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KO6ODCZC.js.map → chunk.LIJE4T3D.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KEOLH7G3.js.map → chunk.LQN5U4QH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.24SQJBSQ.js.map → chunk.LSUIJDFO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QCPV5DEG.js.map → chunk.N65CAIE5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UKBE2FMZ.js.map → chunk.NNLZKMFX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.EO3GP6DP.js.map → chunk.ON6FFHRE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OVXEOEJF.js.map → chunk.ONFZ3H7M.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XATVDHDW.js.map → chunk.OVVBXM6K.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.DKERDHXH.js.map → chunk.P74RZEWP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QLGJS37N.js.map → chunk.PBORL6KX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.JGURMVW7.js.map → chunk.PGMOAILY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OEI35LFU.js.map → chunk.PKCMTSWR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QUXMLWBJ.js.map → chunk.Q3Z6VZUD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.TQWZDM6T.js.map → chunk.QBHJFCLL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WXVVOFNK.js.map → chunk.QDG6TP2Z.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.H5RW3A4M.js.map → chunk.QH27OIAK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.473WRJ5G.js.map → chunk.QKCPE4LW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.FLF5RTYO.js.map → chunk.R2CJMM2F.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IQYOLMPG.js.map → chunk.RGDLRUSM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QIZBZGYT.js.map → chunk.RKPWFEFJ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RXBLU4OJ.js.map → chunk.S5EU72NR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.T7NWP7DB.js.map → chunk.SW6JDC2Y.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7IPAW4D2.js.map → chunk.TAQRHBGS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MFQRXVKO.js.map → chunk.TEZFEC5B.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MX4JX4GT.js.map → chunk.THIUQ2AU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.JE5LSPXG.js.map → chunk.TQMT7BIZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.GIENHEMN.js.map → chunk.TR45SGWL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CFAI4K3E.js.map → chunk.UBVWYWO7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NWVQ5HK2.js.map → chunk.UHPODZWA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3PMONORO.js.map → chunk.V4R7FCZ2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BEFAXPXJ.js.map → chunk.WNX3GGYT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.I7YON2TC.js.map → chunk.X5MI5OFS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QKTK5XUE.js.map → chunk.XHRBFPZ2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ASLHRT3N.js.map → chunk.XT6RPXTM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VGIRVTBJ.js.map → chunk.XWVFJVBN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YNCTSMT6.js.map → chunk.YXFGOJ5Z.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.GG7IQL46.js.map → chunk.ZPH3TMNA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CEGBMUSR.js.map → chunk.ZWELGTD7.js.map} +0 -0
- /package/dist/esm/{busy-indicator → deprecated/icon-button}/index.js.map +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/calendar/calendar-menu/calendar-menu-constants.ts", "../../src/calendar/calendar-menu/calendar-menu-utils.ts", "../../src/calendar/calendar-menu/calendar-menu-adapter.ts", "../../src/calendar/calendar-menu/calendar-menu-foundation.ts", "../../src/calendar/calendar-menu/calendar-menu.ts", "../../src/calendar/calendar-menu/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\nimport { IOption } from '../../select';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}calendar-menu`;\n\nconst attributes = {\n ANIMATION_TYPE: 'animation-type',\n DATA_ANIMATION: 'data-animation',\n DATA_VALUE: 'data-value',\n POPOVER_CONTEXT: 'forge-popover-context',\n PREVENT_FOCUS: 'prevent-focus'\n};\n\nconst classes = {\n BACKDROP: 'forge-calendar-menu__backdrop',\n CLOSING: 'forge-calendar-menu--closing',\n GRID: 'forge-calendar-menu__grid',\n GRID_ITEM: 'forge-calendar-menu__item--grid',\n GRID_FOUR_COL: 'forge-calendar-menu__grid--four-col',\n GRID_THREE_COL: 'forge-calendar-menu__grid--three-col',\n ITEM: 'forge-calendar-menu__item',\n ITEM_FOCUSED: 'forge-calendar-menu__item--focused',\n ITEM_SELECTED: 'forge-calendar-menu__item--selected',\n LIST: 'forge-calendar-menu__list',\n LIST_ITEM: 'forge-calendar-menu__item--list',\n LIST_WRAPPER: 'forge-calendar-menu__list__wrapper',\n OPEN: 'forge-calendar-menu--open',\n REPLACING_VIEW: 'forge-calendar-menu--replacing-view',\n SLIDE_LEFT: 'forge-calendar-menu--slide-left',\n SLIDE_RIGHT: 'forge-calendar-menu--slide-right',\n VIEW: 'forge-calendar-menu__view'\n};\n\nconst ids = {\n SCROLL_SPY_BOTTOM: 'scroll-spy-bottom',\n SCROLL_SPY_TOP: 'scroll-spy-top'\n};\n\nconst parts = {\n ITEM: 'menu-item',\n ITEM_BUTTON: 'menu-item-button',\n ITEM_CONTENT: 'menu-item-content',\n MENU: 'menu'\n};\n\nconst selectors = {\n CONTAINER: '.forge-calendar-menu',\n FOCUSED: `.${classes.ITEM_FOCUSED}`,\n GRID: `.${classes.GRID}`,\n ITEM: `.${classes.ITEM}`,\n LIST: `.${classes.LIST}`,\n LIST_WRAPPER: `.${classes.LIST_WRAPPER}`,\n SCROLL_SPY_BOTTOM: `#${ids.SCROLL_SPY_BOTTOM}`,\n SCROLL_SPY_TOP: `#${ids.SCROLL_SPY_TOP}`,\n SELECTED: `.${classes.ITEM_SELECTED}`,\n VIEW: `.${classes.VIEW}`\n};\n\nconst events = {\n FOCUS_CHANGE: `${elementName}-focus-change`,\n SELECT: `${elementName}-select`\n};\n\nconst numbers = {\n FOUR_COL: 4,\n LARGE_ITEM_SET: 13,\n LIST_SLICE_SIZE: 20,\n THREE_COL: 3\n};\n\nexport const CALENDAR_MENU_CONSTANTS = {\n elementName,\n attributes,\n classes,\n ids,\n parts,\n selectors,\n events,\n numbers\n};\n\nexport interface ICalendarMenuOption extends Omit<IOption, 'value'> {\n selected?: boolean;\n value: number;\n}\n\nexport type CalendarDirection = 'left' | 'right';\nexport type CalendarMenuAnimationType = 'scale' | 'fade' | 'none';\n", "import { CALENDAR_MENU_CONSTANTS, ICalendarMenuOption } from './calendar-menu-constants';\n\nexport function getGrid(options: ICalendarMenuOption[]): HTMLElement {\n const grid = document.createElement('div');\n grid.setAttribute('part', CALENDAR_MENU_CONSTANTS.parts.MENU);\n grid.classList.add(CALENDAR_MENU_CONSTANTS.classes.VIEW, CALENDAR_MENU_CONSTANTS.classes.GRID);\n let gridItems: HTMLElement[];\n if (options.length > 12) {\n grid.classList.add(CALENDAR_MENU_CONSTANTS.classes.GRID_FOUR_COL);\n gridItems = getGridItems(options);\n } else {\n grid.classList.add(CALENDAR_MENU_CONSTANTS.classes.GRID_THREE_COL);\n gridItems = getGridItems(options);\n }\n gridItems.forEach(g => grid.appendChild(g));\n return grid;\n}\n\nexport function getGridItems(options: ICalendarMenuOption[]): HTMLElement[] {\n return options.map(o => {\n const element = document.createElement('div');\n element.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM, CALENDAR_MENU_CONSTANTS.classes.GRID_ITEM);\n element.innerText = o.label;\n element.setAttribute('role', 'button');\n element.setAttribute('part', CALENDAR_MENU_CONSTANTS.parts.ITEM);\n element.setAttribute('tabindex', '-1');\n element.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_VALUE, o.value.toString());\n if (o.selected) {\n element.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM_SELECTED);\n element.setAttribute('aria-current', 'true');\n }\n if (o.disabled) {\n element.setAttribute('disabled', 'true');\n }\n\n const stateLayerElement = document.createElement('forge-state-layer');\n element.appendChild(stateLayerElement);\n\n const focusIndicatorElement = document.createElement('forge-focus-indicator');\n focusIndicatorElement.inward = true;\n element.appendChild(focusIndicatorElement);\n\n return element;\n });\n}\n\nexport function getList(options: ICalendarMenuOption[]): HTMLElement {\n const wrapper = document.createElement('div');\n const list = document.createElement('div');\n wrapper.classList.add(CALENDAR_MENU_CONSTANTS.classes.VIEW, CALENDAR_MENU_CONSTANTS.classes.LIST_WRAPPER);\n list.classList.add(CALENDAR_MENU_CONSTANTS.classes.LIST);\n list.setAttribute('role', 'list');\n list.appendChild(getScrollSpy(CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_TOP));\n getListItems(options).forEach(l => list.appendChild(l));\n list.appendChild(getScrollSpy(CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_BOTTOM));\n wrapper.appendChild(list);\n return wrapper;\n}\n\nexport function getListItems(options: ICalendarMenuOption[]): HTMLElement[] {\n return options.map(o => {\n const element = document.createElement('div');\n element.innerText = o.label;\n element.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM, CALENDAR_MENU_CONSTANTS.classes.LIST_ITEM);\n element.setAttribute('part', CALENDAR_MENU_CONSTANTS.parts.ITEM);\n element.setAttribute('tabindex', '-1');\n element.setAttribute('role', 'listitem');\n element.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_VALUE, o.value.toString());\n if (o.selected) {\n element.classList.toggle(CALENDAR_MENU_CONSTANTS.classes.ITEM_SELECTED, true);\n element.setAttribute('aria-current', 'true');\n }\n if (o.disabled) {\n element.setAttribute('disabled', 'true');\n }\n\n const stateLayerElement = document.createElement('forge-state-layer');\n element.appendChild(stateLayerElement);\n\n const focusIndicatorElement = document.createElement('forge-focus-indicator');\n focusIndicatorElement.inward = true;\n element.appendChild(focusIndicatorElement);\n\n return element;\n });\n}\n\nexport function getScrollSpy(id: string): HTMLElement {\n const element = document.createElement('div');\n element.id = id;\n element.setAttribute('aria-hidden', 'true');\n return element;\n}\n\nexport function removeAllExceptLastChild(el: HTMLElement): void {\n while (el.childNodes.length > 1) {\n if (el.firstChild) {\n el.removeChild(el.firstChild);\n }\n }\n}\n", "import { getShadowElement, playKeyframeAnimation, removeAllChildren, tryScrollIntoView } from '@tylertech/forge-core';\n\nimport { BaseAdapter, IBaseAdapter } from '../../core';\nimport { CalendarMenuAnimationType, CALENDAR_MENU_CONSTANTS, ICalendarMenuOption } from './calendar-menu-constants';\nimport { ICalendarMenuComponent } from './calendar-menu';\nimport { getGrid, getList, getListItems, removeAllExceptLastChild } from './calendar-menu-utils';\n\nexport interface ICalendarMenuAdapter extends IBaseAdapter {\n appendListItemsToEnd(options: ICalendarMenuOption[]): void;\n appendListItemsToStart(options: ICalendarMenuOption[]): void;\n animateInFromLeft(options: ICalendarMenuOption[], callback?: () => void): void;\n animateInFromRight(options: ICalendarMenuOption[], callback?: () => void): void;\n registerClickListener(listener: (evt: Event) => void): void;\n registerIntersectionObserver(callback: IntersectionObserverCallback): void;\n setAnimationType(value: CalendarMenuAnimationType): void;\n setClosed(): void;\n setFocusAtIndex(index: number, setFocus: boolean, preventFocus: boolean): void;\n setOpenAsGrid(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void;\n setOpenAsList(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void;\n unregisterClickListener(listener: (evt: Event) => void): void;\n unregisterIntersectionObserver(): void;\n}\n\nexport class CalendarMenuAdapter extends BaseAdapter<ICalendarMenuComponent> implements ICalendarMenuAdapter {\n private _container: HTMLElement;\n private _intersectionObserver: IntersectionObserver | undefined;\n\n constructor(private component: ICalendarMenuComponent) {\n super(component);\n this._container = getShadowElement(component, CALENDAR_MENU_CONSTANTS.selectors.CONTAINER);\n }\n\n public registerClickListener(listener: (evt: Event) => void): void {\n this._container.addEventListener('click', listener);\n }\n\n public unregisterClickListener(listener: (evt: Event) => void): void {\n this._container.removeEventListener('click', listener);\n }\n\n public registerIntersectionObserver(callback: IntersectionObserverCallback): void {\n const root = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST_WRAPPER);\n if (!root) {\n return;\n }\n const options = {\n root\n };\n this._intersectionObserver = new IntersectionObserver(callback, options);\n\n const scrollSpyBottom = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.SCROLL_SPY_BOTTOM);\n const scrollSpyTop = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.SCROLL_SPY_TOP);\n if (scrollSpyBottom) {\n this._intersectionObserver.observe(scrollSpyBottom);\n }\n if (scrollSpyTop) {\n this._intersectionObserver.observe(scrollSpyTop);\n }\n }\n\n public unregisterIntersectionObserver(): void {\n if (this._intersectionObserver) {\n this._intersectionObserver.disconnect();\n this._intersectionObserver = undefined;\n }\n }\n\n public setAnimationType(value: CalendarMenuAnimationType): void {\n this._container.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_ANIMATION, value);\n }\n\n public setClosed(): void {\n this._container.classList.remove(CALENDAR_MENU_CONSTANTS.classes.OPEN);\n this._container.classList.add(CALENDAR_MENU_CONSTANTS.classes.CLOSING);\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.CLOSING, true).then(() => {\n removeAllChildren(this._container);\n this.toggleHostAttribute('hidden', true);\n });\n }\n\n public setOpenAsGrid(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void {\n const element = getGrid(options);\n if (replace) {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.REPLACING_VIEW, true).then(() => {\n removeAllExceptLastChild(this._container);\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n });\n }\n this._container.appendChild(element);\n this.toggleHostAttribute('hidden', false);\n this._container.classList.add(CALENDAR_MENU_CONSTANTS.classes.OPEN);\n if (!replace) {\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n }\n }\n\n public setOpenAsList(options: ICalendarMenuOption[], focusedIndex: number, setFocus: boolean, preventFocus: boolean, replace?: boolean): void {\n const element = getList(options);\n if (replace) {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.REPLACING_VIEW, true).then(() => {\n removeAllExceptLastChild(this._container);\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n });\n }\n this._container.appendChild(element);\n this.toggleHostAttribute('hidden', false);\n this._container.classList.add(CALENDAR_MENU_CONSTANTS.classes.OPEN);\n this._scrollItemIntoView('selected');\n if (!replace) {\n this.setFocusAtIndex(focusedIndex, setFocus, preventFocus);\n }\n }\n\n public appendListItemsToStart(options: ICalendarMenuOption[]): void {\n const wrapper = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST_WRAPPER);\n const list = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST);\n const firstItem = list?.querySelector(CALENDAR_MENU_CONSTANTS.selectors.ITEM);\n if (wrapper && list && firstItem) {\n const oldScrollTop = wrapper.scrollTop;\n const oldScroll = wrapper.scrollHeight - wrapper.clientHeight;\n\n getListItems(options).forEach(l => {\n list.insertBefore(l, firstItem);\n });\n\n const newScroll = wrapper.scrollHeight - wrapper.clientHeight;\n wrapper.scrollTop = oldScrollTop + (newScroll - oldScroll);\n }\n }\n\n public appendListItemsToEnd(options: ICalendarMenuOption[]): void {\n const list = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST);\n const scrollSpyBottom = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.SCROLL_SPY_BOTTOM);\n if (list && scrollSpyBottom) {\n getListItems(options).forEach(l => {\n list.insertBefore(l, scrollSpyBottom);\n });\n }\n }\n\n public animateInFromLeft(options: ICalendarMenuOption[], callback?: () => void): void {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.SLIDE_RIGHT, true).then(() => {\n removeAllExceptLastChild(this._container);\n if (callback) {\n callback();\n }\n });\n const element = getGrid(options);\n this._container.appendChild(element);\n }\n\n public animateInFromRight(options: ICalendarMenuOption[], callback?: () => void): void {\n playKeyframeAnimation(this._container, CALENDAR_MENU_CONSTANTS.classes.SLIDE_LEFT, true).then(() => {\n removeAllExceptLastChild(this._container);\n if (callback) {\n callback();\n }\n });\n const element = getGrid(options);\n this._container.appendChild(element);\n }\n\n public setFocusAtIndex(index: number, setFocus: boolean, preventFocus: boolean): void {\n const previouslyFocusedElement = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.FOCUSED);\n previouslyFocusedElement?.classList.remove(CALENDAR_MENU_CONSTANTS.classes.ITEM_FOCUSED);\n previouslyFocusedElement?.setAttribute('tabindex', '-1');\n\n const previouslyFocusedFocusIndicator = previouslyFocusedElement?.querySelector('forge-focus-indicator');\n if (previouslyFocusedFocusIndicator) {\n previouslyFocusedFocusIndicator.active = false;\n }\n\n const item = this._container.querySelectorAll(CALENDAR_MENU_CONSTANTS.selectors.ITEM)?.[index];\n if (item) {\n item.classList.add(CALENDAR_MENU_CONSTANTS.classes.ITEM_FOCUSED);\n item.setAttribute('tabindex', preventFocus ? '-1' : '0' );\n if (setFocus && !preventFocus) {\n (item as HTMLElement).focus();\n } else if (preventFocus) {\n const focusIndicator = item.querySelector('forge-focus-indicator');\n if (focusIndicator) {\n focusIndicator.active = true;\n }\n }\n this._scrollItemIntoView('focused');\n }\n }\n\n private _scrollItemIntoView(type: 'selected' | 'focused'): void {\n const list = this._container.querySelector(CALENDAR_MENU_CONSTANTS.selectors.LIST);\n const item = list?.querySelector(type === 'selected' ? CALENDAR_MENU_CONSTANTS.selectors.SELECTED : CALENDAR_MENU_CONSTANTS.selectors.FOCUSED);\n if (list && item) {\n tryScrollIntoView(list.parentElement as HTMLElement, item as HTMLElement, type === 'selected' ? 'auto' : 'smooth', type === 'selected' ? 'center' : 'nearest');\n }\n }\n\n\n}\n", "import { getEventPath, ICustomElementFoundation, isDefined } from '@tylertech/forge-core';\n\nimport { CalendarDirection, CalendarMenuAnimationType, CALENDAR_MENU_CONSTANTS } from './calendar-menu-constants';\nimport { ICalendarMenuAdapter } from './calendar-menu-adapter';\nimport { ICalendarMenuOption } from './calendar-menu-constants';\n\nexport interface ICalendarMenuFoundation extends ICustomElementFoundation {\n animationType: CalendarMenuAnimationType;\n preventFocus: boolean;\n animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus: boolean): void;\n close(): void;\n moveFocusBackward(): boolean;\n moveFocusDown(): void;\n moveFocusForward(): boolean;\n moveFocusUp(): void;\n openAsGrid(options: ICalendarMenuOption[], setFocus: boolean): void;\n openAsList(options: ICalendarMenuOption[], setFocus: boolean): void;\n selectFocusedItem(): void;\n}\n\nexport class CalendarMenuFoundation implements ICalendarMenuFoundation {\n private _animationType: CalendarMenuAnimationType = 'scale';\n private _columnCount = 3;\n private _focusedIndex = 0;\n private _focusedIndexAfterAnimation: number | undefined;\n private _list = false; // This will be used to manage focus in a list view\n private _open = false;\n private _options: ICalendarMenuOption[] = [];\n private _preventFocus = false;\n private _sliceEnd = -1;\n private _sliceStart = -1;\n private _clickListener: (evt: Event) => void;\n private _intersectionObserverCallback: IntersectionObserverCallback;\n\n constructor(private _adapter: ICalendarMenuAdapter) {\n this._clickListener = evt => this._onClick(evt);\n this._intersectionObserverCallback = (entries: IntersectionObserverEntry[]) => this._onIntersection(entries);\n }\n\n public initialize(): void {\n this._applyAnimationType();\n this._applyPreventFocus();\n this._adapter.setHostAttribute('exportparts', Object.values(CALENDAR_MENU_CONSTANTS.parts).join(', '));\n this._adapter.toggleHostAttribute('hidden', true);\n this._adapter.registerClickListener(this._clickListener);\n }\n\n public disconnect(): void {\n this._adapter.unregisterClickListener(this._clickListener);\n this._adapter.unregisterIntersectionObserver();\n }\n\n public openAsGrid(options: ICalendarMenuOption[], setFocus: boolean): void {\n this._list = false;\n this._options = options;\n this._focusedIndex = 0;\n this._setColumnCount();\n this._adapter.setOpenAsGrid(options, this._focusedIndex, setFocus, this._preventFocus, this._open);\n this._setGridListeners();\n this._open = true;\n this._emitFocusChangeEvent();\n }\n\n public openAsList(options: ICalendarMenuOption[], setFocus: boolean): void {\n this._list = true;\n this._options = options;\n const currentSlice = this._getOptionSliceIncludingSelected();\n this._focusedIndex = Math.max(options.findIndex(o => o.selected), this._sliceStart);\n this._adapter.setOpenAsList(currentSlice, this._focusedIndex - this._sliceStart, setFocus, this._preventFocus, this._open);\n this._setListListeners();\n this._open = true;\n this._emitFocusChangeEvent();\n }\n\n public close(): void {\n this._open = false;\n this._options = [];\n this._adapter.setClosed();\n }\n\n public animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus: boolean): void {\n const callback: () => void = () => {\n this._setFocusFromStoredIndex(setFocus);\n };\n if (direction === 'left') {\n this._adapter.animateInFromLeft(options, callback);\n } else {\n this._adapter.animateInFromRight(options, callback);\n }\n this._options = options;\n this._setColumnCount();\n }\n\n public selectFocusedItem(): void {\n this._adapter.emitHostEvent(CALENDAR_MENU_CONSTANTS.events.SELECT, this._options[this._focusedIndex]?.value);\n }\n\n public moveFocusBackward(): boolean {\n if (this._list) {\n return true;\n }\n const index = this._focusedIndex - 1;\n const indexIsInView = index >= 0 && index % this._columnCount !== this._columnCount - 1;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : index + this._columnCount;\n return this._tryMoveFocus(index, indexIsInView);\n }\n\n public moveFocusDown(): void {\n if (this._list) {\n const index = Math.min(this._focusedIndex += 1, this._options.length - 1);\n this._tryMoveFocus(index, true);\n } else {\n const index = this._focusedIndex + this._columnCount;\n const indexIsInView = index < this._options.length;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : index % this._columnCount;\n this._tryMoveFocus(index, indexIsInView);\n }\n }\n\n public moveFocusForward(): boolean {\n if (this._list) {\n return true;\n }\n const index = this._focusedIndex + 1;\n const indexIsInView = index < this._options.length && index % this._columnCount !== 0;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : index - this._columnCount;\n return this._tryMoveFocus(index, indexIsInView);\n }\n\n public moveFocusUp(): void {\n if (this._list) {\n const index = Math.max(this._focusedIndex -= 1, 0);\n this._tryMoveFocus(index, true);\n } else {\n const index = this._focusedIndex - this._columnCount;\n const indexIsInView = index >= 0;\n this._focusedIndexAfterAnimation = indexIsInView ? undefined : this._options.length + index;\n this._tryMoveFocus(index, indexIsInView);\n }\n }\n\n private _tryMoveFocus(index: number, indexIsInView: boolean): boolean {\n if (indexIsInView && !this._options[index]?.disabled) {\n this._focusedIndex = index;\n this._adapter.setFocusAtIndex(this._list ? this._focusedIndex - this._sliceStart : this._focusedIndex, true, this._preventFocus);\n this._emitFocusChangeEvent();\n }\n return indexIsInView;\n }\n\n private _setFocusFromStoredIndex(setFocus: boolean): void {\n if (this._focusedIndexAfterAnimation === undefined) {\n return;\n }\n if (this._options[this._focusedIndexAfterAnimation] && !this._options[this._focusedIndexAfterAnimation]?.disabled) {\n this._focusedIndex = this._focusedIndexAfterAnimation;\n } else if (this._options[0]?.disabled) {\n this._focusedIndex = this._options.findIndex(o => !o.disabled);\n } else {\n this._focusedIndex = this._options.length - this._options.slice().reverse().findIndex(o => !o.disabled) - 1;\n }\n this._focusedIndexAfterAnimation = undefined;\n this._adapter.setFocusAtIndex(this._focusedIndex, setFocus, this._preventFocus);\n this._emitFocusChangeEvent();\n }\n\n private _onClick(evt: Event): void {\n const element = getEventPath(evt).find(p => p.classList && p.classList.contains(CALENDAR_MENU_CONSTANTS.classes.ITEM));\n const value = element?.getAttribute(CALENDAR_MENU_CONSTANTS.attributes.DATA_VALUE);\n if (isDefined(value)) {\n this._adapter.emitHostEvent(CALENDAR_MENU_CONSTANTS.events.SELECT, +(value as string));\n }\n }\n\n private _onIntersection(entries: IntersectionObserverEntry[]): void {\n if (this._sliceStart > 0 && entries.some(e => e.target.id === CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_TOP && e.isIntersecting)) {\n this._adapter.appendListItemsToStart(this._getPreviousOptionsSlice());\n }\n if (this._sliceEnd < this._options.length && entries.some(e => e.target.id === CALENDAR_MENU_CONSTANTS.ids.SCROLL_SPY_BOTTOM && e.isIntersecting)) {\n this._adapter.appendListItemsToEnd(this._getNextOptionsSlice());\n }\n }\n\n private _setColumnCount(): void {\n this._columnCount = this._options.length >= CALENDAR_MENU_CONSTANTS.numbers.LARGE_ITEM_SET ? CALENDAR_MENU_CONSTANTS.numbers.FOUR_COL : CALENDAR_MENU_CONSTANTS.numbers.THREE_COL;\n }\n\n private _emitFocusChangeEvent(): void {\n this._adapter.emitHostEvent(CALENDAR_MENU_CONSTANTS.events.FOCUS_CHANGE, this._options[this._focusedIndex]?.value);\n }\n\n private _setGridListeners(): void {\n this._adapter.unregisterIntersectionObserver();\n }\n\n private _setListListeners(): void {\n this._adapter.unregisterIntersectionObserver();\n this._adapter.registerIntersectionObserver(this._intersectionObserverCallback);\n }\n\n private _getOptionSliceIncludingSelected(): ICalendarMenuOption[] {\n if (this._options.length <= CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE) {\n this._sliceStart = 0;\n this._sliceEnd = this._options.length;\n return this._options.slice();\n }\n\n const selectedIndex = Math.max(this._options.findIndex(o => o.selected), 0);\n let start = Math.max(Math.floor(selectedIndex - CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE / 2), 0);\n let end = start + CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE;\n if (end > this._options.length) {\n start = this._options.length - 1 - CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE;\n end = this._options.length;\n }\n this._sliceStart = start;\n this._sliceEnd = end;\n return this._options.slice(this._sliceStart, this._sliceEnd);\n }\n\n private _getNextOptionsSlice(): ICalendarMenuOption[] {\n const newEnd = Math.min(this._sliceEnd + CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE, this._options.length);\n const slice = this._options.slice(this._sliceEnd, newEnd);\n this._sliceEnd = newEnd;\n return slice;\n }\n\n private _getPreviousOptionsSlice(): ICalendarMenuOption[] {\n const newStart = Math.max(this._sliceStart - CALENDAR_MENU_CONSTANTS.numbers.LIST_SLICE_SIZE, 0);\n const slice = this._options.slice(newStart, this._sliceStart);\n this._sliceStart = newStart;\n return slice;\n }\n\n private _applyAnimationType(): void {\n this._adapter.setHostAttribute(CALENDAR_MENU_CONSTANTS.attributes.ANIMATION_TYPE, this._animationType);\n this._adapter.setAnimationType(this._animationType);\n }\n\n private _applyPreventFocus(): void {\n this._adapter.toggleHostAttribute(CALENDAR_MENU_CONSTANTS.attributes.PREVENT_FOCUS, this._preventFocus);\n this._adapter.setFocusAtIndex(this._focusedIndex, false, this._preventFocus);\n }\n\n public get animationType(): CalendarMenuAnimationType {\n return this._animationType;\n }\n public set animationType(value: CalendarMenuAnimationType) {\n if (this._animationType !== value) {\n this._animationType = value;\n this._applyAnimationType();\n }\n }\n\n public get preventFocus(): boolean {\n return this._preventFocus;\n }\n public set preventFocus(value: boolean) {\n if (this._preventFocus !== value) {\n this._preventFocus = value;\n this._applyPreventFocus();\n }\n }\n}\n", "import { CustomElement, attachShadowTemplate, ICustomElement, FoundationProperty, coerceBoolean, elementParents } from '@tylertech/forge-core';\nimport { FocusIndicatorComponent } from '../../focus-indicator/focus-indicator';\nimport { StateLayerComponent } from '../../state-layer/state-layer';\n\nimport { CalendarMenuAdapter } from './calendar-menu-adapter';\nimport { CalendarDirection, CalendarMenuAnimationType, CALENDAR_MENU_CONSTANTS, ICalendarMenuOption } from './calendar-menu-constants';\nimport { CalendarMenuFoundation } from './calendar-menu-foundation';\n\nconst template = '<template><div class=\\\"forge-calendar-menu\\\" part=\\\"root\\\"></div></template>';\nconst styles = '.forge-calendar-menu{background-color:var(--forge-theme-surface,#fff);position:relative;height:100%;width:100%;overflow:hidden}.forge-calendar-menu__view{position:absolute;top:0;left:0;height:100%;width:100%;background-color:inherit}.forge-calendar-menu__grid{max-height:var(--forge-calendar-menu-max-height,320px);display:grid;gap:16px;justify-items:center;-webkit-box-align:center;align-items:center;padding:8px;-webkit-box-sizing:border-box;box-sizing:border-box}.forge-calendar-menu__grid--three-col{grid-template-columns:repeat(3,1fr)}.forge-calendar-menu__grid--four-col{grid-template-columns:repeat(4,1fr)}.forge-calendar-menu__list{position:relative;background-color:inherit}.forge-calendar-menu__list__wrapper{position:relative;height:100%;overflow:auto}.forge-calendar-menu__list__wrapper::-webkit-scrollbar{height:var(--forge-scrollbar-height,16px);width:var(--forge-scrollbar-width,16px)}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-track{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-track:hover{background-color:var(--forge-scrollbar-track-container-hover,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-corner{background-color:var(--forge-scrollbar-track-container,var(--forge-theme-surface-container-low,#ebebeb))}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-thumb{height:var(--forge-scrollbar-thumb-min-height,32px);width:var(--forge-scrollbar-thumb-min-width,32px);border-radius:var(--forge-scrollbar-border-radius,var(--forge-shape-full,9999px));border-width:var(--forge-scrollbar-border-width,3px);border-style:solid;border-color:transparent;background-color:var(--forge-scrollbar-thumb-container,var(--forge-theme-surface-container-medium,#c2c2c2));background-clip:content-box}.forge-calendar-menu__list__wrapper::-webkit-scrollbar-thumb:hover{background-color:var(--forge-scrollbar-thumb-container-hover,var(--forge-theme-surface-container-high,#9e9e9e))}.forge-calendar-menu__item--grid{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body1-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-body1-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, .875)));font-weight:var(--forge-typography-body1-font-weight,400);line-height:var(--forge-typography-body1-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.125)));letter-spacing:var(--forge-typography-body1-letter-spacing, .0357142857em);text-transform:var(--forge-typography-body1-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body1-text-decoration,inherit);text-decoration:var(--forge-typography-body1-text-decoration,inherit);display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;position:relative;width:100%;height:100%;border-radius:4px;overflow:hidden;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.forge-calendar-menu__item--grid:not([disabled]){border:1px solid var(--forge-theme-outline,#e0e0e0);cursor:pointer}.forge-calendar-menu__item--grid[disabled]{color:var(--forge-theme-text-low,rgba(0,0,0,.38))}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected{background-color:var(--forge-theme-primary,#3f51b5);color:var(--forge-theme-on-primary,#fff)}.forge-calendar-menu__item--grid.forge-calendar-menu__item--selected forge-focus-indicator{--forge-focus-indicator-color:var(--forge-theme-primary-container, #d1d5ed)}.forge-calendar-menu__item--list{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;margin:0 4px;width:calc(100% - 8px);height:48px;border-radius:4px;overflow:hidden;text-align:center;cursor:pointer;position:relative}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected{background-color:var(--forge-theme-primary,#3f51b5);color:var(--forge-theme-on-primary,#fff)}.forge-calendar-menu__item--list.forge-calendar-menu__item--selected forge-focus-indicator{--forge-focus-indicator-color:var(--forge-theme-primary-container)}.forge-calendar-menu__item--focused,.forge-calendar-menu__item:focus{outline:0}.forge-calendar-menu--open{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:scale-open;animation-name:scale-open;-webkit-transform-origin:top center;transform-origin:top center}.forge-calendar-menu--open[data-animation=fade]{-webkit-animation-name:fade-in;animation-name:fade-in}.forge-calendar-menu--open[data-animation=none]{-webkit-animation-duration:1ms;animation-duration:1ms}@media (prefers-reduced-motion){.forge-calendar-menu--open{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--closing{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:scale-closed;animation-name:scale-closed;-webkit-transform-origin:top center;transform-origin:top center}.forge-calendar-menu--closing[data-animation=fade]{-webkit-animation-name:fade-out;animation-name:fade-out}.forge-calendar-menu--closing[data-animation=none]{-webkit-animation-duration:1ms;animation-duration:1ms}@media (prefers-reduced-motion){.forge-calendar-menu--closing{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-right .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-out-to-right;animation-name:slide-out-to-right}@media (prefers-reduced-motion){.forge-calendar-menu--slide-right .forge-calendar-menu__view:first-child{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-right .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-in-from-left;animation-name:slide-in-from-left}@media (prefers-reduced-motion){.forge-calendar-menu--slide-right .forge-calendar-menu__view:last-child{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--slide-left .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-out-to-left;animation-name:slide-out-to-left}@media (prefers-reduced-motion){.forge-calendar-menu--slide-left .forge-calendar-menu__view:first-child{-webkit-animation-name:fade-out;animation-name:fade-out}}.forge-calendar-menu--slide-left .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:slide-in-from-right;animation-name:slide-in-from-right}@media (prefers-reduced-motion){.forge-calendar-menu--slide-left .forge-calendar-menu__view:last-child{-webkit-animation-name:fade-in;animation-name:fade-in}}.forge-calendar-menu--replacing-view .forge-calendar-menu__view:first-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:fade-out;animation-name:fade-out}.forge-calendar-menu--replacing-view .forge-calendar-menu__view:last-child{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-name:fade-in;animation-name:fade-in}#scroll-spy-bottom{position:absolute;bottom:0;height:48px;pointer-events:none}#scroll-spy-top{position:absolute;top:0;height:48px;pointer-events:none}@-webkit-keyframes scale-open{from{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes scale-open{from{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes scale-closed{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}}@keyframes scale-closed{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.4);transform:scale(.4)}}@-webkit-keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes slide-in-from-left{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-from-left{from{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-in-from-right{from{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-in-from-right{from{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-out-to-left{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slide-out-to-left{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@-webkit-keyframes slide-out-to-right{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slide-out-to-right{from{-webkit-transform:translateX(0);transform:translateX(0)}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}:host{display:block;position:absolute;top:0;left:0;height:100%;width:100%}:host([hidden]){display:none}:host([forge-popover-context=true]) .forge-calendar-menu{background-color:var(--forge-theme-surface-bright,#fff)}';\n\nexport interface ICalendarMenuComponent extends ICustomElement {\n animationType: CalendarMenuAnimationType;\n preventFocus: boolean;\n animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus?: boolean): void;\n close(): void;\n moveFocusBackward(): boolean;\n moveFocusDown(): void;\n moveFocusForward(): boolean;\n moveFocusUp(): void;\n openAsGrid(options: ICalendarMenuOption[], setFocus?: boolean): void;\n openAsList(options: ICalendarMenuOption[], setFocus?: boolean): void;\n selectFocusedItem(): void;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-calendar-menu': ICalendarMenuComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-calendar-menu-focus-change': CustomEvent<number>;\n 'forge-calendar-menu-select': CustomEvent<number>;\n }\n}\n\n/**\n * The web component class behind the `<forge-calendar-menu>` custom element.\n * \n * @internal\n * @tag forge-calendar-menu\n */\n@CustomElement({\n name: CALENDAR_MENU_CONSTANTS.elementName,\n dependencies: [\n StateLayerComponent,\n FocusIndicatorComponent\n ]\n})\nexport class CalendarMenuComponent extends HTMLElement implements ICalendarMenuComponent {\n public static get observedAttributes(): string[] {\n return [\n CALENDAR_MENU_CONSTANTS.attributes.ANIMATION_TYPE,\n CALENDAR_MENU_CONSTANTS.attributes.PREVENT_FOCUS\n ];\n }\n\n private _foundation: CalendarMenuFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new CalendarMenuFoundation(new CalendarMenuAdapter(this));\n }\n\n public connectedCallback(): void {\n // To simulate the :host-context() selector for Firefox until they implement it, we need to determine if the\n // calendar is within a popup for auto-styling the calendar when included within a popup. Check to see if\n // any of the parents of this element are a popup.\n if (!this.hasAttribute(CALENDAR_MENU_CONSTANTS.attributes.POPOVER_CONTEXT) && elementParents(this).some(el => el.tagName.toLowerCase() === 'forge-popover')) {\n this.setAttribute(CALENDAR_MENU_CONSTANTS.attributes.POPOVER_CONTEXT, 'true');\n }\n\n this._foundation.initialize();\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case CALENDAR_MENU_CONSTANTS.attributes.ANIMATION_TYPE:\n this.animationType = newValue as CalendarMenuAnimationType;\n break;\n case CALENDAR_MENU_CONSTANTS.attributes.PREVENT_FOCUS:\n this.preventFocus = coerceBoolean(newValue);\n break;\n }\n }\n\n @FoundationProperty()\n public declare animationType: CalendarMenuAnimationType;\n\n @FoundationProperty()\n public declare preventFocus: boolean;\n\n public animateIn(options: ICalendarMenuOption[], direction: CalendarDirection, setFocus = false): void {\n this._foundation.animateIn(options, direction, setFocus);\n }\n\n public close(): void {\n this._foundation.close();\n }\n\n public moveFocusDown(): void {\n this._foundation.moveFocusDown();\n }\n\n public moveFocusBackward(): boolean {\n return this._foundation.moveFocusBackward();\n }\n\n public moveFocusForward(): boolean {\n return this._foundation.moveFocusForward();\n }\n\n public moveFocusUp(): void {\n this._foundation.moveFocusUp();\n }\n\n public openAsGrid(options: ICalendarMenuOption[], setFocus = false): void {\n this._foundation.openAsGrid(options, setFocus);\n }\n\n public openAsList(options: ICalendarMenuOption[], setFocus = false): void {\n this._foundation.openAsList(options, setFocus);\n }\n\n public selectFocusedItem(): void {\n this._foundation.selectFocusedItem();\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { CalendarMenuComponent } from './calendar-menu';\n\nexport * from './calendar-menu-adapter';\nexport * from './calendar-menu-constants';\nexport * from './calendar-menu-foundation';\nexport * from './calendar-menu-utils';\nexport * from './calendar-menu';\n\nexport function defineCalendarMenuComponent(): void {\n defineCustomElement(CalendarMenuComponent);\n}\n"],
|
|
5
|
+
"mappings": "icAGA,IAAMA,EAA2C,GAAGC,iBAE9CC,EAAa,C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AY,WAAWF,EAASE,CAAQ,CAC/C,CAEO,WAAWF,EAAgCE,EAAW,GAAa,CACxE,KAAK,YAAY,WAAWF,EAASE,CAAQ,CAC/C,CAEO,mBAA0B,CAC/B,KAAK,YAAY,kBAAkB,CACrC,CACF,EAxCiBC,EAAA,CADdC,EAAmB,GA1CTf,EA2CI,6BAGAc,EAAA,CADdC,EAAmB,GA7CTf,EA8CI,4BA9CJA,EAANc,EAAA,CAPNE,EAAc,CACb,KAAMZ,EAAwB,YAC9B,aAAc,CACZa,EACAC,CACF,CACF,CAAC,GACYlB,GCvCN,SAASmB,IAAoC,CAClDC,EAAoBC,CAAqB,CAC3C",
|
|
6
|
+
"names": ["elementName", "COMPONENT_NAME_PREFIX", "attributes", "classes", "ids", "parts", "selectors", "events", "numbers", "CALENDAR_MENU_CONSTANTS", "getGrid", "options", "grid", "CALENDAR_MENU_CONSTANTS", "gridItems", "getGridItems", "g", "o", "element", "stateLayerElement", "focusIndicatorElement", "getList", "wrapper", "list", "getScrollSpy", "getListItems", "l", "id", "removeAllExceptLastChild", "el", "CalendarMenuAdapter", "BaseAdapter", "component", "getShadowElement", "CALENDAR_MENU_CONSTANTS", "listener", "callback", "root", "options", "scrollSpyBottom", "scrollSpyTop", "value", "playKeyframeAnimation", "removeAllChildren", "focusedIndex", "setFocus", "preventFocus", "replace", "element", "getGrid", "removeAllExceptLastChild", "getList", "wrapper", "list", "firstItem", "oldScrollTop", "oldScroll", "getListItems", "l", "newScroll", "index", "_a", "previouslyFocusedElement", "previouslyFocusedFocusIndicator", "item", "focusIndicator", "type", "tryScrollIntoView", "CalendarMenuFoundation", "_adapter", "evt", "entries", "CALENDAR_MENU_CONSTANTS", "options", "setFocus", "currentSlice", "direction", "callback", "_a", "index", "indexIsInView", "_b", "element", "getEventPath", "p", "value", "isDefined", "selectedIndex", "start", "end", "newEnd", "slice", "newStart", "template", "styles", "CalendarMenuComponent", "attachShadowTemplate", "CalendarMenuFoundation", "CalendarMenuAdapter", "CALENDAR_MENU_CONSTANTS", "elementParents", "el", "name", "oldValue", "newValue", "coerceBoolean", "options", "direction", "setFocus", "__decorateClass", "FoundationProperty", "CustomElement", "StateLayerComponent", "FocusIndicatorComponent", "defineCalendarMenuComponent", "defineCustomElement", "CalendarMenuComponent"]
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{
|
|
7
|
-
//# sourceMappingURL=chunk.
|
|
6
|
+
import{z as _}from"./chunk.DN6Y3VXC.js";import{d as E,l as I}from"./chunk.SW6JDC2Y.js";import{d as A}from"./chunk.R2CJMM2F.js";import{a as n}from"./chunk.NVUMRW44.js";import{a as f}from"./chunk.OLFOVKQG.js";import{a as g,b as y}from"./chunk.5OT53ZJM.js";import{a as u,e as b,f as m,k as v}from"./chunk.LNTTU2GL.js";import{l as h}from"./chunk.L4QSPQDE.js";import{k as d}from"./chunk.J2M2MXP2.js";import{d as p}from"./chunk.M3QDAYD2.js";var T=`${y}app-bar-search`,x={ROOT:".forge-app-bar-search",INPUT:"input"},L={DISABLED:"disabled",VALUE:"value",PLACEHOLDER:"placeholder"},C={INPUT:`${T}-input`},e={elementName:T,selectors:x,attributes:L,events:C};var s=class{constructor(a){this._adapter=a;this._disabled=!1;this._keydownListener=a=>this._onKeydown(a)}initialize(){this._adapter.initialize(),this._tryForwardInputState(),this._adapter.addInputEventListener("keydown",this._keydownListener)}_tryForwardInputState(){this._disabled&&this._adapter.setInputProperty("disabled",this._disabled),this._adapter.hasHostAttribute(e.attributes.VALUE)&&this._adapter.setInputProperty("value",this._adapter.getHostAttribute(e.attributes.VALUE)),this._adapter.hasHostAttribute(e.attributes.PLACEHOLDER)&&this._adapter.setInputProperty("placeholder",this._adapter.getHostAttribute(e.attributes.PLACEHOLDER))}_onKeydown({key:a,target:t}){if(!this._disabled&&a==="Enter"){let r={value:t.value};this._adapter.emitHostEvent(e.events.INPUT,r,!0)}}disconnect(){this._adapter.removeInputEventListener("keydown",this._keydownListener)}get disabled(){return this._disabled}set disabled(a){a!==this._disabled&&(this._disabled=a,this._adapter.setInputProperty("disabled",this._disabled),this._adapter.toggleHostAttribute(e.attributes.DISABLED,this._disabled))}get value(){return this._adapter.getInputProperty("value")}set value(a){this._adapter.setInputProperty("value",a)}get placeholder(){return this._adapter.getInputProperty("placeholder")}set placeholder(a){this._adapter.setInputProperty("placeholder",a)}};var c=class extends f{constructor(t){super(t);this._rootElement=m(t,e.selectors.ROOT)}initialize(){let t=this._component.querySelector(e.selectors.INPUT);if(t){this._inputElement=t,this._inputElement.hasAttribute("slot")||(this._inputElement.slot="input");let r=document.createElement("forge-focus-indicator");r.targetElement=this._inputElement,this._rootElement.appendChild(r)}}addInputEventListener(t,r){var o;(o=this._inputElement)==null||o.addEventListener(t,r)}removeInputEventListener(t,r){var o;(o=this._inputElement)==null||o.removeEventListener(t,r)}setInputProperty(t,r){this._inputElement&&(this._inputElement[t]=r)}getInputProperty(t){var r;return(r=this._inputElement)==null?void 0:r[t]}};var S='<template><div class="forge-app-bar-search" part="root"><slot name="start"><forge-icon name="search" class="icon" part="icon"></forge-icon></slot><slot name="input"></slot><slot name="end"></slot></div></template>',k=':host{display:block}:host([hidden]){display:none}.forge-app-bar-search{--_app-bar-search-color:var(--forge-app-bar-search-color, currentColor);--_app-bar-search-height:var(--forge-app-bar-search-height, 36px);--_app-bar-search-padding:var(--forge-app-bar-search-padding, 8px);--_app-bar-search-shape:var(--forge-app-bar-search-shape, var(--forge-shape-small, 2px));--_app-bar-search-gap:var(--forge-app-bar-search-gap, 4px);--_app-bar-search-input-placeholder-color:var(--forge-app-bar-search-input-placeholder-color, var(--_app-bar-search-color));--_app-bar-search-input-placeholder-opacity:var(--forge-app-bar-search-input-placeholder-opacity, 0.38);--_app-bar-search-background-color:var(--forge-app-bar-search-background-color, var(--_app-bar-search-color));--_app-bar-search-background-color-opacity:var(--forge-app-bar-search-background-color-opacity, 0.08);--_app-bar-search-border-color:var(--forge-app-bar-search-border-color, var(--_app-bar-search-color));--_app-bar-search-border-opacity:var(--forge-app-bar-search-border-opacity, 0.54);--_app-bar-search-border-hover-opacity:var(--forge-app-bar-search-border-hover-opacity, 0.87);--_app-bar-search-transition-duration:var(--forge-app-bar-search-transition-duration, var(--forge-animation-duration-short3, 150ms));--_app-bar-search-transition-timing-function:var(--forge-app-bar-search-transition-timing-function, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-app-bar-search{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-flex:1;flex:1 1 auto;gap:var(--_app-bar-search-gap);height:var(--_app-bar-search-height);width:100%;padding-inline:var(--_app-bar-search-padding);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:var(--_app-bar-search-shape)}.forge-app-bar-search:hover::after{opacity:var(--_app-bar-search-border-hover-opacity)}.forge-app-bar-search::before{content:"";position:absolute;inset:0;pointer-events:none;background-color:var(--_app-bar-search-background-color);opacity:var(--_app-bar-search-background-color-opacity)}.forge-app-bar-search::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:var(--_app-bar-search-border-opacity);border-radius:var(--_app-bar-search-shape);outline:1px solid var(--_app-bar-search-border-color);-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:var(--_app-bar-search-transition-duration);transition-duration:var(--_app-bar-search-transition-duration);-webkit-transition-timing-function:var(--_app-bar-search-transition-timing-function);transition-timing-function:var(--_app-bar-search-transition-timing-function)}:host([disabled]){cursor:not-allowed}:host([disabled]) .forge-app-bar-search{pointer-events:none;opacity:38%}:host([disabled]) ::slotted(input){pointer-events:none}forge-focus-indicator{--forge-focus-indicator-color:currentColor;--forge-focus-indicator-outward-offset:0px}::slotted(input){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body2-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));font-size:var(--forge-typography-body2-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 1)));font-weight:var(--forge-typography-body2-font-weight,400);line-height:var(--forge-typography-body2-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.375)));letter-spacing:var(--forge-typography-body2-letter-spacing, .015625em);text-transform:var(--forge-typography-body2-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body2-text-decoration,inherit);text-decoration:var(--forge-typography-body2-text-decoration,inherit);display:block;overflow:hidden;background:0 0;color:currentColor;border:none;width:100%;margin:0;outline:0}::slotted(input)::-webkit-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::-moz-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input):-ms-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::-ms-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}',i=class extends v{constructor(){super();E.define(_),b(this,S,k),this._foundation=new s(new c(this))}static get observedAttributes(){return[e.attributes.DISABLED,e.attributes.VALUE,e.attributes.PLACEHOLDER]}connectedCallback(){this.querySelector(e.selectors.INPUT)?this._foundation.initialize():h(this).then(()=>this._foundation.initialize())}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(t,r,o){switch(t){case e.attributes.DISABLED:this.disabled=d(o);break;case e.attributes.VALUE:this.value=o;break;case e.attributes.PLACEHOLDER:this.placeholder=o;break}}};p([n()],i.prototype,"value",2),p([n()],i.prototype,"disabled",2),p([n()],i.prototype,"placeholder",2),i=p([g({name:e.elementName,dependencies:[I,A]})],i);function ae(){u(i)}export{e as a,s as b,c,i as d,ae as e};
|
|
7
|
+
//# sourceMappingURL=chunk.Z7IUKJHZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/app-bar/search/app-bar-search-constants.ts", "../../src/app-bar/search/app-bar-search-foundation.ts", "../../src/app-bar/search/app-bar-search-adapter.ts", "../../src/app-bar/search/app-bar-search.ts", "../../src/app-bar/search/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}app-bar-search`;\n\nconst selectors = {\n ROOT: '.forge-app-bar-search',\n INPUT: 'input'\n};\n\nconst attributes = {\n DISABLED: 'disabled',\n VALUE: 'value',\n PLACEHOLDER: 'placeholder'\n};\n\nconst events = {\n INPUT: `${elementName}-input`\n};\n\nexport const APP_BAR_SEARCH_CONSTANTS = {\n elementName,\n selectors,\n attributes,\n events\n};\n\nexport interface IAppBarSearchInputEventData {\n value: string;\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\nimport { IAppBarSearchAdapter } from './app-bar-search-adapter';\nimport { APP_BAR_SEARCH_CONSTANTS, IAppBarSearchInputEventData } from './app-bar-search-constants';\n\nexport interface IAppBarSearchFoundation extends ICustomElementFoundation {\n disabled: boolean;\n value: string;\n placeholder: string;\n}\n\nexport class AppBarSearchFoundation implements IAppBarSearchFoundation {\n private _disabled = false;\n\n private _keydownListener = (evt: KeyboardEvent): void => this._onKeydown(evt);\n\n constructor(private _adapter: IAppBarSearchAdapter) {}\n\n public initialize(): void {\n this._adapter.initialize();\n this._tryForwardInputState();\n this._adapter.addInputEventListener('keydown', this._keydownListener);\n }\n\n private _tryForwardInputState(): void {\n if (this._disabled) {\n this._adapter.setInputProperty('disabled', this._disabled);\n }\n if (this._adapter.hasHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.VALUE)) {\n this._adapter.setInputProperty('value', this._adapter.getHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.VALUE) as string);\n }\n if (this._adapter.hasHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER)) {\n this._adapter.setInputProperty('placeholder', this._adapter.getHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER) as string);\n }\n }\n\n private _onKeydown({ key, target }: KeyboardEvent): void {\n if (this._disabled) {\n return;\n }\n\n if (key === 'Enter') {\n const data: IAppBarSearchInputEventData = {\n value: (target as HTMLInputElement).value\n };\n this._adapter.emitHostEvent(APP_BAR_SEARCH_CONSTANTS.events.INPUT, data, true);\n }\n }\n\n public disconnect(): void {\n this._adapter.removeInputEventListener('keydown', this._keydownListener);\n }\n\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (value !== this._disabled) {\n this._disabled = value;\n this._adapter.setInputProperty('disabled', this._disabled);\n this._adapter.toggleHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.DISABLED, this._disabled);\n }\n }\n\n public get value(): string {\n return this._adapter.getInputProperty('value');\n }\n public set value(value: string) {\n this._adapter.setInputProperty('value', value);\n }\n\n public get placeholder(): string {\n return this._adapter.getInputProperty('placeholder');\n }\n\n public set placeholder(value: string) {\n this._adapter.setInputProperty('placeholder', value);\n }\n}\n", "import { addClass, getShadowElement, removeClass, toggleAttribute } from '@tylertech/forge-core';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { IAppBarSearchComponent } from './app-bar-search';\nimport { APP_BAR_SEARCH_CONSTANTS } from './app-bar-search-constants';\n\nexport interface IAppBarSearchAdapter extends IBaseAdapter {\n initialize(): void;\n addInputEventListener(type: string, listener: (evt: Event) => void): void;\n removeInputEventListener(type: string, listener: (evt: Event) => void): void;\n setInputProperty<T extends keyof HTMLInputElement>(name: T, value: HTMLInputElement[T]): void;\n getInputProperty<T extends keyof HTMLInputElement>(name: T): HTMLInputElement[T];\n}\n\nexport class AppBarSearchAdapter extends BaseAdapter<IAppBarSearchComponent> implements IAppBarSearchAdapter {\n private _rootElement: HTMLElement;\n private _inputElement: HTMLInputElement;\n\n constructor(component: IAppBarSearchComponent) {\n super(component);\n this._rootElement = getShadowElement(component, APP_BAR_SEARCH_CONSTANTS.selectors.ROOT);\n }\n\n public initialize(): void {\n const inputElement = this._component.querySelector(APP_BAR_SEARCH_CONSTANTS.selectors.INPUT);\n if (inputElement) {\n this._inputElement = inputElement as HTMLInputElement;\n\n if (!this._inputElement.hasAttribute('slot')) {\n this._inputElement.slot = 'input';\n }\n\n const focusIndicator = document.createElement('forge-focus-indicator');\n focusIndicator.targetElement = this._inputElement;\n this._rootElement.appendChild(focusIndicator);\n }\n }\n\n public addInputEventListener(type: string, listener: (evt: Event) => void): void {\n this._inputElement?.addEventListener(type, listener);\n }\n\n public removeInputEventListener(type: string, listener: (evt: Event) => void): void {\n this._inputElement?.removeEventListener(type, listener);\n }\n\n public setInputProperty<T extends keyof HTMLInputElement>(name: T, value: HTMLInputElement[T]): void {\n if (this._inputElement) {\n this._inputElement[name] = value;\n }\n }\n\n public getInputProperty<T extends keyof HTMLInputElement>(name: T): HTMLInputElement[T] {\n return this._inputElement?.[name];\n }\n}\n", "import { CustomElement, attachShadowTemplate, coerceBoolean, FoundationProperty, ensureInputElement } from '@tylertech/forge-core';\nimport { tylIconSearch } from '@tylertech/tyler-icons/standard';\nimport { AppBarSearchFoundation } from './app-bar-search-foundation';\nimport { AppBarSearchAdapter } from './app-bar-search-adapter';\nimport { IAppBarSearchInputEventData, APP_BAR_SEARCH_CONSTANTS } from './app-bar-search-constants';\nimport { FocusIndicatorComponent } from '../../focus-indicator';\nimport { IconComponent, IconRegistry } from '../../icon';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\n\nconst template = '<template><div class=\\\"forge-app-bar-search\\\" part=\\\"root\\\"><slot name=\\\"start\\\"><forge-icon name=\\\"search\\\" class=\\\"icon\\\" part=\\\"icon\\\"></forge-icon></slot><slot name=\\\"input\\\"></slot><slot name=\\\"end\\\"></slot></div></template>';\nconst styles = ':host{display:block}:host([hidden]){display:none}.forge-app-bar-search{--_app-bar-search-color:var(--forge-app-bar-search-color, currentColor);--_app-bar-search-height:var(--forge-app-bar-search-height, 36px);--_app-bar-search-padding:var(--forge-app-bar-search-padding, 8px);--_app-bar-search-shape:var(--forge-app-bar-search-shape, var(--forge-shape-small, 2px));--_app-bar-search-gap:var(--forge-app-bar-search-gap, 4px);--_app-bar-search-input-placeholder-color:var(--forge-app-bar-search-input-placeholder-color, var(--_app-bar-search-color));--_app-bar-search-input-placeholder-opacity:var(--forge-app-bar-search-input-placeholder-opacity, 0.38);--_app-bar-search-background-color:var(--forge-app-bar-search-background-color, var(--_app-bar-search-color));--_app-bar-search-background-color-opacity:var(--forge-app-bar-search-background-color-opacity, 0.08);--_app-bar-search-border-color:var(--forge-app-bar-search-border-color, var(--_app-bar-search-color));--_app-bar-search-border-opacity:var(--forge-app-bar-search-border-opacity, 0.54);--_app-bar-search-border-hover-opacity:var(--forge-app-bar-search-border-hover-opacity, 0.87);--_app-bar-search-transition-duration:var(--forge-app-bar-search-transition-duration, var(--forge-animation-duration-short3, 150ms));--_app-bar-search-transition-timing-function:var(--forge-app-bar-search-transition-timing-function, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-app-bar-search{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-flex:1;flex:1 1 auto;gap:var(--_app-bar-search-gap);height:var(--_app-bar-search-height);width:100%;padding-inline:var(--_app-bar-search-padding);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:var(--_app-bar-search-shape)}.forge-app-bar-search:hover::after{opacity:var(--_app-bar-search-border-hover-opacity)}.forge-app-bar-search::before{content:\\\"\\\";position:absolute;inset:0;pointer-events:none;background-color:var(--_app-bar-search-background-color);opacity:var(--_app-bar-search-background-color-opacity)}.forge-app-bar-search::after{content:\\\"\\\";position:absolute;inset:0;pointer-events:none;opacity:var(--_app-bar-search-border-opacity);border-radius:var(--_app-bar-search-shape);outline:1px solid var(--_app-bar-search-border-color);-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:var(--_app-bar-search-transition-duration);transition-duration:var(--_app-bar-search-transition-duration);-webkit-transition-timing-function:var(--_app-bar-search-transition-timing-function);transition-timing-function:var(--_app-bar-search-transition-timing-function)}:host([disabled]){cursor:not-allowed}:host([disabled]) .forge-app-bar-search{pointer-events:none;opacity:38%}:host([disabled]) ::slotted(input){pointer-events:none}forge-focus-indicator{--forge-focus-indicator-color:currentColor;--forge-focus-indicator-outward-offset:0px}::slotted(input){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body2-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-body2-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 1)));font-weight:var(--forge-typography-body2-font-weight,400);line-height:var(--forge-typography-body2-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.375)));letter-spacing:var(--forge-typography-body2-letter-spacing, .015625em);text-transform:var(--forge-typography-body2-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body2-text-decoration,inherit);text-decoration:var(--forge-typography-body2-text-decoration,inherit);display:block;overflow:hidden;background:0 0;color:currentColor;border:none;width:100%;margin:0;outline:0}::slotted(input)::-webkit-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::-moz-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input):-ms-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::-ms-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}';\n\nexport interface IAppBarSearchComponent extends IBaseComponent {\n disabled: boolean;\n value: string;\n placeholder: string;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-app-bar-search': IAppBarSearchComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-app-bar-search-input': CustomEvent<IAppBarSearchInputEventData>;\n }\n}\n\n/**\n * @tag forge-app-bar-search\n * \n * @slot - The default (unnamed) slot is where child `<input>` elements will be placed.\n * @slot action - Places actions at the end of the input.\n * \n * @csspart root - The root element\n * @csspart container - The input container element.\n * @csspart icon-container - The icon container element.\n * @csspart icon - The <forge-icon> element.\n * @csspart context - The context container element.\n * @csspart context-divider - The context divider element.\n * @csspart context-button - The context button element.\n * @csspart context-button-text - The context button text element.\n * @csspart context-button-icon - The context button icon element.\n * @csspart global-icon-container - The global icon container element.\n * @csspart global-icon - The global icon <forge-icon> element.\n * @csspart actions-container - The action container element around the slot.\n * \n * @cssproperty --mdc-theme-on-primary - Controls the border-color of the container outline, the font-color, and icon color.\n * @cssproperty --mdc-theme-on-surface - Controls the font color of the buttons.\n * @cssproperty --mdc-theme-text-secondary-on-background - Controls the placeholder font color.\n * @cssproperty --forge-app-bar-search-theme-background - Controls the background-color of the container.\n * @cssproperty --forge-app-bar-search-theme-background-focused - Controls the focused background-color of the container.\n * @cssproperty --forge-app-bar-search-theme-hover-opacity - Controls the hover opacity of the outline.\n * @cssproperty --forge-app-bar-search-theme-disabled-opacity - Controls the disabled opacity of the component.\n */\n@CustomElement({\n name: APP_BAR_SEARCH_CONSTANTS.elementName,\n dependencies: [\n IconComponent,\n FocusIndicatorComponent\n ]\n})\nexport class AppBarSearchComponent extends BaseComponent implements IAppBarSearchComponent {\n public static get observedAttributes(): string[] {\n return [\n APP_BAR_SEARCH_CONSTANTS.attributes.DISABLED,\n APP_BAR_SEARCH_CONSTANTS.attributes.VALUE,\n APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER\n ];\n }\n\n private _foundation: AppBarSearchFoundation;\n\n constructor() {\n super();\n IconRegistry.define(tylIconSearch);\n attachShadowTemplate(this, template, styles);\n this._foundation = new AppBarSearchFoundation(new AppBarSearchAdapter(this));\n }\n\n public connectedCallback(): void {\n if (this.querySelector(APP_BAR_SEARCH_CONSTANTS.selectors.INPUT)) {\n this._foundation.initialize();\n } else {\n ensureInputElement(this).then(() => this._foundation.initialize());\n }\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case APP_BAR_SEARCH_CONSTANTS.attributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case APP_BAR_SEARCH_CONSTANTS.attributes.VALUE:\n this.value = newValue;\n break;\n case APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER:\n this.placeholder = newValue;\n break;\n }\n }\n\n @FoundationProperty()\n public declare value: string;\n\n @FoundationProperty()\n public declare disabled: boolean;\n \n @FoundationProperty()\n public declare placeholder: string;\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { AppBarSearchComponent } from './app-bar-search';\n\nexport * from './app-bar-search-adapter';\nexport * from './app-bar-search-constants';\nexport * from './app-bar-search-foundation';\nexport * from './app-bar-search';\n\nexport function defineAppBarSearchComponent(): void {\n defineCustomElement(AppBarSearchComponent);\n}\n"],
|
|
4
|
+
"sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../../constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}app-bar-search`;\n\nconst selectors = {\n ROOT: '.forge-app-bar-search',\n INPUT: 'input'\n};\n\nconst attributes = {\n DISABLED: 'disabled',\n VALUE: 'value',\n PLACEHOLDER: 'placeholder'\n};\n\nconst events = {\n INPUT: `${elementName}-input`\n};\n\nexport const APP_BAR_SEARCH_CONSTANTS = {\n elementName,\n selectors,\n attributes,\n events\n};\n\nexport interface IAppBarSearchInputEventData {\n value: string;\n}\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\nimport { IAppBarSearchAdapter } from './app-bar-search-adapter';\nimport { APP_BAR_SEARCH_CONSTANTS, IAppBarSearchInputEventData } from './app-bar-search-constants';\n\nexport interface IAppBarSearchFoundation extends ICustomElementFoundation {\n disabled: boolean;\n value: string;\n placeholder: string;\n}\n\nexport class AppBarSearchFoundation implements IAppBarSearchFoundation {\n private _disabled = false;\n\n private _keydownListener = (evt: KeyboardEvent): void => this._onKeydown(evt);\n\n constructor(private _adapter: IAppBarSearchAdapter) {}\n\n public initialize(): void {\n this._adapter.initialize();\n this._tryForwardInputState();\n this._adapter.addInputEventListener('keydown', this._keydownListener);\n }\n\n private _tryForwardInputState(): void {\n if (this._disabled) {\n this._adapter.setInputProperty('disabled', this._disabled);\n }\n if (this._adapter.hasHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.VALUE)) {\n this._adapter.setInputProperty('value', this._adapter.getHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.VALUE) as string);\n }\n if (this._adapter.hasHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER)) {\n this._adapter.setInputProperty('placeholder', this._adapter.getHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER) as string);\n }\n }\n\n private _onKeydown({ key, target }: KeyboardEvent): void {\n if (this._disabled) {\n return;\n }\n\n if (key === 'Enter') {\n const data: IAppBarSearchInputEventData = {\n value: (target as HTMLInputElement).value\n };\n this._adapter.emitHostEvent(APP_BAR_SEARCH_CONSTANTS.events.INPUT, data, true);\n }\n }\n\n public disconnect(): void {\n this._adapter.removeInputEventListener('keydown', this._keydownListener);\n }\n\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (value !== this._disabled) {\n this._disabled = value;\n this._adapter.setInputProperty('disabled', this._disabled);\n this._adapter.toggleHostAttribute(APP_BAR_SEARCH_CONSTANTS.attributes.DISABLED, this._disabled);\n }\n }\n\n public get value(): string {\n return this._adapter.getInputProperty('value');\n }\n public set value(value: string) {\n this._adapter.setInputProperty('value', value);\n }\n\n public get placeholder(): string {\n return this._adapter.getInputProperty('placeholder');\n }\n\n public set placeholder(value: string) {\n this._adapter.setInputProperty('placeholder', value);\n }\n}\n", "import { addClass, getShadowElement, removeClass, toggleAttribute } from '@tylertech/forge-core';\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { IAppBarSearchComponent } from './app-bar-search';\nimport { APP_BAR_SEARCH_CONSTANTS } from './app-bar-search-constants';\n\nexport interface IAppBarSearchAdapter extends IBaseAdapter {\n initialize(): void;\n addInputEventListener(type: string, listener: (evt: Event) => void): void;\n removeInputEventListener(type: string, listener: (evt: Event) => void): void;\n setInputProperty<T extends keyof HTMLInputElement>(name: T, value: HTMLInputElement[T]): void;\n getInputProperty<T extends keyof HTMLInputElement>(name: T): HTMLInputElement[T];\n}\n\nexport class AppBarSearchAdapter extends BaseAdapter<IAppBarSearchComponent> implements IAppBarSearchAdapter {\n private _rootElement: HTMLElement;\n private _inputElement: HTMLInputElement;\n\n constructor(component: IAppBarSearchComponent) {\n super(component);\n this._rootElement = getShadowElement(component, APP_BAR_SEARCH_CONSTANTS.selectors.ROOT);\n }\n\n public initialize(): void {\n const inputElement = this._component.querySelector(APP_BAR_SEARCH_CONSTANTS.selectors.INPUT);\n if (inputElement) {\n this._inputElement = inputElement as HTMLInputElement;\n\n if (!this._inputElement.hasAttribute('slot')) {\n this._inputElement.slot = 'input';\n }\n\n const focusIndicator = document.createElement('forge-focus-indicator');\n focusIndicator.targetElement = this._inputElement;\n this._rootElement.appendChild(focusIndicator);\n }\n }\n\n public addInputEventListener(type: string, listener: (evt: Event) => void): void {\n this._inputElement?.addEventListener(type, listener);\n }\n\n public removeInputEventListener(type: string, listener: (evt: Event) => void): void {\n this._inputElement?.removeEventListener(type, listener);\n }\n\n public setInputProperty<T extends keyof HTMLInputElement>(name: T, value: HTMLInputElement[T]): void {\n if (this._inputElement) {\n this._inputElement[name] = value;\n }\n }\n\n public getInputProperty<T extends keyof HTMLInputElement>(name: T): HTMLInputElement[T] {\n return this._inputElement?.[name];\n }\n}\n", "import { CustomElement, attachShadowTemplate, coerceBoolean, FoundationProperty, ensureInputElement } from '@tylertech/forge-core';\nimport { tylIconSearch } from '@tylertech/tyler-icons/standard';\nimport { AppBarSearchFoundation } from './app-bar-search-foundation';\nimport { AppBarSearchAdapter } from './app-bar-search-adapter';\nimport { IAppBarSearchInputEventData, APP_BAR_SEARCH_CONSTANTS } from './app-bar-search-constants';\nimport { FocusIndicatorComponent } from '../../focus-indicator';\nimport { IconComponent, IconRegistry } from '../../icon';\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\n\nconst template = '<template><div class=\\\"forge-app-bar-search\\\" part=\\\"root\\\"><slot name=\\\"start\\\"><forge-icon name=\\\"search\\\" class=\\\"icon\\\" part=\\\"icon\\\"></forge-icon></slot><slot name=\\\"input\\\"></slot><slot name=\\\"end\\\"></slot></div></template>';\nconst styles = ':host{display:block}:host([hidden]){display:none}.forge-app-bar-search{--_app-bar-search-color:var(--forge-app-bar-search-color, currentColor);--_app-bar-search-height:var(--forge-app-bar-search-height, 36px);--_app-bar-search-padding:var(--forge-app-bar-search-padding, 8px);--_app-bar-search-shape:var(--forge-app-bar-search-shape, var(--forge-shape-small, 2px));--_app-bar-search-gap:var(--forge-app-bar-search-gap, 4px);--_app-bar-search-input-placeholder-color:var(--forge-app-bar-search-input-placeholder-color, var(--_app-bar-search-color));--_app-bar-search-input-placeholder-opacity:var(--forge-app-bar-search-input-placeholder-opacity, 0.38);--_app-bar-search-background-color:var(--forge-app-bar-search-background-color, var(--_app-bar-search-color));--_app-bar-search-background-color-opacity:var(--forge-app-bar-search-background-color-opacity, 0.08);--_app-bar-search-border-color:var(--forge-app-bar-search-border-color, var(--_app-bar-search-color));--_app-bar-search-border-opacity:var(--forge-app-bar-search-border-opacity, 0.54);--_app-bar-search-border-hover-opacity:var(--forge-app-bar-search-border-hover-opacity, 0.87);--_app-bar-search-transition-duration:var(--forge-app-bar-search-transition-duration, var(--forge-animation-duration-short3, 150ms));--_app-bar-search-transition-timing-function:var(--forge-app-bar-search-transition-timing-function, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)))}.forge-app-bar-search{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-flex:1;flex:1 1 auto;gap:var(--_app-bar-search-gap);height:var(--_app-bar-search-height);width:100%;padding-inline:var(--_app-bar-search-padding);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:var(--_app-bar-search-shape)}.forge-app-bar-search:hover::after{opacity:var(--_app-bar-search-border-hover-opacity)}.forge-app-bar-search::before{content:\\\"\\\";position:absolute;inset:0;pointer-events:none;background-color:var(--_app-bar-search-background-color);opacity:var(--_app-bar-search-background-color-opacity)}.forge-app-bar-search::after{content:\\\"\\\";position:absolute;inset:0;pointer-events:none;opacity:var(--_app-bar-search-border-opacity);border-radius:var(--_app-bar-search-shape);outline:1px solid var(--_app-bar-search-border-color);-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:var(--_app-bar-search-transition-duration);transition-duration:var(--_app-bar-search-transition-duration);-webkit-transition-timing-function:var(--_app-bar-search-transition-timing-function);transition-timing-function:var(--_app-bar-search-transition-timing-function)}:host([disabled]){cursor:not-allowed}:host([disabled]) .forge-app-bar-search{pointer-events:none;opacity:38%}:host([disabled]) ::slotted(input){pointer-events:none}forge-focus-indicator{--forge-focus-indicator-color:currentColor;--forge-focus-indicator-outward-offset:0px}::slotted(input){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-body2-font-family, var(--forge-typography-font-family, \\\"Roboto\\\", sans-serif));font-size:var(--forge-typography-body2-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-font-size-scale, 1)));font-weight:var(--forge-typography-body2-font-weight,400);line-height:var(--forge-typography-body2-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-body-line-height-scale, 1.375)));letter-spacing:var(--forge-typography-body2-letter-spacing, .015625em);text-transform:var(--forge-typography-body2-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-body2-text-decoration,inherit);text-decoration:var(--forge-typography-body2-text-decoration,inherit);display:block;overflow:hidden;background:0 0;color:currentColor;border:none;width:100%;margin:0;outline:0}::slotted(input)::-webkit-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::-moz-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input):-ms-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::-ms-input-placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}::slotted(input)::placeholder{color:currentColor;opacity:var(--_app-bar-search-input-placeholder-opacity)}';\n\nexport interface IAppBarSearchComponent extends IBaseComponent {\n disabled: boolean;\n value: string;\n placeholder: string;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-app-bar-search': IAppBarSearchComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-app-bar-search-input': CustomEvent<IAppBarSearchInputEventData>;\n }\n}\n\n/**\n * @tag forge-app-bar-search\n * \n * @slot - The default (unnamed) slot is where child `<input>` elements will be placed.\n * @slot action - Places actions at the end of the input.\n * \n * @csspart root - The root element\n * @csspart container - The input container element.\n * @csspart icon-container - The icon container element.\n * @csspart icon - The <forge-icon> element.\n * @csspart context - The context container element.\n * @csspart context-divider - The context divider element.\n * @csspart context-button - The context button element.\n * @csspart context-button-text - The context button text element.\n * @csspart context-button-icon - The context button icon element.\n * @csspart global-icon-container - The global icon container element.\n * @csspart global-icon - The global icon <forge-icon> element.\n * @csspart actions-container - The action container element around the slot.\n * \n * @cssproperty --forge-theme-on-primary - Controls the border-color of the container outline, the font-color, and icon color.\n * @cssproperty --forge-theme-on-surface - Controls the font color of the buttons.\n * @cssproperty --forge-theme-text-medium - Controls the placeholder font color.\n * @cssproperty --forge-app-bar-search-theme-background - Controls the background-color of the container.\n * @cssproperty --forge-app-bar-search-theme-background-focused - Controls the focused background-color of the container.\n * @cssproperty --forge-app-bar-search-theme-hover-opacity - Controls the hover opacity of the outline.\n * @cssproperty --forge-app-bar-search-theme-disabled-opacity - Controls the disabled opacity of the component.\n */\n@CustomElement({\n name: APP_BAR_SEARCH_CONSTANTS.elementName,\n dependencies: [\n IconComponent,\n FocusIndicatorComponent\n ]\n})\nexport class AppBarSearchComponent extends BaseComponent implements IAppBarSearchComponent {\n public static get observedAttributes(): string[] {\n return [\n APP_BAR_SEARCH_CONSTANTS.attributes.DISABLED,\n APP_BAR_SEARCH_CONSTANTS.attributes.VALUE,\n APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER\n ];\n }\n\n private _foundation: AppBarSearchFoundation;\n\n constructor() {\n super();\n IconRegistry.define(tylIconSearch);\n attachShadowTemplate(this, template, styles);\n this._foundation = new AppBarSearchFoundation(new AppBarSearchAdapter(this));\n }\n\n public connectedCallback(): void {\n if (this.querySelector(APP_BAR_SEARCH_CONSTANTS.selectors.INPUT)) {\n this._foundation.initialize();\n } else {\n ensureInputElement(this).then(() => this._foundation.initialize());\n }\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case APP_BAR_SEARCH_CONSTANTS.attributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case APP_BAR_SEARCH_CONSTANTS.attributes.VALUE:\n this.value = newValue;\n break;\n case APP_BAR_SEARCH_CONSTANTS.attributes.PLACEHOLDER:\n this.placeholder = newValue;\n break;\n }\n }\n\n @FoundationProperty()\n public declare value: string;\n\n @FoundationProperty()\n public declare disabled: boolean;\n \n @FoundationProperty()\n public declare placeholder: string;\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { AppBarSearchComponent } from './app-bar-search';\n\nexport * from './app-bar-search-adapter';\nexport * from './app-bar-search-constants';\nexport * from './app-bar-search-foundation';\nexport * from './app-bar-search';\n\nexport function defineAppBarSearchComponent(): void {\n defineCustomElement(AppBarSearchComponent);\n}\n"],
|
|
5
5
|
"mappings": "mbAEA,IAAMA,EAA2C,GAAGC,kBAE9C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OC,CAAa,EACjCC,EAAqB,KAAMN,EAAUC,CAAM,EAC3C,KAAK,YAAc,IAAIM,EAAuB,IAAIC,EAAoB,IAAI,CAAC,CAC7E,CAfA,WAAkB,oBAA+B,CAC/C,MAAO,CACLC,EAAyB,WAAW,SACpCA,EAAyB,WAAW,MACpCA,EAAyB,WAAW,WACtC,CACF,CAWO,mBAA0B,CAC3B,KAAK,cAAcA,EAAyB,UAAU,KAAK,EAC7D,KAAK,YAAY,WAAW,EAE5BC,EAAmB,IAAI,EAAE,KAAK,IAAM,KAAK,YAAY,WAAW,CAAC,CAErE,CAEO,sBAA6B,CAClC,KAAK,YAAY,WAAW,CAC9B,CAEO,yBAAyBC,EAAcC,EAAkBC,EAAwB,CACtF,OAAQF,EAAM,CACZ,KAAKF,EAAyB,WAAW,SACvC,KAAK,SAAWK,EAAcD,CAAQ,EACtC,MACF,KAAKJ,EAAyB,WAAW,MACvC,KAAK,MAAQI,EACb,MACF,KAAKJ,EAAyB,WAAW,YACvC,KAAK,YAAcI,EACnB,KACJ,CACF,CAUF,EAPiBE,EAAA,CADdC,EAAmB,GA5CTd,EA6CI,qBAGAa,EAAA,CADdC,EAAmB,GA/CTd,EAgDI,wBAGAa,EAAA,CADdC,EAAmB,GAlDTd,EAmDI,2BAnDJA,EAANa,EAAA,CAPNE,EAAc,CACb,KAAMR,EAAyB,YAC/B,aAAc,CACZS,EACAC,CACF,CACF,CAAC,GACYjB,GCrDN,SAASkB,IAAoC,CAClDC,EAAoBC,CAAqB,CAC3C",
|
|
6
6
|
"names": ["elementName", "COMPONENT_NAME_PREFIX", "selectors", "attributes", "events", "APP_BAR_SEARCH_CONSTANTS", "AppBarSearchFoundation", "_adapter", "evt", "APP_BAR_SEARCH_CONSTANTS", "key", "target", "data", "value", "AppBarSearchAdapter", "BaseAdapter", "component", "getShadowElement", "APP_BAR_SEARCH_CONSTANTS", "inputElement", "focusIndicator", "type", "listener", "_a", "name", "value", "template", "styles", "AppBarSearchComponent", "BaseComponent", "IconRegistry", "tylIconSearch", "attachShadowTemplate", "AppBarSearchFoundation", "AppBarSearchAdapter", "APP_BAR_SEARCH_CONSTANTS", "ensureInputElement", "name", "oldValue", "newValue", "coerceBoolean", "__decorateClass", "FoundationProperty", "CustomElement", "IconComponent", "FocusIndicatorComponent", "defineAppBarSearchComponent", "defineCustomElement", "AppBarSearchComponent"]
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a as w,b as X}from"./chunk.BQ52JYLA.js";import{a as n}from"./chunk.NVUMRW44.js";import{a as _}from"./chunk.OLFOVKQG.js";import{a as k,b as v,n as m}from"./chunk.VRSPT7WX.js";import{a as p,e as u,f as s,k as h}from"./chunk.LNTTU2GL.js";import{k as d,l as g}from"./chunk.J2M2MXP2.js";import{a as b,d as a}from"./chunk.M3QDAYD2.js";var z=`${v}linear-progress`,E={INDETERMINATE:"forge-linear-progress--indeterminate"},T={ROOT:".forge-linear-progress",PROGRESS:".primary-bar",BUFFER:".buffer-bar"},y={DETERMINATE:"determinate",PROGRESS:"progress",BUFFER:"buffer",THEME:"theme"},A=b({},y),r={elementName:z,classes:E,selectors:T,attributes:A,observedAttributes:y};var c=class extends _{constructor(t){super(t);this._rootElement=s(t,r.selectors.ROOT),this._progressElement=s(t,r.selectors.PROGRESS),this._bufferElement=s(t,r.selectors.BUFFER)}initialize(){this._component[m]({role:"progressbar",ariaValueMin:"0",ariaValueMax:"1",ariaValueNow:this._component.determinate?`${this._component.progress}`:null})}setDeterminate(t){this._component[m]({ariaValueNow:t?`${this._component.progress}`:null}),t?this.setProgress(this._component.progress):(this._progressElement.style.transform="",this._bufferElement.style.transform=""),this._rootElement.classList.toggle(r.classes.INDETERMINATE,!t)}setProgress(t){this._component[m]({ariaValueNow:`${t}`}),this._progressElement.style.transform=`scaleX(${t*100}%)`}setBuffer(t){this._bufferElement.style.transform=`scaleX(${t*100}%)`}};var l=class{constructor(e){this._adapter=e;this._determinate=!1;this._progress=0;this._buffer=1;this._theme="primary"}initialize(){this._adapter.initialize()}get determinate(){return this._determinate}set determinate(e){e=!!e,this._determinate!==e&&(this._determinate=e,this._adapter.setBuffer(this._determinate?this._buffer:1),this._adapter.setProgress(this._determinate?this._progress:0),this._adapter.setDeterminate(this._determinate),this._adapter.toggleHostAttribute(r.attributes.DETERMINATE,this._determinate))}get progress(){return this._progress}set progress(e){this._progress!==e&&(this._progress=e,this._determinate&&this._adapter.setProgress(this._progress),this._adapter.setHostAttribute(r.attributes.PROGRESS,String(this._progress)))}get buffer(){return this._buffer}set buffer(e){this._buffer!==e&&(this._buffer=e,this._determinate&&this._adapter.setBuffer(this._buffer),this._adapter.setHostAttribute(r.attributes.BUFFER,this._buffer.toString()))}get theme(){return this._theme}set theme(e){this._theme!==e&&(this._theme=e,this._adapter.toggleHostAttribute(r.attributes.THEME,!!this._theme,this._theme))}};var R='<template><div class="forge-linear-progress forge-linear-progress--indeterminate" part="progressbar"><div class="track"></div><div class="buffer-bar"></div><div class="bar primary-bar"><div class="bar-inner"></div></div><div class="bar secondary-bar"><div class="bar-inner"></div></div></div></template>',I=":host{--_linear-progress-track-height:var(--forge-linear-progress-track-height, 4px)}:host{display:block;position:relative;min-inline-size:80px;block-size:var(--_linear-progress-track-height);content-visibility:auto;contain:strict}:host([hidden]){display:none}.forge-linear-progress{--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-tertiary-container, #d0d7ff));--_linear-progress-track-shape:var(--forge-linear-progress-track-shape, var(--forge-shape-full, 9999px));--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-tertiary, #3d5afe));--_linear-progress-indicator-height:var(--forge-linear-progress-indicator-height, var(--_linear-progress-track-height));--_linear-progress-determinate-duration:var(--forge-linear-progress-determinate-duration, var(--forge-animation-duration-medium1, 250ms));--_linear-progress-determinate-easing:var(--forge-linear-progress-determinate-easing, cubic-bezier(0.4, 0, 0.6, 1));--_linear-progress-indeterminate-duration:var(--forge-linear-progress-indeterminate-duration, 2s);--_linear-progress-theme-transition-duration:var(--forge-linear-progress-theme-transition-duration, var(--forge-animation-duration-short3, 150ms));--_linear-progress-theme-transition-timing:var(--forge-linear-progress-theme-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)));--_linear-progress-track-dot-size:calc(var(--_linear-progress-track-height) / 2);--_linear-progress-track-background-width:calc(var(--_linear-progress-track-dot-size) * 5);--_linear-progress-track-background:0/var(--_linear-progress-track-background-width) 100% radial-gradient(circle at calc(var(--_linear-progress-track-dot-size) * 2), var(--_linear-progress-track-color) 0, var(--_linear-progress-track-color) var(--_linear-progress-track-dot-size), transparent var(--_linear-progress-track-dot-size))}.forge-linear-progress{inset:0;outline:transparent solid 1px;border-radius:var(--_linear-progress-track-shape);overflow:hidden;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.bar,.bar-inner,.buffer-bar,.forge-linear-progress,.track{position:absolute}.bar{-webkit-animation:none;animation:none;inline-size:100%;block-size:var(--_linear-progress-indicator-height);-webkit-transform-origin:left center;transform-origin:left center;will-change:transform;-webkit-transition:-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing)}.secondary-bar{display:none}.bar-inner{inset:0;-webkit-animation:none;animation:none;-webkit-transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);background:var(--_linear-progress-indicator-color)}.buffer-bar{background:var(--_linear-progress-track-color);inset:0;will-change:transform;-webkit-transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing),background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing),background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);-webkit-transform-origin:left center;transform-origin:left center}.track{inset:0;will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-determinate-duration);animation:linear infinite var(--_linear-progress-determinate-duration);-webkit-animation-name:buffering;animation-name:buffering;background:var(--_linear-progress-track-color);-webkit-transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing)}.forge-linear-progress--indeterminate .bar{-webkit-transition:none;transition:none}.forge-linear-progress--indeterminate .primary-bar{inset-inline-start:-145.167%;will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration);animation:linear infinite var(--_linear-progress-indeterminate-duration);-webkit-animation-name:primary-indeterminate-translate;animation-name:primary-indeterminate-translate}.forge-linear-progress--indeterminate .secondary-bar{inset-inline-start:-54.8889%;display:block;will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration);animation:linear infinite var(--_linear-progress-indeterminate-duration);-webkit-animation-name:secondary-indeterminate-translate;animation-name:secondary-indeterminate-translate}.forge-linear-progress--indeterminate .track{display:none}.forge-linear-progress--indeterminate .primary-bar>.bar-inner{will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration) primary-indeterminate-scale;animation:linear infinite var(--_linear-progress-indeterminate-duration) primary-indeterminate-scale}.forge-linear-progress--indeterminate .secondary-bar>.bar-inner{will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration) secondary-indeterminate-scale;animation:linear infinite var(--_linear-progress-indeterminate-duration) secondary-indeterminate-scale}:host-context([dir=rtl]) .forge-linear-progress .bar{-webkit-transform-origin:right center;transform-origin:right center}:host-context([dir=rtl]) .forge-linear-progress .buffer-bar{-webkit-transform-origin:right center;transform-origin:right center}:host-context([dir=rtl]) .forge-linear-progress .track{-webkit-animation-name:buffering-rtl;animation-name:buffering-rtl}:host-context([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .primary-bar{-webkit-animation-name:primary-indeterminate-translate-rtl;animation-name:primary-indeterminate-translate-rtl}:host-context([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .secondary-bar{-webkit-animation-name:secondary-indeterminate-translate-rtl;animation-name:secondary-indeterminate-translate-rtl}:host([dir=rtl]) .forge-linear-progress .bar{-webkit-transform-origin:right center;transform-origin:right center}:host([dir=rtl]) .forge-linear-progress .buffer-bar{-webkit-transform-origin:right center;transform-origin:right center}:host([dir=rtl]) .forge-linear-progress .track{-webkit-animation-name:buffering-rtl;animation-name:buffering-rtl}:host([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .primary-bar{-webkit-animation-name:primary-indeterminate-translate-rtl;animation-name:primary-indeterminate-translate-rtl}:host([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .secondary-bar{-webkit-animation-name:secondary-indeterminate-translate-rtl;animation-name:secondary-indeterminate-translate-rtl}.forge-linear-progress:dir(rtl) .bar{-webkit-transform-origin:right center;transform-origin:right center}.forge-linear-progress:dir(rtl) .buffer-bar{-webkit-transform-origin:right center;transform-origin:right center}.forge-linear-progress:dir(rtl) .track{-webkit-animation-name:buffering-rtl;animation-name:buffering-rtl}.forge-linear-progress:dir(rtl).forge-linear-progress--indeterminate .primary-bar{-webkit-animation-name:primary-indeterminate-translate-rtl;animation-name:primary-indeterminate-translate-rtl}.forge-linear-progress:dir(rtl).forge-linear-progress--indeterminate .secondary-bar{-webkit-animation-name:secondary-indeterminate-translate-rtl;animation-name:secondary-indeterminate-translate-rtl}:host([theme=primary]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-primary, #3f51b5));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-primary-container, #d1d5ed))}:host([theme=secondary]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-secondary, #ffc107));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-secondary-container, #fff0c3))}:host([theme=success]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-success, #2e7d32));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-success-container, #cde0ce))}:host([theme=error]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-error, #b00020));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-error-container, #ecc2c9))}:host([theme=warning]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-warning, #d14900));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-warning-container, #f4d3c2))}:host([theme=info]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-info, #1565c0));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-info-container, #c7daf0))}@media screen and (forced-colors:active){.forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, CanvasText);--_linear-progress-track-color:var(--forge-linear-progress-track-color, GrayText);border:1px solid CanvasText}.forge-linear-progress.forge-linear-progress--indeterminate{--_linear-progress-track-color:var(--forge-linear-progress-track-color, Canvas)}}@-webkit-keyframes buffering{0%{-webkit-transform:translateX(calc(1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(1 * var(--_linear-progress-track-background-width)))}}@keyframes buffering{0%{-webkit-transform:translateX(calc(1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(1 * var(--_linear-progress-track-background-width)))}}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(1 * 83.6714%));transform:translateX(calc(1 * 83.6714%))}100%{-webkit-transform:translateX(calc(1 * 200.611%));transform:translateX(calc(1 * 200.611%))}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(1 * 83.6714%));transform:translateX(calc(1 * 83.6714%))}100%{-webkit-transform:translateX(calc(1 * 200.611%));transform:translateX(calc(1 * 200.611%))}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(1 * 37.6519%));transform:translateX(calc(1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(1 * 84.3862%));transform:translateX(calc(1 * 84.3862%))}100%{-webkit-transform:translateX(calc(1 * 160.278%));transform:translateX(calc(1 * 160.278%))}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(1 * 37.6519%));transform:translateX(calc(1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(1 * 84.3862%));transform:translateX(calc(1 * 84.3862%))}100%{-webkit-transform:translateX(calc(1 * 160.278%));transform:translateX(calc(1 * 160.278%))}}@-webkit-keyframes buffering-rtl{0%{-webkit-transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)))}}@keyframes buffering-rtl{0%{-webkit-transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)))}}@-webkit-keyframes primary-indeterminate-translate-rtl{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(-1 * 83.6714%));transform:translateX(calc(-1 * 83.6714%))}100%{-webkit-transform:translateX(calc(-1 * 200.611%));transform:translateX(calc(-1 * 200.611%))}}@keyframes primary-indeterminate-translate-rtl{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(-1 * 83.6714%));transform:translateX(calc(-1 * 83.6714%))}100%{-webkit-transform:translateX(calc(-1 * 200.611%));transform:translateX(calc(-1 * 200.611%))}}@-webkit-keyframes secondary-indeterminate-translate-rtl{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(-1 * 37.6519%));transform:translateX(calc(-1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(-1 * 84.3862%));transform:translateX(calc(-1 * 84.3862%))}100%{-webkit-transform:translateX(calc(-1 * 160.278%));transform:translateX(calc(-1 * 160.278%))}}@keyframes secondary-indeterminate-translate-rtl{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(-1 * 37.6519%));transform:translateX(calc(-1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(-1 * 84.3862%));transform:translateX(calc(-1 * 84.3862%))}100%{-webkit-transform:translateX(calc(-1 * 160.278%));transform:translateX(calc(-1 * 160.278%))}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);-webkit-transform:scaleX(.08);transform:scaleX(.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);-webkit-transform:scaleX(.661479);transform:scaleX(.661479)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);-webkit-transform:scaleX(.08);transform:scaleX(.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);-webkit-transform:scaleX(.661479);transform:scaleX(.661479)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);-webkit-transform:scaleX(.08);transform:scaleX(.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);-webkit-transform:scaleX(.457104);transform:scaleX(.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);-webkit-transform:scaleX(.72796);transform:scaleX(.72796)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);-webkit-transform:scaleX(.08);transform:scaleX(.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);-webkit-transform:scaleX(.457104);transform:scaleX(.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);-webkit-transform:scaleX(.72796);transform:scaleX(.72796)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}",i=class extends w(X(h)){constructor(){super();u(this,R,I),this._foundation=new l(new c(this))}static get observedAttributes(){return Object.values(r.observedAttributes)}connectedCallback(){this._foundation.initialize()}attributeChangedCallback(t,P,o){switch(t){case r.observedAttributes.DETERMINATE:this.determinate=d(o);break;case r.observedAttributes.PROGRESS:this.progress=g(o);break;case r.observedAttributes.BUFFER:this.buffer=g(o);break;case r.observedAttributes.THEME:this.theme=o;break}}};a([n()],i.prototype,"determinate",2),a([n()],i.prototype,"progress",2),a([n()],i.prototype,"buffer",2),a([n()],i.prototype,"theme",2),i=a([k({name:r.elementName})],i);function ar(){p(i)}export{r as a,i as b,ar as c};
|
|
7
|
-
//# sourceMappingURL=chunk.
|
|
6
|
+
import{a as w,b as X}from"./chunk.3LUG3LPU.js";import{a as n}from"./chunk.NVUMRW44.js";import{a as _}from"./chunk.OLFOVKQG.js";import{a as k,b as v,n as m}from"./chunk.5OT53ZJM.js";import{a as p,e as u,f as s,k as h}from"./chunk.LNTTU2GL.js";import{k as d,l as g}from"./chunk.J2M2MXP2.js";import{a as b,d as a}from"./chunk.M3QDAYD2.js";var z=`${v}linear-progress`,E={INDETERMINATE:"forge-linear-progress--indeterminate"},T={ROOT:".forge-linear-progress",PROGRESS:".primary-bar",BUFFER:".buffer-bar"},y={DETERMINATE:"determinate",PROGRESS:"progress",BUFFER:"buffer",THEME:"theme"},A=b({},y),r={elementName:z,classes:E,selectors:T,attributes:A,observedAttributes:y};var c=class extends _{constructor(t){super(t);this._rootElement=s(t,r.selectors.ROOT),this._progressElement=s(t,r.selectors.PROGRESS),this._bufferElement=s(t,r.selectors.BUFFER)}initialize(){this._component[m]({role:"progressbar",ariaValueMin:"0",ariaValueMax:"1",ariaValueNow:this._component.determinate?`${this._component.progress}`:null})}setDeterminate(t){this._component[m]({ariaValueNow:t?`${this._component.progress}`:null}),t?this.setProgress(this._component.progress):(this._progressElement.style.transform="",this._bufferElement.style.transform=""),this._rootElement.classList.toggle(r.classes.INDETERMINATE,!t)}setProgress(t){this._component[m]({ariaValueNow:`${t}`}),this._progressElement.style.transform=`scaleX(${t*100}%)`}setBuffer(t){this._bufferElement.style.transform=`scaleX(${t*100}%)`}};var l=class{constructor(e){this._adapter=e;this._determinate=!1;this._progress=0;this._buffer=1;this._theme="primary"}initialize(){this._adapter.initialize()}get determinate(){return this._determinate}set determinate(e){e=!!e,this._determinate!==e&&(this._determinate=e,this._adapter.setBuffer(this._determinate?this._buffer:1),this._adapter.setProgress(this._determinate?this._progress:0),this._adapter.setDeterminate(this._determinate),this._adapter.toggleHostAttribute(r.attributes.DETERMINATE,this._determinate))}get progress(){return this._progress}set progress(e){this._progress!==e&&(this._progress=e,this._determinate&&this._adapter.setProgress(this._progress),this._adapter.setHostAttribute(r.attributes.PROGRESS,String(this._progress)))}get buffer(){return this._buffer}set buffer(e){this._buffer!==e&&(this._buffer=e,this._determinate&&this._adapter.setBuffer(this._buffer),this._adapter.setHostAttribute(r.attributes.BUFFER,this._buffer.toString()))}get theme(){return this._theme}set theme(e){this._theme!==e&&(this._theme=e,this._adapter.toggleHostAttribute(r.attributes.THEME,!!this._theme,this._theme))}};var R='<template><div class="forge-linear-progress forge-linear-progress--indeterminate" part="progressbar"><div class="track"></div><div class="buffer-bar"></div><div class="bar primary-bar"><div class="bar-inner"></div></div><div class="bar secondary-bar"><div class="bar-inner"></div></div></div></template>',I=":host{--_linear-progress-track-height:var(--forge-linear-progress-track-height, 4px)}:host{display:block;position:relative;min-inline-size:80px;block-size:var(--_linear-progress-track-height);content-visibility:auto;contain:strict}:host([hidden]){display:none}.forge-linear-progress{--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-tertiary-container, #d0d7ff));--_linear-progress-track-shape:var(--forge-linear-progress-track-shape, var(--forge-shape-full, 9999px));--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-tertiary, #3d5afe));--_linear-progress-indicator-height:var(--forge-linear-progress-indicator-height, var(--_linear-progress-track-height));--_linear-progress-determinate-duration:var(--forge-linear-progress-determinate-duration, var(--forge-animation-duration-medium1, 250ms));--_linear-progress-determinate-easing:var(--forge-linear-progress-determinate-easing, cubic-bezier(0.4, 0, 0.6, 1));--_linear-progress-indeterminate-duration:var(--forge-linear-progress-indeterminate-duration, 2s);--_linear-progress-theme-transition-duration:var(--forge-linear-progress-theme-transition-duration, var(--forge-animation-duration-short3, 150ms));--_linear-progress-theme-transition-timing:var(--forge-linear-progress-theme-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)));--_linear-progress-track-dot-size:calc(var(--_linear-progress-track-height) / 2);--_linear-progress-track-background-width:calc(var(--_linear-progress-track-dot-size) * 5);--_linear-progress-track-background:0/var(--_linear-progress-track-background-width) 100% radial-gradient(circle at calc(var(--_linear-progress-track-dot-size) * 2), var(--_linear-progress-track-color) 0, var(--_linear-progress-track-color) var(--_linear-progress-track-dot-size), transparent var(--_linear-progress-track-dot-size))}.forge-linear-progress{inset:0;outline:transparent solid 1px;border-radius:var(--_linear-progress-track-shape);overflow:hidden;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.bar,.bar-inner,.buffer-bar,.forge-linear-progress,.track{position:absolute}.bar{-webkit-animation:none;animation:none;inline-size:100%;block-size:var(--_linear-progress-indicator-height);-webkit-transform-origin:left center;transform-origin:left center;will-change:transform;-webkit-transition:-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing)}.secondary-bar{display:none}.bar-inner{inset:0;-webkit-animation:none;animation:none;-webkit-transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);background:var(--_linear-progress-indicator-color)}.buffer-bar{background:var(--_linear-progress-track-color);inset:0;will-change:transform;-webkit-transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing),background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);transition:transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing),background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing),-webkit-transform var(--_linear-progress-determinate-duration) var(--_linear-progress-determinate-easing);-webkit-transform-origin:left center;transform-origin:left center}.track{inset:0;will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-determinate-duration);animation:linear infinite var(--_linear-progress-determinate-duration);-webkit-animation-name:buffering;animation-name:buffering;background:var(--_linear-progress-track-color);-webkit-transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing);transition:background-color var(--_linear-progress-theme-transition-duration) var(--_linear-progress-theme-transition-timing)}.forge-linear-progress--indeterminate .bar{-webkit-transition:none;transition:none}.forge-linear-progress--indeterminate .primary-bar{inset-inline-start:-145.167%;will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration);animation:linear infinite var(--_linear-progress-indeterminate-duration);-webkit-animation-name:primary-indeterminate-translate;animation-name:primary-indeterminate-translate}.forge-linear-progress--indeterminate .secondary-bar{inset-inline-start:-54.8889%;display:block;will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration);animation:linear infinite var(--_linear-progress-indeterminate-duration);-webkit-animation-name:secondary-indeterminate-translate;animation-name:secondary-indeterminate-translate}.forge-linear-progress--indeterminate .track{display:none}.forge-linear-progress--indeterminate .primary-bar>.bar-inner{will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration) primary-indeterminate-scale;animation:linear infinite var(--_linear-progress-indeterminate-duration) primary-indeterminate-scale}.forge-linear-progress--indeterminate .secondary-bar>.bar-inner{will-change:transform;-webkit-animation:linear infinite var(--_linear-progress-indeterminate-duration) secondary-indeterminate-scale;animation:linear infinite var(--_linear-progress-indeterminate-duration) secondary-indeterminate-scale}:host-context([dir=rtl]) .forge-linear-progress .bar{-webkit-transform-origin:right center;transform-origin:right center}:host-context([dir=rtl]) .forge-linear-progress .buffer-bar{-webkit-transform-origin:right center;transform-origin:right center}:host-context([dir=rtl]) .forge-linear-progress .track{-webkit-animation-name:buffering-rtl;animation-name:buffering-rtl}:host-context([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .primary-bar{-webkit-animation-name:primary-indeterminate-translate-rtl;animation-name:primary-indeterminate-translate-rtl}:host-context([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .secondary-bar{-webkit-animation-name:secondary-indeterminate-translate-rtl;animation-name:secondary-indeterminate-translate-rtl}:host([dir=rtl]) .forge-linear-progress .bar{-webkit-transform-origin:right center;transform-origin:right center}:host([dir=rtl]) .forge-linear-progress .buffer-bar{-webkit-transform-origin:right center;transform-origin:right center}:host([dir=rtl]) .forge-linear-progress .track{-webkit-animation-name:buffering-rtl;animation-name:buffering-rtl}:host([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .primary-bar{-webkit-animation-name:primary-indeterminate-translate-rtl;animation-name:primary-indeterminate-translate-rtl}:host([dir=rtl]) .forge-linear-progress.forge-linear-progress--indeterminate .secondary-bar{-webkit-animation-name:secondary-indeterminate-translate-rtl;animation-name:secondary-indeterminate-translate-rtl}.forge-linear-progress:dir(rtl) .bar{-webkit-transform-origin:right center;transform-origin:right center}.forge-linear-progress:dir(rtl) .buffer-bar{-webkit-transform-origin:right center;transform-origin:right center}.forge-linear-progress:dir(rtl) .track{-webkit-animation-name:buffering-rtl;animation-name:buffering-rtl}.forge-linear-progress:dir(rtl).forge-linear-progress--indeterminate .primary-bar{-webkit-animation-name:primary-indeterminate-translate-rtl;animation-name:primary-indeterminate-translate-rtl}.forge-linear-progress:dir(rtl).forge-linear-progress--indeterminate .secondary-bar{-webkit-animation-name:secondary-indeterminate-translate-rtl;animation-name:secondary-indeterminate-translate-rtl}:host([theme=primary]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-primary, #3f51b5));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-primary-container, #d1d5ed))}:host([theme=secondary]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-secondary, #ffc107));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-secondary-container, #fff0c3))}:host([theme=success]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-success, #2e7d32));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-success-container, #cde0ce))}:host([theme=error]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-error, #b00020));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-error-container, #ecc2c9))}:host([theme=warning]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-warning, #d14900));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-warning-container, #f4d3c2))}:host([theme=info]) .forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, var(--forge-theme-info, #1565c0));--_linear-progress-track-color:var(--forge-linear-progress-track-color, var(--forge-theme-info-container, #c7daf0))}@media screen and (forced-colors:active){.forge-linear-progress{--_linear-progress-indicator-color:var(--forge-linear-progress-indicator-color, CanvasText);--_linear-progress-track-color:var(--forge-linear-progress-track-color, GrayText);border:1px solid CanvasText}.forge-linear-progress.forge-linear-progress--indeterminate{--_linear-progress-track-color:var(--forge-linear-progress-track-color, Canvas)}}@-webkit-keyframes buffering{0%{-webkit-transform:translateX(calc(1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(1 * var(--_linear-progress-track-background-width)))}}@keyframes buffering{0%{-webkit-transform:translateX(calc(1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(1 * var(--_linear-progress-track-background-width)))}}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(1 * 83.6714%));transform:translateX(calc(1 * 83.6714%))}100%{-webkit-transform:translateX(calc(1 * 200.611%));transform:translateX(calc(1 * 200.611%))}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(1 * 83.6714%));transform:translateX(calc(1 * 83.6714%))}100%{-webkit-transform:translateX(calc(1 * 200.611%));transform:translateX(calc(1 * 200.611%))}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(1 * 37.6519%));transform:translateX(calc(1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(1 * 84.3862%));transform:translateX(calc(1 * 84.3862%))}100%{-webkit-transform:translateX(calc(1 * 160.278%));transform:translateX(calc(1 * 160.278%))}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(1 * 37.6519%));transform:translateX(calc(1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(1 * 84.3862%));transform:translateX(calc(1 * 84.3862%))}100%{-webkit-transform:translateX(calc(1 * 160.278%));transform:translateX(calc(1 * 160.278%))}}@-webkit-keyframes buffering-rtl{0%{-webkit-transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)))}}@keyframes buffering-rtl{0%{-webkit-transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)));transform:translateX(calc(-1 * var(--_linear-progress-track-background-width)))}}@-webkit-keyframes primary-indeterminate-translate-rtl{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(-1 * 83.6714%));transform:translateX(calc(-1 * 83.6714%))}100%{-webkit-transform:translateX(calc(-1 * 200.611%));transform:translateX(calc(-1 * 200.611%))}}@keyframes primary-indeterminate-translate-rtl{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);animation-timing-function:cubic-bezier(0.5,0,0.701732,0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);animation-timing-function:cubic-bezier(0.302435,0.381352,0.55,0.956352);-webkit-transform:translateX(calc(-1 * 83.6714%));transform:translateX(calc(-1 * 83.6714%))}100%{-webkit-transform:translateX(calc(-1 * 200.611%));transform:translateX(calc(-1 * 200.611%))}}@-webkit-keyframes secondary-indeterminate-translate-rtl{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(-1 * 37.6519%));transform:translateX(calc(-1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(-1 * 84.3862%));transform:translateX(calc(-1 * 84.3862%))}100%{-webkit-transform:translateX(calc(-1 * 160.278%));transform:translateX(calc(-1 * 160.278%))}}@keyframes secondary-indeterminate-translate-rtl{0%{-webkit-animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);animation-timing-function:cubic-bezier(0.15,0,0.515058,0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);animation-timing-function:cubic-bezier(0.31033,0.284058,0.8,0.733712);-webkit-transform:translateX(calc(-1 * 37.6519%));transform:translateX(calc(-1 * 37.6519%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);animation-timing-function:cubic-bezier(0.4,0.627035,0.6,0.902026);-webkit-transform:translateX(calc(-1 * 84.3862%));transform:translateX(calc(-1 * 84.3862%))}100%{-webkit-transform:translateX(calc(-1 * 160.278%));transform:translateX(calc(-1 * 160.278%))}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);-webkit-transform:scaleX(.08);transform:scaleX(.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);-webkit-transform:scaleX(.661479);transform:scaleX(.661479)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);animation-timing-function:cubic-bezier(0.334731,0.12482,0.785844,1);-webkit-transform:scaleX(.08);transform:scaleX(.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);animation-timing-function:cubic-bezier(0.06,0.11,0.6,1);-webkit-transform:scaleX(.661479);transform:scaleX(.661479)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);-webkit-transform:scaleX(.08);transform:scaleX(.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);-webkit-transform:scaleX(.457104);transform:scaleX(.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);-webkit-transform:scaleX(.72796);transform:scaleX(.72796)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);animation-timing-function:cubic-bezier(0.205028,0.057051,0.57661,0.453971);-webkit-transform:scaleX(.08);transform:scaleX(.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);animation-timing-function:cubic-bezier(0.152313,0.196432,0.648374,1.00432);-webkit-transform:scaleX(.457104);transform:scaleX(.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);animation-timing-function:cubic-bezier(0.257759,-0.003163,0.211762,1.38179);-webkit-transform:scaleX(.72796);transform:scaleX(.72796)}100%{-webkit-transform:scaleX(.08);transform:scaleX(.08)}}",i=class extends w(X(h)){constructor(){super();u(this,R,I),this._foundation=new l(new c(this))}static get observedAttributes(){return Object.values(r.observedAttributes)}connectedCallback(){this._foundation.initialize()}attributeChangedCallback(t,P,o){switch(t){case r.observedAttributes.DETERMINATE:this.determinate=d(o);break;case r.observedAttributes.PROGRESS:this.progress=g(o);break;case r.observedAttributes.BUFFER:this.buffer=g(o);break;case r.observedAttributes.THEME:this.theme=o;break}}};a([n()],i.prototype,"determinate",2),a([n()],i.prototype,"progress",2),a([n()],i.prototype,"buffer",2),a([n()],i.prototype,"theme",2),i=a([k({name:r.elementName})],i);function ar(){p(i)}export{r as a,i as b,ar as c};
|
|
7
|
+
//# sourceMappingURL=chunk.ZPH3TMNA.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
function e(){let t="0123456789ABCDEF".split(""),o="#";for(let r=0;r<6;r++)o+=t[Math.floor(Math.random()*16)];return o}export{e as a};
|
|
7
|
+
//# sourceMappingURL=chunk.ZSHPKAXP.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/color-utils.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Gets a random hex color.\n * @returns {string} The CSS-compatible hex color string.\n */\nexport function randomHexColor(): string {\n const letters = '0123456789ABCDEF'.split('');\n let color = '#';\n\n for (let i = 0; i < 6; i++) {\n color += letters[Math.floor(Math.random() * 16)];\n }\n\n return color;\n}\n"],
|
|
5
|
+
"mappings": "AAIO,SAASA,GAAyB,CACvC,IAAMC,EAAU,mBAAmB,MAAM,EAAE,EACvCC,EAAQ,IAEZ,QAASC,EAAI,EAAGA,EAAI,EAAGA,IACrBD,GAASD,EAAQ,KAAK,MAAM,KAAK,OAAO,EAAI,EAAE,CAAC,EAGjD,OAAOC,CACT",
|
|
6
|
+
"names": ["randomHexColor", "letters", "color", "i"]
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a as d,b as i}from"./chunk.
|
|
7
|
-
//# sourceMappingURL=chunk.
|
|
6
|
+
import{a as d,b as i}from"./chunk.5OT53ZJM.js";import{a as t,e as g,k as n}from"./chunk.LNTTU2GL.js";import{d as o}from"./chunk.M3QDAYD2.js";var b=`${i}badge`,f={DOT:"dot",HIDE:"hide",THEME:"theme",STRONG:"strong"},s={OPEN:"open"},c={ROOT:".forge-badge"},h={THEME:"default"},e={elementName:b,attributes:f,selectors:c,classes:s,defaults:h};var l='<template><div class="forge-badge" part="root"><slot name="start"></slot><slot></slot><slot name="end"></slot></div></template>',m=':host{display:-webkit-box;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box}:host([hidden]){display:none}.forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-secondary, #ffc107));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-secondary, #000000));--_badge-shape:var(--forge-badge-shape, var(--forge-shape-full, 9999px));--_badge-height:var(--forge-badge-height, 20px);--_badge-min-width:var(--forge-badge-min-width, 0);--_badge-max-width:var(--forge-badge-max-width, auto);--_badge-padding-inline:var(--forge-badge-padding-inline, var(--forge-spacing-xsmall, 8px));--_badge-padding-block:var(--forge-badge-padding-block, 0);--_badge-border-width:var(--forge-badge-border-width, var(--forge-border-thin, 1px));--_badge-border-style:var(--forge-badge-border-style, none);--_badge-border-color:var(--forge-badge-border-color, var(--_badge-color));--_badge-gap:var(--forge-badge-gap, var(--forge-spacing-xsmall, 8px));--_badge-font-weight:var(--forge-badge-font-weight, bold);--_badge-dot-size:var(--forge-badge-dot-size, 8px);--_badge-dot-height:var(--forge-badge-dot-height, var(--_badge-dot-size));--_badge-dot-width:var(--forge-badge-dot-width, var(--_badge-dot-size));--_badge-dot-padding:var(--forge-badge-dot-padding, 0);--_badge-transition-duration:var(--forge-badge-transition-duration, var(--forge-animation-duration-short4, 200ms));--_badge-transition-easing:var(--forge-badge-transition-easing, var(--forge-animation-easing-decelerate, cubic-bezier(0, 0, 0, 1)))}.forge-badge{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--forge-typography-label1-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));font-size:var(--forge-typography-label1-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-label-font-size-scale, .75)));font-weight:var(--forge-typography-label1-font-weight,400);line-height:var(--forge-typography-label1-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-label-line-height-scale, 1.25)));letter-spacing:var(--forge-typography-label1-letter-spacing, .0357142857em);text-transform:var(--forge-typography-label1-text-transform,inherit);-webkit-text-decoration:var(--forge-typography-label1-text-decoration,inherit);text-decoration:var(--forge-typography-label1-text-decoration,inherit);background:var(--_badge-background);color:var(--_badge-color);height:var(--_badge-height);min-width:var(--_badge-min-width);max-width:var(--_badge-max-width);border-width:var(--_badge-border-width);border-style:var(--_badge-border-style);border-color:var(--_badge-border-color);display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;gap:var(--_badge-gap);border-radius:var(--_badge-shape);padding-inline:var(--_badge-padding-inline);padding-block:var(--_badge-padding-block);overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;-webkit-transition:-webkit-transform var(--_badge-transition-duration) var(--_badge-transition-easing);transition:-webkit-transform var(--_badge-transition-duration) var(--_badge-transition-easing);transition:transform var(--_badge-transition-duration) var(--_badge-transition-easing);transition:transform var(--_badge-transition-duration) var(--_badge-transition-easing),-webkit-transform var(--_badge-transition-duration) var(--_badge-transition-easing);font-weight:var(--_badge-font-weight);text-overflow:ellipsis;white-space:nowrap}::slotted(:is([slot=start],[slot=end])){font-size:inherit}:host([hide]) .forge-badge{-webkit-transform:scale(0);transform:scale(0)}:host([dot]) .forge-badge{--_badge-height:var(--_badge-dot-height);--_badge-min-width:var(--forge-badge-min-width, auto);padding:var(--_badge-dot-padding);width:var(--_badge-dot-width)}:host([dot]) .forge-badge>slot{display:none}:host([theme=primary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-primary-container, #d1d5ed));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-primary-container, #222c62))}:host([strong][theme=primary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-primary, #3f51b5));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-primary, #ffffff))}:host([theme=secondary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-secondary-container, #fff0c3));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-secondary-container, #8a6804))}:host([strong][theme=secondary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-secondary, #ffc107));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-secondary, #000000))}:host([theme=tertiary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-tertiary-container, #d0d7ff));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-tertiary-container, #213189))}:host([strong][theme=tertiary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-tertiary, #3d5afe));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-tertiary, #ffffff))}:host([theme=success]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-success-container, #cde0ce));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-success-container, #19441b))}:host([strong][theme=success]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-success, #2e7d32));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-success, #ffffff))}:host([theme=warning]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-warning-container, #f4d3c2));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-warning-container, #712700))}:host([strong][theme=warning]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-warning, #d14900));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-warning, #ffffff))}:host(:not([strong]):is([theme=error],[theme=danger])) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-error-container, #ecc2c9));--_badge-color:var(--forge-badge-color, var(--forge-theme-error, #b00020))}:host([strong]:is([theme=error],[theme=danger])) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-error, #b00020));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-error, #ffffff))}:host(:not([strong]):is([theme=info],[theme=info-primary])) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-info-container, #c7daf0));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-info-container, #0b3768))}:host([strong]:is([theme=info],[theme=info-primary])) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-info, #1565c0));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-info, #ffffff))}:host(:not([strong])[theme=info-secondary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-surface-container-low, #ebebeb));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-surface-container-low, #000000))}:host([strong][theme=info-secondary]) .forge-badge{--_badge-background:var(--forge-badge-background, var(--forge-theme-surface-inverse, #333333));--_badge-color:var(--forge-badge-color, var(--forge-theme-on-surface-inverse, #ffffff))}',a=class extends n{constructor(){super(),g(this,l,m)}get dot(){return this.hasAttribute(e.attributes.DOT)}set dot(r){this.toggleAttribute(e.attributes.DOT,r)}get theme(){var r;return(r=this.getAttribute(e.attributes.THEME))!=null?r:e.defaults.THEME}set theme(r){this.setAttribute(e.attributes.THEME,r)}get strong(){return this.hasAttribute(e.attributes.STRONG)}set strong(r){this.toggleAttribute(e.attributes.STRONG,r)}get hide(){return this.hasAttribute(e.attributes.HIDE)}set hide(r){this.hasAttribute(e.attributes.HIDE)!==r&&this.toggleAttribute(e.attributes.HIDE,r)}};a=o([d({name:e.elementName})],a);function O(){t(a)}export{e as a,a as b,O as c};
|
|
7
|
+
//# sourceMappingURL=chunk.ZWELGTD7.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e}from"../chunks/chunk.FKMTIOBA.js";import"../chunks/chunk.3LUG3LPU.js";import"../chunks/chunk.NVUMRW44.js";import"../chunks/chunk.OLFOVKQG.js";import"../chunks/chunk.5OT53ZJM.js";import"../chunks/chunk.DJSHVUEM.js";import"../chunks/chunk.LNTTU2GL.js";import"../chunks/chunk.L4QSPQDE.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{a as CIRCULAR_PROGRESS_CONSTANTS,b as CircularProgressAdapter,d as CircularProgressComponent,c as CircularProgressFoundation,e as defineCircularProgressComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f,g}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f,g}from"../chunks/chunk.YZ26YDCO.js";import"../chunks/chunk.HJUXBSFZ.js";import"../chunks/chunk.VAE5IFEM.js";import"../chunks/chunk.QH27OIAK.js";import"../chunks/chunk.5DDR6QSF.js";import"../chunks/chunk.TR45SGWL.js";import"../chunks/chunk.LIJE4T3D.js";import"../chunks/chunk.TEZFEC5B.js";import"../chunks/chunk.INQZNXG6.js";import"../chunks/chunk.4GFUXXXH.js";import"../chunks/chunk.HSNVTV7K.js";import"../chunks/chunk.DN6Y3VXC.js";import"../chunks/chunk.SW6JDC2Y.js";import"../chunks/chunk.R2CJMM2F.js";import"../chunks/chunk.6T7KPDCD.js";import"../chunks/chunk.XT6RPXTM.js";import"../chunks/chunk.3CXCYRCE.js";import"../chunks/chunk.3LUG3LPU.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.J2Y5KPON.js";import"../chunks/chunk.XIQFHO5R.js";import"../chunks/chunk.SQ3AZAHF.js";import"../chunks/chunk.5SUJNEC7.js";import"../chunks/chunk.BX4AQRHB.js";import"../chunks/chunk.HSADKCGS.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.SB2LOK2R.js";import"../chunks/chunk.NVUMRW44.js";import"../chunks/chunk.OLFOVKQG.js";import"../chunks/chunk.5OT53ZJM.js";import"../chunks/chunk.DJSHVUEM.js";import"../chunks/chunk.LNTTU2GL.js";import"../chunks/chunk.L4QSPQDE.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{a as COLOR_PICKER_CONSTANTS,d as ColorPickerAdapter,f as ColorPickerComponent,e as ColorPickerFoundation,c as ColorPickerValueType,b as DEFAULT_COLOR,g as defineColorPickerComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/core/index.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import"../chunks/chunk.6KTLOA7V.js";import{
|
|
6
|
+
import"../chunks/chunk.6KTLOA7V.js";import{A as O,a as i,b as j,c as k,d as l,e as m,f as n,g as o,h as v,i as w,j as x,k as y,l as z,m as A,n as B,o as C,p as D,q as E,r as F,s as G,t as H,u as I,v as J,w as K,x as L,y as M,z as N}from"../chunks/chunk.J2Y5KPON.js";import{a as da,b as ea,c as fa,d as ga,e as ha,f as ia,g as ja}from"../chunks/chunk.XIQFHO5R.js";import{a as h}from"../chunks/chunk.SQ3AZAHF.js";import{a as p,b as t,c as u}from"../chunks/chunk.5SUJNEC7.js";import{a as q,b as r,c as s}from"../chunks/chunk.BX4AQRHB.js";import{a as g}from"../chunks/chunk.HSADKCGS.js";import"../chunks/chunk.U6FJJGO3.js";import{a as P,b as Q,c as R,d as S,e as T,f as U,g as V,h as W,i as X,j as Y,k as Z,l as _,m as $,n as aa,o as ba,p as ca}from"../chunks/chunk.SB2LOK2R.js";import{a as b}from"../chunks/chunk.OLFOVKQG.js";import{b as c,c as d,d as e,e as f}from"../chunks/chunk.DJSHVUEM.js";import{k as a}from"../chunks/chunk.LNTTU2GL.js";import"../chunks/chunk.L4QSPQDE.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{y as BUTTON_FORM_ATTRIBUTES,b as BaseAdapter,a as BaseComponent,g as BaseComponentDelegate,da as DEFAULT_DATE_MASK,ea as DateInputMask,p as Deferred,u as DismissibleStack,h as FormFieldComponentDelegate,K as HAS_MERIDIEM_REGEX,w as INPUT_ARIA_ATTRIBUTES,x as INPUT_PROPERTIES,i as ISO_8601_REGEX,j as ISO_TIMEZONE_REGEX,J as PARSEABLE_TIME_FORMAT,v as REFLECTIVE_ARIA_ATTRIBUTES,E as SlottedElementAdapter,fa as TWELVE_HOUR_TIME_MASK,ga as TWELVE_HOUR_TIME_MASK_WITH_SECONDS,I as TWELVE_HOUR_TIME_REGEX,ha as TWENTY_FOUR_HOUR_TIME_MASK,ia as TWENTY_FOUR_HOUR_TIME_MASK_WITH_SECONDS,H as TWENTY_FOUR_HOUR_TIME_REGEX,ja as TimeInputMask,B as cloneAttributes,C as cloneProperties,D as cloneValidationMessage,$ as coerceStringToArray,F as createSvgFromString,Q as createUserInteractionListener,W as elementsOverlapping,r as eventIncludesArrowKey,l as formatDate,A as forwardAttributes,n as getLastDateOfMonth,o as getMonthLength,z as getPartPrefixedAttributes,P as highlightTextHTML,X as isPointerOverElement,G as isSafeSvg,m as isSameDate,N as isSupportedTimeFormat,Z as locateElementById,Y as locateTargetHeuristic,k as parseDateString,R as percentToPixels,S as pixelsToPercent,f as prefersReducedMotion,q as proxyShadowScrollEvent,_ as replaceElement,ca as roundByDPR,V as safeMax,U as safeMin,T as scaleValue,d as supportsElementInternalsAria,e as supportsHover,c as supportsPopover,s as task,M as tokenize12HourTimeString,L as tokenize24HourTimeString,O as tryCoerceTimeString,t as tryDismiss,ba as unwrapElements,aa as wrapElements};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f}from"../chunks/chunk.TQMT7BIZ.js";import"../chunks/chunk.DPJJB67L.js";import"../chunks/chunk.PDJ2H5ZG.js";import"../chunks/chunk.44IUAOBP.js";import"../chunks/chunk.GNQ24XWK.js";import"../chunks/chunk.Z6G2RUC2.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.IOGCI64X.js";import"../chunks/chunk.345JBXIL.js";import"../chunks/chunk.QDG6TP2Z.js";import"../chunks/chunk.BYSMPFWQ.js";import"../chunks/chunk.3B573FQF.js";import"../chunks/chunk.72BKSMAZ.js";import"../chunks/chunk.7TE74NJZ.js";import"../chunks/chunk.6V6VLKIK.js";import"../chunks/chunk.MHEJZJT3.js";import"../chunks/chunk.UBVWYWO7.js";import"../chunks/chunk.QKCPE4LW.js";import"../chunks/chunk.CQ4XBOX5.js";import"../chunks/chunk.UV3WIHCM.js";import"../chunks/chunk.L6L3CPBH.js";import"../chunks/chunk.SJYEDGBN.js";import"../chunks/chunk.WNX3GGYT.js";import"../chunks/chunk.LEVFMI2Q.js";import"../chunks/chunk.HJUXBSFZ.js";import"../chunks/chunk.VAE5IFEM.js";import"../chunks/chunk.QH27OIAK.js";import"../chunks/chunk.5DDR6QSF.js";import"../chunks/chunk.RKPWFEFJ.js";import"../chunks/chunk.TR45SGWL.js";import"../chunks/chunk.LIJE4T3D.js";import"../chunks/chunk.TEZFEC5B.js";import"../chunks/chunk.INQZNXG6.js";import"../chunks/chunk.4GFUXXXH.js";import"../chunks/chunk.HSNVTV7K.js";import"../chunks/chunk.DN6Y3VXC.js";import"../chunks/chunk.SW6JDC2Y.js";import"../chunks/chunk.R2CJMM2F.js";import"../chunks/chunk.6T7KPDCD.js";import"../chunks/chunk.XT6RPXTM.js";import"../chunks/chunk.3CXCYRCE.js";import"../chunks/chunk.3LUG3LPU.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.J2Y5KPON.js";import"../chunks/chunk.XIQFHO5R.js";import"../chunks/chunk.SQ3AZAHF.js";import"../chunks/chunk.5SUJNEC7.js";import"../chunks/chunk.BX4AQRHB.js";import"../chunks/chunk.HSADKCGS.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.SB2LOK2R.js";import"../chunks/chunk.NVUMRW44.js";import"../chunks/chunk.OLFOVKQG.js";import"../chunks/chunk.5OT53ZJM.js";import"../chunks/chunk.DJSHVUEM.js";import"../chunks/chunk.LNTTU2GL.js";import"../chunks/chunk.L4QSPQDE.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{a as DATE_PICKER_CONSTANTS,b as DatePickerAdapter,d as DatePickerComponent,e as DatePickerComponentDelegate,c as DatePickerFoundation,f as defineDatePickerComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f,g}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f,g}from"../chunks/chunk.OVVBXM6K.js";import"../chunks/chunk.DPJJB67L.js";import"../chunks/chunk.PDJ2H5ZG.js";import"../chunks/chunk.44IUAOBP.js";import"../chunks/chunk.GNQ24XWK.js";import"../chunks/chunk.Z6G2RUC2.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.IOGCI64X.js";import"../chunks/chunk.345JBXIL.js";import"../chunks/chunk.QDG6TP2Z.js";import"../chunks/chunk.BYSMPFWQ.js";import"../chunks/chunk.3B573FQF.js";import"../chunks/chunk.72BKSMAZ.js";import"../chunks/chunk.7TE74NJZ.js";import"../chunks/chunk.6V6VLKIK.js";import"../chunks/chunk.MHEJZJT3.js";import"../chunks/chunk.UBVWYWO7.js";import"../chunks/chunk.QKCPE4LW.js";import"../chunks/chunk.CQ4XBOX5.js";import"../chunks/chunk.UV3WIHCM.js";import"../chunks/chunk.L6L3CPBH.js";import"../chunks/chunk.SJYEDGBN.js";import"../chunks/chunk.WNX3GGYT.js";import"../chunks/chunk.LEVFMI2Q.js";import"../chunks/chunk.HJUXBSFZ.js";import"../chunks/chunk.VAE5IFEM.js";import"../chunks/chunk.QH27OIAK.js";import"../chunks/chunk.5DDR6QSF.js";import"../chunks/chunk.RKPWFEFJ.js";import"../chunks/chunk.TR45SGWL.js";import"../chunks/chunk.LIJE4T3D.js";import"../chunks/chunk.TEZFEC5B.js";import"../chunks/chunk.INQZNXG6.js";import"../chunks/chunk.4GFUXXXH.js";import"../chunks/chunk.HSNVTV7K.js";import"../chunks/chunk.DN6Y3VXC.js";import"../chunks/chunk.SW6JDC2Y.js";import"../chunks/chunk.R2CJMM2F.js";import"../chunks/chunk.6T7KPDCD.js";import"../chunks/chunk.XT6RPXTM.js";import"../chunks/chunk.3CXCYRCE.js";import"../chunks/chunk.3LUG3LPU.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.J2Y5KPON.js";import"../chunks/chunk.XIQFHO5R.js";import"../chunks/chunk.SQ3AZAHF.js";import"../chunks/chunk.5SUJNEC7.js";import"../chunks/chunk.BX4AQRHB.js";import"../chunks/chunk.HSADKCGS.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.SB2LOK2R.js";import"../chunks/chunk.NVUMRW44.js";import"../chunks/chunk.OLFOVKQG.js";import"../chunks/chunk.5OT53ZJM.js";import"../chunks/chunk.DJSHVUEM.js";import"../chunks/chunk.LNTTU2GL.js";import"../chunks/chunk.L4QSPQDE.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.M3QDAYD2.js";export{b as DATE_RANGE_PICKER_CONSTANTS,a as DatePickerRange,f as DateRangeComponentDelegate,c as DateRangePickerAdapter,e as DateRangePickerComponent,d as DateRangePickerFoundation,g as defineDateRangePickerComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d}from"../../chunks/chunk.
|
|
6
|
+
import{a,b,c,d}from"../../chunks/chunk.TAQRHBGS.js";import"../../chunks/chunk.4GFUXXXH.js";import"../../chunks/chunk.R2CJMM2F.js";import"../../chunks/chunk.6T7KPDCD.js";import"../../chunks/chunk.XT6RPXTM.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.J2Y5KPON.js";import"../../chunks/chunk.XIQFHO5R.js";import"../../chunks/chunk.SQ3AZAHF.js";import"../../chunks/chunk.5SUJNEC7.js";import"../../chunks/chunk.BX4AQRHB.js";import"../../chunks/chunk.HSADKCGS.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.SB2LOK2R.js";import"../../chunks/chunk.NVUMRW44.js";import"../../chunks/chunk.OLFOVKQG.js";import"../../chunks/chunk.5OT53ZJM.js";import"../../chunks/chunk.DJSHVUEM.js";import"../../chunks/chunk.LNTTU2GL.js";import"../../chunks/chunk.L4QSPQDE.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.M3QDAYD2.js";export{a as DEPRECATED_BUTTON_CONSTANTS,b as DeprecatedButtonComponent,c as DeprecatedButtonComponentDelegate,d as defineDeprecatedButtonComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|