@esri/calcite-components 3.2.0-next.5 → 3.2.0-next.51
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/THIRD-PARTY-LICENSES.md +64 -64
- package/dist/calcite/246H2FYP.js +4 -0
- package/dist/calcite/272T3XEZ.js +4 -0
- package/dist/calcite/{UQ6NOK7V.js → 2B4H7YKK.js} +2 -2
- package/dist/calcite/{KOFS6EJN.js → 3AZU7INE.js} +2 -2
- package/dist/calcite/{CSO72U4Q.js → 3KBOMP7O.js} +2 -2
- package/dist/calcite/3MARMLB6.js +4 -0
- package/dist/calcite/3MKCHVVW.js +4 -0
- package/dist/calcite/3R6YXO4T.js +22 -0
- package/dist/calcite/{XHFMI4SY.js → 3SUO55B5.js} +2 -2
- package/dist/calcite/{4XOI73TX.js → 3SVDRBBG.js} +2 -2
- package/dist/calcite/{EQWKYMFB.js → 3V5IVLST.js} +2 -2
- package/dist/calcite/{3TMALFNZ.js → 4BIXRFMG.js} +2 -2
- package/dist/calcite/4ORRJMSS.js +4 -0
- package/dist/calcite/4PBRA2HI.js +4 -0
- package/dist/calcite/4R3V5OXZ.js +4 -0
- package/dist/calcite/{GQRG6QDW.js → 5D2X3DMH.js} +2 -2
- package/dist/calcite/5IPXNG4W.js +4 -0
- package/dist/calcite/5QACCFRD.js +4 -0
- package/dist/calcite/5SAAVPGG.js +5 -0
- package/dist/calcite/6AQJ3NZI.js +4 -0
- package/dist/calcite/{RMT25OMF.js → 6VJR3C5E.js} +1 -1
- package/dist/calcite/72EMXBHB.js +4 -0
- package/dist/calcite/72M5DJJE.js +4 -0
- package/dist/calcite/{JHZHDZRB.js → 7JTH2S5I.js} +1 -1
- package/dist/calcite/7NEBRIS2.js +4 -0
- package/dist/calcite/7OWZBULJ.js +4 -0
- package/dist/calcite/7WOSAXGT.js +4 -0
- package/dist/calcite/A7G3XTZY.js +4 -0
- package/dist/calcite/AAYZ4VN3.js +4 -0
- package/dist/calcite/{YIQ3DCYG.js → AL6MDP2K.js} +1 -1
- package/dist/calcite/AXWGJ5TJ.js +4 -0
- package/dist/calcite/{PU2ISAIE.js → B4ORGW7K.js} +2 -2
- package/dist/calcite/B57IYNDV.js +4 -0
- package/dist/calcite/B6KBH6XH.js +4 -0
- package/dist/calcite/B6O33AG4.js +4 -0
- package/dist/calcite/BAXU6COW.js +4 -0
- package/dist/calcite/BISWFIEE.js +4 -0
- package/dist/calcite/C53INEQZ.js +4 -0
- package/dist/calcite/C5A2D2LW.js +4 -0
- package/dist/calcite/{AXHBMLL3.js → CDGVEHWT.js} +1 -1
- package/dist/calcite/{DNF35U45.js → CEP6JOLK.js} +2 -2
- package/dist/calcite/{Z4PUXAY2.js → DJOVRA4D.js} +2 -2
- package/dist/calcite/DLQJNGFW.js +5 -0
- package/dist/calcite/DRWF7WHL.js +4 -0
- package/dist/calcite/DZGTPHFE.js +4 -0
- package/dist/calcite/E6G34LBH.js +4 -0
- package/dist/calcite/EORC3KJU.js +4 -0
- package/dist/calcite/{SLGGM4OA.js → EPQL6SNM.js} +2 -2
- package/dist/calcite/{27JKSWVK.js.LEGAL.txt → FE6MKZZP.js} +2 -1
- package/dist/calcite/FRXIUAIZ.js +4 -0
- package/dist/calcite/FYRERVOC.js +4 -0
- package/dist/calcite/G2LH6M7R.js +4 -0
- package/dist/calcite/G4PSTFNC.js +4 -0
- package/dist/calcite/GBICPB32.js +4 -0
- package/dist/calcite/GBKUT5T7.js +4 -0
- package/dist/calcite/GL26EAIU.js +4 -0
- package/dist/calcite/GLUPT22U.js +4 -0
- package/dist/calcite/GMASR3NH.js +4 -0
- package/dist/calcite/{N6NVAXNC.js → GPCVM4JM.js} +2 -2
- package/dist/calcite/{GK6TK2E7.js → GV2JNDWW.js} +2 -2
- package/dist/calcite/HAEPRDCZ.js +4 -0
- package/dist/calcite/HARFHFCO.js +4 -0
- package/dist/calcite/{QEOHIM2X.js → HJ7Y6M7Y.js} +1 -1
- package/dist/calcite/HQ6KJVN3.js +4 -0
- package/dist/calcite/{5ZSPQU3H.js → HSMWZ3DE.js} +2 -2
- package/dist/calcite/{H4K2UUNE.js → HY7FI47V.js} +2 -2
- package/dist/calcite/HYDNIVKK.js +4 -0
- package/dist/calcite/IJ7TIS7Z.js +4 -0
- package/dist/calcite/IOT4QGZL.js +4 -0
- package/dist/calcite/{YVQ6W2ZR.js → IXXNQN4M.js} +2 -2
- package/dist/calcite/JCJRFZTD.js +4 -0
- package/dist/calcite/{74NNTP2J.js → JFBLJJNW.js} +2 -2
- package/dist/calcite/JIYFVSYH.js +4 -0
- package/dist/calcite/JKB6TXR2.js +4 -0
- package/dist/calcite/JL6PDF5B.js +4 -0
- package/dist/calcite/{22GBUVSE.js.LEGAL.txt → JTT4ZXVV.js} +2 -1
- package/dist/calcite/JYM5NVTJ.js +4 -0
- package/dist/calcite/K45RYFJ7.js +4 -0
- package/dist/calcite/K5S46KVA.js +6 -0
- package/dist/calcite/K6VBGBO7.js +4 -0
- package/dist/calcite/K6YHL2FD.js +4 -0
- package/dist/calcite/K7J6PQ66.js +4 -0
- package/dist/calcite/KR7GA3QM.js +4 -0
- package/dist/calcite/{22GBUVSE.js → KWDX34BJ.js} +2 -2
- package/dist/calcite/KYJ2IJ53.js +4 -0
- package/dist/calcite/LUAV7HFS.js +4 -0
- package/dist/calcite/{AXJC6GJM.js → LV3WHWTC.js} +2 -2
- package/dist/calcite/{ZNJ3VBOG.js → LVZNUTXJ.js} +1 -1
- package/dist/calcite/LXDV7HPI.js +4 -0
- package/dist/calcite/LYB3SOOK.js +4 -0
- package/dist/calcite/MGFBIF7I.js +4 -0
- package/dist/calcite/{FTL336MP.js → MTFIIZL5.js} +1 -1
- package/dist/calcite/N42JIEP5.js +4 -0
- package/dist/calcite/N43SQXGC.js +4 -0
- package/dist/calcite/N4YGBB4P.js +4 -0
- package/dist/calcite/{AVKN4BIE.js → NBDE77S6.js} +2 -2
- package/dist/calcite/{VYTJSHUS.js → NDSQL7K5.js} +2 -2
- package/dist/calcite/{2CAGVKP6.js.LEGAL.txt → NHLDQ7L4.js} +2 -1
- package/dist/calcite/NISE3KKL.js +4 -0
- package/dist/calcite/NMIZEY3Q.js +4 -0
- package/dist/calcite/{5UAA7SH2.js → NMOIC7WR.js} +2 -2
- package/dist/calcite/{U7JZJZID.js → NOZDON4H.js} +1 -1
- package/dist/calcite/NV5XHCF2.js +4 -0
- package/dist/calcite/NVYCSTZG.js +4 -0
- package/dist/calcite/{7OGL3BZE.js → O2G74CTB.js} +2 -2
- package/dist/calcite/{TVQWXOJY.js → OCDAER7N.js} +2 -2
- package/dist/calcite/OTKB7KBO.js +4 -0
- package/dist/calcite/OV2JTQ6Y.js +4 -0
- package/dist/calcite/P2K2GEVC.js +4 -0
- package/dist/calcite/PI6UNO67.js +4 -0
- package/dist/calcite/{6VHZ57MA.js → PIPCFXJL.js} +2 -2
- package/dist/calcite/PQXXHDUX.js +28 -0
- package/dist/calcite/PS4OFLDH.js +4 -0
- package/dist/calcite/PSSIH5OL.js +4 -0
- package/dist/calcite/{6GNJL6RM.js → PUA7GNNB.js} +2 -2
- package/dist/calcite/Q5ZIMLFB.js +4 -0
- package/dist/calcite/{IWG2M77K.js → Q7RQKBVT.js} +2 -2
- package/dist/calcite/{YVBD6AYN.js → QGNZTJ5R.js} +2 -2
- package/dist/calcite/QHQKAEE6.js +4 -0
- package/dist/calcite/QSH2KUJD.js +4 -0
- package/dist/calcite/RACZFSBB.js +4 -0
- package/dist/calcite/RGZLVHPR.js +4 -0
- package/dist/calcite/RKSCYLFF.js +4 -0
- package/dist/calcite/RM6XLJXU.js +4 -0
- package/dist/calcite/RRYOHONE.js +4 -0
- package/dist/calcite/S25FH6LY.js +4 -0
- package/dist/calcite/S2MXIEC6.js +4 -0
- package/dist/calcite/SB2LYS27.js +4 -0
- package/dist/calcite/SINEBKJL.js +4 -0
- package/dist/calcite/SOPHBIXG.js +4 -0
- package/dist/calcite/SSZABUNZ.js +4 -0
- package/dist/calcite/T6HAV575.js +4 -0
- package/dist/calcite/{XMRJRNWN.js → TFOHETBE.js} +2 -2
- package/dist/calcite/{FZN4OSRU.js → THQNHNAZ.js} +2 -2
- package/dist/calcite/{HDXLJD7I.js → U24PPS7C.js} +2 -2
- package/dist/calcite/{DZLSBUBC.js → UHTN4WRU.js} +2 -2
- package/dist/calcite/URWFJCUV.js +4 -0
- package/dist/calcite/{ICMQ6BLI.js → USB2QNSE.js} +2 -2
- package/dist/calcite/UTQZBTO6.js +4 -0
- package/dist/calcite/V5W6H7XQ.js +4 -0
- package/dist/calcite/VDYPZMNJ.js +4 -0
- package/dist/calcite/VLKMKSF2.js +4 -0
- package/dist/calcite/VUVAPTBL.js +4 -0
- package/dist/calcite/VXNSDE3L.js +4 -0
- package/dist/calcite/{W22ATHVV.js → W3E5DVJF.js} +2 -2
- package/dist/calcite/W3GTFWEG.js +4 -0
- package/dist/calcite/WKAB365G.js +4 -0
- package/dist/calcite/WMFJLKX5.js +4 -0
- package/dist/calcite/WXJ45NIV.js +4 -0
- package/dist/calcite/X7YDU7SN.js +4 -0
- package/dist/calcite/XLHLMKDN.js +4 -0
- package/dist/calcite/XOVKLZG6.js +4 -0
- package/dist/calcite/XQHCTZXU.js +4 -0
- package/dist/calcite/XRQXOFL6.js +4 -0
- package/dist/calcite/XZL47Y3R.js +4 -0
- package/dist/calcite/{DZLQNEHB.js → Y3NYAWVL.js} +2 -2
- package/dist/calcite/Y3RUKI55.js +4 -0
- package/dist/calcite/YE5WNQS5.js +4 -0
- package/dist/calcite/YG47FUH7.js +4 -0
- package/dist/calcite/YHRDGTMY.js +4 -0
- package/dist/calcite/YJCJ7LH7.js +4 -0
- package/dist/calcite/{M23EXMUM.js → YL75J4PN.js} +2 -2
- package/dist/calcite/{JV62EBND.js → YO54ACOH.js} +2 -2
- package/dist/calcite/YTA2F7VN.js +4 -0
- package/dist/calcite/YYFKGKKQ.js +4 -0
- package/dist/calcite/Z2HHH7MO.js +4 -0
- package/dist/calcite/ZESIWKYT.js +4 -0
- package/dist/calcite/ZIPMNY6O.js +4 -0
- package/dist/calcite/ZRPKUDMM.js +4 -0
- package/dist/calcite/{Y4NPOA4B.js → ZSMPM5QD.js} +2 -2
- package/dist/calcite/ZTZ6T3HC.js +4 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum32.json +1 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/calcite.css +3 -1
- package/dist/calcite/calcite.esm.js +4 -2
- package/dist/chunks/ExpandToggle.js +105 -56
- package/dist/chunks/FloatingArrow.js +16 -11
- package/dist/chunks/Heading.js +11 -11
- package/dist/chunks/Validation.js +11 -6
- package/dist/chunks/XButton.js +21 -0
- package/dist/chunks/_sortable.js +8 -0
- package/dist/chunks/array.js +4 -4
- package/dist/chunks/component.js +17 -16
- package/dist/chunks/core.js +9 -6
- package/dist/chunks/date.js +151 -95
- package/dist/chunks/dom.js +483 -310
- package/dist/chunks/dynamicClasses.js +4 -4
- package/dist/chunks/filter.js +31 -14
- package/dist/chunks/floating-ui.js +211 -144
- package/dist/chunks/form.js +225 -105
- package/dist/chunks/global.js +21 -12
- package/dist/chunks/guid.js +10 -9
- package/dist/chunks/input.js +26 -14
- package/dist/chunks/interact.min.js +1956 -1922
- package/dist/chunks/interactive.js +50 -31
- package/dist/chunks/key.js +6 -6
- package/dist/chunks/label.js +125 -61
- package/dist/chunks/locale.js +242 -176
- package/dist/chunks/logger.js +32 -25
- package/dist/chunks/math.js +25 -17
- package/dist/chunks/observers.js +25 -18
- package/dist/chunks/openCloseComponent.js +22 -11
- package/dist/chunks/resources.js +6 -5
- package/dist/chunks/resources2.js +12 -9
- package/dist/chunks/resources3.js +14 -10
- package/dist/chunks/resources4.js +3 -3
- package/dist/chunks/resources5.js +14 -10
- package/dist/chunks/resources6.js +3 -3
- package/dist/chunks/resources7.js +9 -7
- package/dist/chunks/responsive.js +10 -10
- package/dist/chunks/runtime.js +68 -36
- package/dist/chunks/sortableComponent.js +64 -48
- package/dist/chunks/text.js +18 -10
- package/dist/chunks/time.js +377 -229
- package/dist/chunks/useFocusTrap.js +91 -51
- package/dist/chunks/usePreventDocumentScroll.js +54 -0
- package/dist/chunks/useT9n.js +5 -5
- package/dist/chunks/utils.js +40 -28
- package/dist/chunks/utils2.js +24 -16
- package/dist/chunks/utils3.js +53 -41
- package/dist/chunks/utils4.js +189 -127
- package/dist/components/calcite-accordion/customElement.d.ts +23 -5
- package/dist/components/calcite-accordion/customElement.js +47 -34
- package/dist/components/calcite-accordion-item/customElement.d.ts +9 -5
- package/dist/components/calcite-accordion-item/customElement.js +90 -61
- package/dist/components/calcite-accordion-item/resources.d.ts +2 -0
- package/dist/components/calcite-action/customElement.d.ts +49 -21
- package/dist/components/calcite-action/customElement.js +85 -56
- package/dist/components/calcite-action-bar/customElement.d.ts +39 -22
- package/dist/components/calcite-action-bar/customElement.js +122 -88
- package/dist/components/calcite-action-group/customElement.d.ts +26 -16
- package/dist/components/calcite-action-group/customElement.js +38 -37
- package/dist/components/calcite-action-menu/customElement.d.ts +30 -8
- package/dist/components/calcite-action-menu/customElement.js +223 -109
- package/dist/components/calcite-action-pad/customElement.d.ts +35 -22
- package/dist/components/calcite-action-pad/customElement.js +67 -51
- package/dist/components/calcite-alert/customElement.d.ts +48 -21
- package/dist/components/calcite-alert/customElement.js +186 -92
- package/dist/components/calcite-autocomplete/customElement.d.ts +55 -24
- package/dist/components/calcite-autocomplete/customElement.js +299 -167
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +7 -3
- package/dist/components/calcite-autocomplete-item/customElement.js +46 -43
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +22 -23
- package/dist/components/calcite-avatar/customElement.d.ts +5 -1
- package/dist/components/calcite-avatar/customElement.js +77 -58
- package/dist/components/calcite-block/customElement.d.ts +55 -33
- package/dist/components/calcite-block/customElement.js +143 -93
- package/dist/components/calcite-block-group/customElement.d.ts +17 -7
- package/dist/components/calcite-block-group/customElement.js +186 -135
- package/dist/components/calcite-block-section/customElement.d.ts +16 -14
- package/dist/components/calcite-block-section/customElement.js +72 -62
- package/dist/components/calcite-button/customElement.d.ts +53 -20
- package/dist/components/calcite-button/customElement.js +92 -54
- package/dist/components/calcite-card/customElement.d.ts +36 -24
- package/dist/components/calcite-card/customElement.js +108 -77
- package/dist/components/calcite-card-group/customElement.d.ts +10 -6
- package/dist/components/calcite-card-group/customElement.js +80 -63
- package/dist/components/calcite-carousel/customElement.d.ts +42 -31
- package/dist/components/calcite-carousel/customElement.js +350 -171
- package/dist/components/calcite-carousel-item/customElement.d.ts +6 -2
- package/dist/components/calcite-carousel-item/customElement.js +20 -18
- package/dist/components/calcite-checkbox/customElement.d.ts +23 -5
- package/dist/components/calcite-checkbox/customElement.js +80 -58
- package/dist/components/calcite-chip/customElement.d.ts +49 -18
- package/dist/components/calcite-chip/customElement.js +134 -77
- package/dist/components/calcite-chip-group/customElement.d.ts +12 -6
- package/dist/components/calcite-chip-group/customElement.js +116 -70
- package/dist/components/calcite-color-picker/customElement.d.ts +57 -37
- package/dist/components/calcite-color-picker/customElement.js +732 -373
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +13 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.js +181 -106
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +10 -2
- package/dist/components/calcite-color-picker-swatch/customElement.js +66 -55
- package/dist/components/calcite-combobox/customElement.d.ts +67 -37
- package/dist/components/calcite-combobox/customElement.js +823 -402
- package/dist/components/calcite-combobox-item/customElement.d.ts +28 -8
- package/dist/components/calcite-combobox-item/customElement.js +93 -68
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +25 -22
- package/dist/components/calcite-date-picker/customElement.d.ts +38 -23
- package/dist/components/calcite-date-picker/customElement.js +335 -156
- package/dist/components/calcite-date-picker-day/customElement.d.ts +45 -9
- package/dist/components/calcite-date-picker-day/customElement.js +65 -42
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -1
- package/dist/components/calcite-date-picker-month/customElement.js +267 -221
- package/dist/components/calcite-date-picker-month-header/customElement.js +191 -139
- package/dist/components/calcite-dialog/customElement.d.ts +81 -38
- package/dist/components/calcite-dialog/customElement.js +352 -209
- package/dist/components/calcite-dialog/resources.d.ts +0 -2
- package/dist/components/calcite-dropdown/customElement.d.ts +32 -10
- package/dist/components/calcite-dropdown/customElement.js +274 -154
- package/dist/components/calcite-dropdown-group/customElement.d.ts +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +44 -33
- package/dist/components/calcite-dropdown-item/customElement.d.ts +11 -3
- package/dist/components/calcite-dropdown-item/customElement.js +86 -47
- package/dist/components/calcite-fab/customElement.d.ts +35 -7
- package/dist/components/calcite-fab/customElement.js +35 -29
- package/dist/components/calcite-filter/customElement.d.ts +20 -23
- package/dist/components/calcite-filter/customElement.js +84 -67
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.js +109 -79
- package/dist/components/calcite-flow-item/customElement.d.ts +71 -37
- package/dist/components/calcite-flow-item/customElement.js +89 -72
- package/dist/components/calcite-graph/customElement.js +121 -78
- package/dist/components/calcite-handle/customElement.d.ts +16 -15
- package/dist/components/calcite-handle/customElement.js +95 -62
- package/dist/components/calcite-icon/customElement.d.ts +15 -3
- package/dist/components/calcite-icon/customElement.js +115 -68
- package/dist/components/calcite-inline-editable/customElement.d.ts +30 -19
- package/dist/components/calcite-inline-editable/customElement.js +133 -66
- package/dist/components/calcite-input/customElement.d.ts +55 -22
- package/dist/components/calcite-input/customElement.js +409 -198
- package/dist/components/calcite-input-date-picker/customElement.d.ts +56 -21
- package/dist/components/calcite-input-date-picker/customElement.js +505 -266
- package/dist/components/calcite-input-message/customElement.d.ts +16 -4
- package/dist/components/calcite-input-message/customElement.js +31 -28
- package/dist/components/calcite-input-number/customElement.d.ts +57 -23
- package/dist/components/calcite-input-number/customElement.js +393 -177
- package/dist/components/calcite-input-text/customElement.d.ts +42 -20
- package/dist/components/calcite-input-text/customElement.js +201 -107
- package/dist/components/calcite-input-time-picker/customElement.d.ts +79 -23
- package/dist/components/calcite-input-time-picker/customElement.js +762 -426
- package/dist/components/calcite-input-time-picker/index.d.ts +1 -2
- package/dist/components/calcite-input-time-picker/index.js +1 -2
- package/dist/components/calcite-input-time-picker/resources.d.ts +18 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +111 -89
- package/dist/components/calcite-input-time-zone/customElement.js +328 -226
- package/dist/components/calcite-label/customElement.d.ts +16 -4
- package/dist/components/calcite-label/customElement.js +36 -29
- package/dist/components/calcite-link/customElement.d.ts +7 -2
- package/dist/components/calcite-link/customElement.js +46 -36
- package/dist/components/calcite-list/customElement.d.ts +50 -38
- package/dist/components/calcite-list/customElement.js +469 -263
- package/dist/components/calcite-list-item/customElement.d.ts +59 -30
- package/dist/components/calcite-list-item/customElement.js +336 -178
- package/dist/components/calcite-list-item-group/customElement.d.ts +8 -3
- package/dist/components/calcite-list-item-group/customElement.js +23 -24
- package/dist/components/calcite-loader/customElement.d.ts +22 -4
- package/dist/components/calcite-loader/customElement.js +72 -49
- package/dist/components/calcite-menu/customElement.d.ts +8 -9
- package/dist/components/calcite-menu/customElement.js +88 -42
- package/dist/components/calcite-menu-item/customElement.d.ts +20 -13
- package/dist/components/calcite-menu-item/customElement.js +152 -116
- package/dist/components/calcite-meter/customElement.d.ts +60 -12
- package/dist/components/calcite-meter/customElement.js +195 -73
- package/dist/components/calcite-modal/customElement.d.ts +54 -23
- package/dist/components/calcite-modal/customElement.js +216 -133
- package/dist/components/calcite-navigation/customElement.d.ts +14 -10
- package/dist/components/calcite-navigation/customElement.js +79 -61
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-logo/customElement.js +37 -34
- package/dist/components/calcite-navigation-user/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-user/customElement.js +21 -23
- package/dist/components/calcite-notice/customElement.d.ts +36 -17
- package/dist/components/calcite-notice/customElement.js +63 -45
- package/dist/components/calcite-option/customElement.d.ts +10 -2
- package/dist/components/calcite-option/customElement.js +55 -33
- package/dist/components/calcite-option-group/customElement.d.ts +6 -2
- package/dist/components/calcite-option-group/customElement.js +19 -21
- package/dist/components/calcite-pagination/customElement.d.ts +35 -20
- package/dist/components/calcite-pagination/customElement.js +202 -131
- package/dist/components/calcite-panel/customElement.d.ts +72 -39
- package/dist/components/calcite-panel/customElement.js +170 -119
- package/dist/components/calcite-panel/resources.d.ts +1 -0
- package/dist/components/calcite-popover/customElement.d.ts +55 -20
- package/dist/components/calcite-popover/customElement.js +248 -130
- package/dist/components/calcite-progress/customElement.d.ts +12 -2
- package/dist/components/calcite-progress/customElement.js +23 -20
- package/dist/components/calcite-radio-button/customElement.d.ts +17 -3
- package/dist/components/calcite-radio-button/customElement.js +190 -90
- package/dist/components/calcite-radio-button/resources.d.ts +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +22 -8
- package/dist/components/calcite-radio-button-group/customElement.js +64 -39
- package/dist/components/calcite-rating/customElement.d.ts +32 -18
- package/dist/components/calcite-rating/customElement.js +167 -110
- package/dist/components/calcite-scrim/customElement.d.ts +7 -8
- package/dist/components/calcite-scrim/customElement.js +48 -36
- package/dist/components/calcite-segmented-control/customElement.d.ts +32 -11
- package/dist/components/calcite-segmented-control/customElement.js +171 -96
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +10 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +57 -44
- package/dist/components/calcite-select/customElement.d.ts +22 -9
- package/dist/components/calcite-select/customElement.js +156 -101
- package/dist/components/calcite-sheet/customElement.d.ts +41 -14
- package/dist/components/calcite-sheet/customElement.js +233 -143
- package/dist/components/calcite-sheet/resources.d.ts +0 -2
- package/dist/components/calcite-shell/customElement.d.ts +17 -13
- package/dist/components/calcite-shell/customElement.js +100 -66
- package/dist/components/calcite-shell-center-row/customElement.d.ts +17 -5
- package/dist/components/calcite-shell-center-row/customElement.js +36 -29
- package/dist/components/calcite-shell-panel/customElement.d.ts +28 -14
- package/dist/components/calcite-shell-panel/customElement.js +223 -127
- package/dist/components/calcite-shell-panel/index.d.ts +1 -0
- package/dist/components/calcite-shell-panel/index.js +1 -0
- package/dist/components/calcite-shell-panel/interfaces.d.ts +8 -0
- package/dist/components/calcite-shell-panel/resources.d.ts +3 -1
- package/dist/components/calcite-slider/customElement.d.ts +71 -14
- package/dist/components/calcite-slider/customElement.js +604 -342
- package/dist/components/calcite-sort-handle/customElement.d.ts +35 -26
- package/dist/components/calcite-sort-handle/customElement.js +100 -74
- package/dist/components/calcite-sortable-list/customElement.d.ts +21 -5
- package/dist/components/calcite-sortable-list/customElement.js +88 -44
- package/dist/components/calcite-split-button/customElement.d.ts +39 -8
- package/dist/components/calcite-split-button/customElement.js +36 -32
- package/dist/components/calcite-stack/customElement.d.ts +10 -6
- package/dist/components/calcite-stack/customElement.js +38 -37
- package/dist/components/calcite-stepper/customElement.d.ts +26 -19
- package/dist/components/calcite-stepper/customElement.js +192 -123
- package/dist/components/calcite-stepper/resources.d.ts +5 -0
- package/dist/components/calcite-stepper-item/customElement.d.ts +29 -14
- package/dist/components/calcite-stepper-item/customElement.js +105 -59
- package/dist/components/calcite-stepper-item/resources.d.ts +1 -0
- package/dist/components/calcite-switch/customElement.d.ts +15 -3
- package/dist/components/calcite-switch/customElement.js +56 -43
- package/dist/components/calcite-tab/customElement.d.ts +3 -1
- package/dist/components/calcite-tab/customElement.js +44 -40
- package/dist/components/calcite-tab-nav/customElement.d.ts +11 -18
- package/dist/components/calcite-tab-nav/customElement.js +297 -165
- package/dist/components/calcite-tab-title/customElement.d.ts +25 -14
- package/dist/components/calcite-tab-title/customElement.js +145 -86
- package/dist/components/calcite-tab-title/resources.d.ts +0 -4
- package/dist/components/calcite-table/customElement.d.ts +60 -31
- package/dist/components/calcite-table/customElement.js +197 -105
- package/dist/components/calcite-table-cell/customElement.d.ts +11 -12
- package/dist/components/calcite-table-cell/customElement.js +54 -47
- package/dist/components/calcite-table-header/customElement.d.ts +10 -11
- package/dist/components/calcite-table-header/customElement.js +64 -46
- package/dist/components/calcite-table-row/customElement.d.ts +13 -4
- package/dist/components/calcite-table-row/customElement.js +168 -72
- package/dist/components/calcite-tabs/customElement.d.ts +22 -6
- package/dist/components/calcite-tabs/customElement.js +79 -49
- package/dist/components/calcite-tabs/resources.d.ts +3 -0
- package/dist/components/calcite-text-area/customElement.d.ts +43 -23
- package/dist/components/calcite-text-area/customElement.js +172 -102
- package/dist/components/calcite-tile/customElement.d.ts +31 -9
- package/dist/components/calcite-tile/customElement.js +90 -59
- package/dist/components/calcite-tile-group/customElement.d.ts +21 -7
- package/dist/components/calcite-tile-group/customElement.js +95 -59
- package/dist/components/calcite-tile-select/customElement.d.ts +33 -7
- package/dist/components/calcite-tile-select/customElement.js +145 -83
- package/dist/components/calcite-tile-select-group/customElement.d.ts +8 -2
- package/dist/components/calcite-tile-select-group/customElement.js +19 -21
- package/dist/components/calcite-time-picker/customElement.d.ts +18 -15
- package/dist/components/calcite-time-picker/customElement.js +529 -326
- package/dist/components/calcite-tip/customElement.d.ts +19 -14
- package/dist/components/calcite-tip/customElement.js +45 -38
- package/dist/components/calcite-tip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tip-group/customElement.js +13 -17
- package/dist/components/calcite-tip-manager/customElement.d.ts +17 -17
- package/dist/components/calcite-tip-manager/customElement.js +110 -80
- package/dist/components/calcite-tooltip/customElement.d.ts +23 -5
- package/dist/components/calcite-tooltip/customElement.js +315 -162
- package/dist/components/calcite-tree/customElement.d.ts +10 -6
- package/dist/components/calcite-tree/customElement.js +234 -117
- package/dist/components/calcite-tree-item/customElement.d.ts +18 -6
- package/dist/components/calcite-tree-item/customElement.js +193 -112
- package/dist/components/functional/Validation.d.ts +3 -2
- package/dist/components/functional/XButton.d.ts +6 -2
- package/dist/controllers/time/time.d.ts +160 -0
- package/dist/controllers/usePreventDocumentScroll.d.ts +22 -0
- package/dist/controllers/useT9n.d.ts +1 -1
- package/dist/custom-theme/block.d.ts +3 -0
- package/dist/custom-theme/filter.d.ts +17 -0
- package/dist/custom-theme/notice.d.ts +3 -0
- package/dist/custom-theme/radio-button-group.d.ts +5 -0
- package/dist/custom-theme/radio-button.d.ts +7 -0
- package/dist/custom-theme/shell-panel.d.ts +11 -6
- package/dist/custom-theme/stepper-item.d.ts +22 -0
- package/dist/custom-theme/stepper.d.ts +8 -0
- package/dist/custom-theme/switch.d.ts +1 -0
- package/dist/custom-theme/tabs.d.ts +12 -0
- package/dist/custom-theme/time-picker.d.ts +11 -0
- package/dist/docs/api.json +499 -86
- package/dist/docs/docs.json +507 -38
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +374 -22
- package/dist/docs/vscode.html-custom-data.json +25 -20
- package/dist/docs/web-types.json +410 -46
- package/dist/extras/vscode-data.json +25 -20
- package/dist/index.js +10 -9
- package/dist/loader.js +9 -9
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/dom.d.ts +9 -4
- package/dist/utils/locale.d.ts +1 -3
- package/dist/utils/resources.d.ts +2 -0
- package/dist/utils/text.d.ts +7 -0
- package/dist/utils/time.d.ts +22 -24
- package/package.json +20 -10
- package/dist/calcite/26AYBYK2.js +0 -4
- package/dist/calcite/26AYBYK2.js.LEGAL.txt +0 -3
- package/dist/calcite/27JKSWVK.js +0 -4
- package/dist/calcite/2CAGVKP6.js +0 -4
- package/dist/calcite/2CS7HMYB.js +0 -4
- package/dist/calcite/2CS7HMYB.js.LEGAL.txt +0 -0
- package/dist/calcite/2DYBEUM4.js +0 -4
- package/dist/calcite/2DYBEUM4.js.LEGAL.txt +0 -3
- package/dist/calcite/2EMJW5JK.js +0 -4
- package/dist/calcite/2EMJW5JK.js.LEGAL.txt +0 -0
- package/dist/calcite/2GPLYBGK.js +0 -4
- package/dist/calcite/2GPLYBGK.js.LEGAL.txt +0 -3
- package/dist/calcite/2RNUX534.js +0 -4
- package/dist/calcite/2RNUX534.js.LEGAL.txt +0 -0
- package/dist/calcite/2TJD25U2.js +0 -4
- package/dist/calcite/2TJD25U2.js.LEGAL.txt +0 -3
- package/dist/calcite/2YE5VC75.js +0 -4
- package/dist/calcite/2YE5VC75.js.LEGAL.txt +0 -3
- package/dist/calcite/32VBLE3F.js +0 -4
- package/dist/calcite/32VBLE3F.js.LEGAL.txt +0 -3
- package/dist/calcite/36WGIYFN.js +0 -4
- package/dist/calcite/36WGIYFN.js.LEGAL.txt +0 -0
- package/dist/calcite/3724LKSS.js +0 -4
- package/dist/calcite/3724LKSS.js.LEGAL.txt +0 -0
- package/dist/calcite/3DMMWCF5.js +0 -4
- package/dist/calcite/3DMMWCF5.js.LEGAL.txt +0 -3
- package/dist/calcite/3IWLNLFU.js +0 -4
- package/dist/calcite/3IWLNLFU.js.LEGAL.txt +0 -0
- package/dist/calcite/3JDK5UIB.js +0 -4
- package/dist/calcite/3JDK5UIB.js.LEGAL.txt +0 -0
- package/dist/calcite/3N63O3E7.js +0 -4
- package/dist/calcite/3N63O3E7.js.LEGAL.txt +0 -0
- package/dist/calcite/3N6SGG5T.js +0 -4
- package/dist/calcite/3N6SGG5T.js.LEGAL.txt +0 -0
- package/dist/calcite/3TMALFNZ.js.LEGAL.txt +0 -3
- package/dist/calcite/4B2L6UGI.js +0 -4
- package/dist/calcite/4B2L6UGI.js.LEGAL.txt +0 -3
- package/dist/calcite/4HHZKI5A.js +0 -4
- package/dist/calcite/4HHZKI5A.js.LEGAL.txt +0 -0
- package/dist/calcite/4TMCJ2BE.js +0 -4
- package/dist/calcite/4TMCJ2BE.js.LEGAL.txt +0 -3
- package/dist/calcite/4XOI73TX.js.LEGAL.txt +0 -3
- package/dist/calcite/55ARYVN5.js +0 -4
- package/dist/calcite/55ARYVN5.js.LEGAL.txt +0 -0
- package/dist/calcite/5DAIGRFU.js +0 -4
- package/dist/calcite/5DAIGRFU.js.LEGAL.txt +0 -3
- package/dist/calcite/5HEYAVY4.js +0 -4
- package/dist/calcite/5HEYAVY4.js.LEGAL.txt +0 -3
- package/dist/calcite/5KHEDOAF.js +0 -4
- package/dist/calcite/5KHEDOAF.js.LEGAL.txt +0 -3
- package/dist/calcite/5QHSICHQ.js +0 -4
- package/dist/calcite/5QHSICHQ.js.LEGAL.txt +0 -0
- package/dist/calcite/5RBXQG54.js +0 -4
- package/dist/calcite/5RBXQG54.js.LEGAL.txt +0 -3
- package/dist/calcite/5STV3CPB.js +0 -4
- package/dist/calcite/5STV3CPB.js.LEGAL.txt +0 -3
- package/dist/calcite/5UAA7SH2.js.LEGAL.txt +0 -3
- package/dist/calcite/5ZSPQU3H.js.LEGAL.txt +0 -0
- package/dist/calcite/6657PBTK.js +0 -4
- package/dist/calcite/6657PBTK.js.LEGAL.txt +0 -3
- package/dist/calcite/6GNJL6RM.js.LEGAL.txt +0 -0
- package/dist/calcite/6O2LV5KM.js +0 -4
- package/dist/calcite/6O2LV5KM.js.LEGAL.txt +0 -3
- package/dist/calcite/6OTA3FNS.js +0 -4
- package/dist/calcite/6OTA3FNS.js.LEGAL.txt +0 -3
- package/dist/calcite/6Q4AP6BN.js +0 -4
- package/dist/calcite/6Q4AP6BN.js.LEGAL.txt +0 -3
- package/dist/calcite/6VHZ57MA.js.LEGAL.txt +0 -3
- package/dist/calcite/74MFLJNI.js +0 -4
- package/dist/calcite/74MFLJNI.js.LEGAL.txt +0 -0
- package/dist/calcite/74NNTP2J.js.LEGAL.txt +0 -3
- package/dist/calcite/76CFFN4D.js +0 -4
- package/dist/calcite/76CFFN4D.js.LEGAL.txt +0 -3
- package/dist/calcite/76LZGCWR.js +0 -4
- package/dist/calcite/76LZGCWR.js.LEGAL.txt +0 -3
- package/dist/calcite/7CAF57XC.js +0 -4
- package/dist/calcite/7CAF57XC.js.LEGAL.txt +0 -0
- package/dist/calcite/7HACTWFX.js +0 -4
- package/dist/calcite/7HACTWFX.js.LEGAL.txt +0 -3
- package/dist/calcite/7OGL3BZE.js.LEGAL.txt +0 -3
- package/dist/calcite/7OPR3IR7.js +0 -4
- package/dist/calcite/7OPR3IR7.js.LEGAL.txt +0 -3
- package/dist/calcite/7PVN322K.js +0 -4
- package/dist/calcite/7PVN322K.js.LEGAL.txt +0 -0
- package/dist/calcite/7SXYG7JA.js +0 -4
- package/dist/calcite/7SXYG7JA.js.LEGAL.txt +0 -0
- package/dist/calcite/7T4Y7BN7.js +0 -4
- package/dist/calcite/7T4Y7BN7.js.LEGAL.txt +0 -3
- package/dist/calcite/7TDKC3II.js +0 -4
- package/dist/calcite/7TDKC3II.js.LEGAL.txt +0 -3
- package/dist/calcite/AGP2RLU5.js +0 -4
- package/dist/calcite/AGP2RLU5.js.LEGAL.txt +0 -3
- package/dist/calcite/AGXKH6ZQ.js +0 -4
- package/dist/calcite/AGXKH6ZQ.js.LEGAL.txt +0 -0
- package/dist/calcite/ARBF3KJA.js +0 -4
- package/dist/calcite/ARBF3KJA.js.LEGAL.txt +0 -3
- package/dist/calcite/ARD7P4DE.js +0 -4
- package/dist/calcite/ARD7P4DE.js.LEGAL.txt +0 -0
- package/dist/calcite/ASMLJSP4.js +0 -4
- package/dist/calcite/ASMLJSP4.js.LEGAL.txt +0 -0
- package/dist/calcite/AVKN4BIE.js.LEGAL.txt +0 -3
- package/dist/calcite/AW5HFCYO.js +0 -4
- package/dist/calcite/AW5HFCYO.js.LEGAL.txt +0 -3
- package/dist/calcite/AXHBMLL3.js.LEGAL.txt +0 -3
- package/dist/calcite/AXJC6GJM.js.LEGAL.txt +0 -3
- package/dist/calcite/B3KHN7PX.js +0 -5
- package/dist/calcite/B3KHN7PX.js.LEGAL.txt +0 -3
- package/dist/calcite/BB7R7XNZ.js +0 -4
- package/dist/calcite/BB7R7XNZ.js.LEGAL.txt +0 -3
- package/dist/calcite/BBXSB5HU.js +0 -4
- package/dist/calcite/BBXSB5HU.js.LEGAL.txt +0 -3
- package/dist/calcite/BGBVTS37.js +0 -4
- package/dist/calcite/BGBVTS37.js.LEGAL.txt +0 -3
- package/dist/calcite/BK7DR2JR.js +0 -4
- package/dist/calcite/BK7DR2JR.js.LEGAL.txt +0 -3
- package/dist/calcite/BM42JZH6.js +0 -4
- package/dist/calcite/BM42JZH6.js.LEGAL.txt +0 -3
- package/dist/calcite/BSRAY7ZQ.js +0 -4
- package/dist/calcite/BSRAY7ZQ.js.LEGAL.txt +0 -3
- package/dist/calcite/BU6CYCDZ.js +0 -4
- package/dist/calcite/BU6CYCDZ.js.LEGAL.txt +0 -8
- package/dist/calcite/BYOEE7PP.js +0 -4
- package/dist/calcite/BYOEE7PP.js.LEGAL.txt +0 -3
- package/dist/calcite/C6JXABPR.js +0 -4
- package/dist/calcite/C6JXABPR.js.LEGAL.txt +0 -0
- package/dist/calcite/C7XK7DMB.js +0 -4
- package/dist/calcite/C7XK7DMB.js.LEGAL.txt +0 -0
- package/dist/calcite/CSO72U4Q.js.LEGAL.txt +0 -3
- package/dist/calcite/CWEKWIKL.js +0 -4
- package/dist/calcite/CWEKWIKL.js.LEGAL.txt +0 -3
- package/dist/calcite/CXXWRYIL.js +0 -4
- package/dist/calcite/CXXWRYIL.js.LEGAL.txt +0 -3
- package/dist/calcite/DE5A72JI.js +0 -4
- package/dist/calcite/DE5A72JI.js.LEGAL.txt +0 -0
- package/dist/calcite/DK6FDHT5.js +0 -4
- package/dist/calcite/DK6FDHT5.js.LEGAL.txt +0 -3
- package/dist/calcite/DNF35U45.js.LEGAL.txt +0 -3
- package/dist/calcite/DWFXGTWH.js +0 -4
- package/dist/calcite/DWFXGTWH.js.LEGAL.txt +0 -3
- package/dist/calcite/DZLQNEHB.js.LEGAL.txt +0 -3
- package/dist/calcite/DZLSBUBC.js.LEGAL.txt +0 -3
- package/dist/calcite/E44QSL4V.js +0 -4
- package/dist/calcite/E44QSL4V.js.LEGAL.txt +0 -0
- package/dist/calcite/E6VI7UBU.js +0 -4
- package/dist/calcite/E6VI7UBU.js.LEGAL.txt +0 -3
- package/dist/calcite/EJQXHV2V.js +0 -4
- package/dist/calcite/EJQXHV2V.js.LEGAL.txt +0 -3
- package/dist/calcite/EQ74U6J4.js +0 -4
- package/dist/calcite/EQ74U6J4.js.LEGAL.txt +0 -3
- package/dist/calcite/EQWKYMFB.js.LEGAL.txt +0 -3
- package/dist/calcite/EV3XFLC6.js +0 -4
- package/dist/calcite/EV3XFLC6.js.LEGAL.txt +0 -0
- package/dist/calcite/FAJOTNAS.js +0 -4
- package/dist/calcite/FAJOTNAS.js.LEGAL.txt +0 -3
- package/dist/calcite/FAX5A2Q6.js +0 -4
- package/dist/calcite/FAX5A2Q6.js.LEGAL.txt +0 -3
- package/dist/calcite/FEUQL4DP.js +0 -4
- package/dist/calcite/FEUQL4DP.js.LEGAL.txt +0 -3
- package/dist/calcite/FJ5Z7OK3.js +0 -4
- package/dist/calcite/FJ5Z7OK3.js.LEGAL.txt +0 -3
- package/dist/calcite/FM4UVZDM.js +0 -4
- package/dist/calcite/FM4UVZDM.js.LEGAL.txt +0 -3
- package/dist/calcite/FOBABKWX.js +0 -4
- package/dist/calcite/FOBABKWX.js.LEGAL.txt +0 -3
- package/dist/calcite/FTL336MP.js.LEGAL.txt +0 -3
- package/dist/calcite/FZN4OSRU.js.LEGAL.txt +0 -3
- package/dist/calcite/G5FRYSAH.js +0 -4
- package/dist/calcite/G5FRYSAH.js.LEGAL.txt +0 -0
- package/dist/calcite/GDLXBMLS.js +0 -4
- package/dist/calcite/GDLXBMLS.js.LEGAL.txt +0 -3
- package/dist/calcite/GK6TK2E7.js.LEGAL.txt +0 -3
- package/dist/calcite/GQRG6QDW.js.LEGAL.txt +0 -3
- package/dist/calcite/GUIGWLMX.js +0 -4
- package/dist/calcite/GUIGWLMX.js.LEGAL.txt +0 -3
- package/dist/calcite/H2NKJFZR.js +0 -4
- package/dist/calcite/H2NKJFZR.js.LEGAL.txt +0 -3
- package/dist/calcite/H3N6DCC5.js +0 -5
- package/dist/calcite/H3N6DCC5.js.LEGAL.txt +0 -17
- package/dist/calcite/H4K2UUNE.js.LEGAL.txt +0 -3
- package/dist/calcite/H6BZRCMN.js +0 -4
- package/dist/calcite/H6BZRCMN.js.LEGAL.txt +0 -3
- package/dist/calcite/HDXLJD7I.js.LEGAL.txt +0 -3
- package/dist/calcite/HKD5RAI6.js +0 -4
- package/dist/calcite/HKD5RAI6.js.LEGAL.txt +0 -3
- package/dist/calcite/HPUG3AOF.js +0 -4
- package/dist/calcite/HPUG3AOF.js.LEGAL.txt +0 -3
- package/dist/calcite/HYVW3SPK.js +0 -4
- package/dist/calcite/HYVW3SPK.js.LEGAL.txt +0 -3
- package/dist/calcite/IAXWUQAA.js +0 -4
- package/dist/calcite/IAXWUQAA.js.LEGAL.txt +0 -3
- package/dist/calcite/ICMQ6BLI.js.LEGAL.txt +0 -3
- package/dist/calcite/IJGTUDYA.js +0 -4
- package/dist/calcite/IJGTUDYA.js.LEGAL.txt +0 -0
- package/dist/calcite/IWG2M77K.js.LEGAL.txt +0 -8
- package/dist/calcite/JA5AYYMK.js +0 -4
- package/dist/calcite/JA5AYYMK.js.LEGAL.txt +0 -3
- package/dist/calcite/JFIRZ2PX.js +0 -4
- package/dist/calcite/JFIRZ2PX.js.LEGAL.txt +0 -0
- package/dist/calcite/JHZHDZRB.js.LEGAL.txt +0 -12
- package/dist/calcite/JI2NIWBJ.js +0 -4
- package/dist/calcite/JI2NIWBJ.js.LEGAL.txt +0 -0
- package/dist/calcite/JV62EBND.js.LEGAL.txt +0 -0
- package/dist/calcite/K7JLVXGZ.js +0 -4
- package/dist/calcite/K7JLVXGZ.js.LEGAL.txt +0 -3
- package/dist/calcite/K7JVG6WN.js +0 -4
- package/dist/calcite/K7JVG6WN.js.LEGAL.txt +0 -3
- package/dist/calcite/KOFS6EJN.js.LEGAL.txt +0 -8
- package/dist/calcite/KZHQGZIA.js +0 -4
- package/dist/calcite/KZHQGZIA.js.LEGAL.txt +0 -0
- package/dist/calcite/L2P2XG5D.js +0 -4
- package/dist/calcite/L2P2XG5D.js.LEGAL.txt +0 -0
- package/dist/calcite/L4HVQOSJ.js +0 -4
- package/dist/calcite/L4HVQOSJ.js.LEGAL.txt +0 -0
- package/dist/calcite/LEOMKUDZ.js +0 -4
- package/dist/calcite/LEOMKUDZ.js.LEGAL.txt +0 -0
- package/dist/calcite/LLFWM6PU.js +0 -4
- package/dist/calcite/LLFWM6PU.js.LEGAL.txt +0 -0
- package/dist/calcite/LMHRYBUD.js +0 -4
- package/dist/calcite/LMHRYBUD.js.LEGAL.txt +0 -3
- package/dist/calcite/LRE4BVUS.js +0 -22
- package/dist/calcite/LRE4BVUS.js.LEGAL.txt +0 -3
- package/dist/calcite/M23EXMUM.js.LEGAL.txt +0 -3
- package/dist/calcite/MFR7VT36.js +0 -4
- package/dist/calcite/MFR7VT36.js.LEGAL.txt +0 -3
- package/dist/calcite/MIWYUCUJ.js +0 -4
- package/dist/calcite/MIWYUCUJ.js.LEGAL.txt +0 -3
- package/dist/calcite/MO3WHANF.js +0 -4
- package/dist/calcite/MO3WHANF.js.LEGAL.txt +0 -3
- package/dist/calcite/N4YBK2P6.js +0 -4
- package/dist/calcite/N4YBK2P6.js.LEGAL.txt +0 -0
- package/dist/calcite/N6NVAXNC.js.LEGAL.txt +0 -3
- package/dist/calcite/NAG4OXY7.js +0 -4
- package/dist/calcite/NAG4OXY7.js.LEGAL.txt +0 -7
- package/dist/calcite/NBBV76LJ.js +0 -6
- package/dist/calcite/NBBV76LJ.js.LEGAL.txt +0 -145
- package/dist/calcite/NL7VHOV3.js +0 -28
- package/dist/calcite/NL7VHOV3.js.LEGAL.txt +0 -3
- package/dist/calcite/NRP6YLGL.js +0 -4
- package/dist/calcite/NRP6YLGL.js.LEGAL.txt +0 -3
- package/dist/calcite/NVFJYCQH.js +0 -4
- package/dist/calcite/NVFJYCQH.js.LEGAL.txt +0 -3
- package/dist/calcite/NXUIQJEX.js +0 -4
- package/dist/calcite/NXUIQJEX.js.LEGAL.txt +0 -3
- package/dist/calcite/NZ7N7HEU.js +0 -4
- package/dist/calcite/NZ7N7HEU.js.LEGAL.txt +0 -3
- package/dist/calcite/O7GN4JAZ.js +0 -4
- package/dist/calcite/O7GN4JAZ.js.LEGAL.txt +0 -3
- package/dist/calcite/O7YDCIY4.js +0 -4
- package/dist/calcite/O7YDCIY4.js.LEGAL.txt +0 -0
- package/dist/calcite/OABWOMJO.js +0 -4
- package/dist/calcite/OABWOMJO.js.LEGAL.txt +0 -3
- package/dist/calcite/OFBS536N.js +0 -4
- package/dist/calcite/OFBS536N.js.LEGAL.txt +0 -0
- package/dist/calcite/OJIJJUNH.js +0 -4
- package/dist/calcite/OJIJJUNH.js.LEGAL.txt +0 -3
- package/dist/calcite/OZ3N345N.js +0 -4
- package/dist/calcite/OZ3N345N.js.LEGAL.txt +0 -3
- package/dist/calcite/P7MY5UAF.js +0 -4
- package/dist/calcite/P7MY5UAF.js.LEGAL.txt +0 -3
- package/dist/calcite/PLTLXK7F.js +0 -4
- package/dist/calcite/PLTLXK7F.js.LEGAL.txt +0 -3
- package/dist/calcite/PPFHRQGU.js +0 -4
- package/dist/calcite/PPFHRQGU.js.LEGAL.txt +0 -3
- package/dist/calcite/PRM7DQ67.js +0 -4
- package/dist/calcite/PRM7DQ67.js.LEGAL.txt +0 -0
- package/dist/calcite/PU2ISAIE.js.LEGAL.txt +0 -0
- package/dist/calcite/Q45HHFA6.js +0 -4
- package/dist/calcite/Q45HHFA6.js.LEGAL.txt +0 -3
- package/dist/calcite/Q6OBQ3OG.js +0 -4
- package/dist/calcite/Q6OBQ3OG.js.LEGAL.txt +0 -3
- package/dist/calcite/QEOHIM2X.js.LEGAL.txt +0 -0
- package/dist/calcite/QGQKCCKA.js +0 -4
- package/dist/calcite/QGQKCCKA.js.LEGAL.txt +0 -3
- package/dist/calcite/QLPNENJC.js +0 -4
- package/dist/calcite/QLPNENJC.js.LEGAL.txt +0 -0
- package/dist/calcite/QSONXL4P.js +0 -4
- package/dist/calcite/QSONXL4P.js.LEGAL.txt +0 -3
- package/dist/calcite/R7FHZRSQ.js +0 -4
- package/dist/calcite/R7FHZRSQ.js.LEGAL.txt +0 -0
- package/dist/calcite/RC62OYLV.js +0 -4
- package/dist/calcite/RC62OYLV.js.LEGAL.txt +0 -3
- package/dist/calcite/RMT25OMF.js.LEGAL.txt +0 -0
- package/dist/calcite/RNWUPMAR.js +0 -4
- package/dist/calcite/RNWUPMAR.js.LEGAL.txt +0 -0
- package/dist/calcite/RVBIWRES.js +0 -4
- package/dist/calcite/RVBIWRES.js.LEGAL.txt +0 -3
- package/dist/calcite/RZNCATUE.js +0 -4
- package/dist/calcite/RZNCATUE.js.LEGAL.txt +0 -0
- package/dist/calcite/S6AHL735.js +0 -4
- package/dist/calcite/S6AHL735.js.LEGAL.txt +0 -0
- package/dist/calcite/S7POHCW2.js +0 -4
- package/dist/calcite/S7POHCW2.js.LEGAL.txt +0 -0
- package/dist/calcite/SFYN7W44.js +0 -4
- package/dist/calcite/SFYN7W44.js.LEGAL.txt +0 -0
- package/dist/calcite/SHLNIIOR.js +0 -4
- package/dist/calcite/SHLNIIOR.js.LEGAL.txt +0 -0
- package/dist/calcite/SLGGM4OA.js.LEGAL.txt +0 -3
- package/dist/calcite/SNV5EROQ.js +0 -4
- package/dist/calcite/SNV5EROQ.js.LEGAL.txt +0 -3
- package/dist/calcite/TFEXJX73.js +0 -4
- package/dist/calcite/TFEXJX73.js.LEGAL.txt +0 -3
- package/dist/calcite/TLGRPW3F.js +0 -4
- package/dist/calcite/TLGRPW3F.js.LEGAL.txt +0 -3
- package/dist/calcite/TS5KRSGX.js +0 -4
- package/dist/calcite/TS5KRSGX.js.LEGAL.txt +0 -3
- package/dist/calcite/TTKG5GKH.js +0 -4
- package/dist/calcite/TTKG5GKH.js.LEGAL.txt +0 -3
- package/dist/calcite/TVQWXOJY.js.LEGAL.txt +0 -3
- package/dist/calcite/TZDITKFC.js +0 -4
- package/dist/calcite/TZDITKFC.js.LEGAL.txt +0 -3
- package/dist/calcite/U3I76W6V.js +0 -4
- package/dist/calcite/U3I76W6V.js.LEGAL.txt +0 -3
- package/dist/calcite/U3L2D4UA.js +0 -4
- package/dist/calcite/U3L2D4UA.js.LEGAL.txt +0 -3
- package/dist/calcite/U4MGOV5F.js +0 -4
- package/dist/calcite/U4MGOV5F.js.LEGAL.txt +0 -0
- package/dist/calcite/U5DJDOQM.js +0 -4
- package/dist/calcite/U5DJDOQM.js.LEGAL.txt +0 -3
- package/dist/calcite/U7JZJZID.js.LEGAL.txt +0 -3
- package/dist/calcite/UIV45HQI.js +0 -4
- package/dist/calcite/UIV45HQI.js.LEGAL.txt +0 -3
- package/dist/calcite/UOAG6UXR.js +0 -4
- package/dist/calcite/UOAG6UXR.js.LEGAL.txt +0 -3
- package/dist/calcite/UQ6NOK7V.js.LEGAL.txt +0 -0
- package/dist/calcite/UVHD5DVF.js +0 -4
- package/dist/calcite/UVHD5DVF.js.LEGAL.txt +0 -3
- package/dist/calcite/UZNHEBTA.js +0 -4
- package/dist/calcite/UZNHEBTA.js.LEGAL.txt +0 -0
- package/dist/calcite/V7WOMJ7S.js +0 -4
- package/dist/calcite/V7WOMJ7S.js.LEGAL.txt +0 -0
- package/dist/calcite/VJGVXJ7G.js +0 -4
- package/dist/calcite/VJGVXJ7G.js.LEGAL.txt +0 -3
- package/dist/calcite/VJI3WRXE.js +0 -4
- package/dist/calcite/VJI3WRXE.js.LEGAL.txt +0 -3
- package/dist/calcite/VJWVIHC3.js +0 -4
- package/dist/calcite/VJWVIHC3.js.LEGAL.txt +0 -3
- package/dist/calcite/VYTJSHUS.js.LEGAL.txt +0 -0
- package/dist/calcite/VZ2LVTOL.js +0 -4
- package/dist/calcite/VZ2LVTOL.js.LEGAL.txt +0 -3
- package/dist/calcite/VZLCIUHL.js +0 -4
- package/dist/calcite/VZLCIUHL.js.LEGAL.txt +0 -3
- package/dist/calcite/W22ATHVV.js.LEGAL.txt +0 -3
- package/dist/calcite/WCVP62GT.js +0 -4
- package/dist/calcite/WCVP62GT.js.LEGAL.txt +0 -0
- package/dist/calcite/WEJTFYEL.js +0 -4
- package/dist/calcite/WEJTFYEL.js.LEGAL.txt +0 -0
- package/dist/calcite/WIJ3NQMT.js +0 -4
- package/dist/calcite/WIJ3NQMT.js.LEGAL.txt +0 -3
- package/dist/calcite/WNMAQWLE.js +0 -4
- package/dist/calcite/WNMAQWLE.js.LEGAL.txt +0 -0
- package/dist/calcite/WSBJCWKT.js +0 -4
- package/dist/calcite/WSBJCWKT.js.LEGAL.txt +0 -13
- package/dist/calcite/WXMEFCRG.js +0 -4
- package/dist/calcite/WXMEFCRG.js.LEGAL.txt +0 -3
- package/dist/calcite/WXOYG3KF.js +0 -4
- package/dist/calcite/WXOYG3KF.js.LEGAL.txt +0 -3
- package/dist/calcite/XHFMI4SY.js.LEGAL.txt +0 -3
- package/dist/calcite/XKWZHF75.js +0 -4
- package/dist/calcite/XKWZHF75.js.LEGAL.txt +0 -3
- package/dist/calcite/XLN4FNGQ.js +0 -4
- package/dist/calcite/XLN4FNGQ.js.LEGAL.txt +0 -3
- package/dist/calcite/XMRJRNWN.js.LEGAL.txt +0 -3
- package/dist/calcite/XOXMCNMK.js +0 -4
- package/dist/calcite/XOXMCNMK.js.LEGAL.txt +0 -3
- package/dist/calcite/XQG5HEEA.js +0 -4
- package/dist/calcite/XQG5HEEA.js.LEGAL.txt +0 -3
- package/dist/calcite/XXDAPNZP.js +0 -4
- package/dist/calcite/XXDAPNZP.js.LEGAL.txt +0 -0
- package/dist/calcite/Y4NPOA4B.js.LEGAL.txt +0 -3
- package/dist/calcite/YEZF7W76.js +0 -4
- package/dist/calcite/YEZF7W76.js.LEGAL.txt +0 -3
- package/dist/calcite/YIQ3DCYG.js.LEGAL.txt +0 -3
- package/dist/calcite/YJVN75H3.js +0 -4
- package/dist/calcite/YJVN75H3.js.LEGAL.txt +0 -3
- package/dist/calcite/YMEPZR5S.js +0 -4
- package/dist/calcite/YMEPZR5S.js.LEGAL.txt +0 -3
- package/dist/calcite/YPFQ4C6T.js +0 -4
- package/dist/calcite/YPFQ4C6T.js.LEGAL.txt +0 -3
- package/dist/calcite/YRA64MMV.js +0 -4
- package/dist/calcite/YRA64MMV.js.LEGAL.txt +0 -3
- package/dist/calcite/YVBD6AYN.js.LEGAL.txt +0 -3
- package/dist/calcite/YVQ6W2ZR.js.LEGAL.txt +0 -0
- package/dist/calcite/Z4PUXAY2.js.LEGAL.txt +0 -15
- package/dist/calcite/ZLTJAQIY.js +0 -4
- package/dist/calcite/ZLTJAQIY.js.LEGAL.txt +0 -0
- package/dist/calcite/ZNJ3VBOG.js.LEGAL.txt +0 -3
- package/dist/calcite/ZRBEN7GL.js +0 -4
- package/dist/calcite/ZRBEN7GL.js.LEGAL.txt +0 -3
- package/dist/calcite/ZTLUEDJO.js +0 -4
- package/dist/calcite/ZTLUEDJO.js.LEGAL.txt +0 -3
- package/dist/calcite/ZUEDJEWP.js +0 -4
- package/dist/calcite/ZUEDJEWP.js.LEGAL.txt +0 -3
- package/dist/calcite/calcite.esm.js.LEGAL.txt +0 -3
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -32,26 +32,26 @@ interactjs
|
|
|
32
32
|
|
|
33
33
|
Copyright (c) 2012-present Taye Adeyemi <dev@taye.me>
|
|
34
34
|
|
|
35
|
-
Permission is hereby granted, free of charge, to any person
|
|
36
|
-
obtaining a copy of this software and associated
|
|
37
|
-
documentation files (the "Software"), to deal in the Software
|
|
38
|
-
without restriction, including without limitation the rights
|
|
39
|
-
to use, copy, modify, merge, publish, distribute, sublicense,
|
|
40
|
-
and/or sell copies of the Software, and to permit persons to
|
|
41
|
-
whom the Software is furnished to do so, subject to the
|
|
35
|
+
Permission is hereby granted, free of charge, to any person
|
|
36
|
+
obtaining a copy of this software and associated
|
|
37
|
+
documentation files (the "Software"), to deal in the Software
|
|
38
|
+
without restriction, including without limitation the rights
|
|
39
|
+
to use, copy, modify, merge, publish, distribute, sublicense,
|
|
40
|
+
and/or sell copies of the Software, and to permit persons to
|
|
41
|
+
whom the Software is furnished to do so, subject to the
|
|
42
42
|
following conditions:
|
|
43
43
|
|
|
44
|
-
The above copyright notice and this permission notice shall
|
|
45
|
-
be included in all copies or substantial portions of the
|
|
44
|
+
The above copyright notice and this permission notice shall
|
|
45
|
+
be included in all copies or substantial portions of the
|
|
46
46
|
Software.
|
|
47
47
|
|
|
48
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
49
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
50
|
-
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
51
|
-
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
52
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
54
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
48
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
49
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
50
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
51
|
+
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
52
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
54
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
55
55
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
56
56
|
|
|
57
57
|
---
|
|
@@ -66,15 +66,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
66
66
|
modification, are permitted provided that the following conditions are met:
|
|
67
67
|
|
|
68
68
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
69
|
-
list of conditions and the following disclaimer.
|
|
69
|
+
list of conditions and the following disclaimer.
|
|
70
70
|
|
|
71
71
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
72
|
-
this list of conditions and the following disclaimer in the documentation
|
|
73
|
-
and/or other materials provided with the distribution.
|
|
72
|
+
this list of conditions and the following disclaimer in the documentation
|
|
73
|
+
and/or other materials provided with the distribution.
|
|
74
74
|
|
|
75
75
|
3. Neither the name of the copyright holder nor the names of its
|
|
76
|
-
contributors may be used to endorse or promote products derived from
|
|
77
|
-
this software without specific prior written permission.
|
|
76
|
+
contributors may be used to endorse or promote products derived from
|
|
77
|
+
this software without specific prior written permission.
|
|
78
78
|
|
|
79
79
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
80
80
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -89,6 +89,34 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
92
|
+
@types/node
|
|
93
|
+
@types/sortablejs
|
|
94
|
+
@types/trusted-types
|
|
95
|
+
|
|
96
|
+
MIT License
|
|
97
|
+
|
|
98
|
+
Copyright (c) Microsoft Corporation.
|
|
99
|
+
|
|
100
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
101
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
102
|
+
in the Software without restriction, including without limitation the rights
|
|
103
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
104
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
105
|
+
furnished to do so, subject to the following conditions:
|
|
106
|
+
|
|
107
|
+
The above copyright notice and this permission notice shall be included in all
|
|
108
|
+
copies or substantial portions of the Software.
|
|
109
|
+
|
|
110
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
111
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
112
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
113
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
114
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
115
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
116
|
+
SOFTWARE
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
92
120
|
@lit-labs/ssr-client
|
|
93
121
|
@lit/reactive-element
|
|
94
122
|
lit
|
|
@@ -102,15 +130,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
102
130
|
modification, are permitted provided that the following conditions are met:
|
|
103
131
|
|
|
104
132
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
105
|
-
list of conditions and the following disclaimer.
|
|
133
|
+
list of conditions and the following disclaimer.
|
|
106
134
|
|
|
107
135
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
108
|
-
this list of conditions and the following disclaimer in the documentation
|
|
109
|
-
and/or other materials provided with the distribution.
|
|
136
|
+
this list of conditions and the following disclaimer in the documentation
|
|
137
|
+
and/or other materials provided with the distribution.
|
|
110
138
|
|
|
111
139
|
3. Neither the name of the copyright holder nor the names of its
|
|
112
|
-
contributors may be used to endorse or promote products derived from
|
|
113
|
-
this software without specific prior written permission.
|
|
140
|
+
contributors may be used to endorse or promote products derived from
|
|
141
|
+
this software without specific prior written permission.
|
|
114
142
|
|
|
115
143
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
116
144
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -141,15 +169,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
141
169
|
modification, are permitted provided that the following conditions are met:
|
|
142
170
|
|
|
143
171
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
144
|
-
list of conditions and the following disclaimer.
|
|
172
|
+
list of conditions and the following disclaimer.
|
|
145
173
|
|
|
146
174
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
147
|
-
this list of conditions and the following disclaimer in the documentation
|
|
148
|
-
and/or other materials provided with the distribution.
|
|
175
|
+
this list of conditions and the following disclaimer in the documentation
|
|
176
|
+
and/or other materials provided with the distribution.
|
|
149
177
|
|
|
150
178
|
3. Neither the name of the copyright holder nor the names of its
|
|
151
|
-
contributors may be used to endorse or promote products derived from
|
|
152
|
-
this software without specific prior written permission.
|
|
179
|
+
contributors may be used to endorse or promote products derived from
|
|
180
|
+
this software without specific prior written permission.
|
|
153
181
|
|
|
154
182
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
155
183
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -171,34 +199,6 @@ MIT
|
|
|
171
199
|
|
|
172
200
|
---
|
|
173
201
|
|
|
174
|
-
@types/node
|
|
175
|
-
@types/sortablejs
|
|
176
|
-
@types/trusted-types
|
|
177
|
-
|
|
178
|
-
MIT License
|
|
179
|
-
|
|
180
|
-
Copyright (c) Microsoft Corporation.
|
|
181
|
-
|
|
182
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
183
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
184
|
-
in the Software without restriction, including without limitation the rights
|
|
185
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
186
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
187
|
-
furnished to do so, subject to the following conditions:
|
|
188
|
-
|
|
189
|
-
The above copyright notice and this permission notice shall be included in all
|
|
190
|
-
copies or substantial portions of the Software.
|
|
191
|
-
|
|
192
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
193
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
194
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
195
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
196
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
197
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
198
|
-
SOFTWARE
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
202
|
color
|
|
203
203
|
|
|
204
204
|
Copyright (c) 2012 Heather Arthur
|
|
@@ -513,15 +513,15 @@ Redistribution and use in source and binary forms, with or without
|
|
|
513
513
|
modification, are permitted provided that the following conditions are met:
|
|
514
514
|
|
|
515
515
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
516
|
-
list of conditions and the following disclaimer.
|
|
516
|
+
list of conditions and the following disclaimer.
|
|
517
517
|
|
|
518
518
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
519
|
-
this list of conditions and the following disclaimer in the documentation
|
|
520
|
-
and/or other materials provided with the distribution.
|
|
519
|
+
this list of conditions and the following disclaimer in the documentation
|
|
520
|
+
and/or other materials provided with the distribution.
|
|
521
521
|
|
|
522
522
|
3. Neither the name of the copyright holder nor the names of its
|
|
523
|
-
contributors may be used to endorse or promote products derived from
|
|
524
|
-
this software without specific prior written permission.
|
|
523
|
+
contributors may be used to endorse or promote products derived from
|
|
524
|
+
this software without specific prior written permission.
|
|
525
525
|
|
|
526
526
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
527
527
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{a as y}from"./NV5XHCF2.js";import{a as _}from"./SSZABUNZ.js";import{a as K}from"./DLQJNGFW.js";import{a as C}from"./FE6MKZZP.js";import{a as F}from"./JKB6TXR2.js";import{a as U}from"./DRWF7WHL.js";import{a as R}from"./3AZU7INE.js";import{a as M}from"./Z2HHH7MO.js";import{d as L}from"./B57IYNDV.js";import{b as f}from"./DJOVRA4D.js";import{D as h,b as V,e as v,n as A}from"./7NEBRIS2.js";import{d as P}from"./JIYFVSYH.js";import"./EORC3KJU.js";import"./MTFIIZL5.js";import{E as O,F as c,I as E,K as I,M as T,N as $,R as H,c as B,d as S,q as u}from"./K5S46KVA.js";var r={scrim:"scrim",container:"container",containerOpen:"container--open",content:"content",contentContainer:"content-container",containerEmbedded:"container--embedded",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},j=B`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);box-sizing:border-box;display:flex;opacity:0;color:var(--calcite-sheet-text-color, var(--calcite-color-text-2));transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--calcite-sheet-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden}:host([opened]){visibility:visible!important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:flex;max-height:100%;max-width:100%;padding:0;background-color:var(--calcite-sheet-background-color, var(--calcite-color-foreground-1));max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transform:var(--calcite-sheet-hidden-position-internal)}.content-container{position:relative;display:flex;max-height:100%;max-width:100%;flex:1 1 0%;overflow:hidden}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([display-mode=float]) .container{padding:var(--calcite-spacing-md)}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{height:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{width:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);right:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);left:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-top-left-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-top-right-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,D=class extends O{constructor(){super(),this.focusTrap=K({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:()=>this.embedded,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.usePreventDocumentScroll=_()(this),this.ignoreOpenChange=!1,this.messages=L(),this.mutationObserver=M("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openProp="opened",this.transitionProp="opacity",this.keyDownHandler=e=>{let{defaultPrevented:t,key:a}=e;!t&&!this.escapeDisabled&&this.focusTrapDisabled&&this.open&&a==="Escape"&&(e.preventDefault(),this.open=!1)},this.resizeValues={inlineSize:null,blockSize:null,minInlineSize:null,minBlockSize:null,maxInlineSize:null,maxBlockSize:null},this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.focusTrapDisabled=!1,this.heightScale="m",this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.resizable=!1,this.widthScale="m",this.calciteSheetBeforeClose=u({cancelable:!1}),this.calciteSheetBeforeOpen=u({cancelable:!1}),this.calciteSheetClose=u({cancelable:!1}),this.calciteSheetOpen=u({cancelable:!1}),this.listen("keydown",this.keyDownHandler)}static{this.properties={resizeValues:[16,{},{state:!0}],preventDocumentScroll:[16,{},{state:!0}],beforeClose:[0,{},{attribute:!1}],displayMode:[3,{},{reflect:!0}],embedded:[5,{},{type:Boolean}],escapeDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heightScale:[3,{},{reflect:!0}],height:[3,{},{reflect:!0}],label:1,messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],opened:[7,{},{reflect:!0,type:Boolean}],outsideCloseDisabled:[7,{},{reflect:!0,type:Boolean}],position:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=j}get preventDocumentScroll(){return!this.embedded}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleSheet(e))}async setFocus(){await P(this),A(this.el)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setupInteractions()}load(){this.open&&this.openSheet()}willUpdate(e){e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&U(this),(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("position")&&(this.hasUpdated||this.position!=="inline-start")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.setupInteractions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.embedded=!1,this.cleanupInteractions()}toggleSheet(e){this.ignoreOpenChange||(e?this.openSheet():this.closeSheet())}getResizeIcon(){let{position:e}=this;return e==="block-start"||e==="block-end"?"drag-resize-vertical":"drag-resize-horizontal"}getContentElDOMRect(){return this.contentEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,defaultPrevented:a,shiftKey:n}=e,{position:i,resizable:s,contentEl:b,el:d,resizeValues:{maxBlockSize:x,maxInlineSize:g,minBlockSize:k,minInlineSize:w}}=this,z=[...i==="block-end"||i==="block-start"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!s||!b||a||!z.includes(t))return;let l=this.getContentElDOMRect(),m=v(d)==="rtl"?-1:1,o=n?$:T;switch(t){case"ArrowUp":this.updateSize({size:l.height+(i==="block-end"?o:-o),type:"blockSize"}),e.preventDefault();break;case"ArrowDown":this.updateSize({size:l.height+(i==="block-end"?-o:o),type:"blockSize"}),e.preventDefault();break;case"ArrowLeft":this.updateSize({size:l.width+(i==="inline-end"?o:-o)*m,type:"inlineSize"}),e.preventDefault();break;case"ArrowRight":this.updateSize({size:l.width+(i==="inline-end"?-o:o)*m,type:"inlineSize"}),e.preventDefault();break;case"Home":this.updateSize({size:i==="block-start"||i==="block-end"?k:w,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"}),e.preventDefault();break;case"End":this.updateSize({size:i==="block-start"||i==="block-end"?x:g,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"}),e.preventDefault();break}}updateSize({type:e,size:t}){let{contentEl:a,resizeValues:n}=this;if(!a)return;let i=e==="blockSize"?"minBlockSize":"minInlineSize",s=e==="blockSize"?"maxBlockSize":"maxInlineSize",b=n[i]&&n[s]?F(t,n[i],n[s]):t,d=Math.round(b);this.resizeValues={...n,[e]:d},a.style[e]=t!==null?`${d}px`:null}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"})}async setupInteractions(){this.cleanupInteractions();let{el:e,contentEl:t,resizable:a,position:n,open:i,resizeHandleEl:s}=this;if(!t||!i||!a||!s)return;await this.el.componentOnReady();let{inlineSize:b,minInlineSize:d,blockSize:x,minBlockSize:g,maxInlineSize:k,maxBlockSize:w}=window.getComputedStyle(t),p={inlineSize:h(b),blockSize:h(x),minInlineSize:h(d),minBlockSize:h(g),maxInlineSize:h(k)||window.innerWidth,maxBlockSize:h(w)||window.innerHeight};this.resizeValues=p;let z=v(e)==="rtl";this.interaction=y(t,{context:e.ownerDocument}).resizable({edges:{top:n==="block-end"?s:!1,right:n===(z?"inline-end":"inline-start")?s:!1,bottom:n==="block-start"?s:!1,left:n===(z?"inline-start":"inline-end")?s:!1},modifiers:[y.modifiers.restrictSize({min:{width:p.minInlineSize,height:p.minBlockSize},max:{width:p.maxInlineSize,height:p.maxBlockSize}})],listeners:{move:({rect:l})=>{let m=n==="block-start"||n==="block-end";this.updateSize({size:m?l.height:l.width,type:m?"blockSize":"inlineSize"})}}})}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.focusTrapDisabled&&this.setFocus(),this.focusTrap.activate(),this.calciteSheetOpen.emit()}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),this.focusTrap.deactivate()}setResizeHandleEl(e){this.resizeHandleEl=e,this.setupInteractions()}setContentEl(e){this.contentEl=e,this.contentId=V(e)}setTransitionEl(e){e&&(this.transitionEl=e)}async openSheet(){await this.componentOnReady(),this.opened=!0}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeSheet(){if(this.beforeClose)try{await this.beforeClose(this.el)}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}this.opened=!1}handleMutationObserver(){this.focusTrap.updateContainerElements()}render(){let{resizable:e,position:t,resizeValues:a}=this,n=v(this.el),i=t==="block-start"||t==="block-end";return E(this.el,"aria-describedby",this.contentId),this.el.ariaLabel=this.label,this.el.ariaModal="true",this.el.role="dialog",S`<div class=${c({[r.container]:!0,[r.containerOpen]:this.opened,[r.containerEmbedded]:this.embedded,[I.rtl]:n==="rtl",[C("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[C("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} ${f(this.setTransitionEl)}><calcite-scrim class=${c(r.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${c(r.content)} id=sheet-content ${f(this.setContentEl)}><div class=${c(r.contentContainer)}><slot></slot></div>${e?R("resize-handle",S`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${i?a.maxBlockSize:a.maxInlineSize} .ariaValueMin=${i?a.minBlockSize:a.minInlineSize} .ariaValueNow=${i?a.blockSize:a.inlineSize} class=${c(r.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${f(this.setResizeHandleEl)}><div class=${c(r.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null}</div></div>`}};H("calcite-sheet",D);export{D as Sheet};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{a}from"./AL6MDP2K.js";import{b as A}from"./DJOVRA4D.js";import{b as x}from"./NOZDON4H.js";import{e as d}from"./7NEBRIS2.js";import{d as g,h as v}from"./K5S46KVA.js";var I=2,S=t=>t.reduce((o,e)=>o+e,0)/t.length,D=t=>{let o=t.filter(n=>n.slot!==a.menuActions),e=o?.length;return{actionWidth:e?S(o.map(n=>n.clientWidth||0)):0,actionHeight:e?S(o.map(n=>n.clientHeight||0)):0}},N=({width:t,actionWidth:o,layout:e,height:n,actionHeight:i,groupCount:r})=>{let c=e==="horizontal"?t:n,s=e==="horizontal"?o:i;return Math.floor((c-r*I)/s)},H=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:i,height:r,groupCount:c})=>Math.max(o-N({width:n,actionWidth:e,layout:t,height:r,actionHeight:i,groupCount:c}),0),E=t=>Array.from(t.querySelectorAll("calcite-action")).filter(o=>o.closest("calcite-action-menu")?o.slot===x.trigger:!0),k=({actionGroups:t,expanded:o,overflowCount:e})=>{let n=e;t.reverse().forEach(i=>{let r=0,c=E(i).reverse();c.forEach(s=>{s.slot===a.menuActions&&(s.removeAttribute("slot"),s.textEnabled=o)}),n>0&&c.some(s=>(c.filter(u=>!u.slot).length>1&&c.length>2&&!s.closest("calcite-action-menu")&&(s.textEnabled=!0,s.setAttribute("slot",a.menuActions),r++,r>1&&n--),n<1)),i.manager.component.requestUpdate()})},p={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function O(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}function B({el:t,expanded:o}){E(t).filter(e=>e.slot!==a.menuActions).forEach(e=>e.textEnabled=o),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(e=>e.expanded=o)}var P=({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o),G=({expanded:t,expandText:o,collapseText:e,expandLabel:n,collapseLabel:i,toggle:r,el:c,position:s,tooltip:f,ref:u,scale:$})=>{let b=d(c)==="rtl",h=t?e:o,C=t?i:n,l=[p.chevronsLeft,p.chevronsRight];b&&l.reverse();let m=O(s,c)==="end",T=m?l[1]:l[0],q=m?l[0]:l[1];return g`<calcite-action .icon=${t?T:q} id=expand-toggle .label=${C} @click=${r} .scale=${$} .text=${h} .textEnabled=${t} title=${(!t&&!f?h:null)??v} ${A(L=>P({tooltip:f,referenceElement:L,expanded:t,ref:u}))}></calcite-action>`};export{D as a,H as b,E as c,k as d,B as e,G as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as r,b as a}from"./
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{a as r,b as a}from"./HJ7Y6M7Y.js";var s={CET:"Europe/Brussels",CST6CDT:"America/Chicago",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",HST:"Pacific/Honolulu",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver",PST8PDT:"America/Los_Angeles",WET:"Europe/Lisbon"},t=(()=>{let e=Object.keys(s);return Object.keys(r()).filter(o=>!e.includes(o))})();function c(e){let o=s[e];return o||(a(e)?.aliasOf??e)}export{t as a,c as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{A as o,h as r,v as s,w as i}from"./K5S46KVA.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{e as c}from"./
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{e as c}from"./7NEBRIS2.js";import"./MTFIIZL5.js";import{E as a,F as o,G as n,K as s,R as l,c as i,d as t}from"./K5S46KVA.js";var p=i`:host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background-color:var(--calcite-progress-background-color, var(--calcite-color-border-3))}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-progress-fill-color, var(--calcite-color-brand))}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-progress-text-color, var(--calcite-color-text-2))}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%,0,0)}50%{inline-size:40%}to{transform:translate3d(600%,0,0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%,0,0)}50%{inline-size:40%}to{transform:translate3d(-600%,0,0)}}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends a{constructor(){super(...arguments),this.reversed=!1,this.type="determinate",this.value=0}static{this.properties={label:1,reversed:[7,{},{reflect:!0,type:Boolean}],text:1,type:[3,{},{reflect:!0}],value:[9,{},{type:Number}]}}static{this.styles=p}render(){let e=this.type==="determinate",d=e?{width:`${this.value}%`}:{},m=c(this.el);return t`<div .ariaLabel=${this.label||this.text} .ariaValueMax=${e?"100":void 0} .ariaValueMin=${e?"0":void 0} .ariaValueNow=${e?this.value:void 0} role=progressbar><div class="track"><div class=${o({bar:!0,indeterminate:this.type==="indeterminate",[s.rtl]:m==="rtl",reversed:this.reversed})} style=${n(d)}></div></div>${this.text?t`<div class="text">${this.text}</div>`:null}</div>`}};l("calcite-progress",r);export{r as Progress};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{a as s}from"./3AZU7INE.js";import{b}from"./DJOVRA4D.js";import{e as $,k as h,u as m}from"./7NEBRIS2.js";import{a as r,d as k}from"./JIYFVSYH.js";import"./EORC3KJU.js";import"./MTFIIZL5.js";import{E as u,F as t,K as x,R as f,c as g,d as a,q as d}from"./K5S46KVA.js";var S={actionsStart:"actions-start",actionsEnd:"actions-end"},c={actionsEnd:"actions-end",actionsStart:"actions-start",content:"content",description:"description",expandIcon:"expand-icon",header:"header",headerContainer:"header-container",headerContent:"header-content",headerText:"header-text",heading:"heading",icon:"icon",iconEnd:"icon--end",iconStart:"icon--start"},l={section:"section",sectionToggle:"section-toggle"},y=g`.icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation: -90deg ;--calcite-internal-accordion-item-active-icon-rotation: 0deg;--calcite-internal-accordion-item-icon-rotation-rtl: 90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl: 0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color, var(--calcite-color-text-3)));background-color:var(--calcite-accordion-background-color, var(--calcite-accordion-item-background-color));border-width:0}:host .header{background-color:var(--calcite-accordion-item-header-background-color)}:host .header:hover{background-color:var(--calcite-internal-accordion-item-header-background-color-hover)}:host .header:active{background-color:var(--calcite-internal-accordion-item-header-background-color-press)}.header--solid{--calcite-internal-accordion-item-header-background-color-hover: var( --calcite-accordion-item-header-background-color-hover, var(--calcite-color-foreground-2) );--calcite-internal-accordion-item-header-background-color-press: var( --calcite-accordion-item-header-background-color-press, var(--calcite-color-foreground-3) )}.header--transparent{--calcite-internal-accordion-item-header-background-color-hover: var( --calcite-accordion-item-header-background-color-hover, var(--calcite-color-transparent-hover) );--calcite-internal-accordion-item-header-background-color-press: var( --calcite-accordion-item-header-background-color-press, var(--calcite-color-transparent-press) )}.icon-position--start{--calcite-internal-accordion-item-flex-direction: row-reverse;--calcite-internal-accordion-item-icon-spacing-start: 0;--calcite-internal-accordion-item-icon-spacing-end: var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction: row;--calcite-internal-accordion-item-icon-spacing-start: var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end: 0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation: 0deg;--calcite-internal-accordion-item-active-icon-rotation: 180deg;--calcite-internal-accordion-item-icon-rotation-rtl: 0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl: -180deg }.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-accordion-item-border-color, var(--calcite-color-border-2)))}.header-content{padding:var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, .5rem .75rem))}.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, .5rem .75rem)))}.header{display:flex;align-items:stretch}.header-content,.header-container,.header .actions-start,.header .actions-end{display:flex;align-items:center;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction);color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color, inherit))}.header-content:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color-hover))}.header-content:focus .heading,.header-content:hover .heading,.header-content:active .heading{color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color-press))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch}.icon{display:flex;align-items:center;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{color:var(--calcite-accordion-item-icon-color-start, var(--calcite-accordion-item-start-icon-color, var(--calcite-accordion-item-icon-color, currentColor)));margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{color:var(--calcite-accordion-item-icon-color-end, var(--calcite-accordion-item-end-icon-color, var(--calcite-accordion-item-icon-color, currentColor)));margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-item-expand-icon-color, var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color, var(--calcite-color-text-3))));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:.25rem}.content{display:none;text-align:initial}:host(:not([expanded])) .heading{color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color-hover, var(--calcite-accordion-item-text-color-hover, var(--calcite-color-text-2))))}:host([expanded]){color:var(--calcite-accordion-text-color-press, var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color, var(--calcite-color-text-1))))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-item-expand-icon-color, var(--calcite-accordion-text-color-hover, var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color, var(--calcite-accordion-item-text-color-hover, var(--calcite-color-text-2))))));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color, var(--calcite-accordion-item-text-color-hover, var(--calcite-color-text-2)))))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}`,p=class extends u{constructor(){super(),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.expanded=!1,this.calciteInternalAccordionItemClose=d({cancelable:!1}),this.calciteInternalAccordionItemSelect=d({cancelable:!1}),this.listen("keydown",this.keyDownHandler),this.listenOn(document.body,"calciteInternalAccordionChange",this.updateActiveItemOnChange),this.listenOn(document,"calciteInternalAccordionItemsSync",this.accordionItemSyncHandler)}static{this.properties={hasActionsEnd:[16,{},{state:!0}],hasActionsStart:[16,{},{state:!0}],accordionParent:[0,{},{attribute:!1}],description:1,expanded:[7,{},{reflect:!0,type:Boolean}],heading:1,iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],appearance:1,iconPosition:1,iconStart:[3,{},{reflect:!0}],iconType:1,scale:1}}static{this.styles=y}async setFocus(){await k(this),this.headerEl.focus()}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.emitRequestedItem(),e.preventDefault();break}}updateActiveItemOnChange(e){let[i]=e.composedPath(),n=h(this.el,"calcite-accordion");i===n&&(this.determineActiveItem(n.selectionMode,e.detail.requestedAccordionItem),e.stopPropagation())}accordionItemSyncHandler(e){let[i]=e.composedPath(),n=this.el;if(n.parentElement===i)return;let o=h(n,"calcite-accordion");i===o&&(this.appearance=o.appearance,this.iconPosition=o.iconPosition,this.iconType=o.iconType,this.scale=o.scale,e.stopPropagation())}handleActionsStartSlotChange(e){this.hasActionsStart=m(e)}handleActionsEndSlotChange(e){this.hasActionsEnd=m(e)}storeHeaderEl(e){this.headerEl=e}itemHeaderClickHandler(){this.emitRequestedItem()}determineActiveItem(e,i){switch(e){case"multiple":this.el===i&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===i?!this.expanded:!1;break;case"single-persist":this.expanded=this.el===i;break}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}renderActionsStart(){return a`<div class=${t(c.actionsStart)} .hidden=${!this.hasActionsStart}><slot name=${S.actionsStart} @slotchange=${this.handleActionsStartSlotChange}></slot></div>`}renderActionsEnd(){return a`<div class=${t(c.actionsEnd)} .hidden=${!this.hasActionsEnd}><slot name=${S.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>`}render(){let{iconFlipRtl:e}=this,i=$(this.el),n=this.iconStart?s("icon-start",a`<calcite-icon class=${t({[c.icon]:!0,[c.iconStart]:!0})} .flipRtl=${e==="both"||e==="start"} .icon=${this.iconStart} .scale=${r(this.scale)}></calcite-icon>`):null,v=this.iconEnd?s("icon-end",a`<calcite-icon class=${t({[c.iconEnd]:!0,[c.icon]:!0})} .flipRtl=${e==="both"||e==="end"} .icon=${this.iconEnd} .scale=${r(this.scale)}></calcite-icon>`):null,{description:o}=this;return a`<div class=${t({[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0})}><div class=${t({[c.header]:!0,[x.rtl]:i==="rtl",[`header--${this.appearance}`]:!0})}>${this.renderActionsStart()}<div aria-controls=${l.section} .ariaExpanded=${this.expanded} class=${t(c.headerContent)} id=${l.sectionToggle} @click=${this.itemHeaderClickHandler} role=button tabindex=0 ${b(this.storeHeaderEl)}><div class=${t(c.headerContainer)}>${n}<div class=${t(c.headerText)}><span class=${t(c.heading)}>${this.heading}</span>${o?a`<span class=${t(c.description)}>${o}</span>`:null}</div>${v}</div><calcite-icon class=${t(c.expandIcon)} .icon=${this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded?"minus":"plus"} .scale=${r(this.scale)}></calcite-icon></div>${this.renderActionsEnd()}</div><section aria-labelledby=${l.sectionToggle} class=${t(c.content)} id=${l.section}><slot></slot></section></div>`}};f("calcite-accordion-item",p);export{p as AccordionItem};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{c as h,l as M,r as S,v as C}from"./7NEBRIS2.js";import"./MTFIIZL5.js";import{E as A,I as T,R as b,c as x,d as y,q as E}from"./K5S46KVA.js";function w(u){return u?.tagName==="CALCITE-TREE-ITEM"}function D(u){return Array.from(u.querySelectorAll("calcite-tree-item:not([disabled])")).filter(t=>{let e=t;for(;e!==u&&e!==void 0;){let i=e.parentElement;if(!(!w(i)||!i.hasChildren||i.expanded))return!1;e=e.parentElement}return!0})}var k=x`:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends A{constructor(){super(),this.items=[],this.lines=!1,this.parentExpanded=!1,this.scale="m",this.selectedItems=[],this.selectionMode="single",this.calciteTreeSelect=E({cancelable:!1}),this.listen("focus",this.onFocus),this.listen("focusin",this.onFocusIn),this.listen("focusout",this.onFocusOut),this.listen("calciteInternalTreeItemSelect",this.onInternalTreeItemSelect),this.listen("keydown",this.keyDownHandler)}static{this.properties={child:[7,{},{reflect:!0,type:Boolean}],lines:[7,{},{reflect:!0,type:Boolean}],parentExpanded:[5,{},{type:Boolean}],scale:[3,{},{reflect:!0}],selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=k}willUpdate(t){t.has("parentExpanded")&&(this.hasUpdated||this.parentExpanded!==!1)&&this.updateItems();let e=this.el.parentElement?.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}onFocus(){if(!this.child){let t=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");M(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(t){if(this.child)return;let e=t.target,i=h(e.querySelectorAll("calcite-tree-item"));if(t.preventDefault(),t.stopPropagation(),this.selectionMode==="ancestors"){this.updateAncestorTree(t);return}let o=this.selectionMode==="none",n=this.selectionMode!==null&&(!e.hasChildren||e.hasChildren&&(this.selectionMode==="children"||this.selectionMode==="multichildren")),l=this.selectionMode==="multichildren"&&e.hasChildren,c=!o&&t.detail.modifyCurrentSelection&&(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),f=!c&&((this.selectionMode==="single"||this.selectionMode==="multiple")&&i.length<=0||this.selectionMode==="children"||this.selectionMode==="multichildren"||this.selectionMode==="single-persist"&&!e.hasChildren),d=["multiple","none","single","single-persist"].includes(this.selectionMode)&&e.hasChildren,a=[];n&&a.push(e),f&&h(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach(r=>{a.includes(r)||(r.selected=!1)}),d&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(e.expanded=!e.expanded),l&&i.forEach(s=>{s.selected=!1,s.hasChildren&&(s.expanded=!1)}),c&&window.getSelection().removeAllRanges(),c&&e.selected?a.forEach(s=>{s.disabled||(s.selected=!1)}):o||a.forEach(s=>{s.disabled||(s.selected=this.selectionMode!=="single"||!s.selected)}),this.selectedItems=o?[]:h(this.el.querySelectorAll("calcite-tree-item")).filter(s=>s.selected),this.calciteTreeSelect.emit(),t.stopPropagation()}keyDownHandler(t){if(this.child)return;let e=this.el,i=t.target,o=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"];if(!(w(i)&&this.el.contains(i))||!o.includes(t.key))return;let n=D(e);if(t.key==="Tab"){n.forEach(l=>l.tabIndex=-1);return}if(t.key==="ArrowDown"){let l=n.indexOf(i);n[l+1]?.focus(),t.preventDefault();return}if(t.key==="ArrowUp"){let l=n.indexOf(i);n[l-1]?.focus(),t.preventDefault();return}if(t.key==="ArrowLeft"){if(i.hasChildren&&i.expanded){i.expanded=!1,t.preventDefault();return}n.slice(0,n.indexOf(i)).reverse().find(f=>f.depth===i.depth-1)?.focus(),t.preventDefault();return}if(t.key==="ArrowRight"){if(!i.disabled&&i.hasChildren)if(!i.expanded)i.expanded=!0,t.preventDefault();else{let l=n.indexOf(i);n[l+1]?.focus(),t.preventDefault()}return}if(t.key==="Home"){let l=n.shift();l&&(l.focus(),t.preventDefault());return}if(t.key==="End"){let l=n.pop();l&&(l.focus(),t.preventDefault());return}}updateAncestorTree(t){let e=t.target,i=t.detail.updateItem;if(e.disabled||e.indeterminate&&!i)return;let o=[],n=e.parentElement.closest("calcite-tree-item");for(;n;)o.push(n),n=n.parentElement.closest("calcite-tree-item");let l=Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")),c=l.filter(s=>!s.hasChildren),f=l.filter(s=>s.hasChildren),d;i?d=e.hasChildren?!(e.selected||e.indeterminate):!e.selected:d=e.selected,c.forEach(s=>{s.selected=d,s.indeterminate=!1});function a(s,r){let m=s.filter(p=>p.selected),I=s.filter(p=>!p.selected);r.selected=m.length===s.length,r.indeterminate=m.length>0&&I.length>0}f.reverse().forEach(s=>{let r=Array.from(s.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));a(r,s)}),i&&(e.hasChildren?a(l,e):(e.selected=d,e.indeterminate=!1)),o.forEach(s=>{let r=h(s.querySelectorAll("calcite-tree-item")),m=r.filter(p=>p.selected);if(m.length===0){s.selected=!1,s.indeterminate=!1;return}let I=m.length<r.length;s.indeterminate=I,s.selected=!I}),this.selectedItems=h(this.el.querySelectorAll("calcite-tree-item")).filter(s=>s.selected),i&&this.calciteTreeSelect.emit()}updateItems(){this.items.forEach(t=>t.parentExpanded=this.parentExpanded)}handleDefaultSlotChange(t){let e=C(t).filter(i=>i.matches("calcite-tree-item"));this.items=e,this.updateItems()}getRootTabIndex(){return this.child?-1:0}render(){return this.el.ariaMultiSelectable=this.child?void 0:S(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),this.el.role=this.child?void 0:"tree",T(this.el,"tabIndex",this.getRootTabIndex()),y`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`}};b("calcite-tree",g);export{g as Tree};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{a as S}from"./Z2HHH7MO.js";import{a as N}from"./MTFIIZL5.js";import{E as P,F as f,H as l,R as X,c as C,d as w,e as d}from"./K5S46KVA.js";function H(n,e,r){let s=e[0]-n[0],o=r[0]-e[0],c=e[1]-n[1],h=r[1]-e[1],a=c/(s||o<0&&0),i=h/(o||s<0&&0),t=(a*o+i*s)/(s+o);return(Math.sign(a)+Math.sign(i))*Math.min(Math.abs(a),Math.abs(i),.5*Math.abs(t))||0}function O(n,e,r){let s=e[0]-n[0],o=e[1]-n[1];return s?(3*o/s-r)/2:r}function Y(n,e,r,s,o){let[c,h]=n,[a,i]=e,t=(a-c)/3,$=o([c+t,h+t*r]).join(","),g=o([a-t,i-t*s]).join(","),m=o([a,i]).join(",");return`C ${$} ${g} ${m}`}function A({width:n,height:e,min:r,max:s}){let o=s[0]-r[0],c=s[1]-r[1];return h=>{let a=(h[0]-r[0])/o*n,i=e-(h[1]-r[1])/c*e;return[a,i]}}function B(n){let[e,r]=n[0],s=[e,r],o=[e,r];return n.reduce(({min:c,max:h},[a,i])=>({min:[Math.min(c[0],a),Math.min(c[1],i)],max:[Math.max(h[0],a),Math.max(h[1],i)]}),{min:s,max:o})}function E({data:n,min:e,max:r,t:s}){if(n.length===0)return"";let[o,c]=s(n[0]),[h,a]=s(e),[i]=s(r),t,$,g,m=n.reduce((v,M,p)=>{if($=n[p-2],g=n[p-1],p>1){let u=H($,g,M),b=t===void 0?O($,g,u):t,L=Y($,g,b,u,s);return t=u,`${v} ${L}`}return v},`M ${h},${a} L ${h},${c} L ${o},${c}`),k=n[n.length-1],x=Y(g,k,t,O(g,k,t),s);return`${m} ${x} L ${i},${a} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,y={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${N()}`,this.resizeObserver=S("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:[0,{},{attribute:!1}],data:[0,{},{attribute:!1}],highlightMax:[9,{},{type:Number}],highlightMin:[9,{},{type:Number}],max:[11,{},{reflect:!0,type:Number}],min:[11,{},{reflect:!0,type:Number}]}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:e,colorStops:r,el:s,highlightMax:o,highlightMin:c,min:h,max:a}=this,i=this.graphId,{clientHeight:t,clientWidth:$}=s;if(!e||e.length===0)return w`<svg aria-hidden=true class=${f(y.svg)} height=${t??l} preserveAspectRatio=none viewBox=${`0 0 ${$} ${t}`} width=${$??l}></svg>`;let{min:g,max:m}=B(e),k=g,x=m;(h<g[0]||h>g[0])&&(k=[h,0]),(a>m[0]||a<m[0])&&(x=[a,m[1]]);let v=A({min:k,max:x,width:$,height:t}),[M]=v([c,x[1]]),[p]=v([o,x[1]]),u=E({data:e,min:g,max:m,t:v}),b=r?`url(#linear-gradient-${i})`:void 0;return w`<svg aria-hidden=true class=${f(y.svg)} height=${t??l} preserveAspectRatio=none viewBox=${`0 0 ${$} ${t}`} width=${$??l}>${r?d`<defs><linearGradient .id=${`linear-gradient-${i}`} x1=0 x2=1 y1=0 y2=0>${r.map(({offset:L,color:Z,opacity:j})=>d`<stop offset=${`${L*100}%`} stop-color=${Z??l} stop-opacity=${j??l} />`)}</linearGradient></defs>`:null}${c!==void 0?[d`<mask height=100% .id=${`${i}1`} width=100% x=0% y=0%><path d=${`
|
|
5
|
+
M 0,0
|
|
6
|
+
L ${M-1},0
|
|
7
|
+
L ${M-1},${t}
|
|
8
|
+
L 0,${t}
|
|
9
|
+
Z
|
|
10
|
+
`} fill=white /></mask>`,d`<mask height=100% .id=${`${i}2`} width=100% x=0% y=0%><path d=${`
|
|
11
|
+
M ${M+1},0
|
|
12
|
+
L ${p-1},0
|
|
13
|
+
L ${p-1},${t}
|
|
14
|
+
L ${M+1}, ${t}
|
|
15
|
+
Z
|
|
16
|
+
`} fill=white /></mask>`,d`<mask height=100% .id=${`${i}3`} width=100% x=0% y=0%><path d=${`
|
|
17
|
+
M ${p+1},0
|
|
18
|
+
L ${$},0
|
|
19
|
+
L ${$},${t}
|
|
20
|
+
L ${p+1}, ${t}
|
|
21
|
+
Z
|
|
22
|
+
`} fill=white /></mask>`,d`<path class=${f(y.graphPath)} d=${u??l} fill=${b??l} mask=${`url(#${i}1)`} />`,d`<path class=${f(y.graphPathHighlight)} d=${u??l} fill=${b??l} mask=${`url(#${i}2)`} />`,d`<path class=${f(y.graphPath)} d=${u??l} fill=${b??l} mask=${`url(#${i}3)`} />`]:d`<path class=${f(y.graphPath)} d=${u??l} fill=${b??l} />`}</svg>`}};X("calcite-graph",z);export{z as Graph};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{a as s}from"./Z2HHH7MO.js";import{E as n,F as o,R as r,c as i,d as c,q as a}from"./K5S46KVA.js";var l={accordion:"accordion",transparent:"accordion--transparent"},d=i`:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color: transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit: .25rem;--calcite-internal-accordion-icon-margin: .5rem;--calcite-internal-accordion-item-padding: var(--calcite-internal-accordion-item-spacing-unit) .5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit: .5rem;--calcite-internal-accordion-icon-margin: .75rem;--calcite-internal-accordion-item-padding: var(--calcite-internal-accordion-item-spacing-unit) .75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit: .75rem;--calcite-internal-accordion-icon-margin: 1rem;--calcite-internal-accordion-item-padding: var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends n{constructor(){super(),this.mutationObserver=s("mutation",()=>this.updateAccordionItems()),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple",this.calciteInternalAccordionChange=a({cancelable:!1}),this.listen("calciteInternalAccordionItemSelect",this.updateActiveItemOnChange)}static{this.properties={appearance:[3,{},{reflect:!0}],iconPosition:[3,{},{reflect:!0}],iconType:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=d}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}willUpdate(e){(e.has("appearance")&&(this.hasUpdated||this.appearance!=="solid")||e.has("iconPosition")&&(this.hasUpdated||this.iconPosition!=="end")||e.has("iconType")&&(this.hasUpdated||this.iconType!=="chevron")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="multiple"))&&this.updateAccordionItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem}),e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach(e=>{e.appearance=this.appearance,e.iconPosition=this.iconPosition,e.iconType=this.iconType,e.scale=this.scale}),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}render(){let e=this.appearance==="transparent";return c`<div class=${o({[l.transparent]:e,[l.accordion]:!e})}><slot></slot></div>`}};r("calcite-accordion",t);export{t as Accordion};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{r as
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{r as b,s as u}from"./7NEBRIS2.js";import"./MTFIIZL5.js";import{E as m,F as c,R as g,c as d,d as l,q as h}from"./K5S46KVA.js";var f={input:"input"},t={label:"label",labelScale:i=>`label--scale-${i}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},v=d`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);outline-color:transparent;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-animation-timing) ease-in-out}.label{pointer-events:none;margin:.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-segmented-control-color, var(--calcite-color-text-3));background-color:var(--calcite-segmented-control-background-color);box-shadow:var(--calcite-segmented-control-shadow);border-color:var(--calcite-segmented-control-border-color);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host(:focus){outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:-1px;z-index:var(--calcite-z-index)}.label--scale-s{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:.125rem}.label--scale-m{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:.375rem}.label--scale-l{padding-inline:1rem;padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-2));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host(:active) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-3))}:host([checked]) .label{cursor:default;background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-brand));border-color:var(--calcite-segmented-control-border-color, var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-text-inverse))}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-segmented-control-border-color, var(--calcite-color-brand));box-shadow:var(--calcite-segmented-control-shadow, inset 0 0 0 1px var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-brand))}:host([checked]) .label--outline{background-color:var(--calcite-segmented-control-background-color, transparent)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) .label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) .label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end);--calcite-icon-color: var(--calcite-segmented-control-icon-color)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: .5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: .5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: .75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: .75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: 1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: 1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends m{constructor(){super(...arguments),this.hasSlottedContent=!1,this.appearance="solid",this.checked=!1,this.iconFlipRtl=!1,this.layout="horizontal",this.scale="m",this.calciteInternalSegmentedControlItemChange=h({cancelable:!1})}static{this.properties={hasSlottedContent:[16,{},{state:!0}],appearance:1,checked:[7,{},{reflect:!0,type:Boolean}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],iconStart:[3,{},{reflect:!0}],layout:1,scale:1,value:1}}static{this.styles=v}willUpdate(e){e.has("checked")&&(this.hasUpdated||this.checked!==!1)&&this.calciteInternalSegmentedControlItemChange.emit()}handleSlotChange(e){this.hasSlottedContent=u(e)}renderIcon(e,o=!1){return e?l`<calcite-icon class=${c({[t.icon]:!0,[t.iconSolo]:o})} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`:null}render(){let{appearance:e,checked:o,layout:n,scale:a,value:s}=this;return this.el.ariaChecked=b(o),this.el.ariaLabel=s,this.el.role="radio",l`<label class=${c({[t.label]:!0,[t.labelScale(a)]:!0,[t.labelHorizontal]:n==="horizontal",[t.labelOutline]:e==="outline",[t.labelOutlineFill]:e==="outline-fill"})}>${this.renderContent()}</label>`}renderContent(){let{hasSlottedContent:e,iconEnd:o,iconStart:n}=this,a=n||o;return!e&&a?[this.renderIcon(a,!0),l`<slot @slotchange=${this.handleSlotChange}></slot>`]:[this.renderIcon(n),l`<slot @slotchange=${this.handleSlotChange}></slot>`,l`<slot name=${f.input}></slot>`,this.renderIcon(o)]}};g("calcite-segmented-control-item",r);export{r as SegmentedControlItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
import{b as
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
import{b as m}from"./JL6PDF5B.js";import"./Q7RQKBVT.js";import{a as s}from"./3AZU7INE.js";import{d as u}from"./JIYFVSYH.js";import"./EORC3KJU.js";import{E as h,F as o,H as i,R as v,c as f,d as t}from"./K5S46KVA.js";var e={container:"container",containerLink:"container--link",textContainer:"text-container",heading:"heading",description:"description",image:"image",standalone:"standalone",icon:"icon"},x=f`:host{display:inline-flex}.container{margin:0;display:flex;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;background-color:var(--calcite-navigation-background-color, var(--calcite-internal-navigation-logo-background-color, var(--calcite-color-foreground-1)));border-block-end:2px solid var(--calcite-color-transparent);transition-property:background-color;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.container--link{cursor:pointer;text-decoration-line:none;outline-color:transparent}:host(:focus) .container--link{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.image,.icon{margin:0;display:flex;block-size:1.75rem;padding-inline:1rem;color:var(--calcite-navigation-logo-text-color, var(--calcite-icon-color, var(--calcite-internal-navigation-logo-text-color, inherit)))}.image~.icon{padding-inline-start:0px}.image~.text-container,.icon~.text-container{padding-inline-start:0px}:host([href]:hover),:host([href]:focus){--calcite-internal-navigation-logo-background-color: var(--calcite-color-foreground-2)}:host([href]:active){--calcite-internal-navigation-logo-background-color: var(--calcite-color-foreground-3)}:host([active]) .container{border-block-end-color:var(--calcite-navigation-accent-color, var(--calcite-color-brand))}:host([active]),:host([href]:active){--calcite-internal-navigation-logo-text-color: var(--calcite-color-brand)}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-logo-heading-text-color, var(--calcite-color-text-1))}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);color:var(--calcite-navigation-logo-text-color, var(--calcite-color-text-2));font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends h{constructor(){super(...arguments),this.iconFlipRtl=!1}static{this.properties={active:[7,{},{reflect:!0,type:Boolean}],description:1,heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],href:[3,{},{reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],label:1,rel:[3,{},{reflect:!0}],target:[3,{},{reflect:!0}],thumbnail:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=x}async setFocus(){await u(this),this.href&&this.el.focus()}renderIcon(){return t`<calcite-icon class=${o(e.icon)} .flipRtl=${this.iconFlipRtl} .icon=${this.icon} scale=l></calcite-icon>`}renderHeaderContent(){let{heading:n,headingLevel:a,description:r}=this,c=n?s(e.heading,m({class:{[e.heading]:!0,[e.standalone]:!this.description},level:a,children:n})):null,l=r?s(e.description,t`<span class=${o(e.description)}>${r}</span>`):null;return c||l?s(e.textContainer,t`<div class=${o(e.textContainer)}>${c}${l}</div>`):null}render(){let{icon:n,href:a,label:r,rel:c,target:l,thumbnail:g}=this,p=t`${g&&t`<img alt=${(r||"")??i} class=${o(e.image)} src=${g??i}>`||""}${n&&this.renderIcon()||""}${this.renderHeaderContent()}`;return a?t`<a class=${o({[e.container]:!0,[e.containerLink]:!0})} href=${a??i} rel=${c??i} target=${l??i}>${p}</a>`:t`<div class=${o(e.container)}>${p}</div>`}};v("calcite-navigation-logo",d);export{d as NavigationLogo};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0-next.
|
|
4
|
-
var
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
var n={brand:"lightbulb",danger:"exclamationMarkTriangle",info:"information",success:"checkCircle",warning:"exclamationMarkTriangle"};export{n as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.51 */
|
|
4
|
+
function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fe(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Mt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(t){return typeof t}:Mt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$.apply(this,arguments)}function Ye(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,r;for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Be(e,t){if(e==null)return{};var n=Ye(e,t),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Ge="1.15.6";function U(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var q=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ot=U(/Edge/i),ce=U(/firefox/i),Et=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),ie=U(/iP(ad|od|hone)/i),we=U(/chrome/i)&&U(/android/i),ye={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!q&&ye)}function m(e,t,n){e.removeEventListener(t,n,!q&&ye)}function Yt(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Ee(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Yt(e,t):Yt(e,t))||o&&e===n)return e;if(e===n)break}while(e=Ee(e))}return null}var de=/\s+/g;function R(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(de," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(de," ")}}function h(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ct(e,t){var n="";if(typeof e=="string")n=e;else do{var o=h(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function De(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function K(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var r,a,l,s,u,d,c;if(e!==window&&e.parentNode&&e!==K()?(r=e.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,c=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,c=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!q))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||n&&h(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(h(i,"border-top-width")),l-=b.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(o&&e!==window){var E=ct(i||e),w=E&&E.a,y=E&&E.d;E&&(a/=y,l/=w,c/=w,d/=y,s=a+d,u=l+c)}return{top:a,left:l,bottom:s,right:u,width:c,height:d}}}function he(e,t,n){for(var o=tt(e,!0),i=O(e)[t];o;){var r=O(o)[n],a=void 0;if(n==="top"||n==="left"?a=i>=r:a=i<=r,!a)return o;if(o===K())break;o=tt(o,!1)}return!1}function dt(e,t,n,o){for(var i=0,r=0,a=e.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(o||a[r]!==p.dragged)&&H(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function re(e,t){for(var n=e.lastElementChild;n&&(n===p.ghost||h(n,"display")==="none"||t&&!Yt(n,t));)n=n.previousElementSibling;return n||null}function X(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==p.clone&&(!t||Yt(e,t))&&n++;return n}function pe(e){var t=0,n=0,o=K();if(e)do{var i=ct(e),r=i.a,a=i.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function He(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function tt(e,t){if(!e||!e.getBoundingClientRect)return K();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=h(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return K();if(o||t)return n;o=!0}}while(n=n.parentNode);return K()}function We(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function jt(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Dt;function Se(e,t){return function(){if(!Dt){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),Dt=setTimeout(function(){Dt=void 0},t)}}}function Ke(){clearTimeout(Dt),Dt=void 0}function _e(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Ce(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Oe(e,t,n){var o={};return Array.from(e.children).forEach(function(i){var r,a,l,s;if(!(!H(i,t.draggable,e,!1)||i.animated||i===n)){var u=O(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var P="Sortable"+new Date().getTime();function Le(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){e.push({target:i,rect:O(i)});var r=L({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=ct(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(He(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var r=!1,a=0;e.forEach(function(l){var s=0,u=l.target,d=u.fromRect,c=O(u),b=u.prevFromRect,E=u.prevToRect,w=l.rect,y=ct(u,!0);y&&(c.top-=y.f,c.left-=y.e),u.toRect=c,u.thisAnimationDuration&&jt(b,c)&&!jt(d,c)&&(w.top-c.top)/(w.left-c.left)===(d.top-c.top)/(d.left-c.left)&&(s=ze(w,b,E,i.options)),jt(c,d)||(u.prevFromRect=d,u.prevToRect=c,s||(s=i.options.animation),i.animate(u,w,c,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,r,a){if(a){h(o,"transition",""),h(o,"transform","");var l=ct(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),c=(i.top-r.top)/(u||1);o.animatingX=!!d,o.animatingY=!!c,h(o,"transform","translate3d("+d+"px,"+c+"px,0)"),this.forRepaintDummy=je(o),h(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){h(o,"transition",""),h(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function je(e){return e.offsetWidth}function ze(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var lt=[],zt={initializeByDefault:!0},Tt={mount:function(t){for(var n in zt)zt.hasOwnProperty(n)&&!(n in t)&&(t[n]=zt[n]);lt.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][r]&&n[a.pluginName][r](L({sortable:n},o)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](L({sortable:n},o)))})},initializePlugins:function(t,n,o,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[s]=u,$(o,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,n){var o={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&$(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(t[r.pluginName],o))}),i}};function Ue(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,c=e.newDraggableIndex,b=e.originalEvent,E=e.putSortable,w=e.extraEventProperties;if(t=t||n&&n[P],!!t){var y,Y=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!q&&!Ot?y=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(o,!0,!0)),y.to=a||n,y.from=l||n,y.item=i||n,y.clone=r,y.oldIndex=s,y.newIndex=u,y.oldDraggableIndex=d,y.newDraggableIndex=c,y.originalEvent=b,y.pullMode=E?E.lastPutMode:void 0;var I=L(L({},w),Tt.getEventProperties(o,t));for(var B in I)y[B]=I[B];n&&n.dispatchEvent(y),Y[j]&&Y[j].call(t,y)}}var $e=["evt"],N=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Be(o,$e);Tt.pluginEvent.bind(p)(t,n,L({dragEl:f,parentEl:_,ghostEl:g,rootEl:D,nextEl:at,lastDownEl:Ft,cloneEl:S,cloneHidden:J,dragStarted:bt,putSortable:T,activeSortable:p.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:xe,unhideGhostForTarget:Ne,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){x({sortable:n,name:l,originalEvent:i})}},r))};function x(e){Ue(L({putSortable:T,cloneEl:S,targetEl:f,rootEl:D,oldIndex:ft,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q},e))}var f,_,g,D,at,Ft,S,J,ft,k,St,Q,It,T,ut=!1,Bt=!1,Gt=[],it,G,Ut,$t,ge,me,bt,st,_t,Ct=!1,xt=!1,Rt,A,qt=[],te=!1,Ht=[],Kt=typeof document<"u",Nt=ie,ve=Ot||q?"cssFloat":"float",qe=Kt&&!we&&!ie&&"draggable"in document.createElement("div"),Te=function(){if(Kt){if(q)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Ae=function(t,n){var o=h(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=dt(t,0,n),a=dt(t,1,n),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+O(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var c=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===c)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&o[ve]==="none"||a&&o[ve]==="none"&&u+d>i)?"vertical":"horizontal"},Ve=function(t,n,o){var i=o?t.left:t.top,r=o?t.right:t.bottom,a=o?t.width:t.height,l=o?n.left:n.top,s=o?n.right:n.bottom,u=o?n.width:n.height;return i===l||r===s||i+a/2===l+u/2},Ze=function(t,n){var o;return Gt.some(function(i){var r=i[P].options.emptyInsertThreshold;if(!(!r||re(i))){var a=O(i),l=t>=a.left-r&&t<=a.right+r,s=n>=a.top-r&&n<=a.bottom+r;if(l&&s)return o=i}}),o},Ie=function(t){function n(r,a){return function(l,s,u,d){var c=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||c))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return n(r(l,s,u,d),a)(l,s,u,d);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var o={},i=t.group;(!i||Mt(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},xe=function(){!Te&&g&&h(g,"display","none")},Ne=function(){!Te&&g&&h(g,"display","")};Kt&&!we&&document.addEventListener("click",function(e){if(Bt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(f){t=t.touches?t.touches[0]:t;var n=Ze(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[P]._onDragOver(o)}}},Qe=function(t){f&&f.parentNode[P]._isOutsideThisEl(t.target)};function p(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$({},t),e[P]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&(!Et||ie),emptyInsertThreshold:5};Tt.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Ie(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Gt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$(this,Le())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,f):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(ln(o),!f&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Et&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=H(s,i.draggable,o,!1),!(s&&s.animated)&&Ft!==s)){if(ft=X(s),St=X(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){x({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:o,fromEl:o}),N("filter",n,{evt:t}),r&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(c){if(c=H(u,c.trim(),o,!1),c)return x({sortable:n,rootEl:c,name:"filter",targetEl:s,fromEl:o,toEl:o}),N("filter",n,{evt:t}),!0}),d)){r&&t.preventDefault();return}i.handle&&!H(u,i.handle,o,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,n,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!f&&o.parentNode===r){var u=O(o);if(D=r,f=o,_=f.parentNode,at=f.nextSibling,Ft=o,It=a.group,p.dragged=f,it={target:f,clientX:(n||t).clientX,clientY:(n||t).clientY},ge=it.clientX-u.left,me=it.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,f.style["will-change"]="all",s=function(){if(N("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!ce&&i.nativeDraggable&&(f.draggable=!0),i._triggerDragStart(t,n),x({sortable:i,name:"choose",originalEvent:t}),R(f,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){De(f,d.trim(),Vt)}),v(l,"dragover",rt),v(l,"mousemove",rt),v(l,"touchmove",rt),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),ce&&this.nativeDraggable&&(this.options.touchStartThreshold=4,f.draggable=!0),N("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ot||q))){if(p.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){f&&Vt(f),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"pointerup",this._disableDelayedDrag),m(t,"pointercancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):n?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(f,"dragend",this),v(D,"dragstart",this._onDragStart));try{document.selection?kt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ut=!1,D&&f){N("dragStarted",this,{evt:n}),this.nativeDraggable&&v(document,"dragover",Qe);var o=this.options;!t&&R(f,o.dragClass,!1),R(f,o.ghostClass,!0),p.active=this,t&&this._appendGhost(),x({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(G){this._lastX=G.clientX,this._lastY=G.clientY,xe();for(var t=document.elementFromPoint(G.clientX,G.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(G.clientX,G.clientY),t!==n);)n=t;if(f.parentNode[P]._isOutsideThisEl(t),n)do{if(n[P]){var o=void 0;if(o=n[P]._onDragOver({clientX:G.clientX,clientY:G.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=Ee(n));Ne()}},_onTouchMove:function(t){if(it){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ct(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Nt&&A&&pe(A),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),c=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-(Ut||0),a.f+=c-($t||0)):a={a:1,b:0,c:0,d:1,e:d,f:c};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",b),h(g,"mozTransform",b),h(g,"msTransform",b),h(g,"transform",b),Ut=d,$t=c,G=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:D,n=O(f,!0,Nt,!0,t),o=this.options;if(Nt){for(A=t;h(A,"position")==="static"&&h(A,"transform")==="none"&&A!==document;)A=A.parentNode;A!==document.body&&A!==document.documentElement?(A===document&&(A=K()),n.top+=A.scrollTop,n.left+=A.scrollLeft):A=K(),qt=pe(A)}g=f.cloneNode(!0),R(g,o.ghostClass,!1),R(g,o.fallbackClass,!0),R(g,o.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",n.top),h(g,"left",n.left),h(g,"width",n.width),h(g,"height",n.height),h(g,"opacity","0.8"),h(g,"position",Nt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",ge/parseInt(g.style.width)*100+"% "+me/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,r=o.options;if(N("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}N("setupClone",this),p.eventCanceled||(S=Ce(f),S.removeAttribute("id"),S.draggable=!1,S.style["will-change"]="",this._hideClone(),R(S,this.options.chosenClass,!1),p.clone=S),o.cloneId=kt(function(){N("clone",o),!p.eventCanceled&&(o.options.removeCloneOnHide||D.insertBefore(S,f),o._hideClone(),x({sortable:o,name:"clone"}))}),!n&&R(f,r.dragClass,!0),n?(Bt=!0,o._loopId=setInterval(o._emulateDragOver,50)):(m(document,"mouseup",o._onDrop),m(document,"touchend",o._onDrop),m(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,f)),v(document,"drop",o),h(f,"transform","translateZ(0)")),ut=!0,o._dragStartId=kt(o._dragStarted.bind(o,n,t)),v(document,"selectstart",o),bt=!0,window.getSelection().removeAllRanges(),Et&&h(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=It===s,c=l.sort,b=T||u,E,w=this,y=!1;if(te)return;function Y(vt,Re){N(vt,w,L({evt:t,isOwner:d,axis:E?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:c,fromSortable:b,target:o,completed:I,onMove:function(ue,ke){return Pt(D,n,f,i,ue,O(ue),t,ke)},changed:B},Re))}function j(){Y("dragOverAnimationCapture"),w.captureAnimationState(),w!==b&&b.captureAnimationState()}function I(vt){return Y("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(w),w!==b&&(R(f,T?T.options.ghostClass:u.options.ghostClass,!1),R(f,l.ghostClass,!0)),T!==w&&w!==p.active?T=w:w===p.active&&T&&(T=null),b===w&&(w._ignoreWhileAnimating=o),w.animateAll(function(){Y("dragOverAnimationComplete"),w._ignoreWhileAnimating=null}),w!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(o===f&&!f.animated||o===n&&!o.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&o!==document&&(f.parentNode[P]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),y=!0}function B(){k=X(f),Q=X(f,l.draggable),x({sortable:w,name:"change",toEl:n,newIndex:k,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=H(o,l.draggable,n,!0),Y("dragOver"),p.eventCanceled)return y;if(f.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||w._ignoreWhileAnimating===o)return I(!1);if(Bt=!1,u&&!l.disabled&&(d?c||(a=_!==D):T===this||(this.lastPutMode=It.checkPull(this,u,f,t))&&s.checkPut(this,u,f,t))){if(E=this._getDirection(t,o)==="vertical",i=O(f),Y("dragOverValid"),p.eventCanceled)return y;if(a)return _=D,j(),this._hideClone(),Y("revert"),p.eventCanceled||(at?D.insertBefore(f,at):D.appendChild(f)),I(!0);var M=re(n,l.draggable);if(!M||nn(t,E,this)&&!M.animated){if(M===f)return I(!1);if(M&&n===t.target&&(o=M),o&&(r=O(o)),Pt(D,n,f,i,o,r,t,!!o)!==!1)return j(),M&&M.nextSibling?n.insertBefore(f,M.nextSibling):n.appendChild(f),_=n,B(),I(!0)}else if(M&&en(t,E,this)){var et=dt(n,0,l,!0);if(et===f)return I(!1);if(o=et,r=O(o),Pt(D,n,f,i,o,r,t,!1)!==!1)return j(),n.insertBefore(f,et),_=n,B(),I(!0)}else if(o.parentNode===n){r=O(o);var W=0,nt,ht=f.parentNode!==n,F=!Ve(f.animated&&f.toRect||i,o.animated&&o.toRect||r,E),pt=E?"top":"left",V=he(o,"top","top")||he(f,"top","top"),gt=V?V.scrollTop:void 0;st!==o&&(nt=r[pt],Ct=!1,xt=!F&&l.invertSwap||ht),W=on(t,o,r,E,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,xt,st===o);var z;if(W!==0){var ot=X(f);do ot-=W,z=_.children[ot];while(z&&(h(z,"display")==="none"||z===g))}if(W===0||z===o)return I(!1);st=o,_t=W;var mt=o.nextElementSibling,Z=!1;Z=W===1;var At=Pt(D,n,f,i,o,r,t,Z);if(At!==!1)return(At===1||At===-1)&&(Z=At===1),te=!0,setTimeout(tn,30),j(),Z&&!mt?n.appendChild(f):o.parentNode.insertBefore(f,Z?mt:o),V&&_e(V,0,gt-V.scrollTop),_=f.parentNode,nt!==void 0&&!xt&&(Rt=Math.abs(nt-O(o)[pt])),B(),I(!0)}if(n.contains(f))return I(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",rt),m(document,"mousemove",rt),m(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"pointercancel",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(k=X(f),Q=X(f,o.draggable),N("drop",this,{evt:t}),_=f&&f.parentNode,k=X(f),Q=X(f,o.draggable),p.eventCanceled){this._nulling();return}ut=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ee(this.cloneId),ee(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Et&&h(document.body,"user-select",""),h(f,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(D===_||T&&T.lastPutMode!=="clone")&&S&&S.parentNode&&S.parentNode.removeChild(S),f&&(this.nativeDraggable&&m(f,"dragend",this),Vt(f),f.style["will-change"]="",bt&&!ut&&R(f,T?T.options.ghostClass:this.options.ghostClass,!1),R(f,this.options.chosenClass,!1),x({sortable:this,name:"unchoose",toEl:_,newIndex:null,newDraggableIndex:null,originalEvent:t}),D!==_?(k>=0&&(x({rootEl:_,name:"add",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"remove",toEl:_,originalEvent:t}),x({rootEl:_,name:"sort",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),T&&T.save()):k!==ft&&k>=0&&(x({sortable:this,name:"update",toEl:_,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),p.active&&((k==null||k===-1)&&(k=ft,Q=St),x({sortable:this,name:"end",toEl:_,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){N("nulling",this),D=f=_=g=at=S=Ft=J=it=G=bt=k=Q=ft=St=st=_t=T=It=p.dragged=p.ghost=p.clone=p.active=null,Ht.forEach(function(t){t.checked=!0}),Ht.length=Ut=$t=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":f&&(this._onDragOver(t),Je(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)n=o[i],H(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||an(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];H(l,this.options.draggable,i,!1)&&(o[r]=l)},this),n&&this.captureAnimationState(),t.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return H(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=Tt.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&Ie(o)},destroy:function(){N("destroy",this);var t=this.el;t[P]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Gt.splice(Gt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(N("hideClone",this),p.eventCanceled)return;h(S,"display","none"),this.options.removeCloneOnHide&&S.parentNode&&S.parentNode.removeChild(S),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(N("showClone",this),p.eventCanceled)return;f.parentNode==D&&!this.options.group.revertClone?D.insertBefore(S,f):at?D.insertBefore(S,at):D.appendChild(S),this.options.group.revertClone&&this.animate(f,S),h(S,"display",""),J=!1}}};function Je(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Pt(e,t,n,o,i,r,a,l){var s,u=e[P],d=u.options.onMove,c;return window.CustomEvent&&!q&&!Ot?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=r||O(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),d&&(c=d.call(u,s,a)),c}function Vt(e){e.draggable=!1}function tn(){te=!1}function en(e,t,n){var o=O(dt(n.el,0,n.options,!0)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX<i.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-r||e.clientY<o.bottom&&e.clientX<o.left}function nn(e,t,n){var o=O(re(n.el,n.options.draggable)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX>i.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+r||e.clientX>o.right&&e.clientY>o.top}function on(e,t,n,o,i,r,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,d=o?n.top:n.left,c=o?n.bottom:n.right,b=!1;if(!a){if(l&&Rt<u*i){if(!Ct&&(_t===1?s>d+u*r/2:s<c-u*r/2)&&(Ct=!0),Ct)b=!0;else if(_t===1?s<d+Rt:s>c-Rt)return-_t}else if(s>d+u*(1-i)/2&&s<c-u*(1-i)/2)return rn(t)}return b=b||a,b&&(s<d+u*r/2||s>c-u*r/2)?s>d+u/2?1:-1:0}function rn(e){return X(f)<X(e)?1:-1}function an(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function ln(e){Ht.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Ht.push(o)}}function kt(e){return setTimeout(e,0)}function ee(e){return clearTimeout(e)}Kt&&v(document,"touchmove",function(e){(p.active||ut)&&e.cancelable&&e.preventDefault()});p.utils={on:v,off:m,css:h,find:De,is:function(t,n){return!!H(t,n,t,!1)},extend:We,throttle:Se,closest:H,toggleClass:R,clone:Ce,index:X,nextTick:kt,cancelNextTick:ee,detectDirection:Ae,getChild:dt,expando:P};p.get=function(e){return e[P]};p.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(p.utils=L(L({},p.utils),o.utils)),Tt.mount(o)})};p.create=function(e,t){return new p(e,t)};p.version=Ge;var C=[],wt,ne,oe=!1,Zt,Qt,Wt,yt;function sn(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):o.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),be(),Xt(),Ke()},nulling:function(){Wt=ne=wt=oe=yt=Zt=Qt=null,C.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,r=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,l=document.elementFromPoint(r,a);if(Wt=n,o||this.options.forceAutoScrollFallback||Ot||q||Et){Jt(n,this.options,l,o);var s=tt(l,!0);oe&&(!yt||r!==Zt||a!==Qt)&&(yt&&be(),yt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Xt()),Jt(n,i.options,u,o)},10),Zt=r,Qt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===K()){Xt();return}Jt(n,this.options,tt(l,!1),!1)}}},$(e,{pluginName:"scroll",initializeByDefault:!0})}function Xt(){C.forEach(function(e){clearInterval(e.pid)}),C=[]}function be(){clearInterval(yt)}var Jt=Se(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=K(),u=!1,d;ne!==n&&(ne=n,Xt(),wt=t.scroll,d=t.scrollFn,wt===!0&&(wt=tt(n,!0)));var c=0,b=wt;do{var E=b,w=O(E),y=w.top,Y=w.bottom,j=w.left,I=w.right,B=w.width,M=w.height,et=void 0,W=void 0,nt=E.scrollWidth,ht=E.scrollHeight,F=h(E),pt=E.scrollLeft,V=E.scrollTop;E===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(I-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),z=W&&(Math.abs(Y-r)<=a&&V+M<ht)-(Math.abs(y-r)<=a&&!!V);if(!C[c])for(var ot=0;ot<=c;ot++)C[ot]||(C[ot]={});(C[c].vx!=gt||C[c].vy!=z||C[c].el!==E)&&(C[c].el=E,C[c].vx=gt,C[c].vy=z,clearInterval(C[c].pid),(gt!=0||z!=0)&&(u=!0,C[c].pid=setInterval(function(){o&&this.layer===0&&p.active._onTouchMove(Wt);var mt=C[this.layer].vy?C[this.layer].vy*l:0,Z=C[this.layer].vx?C[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[P],Z,mt,e,Wt,C[this.layer].el)!=="continue"||_e(C[this.layer].el,Z,mt)}.bind({layer:c}),24))),c++}while(t.bubbleScroll&&b!==s&&(b=tt(b,!1)));oe=u}},30),Pe=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(n){var u=o||r;l();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,c=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(c)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function ae(){}ae.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Pe};$(ae,{pluginName:"revertOnSpill"});function le(){}le.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Pe};$(le,{pluginName:"removeOnSpill"});p.mount(new sn);p.mount(le,ae);var Me=p;var Lt=new Set,un={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function mn(e){if(Fe(e))return;fn(e),Lt.add(e);let t="id",{group:n,handleSelector:o,dragSelector:i}=e;e.sortable=Me.create(e.el,{dataIdAttr:t,...un,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!e.canPull&&{pull:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPull({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})},...!!e.canPut&&{put:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPut({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})}}},onMove:({from:r,dragged:a,to:l,related:s})=>{e.onDragMove&&e.onDragMove({fromEl:r,dragEl:a,toEl:l,relatedEl:s})},handle:o,filter:`${o}[disabled]`,onStart:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!0,cn(),e.onDragStart({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onEnd:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!1,dn(),e.onDragEnd({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onSort:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{e.onDragSort({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})}})}function fn(e){Fe(e)||(Lt.delete(e),e.sortable?.destroy(),e.sortable=null)}var se={active:!1};function Fe(e){return e.dragEnabled&&se.active}function cn(){Array.from(Lt).forEach(e=>e.onGlobalDragStart())}function dn(){Array.from(Lt).forEach(e=>e.onGlobalDragEnd())}export{mn as a,fn as b};
|