placer-toolkit 0.5.1 → 1.0.0-alpha.2
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/LICENSE.md +1 -1
- package/README.md +18 -22
- package/cdn/animations/attention_seekers/bounce.js +1 -0
- package/cdn/animations/attention_seekers/flash.js +1 -0
- package/cdn/animations/attention_seekers/headShake.js +1 -0
- package/cdn/animations/attention_seekers/heartBeat.js +1 -0
- package/cdn/animations/attention_seekers/jello.js +1 -0
- package/cdn/animations/attention_seekers/pulse.js +1 -0
- package/cdn/animations/attention_seekers/rubberBand.js +1 -0
- package/cdn/animations/attention_seekers/shake.js +1 -0
- package/cdn/animations/attention_seekers/shakeX.js +1 -0
- package/cdn/animations/attention_seekers/shakeY.js +1 -0
- package/cdn/animations/attention_seekers/swing.js +1 -0
- package/cdn/animations/attention_seekers/tada.js +1 -0
- package/cdn/animations/attention_seekers/wobble.js +1 -0
- package/cdn/animations/back_entrances/backInDown.js +1 -0
- package/cdn/animations/back_entrances/backInLeft.js +1 -0
- package/cdn/animations/back_entrances/backInRight.js +1 -0
- package/cdn/animations/back_entrances/backInUp.js +1 -0
- package/cdn/animations/back_exits/backOutDown.js +1 -0
- package/cdn/animations/back_exits/backOutLeft.js +1 -0
- package/cdn/animations/back_exits/backOutRight.js +1 -0
- package/cdn/animations/back_exits/backOutUp.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceIn.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInDown.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInLeft.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInRight.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInUp.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOut.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutDown.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutLeft.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutRight.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutUp.js +1 -0
- package/cdn/animations/easings/easings.js +1 -0
- package/cdn/animations/fading_entrances/fadeIn.js +1 -0
- package/cdn/animations/fading_entrances/fadeInBottomLeft.js +1 -0
- package/cdn/animations/fading_entrances/fadeInBottomRight.js +1 -0
- package/cdn/animations/fading_entrances/fadeInDown.js +1 -0
- package/cdn/animations/fading_entrances/fadeInDownBig.js +1 -0
- package/cdn/animations/fading_entrances/fadeInLeft.js +1 -0
- package/cdn/animations/fading_entrances/fadeInLeftBig.js +1 -0
- package/cdn/animations/fading_entrances/fadeInRight.js +1 -0
- package/cdn/animations/fading_entrances/fadeInRightBig.js +1 -0
- package/cdn/animations/fading_entrances/fadeInTopLeft.js +1 -0
- package/cdn/animations/fading_entrances/fadeInTopRight.js +1 -0
- package/cdn/animations/fading_entrances/fadeInUp.js +1 -0
- package/cdn/animations/fading_entrances/fadeInUpBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOut.js +1 -0
- package/cdn/animations/fading_exits/fadeOutBottomLeft.js +1 -0
- package/cdn/animations/fading_exits/fadeOutBottomRight.js +1 -0
- package/cdn/animations/fading_exits/fadeOutDown.js +1 -0
- package/cdn/animations/fading_exits/fadeOutDownBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOutLeft.js +1 -0
- package/cdn/animations/fading_exits/fadeOutLeftBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOutRight.js +1 -0
- package/cdn/animations/fading_exits/fadeOutRightBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOutTopLeft.js +1 -0
- package/cdn/animations/fading_exits/fadeOutTopRight.js +1 -0
- package/cdn/animations/fading_exits/fadeOutUp.js +1 -0
- package/cdn/animations/fading_exits/fadeOutUpBig.js +1 -0
- package/cdn/animations/flippers/flip.js +1 -0
- package/cdn/animations/flippers/flipInX.js +1 -0
- package/cdn/animations/flippers/flipInY.js +1 -0
- package/cdn/animations/flippers/flipOutX.js +1 -0
- package/cdn/animations/flippers/flipOutY.js +1 -0
- package/cdn/animations/index.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedInLeft.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedInRight.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedOutLeft.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedOutRight.js +1 -0
- package/cdn/animations/rotating_entrances/rotateIn.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInDownLeft.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInDownRight.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInUpLeft.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInUpRight.js +1 -0
- package/cdn/animations/rotating_exits/rotateOut.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutDownLeft.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutDownRight.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutUpLeft.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutUpRight.js +1 -0
- package/cdn/animations/sliding_entrances/slideInDown.js +1 -0
- package/cdn/animations/sliding_entrances/slideInLeft.js +1 -0
- package/cdn/animations/sliding_entrances/slideInRight.js +1 -0
- package/cdn/animations/sliding_entrances/slideInUp.js +1 -0
- package/cdn/animations/sliding_exits/slideOutDown.js +1 -0
- package/cdn/animations/sliding_exits/slideOutLeft.js +1 -0
- package/cdn/animations/sliding_exits/slideOutRight.js +1 -0
- package/cdn/animations/sliding_exits/slideOutUp.js +1 -0
- package/cdn/animations/specials/hinge.js +1 -0
- package/cdn/animations/specials/jackInTheBox.js +1 -0
- package/cdn/animations/specials/rollIn.js +1 -0
- package/cdn/animations/specials/rollOut.js +1 -0
- package/cdn/animations/zooming_entrances/zoomIn.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInDown.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInLeft.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInRight.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInUp.js +1 -0
- package/cdn/animations/zooming_exits/zoomOut.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutDown.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutLeft.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutRight.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutUp.js +1 -0
- package/cdn/chunks/chunk.22DZRUGL.js +1 -0
- package/cdn/chunks/chunk.2K4PNLGV.js +1 -0
- package/cdn/chunks/chunk.2KWTNKGQ.js +74 -0
- package/cdn/chunks/chunk.2N5ZK4F4.js +28 -0
- package/cdn/chunks/chunk.2SM5MTG6.js +1 -0
- package/cdn/chunks/chunk.2SQLMTYR.js +1 -0
- package/cdn/chunks/chunk.3EUMG6CL.js +112 -0
- package/cdn/chunks/chunk.3U3NAHEY.js +1 -0
- package/cdn/chunks/chunk.4CAEAIFN.js +1 -0
- package/cdn/chunks/chunk.4GFJDCKO.js +1 -0
- package/cdn/chunks/chunk.4NL2VE5O.js +1 -0
- package/cdn/chunks/chunk.4VMSMOA5.js +1 -0
- package/cdn/chunks/chunk.4W3OJG5Y.js +1 -0
- package/cdn/chunks/chunk.4X4XH4O2.js +1 -0
- package/cdn/chunks/chunk.4ZFWIEG2.js +1 -0
- package/cdn/chunks/chunk.5G3DFRPP.js +1 -0
- package/cdn/chunks/chunk.5HIUPHOM.js +1 -0
- package/cdn/chunks/chunk.5MJRUHKK.js +1 -0
- package/cdn/chunks/chunk.5OTOOMMJ.js +223 -0
- package/cdn/chunks/chunk.5PONJGRH.js +1 -0
- package/cdn/chunks/chunk.5WAFFOC5.js +1 -0
- package/cdn/chunks/chunk.5YXXLUP2.js +111 -0
- package/cdn/chunks/chunk.63PFEC3G.js +47 -0
- package/cdn/chunks/chunk.63YZ2OGJ.js +179 -0
- package/cdn/chunks/chunk.6C4VTMLQ.js +1 -0
- package/cdn/chunks/chunk.6RYC5FEW.js +1 -0
- package/cdn/chunks/chunk.6SP3MLBX.js +1 -0
- package/cdn/chunks/chunk.6T73D5OE.js +94 -0
- package/cdn/chunks/chunk.75KPG5ZW.js +73 -0
- package/cdn/chunks/chunk.75Y77XUI.js +288 -0
- package/cdn/chunks/chunk.7IRWTX4A.js +27 -0
- package/cdn/chunks/chunk.7QYDQTBC.js +1 -0
- package/cdn/chunks/chunk.7SJBQWSL.js +1 -0
- package/cdn/chunks/chunk.7UGLJJM6.js +1 -0
- package/cdn/chunks/chunk.7UYSBZLK.js +33 -0
- package/cdn/chunks/chunk.7XLP7ZNP.js +0 -0
- package/cdn/chunks/chunk.7YEJIK24.js +1 -0
- package/cdn/chunks/chunk.ADVDY32Z.js +1 -0
- package/cdn/chunks/chunk.AMJDSJZ5.js +130 -0
- package/cdn/chunks/chunk.B27E7VEZ.js +1 -0
- package/cdn/chunks/chunk.BGH5L7N6.js +1 -0
- package/cdn/chunks/chunk.BHNAOKFP.js +4 -0
- package/cdn/chunks/chunk.BSQP4EKW.js +17 -0
- package/cdn/chunks/chunk.C2RXDH23.js +12 -0
- package/cdn/chunks/chunk.CQPLNRNB.js +1 -0
- package/cdn/chunks/chunk.D5CFOPIE.js +1 -0
- package/cdn/chunks/chunk.DG6SQOFC.js +1 -0
- package/cdn/chunks/chunk.DNS43PE3.js +1 -0
- package/cdn/chunks/chunk.DQ2EFEM7.js +1 -0
- package/cdn/chunks/chunk.DRJDBJ6E.js +1 -0
- package/cdn/chunks/chunk.E4QLFQIH.js +1 -0
- package/cdn/chunks/chunk.E6MOE4FE.js +1 -0
- package/cdn/chunks/chunk.ECBLO7D3.js +1 -0
- package/cdn/chunks/chunk.EDLGCMPJ.js +1 -0
- package/cdn/chunks/chunk.ELYXTKTB.js +1 -0
- package/cdn/chunks/chunk.EMVTQD7Z.js +1 -0
- package/cdn/chunks/chunk.ESSED3D6.js +1 -0
- package/cdn/chunks/chunk.EZBCPDK5.js +1 -0
- package/cdn/chunks/chunk.EZBP4Q35.js +1 -0
- package/cdn/chunks/chunk.F7P64TTE.js +1 -0
- package/cdn/chunks/chunk.F7QM26VX.js +1 -0
- package/cdn/chunks/chunk.G3WMDHXU.js +1 -0
- package/cdn/chunks/chunk.G443HDU2.js +1 -0
- package/cdn/chunks/chunk.G4SAKBPC.js +1 -0
- package/cdn/chunks/chunk.GMD2IG67.js +1 -0
- package/cdn/chunks/chunk.GQIBOT7V.js +1 -0
- package/cdn/chunks/chunk.GRSW4YMQ.js +157 -0
- package/cdn/chunks/chunk.GUYJ76FZ.js +1 -0
- package/cdn/chunks/chunk.H2EOXVSZ.js +1 -0
- package/cdn/chunks/chunk.HAL7R4WT.js +0 -0
- package/cdn/chunks/chunk.HGR2N7GN.js +1 -0
- package/cdn/chunks/chunk.HNKZJPU5.js +1 -0
- package/cdn/chunks/chunk.HTBAOVSV.js +1 -0
- package/cdn/chunks/chunk.IFDHHGOU.js +1 -0
- package/cdn/chunks/chunk.IGMWK7NZ.js +1 -0
- package/cdn/chunks/chunk.IIHX5LOR.js +1 -0
- package/cdn/chunks/chunk.IJB4PCJH.js +1 -0
- package/cdn/chunks/chunk.IJMKJLO7.js +1 -0
- package/cdn/chunks/chunk.IJXVLI7F.js +1 -0
- package/cdn/chunks/chunk.ITURS4YZ.js +68 -0
- package/cdn/chunks/chunk.IUL3BHES.js +18 -0
- package/cdn/chunks/chunk.IX4OV3X6.js +63 -0
- package/cdn/chunks/chunk.J35PXB2V.js +204 -0
- package/cdn/chunks/chunk.JE6IZBGI.js +10 -0
- package/cdn/chunks/chunk.JTEIIDTY.js +106 -0
- package/cdn/chunks/chunk.KDTLVKSZ.js +127 -0
- package/cdn/chunks/chunk.KKVT4LHX.js +10 -0
- package/cdn/chunks/chunk.KPQGFV2T.js +1 -0
- package/cdn/chunks/chunk.KWVZRE3E.js +10 -0
- package/cdn/chunks/chunk.KYRT75BX.js +1 -0
- package/cdn/chunks/chunk.L2CNBOZJ.js +1 -0
- package/cdn/chunks/chunk.L4UUK6G4.js +1 -0
- package/cdn/chunks/chunk.LCCA4ADE.js +174 -0
- package/cdn/chunks/chunk.LDRHXIYA.js +1 -0
- package/cdn/chunks/chunk.LGGEB3IB.js +1 -0
- package/cdn/chunks/chunk.LHYUHRTC.js +1 -0
- package/cdn/chunks/chunk.LI6ACV6L.js +1 -0
- package/cdn/chunks/chunk.LIZVMFP3.js +1 -0
- package/cdn/chunks/chunk.LVUPLZGE.js +1 -0
- package/cdn/chunks/chunk.LWZCSGTE.js +1 -0
- package/cdn/chunks/chunk.M256MZ2P.js +1 -0
- package/cdn/chunks/chunk.M2NVAC3Z.js +1 -0
- package/cdn/chunks/chunk.MAQ3AU52.js +1 -0
- package/cdn/chunks/chunk.MM4THVKJ.js +1 -0
- package/cdn/chunks/chunk.MO7QMIH2.js +1 -0
- package/cdn/chunks/chunk.MV54FYCN.js +1 -0
- package/cdn/chunks/chunk.N5AZOOIZ.js +1 -0
- package/cdn/chunks/chunk.N72C3VU3.js +1 -0
- package/cdn/chunks/chunk.NE3XXRZM.js +1 -0
- package/cdn/chunks/chunk.NPYG3KBW.js +1 -0
- package/cdn/chunks/chunk.NTFNGAOW.js +117 -0
- package/cdn/chunks/chunk.NU2STAMX.js +1 -0
- package/cdn/chunks/chunk.NYIRGEA7.js +1 -0
- package/cdn/chunks/chunk.NYYTSWQF.js +38 -0
- package/cdn/chunks/chunk.O537LU5E.js +1 -0
- package/cdn/chunks/chunk.OD26IPSI.js +1 -0
- package/cdn/chunks/chunk.OI4TZZJC.js +305 -0
- package/cdn/chunks/chunk.OOQOIJSK.js +1 -0
- package/cdn/chunks/chunk.OQDGIWGZ.js +196 -0
- package/cdn/chunks/chunk.ORA34WZP.js +1 -0
- package/cdn/chunks/chunk.P4UE3S5U.js +1 -0
- package/cdn/chunks/chunk.P7GBRX2Q.js +1 -0
- package/cdn/chunks/chunk.P7X6ERDI.js +1 -0
- package/cdn/chunks/chunk.PBL2P7GX.js +1 -0
- package/cdn/chunks/chunk.PCTA7J6C.js +1 -0
- package/cdn/chunks/chunk.POW4JBEN.js +79 -0
- package/cdn/chunks/chunk.PP72VCB4.js +1 -0
- package/cdn/chunks/chunk.PSDD6Q4W.js +1 -0
- package/cdn/chunks/chunk.QCISI32Q.js +4 -0
- package/cdn/chunks/chunk.QE6C2GEL.js +1 -0
- package/cdn/chunks/chunk.QL5C2XOW.js +0 -0
- package/cdn/chunks/chunk.QPQZP354.js +208 -0
- package/cdn/chunks/chunk.QY5QOZRE.js +1 -0
- package/cdn/chunks/chunk.R2GXUKDX.js +1 -0
- package/cdn/chunks/chunk.R4FKXVN2.js +1 -0
- package/cdn/chunks/chunk.RFDMVIMA.js +1 -0
- package/cdn/chunks/chunk.RQ34LIU5.js +1 -0
- package/cdn/chunks/chunk.RWQ2HCYN.js +297 -0
- package/cdn/chunks/chunk.RYPVSVQS.js +326 -0
- package/cdn/chunks/chunk.RZZMGXAZ.js +1 -0
- package/cdn/chunks/chunk.SEIDC2AV.js +1 -0
- package/cdn/chunks/chunk.SMFJUIOR.js +10 -0
- package/cdn/chunks/chunk.SPURF5RT.js +4 -0
- package/cdn/chunks/chunk.STH7HATQ.js +142 -0
- package/cdn/chunks/chunk.SUPXW5XU.js +1 -0
- package/cdn/chunks/chunk.SXVGSAUS.js +4 -0
- package/cdn/chunks/chunk.TARXG5U3.js +1 -0
- package/cdn/chunks/chunk.TMAMLCL3.js +1 -0
- package/cdn/chunks/chunk.TMMJRXEV.js +1 -0
- package/cdn/chunks/chunk.TRVVBQVV.js +481 -0
- package/cdn/chunks/chunk.TSGCOVAS.js +1 -0
- package/cdn/chunks/chunk.TSZI2CPF.js +1 -0
- package/cdn/chunks/chunk.U2DNK7H4.js +1 -0
- package/cdn/chunks/chunk.U3MA3RIB.js +1 -0
- package/cdn/chunks/chunk.U3P5JBYR.js +250 -0
- package/cdn/chunks/chunk.U4YNKCI4.js +1 -0
- package/cdn/chunks/chunk.U7RBI2DC.js +1 -0
- package/cdn/chunks/chunk.UDGTTCHU.js +660 -0
- package/cdn/chunks/chunk.UJQFNBOE.js +1 -0
- package/cdn/chunks/chunk.UY4REGW5.js +1 -0
- package/cdn/chunks/chunk.V3AEPIKH.js +1 -0
- package/cdn/chunks/chunk.V4EXVX5U.js +1 -0
- package/cdn/chunks/chunk.V4LKFSOV.js +1 -0
- package/cdn/chunks/chunk.V7QO7LZ4.js +1 -0
- package/cdn/chunks/chunk.VVTMOSN2.js +170 -0
- package/cdn/chunks/chunk.W5PM7F34.js +34 -0
- package/cdn/chunks/chunk.WLREBMFL.js +1 -0
- package/cdn/chunks/chunk.X2UEAQ7T.js +1 -0
- package/cdn/chunks/chunk.XDLJVU4W.js +3 -0
- package/cdn/chunks/chunk.XESREUP5.js +10 -0
- package/cdn/chunks/chunk.XGNJKW3A.js +111 -0
- package/cdn/chunks/chunk.XNUSDBIN.js +1 -0
- package/cdn/chunks/chunk.XSSNRCMY.js +1 -0
- package/cdn/chunks/chunk.Y4QDLYQS.js +1 -0
- package/cdn/chunks/chunk.YDM7FW42.js +100 -0
- package/cdn/chunks/chunk.YEQLZR6M.js +1 -0
- package/cdn/chunks/chunk.YPCDSPNA.js +1 -0
- package/cdn/chunks/chunk.YUNTZWZZ.js +73 -0
- package/cdn/chunks/chunk.YVZPSF4R.js +1 -0
- package/cdn/chunks/chunk.YWY7M46V.js +1 -0
- package/cdn/chunks/chunk.Z6NCEETZ.js +1 -0
- package/cdn/chunks/chunk.ZDVLHLRA.js +1 -0
- package/cdn/chunks/chunk.ZE2WQTE4.js +1 -0
- package/cdn/chunks/chunk.ZJK5UEUE.js +1 -0
- package/cdn/chunks/chunk.ZRRFT6U7.js +1 -0
- package/cdn/chunks/chunk.ZS4GILCB.js +1 -0
- package/cdn/chunks/chunk.ZVANQQXU.js +1 -0
- package/cdn/chunks/chunk.ZY64ASSW.js +1 -0
- package/cdn/chunks/chunk.ZZIEMICG.js +11 -0
- package/cdn/components/animation/animation.js +1 -0
- package/cdn/components/animation/animations.js +1 -0
- package/cdn/components/avatar/avatar.js +1 -0
- package/cdn/components/badge/badge.js +1 -0
- package/cdn/components/button/button.js +1 -0
- package/cdn/components/button-group/button-group.js +1 -0
- package/cdn/components/callout/callout.js +1 -0
- package/cdn/components/card/card.js +1 -0
- package/cdn/components/checkbox/checkbox.js +1 -0
- package/cdn/components/color-picker/color-picker.js +1 -0
- package/cdn/components/comparer/comparer.js +1 -0
- package/cdn/components/copy-button/copy-button.js +1 -0
- package/cdn/components/details/details.js +1 -0
- package/cdn/components/dialog/dialog.js +1 -0
- package/cdn/components/divider/divider.js +1 -0
- package/cdn/components/drawer/drawer.js +1 -0
- package/cdn/components/dropdown/dropdown.js +1 -0
- package/cdn/components/dropdown-item/dropdown-item.js +1 -0
- package/cdn/components/format-bytes/format-bytes.js +1 -0
- package/cdn/components/format-date/format-date.js +1 -0
- package/cdn/components/format-number/format-number.js +1 -0
- package/cdn/components/icon/icon.js +1 -0
- package/cdn/components/icon/library.default.js +1 -0
- package/cdn/components/icon/library.js +1 -0
- package/cdn/components/icon/library.system.js +1 -0
- package/cdn/components/input/input.js +1 -0
- package/cdn/components/mutation-observer/mutation-observer.js +1 -0
- package/cdn/components/option/option.js +1 -0
- package/cdn/components/popup/popup.js +1 -0
- package/cdn/components/qr-code/qr-code.js +1 -0
- package/cdn/components/radio/radio.js +1 -0
- package/cdn/components/radio-group/radio-group.js +1 -0
- package/cdn/components/rating/rating.js +1 -0
- package/cdn/components/resize-observer/resize-observer.js +1 -0
- package/cdn/components/scroller/scroller.js +1 -0
- package/cdn/components/select/select.js +1 -0
- package/cdn/components/spinner/spinner.js +1 -0
- package/cdn/components/switch/switch.js +1 -0
- package/cdn/components/tab/tab.js +1 -0
- package/cdn/components/tab-group/tab-group.js +1 -0
- package/cdn/components/tab-panel/tab-panel.js +1 -0
- package/cdn/components/tag/tag.js +1 -0
- package/cdn/components/textarea/textarea.js +1 -0
- package/cdn/components/tooltip/tooltip.js +1 -0
- package/cdn/custom-elements.json +13055 -0
- package/cdn/events/events.js +1 -0
- package/cdn/events/pc-after-collapse.js +0 -0
- package/cdn/events/pc-after-expand.js +0 -0
- package/cdn/events/pc-after-hide.js +0 -0
- package/cdn/events/pc-after-show.js +0 -0
- package/cdn/events/pc-blur.js +0 -0
- package/cdn/events/pc-cancel.js +0 -0
- package/cdn/events/pc-change.js +0 -0
- package/cdn/events/pc-clear.js +0 -0
- package/cdn/events/pc-close.js +0 -0
- package/cdn/events/pc-collapse.js +0 -0
- package/cdn/events/pc-copy.js +0 -0
- package/cdn/events/pc-error.js +0 -0
- package/cdn/events/pc-expand.js +0 -0
- package/cdn/events/pc-finish.js +0 -0
- package/cdn/events/pc-focus.js +0 -0
- package/cdn/events/pc-hide.js +0 -0
- package/cdn/events/pc-hover.js +0 -0
- package/cdn/events/pc-initial-focus.js +0 -0
- package/cdn/events/pc-input.js +0 -0
- package/cdn/events/pc-invalid.js +0 -0
- package/cdn/events/pc-lazy-change.js +0 -0
- package/cdn/events/pc-lazy-load.js +0 -0
- package/cdn/events/pc-load.js +0 -0
- package/cdn/events/pc-mutation.js +0 -0
- package/cdn/events/pc-remove.js +0 -0
- package/cdn/events/pc-reposition.js +0 -0
- package/cdn/events/pc-resize.js +0 -0
- package/cdn/events/pc-select.js +0 -0
- package/cdn/events/pc-selection-change.js +0 -0
- package/cdn/events/pc-show.js +0 -0
- package/cdn/events/pc-slide-change.js +0 -0
- package/cdn/events/pc-start.js +0 -0
- package/cdn/events/pc-tab-hide.js +0 -0
- package/cdn/events/pc-tab-show.js +0 -0
- package/cdn/global-shims.js +1 -0
- package/cdn/internal/active-elements.js +1 -0
- package/cdn/internal/animate.js +1 -0
- package/cdn/internal/close-active-element.js +1 -0
- package/cdn/internal/debounce.js +1 -0
- package/cdn/internal/default-value.js +1 -0
- package/cdn/internal/drag.js +1 -0
- package/cdn/internal/emit.js +1 -0
- package/cdn/internal/event.js +1 -0
- package/cdn/internal/form.js +1 -0
- package/cdn/internal/math.js +1 -0
- package/cdn/internal/offset.js +1 -0
- package/cdn/internal/parse.js +1 -0
- package/cdn/internal/placer-element.js +1 -0
- package/cdn/internal/placer-form-control.js +0 -0
- package/cdn/internal/scroll.js +1 -0
- package/cdn/internal/scrollend-polyfill.js +1 -0
- package/cdn/internal/slot.js +1 -0
- package/cdn/internal/string.js +1 -0
- package/cdn/internal/tabbable.js +1 -0
- package/cdn/internal/watch.js +1 -0
- package/cdn/placer-autoloader.js +1 -0
- package/cdn/placer.js +1 -0
- package/cdn/styles/component-styles/form-control.css +33 -0
- package/cdn/styles/component-styles/host.css +13 -0
- package/cdn/styles/native.css +451 -0
- package/cdn/styles/palette/base.css +100 -0
- package/cdn/styles/palette/default.css +227 -0
- package/cdn/styles/palette/muted.css +227 -0
- package/cdn/styles/palette/vibrant.css +227 -0
- package/cdn/styles/placer.css +10 -0
- package/cdn/styles/themes/default.css +445 -0
- package/cdn/styles/themes/serene.css +454 -0
- package/cdn/styles/themes/utility.css +544 -0
- package/cdn/styles/utilities/align-items.css +21 -0
- package/cdn/styles/utilities/appearance.css +62 -0
- package/cdn/styles/utilities/border-radius.css +29 -0
- package/cdn/styles/utilities/fouce.css +11 -0
- package/cdn/styles/utilities/gap.css +66 -0
- package/cdn/styles/utilities/layout.css +162 -0
- package/cdn/styles/utilities/scroll-lock.css +21 -0
- package/cdn/styles/utilities/size.css +16 -0
- package/cdn/styles/utilities/text.css +156 -0
- package/cdn/styles/utilities/visually-hidden.css +16 -0
- package/cdn/styles/utilities.css +13 -0
- package/cdn/translations/ar.js +1 -0
- package/cdn/translations/bg.js +1 -0
- package/cdn/translations/bn.js +1 -0
- package/cdn/translations/bs.js +1 -0
- package/cdn/translations/ca.js +1 -0
- package/cdn/translations/cs.js +1 -0
- package/cdn/translations/cy.js +1 -0
- package/cdn/translations/da.js +1 -0
- package/cdn/translations/de-at.js +1 -0
- package/cdn/translations/de-ch.js +1 -0
- package/cdn/translations/de.js +1 -0
- package/cdn/translations/el.js +1 -0
- package/cdn/translations/en-gb.js +1 -0
- package/cdn/translations/en.js +1 -0
- package/cdn/translations/es-es.js +1 -0
- package/cdn/translations/es.js +1 -0
- package/cdn/translations/et.js +1 -0
- package/cdn/translations/eu.js +1 -0
- package/cdn/translations/fa.js +1 -0
- package/cdn/translations/fi.js +1 -0
- package/cdn/translations/fil.js +1 -0
- package/cdn/translations/fo.js +1 -0
- package/cdn/translations/fr-ca.js +1 -0
- package/cdn/translations/fr.js +1 -0
- package/cdn/translations/ga.js +1 -0
- package/cdn/translations/gu.js +1 -0
- package/cdn/translations/he.js +1 -0
- package/cdn/translations/hi.js +1 -0
- package/cdn/translations/hr.js +1 -0
- package/cdn/translations/hu.js +1 -0
- package/cdn/translations/id.js +1 -0
- package/cdn/translations/index.js +1 -0
- package/cdn/translations/is.js +1 -0
- package/cdn/translations/it.js +1 -0
- package/cdn/translations/ja.js +1 -0
- package/cdn/translations/ko.js +1 -0
- package/cdn/translations/lb.js +1 -0
- package/cdn/translations/lo.js +1 -0
- package/cdn/translations/lt.js +1 -0
- package/cdn/translations/lv.js +1 -0
- package/cdn/translations/mr.js +1 -0
- package/cdn/translations/ms.js +1 -0
- package/cdn/translations/mt.js +1 -0
- package/cdn/translations/nb.js +1 -0
- package/cdn/translations/nl-be.js +1 -0
- package/cdn/translations/nl.js +1 -0
- package/cdn/translations/nn.js +1 -0
- package/cdn/translations/pa-guru.js +1 -0
- package/cdn/translations/pa.js +1 -0
- package/cdn/translations/pl.js +1 -0
- package/cdn/translations/ps.js +1 -0
- package/cdn/translations/pt-br.js +1 -0
- package/cdn/translations/pt-pt.js +1 -0
- package/cdn/translations/pt.js +1 -0
- package/cdn/translations/ro.js +1 -0
- package/cdn/translations/ru.js +1 -0
- package/cdn/translations/sk.js +1 -0
- package/cdn/translations/sl.js +1 -0
- package/cdn/translations/sq.js +1 -0
- package/cdn/translations/sr.js +1 -0
- package/cdn/translations/sv.js +1 -0
- package/cdn/translations/sw.js +1 -0
- package/cdn/translations/te.js +1 -0
- package/cdn/translations/th.js +1 -0
- package/cdn/translations/tl.js +1 -0
- package/cdn/translations/tr.js +1 -0
- package/cdn/translations/uk.js +1 -0
- package/cdn/translations/ur.js +1 -0
- package/cdn/translations/vi.js +1 -0
- package/cdn/translations/zh-cn.js +1 -0
- package/cdn/translations/zh-hk.js +1 -0
- package/cdn/translations/zh-tw.js +1 -0
- package/cdn/utilities/animation-registry.js +1 -0
- package/cdn/utilities/animation.js +1 -0
- package/cdn/utilities/form.js +1 -0
- package/cdn/utilities/icon-library.js +1 -0
- package/cdn/utilities/kit-code.js +1 -0
- package/cdn/utilities/localize.js +1 -0
- package/dist/animations/attention_seekers/bounce.js +46 -44
- package/dist/animations/attention_seekers/flash.js +10 -8
- package/dist/animations/attention_seekers/headShake.js +11 -9
- package/dist/animations/attention_seekers/heartBeat.js +10 -8
- package/dist/animations/attention_seekers/jello.js +18 -16
- package/dist/animations/attention_seekers/pulse.js +8 -6
- package/dist/animations/attention_seekers/rubberBand.js +12 -10
- package/dist/animations/attention_seekers/shake.js +16 -14
- package/dist/animations/attention_seekers/shakeX.js +16 -14
- package/dist/animations/attention_seekers/shakeY.js +16 -14
- package/dist/animations/attention_seekers/swing.js +10 -8
- package/dist/animations/attention_seekers/tada.js +43 -41
- package/dist/animations/attention_seekers/wobble.js +27 -25
- package/dist/animations/back_entrances/backInDown.js +8 -6
- package/dist/animations/back_entrances/backInLeft.js +8 -6
- package/dist/animations/back_entrances/backInRight.js +8 -6
- package/dist/animations/back_entrances/backInUp.js +8 -6
- package/dist/animations/back_exits/backOutDown.js +8 -6
- package/dist/animations/back_exits/backOutLeft.js +8 -6
- package/dist/animations/back_exits/backOutRight.js +8 -6
- package/dist/animations/back_exits/backOutUp.js +8 -6
- package/dist/animations/bouncing_entrances/bounceIn.js +17 -15
- package/dist/animations/bouncing_entrances/bounceInDown.js +23 -21
- package/dist/animations/bouncing_entrances/bounceInLeft.js +23 -21
- package/dist/animations/bouncing_entrances/bounceInRight.js +23 -21
- package/dist/animations/bouncing_entrances/bounceInUp.js +23 -21
- package/dist/animations/bouncing_exits/bounceOut.js +9 -7
- package/dist/animations/bouncing_exits/bounceOutDown.js +21 -19
- package/dist/animations/bouncing_exits/bounceOutLeft.js +15 -13
- package/dist/animations/bouncing_exits/bounceOutRight.js +15 -13
- package/dist/animations/bouncing_exits/bounceOutUp.js +21 -19
- package/dist/animations/easings/easings.js +34 -32
- package/dist/animations/fading_entrances/fadeIn.js +7 -5
- package/dist/animations/fading_entrances/fadeInBottomLeft.js +7 -5
- package/dist/animations/fading_entrances/fadeInBottomRight.js +7 -5
- package/dist/animations/fading_entrances/fadeInDown.js +7 -5
- package/dist/animations/fading_entrances/fadeInDownBig.js +7 -5
- package/dist/animations/fading_entrances/fadeInLeft.js +7 -5
- package/dist/animations/fading_entrances/fadeInLeftBig.js +7 -5
- package/dist/animations/fading_entrances/fadeInRight.js +7 -5
- package/dist/animations/fading_entrances/fadeInRightBig.js +7 -5
- package/dist/animations/fading_entrances/fadeInTopLeft.js +7 -5
- package/dist/animations/fading_entrances/fadeInTopRight.js +7 -5
- package/dist/animations/fading_entrances/fadeInUp.js +7 -5
- package/dist/animations/fading_entrances/fadeInUpBig.js +7 -5
- package/dist/animations/fading_exits/fadeOut.js +7 -5
- package/dist/animations/fading_exits/fadeOutBottomLeft.js +7 -5
- package/dist/animations/fading_exits/fadeOutBottomRight.js +7 -5
- package/dist/animations/fading_exits/fadeOutDown.js +7 -5
- package/dist/animations/fading_exits/fadeOutDownBig.js +7 -5
- package/dist/animations/fading_exits/fadeOutLeft.js +7 -5
- package/dist/animations/fading_exits/fadeOutLeftBig.js +7 -5
- package/dist/animations/fading_exits/fadeOutRight.js +7 -5
- package/dist/animations/fading_exits/fadeOutRightBig.js +7 -5
- package/dist/animations/fading_exits/fadeOutTopLeft.js +7 -5
- package/dist/animations/fading_exits/fadeOutTopRight.js +7 -5
- package/dist/animations/fading_exits/fadeOutUp.js +7 -5
- package/dist/animations/fading_exits/fadeOutUpBig.js +7 -5
- package/dist/animations/flippers/flip.js +30 -28
- package/dist/animations/flippers/flipInX.js +23 -21
- package/dist/animations/flippers/flipInY.js +23 -21
- package/dist/animations/flippers/flipOutX.js +16 -14
- package/dist/animations/flippers/flipOutY.js +16 -14
- package/dist/animations/index.js +1208 -101
- package/dist/animations/lightspeed/lightSpeedInLeft.js +13 -11
- package/dist/animations/lightspeed/lightSpeedInRight.js +13 -11
- package/dist/animations/lightspeed/lightSpeedOutLeft.js +11 -9
- package/dist/animations/lightspeed/lightSpeedOutRight.js +11 -9
- package/dist/animations/rotating_entrances/rotateIn.js +7 -5
- package/dist/animations/rotating_entrances/rotateInDownLeft.js +7 -5
- package/dist/animations/rotating_entrances/rotateInDownRight.js +7 -5
- package/dist/animations/rotating_entrances/rotateInUpLeft.js +7 -5
- package/dist/animations/rotating_entrances/rotateInUpRight.js +7 -5
- package/dist/animations/rotating_exits/rotateOut.js +7 -5
- package/dist/animations/rotating_exits/rotateOutDownLeft.js +7 -5
- package/dist/animations/rotating_exits/rotateOutDownRight.js +7 -5
- package/dist/animations/rotating_exits/rotateOutUpLeft.js +7 -5
- package/dist/animations/rotating_exits/rotateOutUpRight.js +7 -5
- package/dist/animations/sliding_entrances/slideInDown.js +7 -5
- package/dist/animations/sliding_entrances/slideInLeft.js +7 -5
- package/dist/animations/sliding_entrances/slideInRight.js +7 -5
- package/dist/animations/sliding_entrances/slideInUp.js +7 -5
- package/dist/animations/sliding_exits/slideOutDown.js +7 -5
- package/dist/animations/sliding_exits/slideOutLeft.js +7 -5
- package/dist/animations/sliding_exits/slideOutRight.js +7 -5
- package/dist/animations/sliding_exits/slideOutUp.js +7 -5
- package/dist/animations/specials/hinge.js +29 -27
- package/dist/animations/specials/jackInTheBox.js +14 -12
- package/dist/animations/specials/rollIn.js +11 -9
- package/dist/animations/specials/rollOut.js +11 -9
- package/dist/animations/zooming_entrances/zoomIn.js +7 -5
- package/dist/animations/zooming_entrances/zoomInDown.js +17 -15
- package/dist/animations/zooming_entrances/zoomInLeft.js +17 -15
- package/dist/animations/zooming_entrances/zoomInRight.js +17 -15
- package/dist/animations/zooming_entrances/zoomInUp.js +17 -15
- package/dist/animations/zooming_exits/zoomOut.js +8 -6
- package/dist/animations/zooming_exits/zoomOutDown.js +17 -15
- package/dist/animations/zooming_exits/zoomOutLeft.js +15 -13
- package/dist/animations/zooming_exits/zoomOutRight.js +15 -13
- package/dist/animations/zooming_exits/zoomOutUp.js +17 -15
- package/dist/components/animation/animation.d.ts +65 -3
- package/dist/components/animation/animation.js +2185 -3
- package/dist/components/animation/animations.js +1225 -8
- package/dist/components/avatar/avatar.d.ts +43 -3
- package/dist/components/avatar/avatar.js +1323 -3
- package/dist/components/badge/badge.d.ts +23 -3
- package/dist/components/badge/badge.js +754 -3
- package/dist/components/button/button.d.ts +102 -3
- package/dist/components/button/button.js +1516 -3
- package/dist/components/button-group/button-group.d.ts +28 -3
- package/dist/components/button-group/button-group.js +898 -3
- package/dist/components/callout/callout.d.ts +24 -3
- package/dist/components/callout/callout.js +763 -3
- package/dist/components/card/card.d.ts +27 -3
- package/dist/components/card/card.js +866 -3
- package/dist/components/checkbox/checkbox.d.ts +93 -3
- package/dist/components/checkbox/checkbox.js +1920 -3
- package/dist/components/color-picker/color-picker.d.ts +206 -0
- package/dist/components/color-picker/color-picker.js +7014 -0
- package/dist/components/comparer/comparer.d.ts +44 -3
- package/dist/components/comparer/comparer.js +1631 -3
- package/dist/components/copy-button/copy-button.d.ts +74 -3
- package/dist/components/copy-button/copy-button.js +3936 -3
- package/dist/components/details/details.d.ts +64 -3
- package/dist/components/details/details.js +1735 -3
- package/dist/components/dialog/dialog.d.ts +71 -3
- package/dist/components/dialog/dialog.js +2062 -3
- package/dist/components/divider/divider.d.ts +19 -3
- package/dist/components/divider/divider.js +778 -3
- package/dist/components/drawer/drawer.d.ts +79 -3
- package/dist/components/drawer/drawer.js +2150 -3
- package/dist/components/dropdown/dropdown.d.ts +103 -3
- package/dist/components/dropdown/dropdown.js +3755 -3
- package/dist/components/dropdown-item/dropdown-item.d.ts +84 -0
- package/dist/components/dropdown-item/dropdown-item.js +1771 -0
- package/dist/components/format-bytes/format-bytes.d.ts +24 -0
- package/dist/components/format-bytes/format-bytes.js +960 -0
- package/dist/components/format-date/format-date.d.ts +40 -0
- package/dist/components/format-date/format-date.js +963 -0
- package/dist/components/format-number/format-number.d.ts +39 -0
- package/dist/components/format-number/format-number.js +1001 -0
- package/dist/components/icon/icon.d.ts +49 -3
- package/dist/components/icon/icon.js +1175 -3
- package/dist/components/icon/library.d.ts +3 -2
- package/dist/components/icon/library.default.js +63 -7
- package/dist/components/icon/library.js +230 -23
- package/dist/components/icon/library.system.js +134 -119
- package/dist/components/input/input.d.ts +165 -3
- package/dist/components/input/input.js +2303 -3
- package/dist/components/mutation-observer/mutation-observer.d.ts +37 -0
- package/dist/components/mutation-observer/mutation-observer.js +873 -0
- package/dist/components/option/option.d.ts +53 -3
- package/dist/components/option/option.js +1352 -3
- package/dist/components/popup/popup.d.ts +87 -3
- package/dist/components/popup/popup.js +2934 -3
- package/dist/components/qr-code/qr-code.d.ts +32 -3
- package/dist/components/qr-code/qr-code.js +1533 -3
- package/dist/components/radio/radio.d.ts +42 -3
- package/dist/components/radio/radio.js +925 -3
- package/dist/components/radio-group/radio-group.d.ts +79 -3
- package/dist/components/radio-group/radio-group.js +1519 -3
- package/dist/components/rating/rating.d.ts +67 -3
- package/dist/components/rating/rating.js +1757 -3
- package/dist/components/resize-observer/resize-observer.d.ts +26 -3
- package/dist/components/resize-observer/resize-observer.js +835 -3
- package/dist/components/scroller/scroller.d.ts +35 -0
- package/dist/components/scroller/scroller.js +1072 -0
- package/dist/components/select/select.d.ts +179 -3
- package/dist/components/select/select.js +5107 -3
- package/dist/components/spinner/spinner.d.ts +19 -3
- package/dist/components/spinner/spinner.js +917 -3
- package/dist/components/switch/switch.d.ts +85 -3
- package/dist/components/switch/switch.js +1479 -3
- package/dist/components/tab/tab.d.ts +47 -3
- package/dist/components/tab/tab.js +1788 -3
- package/dist/components/tab-group/tab-group.d.ts +91 -3
- package/dist/components/tab-group/tab-group.js +2385 -3
- package/dist/components/tab-panel/tab-panel.d.ts +24 -3
- package/dist/components/tab-panel/tab-panel.js +847 -3
- package/dist/components/tag/tag.d.ts +38 -3
- package/dist/components/tag/tag.js +1750 -3
- package/dist/components/textarea/textarea.d.ts +137 -0
- package/dist/components/textarea/textarea.js +1630 -0
- package/dist/components/tooltip/tooltip.d.ts +80 -3
- package/dist/components/tooltip/tooltip.js +3298 -3
- package/dist/custom-elements.json +13055 -0
- package/dist/events/events.d.ts +0 -1
- package/dist/events/events.js +0 -1
- package/dist/events/pc-after-collapse.js +0 -1
- package/dist/events/pc-after-expand.js +0 -1
- package/dist/events/pc-after-hide.js +0 -1
- package/dist/events/pc-after-show.js +0 -1
- package/dist/events/pc-blur.js +0 -1
- package/dist/events/pc-cancel.js +0 -1
- package/dist/events/pc-change.js +0 -1
- package/dist/events/pc-clear.js +0 -1
- package/dist/events/pc-close.js +0 -1
- package/dist/events/pc-collapse.js +0 -1
- package/dist/events/pc-copy.js +0 -1
- package/dist/events/pc-error.js +0 -1
- package/dist/events/pc-expand.js +0 -1
- package/dist/events/pc-finish.js +0 -1
- package/dist/events/pc-focus.js +0 -1
- package/dist/events/pc-hide.js +0 -1
- package/dist/events/pc-hover.js +0 -1
- package/dist/events/pc-initial-focus.js +0 -1
- package/dist/events/pc-input.js +0 -1
- package/dist/events/pc-invalid.js +0 -1
- package/dist/events/pc-lazy-change.js +0 -1
- package/dist/events/pc-lazy-load.js +0 -1
- package/dist/events/pc-load.js +0 -1
- package/dist/events/pc-mutation.js +0 -1
- package/dist/events/pc-remove.js +0 -1
- package/dist/events/pc-reposition.js +0 -1
- package/dist/events/pc-resize.js +0 -1
- package/dist/events/pc-select.d.ts +2 -2
- package/dist/events/pc-select.js +0 -1
- package/dist/events/pc-selection-change.d.ts +0 -0
- package/dist/events/pc-selection-change.js +0 -1
- package/dist/events/pc-show.js +0 -1
- package/dist/events/pc-slide-change.d.ts +0 -0
- package/dist/events/pc-slide-change.js +0 -1
- package/dist/events/pc-start.js +0 -1
- package/dist/events/pc-tab-hide.js +0 -1
- package/dist/events/pc-tab-show.js +0 -1
- package/dist/global-shims.js +84 -83
- package/dist/internal/active-elements.d.ts +16 -0
- package/dist/internal/active-elements.js +13 -12
- package/dist/internal/animate.d.ts +6 -6
- package/dist/internal/animate.js +45 -33
- package/dist/internal/close-active-element.d.ts +5 -0
- package/dist/internal/close-active-element.js +9 -7
- package/dist/internal/debounce.js +14 -12
- package/dist/internal/default-value.js +582 -22
- package/dist/internal/drag.d.ts +4 -0
- package/dist/internal/drag.js +25 -23
- package/dist/internal/emit.d.ts +1 -0
- package/dist/internal/emit.js +14 -12
- package/dist/internal/event.d.ts +1 -0
- package/dist/internal/event.js +13 -11
- package/dist/internal/form.d.ts +31 -13
- package/dist/internal/form.js +294 -262
- package/dist/internal/math.d.ts +3 -0
- package/dist/internal/math.js +29 -10
- package/dist/internal/offset.d.ts +1 -0
- package/dist/internal/offset.js +12 -8
- package/dist/internal/parse.d.ts +2 -0
- package/dist/internal/parse.js +7 -0
- package/dist/internal/placer-element.d.ts +30 -0
- package/dist/internal/placer-element.js +712 -0
- package/dist/internal/placer-form-control.d.ts +23 -0
- package/dist/internal/placer-form-control.js +0 -0
- package/dist/internal/scroll.d.ts +3 -0
- package/dist/internal/scroll.js +78 -56
- package/dist/internal/scrollend-polyfill.js +68 -60
- package/dist/internal/slot.d.ts +3 -0
- package/dist/internal/slot.js +74 -68
- package/dist/internal/string.d.ts +1 -0
- package/dist/internal/string.js +5 -3
- package/dist/internal/tabbable.d.ts +1 -0
- package/dist/internal/tabbable.js +128 -131
- package/dist/internal/watch.d.ts +12 -6
- package/dist/internal/watch.js +29 -29
- package/dist/placer-autoloader.js +45 -33
- package/dist/placer.d.ts +42 -38
- package/dist/placer.js +16097 -43
- package/dist/styles/component-styles/form-control.css +33 -0
- package/dist/styles/component-styles/host.css +13 -0
- package/dist/styles/native.css +451 -0
- package/dist/styles/palette/base.css +100 -0
- package/dist/styles/palette/default.css +227 -0
- package/dist/styles/palette/muted.css +227 -0
- package/dist/styles/palette/vibrant.css +227 -0
- package/dist/styles/placer.css +10 -0
- package/dist/styles/themes/default.css +445 -0
- package/dist/styles/themes/serene.css +454 -0
- package/dist/styles/themes/utility.css +544 -0
- package/dist/styles/utilities/align-items.css +21 -0
- package/dist/styles/utilities/appearance.css +62 -0
- package/dist/styles/utilities/border-radius.css +29 -0
- package/dist/styles/utilities/fouce.css +11 -0
- package/dist/styles/utilities/gap.css +66 -0
- package/dist/styles/utilities/layout.css +162 -0
- package/dist/styles/utilities/scroll-lock.css +21 -0
- package/dist/styles/utilities/size.css +16 -0
- package/dist/styles/utilities/text.css +156 -0
- package/dist/styles/utilities/visually-hidden.css +16 -0
- package/dist/styles/utilities.css +13 -0
- package/dist/translations/ar.d.ts +3 -0
- package/dist/translations/ar.js +655 -0
- package/dist/translations/bg.d.ts +3 -0
- package/dist/translations/bg.js +651 -0
- package/dist/translations/bn.d.ts +3 -0
- package/dist/translations/bn.js +651 -0
- package/dist/translations/bs.d.ts +3 -0
- package/dist/translations/bs.js +655 -0
- package/dist/translations/ca.d.ts +3 -0
- package/dist/translations/ca.js +651 -0
- package/dist/translations/cs.d.ts +3 -0
- package/dist/translations/cs.js +653 -0
- package/dist/translations/cy.d.ts +3 -0
- package/dist/translations/cy.js +651 -0
- package/dist/translations/da.d.ts +3 -0
- package/dist/translations/da.js +651 -0
- package/dist/translations/de-at.d.ts +3 -0
- package/dist/translations/de-at.js +661 -0
- package/dist/translations/de-ch.d.ts +3 -0
- package/dist/translations/de-ch.js +662 -0
- package/dist/translations/de.d.ts +3 -0
- package/dist/translations/de.js +651 -0
- package/dist/translations/el.d.ts +3 -0
- package/dist/translations/el.js +651 -0
- package/dist/translations/en-gb.d.ts +3 -0
- package/dist/translations/en-gb.js +664 -0
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +651 -0
- package/dist/translations/es-es.d.ts +3 -0
- package/dist/translations/es-es.js +664 -0
- package/dist/translations/es.d.ts +3 -0
- package/dist/translations/es.js +651 -0
- package/dist/translations/et.d.ts +3 -0
- package/dist/translations/et.js +651 -0
- package/dist/translations/eu.d.ts +3 -0
- package/dist/translations/eu.js +651 -0
- package/dist/translations/fa.d.ts +3 -0
- package/dist/translations/fa.js +651 -0
- package/dist/translations/fi.d.ts +3 -0
- package/dist/translations/fi.js +651 -0
- package/dist/translations/fil.d.ts +3 -0
- package/dist/translations/fil.js +651 -0
- package/dist/translations/fo.d.ts +3 -0
- package/dist/translations/fo.js +651 -0
- package/dist/translations/fr-ca.d.ts +3 -0
- package/dist/translations/fr-ca.js +662 -0
- package/dist/translations/fr.d.ts +3 -0
- package/dist/translations/fr.js +651 -0
- package/dist/translations/ga.d.ts +3 -0
- package/dist/translations/ga.js +651 -0
- package/dist/translations/gu.d.ts +3 -0
- package/dist/translations/gu.js +651 -0
- package/dist/translations/he.d.ts +3 -0
- package/dist/translations/he.js +651 -0
- package/dist/translations/hi.d.ts +3 -0
- package/dist/translations/hi.js +651 -0
- package/dist/translations/hr.d.ts +3 -0
- package/dist/translations/hr.js +655 -0
- package/dist/translations/hu.d.ts +3 -0
- package/dist/translations/hu.js +651 -0
- package/dist/translations/id.d.ts +3 -0
- package/dist/translations/id.js +651 -0
- package/dist/translations/index.d.ts +62 -0
- package/dist/translations/index.js +693 -0
- package/dist/translations/is.d.ts +3 -0
- package/dist/translations/is.js +651 -0
- package/dist/translations/it.d.ts +3 -0
- package/dist/translations/it.js +651 -0
- package/dist/translations/ja.d.ts +3 -0
- package/dist/translations/ja.js +649 -0
- package/dist/translations/ko.d.ts +3 -0
- package/dist/translations/ko.js +649 -0
- package/dist/translations/lb.d.ts +3 -0
- package/dist/translations/lb.js +651 -0
- package/dist/translations/lo.d.ts +3 -0
- package/dist/translations/lo.js +643 -0
- package/dist/translations/lt.d.ts +3 -0
- package/dist/translations/lt.js +651 -0
- package/dist/translations/lv.d.ts +3 -0
- package/dist/translations/lv.js +651 -0
- package/dist/translations/mr.d.ts +3 -0
- package/dist/translations/mr.js +651 -0
- package/dist/translations/ms.d.ts +3 -0
- package/dist/translations/ms.js +643 -0
- package/dist/translations/mt.d.ts +3 -0
- package/dist/translations/mt.js +651 -0
- package/dist/translations/nb.d.ts +3 -0
- package/dist/translations/nb.js +651 -0
- package/dist/translations/nl-be.d.ts +3 -0
- package/dist/translations/nl-be.js +664 -0
- package/dist/translations/nl.d.ts +3 -0
- package/dist/translations/nl.js +651 -0
- package/dist/translations/nn.d.ts +3 -0
- package/dist/translations/nn.js +677 -0
- package/dist/translations/pa-guru.d.ts +3 -0
- package/dist/translations/pa-guru.js +651 -0
- package/dist/translations/pa.d.ts +3 -0
- package/dist/translations/pa.js +651 -0
- package/dist/translations/pl.d.ts +3 -0
- package/dist/translations/pl.js +655 -0
- package/dist/translations/ps.d.ts +3 -0
- package/dist/translations/ps.js +651 -0
- package/dist/translations/pt-br.d.ts +3 -0
- package/dist/translations/pt-br.js +664 -0
- package/dist/translations/pt-pt.d.ts +3 -0
- package/dist/translations/pt-pt.js +685 -0
- package/dist/translations/pt.d.ts +3 -0
- package/dist/translations/pt.js +651 -0
- package/dist/translations/ro.d.ts +3 -0
- package/dist/translations/ro.js +651 -0
- package/dist/translations/ru.d.ts +3 -0
- package/dist/translations/ru.js +657 -0
- package/dist/translations/sk.d.ts +3 -0
- package/dist/translations/sk.js +653 -0
- package/dist/translations/sl.d.ts +3 -0
- package/dist/translations/sl.js +655 -0
- package/dist/translations/sq.d.ts +3 -0
- package/dist/translations/sq.js +651 -0
- package/dist/translations/sr.d.ts +3 -0
- package/dist/translations/sr.js +655 -0
- package/dist/translations/sv.d.ts +3 -0
- package/dist/translations/sv.js +651 -0
- package/dist/translations/sw.d.ts +3 -0
- package/dist/translations/sw.js +651 -0
- package/dist/translations/te.d.ts +3 -0
- package/dist/translations/te.js +651 -0
- package/dist/translations/th.d.ts +3 -0
- package/dist/translations/th.js +643 -0
- package/dist/translations/tl.d.ts +3 -0
- package/dist/translations/tl.js +651 -0
- package/dist/translations/tr.d.ts +3 -0
- package/dist/translations/tr.js +651 -0
- package/dist/translations/uk.d.ts +3 -0
- package/dist/translations/uk.js +655 -0
- package/dist/translations/ur.d.ts +3 -0
- package/dist/translations/ur.js +651 -0
- package/dist/translations/vi.d.ts +3 -0
- package/dist/translations/vi.js +651 -0
- package/dist/translations/zh-cn.d.ts +3 -0
- package/dist/translations/zh-cn.js +651 -0
- package/dist/translations/zh-hk.d.ts +3 -0
- package/dist/translations/zh-hk.js +649 -0
- package/dist/translations/zh-tw.d.ts +3 -0
- package/dist/translations/zh-tw.js +674 -0
- package/dist/utilities/animation-registry.js +33 -29
- package/dist/utilities/animation.js +1229 -1
- package/dist/utilities/form.js +61 -34
- package/dist/utilities/icon-library.js +229 -1
- package/dist/utilities/kit-code.d.ts +2 -0
- package/dist/utilities/kit-code.js +18 -0
- package/dist/utilities/localize.d.ts +35 -0
- package/dist/utilities/localize.js +739 -0
- package/package.json +86 -79
- package/dist/components/animation/animation.component.d.ts +0 -65
- package/dist/components/animation/animation.component.js +0 -247
- package/dist/components/animation/animation.styles.d.ts +0 -1
- package/dist/components/animation/animation.styles.js +0 -9
- package/dist/components/avatar/avatar.component.d.ts +0 -43
- package/dist/components/avatar/avatar.component.js +0 -137
- package/dist/components/avatar/avatar.styles.d.ts +0 -1
- package/dist/components/avatar/avatar.styles.js +0 -68
- package/dist/components/badge/badge.component.d.ts +0 -21
- package/dist/components/badge/badge.component.js +0 -64
- package/dist/components/badge/badge.styles.d.ts +0 -1
- package/dist/components/badge/badge.styles.js +0 -76
- package/dist/components/button/button.component.d.ts +0 -104
- package/dist/components/button/button.component.js +0 -346
- package/dist/components/button/button.styles.d.ts +0 -1
- package/dist/components/button/button.styles.js +0 -322
- package/dist/components/button-group/button-group.component.d.ts +0 -26
- package/dist/components/button-group/button-group.component.js +0 -93
- package/dist/components/button-group/button-group.styles.d.ts +0 -1
- package/dist/components/button-group/button-group.styles.js +0 -14
- package/dist/components/callout/callout.component.d.ts +0 -22
- package/dist/components/callout/callout.component.js +0 -63
- package/dist/components/callout/callout.styles.d.ts +0 -1
- package/dist/components/callout/callout.styles.js +0 -68
- package/dist/components/card/card.component.d.ts +0 -29
- package/dist/components/card/card.component.js +0 -59
- package/dist/components/card/card.styles.d.ts +0 -1
- package/dist/components/card/card.styles.js +0 -65
- package/dist/components/checkbox/checkbox.component.d.ts +0 -44
- package/dist/components/checkbox/checkbox.component.js +0 -287
- package/dist/components/checkbox/checkbox.styles.d.ts +0 -1
- package/dist/components/checkbox/checkbox.styles.js +0 -166
- package/dist/components/comparer/comparer.component.d.ts +0 -43
- package/dist/components/comparer/comparer.component.js +0 -181
- package/dist/components/comparer/comparer.styles.d.ts +0 -1
- package/dist/components/comparer/comparer.styles.js +0 -75
- package/dist/components/copy-button/copy-button.component.d.ts +0 -75
- package/dist/components/copy-button/copy-button.component.js +0 -289
- package/dist/components/copy-button/copy-button.styles.d.ts +0 -1
- package/dist/components/copy-button/copy-button.styles.js +0 -61
- package/dist/components/details/details.component.d.ts +0 -25
- package/dist/components/details/details.component.js +0 -243
- package/dist/components/details/details.styles.d.ts +0 -1
- package/dist/components/details/details.styles.js +0 -86
- package/dist/components/dialog/dialog.component.d.ts +0 -84
- package/dist/components/dialog/dialog.component.js +0 -362
- package/dist/components/dialog/dialog.styles.d.ts +0 -1
- package/dist/components/dialog/dialog.styles.js +0 -123
- package/dist/components/divider/divider.component.d.ts +0 -20
- package/dist/components/divider/divider.component.js +0 -51
- package/dist/components/divider/divider.styles.d.ts +0 -1
- package/dist/components/divider/divider.styles.js +0 -29
- package/dist/components/drawer/drawer.component.d.ts +0 -95
- package/dist/components/drawer/drawer.component.js +0 -509
- package/dist/components/drawer/drawer.styles.d.ts +0 -1
- package/dist/components/drawer/drawer.styles.js +0 -157
- package/dist/components/dropdown/dropdown.component.d.ts +0 -44
- package/dist/components/dropdown/dropdown.component.js +0 -385
- package/dist/components/dropdown/dropdown.styles.d.ts +0 -1
- package/dist/components/dropdown/dropdown.styles.js +0 -52
- package/dist/components/icon/icon.component.d.ts +0 -47
- package/dist/components/icon/icon.component.js +0 -225
- package/dist/components/icon/icon.styles.d.ts +0 -1
- package/dist/components/icon/icon.styles.js +0 -49
- package/dist/components/icon-button/icon-button.component.d.ts +0 -27
- package/dist/components/icon-button/icon-button.component.js +0 -151
- package/dist/components/icon-button/icon-button.d.ts +0 -8
- package/dist/components/icon-button/icon-button.js +0 -5
- package/dist/components/icon-button/icon-button.styles.d.ts +0 -1
- package/dist/components/icon-button/icon-button.styles.js +0 -53
- package/dist/components/input/input.component.d.ts +0 -78
- package/dist/components/input/input.component.js +0 -513
- package/dist/components/input/input.styles.d.ts +0 -1
- package/dist/components/input/input.styles.js +0 -308
- package/dist/components/menu/menu.component.d.ts +0 -20
- package/dist/components/menu/menu.component.js +0 -123
- package/dist/components/menu/menu.d.ts +0 -8
- package/dist/components/menu/menu.js +0 -5
- package/dist/components/menu/menu.styles.d.ts +0 -1
- package/dist/components/menu/menu.styles.js +0 -20
- package/dist/components/menu-item/menu-item.component.d.ts +0 -34
- package/dist/components/menu-item/menu-item.component.js +0 -211
- package/dist/components/menu-item/menu-item.d.ts +0 -8
- package/dist/components/menu-item/menu-item.js +0 -5
- package/dist/components/menu-item/menu-item.styles.d.ts +0 -1
- package/dist/components/menu-item/menu-item.styles.js +0 -157
- package/dist/components/menu-item/submenu-controller.d.ts +0 -34
- package/dist/components/menu-item/submenu-controller.js +0 -246
- package/dist/components/menu-label/menu-label.component.d.ts +0 -15
- package/dist/components/menu-label/menu-label.component.js +0 -25
- package/dist/components/menu-label/menu-label.d.ts +0 -8
- package/dist/components/menu-label/menu-label.js +0 -5
- package/dist/components/menu-label/menu-label.styles.d.ts +0 -1
- package/dist/components/menu-label/menu-label.styles.js +0 -22
- package/dist/components/option/option.component.d.ts +0 -42
- package/dist/components/option/option.component.js +0 -161
- package/dist/components/option/option.styles.d.ts +0 -1
- package/dist/components/option/option.styles.js +0 -108
- package/dist/components/popup/popup.component.d.ts +0 -44
- package/dist/components/popup/popup.component.js +0 -483
- package/dist/components/popup/popup.styles.d.ts +0 -1
- package/dist/components/popup/popup.styles.js +0 -64
- package/dist/components/qr-code/qr-code.component.d.ts +0 -16
- package/dist/components/qr-code/qr-code.component.js +0 -94
- package/dist/components/qr-code/qr-code.styles.d.ts +0 -1
- package/dist/components/qr-code/qr-code.styles.js +0 -9
- package/dist/components/radio/radio.component.d.ts +0 -19
- package/dist/components/radio/radio.component.js +0 -120
- package/dist/components/radio/radio.styles.d.ts +0 -1
- package/dist/components/radio/radio.styles.js +0 -132
- package/dist/components/radio-button/radio-button.component.d.ts +0 -22
- package/dist/components/radio-button/radio-button.component.js +0 -131
- package/dist/components/radio-button/radio-button.d.ts +0 -8
- package/dist/components/radio-button/radio-button.js +0 -5
- package/dist/components/radio-button/radio-button.styles.d.ts +0 -1
- package/dist/components/radio-button/radio-button.styles.js +0 -25
- package/dist/components/radio-group/radio-group.component.d.ts +0 -46
- package/dist/components/radio-group/radio-group.component.js +0 -379
- package/dist/components/radio-group/radio-group.styles.d.ts +0 -1
- package/dist/components/radio-group/radio-group.styles.js +0 -42
- package/dist/components/rating/rating.component.d.ts +0 -37
- package/dist/components/rating/rating.component.js +0 -308
- package/dist/components/rating/rating.styles.d.ts +0 -1
- package/dist/components/rating/rating.styles.js +0 -94
- package/dist/components/resize-observer/resize-observer.component.d.ts +0 -26
- package/dist/components/resize-observer/resize-observer.component.js +0 -89
- package/dist/components/resize-observer/resize-observer.styles.d.ts +0 -1
- package/dist/components/resize-observer/resize-observer.styles.js +0 -9
- package/dist/components/select/select.component.d.ts +0 -174
- package/dist/components/select/select.component.js +0 -960
- package/dist/components/select/select.styles.d.ts +0 -1
- package/dist/components/select/select.styles.js +0 -363
- package/dist/components/spinner/spinner.component.d.ts +0 -20
- package/dist/components/spinner/spinner.component.js +0 -47
- package/dist/components/spinner/spinner.styles.d.ts +0 -1
- package/dist/components/spinner/spinner.styles.js +0 -61
- package/dist/components/switch/switch.component.d.ts +0 -84
- package/dist/components/switch/switch.component.js +0 -281
- package/dist/components/switch/switch.styles.d.ts +0 -1
- package/dist/components/switch/switch.styles.js +0 -178
- package/dist/components/tab/tab.component.d.ts +0 -22
- package/dist/components/tab/tab.component.js +0 -112
- package/dist/components/tab/tab.styles.d.ts +0 -1
- package/dist/components/tab/tab.styles.js +0 -85
- package/dist/components/tab-group/tab-group.component.d.ts +0 -51
- package/dist/components/tab-group/tab-group.component.js +0 -513
- package/dist/components/tab-group/tab-group.styles.d.ts +0 -1
- package/dist/components/tab-group/tab-group.styles.js +0 -219
- package/dist/components/tab-panel/tab-panel.component.d.ts +0 -12
- package/dist/components/tab-panel/tab-panel.component.js +0 -56
- package/dist/components/tab-panel/tab-panel.styles.d.ts +0 -1
- package/dist/components/tab-panel/tab-panel.styles.js +0 -18
- package/dist/components/tag/tag.component.d.ts +0 -38
- package/dist/components/tag/tag.component.js +0 -109
- package/dist/components/tag/tag.styles.d.ts +0 -1
- package/dist/components/tag/tag.styles.js +0 -155
- package/dist/components/tooltip/tooltip.component.d.ts +0 -38
- package/dist/components/tooltip/tooltip.component.js +0 -267
- package/dist/components/tooltip/tooltip.styles.d.ts +0 -1
- package/dist/components/tooltip/tooltip.styles.js +0 -59
- package/dist/default.css +0 -1005
- package/dist/events/pc-request-close.d.ts +0 -8
- package/dist/events/pc-request-close.js +0 -1
- package/dist/internal/modal.d.ts +0 -19
- package/dist/internal/modal.js +0 -116
- package/dist/native-styles.css +0 -261
- package/dist/style-utilities/fouce.css +0 -13
- package/dist/style-utilities/style-utilities.css +0 -2
- package/dist/style-utilities/visually-hidden.css +0 -12
- package/dist/utilities/base-path.d.ts +0 -2
- package/dist/utilities/base-path.js +0 -8
- package/dist/utility.css +0 -41
- package/src/animations/attention_seekers/bounce.ts +0 -43
- package/src/animations/attention_seekers/flash.ts +0 -7
- package/src/animations/attention_seekers/headShake.ts +0 -8
- package/src/animations/attention_seekers/heartBeat.ts +0 -7
- package/src/animations/attention_seekers/jello.ts +0 -15
- package/src/animations/attention_seekers/pulse.ts +0 -5
- package/src/animations/attention_seekers/rubberBand.ts +0 -9
- package/src/animations/attention_seekers/shake.ts +0 -13
- package/src/animations/attention_seekers/shakeX.ts +0 -13
- package/src/animations/attention_seekers/shakeY.ts +0 -13
- package/src/animations/attention_seekers/swing.ts +0 -7
- package/src/animations/attention_seekers/tada.ts +0 -40
- package/src/animations/attention_seekers/wobble.ts +0 -24
- package/src/animations/back_entrances/backInDown.ts +0 -5
- package/src/animations/back_entrances/backInLeft.ts +0 -5
- package/src/animations/back_entrances/backInRight.ts +0 -5
- package/src/animations/back_entrances/backInUp.ts +0 -5
- package/src/animations/back_exits/backOutDown.ts +0 -5
- package/src/animations/back_exits/backOutLeft.ts +0 -5
- package/src/animations/back_exits/backOutRight.ts +0 -5
- package/src/animations/back_exits/backOutUp.ts +0 -5
- package/src/animations/bouncing_entrances/bounceIn.ts +0 -14
- package/src/animations/bouncing_entrances/bounceInDown.ts +0 -20
- package/src/animations/bouncing_entrances/bounceInLeft.ts +0 -20
- package/src/animations/bouncing_entrances/bounceInRight.ts +0 -20
- package/src/animations/bouncing_entrances/bounceInUp.ts +0 -20
- package/src/animations/bouncing_exits/bounceOut.ts +0 -6
- package/src/animations/bouncing_exits/bounceOutDown.ts +0 -18
- package/src/animations/bouncing_exits/bounceOutLeft.ts +0 -12
- package/src/animations/bouncing_exits/bounceOutRight.ts +0 -12
- package/src/animations/bouncing_exits/bounceOutUp.ts +0 -18
- package/src/animations/easings/easings.ts +0 -31
- package/src/animations/fading_entrances/fadeIn.ts +0 -4
- package/src/animations/fading_entrances/fadeInBottomLeft.ts +0 -4
- package/src/animations/fading_entrances/fadeInBottomRight.ts +0 -4
- package/src/animations/fading_entrances/fadeInDown.ts +0 -4
- package/src/animations/fading_entrances/fadeInDownBig.ts +0 -4
- package/src/animations/fading_entrances/fadeInLeft.ts +0 -4
- package/src/animations/fading_entrances/fadeInLeftBig.ts +0 -4
- package/src/animations/fading_entrances/fadeInRight.ts +0 -4
- package/src/animations/fading_entrances/fadeInRightBig.ts +0 -4
- package/src/animations/fading_entrances/fadeInTopLeft.ts +0 -4
- package/src/animations/fading_entrances/fadeInTopRight.ts +0 -4
- package/src/animations/fading_entrances/fadeInUp.ts +0 -4
- package/src/animations/fading_entrances/fadeInUpBig.ts +0 -4
- package/src/animations/fading_exits/fadeOut.ts +0 -4
- package/src/animations/fading_exits/fadeOutBottomLeft.ts +0 -4
- package/src/animations/fading_exits/fadeOutBottomRight.ts +0 -4
- package/src/animations/fading_exits/fadeOutDown.ts +0 -4
- package/src/animations/fading_exits/fadeOutDownBig.ts +0 -4
- package/src/animations/fading_exits/fadeOutLeft.ts +0 -4
- package/src/animations/fading_exits/fadeOutLeftBig.ts +0 -4
- package/src/animations/fading_exits/fadeOutRight.ts +0 -4
- package/src/animations/fading_exits/fadeOutRightBig.ts +0 -4
- package/src/animations/fading_exits/fadeOutTopLeft.ts +0 -4
- package/src/animations/fading_exits/fadeOutTopRight.ts +0 -4
- package/src/animations/fading_exits/fadeOutUp.ts +0 -4
- package/src/animations/fading_exits/fadeOutUpBig.ts +0 -4
- package/src/animations/flippers/flip.ts +0 -32
- package/src/animations/flippers/flipInX.ts +0 -20
- package/src/animations/flippers/flipInY.ts +0 -20
- package/src/animations/flippers/flipOutX.ts +0 -13
- package/src/animations/flippers/flipOutY.ts +0 -13
- package/src/animations/index.ts +0 -101
- package/src/animations/lightspeed/lightSpeedInLeft.ts +0 -10
- package/src/animations/lightspeed/lightSpeedInRight.ts +0 -10
- package/src/animations/lightspeed/lightSpeedOutLeft.ts +0 -8
- package/src/animations/lightspeed/lightSpeedOutRight.ts +0 -8
- package/src/animations/rotating_entrances/rotateIn.ts +0 -4
- package/src/animations/rotating_entrances/rotateInDownLeft.ts +0 -4
- package/src/animations/rotating_entrances/rotateInDownRight.ts +0 -4
- package/src/animations/rotating_entrances/rotateInUpLeft.ts +0 -4
- package/src/animations/rotating_entrances/rotateInUpRight.ts +0 -4
- package/src/animations/rotating_exits/rotateOut.ts +0 -4
- package/src/animations/rotating_exits/rotateOutDownLeft.ts +0 -4
- package/src/animations/rotating_exits/rotateOutDownRight.ts +0 -4
- package/src/animations/rotating_exits/rotateOutUpLeft.ts +0 -4
- package/src/animations/rotating_exits/rotateOutUpRight.ts +0 -4
- package/src/animations/sliding_entrances/slideInDown.ts +0 -4
- package/src/animations/sliding_entrances/slideInLeft.ts +0 -4
- package/src/animations/sliding_entrances/slideInRight.ts +0 -4
- package/src/animations/sliding_entrances/slideInUp.ts +0 -4
- package/src/animations/sliding_exits/slideOutDown.ts +0 -4
- package/src/animations/sliding_exits/slideOutLeft.ts +0 -4
- package/src/animations/sliding_exits/slideOutRight.ts +0 -4
- package/src/animations/sliding_exits/slideOutUp.ts +0 -4
- package/src/animations/specials/hinge.ts +0 -26
- package/src/animations/specials/jackInTheBox.ts +0 -11
- package/src/animations/specials/rollIn.ts +0 -8
- package/src/animations/specials/rollOut.ts +0 -8
- package/src/animations/zooming_entrances/zoomIn.ts +0 -4
- package/src/animations/zooming_entrances/zoomInDown.ts +0 -14
- package/src/animations/zooming_entrances/zoomInLeft.ts +0 -14
- package/src/animations/zooming_entrances/zoomInRight.ts +0 -14
- package/src/animations/zooming_entrances/zoomInUp.ts +0 -14
- package/src/animations/zooming_exits/zoomOut.ts +0 -5
- package/src/animations/zooming_exits/zoomOutDown.ts +0 -14
- package/src/animations/zooming_exits/zoomOutLeft.ts +0 -12
- package/src/animations/zooming_exits/zoomOutRight.ts +0 -12
- package/src/animations/zooming_exits/zoomOutUp.ts +0 -14
- package/src/components/animation/animation.component.ts +0 -224
- package/src/components/animation/animation.styles.ts +0 -7
- package/src/components/animation/animation.ts +0 -10
- package/src/components/animation/animations.ts +0 -13
- package/src/components/avatar/avatar.component.ts +0 -113
- package/src/components/avatar/avatar.styles.ts +0 -66
- package/src/components/avatar/avatar.ts +0 -10
- package/src/components/badge/badge.component.ts +0 -54
- package/src/components/badge/badge.styles.ts +0 -74
- package/src/components/badge/badge.ts +0 -10
- package/src/components/button/button.component.ts +0 -335
- package/src/components/button/button.styles.ts +0 -320
- package/src/components/button/button.ts +0 -10
- package/src/components/button-group/button-group.component.ts +0 -101
- package/src/components/button-group/button-group.styles.ts +0 -12
- package/src/components/button-group/button-group.ts +0 -10
- package/src/components/callout/callout.component.ts +0 -60
- package/src/components/callout/callout.styles.ts +0 -66
- package/src/components/callout/callout.ts +0 -10
- package/src/components/card/card.component.ts +0 -59
- package/src/components/card/card.styles.ts +0 -63
- package/src/components/card/card.ts +0 -10
- package/src/components/checkbox/checkbox.component.ts +0 -244
- package/src/components/checkbox/checkbox.styles.ts +0 -164
- package/src/components/checkbox/checkbox.ts +0 -10
- package/src/components/comparer/comparer.component.ts +0 -188
- package/src/components/comparer/comparer.styles.ts +0 -73
- package/src/components/comparer/comparer.ts +0 -10
- package/src/components/copy-button/copy-button.component.ts +0 -272
- package/src/components/copy-button/copy-button.styles.ts +0 -59
- package/src/components/copy-button/copy-button.ts +0 -10
- package/src/components/details/details.component.ts +0 -259
- package/src/components/details/details.styles.ts +0 -84
- package/src/components/details/details.ts +0 -10
- package/src/components/dialog/dialog.component.ts +0 -403
- package/src/components/dialog/dialog.styles.ts +0 -121
- package/src/components/dialog/dialog.ts +0 -10
- package/src/components/divider/divider.component.ts +0 -42
- package/src/components/divider/divider.styles.ts +0 -27
- package/src/components/divider/divider.ts +0 -10
- package/src/components/drawer/drawer.component.ts +0 -565
- package/src/components/drawer/drawer.styles.ts +0 -155
- package/src/components/drawer/drawer.ts +0 -10
- package/src/components/dropdown/dropdown.component.ts +0 -430
- package/src/components/dropdown/dropdown.styles.ts +0 -50
- package/src/components/dropdown/dropdown.ts +0 -10
- package/src/components/icon/icon.component.ts +0 -239
- package/src/components/icon/icon.styles.ts +0 -47
- package/src/components/icon/icon.ts +0 -10
- package/src/components/icon/library.default.ts +0 -10
- package/src/components/icon/library.system.ts +0 -136
- package/src/components/icon/library.ts +0 -54
- package/src/components/icon-button/icon-button.component.ts +0 -129
- package/src/components/icon-button/icon-button.styles.ts +0 -51
- package/src/components/icon-button/icon-button.ts +0 -10
- package/src/components/input/input.component.ts +0 -496
- package/src/components/input/input.styles.ts +0 -306
- package/src/components/input/input.ts +0 -10
- package/src/components/menu/menu.component.ts +0 -161
- package/src/components/menu/menu.styles.ts +0 -18
- package/src/components/menu/menu.ts +0 -10
- package/src/components/menu-item/menu-item.component.ts +0 -190
- package/src/components/menu-item/menu-item.styles.ts +0 -155
- package/src/components/menu-item/menu-item.ts +0 -10
- package/src/components/menu-item/submenu-controller.ts +0 -337
- package/src/components/menu-label/menu-label.component.ts +0 -22
- package/src/components/menu-label/menu-label.styles.ts +0 -20
- package/src/components/menu-label/menu-label.ts +0 -10
- package/src/components/option/option.component.ts +0 -141
- package/src/components/option/option.styles.ts +0 -106
- package/src/components/option/option.ts +0 -10
- package/src/components/popup/popup.component.ts +0 -540
- package/src/components/popup/popup.styles.ts +0 -63
- package/src/components/popup/popup.ts +0 -12
- package/src/components/qr-code/qr-code.component.ts +0 -70
- package/src/components/qr-code/qr-code.styles.ts +0 -7
- package/src/components/qr-code/qr-code.ts +0 -10
- package/src/components/radio/radio.component.ts +0 -100
- package/src/components/radio/radio.styles.ts +0 -130
- package/src/components/radio/radio.ts +0 -10
- package/src/components/radio-button/radio-button.component.ts +0 -116
- package/src/components/radio-button/radio-button.styles.ts +0 -23
- package/src/components/radio-button/radio-button.ts +0 -10
- package/src/components/radio-group/radio-group.component.ts +0 -404
- package/src/components/radio-group/radio-group.styles.ts +0 -40
- package/src/components/radio-group/radio-group.ts +0 -10
- package/src/components/rating/rating.component.ts +0 -319
- package/src/components/rating/rating.styles.ts +0 -92
- package/src/components/rating/rating.ts +0 -10
- package/src/components/resize-observer/resize-observer.component.ts +0 -91
- package/src/components/resize-observer/resize-observer.styles.ts +0 -7
- package/src/components/resize-observer/resize-observer.ts +0 -10
- package/src/components/select/select.component.ts +0 -1013
- package/src/components/select/select.styles.ts +0 -361
- package/src/components/select/select.ts +0 -10
- package/src/components/spinner/spinner.component.ts +0 -38
- package/src/components/spinner/spinner.styles.ts +0 -59
- package/src/components/spinner/spinner.ts +0 -10
- package/src/components/switch/switch.component.ts +0 -253
- package/src/components/switch/switch.styles.ts +0 -176
- package/src/components/switch/switch.ts +0 -10
- package/src/components/tab/tab.component.ts +0 -87
- package/src/components/tab/tab.styles.ts +0 -83
- package/src/components/tab/tab.ts +0 -10
- package/src/components/tab-group/tab-group.component.ts +0 -607
- package/src/components/tab-group/tab-group.styles.ts +0 -217
- package/src/components/tab-group/tab-group.ts +0 -10
- package/src/components/tab-panel/tab-panel.component.ts +0 -43
- package/src/components/tab-panel/tab-panel.styles.ts +0 -16
- package/src/components/tab-panel/tab-panel.ts +0 -10
- package/src/components/tag/tag.component.ts +0 -94
- package/src/components/tag/tag.styles.ts +0 -153
- package/src/components/tag/tag.ts +0 -10
- package/src/components/tooltip/tooltip.component.ts +0 -276
- package/src/components/tooltip/tooltip.styles.ts +0 -57
- package/src/components/tooltip/tooltip.ts +0 -10
- package/src/default.css +0 -1005
- package/src/events/events.ts +0 -35
- package/src/events/pc-after-collapse.ts +0 -7
- package/src/events/pc-after-expand.ts +0 -7
- package/src/events/pc-after-hide.ts +0 -7
- package/src/events/pc-after-show.ts +0 -7
- package/src/events/pc-blur.ts +0 -7
- package/src/events/pc-cancel.ts +0 -7
- package/src/events/pc-change.ts +0 -7
- package/src/events/pc-clear.ts +0 -7
- package/src/events/pc-close.ts +0 -7
- package/src/events/pc-collapse.ts +0 -7
- package/src/events/pc-copy.ts +0 -7
- package/src/events/pc-error.ts +0 -7
- package/src/events/pc-expand.ts +0 -7
- package/src/events/pc-finish.ts +0 -7
- package/src/events/pc-focus.ts +0 -7
- package/src/events/pc-hide.ts +0 -7
- package/src/events/pc-hover.ts +0 -10
- package/src/events/pc-initial-focus.ts +0 -7
- package/src/events/pc-input.ts +0 -7
- package/src/events/pc-invalid.ts +0 -7
- package/src/events/pc-lazy-change.ts +0 -7
- package/src/events/pc-lazy-load.ts +0 -7
- package/src/events/pc-load.ts +0 -7
- package/src/events/pc-mutation.ts +0 -7
- package/src/events/pc-remove.ts +0 -7
- package/src/events/pc-reposition.ts +0 -7
- package/src/events/pc-request-close.ts +0 -9
- package/src/events/pc-resize.ts +0 -7
- package/src/events/pc-select.ts +0 -9
- package/src/events/pc-selection-change.ts +0 -10
- package/src/events/pc-show.ts +0 -7
- package/src/events/pc-slide-change.ts +0 -13
- package/src/events/pc-start.ts +0 -7
- package/src/events/pc-tab-hide.ts +0 -7
- package/src/events/pc-tab-show.ts +0 -7
- package/src/global-shims.ts +0 -126
- package/src/global.d.ts +0 -31
- package/src/internal/active-elements.ts +0 -21
- package/src/internal/animate.ts +0 -62
- package/src/internal/close-active-element.ts +0 -7
- package/src/internal/debounce.ts +0 -25
- package/src/internal/default-value.ts +0 -40
- package/src/internal/drag.ts +0 -36
- package/src/internal/emit.ts +0 -19
- package/src/internal/event.ts +0 -12
- package/src/internal/form.ts +0 -389
- package/src/internal/math.ts +0 -14
- package/src/internal/modal.ts +0 -157
- package/src/internal/offset.ts +0 -12
- package/src/internal/scroll.ts +0 -95
- package/src/internal/scrollend-polyfill.ts +0 -99
- package/src/internal/slot.ts +0 -110
- package/src/internal/string.ts +0 -3
- package/src/internal/tabbable.ts +0 -207
- package/src/internal/watch.ts +0 -58
- package/src/native-styles.css +0 -261
- package/src/placer-autoloader.ts +0 -53
- package/src/placer.ts +0 -53
- package/src/style-utilities/fouce.css +0 -13
- package/src/style-utilities/style-utilities.css +0 -2
- package/src/style-utilities/visually-hidden.css +0 -12
- package/src/utilities/animation-registry.ts +0 -72
- package/src/utilities/animation.ts +0 -4
- package/src/utilities/base-path.ts +0 -39
- package/src/utilities/form.ts +0 -41
- package/src/utilities/icon-library.ts +0 -4
- package/src/utility.css +0 -41
|
@@ -1,5 +1,1633 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i7 = decorators.length - 1, decorator; i7 >= 0; i7--)
|
|
6
|
+
if (decorator = decorators[i7])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
2
11
|
|
|
3
|
-
|
|
12
|
+
// node_modules/@lit/reactive-element/css-tag.js
|
|
13
|
+
var t = globalThis;
|
|
14
|
+
var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
|
|
15
|
+
var s = Symbol();
|
|
16
|
+
var o = /* @__PURE__ */ new WeakMap();
|
|
17
|
+
var n = class {
|
|
18
|
+
constructor(t5, e8, o7) {
|
|
19
|
+
if (this._$cssResult$ = true, o7 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
20
|
+
this.cssText = t5, this.t = e8;
|
|
21
|
+
}
|
|
22
|
+
get styleSheet() {
|
|
23
|
+
let t5 = this.o;
|
|
24
|
+
const s4 = this.t;
|
|
25
|
+
if (e && void 0 === t5) {
|
|
26
|
+
const e8 = void 0 !== s4 && 1 === s4.length;
|
|
27
|
+
e8 && (t5 = o.get(s4)), void 0 === t5 && ((this.o = t5 = new CSSStyleSheet()).replaceSync(this.cssText), e8 && o.set(s4, t5));
|
|
28
|
+
}
|
|
29
|
+
return t5;
|
|
30
|
+
}
|
|
31
|
+
toString() {
|
|
32
|
+
return this.cssText;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
var r = (t5) => new n("string" == typeof t5 ? t5 : t5 + "", void 0, s);
|
|
36
|
+
var S = (s4, o7) => {
|
|
37
|
+
if (e) s4.adoptedStyleSheets = o7.map(((t5) => t5 instanceof CSSStyleSheet ? t5 : t5.styleSheet));
|
|
38
|
+
else for (const e8 of o7) {
|
|
39
|
+
const o8 = document.createElement("style"), n6 = t.litNonce;
|
|
40
|
+
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e8.cssText, s4.appendChild(o8);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
var c = e ? (t5) => t5 : (t5) => t5 instanceof CSSStyleSheet ? ((t6) => {
|
|
44
|
+
let e8 = "";
|
|
45
|
+
for (const s4 of t6.cssRules) e8 += s4.cssText;
|
|
46
|
+
return r(e8);
|
|
47
|
+
})(t5) : t5;
|
|
4
48
|
|
|
5
|
-
|
|
49
|
+
// node_modules/@lit/reactive-element/reactive-element.js
|
|
50
|
+
var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: h, getOwnPropertyNames: r2, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
|
|
51
|
+
var a = globalThis;
|
|
52
|
+
var c2 = a.trustedTypes;
|
|
53
|
+
var l = c2 ? c2.emptyScript : "";
|
|
54
|
+
var p = a.reactiveElementPolyfillSupport;
|
|
55
|
+
var d = (t5, s4) => t5;
|
|
56
|
+
var u = { toAttribute(t5, s4) {
|
|
57
|
+
switch (s4) {
|
|
58
|
+
case Boolean:
|
|
59
|
+
t5 = t5 ? l : null;
|
|
60
|
+
break;
|
|
61
|
+
case Object:
|
|
62
|
+
case Array:
|
|
63
|
+
t5 = null == t5 ? t5 : JSON.stringify(t5);
|
|
64
|
+
}
|
|
65
|
+
return t5;
|
|
66
|
+
}, fromAttribute(t5, s4) {
|
|
67
|
+
let i7 = t5;
|
|
68
|
+
switch (s4) {
|
|
69
|
+
case Boolean:
|
|
70
|
+
i7 = null !== t5;
|
|
71
|
+
break;
|
|
72
|
+
case Number:
|
|
73
|
+
i7 = null === t5 ? null : Number(t5);
|
|
74
|
+
break;
|
|
75
|
+
case Object:
|
|
76
|
+
case Array:
|
|
77
|
+
try {
|
|
78
|
+
i7 = JSON.parse(t5);
|
|
79
|
+
} catch (t6) {
|
|
80
|
+
i7 = null;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return i7;
|
|
84
|
+
} };
|
|
85
|
+
var f = (t5, s4) => !i2(t5, s4);
|
|
86
|
+
var b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
|
|
87
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
88
|
+
var y = class extends HTMLElement {
|
|
89
|
+
static addInitializer(t5) {
|
|
90
|
+
this._$Ei(), (this.l ?? (this.l = [])).push(t5);
|
|
91
|
+
}
|
|
92
|
+
static get observedAttributes() {
|
|
93
|
+
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
94
|
+
}
|
|
95
|
+
static createProperty(t5, s4 = b) {
|
|
96
|
+
if (s4.state && (s4.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t5) && ((s4 = Object.create(s4)).wrapped = true), this.elementProperties.set(t5, s4), !s4.noAccessor) {
|
|
97
|
+
const i7 = Symbol(), h3 = this.getPropertyDescriptor(t5, i7, s4);
|
|
98
|
+
void 0 !== h3 && e2(this.prototype, t5, h3);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
static getPropertyDescriptor(t5, s4, i7) {
|
|
102
|
+
const { get: e8, set: r6 } = h(this.prototype, t5) ?? { get() {
|
|
103
|
+
return this[s4];
|
|
104
|
+
}, set(t6) {
|
|
105
|
+
this[s4] = t6;
|
|
106
|
+
} };
|
|
107
|
+
return { get: e8, set(s5) {
|
|
108
|
+
const h3 = e8?.call(this);
|
|
109
|
+
r6?.call(this, s5), this.requestUpdate(t5, h3, i7);
|
|
110
|
+
}, configurable: true, enumerable: true };
|
|
111
|
+
}
|
|
112
|
+
static getPropertyOptions(t5) {
|
|
113
|
+
return this.elementProperties.get(t5) ?? b;
|
|
114
|
+
}
|
|
115
|
+
static _$Ei() {
|
|
116
|
+
if (this.hasOwnProperty(d("elementProperties"))) return;
|
|
117
|
+
const t5 = n2(this);
|
|
118
|
+
t5.finalize(), void 0 !== t5.l && (this.l = [...t5.l]), this.elementProperties = new Map(t5.elementProperties);
|
|
119
|
+
}
|
|
120
|
+
static finalize() {
|
|
121
|
+
if (this.hasOwnProperty(d("finalized"))) return;
|
|
122
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
|
|
123
|
+
const t6 = this.properties, s4 = [...r2(t6), ...o2(t6)];
|
|
124
|
+
for (const i7 of s4) this.createProperty(i7, t6[i7]);
|
|
125
|
+
}
|
|
126
|
+
const t5 = this[Symbol.metadata];
|
|
127
|
+
if (null !== t5) {
|
|
128
|
+
const s4 = litPropertyMetadata.get(t5);
|
|
129
|
+
if (void 0 !== s4) for (const [t6, i7] of s4) this.elementProperties.set(t6, i7);
|
|
130
|
+
}
|
|
131
|
+
this._$Eh = /* @__PURE__ */ new Map();
|
|
132
|
+
for (const [t6, s4] of this.elementProperties) {
|
|
133
|
+
const i7 = this._$Eu(t6, s4);
|
|
134
|
+
void 0 !== i7 && this._$Eh.set(i7, t6);
|
|
135
|
+
}
|
|
136
|
+
this.elementStyles = this.finalizeStyles(this.styles);
|
|
137
|
+
}
|
|
138
|
+
static finalizeStyles(s4) {
|
|
139
|
+
const i7 = [];
|
|
140
|
+
if (Array.isArray(s4)) {
|
|
141
|
+
const e8 = new Set(s4.flat(1 / 0).reverse());
|
|
142
|
+
for (const s5 of e8) i7.unshift(c(s5));
|
|
143
|
+
} else void 0 !== s4 && i7.push(c(s4));
|
|
144
|
+
return i7;
|
|
145
|
+
}
|
|
146
|
+
static _$Eu(t5, s4) {
|
|
147
|
+
const i7 = s4.attribute;
|
|
148
|
+
return false === i7 ? void 0 : "string" == typeof i7 ? i7 : "string" == typeof t5 ? t5.toLowerCase() : void 0;
|
|
149
|
+
}
|
|
150
|
+
constructor() {
|
|
151
|
+
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
152
|
+
}
|
|
153
|
+
_$Ev() {
|
|
154
|
+
this._$ES = new Promise(((t5) => this.enableUpdating = t5)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((t5) => t5(this)));
|
|
155
|
+
}
|
|
156
|
+
addController(t5) {
|
|
157
|
+
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t5), void 0 !== this.renderRoot && this.isConnected && t5.hostConnected?.();
|
|
158
|
+
}
|
|
159
|
+
removeController(t5) {
|
|
160
|
+
this._$EO?.delete(t5);
|
|
161
|
+
}
|
|
162
|
+
_$E_() {
|
|
163
|
+
const t5 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
|
|
164
|
+
for (const i7 of s4.keys()) this.hasOwnProperty(i7) && (t5.set(i7, this[i7]), delete this[i7]);
|
|
165
|
+
t5.size > 0 && (this._$Ep = t5);
|
|
166
|
+
}
|
|
167
|
+
createRenderRoot() {
|
|
168
|
+
const t5 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
169
|
+
return S(t5, this.constructor.elementStyles), t5;
|
|
170
|
+
}
|
|
171
|
+
connectedCallback() {
|
|
172
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), this._$EO?.forEach(((t5) => t5.hostConnected?.()));
|
|
173
|
+
}
|
|
174
|
+
enableUpdating(t5) {
|
|
175
|
+
}
|
|
176
|
+
disconnectedCallback() {
|
|
177
|
+
this._$EO?.forEach(((t5) => t5.hostDisconnected?.()));
|
|
178
|
+
}
|
|
179
|
+
attributeChangedCallback(t5, s4, i7) {
|
|
180
|
+
this._$AK(t5, i7);
|
|
181
|
+
}
|
|
182
|
+
_$ET(t5, s4) {
|
|
183
|
+
const i7 = this.constructor.elementProperties.get(t5), e8 = this.constructor._$Eu(t5, i7);
|
|
184
|
+
if (void 0 !== e8 && true === i7.reflect) {
|
|
185
|
+
const h3 = (void 0 !== i7.converter?.toAttribute ? i7.converter : u).toAttribute(s4, i7.type);
|
|
186
|
+
this._$Em = t5, null == h3 ? this.removeAttribute(e8) : this.setAttribute(e8, h3), this._$Em = null;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
_$AK(t5, s4) {
|
|
190
|
+
const i7 = this.constructor, e8 = i7._$Eh.get(t5);
|
|
191
|
+
if (void 0 !== e8 && this._$Em !== e8) {
|
|
192
|
+
const t6 = i7.getPropertyOptions(e8), h3 = "function" == typeof t6.converter ? { fromAttribute: t6.converter } : void 0 !== t6.converter?.fromAttribute ? t6.converter : u;
|
|
193
|
+
this._$Em = e8, this[e8] = h3.fromAttribute(s4, t6.type) ?? this._$Ej?.get(e8) ?? null, this._$Em = null;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
requestUpdate(t5, s4, i7) {
|
|
197
|
+
if (void 0 !== t5) {
|
|
198
|
+
const e8 = this.constructor, h3 = this[t5];
|
|
199
|
+
if (i7 ?? (i7 = e8.getPropertyOptions(t5)), !((i7.hasChanged ?? f)(h3, s4) || i7.useDefault && i7.reflect && h3 === this._$Ej?.get(t5) && !this.hasAttribute(e8._$Eu(t5, i7)))) return;
|
|
200
|
+
this.C(t5, s4, i7);
|
|
201
|
+
}
|
|
202
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
203
|
+
}
|
|
204
|
+
C(t5, s4, { useDefault: i7, reflect: e8, wrapped: h3 }, r6) {
|
|
205
|
+
i7 && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t5) && (this._$Ej.set(t5, r6 ?? s4 ?? this[t5]), true !== h3 || void 0 !== r6) || (this._$AL.has(t5) || (this.hasUpdated || i7 || (s4 = void 0), this._$AL.set(t5, s4)), true === e8 && this._$Em !== t5 && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t5));
|
|
206
|
+
}
|
|
207
|
+
async _$EP() {
|
|
208
|
+
this.isUpdatePending = true;
|
|
209
|
+
try {
|
|
210
|
+
await this._$ES;
|
|
211
|
+
} catch (t6) {
|
|
212
|
+
Promise.reject(t6);
|
|
213
|
+
}
|
|
214
|
+
const t5 = this.scheduleUpdate();
|
|
215
|
+
return null != t5 && await t5, !this.isUpdatePending;
|
|
216
|
+
}
|
|
217
|
+
scheduleUpdate() {
|
|
218
|
+
return this.performUpdate();
|
|
219
|
+
}
|
|
220
|
+
performUpdate() {
|
|
221
|
+
if (!this.isUpdatePending) return;
|
|
222
|
+
if (!this.hasUpdated) {
|
|
223
|
+
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
224
|
+
for (const [t7, s5] of this._$Ep) this[t7] = s5;
|
|
225
|
+
this._$Ep = void 0;
|
|
226
|
+
}
|
|
227
|
+
const t6 = this.constructor.elementProperties;
|
|
228
|
+
if (t6.size > 0) for (const [s5, i7] of t6) {
|
|
229
|
+
const { wrapped: t7 } = i7, e8 = this[s5];
|
|
230
|
+
true !== t7 || this._$AL.has(s5) || void 0 === e8 || this.C(s5, void 0, i7, e8);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
let t5 = false;
|
|
234
|
+
const s4 = this._$AL;
|
|
235
|
+
try {
|
|
236
|
+
t5 = this.shouldUpdate(s4), t5 ? (this.willUpdate(s4), this._$EO?.forEach(((t6) => t6.hostUpdate?.())), this.update(s4)) : this._$EM();
|
|
237
|
+
} catch (s5) {
|
|
238
|
+
throw t5 = false, this._$EM(), s5;
|
|
239
|
+
}
|
|
240
|
+
t5 && this._$AE(s4);
|
|
241
|
+
}
|
|
242
|
+
willUpdate(t5) {
|
|
243
|
+
}
|
|
244
|
+
_$AE(t5) {
|
|
245
|
+
this._$EO?.forEach(((t6) => t6.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t5)), this.updated(t5);
|
|
246
|
+
}
|
|
247
|
+
_$EM() {
|
|
248
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
249
|
+
}
|
|
250
|
+
get updateComplete() {
|
|
251
|
+
return this.getUpdateComplete();
|
|
252
|
+
}
|
|
253
|
+
getUpdateComplete() {
|
|
254
|
+
return this._$ES;
|
|
255
|
+
}
|
|
256
|
+
shouldUpdate(t5) {
|
|
257
|
+
return true;
|
|
258
|
+
}
|
|
259
|
+
update(t5) {
|
|
260
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(((t6) => this._$ET(t6, this[t6])))), this._$EM();
|
|
261
|
+
}
|
|
262
|
+
updated(t5) {
|
|
263
|
+
}
|
|
264
|
+
firstUpdated(t5) {
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[d("elementProperties")] = /* @__PURE__ */ new Map(), y[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: y }), (a.reactiveElementVersions ?? (a.reactiveElementVersions = [])).push("2.1.0");
|
|
268
|
+
|
|
269
|
+
// node_modules/lit-html/lit-html.js
|
|
270
|
+
var t2 = globalThis;
|
|
271
|
+
var i3 = t2.trustedTypes;
|
|
272
|
+
var s2 = i3 ? i3.createPolicy("lit-html", { createHTML: (t5) => t5 }) : void 0;
|
|
273
|
+
var e3 = "$lit$";
|
|
274
|
+
var h2 = `lit$${Math.random().toFixed(9).slice(2)}$`;
|
|
275
|
+
var o3 = "?" + h2;
|
|
276
|
+
var n3 = `<${o3}>`;
|
|
277
|
+
var r3 = document;
|
|
278
|
+
var l2 = () => r3.createComment("");
|
|
279
|
+
var c3 = (t5) => null === t5 || "object" != typeof t5 && "function" != typeof t5;
|
|
280
|
+
var a2 = Array.isArray;
|
|
281
|
+
var u2 = (t5) => a2(t5) || "function" == typeof t5?.[Symbol.iterator];
|
|
282
|
+
var d2 = "[ \n\f\r]";
|
|
283
|
+
var f2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
|
|
284
|
+
var v = /-->/g;
|
|
285
|
+
var _ = />/g;
|
|
286
|
+
var m = RegExp(`>|${d2}(?:([^\\s"'>=/]+)(${d2}*=${d2}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g");
|
|
288
|
+
var p2 = /'/g;
|
|
289
|
+
var g = /"/g;
|
|
290
|
+
var $ = /^(?:script|style|textarea|title)$/i;
|
|
291
|
+
var y2 = (t5) => (i7, ...s4) => ({ _$litType$: t5, strings: i7, values: s4 });
|
|
292
|
+
var x = y2(1);
|
|
293
|
+
var b2 = y2(2);
|
|
294
|
+
var w = y2(3);
|
|
295
|
+
var T = Symbol.for("lit-noChange");
|
|
296
|
+
var E = Symbol.for("lit-nothing");
|
|
297
|
+
var A = /* @__PURE__ */ new WeakMap();
|
|
298
|
+
var C = r3.createTreeWalker(r3, 129);
|
|
299
|
+
function P(t5, i7) {
|
|
300
|
+
if (!a2(t5) || !t5.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
301
|
+
return void 0 !== s2 ? s2.createHTML(i7) : i7;
|
|
302
|
+
}
|
|
303
|
+
var V = (t5, i7) => {
|
|
304
|
+
const s4 = t5.length - 1, o7 = [];
|
|
305
|
+
let r6, l3 = 2 === i7 ? "<svg>" : 3 === i7 ? "<math>" : "", c4 = f2;
|
|
306
|
+
for (let i8 = 0; i8 < s4; i8++) {
|
|
307
|
+
const s5 = t5[i8];
|
|
308
|
+
let a3, u3, d3 = -1, y3 = 0;
|
|
309
|
+
for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); ) y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
|
|
310
|
+
const x2 = c4 === m && t5[i8 + 1].startsWith("/>") ? " " : "";
|
|
311
|
+
l3 += c4 === f2 ? s5 + n3 : d3 >= 0 ? (o7.push(a3), s5.slice(0, d3) + e3 + s5.slice(d3) + h2 + x2) : s5 + h2 + (-2 === d3 ? i8 : x2);
|
|
312
|
+
}
|
|
313
|
+
return [P(t5, l3 + (t5[s4] || "<?>") + (2 === i7 ? "</svg>" : 3 === i7 ? "</math>" : "")), o7];
|
|
314
|
+
};
|
|
315
|
+
var N = class _N {
|
|
316
|
+
constructor({ strings: t5, _$litType$: s4 }, n6) {
|
|
317
|
+
let r6;
|
|
318
|
+
this.parts = [];
|
|
319
|
+
let c4 = 0, a3 = 0;
|
|
320
|
+
const u3 = t5.length - 1, d3 = this.parts, [f3, v2] = V(t5, s4);
|
|
321
|
+
if (this.el = _N.createElement(f3, n6), C.currentNode = this.el.content, 2 === s4 || 3 === s4) {
|
|
322
|
+
const t6 = this.el.content.firstChild;
|
|
323
|
+
t6.replaceWith(...t6.childNodes);
|
|
324
|
+
}
|
|
325
|
+
for (; null !== (r6 = C.nextNode()) && d3.length < u3; ) {
|
|
326
|
+
if (1 === r6.nodeType) {
|
|
327
|
+
if (r6.hasAttributes()) for (const t6 of r6.getAttributeNames()) if (t6.endsWith(e3)) {
|
|
328
|
+
const i7 = v2[a3++], s5 = r6.getAttribute(t6).split(h2), e8 = /([.?@])?(.*)/.exec(i7);
|
|
329
|
+
d3.push({ type: 1, index: c4, name: e8[2], strings: s5, ctor: "." === e8[1] ? H : "?" === e8[1] ? I : "@" === e8[1] ? L : k }), r6.removeAttribute(t6);
|
|
330
|
+
} else t6.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t6));
|
|
331
|
+
if ($.test(r6.tagName)) {
|
|
332
|
+
const t6 = r6.textContent.split(h2), s5 = t6.length - 1;
|
|
333
|
+
if (s5 > 0) {
|
|
334
|
+
r6.textContent = i3 ? i3.emptyScript : "";
|
|
335
|
+
for (let i7 = 0; i7 < s5; i7++) r6.append(t6[i7], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
|
|
336
|
+
r6.append(t6[s5], l2());
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
} else if (8 === r6.nodeType) if (r6.data === o3) d3.push({ type: 2, index: c4 });
|
|
340
|
+
else {
|
|
341
|
+
let t6 = -1;
|
|
342
|
+
for (; -1 !== (t6 = r6.data.indexOf(h2, t6 + 1)); ) d3.push({ type: 7, index: c4 }), t6 += h2.length - 1;
|
|
343
|
+
}
|
|
344
|
+
c4++;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
static createElement(t5, i7) {
|
|
348
|
+
const s4 = r3.createElement("template");
|
|
349
|
+
return s4.innerHTML = t5, s4;
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
function S2(t5, i7, s4 = t5, e8) {
|
|
353
|
+
if (i7 === T) return i7;
|
|
354
|
+
let h3 = void 0 !== e8 ? s4._$Co?.[e8] : s4._$Cl;
|
|
355
|
+
const o7 = c3(i7) ? void 0 : i7._$litDirective$;
|
|
356
|
+
return h3?.constructor !== o7 && (h3?._$AO?.(false), void 0 === o7 ? h3 = void 0 : (h3 = new o7(t5), h3._$AT(t5, s4, e8)), void 0 !== e8 ? (s4._$Co ?? (s4._$Co = []))[e8] = h3 : s4._$Cl = h3), void 0 !== h3 && (i7 = S2(t5, h3._$AS(t5, i7.values), h3, e8)), i7;
|
|
357
|
+
}
|
|
358
|
+
var M = class {
|
|
359
|
+
constructor(t5, i7) {
|
|
360
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t5, this._$AM = i7;
|
|
361
|
+
}
|
|
362
|
+
get parentNode() {
|
|
363
|
+
return this._$AM.parentNode;
|
|
364
|
+
}
|
|
365
|
+
get _$AU() {
|
|
366
|
+
return this._$AM._$AU;
|
|
367
|
+
}
|
|
368
|
+
u(t5) {
|
|
369
|
+
const { el: { content: i7 }, parts: s4 } = this._$AD, e8 = (t5?.creationScope ?? r3).importNode(i7, true);
|
|
370
|
+
C.currentNode = e8;
|
|
371
|
+
let h3 = C.nextNode(), o7 = 0, n6 = 0, l3 = s4[0];
|
|
372
|
+
for (; void 0 !== l3; ) {
|
|
373
|
+
if (o7 === l3.index) {
|
|
374
|
+
let i8;
|
|
375
|
+
2 === l3.type ? i8 = new R(h3, h3.nextSibling, this, t5) : 1 === l3.type ? i8 = new l3.ctor(h3, l3.name, l3.strings, this, t5) : 6 === l3.type && (i8 = new z(h3, this, t5)), this._$AV.push(i8), l3 = s4[++n6];
|
|
376
|
+
}
|
|
377
|
+
o7 !== l3?.index && (h3 = C.nextNode(), o7++);
|
|
378
|
+
}
|
|
379
|
+
return C.currentNode = r3, e8;
|
|
380
|
+
}
|
|
381
|
+
p(t5) {
|
|
382
|
+
let i7 = 0;
|
|
383
|
+
for (const s4 of this._$AV) void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t5, s4, i7), i7 += s4.strings.length - 2) : s4._$AI(t5[i7])), i7++;
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
var R = class _R {
|
|
387
|
+
get _$AU() {
|
|
388
|
+
return this._$AM?._$AU ?? this._$Cv;
|
|
389
|
+
}
|
|
390
|
+
constructor(t5, i7, s4, e8) {
|
|
391
|
+
this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t5, this._$AB = i7, this._$AM = s4, this.options = e8, this._$Cv = e8?.isConnected ?? true;
|
|
392
|
+
}
|
|
393
|
+
get parentNode() {
|
|
394
|
+
let t5 = this._$AA.parentNode;
|
|
395
|
+
const i7 = this._$AM;
|
|
396
|
+
return void 0 !== i7 && 11 === t5?.nodeType && (t5 = i7.parentNode), t5;
|
|
397
|
+
}
|
|
398
|
+
get startNode() {
|
|
399
|
+
return this._$AA;
|
|
400
|
+
}
|
|
401
|
+
get endNode() {
|
|
402
|
+
return this._$AB;
|
|
403
|
+
}
|
|
404
|
+
_$AI(t5, i7 = this) {
|
|
405
|
+
t5 = S2(this, t5, i7), c3(t5) ? t5 === E || null == t5 || "" === t5 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t5 !== this._$AH && t5 !== T && this._(t5) : void 0 !== t5._$litType$ ? this.$(t5) : void 0 !== t5.nodeType ? this.T(t5) : u2(t5) ? this.k(t5) : this._(t5);
|
|
406
|
+
}
|
|
407
|
+
O(t5) {
|
|
408
|
+
return this._$AA.parentNode.insertBefore(t5, this._$AB);
|
|
409
|
+
}
|
|
410
|
+
T(t5) {
|
|
411
|
+
this._$AH !== t5 && (this._$AR(), this._$AH = this.O(t5));
|
|
412
|
+
}
|
|
413
|
+
_(t5) {
|
|
414
|
+
this._$AH !== E && c3(this._$AH) ? this._$AA.nextSibling.data = t5 : this.T(r3.createTextNode(t5)), this._$AH = t5;
|
|
415
|
+
}
|
|
416
|
+
$(t5) {
|
|
417
|
+
const { values: i7, _$litType$: s4 } = t5, e8 = "number" == typeof s4 ? this._$AC(t5) : (void 0 === s4.el && (s4.el = N.createElement(P(s4.h, s4.h[0]), this.options)), s4);
|
|
418
|
+
if (this._$AH?._$AD === e8) this._$AH.p(i7);
|
|
419
|
+
else {
|
|
420
|
+
const t6 = new M(e8, this), s5 = t6.u(this.options);
|
|
421
|
+
t6.p(i7), this.T(s5), this._$AH = t6;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
_$AC(t5) {
|
|
425
|
+
let i7 = A.get(t5.strings);
|
|
426
|
+
return void 0 === i7 && A.set(t5.strings, i7 = new N(t5)), i7;
|
|
427
|
+
}
|
|
428
|
+
k(t5) {
|
|
429
|
+
a2(this._$AH) || (this._$AH = [], this._$AR());
|
|
430
|
+
const i7 = this._$AH;
|
|
431
|
+
let s4, e8 = 0;
|
|
432
|
+
for (const h3 of t5) e8 === i7.length ? i7.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i7[e8], s4._$AI(h3), e8++;
|
|
433
|
+
e8 < i7.length && (this._$AR(s4 && s4._$AB.nextSibling, e8), i7.length = e8);
|
|
434
|
+
}
|
|
435
|
+
_$AR(t5 = this._$AA.nextSibling, i7) {
|
|
436
|
+
for (this._$AP?.(false, true, i7); t5 && t5 !== this._$AB; ) {
|
|
437
|
+
const i8 = t5.nextSibling;
|
|
438
|
+
t5.remove(), t5 = i8;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
setConnected(t5) {
|
|
442
|
+
void 0 === this._$AM && (this._$Cv = t5, this._$AP?.(t5));
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
var k = class {
|
|
446
|
+
get tagName() {
|
|
447
|
+
return this.element.tagName;
|
|
448
|
+
}
|
|
449
|
+
get _$AU() {
|
|
450
|
+
return this._$AM._$AU;
|
|
451
|
+
}
|
|
452
|
+
constructor(t5, i7, s4, e8, h3) {
|
|
453
|
+
this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t5, this.name = i7, this._$AM = e8, this.options = h3, s4.length > 2 || "" !== s4[0] || "" !== s4[1] ? (this._$AH = Array(s4.length - 1).fill(new String()), this.strings = s4) : this._$AH = E;
|
|
454
|
+
}
|
|
455
|
+
_$AI(t5, i7 = this, s4, e8) {
|
|
456
|
+
const h3 = this.strings;
|
|
457
|
+
let o7 = false;
|
|
458
|
+
if (void 0 === h3) t5 = S2(this, t5, i7, 0), o7 = !c3(t5) || t5 !== this._$AH && t5 !== T, o7 && (this._$AH = t5);
|
|
459
|
+
else {
|
|
460
|
+
const e9 = t5;
|
|
461
|
+
let n6, r6;
|
|
462
|
+
for (t5 = h3[0], n6 = 0; n6 < h3.length - 1; n6++) r6 = S2(this, e9[s4 + n6], i7, n6), r6 === T && (r6 = this._$AH[n6]), o7 || (o7 = !c3(r6) || r6 !== this._$AH[n6]), r6 === E ? t5 = E : t5 !== E && (t5 += (r6 ?? "") + h3[n6 + 1]), this._$AH[n6] = r6;
|
|
463
|
+
}
|
|
464
|
+
o7 && !e8 && this.j(t5);
|
|
465
|
+
}
|
|
466
|
+
j(t5) {
|
|
467
|
+
t5 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t5 ?? "");
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
var H = class extends k {
|
|
471
|
+
constructor() {
|
|
472
|
+
super(...arguments), this.type = 3;
|
|
473
|
+
}
|
|
474
|
+
j(t5) {
|
|
475
|
+
this.element[this.name] = t5 === E ? void 0 : t5;
|
|
476
|
+
}
|
|
477
|
+
};
|
|
478
|
+
var I = class extends k {
|
|
479
|
+
constructor() {
|
|
480
|
+
super(...arguments), this.type = 4;
|
|
481
|
+
}
|
|
482
|
+
j(t5) {
|
|
483
|
+
this.element.toggleAttribute(this.name, !!t5 && t5 !== E);
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
var L = class extends k {
|
|
487
|
+
constructor(t5, i7, s4, e8, h3) {
|
|
488
|
+
super(t5, i7, s4, e8, h3), this.type = 5;
|
|
489
|
+
}
|
|
490
|
+
_$AI(t5, i7 = this) {
|
|
491
|
+
if ((t5 = S2(this, t5, i7, 0) ?? E) === T) return;
|
|
492
|
+
const s4 = this._$AH, e8 = t5 === E && s4 !== E || t5.capture !== s4.capture || t5.once !== s4.once || t5.passive !== s4.passive, h3 = t5 !== E && (s4 === E || e8);
|
|
493
|
+
e8 && this.element.removeEventListener(this.name, this, s4), h3 && this.element.addEventListener(this.name, this, t5), this._$AH = t5;
|
|
494
|
+
}
|
|
495
|
+
handleEvent(t5) {
|
|
496
|
+
"function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t5) : this._$AH.handleEvent(t5);
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
var z = class {
|
|
500
|
+
constructor(t5, i7, s4) {
|
|
501
|
+
this.element = t5, this.type = 6, this._$AN = void 0, this._$AM = i7, this.options = s4;
|
|
502
|
+
}
|
|
503
|
+
get _$AU() {
|
|
504
|
+
return this._$AM._$AU;
|
|
505
|
+
}
|
|
506
|
+
_$AI(t5) {
|
|
507
|
+
S2(this, t5);
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
var j = t2.litHtmlPolyfillSupport;
|
|
511
|
+
j?.(N, R), (t2.litHtmlVersions ?? (t2.litHtmlVersions = [])).push("3.3.0");
|
|
512
|
+
var B = (t5, i7, s4) => {
|
|
513
|
+
const e8 = s4?.renderBefore ?? i7;
|
|
514
|
+
let h3 = e8._$litPart$;
|
|
515
|
+
if (void 0 === h3) {
|
|
516
|
+
const t6 = s4?.renderBefore ?? null;
|
|
517
|
+
e8._$litPart$ = h3 = new R(i7.insertBefore(l2(), t6), t6, void 0, s4 ?? {});
|
|
518
|
+
}
|
|
519
|
+
return h3._$AI(t5), h3;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
// node_modules/lit-element/lit-element.js
|
|
523
|
+
var s3 = globalThis;
|
|
524
|
+
var i4 = class extends y {
|
|
525
|
+
constructor() {
|
|
526
|
+
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
527
|
+
}
|
|
528
|
+
createRenderRoot() {
|
|
529
|
+
var _a;
|
|
530
|
+
const t5 = super.createRenderRoot();
|
|
531
|
+
return (_a = this.renderOptions).renderBefore ?? (_a.renderBefore = t5.firstChild), t5;
|
|
532
|
+
}
|
|
533
|
+
update(t5) {
|
|
534
|
+
const r6 = this.render();
|
|
535
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t5), this._$Do = B(r6, this.renderRoot, this.renderOptions);
|
|
536
|
+
}
|
|
537
|
+
connectedCallback() {
|
|
538
|
+
super.connectedCallback(), this._$Do?.setConnected(true);
|
|
539
|
+
}
|
|
540
|
+
disconnectedCallback() {
|
|
541
|
+
super.disconnectedCallback(), this._$Do?.setConnected(false);
|
|
542
|
+
}
|
|
543
|
+
render() {
|
|
544
|
+
return T;
|
|
545
|
+
}
|
|
546
|
+
};
|
|
547
|
+
i4._$litElement$ = true, i4["finalized"] = true, s3.litElementHydrateSupport?.({ LitElement: i4 });
|
|
548
|
+
var o4 = s3.litElementPolyfillSupport;
|
|
549
|
+
o4?.({ LitElement: i4 });
|
|
550
|
+
(s3.litElementVersions ?? (s3.litElementVersions = [])).push("4.2.0");
|
|
551
|
+
|
|
552
|
+
// node_modules/@lit/reactive-element/decorators/custom-element.js
|
|
553
|
+
var t3 = (t5) => (e8, o7) => {
|
|
554
|
+
void 0 !== o7 ? o7.addInitializer((() => {
|
|
555
|
+
customElements.define(t5, e8);
|
|
556
|
+
})) : customElements.define(t5, e8);
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
// node_modules/@lit/reactive-element/decorators/property.js
|
|
560
|
+
var o5 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
|
|
561
|
+
var r4 = (t5 = o5, e8, r6) => {
|
|
562
|
+
const { kind: n6, metadata: i7 } = r6;
|
|
563
|
+
let s4 = globalThis.litPropertyMetadata.get(i7);
|
|
564
|
+
if (void 0 === s4 && globalThis.litPropertyMetadata.set(i7, s4 = /* @__PURE__ */ new Map()), "setter" === n6 && ((t5 = Object.create(t5)).wrapped = true), s4.set(r6.name, t5), "accessor" === n6) {
|
|
565
|
+
const { name: o7 } = r6;
|
|
566
|
+
return { set(r7) {
|
|
567
|
+
const n7 = e8.get.call(this);
|
|
568
|
+
e8.set.call(this, r7), this.requestUpdate(o7, n7, t5);
|
|
569
|
+
}, init(e9) {
|
|
570
|
+
return void 0 !== e9 && this.C(o7, void 0, t5, e9), e9;
|
|
571
|
+
} };
|
|
572
|
+
}
|
|
573
|
+
if ("setter" === n6) {
|
|
574
|
+
const { name: o7 } = r6;
|
|
575
|
+
return function(r7) {
|
|
576
|
+
const n7 = this[o7];
|
|
577
|
+
e8.call(this, r7), this.requestUpdate(o7, n7, t5);
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
throw Error("Unsupported decorator location: " + n6);
|
|
581
|
+
};
|
|
582
|
+
function n4(t5) {
|
|
583
|
+
return (e8, o7) => "object" == typeof o7 ? r4(t5, e8, o7) : ((t6, e9, o8) => {
|
|
584
|
+
const r6 = e9.hasOwnProperty(o8);
|
|
585
|
+
return e9.constructor.createProperty(o8, t6), r6 ? Object.getOwnPropertyDescriptor(e9, o8) : void 0;
|
|
586
|
+
})(t5, e8, o7);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
// node_modules/@lit/reactive-element/decorators/state.js
|
|
590
|
+
function r5(r6) {
|
|
591
|
+
return n4({ ...r6, state: true, attribute: false });
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// node_modules/@lit/reactive-element/decorators/base.js
|
|
595
|
+
var e4 = (e8, t5, c4) => (c4.configurable = true, c4.enumerable = true, Reflect.decorate && "object" != typeof t5 && Object.defineProperty(e8, t5, c4), c4);
|
|
596
|
+
|
|
597
|
+
// node_modules/@lit/reactive-element/decorators/query.js
|
|
598
|
+
function e5(e8, r6) {
|
|
599
|
+
return (n6, s4, i7) => {
|
|
600
|
+
const o7 = (t5) => t5.renderRoot?.querySelector(e8) ?? null;
|
|
601
|
+
if (r6) {
|
|
602
|
+
const { get: e9, set: r7 } = "object" == typeof s4 ? n6 : i7 ?? (() => {
|
|
603
|
+
const t5 = Symbol();
|
|
604
|
+
return { get() {
|
|
605
|
+
return this[t5];
|
|
606
|
+
}, set(e10) {
|
|
607
|
+
this[t5] = e10;
|
|
608
|
+
} };
|
|
609
|
+
})();
|
|
610
|
+
return e4(n6, s4, { get() {
|
|
611
|
+
let t5 = e9.call(this);
|
|
612
|
+
return void 0 === t5 && (t5 = o7(this), (null !== t5 || this.hasUpdated) && r7.call(this, t5)), t5;
|
|
613
|
+
} });
|
|
614
|
+
}
|
|
615
|
+
return e4(n6, s4, { get() {
|
|
616
|
+
return o7(this);
|
|
617
|
+
} });
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
// src/styles/component-styles/host.css
|
|
622
|
+
var host_default = ":host {\n box-sizing: border-box !important;\n}\n\n:host *,\n:host *::before,\n:host *::after {\n box-sizing: inherit !important;\n}\n\n[hidden] {\n display: none !important;\n}\n";
|
|
623
|
+
|
|
624
|
+
// src/internal/placer-element.ts
|
|
625
|
+
var PlacerElement = class extends i4 {
|
|
626
|
+
constructor() {
|
|
627
|
+
super();
|
|
628
|
+
this.hasRecordedInitialProperties = false;
|
|
629
|
+
this.initialReflectedProperties = /* @__PURE__ */ new Map();
|
|
630
|
+
/** A method to set and check custom states. */
|
|
631
|
+
this.customStates = {
|
|
632
|
+
/** Adds or removes the specified custom state. */
|
|
633
|
+
set: (customState, active) => {
|
|
634
|
+
if (!Boolean(this.internals?.states)) {
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
if (active) {
|
|
638
|
+
this.internals.states.add(customState);
|
|
639
|
+
} else {
|
|
640
|
+
this.internals.states.delete(customState);
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
/** Determines whether or not the element currently has the specified state. */
|
|
644
|
+
has: (customState) => {
|
|
645
|
+
if (!Boolean(this.internals?.states)) {
|
|
646
|
+
return false;
|
|
647
|
+
}
|
|
648
|
+
return this.internals.states.has(customState);
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
try {
|
|
652
|
+
this.internals = this.attachInternals();
|
|
653
|
+
} catch {
|
|
654
|
+
console.error(
|
|
655
|
+
"Element internals are not supported in your browser. Consider using a polyfill."
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
this.customStates.set("pc-defined", true);
|
|
659
|
+
let Self = this.constructor;
|
|
660
|
+
for (let [property, spec] of Self.elementProperties) {
|
|
661
|
+
if (spec.default === "inherit" && spec.initial !== void 0 && typeof property === "string") {
|
|
662
|
+
this.customStates.set(
|
|
663
|
+
`initial-${property}-${spec.initial}`,
|
|
664
|
+
true
|
|
665
|
+
);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
/** Override the default `styles` property to fetch and convert string CSS files. Components can override this behavior by setting their own `static styles = []` property. */
|
|
670
|
+
static get styles() {
|
|
671
|
+
const styles = Array.isArray(this.css) ? this.css : this.css ? [this.css] : [];
|
|
672
|
+
return [host_default, ...styles].map(
|
|
673
|
+
(style) => typeof style === "string" ? r(style) : style
|
|
674
|
+
);
|
|
675
|
+
}
|
|
676
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
677
|
+
if (!this.hasRecordedInitialProperties) {
|
|
678
|
+
this.constructor.elementProperties.forEach((object, property) => {
|
|
679
|
+
if (typeof property === "string" && object.reflect) {
|
|
680
|
+
const value = this[property];
|
|
681
|
+
if (value != null) {
|
|
682
|
+
this.initialReflectedProperties.set(property, value);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
});
|
|
686
|
+
this.hasRecordedInitialProperties = true;
|
|
687
|
+
}
|
|
688
|
+
super.attributeChangedCallback(name, oldValue, newValue);
|
|
689
|
+
}
|
|
690
|
+
willUpdate(changedProperties) {
|
|
691
|
+
super.willUpdate(changedProperties);
|
|
692
|
+
this.initialReflectedProperties.forEach((value, prop) => {
|
|
693
|
+
if (changedProperties.has(prop) && this[prop] == null) {
|
|
694
|
+
this[prop] = value;
|
|
695
|
+
}
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
firstUpdated(changedProperties) {
|
|
699
|
+
super.firstUpdated(changedProperties);
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
__decorateClass([
|
|
703
|
+
n4()
|
|
704
|
+
], PlacerElement.prototype, "lang", 2);
|
|
705
|
+
__decorateClass([
|
|
706
|
+
n4()
|
|
707
|
+
], PlacerElement.prototype, "dir", 2);
|
|
708
|
+
|
|
709
|
+
// node_modules/lit-html/directive.js
|
|
710
|
+
var t4 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
|
|
711
|
+
var e6 = (t5) => (...e8) => ({ _$litDirective$: t5, values: e8 });
|
|
712
|
+
var i5 = class {
|
|
713
|
+
constructor(t5) {
|
|
714
|
+
}
|
|
715
|
+
get _$AU() {
|
|
716
|
+
return this._$AM._$AU;
|
|
717
|
+
}
|
|
718
|
+
_$AT(t5, e8, i7) {
|
|
719
|
+
this._$Ct = t5, this._$AM = e8, this._$Ci = i7;
|
|
720
|
+
}
|
|
721
|
+
_$AS(t5, e8) {
|
|
722
|
+
return this.update(t5, e8);
|
|
723
|
+
}
|
|
724
|
+
update(t5, e8) {
|
|
725
|
+
return this.render(...e8);
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
// node_modules/lit-html/directives/class-map.js
|
|
730
|
+
var e7 = e6(class extends i5 {
|
|
731
|
+
constructor(t5) {
|
|
732
|
+
if (super(t5), t5.type !== t4.ATTRIBUTE || "class" !== t5.name || t5.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
733
|
+
}
|
|
734
|
+
render(t5) {
|
|
735
|
+
return " " + Object.keys(t5).filter(((s4) => t5[s4])).join(" ") + " ";
|
|
736
|
+
}
|
|
737
|
+
update(s4, [i7]) {
|
|
738
|
+
if (void 0 === this.st) {
|
|
739
|
+
this.st = /* @__PURE__ */ new Set(), void 0 !== s4.strings && (this.nt = new Set(s4.strings.join(" ").split(/\s/).filter(((t5) => "" !== t5))));
|
|
740
|
+
for (const t5 in i7) i7[t5] && !this.nt?.has(t5) && this.st.add(t5);
|
|
741
|
+
return this.render(i7);
|
|
742
|
+
}
|
|
743
|
+
const r6 = s4.element.classList;
|
|
744
|
+
for (const t5 of this.st) t5 in i7 || (r6.remove(t5), this.st.delete(t5));
|
|
745
|
+
for (const t5 in i7) {
|
|
746
|
+
const s5 = !!i7[t5];
|
|
747
|
+
s5 === this.st.has(t5) || this.nt?.has(t5) || (s5 ? (r6.add(t5), this.st.add(t5)) : (r6.remove(t5), this.st.delete(t5)));
|
|
748
|
+
}
|
|
749
|
+
return T;
|
|
750
|
+
}
|
|
751
|
+
});
|
|
752
|
+
|
|
753
|
+
// node_modules/lit-html/directives/style-map.js
|
|
754
|
+
var n5 = "important";
|
|
755
|
+
var i6 = " !" + n5;
|
|
756
|
+
var o6 = e6(class extends i5 {
|
|
757
|
+
constructor(t5) {
|
|
758
|
+
if (super(t5), t5.type !== t4.ATTRIBUTE || "style" !== t5.name || t5.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
759
|
+
}
|
|
760
|
+
render(t5) {
|
|
761
|
+
return Object.keys(t5).reduce(((e8, r6) => {
|
|
762
|
+
const s4 = t5[r6];
|
|
763
|
+
return null == s4 ? e8 : e8 + `${r6 = r6.includes("-") ? r6 : r6.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s4};`;
|
|
764
|
+
}), "");
|
|
765
|
+
}
|
|
766
|
+
update(e8, [r6]) {
|
|
767
|
+
const { style: s4 } = e8.element;
|
|
768
|
+
if (void 0 === this.ft) return this.ft = new Set(Object.keys(r6)), this.render(r6);
|
|
769
|
+
for (const t5 of this.ft) null == r6[t5] && (this.ft.delete(t5), t5.includes("-") ? s4.removeProperty(t5) : s4[t5] = null);
|
|
770
|
+
for (const t5 in r6) {
|
|
771
|
+
const e9 = r6[t5];
|
|
772
|
+
if (null != e9) {
|
|
773
|
+
this.ft.add(t5);
|
|
774
|
+
const r7 = "string" == typeof e9 && e9.endsWith(i6);
|
|
775
|
+
t5.includes("-") || r7 ? s4.setProperty(t5, r7 ? e9.slice(0, -11) : e9, r7 ? n5 : "") : s4[t5] = e9;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
return T;
|
|
779
|
+
}
|
|
780
|
+
});
|
|
781
|
+
|
|
782
|
+
// src/translations/index.ts
|
|
783
|
+
var connectedElements = /* @__PURE__ */ new Set();
|
|
784
|
+
var translations = /* @__PURE__ */ new Map();
|
|
785
|
+
var fallback;
|
|
786
|
+
var documentDirection = "ltr";
|
|
787
|
+
var documentLanguage = "en";
|
|
788
|
+
var isClient = typeof MutationObserver !== "undefined" && typeof document !== "undefined" && typeof document.documentElement !== "undefined";
|
|
789
|
+
if (isClient) {
|
|
790
|
+
const documentElementObserver = new MutationObserver(update);
|
|
791
|
+
documentDirection = document.documentElement.dir || "ltr";
|
|
792
|
+
documentLanguage = document.documentElement.lang || navigator.language;
|
|
793
|
+
documentElementObserver.observe(document.documentElement, {
|
|
794
|
+
attributes: true,
|
|
795
|
+
attributeFilter: ["dir", "lang"]
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
function registerTranslation(...translation2) {
|
|
799
|
+
translation2.map((t5) => {
|
|
800
|
+
const code = t5.$code.toLowerCase();
|
|
801
|
+
if (translations.has(code)) {
|
|
802
|
+
translations.set(code, { ...translations.get(code), ...t5 });
|
|
803
|
+
} else {
|
|
804
|
+
translations.set(code, t5);
|
|
805
|
+
}
|
|
806
|
+
if (!fallback) {
|
|
807
|
+
fallback = t5;
|
|
808
|
+
}
|
|
809
|
+
});
|
|
810
|
+
update();
|
|
811
|
+
}
|
|
812
|
+
function update() {
|
|
813
|
+
if (isClient) {
|
|
814
|
+
documentDirection = document.documentElement.dir || "ltr";
|
|
815
|
+
documentLanguage = document.documentElement.lang || navigator.language;
|
|
816
|
+
}
|
|
817
|
+
[...connectedElements.keys()].map((element) => {
|
|
818
|
+
if (element instanceof i4 && typeof element.requestUpdate === "function") {
|
|
819
|
+
element.requestUpdate();
|
|
820
|
+
}
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
var LocalizeController = class {
|
|
824
|
+
constructor(host) {
|
|
825
|
+
this.host = host;
|
|
826
|
+
this.host.addController(this);
|
|
827
|
+
}
|
|
828
|
+
hostConnected() {
|
|
829
|
+
connectedElements.add(this.host);
|
|
830
|
+
}
|
|
831
|
+
hostDisconnected() {
|
|
832
|
+
connectedElements.delete(this.host);
|
|
833
|
+
}
|
|
834
|
+
/** Gets the host element’s direction as determined by the `dir` attribute. The returned value is lowercase. */
|
|
835
|
+
dir() {
|
|
836
|
+
return `${this.host.dir || documentDirection}`.toLowerCase();
|
|
837
|
+
}
|
|
838
|
+
/** Gets the host element’s language as determined by the `lang` attribute. The returned value is lowercase. */
|
|
839
|
+
lang() {
|
|
840
|
+
return `${this.host.lang || documentLanguage}`.toLowerCase();
|
|
841
|
+
}
|
|
842
|
+
getTranslationData(lang) {
|
|
843
|
+
const locale = new Intl.Locale(lang.replace(/_/g, "-"));
|
|
844
|
+
const language = locale?.language.toLowerCase();
|
|
845
|
+
const region = locale?.region?.toLowerCase() ?? "";
|
|
846
|
+
const primary = translations.get(`${language}-${region}`);
|
|
847
|
+
const secondary = translations.get(language);
|
|
848
|
+
return { locale, language, region, primary, secondary };
|
|
849
|
+
}
|
|
850
|
+
/** Determines if the specified term exists, optionally checking the fallback translation. */
|
|
851
|
+
exists(key, options) {
|
|
852
|
+
const { primary, secondary } = this.getTranslationData(
|
|
853
|
+
options.lang ?? this.lang()
|
|
854
|
+
);
|
|
855
|
+
options = {
|
|
856
|
+
includeFallback: false,
|
|
857
|
+
...options
|
|
858
|
+
};
|
|
859
|
+
if (primary && primary[key] || secondary && secondary[key] || options.includeFallback && fallback && fallback[key]) {
|
|
860
|
+
return true;
|
|
861
|
+
}
|
|
862
|
+
return false;
|
|
863
|
+
}
|
|
864
|
+
/** Outputs a translated term. */
|
|
865
|
+
term(key, ...args) {
|
|
866
|
+
const { primary, secondary } = this.getTranslationData(this.lang());
|
|
867
|
+
let term;
|
|
868
|
+
if (primary && primary[key]) {
|
|
869
|
+
term = primary[key];
|
|
870
|
+
} else if (secondary && secondary[key]) {
|
|
871
|
+
term = secondary[key];
|
|
872
|
+
} else if (fallback && fallback[key]) {
|
|
873
|
+
term = fallback[key];
|
|
874
|
+
} else {
|
|
875
|
+
console.error(`No translation was found for \u201C${String(key)}\u201D.`);
|
|
876
|
+
return String(key);
|
|
877
|
+
}
|
|
878
|
+
if (typeof term === "function") {
|
|
879
|
+
return term(...args);
|
|
880
|
+
}
|
|
881
|
+
return term;
|
|
882
|
+
}
|
|
883
|
+
/** Outputs a localised date in the specified format. */
|
|
884
|
+
date(dateToFormat, options) {
|
|
885
|
+
dateToFormat = new Date(dateToFormat);
|
|
886
|
+
return new Intl.DateTimeFormat(this.lang(), options).format(
|
|
887
|
+
dateToFormat
|
|
888
|
+
);
|
|
889
|
+
}
|
|
890
|
+
/** Outputs a localised number in the specified format. */
|
|
891
|
+
number(numberToFormat, options) {
|
|
892
|
+
numberToFormat = Number(numberToFormat);
|
|
893
|
+
return isNaN(numberToFormat) ? "" : new Intl.NumberFormat(this.lang(), options).format(
|
|
894
|
+
numberToFormat
|
|
895
|
+
);
|
|
896
|
+
}
|
|
897
|
+
/** Outputs a localised time in relative format. */
|
|
898
|
+
relativeTime(value, unit, options) {
|
|
899
|
+
return new Intl.RelativeTimeFormat(this.lang(), options).format(
|
|
900
|
+
value,
|
|
901
|
+
unit
|
|
902
|
+
);
|
|
903
|
+
}
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
// src/translations/en.ts
|
|
907
|
+
var translation = {
|
|
908
|
+
$code: "en",
|
|
909
|
+
$name: "English",
|
|
910
|
+
$dir: "ltr",
|
|
911
|
+
carousel: "Carousel",
|
|
912
|
+
clearEntry: "Clear entry",
|
|
913
|
+
close: "Close",
|
|
914
|
+
copied: "Copied!",
|
|
915
|
+
copy: "Copy",
|
|
916
|
+
currentValue: "Current value",
|
|
917
|
+
error: "Error",
|
|
918
|
+
goToSlide: (slide, count) => `Go to slide ${slide} of ${count}`,
|
|
919
|
+
hidePassword: "Hide password",
|
|
920
|
+
hue: "Hue",
|
|
921
|
+
loading: "Loading\u2026",
|
|
922
|
+
nextSlide: "Next slide",
|
|
923
|
+
numOptionsSelected: (number) => {
|
|
924
|
+
if (number === 0) {
|
|
925
|
+
return "No options selected";
|
|
926
|
+
} else if (number === 1) {
|
|
927
|
+
return "One option selected";
|
|
928
|
+
} else {
|
|
929
|
+
return `${number} options selected`;
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
opacity: "Opacity",
|
|
933
|
+
pickAColorFromTheScreen: "Pick a color from the screen",
|
|
934
|
+
previousSlide: "Previous slide",
|
|
935
|
+
progress: "Progress",
|
|
936
|
+
remove: "Remove",
|
|
937
|
+
resize: "Resize",
|
|
938
|
+
scrollableRegion: "Scrollable region",
|
|
939
|
+
scrollToEnd: "Scroll to end",
|
|
940
|
+
scrollToStart: "Scroll to start",
|
|
941
|
+
showPassword: "Show password",
|
|
942
|
+
slideNum: (slide) => `Slide ${slide}`,
|
|
943
|
+
toggleColorFormat: "Toggle color format"
|
|
944
|
+
};
|
|
945
|
+
registerTranslation(translation);
|
|
946
|
+
var en_default = translation;
|
|
947
|
+
|
|
948
|
+
// src/utilities/localize.ts
|
|
949
|
+
var LocalizeController2 = class extends LocalizeController {
|
|
950
|
+
};
|
|
951
|
+
registerTranslation(en_default);
|
|
952
|
+
|
|
953
|
+
// src/internal/math.ts
|
|
954
|
+
function clamp(value, min, max) {
|
|
955
|
+
const noNegativeZero = (number) => Object.is(number, -0) ? 0 : number;
|
|
956
|
+
if (value < min) {
|
|
957
|
+
return noNegativeZero(min);
|
|
958
|
+
}
|
|
959
|
+
if (value > max) {
|
|
960
|
+
return noNegativeZero(max);
|
|
961
|
+
}
|
|
962
|
+
return noNegativeZero(value);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
// src/internal/drag.ts
|
|
966
|
+
function drag(container, options) {
|
|
967
|
+
function move(pointerEvent) {
|
|
968
|
+
const dims = container.getBoundingClientRect();
|
|
969
|
+
const defaultView = container.ownerDocument.defaultView;
|
|
970
|
+
const offsetX = dims.left + defaultView.scrollX;
|
|
971
|
+
const offsetY = dims.top + defaultView.scrollY;
|
|
972
|
+
const x2 = pointerEvent.pageX - offsetX;
|
|
973
|
+
const y3 = pointerEvent.pageY - offsetY;
|
|
974
|
+
if (options?.onMove) {
|
|
975
|
+
options.onMove(x2, y3);
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
function stop() {
|
|
979
|
+
document.removeEventListener("pointermove", move);
|
|
980
|
+
document.removeEventListener("pointerup", stop);
|
|
981
|
+
if (options?.onStop) {
|
|
982
|
+
options.onStop();
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
document.addEventListener("pointermove", move, { passive: true });
|
|
986
|
+
document.addEventListener("pointerup", stop);
|
|
987
|
+
if (options?.initialEvent instanceof PointerEvent) {
|
|
988
|
+
move(options.initialEvent);
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
// src/internal/watch.ts
|
|
993
|
+
function watch(propertyName, options) {
|
|
994
|
+
const resolvedOptions = {
|
|
995
|
+
waitUntilFirstUpdate: false,
|
|
996
|
+
...options
|
|
997
|
+
};
|
|
998
|
+
return (proto, decoratedFnName) => {
|
|
999
|
+
const { update: update2 } = proto;
|
|
1000
|
+
const watchedProperties = Array.isArray(propertyName) ? propertyName : [propertyName];
|
|
1001
|
+
proto.update = function(changedProps) {
|
|
1002
|
+
watchedProperties.forEach((property) => {
|
|
1003
|
+
const key = property;
|
|
1004
|
+
if (changedProps.has(key)) {
|
|
1005
|
+
const oldValue = changedProps.get(key);
|
|
1006
|
+
const newValue = this[key];
|
|
1007
|
+
if (oldValue !== newValue) {
|
|
1008
|
+
if (!resolvedOptions.waitUntilFirstUpdate || this.hasUpdated) {
|
|
1009
|
+
this[decoratedFnName](
|
|
1010
|
+
oldValue,
|
|
1011
|
+
newValue
|
|
1012
|
+
);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
});
|
|
1017
|
+
update2.call(this, changedProps);
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
// src/internal/emit.ts
|
|
1023
|
+
function emit(target, eventName, eventDetail) {
|
|
1024
|
+
const { detail, cancelable, ...options } = eventDetail || {};
|
|
1025
|
+
const event = new CustomEvent(eventName, {
|
|
1026
|
+
bubbles: true,
|
|
1027
|
+
cancelable: cancelable !== void 0 ? cancelable : false,
|
|
1028
|
+
composed: true,
|
|
1029
|
+
detail,
|
|
1030
|
+
...options
|
|
1031
|
+
});
|
|
1032
|
+
target.dispatchEvent(event);
|
|
1033
|
+
return event;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
// src/utilities/kit-code.ts
|
|
1037
|
+
var kitCode = "";
|
|
1038
|
+
function setKitCode(code) {
|
|
1039
|
+
kitCode = code;
|
|
1040
|
+
}
|
|
1041
|
+
function getKitCode() {
|
|
1042
|
+
if (!kitCode) {
|
|
1043
|
+
const element = document.querySelector("[data-fa-kit-code]");
|
|
1044
|
+
if (element) {
|
|
1045
|
+
setKitCode(element.getAttribute("data-fa-kit-code") || "");
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
return kitCode;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
// src/components/icon/library.default.ts
|
|
1052
|
+
var faVersion = "7.1.0";
|
|
1053
|
+
function getIconURL(name, iconStyle, autoWidth) {
|
|
1054
|
+
const basePath = autoWidth ? "svgs" : "svgs-full";
|
|
1055
|
+
const kitCode2 = getKitCode();
|
|
1056
|
+
const isPro = kitCode2.length > 0;
|
|
1057
|
+
return isPro ? `https://ka-p.fontawesome.com/releases/v${faVersion}/${basePath}/${iconStyle}/${name}.svg?token=${encodeURIComponent(kitCode2)}` : `https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@${faVersion}/${basePath}/${iconStyle}/${name}.svg`;
|
|
1058
|
+
}
|
|
1059
|
+
var library = {
|
|
1060
|
+
name: "default",
|
|
1061
|
+
resolver: (name, iconStyle = "solid", autoWidth = false) => {
|
|
1062
|
+
return getIconURL(name, iconStyle, autoWidth);
|
|
1063
|
+
},
|
|
1064
|
+
mutator: (svg, hostElement) => {
|
|
1065
|
+
if (hostElement?.iconStyle && !svg.hasAttribute("data-duotone-initialized")) {
|
|
1066
|
+
const { iconStyle } = hostElement;
|
|
1067
|
+
if (iconStyle?.startsWith("duotone") || iconStyle?.startsWith("sharp-duotone") || iconStyle === "jelly-duo-regular" || iconStyle === "notdog-duo-solid" || iconStyle?.startsWith("thumbprint") || iconStyle === "utility-duo-semibold") {
|
|
1068
|
+
const paths = [...svg.querySelectorAll("path")];
|
|
1069
|
+
const primaryPath = paths.find(
|
|
1070
|
+
(path) => !path.hasAttribute("opacity")
|
|
1071
|
+
);
|
|
1072
|
+
const secondaryPath = paths.find(
|
|
1073
|
+
(path) => path.hasAttribute("opacity")
|
|
1074
|
+
);
|
|
1075
|
+
if (!primaryPath || !secondaryPath) {
|
|
1076
|
+
return;
|
|
1077
|
+
}
|
|
1078
|
+
primaryPath.setAttribute("data-duotone-primary", "");
|
|
1079
|
+
secondaryPath.setAttribute("data-duotone-secondary", "");
|
|
1080
|
+
if (hostElement.swapOpacity && primaryPath && secondaryPath) {
|
|
1081
|
+
const originalOpacity = secondaryPath.getAttribute("opacity") || "0.4";
|
|
1082
|
+
primaryPath.style.setProperty(
|
|
1083
|
+
"--fa-primary-opacity",
|
|
1084
|
+
originalOpacity
|
|
1085
|
+
);
|
|
1086
|
+
secondaryPath.style.setProperty(
|
|
1087
|
+
"--fa-secondary-opacity",
|
|
1088
|
+
"1"
|
|
1089
|
+
);
|
|
1090
|
+
}
|
|
1091
|
+
svg.setAttribute("data-duotone-initialized", "");
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
};
|
|
1096
|
+
var library_default_default = library;
|
|
1097
|
+
|
|
1098
|
+
// src/components/icon/library.system.ts
|
|
1099
|
+
var icons = {
|
|
1100
|
+
solid: {
|
|
1101
|
+
"check": `
|
|
1102
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1103
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1104
|
+
<path
|
|
1105
|
+
d="M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z"
|
|
1106
|
+
/>
|
|
1107
|
+
</svg>
|
|
1108
|
+
`,
|
|
1109
|
+
"chevron-down": `
|
|
1110
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1111
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1112
|
+
<path
|
|
1113
|
+
d="M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z"
|
|
1114
|
+
/>
|
|
1115
|
+
</svg>
|
|
1116
|
+
`,
|
|
1117
|
+
"chevron-left": `
|
|
1118
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1119
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1120
|
+
<path
|
|
1121
|
+
d="M169.4 297.4C156.9 309.9 156.9 330.2 169.4 342.7L361.4 534.7C373.9 547.2 394.2 547.2 406.7 534.7C419.2 522.2 419.2 501.9 406.7 489.4L237.3 320L406.6 150.6C419.1 138.1 419.1 117.8 406.6 105.3C394.1 92.8 373.8 92.8 361.3 105.3L169.3 297.3z"
|
|
1122
|
+
/>
|
|
1123
|
+
</svg>
|
|
1124
|
+
`,
|
|
1125
|
+
"chevron-right": `
|
|
1126
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1127
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1128
|
+
<path
|
|
1129
|
+
d="M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z"
|
|
1130
|
+
/>
|
|
1131
|
+
</svg>
|
|
1132
|
+
`,
|
|
1133
|
+
"eye-dropper": `
|
|
1134
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1135
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1136
|
+
<path
|
|
1137
|
+
d="M405.6 93.2L304 194.8L294.6 185.4C282.1 172.9 261.8 172.9 249.3 185.4C236.8 197.9 236.8 218.2 249.3 230.7L409.3 390.7C421.8 403.2 442.1 403.2 454.6 390.7C467.1 378.2 467.1 357.9 454.6 345.4L445.2 336L546.8 234.4C585.8 195.4 585.8 132.2 546.8 93.3C507.8 54.4 444.6 54.3 405.7 93.3zM119.4 387.3C104.4 402.3 96 422.7 96 443.9L96 486.3L69.4 526.2C60.9 538.9 62.6 555.8 73.4 566.6C84.2 577.4 101.1 579.1 113.8 570.6L153.7 544L196.1 544C217.3 544 237.7 535.6 252.7 520.6L362.1 411.2L316.8 365.9L207.4 475.3C204.4 478.3 200.3 480 196.1 480L160 480L160 443.9C160 439.7 161.7 435.6 164.7 432.6L274.1 323.2L228.8 277.9L119.4 387.3z"
|
|
1138
|
+
/>
|
|
1139
|
+
</svg>
|
|
1140
|
+
`,
|
|
1141
|
+
"grip-vertical": `
|
|
1142
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1143
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1144
|
+
<path
|
|
1145
|
+
d="M288 104C288 81.9 270.1 64 248 64L200 64C177.9 64 160 81.9 160 104L160 152C160 174.1 177.9 192 200 192L248 192C270.1 192 288 174.1 288 152L288 104zM288 296C288 273.9 270.1 256 248 256L200 256C177.9 256 160 273.9 160 296L160 344C160 366.1 177.9 384 200 384L248 384C270.1 384 288 366.1 288 344L288 296zM160 488L160 536C160 558.1 177.9 576 200 576L248 576C270.1 576 288 558.1 288 536L288 488C288 465.9 270.1 448 248 448L200 448C177.9 448 160 465.9 160 488zM480 104C480 81.9 462.1 64 440 64L392 64C369.9 64 352 81.9 352 104L352 152C352 174.1 369.9 192 392 192L440 192C462.1 192 480 174.1 480 152L480 104zM352 296L352 344C352 366.1 369.9 384 392 384L440 384C462.1 384 480 366.1 480 344L480 296C480 273.9 462.1 256 440 256L392 256C369.9 256 352 273.9 352 296zM480 488C480 465.9 462.1 448 440 448L392 448C369.9 448 352 465.9 352 488L352 536C352 558.1 369.9 576 392 576L440 576C462.1 576 480 558.1 480 536L480 488z"
|
|
1146
|
+
/>
|
|
1147
|
+
</svg>
|
|
1148
|
+
`,
|
|
1149
|
+
"minus": `
|
|
1150
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1151
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1152
|
+
<path
|
|
1153
|
+
d="M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z"
|
|
1154
|
+
/>
|
|
1155
|
+
</svg>
|
|
1156
|
+
`,
|
|
1157
|
+
"star": `
|
|
1158
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1159
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1160
|
+
<path
|
|
1161
|
+
d="M341.5 45.1C337.4 37.1 329.1 32 320.1 32C311.1 32 302.8 37.1 298.7 45.1L225.1 189.3L65.2 214.7C56.3 216.1 48.9 222.4 46.1 231C43.3 239.6 45.6 249 51.9 255.4L166.3 369.9L141.1 529.8C139.7 538.7 143.4 547.7 150.7 553C158 558.3 167.6 559.1 175.7 555L320.1 481.6L464.4 555C472.4 559.1 482.1 558.3 489.4 553C496.7 547.7 500.4 538.8 499 529.8L473.7 369.9L588.1 255.4C594.5 249 596.7 239.6 593.9 231C591.1 222.4 583.8 216.1 574.8 214.7L415 189.3L341.5 45.1z"
|
|
1162
|
+
/>
|
|
1163
|
+
</svg>
|
|
1164
|
+
`,
|
|
1165
|
+
"user": `
|
|
1166
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1167
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1168
|
+
<path
|
|
1169
|
+
d="M320 312C386.3 312 440 258.3 440 192C440 125.7 386.3 72 320 72C253.7 72 200 125.7 200 192C200 258.3 253.7 312 320 312zM290.3 368C191.8 368 112 447.8 112 546.3C112 562.7 125.3 576 141.7 576L498.3 576C514.7 576 528 562.7 528 546.3C528 447.8 448.2 368 349.7 368L290.3 368z"
|
|
1170
|
+
/>
|
|
1171
|
+
</svg>
|
|
1172
|
+
`,
|
|
1173
|
+
"xmark": `
|
|
1174
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1175
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1176
|
+
<path
|
|
1177
|
+
d="M183.1 137.4C170.6 124.9 150.3 124.9 137.8 137.4C125.3 149.9 125.3 170.2 137.8 182.7L275.2 320L137.9 457.4C125.4 469.9 125.4 490.2 137.9 502.7C150.4 515.2 170.7 515.2 183.2 502.7L320.5 365.3L457.9 502.6C470.4 515.1 490.7 515.1 503.2 502.6C515.7 490.1 515.7 469.8 503.2 457.3L365.8 320L503.1 182.6C515.6 170.1 515.6 149.8 503.1 137.3C490.6 124.8 470.3 124.8 457.8 137.3L320.5 274.7L183.1 137.4z"
|
|
1178
|
+
/>
|
|
1179
|
+
</svg>
|
|
1180
|
+
`
|
|
1181
|
+
},
|
|
1182
|
+
regular: {
|
|
1183
|
+
"circle-question": `
|
|
1184
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1185
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1186
|
+
<path
|
|
1187
|
+
d="M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320zM320 240C302.3 240 288 254.3 288 272C288 285.3 277.3 296 264 296C250.7 296 240 285.3 240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1zM288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432z"
|
|
1188
|
+
/>
|
|
1189
|
+
</svg>
|
|
1190
|
+
`,
|
|
1191
|
+
"circle-xmark": `
|
|
1192
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1193
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1194
|
+
<path
|
|
1195
|
+
d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM231 231C221.6 240.4 221.6 255.6 231 264.9L286 319.9L231 374.9C221.6 384.3 221.6 399.5 231 408.8C240.4 418.1 255.6 418.2 264.9 408.8L319.9 353.8L374.9 408.8C384.3 418.2 399.5 418.2 408.8 408.8C418.1 399.4 418.2 384.2 408.8 374.9L353.8 319.9L408.8 264.9C418.2 255.5 418.2 240.3 408.8 231C399.4 221.7 384.2 221.6 374.9 231L319.9 286L264.9 231C255.5 221.6 240.3 221.6 231 231z"
|
|
1196
|
+
/>
|
|
1197
|
+
</svg>
|
|
1198
|
+
`,
|
|
1199
|
+
"copy": `
|
|
1200
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1201
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1202
|
+
<path
|
|
1203
|
+
d="M480 400L288 400C279.2 400 272 392.8 272 384L272 128C272 119.2 279.2 112 288 112L421.5 112C425.7 112 429.8 113.7 432.8 116.7L491.3 175.2C494.3 178.2 496 182.3 496 186.5L496 384C496 392.8 488.8 400 480 400zM288 448L480 448C515.3 448 544 419.3 544 384L544 186.5C544 169.5 537.3 153.2 525.3 141.2L466.7 82.7C454.7 70.7 438.5 64 421.5 64L288 64C252.7 64 224 92.7 224 128L224 384C224 419.3 252.7 448 288 448zM160 192C124.7 192 96 220.7 96 256L96 512C96 547.3 124.7 576 160 576L352 576C387.3 576 416 547.3 416 512L416 496L368 496L368 512C368 520.8 360.8 528 352 528L160 528C151.2 528 144 520.8 144 512L144 256C144 247.2 151.2 240 160 240L176 240L176 192L160 192z"
|
|
1204
|
+
/>
|
|
1205
|
+
</svg>
|
|
1206
|
+
`,
|
|
1207
|
+
"eye": `
|
|
1208
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1209
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1210
|
+
<path
|
|
1211
|
+
d="M320 144C254.8 144 201.2 173.6 160.1 211.7C121.6 247.5 95 290 81.4 320C95 350 121.6 392.5 160.1 428.3C201.2 466.4 254.8 496 320 496C385.2 496 438.8 466.4 479.9 428.3C518.4 392.5 545 350 558.6 320C545 290 518.4 247.5 479.9 211.7C438.8 173.6 385.2 144 320 144zM127.4 176.6C174.5 132.8 239.2 96 320 96C400.8 96 465.5 132.8 512.6 176.6C559.4 220.1 590.7 272 605.6 307.7C608.9 315.6 608.9 324.4 605.6 332.3C590.7 368 559.4 420 512.6 463.4C465.5 507.1 400.8 544 320 544C239.2 544 174.5 507.2 127.4 463.4C80.6 419.9 49.3 368 34.4 332.3C31.1 324.4 31.1 315.6 34.4 307.7C49.3 272 80.6 220 127.4 176.6zM320 400C364.2 400 400 364.2 400 320C400 290.4 383.9 264.5 360 250.7C358.6 310.4 310.4 358.6 250.7 360C264.5 383.9 290.4 400 320 400zM240.4 311.6C242.9 311.9 245.4 312 248 312C283.3 312 312 283.3 312 248C312 245.4 311.8 242.9 311.6 240.4C274.2 244.3 244.4 274.1 240.5 311.5zM286 196.6C296.8 193.6 308.2 192.1 319.9 192.1C328.7 192.1 337.4 193 345.7 194.7C346 194.8 346.2 194.8 346.5 194.9C404.4 207.1 447.9 258.6 447.9 320.1C447.9 390.8 390.6 448.1 319.9 448.1C258.3 448.1 206.9 404.6 194.7 346.7C192.9 338.1 191.9 329.2 191.9 320.1C191.9 309.1 193.3 298.3 195.9 288.1C196.1 287.4 196.2 286.8 196.4 286.2C208.3 242.8 242.5 208.6 285.9 196.7z"
|
|
1212
|
+
/>
|
|
1213
|
+
</svg>
|
|
1214
|
+
`,
|
|
1215
|
+
"eye-slash": `
|
|
1216
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
1217
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
1218
|
+
<path
|
|
1219
|
+
d="M73 39.1C63.6 29.7 48.4 29.7 39.1 39.1C29.8 48.5 29.7 63.7 39 73.1L567 601.1C576.4 610.5 591.6 610.5 600.9 601.1C610.2 591.7 610.3 576.5 600.9 567.2L504.5 470.8C507.2 468.4 509.9 466 512.5 463.6C559.3 420.1 590.6 368.2 605.5 332.5C608.8 324.6 608.8 315.8 605.5 307.9C590.6 272.2 559.3 220.2 512.5 176.8C465.4 133.1 400.7 96.2 319.9 96.2C263.1 96.2 214.3 114.4 173.9 140.4L73 39.1zM208.9 175.1C241 156.2 278.1 144 320 144C385.2 144 438.8 173.6 479.9 211.7C518.4 247.4 545 290 558.5 320C544.9 350 518.3 392.5 479.9 428.3C476.8 431.1 473.7 433.9 470.5 436.7L425.8 392C439.8 371.5 448 346.7 448 320C448 249.3 390.7 192 320 192C293.3 192 268.5 200.2 248 214.2L208.9 175.1zM390.9 357.1L282.9 249.1C294 243.3 306.6 240 320 240C364.2 240 400 275.8 400 320C400 333.4 396.7 346 390.9 357.1zM135.4 237.2L101.4 203.2C68.8 240 46.4 279 34.5 307.7C31.2 315.6 31.2 324.4 34.5 332.3C49.4 368 80.7 420 127.5 463.4C174.6 507.1 239.3 544 320.1 544C357.4 544 391.3 536.1 421.6 523.4L384.2 486C364.2 492.4 342.8 496 320 496C254.8 496 201.2 466.4 160.1 428.3C121.6 392.6 95 350 81.5 320C91.9 296.9 110.1 266.4 135.5 237.2z"
|
|
1220
|
+
/>
|
|
1221
|
+
</svg>
|
|
1222
|
+
`
|
|
1223
|
+
}
|
|
1224
|
+
};
|
|
1225
|
+
function dataURI(svg) {
|
|
1226
|
+
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
|
|
1227
|
+
}
|
|
1228
|
+
var systemLibrary = {
|
|
1229
|
+
name: "system",
|
|
1230
|
+
resolver: (name, iconStyle = "solid") => {
|
|
1231
|
+
let collection = icons[iconStyle];
|
|
1232
|
+
let svg = collection[name] ?? icons.regular[name] ?? icons.regular["circle-question"];
|
|
1233
|
+
if (svg) {
|
|
1234
|
+
return dataURI(svg);
|
|
1235
|
+
}
|
|
1236
|
+
return "";
|
|
1237
|
+
}
|
|
1238
|
+
};
|
|
1239
|
+
var library_system_default = systemLibrary;
|
|
1240
|
+
|
|
1241
|
+
// src/components/icon/library.ts
|
|
1242
|
+
var registry = [library_default_default, library_system_default];
|
|
1243
|
+
var watchedIcons = [];
|
|
1244
|
+
function watchIcon(icon) {
|
|
1245
|
+
watchedIcons.push(icon);
|
|
1246
|
+
}
|
|
1247
|
+
function unwatchIcon(icon) {
|
|
1248
|
+
watchedIcons = watchedIcons.filter((element) => element !== icon);
|
|
1249
|
+
}
|
|
1250
|
+
function getIconLibrary(name) {
|
|
1251
|
+
return registry.find((library2) => library2.name === name);
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
// src/components/icon/icon.css
|
|
1255
|
+
var icon_default = ':host {\n --fa-primary-color: currentColor;\n --fa-secondary-color: currentColor;\n --fa-primary-opacity: 1;\n --fa-secondary-opacity: 0.4;\n\n display: inline-flex;\n justify-content: center;\n box-sizing: content-box !important;\n inline-size: auto;\n block-size: 1em;\n}\n\nsvg {\n display: inline-block;\n inline-size: auto;\n block-size: inherit;\n fill: currentColor;\n overflow: visible;\n}\n\n/* Fixed\u2010width icons */\n:host([library="default"]:not([auto-width])) svg *,\n:host([library="system"]:not([auto-width])) svg * {\n /* This scaling gets rid of the whitespace around the icon grid. */\n scale: 1.25;\n transform-origin: center;\n}\n\n/* Primary layer */\nsvg path[data-duotone-primary] {\n color: var(--fa-primary-color);\n opacity: var(--fa-primary-opacity);\n}\n\n/* Secondary layer */\nsvg path[data-duotone-secondary] {\n color: var(--fa-secondary-color);\n opacity: var(--fa-secondary-opacity);\n}\n';
|
|
1256
|
+
|
|
1257
|
+
// src/components/icon/icon.ts
|
|
1258
|
+
var CACHEABLE_ERROR = Symbol();
|
|
1259
|
+
var RETRYABLE_ERROR = Symbol();
|
|
1260
|
+
var parser;
|
|
1261
|
+
var iconCache = /* @__PURE__ */ new Map();
|
|
1262
|
+
var PcIcon = class extends PlacerElement {
|
|
1263
|
+
constructor() {
|
|
1264
|
+
super(...arguments);
|
|
1265
|
+
this.svg = null;
|
|
1266
|
+
this.iconStyle = "solid";
|
|
1267
|
+
this.autoWidth = false;
|
|
1268
|
+
this.swapOpacity = false;
|
|
1269
|
+
this.label = "";
|
|
1270
|
+
this.library = "default";
|
|
1271
|
+
/** Given a URL, this function returns the resulting SVG element or an appropriate error icon. */
|
|
1272
|
+
this.resolveIcon = async (url, library2) => {
|
|
1273
|
+
let fileData;
|
|
1274
|
+
if (library2?.spriteSheet) {
|
|
1275
|
+
if (!this.hasUpdated) {
|
|
1276
|
+
await this.updateComplete;
|
|
1277
|
+
}
|
|
1278
|
+
this.svg = x`
|
|
1279
|
+
<svg part="svg">
|
|
1280
|
+
<use part="use" href=${url}></use>
|
|
1281
|
+
</svg>
|
|
1282
|
+
`;
|
|
1283
|
+
await this.updateComplete;
|
|
1284
|
+
const svg = this.shadowRoot.querySelector('[part="svg"]');
|
|
1285
|
+
if (typeof library2.mutator === "function") {
|
|
1286
|
+
library2.mutator(svg, this);
|
|
1287
|
+
}
|
|
1288
|
+
return this.svg;
|
|
1289
|
+
}
|
|
1290
|
+
try {
|
|
1291
|
+
fileData = await fetch(url, { mode: "cors" });
|
|
1292
|
+
if (!fileData.ok) {
|
|
1293
|
+
return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;
|
|
1294
|
+
}
|
|
1295
|
+
} catch {
|
|
1296
|
+
return RETRYABLE_ERROR;
|
|
1297
|
+
}
|
|
1298
|
+
try {
|
|
1299
|
+
const div = document.createElement("div");
|
|
1300
|
+
div.innerHTML = await fileData.text();
|
|
1301
|
+
const svg = div.firstElementChild;
|
|
1302
|
+
if (svg?.tagName?.toLowerCase() !== "svg") {
|
|
1303
|
+
return CACHEABLE_ERROR;
|
|
1304
|
+
}
|
|
1305
|
+
if (!parser) {
|
|
1306
|
+
parser = new DOMParser();
|
|
1307
|
+
}
|
|
1308
|
+
const doc = parser.parseFromString(svg.outerHTML, "text/html");
|
|
1309
|
+
const svgElement = doc.body.querySelector("svg");
|
|
1310
|
+
if (!svgElement) {
|
|
1311
|
+
return CACHEABLE_ERROR;
|
|
1312
|
+
}
|
|
1313
|
+
svgElement.part.add("svg");
|
|
1314
|
+
return document.adoptNode(svgElement);
|
|
1315
|
+
} catch {
|
|
1316
|
+
return CACHEABLE_ERROR;
|
|
1317
|
+
}
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
connectedCallback() {
|
|
1321
|
+
super.connectedCallback();
|
|
1322
|
+
watchIcon(this);
|
|
1323
|
+
}
|
|
1324
|
+
firstUpdated(changedProperties) {
|
|
1325
|
+
super.firstUpdated(changedProperties);
|
|
1326
|
+
this.setIcon();
|
|
1327
|
+
}
|
|
1328
|
+
disconnectedCallback() {
|
|
1329
|
+
super.disconnectedCallback();
|
|
1330
|
+
unwatchIcon(this);
|
|
1331
|
+
}
|
|
1332
|
+
getIconSource() {
|
|
1333
|
+
const library2 = getIconLibrary(this.library);
|
|
1334
|
+
if (this.name && library2) {
|
|
1335
|
+
return {
|
|
1336
|
+
url: library2.resolver(
|
|
1337
|
+
this.name,
|
|
1338
|
+
this.iconStyle,
|
|
1339
|
+
this.autoWidth
|
|
1340
|
+
),
|
|
1341
|
+
fromLibrary: true
|
|
1342
|
+
};
|
|
1343
|
+
}
|
|
1344
|
+
return {
|
|
1345
|
+
url: this.src,
|
|
1346
|
+
fromLibrary: false
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
handleLabelChange() {
|
|
1350
|
+
const hasLabel = typeof this.label === "string" && this.label.length > 0;
|
|
1351
|
+
if (hasLabel) {
|
|
1352
|
+
this.setAttribute("role", "img");
|
|
1353
|
+
this.setAttribute("aria-label", this.label);
|
|
1354
|
+
this.removeAttribute("aria-hidden");
|
|
1355
|
+
} else {
|
|
1356
|
+
this.removeAttribute("role");
|
|
1357
|
+
this.removeAttribute("aria-label");
|
|
1358
|
+
this.setAttribute("aria-hidden", "true");
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
async setIcon() {
|
|
1362
|
+
const { url, fromLibrary } = this.getIconSource();
|
|
1363
|
+
const library2 = fromLibrary ? getIconLibrary(this.library) : void 0;
|
|
1364
|
+
if (!url) {
|
|
1365
|
+
this.svg = null;
|
|
1366
|
+
return;
|
|
1367
|
+
}
|
|
1368
|
+
let iconResolver = iconCache.get(url);
|
|
1369
|
+
if (!iconResolver) {
|
|
1370
|
+
iconResolver = this.resolveIcon(url, library2);
|
|
1371
|
+
iconCache.set(url, iconResolver);
|
|
1372
|
+
}
|
|
1373
|
+
const svg = await iconResolver;
|
|
1374
|
+
if (svg === RETRYABLE_ERROR) {
|
|
1375
|
+
iconCache.delete(url);
|
|
1376
|
+
}
|
|
1377
|
+
if (url !== this.getIconSource().url) {
|
|
1378
|
+
return;
|
|
1379
|
+
}
|
|
1380
|
+
switch (svg) {
|
|
1381
|
+
case RETRYABLE_ERROR:
|
|
1382
|
+
case CACHEABLE_ERROR:
|
|
1383
|
+
this.svg = null;
|
|
1384
|
+
emit(this, "pc-error");
|
|
1385
|
+
break;
|
|
1386
|
+
default:
|
|
1387
|
+
this.svg = svg.cloneNode(true);
|
|
1388
|
+
library2?.mutator?.(this.svg, this);
|
|
1389
|
+
emit(this, "pc-load");
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
updated(changedProperties) {
|
|
1393
|
+
super.updated(changedProperties);
|
|
1394
|
+
const library2 = getIconLibrary(this.library);
|
|
1395
|
+
const svg = this.shadowRoot?.querySelector("svg");
|
|
1396
|
+
if (svg) {
|
|
1397
|
+
library2?.mutator?.(svg, this);
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
render() {
|
|
1401
|
+
if (this.hasUpdated) {
|
|
1402
|
+
return this.svg;
|
|
1403
|
+
}
|
|
1404
|
+
return x`
|
|
1405
|
+
<svg part="svg" width="16" height="16" fill="currentColor"></svg>
|
|
1406
|
+
`;
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1409
|
+
/** @internal This is an internal static property. */
|
|
1410
|
+
PcIcon.css = icon_default;
|
|
1411
|
+
__decorateClass([
|
|
1412
|
+
r5()
|
|
1413
|
+
], PcIcon.prototype, "svg", 2);
|
|
1414
|
+
__decorateClass([
|
|
1415
|
+
n4({ reflect: true })
|
|
1416
|
+
], PcIcon.prototype, "name", 2);
|
|
1417
|
+
__decorateClass([
|
|
1418
|
+
n4({ attribute: "icon-style", reflect: true })
|
|
1419
|
+
], PcIcon.prototype, "iconStyle", 2);
|
|
1420
|
+
__decorateClass([
|
|
1421
|
+
n4({ attribute: "auto-width", type: Boolean, reflect: true })
|
|
1422
|
+
], PcIcon.prototype, "autoWidth", 2);
|
|
1423
|
+
__decorateClass([
|
|
1424
|
+
n4({ attribute: "swap-opacity", type: Boolean, reflect: true })
|
|
1425
|
+
], PcIcon.prototype, "swapOpacity", 2);
|
|
1426
|
+
__decorateClass([
|
|
1427
|
+
n4()
|
|
1428
|
+
], PcIcon.prototype, "src", 2);
|
|
1429
|
+
__decorateClass([
|
|
1430
|
+
n4()
|
|
1431
|
+
], PcIcon.prototype, "label", 2);
|
|
1432
|
+
__decorateClass([
|
|
1433
|
+
n4({ reflect: true })
|
|
1434
|
+
], PcIcon.prototype, "library", 2);
|
|
1435
|
+
__decorateClass([
|
|
1436
|
+
watch("label")
|
|
1437
|
+
], PcIcon.prototype, "handleLabelChange", 1);
|
|
1438
|
+
__decorateClass([
|
|
1439
|
+
watch(["library", "iconStyle", "name", "src", "autoWidth", "swapOpacity"])
|
|
1440
|
+
], PcIcon.prototype, "setIcon", 1);
|
|
1441
|
+
PcIcon = __decorateClass([
|
|
1442
|
+
t3("pc-icon")
|
|
1443
|
+
], PcIcon);
|
|
1444
|
+
|
|
1445
|
+
// src/components/comparer/comparer.css
|
|
1446
|
+
var comparer_default = ":host {\n --divider-width: 0.125rem;\n --handle-size: 2.5rem;\n\n display: inline-block;\n position: relative;\n}\n\n.comparer {\n display: block;\n inline-size: 100%;\n max-inline-size: 100%;\n block-size: 100%;\n max-block-size: 100%;\n overflow: hidden;\n}\n\n.content {\n block-size: 100%;\n}\n\n.before-content,\n.after-content {\n display: block;\n pointer-events: none;\n block-size: 100%;\n}\n\n.before-content ::slotted(*),\n.after-content ::slotted(*) {\n display: block;\n max-inline-size: 100% !important;\n block-size: auto;\n border-radius: var(--pc-border-radius-m);\n}\n\n.after-content {\n position: absolute;\n inset-block-start: 0;\n inset-inline-start: 0;\n inline-size: 100%;\n block-size: 100%;\n}\n\n.divider {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n inset-block-start: 0;\n inline-size: var(--divider-width);\n block-size: 100%;\n background-color: var(--pc-color-surface-default);\n translate: calc(var(--divider-width) / -2);\n cursor: ew-resize;\n}\n\n.handle {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n inset-block-start: calc(50% - (var(--handle-size) / 2));\n inline-size: var(--handle-size);\n block-size: var(--handle-size);\n background-color: var(--pc-color-surface-default);\n border-radius: var(--pc-border-radius-circle);\n font-size: calc(var(--handle-size) * 0.4);\n color: var(--pc-color-neutral-on-quiet);\n cursor: inherit;\n z-index: 10;\n}\n\n.handle:focus-visible {\n outline: var(--pc-focus-ring);\n outline-offset: var(--pc-focus-ring);\n animation: focus-ring-animation var(--pc-transition-medium)\n cubic-bezier(0.33, 1, 0.68, 1);\n}\n\n@keyframes focus-ring-animation {\n 0% {\n outline-width: 0;\n }\n\n 50% {\n outline-width: calc(var(--pc-focus-ring-width) * 2);\n }\n\n 100% {\n outline-width: var(--pc-focus-ring-width);\n }\n}\n";
|
|
1447
|
+
|
|
1448
|
+
// src/components/comparer/comparer.ts
|
|
1449
|
+
var PcComparer = class extends PlacerElement {
|
|
1450
|
+
constructor() {
|
|
1451
|
+
super(...arguments);
|
|
1452
|
+
this.localize = new LocalizeController2(this);
|
|
1453
|
+
this.position = 50;
|
|
1454
|
+
}
|
|
1455
|
+
handleDrag(event) {
|
|
1456
|
+
const { width } = this.base.getBoundingClientRect();
|
|
1457
|
+
const isRTL = this.localize.dir() === "rtl";
|
|
1458
|
+
event.preventDefault();
|
|
1459
|
+
drag(this.base, {
|
|
1460
|
+
onMove: (x2) => {
|
|
1461
|
+
const desiredLeft = parseFloat(
|
|
1462
|
+
clamp(x2 / width * 100, 0, 100).toFixed(2)
|
|
1463
|
+
);
|
|
1464
|
+
if (isRTL) {
|
|
1465
|
+
this.position = desiredLeft;
|
|
1466
|
+
} else {
|
|
1467
|
+
this.position = parseFloat((100 - desiredLeft).toFixed(2));
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
initialEvent: event
|
|
1471
|
+
});
|
|
1472
|
+
}
|
|
1473
|
+
handleKeyDown(event) {
|
|
1474
|
+
const isRTL = this.localize.dir() === "rtl";
|
|
1475
|
+
if (["ArrowLeft", "ArrowRight", "Home", "End"].includes(event.key)) {
|
|
1476
|
+
const increment = event.shiftKey ? 10 : 1;
|
|
1477
|
+
event.preventDefault();
|
|
1478
|
+
let leftPercent = isRTL ? this.position : 100 - this.position;
|
|
1479
|
+
if (event.key === "ArrowLeft") {
|
|
1480
|
+
leftPercent -= increment;
|
|
1481
|
+
}
|
|
1482
|
+
if (event.key === "ArrowRight") {
|
|
1483
|
+
leftPercent += increment;
|
|
1484
|
+
}
|
|
1485
|
+
if (event.key === "Home") {
|
|
1486
|
+
leftPercent = 0;
|
|
1487
|
+
}
|
|
1488
|
+
if (event.key === "End") {
|
|
1489
|
+
leftPercent = 100;
|
|
1490
|
+
}
|
|
1491
|
+
leftPercent = clamp(leftPercent, 0, 100);
|
|
1492
|
+
if (isRTL) {
|
|
1493
|
+
this.position = parseFloat(leftPercent.toFixed(2));
|
|
1494
|
+
} else {
|
|
1495
|
+
this.position = parseFloat((100 - leftPercent).toFixed(2));
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
handlePositionChange() {
|
|
1500
|
+
emit(this, "pc-change");
|
|
1501
|
+
}
|
|
1502
|
+
render() {
|
|
1503
|
+
const isRTL = this.localize.dir() === "rtl";
|
|
1504
|
+
return x`
|
|
1505
|
+
<div
|
|
1506
|
+
part="base"
|
|
1507
|
+
class=${e7({
|
|
1508
|
+
"comparer": true,
|
|
1509
|
+
"is-rtl": isRTL
|
|
1510
|
+
})}
|
|
1511
|
+
id="comparer"
|
|
1512
|
+
@keydown=${this.handleKeyDown}
|
|
1513
|
+
>
|
|
1514
|
+
<div class="content">
|
|
1515
|
+
<div part="before" class="before-content">
|
|
1516
|
+
<slot name="before"></slot>
|
|
1517
|
+
</div>
|
|
1518
|
+
|
|
1519
|
+
<div
|
|
1520
|
+
part="after"
|
|
1521
|
+
class="after-content"
|
|
1522
|
+
style=${o6({
|
|
1523
|
+
clipPath: isRTL ? `inset(0 ${100 - this.position}% 0 0)` : `inset(0 0 0 ${100 - this.position}%)`
|
|
1524
|
+
})}
|
|
1525
|
+
>
|
|
1526
|
+
<slot name="after"></slot>
|
|
1527
|
+
</div>
|
|
1528
|
+
</div>
|
|
1529
|
+
|
|
1530
|
+
<div
|
|
1531
|
+
part="divider"
|
|
1532
|
+
class="divider"
|
|
1533
|
+
style=${o6({
|
|
1534
|
+
left: isRTL ? `${this.position}%` : `${100 - this.position}%`
|
|
1535
|
+
})}
|
|
1536
|
+
@mousedown=${this.handleDrag}
|
|
1537
|
+
@touchstart=${this.handleDrag}
|
|
1538
|
+
>
|
|
1539
|
+
<div
|
|
1540
|
+
part="handle"
|
|
1541
|
+
class="handle"
|
|
1542
|
+
role="scrollbar"
|
|
1543
|
+
aria-valuenow=${this.position}
|
|
1544
|
+
aria-valuemin="0"
|
|
1545
|
+
aria-valuemax="100"
|
|
1546
|
+
aria-controls="comparer"
|
|
1547
|
+
tabindex="0"
|
|
1548
|
+
>
|
|
1549
|
+
<slot name="handle">
|
|
1550
|
+
<pc-icon
|
|
1551
|
+
library="system"
|
|
1552
|
+
icon-style="solid"
|
|
1553
|
+
name="grip-vertical"
|
|
1554
|
+
></pc-icon>
|
|
1555
|
+
</slot>
|
|
1556
|
+
</div>
|
|
1557
|
+
</div>
|
|
1558
|
+
</div>
|
|
1559
|
+
`;
|
|
1560
|
+
}
|
|
1561
|
+
};
|
|
1562
|
+
/** @internal This is an internal static property. */
|
|
1563
|
+
PcComparer.css = comparer_default;
|
|
1564
|
+
/** @internal This is an internal static property. */
|
|
1565
|
+
PcComparer.scopedElement = { "pc-icon": PcIcon };
|
|
1566
|
+
__decorateClass([
|
|
1567
|
+
e5(".comparer")
|
|
1568
|
+
], PcComparer.prototype, "base", 2);
|
|
1569
|
+
__decorateClass([
|
|
1570
|
+
e5(".handle")
|
|
1571
|
+
], PcComparer.prototype, "handle", 2);
|
|
1572
|
+
__decorateClass([
|
|
1573
|
+
n4({ type: Number, reflect: true })
|
|
1574
|
+
], PcComparer.prototype, "position", 2);
|
|
1575
|
+
__decorateClass([
|
|
1576
|
+
watch("position", { waitUntilFirstUpdate: true })
|
|
1577
|
+
], PcComparer.prototype, "handlePositionChange", 1);
|
|
1578
|
+
PcComparer = __decorateClass([
|
|
1579
|
+
t3("pc-comparer")
|
|
1580
|
+
], PcComparer);
|
|
1581
|
+
export {
|
|
1582
|
+
PcComparer
|
|
1583
|
+
};
|
|
1584
|
+
/*! Bundled license information:
|
|
1585
|
+
|
|
1586
|
+
@lit/reactive-element/css-tag.js:
|
|
1587
|
+
(**
|
|
1588
|
+
* @license
|
|
1589
|
+
* Copyright 2019 Google LLC
|
|
1590
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1591
|
+
*)
|
|
1592
|
+
|
|
1593
|
+
@lit/reactive-element/reactive-element.js:
|
|
1594
|
+
lit-html/lit-html.js:
|
|
1595
|
+
lit-element/lit-element.js:
|
|
1596
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
1597
|
+
@lit/reactive-element/decorators/property.js:
|
|
1598
|
+
@lit/reactive-element/decorators/state.js:
|
|
1599
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
1600
|
+
@lit/reactive-element/decorators/base.js:
|
|
1601
|
+
@lit/reactive-element/decorators/query.js:
|
|
1602
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
1603
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
1604
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
1605
|
+
lit-html/directive.js:
|
|
1606
|
+
(**
|
|
1607
|
+
* @license
|
|
1608
|
+
* Copyright 2017 Google LLC
|
|
1609
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1610
|
+
*)
|
|
1611
|
+
|
|
1612
|
+
lit-html/is-server.js:
|
|
1613
|
+
(**
|
|
1614
|
+
* @license
|
|
1615
|
+
* Copyright 2022 Google LLC
|
|
1616
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1617
|
+
*)
|
|
1618
|
+
|
|
1619
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
1620
|
+
(**
|
|
1621
|
+
* @license
|
|
1622
|
+
* Copyright 2021 Google LLC
|
|
1623
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1624
|
+
*)
|
|
1625
|
+
|
|
1626
|
+
lit-html/directives/class-map.js:
|
|
1627
|
+
lit-html/directives/style-map.js:
|
|
1628
|
+
(**
|
|
1629
|
+
* @license
|
|
1630
|
+
* Copyright 2018 Google LLC
|
|
1631
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1632
|
+
*)
|
|
1633
|
+
*/
|