@tylertech/forge 2.21.1 → 2.21.3-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2059 -1221
- package/dist/esm/accordion/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/busy-indicator/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.6ATSOUJQ.js → chunk.2PPBLQZB.js} +2 -2
- package/dist/esm/chunks/{chunk.4R6NK524.js → chunk.2XZ6BY33.js} +2 -2
- package/dist/esm/chunks/{chunk.D43PPRFO.js → chunk.3463HRWW.js} +2 -2
- package/dist/esm/chunks/{chunk.L3SL4NW6.js → chunk.3JJ5BNQS.js} +2 -2
- package/dist/esm/chunks/{chunk.76PI42C5.js → chunk.3PWL5O53.js} +2 -2
- package/dist/esm/chunks/{chunk.NMKDIHFB.js → chunk.4OWKFHAE.js} +2 -2
- package/dist/esm/chunks/{chunk.2GDEYC4V.js → chunk.4TDZGLY4.js} +2 -2
- package/dist/esm/chunks/{chunk.TBSCULSM.js → chunk.4VOG3DHT.js} +2 -2
- package/dist/esm/chunks/{chunk.TBSCULSM.js.map → chunk.4VOG3DHT.js.map} +1 -1
- package/dist/esm/chunks/chunk.4W3D3MDK.js +7 -0
- package/dist/esm/chunks/chunk.4W3D3MDK.js.map +7 -0
- package/dist/esm/chunks/chunk.5ESMU755.js +7 -0
- package/dist/esm/chunks/chunk.5ESMU755.js.map +7 -0
- package/dist/esm/chunks/chunk.5QKZUMJK.js +7 -0
- package/dist/esm/chunks/chunk.5QKZUMJK.js.map +7 -0
- package/dist/esm/chunks/chunk.5YRBAF55.js +7 -0
- package/dist/esm/chunks/{chunk.45KYMP5J.js.map → chunk.5YRBAF55.js.map} +1 -1
- package/dist/esm/chunks/{chunk.5E2BG6O3.js → chunk.62E3LRCI.js} +2 -2
- package/dist/esm/chunks/{chunk.JCDIPDQR.js → chunk.6N2DTQEX.js} +2 -2
- package/dist/esm/chunks/{chunk.F5CFD2NG.js → chunk.6P5FHZUS.js} +2 -2
- package/dist/esm/chunks/{chunk.3FAYFYXF.js → chunk.6PDOZYVS.js} +2 -2
- package/dist/esm/chunks/chunk.6YHMCE3A.js +12 -0
- package/dist/esm/chunks/chunk.7BPT4PPX.js +7 -0
- package/dist/esm/chunks/{chunk.PWHMNJ5Y.js.map → chunk.7BPT4PPX.js.map} +3 -3
- package/dist/esm/chunks/{chunk.7IHNVPY5.js → chunk.A52AXPOG.js} +2 -2
- package/dist/esm/chunks/{chunk.7IHNVPY5.js.map → chunk.A52AXPOG.js.map} +3 -3
- package/dist/esm/chunks/{chunk.RUK5PIER.js → chunk.AAU5YRKV.js} +2 -2
- package/dist/esm/chunks/{chunk.NLXSZNQI.js → chunk.AP2U5NXZ.js} +2 -2
- package/dist/esm/chunks/{chunk.JD4APKZS.js → chunk.APHQBFX2.js} +2 -2
- package/dist/esm/chunks/chunk.AZIQUHDG.js +7 -0
- package/dist/esm/chunks/chunk.AZIQUHDG.js.map +7 -0
- package/dist/esm/chunks/{chunk.PKVY6EWM.js → chunk.BDIZD35A.js} +2 -2
- package/dist/esm/chunks/{chunk.3YT72ZWJ.js → chunk.BLXQYTBF.js} +2 -2
- package/dist/esm/chunks/chunk.BTJNWEJC.js +7 -0
- package/dist/esm/chunks/chunk.BTJNWEJC.js.map +7 -0
- package/dist/esm/chunks/{chunk.GQCUI7YS.js → chunk.BZOB3WK3.js} +2 -2
- package/dist/esm/chunks/{chunk.QOA2O575.js → chunk.CP3RUPXU.js} +2 -2
- package/dist/esm/chunks/chunk.D4DZUGEV.js +7 -0
- package/dist/esm/chunks/chunk.D4DZUGEV.js.map +7 -0
- package/dist/esm/chunks/{chunk.F5LXG5X7.js → chunk.DKTVITIN.js} +2 -2
- package/dist/esm/chunks/{chunk.OEZZ2NEY.js → chunk.DMNCQ65M.js} +2 -2
- package/dist/esm/chunks/chunk.DMVVKGUE.js +7 -0
- package/dist/esm/chunks/chunk.DMVVKGUE.js.map +7 -0
- package/dist/esm/chunks/chunk.DXKC3WSJ.js +7 -0
- package/dist/esm/chunks/chunk.DXKC3WSJ.js.map +7 -0
- package/dist/esm/chunks/{chunk.Y2I2VRMF.js → chunk.EWODE3XY.js} +2 -2
- package/dist/esm/chunks/{chunk.G6GRI7UL.js → chunk.F2BTDJGX.js} +2 -2
- package/dist/esm/chunks/chunk.F44B5HVQ.js +7 -0
- package/dist/esm/chunks/chunk.F44B5HVQ.js.map +7 -0
- package/dist/esm/chunks/chunk.F4V3I2N6.js +7 -0
- package/dist/esm/chunks/chunk.F4V3I2N6.js.map +7 -0
- package/dist/esm/chunks/{chunk.42QTJZSF.js → chunk.FHVUINRK.js} +2 -2
- package/dist/esm/chunks/{chunk.44WDRTRR.js → chunk.FYRB5HEB.js} +2 -2
- package/dist/esm/chunks/{chunk.J2PHUKSR.js → chunk.G237CWYN.js} +2 -2
- package/dist/esm/chunks/{chunk.UQTJSPU4.js → chunk.G32SGSIY.js} +2 -2
- package/dist/esm/chunks/{chunk.PADHAJLS.js → chunk.H453YDP7.js} +2 -2
- package/dist/esm/chunks/{chunk.DPZU5F27.js → chunk.HANVBHOC.js} +2 -2
- package/dist/esm/chunks/{chunk.BL4IBI6G.js → chunk.HURHZXUW.js} +2 -2
- package/dist/esm/chunks/{chunk.XQ5CDWDY.js → chunk.HXNVTFM2.js} +2 -2
- package/dist/esm/chunks/{chunk.SAQSXX2T.js → chunk.I57ANSQV.js} +2 -2
- package/dist/esm/chunks/{chunk.Y7YPNMPI.js → chunk.IAIRKZA4.js} +2 -2
- package/dist/esm/chunks/{chunk.Y7YPNMPI.js.map → chunk.IAIRKZA4.js.map} +2 -2
- package/dist/esm/chunks/{chunk.73GVVX4K.js → chunk.IBUO2ECP.js} +2 -2
- package/dist/esm/chunks/{chunk.73GVVX4K.js.map → chunk.IBUO2ECP.js.map} +2 -2
- package/dist/esm/chunks/chunk.IEHJRFK3.js +7 -0
- package/dist/esm/chunks/chunk.IEHJRFK3.js.map +7 -0
- package/dist/esm/chunks/{chunk.6G4DOKR2.js → chunk.IF6EQQHS.js} +2 -2
- package/dist/esm/chunks/{chunk.6G4DOKR2.js.map → chunk.IF6EQQHS.js.map} +2 -2
- package/dist/esm/chunks/{chunk.FPLHVO6D.js → chunk.IXERIVWC.js} +2 -2
- package/dist/esm/chunks/{chunk.AIUIUCZH.js → chunk.J5RH7JNF.js} +2 -2
- package/dist/esm/chunks/{chunk.YJTE34LC.js → chunk.JS3EC7ZT.js} +2 -2
- package/dist/esm/chunks/{chunk.67G7HT5S.js → chunk.K256XE5K.js} +2 -2
- package/dist/esm/chunks/{chunk.APHMTBRQ.js → chunk.KXJTDCIF.js} +2 -2
- package/dist/esm/chunks/chunk.KZJYLYWN.js +7 -0
- package/dist/esm/chunks/chunk.KZJYLYWN.js.map +7 -0
- package/dist/esm/chunks/{chunk.IV2GMOPB.js → chunk.LDHCZ2XZ.js} +2 -2
- package/dist/esm/chunks/{chunk.6TTAKWXI.js → chunk.LFNRRMUA.js} +2 -2
- package/dist/esm/chunks/{chunk.FCTKNIBN.js → chunk.LLOJKGBZ.js} +2 -2
- package/dist/esm/chunks/{chunk.FCTKNIBN.js.map → chunk.LLOJKGBZ.js.map} +2 -2
- package/dist/esm/chunks/{chunk.3C44DXZ2.js → chunk.LWKEQQSZ.js} +2 -2
- package/dist/esm/chunks/{chunk.7K44O5RO.js → chunk.LZRRQRLQ.js} +2 -2
- package/dist/esm/chunks/{chunk.LM57IEFE.js → chunk.MJRCAYWO.js} +2 -2
- package/dist/esm/chunks/{chunk.K7HRCGML.js → chunk.MQLALZA2.js} +2 -2
- package/dist/esm/chunks/chunk.MQMORXQE.js +7 -0
- package/dist/esm/chunks/chunk.MQMORXQE.js.map +7 -0
- package/dist/esm/chunks/{chunk.ON2K3O3I.js → chunk.N65R3467.js} +2 -2
- package/dist/esm/chunks/{chunk.3IXTRC6Z.js → chunk.NHG22ATF.js} +2 -2
- package/dist/esm/chunks/{chunk.7SULS4D2.js → chunk.OHFGFCWK.js} +2 -2
- package/dist/esm/chunks/{chunk.43RHBWGI.js → chunk.ONZWRAL2.js} +2 -2
- package/dist/esm/chunks/{chunk.TH7RLTJK.js → chunk.OSLPQH7C.js} +2 -2
- package/dist/esm/chunks/chunk.OWDH3AE3.js +7 -0
- package/dist/esm/chunks/chunk.OWDH3AE3.js.map +7 -0
- package/dist/esm/chunks/{chunk.XTMXGKUO.js → chunk.P2OQZWGG.js} +2 -2
- package/dist/esm/chunks/{chunk.L52XPVYZ.js → chunk.P4SR3CV7.js} +2 -2
- package/dist/esm/chunks/{chunk.KII37K76.js → chunk.P5ZQZKFX.js} +2 -2
- package/dist/esm/chunks/chunk.PDH27IKB.js +7 -0
- package/dist/esm/chunks/{chunk.VTB27IL7.js → chunk.Q7R5XWS7.js} +2 -2
- package/dist/esm/chunks/chunk.RX7IOKBK.js +7 -0
- package/dist/esm/chunks/chunk.RX7IOKBK.js.map +7 -0
- package/dist/esm/chunks/{chunk.COS4RDZB.js → chunk.SSJFLG7R.js} +2 -2
- package/dist/esm/chunks/{chunk.KQK2XX5H.js → chunk.TDF42HNZ.js} +2 -2
- package/dist/esm/chunks/chunk.TF4DRMEL.js +7 -0
- package/dist/esm/chunks/chunk.TF4DRMEL.js.map +7 -0
- package/dist/esm/chunks/{chunk.IZSUW7WG.js → chunk.TJDJHXUO.js} +2 -2
- package/dist/esm/chunks/{chunk.CX7MOSLM.js → chunk.TMLHKTB4.js} +2 -2
- package/dist/esm/chunks/{chunk.BINM3NUA.js → chunk.TNCZEZGT.js} +2 -2
- package/dist/esm/chunks/chunk.TQARIRN7.js +7 -0
- package/dist/esm/chunks/chunk.TQARIRN7.js.map +7 -0
- package/dist/esm/chunks/{chunk.AZFF62ZK.js → chunk.TTONWP6R.js} +2 -2
- package/dist/esm/chunks/{chunk.SFTWKDQV.js → chunk.TTZZQ2LC.js} +2 -2
- package/dist/esm/chunks/{chunk.N6XHXCZE.js → chunk.UJ4YJO2U.js} +2 -2
- package/dist/esm/chunks/chunk.V5DI7JR6.js +7 -0
- package/dist/esm/chunks/chunk.VJA7DAS7.js +29 -0
- package/dist/esm/chunks/chunk.VJA7DAS7.js.map +7 -0
- package/dist/esm/chunks/{chunk.UVL4TIK2.js → chunk.VPGS3ZWT.js} +2 -2
- package/dist/esm/chunks/{chunk.M6PJ3PNN.js → chunk.VPIPNSLG.js} +2 -2
- package/dist/esm/chunks/chunk.WFOTCL2T.js +7 -0
- package/dist/esm/chunks/chunk.WFOTCL2T.js.map +7 -0
- package/dist/esm/chunks/{chunk.M2ATVI24.js → chunk.WGYEDOPA.js} +2 -2
- package/dist/esm/chunks/chunk.WJ7SH5VI.js +7 -0
- package/dist/esm/chunks/{chunk.IWICN773.js → chunk.WMGXMDNO.js} +2 -2
- package/dist/esm/chunks/{chunk.H3IPTBWM.js → chunk.XNNDCXKG.js} +2 -2
- package/dist/esm/chunks/chunk.XPW5QMOA.js +7 -0
- package/dist/esm/chunks/{chunk.MXVJSEF3.js.map → chunk.XPW5QMOA.js.map} +1 -1
- package/dist/esm/chunks/{chunk.EMV7JGHB.js → chunk.Y5KHNONH.js} +2 -2
- package/dist/esm/chunks/{chunk.WOTVTBJS.js → chunk.ZA5NG3NP.js} +2 -2
- package/dist/esm/chunks/{chunk.2T6HVSO4.js → chunk.ZFXDVJUN.js} +2 -2
- package/dist/esm/chunks/{chunk.ZCQO3N25.js → chunk.ZIABFRW3.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/base/index.js +1 -1
- package/dist/esm/core/index.js +1 -1
- package/dist/esm/core/utils/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/dialog/index.js +1 -1
- package/dist/esm/divider/index.js +1 -1
- package/dist/esm/drawer/base/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/file-picker/index.js +1 -1
- package/dist/esm/floating-action-button/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-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/page-state/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/popup/index.js +1 -1
- package/dist/esm/product-icon/index.js +1 -1
- package/dist/esm/profile-card/index.js +1 -1
- package/dist/esm/quantity-field/index.js +1 -1
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/ripple/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-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/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/view-switcher/index.js +1 -1
- package/dist/esm/view-switcher/view/index.js +1 -1
- package/esm/autocomplete/autocomplete.d.ts +8 -2
- package/esm/button/button.d.ts +1 -0
- package/esm/button/button.js +18 -7
- package/esm/button-area/button-area-adapter.d.ts +3 -1
- package/esm/button-area/button-area-adapter.js +14 -5
- package/esm/button-area/button-area-foundation.js +1 -0
- package/esm/calendar/calendar-foundation.js +22 -18
- package/esm/calendar/calendar.d.ts +1 -0
- package/esm/checkbox/checkbox-adapter.d.ts +1 -0
- package/esm/checkbox/checkbox-adapter.js +18 -7
- package/esm/core/base/base-adapter.d.ts +4 -2
- package/esm/core/base/base-adapter.js +3 -0
- package/esm/core/utils/utils.d.ts +5 -2
- package/esm/core/utils/utils.js +21 -6
- package/esm/date-picker/base/base-date-picker-adapter.js +1 -3
- package/esm/date-picker/base/base-date-picker-foundation.js +6 -0
- package/esm/dialog/dialog-adapter.d.ts +2 -0
- package/esm/dialog/dialog-adapter.js +14 -0
- package/esm/dialog/dialog-foundation.js +1 -0
- package/esm/icon-button/icon-button.d.ts +2 -0
- package/esm/icon-button/icon-button.js +31 -7
- package/esm/list/list/list-adapter.d.ts +2 -6
- package/esm/list/list/list-adapter.js +29 -18
- package/esm/list/list/list-constants.d.ts +2 -2
- package/esm/list/list/list-constants.js +3 -3
- package/esm/list/list/list-foundation.js +6 -0
- package/esm/list/list-item/list-item-adapter.d.ts +3 -3
- package/esm/list/list-item/list-item-adapter.js +3 -3
- package/esm/list/list-item/list-item-foundation.d.ts +1 -0
- package/esm/list/list-item/list-item-foundation.js +12 -2
- package/esm/menu/menu-foundation.js +1 -0
- package/esm/menu/menu.d.ts +4 -1
- package/esm/open-icon/open-icon.js +2 -2
- package/esm/paginator/paginator-adapter.d.ts +6 -2
- package/esm/paginator/paginator-adapter.js +34 -54
- package/esm/paginator/paginator-constants.d.ts +1 -1
- package/esm/paginator/paginator-foundation.js +7 -17
- package/esm/radio/radio-adapter.d.ts +1 -0
- package/esm/radio/radio-adapter.js +18 -7
- package/esm/ripple/forge-ripple.d.ts +2 -0
- package/esm/ripple/forge-ripple.js +4 -0
- package/esm/select/core/base-select.d.ts +4 -1
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/switch/switch.js +15 -2
- package/esm/tooltip/tooltip.d.ts +1 -0
- package/package.json +3 -3
- package/dist/esm/chunks/chunk.45KYMP5J.js +0 -7
- package/dist/esm/chunks/chunk.4CWMNWZU.js +0 -7
- package/dist/esm/chunks/chunk.4CWMNWZU.js.map +0 -7
- package/dist/esm/chunks/chunk.5KC43VFL.js +0 -7
- package/dist/esm/chunks/chunk.5KC43VFL.js.map +0 -7
- package/dist/esm/chunks/chunk.7BAO5IED.js +0 -7
- package/dist/esm/chunks/chunk.7NHFZL6J.js +0 -7
- package/dist/esm/chunks/chunk.AHDIUCUB.js +0 -7
- package/dist/esm/chunks/chunk.AHDIUCUB.js.map +0 -7
- package/dist/esm/chunks/chunk.CE6NTUWI.js +0 -7
- package/dist/esm/chunks/chunk.CE6NTUWI.js.map +0 -7
- package/dist/esm/chunks/chunk.DLALEZ73.js +0 -7
- package/dist/esm/chunks/chunk.DLALEZ73.js.map +0 -7
- package/dist/esm/chunks/chunk.DYF2MREZ.js +0 -7
- package/dist/esm/chunks/chunk.DYF2MREZ.js.map +0 -7
- package/dist/esm/chunks/chunk.HOXFK44F.js +0 -7
- package/dist/esm/chunks/chunk.HOXFK44F.js.map +0 -7
- package/dist/esm/chunks/chunk.ITXUKOKJ.js +0 -7
- package/dist/esm/chunks/chunk.ITXUKOKJ.js.map +0 -7
- package/dist/esm/chunks/chunk.MXVJSEF3.js +0 -7
- package/dist/esm/chunks/chunk.PWHMNJ5Y.js +0 -7
- package/dist/esm/chunks/chunk.Q7HX26UO.js +0 -7
- package/dist/esm/chunks/chunk.Q7HX26UO.js.map +0 -7
- package/dist/esm/chunks/chunk.QZ2NXIGY.js +0 -7
- package/dist/esm/chunks/chunk.QZ2NXIGY.js.map +0 -7
- package/dist/esm/chunks/chunk.RD7SYOAI.js +0 -12
- package/dist/esm/chunks/chunk.RLWX5BFQ.js +0 -7
- package/dist/esm/chunks/chunk.RLWX5BFQ.js.map +0 -7
- package/dist/esm/chunks/chunk.SXTM6OK4.js +0 -7
- package/dist/esm/chunks/chunk.SXTM6OK4.js.map +0 -7
- package/dist/esm/chunks/chunk.UHU4FUIS.js +0 -7
- package/dist/esm/chunks/chunk.VT2QJ7SM.js +0 -29
- package/dist/esm/chunks/chunk.VT2QJ7SM.js.map +0 -7
- package/dist/esm/chunks/chunk.Y66GSZJB.js +0 -7
- package/dist/esm/chunks/chunk.Y66GSZJB.js.map +0 -7
- package/dist/esm/chunks/chunk.YG24YPYO.js +0 -7
- package/dist/esm/chunks/chunk.YG24YPYO.js.map +0 -7
- /package/dist/esm/chunks/{chunk.6ATSOUJQ.js.map → chunk.2PPBLQZB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4R6NK524.js.map → chunk.2XZ6BY33.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.D43PPRFO.js.map → chunk.3463HRWW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.L3SL4NW6.js.map → chunk.3JJ5BNQS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.76PI42C5.js.map → chunk.3PWL5O53.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NMKDIHFB.js.map → chunk.4OWKFHAE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2GDEYC4V.js.map → chunk.4TDZGLY4.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5E2BG6O3.js.map → chunk.62E3LRCI.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.JCDIPDQR.js.map → chunk.6N2DTQEX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.F5CFD2NG.js.map → chunk.6P5FHZUS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3FAYFYXF.js.map → chunk.6PDOZYVS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RD7SYOAI.js.map → chunk.6YHMCE3A.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RUK5PIER.js.map → chunk.AAU5YRKV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NLXSZNQI.js.map → chunk.AP2U5NXZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.JD4APKZS.js.map → chunk.APHQBFX2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PKVY6EWM.js.map → chunk.BDIZD35A.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3YT72ZWJ.js.map → chunk.BLXQYTBF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.GQCUI7YS.js.map → chunk.BZOB3WK3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QOA2O575.js.map → chunk.CP3RUPXU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.F5LXG5X7.js.map → chunk.DKTVITIN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OEZZ2NEY.js.map → chunk.DMNCQ65M.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Y2I2VRMF.js.map → chunk.EWODE3XY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.G6GRI7UL.js.map → chunk.F2BTDJGX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.42QTJZSF.js.map → chunk.FHVUINRK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.44WDRTRR.js.map → chunk.FYRB5HEB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.J2PHUKSR.js.map → chunk.G237CWYN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UQTJSPU4.js.map → chunk.G32SGSIY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PADHAJLS.js.map → chunk.H453YDP7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.DPZU5F27.js.map → chunk.HANVBHOC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BL4IBI6G.js.map → chunk.HURHZXUW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XQ5CDWDY.js.map → chunk.HXNVTFM2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SAQSXX2T.js.map → chunk.I57ANSQV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.FPLHVO6D.js.map → chunk.IXERIVWC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AIUIUCZH.js.map → chunk.J5RH7JNF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YJTE34LC.js.map → chunk.JS3EC7ZT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.67G7HT5S.js.map → chunk.K256XE5K.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.APHMTBRQ.js.map → chunk.KXJTDCIF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IV2GMOPB.js.map → chunk.LDHCZ2XZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.6TTAKWXI.js.map → chunk.LFNRRMUA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3C44DXZ2.js.map → chunk.LWKEQQSZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7K44O5RO.js.map → chunk.LZRRQRLQ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.LM57IEFE.js.map → chunk.MJRCAYWO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.K7HRCGML.js.map → chunk.MQLALZA2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ON2K3O3I.js.map → chunk.N65R3467.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3IXTRC6Z.js.map → chunk.NHG22ATF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7SULS4D2.js.map → chunk.OHFGFCWK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.43RHBWGI.js.map → chunk.ONZWRAL2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.TH7RLTJK.js.map → chunk.OSLPQH7C.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XTMXGKUO.js.map → chunk.P2OQZWGG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.L52XPVYZ.js.map → chunk.P4SR3CV7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KII37K76.js.map → chunk.P5ZQZKFX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7NHFZL6J.js.map → chunk.PDH27IKB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VTB27IL7.js.map → chunk.Q7R5XWS7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.COS4RDZB.js.map → chunk.SSJFLG7R.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KQK2XX5H.js.map → chunk.TDF42HNZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IZSUW7WG.js.map → chunk.TJDJHXUO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CX7MOSLM.js.map → chunk.TMLHKTB4.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BINM3NUA.js.map → chunk.TNCZEZGT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AZFF62ZK.js.map → chunk.TTONWP6R.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SFTWKDQV.js.map → chunk.TTZZQ2LC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.N6XHXCZE.js.map → chunk.UJ4YJO2U.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7BAO5IED.js.map → chunk.V5DI7JR6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UVL4TIK2.js.map → chunk.VPGS3ZWT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.M6PJ3PNN.js.map → chunk.VPIPNSLG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.M2ATVI24.js.map → chunk.WGYEDOPA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UHU4FUIS.js.map → chunk.WJ7SH5VI.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IWICN773.js.map → chunk.WMGXMDNO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.H3IPTBWM.js.map → chunk.XNNDCXKG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.EMV7JGHB.js.map → chunk.Y5KHNONH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WOTVTBJS.js.map → chunk.ZA5NG3NP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2T6HVSO4.js.map → chunk.ZFXDVJUN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZCQO3N25.js.map → chunk.ZIABFRW3.js.map} +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
-
* License: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import{c as W,d as x}from"./chunk.2DXG2R3M.js";import{a as m,b as k,c as g,d as D,e as T,f as U,g as G}from"./chunk.F3MP6AXF.js";import{a as X}from"./chunk.2KXSGD3S.js";import{b as H}from"./chunk.Y66GSZJB.js";import{a as N,b as F}from"./chunk.QOA2O575.js";import{a as A,e as M,g as z,i as B,l as R}from"./chunk.HOXFK44F.js";import{t as P,u as y}from"./chunk.4LA6HEA7.js";import{k as S}from"./chunk.J2M2MXP2.js";import{f as I}from"./chunk.MCIQXNKY.js";var f;(function(r){r.PROCESSING="mdc-switch--processing",r.SELECTED="mdc-switch--selected",r.UNSELECTED="mdc-switch--unselected"})(f||(f={}));var E;(function(r){r.RIPPLE=".mdc-switch__ripple"})(E||(E={}));function j(r,i,e){var t=ee(r,i),c=t.getObservers(i);return c.push(e),function(){c.splice(c.indexOf(e),1)}}var L=new WeakMap;function ee(r,i){var e=new Map;L.has(r)||L.set(r,{isEnabled:!0,getObservers:function(o){var l=e.get(o)||[];return e.has(o)||e.set(o,l),l},installedProperties:new Set});var t=L.get(r);if(t.installedProperties.has(i))return t;var c=te(r,i)||{configurable:!0,enumerable:!0,value:r[i],writable:!0},s=k({},c),n=c.get,h=c.set;if("value"in c){delete s.value,delete s.writable;var b=c.value;n=function(){return b},c.writable&&(h=function(o){b=o})}return n&&(s.get=function(){return n.call(this)}),h&&(s.set=function(o){var l,C,u=n?n.call(this):o;if(h.call(this,o),t.isEnabled&&(!n||o!==u))try{for(var d=g(t.getObservers(i)),p=d.next();!p.done;p=d.next()){var v=p.value;v(o,u)}}catch(w){l={error:w}}finally{try{p&&!p.done&&(C=d.return)&&C.call(d)}finally{if(l)throw l.error}}}),t.installedProperties.add(i),Object.defineProperty(r,i,s),t}function te(r,i){for(var e=r,t;e&&(t=Object.getOwnPropertyDescriptor(e,i),!t);)e=Object.getPrototypeOf(e);return t}function q(r,i){var e=L.get(r);e&&(e.isEnabled=i)}var Y=function(r){m(i,r);function i(e){var t=r.call(this,e)||this;return t.unobserves=new Set,t}return i.prototype.destroy=function(){r.prototype.destroy.call(this),this.unobserve()},i.prototype.observe=function(e,t){var c,s,n=this,h=[];try{for(var b=g(Object.keys(t)),o=b.next();!o.done;o=b.next()){var l=o.value,C=t[l].bind(this);h.push(this.observeProperty(e,l,C))}}catch(d){c={error:d}}finally{try{o&&!o.done&&(s=b.return)&&s.call(b)}finally{if(c)throw c.error}}var u=function(){var d,p;try{for(var v=g(h),w=v.next();!w.done;w=v.next()){var Z=w.value;Z()}}catch(V){d={error:V}}finally{try{w&&!w.done&&(p=v.return)&&p.call(v)}finally{if(d)throw d.error}}n.unobserves.delete(u)};return this.unobserves.add(u),u},i.prototype.observeProperty=function(e,t,c){return j(e,t,c)},i.prototype.setObserversEnabled=function(e,t){q(e,t)},i.prototype.unobserve=function(){var e,t;try{for(var c=g(T([],D(this.unobserves))),s=c.next();!s.done;s=c.next()){var n=s.value;n()}}catch(h){e={error:h}}finally{try{s&&!s.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}},i}(U);var ie=function(r){m(i,r);function i(e){var t=r.call(this,e)||this;return t.handleClick=t.handleClick.bind(t),t}return i.prototype.init=function(){this.observe(this.adapter.state,{disabled:this.stopProcessingIfDisabled,processing:this.stopProcessingIfDisabled})},i.prototype.handleClick=function(){this.adapter.state.disabled||(this.adapter.state.selected=!this.adapter.state.selected)},i.prototype.stopProcessingIfDisabled=function(){this.adapter.state.disabled&&(this.adapter.state.processing=!1)},i}(Y);var $=function(r){m(i,r);function i(){return r!==null&&r.apply(this,arguments)||this}return i.prototype.init=function(){r.prototype.init.call(this),this.observe(this.adapter.state,{disabled:this.onDisabledChange,processing:this.onProcessingChange,selected:this.onSelectedChange})},i.prototype.initFromDOM=function(){this.setObserversEnabled(this.adapter.state,!1),this.adapter.state.selected=this.adapter.hasClass(f.SELECTED),this.onSelectedChange(),this.adapter.state.disabled=this.adapter.isDisabled(),this.adapter.state.processing=this.adapter.hasClass(f.PROCESSING),this.setObserversEnabled(this.adapter.state,!0),this.stopProcessingIfDisabled()},i.prototype.onDisabledChange=function(){this.adapter.setDisabled(this.adapter.state.disabled)},i.prototype.onProcessingChange=function(){this.toggleClass(this.adapter.state.processing,f.PROCESSING)},i.prototype.onSelectedChange=function(){this.adapter.setAriaChecked(String(this.adapter.state.selected)),this.toggleClass(this.adapter.state.selected,f.SELECTED),this.toggleClass(!this.adapter.state.selected,f.UNSELECTED)},i.prototype.toggleClass=function(e,t){e?this.adapter.addClass(t):this.adapter.removeClass(t)},i}(ie);var J=function(r){m(i,r);function i(e,t){var c=r.call(this,e,t)||this;return c.root=e,c}return i.attachTo=function(e){return new i(e)},i.prototype.initialize=function(){this.ripple=new x(this.root,this.createRippleFoundation())},i.prototype.initialSyncWithDOM=function(){var e=this.root.querySelector(E.RIPPLE);if(!e)throw new Error("Switch "+E.RIPPLE+" element is required.");this.rippleElement=e,this.root.addEventListener("click",this.foundation.handleClick),this.foundation.initFromDOM()},i.prototype.destroy=function(){r.prototype.destroy.call(this),this.ripple.destroy(),this.root.removeEventListener("click",this.foundation.handleClick)},i.prototype.getDefaultFoundation=function(){return new $(this.createAdapter())},i.prototype.createAdapter=function(){var e=this;return{addClass:function(t){e.root.classList.add(t)},hasClass:function(t){return e.root.classList.contains(t)},isDisabled:function(){return e.root.disabled},removeClass:function(t){e.root.classList.remove(t)},setAriaChecked:function(t){return e.root.setAttribute("aria-checked",t)},setDisabled:function(t){e.root.disabled=t},state:this}},i.prototype.createRippleFoundation=function(){return new W(this.createRippleAdapter())},i.prototype.createRippleAdapter=function(){var e=this;return k(k({},x.createAdapter(this)),{computeBoundingRect:function(){return e.rippleElement.getBoundingClientRect()},isUnbounded:function(){return!0}})},i}(G);var K=`${F}switch`,re={LABEL_START:"forge-switch--label-position-start"},ce={BUTTON:".mdc-switch",CONTAINER:".forge-switch__container"},ae={DENSE:"dense",DISABLED:"disabled",SELECTED:"selected",LABEL_POSITION:"label-position",BUTTON_ARIA_LABEL:"button-aria-label"},se={SELECT:`${K}-select`},a={classes:re,selectors:ce,attributes:ae,elementName:K,events:se};var oe='<template><div class="forge-switch__container" part="root"><button id="switch-btn" class="mdc-switch" type="button" role="switch" aria-checked="false" aria-labelledby="switch-label" part="button"><div class="mdc-switch__track" part="track"></div><div class="mdc-switch__handle-track" part="handle-track"><div class="mdc-switch__handle" part="handle"><div class="mdc-switch__shadow" part="shadow"><div class="mdc-elevation-overlay" part="overlay"></div></div><div class="mdc-switch__ripple" part="ripple"></div><div class="mdc-switch__icons" part="icons"><svg class="mdc-switch__icon mdc-switch__icon--on" viewBox="0 0 24 24" part="icon-on"><path d="M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z" part="icon-on-path"/></svg> <svg class="mdc-switch__icon mdc-switch__icon--off" viewBox="0 0 24 24" part="icon-off"><path d="M20 13H4v-2h16v2z" part="icon-off-path"/></svg></div></div></div></button> <label id="switch-label" class="forge-switch__label" for="switch-btn" part="label"><slot></slot></label></div></template>',ne='.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);-webkit-transition:opacity 280ms cubic-bezier(.4, 0, .2, 1);transition:opacity 280ms cubic-bezier(.4, 0, .2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color,#fff)}.mdc-switch{-webkit-box-align:center;align-items:center;background:0 0;border:none;display:-webkit-inline-box;display:inline-flex;flex-shrink:0;margin:0;outline:0;overflow:visible;padding:0;position:relative}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::after,.mdc-switch__track::before{border:1px solid transparent;border-radius:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}.mdc-switch__track::before{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__track::after{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch__track[dir=rtl]::after,[dir=rtl] .mdc-switch__track::after{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track[dir=rtl]::before,[dir=rtl] .mdc-switch--selected .mdc-switch__track::before{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .2, 1),-webkit-transform 75ms 0s cubic-bezier(.4, 0, .2, 1);left:0;right:auto;-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__handle-track[dir=rtl],[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__handle-track[dir=rtl],[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch__handle{display:-webkit-box;display:flex;pointer-events:auto;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;right:auto}.mdc-switch__handle[dir=rtl],[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mdc-switch__handle::after,.mdc-switch__handle::before{border:1px solid transparent;border-radius:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;-webkit-transition:background-color 75ms 0s cubic-bezier(.4, 0, .2, 1),border-color 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:background-color 75ms 0s cubic-bezier(.4, 0, .2, 1),border-color 75ms 0s cubic-bezier(.4, 0, .2, 1);z-index:-1}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;-webkit-transition:opacity 30ms 0s cubic-bezier(.4, 0, 1, 1);transition:opacity 30ms 0s cubic-bezier(.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;-webkit-transition:opacity 45ms 30ms cubic-bezier(0, 0, .2, 1);transition:opacity 45ms 30ms cubic-bezier(0, 0, .2, 1)}.mdc-switch{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-switch .mdc-switch__ripple::after,.mdc-switch .mdc-switch__ripple::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-switch .mdc-switch__ripple::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-switch .mdc-switch__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-switch.mdc-ripple-upgraded--unbounded .mdc-switch__ripple::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-switch.mdc-ripple-upgraded--foreground-activation .mdc-switch__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-switch.mdc-ripple-upgraded--foreground-deactivation .mdc-switch__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-switch .mdc-switch__ripple::after,.mdc-switch .mdc-switch__ripple::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after,.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-switch{width:36px;width:var(--mdc-switch-track-width,36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#3d5afe;background:var(--mdc-switch-selected-handle-color,#3d5afe)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#3d477f;background:var(--mdc-switch-selected-hover-handle-color,#3d477f)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#3d477f;background:var(--mdc-switch-selected-focus-handle-color,#3d477f)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#3d477f;background:var(--mdc-switch-selected-pressed-handle-color,#3d477f)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#3d5afe;background:var(--mdc-switch-disabled-selected-handle-color,#3d5afe)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#9e9e9e;background:var(--mdc-switch-unselected-handle-color,#9e9e9e)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color,#212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color,#212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color,#212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color,#424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color,var(--mdc-theme-surface,#fff))}.mdc-switch:enabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0, 0, 0, 0.12);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);-webkit-box-shadow:var(--mdc-switch-handle-elevation,var(--mdc-elevation-box-shadow-for-gss));box-shadow:var(--mdc-switch-handle-elevation,var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch:disabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0, 0, 0, 0.12);-webkit-box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);-webkit-box-shadow:var(--mdc-switch-disabled-handle-elevation,var(--mdc-elevation-box-shadow-for-gss));box-shadow:var(--mdc-switch-disabled-handle-elevation,var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height,20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:.24;opacity:var(--mdc-switch-disabled-handle-opacity, .24)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape,10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width,20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width,20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-selected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-disabled-selected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-unselected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-disabled-unselected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:.54;opacity:var(--mdc-switch-disabled-selected-icon-opacity, .54)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:.54;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, .54)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size,18px);height:18px;height:var(--mdc-switch-selected-icon-size,18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size,18px);height:18px;height:var(--mdc-switch-unselected-icon-size,18px)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before{background-color:#3d5afe;background-color:var(--mdc-switch-selected-hover-state-layer-color,#3d5afe)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before{background-color:#3d5afe;background-color:var(--mdc-switch-selected-focus-state-layer-color,#3d5afe)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before{background-color:#3d5afe;background-color:var(--mdc-switch-selected-pressed-state-layer-color,#3d5afe)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before{background-color:#424242;background-color:var(--mdc-switch-unselected-hover-state-layer-color,#424242)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before{background-color:#424242;background-color:var(--mdc-switch-unselected-focus-state-layer-color,#424242)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before{background-color:#424242;background-color:var(--mdc-switch-unselected-pressed-state-layer-color,#424242)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before{opacity:.04;opacity:var(--mdc-switch-selected-hover-state-layer-opacity, .04)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, .12)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.1;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, .1)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before{opacity:.04;opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, .04)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, .12)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.1;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, .1)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size,48px);width:48px;width:var(--mdc-switch-state-layer-size,48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height,14px)}.mdc-switch:disabled .mdc-switch__track{opacity:.12;opacity:var(--mdc-switch-disabled-track-opacity, .12)}.mdc-switch:enabled .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-track-color,#cfd6ff)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-hover-track-color,#cfd6ff)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-focus-track-color,#cfd6ff)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-pressed-track-color,#cfd6ff)}.mdc-switch:disabled .mdc-switch__track::after{background:#3d5afe;background:var(--mdc-switch-disabled-selected-track-color,#3d5afe)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color,#e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color,#e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color,#e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color,#e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color,#424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape,7px)}@media screen and (forced-colors:active),(-ms-high-contrast:active){.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color,GrayText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color,GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}.forge-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;vertical-align:middle}.forge-form-field>label{-webkit-box-ordinal-group:1;order:0;margin-right:auto;padding-left:4px}.forge-form-field forge-switch~label{padding-left:8px}.forge-form-field--align-end>label{-webkit-box-ordinal-group:0;order:-1;margin-left:auto;padding-right:4px}.forge-switch__container{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.forge-switch__container.forge-switch--label-position-start{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-flow:row-reverse}.forge-switch__container.forge-switch--label-position-start .forge-switch__label{margin-left:auto;padding-right:8px}:host{display:inline-block}:host *{cursor:pointer}:host .forge-switch__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);padding-left:8px}:host([hidden]){display:none}:host([dense]) .mdc-switch__ripple{height:28px;width:28px}:host([disabled]) *{cursor:not-allowed}:host([disabled]) .forge-switch__label{color:rgba(0,0,0,.38);color:var(--forge-theme-label-disabled-on-background,rgba(0,0,0,.38))}',O=class extends J{initialize(){this._deferRippleInitialization()}destroy(){var i;this.foundation.destroy(),(i=this.ripple)==null||i.destroy(),this.root.removeEventListener("click",this.foundation.handleClick)}async _deferRippleInitialization(){let i=await H(this.root);this.ripple=new x(this.root,this.createRippleFoundation()),i==="focusin"&&this.ripple.foundation.handleFocus()}},_=class extends R{constructor(){super();this._dense=!1;this._disabled=!1;this._selected=!1;this._labelPosition="end";M(this,oe,ne),this._initialize()}static get observedAttributes(){return[a.attributes.DENSE,a.attributes.DISABLED,a.attributes.SELECTED,a.attributes.LABEL_POSITION,a.attributes.BUTTON_ARIA_LABEL]}_initialize(){this._buttonElement=z(this,a.selectors.BUTTON),this._containerElement=z(this,a.selectors.CONTAINER),this._clickListener=e=>this._onClick(e)}connectedCallback(){this._buttonElement.addEventListener("click",this._clickListener),this._mdcSwitch=new O(this._buttonElement),this._applyInitialState()}disconnectedCallback(){var e;(e=this._mdcSwitch)==null||e.destroy()}attributeChangedCallback(e,t,c){switch(e){case a.attributes.DENSE:this.dense=S(c);break;case a.attributes.DISABLED:this.disabled=S(c);break;case a.attributes.SELECTED:this.selected=S(c);break;case a.attributes.LABEL_POSITION:this.labelPosition=c;break;case a.attributes.BUTTON_ARIA_LABEL:this._applyButtonLabel(c);break}}_applyInitialState(){var e;this._mdcSwitch&&(this._mdcSwitch.disabled=this._disabled,this._mdcSwitch.selected=this._selected),this._applyDense(),this._applyLabelPosition(),this._applyButtonLabel((e=this.getAttribute(a.attributes.BUTTON_ARIA_LABEL))!=null?e:"")}_onClick(e){var s;if((s=this._mdcSwitch)!=null&&s.disabled)return;e.stopImmediatePropagation();let t=!this._selected;!B(this,a.events.SELECT,t,!0,!0)||this._applySelected(t)}_applySelected(e){this._selected=e,this._mdcSwitch&&(this._mdcSwitch.selected=this._selected)}_applyDense(){var e,t;y(this,this._dense,a.attributes.DENSE),(t=(e=this._mdcSwitch)==null?void 0:e.ripple)==null||t.layout()}_applyLabelPosition(){P(this._containerElement,this._labelPosition==="start",a.classes.LABEL_START)}_applyButtonLabel(e){!this._buttonElement||y(this._buttonElement,!!e,"aria-label",e)}get dense(){return this._dense}set dense(e){this._dense!==e&&(this._dense=e,this._applyDense())}get disabled(){return this._disabled}set disabled(e){this._disabled!==e&&(this._disabled=e,this._mdcSwitch&&(this._mdcSwitch.disabled=this._disabled),y(this,this._disabled,a.attributes.DISABLED))}get selected(){return this._selected}set selected(e){this._selected!==e&&(this._applySelected(e),y(this,this._selected,a.attributes.SELECTED))}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition!==e&&(this._labelPosition=e,this._applyLabelPosition(),this.setAttribute(a.attributes.LABEL_POSITION,this._labelPosition))}};_=I([N({name:a.elementName})],_);var Q=class extends X{constructor(e){super(e)}get value(){return this._element.selected}set value(e){this._element.selected=e}get disabled(){return this._element.disabled}set disabled(e){this._element.disabled=e}get labelElement(){return this._labelElement}onChange(e){this._element.addEventListener("forge-switch-select",({detail:t})=>e(t))}onFocus(e){this._element.addEventListener("focus",t=>e(t))}onBlur(e){this._element.addEventListener("blur",t=>e(t))}setLabel(e){e?this._labelElement?this._labelElement.textContent=e:this._createLabel(e):this._labelElement&&(this._element.removeChild(this._labelElement),this._labelElement=void 0)}_build(){return document.createElement(a.elementName)}_configure(){var e,t,c;typeof((e=this._config.options)==null?void 0:e.label)=="string"&&this._createLabel(this._config.options.label),((t=this._config.options)==null?void 0:t.selected)!==void 0&&(this._element.selected=this._config.options.selected),(c=this._config.options)!=null&&c.id&&(this._element.id=this._config.options.id)}_createLabel(e){this._labelElement=document.createElement("label"),this._labelElement.textContent=e,this._element.appendChild(this._labelElement)}};function We(){A(_)}export{a,_ as b,Q as c,We as d};
|
|
7
|
-
/**
|
|
8
|
-
* @license
|
|
9
|
-
* Copyright 2021 Google Inc.
|
|
10
|
-
*
|
|
11
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
* in the Software without restriction, including without limitation the rights
|
|
14
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
* furnished to do so, subject to the following conditions:
|
|
17
|
-
*
|
|
18
|
-
* The above copyright notice and this permission notice shall be included in
|
|
19
|
-
* all copies or substantial portions of the Software.
|
|
20
|
-
*
|
|
21
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
27
|
-
* THE SOFTWARE.
|
|
28
|
-
*/
|
|
29
|
-
//# sourceMappingURL=chunk.VT2QJ7SM.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../node_modules/@material/switch/constants.ts", "../../../../../../node_modules/@material/base/observer.ts", "../../../../../../node_modules/@material/base/observer-foundation.ts", "../../../../../../node_modules/@material/switch/foundation.ts", "../../../../../../node_modules/@material/switch/component.ts", "../../src/switch/switch-constants.ts", "../../src/switch/switch.ts", "../../src/switch/switch-component-delegate.ts", "../../src/switch/index.ts"],
|
|
4
|
-
"sourcesContent": [null, null, null, null, null, "import { COMPONENT_NAME_PREFIX } from '../constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}switch`;\n\nconst classes = {\n LABEL_START: 'forge-switch--label-position-start'\n};\n\nconst selectors = {\n BUTTON: '.mdc-switch',\n CONTAINER: '.forge-switch__container'\n};\n\nconst attributes = {\n DENSE: 'dense',\n DISABLED: 'disabled',\n SELECTED: 'selected',\n LABEL_POSITION: 'label-position',\n BUTTON_ARIA_LABEL: 'button-aria-label'\n};\n\nconst events = {\n SELECT: `${elementName}-select`\n};\n\nexport const SWITCH_CONSTANTS = {\n classes,\n selectors,\n attributes,\n elementName,\n events\n};\n\nexport type SwitchLabelPosition = 'start' | 'end';\n", "import { CustomElement, attachShadowTemplate, coerceBoolean, getShadowElement, emitEvent, toggleAttribute, toggleClass } from '@tylertech/forge-core';\nimport { MDCSwitch } from '@material/switch';\nimport { MDCRipple } from '@material/ripple';\nimport { SwitchLabelPosition, SWITCH_CONSTANTS } from './switch-constants';\nimport { BaseComponent, IBaseComponent } from '../core/base/base-component';\n\nconst template = '<template><div class=\\\"forge-switch__container\\\" part=\\\"root\\\"><button id=\\\"switch-btn\\\" class=\\\"mdc-switch\\\" type=\\\"button\\\" role=\\\"switch\\\" aria-checked=\\\"false\\\" aria-labelledby=\\\"switch-label\\\" part=\\\"button\\\"><div class=\\\"mdc-switch__track\\\" part=\\\"track\\\"></div><div class=\\\"mdc-switch__handle-track\\\" part=\\\"handle-track\\\"><div class=\\\"mdc-switch__handle\\\" part=\\\"handle\\\"><div class=\\\"mdc-switch__shadow\\\" part=\\\"shadow\\\"><div class=\\\"mdc-elevation-overlay\\\" part=\\\"overlay\\\"></div></div><div class=\\\"mdc-switch__ripple\\\" part=\\\"ripple\\\"></div><div class=\\\"mdc-switch__icons\\\" part=\\\"icons\\\"><svg class=\\\"mdc-switch__icon mdc-switch__icon--on\\\" viewBox=\\\"0 0 24 24\\\" part=\\\"icon-on\\\"><path d=\\\"M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z\\\" part=\\\"icon-on-path\\\"/></svg> <svg class=\\\"mdc-switch__icon mdc-switch__icon--off\\\" viewBox=\\\"0 0 24 24\\\" part=\\\"icon-off\\\"><path d=\\\"M20 13H4v-2h16v2z\\\" part=\\\"icon-off-path\\\"/></svg></div></div></div></button> <label id=\\\"switch-label\\\" class=\\\"forge-switch__label\\\" for=\\\"switch-btn\\\" part=\\\"label\\\"><slot></slot></label></div></template>';\nconst styles = '.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);-webkit-transition:opacity 280ms cubic-bezier(.4, 0, .2, 1);transition:opacity 280ms cubic-bezier(.4, 0, .2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color,#fff)}.mdc-switch{-webkit-box-align:center;align-items:center;background:0 0;border:none;display:-webkit-inline-box;display:inline-flex;flex-shrink:0;margin:0;outline:0;overflow:visible;padding:0;position:relative}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::after,.mdc-switch__track::before{border:1px solid transparent;border-radius:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;content:\\\"\\\";height:100%;left:0;position:absolute;width:100%}.mdc-switch__track::before{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__track::after{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch__track[dir=rtl]::after,[dir=rtl] .mdc-switch__track::after{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 75ms 0s cubic-bezier(.4, 0, .6, 1);-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track[dir=rtl]::before,[dir=rtl] .mdc-switch--selected .mdc-switch__track::before{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 75ms 0s cubic-bezier(0, 0, .2, 1);-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;-webkit-transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:-webkit-transform 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:transform 75ms 0s cubic-bezier(.4, 0, .2, 1),-webkit-transform 75ms 0s cubic-bezier(.4, 0, .2, 1);left:0;right:auto;-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__handle-track[dir=rtl],[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__handle-track[dir=rtl],[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch__handle{display:-webkit-box;display:flex;pointer-events:auto;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;right:auto}.mdc-switch__handle[dir=rtl],[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mdc-switch__handle::after,.mdc-switch__handle::before{border:1px solid transparent;border-radius:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;content:\\\"\\\";width:100%;height:100%;left:0;position:absolute;top:0;-webkit-transition:background-color 75ms 0s cubic-bezier(.4, 0, .2, 1),border-color 75ms 0s cubic-bezier(.4, 0, .2, 1);transition:background-color 75ms 0s cubic-bezier(.4, 0, .2, 1),border-color 75ms 0s cubic-bezier(.4, 0, .2, 1);z-index:-1}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;-webkit-transition:opacity 30ms 0s cubic-bezier(.4, 0, 1, 1);transition:opacity 30ms 0s cubic-bezier(.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;-webkit-transition:opacity 45ms 30ms cubic-bezier(0, 0, .2, 1);transition:opacity 45ms 30ms cubic-bezier(0, 0, .2, 1)}.mdc-switch{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-switch .mdc-switch__ripple::after,.mdc-switch .mdc-switch__ripple::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.mdc-switch .mdc-switch__ripple::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-switch .mdc-switch__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-switch.mdc-ripple-upgraded--unbounded .mdc-switch__ripple::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-switch.mdc-ripple-upgraded--foreground-activation .mdc-switch__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-switch.mdc-ripple-upgraded--foreground-deactivation .mdc-switch__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-switch .mdc-switch__ripple::after,.mdc-switch .mdc-switch__ripple::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after,.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-switch{width:36px;width:var(--mdc-switch-track-width,36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#3d5afe;background:var(--mdc-switch-selected-handle-color,#3d5afe)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#3d477f;background:var(--mdc-switch-selected-hover-handle-color,#3d477f)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#3d477f;background:var(--mdc-switch-selected-focus-handle-color,#3d477f)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#3d477f;background:var(--mdc-switch-selected-pressed-handle-color,#3d477f)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#3d5afe;background:var(--mdc-switch-disabled-selected-handle-color,#3d5afe)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#9e9e9e;background:var(--mdc-switch-unselected-handle-color,#9e9e9e)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color,#212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color,#212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color,#212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color,#424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color,var(--mdc-theme-surface,#fff))}.mdc-switch:enabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0, 0, 0, 0.12);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);-webkit-box-shadow:var(--mdc-switch-handle-elevation,var(--mdc-elevation-box-shadow-for-gss));box-shadow:var(--mdc-switch-handle-elevation,var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch:disabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0, 0, 0, 0.12);-webkit-box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);-webkit-box-shadow:var(--mdc-switch-disabled-handle-elevation,var(--mdc-elevation-box-shadow-for-gss));box-shadow:var(--mdc-switch-disabled-handle-elevation,var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height,20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:.24;opacity:var(--mdc-switch-disabled-handle-opacity, .24)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape,10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width,20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width,20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-selected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-disabled-selected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-unselected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#ffffff;fill:var(--mdc-switch-disabled-unselected-icon-color,var(--mdc-theme-on-primary,#ffffff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:.54;opacity:var(--mdc-switch-disabled-selected-icon-opacity, .54)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:.54;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, .54)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size,18px);height:18px;height:var(--mdc-switch-selected-icon-size,18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size,18px);height:18px;height:var(--mdc-switch-unselected-icon-size,18px)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before{background-color:#3d5afe;background-color:var(--mdc-switch-selected-hover-state-layer-color,#3d5afe)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before{background-color:#3d5afe;background-color:var(--mdc-switch-selected-focus-state-layer-color,#3d5afe)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before{background-color:#3d5afe;background-color:var(--mdc-switch-selected-pressed-state-layer-color,#3d5afe)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before{background-color:#424242;background-color:var(--mdc-switch-unselected-hover-state-layer-color,#424242)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before{background-color:#424242;background-color:var(--mdc-switch-unselected-focus-state-layer-color,#424242)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before{background-color:#424242;background-color:var(--mdc-switch-unselected-pressed-state-layer-color,#424242)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before{opacity:.04;opacity:var(--mdc-switch-selected-hover-state-layer-opacity, .04)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, .12)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.1;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, .1)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before{opacity:.04;opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, .04)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, .12)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.1;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, .1)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size,48px);width:48px;width:var(--mdc-switch-state-layer-size,48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height,14px)}.mdc-switch:disabled .mdc-switch__track{opacity:.12;opacity:var(--mdc-switch-disabled-track-opacity, .12)}.mdc-switch:enabled .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-track-color,#cfd6ff)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-hover-track-color,#cfd6ff)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-focus-track-color,#cfd6ff)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#cfd6ff;background:var(--mdc-switch-selected-pressed-track-color,#cfd6ff)}.mdc-switch:disabled .mdc-switch__track::after{background:#3d5afe;background:var(--mdc-switch-disabled-selected-track-color,#3d5afe)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color,#e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color,#e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color,#e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color,#e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color,#424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape,7px)}@media screen and (forced-colors:active),(-ms-high-contrast:active){.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color,GrayText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color,GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}.forge-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;vertical-align:middle}.forge-form-field>label{-webkit-box-ordinal-group:1;order:0;margin-right:auto;padding-left:4px}.forge-form-field forge-switch~label{padding-left:8px}.forge-form-field--align-end>label{-webkit-box-ordinal-group:0;order:-1;margin-left:auto;padding-right:4px}.forge-switch__container{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.forge-switch__container.forge-switch--label-position-start{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-flow:row-reverse}.forge-switch__container.forge-switch--label-position-start .forge-switch__label{margin-left:auto;padding-right:8px}:host{display:inline-block}:host *{cursor:pointer}:host .forge-switch__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);padding-left:8px}:host([hidden]){display:none}:host([dense]) .mdc-switch__ripple{height:28px;width:28px}:host([disabled]) *{cursor:not-allowed}:host([disabled]) .forge-switch__label{color:rgba(0,0,0,.38);color:var(--forge-theme-label-disabled-on-background,rgba(0,0,0,.38))}';\nimport { userInteractionListener } from '../core/utils';\n\nexport interface ISwitchComponent extends IBaseComponent {\n dense: boolean;\n disabled: boolean;\n selected: boolean;\n labelPosition: SwitchLabelPosition;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-switch': ISwitchComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-switch-select': CustomEvent<boolean>;\n }\n}\n\nclass ForgeMDCSwitch extends MDCSwitch {\n public override initialize(): void {\n // Do not call super.initialize()\n // We defer instantiation of the ripple until first user interaction\n this._deferRippleInitialization();\n }\n\n public override destroy(): void {\n // We are not calling super.destroy() because it expects `ripple` to be set when it might not be yet\n // We instead just replicate all existing functionality, but allow for `ripple` to be undefined\n this.foundation.destroy();\n this.ripple?.destroy();\n this.root.removeEventListener('click', this.foundation.handleClick);\n }\n\n private async _deferRippleInitialization(): Promise<void> {\n const type = await userInteractionListener(this.root);\n this.ripple = new MDCRipple(this.root, this.createRippleFoundation());\n if (type === 'focusin') {\n // eslint-disable-next-line @typescript-eslint/dot-notation\n this.ripple['foundation'].handleFocus();\n }\n }\n}\n\n/**\n * The custom element class behind the `<forge-switch>` element.\n * \n * @tag forge-switch\n */\n@CustomElement({\n name: SWITCH_CONSTANTS.elementName\n})\nexport class SwitchComponent extends BaseComponent implements ISwitchComponent {\n public static get observedAttributes(): string[] {\n return [\n SWITCH_CONSTANTS.attributes.DENSE,\n SWITCH_CONSTANTS.attributes.DISABLED,\n SWITCH_CONSTANTS.attributes.SELECTED,\n SWITCH_CONSTANTS.attributes.LABEL_POSITION,\n SWITCH_CONSTANTS.attributes.BUTTON_ARIA_LABEL\n ];\n }\n\n private _containerElement: HTMLElement;\n private _buttonElement: HTMLButtonElement;\n private _mdcSwitch: MDCSwitch | undefined;\n private _dense = false;\n private _disabled = false;\n private _selected = false;\n private _labelPosition: SwitchLabelPosition = 'end';\n private _clickListener: (evt: MouseEvent) => void;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._initialize();\n }\n\n private _initialize(): void {\n this._buttonElement = getShadowElement(this, SWITCH_CONSTANTS.selectors.BUTTON) as HTMLButtonElement;\n this._containerElement = getShadowElement(this, SWITCH_CONSTANTS.selectors.CONTAINER);\n this._clickListener = evt => this._onClick(evt);\n }\n\n public connectedCallback(): void {\n // Add our click listener before initializing MDCSwitch to ensure we receive the event **first**\n this._buttonElement.addEventListener('click', this._clickListener);\n\n this._mdcSwitch = new ForgeMDCSwitch(this._buttonElement);\n this._applyInitialState();\n }\n\n public disconnectedCallback(): void {\n this._mdcSwitch?.destroy();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case SWITCH_CONSTANTS.attributes.DENSE:\n this.dense = coerceBoolean(newValue);\n break;\n case SWITCH_CONSTANTS.attributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case SWITCH_CONSTANTS.attributes.SELECTED:\n this.selected = coerceBoolean(newValue);\n break;\n case SWITCH_CONSTANTS.attributes.LABEL_POSITION:\n this.labelPosition = newValue as SwitchLabelPosition;\n break;\n case SWITCH_CONSTANTS.attributes.BUTTON_ARIA_LABEL:\n this._applyButtonLabel(newValue);\n break;\n }\n }\n\n private _applyInitialState(): void {\n if (this._mdcSwitch) {\n this._mdcSwitch.disabled = this._disabled;\n this._mdcSwitch.selected = this._selected;\n }\n\n this._applyDense();\n this._applyLabelPosition();\n this._applyButtonLabel(this.getAttribute(SWITCH_CONSTANTS.attributes.BUTTON_ARIA_LABEL) ?? '');\n }\n\n private _onClick(evt: MouseEvent): void {\n if (this._mdcSwitch?.disabled) {\n return;\n }\n\n // Prevents MDCSwitch from receiving the click event in the targeting phase.\n // We will handle updating the selected state of MDCSwitch based on the result of our own event.\n evt.stopImmediatePropagation();\n\n const newValue = !this._selected;\n const isCancelled = !emitEvent(this, SWITCH_CONSTANTS.events.SELECT, newValue, true, true);\n \n if (!isCancelled) {\n this._applySelected(newValue);\n }\n }\n\n private _applySelected(value: boolean): void {\n this._selected = value;\n if (this._mdcSwitch) {\n this._mdcSwitch.selected = this._selected;\n }\n }\n\n private _applyDense(): void {\n toggleAttribute(this, this._dense, SWITCH_CONSTANTS.attributes.DENSE);\n this._mdcSwitch?.ripple?.layout();\n }\n\n private _applyLabelPosition(): void {\n toggleClass(this._containerElement, this._labelPosition === 'start', SWITCH_CONSTANTS.classes.LABEL_START);\n }\n\n private _applyButtonLabel(value: string): void {\n if (!this._buttonElement) {\n return;\n }\n toggleAttribute(this._buttonElement, !!value, 'aria-label', value);\n }\n\n public get dense(): boolean {\n return this._dense;\n }\n public set dense(value: boolean) {\n if (this._dense !== value) {\n this._dense = value;\n this._applyDense();\n }\n }\n\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (this._disabled !== value) {\n this._disabled = value;\n if (this._mdcSwitch) {\n this._mdcSwitch.disabled = this._disabled;\n }\n toggleAttribute(this, this._disabled, SWITCH_CONSTANTS.attributes.DISABLED);\n }\n }\n\n public get selected(): boolean {\n return this._selected;\n }\n public set selected(value: boolean) {\n if (this._selected !== value) {\n this._applySelected(value);\n toggleAttribute(this, this._selected, SWITCH_CONSTANTS.attributes.SELECTED);\n }\n }\n\n public get labelPosition(): SwitchLabelPosition {\n return this._labelPosition;\n }\n public set labelPosition(value: SwitchLabelPosition) {\n if (this._labelPosition !== value) {\n this._labelPosition = value;\n this._applyLabelPosition();\n this.setAttribute(SWITCH_CONSTANTS.attributes.LABEL_POSITION, this._labelPosition);\n }\n }\n}\n", "import { FormFieldComponentDelegate, IFormFieldComponentDelegateOptions } from '../core';\nimport { IBaseComponentDelegateConfig } from '../core/delegates/base-component-delegate';\nimport { ISwitchComponent } from './switch';\nimport { SWITCH_CONSTANTS } from './switch-constants';\n\nexport type SwitchComponentDelegateProps = Partial<ISwitchComponent>;\nexport interface ISwitchComponentDelegateOptions extends IFormFieldComponentDelegateOptions {\n id?: string;\n label?: string;\n selected?: boolean;\n}\nexport interface ISwitchComponentDelegateConfig extends IBaseComponentDelegateConfig<ISwitchComponent, ISwitchComponentDelegateOptions> {}\n\nexport class SwitchComponentDelegate extends FormFieldComponentDelegate<ISwitchComponent, ISwitchComponentDelegateOptions> {\n private _labelElement?: HTMLLabelElement;\n\n constructor(config?: ISwitchComponentDelegateConfig) {\n super(config);\n }\n\n public get value(): boolean {\n return this._element.selected;\n }\n public set value(value: boolean) {\n this._element.selected = value;\n }\n\n public get disabled(): boolean {\n return this._element.disabled;\n }\n public set disabled(value: boolean) {\n this._element.disabled = value;\n }\n\n public get labelElement(): HTMLLabelElement | undefined {\n return this._labelElement;\n }\n\n public onChange(listener: (value: boolean) => void): void {\n this._element.addEventListener('forge-switch-select', ({ detail }: CustomEvent<boolean>) => listener(detail));\n }\n\n public onFocus(listener: (evt: Event) => void): void {\n this._element.addEventListener('focus', evt => listener(evt));\n }\n\n public onBlur(listener: (evt: Event) => void): void {\n this._element.addEventListener('blur', evt => listener(evt));\n }\n\n public setLabel(text: string | null): void {\n if (text) {\n if (this._labelElement) {\n this._labelElement.textContent = text;\n } else {\n this._createLabel(text);\n }\n } else if (this._labelElement) {\n this._element.removeChild(this._labelElement);\n this._labelElement = undefined;\n }\n }\n\n protected _build(): ISwitchComponent {\n return document.createElement(SWITCH_CONSTANTS.elementName);\n }\n\n protected override _configure(): void {\n if (typeof this._config.options?.label === 'string') {\n this._createLabel(this._config.options.label);\n }\n if (this._config.options?.selected !== undefined) {\n this._element.selected = this._config.options.selected;\n }\n if (this._config.options?.id) {\n this._element.id = this._config.options.id;\n }\n }\n\n private _createLabel(text: string): void {\n this._labelElement = document.createElement('label');\n this._labelElement.textContent = text;\n this._element.appendChild(this._labelElement);\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { SwitchComponent } from './switch';\n\nexport * from './switch-constants';\nexport * from './switch';\nexport * from './switch-component-delegate';\n\nexport function defineSwitchComponent(): void {\n defineCustomElement(S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EAASE,CAAG,CAAC,CAC7D,CAEO,SAASC,EAA2B,CACrCA,EACE,KAAK,cACP,KAAK,cAAc,YAAcA,EAEjC,KAAK,aAAaA,CAAI,EAEf,KAAK,gBACd,KAAK,SAAS,YAAY,KAAK,aAAa,EAC5C,KAAK,cAAgB,OAEzB,CAEU,QAA2B,CACnC,OAAO,SAAS,cAAcC,EAAiB,WAAW,CAC5D,CAEmB,YAAmB,CAnExC,IAAAC,EAAAC,EAAAC,EAoEQ,QAAOF,EAAA,KAAK,QAAQ,UAAb,YAAAA,EAAsB,QAAU,UACzC,KAAK,aAAa,KAAK,QAAQ,QAAQ,KAAK,IAE1CC,EAAA,KAAK,QAAQ,UAAb,YAAAA,EAAsB,YAAa,SACrC,KAAK,SAAS,SAAW,KAAK,QAAQ,QAAQ,WAE5CC,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,KACxB,KAAK,SAAS,GAAK,KAAK,QAAQ,QAAQ,GAE5C,CAEQ,aAAaJ,EAAoB,CACvC,KAAK,cAAgB,SAAS,cAAc,OAAO,EACnD,KAAK,cAAc,YAAcA,EACjC,KAAK,SAAS,YAAY,KAAK,aAAa,CAC9C,CACF,EC5EO,SAASK,IAA8B,CAC5CC,EAAoBC,CAAe,CACrC",
|
|
6
|
-
"names": ["CssClasses", "Selectors", "observeProperty", "target", "property", "observer", "targetObservers", "installObserver", "observers", "allTargetObservers", "observersMap", "key", "descriptor", "getDescriptor", "observedDescriptor", "__assign", "descGet", "descSet", "value_1", "newValue", "previous", "_b", "__values", "_c", "descriptorTarget", "setObserversEnabled", "enabled", "MDCObserverFoundation", "_super", "__extends", "adapter", "_this", "target", "observers", "cleanup", "_b", "__values", "_c", "property", "observer", "unobserve", "cleanup_1", "cleanup_1_1", "cleanupFn", "observeProperty", "enabled", "setObserversEnabled", "__spreadArray", "__read", "MDCFoundation", "MDCSwitchFoundation", "_super", "__extends", "adapter", "_this", "MDCObserverFoundation", "MDCSwitchRenderFoundation", "_super", "__extends", "CssClasses", "addClass", "className", "MDCSwitchFoundation", "MDCSwitch", "_super", "__extends", "root", "foundation", "_this", "MDCRipple", "rippleElement", "Selectors", "MDCSwitchRenderFoundation", "className", "ariaChecked", "disabled", "MDCRippleFoundation", "__assign", "MDCComponent", "elementName", "COMPONENT_NAME_PREFIX", "classes", "selectors", "attributes", "events", "SWITCH_CONSTANTS", "template", "styles", "ForgeMDCSwitch", "MDCSwitch", "_a", "type", "userInteractionListener", "MDCRipple", "SwitchComponent", "BaseComponent", "attachShadowTemplate", "SWITCH_CONSTANTS", "getShadowElement", "evt", "name", "oldValue", "newValue", "coerceBoolean", "emitEvent", "value", "_b", "toggleAttribute", "toggleClass", "__decorateClass", "CustomElement", "SwitchComponentDelegate", "FormFieldComponentDelegate", "config", "value", "listener", "detail", "evt", "text", "SWITCH_CONSTANTS", "_a", "_b", "_c", "defineSwitchComponent", "defineCustomElement", "SwitchComponent"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
-
* License: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
function d(n,e){let r=n.toLowerCase().indexOf(e.toLowerCase());if(r!==-1){let o=r+e.length,t=document.createElement("span"),u=document.createElement("span");return u.style.fontWeight="bold",u.textContent=n.substring(r,o),t.appendChild(document.createTextNode(n.substring(0,r))),t.appendChild(u),t.appendChild(document.createTextNode(n.substring(o))),t}}function c(n,{capture:e=!0,pointerenter:i=!0,focusin:r=!0}={}){return new Promise(o=>{let t={once:!0,capture:e},u=()=>{r&&n.removeEventListener("focusin",s,t),o("pointerenter")},s=()=>{i&&n.removeEventListener("pointerenter",u,t),o("focusin")};i&&n.addEventListener("pointerenter",u,t),r&&n.addEventListener("focusin",s,t)})}function p(n,e){return e===0?0:n/100*e}function m(n,e){return e===0?0:n*100/e}function f(n,e,i,r=0,o=100){let t=i-e,u=n-e;return!t||!u?r:u*o/t+r}function a(...n){return Math.min(...n.map(e=>e!=null?e:Number.POSITIVE_INFINITY))}function x(...n){return Math.max(...n.map(e=>e!=null?e:Number.NEGATIVE_INFINITY))}export{d as a,c as b,p as c,m as d,f as e,a as f,x as g};
|
|
7
|
-
//# sourceMappingURL=chunk.Y66GSZJB.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/core/utils/utils.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Highlights text in the given label by converting it to HTML and using a `<span>` tag to show the highlighted text within the original label.\n * @param label The full text.\n * @param highlightText The text to highlight.\n */\nexport function highlightTextHTML(label: string, highlightText: string): HTMLElement | undefined {\n const text = label.toLowerCase();\n const startIndex = text.indexOf(highlightText.toLowerCase());\n\n if (startIndex !== -1) {\n const endIndex = startIndex + highlightText.length;\n const wrapperSpan = document.createElement('span');\n const highlightSpan = document.createElement('span');\n\n highlightSpan.style.fontWeight = 'bold';\n highlightSpan.textContent = label.substring(startIndex, endIndex);\n \n wrapperSpan.appendChild(document.createTextNode(label.substring(0, startIndex)));\n wrapperSpan.appendChild(highlightSpan);\n wrapperSpan.appendChild(document.createTextNode(label.substring(endIndex)));\n \n return wrapperSpan;\n }\n\n return undefined;\n}\n\n\n/**\n * Awaits user interaction on an element in the form of `pointerenter` or `focusin` to let a listener know\n * when the user has attempted to interact with the provided element.\n * \n * The listeners are only called once, and the other is removed after one of the listeners is called.\n * @param element The element to listen to.\n * @param capture Whether to use capturing listeners or not.\n * @returns A `Promise` that will be resolved when either of the listeners has executed.\n */\nexport function userInteractionListener(element: HTMLElement, { capture = true, pointerenter = true, focusin = true } = {}): Promise<'pointerenter' | 'focusin'> {\n return new Promise<'pointerenter' | 'focusin'>(resolve => {\n const listenerOpts: EventListenerOptions & { once: boolean } = { once: true, capture };\n \n const handlePointerenter = (): void => {\n if (focusin) {\n element.removeEventListener('focusin', handleFocusin, listenerOpts);\n }\n resolve('pointerenter');\n };\n \n const handleFocusin = (): void => {\n if (pointerenter) {\n element.removeEventListener('pointerenter', handlePointerenter, listenerOpts);\n }\n resolve('focusin');\n };\n\n if (pointerenter) {\n element.addEventListener('pointerenter', handlePointerenter, listenerOpts);\n }\n if (focusin) {\n element.addEventListener('focusin', handleFocusin, listenerOpts);\n }\n });\n}\n\n/**\n * Converts a percent value to pixels.\n * @param amount A percent value.\n * @param containerSize The size of the parent element along the relevant axis.\n * @returns A pixel value.\n */\nexport function percentToPixels(amount: number, containerSize: number): number {\n if (containerSize === 0) {\n return 0;\n }\n return amount / 100 * containerSize;\n}\n\n/**\n * Converts a pixel value to a percentage.\n * @param amount A pixel value.\n * @param containerSize The size of the parent element along the relevant axis.\n * @returns A percent value.\n */\nexport function pixelsToPercent(amount: number, containerSize: number): number {\n if (containerSize === 0) {\n return 0;\n }\n return amount * 100 / containerSize;\n}\n\n/**\n * Scales a value from one range to another.\n * @param value The original number value.\n * @param fromMin The lower bound of the input range.\n * @param fromMax The upper bound of the input range.\n * @param toMin The lower bound of the output range (defaults to 0).\n * @param toMax The lower bound of the output range (defaults to 100).\n * @returns A value mapped to the output range.\n */\nexport function scaleValue(value: number, fromMin: number, fromMax: number, toMin = 0, toMax = 100): number {\n const range = fromMax - fromMin;\n const adjustedValue = value - fromMin;\n if (!range || !adjustedValue) {\n return toMin;\n }\n return adjustedValue * toMax / range + toMin;\n}\n\n/**\n * Returns the min of a set of numbers where some values may be undefined.\n * @param args `number` or `undefined` values to compare.\n * @returns The min value or `Number.POSITIVE_INFINITY` if all values are `undefined`.\n */\nexport function safeMin(...args: (number | undefined)[]): number {\n return Math.min(...args.map(arg => arg ?? Number.POSITIVE_INFINITY));\n}\n\n/**\n * Returns the max of a set of numbers where some values may be undefined.\n * @param args `number` or `undefined` values to compare.\n * @returns The max value or `Number.NEGATIVE_INFINITY` if all values are `undefined`.\n */\nexport function safeMax(...args: (number | undefined)[]): number {\n return Math.max(...args.map(arg => arg ?? Number.NEGATIVE_INFINITY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,EAAeC,EAAiBC,EAAiBC,EAAQ,EAAGC,EAAQ,IAAa,CAC1G,IAAMC,EAAQH,EAAUD,EAClBK,EAAgBN,EAAQC,EAC9B,MAAI,CAACI,GAAS,CAACC,EACNH,EAEFG,EAAgBF,EAAQC,EAAQF,CACzC,CAOO,SAASI,KAAWC,EAAsC,CAC/D,OAAO,KAAK,IAAI,GAAGA,EAAK,IAAIC,GAAOA,GAAA,KAAAA,EAAO,OAAO,iBAAiB,CAAC,CACrE,CAOO,SAASC,KAAWF,EAAsC,CAC/D,OAAO,KAAK,IAAI,GAAGA,EAAK,IAAIC,GAAOA,GAAA,KAAAA,EAAO,OAAO,iBAAiB,CAAC,CACrE",
|
|
6
|
-
"names": ["highlightTextHTML", "label", "highlightText", "startIndex", "endIndex", "wrapperSpan", "highlightSpan", "userInteractionListener", "element", "capture", "pointerenter", "focusin", "resolve", "listenerOpts", "handlePointerenter", "handleFocusin", "percentToPixels", "amount", "containerSize", "pixelsToPercent", "scaleValue", "value", "fromMin", "fromMax", "toMin", "toMax", "range", "adjustedValue", "safeMin", "args", "arg", "safeMax"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
-
* License: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import{b as _,c as R}from"./chunk.4CWMNWZU.js";import{a as N}from"./chunk.2KXSGD3S.js";import{b as z}from"./chunk.Y66GSZJB.js";import{a as T}from"./chunk.5KC43VFL.js";import{a as w}from"./chunk.KTGSZEAG.js";import{a as A,b as D}from"./chunk.QOA2O575.js";import{a as C,e as y,g as x,l as I}from"./chunk.HOXFK44F.js";import{f as d,g as l}from"./chunk.4LA6HEA7.js";import{k as v}from"./chunk.J2M2MXP2.js";import{a as g,b as E,f}from"./chunk.MCIQXNKY.js";var H=`${D}checkbox`,F={CONTAINER:"forge-checkbox-container",ROOT:"mdc-checkbox",CHECKBOX:"mdc-checkbox",CHECKBOX_DENSE:"forge-checkbox--dense",ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",WRAPPER_DISABLED:"forge-checkbox-wrapper--disabled",MIXEDMARK:"mdc-checkbox__mixedmark",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded",CHECKED:"forge-checkbox--checked",INDETERMINATE:"forge-checkbox--indeterminate",FOCUSED:"forge-checkbox--focused",ENABLED:"forge-checkbox--enabled"},L={INPUT:"input",LABEL:"label",ROOT:`.${F.ROOT}`,WRAPPER:".forge-checkbox-wrapper"},S={DENSE:"dense",CHECKED:"checked",SLOT:"slot",DISABLED:"disabled",INDETERMINATE:"indeterminate"},M={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},P=["checked","indeterminate","disabled"],K={ANIM_END_LATCH_MS:250},t={elementName:H,classes:F,selectors:L,attributes:S,strings:M,CB_PROTO_PROPS:P,numbers:K};var p=class{constructor(r){this._adapter=r;this._dense=!1;this._currentCheckState=t.strings.TRANSITION_STATE_INIT;this._currentAnimationClass="";this._animEndLatchTimer=0;this._enableAnimationEndHandler=!1}disconnect(){this._adapter.unlisten("change",this._handleChange),this._adapter.disconnect(),this._adapter.uninstallPropertyChangeHooks(),this._adapter.unlisten("animationend",this._handleAnimationEnd)}connect(){this._adapter.initialize(),this._currentCheckState=this._determineCheckState(),this._setDense(this.dense),this._updateAriaChecked(),this._inputAttributeChangedListener=(r,e)=>this._handleInputAttributeChange(),this._adapter.setInputAttributeObserver((r,e)=>this._inputAttributeChangedListener(r,e)),this._handleChange=()=>this._handleInputChange(),this._adapter.listen("change",this._handleChange),this._adapter.installPropertyChangeHooks(()=>{this._handleInputChange()}),this._handleAnimationEnd=()=>this.handleAnimationEnd(),this._adapter.listen("animationend",this._handleAnimationEnd,!0),this._handleInputChange()}get dense(){return this._dense}set dense(r){this._dense!==r&&(this._dense=r,this._setDense(r))}handleAnimationEnd(){if(!this._enableAnimationEndHandler)return;let r=()=>{this._adapter.removeRootClass(this._currentAnimationClass),this._enableAnimationEndHandler=!1};clearTimeout(this._animEndLatchTimer),this._animEndLatchTimer=setTimeout(r,t.numbers.ANIM_END_LATCH_MS)}_setDense(r){this._adapter.setDense(r)}_determineCheckState(){let{TRANSITION_STATE_INDETERMINATE:r,TRANSITION_STATE_CHECKED:e,TRANSITION_STATE_UNCHECKED:i}=t.strings;return this._adapter.isIndeterminate()?r:this._adapter.isChecked()?e:i}_updateAriaChecked(){let{ARIA_CHECKED_INDETERMINATE_VALUE:r,ARIA_CHECKED_ATTR:e}=t.strings;this._adapter.isIndeterminate()?(this._adapter.setNativeAttribute(e,r),this._adapter.setRootClass(t.classes.INDETERMINATE),this._adapter.isChecked()||this._adapter.removeRootClass(t.classes.CHECKED)):(this._adapter.removeNativeAttribute(e),this._adapter.removeRootClass(t.classes.INDETERMINATE))}_handleInputChange(){this._handleInputAttributeChange(),this._updateCheckboxStateClasses(),this._transitionCheckState()}_transitionCheckState(){if(!this._adapter.isAttachedToDOM())return;let r=this._currentCheckState,e=this._determineCheckState();if(r===e)return;this._updateAriaChecked();let{TRANSITION_STATE_UNCHECKED:i}=t.strings,{SELECTED:c}=t.classes;e===i?this._adapter.removeRootClass(c):this._adapter.setRootClass(c),this._currentAnimationClass.length>0&&(clearTimeout(this._animEndLatchTimer),this._adapter.removeRootClass(this._currentAnimationClass)),this._currentAnimationClass.length>0&&(clearTimeout(this._animEndLatchTimer),this._adapter.removeRootClass(this._currentAnimationClass)),this._currentAnimationClass=this._getTransitionAnimationClass(r,e),this._currentCheckState=e,this._adapter.isAttachedToDOM()&&this._currentAnimationClass.length>0&&(this._adapter.setRootClass(this._currentAnimationClass),this._enableAnimationEndHandler=!0)}_handleInputAttributeChange(){this._adapter.isDisabled()?(this._adapter.setRootClass(t.classes.DISABLED),this._adapter.setWrapperClass(t.classes.WRAPPER_DISABLED),this._adapter.removeRootClass(t.classes.ENABLED)):(this._adapter.removeRootClass(t.classes.DISABLED),this._adapter.removeWrapperClass(t.classes.WRAPPER_DISABLED),this._adapter.setRootClass(t.classes.ENABLED)),this._updateCheckboxStateClasses()}_getTransitionAnimationClass(r,e){let{TRANSITION_STATE_CHECKED:i,TRANSITION_STATE_UNCHECKED:c}=t.strings,{ANIM_UNCHECKED_CHECKED:o,ANIM_UNCHECKED_INDETERMINATE:n,ANIM_CHECKED_UNCHECKED:a,ANIM_CHECKED_INDETERMINATE:m,ANIM_INDETERMINATE_CHECKED:u,ANIM_INDETERMINATE_UNCHECKED:b}=t.classes;switch(r){case c:return e===i?o:n;case i:return e===c?a:m;default:return e===i?u:b}}_updateCheckboxStateClasses(){this._adapter.isChecked()?this._adapter.setRootClass(t.classes.CHECKED):this._adapter.removeRootClass(t.classes.CHECKED),this._adapter.isIndeterminate()?(this._adapter.setRootClass(t.classes.INDETERMINATE),this._adapter.removeRootClass(t.classes.CHECKED)):this._adapter.removeRootClass(t.classes.INDETERMINATE)}};var h=class extends T{constructor(e){super(e)}get root(){return this._rootElement}get unbounded(){return!0}get disabled(){return this.isDisabled()}initialize(){this._configureElements(),this._attachInternalInputListeners(),this._deferRippleInitialization()}async _deferRippleInitialization(){let e=await z(this._rootElement);this._rippleInstance||(this._rippleInstance=this._createRipple(),e==="focusin"&&this._rippleInstance.handleFocus())}setDense(e){var i;e?(this._setHostAttribute(t.attributes.DENSE),this.setRootClass(t.classes.CHECKBOX_DENSE)):(this._removeHostAttribute(t.attributes.DENSE),this.removeRootClass(t.classes.CHECKBOX_DENSE)),(i=this._rippleInstance)==null||i.layout()}isAttachedToDOM(){return Boolean(this._component.parentNode)}_configureElements(){this._inputElement=this._component.querySelector(t.selectors.INPUT),this._wrapperElement=x(this._component,t.selectors.WRAPPER),this._rootElement=x(this._component,t.selectors.ROOT),this._labelElement=this._component.querySelector(t.selectors.LABEL),this._labelElement&&this._labelElement.setAttribute(t.attributes.SLOT,t.selectors.LABEL),this._inputElement&&this._inputElement.setAttribute(t.attributes.SLOT,t.selectors.INPUT),d(t.classes.UPGRADED,this._rootElement)}_setHostAttribute(e,i=""){this._component.setAttribute(e,i)}_removeHostAttribute(e){this._component.removeAttribute(e)}disconnect(){this._labelElement&&this._labelElement.removeAttribute(t.attributes.SLOT),this._inputElement&&this._inputElement.removeAttribute(t.attributes.SLOT),this._inputMutationObserver&&this._inputMutationObserver.disconnect(),this._detachInternalInputListeners(),this._rippleInstance&&this._rippleInstance.destroy()}setRootClass(e){this._rootElement&&d(e,this._rootElement)}removeRootClass(e){this._rootElement&&l(e,this._rootElement)}setWrapperClass(e){this._wrapperElement&&d(e,this._wrapperElement)}removeWrapperClass(e){this._wrapperElement&&l(e,this._wrapperElement)}setNativeAttribute(e,i){this._inputElement.setAttribute(e,i)}isDisabled(){return this._inputElement.disabled}isChecked(){return this._inputElement&&this._inputElement.checked}isIndeterminate(){return this._inputElement&&this._inputElement.indeterminate}removeNativeAttribute(e){this._inputElement.removeAttribute(e)}installPropertyChangeHooks(e){let i=this._inputElement,c=Object.getPrototypeOf(i);t.CB_PROTO_PROPS.forEach(o=>{let n=Object.getOwnPropertyDescriptor(c,o);if(!this._validDescriptor(n))return;let a=n.get;if(n){let m={configurable:n.configurable,enumerable:n.enumerable,get:a,set:u=>{var b;(b=n.set)==null||b.call(i,u),e()}};Object.defineProperty(i,o,m)}})}listen(e,i,c=!1){c?this._rootElement.addEventListener(e,i):this._inputElement.addEventListener(e,i)}unlisten(e,i,c=!1){!this._inputElement||(c?this._rootElement.removeEventListener(e,i):this._inputElement.removeEventListener(e,i))}uninstallPropertyChangeHooks(){if(!this._inputElement)return;let e=this._inputElement,i=Object.getPrototypeOf(e);t.CB_PROTO_PROPS.forEach(c=>{let o=Object.getOwnPropertyDescriptor(i,c);!this._validDescriptor(o)||Object.defineProperty(e,c,o)})}setInputAttributeObserver(e){this._inputMutationObserver=new MutationObserver(i=>{for(let c of i)c.attributeName&&e(c.attributeName,this._inputElement.getAttribute(c.attributeName))}),this._inputMutationObserver.observe(this._inputElement,{attributes:!0,attributeFilter:["disabled","checked"]})}_validDescriptor(e){return!!e&&typeof e.set=="function"}_attachInternalInputListeners(){this._inputFocusHandler=()=>this._handleInputFocusListener(),this._inputBlurHandler=()=>this._handleInputBlurListener(),this._inputElement.addEventListener("focus",this._inputFocusHandler),this._inputElement.addEventListener("blur",this._inputBlurHandler)}_detachInternalInputListeners(){removeEventListener("focus",this._inputFocusHandler),removeEventListener("blur",this._inputBlurHandler)}_handleInputFocusListener(){d(t.classes.FOCUSED,this._rootElement)}_handleInputBlurListener(){l(t.classes.FOCUSED,this._rootElement)}_createRipple(){let e=E(g({},_.createAdapter(this)),{deregisterInteractionHandler:(c,o)=>this._inputElement.removeEventListener(c,o,{passive:!0}),isSurfaceActive:()=>this._inputElement.matches(":active"),isUnbounded:()=>Boolean(this.unbounded),registerInteractionHandler:(c,o)=>this._inputElement.addEventListener(c,o,{passive:!0}),isSurfaceDisabled:()=>this._inputElement.disabled,addClass:c=>d(c,this._rootElement),removeClass:c=>l(c,this._rootElement),updateCssVariable:(c,o)=>this._rootElement.style.setProperty(c,o)});return new _(this._rootElement,new R(e))}};var B='<template><div class="forge-checkbox-wrapper forge-form-field" part="root"><div class="mdc-checkbox" part="container"><slot name="input"></slot><div class="mdc-checkbox__background" part="background"><svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24" part="checkmark-svg"><path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59" part="checkmark-path"></path></svg><div class="mdc-checkbox__mixedmark" part="mixedmark"></div></div><div class="mdc-checkbox__ripple" part="ripple-container"></div></div><slot name="label"></slot></div></template>',X='.mdc-checkbox{padding:calc((40px - 18px)/ 2);padding:calc((var(--mdc-checkbox-ripple-size,40px) - 18px)/ 2);margin:calc((40px - 40px)/ 2);margin:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2)}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{background-color:#000;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-surface,#000))}.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before,.mdc-checkbox:hover .mdc-checkbox__ripple::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before{background-color:#3d5afe;background-color:var(--forge-theme-tertiary,#3d5afe)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before{background-color:#3d5afe;background-color:var(--forge-theme-tertiary,#3d5afe)}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,40px) - 18px)/ 2);left:calc((40px - 18px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,40px) - 18px)/ 2)}.mdc-checkbox ::slotted(input[type=checkbox]){top:calc((40px - 40px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2);right:calc((40px - 40px)/ 2);right:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2);left:calc((40px - 40px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2);width:40px;width:var(--mdc-checkbox-ripple-size,40px);height:40px;height:var(--mdc-checkbox-ripple-size,40px)}.mdc-checkbox.forge-checkbox--enabled:not(.forge-checkbox--checked):not(.forge-checkbox--indeterminate) .mdc-checkbox__background{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}.mdc-checkbox.forge-checkbox--enabled.forge-checkbox--checked .mdc-checkbox__background,.mdc-checkbox.forge-checkbox--enabled.forge-checkbox--indeterminate .mdc-checkbox__background{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}@-webkit-keyframes mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE{0%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}50%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}}@keyframes mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE{0%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}50%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}}@-webkit-keyframes mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE{0%,80%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}100%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}}@keyframes mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE{0%,80%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}100%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked.forge-checkbox--enabled .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate.forge-checkbox--enabled .mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE;animation-name:mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked.forge-checkbox--enabled .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked.forge-checkbox--enabled .mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE;animation-name:mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE}.mdc-checkbox.mdc-checkbox--disabled:not(.forge-checkbox--checked):not(.forge-checkbox--indeterminate) .mdc-checkbox__background{border-color:#000;border-color:var(--forge-theme-form-field-icon-disabled-on-background,#000);background-color:transparent}.mdc-checkbox.mdc-checkbox--disabled.forge-checkbox--checked .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--disabled.forge-checkbox--indeterminate .mdc-checkbox__background{border-color:transparent;background-color:#000;background-color:var(--forge-theme-form-field-icon-disabled-on-background,#000)}.mdc-checkbox.forge-checkbox--enabled .mdc-checkbox__background .mdc-checkbox__checkmark{color:rgba(255,255,255,.87);color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}.mdc-checkbox.forge-checkbox--enabled .mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:rgba(255,255,255,.87);border-color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}.mdc-checkbox.mdc-checkbox--disabled .mdc-checkbox__background .mdc-checkbox__checkmark{color:rgba(255,255,255,.87);color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}.mdc-checkbox.mdc-checkbox--disabled .mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:rgba(255,255,255,.87);border-color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}@-webkit-keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}100%{stroke-dashoffset:0}}@-webkit-keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{-webkit-transform:scaleX(0);transform:scaleX(0)}68.2%{-webkit-animation-timing-function:cubic-bezier(0,0,0,1);animation-timing-function:cubic-bezier(0,0,0,1)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{-webkit-transform:scaleX(0);transform:scaleX(0)}68.2%{-webkit-animation-timing-function:cubic-bezier(0,0,0,1);animation-timing-function:cubic-bezier(0,0,0,1)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,1,1);animation-timing-function:cubic-bezier(0.4,0,1,1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,1,1);animation-timing-function:cubic-bezier(0.4,0,1,1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@-webkit-keyframes mdc-checkbox-checked-indeterminate-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@-webkit-keyframes mdc-checkbox-indeterminate-checked-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:1}}@-webkit-keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{-webkit-animation-timing-function:mdc-animation-deceleration-curve-timing-function;animation-timing-function:mdc-animation-deceleration-curve-timing-function;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{-webkit-animation-timing-function:mdc-animation-deceleration-curve-timing-function;animation-timing-function:mdc-animation-deceleration-curve-timing-function;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@-webkit-keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(315deg);transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(315deg);transform:rotate(315deg);opacity:0}}@-webkit-keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}100%,32.8%{-webkit-transform:scaleX(0);transform:scaleX(0);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}100%,32.8%{-webkit-transform:scaleX(0);transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;-webkit-box-flex:0;flex:0 0 18px;-webkit-box-sizing:content-box;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:-webkit-inline-box;display:inline-flex;position:absolute;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;-webkit-transition:background-color 90ms 0s cubic-bezier(.4, 0, .6, 1),border-color 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:background-color 90ms 0s cubic-bezier(.4, 0, .6, 1),border-color 90ms 0s cubic-bezier(.4, 0, .6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;-webkit-transition:opacity 180ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 180ms 0s cubic-bezier(.4, 0, .6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{-webkit-transition:stroke-dashoffset 180ms 0s cubic-bezier(.4, 0, .6, 1);transition:stroke-dashoffset 180ms 0s cubic-bezier(.4, 0, .6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;-webkit-transform:scaleX(0) rotate(0);transform:scaleX(0) rotate(0);border-width:1px;border-style:solid;opacity:0;-webkit-transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1)}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background{-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{-webkit-animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{-webkit-animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{-webkit-animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{-webkit-animation:mdc-checkbox-indeterminate-checked-checkmark .5s linear 0s;animation:mdc-checkbox-indeterminate-checked-checkmark .5s linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-indeterminate-checked-mixedmark .5s linear 0s;animation:mdc-checkbox-indeterminate-checked-mixedmark .5s linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-indeterminate-unchecked-mixedmark .3s linear 0s;animation:mdc-checkbox-indeterminate-unchecked-mixedmark .3s linear 0s;-webkit-transition:none;transition:none}.forge-checkbox--checked .mdc-checkbox__background,.forge-checkbox--indeterminate .mdc-checkbox__background{-webkit-transition:border-color 90ms 0s cubic-bezier(0, 0, .2, 1),background-color 90ms 0s cubic-bezier(0, 0, .2, 1);transition:border-color 90ms 0s cubic-bezier(0, 0, .2, 1),background-color 90ms 0s cubic-bezier(0, 0, .2, 1)}.forge-checkbox--checked .mdc-checkbox__background .mdc-checkbox__checkmark-path,.forge-checkbox--indeterminate .mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}::slotted(input[type=checkbox]){position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.forge-checkbox--disabled ::slotted(input[type=checkbox]){cursor:default;pointer-events:none}.forge-checkbox--checked .mdc-checkbox__background .mdc-checkbox__checkmark{-webkit-transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 180ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 180ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),transform 180ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),transform 180ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 180ms 0s cubic-bezier(0, 0, .2, 1);opacity:1}.forge-checkbox--checked .mdc-checkbox__background .mdc-checkbox__mixedmark{-webkit-transform:scaleX(1) rotate(-45deg);transform:scaleX(1) rotate(-45deg)}.forge-checkbox--indeterminate .mdc-checkbox__background .mdc-checkbox__checkmark{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0;-webkit-transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1)}.forge-checkbox--indeterminate .mdc-checkbox__background .mdc-checkbox__mixedmark{-webkit-transform:scaleX(1) rotate(0);transform:scaleX(1) rotate(0);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{-webkit-transition:none;transition:none}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-checkbox{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-checkbox .mdc-checkbox__ripple::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-checkbox .mdc-checkbox__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-checkbox.mdc-ripple-upgraded--unbounded .mdc-checkbox__ripple::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-checkbox.mdc-ripple-upgraded--foreground-activation .mdc-checkbox__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-checkbox.mdc-ripple-upgraded--foreground-deactivation .mdc-checkbox__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after,.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-checkbox{z-index:0}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{z-index:-1;z-index:var(--mdc-ripple-z-index,-1)}.mdc-checkbox__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.forge-checkbox--dense{padding:calc((28px - 18px)/ 2);padding:calc((var(--mdc-checkbox-ripple-size,28px) - 18px)/ 2);margin:calc((28px - 28px)/ 2);margin:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2)}.forge-checkbox--dense .mdc-checkbox__background{top:calc((28px - 18px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,28px) - 18px)/ 2);left:calc((28px - 18px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,28px) - 18px)/ 2)}.forge-checkbox--dense ::slotted(input[type=checkbox]){top:calc((28px - 28px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2);right:calc((28px - 28px)/ 2);right:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2);left:calc((28px - 28px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2);width:28px;width:var(--mdc-checkbox-ripple-size,28px);height:28px;height:var(--mdc-checkbox-ripple-size,28px)}.forge-checkbox-wrapper--disabled{cursor:not-allowed}.forge-checkbox-wrapper--disabled ::slotted(label){cursor:not-allowed}.mdc-checkbox--disabled+::slotted(label){color:rgba(0,0,0,.38);color:var(--forge-theme-label-disabled-on-background,rgba(0,0,0,.38))}.forge-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;vertical-align:middle}.forge-form-field ::slotted([slot=label]){-webkit-box-ordinal-group:1;order:0;margin-right:auto;padding-left:4px}.forge-form-field forge-switch~::slotted([slot=label]){padding-left:8px}.forge-form-field--align-end ::slotted([slot=label]){-webkit-box-ordinal-group:0;order:-1;margin-left:auto;padding-right:4px}:host{display:inline-block}:host([hidden]){display:none}',s=class extends I{constructor(){super();y(this,B,X),this._foundation=new p(new h(this))}static get observedAttributes(){return[t.attributes.DENSE]}async connectedCallback(){await this._ensureInputElement(),this._foundation.connect()}attributeChangedCallback(e,i,c){switch(e){case t.attributes.DENSE:this.dense=v(c);break}}disconnectedCallback(){this._foundation.disconnect()}async _ensureInputElement(){return new Promise(e=>{let i=this.querySelector("input");i&&e(i);let c=new MutationObserver(o=>{if(o.reduce((a,m)=>a+m.addedNodes.length,0)>0){let a=this.querySelector("input");a&&(c.disconnect(),e(a))}});c.observe(this,{childList:!0,subtree:!0})})}};f([w()],s.prototype,"dense",2),s=f([A({name:t.elementName})],s);var O=class extends N{constructor(e){super(e)}get value(){return this.checked}set value(e){this.checked=e}get checked(){return this._inputElement.checked}set checked(e){this._inputElement.checked=e}get disabled(){return this._inputElement.disabled}set disabled(e){this._inputElement.disabled=e}get inputElement(){return this._inputElement}get labelElement(){return this._labelElement}onChange(e){this._inputElement.addEventListener("change",i=>e(i.target.checked))}onFocus(e){this._inputElement.addEventListener("focus",i=>e(i))}onBlur(e){this._inputElement.addEventListener("blur",i=>e(i))}setLabel(e){e?this._labelElement?this._labelElement.textContent=e:this._createLabel(e):this._labelElement&&(this._element.removeChild(this._labelElement),this._labelElement=void 0)}_build(){let e=document.createElement(t.elementName);return this._inputElement=this._buildInputElement(),e.appendChild(this._inputElement),e}_configure(){var e;typeof((e=this._config.options)==null?void 0:e.label)=="string"&&this._createLabel(this._config.options.label)}_createLabel(e){var i;this._labelElement=document.createElement("label"),this._labelElement.textContent=e,(i=this._config.options)!=null&&i.id&&this._labelElement.setAttribute("for",this._config.options.id),this._element.appendChild(this._labelElement)}_buildInputElement(){var i,c;let e=document.createElement("input");return e.type="checkbox",((i=this._config.options)==null?void 0:i.checked)!==void 0&&(e.checked=this._config.options.checked),(c=this._config.options)!=null&&c.id&&(e.id=this._config.options.id),e}};function ke(){C(s)}export{M as a,K as b,t as c,p as d,h as e,s as f,O as g,ke as h};
|
|
7
|
-
//# sourceMappingURL=chunk.YG24YPYO.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/checkbox/checkbox-constants.ts", "../../src/checkbox/checkbox-foundation.ts", "../../src/checkbox/checkbox-adapter.ts", "../../src/checkbox/checkbox.ts", "../../src/checkbox/checkbox-component-delegate.ts", "../../src/checkbox/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { COMPONENT_NAME_PREFIX } from '../constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}checkbox`;\n\nconst classes = {\n CONTAINER: 'forge-checkbox-container',\n ROOT: 'mdc-checkbox',\n CHECKBOX: 'mdc-checkbox',\n CHECKBOX_DENSE: 'forge-checkbox--dense',\n ANIM_CHECKED_INDETERMINATE: 'mdc-checkbox--anim-checked-indeterminate',\n ANIM_CHECKED_UNCHECKED: 'mdc-checkbox--anim-checked-unchecked',\n ANIM_INDETERMINATE_CHECKED: 'mdc-checkbox--anim-indeterminate-checked',\n ANIM_INDETERMINATE_UNCHECKED: 'mdc-checkbox--anim-indeterminate-unchecked',\n ANIM_UNCHECKED_CHECKED: 'mdc-checkbox--anim-unchecked-checked',\n ANIM_UNCHECKED_INDETERMINATE: 'mdc-checkbox--anim-unchecked-indeterminate',\n BACKGROUND: 'mdc-checkbox__background',\n CHECKMARK: 'mdc-checkbox__checkmark',\n CHECKMARK_PATH: 'mdc-checkbox__checkmark-path',\n DISABLED: 'mdc-checkbox--disabled',\n WRAPPER_DISABLED: 'forge-checkbox-wrapper--disabled',\n MIXEDMARK: 'mdc-checkbox__mixedmark',\n SELECTED: 'mdc-checkbox--selected',\n UPGRADED: 'mdc-checkbox--upgraded',\n CHECKED: 'forge-checkbox--checked',\n INDETERMINATE: 'forge-checkbox--indeterminate',\n FOCUSED: 'forge-checkbox--focused',\n ENABLED: 'forge-checkbox--enabled'\n};\n\nconst selectors = {\n INPUT: 'input',\n LABEL: 'label',\n ROOT: `.${classes.ROOT}`,\n WRAPPER: '.forge-checkbox-wrapper'\n};\n\nconst attributes = {\n DENSE: 'dense',\n CHECKED: 'checked',\n SLOT: 'slot',\n DISABLED: 'disabled',\n INDETERMINATE: 'indeterminate'\n};\n\nexport const strings = {\n ARIA_CHECKED_ATTR: 'aria-checked',\n ARIA_CHECKED_INDETERMINATE_VALUE: 'mixed',\n DATA_INDETERMINATE_ATTR: 'data-indeterminate',\n NATIVE_CONTROL_SELECTOR: '.mdc-checkbox__native-control',\n TRANSITION_STATE_CHECKED: 'checked',\n TRANSITION_STATE_INDETERMINATE: 'indeterminate',\n TRANSITION_STATE_INIT: 'init',\n TRANSITION_STATE_UNCHECKED: 'unchecked'\n};\n\nconst CB_PROTO_PROPS = ['checked', 'indeterminate', 'disabled'];\n\nexport const numbers = {\n ANIM_END_LATCH_MS: 250\n};\n\nexport const CHECKBOX_CONSTANTS = {\n elementName,\n classes,\n selectors,\n attributes,\n strings,\n CB_PROTO_PROPS,\n numbers\n};\n", "import { ICustomElementFoundation } from '@tylertech/forge-core';\n\nimport { ICheckboxAdapter } from './checkbox-adapter';\nimport { CHECKBOX_CONSTANTS } from './checkbox-constants';\n\nexport interface ICheckboxFoundation extends ICustomElementFoundation {\n dense: boolean;\n}\n\nexport class CheckboxFoundation implements ICheckboxFoundation {\n private _dense = false;\n private _currentCheckState = CHECKBOX_CONSTANTS.strings.TRANSITION_STATE_INIT;\n private _currentAnimationClass = '';\n private _animEndLatchTimer = 0;\n private _enableAnimationEndHandler = false;\n\n private _handleChange!: () => void;\n private _inputAttributeChangedListener: (name: string, value: string) => void;\n private _handleAnimationEnd: () => void;\n\n constructor(private _adapter: ICheckboxAdapter) {}\n\n public disconnect(): void {\n this._adapter.unlisten('change', this._handleChange);\n this._adapter.disconnect();\n this._adapter.uninstallPropertyChangeHooks();\n this._adapter.unlisten('animationend', this._handleAnimationEnd);\n }\n\n public connect(): void {\n this._adapter.initialize();\n this._currentCheckState = this._determineCheckState();\n this._setDense(this.dense);\n this._updateAriaChecked();\n this._inputAttributeChangedListener = (name, value) => this._handleInputAttributeChange();\n this._adapter.setInputAttributeObserver((name, value) => this._inputAttributeChangedListener(name, value));\n\n this._handleChange = () => this._handleInputChange();\n this._adapter.listen('change', this._handleChange);\n this._adapter.installPropertyChangeHooks(() => {\n this._handleInputChange();\n });\n this._handleAnimationEnd = () => this.handleAnimationEnd();\n this._adapter.listen('animationend', this._handleAnimationEnd, true);\n\n this._handleInputChange();\n }\n\n public get dense(): boolean {\n return this._dense;\n }\n\n public set dense(value: boolean) {\n if (this._dense !== value) {\n this._dense = value;\n this._setDense(value);\n }\n }\n\n public handleAnimationEnd(): void {\n if (!this._enableAnimationEndHandler) {\n return;\n }\n\n const handler: TimerHandler = () => {\n this._adapter.removeRootClass(this._currentAnimationClass);\n this._enableAnimationEndHandler = false;\n };\n\n clearTimeout(this._animEndLatchTimer);\n this._animEndLatchTimer = setTimeout(handler, CHECKBOX_CONSTANTS.numbers.ANIM_END_LATCH_MS);\n }\n\n private _setDense(value: boolean): void {\n this._adapter.setDense(value);\n }\n\n private _determineCheckState(): string {\n const { TRANSITION_STATE_INDETERMINATE, TRANSITION_STATE_CHECKED, TRANSITION_STATE_UNCHECKED } = CHECKBOX_CONSTANTS.strings;\n\n if (this._adapter.isIndeterminate()) {\n return TRANSITION_STATE_INDETERMINATE;\n }\n\n return this._adapter.isChecked() ? TRANSITION_STATE_CHECKED : TRANSITION_STATE_UNCHECKED;\n }\n\n private _updateAriaChecked(): void {\n const { ARIA_CHECKED_INDETERMINATE_VALUE, ARIA_CHECKED_ATTR } = CHECKBOX_CONSTANTS.strings;\n // Ensure aria-checked is set to mixed if checkbox is in indeterminate state.\n if (this._adapter.isIndeterminate()) {\n this._adapter.setNativeAttribute(ARIA_CHECKED_ATTR, ARIA_CHECKED_INDETERMINATE_VALUE);\n this._adapter.setRootClass(CHECKBOX_CONSTANTS.classes.INDETERMINATE);\n if (!this._adapter.isChecked()) {\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.CHECKED);\n }\n } else {\n // The on/off state does not need to keep track of aria-checked, since\n // the screenreader uses the checked property on the checkbox element.\n this._adapter.removeNativeAttribute(ARIA_CHECKED_ATTR);\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.INDETERMINATE);\n }\n }\n\n private _handleInputChange(): void {\n this._handleInputAttributeChange();\n this._updateCheckboxStateClasses();\n this._transitionCheckState();\n }\n\n private _transitionCheckState(): void {\n if (!this._adapter.isAttachedToDOM()) {\n return;\n }\n const oldState = this._currentCheckState;\n const newState = this._determineCheckState();\n\n if (oldState === newState) {\n return;\n }\n\n this._updateAriaChecked();\n\n const { TRANSITION_STATE_UNCHECKED } = CHECKBOX_CONSTANTS.strings;\n const { SELECTED } = CHECKBOX_CONSTANTS.classes;\n if (newState === TRANSITION_STATE_UNCHECKED) {\n this._adapter.removeRootClass(SELECTED);\n } else {\n this._adapter.setRootClass(SELECTED);\n }\n\n // Check to ensure that there isn't a previously existing animation class, in case for example\n // the user interacted with the checkbox before the animation was finished.\n if (this._currentAnimationClass.length > 0) {\n clearTimeout(this._animEndLatchTimer);\n this._adapter.removeRootClass(this._currentAnimationClass);\n }\n // Check to ensure that there isn't a previously existing animation class, in case for example\n // the user interacted with the checkbox before the animation was finished.\n if (this._currentAnimationClass.length > 0) {\n clearTimeout(this._animEndLatchTimer);\n this._adapter.removeRootClass(this._currentAnimationClass);\n }\n\n this._currentAnimationClass = this._getTransitionAnimationClass(oldState, newState);\n this._currentCheckState = newState;\n\n // Check for parentNode so that animations are only run when the element is attached\n // to the DOM.\n if (this._adapter.isAttachedToDOM() && this._currentAnimationClass.length > 0) {\n this._adapter.setRootClass(this._currentAnimationClass);\n this._enableAnimationEndHandler = true;\n }\n }\n\n private _handleInputAttributeChange(): void {\n if (this._adapter.isDisabled()) {\n this._adapter.setRootClass(CHECKBOX_CONSTANTS.classes.DISABLED);\n this._adapter.setWrapperClass(CHECKBOX_CONSTANTS.classes.WRAPPER_DISABLED);\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.ENABLED);\n } else {\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.DISABLED);\n this._adapter.removeWrapperClass(CHECKBOX_CONSTANTS.classes.WRAPPER_DISABLED);\n this._adapter.setRootClass(CHECKBOX_CONSTANTS.classes.ENABLED);\n }\n\n this._updateCheckboxStateClasses();\n }\n\n private _getTransitionAnimationClass(oldState: string, newState: string): string {\n const { TRANSITION_STATE_CHECKED, TRANSITION_STATE_UNCHECKED } = CHECKBOX_CONSTANTS.strings;\n\n const {\n ANIM_UNCHECKED_CHECKED,\n ANIM_UNCHECKED_INDETERMINATE,\n ANIM_CHECKED_UNCHECKED,\n ANIM_CHECKED_INDETERMINATE,\n ANIM_INDETERMINATE_CHECKED,\n ANIM_INDETERMINATE_UNCHECKED\n } = CHECKBOX_CONSTANTS.classes;\n\n switch (oldState) {\n case TRANSITION_STATE_UNCHECKED:\n return newState === TRANSITION_STATE_CHECKED ? ANIM_UNCHECKED_CHECKED : ANIM_UNCHECKED_INDETERMINATE;\n case TRANSITION_STATE_CHECKED:\n return newState === TRANSITION_STATE_UNCHECKED ? ANIM_CHECKED_UNCHECKED : ANIM_CHECKED_INDETERMINATE;\n default:\n // TRANSITION_STATE_INDETERMINATE\n // Handles TRANSITION_STATE_INIT\n return newState === TRANSITION_STATE_CHECKED ? ANIM_INDETERMINATE_CHECKED : ANIM_INDETERMINATE_UNCHECKED;\n }\n }\n\n private _updateCheckboxStateClasses(): void {\n // Since we can't use the ::slotted():checked ~ selector, simulating the same functionality with classes\n if (this._adapter.isChecked()) {\n this._adapter.setRootClass(CHECKBOX_CONSTANTS.classes.CHECKED);\n } else {\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.CHECKED);\n }\n\n if (this._adapter.isIndeterminate()) {\n this._adapter.setRootClass(CHECKBOX_CONSTANTS.classes.INDETERMINATE);\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.CHECKED);\n } else {\n this._adapter.removeRootClass(CHECKBOX_CONSTANTS.classes.INDETERMINATE);\n }\n }\n}\n", "import { addClass, getShadowElement, removeClass } from '@tylertech/forge-core';\nimport { userInteractionListener } from '../core';\nimport { BaseAdapter, IBaseAdapter } from '../core/base/base-adapter';\nimport { ForgeRipple, ForgeRippleAdapter, ForgeRippleCapableSurface, ForgeRippleFoundation } from '../ripple';\nimport { ICheckboxComponent } from './checkbox';\nimport { CHECKBOX_CONSTANTS } from './checkbox-constants';\n\ntype PropertyDescriptorGetter = (() => unknown) | undefined;\n\nexport interface ICheckboxAdapter extends IBaseAdapter {\n isAttachedToDOM(): boolean;\n isDisabled(): boolean;\n isChecked(): boolean;\n isIndeterminate(): boolean;\n setRootClass(classes: string | string[]): void;\n removeRootClass(classes: string | string[]): void;\n setWrapperClass(classes: string | string[]): void;\n removeWrapperClass(classes: string | string[]): void;\n setDense(value: boolean): void;\n initialize(): void;\n disconnect(): void;\n // Sets attributes on the native checkbox element\n setNativeAttribute(qualifiedName: string, value: string): void;\n removeNativeAttribute(qualifiedName: string): void;\n listen(qualifiedName: string, callback: () => void, onRoot?: boolean): void;\n unlisten(qualifiedName: string, callback: () => void, onRoot?: boolean): void;\n installPropertyChangeHooks(callback: () => void): void;\n uninstallPropertyChangeHooks(): void;\n setInputAttributeObserver(listener: (name: string, value: string) => void): void;\n}\n\nexport class CheckboxAdapter extends BaseAdapter<ICheckboxComponent> implements ICheckboxAdapter, ForgeRippleCapableSurface {\n private _wrapperElement: HTMLElement;\n private _rootElement: HTMLElement;\n private _inputElement: HTMLInputElement;\n private _labelElement: HTMLLabelElement;\n private _inputFocusHandler: () => void;\n private _inputBlurHandler: () => void;\n private _inputMutationObserver: MutationObserver;\n private _rippleInstance: ForgeRipple | undefined;\n\n constructor(component: ICheckboxComponent) {\n super(component);\n }\n\n // ForgeRippleCapableSurface\n public get root(): Element {\n return this._rootElement;\n }\n\n public get unbounded(): boolean | undefined {\n return true;\n }\n\n public get disabled(): boolean | undefined {\n return this.isDisabled();\n }\n\n public initialize(): void {\n this._configureElements();\n this._attachInternalInputListeners();\n this._deferRippleInitialization();\n }\n\n private async _deferRippleInitialization(): Promise<void> {\n const type = await userInteractionListener(this._rootElement);\n if (!this._rippleInstance) {\n this._rippleInstance = this._createRipple();\n if (type === 'focusin') {\n this._rippleInstance.handleFocus();\n }\n }\n }\n\n public setDense(value: boolean | undefined): void {\n if (value) {\n this._setHostAttribute(CHECKBOX_CONSTANTS.attributes.DENSE);\n this.setRootClass(CHECKBOX_CONSTANTS.classes.CHECKBOX_DENSE);\n } else {\n this._removeHostAttribute(CHECKBOX_CONSTANTS.attributes.DENSE);\n this.removeRootClass(CHECKBOX_CONSTANTS.classes.CHECKBOX_DENSE);\n }\n\n this._rippleInstance?.layout();\n }\n\n public isAttachedToDOM(): boolean {\n return Boolean(this._component.parentNode);\n }\n\n private _configureElements(): void {\n this._inputElement = this._component.querySelector(CHECKBOX_CONSTANTS.selectors.INPUT) as HTMLInputElement;\n this._wrapperElement = getShadowElement(this._component, CHECKBOX_CONSTANTS.selectors.WRAPPER);\n this._rootElement = getShadowElement(this._component, CHECKBOX_CONSTANTS.selectors.ROOT);\n this._labelElement = this._component.querySelector(CHECKBOX_CONSTANTS.selectors.LABEL) as HTMLLabelElement;\n\n if (this._labelElement) {\n this._labelElement.setAttribute(CHECKBOX_CONSTANTS.attributes.SLOT, CHECKBOX_CONSTANTS.selectors.LABEL);\n }\n if (this._inputElement) {\n this._inputElement.setAttribute(CHECKBOX_CONSTANTS.attributes.SLOT, CHECKBOX_CONSTANTS.selectors.INPUT);\n }\n addClass(CHECKBOX_CONSTANTS.classes.UPGRADED, this._rootElement);\n }\n\n private _setHostAttribute(name: string, value = ''): void {\n this._component.setAttribute(name, value);\n }\n\n private _removeHostAttribute(name: string): void {\n this._component.removeAttribute(name);\n }\n\n public disconnect(): void {\n if (this._labelElement) {\n this._labelElement.removeAttribute(CHECKBOX_CONSTANTS.attributes.SLOT);\n }\n\n if (this._inputElement) {\n this._inputElement.removeAttribute(CHECKBOX_CONSTANTS.attributes.SLOT);\n }\n\n if (this._inputMutationObserver) {\n this._inputMutationObserver.disconnect();\n }\n\n this._detachInternalInputListeners();\n\n if (this._rippleInstance) {\n this._rippleInstance.destroy();\n }\n }\n\n public setRootClass(classes: string | string[]): void {\n if (this._rootElement) {\n addClass(classes, this._rootElement);\n }\n }\n\n public removeRootClass(classes: string | string[]): void {\n if (this._rootElement) {\n removeClass(classes, this._rootElement);\n }\n }\n\n public setWrapperClass(classes: string | string[]): void {\n if (this._wrapperElement) {\n addClass(classes, this._wrapperElement);\n }\n }\n\n public removeWrapperClass(classes: string | string[]): void {\n if (this._wrapperElement) {\n removeClass(classes, this._wrapperElement);\n }\n }\n\n public setNativeAttribute(qualifiedName: string, value: string): void {\n this._inputElement.setAttribute(qualifiedName, value);\n }\n\n public isDisabled(): boolean {\n return this._inputElement.disabled;\n }\n\n public isChecked(): boolean {\n return this._inputElement && this._inputElement.checked;\n }\n public isIndeterminate(): boolean {\n return this._inputElement && this._inputElement.indeterminate;\n }\n\n public removeNativeAttribute(qualifiedName: string): void {\n this._inputElement.removeAttribute(qualifiedName);\n }\n\n public installPropertyChangeHooks(callback: () => void): void {\n const nativeCb = this._inputElement;\n const cbProto = Object.getPrototypeOf(nativeCb);\n\n CHECKBOX_CONSTANTS.CB_PROTO_PROPS.forEach(controlState => {\n const desc = Object.getOwnPropertyDescriptor(cbProto, controlState);\n // We have to check for this descriptor, since some browsers (Safari) don't support its return.\n // See: https://bugs.webkit.org/show_bug.cgi?id=49739\n if (!this._validDescriptor(desc)) {\n return;\n }\n\n // Type cast is needed for compatibility with Closure Compiler.\n const nativeGetter = (desc as { get: PropertyDescriptorGetter }).get;\n\n if (desc) {\n const nativeCbDesc = {\n configurable: desc.configurable,\n enumerable: desc.enumerable,\n get: nativeGetter,\n set: (state: boolean) => {\n desc.set?.call(nativeCb, state);\n callback();\n }\n };\n Object.defineProperty(nativeCb, controlState, nativeCbDesc);\n }\n });\n }\n\n public listen(qualifiedName: string, callback: () => void, onRoot = false): void {\n if (onRoot) {\n this._rootElement.addEventListener(qualifiedName, callback);\n } else {\n this._inputElement.addEventListener(qualifiedName, callback);\n }\n }\n\n public unlisten(qualifiedName: string, callback: () => void, onRoot = false): void {\n if (!this._inputElement) {\n return;\n }\n\n if (onRoot) {\n this._rootElement.removeEventListener(qualifiedName, callback);\n } else {\n this._inputElement.removeEventListener(qualifiedName, callback);\n }\n }\n\n public uninstallPropertyChangeHooks(): void {\n if (!this._inputElement) {\n return;\n }\n\n const nativeCb = this._inputElement;\n const cbProto = Object.getPrototypeOf(nativeCb);\n\n CHECKBOX_CONSTANTS.CB_PROTO_PROPS.forEach(controlState => {\n const desc = Object.getOwnPropertyDescriptor(cbProto, controlState);\n if (!this._validDescriptor(desc)) {\n return;\n }\n Object.defineProperty(nativeCb, controlState, desc);\n });\n }\n\n public setInputAttributeObserver(listener: (name: string, value: string) => void): void {\n this._inputMutationObserver = new MutationObserver(mutations => {\n for (const mutation of mutations) {\n if (mutation.attributeName) {\n listener(mutation.attributeName, this._inputElement.getAttribute(mutation.attributeName) as string);\n }\n }\n });\n this._inputMutationObserver.observe(this._inputElement, {\n attributes: true,\n attributeFilter: ['disabled', 'checked']\n });\n }\n\n private _validDescriptor(inputPropDesc: PropertyDescriptor | undefined): inputPropDesc is PropertyDescriptor {\n return !!inputPropDesc && typeof inputPropDesc.set === 'function';\n }\n\n private _attachInternalInputListeners(): void {\n this._inputFocusHandler = () => this._handleInputFocusListener();\n this._inputBlurHandler = () => this._handleInputBlurListener();\n this._inputElement.addEventListener('focus', this._inputFocusHandler);\n this._inputElement.addEventListener('blur', this._inputBlurHandler);\n }\n\n private _detachInternalInputListeners(): void {\n removeEventListener('focus', this._inputFocusHandler);\n removeEventListener('blur', this._inputBlurHandler);\n }\n\n private _handleInputFocusListener(): void {\n addClass(CHECKBOX_CONSTANTS.classes.FOCUSED, this._rootElement);\n }\n\n private _handleInputBlurListener(): void {\n removeClass(CHECKBOX_CONSTANTS.classes.FOCUSED, this._rootElement);\n }\n\n private _createRipple(): ForgeRipple {\n const adapter: ForgeRippleAdapter = {\n ...ForgeRipple.createAdapter(this),\n deregisterInteractionHandler: (evtType, handler) => this._inputElement.removeEventListener(evtType, handler, { passive: true } as AddEventListenerOptions),\n isSurfaceActive: () => this._inputElement.matches(':active'),\n isUnbounded: () => Boolean(this.unbounded),\n registerInteractionHandler: (evtType, handler) => this._inputElement.addEventListener(evtType, handler, { passive: true }),\n isSurfaceDisabled: () => this._inputElement.disabled,\n addClass: (className: string) => addClass(className, this._rootElement),\n removeClass: (className: string) => removeClass(className, this._rootElement),\n updateCssVariable: (varName: string, value: string | null) => this._rootElement.style.setProperty(varName, value)\n };\n const ripple = new ForgeRipple(this._rootElement, new ForgeRippleFoundation(adapter));\n return ripple;\n }\n}\n", "import { CustomElement, attachShadowTemplate, coerceBoolean, FoundationProperty } from '@tylertech/forge-core';\nimport { CHECKBOX_CONSTANTS } from './checkbox-constants';\nimport { CheckboxFoundation } from './checkbox-foundation';\nimport { CheckboxAdapter } from './checkbox-adapter';\nimport { BaseComponent, IBaseComponent } from '../core/base/base-component';\n\nconst template = '<template><div class=\\\"forge-checkbox-wrapper forge-form-field\\\" part=\\\"root\\\"><div class=\\\"mdc-checkbox\\\" part=\\\"container\\\"><slot name=\\\"input\\\"></slot><div class=\\\"mdc-checkbox__background\\\" part=\\\"background\\\"><svg class=\\\"mdc-checkbox__checkmark\\\" viewBox=\\\"0 0 24 24\\\" part=\\\"checkmark-svg\\\"><path class=\\\"mdc-checkbox__checkmark-path\\\" fill=\\\"none\\\" d=\\\"M1.73,12.91 8.1,19.28 22.79,4.59\\\" part=\\\"checkmark-path\\\"></path></svg><div class=\\\"mdc-checkbox__mixedmark\\\" part=\\\"mixedmark\\\"></div></div><div class=\\\"mdc-checkbox__ripple\\\" part=\\\"ripple-container\\\"></div></div><slot name=\\\"label\\\"></slot></div></template>';\nconst styles = '.mdc-checkbox{padding:calc((40px - 18px)/ 2);padding:calc((var(--mdc-checkbox-ripple-size,40px) - 18px)/ 2);margin:calc((40px - 40px)/ 2);margin:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2)}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{background-color:#000;background-color:var(--mdc-ripple-color,var(--mdc-theme-on-surface,#000))}.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before,.mdc-checkbox:hover .mdc-checkbox__ripple::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before{background-color:#3d5afe;background-color:var(--forge-theme-tertiary,#3d5afe)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before{background-color:#3d5afe;background-color:var(--forge-theme-tertiary,#3d5afe)}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,40px) - 18px)/ 2);left:calc((40px - 18px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,40px) - 18px)/ 2)}.mdc-checkbox ::slotted(input[type=checkbox]){top:calc((40px - 40px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2);right:calc((40px - 40px)/ 2);right:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2);left:calc((40px - 40px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,40px) - var(--mdc-checkbox-ripple-size,40px))/ 2);width:40px;width:var(--mdc-checkbox-ripple-size,40px);height:40px;height:var(--mdc-checkbox-ripple-size,40px)}.mdc-checkbox.forge-checkbox--enabled:not(.forge-checkbox--checked):not(.forge-checkbox--indeterminate) .mdc-checkbox__background{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}.mdc-checkbox.forge-checkbox--enabled.forge-checkbox--checked .mdc-checkbox__background,.mdc-checkbox.forge-checkbox--enabled.forge-checkbox--indeterminate .mdc-checkbox__background{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}@-webkit-keyframes mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE{0%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}50%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}}@keyframes mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE{0%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}50%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}}@-webkit-keyframes mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE{0%,80%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}100%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}}@keyframes mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE{0%,80%{border-color:#3d5afe;border-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe));background-color:#3d5afe;background-color:var(--mdc-checkbox-checked-color,var(--forge-theme-tertiary,#3d5afe))}100%{border-color:#000;border-color:var(--mdc-theme-text-secondary-on-background,#000);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked.forge-checkbox--enabled .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate.forge-checkbox--enabled .mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE;animation-name:mdc-checkbox-fade-in-background-FF000000FF3D5AFE00000000FF3D5AFE}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked.forge-checkbox--enabled .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked.forge-checkbox--enabled .mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE;animation-name:mdc-checkbox-fade-out-background-FF000000FF3D5AFE00000000FF3D5AFE}.mdc-checkbox.mdc-checkbox--disabled:not(.forge-checkbox--checked):not(.forge-checkbox--indeterminate) .mdc-checkbox__background{border-color:#000;border-color:var(--forge-theme-form-field-icon-disabled-on-background,#000);background-color:transparent}.mdc-checkbox.mdc-checkbox--disabled.forge-checkbox--checked .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--disabled.forge-checkbox--indeterminate .mdc-checkbox__background{border-color:transparent;background-color:#000;background-color:var(--forge-theme-form-field-icon-disabled-on-background,#000)}.mdc-checkbox.forge-checkbox--enabled .mdc-checkbox__background .mdc-checkbox__checkmark{color:rgba(255,255,255,.87);color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}.mdc-checkbox.forge-checkbox--enabled .mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:rgba(255,255,255,.87);border-color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}.mdc-checkbox.mdc-checkbox--disabled .mdc-checkbox__background .mdc-checkbox__checkmark{color:rgba(255,255,255,.87);color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}.mdc-checkbox.mdc-checkbox--disabled .mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:rgba(255,255,255,.87);border-color:var(--mdc-theme-text-primary-on-dark,rgba(255,255,255,.87))}@-webkit-keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1)}100%{stroke-dashoffset:0}}@-webkit-keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{-webkit-transform:scaleX(0);transform:scaleX(0)}68.2%{-webkit-animation-timing-function:cubic-bezier(0,0,0,1);animation-timing-function:cubic-bezier(0,0,0,1)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{-webkit-transform:scaleX(0);transform:scaleX(0)}68.2%{-webkit-animation-timing-function:cubic-bezier(0,0,0,1);animation-timing-function:cubic-bezier(0,0,0,1)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,1,1);animation-timing-function:cubic-bezier(0.4,0,1,1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,1,1);animation-timing-function:cubic-bezier(0.4,0,1,1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@-webkit-keyframes mdc-checkbox-checked-indeterminate-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0,0,0.2,1);animation-timing-function:cubic-bezier(0,0,0.2,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@-webkit-keyframes mdc-checkbox-indeterminate-checked-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:1}}@-webkit-keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{-webkit-animation-timing-function:mdc-animation-deceleration-curve-timing-function;animation-timing-function:mdc-animation-deceleration-curve-timing-function;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{-webkit-animation-timing-function:mdc-animation-deceleration-curve-timing-function;animation-timing-function:mdc-animation-deceleration-curve-timing-function;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@-webkit-keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(315deg);transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(0.14,0,0,1);animation-timing-function:cubic-bezier(0.14,0,0,1);-webkit-transform:rotate(0);transform:rotate(0);opacity:1}to{-webkit-transform:rotate(315deg);transform:rotate(315deg);opacity:0}}@-webkit-keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}100%,32.8%{-webkit-transform:scaleX(0);transform:scaleX(0);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}100%,32.8%{-webkit-transform:scaleX(0);transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;-webkit-box-flex:0;flex:0 0 18px;-webkit-box-sizing:content-box;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:-webkit-inline-box;display:inline-flex;position:absolute;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;-webkit-transition:background-color 90ms 0s cubic-bezier(.4, 0, .6, 1),border-color 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:background-color 90ms 0s cubic-bezier(.4, 0, .6, 1),border-color 90ms 0s cubic-bezier(.4, 0, .6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;-webkit-transition:opacity 180ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 180ms 0s cubic-bezier(.4, 0, .6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{-webkit-transition:stroke-dashoffset 180ms 0s cubic-bezier(.4, 0, .6, 1);transition:stroke-dashoffset 180ms 0s cubic-bezier(.4, 0, .6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;-webkit-transform:scaleX(0) rotate(0);transform:scaleX(0) rotate(0);border-width:1px;border-style:solid;opacity:0;-webkit-transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1)}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background{-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{-webkit-animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{-webkit-animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{-webkit-animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{-webkit-animation:mdc-checkbox-indeterminate-checked-checkmark .5s linear 0s;animation:mdc-checkbox-indeterminate-checked-checkmark .5s linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-indeterminate-checked-mixedmark .5s linear 0s;animation:mdc-checkbox-indeterminate-checked-mixedmark .5s linear 0s;-webkit-transition:none;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-indeterminate-unchecked-mixedmark .3s linear 0s;animation:mdc-checkbox-indeterminate-unchecked-mixedmark .3s linear 0s;-webkit-transition:none;transition:none}.forge-checkbox--checked .mdc-checkbox__background,.forge-checkbox--indeterminate .mdc-checkbox__background{-webkit-transition:border-color 90ms 0s cubic-bezier(0, 0, .2, 1),background-color 90ms 0s cubic-bezier(0, 0, .2, 1);transition:border-color 90ms 0s cubic-bezier(0, 0, .2, 1),background-color 90ms 0s cubic-bezier(0, 0, .2, 1)}.forge-checkbox--checked .mdc-checkbox__background .mdc-checkbox__checkmark-path,.forge-checkbox--indeterminate .mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}::slotted(input[type=checkbox]){position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.forge-checkbox--disabled ::slotted(input[type=checkbox]){cursor:default;pointer-events:none}.forge-checkbox--checked .mdc-checkbox__background .mdc-checkbox__checkmark{-webkit-transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 180ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 180ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),transform 180ms 0s cubic-bezier(0, 0, .2, 1);transition:opacity 180ms 0s cubic-bezier(0, 0, .2, 1),transform 180ms 0s cubic-bezier(0, 0, .2, 1),-webkit-transform 180ms 0s cubic-bezier(0, 0, .2, 1);opacity:1}.forge-checkbox--checked .mdc-checkbox__background .mdc-checkbox__mixedmark{-webkit-transform:scaleX(1) rotate(-45deg);transform:scaleX(1) rotate(-45deg)}.forge-checkbox--indeterminate .mdc-checkbox__background .mdc-checkbox__checkmark{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0;-webkit-transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1);transition:opacity 90ms 0s cubic-bezier(.4, 0, .6, 1),transform 90ms 0s cubic-bezier(.4, 0, .6, 1),-webkit-transform 90ms 0s cubic-bezier(.4, 0, .6, 1)}.forge-checkbox--indeterminate .mdc-checkbox__background .mdc-checkbox__mixedmark{-webkit-transform:scaleX(1) rotate(0);transform:scaleX(1) rotate(0);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{-webkit-transition:none;transition:none}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-checkbox{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.mdc-checkbox .mdc-checkbox__ripple::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-checkbox .mdc-checkbox__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-checkbox.mdc-ripple-upgraded--unbounded .mdc-checkbox__ripple::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-checkbox.mdc-ripple-upgraded--foreground-activation .mdc-checkbox__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-checkbox.mdc-ripple-upgraded--foreground-deactivation .mdc-checkbox__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after,.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-checkbox{z-index:0}.mdc-checkbox .mdc-checkbox__ripple::after,.mdc-checkbox .mdc-checkbox__ripple::before{z-index:-1;z-index:var(--mdc-ripple-z-index,-1)}.mdc-checkbox__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.forge-checkbox--dense{padding:calc((28px - 18px)/ 2);padding:calc((var(--mdc-checkbox-ripple-size,28px) - 18px)/ 2);margin:calc((28px - 28px)/ 2);margin:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2)}.forge-checkbox--dense .mdc-checkbox__background{top:calc((28px - 18px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,28px) - 18px)/ 2);left:calc((28px - 18px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,28px) - 18px)/ 2)}.forge-checkbox--dense ::slotted(input[type=checkbox]){top:calc((28px - 28px)/ 2);top:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2);right:calc((28px - 28px)/ 2);right:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2);left:calc((28px - 28px)/ 2);left:calc((var(--mdc-checkbox-ripple-size,28px) - var(--mdc-checkbox-ripple-size,28px))/ 2);width:28px;width:var(--mdc-checkbox-ripple-size,28px);height:28px;height:var(--mdc-checkbox-ripple-size,28px)}.forge-checkbox-wrapper--disabled{cursor:not-allowed}.forge-checkbox-wrapper--disabled ::slotted(label){cursor:not-allowed}.mdc-checkbox--disabled+::slotted(label){color:rgba(0,0,0,.38);color:var(--forge-theme-label-disabled-on-background,rgba(0,0,0,.38))}.forge-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:-webkit-inline-box;display:inline-flex;-webkit-box-align:center;align-items:center;vertical-align:middle}.forge-form-field ::slotted([slot=label]){-webkit-box-ordinal-group:1;order:0;margin-right:auto;padding-left:4px}.forge-form-field forge-switch~::slotted([slot=label]){padding-left:8px}.forge-form-field--align-end ::slotted([slot=label]){-webkit-box-ordinal-group:0;order:-1;margin-left:auto;padding-right:4px}:host{display:inline-block}:host([hidden]){display:none}';\n\nexport interface ICheckboxComponent extends IBaseComponent {\n dense: boolean;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-checkbox': ICheckboxComponent;\n }\n}\n\n/**\n * The custom element class behind the `<forge-checkbox>` element.\n * \n * @tag forge-checkbox\n */\n@CustomElement({\n name: CHECKBOX_CONSTANTS.elementName\n})\nexport class CheckboxComponent extends BaseComponent implements ICheckboxComponent {\n public static get observedAttributes(): string[] {\n return [CHECKBOX_CONSTANTS.attributes.DENSE];\n }\n\n private _foundation: CheckboxFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new CheckboxFoundation(new CheckboxAdapter(this));\n }\n\n public async connectedCallback(): Promise<void> {\n await this._ensureInputElement();\n this._foundation.connect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case CHECKBOX_CONSTANTS.attributes.DENSE:\n this.dense = coerceBoolean(newValue);\n break;\n }\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n /** Gets or sets whether or not the checkbox is dense */\n @FoundationProperty()\n public declare dense: boolean;\n\n private async _ensureInputElement(): Promise<Element> {\n // Not using core function ensureChild because it was not selecting the input properly\n return new Promise<Element>(resolve => {\n const element = this.querySelector('input');\n if (element) {\n resolve(element);\n }\n\n const observer = new MutationObserver(changes => {\n const hasAddedNodes = changes.reduce((prev, curr) => prev + curr.addedNodes.length, 0) > 0;\n if (hasAddedNodes) {\n const foundElement = this.querySelector('input');\n if (foundElement) {\n observer.disconnect();\n resolve(foundElement);\n }\n }\n });\n observer.observe(this, { childList: true, subtree: true });\n });\n }\n}\n", "import { FormFieldComponentDelegate, IFormFieldComponentDelegateOptions } from '../core';\nimport { IBaseComponentDelegateConfig } from '../core/delegates/base-component-delegate';\nimport { ICheckboxComponent } from './checkbox';\nimport { CHECKBOX_CONSTANTS } from './checkbox-constants';\n\nexport type CheckboxComponentDelegateProps = Partial<ICheckboxComponent>;\nexport interface ICheckboxComponentDelegateOptions extends IFormFieldComponentDelegateOptions {\n id?: string;\n label?: string;\n checked?: boolean;\n}\nexport interface ICheckboxComponentDelegateConfig extends IBaseComponentDelegateConfig<ICheckboxComponent, ICheckboxComponentDelegateOptions> {}\n\nexport class CheckboxComponentDelegate extends FormFieldComponentDelegate<ICheckboxComponent, ICheckboxComponentDelegateOptions> {\n private _inputElement: HTMLInputElement;\n private _labelElement?: HTMLLabelElement;\n\n constructor(config?: ICheckboxComponentDelegateConfig) {\n super(config);\n }\n\n public get value(): boolean {\n return this.checked;\n }\n public set value(value: boolean) {\n this.checked = value;\n }\n\n public get checked(): boolean {\n return this._inputElement.checked;\n }\n public set checked(value: boolean) {\n this._inputElement.checked = value;\n }\n\n public get disabled(): boolean {\n return this._inputElement.disabled;\n }\n public set disabled(value: boolean) {\n this._inputElement.disabled = value;\n }\n\n public get inputElement(): HTMLInputElement {\n return this._inputElement;\n }\n\n public get labelElement(): HTMLLabelElement | undefined {\n return this._labelElement;\n }\n\n public onChange(listener: (value: boolean) => void): void {\n this._inputElement.addEventListener('change', evt => listener((evt.target as HTMLInputElement).checked));\n }\n\n public onFocus(listener: (evt: Event) => void): void {\n this._inputElement.addEventListener('focus', evt => listener(evt));\n }\n\n public onBlur(listener: (evt: Event) => void): void {\n this._inputElement.addEventListener('blur', evt => listener(evt));\n }\n\n public setLabel(text: string | null): void {\n if (text) {\n if (this._labelElement) {\n this._labelElement.textContent = text;\n } else {\n this._createLabel(text);\n }\n } else if (this._labelElement) {\n this._element.removeChild(this._labelElement);\n this._labelElement = undefined;\n }\n }\n\n protected _build(): ICheckboxComponent {\n const checkbox = document.createElement(CHECKBOX_CONSTANTS.elementName);\n this._inputElement = this._buildInputElement();\n checkbox.appendChild(this._inputElement);\n return checkbox;\n }\n\n protected override _configure(): void {\n if (typeof this._config.options?.label === 'string') {\n this._createLabel(this._config.options.label);\n }\n }\n\n private _createLabel(text: string): void {\n this._labelElement = document.createElement('label');\n this._labelElement.textContent = text;\n if (this._config.options?.id) {\n this._labelElement.setAttribute('for', this._config.options.id);\n }\n this._element.appendChild(this._labelElement);\n }\n\n private _buildInputElement(): HTMLInputElement {\n const inputElement = document.createElement('input');\n inputElement.type = 'checkbox';\n\n if (this._config.options?.checked !== undefined) {\n inputElement.checked = this._config.options.checked;\n }\n if (this._config.options?.id) {\n inputElement.id = this._config.options.id;\n }\n\n return inputElement;\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { CheckboxComponent } from './checkbox';\n\nexport * from './checkbox-constants';\nexport * from './checkbox-adapter';\nexport * from './checkbox-foundation';\nexport * from './checkbox';\nexport * from './checkbox-component-delegate';\n\nexport function defineCheckboxComponent(): void {\n defineCustomElement(CheckboxComponent);\n}\n"],
|
|
5
|
-
"mappings": "mcAEA,IAAMA,EAA2C,GAAGC,YAE9CC,EAAU,CACd,UAAW,2BACX,KAAM,eACN,SAAU,eACV,eAAgB,wBAChB,2BAA4B,2CAC5B,uBAAwB,uCACxB,2BAA4B,2CAC5B,6BAA8B,6CAC9B,uBA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mB,WAAW,EACtE,YAAK,cAAgB,KAAK,mBAAmB,EAC7CD,EAAS,YAAY,KAAK,aAAa,EAChCA,CACT,CAEmB,YAAmB,CAlFxC,IAAAE,EAmFQ,QAAOA,EAAA,KAAK,QAAQ,UAAb,YAAAA,EAAsB,QAAU,UACzC,KAAK,aAAa,KAAK,QAAQ,QAAQ,KAAK,CAEhD,CAEQ,aAAaH,EAAoB,CAxF3C,IAAAG,EAyFI,KAAK,cAAgB,SAAS,cAAc,OAAO,EACnD,KAAK,cAAc,YAAcH,GAC7BG,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,IACxB,KAAK,cAAc,aAAa,MAAO,KAAK,QAAQ,QAAQ,EAAE,EAEhE,KAAK,SAAS,YAAY,KAAK,aAAa,CAC9C,CAEQ,oBAAuC,CAjGjD,IAAAA,EAAAC,EAkGI,IAAMC,EAAe,SAAS,cAAc,OAAO,EACnD,OAAAA,EAAa,KAAO,aAEhBF,EAAA,KAAK,QAAQ,UAAb,YAAAA,EAAsB,WAAY,SACpCE,EAAa,QAAU,KAAK,QAAQ,QAAQ,UAE1CD,EAAA,KAAK,QAAQ,UAAb,MAAAA,EAAsB,KACxBC,EAAa,GAAK,KAAK,QAAQ,QAAQ,IAGlCA,CACT,CACF,ECpGO,SAASC,IAAgC,CAC9CC,EAAoBC,CAAiB,CACvC",
|
|
6
|
-
"names": ["elementName", "COMPONENT_NAME_PREFIX", "classes", "selectors", "attributes", "strings", "CB_PROTO_PROPS", "numbers", "CHECKBOX_CONSTANTS", "CheckboxFoundation", "_adapter", "CHECKBOX_CONSTANTS", "name", "value", "handler", "TRANSITION_STATE_INDETERMINATE", "TRANSITION_STATE_CHECKED", "TRANSITION_STATE_UNCHECKED", "ARIA_CHECKED_INDETERMINATE_VALUE", "ARIA_CHECKED_ATTR", "oldState", "newState", "SELECTED", "ANIM_UNCHECKED_CHECKED", "ANIM_UNCHECKED_INDETERMINATE", "ANIM_CHECKED_UNCHECKED", "ANIM_CHECKED_INDETERMINATE", "ANIM_INDETERMINATE_CHECKED", "ANIM_INDETERMINATE_UNCHECKED", "CheckboxAdapter", "BaseAdapter", "component", "type", "userInteractionListener", "value", "_a", "CHECKBOX_CONSTANTS", "getShadowElement", "addClass", "name", "classes", "removeClass", "qualifiedName", "callback", "nativeCb", "cbProto", "controlState", "desc", "nativeGetter", "nativeCbDesc", "state", "onRoot", "listener", "mutations", "mutation", "inputPropDesc", "adapter", "__spreadProps", "__spreadValues", "ForgeRipple", "evtType", "handler", "className", "varName", "ForgeRippleFoundation", "template", "styles", "CheckboxComponent", "BaseComponent", "attachShadowTemplate", "CheckboxFoundation", "CheckboxAdapter", "CHECKBOX_CONSTANTS", "name", "oldValue", "newValue", "coerceBoolean", "resolve", "element", "observer", "changes", "prev", "curr", "foundElement", "__decorateClass", "FoundationProperty", "CustomElement", "CheckboxComponentDelegate", "FormFieldComponentDelegate", "config", "value", "listener", "evt", "text", "checkbox", "CHECKBOX_CONSTANTS", "_a", "_b", "inputElement", "defineCheckboxComponent", "defineCustomElement", "CheckboxComponent"]
|
|
7
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|