@orangelogic/design-system-react 1.0.0-alpha.7 → 1.0.0-alpha.9
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/dist/3d-viewer.css +89 -63
- package/dist/3d-viewer.js +17 -17
- package/dist/action-overflow.css +32 -32
- package/dist/action-overflow.js +10 -10
- package/dist/alert.css +18 -18
- package/dist/alert.js +3 -3
- package/dist/am-chart.css +4 -4
- package/dist/am-chart.js +2 -1
- package/dist/animated-image.css +11 -11
- package/dist/animated-image.js +1 -1
- package/dist/animation.css +2 -2
- package/dist/animation.js +1 -1
- package/dist/annotator.css +104 -100
- package/dist/annotator.js +12 -11
- package/dist/array-line-clamp.css +24 -24
- package/dist/array-line-clamp.js +10 -10
- package/dist/asset-data-display.css +13 -13
- package/dist/asset-data-display.js +8 -8
- package/dist/asset-format-picker.css +43 -43
- package/dist/asset-format-picker.js +9 -9
- package/dist/asset-picker.css +113 -55
- package/dist/asset-picker.js +11 -11
- package/dist/audio.css +29 -29
- package/dist/audio.js +4 -4
- package/dist/avatar.css +3 -3
- package/dist/avatar.js +1 -1
- package/dist/badge.css +3 -3
- package/dist/badge.js +1 -1
- package/dist/bicolor-picker.css +143 -137
- package/dist/bicolor-picker.js +24 -24
- package/dist/border-input-group.css +146 -140
- package/dist/border-input-group.js +25 -25
- package/dist/box.css +3 -3
- package/dist/box.js +1 -1
- package/dist/breadcrumb-item.css +11 -11
- package/dist/breadcrumb-item.js +1 -1
- package/dist/breadcrumb.css +8 -8
- package/dist/breadcrumb.js +1 -1
- package/dist/button-group.css +7 -7
- package/dist/button-group.js +1 -1
- package/dist/button.css +3 -3
- package/dist/button.js +2 -2
- package/dist/card.css +5 -5
- package/dist/card.js +1 -1
- package/dist/chunks/{BookReader-Q2GZR6A6.css → BookReader-N6RBAAFS.css} +15 -15
- package/dist/chunks/{BookReader-4H2EJ2TH.js → BookReader-O72FDZII.js} +11 -9
- package/dist/chunks/Dark-IIQYWXLH.js +45 -0
- package/dist/chunks/{GraphView-XIVASOEO.css → GraphView-N4PSK5MJ.css} +49 -45
- package/dist/chunks/{GraphView-EK5OY5R6.js → GraphView-XSJAHCZ7.js} +17 -16
- package/dist/chunks/{KHR_materials_variants-A5HSCDI3.js → KHR_materials_variants-25S4WNIA.js} +22 -22
- package/dist/chunks/{USDZ-6E5O4KCY.js → USDZ-FZIZLW5Q.js} +28 -28
- package/dist/chunks/{amcharts5-DDJOQXLP.js → amcharts5-SYUWLQLE.js} +32 -30
- package/dist/chunks/{animationGroup-JEHAUIRC.js → animationGroup-GXBLIF4B.js} +17 -17
- package/dist/chunks/{background.fragment-7F2WK7TX.js → background.fragment-3Q6JVCR6.js} +1 -1
- package/dist/chunks/{background.fragment-PMX7L742.js → background.fragment-6PRR4CUW.js} +2 -2
- package/dist/chunks/{background.vertex-TDZMCK4X.js → background.vertex-5Z2AFJ6N.js} +2 -2
- package/dist/chunks/{background.vertex-JSOZCQ4Y.js → background.vertex-VTMB4H5N.js} +2 -2
- package/dist/chunks/{basisTextureLoader-2PCZ3ZEY.js → basisTextureLoader-L4JAATB6.js} +5 -5
- package/dist/chunks/{chunk-545OYVA2.js → chunk-25SWO3B6.js} +5 -5
- package/dist/chunks/{chunk-X2L26KKN.js → chunk-2AKMRKCM.js} +1 -1
- package/dist/chunks/{chunk-TMVHV5QT.js → chunk-2EON3HQO.js} +10 -8
- package/dist/chunks/{chunk-25MM7OYW.js → chunk-2HFMZGSK.js} +16 -16
- package/dist/chunks/{chunk-UP5LSJB7.js → chunk-2HKAR4QL.js} +47 -64
- package/dist/chunks/{chunk-OXVEJR55.js → chunk-2HTPZJDS.js} +16 -5
- package/dist/chunks/{chunk-7FYKZQCB.js → chunk-2JLZBRGG.js} +1 -1
- package/dist/chunks/{chunk-PECPHH7O.js → chunk-2NMFO6VO.js} +1 -1
- package/dist/chunks/{chunk-BILL4L45.js → chunk-2PJ2F4KL.js} +2 -2
- package/dist/chunks/{chunk-5KY3PNWI.js → chunk-2PXQFSUK.js} +2 -2
- package/dist/chunks/{chunk-YYZXO5EJ.js → chunk-2VDQTPES.js} +2 -2
- package/dist/chunks/{chunk-7KPB4OTJ.js → chunk-2ZQIPEBY.js} +3 -3
- package/dist/chunks/{chunk-UJYTGKQW.js → chunk-322PR2LS.js} +13 -8
- package/dist/chunks/{chunk-CUIZY7S5.js → chunk-3AHZHGJ2.js} +1 -1
- package/dist/chunks/{chunk-FF4Y2L7B.js → chunk-3AV52MPY.js} +2 -2
- package/dist/chunks/{chunk-HDHCYW4Y.js → chunk-3FJ4H2HJ.js} +1 -1
- package/dist/chunks/{chunk-K7C4WP6M.js → chunk-3GB6VV3S.js} +1 -1
- package/dist/chunks/{chunk-BNQYFFU3.js → chunk-3SR5UKZM.js} +6 -0
- package/dist/chunks/{chunk-EOLVAFHQ.js → chunk-3YZIMFKU.js} +8 -7
- package/dist/chunks/{chunk-QAHET45K.js → chunk-45DLS2FE.js} +2 -2
- package/dist/chunks/{chunk-QBR53Z5X.js → chunk-4AMTWG4I.js} +2 -2
- package/dist/chunks/{chunk-GORDZMMK.js → chunk-4CSY3GMG.js} +3 -3
- package/dist/chunks/{chunk-675PEYCL.js → chunk-4MBT54S2.js} +17 -15
- package/dist/chunks/{chunk-BLA6A2KU.js → chunk-4O4V7EET.js} +3 -3
- package/dist/chunks/{chunk-FKNWOK7H.js → chunk-4QTOA3CO.js} +1 -1
- package/dist/chunks/{chunk-GD7SZUVC.js → chunk-4QW7Z67X.js} +2 -2
- package/dist/chunks/{chunk-KNJASTHS.js → chunk-4R2EOZ4Q.js} +28 -20
- package/dist/chunks/{chunk-LXO7JFIS.js → chunk-55CDDZ3X.js} +6 -6
- package/dist/chunks/{chunk-KZSYVD7T.js → chunk-55KNEJCB.js} +5 -5
- package/dist/chunks/{chunk-WGAMVEB3.js → chunk-5CATWU56.js} +258 -256
- package/dist/chunks/{chunk-3XSIYTL5.js → chunk-5DY5S5QE.js} +12 -9
- package/dist/chunks/{chunk-OTBWFOG7.js → chunk-5GHFEST6.js} +6 -6
- package/dist/chunks/{chunk-5SQEAH5D.js → chunk-63GOH65S.js} +9 -9
- package/dist/chunks/{chunk-KQO5MOJZ.js → chunk-66OOQVKY.js} +25 -21
- package/dist/chunks/{chunk-SFAP5UK3.js → chunk-6HAVNV5Z.js} +1 -1
- package/dist/chunks/{chunk-7EGYGFZG.js → chunk-6IULX7A4.js} +4 -2
- package/dist/chunks/{chunk-CMQK3TLH.js → chunk-6LRI2ZOE.js} +7 -7
- package/dist/chunks/{chunk-VUSREHNY.js → chunk-6OMSBCWE.js} +2 -2
- package/dist/chunks/{chunk-T3SJGG7I.js → chunk-6SZAPTJJ.js} +1 -1
- package/dist/chunks/{chunk-VVE25P5J.js → chunk-6T7T2S2H.js} +3 -3
- package/dist/chunks/{chunk-ZGE4QZKT.js → chunk-6TIRYHTS.js} +6 -4
- package/dist/chunks/{chunk-M3R23DFI.js → chunk-6TWY2QTT.js} +1 -1
- package/dist/chunks/{chunk-GOLE3W6T.js → chunk-76R65OTY.js} +2 -2
- package/dist/chunks/{chunk-CW5XNP7G.js → chunk-7EYTGFMT.js} +1 -1
- package/dist/chunks/{chunk-O3P4224X.js → chunk-7GYCTS3L.js} +1 -1
- package/dist/chunks/{chunk-W6LZ2O47.js → chunk-7QVMNPL3.js} +6 -4
- package/dist/chunks/{chunk-XA7OKWUP.js → chunk-A26QQGFN.js} +3 -3
- package/dist/chunks/{chunk-ZAEJBROR.js → chunk-A3XMTNIZ.js} +3 -3
- package/dist/chunks/{chunk-OGF4JNOZ.js → chunk-A4KC4ILT.js} +12 -10
- package/dist/chunks/{chunk-K4C4BWSJ.js → chunk-A5H3TD5Y.js} +3 -3
- package/dist/chunks/{chunk-AF2O5LUD.js → chunk-A7CNJZVJ.js} +4 -2
- package/dist/chunks/{chunk-R4SXR3AG.js → chunk-AZZ46MCC.js} +7 -7
- package/dist/chunks/{chunk-UECJ5RS6.js → chunk-B3XA6TPG.js} +1 -1
- package/dist/chunks/{chunk-7HG6FX64.js → chunk-B4CASKOW.js} +23 -4
- package/dist/chunks/{chunk-Y5KZCUWS.js → chunk-BCGYRHP4.js} +13 -13
- package/dist/chunks/{chunk-5FMO7VJG.js → chunk-BCLOTKBC.js} +2 -2
- package/dist/chunks/{chunk-X636FDOY.js → chunk-BGVJKQY4.js} +2 -2
- package/dist/chunks/{chunk-ZV6U7B3T.js → chunk-BIQ6T4OC.js} +6 -6
- package/dist/chunks/{chunk-AAP47S77.js → chunk-BTGTLVI3.js} +2 -2
- package/dist/chunks/{chunk-HYUCRYLU.js → chunk-BU4LIKNG.js} +1 -1
- package/dist/chunks/{chunk-UJXSQEGV.js → chunk-C2L2Y6XE.js} +1 -1
- package/dist/chunks/{chunk-2RWFJDLA.js → chunk-C5ADEZQB.js} +20 -20
- package/dist/chunks/{chunk-7XKGS3D3.js → chunk-CA5PUX2F.js} +3 -3
- package/dist/chunks/{chunk-PJSQ2JPI.js → chunk-CDGGGRLG.js} +1 -1
- package/dist/chunks/{chunk-2JMYD3G2.js → chunk-CPRSDA6D.js} +17 -13
- package/dist/chunks/{chunk-LUJ6HV2K.js → chunk-CSB3NYGB.js} +38 -33
- package/dist/chunks/{chunk-KMUC57YN.js → chunk-D7F7S375.js} +32 -9
- package/dist/chunks/{chunk-RZECS4MR.js → chunk-DFAEMP4N.js} +1 -1
- package/dist/chunks/{chunk-7YZW3PFZ.js → chunk-DHNT2ACJ.js} +11 -11
- package/dist/chunks/{chunk-IZLKLRA7.js → chunk-DHOQ7C7F.js} +3 -3
- package/dist/chunks/{chunk-JPNKN7MO.js → chunk-DKGQ3W6L.js} +8 -5
- package/dist/chunks/{chunk-CTZHF6PK.js → chunk-DNUVFK6V.js} +6 -4
- package/dist/chunks/{chunk-NVIALFEZ.js → chunk-DOCYXWVC.js} +6 -3
- package/dist/chunks/{chunk-2XT7ARRR.js → chunk-DR3YEV4N.js} +1 -1
- package/dist/chunks/{chunk-4FMKEYMM.js → chunk-DRRCO3H2.js} +2 -2
- package/dist/chunks/{chunk-SFXOKZNZ.js → chunk-DVMIQENB.js} +16 -13
- package/dist/chunks/{chunk-DUR4FFHN.js → chunk-DX42PQRE.js} +4 -4
- package/dist/chunks/{chunk-4MAV25QJ.js → chunk-DZKM5FYU.js} +1 -1
- package/dist/chunks/{chunk-3W2G7C7R.js → chunk-E363NCEZ.js} +2 -2
- package/dist/chunks/{chunk-WMBCXFXO.js → chunk-E6TVLIFX.js} +15 -15
- package/dist/chunks/{chunk-LKTG6TAS.js → chunk-EFUO35HB.js} +9 -9
- package/dist/chunks/{chunk-KKUUVECJ.js → chunk-EJTRPDRY.js} +1 -1
- package/dist/chunks/{chunk-KHVYFV42.js → chunk-EMQ7EYDV.js} +35 -15
- package/dist/chunks/{chunk-KIXYQHDN.js → chunk-ET3WF5EW.js} +1 -1
- package/dist/chunks/{chunk-WOQ65PA5.js → chunk-EUVZFGGK.js} +2 -2
- package/dist/chunks/{chunk-WQHHESDD.js → chunk-EX2RC6BM.js} +3 -3
- package/dist/chunks/{chunk-R4MFZ5CV.js → chunk-EXC3FVZW.js} +5 -3
- package/dist/chunks/{chunk-GXSAM2VY.js → chunk-FHPEFUDI.js} +49 -8
- package/dist/chunks/{chunk-PPNQH4QP.js → chunk-FT5T2VP4.js} +2 -2
- package/dist/chunks/{chunk-C2TJK2KC.js → chunk-FTD3VRR3.js} +3 -3
- package/dist/chunks/{chunk-GF57CE3U.js → chunk-G2PWONLI.js} +4 -2
- package/dist/chunks/{chunk-IJQIHMR4.js → chunk-G4IGTSPB.js} +2 -2
- package/dist/chunks/{chunk-J3JCTQOX.js → chunk-GC23WI6N.js} +2 -2
- package/dist/chunks/{chunk-ONFERE7S.js → chunk-GF4GAQ7T.js} +9 -7
- package/dist/chunks/{chunk-JJ4G3G5H.js → chunk-GNXN5NBM.js} +6 -3
- package/dist/chunks/{chunk-QGWRTVYB.js → chunk-GQYRBJUE.js} +20 -20
- package/dist/chunks/{chunk-QEIYDZXY.js → chunk-GXOWHRHL.js} +3 -3
- package/dist/chunks/{chunk-C5HZWAZA.js → chunk-HFPSWY5F.js} +1 -1
- package/dist/chunks/{chunk-SATEFALB.js → chunk-HNGGZN45.js} +2 -2
- package/dist/chunks/{chunk-TICV4QHM.js → chunk-HNSAOAJX.js} +1 -1
- package/dist/chunks/{chunk-XVFXPPFZ.js → chunk-HPJXP5R6.js} +2 -2
- package/dist/chunks/{chunk-F5SXGBWS.js → chunk-HSXAXHMV.js} +13 -9
- package/dist/chunks/{chunk-LJAUCGZD.js → chunk-HVGETUVB.js} +4 -4
- package/dist/chunks/{chunk-QLE5AMY2.js → chunk-I2ONGEYE.js} +6 -6
- package/dist/chunks/{chunk-SZNEBEU4.js → chunk-I4OW2YVJ.js} +1 -1
- package/dist/chunks/{chunk-7PYVMAD5.js → chunk-IL26KN4Z.js} +41 -18
- package/dist/chunks/{chunk-URERTALC.js → chunk-IP2NYL66.js} +1 -1
- package/dist/chunks/{chunk-EPMK2AJE.js → chunk-IREXVUYZ.js} +3 -3
- package/dist/chunks/{chunk-JIKG4IV6.js → chunk-IST3HBCH.js} +3 -3
- package/dist/chunks/{chunk-GBSSBWIO.js → chunk-J2KWWPKX.js} +1 -1
- package/dist/chunks/{chunk-GIB6EIEK.js → chunk-J7E3IV76.js} +87 -5
- package/dist/chunks/{chunk-J457NFUE.js → chunk-JATRYMPD.js} +6 -4
- package/dist/chunks/{chunk-P365I6BO.js → chunk-JEDWD3NH.js} +1 -1
- package/dist/chunks/{chunk-WZWOKXCK.js → chunk-JF7G7E3I.js} +1 -1
- package/dist/chunks/{chunk-H7GHAUDZ.js → chunk-JMVXUNZP.js} +46 -7
- package/dist/chunks/{chunk-HK7Y7TON.js → chunk-JSYYBQ5X.js} +6 -4
- package/dist/chunks/{chunk-HQMY2GMP.js → chunk-KFWKJMVO.js} +1 -1
- package/dist/chunks/{chunk-N6VDSUZU.js → chunk-L4QEO2F3.js} +2 -2
- package/dist/chunks/{chunk-VHZMC5PJ.js → chunk-LLHGHGI2.js} +1 -1
- package/dist/chunks/{chunk-VDS5W3B6.js → chunk-LPDZAQQI.js} +1 -1
- package/dist/chunks/{chunk-RFPUO7LE.js → chunk-M27EVU3S.js} +3 -3
- package/dist/chunks/{chunk-CW73CRMT.js → chunk-M2MHTGNP.js} +9 -9
- package/dist/chunks/{chunk-DQVK7YKC.js → chunk-MHOQPKOE.js} +1 -1
- package/dist/chunks/{chunk-4JG5JUIF.js → chunk-MWFGSRUL.js} +24 -21
- package/dist/chunks/{chunk-UECBT4DN.js → chunk-MZD2MZLE.js} +2 -2
- package/dist/chunks/{chunk-PRLLVMEK.js → chunk-NACEAEWS.js} +15 -13
- package/dist/chunks/{chunk-XMXZHUQG.js → chunk-NCUTBBN6.js} +5 -3
- package/dist/chunks/{chunk-PPFEHEGU.js → chunk-ND4UYEI2.js} +5 -5
- package/dist/chunks/{chunk-ZQ56KRNR.js → chunk-NIP4M4Q6.js} +8 -6
- package/dist/chunks/{chunk-BQZI5CHX.js → chunk-NKLRDNQ7.js} +4 -2
- package/dist/chunks/{chunk-PHBQQW4M.js → chunk-NKWAFGD5.js} +22 -12
- package/dist/chunks/{chunk-TLFYKSCI.js → chunk-NME4ZLMV.js} +3 -2
- package/dist/chunks/{chunk-EYXFTBXJ.js → chunk-NMXNLTLZ.js} +1 -1
- package/dist/chunks/{chunk-26UXTT37.js → chunk-NOBDZH27.js} +16 -9
- package/dist/chunks/{chunk-QBAZTLJY.js → chunk-NPG3FNFR.js} +16 -14
- package/dist/chunks/{chunk-J34KEUYL.js → chunk-NT7ZVSBW.js} +98 -44
- package/dist/chunks/{chunk-GP3SDN7R.js → chunk-NTBXRYRE.js} +3 -3
- package/dist/chunks/{chunk-QXQOPOZ6.js → chunk-NXZMRY7U.js} +1 -1
- package/dist/chunks/{chunk-ET3W5VYS.js → chunk-NY6B7RIZ.js} +2 -2
- package/dist/chunks/{chunk-RJ7BOVYZ.js → chunk-O2K5C3KL.js} +5 -5
- package/dist/chunks/{chunk-7LWRDOOV.js → chunk-OEZ65UYJ.js} +3 -3
- package/dist/chunks/{chunk-NVDV4224.js → chunk-OHYCFRZ6.js} +1 -1
- package/dist/chunks/{chunk-X7OJJ7Y7.js → chunk-OLZB7DKS.js} +3 -3
- package/dist/chunks/{chunk-Z4TTPWPO.js → chunk-OPAEG2VV.js} +1 -1
- package/dist/chunks/{chunk-L5NEGTAY.js → chunk-P2FMTJWB.js} +1 -1
- package/dist/chunks/{chunk-G4NSZGSJ.js → chunk-P2G5MNQS.js} +4 -4
- package/dist/chunks/{chunk-NOIO6CO4.js → chunk-P2J4OCWV.js} +1 -1
- package/dist/chunks/{chunk-KQAEECUV.js → chunk-P64OCE7F.js} +1 -1
- package/dist/chunks/{chunk-74J2TMKD.js → chunk-PFBOJEQN.js} +1 -1
- package/dist/chunks/{chunk-DYRBJQ3G.js → chunk-PFM5ZARP.js} +8 -5
- package/dist/chunks/{chunk-5D3M4MQP.js → chunk-PKGKKUP7.js} +5 -5
- package/dist/chunks/{chunk-2HZX56MS.js → chunk-PLI6UUW6.js} +11 -11
- package/dist/chunks/{chunk-HOWDMAY2.js → chunk-POU2HYVO.js} +5 -5
- package/dist/chunks/{chunk-EL2FTFRI.js → chunk-PPMPRF74.js} +6 -6
- package/dist/chunks/{chunk-DQLOC5UE.js → chunk-PTZUYLGW.js} +4 -4
- package/dist/chunks/{chunk-ST5ZYIRQ.js → chunk-PUNDNGUM.js} +2 -2
- package/dist/chunks/{chunk-MLYSQDD4.js → chunk-Q2KD3B6R.js} +25 -23
- package/dist/chunks/{chunk-OZV46RMH.js → chunk-Q6CKXYMN.js} +1 -1
- package/dist/chunks/{chunk-DQ56PUOP.js → chunk-Q6RTKIVB.js} +7 -5
- package/dist/chunks/{chunk-HVFHXQH2.js → chunk-QEG2R5YU.js} +1 -1
- package/dist/chunks/{chunk-6WYWNC2Z.js → chunk-QERAQSAF.js} +1 -1
- package/dist/chunks/{chunk-EZMEIYUK.js → chunk-QLE4XREO.js} +4 -4
- package/dist/chunks/{chunk-7JQEP22L.js → chunk-QM7J7VYQ.js} +1 -1
- package/dist/chunks/{chunk-PXK2AN7T.js → chunk-QPHRWULU.js} +53 -41
- package/dist/chunks/chunk-QQTDGM63.js +1321 -0
- package/dist/chunks/{chunk-KT5LDNZH.js → chunk-QXBLNSVZ.js} +7 -7
- package/dist/chunks/{chunk-STQZ5WTP.js → chunk-R3624WDF.js} +10 -10
- package/dist/chunks/{chunk-KTFQGZ5N.js → chunk-R7D3ELW6.js} +2 -2
- package/dist/chunks/{chunk-KZMIV4C7.js → chunk-REVUEDTP.js} +1 -1
- package/dist/chunks/{chunk-B2CPGVTR.js → chunk-REWLZ5GZ.js} +1 -1
- package/dist/chunks/{chunk-Y7DTJRRL.js → chunk-RTLKPFSE.js} +4 -4
- package/dist/chunks/{chunk-XUO2U6W4.js → chunk-RZNNCHQM.js} +11 -5
- package/dist/chunks/{chunk-OWISGMW5.js → chunk-SBDV3T7A.js} +1 -1
- package/dist/chunks/{chunk-WSU5KT62.js → chunk-SDQ4GIH2.js} +9 -6
- package/dist/chunks/{chunk-HJWWZ2WK.js → chunk-SEGTTIMH.js} +1 -1
- package/dist/chunks/{chunk-M7SX2VRX.js → chunk-SH5DELNO.js} +7 -6
- package/dist/chunks/{chunk-AHNGXG3R.js → chunk-SNRJEW3Z.js} +1 -1
- package/dist/chunks/{chunk-WK6GU2EX.js → chunk-SRBTOSVF.js} +2 -2
- package/dist/chunks/{chunk-652ZUGRK.js → chunk-SSRFKRC3.js} +19 -19
- package/dist/chunks/{chunk-MHWL7UU4.js → chunk-TASB5CYW.js} +7 -5
- package/dist/chunks/{chunk-4W7DO33A.js → chunk-TFAXWF7H.js} +4 -2
- package/dist/chunks/{chunk-TXESPPRC.js → chunk-TKLTZFT7.js} +24 -18
- package/dist/chunks/{chunk-KBO6LXMC.js → chunk-TZYM3T73.js} +9 -9
- package/dist/chunks/{chunk-LUIXDCDX.js → chunk-UOFQ7MHM.js} +28 -1317
- package/dist/chunks/{chunk-IO4WKWWG.js → chunk-UZ6OJFCL.js} +4 -2
- package/dist/chunks/{chunk-QYQGZRIP.js → chunk-V345BQCJ.js} +7 -5
- package/dist/chunks/{chunk-6UFUOG23.js → chunk-V7SDA6VG.js} +11 -7
- package/dist/chunks/{chunk-YHCOY32B.js → chunk-VKGGN4DE.js} +1 -1
- package/dist/chunks/{chunk-EFLBI5OS.js → chunk-VKZGKDMR.js} +2 -2
- package/dist/chunks/{chunk-AEBUFMJL.js → chunk-VP3G2XOF.js} +2 -2
- package/dist/chunks/{chunk-UKN5DVNZ.js → chunk-VWPK3KFG.js} +2 -2
- package/dist/chunks/{chunk-CJY3ZYWS.js → chunk-W3Y744AX.js} +5 -3
- package/dist/chunks/{chunk-B2NH3UI5.js → chunk-W4DPFJDF.js} +1 -1
- package/dist/chunks/{chunk-NN5AOQYI.js → chunk-WCYGGQRC.js} +1 -1
- package/dist/chunks/{chunk-WA4H4IXN.js → chunk-WIYZVF73.js} +1 -1
- package/dist/chunks/{chunk-2ZHWUBAG.js → chunk-WOH4BARF.js} +304 -304
- package/dist/chunks/{chunk-ZUF7CUAC.js → chunk-WQNIFU24.js} +1 -1
- package/dist/chunks/{chunk-AEVLYOHS.js → chunk-WZHR7AZY.js} +1 -1
- package/dist/chunks/{chunk-SKZHEAV4.js → chunk-WZUUS6XK.js} +32 -32
- package/dist/chunks/{chunk-24GSHQQB.js → chunk-XADIS7HP.js} +2 -2
- package/dist/chunks/{chunk-RRC7YXE3.js → chunk-XEMP5M3B.js} +1 -1
- package/dist/chunks/{chunk-Z43JQVIG.js → chunk-XUWF6X3H.js} +9 -8
- package/dist/chunks/{chunk-W3NRPGTO.js → chunk-Y2LG737B.js} +2 -2
- package/dist/chunks/{chunk-TMFWLCJ5.js → chunk-Y2YWEVNV.js} +3 -3
- package/dist/chunks/{chunk-TRJ37OLL.js → chunk-Y6AVR4NU.js} +2 -2
- package/dist/chunks/{chunk-GG66ZULN.js → chunk-Y7HBDHDV.js} +11 -7
- package/dist/chunks/{chunk-IJJFLF5S.js → chunk-YCFPR6L6.js} +1 -1
- package/dist/chunks/{chunk-LO2A2WBZ.js → chunk-YJJDO7BY.js} +59 -30
- package/dist/chunks/{chunk-D5OUAJXF.js → chunk-YJR6HPH2.js} +22 -3
- package/dist/chunks/{chunk-JEV45G2O.js → chunk-YUFVM5FU.js} +327 -127
- package/dist/chunks/{chunk-47QZBIFP.js → chunk-Z35PCIMQ.js} +15 -15
- package/dist/chunks/{chunk-VKPF6QIK.js → chunk-ZPRIZ5S5.js} +2 -2
- package/dist/chunks/{chunk-Y5PP6HMD.js → chunk-ZQEIQA4J.js} +1 -1
- package/dist/chunks/{chunk-QZLYQC4B.js → chunk-ZQNVESPJ.js} +18 -14
- package/dist/chunks/{chunk-OM2W5TDU.js → chunk-ZZLY3REM.js} +5 -5
- package/dist/chunks/{color.vertex-VU7LJ2PA.js → color.vertex-WW6XJMNU.js} +2 -2
- package/dist/chunks/{color.vertex-F7P6BNTF.js → color.vertex-Z5WUF2Q2.js} +2 -2
- package/dist/chunks/colorPicker-WB42L444.js +22 -0
- package/dist/chunks/{computeShaderBoundingHelper-TDFMEX6R.js → computeShaderBoundingHelper-Z4XTEZ44.js} +6 -6
- package/dist/chunks/{core-677H6ENF.js → core-UKOKSAWG.js} +287 -287
- package/dist/chunks/{dds-JPB3QPPR.js → dds-MZHAVP3B.js} +12 -12
- package/dist/chunks/{ddsTextureLoader-P3B5GR6K.js → ddsTextureLoader-H3PCRE3C.js} +13 -13
- package/dist/chunks/{default.fragment-JORAGYZW.js → default.fragment-BF2Q5VHF.js} +3 -3
- package/dist/chunks/{default.fragment-BQX6MW4O.js → default.fragment-C2EC6QHW.js} +2 -2
- package/dist/chunks/{default.vertex-FOZHIN5X.js → default.vertex-G2COZRAU.js} +2 -2
- package/dist/chunks/{default.vertex-WWCJ646C.js → default.vertex-NZZZ5JFE.js} +2 -2
- package/dist/chunks/{depth.vertex-D6GA52UZ.js → depth.vertex-LQCYHD3C.js} +2 -2
- package/dist/chunks/{depth.vertex-T7YZ7WHT.js → depth.vertex-SHPH4IOE.js} +2 -2
- package/dist/chunks/{dumpTools-GXUGWTHD.js → dumpTools-JOSEI3LC.js} +6 -6
- package/dist/chunks/{envTextureLoader-I55AD6CK.js → envTextureLoader-UIMQM7SW.js} +23 -23
- package/dist/chunks/{environment-controller-5PUJP7CE.js → environment-controller-SWCU4NUG.js} +1 -1
- package/dist/chunks/{exporting-6JV2NUJK.js → exporting-LUXM2Q3G.js} +9 -7
- package/dist/chunks/{exrTextureLoader-6GTN3CUY.js → exrTextureLoader-UJCY54JE.js} +4 -4
- package/dist/chunks/{flow-XEWNAKVI.js → flow-FEB2T47U.js} +21 -19
- package/dist/chunks/{flowGraphMeshPickEventBlock-BIYPJAQI.js → flowGraphMeshPickEventBlock-BL6HA2QL.js} +2 -2
- package/dist/chunks/{flowGraphPlayAnimationBlock-BQUPVFS4.js → flowGraphPlayAnimationBlock-S7DMLO7M.js} +18 -18
- package/dist/chunks/{flowGraphPointerOutEventBlock-Z7V4Q43Q.js → flowGraphPointerOutEventBlock-7VWFRYP4.js} +2 -2
- package/dist/chunks/{flowGraphPointerOverEventBlock-KNXFYYRL.js → flowGraphPointerOverEventBlock-JVZOQVVZ.js} +2 -2
- package/dist/chunks/{flowGraphReceiveCustomEventBlock-QNNARB2G.js → flowGraphReceiveCustomEventBlock-2GX6TVC4.js} +5 -5
- package/dist/chunks/{gantt-TU7LV276.js → gantt-PKE7E7YK.js} +34 -32
- package/dist/chunks/{gaussianSplatting.vertex-HSGEWPNL.js → gaussianSplatting.vertex-A4NH2CNV.js} +1 -1
- package/dist/chunks/{gaussianSplatting.vertex-PNOUI5VU.js → gaussianSplatting.vertex-VNUJ2NNU.js} +1 -1
- package/dist/chunks/{geometry.fragment-A2OQSUWT.js → geometry.fragment-5OPSDP4F.js} +2 -2
- package/dist/chunks/{geometry.vertex-RVAI2Z6G.js → geometry.vertex-334BZJUR.js} +2 -2
- package/dist/chunks/{geometry.vertex-BTMHTFO6.js → geometry.vertex-NFXJNQQY.js} +2 -2
- package/dist/chunks/{glTF-4E46WFSF.js → glTF-MUD27F2D.js} +38 -38
- package/dist/chunks/{glTFLoaderAnimation-7EB5QVI6.js → glTFLoaderAnimation-PCFOG33N.js} +9 -9
- package/dist/chunks/{glowMapGeneration.vertex-G47YKOMJ.js → glowMapGeneration.vertex-3HMHS7QR.js} +2 -2
- package/dist/chunks/{glowMapGeneration.vertex-EVXM3SD3.js → glowMapGeneration.vertex-U5LFU7MD.js} +2 -2
- package/dist/chunks/{grid-K2BPLVA5.js → grid-KDFQ4NNV.js} +12 -12
- package/dist/chunks/{hierarchy-ZOMBE7G3.js → hierarchy-7S345RH7.js} +18 -16
- package/dist/chunks/{iblVoxelGrid.vertex-ORDUUW7E.js → iblVoxelGrid.vertex-3AQZORFT.js} +1 -1
- package/dist/chunks/{iblVoxelGrid.vertex-4BCY3LCO.js → iblVoxelGrid.vertex-TIEV3MKH.js} +1 -1
- package/dist/chunks/{inspector-OXW7QFME.js → inspector-K2UZEKXI.js} +132 -132
- package/dist/chunks/{json-IG7LZDS3.js → json-CH373W7F.js} +5 -4
- package/dist/chunks/{kernelBlur.fragment-2AMQN2Y4.js → kernelBlur.fragment-E7VYOKC6.js} +1 -1
- package/dist/chunks/{ktxTextureLoader-GZQHHGHX.js → ktxTextureLoader-UGIIBPST.js} +4 -4
- package/dist/chunks/{line.vertex-BMSRDTQC.js → line.vertex-HR2AHZEO.js} +1 -1
- package/dist/chunks/{line.vertex-AA5SEXE7.js → line.vertex-KIYC3XVR.js} +1 -1
- package/dist/chunks/{map-ZAI3S7R3.js → map-2JCTUCRT.js} +16 -14
- package/dist/chunks/{meshUVSpaceRenderer.vertex-6XQT35ET.js → meshUVSpaceRenderer.vertex-BYK5DRO5.js} +1 -1
- package/dist/chunks/{meshUVSpaceRenderer.vertex-UDMDMTXU.js → meshUVSpaceRenderer.vertex-KM27P6XF.js} +1 -1
- package/dist/chunks/{openPbrMaterial-PG5LZQVG.js → openPbrMaterial-MJUAWGZT.js} +22 -22
- package/dist/chunks/{openpbr.fragment-RLQPWAEI.js → openpbr.fragment-UM6JK2VJ.js} +2 -2
- package/dist/chunks/{openpbr.fragment-VXUTPMRA.js → openpbr.fragment-VWBDKZMF.js} +2 -2
- package/dist/chunks/{openpbr.vertex-EQEON3R6.js → openpbr.vertex-IYS5B65Z.js} +2 -2
- package/dist/chunks/{openpbr.vertex-2SHFYWU3.js → openpbr.vertex-QT2NYN3Z.js} +2 -2
- package/dist/chunks/{outline.vertex-NUQCC5LS.js → outline.vertex-GTLT6U26.js} +2 -2
- package/dist/chunks/{outline.vertex-A4HN2ZLX.js → outline.vertex-SLLRX7TL.js} +2 -2
- package/dist/chunks/{particles.fragment-CRTOTBKA.js → particles.fragment-WI65AKZV.js} +1 -1
- package/dist/chunks/{particles.vertex-TXJE6CMU.js → particles.vertex-SQS4WYKV.js} +1 -1
- package/dist/chunks/{particles.vertex-HMQCLF26.js → particles.vertex-UORXWLBF.js} +1 -1
- package/dist/chunks/{pbr.fragment-Z2U5RAU3.js → pbr.fragment-5YNWCH4P.js} +2 -2
- package/dist/chunks/{pbr.fragment-W4LSPNEW.js → pbr.fragment-BCF3C7NU.js} +3 -3
- package/dist/chunks/{pbr.vertex-F6ITDENM.js → pbr.vertex-REFISCTU.js} +2 -2
- package/dist/chunks/{pbr.vertex-4P74XT6B.js → pbr.vertex-T6W7QPU4.js} +2 -2
- package/dist/chunks/{pbrMaterial-QWA6H63W.js → pbrMaterial-5LOM5MFM.js} +25 -25
- package/dist/chunks/{percent-2YMJHJG6.js → percent-2JS2BELZ.js} +19 -17
- package/dist/chunks/{picking.vertex-3QMC6RTD.js → picking.vertex-CYORLO3H.js} +1 -1
- package/dist/chunks/{picking.vertex-TNK5BZIF.js → picking.vertex-ULDBODZ6.js} +1 -1
- package/dist/chunks/{radar-5WHNNTMQ.js → radar-V3X6VVQ2.js} +21 -19
- package/dist/chunks/{scrollbar-Z53PJLEC.js → scrollbar-4MPAWELN.js} +1 -1
- package/dist/chunks/{scrollbar-KQ2BVD4S.css → scrollbar-M3YXEQQZ.css} +35 -35
- package/dist/chunks/{shadowMap.vertex-BLOUKDUC.js → shadowMap.vertex-BJHZWX6T.js} +2 -2
- package/dist/chunks/{shadowMap.vertex-VVTNOL4H.js → shadowMap.vertex-IHNKLYR4.js} +2 -2
- package/dist/chunks/{sliceGrouper-G3MH7EZF.js → sliceGrouper-X4KAGFI4.js} +4 -3
- package/dist/chunks/{stock-ECMQQ3UV.js → stock-MKQ625EX.js} +31 -29
- package/dist/chunks/{thinEngine-NOMUUFHD.js → thinEngine-ILRFAUHX.js} +2 -2
- package/dist/chunks/{timeline-BVIVBYOU.js → timeline-46WT4JRN.js} +21 -19
- package/dist/chunks/{transformFeedbackBoundingHelper-HRIAH6ID.js → transformFeedbackBoundingHelper-BIAS4ZNS.js} +6 -6
- package/dist/chunks/{venn-NCLTZCVZ.js → venn-X5MK5TCA.js} +9 -7
- package/dist/chunks/{wc-ZT4D4FV3.js → wc-GDVWUQZG.js} +10 -8
- package/dist/chunks/{webAudioStreamingSound-VFRIMNLZ.js → webAudioStreamingSound-VTMNFKVF.js} +4 -4
- package/dist/chunks/{xy-BFOJVEB6.js → xy-PC7CIYUJ.js} +23 -21
- package/dist/color-picker.css +140 -134
- package/dist/color-picker.js +23 -23
- package/dist/color-swatch.css +25 -25
- package/dist/color-swatch.js +10 -10
- package/dist/confirm-popover.css +56 -56
- package/dist/confirm-popover.js +8 -8
- package/dist/copy-button.css +8 -8
- package/dist/copy-button.js +4 -4
- package/dist/corner-position-input-group.css +55 -55
- package/dist/corner-position-input-group.js +13 -13
- package/dist/cropper.css +22 -7
- package/dist/cropper.js +4 -3
- package/dist/dashboard-iframe.css +10 -10
- package/dist/dashboard-iframe.js +4 -3
- package/dist/data-tab-group.css +83 -73
- package/dist/data-tab-group.js +16 -16
- package/dist/date-calendar.css +30 -21
- package/dist/date-calendar.js +3 -3
- package/dist/details-group.css +9 -9
- package/dist/details-group.js +2 -2
- package/dist/details.css +6 -6
- package/dist/details.js +1 -1
- package/dist/dialog.css +39 -39
- package/dist/dialog.js +3 -3
- package/dist/diff.css +7 -7
- package/dist/diff.js +2 -2
- package/dist/divider.css +1 -1
- package/dist/divider.js +1 -1
- package/dist/document-viewer.css +129 -24
- package/dist/document-viewer.js +7 -6
- package/dist/dot-pagination.css +9 -9
- package/dist/dot-pagination.js +4 -4
- package/dist/dot-status.css +10 -10
- package/dist/dot-status.js +1 -1
- package/dist/download-format-picker.css +48 -44
- package/dist/download-format-picker.js +7 -7
- package/dist/drawer.css +17 -17
- package/dist/drawer.js +4 -4
- package/dist/dropdown.css +8 -8
- package/dist/dropdown.js +5 -5
- package/dist/dynamic-select.css +47 -45
- package/dist/dynamic-select.js +13 -12
- package/dist/e-chart.css +8 -8
- package/dist/e-chart.js +5 -4
- package/dist/element-clamp.css +3 -3
- package/dist/element-clamp.js +3 -3
- package/dist/estimated-reading-time.css +8 -8
- package/dist/estimated-reading-time.js +2 -2
- package/dist/extension-frame.css +22 -22
- package/dist/extension-frame.js +3 -3
- package/dist/facet-date-picker.css +99 -75
- package/dist/facet-date-picker.js +17 -16
- package/dist/facet-date-range.css +106 -82
- package/dist/facet-date-range.js +18 -17
- package/dist/faceted-filter-facet.css +54 -46
- package/dist/faceted-filter-facet.js +11 -10
- package/dist/faceted-filter.css +164 -126
- package/dist/faceted-filter.js +23 -22
- package/dist/folder-select.css +83 -78
- package/dist/folder-select.js +15 -15
- package/dist/font-picker.css +43 -43
- package/dist/font-picker.js +17 -16
- package/dist/format-time.css +7 -7
- package/dist/format-time.js +1 -1
- package/dist/foundation.js +1 -1
- package/dist/gallery-item.css +82 -21
- package/dist/gallery-item.js +12 -12
- package/dist/graph-view.css +48 -44
- package/dist/graph-view.js +4 -3
- package/dist/grid-item.css +1 -1
- package/dist/grid-item.js +1 -1
- package/dist/grid.css +2 -2
- package/dist/grid.js +1 -1
- package/dist/header.css +18 -18
- package/dist/header.js +5 -5
- package/dist/icon-button.css +14 -14
- package/dist/icon-button.js +2 -2
- package/dist/icon-picker.css +245 -151
- package/dist/icon-picker.js +28 -28
- package/dist/iframe.css +6 -6
- package/dist/iframe.js +2 -2
- package/dist/image-comparer.css +2 -2
- package/dist/image-comparer.js +1 -1
- package/dist/image.css +68 -10
- package/dist/image.js +5 -5
- package/dist/include.css +2 -2
- package/dist/include.js +1 -1
- package/dist/index.css +1353 -984
- package/dist/index.js +131 -131
- package/dist/input-date-picker.css +76 -67
- package/dist/input-date-picker.js +15 -14
- package/dist/input-date-range-picker.css +82 -73
- package/dist/input-date-range-picker.js +16 -15
- package/dist/input-group.css +9 -9
- package/dist/input-group.js +1 -1
- package/dist/input.css +22 -22
- package/dist/input.js +4 -4
- package/dist/integrations/unit-renderer.css +200 -139
- package/dist/integrations/unit-renderer.js +27 -26
- package/dist/integrations/widget-ui.css +120 -120
- package/dist/integrations/widget-ui.js +23 -23
- package/dist/line-clamp.css +5 -5
- package/dist/line-clamp.js +6 -6
- package/dist/markdown-viewer.css +58 -63
- package/dist/markdown-viewer.js +12 -11
- package/dist/markdown.css +14 -14
- package/dist/markdown.js +3 -3
- package/dist/masonry.css +85 -27
- package/dist/masonry.js +11 -11
- package/dist/mentions.css +25 -25
- package/dist/mentions.js +9 -9
- package/dist/menu-item.css +17 -17
- package/dist/menu-item.js +4 -4
- package/dist/menu-label.css +2 -2
- package/dist/menu-label.js +1 -1
- package/dist/menu-section.css +6 -6
- package/dist/menu-section.js +2 -2
- package/dist/menu.css +18 -18
- package/dist/menu.js +6 -6
- package/dist/multi-select.css +2963 -585
- package/dist/multi-select.js +31 -10
- package/dist/mutation-observer.css +3 -3
- package/dist/mutation-observer.js +1 -1
- package/dist/option.css +6 -6
- package/dist/option.js +1 -1
- package/dist/padding-input-group.css +35 -35
- package/dist/padding-input-group.js +6 -6
- package/dist/page-outline.css +24 -24
- package/dist/page-outline.js +9 -9
- package/dist/pagination.css +66 -60
- package/dist/pagination.js +13 -13
- package/dist/pdf-viewer-toolbar.css +258 -252
- package/dist/pdf-viewer-toolbar.js +25 -25
- package/dist/popup.css +2 -2
- package/dist/popup.js +2 -2
- package/dist/position-picker.css +25 -25
- package/dist/position-picker.js +6 -6
- package/dist/progress-bar.css +4 -4
- package/dist/progress-bar.js +1 -1
- package/dist/progress-ring.css +4 -4
- package/dist/progress-ring.js +1 -1
- package/dist/publish-page.css +75 -83
- package/dist/publish-page.js +10 -9
- package/dist/qr-code.css +2 -2
- package/dist/qr-code.js +1 -1
- package/dist/radio-card.css +17 -17
- package/dist/radio-card.js +9 -9
- package/dist/radio-group.css +13 -13
- package/dist/radio-group.js +2 -2
- package/dist/radio.css +7 -7
- package/dist/radio.js +1 -1
- package/dist/range.css +27 -27
- package/dist/range.js +5 -5
- package/dist/rating.css +7 -7
- package/dist/rating.js +1 -1
- package/dist/relative-time.css +6 -6
- package/dist/relative-time.js +1 -1
- package/dist/resize-observer.css +3 -3
- package/dist/resize-observer.js +1 -1
- package/dist/rich-text.css +186 -180
- package/dist/rich-text.js +25 -25
- package/dist/select.css +28 -28
- package/dist/select.js +10 -10
- package/dist/shadow-input-group.css +155 -149
- package/dist/shadow-input-group.js +26 -26
- package/dist/share-option-list.css +36 -33
- package/dist/share-option-list.js +6 -6
- package/dist/sidebar.css +31 -20
- package/dist/sidebar.js +5 -5
- package/dist/size-input-group.css +55 -55
- package/dist/size-input-group.js +13 -13
- package/dist/skeleton.css +4 -4
- package/dist/skeleton.js +1 -1
- package/dist/spinner.css +3 -3
- package/dist/spinner.js +1 -1
- package/dist/stat-card.css +25 -25
- package/dist/stat-card.js +5 -5
- package/dist/step.css +9 -9
- package/dist/step.js +8 -8
- package/dist/stepper-wizard.css +16 -16
- package/dist/stepper-wizard.js +11 -11
- package/dist/stepper.css +2 -2
- package/dist/stepper.js +1 -1
- package/dist/switch.js +1 -1
- package/dist/tab-group.css +47 -46
- package/dist/tab-group.js +11 -11
- package/dist/tab-panel.css +3 -3
- package/dist/tab-panel.js +1 -1
- package/dist/tab.css +29 -29
- package/dist/tab.js +8 -8
- package/dist/table.css +212 -168
- package/dist/table.js +31 -30
- package/dist/tag.css +19 -19
- package/dist/tag.js +8 -8
- package/dist/textarea.css +9 -17
- package/dist/textarea.js +1 -1
- package/dist/timecode.css +16 -16
- package/dist/timecode.js +2 -2
- package/dist/tooltip.css +2 -2
- package/dist/tooltip.js +3 -3
- package/dist/tree-item.css +33 -28
- package/dist/tree-item.js +7 -7
- package/dist/tree.css +3 -3
- package/dist/tree.js +1 -1
- package/dist/type-subtype-select.css +36 -36
- package/dist/type-subtype-select.js +13 -12
- package/dist/typeface.css +28 -28
- package/dist/typeface.js +11 -11
- package/dist/types/react/src/atoms/alert/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/am-chart/component.types.d.ts +4 -2
- package/dist/types/react/src/atoms/am-chart/service.d.ts +2 -0
- package/dist/types/react/src/atoms/array-line-clamp/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/audio/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/color-picker/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/copy-button/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/date-calendar/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/details/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/dialog/component.types.d.ts +7 -2
- package/dist/types/react/src/atoms/dialog/scrollbar.d.ts +1 -1
- package/dist/types/react/src/atoms/document-viewer/component.types.d.ts +5 -4
- package/dist/types/react/src/atoms/dot-pagination/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/drawer/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/dropdown/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/e-chart/component.types.d.ts +3 -2
- package/dist/types/react/src/atoms/element-clamp/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/grid/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/grid-item/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/header/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/icon-button/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/image/component.types.d.ts +9 -3
- package/dist/types/react/src/atoms/image/index.d.ts +1 -1
- package/dist/types/react/src/atoms/image/use-resize-controls.d.ts +12 -0
- package/dist/types/react/src/atoms/image/use-resize.d.ts +9 -3
- package/dist/types/react/src/atoms/line-clamp/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu-item/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu-label/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu-section/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/option/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/pagination/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/radio-card/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/range/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/select/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/step/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/stepper/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tab/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tab-group/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tab-panel/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tag/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/timecode/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tooltip/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tree/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tree-item/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/typography/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/video/component.types.d.ts +62 -4
- package/dist/types/react/src/atoms/video/index.d.ts +1 -1
- package/dist/types/react/src/molecules/annotator/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/asset-data-display/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/asset-picker/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/bicolor-picker/component.d.ts +1 -1
- package/dist/types/react/src/molecules/bicolor-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/color-swatch/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/confirm-popover/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/cropper/component.types.d.ts +4 -2
- package/dist/types/react/src/molecules/dashboard-iframe/component.d.ts +1 -1
- package/dist/types/react/src/molecules/dashboard-iframe/component.types.d.ts +7 -0
- package/dist/types/react/src/molecules/data-tab-group/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/dynamic-select/component.types.d.ts +1 -0
- package/dist/types/react/src/molecules/estimated-reading-time/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/facet-date-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/facet-date-range/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/faceted-filter/component.types.d.ts +3 -2
- package/dist/types/react/src/molecules/faceted-filter-facet/component.types.d.ts +3 -2
- package/dist/types/react/src/molecules/folder-select/component.types.d.ts +4 -2
- package/dist/types/react/src/molecules/gallery-item/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/graph-view/component.types.d.ts +1 -0
- package/dist/types/react/src/molecules/icon-picker/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/input-date-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/input-date-range-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/markdown-viewer/component.types.d.ts +4 -2
- package/dist/types/react/src/molecules/masonry/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/mentions/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/multi-select/component.types.d.ts +1 -0
- package/dist/types/react/src/molecules/page-outline/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/pdf-viewer-toolbar/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/share-option-list/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/sidebar/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/type-subtype-select/component.types.d.ts +3 -0
- package/dist/types/react/src/molecules/typeface/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/view-and-sort/component.types.d.ts +2 -2
- package/dist/typography.css +8 -8
- package/dist/typography.js +1 -1
- package/dist/uploader.css +19 -19
- package/dist/uploader.js +4 -4
- package/dist/video.css +134 -10
- package/dist/video.js +7 -7
- package/dist/view-and-sort.css +43 -40
- package/dist/view-and-sort.js +14 -14
- package/dist/visually-hidden.css +2 -2
- package/dist/visually-hidden.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/colorPicker-GG2EQTCT.js +0 -21
- /package/dist/chunks/{BookReader-Q2GZR6A6.css.LEGAL.txt → BookReader-N6RBAAFS.css.LEGAL.txt} +0 -0
- /package/dist/chunks/{GraphView-XIVASOEO.css.LEGAL.txt → GraphView-N4PSK5MJ.css.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-CMQK3TLH.js.LEGAL.txt → chunk-6LRI2ZOE.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-ZV6U7B3T.js.LEGAL.txt → chunk-BIQ6T4OC.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{inspector-OXW7QFME.js.LEGAL.txt → inspector-K2UZEKXI.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Disposer,
|
|
3
|
+
DisposerClass,
|
|
4
|
+
each,
|
|
5
|
+
each2,
|
|
6
|
+
indexOf,
|
|
7
|
+
isNumber,
|
|
8
|
+
isString
|
|
9
|
+
} from "./chunk-PHZCM5CF.js";
|
|
10
|
+
import {
|
|
11
|
+
__export
|
|
12
|
+
} from "./chunk-EXOVVZNP.js";
|
|
13
|
+
|
|
14
|
+
// node_modules/.bun/@amcharts+amcharts5@5.16.0/node_modules/@amcharts/amcharts5/.internal/core/util/Percent.js
|
|
15
|
+
var Percent = class _Percent {
|
|
16
|
+
/**
|
|
17
|
+
* Constructor.
|
|
18
|
+
*
|
|
19
|
+
* @param percent Percent value
|
|
20
|
+
*/
|
|
21
|
+
constructor(percent2) {
|
|
22
|
+
this._value = percent2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Relative value.
|
|
26
|
+
*
|
|
27
|
+
* E.g. 100% is 1, 50% is 0.5, etc.
|
|
28
|
+
*
|
|
29
|
+
* This is useful to apply transformations to other values. E.g.:
|
|
30
|
+
*
|
|
31
|
+
* ```TypeScript
|
|
32
|
+
* let value = 256;
|
|
33
|
+
* let percent = new am5.p50;
|
|
34
|
+
* console.log(value * percent.value); // outputs 128
|
|
35
|
+
* ```
|
|
36
|
+
* ```JavaScript
|
|
37
|
+
* var value = 256;
|
|
38
|
+
* var percent = new am5.p50;
|
|
39
|
+
* console.log(value * percent.value); // outputs 128
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Alternatively, you can use `am5.percent()` helper function:
|
|
43
|
+
*
|
|
44
|
+
* ```TypeScript
|
|
45
|
+
* let value = 256;
|
|
46
|
+
* let percent = am5.p50;
|
|
47
|
+
* console.log(value * percent.value); // outputs 128
|
|
48
|
+
* ```
|
|
49
|
+
* ```JavaScript
|
|
50
|
+
* var value = 256;
|
|
51
|
+
* var percent = am5.p50;
|
|
52
|
+
* console.log(value * percent.value); // outputs 128
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @readonly
|
|
56
|
+
* @return Relative value
|
|
57
|
+
*/
|
|
58
|
+
get value() {
|
|
59
|
+
return this._value / 100;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Value in percent.
|
|
63
|
+
*
|
|
64
|
+
* @readonly
|
|
65
|
+
* @return Percent
|
|
66
|
+
*/
|
|
67
|
+
get percent() {
|
|
68
|
+
return this._value;
|
|
69
|
+
}
|
|
70
|
+
toString() {
|
|
71
|
+
return "" + this._value + "%";
|
|
72
|
+
}
|
|
73
|
+
interpolate(min, max) {
|
|
74
|
+
return min + this.value * (max - min);
|
|
75
|
+
}
|
|
76
|
+
static normalize(percent2, min, max) {
|
|
77
|
+
if (percent2 instanceof _Percent) {
|
|
78
|
+
return percent2;
|
|
79
|
+
} else {
|
|
80
|
+
if (min === max) {
|
|
81
|
+
return new _Percent(0);
|
|
82
|
+
} else {
|
|
83
|
+
return new _Percent(Math.min(Math.max((percent2 - min) * (1 / (max - min)), 0), 1) * 100);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
function percent(value) {
|
|
89
|
+
return new Percent(value);
|
|
90
|
+
}
|
|
91
|
+
var p0 = percent(0);
|
|
92
|
+
var p100 = percent(100);
|
|
93
|
+
var p50 = percent(50);
|
|
94
|
+
function isPercent(value) {
|
|
95
|
+
return value instanceof Percent;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// node_modules/.bun/@amcharts+amcharts5@5.16.0/node_modules/@amcharts/amcharts5/.internal/core/util/Utils.js
|
|
99
|
+
var Utils_exports = {};
|
|
100
|
+
__export(Utils_exports, {
|
|
101
|
+
StyleRule: () => StyleRule,
|
|
102
|
+
StyleSheet: () => StyleSheet,
|
|
103
|
+
addClass: () => addClass,
|
|
104
|
+
addEventListener: () => addEventListener,
|
|
105
|
+
addSpacing: () => addSpacing,
|
|
106
|
+
alternativeColor: () => alternativeColor,
|
|
107
|
+
blur: () => blur,
|
|
108
|
+
brighten: () => brighten,
|
|
109
|
+
capitalizeFirst: () => capitalizeFirst,
|
|
110
|
+
cleanFormat: () => cleanFormat,
|
|
111
|
+
contains: () => contains,
|
|
112
|
+
decimalPlaces: () => decimalPlaces,
|
|
113
|
+
escapeForRgex: () => escapeForRgex,
|
|
114
|
+
focus: () => focus,
|
|
115
|
+
get12Hours: () => get12Hours,
|
|
116
|
+
getBrightnessStep: () => getBrightnessStep,
|
|
117
|
+
getDayFromWeek: () => getDayFromWeek,
|
|
118
|
+
getEventKey: () => getEventKey,
|
|
119
|
+
getEventTarget: () => getEventTarget,
|
|
120
|
+
getFormat: () => getFormat,
|
|
121
|
+
getLightnessStep: () => getLightnessStep,
|
|
122
|
+
getMonthWeek: () => getMonthWeek,
|
|
123
|
+
getPointerId: () => getPointerId,
|
|
124
|
+
getRendererEvent: () => getRendererEvent,
|
|
125
|
+
getSafeResolution: () => getSafeResolution,
|
|
126
|
+
getShadowRoot: () => getShadowRoot,
|
|
127
|
+
getStyle: () => getStyle,
|
|
128
|
+
getTimeZone: () => getTimeZone,
|
|
129
|
+
getTimezoneOffset: () => getTimezoneOffset,
|
|
130
|
+
getWeek: () => getWeek,
|
|
131
|
+
getWeekYear: () => getWeekYear,
|
|
132
|
+
getYearDay: () => getYearDay,
|
|
133
|
+
hslToHsv: () => hslToHsv,
|
|
134
|
+
hslToRgb: () => hslToRgb,
|
|
135
|
+
hsvToHsl: () => hsvToHsl,
|
|
136
|
+
iOS: () => iOS,
|
|
137
|
+
isLight: () => isLight,
|
|
138
|
+
isLocalEvent: () => isLocalEvent,
|
|
139
|
+
isTouchEvent: () => isTouchEvent,
|
|
140
|
+
lighten: () => lighten,
|
|
141
|
+
mergeTags: () => mergeTags,
|
|
142
|
+
onZoom: () => onZoom,
|
|
143
|
+
padString: () => padString,
|
|
144
|
+
plainText: () => plainText,
|
|
145
|
+
ready: () => ready,
|
|
146
|
+
relativeToValue: () => relativeToValue,
|
|
147
|
+
removeClass: () => removeClass,
|
|
148
|
+
removeElement: () => removeElement,
|
|
149
|
+
rgbToHsl: () => rgbToHsl,
|
|
150
|
+
sameBounds: () => sameBounds,
|
|
151
|
+
saturate: () => saturate,
|
|
152
|
+
setInteractive: () => setInteractive,
|
|
153
|
+
setStyle: () => setStyle,
|
|
154
|
+
splitString: () => splitString,
|
|
155
|
+
stripTags: () => stripTags,
|
|
156
|
+
supports: () => supports,
|
|
157
|
+
trim: () => trim,
|
|
158
|
+
trimLeft: () => trimLeft,
|
|
159
|
+
trimRight: () => trimRight,
|
|
160
|
+
truncateTextWithEllipsis: () => truncateTextWithEllipsis
|
|
161
|
+
});
|
|
162
|
+
function ready(f) {
|
|
163
|
+
if (document.readyState !== "loading") {
|
|
164
|
+
f();
|
|
165
|
+
} else {
|
|
166
|
+
const listener = () => {
|
|
167
|
+
if (document.readyState !== "loading") {
|
|
168
|
+
document.removeEventListener("readystatechange", listener);
|
|
169
|
+
f();
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
document.addEventListener("readystatechange", listener);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
function removeElement(el) {
|
|
176
|
+
if (el.parentNode) {
|
|
177
|
+
el.parentNode.removeChild(el);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
function addEventListener(dom, type, listener, options) {
|
|
181
|
+
dom.addEventListener(type, listener, options || false);
|
|
182
|
+
return new Disposer(() => {
|
|
183
|
+
dom.removeEventListener(type, listener, options || false);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
function onZoom(listener) {
|
|
187
|
+
return addEventListener(window, "resize", (_ev) => {
|
|
188
|
+
listener();
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
function supports(cap) {
|
|
192
|
+
switch (cap) {
|
|
193
|
+
case "touchevents":
|
|
194
|
+
return window.hasOwnProperty("TouchEvent");
|
|
195
|
+
case "pointerevents":
|
|
196
|
+
return window.hasOwnProperty("PointerEvent");
|
|
197
|
+
case "mouseevents":
|
|
198
|
+
return window.hasOwnProperty("MouseEvent");
|
|
199
|
+
case "wheelevents":
|
|
200
|
+
return window.hasOwnProperty("WheelEvent");
|
|
201
|
+
case "keyboardevents":
|
|
202
|
+
return window.hasOwnProperty("KeyboardEvent");
|
|
203
|
+
}
|
|
204
|
+
return false;
|
|
205
|
+
}
|
|
206
|
+
function getPointerId(event) {
|
|
207
|
+
let id = event.pointerId || 0;
|
|
208
|
+
return id;
|
|
209
|
+
}
|
|
210
|
+
function blur() {
|
|
211
|
+
if (document.activeElement && document.activeElement != document.body) {
|
|
212
|
+
if (document.activeElement.blur) {
|
|
213
|
+
document.activeElement.blur();
|
|
214
|
+
} else {
|
|
215
|
+
let input = document.createElement("button");
|
|
216
|
+
input.style.position = "fixed";
|
|
217
|
+
input.style.top = "0px";
|
|
218
|
+
input.style.left = "-10000px";
|
|
219
|
+
document.body.appendChild(input);
|
|
220
|
+
input.focus();
|
|
221
|
+
input.blur();
|
|
222
|
+
document.body.removeChild(input);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
function focus(el) {
|
|
227
|
+
if (el) {
|
|
228
|
+
el.focus();
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
function getRendererEvent(key) {
|
|
232
|
+
if (supports("pointerevents")) {
|
|
233
|
+
return key;
|
|
234
|
+
} else if (supports("touchevents")) {
|
|
235
|
+
switch (key) {
|
|
236
|
+
case "pointerover":
|
|
237
|
+
return "touchstart";
|
|
238
|
+
case "pointerout":
|
|
239
|
+
return "touchend";
|
|
240
|
+
case "pointerleave":
|
|
241
|
+
return "touchend";
|
|
242
|
+
case "pointerdown":
|
|
243
|
+
return "touchstart";
|
|
244
|
+
case "pointermove":
|
|
245
|
+
return "touchmove";
|
|
246
|
+
case "pointerup":
|
|
247
|
+
return "touchend";
|
|
248
|
+
case "click":
|
|
249
|
+
return "click";
|
|
250
|
+
case "dblclick":
|
|
251
|
+
return "dblclick";
|
|
252
|
+
}
|
|
253
|
+
} else if (supports("mouseevents")) {
|
|
254
|
+
switch (key) {
|
|
255
|
+
case "pointerover":
|
|
256
|
+
return "mouseover";
|
|
257
|
+
case "pointerout":
|
|
258
|
+
return "mouseout";
|
|
259
|
+
case "pointerleave":
|
|
260
|
+
return "mouseleave";
|
|
261
|
+
case "pointerdown":
|
|
262
|
+
return "mousedown";
|
|
263
|
+
case "pointermove":
|
|
264
|
+
return "mousemove";
|
|
265
|
+
case "pointerup":
|
|
266
|
+
return "mouseup";
|
|
267
|
+
case "click":
|
|
268
|
+
return "click";
|
|
269
|
+
case "dblclick":
|
|
270
|
+
return "dblclick";
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return key;
|
|
274
|
+
}
|
|
275
|
+
function isTouchEvent(ev) {
|
|
276
|
+
if (typeof Touch !== "undefined" && ev instanceof Touch) {
|
|
277
|
+
return true;
|
|
278
|
+
} else if (typeof PointerEvent !== "undefined" && ev instanceof PointerEvent && ev.pointerType != null) {
|
|
279
|
+
switch (ev.pointerType) {
|
|
280
|
+
case "touch":
|
|
281
|
+
case "pen":
|
|
282
|
+
case 2:
|
|
283
|
+
return true;
|
|
284
|
+
case "mouse":
|
|
285
|
+
case 4:
|
|
286
|
+
return false;
|
|
287
|
+
default:
|
|
288
|
+
return !(ev instanceof MouseEvent);
|
|
289
|
+
}
|
|
290
|
+
} else if (ev.type != null) {
|
|
291
|
+
if (ev.type.match(/^mouse/)) {
|
|
292
|
+
return false;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
return true;
|
|
296
|
+
}
|
|
297
|
+
function setStyle(dom, property, value) {
|
|
298
|
+
dom.style[property] = value;
|
|
299
|
+
}
|
|
300
|
+
function getStyle(dom, property) {
|
|
301
|
+
return dom.style[property];
|
|
302
|
+
}
|
|
303
|
+
function getEventTarget(event) {
|
|
304
|
+
if (event.composedPath) {
|
|
305
|
+
const path = event.composedPath();
|
|
306
|
+
if (path.length === 0) {
|
|
307
|
+
return null;
|
|
308
|
+
} else {
|
|
309
|
+
return path[0];
|
|
310
|
+
}
|
|
311
|
+
} else {
|
|
312
|
+
return event.target;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
function contains(a, b) {
|
|
316
|
+
let cursor = b;
|
|
317
|
+
while (true) {
|
|
318
|
+
if (a === cursor) {
|
|
319
|
+
return true;
|
|
320
|
+
} else if (cursor.parentNode === null) {
|
|
321
|
+
if (cursor.host == null) {
|
|
322
|
+
return false;
|
|
323
|
+
} else {
|
|
324
|
+
cursor = cursor.host;
|
|
325
|
+
}
|
|
326
|
+
} else {
|
|
327
|
+
cursor = cursor.parentNode;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
function isLocalEvent(event, target) {
|
|
332
|
+
return event.target && contains(target.root.dom, event.target);
|
|
333
|
+
}
|
|
334
|
+
function setInteractive(target, interactive) {
|
|
335
|
+
if (interactive) {
|
|
336
|
+
target.style.pointerEvents = "auto";
|
|
337
|
+
} else {
|
|
338
|
+
target.style.pointerEvents = "none";
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
function getEventKey(event) {
|
|
342
|
+
if (event.key !== void 0) {
|
|
343
|
+
return event.key;
|
|
344
|
+
}
|
|
345
|
+
switch (event.keyCode) {
|
|
346
|
+
case 9:
|
|
347
|
+
return "Tab";
|
|
348
|
+
case 13:
|
|
349
|
+
return "Enter";
|
|
350
|
+
case 16:
|
|
351
|
+
return "Shift";
|
|
352
|
+
case 17:
|
|
353
|
+
return "Control";
|
|
354
|
+
case 27:
|
|
355
|
+
return "Escape";
|
|
356
|
+
case 32:
|
|
357
|
+
return " ";
|
|
358
|
+
case 37:
|
|
359
|
+
return "ArrowLeft";
|
|
360
|
+
case 38:
|
|
361
|
+
return "ArrowUp";
|
|
362
|
+
case 39:
|
|
363
|
+
return "ArrowRight";
|
|
364
|
+
case 40:
|
|
365
|
+
return "ArrowDown";
|
|
366
|
+
case 46:
|
|
367
|
+
return "Delete";
|
|
368
|
+
}
|
|
369
|
+
return "" + event.keyCode;
|
|
370
|
+
}
|
|
371
|
+
function getShadowRoot(a) {
|
|
372
|
+
let cursor = a;
|
|
373
|
+
while (true) {
|
|
374
|
+
if (cursor.parentNode === null) {
|
|
375
|
+
if (cursor.host != null) {
|
|
376
|
+
return cursor;
|
|
377
|
+
} else {
|
|
378
|
+
return null;
|
|
379
|
+
}
|
|
380
|
+
} else {
|
|
381
|
+
cursor = cursor.parentNode;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
var rootStylesheet;
|
|
386
|
+
function createStylesheet(element, text, nonce = "") {
|
|
387
|
+
const e = document.createElement("style");
|
|
388
|
+
e.type = "text/css";
|
|
389
|
+
if (nonce != "") {
|
|
390
|
+
e.setAttribute("nonce", nonce);
|
|
391
|
+
}
|
|
392
|
+
e.textContent = text;
|
|
393
|
+
if (element === null) {
|
|
394
|
+
document.head.appendChild(e);
|
|
395
|
+
} else {
|
|
396
|
+
element.appendChild(e);
|
|
397
|
+
}
|
|
398
|
+
return e;
|
|
399
|
+
}
|
|
400
|
+
function getStylesheet(element, nonce = "") {
|
|
401
|
+
if (element === null) {
|
|
402
|
+
if (rootStylesheet == null) {
|
|
403
|
+
const e = document.createElement("style");
|
|
404
|
+
e.type = "text/css";
|
|
405
|
+
if (nonce != "") {
|
|
406
|
+
e.setAttribute("nonce", nonce);
|
|
407
|
+
}
|
|
408
|
+
document.head.appendChild(e);
|
|
409
|
+
rootStylesheet = e.sheet;
|
|
410
|
+
}
|
|
411
|
+
return rootStylesheet;
|
|
412
|
+
} else {
|
|
413
|
+
const e = document.createElement("style");
|
|
414
|
+
e.type = "text/css";
|
|
415
|
+
if (nonce != "") {
|
|
416
|
+
e.setAttribute("nonce", nonce);
|
|
417
|
+
}
|
|
418
|
+
element.appendChild(e);
|
|
419
|
+
return e.sheet;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
function appendStylesheet(root, selector) {
|
|
423
|
+
const index = root.cssRules.length;
|
|
424
|
+
root.insertRule(selector + "{}", index);
|
|
425
|
+
return root.cssRules[index];
|
|
426
|
+
}
|
|
427
|
+
var StyleRule = class extends DisposerClass {
|
|
428
|
+
/**
|
|
429
|
+
* Constructor.
|
|
430
|
+
*
|
|
431
|
+
* @param selector CSS selector
|
|
432
|
+
* @param styles An object of style attribute - value pairs
|
|
433
|
+
*/
|
|
434
|
+
constructor(element, selector, styles, nonce = "") {
|
|
435
|
+
super();
|
|
436
|
+
this._root = getStylesheet(element, nonce);
|
|
437
|
+
try {
|
|
438
|
+
this._rule = appendStylesheet(this._root, selector);
|
|
439
|
+
} catch (err) {
|
|
440
|
+
this._rule = appendStylesheet(this._root, ":not(*)");
|
|
441
|
+
}
|
|
442
|
+
each2(styles, (key, value) => {
|
|
443
|
+
this.setStyle(key, value);
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* A CSS selector text.
|
|
448
|
+
*
|
|
449
|
+
* E.g.: `.myClass p`
|
|
450
|
+
*
|
|
451
|
+
* @param selector CSS selector
|
|
452
|
+
*/
|
|
453
|
+
set selector(selector) {
|
|
454
|
+
this._rule.selectorText = selector;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* @return CSS selector
|
|
458
|
+
*/
|
|
459
|
+
get selector() {
|
|
460
|
+
return this._rule.selectorText;
|
|
461
|
+
}
|
|
462
|
+
// TODO test this
|
|
463
|
+
_dispose() {
|
|
464
|
+
const index = indexOf(this._root.cssRules, this._rule);
|
|
465
|
+
if (index === -1) {
|
|
466
|
+
throw new Error("Could not dispose StyleRule");
|
|
467
|
+
} else {
|
|
468
|
+
this._root.deleteRule(index);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Sets the same style properties with browser-specific prefixes.
|
|
473
|
+
*
|
|
474
|
+
* @param name Attribute name
|
|
475
|
+
* @param value Attribute value
|
|
476
|
+
*/
|
|
477
|
+
_setVendorPrefixName(name, value) {
|
|
478
|
+
const style = this._rule.style;
|
|
479
|
+
style.setProperty("-webkit-" + name, value, "");
|
|
480
|
+
style.setProperty("-moz-" + name, value, "");
|
|
481
|
+
style.setProperty("-ms-" + name, value, "");
|
|
482
|
+
style.setProperty("-o-" + name, value, "");
|
|
483
|
+
style.setProperty(name, value, "");
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Sets a value for specific style attribute.
|
|
487
|
+
*
|
|
488
|
+
* @param name Attribute
|
|
489
|
+
* @param value Value
|
|
490
|
+
*/
|
|
491
|
+
setStyle(name, value) {
|
|
492
|
+
if (name === "transition") {
|
|
493
|
+
this._setVendorPrefixName(name, value);
|
|
494
|
+
} else {
|
|
495
|
+
this._rule.style.setProperty(name, value, "");
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
var StyleSheet = class extends DisposerClass {
|
|
500
|
+
/**
|
|
501
|
+
* Constructor.
|
|
502
|
+
*
|
|
503
|
+
* @param text CSS stylesheet
|
|
504
|
+
*/
|
|
505
|
+
constructor(element, text, nonce = "") {
|
|
506
|
+
super();
|
|
507
|
+
this._element = createStylesheet(element, text, nonce);
|
|
508
|
+
}
|
|
509
|
+
_dispose() {
|
|
510
|
+
if (this._element.parentNode) {
|
|
511
|
+
this._element.parentNode.removeChild(this._element);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
function addClass(element, className) {
|
|
516
|
+
if (!element) {
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
if (element.classList) {
|
|
520
|
+
const classes = className.split(" ");
|
|
521
|
+
each(classes, (name) => {
|
|
522
|
+
element.classList.add(name);
|
|
523
|
+
});
|
|
524
|
+
} else {
|
|
525
|
+
let currentClassName = element.getAttribute("class");
|
|
526
|
+
if (currentClassName) {
|
|
527
|
+
element.setAttribute("class", currentClassName.split(" ").filter((item) => {
|
|
528
|
+
return item !== className;
|
|
529
|
+
}).join(" ") + " " + className);
|
|
530
|
+
} else {
|
|
531
|
+
element.setAttribute("class", className);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
function removeClass(element, className) {
|
|
536
|
+
if (!element) {
|
|
537
|
+
return;
|
|
538
|
+
}
|
|
539
|
+
if (element.classList) {
|
|
540
|
+
element.classList.remove(className);
|
|
541
|
+
} else {
|
|
542
|
+
let currentClassName = element.getAttribute("class");
|
|
543
|
+
if (currentClassName) {
|
|
544
|
+
element.setAttribute("class", currentClassName.split(" ").filter((item) => {
|
|
545
|
+
return item !== className;
|
|
546
|
+
}).join(" "));
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
function iOS() {
|
|
551
|
+
return /apple/i.test(navigator.vendor) && "ontouchend" in document;
|
|
552
|
+
}
|
|
553
|
+
function getSafeResolution() {
|
|
554
|
+
return iOS() ? 1 : void 0;
|
|
555
|
+
}
|
|
556
|
+
function relativeToValue(percent2, full) {
|
|
557
|
+
if (isNumber(percent2)) {
|
|
558
|
+
return percent2;
|
|
559
|
+
} else if (percent2 != null && isNumber(percent2.value) && isNumber(full)) {
|
|
560
|
+
return full * percent2.value;
|
|
561
|
+
} else {
|
|
562
|
+
return 0;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
function decimalPlaces(number) {
|
|
566
|
+
let match = ("" + number).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
|
|
567
|
+
if (!match) {
|
|
568
|
+
return 0;
|
|
569
|
+
}
|
|
570
|
+
return Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? +match[2] : 0));
|
|
571
|
+
}
|
|
572
|
+
function padString(value, len = 0, char = "0") {
|
|
573
|
+
if (typeof value !== "string") {
|
|
574
|
+
value = value.toString();
|
|
575
|
+
}
|
|
576
|
+
return len > value.length ? Array(len - value.length + 1).join(char) + value : value;
|
|
577
|
+
}
|
|
578
|
+
function trimLeft(text) {
|
|
579
|
+
return text.replace(/^[\s]*/, "");
|
|
580
|
+
}
|
|
581
|
+
function trimRight(text) {
|
|
582
|
+
return text.replace(/[\s]*$/, "");
|
|
583
|
+
}
|
|
584
|
+
function trim(text) {
|
|
585
|
+
return trimLeft(trimRight(text));
|
|
586
|
+
}
|
|
587
|
+
function truncateTextWithEllipsis(text, maxLength, breakWords = false, ellipsis = "...") {
|
|
588
|
+
if (text.length > maxLength) {
|
|
589
|
+
let lastNonAlphanumericIndex = maxLength - 1;
|
|
590
|
+
while (lastNonAlphanumericIndex >= 0 && text.charAt(lastNonAlphanumericIndex).match(/\w/)) {
|
|
591
|
+
lastNonAlphanumericIndex--;
|
|
592
|
+
}
|
|
593
|
+
if (lastNonAlphanumericIndex >= 0 && breakWords == false) {
|
|
594
|
+
return text.substring(0, lastNonAlphanumericIndex + 1) + "...";
|
|
595
|
+
} else {
|
|
596
|
+
return text.substring(0, maxLength) + ellipsis;
|
|
597
|
+
}
|
|
598
|
+
} else {
|
|
599
|
+
return text;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
function getFormat(format) {
|
|
603
|
+
if (typeof format === "undefined") {
|
|
604
|
+
return "string";
|
|
605
|
+
}
|
|
606
|
+
format = format.toLowerCase().replace(/^\[[^\]]*\]/, "");
|
|
607
|
+
format = format.replace(/\[[^\]]+\]/, "");
|
|
608
|
+
format = format.trim();
|
|
609
|
+
let hints = format.match(/\/(date|number|duration)$/);
|
|
610
|
+
if (hints) {
|
|
611
|
+
return hints[1];
|
|
612
|
+
}
|
|
613
|
+
if (format === "number") {
|
|
614
|
+
return "number";
|
|
615
|
+
}
|
|
616
|
+
if (format === "date") {
|
|
617
|
+
return "date";
|
|
618
|
+
}
|
|
619
|
+
if (format === "duration") {
|
|
620
|
+
return "duration";
|
|
621
|
+
}
|
|
622
|
+
if (format.match(/[#0]/)) {
|
|
623
|
+
return "number";
|
|
624
|
+
}
|
|
625
|
+
if (format.match(/[ymwdhnsqaxkzgtei]/)) {
|
|
626
|
+
return "date";
|
|
627
|
+
}
|
|
628
|
+
return "string";
|
|
629
|
+
}
|
|
630
|
+
function cleanFormat(format) {
|
|
631
|
+
return format.replace(/\/(date|number|duration)$/i, "");
|
|
632
|
+
}
|
|
633
|
+
function stripTags(text) {
|
|
634
|
+
return text ? text.replace(/<[^>]*>/g, "") : text;
|
|
635
|
+
}
|
|
636
|
+
function plainText(text) {
|
|
637
|
+
return text ? stripTags(("" + text).replace(/[\n\r]+/g, ". ")) : text;
|
|
638
|
+
}
|
|
639
|
+
function escapeForRgex(value) {
|
|
640
|
+
return value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
641
|
+
}
|
|
642
|
+
function addSpacing(str) {
|
|
643
|
+
let result = "";
|
|
644
|
+
for (let i = 0; i < str.length; i++) {
|
|
645
|
+
const char = str.charAt(i);
|
|
646
|
+
if (char.toUpperCase() == char && i != 0) {
|
|
647
|
+
result += " ";
|
|
648
|
+
}
|
|
649
|
+
result += char;
|
|
650
|
+
}
|
|
651
|
+
return result;
|
|
652
|
+
}
|
|
653
|
+
function splitString(source) {
|
|
654
|
+
const rtlChar = /[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/;
|
|
655
|
+
const splitPattern = /([^اأدذرزو]*[اأدذرزو])/gi;
|
|
656
|
+
let segments = source.split(/(\s+)/);
|
|
657
|
+
let result = [];
|
|
658
|
+
segments.forEach((segment) => {
|
|
659
|
+
if (segment.match(/^\s+$/)) {
|
|
660
|
+
if (segment = " ") {
|
|
661
|
+
segment = " ";
|
|
662
|
+
}
|
|
663
|
+
result.push(segment);
|
|
664
|
+
} else if (rtlChar.test(segment)) {
|
|
665
|
+
let parts = segment.split(splitPattern).filter((part) => part !== "");
|
|
666
|
+
result = result.concat(parts);
|
|
667
|
+
} else {
|
|
668
|
+
result = result.concat([...segment]);
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
return result;
|
|
672
|
+
}
|
|
673
|
+
function getYearDay(date, utc = false) {
|
|
674
|
+
utc;
|
|
675
|
+
const start = new Date(date.getFullYear(), 0, 0);
|
|
676
|
+
const diff = date.getTime() - start.getTime() + (start.getTimezoneOffset() - date.getTimezoneOffset()) * 60 * 1e3;
|
|
677
|
+
const oneDay = 1e3 * 60 * 60 * 24;
|
|
678
|
+
return Math.floor(diff / oneDay);
|
|
679
|
+
}
|
|
680
|
+
function getWeek(date, _utc = false) {
|
|
681
|
+
const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
|
|
682
|
+
const day = d.getUTCDay() || 7;
|
|
683
|
+
d.setUTCDate(d.getUTCDate() + 4 - day);
|
|
684
|
+
const firstDay = new Date(Date.UTC(d.getUTCFullYear(), 0, 1));
|
|
685
|
+
return Math.ceil(((d.getTime() - firstDay.getTime()) / 864e5 + 1) / 7);
|
|
686
|
+
}
|
|
687
|
+
function getWeekYear(date, _utc = false) {
|
|
688
|
+
const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
|
|
689
|
+
const day = d.getUTCDay() || 7;
|
|
690
|
+
d.setUTCDate(d.getUTCDate() + 4 - day);
|
|
691
|
+
const firstDay = new Date(Date.UTC(d.getUTCFullYear(), 0, 1));
|
|
692
|
+
return firstDay.getFullYear();
|
|
693
|
+
}
|
|
694
|
+
function getMonthWeek(date, utc = false) {
|
|
695
|
+
const firstWeek = getWeek(new Date(date.getFullYear(), date.getMonth(), 1), utc);
|
|
696
|
+
let currentWeek = getWeek(date, utc);
|
|
697
|
+
if (currentWeek == 1) {
|
|
698
|
+
currentWeek = 53;
|
|
699
|
+
}
|
|
700
|
+
return currentWeek - firstWeek + 1;
|
|
701
|
+
}
|
|
702
|
+
function getDayFromWeek(week, year, weekday = 1, utc = false) {
|
|
703
|
+
let date = new Date(year, 0, 4, 0, 0, 0, 0);
|
|
704
|
+
if (utc) {
|
|
705
|
+
date.setUTCFullYear(year);
|
|
706
|
+
}
|
|
707
|
+
let day = week * 7 + weekday - ((date.getDay() || 7) + 3);
|
|
708
|
+
return day;
|
|
709
|
+
}
|
|
710
|
+
function get12Hours(hours, base) {
|
|
711
|
+
if (hours > 12) {
|
|
712
|
+
hours -= 12;
|
|
713
|
+
} else if (hours === 0) {
|
|
714
|
+
hours = 12;
|
|
715
|
+
}
|
|
716
|
+
return base != null ? hours + (base - 1) : hours;
|
|
717
|
+
}
|
|
718
|
+
function getTimeZone(date, long = false, savings = false, utc = false, timezone) {
|
|
719
|
+
if (utc) {
|
|
720
|
+
return long ? "Coordinated Universal Time" : "UTC";
|
|
721
|
+
} else if (timezone) {
|
|
722
|
+
const d1 = date.toLocaleString("en-US", { timeZone: timezone });
|
|
723
|
+
const d2 = date.toLocaleString("en-US", { timeZone: timezone, timeZoneName: long ? "long" : "short" });
|
|
724
|
+
return trim(d2.substr(d1.length));
|
|
725
|
+
}
|
|
726
|
+
let wotz = date.toLocaleString("UTC");
|
|
727
|
+
let wtz = date.toLocaleString("UTC", { timeZoneName: long ? "long" : "short" }).substr(wotz.length);
|
|
728
|
+
if (savings === false) {
|
|
729
|
+
wtz = wtz.replace(/ (standard|daylight|summer|winter) /i, " ");
|
|
730
|
+
}
|
|
731
|
+
return trim(wtz);
|
|
732
|
+
}
|
|
733
|
+
function getTimezoneOffset(timezone, targetDate) {
|
|
734
|
+
const date = targetDate || new Date(Date.UTC(2012, 0, 1, 0, 0, 0, 0));
|
|
735
|
+
const utcDate = new Date(date.toLocaleString("en-US", { timeZone: "UTC" }));
|
|
736
|
+
const tzDate = new Date(date.toLocaleString("en-US", { timeZone: timezone }));
|
|
737
|
+
return (tzDate.getTime() - utcDate.getTime()) / 6e4 * -1;
|
|
738
|
+
}
|
|
739
|
+
function capitalizeFirst(text) {
|
|
740
|
+
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
741
|
+
}
|
|
742
|
+
function hslToRgb(color2) {
|
|
743
|
+
let r, g, b;
|
|
744
|
+
let h = color2.h;
|
|
745
|
+
let s = color2.s;
|
|
746
|
+
let l = color2.l;
|
|
747
|
+
if (s == 0) {
|
|
748
|
+
r = g = b = l;
|
|
749
|
+
} else {
|
|
750
|
+
let hue2rgb = function hue2rgb2(p2, q2, t) {
|
|
751
|
+
if (t < 0) {
|
|
752
|
+
t += 1;
|
|
753
|
+
}
|
|
754
|
+
if (t > 1) {
|
|
755
|
+
t -= 1;
|
|
756
|
+
}
|
|
757
|
+
if (t < 1 / 6) {
|
|
758
|
+
return p2 + (q2 - p2) * 6 * t;
|
|
759
|
+
}
|
|
760
|
+
if (t < 1 / 2) {
|
|
761
|
+
return q2;
|
|
762
|
+
}
|
|
763
|
+
if (t < 2 / 3) {
|
|
764
|
+
return p2 + (q2 - p2) * (2 / 3 - t) * 6;
|
|
765
|
+
}
|
|
766
|
+
return p2;
|
|
767
|
+
};
|
|
768
|
+
let q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
|
769
|
+
let p = 2 * l - q;
|
|
770
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
|
771
|
+
g = hue2rgb(p, q, h);
|
|
772
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
|
773
|
+
}
|
|
774
|
+
return {
|
|
775
|
+
r: Math.round(r * 255),
|
|
776
|
+
g: Math.round(g * 255),
|
|
777
|
+
b: Math.round(b * 255)
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
function rgbToHsl(color2) {
|
|
781
|
+
let r = color2.r / 255;
|
|
782
|
+
let g = color2.g / 255;
|
|
783
|
+
let b = color2.b / 255;
|
|
784
|
+
let max = Math.max(r, g, b);
|
|
785
|
+
let min = Math.min(r, g, b);
|
|
786
|
+
let h = 0;
|
|
787
|
+
let s = 0;
|
|
788
|
+
let l = (max + min) / 2;
|
|
789
|
+
if (max === min) {
|
|
790
|
+
h = s = 0;
|
|
791
|
+
} else {
|
|
792
|
+
let d = max - min;
|
|
793
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
794
|
+
switch (max) {
|
|
795
|
+
case r:
|
|
796
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
797
|
+
break;
|
|
798
|
+
case g:
|
|
799
|
+
h = (b - r) / d + 2;
|
|
800
|
+
break;
|
|
801
|
+
case b:
|
|
802
|
+
h = (r - g) / d + 4;
|
|
803
|
+
break;
|
|
804
|
+
}
|
|
805
|
+
h /= 6;
|
|
806
|
+
}
|
|
807
|
+
return {
|
|
808
|
+
h,
|
|
809
|
+
s,
|
|
810
|
+
l
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
function hsvToHsl(hsv) {
|
|
814
|
+
const l = hsv.v * (1 - hsv.s / 2);
|
|
815
|
+
const s = l === 0 || l === 1 ? 0 : (hsv.v - l) / Math.min(l, 1 - l);
|
|
816
|
+
return {
|
|
817
|
+
h: hsv.h,
|
|
818
|
+
s,
|
|
819
|
+
l,
|
|
820
|
+
a: hsv.a
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
function hslToHsv(hsl) {
|
|
824
|
+
const v = hsl.l + hsl.s * Math.min(hsl.l, 1 - hsl.l);
|
|
825
|
+
const s = v === 0 ? 0 : 2 * (1 - hsl.l / v);
|
|
826
|
+
return {
|
|
827
|
+
h: hsl.h,
|
|
828
|
+
s,
|
|
829
|
+
v,
|
|
830
|
+
a: hsl.a
|
|
831
|
+
};
|
|
832
|
+
}
|
|
833
|
+
function lighten(rgb, percent2) {
|
|
834
|
+
if (rgb) {
|
|
835
|
+
return {
|
|
836
|
+
r: Math.max(0, Math.min(255, rgb.r + getLightnessStep(rgb.r, percent2))),
|
|
837
|
+
g: Math.max(0, Math.min(255, rgb.g + getLightnessStep(rgb.g, percent2))),
|
|
838
|
+
b: Math.max(0, Math.min(255, rgb.b + getLightnessStep(rgb.b, percent2))),
|
|
839
|
+
a: rgb.a
|
|
840
|
+
};
|
|
841
|
+
} else {
|
|
842
|
+
return rgb;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
function getLightnessStep(value, percent2) {
|
|
846
|
+
let base = percent2 > 0 ? 255 - value : value;
|
|
847
|
+
return Math.round(base * percent2);
|
|
848
|
+
}
|
|
849
|
+
function brighten(rgb, percent2) {
|
|
850
|
+
if (rgb) {
|
|
851
|
+
let base = Math.min(Math.max(rgb.r, rgb.g, rgb.b), 230);
|
|
852
|
+
let step = getLightnessStep(base, percent2);
|
|
853
|
+
return {
|
|
854
|
+
r: Math.max(0, Math.min(255, Math.round(rgb.r + step))),
|
|
855
|
+
g: Math.max(0, Math.min(255, Math.round(rgb.g + step))),
|
|
856
|
+
b: Math.max(0, Math.min(255, Math.round(rgb.b + step))),
|
|
857
|
+
a: rgb.a
|
|
858
|
+
};
|
|
859
|
+
} else {
|
|
860
|
+
return rgb;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
function getBrightnessStep(_value, percent2) {
|
|
864
|
+
let base = 255;
|
|
865
|
+
return Math.round(base * percent2);
|
|
866
|
+
}
|
|
867
|
+
function isLight(color2) {
|
|
868
|
+
return (color2.r * 299 + color2.g * 587 + color2.b * 114) / 1e3 >= 128;
|
|
869
|
+
}
|
|
870
|
+
function saturate(rgb, saturation) {
|
|
871
|
+
if (rgb === void 0 || saturation == 1) {
|
|
872
|
+
return rgb;
|
|
873
|
+
}
|
|
874
|
+
let hsl = rgbToHsl(rgb);
|
|
875
|
+
hsl.s = saturation;
|
|
876
|
+
return hslToRgb(hsl);
|
|
877
|
+
}
|
|
878
|
+
function alternativeColor(color2, lightAlternative = { r: 255, g: 255, b: 255 }, darkAlternative = { r: 255, g: 255, b: 255 }) {
|
|
879
|
+
let light = lightAlternative;
|
|
880
|
+
let dark = darkAlternative;
|
|
881
|
+
if (isLight(darkAlternative)) {
|
|
882
|
+
light = darkAlternative;
|
|
883
|
+
dark = lightAlternative;
|
|
884
|
+
}
|
|
885
|
+
return isLight(color2) ? dark : light;
|
|
886
|
+
}
|
|
887
|
+
function mergeTags(tags1, tags2) {
|
|
888
|
+
if (!tags1) {
|
|
889
|
+
tags1 = [];
|
|
890
|
+
}
|
|
891
|
+
return [...tags1, ...tags2].filter((value, index, self) => {
|
|
892
|
+
return self.indexOf(value) === index;
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
function sameBounds(a, b) {
|
|
896
|
+
if (!b) {
|
|
897
|
+
return false;
|
|
898
|
+
}
|
|
899
|
+
if (a.left != b.left) {
|
|
900
|
+
return false;
|
|
901
|
+
}
|
|
902
|
+
if (a.right != b.right) {
|
|
903
|
+
return false;
|
|
904
|
+
}
|
|
905
|
+
if (a.top != b.top) {
|
|
906
|
+
return false;
|
|
907
|
+
}
|
|
908
|
+
if (a.bottom != b.bottom) {
|
|
909
|
+
return false;
|
|
910
|
+
}
|
|
911
|
+
return true;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
// node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
915
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
916
|
+
function adopt(value) {
|
|
917
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
918
|
+
resolve(value);
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
922
|
+
function fulfilled(value) {
|
|
923
|
+
try {
|
|
924
|
+
step(generator.next(value));
|
|
925
|
+
} catch (e) {
|
|
926
|
+
reject(e);
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
function rejected(value) {
|
|
930
|
+
try {
|
|
931
|
+
step(generator["throw"](value));
|
|
932
|
+
} catch (e) {
|
|
933
|
+
reject(e);
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
function step(result) {
|
|
937
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
938
|
+
}
|
|
939
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
940
|
+
});
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
// node_modules/.bun/@amcharts+amcharts5@5.16.0/node_modules/@amcharts/amcharts5/.internal/core/util/Animation.js
|
|
944
|
+
function waitForAnimations(animations) {
|
|
945
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
946
|
+
if (animations !== void 0) {
|
|
947
|
+
const promises = [];
|
|
948
|
+
each2(animations, (_, animation) => {
|
|
949
|
+
promises.push(animation.waitForStop());
|
|
950
|
+
});
|
|
951
|
+
yield Promise.all(promises);
|
|
952
|
+
}
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
function range(diff, from, to) {
|
|
956
|
+
return from + diff * (to - from);
|
|
957
|
+
}
|
|
958
|
+
function defaultInterpolate(diff, from, to) {
|
|
959
|
+
if (diff >= 1) {
|
|
960
|
+
return to;
|
|
961
|
+
} else {
|
|
962
|
+
return from;
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
function percentInterpolate(diff, from, to) {
|
|
966
|
+
return new Percent(range(diff, from.percent, to.percent));
|
|
967
|
+
}
|
|
968
|
+
function colorInterpolate(diff, from, to) {
|
|
969
|
+
return Color.interpolate(diff, from, to);
|
|
970
|
+
}
|
|
971
|
+
function getInterpolate(from, to) {
|
|
972
|
+
if (typeof from === "number" && typeof to === "number") {
|
|
973
|
+
return range;
|
|
974
|
+
}
|
|
975
|
+
if (from instanceof Percent && to instanceof Percent) {
|
|
976
|
+
return percentInterpolate;
|
|
977
|
+
}
|
|
978
|
+
if (from instanceof Color && to instanceof Color) {
|
|
979
|
+
return colorInterpolate;
|
|
980
|
+
}
|
|
981
|
+
return defaultInterpolate;
|
|
982
|
+
}
|
|
983
|
+
var AnimationState;
|
|
984
|
+
(function(AnimationState2) {
|
|
985
|
+
AnimationState2[AnimationState2["Stopped"] = 0] = "Stopped";
|
|
986
|
+
AnimationState2[AnimationState2["Playing"] = 1] = "Playing";
|
|
987
|
+
AnimationState2[AnimationState2["Paused"] = 2] = "Paused";
|
|
988
|
+
})(AnimationState || (AnimationState = {}));
|
|
989
|
+
|
|
990
|
+
// node_modules/.bun/@amcharts+amcharts5@5.16.0/node_modules/@amcharts/amcharts5/.internal/core/util/Color.js
|
|
991
|
+
function string2hex(string) {
|
|
992
|
+
if (string[0] === "#") {
|
|
993
|
+
string = string.substr(1);
|
|
994
|
+
}
|
|
995
|
+
if (string.length == 3) {
|
|
996
|
+
string = string[0].repeat(2) + string[1].repeat(2) + string[2].repeat(2);
|
|
997
|
+
}
|
|
998
|
+
return parseInt(string, 16);
|
|
999
|
+
}
|
|
1000
|
+
function rgba2hex(color2) {
|
|
1001
|
+
color2 = color2.replace(/[ ]/g, "");
|
|
1002
|
+
let matches = color2.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);
|
|
1003
|
+
if (matches) {
|
|
1004
|
+
matches.push("1");
|
|
1005
|
+
} else {
|
|
1006
|
+
matches = color2.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i);
|
|
1007
|
+
if (!matches) {
|
|
1008
|
+
return 0;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
let hex = "";
|
|
1012
|
+
for (let i = 1; i <= 3; i++) {
|
|
1013
|
+
let val = parseInt(matches[i]).toString(16);
|
|
1014
|
+
if (val.length == 1) {
|
|
1015
|
+
val = "0" + val;
|
|
1016
|
+
}
|
|
1017
|
+
hex += val;
|
|
1018
|
+
}
|
|
1019
|
+
return string2hex(hex);
|
|
1020
|
+
}
|
|
1021
|
+
function color(input) {
|
|
1022
|
+
return Color.fromAny(input);
|
|
1023
|
+
}
|
|
1024
|
+
var Color = class _Color {
|
|
1025
|
+
constructor(hex) {
|
|
1026
|
+
this._hex = hex | 0;
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Color numeric value.
|
|
1030
|
+
*/
|
|
1031
|
+
get hex() {
|
|
1032
|
+
return this._hex;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* Value of color's R channel.
|
|
1036
|
+
* @return R value
|
|
1037
|
+
*/
|
|
1038
|
+
get r() {
|
|
1039
|
+
return this._hex >>> 16;
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Value of color's G channel.
|
|
1043
|
+
* @return G value
|
|
1044
|
+
*/
|
|
1045
|
+
get g() {
|
|
1046
|
+
return this._hex >> 8 & 255;
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Value of color's B channel.
|
|
1050
|
+
* @return B value
|
|
1051
|
+
*/
|
|
1052
|
+
get b() {
|
|
1053
|
+
return this._hex & 255;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* Returns color CSS representation in form of `rgba(r, g, b, a)` string.
|
|
1057
|
+
*
|
|
1058
|
+
* @param alpha Opacity
|
|
1059
|
+
* @return CSS string
|
|
1060
|
+
*/
|
|
1061
|
+
toCSS(alpha = 1) {
|
|
1062
|
+
return "rgba(" + this.r + ", " + this.g + ", " + this.b + ", " + alpha + ")";
|
|
1063
|
+
}
|
|
1064
|
+
/**
|
|
1065
|
+
* Returns color CSS representation in form of `#rgb` string.
|
|
1066
|
+
*
|
|
1067
|
+
* @return CSS string
|
|
1068
|
+
*/
|
|
1069
|
+
toCSSHex() {
|
|
1070
|
+
return "#" + padString(this.r.toString(16), 2) + padString(this.g.toString(16), 2) + padString(this.b.toString(16), 2);
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Returns color's HSL info.
|
|
1074
|
+
* @param alpha Opacity
|
|
1075
|
+
* @return HSL info
|
|
1076
|
+
*/
|
|
1077
|
+
toHSL(alpha = 1) {
|
|
1078
|
+
return rgbToHsl({
|
|
1079
|
+
r: this.r,
|
|
1080
|
+
g: this.g,
|
|
1081
|
+
b: this.b,
|
|
1082
|
+
a: alpha
|
|
1083
|
+
});
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* Converts HSL values into a new [[Color]] object.
|
|
1087
|
+
*
|
|
1088
|
+
* @param h H value
|
|
1089
|
+
* @param s S value
|
|
1090
|
+
* @param l L value
|
|
1091
|
+
* @return Color object
|
|
1092
|
+
*/
|
|
1093
|
+
static fromHSL(h, s, l) {
|
|
1094
|
+
const rgb = hslToRgb({
|
|
1095
|
+
h,
|
|
1096
|
+
s,
|
|
1097
|
+
l
|
|
1098
|
+
});
|
|
1099
|
+
return this.fromRGB(rgb.r, rgb.g, rgb.b);
|
|
1100
|
+
}
|
|
1101
|
+
toString() {
|
|
1102
|
+
return this.toCSSHex();
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Converts hex number into a new [[Color]] object.
|
|
1106
|
+
*
|
|
1107
|
+
* ```TypeScript
|
|
1108
|
+
* Color.fromHex(0xff0000) // red
|
|
1109
|
+
* ```
|
|
1110
|
+
* ```JavaScript
|
|
1111
|
+
* Color.fromHex(0xff0000) // red
|
|
1112
|
+
* ```
|
|
1113
|
+
*
|
|
1114
|
+
* @param hex Hex color
|
|
1115
|
+
* @return Color
|
|
1116
|
+
*/
|
|
1117
|
+
static fromHex(hex) {
|
|
1118
|
+
return new _Color(hex);
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* Converts RGB values to a new [[Color]] object.
|
|
1122
|
+
*
|
|
1123
|
+
* @param r R value
|
|
1124
|
+
* @param g G value
|
|
1125
|
+
* @param b B value
|
|
1126
|
+
* @return Color
|
|
1127
|
+
*/
|
|
1128
|
+
static fromRGB(r, g, b) {
|
|
1129
|
+
return new _Color((b | 0) + (g << 8) + (r << 16));
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Converts RGB string to a new [[Color]] object.
|
|
1133
|
+
*
|
|
1134
|
+
* ```TypeScript
|
|
1135
|
+
* Color.fromString("#ff0000") // red
|
|
1136
|
+
* ```
|
|
1137
|
+
* ```JavaScript
|
|
1138
|
+
* Color.fromString("#ff0000") // red
|
|
1139
|
+
* ```
|
|
1140
|
+
*
|
|
1141
|
+
* @param s RGB string
|
|
1142
|
+
* @return Color
|
|
1143
|
+
*/
|
|
1144
|
+
static fromString(s) {
|
|
1145
|
+
return new _Color(string2hex(s));
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* Converts CSS rgba() syntax to a new [[Color]] object.
|
|
1149
|
+
*
|
|
1150
|
+
* ```TypeScript
|
|
1151
|
+
* Color.fromCSS("rgba(255, 0, 0, 1)") // red
|
|
1152
|
+
* ```
|
|
1153
|
+
* ```JavaScript
|
|
1154
|
+
* Color.fromCSS("rgba(255, 0, 0, 1)") // red
|
|
1155
|
+
* ```
|
|
1156
|
+
*
|
|
1157
|
+
* @param {string} s [description]
|
|
1158
|
+
* @return {Color} [description]
|
|
1159
|
+
*/
|
|
1160
|
+
static fromCSS(s) {
|
|
1161
|
+
return new _Color(rgba2hex(s));
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* Convert to color from virtually anything.
|
|
1165
|
+
*
|
|
1166
|
+
* Will throw an exception if unable to resolve the color.
|
|
1167
|
+
*
|
|
1168
|
+
* @param s Source
|
|
1169
|
+
* @return Color
|
|
1170
|
+
*/
|
|
1171
|
+
static fromAny(s) {
|
|
1172
|
+
if (isString(s)) {
|
|
1173
|
+
if (s[0] == "#") {
|
|
1174
|
+
return _Color.fromString(s);
|
|
1175
|
+
} else if (s.substr(0, 3) == "rgb") {
|
|
1176
|
+
return _Color.fromCSS(s);
|
|
1177
|
+
}
|
|
1178
|
+
} else if (isNumber(s)) {
|
|
1179
|
+
return _Color.fromHex(s);
|
|
1180
|
+
} else if (s instanceof _Color) {
|
|
1181
|
+
return _Color.fromHex(s.hex);
|
|
1182
|
+
}
|
|
1183
|
+
throw new Error("Unknown color syntax: " + s);
|
|
1184
|
+
}
|
|
1185
|
+
/**
|
|
1186
|
+
* Returns a new [[Color]] object based on either `lightAlternative` or
|
|
1187
|
+
* `darkAlternative` depending on which one is more contrasting with
|
|
1188
|
+
* the `color`.
|
|
1189
|
+
*
|
|
1190
|
+
* @param color Reference color
|
|
1191
|
+
* @param lightAlternative Light color
|
|
1192
|
+
* @param darkAlternative Dark color
|
|
1193
|
+
* @return Alternative color
|
|
1194
|
+
*/
|
|
1195
|
+
static alternative(color2, lightAlternative, darkAlternative) {
|
|
1196
|
+
const rgb = alternativeColor({ r: color2.r, g: color2.g, b: color2.b }, lightAlternative ? { r: lightAlternative.r, g: lightAlternative.g, b: lightAlternative.b } : void 0, darkAlternative ? { r: darkAlternative.r, g: darkAlternative.g, b: darkAlternative.b } : void 0);
|
|
1197
|
+
return this.fromRGB(rgb.r, rgb.g, rgb.b);
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* Returns an intermediate Color between two reference colors depending on
|
|
1201
|
+
* the progress (`diff`) between the two.
|
|
1202
|
+
*
|
|
1203
|
+
* @param diff Progress
|
|
1204
|
+
* @param from Source color
|
|
1205
|
+
* @param to Target color
|
|
1206
|
+
* @param mode Interpolation mode
|
|
1207
|
+
* @return Color
|
|
1208
|
+
*/
|
|
1209
|
+
static interpolate(diff, from, to, mode = "rgb") {
|
|
1210
|
+
if (mode == "hsl") {
|
|
1211
|
+
const fromHSL = from.toHSL();
|
|
1212
|
+
const toHSL = to.toHSL();
|
|
1213
|
+
return _Color.fromHSL(range(diff, fromHSL.h, toHSL.h), range(diff, fromHSL.s, toHSL.s), range(diff, fromHSL.l, toHSL.l));
|
|
1214
|
+
} else {
|
|
1215
|
+
return _Color.fromRGB(range(diff, from.r, to.r), range(diff, from.g, to.g), range(diff, from.b, to.b));
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* Returns a new [[Color]] lightened by `percent` value.
|
|
1220
|
+
*
|
|
1221
|
+
* Use negative value to darken the color.
|
|
1222
|
+
*
|
|
1223
|
+
* @param color Source color
|
|
1224
|
+
* @param percent Percent
|
|
1225
|
+
* @return New color
|
|
1226
|
+
*/
|
|
1227
|
+
static lighten(color2, percent2) {
|
|
1228
|
+
const rgb = lighten({ r: color2.r, g: color2.g, b: color2.b }, percent2);
|
|
1229
|
+
return _Color.fromRGB(rgb.r, rgb.g, rgb.b);
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* Returns a new [[Color]] brightened by `percent` value.
|
|
1233
|
+
*
|
|
1234
|
+
* Use negative value to dim the color.
|
|
1235
|
+
*
|
|
1236
|
+
* @param color Source color
|
|
1237
|
+
* @param percent Percent
|
|
1238
|
+
* @return New color
|
|
1239
|
+
*/
|
|
1240
|
+
static brighten(color2, percent2) {
|
|
1241
|
+
const rgb = brighten({ r: color2.r, g: color2.g, b: color2.b }, percent2);
|
|
1242
|
+
return _Color.fromRGB(rgb.r, rgb.g, rgb.b);
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* Returns a new [[Color]] saturated by `percent` value.
|
|
1246
|
+
*
|
|
1247
|
+
* Value range is between `0` (fully desaturated), to `1` (full color).
|
|
1248
|
+
*
|
|
1249
|
+
* @param color Source color
|
|
1250
|
+
* @param percent Percent
|
|
1251
|
+
* @return New color
|
|
1252
|
+
*/
|
|
1253
|
+
static saturate(color2, percent2) {
|
|
1254
|
+
const rgb = saturate({ r: color2.r, g: color2.g, b: color2.b }, percent2);
|
|
1255
|
+
return _Color.fromRGB(rgb.r, rgb.g, rgb.b);
|
|
1256
|
+
}
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
export {
|
|
1260
|
+
__awaiter,
|
|
1261
|
+
Percent,
|
|
1262
|
+
percent,
|
|
1263
|
+
p0,
|
|
1264
|
+
p100,
|
|
1265
|
+
p50,
|
|
1266
|
+
isPercent,
|
|
1267
|
+
ready,
|
|
1268
|
+
removeElement,
|
|
1269
|
+
addEventListener,
|
|
1270
|
+
onZoom,
|
|
1271
|
+
supports,
|
|
1272
|
+
getPointerId,
|
|
1273
|
+
blur,
|
|
1274
|
+
focus,
|
|
1275
|
+
getRendererEvent,
|
|
1276
|
+
isTouchEvent,
|
|
1277
|
+
setStyle,
|
|
1278
|
+
getStyle,
|
|
1279
|
+
getEventTarget,
|
|
1280
|
+
contains,
|
|
1281
|
+
isLocalEvent,
|
|
1282
|
+
setInteractive,
|
|
1283
|
+
getEventKey,
|
|
1284
|
+
getShadowRoot,
|
|
1285
|
+
StyleRule,
|
|
1286
|
+
StyleSheet,
|
|
1287
|
+
addClass,
|
|
1288
|
+
removeClass,
|
|
1289
|
+
getSafeResolution,
|
|
1290
|
+
relativeToValue,
|
|
1291
|
+
decimalPlaces,
|
|
1292
|
+
padString,
|
|
1293
|
+
trim,
|
|
1294
|
+
truncateTextWithEllipsis,
|
|
1295
|
+
getFormat,
|
|
1296
|
+
cleanFormat,
|
|
1297
|
+
stripTags,
|
|
1298
|
+
escapeForRgex,
|
|
1299
|
+
addSpacing,
|
|
1300
|
+
splitString,
|
|
1301
|
+
getYearDay,
|
|
1302
|
+
getWeek,
|
|
1303
|
+
getWeekYear,
|
|
1304
|
+
getMonthWeek,
|
|
1305
|
+
getDayFromWeek,
|
|
1306
|
+
get12Hours,
|
|
1307
|
+
getTimeZone,
|
|
1308
|
+
getTimezoneOffset,
|
|
1309
|
+
capitalizeFirst,
|
|
1310
|
+
hsvToHsl,
|
|
1311
|
+
hslToHsv,
|
|
1312
|
+
mergeTags,
|
|
1313
|
+
sameBounds,
|
|
1314
|
+
Utils_exports,
|
|
1315
|
+
color,
|
|
1316
|
+
Color,
|
|
1317
|
+
waitForAnimations,
|
|
1318
|
+
percentInterpolate,
|
|
1319
|
+
getInterpolate,
|
|
1320
|
+
AnimationState
|
|
1321
|
+
};
|