@arcgis/map-components 5.0.0-next.132 → 5.0.0-next.134
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/cdn/{W3BNDXWI.js → 22WDUX3W.js} +2 -2
- package/dist/cdn/{6ZYZR6JD.js → 2DRFCWH5.js} +2 -2
- package/dist/cdn/{YYLAN6FR.js → 32DQAMFV.js} +2 -2
- package/dist/cdn/{INWYZYWI.js → 36MANN77.js} +1 -1
- package/dist/cdn/{OER3HO3Q.js → 36XBJUA2.js} +2 -2
- package/dist/cdn/{3VQLIMSX.js → 3ADQISAX.js} +2 -2
- package/dist/cdn/{SKAZODDI.js → 3EVY4IDD.js} +2 -2
- package/dist/cdn/{PRBDAJPD.js → 3NDJNDTA.js} +2 -2
- package/dist/cdn/{BWJJPEAX.js → 3OAAHTQW.js} +2 -2
- package/dist/cdn/{UX3XCQOY.js → 3OV6YU6G.js} +2 -2
- package/dist/cdn/{POXQ7V5E.js → 3QP7HPLQ.js} +2 -2
- package/dist/cdn/{2Q2A2WFN.js → 3QYEQD6C.js} +2 -2
- package/dist/cdn/{WYK77U6Q.js → 3RCP3SKH.js} +2 -2
- package/dist/cdn/{QEBWJYSP.js → 46FH4NDN.js} +2 -2
- package/dist/cdn/{VRVQTZZG.js → 4AFS62LN.js} +2 -2
- package/dist/cdn/4ERNKJFL.js +4 -0
- package/dist/cdn/{PNP4ZL2C.js → 4GBXT7BL.js} +2 -2
- package/dist/cdn/{X2VACAOW.js → 4JSHHLOE.js} +1 -1
- package/dist/cdn/{HQS7G5WS.js → 4NO72KHC.js} +1 -1
- package/dist/cdn/{TDWXSW3V.js → 4RSJEFSZ.js} +2 -2
- package/dist/cdn/{HZ63R5TE.js → 4RTP2XD6.js} +2 -2
- package/dist/cdn/{335BRJ5K.js → 4WDM4INR.js} +2 -2
- package/dist/cdn/{KEHLVVV4.js → 5DBEXCFU.js} +2 -2
- package/dist/cdn/{63TKZ5LJ.js → 5I57TYSZ.js} +2 -2
- package/dist/cdn/{BHGFLPRR.js → 5LLFISED.js} +2 -2
- package/dist/cdn/{Q4AN6UOT.js → 5MONK2IS.js} +2 -2
- package/dist/cdn/{5Q6PT2ZP.js → 62VHY5ZF.js} +2 -2
- package/dist/cdn/{LZZSNJCQ.js → 66PCNHTE.js} +2 -2
- package/dist/cdn/{3HWLWL5W.js → 67C65X34.js} +1 -1
- package/dist/cdn/{ML3W5YAZ.js → 6EGLSCNW.js} +2 -2
- package/dist/cdn/{U3I76U5X.js → 6OMBM4MS.js} +1 -1
- package/dist/cdn/{242BMAYX.js → 6SSMBVW5.js} +2 -2
- package/dist/cdn/{Q6F236RZ.js → 6TDM64BT.js} +2 -2
- package/dist/cdn/{LL6V2U3E.js → 6UWEMX62.js} +2 -2
- package/dist/cdn/{WBJT3DNU.js → 73I4KCYA.js} +2 -2
- package/dist/cdn/{N7TL75YQ.js → 753EXQIE.js} +1 -1
- package/dist/cdn/{LLQIKCNY.js → 76HDKYOO.js} +2 -2
- package/dist/cdn/{55MDYABW.js → 76VTWTYQ.js} +2 -2
- package/dist/cdn/{J7WAKOZW.js → 7ASMHD5L.js} +2 -2
- package/dist/cdn/{WDW7TSXH.js → 7II5QNNN.js} +2 -2
- package/dist/cdn/{SE4Q7MXS.js → 7L3LF4YU.js} +2 -2
- package/dist/cdn/{TFIZCVHS.js → 7LIOZAMZ.js} +2 -2
- package/dist/cdn/{MKIMRJ3H.js → A35UNAEU.js} +2 -2
- package/dist/cdn/{MPLFSK5W.js → A3Q5S256.js} +2 -2
- package/dist/cdn/{XRQSBIOB.js → ACUDDTLX.js} +2 -2
- package/dist/cdn/{IX5ZM73L.js → AEYCK3DU.js} +2 -2
- package/dist/cdn/{WQIWY67P.js → AL4RIHQ2.js} +2 -2
- package/dist/cdn/{V4UGLN6P.js → AS3FLLSD.js} +2 -2
- package/dist/cdn/{RBGARY4D.js → AW3AAMJG.js} +2 -2
- package/dist/cdn/{XHMJLCDE.js → AWNBYWTM.js} +2 -2
- package/dist/cdn/{I5MLCIIG.js → AWXXVSVM.js} +2 -2
- package/dist/cdn/{5EPRIV54.js → B4RMFZ7O.js} +2 -2
- package/dist/cdn/{HF37NRLX.js → B5SSFYOA.js} +1 -1
- package/dist/cdn/{STDRYS5N.js → BBTQPMGE.js} +2 -2
- package/dist/cdn/{LG62GUQL.js → BC64D6UR.js} +2 -2
- package/dist/cdn/{V7KJA62N.js → BDA4CYXI.js} +2 -2
- package/dist/cdn/{T62IIBMY.js → BDLSLXN5.js} +2 -2
- package/dist/cdn/{H6QQOEAT.js → BDRPIKNC.js} +2 -2
- package/dist/cdn/{2TCH72TS.js → BG736JIN.js} +2 -2
- package/dist/cdn/{UFKR4JV4.js → BJIKHRU3.js} +2 -2
- package/dist/cdn/{K6HWKU2K.js → BT6M43OB.js} +2 -2
- package/dist/cdn/{4HR2QV5B.js → BUNNNCMI.js} +2 -2
- package/dist/cdn/{PSXAGXQ2.js → BVMSDJJN.js} +2 -2
- package/dist/cdn/{F6WT5TT4.js → BZLWTWT5.js} +2 -2
- package/dist/cdn/{SRQUROOD.js → CBZOZA67.js} +2 -2
- package/dist/cdn/{236JFFSY.js → CD2FOLXT.js} +2 -2
- package/dist/cdn/{Q46RWGW2.js → CWLXWCYB.js} +2 -2
- package/dist/cdn/{XWJGLLCQ.js → CXEN7SES.js} +2 -2
- package/dist/cdn/{3JAM2AMO.js → CZLDMVUY.js} +2 -2
- package/dist/cdn/{P7FCOTB7.js → DDZ4YMO6.js} +2 -2
- package/dist/cdn/{WSN3L44E.js → DG6CZVHG.js} +1 -1
- package/dist/cdn/{NV3MK5WI.js → DXWFZM6K.js} +2 -2
- package/dist/cdn/{WEAFJRDL.js → DYU7WWWE.js} +2 -2
- package/dist/cdn/{IZEKUAGX.js → E5O3H62V.js} +2 -2
- package/dist/cdn/{NTM6QSJ6.js → E6HYICAT.js} +2 -2
- package/dist/cdn/{FNGREJIS.js → EBSAPUJA.js} +2 -2
- package/dist/cdn/{UV72UXGU.js → EBSFRLYG.js} +2 -2
- package/dist/cdn/{4ODPF4RT.js → EDC625PD.js} +2 -2
- package/dist/cdn/{OCONVNQL.js → EDKEDKNH.js} +2 -2
- package/dist/cdn/{K6HAY52D.js → EEW2UJZI.js} +2 -2
- package/dist/cdn/{QIBWD33Z.js → EFIZ6BHY.js} +2 -2
- package/dist/cdn/{57FZSBHF.js → EGDYBFIB.js} +2 -2
- package/dist/cdn/{77KA6QYA.js → EJLLJBIR.js} +2 -2
- package/dist/cdn/{4WVT3IYA.js → ENC3XE2A.js} +2 -2
- package/dist/cdn/{AMKR4ICO.js → EPPGQRTR.js} +2 -2
- package/dist/cdn/{USMSEDWN.js → ESQPPJZX.js} +2 -2
- package/dist/cdn/{CZ37HVSG.js → FAT4WINT.js} +2 -2
- package/dist/cdn/{JEYVL3BZ.js → FBBWK54U.js} +2 -2
- package/dist/cdn/{F46W2GFD.js → FEATJUF3.js} +2 -2
- package/dist/cdn/{RC3HXWK3.js → FEKEXQHA.js} +2 -2
- package/dist/cdn/{HPIXUPCZ.js → FMPHF6BA.js} +2 -2
- package/dist/cdn/{URDPGZIR.js → FN63WJ7Z.js} +2 -2
- package/dist/cdn/{FF6APF3E.js → FULVEK4C.js} +2 -2
- package/dist/cdn/{H7AA6F7R.js → FYYCPKMB.js} +2 -2
- package/dist/cdn/{4GBO67SA.js → FZQ5FCND.js} +2 -2
- package/dist/cdn/{HF2ZJZPN.js → G2DVC7WB.js} +2 -2
- package/dist/cdn/{PK5IWKR4.js → G7VWGNCH.js} +2 -2
- package/dist/cdn/{UQCS77L7.js → GAYWZEF7.js} +2 -2
- package/dist/cdn/{G3AIA2YC.js → GB6D2FKV.js} +2 -2
- package/dist/cdn/{QD2PPVBY.js → GXPR6NE2.js} +2 -2
- package/dist/cdn/{PWBGC2WW.js → H23PF2X2.js} +2 -2
- package/dist/cdn/{IL3VSAAL.js → H3JTCC7L.js} +2 -2
- package/dist/cdn/{23VZBPRS.js → H4BXWJFS.js} +2 -2
- package/dist/cdn/{5XXFPCPY.js → HBHPSCRU.js} +2 -2
- package/dist/cdn/{LGL3KPUO.js → HBTXDUGP.js} +2 -2
- package/dist/cdn/{IDE2NEFJ.js → HI5NRFED.js} +2 -2
- package/dist/cdn/{HZUDXQ54.js → HLDTZY72.js} +2 -2
- package/dist/cdn/{RXG76GGQ.js → HLOZ4WUN.js} +2 -2
- package/dist/cdn/{KIDND7B2.js → HM2C3ES6.js} +2 -2
- package/dist/cdn/HM6PX3ZM.js +4 -0
- package/dist/cdn/{JFZOYTUO.js → HPXOVGP6.js} +2 -2
- package/dist/cdn/{JTHO6XXC.js → HRKZIPCK.js} +2 -2
- package/dist/cdn/{S36XAPAG.js → I63F3DFQ.js} +2 -2
- package/dist/cdn/{2YR5G5G3.js → I7A5MW6Q.js} +2 -2
- package/dist/cdn/{5TQMPR5I.js → IOWSQB3Q.js} +2 -2
- package/dist/cdn/{CUZUAXIS.js → ITSEHZCA.js} +2 -2
- package/dist/cdn/{JPM4YW6B.js → JARAUMIS.js} +1 -1
- package/dist/cdn/{ATXD62WP.js → JB346F6C.js} +2 -2
- package/dist/cdn/{JXR7AHCL.js → JD6IWEAF.js} +2 -2
- package/dist/cdn/{XTJ7QV4J.js → JLYJPRZG.js} +2 -2
- package/dist/cdn/{KFNDSS2X.js → K7PDWCDH.js} +2 -2
- package/dist/cdn/{YRODPHXG.js → KCTTMVL3.js} +2 -2
- package/dist/cdn/{CUSMDTM3.js → KE5O3AR5.js} +2 -2
- package/dist/cdn/{X7ODUCSP.js → KIDXJTXF.js} +2 -2
- package/dist/cdn/{B3AUMV6I.js → KNZQJL2X.js} +2 -2
- package/dist/cdn/{YFTTKHCF.js → KV3HFUGO.js} +2 -2
- package/dist/cdn/{PGO7QMTQ.js → L25RAGUV.js} +2 -2
- package/dist/cdn/{3ZCCCBPW.js → L5HV54ES.js} +2 -2
- package/dist/cdn/{XTRI4HYH.js → L62CHRMK.js} +1 -1
- package/dist/cdn/{IKCGNNRD.js → LAAN5ETI.js} +2 -2
- package/dist/cdn/{67SBKPWC.js → LGV6TXR7.js} +2 -2
- package/dist/cdn/{RNJQEFLP.js → LOJRYTR6.js} +1 -1
- package/dist/cdn/{545J5MAT.js → LVYHTQCC.js} +2 -2
- package/dist/cdn/{VMEFQ663.js → MH7NCIFP.js} +2 -2
- package/dist/cdn/{WV6ZMXNM.js → MNIJLLTZ.js} +2 -2
- package/dist/cdn/{3USY33Y6.js → MR342Z6A.js} +2 -2
- package/dist/cdn/{H3VVX24N.js → N2O2KZTC.js} +2 -2
- package/dist/cdn/{5UR256LV.js → NBAISKV2.js} +2 -2
- package/dist/cdn/{4O5B4LPT.js → NLEF3WF7.js} +2 -2
- package/dist/cdn/{CNBVKQR4.js → NOTCFE2R.js} +3 -3
- package/dist/cdn/{WN6TFYSW.js → NQR6XYYO.js} +2 -2
- package/dist/cdn/{TNSIKEH4.js → O4KKYGZJ.js} +2 -2
- package/dist/cdn/{HIQ5ZB5M.js → O4VZZXI5.js} +2 -2
- package/dist/cdn/{HIKJFZOY.js → OESCQWVD.js} +2 -2
- package/dist/cdn/{D2MIFV5J.js → OLIXYYBG.js} +2 -2
- package/dist/cdn/{JEG7FENM.js → ONFIYODB.js} +2 -2
- package/dist/cdn/{PKMNLIU7.js → OQGSGQSS.js} +2 -2
- package/dist/cdn/{DWPJFT2A.js → OWPRE3SC.js} +2 -2
- package/dist/cdn/{YADCLGOV.js → P3PJCE3H.js} +2 -2
- package/dist/cdn/{A7LXIHQS.js → P5QJPHQH.js} +2 -2
- package/dist/cdn/{MFC55365.js → PDBSIZPZ.js} +2 -2
- package/dist/cdn/{MWYMPF3O.js → PGHTLD46.js} +2 -2
- package/dist/cdn/{B4IKV7PJ.js → PGXT6S3I.js} +2 -2
- package/dist/cdn/{5ZTC3L6H.js → PHWB4MGO.js} +2 -2
- package/dist/cdn/{REBYIRZ4.js → PPYGQUP6.js} +2 -2
- package/dist/cdn/{R25LNG2Q.js → PSVUNQDX.js} +2 -2
- package/dist/cdn/{C4JO33SM.js → PWKN675Z.js} +2 -2
- package/dist/cdn/{SKVYBDG2.js → QD46UDMI.js} +2 -2
- package/dist/cdn/{OQJFB2YZ.js → QFV37QXS.js} +2 -2
- package/dist/cdn/{NOFEKJ45.js → QGZPGGCK.js} +2 -2
- package/dist/cdn/{FDRGWKCB.js → QKEGC4BD.js} +2 -2
- package/dist/cdn/{MNZVXIUK.js → QL5RV57A.js} +2 -2
- package/dist/cdn/{O55GF6LL.js → QPGLRWWF.js} +2 -2
- package/dist/cdn/{32SR5ZUE.js → QQVZHVGS.js} +2 -2
- package/dist/cdn/{BX7T6HRG.js → QRHKV76Y.js} +2 -2
- package/dist/cdn/{XV5TCNUT.js → QZSIZGLE.js} +2 -2
- package/dist/cdn/{4DANWHNS.js → R6PLOQJA.js} +2 -2
- package/dist/cdn/{6S6HSEHO.js → RAYW6INS.js} +1 -1
- package/dist/cdn/{QBXENKZW.js → RBB5AGFG.js} +2 -2
- package/dist/cdn/{N5QIPWCR.js → RKHY4ZL6.js} +2 -2
- package/dist/cdn/{VFSQW5S6.js → RPRHSAQY.js} +2 -2
- package/dist/cdn/{QI2C5CFL.js → RSFKVA2U.js} +2 -2
- package/dist/cdn/{V7UUKLUX.js → RXSXOPZL.js} +2 -2
- package/dist/cdn/RYMROF2G.js +4 -0
- package/dist/cdn/{G4RKEHEC.js → S4IVGAM2.js} +2 -2
- package/dist/cdn/{PJIHZHYP.js → SABOKBT4.js} +2 -2
- package/dist/cdn/{M6RFQ2SQ.js → SFGVEAG5.js} +2 -2
- package/dist/cdn/{ZGQO7D5P.js → SIGSGHOC.js} +2 -2
- package/dist/cdn/{HJ2TVPCQ.js → SMGZSQGK.js} +2 -2
- package/dist/cdn/{VG7L3TOC.js → SO7F7AR4.js} +2 -2
- package/dist/cdn/{G5M4QXHH.js → T3DMELIN.js} +2 -2
- package/dist/cdn/{DLI43PT4.js → T622UXKG.js} +2 -2
- package/dist/cdn/{IGQPHPLY.js → T6LMR6G6.js} +2 -2
- package/dist/cdn/{E3FAFQXW.js → T76AR4P3.js} +2 -2
- package/dist/cdn/{2FVYNS7P.js → TFRIJLDA.js} +1 -1
- package/dist/cdn/{DQBJXDGI.js → TJ5UOAG6.js} +2 -2
- package/dist/cdn/{535BLVBO.js → TNU45BLA.js} +2 -2
- package/dist/cdn/{BFFTUGAF.js → TRSNVRRO.js} +2 -2
- package/dist/cdn/{D4VMXW4W.js → TSDSGGX5.js} +2 -2
- package/dist/cdn/{3OFL24E3.js → TZQ2HDFN.js} +1 -1
- package/dist/cdn/{MK6MHDCE.js → U73W7GBZ.js} +2 -2
- package/dist/cdn/{AVPHCIYY.js → U7BBKL6I.js} +2 -2
- package/dist/cdn/{LL4WGAWX.js → U7LGK2IF.js} +2 -2
- package/dist/cdn/{P2SRFEJO.js → UG4ESI3I.js} +2 -2
- package/dist/cdn/{227QGFNJ.js → UL5XEZHM.js} +2 -2
- package/dist/cdn/{LHL5WFVQ.js → ULMC4P77.js} +2 -2
- package/dist/cdn/{4P3CPRZG.js → UPEFWXBT.js} +2 -2
- package/dist/cdn/{DY526JZP.js → UPGWQ3HK.js} +2 -2
- package/dist/cdn/{SF37NBJ7.js → V3QLTXRL.js} +2 -2
- package/dist/cdn/{6QXN36K7.js → V5QAI5MW.js} +2 -2
- package/dist/cdn/{7RHAWRUB.js → VAWMJ42Q.js} +2 -2
- package/dist/cdn/{VNQFMONH.js → VD2WQCLG.js} +2 -2
- package/dist/cdn/{KQ7GF4BU.js → VEMMPY62.js} +2 -2
- package/dist/cdn/{R636UZHZ.js → VF5HJEDW.js} +2 -2
- package/dist/cdn/{MFHNJKWB.js → VKC5KMEW.js} +2 -2
- package/dist/cdn/{VTFSLYI2.js → VOCFPSV6.js} +2 -2
- package/dist/cdn/{MH2UPADP.js → VP7VYXB7.js} +2 -2
- package/dist/cdn/{GLNKZ4ZB.js → VVIFADGZ.js} +2 -2
- package/dist/cdn/{PCYEMBOF.js → W3O7XCOU.js} +2 -2
- package/dist/cdn/{7DDROJJP.js → WBSAYXKU.js} +2 -2
- package/dist/cdn/{6D4JM4BT.js → WHK6USHK.js} +2 -2
- package/dist/cdn/{WCEQBFY3.js → WHK7GLGR.js} +2 -2
- package/dist/cdn/{JRGPK6JH.js → WQETU4ET.js} +2 -2
- package/dist/cdn/{3NWHTGDC.js → WQQETGDG.js} +2 -2
- package/dist/cdn/{FV75B3YS.js → WU43DFQZ.js} +2 -2
- package/dist/cdn/{JYG6VPUM.js → WUI6RC4B.js} +2 -2
- package/dist/cdn/{MYPSPNB7.js → WW2Q6TAF.js} +2 -2
- package/dist/cdn/{O2NEBZNX.js → WZBCIEHC.js} +2 -2
- package/dist/cdn/{W2NYDYH7.js → WZBMS2MW.js} +2 -2
- package/dist/cdn/{4K4TU52X.js → X6TJRQF5.js} +2 -2
- package/dist/cdn/{NQJDPY6A.js → XA3CS3CY.js} +2 -2
- package/dist/cdn/{4IDWM4SN.js → XDBMVPVD.js} +2 -2
- package/dist/cdn/{4SAKLLJB.js → XDSQ6YXU.js} +2 -2
- package/dist/cdn/{Y2YAW2VJ.js → XFM6MDSU.js} +1 -1
- package/dist/cdn/{GYXAMPDL.js → XJC7TGGV.js} +2 -2
- package/dist/cdn/{R6GIERXD.js → XNR5NGRK.js} +2 -2
- package/dist/cdn/{RFGNEFG7.js → XNVW5O6U.js} +2 -2
- package/dist/cdn/{KWESPFB2.js → XPQA7OLT.js} +2 -2
- package/dist/cdn/{26HHCSUS.js → XWF656ZR.js} +2 -2
- package/dist/cdn/{B2P4W7HV.js → XZ5XRTBH.js} +2 -2
- package/dist/cdn/{FQIA2PA3.js → YIII2EBS.js} +2 -2
- package/dist/cdn/{ZKJXJSFI.js → YJVHFXGR.js} +2 -2
- package/dist/cdn/{TE6VWW3I.js → YLA6MOSY.js} +1 -1
- package/dist/cdn/{S3CQG65V.js → YMVDREOH.js} +2 -2
- package/dist/cdn/{VWFOQ5RV.js → YN5UWHVB.js} +2 -2
- package/dist/cdn/{G7BHOUZB.js → YOIRMQRZ.js} +2 -2
- package/dist/cdn/{WWEI4G7W.js → YUARD5BT.js} +2 -2
- package/dist/cdn/{OOX4SBIP.js → YVFNCWXE.js} +1 -1
- package/dist/cdn/{LHOGMAYF.js → YX2UPMOA.js} +2 -2
- package/dist/cdn/{WSJHO5KQ.js → YXCANMRH.js} +2 -2
- package/dist/cdn/{VLNU65LW.js → YZF3JCFA.js} +2 -2
- package/dist/cdn/{QE7YJMGH.js → Z7L3SITF.js} +2 -2
- package/dist/cdn/{YH7CWHH7.js → ZEOQH46K.js} +2 -2
- package/dist/cdn/{26S3IXTY.js → ZHGMLGPQ.js} +2 -2
- package/dist/cdn/{ABE6JQWB.js → ZK3A7ESR.js} +2 -2
- package/dist/cdn/{MGABRWY6.js → ZL3CFXPE.js} +2 -2
- package/dist/cdn/{5KO6XCSD.js → ZLDCBYTA.js} +2 -2
- package/dist/cdn/{AYODW4U7.js → ZLYWIOFV.js} +2 -2
- package/dist/cdn/{WQIBZZ3N.js → ZT4AMEU2.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/building-layer-utils.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/component-wrapper.js +1 -1
- package/dist/chunks/constants.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/goTo.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useCloseEvent.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/JPN5APZQ.js +0 -4
- package/dist/cdn/KUEFPHRX.js +0 -4
- package/dist/cdn/UX2TSPNV.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as ve}from"./AVPHCIYY.js";import{D as de,E as q,M as re,O as fe,P as _e,c as R,da as ue,ga as xe,i as P,j as v,k as A,l as me,m as he,n as be,na as ce,o as te,oa as ae,pa as we}from"./S3CQG65V.js";import{N as O,a as H,u as k}from"./PJIHZHYP.js";import{a as ge,b as ee,d as T,e as f}from"./X2VACAOW.js";import{U as j,V as ye,g as X,o as w}from"./OQJFB2YZ.js";import"./WQIBZZ3N.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}_applyThemes(t=!1){let e=this.get("colors");return e&&e.reset(),super._applyThemes(t)}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
|
|
3
|
+
v5.0.0-next.134 */
|
|
4
|
+
import{a as ve}from"./U7BBKL6I.js";import{D as de,E as q,M as re,O as fe,P as _e,c as R,da as ue,ga as xe,i as P,j as v,k as A,l as me,m as he,n as be,na as ce,o as te,oa as ae,pa as we}from"./YMVDREOH.js";import{N as O,a as H,u as k}from"./SABOKBT4.js";import{a as ge,b as ee,d as T,e as f}from"./4JSHHLOE.js";import{U as j,V as ye,g as X,o as w}from"./QFV37QXS.js";import"./ZT4AMEU2.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}_applyThemes(t=!1){let e=this.get("colors");return e&&e.reset(),super._applyThemes(t)}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as E}from"./3VQLIMSX.js";import c from"./PCYEMBOF.js";import b from"./FF6APF3E.js";import a from"./5ZTC3L6H.js";import"./6S6HSEHO.js";import"./FDRGWKCB.js";import{a as w}from"./57FZSBHF.js";import"./DQBJXDGI.js";import"./LHL5WFVQ.js";import{h as S}from"./WSN3L44E.js";import{b as y}from"./N7TL75YQ.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./U3I76U5X.js";import"./WQIBZZ3N.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
|
|
3
|
+
v5.0.0-next.134 */
|
|
4
|
+
import{a as E}from"./3ADQISAX.js";import c from"./W3O7XCOU.js";import b from"./FULVEK4C.js";import a from"./PHWB4MGO.js";import"./RAYW6INS.js";import"./QKEGC4BD.js";import{a as w}from"./EGDYBFIB.js";import"./TJ5UOAG6.js";import"./ULMC4P77.js";import{h as S}from"./DG6CZVHG.js";import{b as y}from"./753EXQIE.js";import{L as v,M as f,N as T,O as h,P as A,Q as o,T as M,b as r}from"./6OMBM4MS.js";import"./ZT4AMEU2.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import d from"./MFC55365.js";import c from"./TDWXSW3V.js";import b from"./LZZSNJCQ.js";import{g as s}from"./DQBJXDGI.js";import"./LHL5WFVQ.js";import"./WSN3L44E.js";import"./N7TL75YQ.js";import{N as i,T as r,a as e,x as a}from"./U3I76U5X.js";import"./WQIBZZ3N.js";export default $arcgis.t(([o,,,n])=>{var A=e`.esri-attachments__progress-bar:before,.esri-attachments__progress-bar:after{opacity:var(--calcite-opacity-100);content:"";height:1px;transition:opacity .5s ease-in-out;position:absolute;top:0}.esri-attachments__progress-bar:before{z-index:0;background-color:var(--calcite-color-foreground-2);width:100%}.esri-attachments__progress-bar:after{z-index:0;background-color:var(--calcite-color-text-2);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-attachments{background-color:var(--calcite-color-background)!important;width:100%}.esri-attachments__loader-container{justify-content:center;align-items:center;height:150px;padding:0;display:flex}.esri-attachments__loader{background:url(data:image/gif;base64,R0lGODlhIQAnALMKAAB6wrze86TR7Y3F53W44V6s2kaf1C+TzheGyNPq+f///wAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6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fHni0hvCWDz6Fx2WRGndSrNcsldqfeMHiM/JbFZ7ISvVZDze20PE5/s+1u6Ry/19f9fH9Yd4CFTieIiYqLjI2OjyQRACH5BAUEAAoALAAAAAABAAEAAAQCUEUAIfkEBQQACgAsAAAAAAEAAQAABAJQRQA7) 50% no-repeat;width:100%;height:64px}.esri-attachments__actions{flex-flow:wrap;padding:6px 7px;display:flex}.esri-attachments__item-add-icon{font-size:var(--calcite-font-size-xl);margin:0;padding:0 7px}.esri-attachments__delete-button{color:var(--calcite-color-status-danger);width:auto;margin-right:auto}.esri-attachments .esri-attachments__items{width:100%;margin:0;padding:0;display:flex}.esri-attachments .esri-attachments__item{margin:0;line-height:var(--calcite-font-line-height-relative-tight);list-style-type:none}.esri-attachments__item-button{outline-offset:-4px;cursor:pointer;width:100%;text-align:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-foreground-1);border-radius:var(--calcite-border-width-md);align-items:center;margin:0 0 var(--calcite-spacing-xs);padding:var(--calcite-spacing-xs) 7px;text-decoration:none;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-button:focus,.esri-attachments__item-button:hover{border-color:var(--calcite-color-border-white)}.esri-attachments__item-link{text-decoration:none;display:block;position:relative}.esri-attachments__item-link:hover .esri-attachments__item-link-overlay,.esri-attachments__item-link:focus .esri-attachments__item-link-overlay{opacity:1}.esri-attachments__item-add{background-color:var(--calcite-color-background);padding:6px 0}.esri-attachments__add-attachment-button{align-items:baseline!important;border-radius:var(--calcite-corner-radius-xs);border:none!important;justify-content:flex-start!important;padding:12px 3px!important;font-size:var(--calcite-font-size-sm)!important;transition:background-color .25s ease-in-out}.esri-attachments__add-attachment-button:hover{background-color:var(--calcite-color-foreground-1)!important;text-decoration:none;box-shadow:0 1px 2px #0000004d}.esri-attachments__item-link-overlay{opacity:0;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:opacity .25s ease-in-out;display:flex;position:absolute;inset:0}.esri-attachments__item-link-overlay-icon{color:var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-1);border-radius:100%;justify-content:center;align-items:center;padding:18px;display:flex}.esri-attachments__item-link-overlay-icon svg{fill:var(--calcite-color-foreground-1)}.esri-attachments__item-mask{justify-content:center;align-items:center;width:64px;height:64px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-2);padding:24px 0}.esri-attachments__item-mask--icon .esri-attachments__image{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-attachments__metadata{justify-content:space-between;margin-top:3px;display:flex}.esri-attachments__metadata .esri-attachments__metadata-fieldset{text-align:center;background-color:var(--calcite-color-foreground-1);border:none;flex:0 calc(50% - 1px);margin:0;padding:6px 7px;font-size:var(--calcite-font-size-sm)}.esri-attachments__file-name{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;margin-bottom:3px;font-size:var(--calcite-font-size-sm);display:inline-block}.esri-attachments__file-fieldset{border:none;margin:0;padding:var(--calcite-spacing-md) 7px}.esri-attachments__file-input{opacity:0;z-index:-1;width:.1px;height:.1px;position:absolute;overflow:hidden}.esri-attachments__container--list .esri-attachments__items{flex-flow:column}.esri-attachments__container--list .esri-attachments__item-mask{flex:none;margin-right:7px;position:relative}.esri-attachments__container--list .esri-attachments__image{max-width:unset;max-height:unset;left:50%}.esri-attachments__container--list .esri-attachments__label{flex:auto;justify-content:space-between;display:flex}.esri-attachments__container--list .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;cursor:pointer;flex:1 0 0}.esri-attachments__container--list .esri-attachments__item-chevron-icon{cursor:pointer;flex:none;padding:0 15px}.esri-attachments__container--preview .esri-attachments__items{flex-flow:wrap;align-items:center}.esri-attachments__container--preview .esri-attachments__item{width:100%;margin-bottom:var(--calcite-spacing-md)}.esri-attachments__container--preview .esri-attachments__item-mask{width:100%;height:auto}.esri-attachments__container--preview .esri-attachments__item-button{box-shadow:none;flex-flow:column}.esri-attachments__container--preview .esri-attachments__item-button .esri-attachments__label{margin:var(--calcite-spacing-md) 0}.esri-attachments__container--preview .esri-attachments__image{max-width:100%}.esri-attachments__container--preview .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;text-align:center;text-overflow:ellipsis;width:calc(100% - 15px);margin-top:var(--calcite-spacing-md);overflow:hidden}.esri-attachments__container--preview .esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-1)}.esri-attachments__form-node{background-color:var(--calcite-color-foreground-1);padding:6px 7px;box-shadow:var(--calcite-shadow-sm)}.esri-attachments__form-node .esri-attachments__item-mask{box-shadow:none;width:unset;height:unset}.esri-attachments__form-node .esri-attachments__image{max-width:100%}.esri-attachments__error-message{background-color:var(--calcite-color-foreground-1);border-top:3px solid var(--calcite-color-status-danger);margin:6px 7px;padding:var(--calcite-spacing-md) 15px;animation:.25s ease-in-out esri-fade-in-down;box-shadow:0 1px 2px #0000004d}.esri-attachments__progress-bar{width:100%;position:absolute}.esri-attachments__item-mask:dir(rtl){margin-left:7px;margin-right:0}`,c=n(o),t=class extends i{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.attachmentInfos=this.viewModel.attachmentInfos,this.attachmentKeywords=this.viewModel.attachmentKeywords,this.attachmentTypes=this.viewModel.attachmentTypes,this.arcgisPropertyChange=s()("submitting","state","attachmentInfos"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:0,label:1,referenceElement:1,state:32,submitting:36,attachmentInfos:32,attachmentKeywords:0,attachmentTypes:0}}static{this.styles=A}async destroy(){await this.manager.destroy()}};r("arcgis-attachments",t);return t},"widgets/Attachments",b,c,d)
|
|
3
|
+
v5.0.0-next.134 */
|
|
4
|
+
import d from"./PDBSIZPZ.js";import c from"./4RSJEFSZ.js";import b from"./66PCNHTE.js";import{g as s}from"./TJ5UOAG6.js";import"./ULMC4P77.js";import"./DG6CZVHG.js";import"./753EXQIE.js";import{N as i,T as r,a as e,x as a}from"./6OMBM4MS.js";import"./ZT4AMEU2.js";export default $arcgis.t(([o,,,n])=>{var A=e`.esri-attachments__progress-bar:before,.esri-attachments__progress-bar:after{opacity:var(--calcite-opacity-100);content:"";height:1px;transition:opacity .5s ease-in-out;position:absolute;top:0}.esri-attachments__progress-bar:before{z-index:0;background-color:var(--calcite-color-foreground-2);width:100%}.esri-attachments__progress-bar:after{z-index:0;background-color:var(--calcite-color-text-2);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-attachments{background-color:var(--calcite-color-background)!important;width:100%}.esri-attachments__loader-container{justify-content:center;align-items:center;height:150px;padding:0;display:flex}.esri-attachments__loader{background:url(data:image/gif;base64,R0lGODlhIQAnALMKAAB6wrze86TR7Y3F53W44V6s2kaf1C+TzheGyNPq+f///wAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh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ECQQACgAsAAAAACEAJwAABElQyUmrvTjrzbv/YCiOZGkqQaqqJ7qu7QufMkvXQYzrNS/7L+DMhMvdesdfMrgclopCG3HXlD6pU2RWuWV2nSRoa0wum8/o9CYCACH5BAUEAAoALAAAAAAhACcAAARsUMlJq7046827/2AojmRpckmqqtLqti6rxDKdwjQe6+9s8ytg7efLFXfHni0hvCWDz6Fx2WRGndSrNcsldqfeMHiM/JbFZ7ISvVZDze20PE5/s+1u6Ry/19f9fH9Yd4CFTieIiYqLjI2OjyQRACH5BAUEAAoALAAAAAABAAEAAAQCUEUAIfkEBQQACgAsAAAAAAEAAQAABAJQRQA7) 50% no-repeat;width:100%;height:64px}.esri-attachments__actions{flex-flow:wrap;padding:6px 7px;display:flex}.esri-attachments__item-add-icon{font-size:var(--calcite-font-size-xl);margin:0;padding:0 7px}.esri-attachments__delete-button{color:var(--calcite-color-status-danger);width:auto;margin-right:auto}.esri-attachments .esri-attachments__items{width:100%;margin:0;padding:0;display:flex}.esri-attachments .esri-attachments__item{margin:0;line-height:var(--calcite-font-line-height-relative-tight);list-style-type:none}.esri-attachments__item-button{outline-offset:-4px;cursor:pointer;width:100%;text-align:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-foreground-1);border-radius:var(--calcite-border-width-md);align-items:center;margin:0 0 var(--calcite-spacing-xs);padding:var(--calcite-spacing-xs) 7px;text-decoration:none;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-button:focus,.esri-attachments__item-button:hover{border-color:var(--calcite-color-border-white)}.esri-attachments__item-link{text-decoration:none;display:block;position:relative}.esri-attachments__item-link:hover .esri-attachments__item-link-overlay,.esri-attachments__item-link:focus .esri-attachments__item-link-overlay{opacity:1}.esri-attachments__item-add{background-color:var(--calcite-color-background);padding:6px 0}.esri-attachments__add-attachment-button{align-items:baseline!important;border-radius:var(--calcite-corner-radius-xs);border:none!important;justify-content:flex-start!important;padding:12px 3px!important;font-size:var(--calcite-font-size-sm)!important;transition:background-color .25s ease-in-out}.esri-attachments__add-attachment-button:hover{background-color:var(--calcite-color-foreground-1)!important;text-decoration:none;box-shadow:0 1px 2px #0000004d}.esri-attachments__item-link-overlay{opacity:0;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:opacity .25s ease-in-out;display:flex;position:absolute;inset:0}.esri-attachments__item-link-overlay-icon{color:var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-1);border-radius:100%;justify-content:center;align-items:center;padding:18px;display:flex}.esri-attachments__item-link-overlay-icon svg{fill:var(--calcite-color-foreground-1)}.esri-attachments__item-mask{justify-content:center;align-items:center;width:64px;height:64px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-2);padding:24px 0}.esri-attachments__item-mask--icon .esri-attachments__image{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-attachments__metadata{justify-content:space-between;margin-top:3px;display:flex}.esri-attachments__metadata .esri-attachments__metadata-fieldset{text-align:center;background-color:var(--calcite-color-foreground-1);border:none;flex:0 calc(50% - 1px);margin:0;padding:6px 7px;font-size:var(--calcite-font-size-sm)}.esri-attachments__file-name{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;margin-bottom:3px;font-size:var(--calcite-font-size-sm);display:inline-block}.esri-attachments__file-fieldset{border:none;margin:0;padding:var(--calcite-spacing-md) 7px}.esri-attachments__file-input{opacity:0;z-index:-1;width:.1px;height:.1px;position:absolute;overflow:hidden}.esri-attachments__container--list .esri-attachments__items{flex-flow:column}.esri-attachments__container--list .esri-attachments__item-mask{flex:none;margin-right:7px;position:relative}.esri-attachments__container--list .esri-attachments__image{max-width:unset;max-height:unset;left:50%}.esri-attachments__container--list .esri-attachments__label{flex:auto;justify-content:space-between;display:flex}.esri-attachments__container--list .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;cursor:pointer;flex:1 0 0}.esri-attachments__container--list .esri-attachments__item-chevron-icon{cursor:pointer;flex:none;padding:0 15px}.esri-attachments__container--preview .esri-attachments__items{flex-flow:wrap;align-items:center}.esri-attachments__container--preview .esri-attachments__item{width:100%;margin-bottom:var(--calcite-spacing-md)}.esri-attachments__container--preview .esri-attachments__item-mask{width:100%;height:auto}.esri-attachments__container--preview .esri-attachments__item-button{box-shadow:none;flex-flow:column}.esri-attachments__container--preview .esri-attachments__item-button .esri-attachments__label{margin:var(--calcite-spacing-md) 0}.esri-attachments__container--preview .esri-attachments__image{max-width:100%}.esri-attachments__container--preview .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;text-align:center;text-overflow:ellipsis;width:calc(100% - 15px);margin-top:var(--calcite-spacing-md);overflow:hidden}.esri-attachments__container--preview .esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-1)}.esri-attachments__form-node{background-color:var(--calcite-color-foreground-1);padding:6px 7px;box-shadow:var(--calcite-shadow-sm)}.esri-attachments__form-node .esri-attachments__item-mask{box-shadow:none;width:unset;height:unset}.esri-attachments__form-node .esri-attachments__image{max-width:100%}.esri-attachments__error-message{background-color:var(--calcite-color-foreground-1);border-top:3px solid var(--calcite-color-status-danger);margin:6px 7px;padding:var(--calcite-spacing-md) 15px;animation:.25s ease-in-out esri-fade-in-down;box-shadow:0 1px 2px #0000004d}.esri-attachments__progress-bar{width:100%;position:absolute}.esri-attachments__item-mask:dir(rtl){margin-left:7px;margin-right:0}`,c=n(o),t=class extends i{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.attachmentInfos=this.viewModel.attachmentInfos,this.attachmentKeywords=this.viewModel.attachmentKeywords,this.attachmentTypes=this.viewModel.attachmentTypes,this.arcgisPropertyChange=s()("submitting","state","attachmentInfos"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:0,label:1,referenceElement:1,state:32,submitting:36,attachmentInfos:32,attachmentKeywords:0,attachmentTypes:0}}static{this.styles=A}async destroy(){await this.manager.destroy()}};r("arcgis-attachments",t);return t},"widgets/Attachments",b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.134 */
|
|
4
|
+
import"./ZT4AMEU2.js";var _={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"dC",_era_bc:"aC",A:"a. m.",P:"p. m.",AM:"a. m.",PM:"p. m.","A.M.":"a. m.","P.M.":"p. m.",January:"de gener",February:"de febrer",March:"de mar\xE7",April:"d\u2019abril",May:"de maig",June:"de juny",July:"de juliol",August:"d\u2019agost",September:"de setembre",October:"d\u2019octubre",November:"de novembre",December:"de desembre",Jan:"de gen.",Feb:"de febr.",Mar:"de mar\xE7",Apr:"d\u2019abr.","May(short)":"de maig",Jun:"de juny",Jul:"de jul.",Aug:"d\u2019ag.",Sep:"de set.",Oct:"d\u2019oct.",Nov:"de nov.",Dec:"de des.",Sunday:"diumenge",Monday:"dilluns",Tuesday:"dimarts",Wednesday:"dimecres",Thursday:"dijous",Friday:"divendres",Saturday:"dissabte",Sun:"dg.",Mon:"dl.",Tue:"dt.",Wed:"dc.",Thu:"dj.",Fri:"dv.",Sat:"ds.",_dateOrd:function(d){let e="th";if(d<11||d>13)switch(d%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Reprodueix",Stop:"Parada",Legend:"Llegenda","Press ENTER to toggle":"",Loading:"S'est\xE0 carregant",Home:"Inici",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Imprimeix",Image:"Imatge",Data:"Dades",Print:"Imprimeix","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"De %1 a %2","From %1":"De %1","To %1":"A %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.134 */
|
|
4
|
+
import a from"./L62CHRMK.js";import{N as m,T as r,b as i}from"./6OMBM4MS.js";import"./ZT4AMEU2.js";export default $arcgis.t(([{watch:f},{e:c}])=>{var l=class extends m{constructor(){super(...arguments),this._formats=[]}static{this.properties={_formats:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[f(()=>[this.viewModel.templateOptions.format,this.viewModel.templatesInfo?.format],()=>{let e=this.viewModel.templatesInfo;if(!e)return;if(this._formats.length!==e.format.choiceList.length){let a=[...c.values()];this._formats=e.format.choiceList.map(t=>{let s=a.find(n=>new RegExp(`\\b${n}\\b`,"iu").test(t))??t;return{value:s,label:t===s?t.toUpperCase():t}}).sort((t,s)=>t.label.localeCompare(s.label))}let o=this._formats.some(({value:a})=>new RegExp(`\\b${a}\\b`,"iu").test(this.viewModel.templateOptions.format));if(e.format.defaultValue&&!o){let a=this._formats.find(({value:t})=>new RegExp(`\\b${t}\\b`,"iu").test(e.format.defaultValue))?.value;a&&(this.viewModel.templateOptions.format=a);return}},{initial:!0})])}render(){return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{let o=e.selectedItems[0]?.value;this.viewModel.templateOptions.format=o??"pdf"}}>${this._formats.map(({value:e,label:o})=>i`<calcite-combobox-item .heading=${o} .selected=${e===this.viewModel.templateOptions.format} .value=${e}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div>`}};r("arcgis-print-format-select",l);return l},"core/reactiveUtils",a)
|