@arcgis/map-components 4.34.0-next.58 → 4.34.0-next.60
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/{46CBU5JH.js → 2ACTTGGW.js} +2 -2
- package/dist/cdn/{R44YWNHA.js → 2BRVF244.js} +2 -2
- package/dist/cdn/{EAAKEAJW.js → 2RGKI5IY.js} +2 -2
- package/dist/cdn/{ZYUCZNK5.js → 2XU5HI7T.js} +2 -2
- package/dist/cdn/{HX6OXZX2.js → 2YWVDAFA.js} +2 -2
- package/dist/cdn/{CYFIBRHG.js → 32LGZ4DD.js} +2 -2
- package/dist/cdn/{ZIK72QWE.js → 3TCDXYHH.js} +2 -2
- package/dist/cdn/{NOGYCMWD.js → 3VSARGFM.js} +2 -2
- package/dist/cdn/{HHNW3TJH.js → 3YRS2OKV.js} +2 -2
- package/dist/cdn/{GJN4KEOR.js → 4BPWMUUK.js} +2 -2
- package/dist/cdn/{LP34OLT3.js → 4GDQYC4V.js} +2 -2
- package/dist/cdn/{A6I62RGD.js → 4JQJRGXX.js} +2 -2
- package/dist/cdn/{JXF5XQTZ.js → 4KTI4RXM.js} +2 -2
- package/dist/cdn/{K5ARNN5Q.js → 4WDZZSHN.js} +2 -2
- package/dist/cdn/{MOMKCODR.js → 4XL3GSIC.js} +2 -2
- package/dist/cdn/{MHPAUQNN.js → 546MNXQQ.js} +2 -2
- package/dist/cdn/{YR3YJ6PT.js → 5MAYUV7L.js} +2 -2
- package/dist/cdn/{LWBQ5XQ2.js → 5P2VZGD7.js} +1 -1
- package/dist/cdn/{EADHCJYR.js → 5SDP7QA4.js} +2 -2
- package/dist/cdn/{ABKG4A4X.js → 6B77UVFQ.js} +2 -2
- package/dist/cdn/{EA52ZS5C.js → 6HDUUB54.js} +2 -2
- package/dist/cdn/{THIK3PAI.js → 6I6JVCPA.js} +1 -1
- package/dist/cdn/{QRPHZWFL.js → 6JRJ3XRB.js} +3 -3
- package/dist/cdn/{7ZV7GADA.js → 6OXNZSES.js} +2 -2
- package/dist/cdn/{436NODFA.js → 6RUIUJIU.js} +2 -2
- package/dist/cdn/{HCO5DVS2.js → 7JEPCFAG.js} +2 -2
- package/dist/cdn/{RHND2MK5.js → 7OJLYFHT.js} +2 -2
- package/dist/cdn/{3EPYKRJY.js → 7OUGVQUL.js} +1 -1
- package/dist/cdn/{SUBOXITI.js → 7QWNXKDD.js} +2 -2
- package/dist/cdn/{TDPOXS7I.js → 7WWY56AL.js} +2 -2
- package/dist/cdn/{BLUA5H43.js → A3SVXOAL.js} +2 -2
- package/dist/cdn/{4P6PD5PJ.js → AAYXEV7W.js} +2 -2
- package/dist/cdn/{REWNRCAS.js → ACNO2R3I.js} +2 -2
- package/dist/cdn/{EOYNFTEK.js → AE7Y7VVQ.js} +2 -2
- package/dist/cdn/{2H2SWTFG.js → ALQOILE6.js} +2 -2
- package/dist/cdn/{GJGEODMZ.js → B4WT7V2F.js} +2 -2
- package/dist/cdn/{A3SRD6EP.js → BD3BZQCK.js} +2 -2
- package/dist/cdn/{YMDIBLYP.js → BJDDEMX7.js} +2 -2
- package/dist/cdn/{2NGIRHZ5.js → BZ6D6IAI.js} +2 -2
- package/dist/cdn/{KNZE2MPX.js → BZD5LBPN.js} +2 -2
- package/dist/cdn/{BSCDHYXA.js → C3TVKQZW.js} +2 -2
- package/dist/cdn/{LGKXXU4V.js → C7KSJJZO.js} +2 -2
- package/dist/cdn/{7NRIZWRB.js → CHU4PCLB.js} +2 -2
- package/dist/cdn/{U5I5D6CK.js → CIPMC465.js} +2 -2
- package/dist/cdn/{XK342K5P.js → CITSWVUL.js} +2 -2
- package/dist/cdn/{4LOTTWXX.js → CNEZDHE5.js} +2 -2
- package/dist/cdn/{53X6FGNI.js → CTCFGH3Q.js} +2 -2
- package/dist/cdn/{AR6PUSIA.js → D4B24WDW.js} +2 -2
- package/dist/cdn/{RAVBSZCV.js → DEWBRJ5H.js} +2 -2
- package/dist/cdn/{42NCQQRC.js → DEZTJXRU.js} +2 -2
- package/dist/cdn/{OCQGKLND.js → DHRN4HG7.js} +2 -2
- package/dist/cdn/{H5FC7BTB.js → DIZUUYTB.js} +2 -2
- package/dist/cdn/{YL2HUUMN.js → DJRDN7NH.js} +2 -2
- package/dist/cdn/{VZRYOARC.js → DO6ZDAMK.js} +2 -2
- package/dist/cdn/{2TP5UGGQ.js → DSWU2MXW.js} +2 -2
- package/dist/cdn/{B4GUGIHD.js → DWEBARP5.js} +2 -2
- package/dist/cdn/{4C7V7E5G.js → E6IW5ZZL.js} +2 -2
- package/dist/cdn/{5LDVQKHP.js → E7OFFQT5.js} +2 -2
- package/dist/cdn/{GEUY6LGS.js → EEDYDASV.js} +2 -2
- package/dist/cdn/{FI5CNHEX.js → EGRFT2SI.js} +2 -2
- package/dist/cdn/{MRCKHC6U.js → EHNHBFKV.js} +2 -2
- package/dist/cdn/{PRPR6SOB.js → EQOQXYWE.js} +2 -2
- package/dist/cdn/{EV3REN6I.js → EVVBBYA6.js} +2 -2
- package/dist/cdn/{QZ6GV7PG.js → F3TDYZ4T.js} +2 -2
- package/dist/cdn/{I6JFHQJV.js → F5BNHT2K.js} +2 -2
- package/dist/cdn/{J4VJM5IO.js → F5JU4A5I.js} +2 -2
- package/dist/cdn/{UVLAC7FF.js → F5V2ZZGR.js} +2 -2
- package/dist/cdn/{RGKXIO56.js → F6KDC7JU.js} +1 -1
- package/dist/cdn/{NI6IKQX2.js → FA2S25XN.js} +1 -1
- package/dist/cdn/{Q64TZKKH.js → FAUEUTLP.js} +2 -2
- package/dist/cdn/{BWLSPTQN.js → FFIBKWJL.js} +2 -2
- package/dist/cdn/{FIOOLXN6.js → FN54OUIC.js} +2 -2
- package/dist/cdn/{H2LGOJEU.js → FPH2TZLZ.js} +2 -2
- package/dist/cdn/{UMUFDKSX.js → FQ6TUW6P.js} +2 -2
- package/dist/cdn/{RB23OMD4.js → FRPYCBJN.js} +1 -1
- package/dist/cdn/{DPOZQBV5.js → GFKAYDI7.js} +2 -2
- package/dist/cdn/{62IRCRW4.js → HVW7ILDG.js} +2 -2
- package/dist/cdn/{BKL37BEO.js → HWSGRGJ4.js} +2 -2
- package/dist/cdn/{BLLALAAZ.js → HY3SAPE6.js} +2 -2
- package/dist/cdn/{ZDFCUWLR.js → IIWWMFNL.js} +2 -2
- package/dist/cdn/{EMN2NWTO.js → ILHLEL7R.js} +2 -2
- package/dist/cdn/{6UD66LEG.js → IPSV2TT5.js} +2 -2
- package/dist/cdn/{32GWURF2.js → JAX5H4PU.js} +2 -2
- package/dist/cdn/{SQ54TTLR.js → JHDSCWV2.js} +2 -2
- package/dist/cdn/{M7DN7DE2.js → JJUNN3HI.js} +2 -2
- package/dist/cdn/{RX6GSD6J.js → JMPS6INN.js} +2 -2
- package/dist/cdn/{H2SQDQSX.js → JPZPBG2N.js} +2 -2
- package/dist/cdn/{IU4OT3VP.js → K3EDFYVU.js} +2 -2
- package/dist/cdn/{RQ2RSDN4.js → KB24DFAU.js} +2 -2
- package/dist/cdn/{43XDYK5Y.js → KCGUROOI.js} +2 -2
- package/dist/cdn/{A2Z5YLLY.js → KFTGQYYV.js} +2 -2
- package/dist/cdn/{MCNUYTDH.js → KM3GWYYE.js} +2 -2
- package/dist/cdn/{7CNUWKNS.js → LFZOJQ6W.js} +2 -2
- package/dist/cdn/{CHAQ643B.js → LJDUBYGE.js} +2 -2
- package/dist/cdn/{F6TDPK5I.js → LUFHWUCP.js} +2 -2
- package/dist/cdn/{LBY5PATS.js → LW76GDBL.js} +2 -2
- package/dist/cdn/{HNA5MRRF.js → M4EYWQOK.js} +2 -2
- package/dist/cdn/{TX37T4SJ.js → M56MQ6CZ.js} +2 -2
- package/dist/cdn/{47FWAA2C.js → MEIEVEME.js} +2 -2
- package/dist/cdn/{XUVVKH4B.js → MIQZP6TO.js} +2 -2
- package/dist/cdn/{ZLOGMEKW.js → MMG73RUL.js} +2 -2
- package/dist/cdn/{XYHKUZVP.js → MR2FLPJZ.js} +2 -2
- package/dist/cdn/{VDYKK3SG.js → MYW5UUH2.js} +2 -2
- package/dist/cdn/{V4DCXPNV.js → N2RYOFNX.js} +2 -2
- package/dist/cdn/N4TAULMY.js +4 -0
- package/dist/cdn/{MBPZTWNP.js → N53227AG.js} +1 -1
- package/dist/cdn/{OTX6A3NL.js → N7YRF45V.js} +2 -2
- package/dist/cdn/{JESDXUWJ.js → NBHH73B4.js} +2 -2
- package/dist/cdn/{V6G4H5SA.js → NTBKYAJL.js} +2 -2
- package/dist/cdn/{VOSDNOEQ.js → NYXWJTHT.js} +2 -2
- package/dist/cdn/{FKZYHTNQ.js → O2TFR6LI.js} +2 -2
- package/dist/cdn/{FJHAZBPU.js → OCLAETAW.js} +2 -2
- package/dist/cdn/{5CWPR57C.js → OJVM2WBH.js} +2 -2
- package/dist/cdn/{ON2SGZKZ.js → OJX4KZVM.js} +2 -2
- package/dist/cdn/{DS7B7MMZ.js → OKHAYKNR.js} +2 -2
- package/dist/cdn/{T4ZAENMO.js → OND34Q3O.js} +2 -2
- package/dist/cdn/{NPLHRO4F.js → OO4Z2BEG.js} +2 -2
- package/dist/cdn/{CDJOQJHC.js → OP65NNM7.js} +2 -2
- package/dist/cdn/{VCYT533F.js → ORUNU6U6.js} +2 -2
- package/dist/cdn/{CF6QTCBG.js → P6DN5AVM.js} +2 -2
- package/dist/cdn/{EO5VAHUH.js → P7NXBE3Z.js} +2 -2
- package/dist/cdn/{O47HXPNE.js → PGVQMFBQ.js} +2 -2
- package/dist/cdn/{TUIUZ7R4.js → PI2YC6HF.js} +2 -2
- package/dist/cdn/{QJSQ2XLF.js → PT7LD5KB.js} +2 -2
- package/dist/cdn/{3IHGSVKS.js → PWAA3O4G.js} +2 -2
- package/dist/cdn/{BBCHHONF.js → PZRDVW7E.js} +2 -2
- package/dist/cdn/{H5NJAMU2.js → PZXCZ2LO.js} +2 -2
- package/dist/cdn/Q2N253I3.js +4 -0
- package/dist/cdn/{5FTMXAQB.js → Q5A6G6LX.js} +2 -2
- package/dist/cdn/{SAP5NVRF.js → Q5HE3WWD.js} +2 -2
- package/dist/cdn/{YR7XECN2.js → Q7GIWAXG.js} +2 -2
- package/dist/cdn/{6PD7ZGO7.js → QB4UK33R.js} +2 -2
- package/dist/cdn/{YK3JKNTC.js → QE2P646R.js} +2 -2
- package/dist/cdn/{JYY5JI3Z.js → QHL4FPDU.js} +2 -2
- package/dist/cdn/{FKIKDRRX.js → QLSOL6R3.js} +2 -2
- package/dist/cdn/{XWBMWVOH.js → QXT55K27.js} +2 -2
- package/dist/cdn/{JNL7GUEP.js → R35DYEGH.js} +1 -1
- package/dist/cdn/{GODCGPML.js → R4BUZQQ7.js} +2 -2
- package/dist/cdn/{ZHEI6CY2.js → RC3NXJVN.js} +2 -2
- package/dist/cdn/{FYP6V6MX.js → RGEEVO44.js} +2 -2
- package/dist/cdn/{WKNELIHG.js → RIQ57DNX.js} +2 -2
- package/dist/cdn/{HZ7EGRS2.js → RR5IN5TC.js} +2 -2
- package/dist/cdn/{JQF7OHKL.js → RYKIWE76.js} +2 -2
- package/dist/cdn/{IV5DGYUM.js → S5LFGODN.js} +2 -2
- package/dist/cdn/{S4KIWMNL.js → S7A6JQRT.js} +2 -2
- package/dist/cdn/{DSU3R4SF.js → SGL3I6VX.js} +2 -2
- package/dist/cdn/{GIEEGABW.js → SGN5KJAC.js} +2 -2
- package/dist/cdn/{GA6MXQIW.js → STPE5PQL.js} +1 -1
- package/dist/cdn/{753OABCH.js → SZTRCQKL.js} +2 -2
- package/dist/cdn/{JPJX4VGW.js → TMXWFZ2U.js} +2 -2
- package/dist/cdn/{OYLUR7DE.js → TUMSSFJ4.js} +2 -2
- package/dist/cdn/{DTTMPYN6.js → TX2MXCI3.js} +2 -2
- package/dist/cdn/{YUHSHMSZ.js → U3P6A5BN.js} +2 -2
- package/dist/cdn/{WGODWBL4.js → U7Q2A4TQ.js} +2 -2
- package/dist/cdn/{KCIPOGMT.js → UMLYZJZZ.js} +2 -2
- package/dist/cdn/{UTALGWO5.js → UPII6HS3.js} +2 -2
- package/dist/cdn/{MF22DI45.js → UU52UUOO.js} +2 -2
- package/dist/cdn/{LDK4LZHL.js → UZ54NS6N.js} +2 -2
- package/dist/cdn/{RH4SS2QR.js → VEMMTZ5F.js} +2 -2
- package/dist/cdn/{7KS3XSFR.js → VFSJP5BE.js} +2 -2
- package/dist/cdn/{LHOLAKZO.js → VW2L6XY7.js} +2 -2
- package/dist/cdn/{LQDRIH24.js → VXCEBOS2.js} +2 -2
- package/dist/cdn/{INBXRDIT.js → WGXP3WZX.js} +2 -2
- package/dist/cdn/{XRKA4327.js → WHL6K4QM.js} +2 -2
- package/dist/cdn/{UKFAODNI.js → WN4ZZKQU.js} +1 -1
- package/dist/cdn/{BHMBASMX.js → WT2SPSET.js} +2 -2
- package/dist/cdn/{BBRNH2OK.js → WVAPBQNQ.js} +1 -1
- package/dist/cdn/{377FSQTU.js → X3QJGZQX.js} +2 -2
- package/dist/cdn/{WOUFYEQO.js → X4IAXRMW.js} +2 -2
- package/dist/cdn/{6DAIDRRO.js → XA7GVK65.js} +2 -2
- package/dist/cdn/{PWB7RN2H.js → XHWXPSSO.js} +2 -2
- package/dist/cdn/{B55R6OMP.js → XIZGUX3S.js} +2 -2
- package/dist/cdn/{KIGLTPG3.js → XJSY75XP.js} +1 -1
- package/dist/cdn/{UDJKZVWM.js → XMADYC3D.js} +2 -2
- package/dist/cdn/{CIYC33VK.js → XTYA4VH6.js} +2 -2
- package/dist/cdn/{M6KGHSMW.js → Y3G2G33H.js} +2 -2
- package/dist/cdn/{SGTSAPPL.js → Y4BXAKMS.js} +2 -2
- package/dist/cdn/{J27OCT2E.js → Y5SF75WS.js} +2 -2
- package/dist/cdn/{CD2JRKPQ.js → YHA7H2GH.js} +2 -2
- package/dist/cdn/{FI2RPVHU.js → YZBMZ4PX.js} +2 -2
- package/dist/cdn/{D7FGQDQW.js → Z3URRZVK.js} +2 -2
- package/dist/cdn/{P5V46REP.js → Z4EUWOZB.js} +2 -2
- package/dist/cdn/{IFDH4UI6.js → Z7N7YLGA.js} +2 -2
- package/dist/cdn/{PPJLCJ6R.js → ZEE4LIHI.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.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/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.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/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/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.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +27 -24
- 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-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/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-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-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/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-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-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-placement/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-exported-link/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.d.ts +2 -2
- 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.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +35 -8
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/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-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-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/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-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-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +16 -10
- package/dist/docs/docs.json +14 -10
- package/dist/docs/vscode.html-custom-data.json +4 -3
- package/dist/docs/web-types.json +8 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/DQ6CRQS5.js +0 -4
- package/dist/cdn/IXP4O5FW.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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import d from"./P6DN5AVM.js";import c from"./VXCEBOS2.js";import b from"./ORUNU6U6.js";import{f as o}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as e,G as s,R as a,W as r,t as i}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([h,,,n])=>{var l=i`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:1,icon:1,includedBarColor:1,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};r("arcgis-histogram-range-slider",t);return t},"widgets/HistogramRangeSlider",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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import a from"./VXCEBOS2.js";import"./VFSJP5BE.js";import{e as v,f as l}from"./STPE5PQL.js";import{D as s,G as o,R as w,W as p,t as n}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{watch:r},m,g,{a:e,b:a,f:c}])=>{var d=n`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,y=a(g,{}),u=a(m,{}),h=class extends w{constructor(){super(),this._map=y(this),this.view=u(this),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=s(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,floors:0,focusAreas:0,gamepad:32,graphics:0,ground:1,highlights:0,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:4,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=d}get center(){return this.view.center}set center(i){let t=l(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){i&&!this.extent?.equals(i)&&(this.view.extent=i)}get focusAreas(){return this.map?this.map.focusAreas:{areas:[],style:"bright"}}set focusAreas(i){this.map&&(this.map.focusAreas=i)}get gamepad(){return this.view.input.gamepad}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){c(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async addTable(i){this.map?.tables.add(i)}async addTables(i,t){this.map?.tables.addMany(i,t)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view.goTo(i,t)}async hitTest(i,t){return await this.view.hitTest(i,t)}async openPopup(i){await this.view.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view.whenLayerView(i)}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[r(()=>this.map,i=>{i&&(this._map=i)},{initial:!0,sync:!0}),r(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),r(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}};p("arcgis-map",h);return h},"core/reactiveUtils","views/MapView","WebMap",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as d}from"./XHWXPSSO.js";import c from"./P6DN5AVM.js";import b from"./VXCEBOS2.js";import a from"./ORUNU6U6.js";import{f as r}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as i,G as s,R as o,W as l,t as e}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([n,,{a:a},h])=>{var m=e`@layer{arcgis-table-list{display:block}}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}static{this.styles=m}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};l("arcgis-table-list",t);return t},"widgets/TableList",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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import d from"./P6DN5AVM.js";import c from"./VXCEBOS2.js";import b from"./ORUNU6U6.js";import{f as o}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as t,G as s,R as a,W as r,t as i}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([h,,,n])=>{var d=i`@layer{arcgis-legend{display:block}}`,l=n(h),e=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=o()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);return e},"widgets/Legend",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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as l,b as c}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as l,b as c}from"./MEIEVEME.js";import{D as o,R as u,W as v,t as p,u as s}from"./FRPYCBJN.js";import"./N53227AG.js";var N=p`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends u{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=o(),this.arcgisFlowItemClose=o(),this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:I,currentUser:V,currentVersionIdentifier:d,executionError:g,heading:$,isVersionAdministrator:_,isVersioningApiAvailable:f,pageSize:r,serviceName:E,serviceUrl:a,state:w,strings:{headers:m},strings:n,versionInfos:b}}=this,P=s`<calcite-block .heading=${m.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:a})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let x=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,r,1).map(y=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:V,currentVersionIdentifier:d,isCurrentVersionCard:!1,isVersionAdministrator:_,isVersioningApiAvailable:f,serviceUrl:a,strings:n,versionInfo:y}}></arcgis-version-management-version-item>`),F=b.length>r?s`<calcite-block heading .label=${m.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=s`<calcite-list .label=${n.labels.versionList}>${C}</calcite-list>`,B=f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:a})}></calcite-fab>`:void 0,U=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${I} .description=${E} .heading=${$} .selected=${i} .showBackButton=${t} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${c(this._flowItemElement)}><calcite-panel .loading=${w==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${F}${L}${B}</calcite-panel>${x}${U}</calcite-panel></calcite-flow-item>`}};v("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{C as R,D,K as w,h as T}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{C as R,D,K as w,h as T}from"./QXT55K27.js";import{N as y,o as P,u as v}from"./6RUIUJIU.js";import{g as _}from"./OND34Q3O.js";var m=class extends D{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let t=this.width(),s=this.height(),r=t/Math.abs(t),n=s/Math.abs(s),e=0,i=0,o=this.get("strokeWidth",0);this.get("containStroke",!1)&&(t-=r*o,s-=n*o,e+=r*o/2,i+=n*o/2);let a=t,h=s;if(_(a)&&_(h)){let u=Math.min(a,h)/2,l=v(this.get("cornerRadiusTL",8),u),d=v(this.get("cornerRadiusTR",8),u),c=v(this.get("cornerRadiusBR",8),u),g=v(this.get("cornerRadiusBL",8),u),b=Math.min(Math.abs(a/2),Math.abs(h/2));l=T(l,0,b),d=T(d,0,b),c=T(c,0,b),g=T(g,0,b);let p=this._display;p.moveTo(e+l*r,i),p.lineTo(e+a-d*r,i),d>0&&p.arcTo(e+a,i,e+a,i+d*n,d),p.lineTo(e+a,i+h-c*n),c>0&&p.arcTo(e+a,i+h,e+a-c*r,i+h,c),p.lineTo(e+g*r,i+h),g>0&&p.arcTo(e,i+h,e,i+h-g*n,g),p.lineTo(e,i+l*n),l>0&&p.arcTo(e,i,e+l*r,i,l),p.closePath()}}};Object.defineProperty(m,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(m,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:D.classNames.concat([m.className])});var f=class extends w{_afterNew(){this._settings.themeTags=y(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",m.new(this._root,{themeTags:y(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let t=this._prevSettings.icon,s=this.get("icon");s!==t&&(this._disposeProperty("icon"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.icon=s)}if(this.isDirty("label")){let t=this._prevSettings.label,s=this.get("label");s!==t&&(this._disposeProperty("label"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.label=s)}}};Object.defineProperty(f,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(f,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([f.className])});var x=class extends w{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=y(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=m.new(this._root,{themeTags:y(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(f.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:R.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(m.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(t){t&&this._disposers.push(t.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let t=this.startGrip,s=this.endGrip,r=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",e=>{this.setPrivateRaw("isBusy",!0);let i=this._display.toLocal(e.point),o=this.width(),a=this.height(),h=this.get("orientation"),u;h=="vertical"?u=(i.y-r.height()/2)/a:u=(i.x-r.width()/2)/o;let l,d;h=="vertical"?(l=u*a,d="y"):(l=u*o,d="x");let c=this.get("animationDuration",0);c>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:d,to:l,duration:c,easing:this.get("animationEasing")}))):(this.thumb.set(d,l),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(r.events.on("dblclick",e=>{if(!P(e.originalEvent,this))return;let i=this.get("animationDuration",0),o=this.get("animationEasing");this.animate({key:"start",to:0,duration:i,easing:o}),this.animate({key:"end",to:1,duration:i,easing:o})})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(s.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(r.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(t.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(s.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(r.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(s.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(s.on("y",()=>{this._updateThumb()})),this._disposers.push(r.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(t.set("x",0),s.set("x",0),this._disposers.push(r.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()-r.height()),0))),this._disposers.push(r.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("x",e=>this.width()/2)),this._disposers.push(s.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0))),this._disposers.push(s.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0)))):(t.set("y",0),s.set("y",0),this._disposers.push(r.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()-r.width()),0))),this._disposers.push(r.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("y",e=>this.height()/2)),this._disposers.push(s.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))),this._disposers.push(s.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let t="rangechanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let t="released";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}updateGrips(){let t=this.startGrip,s=this.endGrip,r=this.get("orientation"),n=this.height(),e=this.width();r=="vertical"?(t.set("y",n*this.get("start",0)),s.set("y",n*this.get("end",1))):(t.set("x",e*this.get("start",0)),s.set("x",e*this.get("end",1)));let i=this.getPrivate("positionTextFunction"),o=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,u;i?(h=i.call(this,this.get("start",0)),u=i.call(this,this.get("end",0))):(h=o+"%",u=a+"%"),t.set("ariaLabel",this._t("From %1",void 0,h)),t.set("ariaValueNow",""+o),t.set("ariaValueText",o+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100"),s.set("ariaLabel",this._t("To %1",void 0,u)),s.set("ariaValueNow",""+a),s.set("ariaValueText",a+"%"),s.set("ariaValueMin","0"),s.set("ariaValueMax","100")}_updateThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip,n=this.height(),e=this.width(),i=s.x(),o=r.x(),a=s.y(),h=r.y(),u=0,l=1;this.get("orientation")=="vertical"?_(a)&&_(h)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("height",h-a),t.set("y",a)),u=a/n,l=h/n):_(i)&&_(o)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("width",o-i),t.set("x",i)),u=i/e,l=o/e),this.getPrivate("isBusy")&&(this.get("start")!=u||this.get("end")!=l)&&(this.set("start",u),this.set("end",l));let d=this.getPrivate("positionTextFunction"),c=Math.round(this.get("start",0)*100),g=Math.round(this.get("end",0)*100),b,p;d?(b=d.call(this,this.get("start",0)),p=d.call(this,this.get("end",0))):(b=c+"%",p=g+"%"),t.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),t.set("ariaValueNow",""+c),t.set("ariaValueText",c+"%")}_updateGripsByThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip;if(this.get("orientation")=="vertical"){let n=t.height();s.set("y",t.y()),r.set("y",t.y()+n)}else{let n=t.width();s.set("x",t.x()),r.set("x",t.x()+n)}}};Object.defineProperty(x,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(x,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([x.className])});export{m as a,f as b,x as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as d}from"./XHWXPSSO.js";import f from"./P6DN5AVM.js";import c from"./VXCEBOS2.js";import b from"./ORUNU6U6.js";import{f as r}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as i,G as s,R as o,W as a,t as e}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([c,,{a:l},h])=>{var n=e`@layer{arcgis-catalog-layer-list{display:block}}`,g=h(c),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.closed=!1,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,closed:5,collapsed:7,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);return t},"widgets/CatalogLayerList",b,c,f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as _}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as _}from"./RR5IN5TC.js";import b from"./5P2VZGD7.js";import{a as l}from"./A3SVXOAL.js";import"./7OJLYFHT.js";import"./VFSJP5BE.js";import{R as o,S as a,W as n,t as r,u as t}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{watch:g},{b:m,c:p,d:d,e:h}])=>{var $=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",c={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},i=class extends o{constructor(){super(...arguments),this._handles=_("disconnect"),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,S=>this._templateState=S??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<calcite-block class=${a(c.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate?d(this._selectedTemplate,this.messages):this.messages.selectTemplate} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${e=>{(e.key==="Enter"||e.key===" ")&&this.showTemplateSelector()}} tabindex=0>${l("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?h(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?l("template-select-error",t`<calcite-icon class=${a(c.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${l("template-select-arrow",t`<calcite-icon class=${a(c.templateSelectArrow)} .icon=${m()?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};n("arcgis-print-template-select",i);return i},"core/reactiveUtils",b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as O}from"./MBPZTWNP.js";var m={};O(m,{PLACEHOLDER:()=>ee,PLACEHOLDER2:()=>te,assert:()=>V,getType:()=>C,isArray:()=>Z,isDate:()=>N,isNaN:()=>j,isNumber:()=>p,isObject:()=>E,isString:()=>F,numberToString:()=>X,repeat:()=>P,toDate:()=>W,toNumber:()=>R});function j(s){return Number(s)!==s}function C(s){return{}.toString.call(s)}function V(s,e="Assertion failed"){if(!s)throw new Error(e)}function R(s){if(s!=null&&!p(s)){let e=Number(s);return j(e)&&F(s)&&s!=""&&s.match(/[0-9]+/)?R(s.replace(/[^0-9.\-]+/g,"")):e}return s}function W(s){if(N(s))return new Date(s);if(p(s))return new Date(s);{let e=Number(s);return p(e)?new Date(e):new Date(s)}}function X(s){if(j(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),r=t[1],i=t[2]||"",n;if(t[3]===void 0)n=i===""?r:r+"."+i;else{let o=+t[3];if(s<1){let u=o-1;n="0."+P("0",u)+r+i}else{let u=o-i.length;u===0?n=r+i:u<0?n=r+i.slice(0,u)+"."+i.slice(u):n=r+i+P("0",u)}}return e?"-"+n:n}function P(s,e){return new Array(e+1).join(s)}function N(s){return C(s)==="[object Date]"}function F(s){return typeof s=="string"}function p(s){return typeof s=="number"&&Number(s)==s}function E(s){return typeof s=="object"&&s!==null}function Z(s){return Array.isArray(s)}var ee="__\xA7\xA7\xA7__",te="__\xA7\xA7\xA7\xA7__";var d={};O(d,{add:()=>pe,any:()=>D,copy:()=>be,each:()=>l,eachContinue:()=>ie,eachReverse:()=>re,find:()=>me,findIndex:()=>w,findIndexReverse:()=>z,findMap:()=>we,findReverse:()=>ve,first:()=>ue,getFirstSortedIndex:()=>ye,getSortedIndex:()=>k,has:()=>_e,indexOf:()=>$,insert:()=>T,insertIndex:()=>M,keepIf:()=>Oe,last:()=>oe,map:()=>se,move:()=>ce,pushAll:()=>he,pushOne:()=>ae,remove:()=>v,removeFirst:()=>f,removeIndex:()=>B,replace:()=>de,setIndex:()=>le,shiftLeft:()=>ne,shuffle:()=>xe,slice:()=>ge,toArray:()=>fe});function $(s,e){let t=s.length;for(let r=0;r<t;++r)if(s[r]===e)return r;return-1}function D(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r]))return!0;return!1}function se(s,e){let t=s.length,r=new Array(t);for(let i=0;i<t;++i)r[i]=e(s[i],i);return r}function l(s,e){let t=s.length;for(let r=0;r<t;++r)e(s[r],r)}function re(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function ie(s,e){let t=s.length;for(let r=0;r<t&&e(s[r],r);++r);}function ne(s,e){let t=s.length;for(let r=e;r<t;++r)s[r-e]=s[r];s.length=t-e}function oe(s){let e=s.length;return e?s[e-1]:void 0}function ue(s){return s[0]}function T(s,e,t){t=Math.max(0,Math.min(t,s.length)),s.splice(t,0,e)}function le(s,e,t){v(s,e),T(s,e,t)}function he(s,e){let t=e.length;for(let r=0;r<t;++r)s.push(e[r])}function v(s,e){let t=!1,r=0;for(;;){if(r=s.indexOf(e,r),r===-1)return t;t=!0,s.splice(r,1)}}function f(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function ce(s,e,t){let r=$(s,e);r!==-1&&B(s,r),t==null?s.push(e):M(s,t,e)}function pe(s,e,t){p(t)?t===0?s.unshift(e):s.splice(t,0,e):s.push(e)}function ae(s,e){s.indexOf(e)===-1&&s.push(e)}function de(s,e,t){let r=s.indexOf(e);r!==-1&&s.splice(r,1),p(t)?s.splice(t,0,e):s.push(e)}function fe(s){return Array.isArray(s)?s:[s]}function _e(s,e){return $(s,e)!==-1}function be(s){let e=s.length,t=new Array(e);for(let r=0;r<e;++r)t[r]=s[r];return t}function ge(s,e,t=s.length){let r=new Array(t-e);for(let i=e;i<t;++i)r[i-e]=s[i];return r}function M(s,e,t){s.splice(e,0,t)}function B(s,e){s.splice(e,1)}function w(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r],r))return r;return-1}function z(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function me(s,e){let t=w(s,e);if(t!==-1)return s[t]}function ve(s,e){let t=z(s,e);if(t!==-1)return s[t]}function we(s,e){let t=s.length;for(let r=0;r<t;++r){let i=e(s[r],r);if(i!==void 0)return i}}function xe(s){let e=s.length,t,r;for(;e!==0;)r=Math.floor(Math.random()*e),e-=1,t=s[e],s[e]=s[r],s[r]=t}function k(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:o===0?(i=!0,t=n+1):r=n}return{found:i,index:i?t-1:t}}function ye(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:(o===0&&(i=!0),r=n)}return{found:i,index:t}}function Oe(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}var Y={};O(Y,{copy:()=>Pe,each:()=>h,eachContinue:()=>je,eachOrdered:()=>Ee,hasKey:()=>K,keys:()=>_,keysOrdered:()=>H,softCopyProperties:()=>$e});function _(s){return Object.keys(s)}function H(s,e){return _(s).sort(e)}function Pe(s){return Object.assign({},s)}function h(s,e){_(s).forEach(t=>{e(t,s[t])})}function je(s,e){for(let t in s)if(K(s,t)&&!e(t,s[t]))break}function Ee(s,e,t){l(H(s,t),r=>{e(r,s[r])})}function K(s,e){return{}.hasOwnProperty.call(s,e)}function $e(s,e){return h(s,(t,r)=>{r!=null&&e[t]==null&&(e[t]=r)}),e}var b=class{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},c=class{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){l(this._disposers,e=>{e.dispose()})}},a=class extends b{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){l(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new c(()=>{--this._counter,this._counter===0&&this.dispose()})}};var x=class{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{l(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return D(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,r,i){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(r===void 0||n.callback===r)&&n.context===i&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,r){return w(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===r)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return p(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{l(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(l(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(r=>{!r.killed&&(r.type===null||r.type===e)&&r.dispatch(e,t)})}_on(e,t,r,i,n,o){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,r,i);let u={type:t,callback:r,context:i,shouldClone:n,dispatch:o,killed:!1,once:e,disposer:new c(()=>{u.killed=!0,this._removeListener(u)})};return this._listeners.push(u),u}onAll(e,t,r=!0){return this._on(!1,null,e,t,r,(i,n)=>e.call(t,n)).disposer}on(e,t,r,i=!0){return this._on(!1,e,t,r,i,(n,o)=>t.call(r,o)).disposer}once(e,t,r,i=!0){let n=this._on(!0,e,t,r,i,(o,u)=>{n.disposer.dispose(),t.call(r,u)});return n.disposer}off(e,t,r){this._removeExistingListener(!1,e,t,r)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return l(e._listeners,r=>{!r.killed&&r.shouldClone&&(r.type===null?t.push(this.onAll(r.callback,r.context)):r.once?t.push(this.once(r.type,r.callback,r.context)):t.push(this.on(r.type,r.callback,r.context)))}),new a(t)}};function A(s){h(s,(e,t)=>{E(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var L=class{constructor(e,t,r){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=r}_dispose(){A(this._settings)}get(e,t){let r=this._settings[e];return r!==void 0?r:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){_(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){h(this._settings,(r,i)=>{!t[r]&&!e._userSettings[r]&&(t[r]=!0,e.setRaw(r,i))})}},S=class{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){h(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let r=this._states[e];if(r)return r.setAll(t),r;{let i=new L(e,this._template,t);return this._states[e]=i,this._template._stateChanged(e),i}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){h(this._states,(r,i)=>{let n=t.states[r];n==null&&(n=t.states[r]={});let o=e.states.create(r,{});i._apply(o,n)})}},I=class{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let r=this._callbacks[e];return r===void 0&&(r=this._callbacks[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return h(this._callbacks,(r,i)=>{l(i,n=>{t.push(e.adapters.add(r,n))})}),new a(t)}},y=class s{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new S(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new I}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new x}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new s(e,!0)}_dispose(){A(this._settings),A(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let r=this._settings[e];return r!==void 0?r:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(r=>{r._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),h(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let r=this._privateSettings[e];return r!==void 0?r:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(r=>{r._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),h(e,(t,r)=>{this.set(t,r)})}on(e,t){this._checkDisposed();let r=this._settingEvents[e];return r===void 0&&(r=this._settingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let r=this._privateSettingEvents[e];return r===void 0&&(r=this._privateSettingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let r=[];return h(this._settingEvents,(i,n)=>{l(n,o=>{r.push(e.on(i,o))})}),h(this._privateSettingEvents,(i,n)=>{l(n,o=>{r.push(e.onPrivate(i,o))})}),this.states._apply(e,t),r.push(this.adapters._apply(e)),r.push(e.events.copyFrom(this.events)),new a(r)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){v(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function g(s,e){return s===e?0:s<e?-1:1}function Q(s,e,t){let r=s.length,i=e.length,n=Math.min(r,i);for(let o=0;o<n;++o){let u=t(s[o],e[o]);if(u!==0)return u}return g(r,i)}function Re(s,e){return s===e?0:s<e?-1:1}var U=class{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let r=this._rules[e];r||(r=this._rules[e]=[]),t.sort(g);let{index:i,found:n}=k(r,o=>{let u=g(o.tags.length,t.length);return u===0?Q(o.tags,t,g):u});if(n)return r[i].template;{let o=y.new({});return r.splice(i,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{j as a,R as b,W as c,X as d,N as e,F as f,p as g,E as h,Z as i,ee as j,te as k,m as l,$ as m,se as n,l as o,re as p,ie as q,v as r,f as s,ce as t,ae as u,be as v,M as w,B as x,me as y,ve as z,k as A,ye as B,Oe as C,d as D,_ as E,H as F,Pe as G,h as H,je as I,Y as J,b as K,c as L,q as M,a as N,G as O,J as P,x as Q,g as R,Q as S,Re as T,y as U,U as V};
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as O}from"./N53227AG.js";var m={};O(m,{PLACEHOLDER:()=>ee,PLACEHOLDER2:()=>te,assert:()=>V,getType:()=>C,isArray:()=>Z,isDate:()=>N,isNaN:()=>j,isNumber:()=>p,isObject:()=>E,isString:()=>F,numberToString:()=>X,repeat:()=>P,toDate:()=>W,toNumber:()=>R});function j(s){return Number(s)!==s}function C(s){return{}.toString.call(s)}function V(s,e="Assertion failed"){if(!s)throw new Error(e)}function R(s){if(s!=null&&!p(s)){let e=Number(s);return j(e)&&F(s)&&s!=""&&s.match(/[0-9]+/)?R(s.replace(/[^0-9.\-]+/g,"")):e}return s}function W(s){if(N(s))return new Date(s);if(p(s))return new Date(s);{let e=Number(s);return p(e)?new Date(e):new Date(s)}}function X(s){if(j(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),r=t[1],i=t[2]||"",n;if(t[3]===void 0)n=i===""?r:r+"."+i;else{let o=+t[3];if(s<1){let u=o-1;n="0."+P("0",u)+r+i}else{let u=o-i.length;u===0?n=r+i:u<0?n=r+i.slice(0,u)+"."+i.slice(u):n=r+i+P("0",u)}}return e?"-"+n:n}function P(s,e){return new Array(e+1).join(s)}function N(s){return C(s)==="[object Date]"}function F(s){return typeof s=="string"}function p(s){return typeof s=="number"&&Number(s)==s}function E(s){return typeof s=="object"&&s!==null}function Z(s){return Array.isArray(s)}var ee="__\xA7\xA7\xA7__",te="__\xA7\xA7\xA7\xA7__";var d={};O(d,{add:()=>pe,any:()=>D,copy:()=>be,each:()=>l,eachContinue:()=>ie,eachReverse:()=>re,find:()=>me,findIndex:()=>w,findIndexReverse:()=>z,findMap:()=>we,findReverse:()=>ve,first:()=>ue,getFirstSortedIndex:()=>ye,getSortedIndex:()=>k,has:()=>_e,indexOf:()=>$,insert:()=>T,insertIndex:()=>M,keepIf:()=>Oe,last:()=>oe,map:()=>se,move:()=>ce,pushAll:()=>he,pushOne:()=>ae,remove:()=>v,removeFirst:()=>f,removeIndex:()=>B,replace:()=>de,setIndex:()=>le,shiftLeft:()=>ne,shuffle:()=>xe,slice:()=>ge,toArray:()=>fe});function $(s,e){let t=s.length;for(let r=0;r<t;++r)if(s[r]===e)return r;return-1}function D(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r]))return!0;return!1}function se(s,e){let t=s.length,r=new Array(t);for(let i=0;i<t;++i)r[i]=e(s[i],i);return r}function l(s,e){let t=s.length;for(let r=0;r<t;++r)e(s[r],r)}function re(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function ie(s,e){let t=s.length;for(let r=0;r<t&&e(s[r],r);++r);}function ne(s,e){let t=s.length;for(let r=e;r<t;++r)s[r-e]=s[r];s.length=t-e}function oe(s){let e=s.length;return e?s[e-1]:void 0}function ue(s){return s[0]}function T(s,e,t){t=Math.max(0,Math.min(t,s.length)),s.splice(t,0,e)}function le(s,e,t){v(s,e),T(s,e,t)}function he(s,e){let t=e.length;for(let r=0;r<t;++r)s.push(e[r])}function v(s,e){let t=!1,r=0;for(;;){if(r=s.indexOf(e,r),r===-1)return t;t=!0,s.splice(r,1)}}function f(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function ce(s,e,t){let r=$(s,e);r!==-1&&B(s,r),t==null?s.push(e):M(s,t,e)}function pe(s,e,t){p(t)?t===0?s.unshift(e):s.splice(t,0,e):s.push(e)}function ae(s,e){s.indexOf(e)===-1&&s.push(e)}function de(s,e,t){let r=s.indexOf(e);r!==-1&&s.splice(r,1),p(t)?s.splice(t,0,e):s.push(e)}function fe(s){return Array.isArray(s)?s:[s]}function _e(s,e){return $(s,e)!==-1}function be(s){let e=s.length,t=new Array(e);for(let r=0;r<e;++r)t[r]=s[r];return t}function ge(s,e,t=s.length){let r=new Array(t-e);for(let i=e;i<t;++i)r[i-e]=s[i];return r}function M(s,e,t){s.splice(e,0,t)}function B(s,e){s.splice(e,1)}function w(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r],r))return r;return-1}function z(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function me(s,e){let t=w(s,e);if(t!==-1)return s[t]}function ve(s,e){let t=z(s,e);if(t!==-1)return s[t]}function we(s,e){let t=s.length;for(let r=0;r<t;++r){let i=e(s[r],r);if(i!==void 0)return i}}function xe(s){let e=s.length,t,r;for(;e!==0;)r=Math.floor(Math.random()*e),e-=1,t=s[e],s[e]=s[r],s[r]=t}function k(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:o===0?(i=!0,t=n+1):r=n}return{found:i,index:i?t-1:t}}function ye(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:(o===0&&(i=!0),r=n)}return{found:i,index:t}}function Oe(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}var Y={};O(Y,{copy:()=>Pe,each:()=>h,eachContinue:()=>je,eachOrdered:()=>Ee,hasKey:()=>K,keys:()=>_,keysOrdered:()=>H,softCopyProperties:()=>$e});function _(s){return Object.keys(s)}function H(s,e){return _(s).sort(e)}function Pe(s){return Object.assign({},s)}function h(s,e){_(s).forEach(t=>{e(t,s[t])})}function je(s,e){for(let t in s)if(K(s,t)&&!e(t,s[t]))break}function Ee(s,e,t){l(H(s,t),r=>{e(r,s[r])})}function K(s,e){return{}.hasOwnProperty.call(s,e)}function $e(s,e){return h(s,(t,r)=>{r!=null&&e[t]==null&&(e[t]=r)}),e}var b=class{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},c=class{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){l(this._disposers,e=>{e.dispose()})}},a=class extends b{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){l(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new c(()=>{--this._counter,this._counter===0&&this.dispose()})}};var x=class{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{l(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return D(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,r,i){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(r===void 0||n.callback===r)&&n.context===i&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,r){return w(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===r)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return p(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{l(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(l(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(r=>{!r.killed&&(r.type===null||r.type===e)&&r.dispatch(e,t)})}_on(e,t,r,i,n,o){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,r,i);let u={type:t,callback:r,context:i,shouldClone:n,dispatch:o,killed:!1,once:e,disposer:new c(()=>{u.killed=!0,this._removeListener(u)})};return this._listeners.push(u),u}onAll(e,t,r=!0){return this._on(!1,null,e,t,r,(i,n)=>e.call(t,n)).disposer}on(e,t,r,i=!0){return this._on(!1,e,t,r,i,(n,o)=>t.call(r,o)).disposer}once(e,t,r,i=!0){let n=this._on(!0,e,t,r,i,(o,u)=>{n.disposer.dispose(),t.call(r,u)});return n.disposer}off(e,t,r){this._removeExistingListener(!1,e,t,r)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return l(e._listeners,r=>{!r.killed&&r.shouldClone&&(r.type===null?t.push(this.onAll(r.callback,r.context)):r.once?t.push(this.once(r.type,r.callback,r.context)):t.push(this.on(r.type,r.callback,r.context)))}),new a(t)}};function A(s){h(s,(e,t)=>{E(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var L=class{constructor(e,t,r){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=r}_dispose(){A(this._settings)}get(e,t){let r=this._settings[e];return r!==void 0?r:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){_(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){h(this._settings,(r,i)=>{!t[r]&&!e._userSettings[r]&&(t[r]=!0,e.setRaw(r,i))})}},S=class{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){h(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let r=this._states[e];if(r)return r.setAll(t),r;{let i=new L(e,this._template,t);return this._states[e]=i,this._template._stateChanged(e),i}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){h(this._states,(r,i)=>{let n=t.states[r];n==null&&(n=t.states[r]={});let o=e.states.create(r,{});i._apply(o,n)})}},I=class{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let r=this._callbacks[e];return r===void 0&&(r=this._callbacks[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return h(this._callbacks,(r,i)=>{l(i,n=>{t.push(e.adapters.add(r,n))})}),new a(t)}},y=class s{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new S(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new I}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new x}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new s(e,!0)}_dispose(){A(this._settings),A(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let r=this._settings[e];return r!==void 0?r:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(r=>{r._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),h(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let r=this._privateSettings[e];return r!==void 0?r:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(r=>{r._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),h(e,(t,r)=>{this.set(t,r)})}on(e,t){this._checkDisposed();let r=this._settingEvents[e];return r===void 0&&(r=this._settingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let r=this._privateSettingEvents[e];return r===void 0&&(r=this._privateSettingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let r=[];return h(this._settingEvents,(i,n)=>{l(n,o=>{r.push(e.on(i,o))})}),h(this._privateSettingEvents,(i,n)=>{l(n,o=>{r.push(e.onPrivate(i,o))})}),this.states._apply(e,t),r.push(this.adapters._apply(e)),r.push(e.events.copyFrom(this.events)),new a(r)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){v(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function g(s,e){return s===e?0:s<e?-1:1}function Q(s,e,t){let r=s.length,i=e.length,n=Math.min(r,i);for(let o=0;o<n;++o){let u=t(s[o],e[o]);if(u!==0)return u}return g(r,i)}function Re(s,e){return s===e?0:s<e?-1:1}var U=class{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let r=this._rules[e];r||(r=this._rules[e]=[]),t.sort(g);let{index:i,found:n}=k(r,o=>{let u=g(o.tags.length,t.length);return u===0?Q(o.tags,t,g):u});if(n)return r[i].template;{let o=y.new({});return r.splice(i,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{j as a,R as b,W as c,X as d,N as e,F as f,p as g,E as h,Z as i,ee as j,te as k,m as l,$ as m,se as n,l as o,re as p,ie as q,v as r,f as s,ce as t,ae as u,be as v,M as w,B as x,me as y,ve as z,k as A,ye as B,Oe as C,d as D,_ as E,H as F,Pe as G,h as H,je as I,Y as J,b as K,c as L,q as M,a as N,G as O,J as P,x as Q,g as R,Q as S,Re as T,y as U,U as V};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import d from"./P6DN5AVM.js";import c from"./VXCEBOS2.js";import b from"./ORUNU6U6.js";import"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as e,G as s,R as o,W as a,t as i}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([h,,,l])=>{var n=i`@layer{arcgis-floor-filter{display:block}}`,d=l(h),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.level=this.widget.level,this.longNames=this.widget.longNames,this.position="bottom-left",this.site=this.widget.site,this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,facility:3,headingLevel:9,icon:1,label:1,level:3,longNames:5,position:1,referenceElement:1,site:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async updateWebDocument(r){this.widget?.updateWebDocument(r)}};a("arcgis-floor-filter",t);return t},"widgets/FloorFilter",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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{G as n,R as l,W as o,u as a}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{G as n,R as l,W as o,u as a}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{watch:$}])=>{var s=class extends l{constructor(){super(...arguments),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,viewModel:0,messages:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:e,playing:i}=this.viewModel;this._disabled=e==="not-ready"||e==="waiting",this._playing=i},{initial:!0})])}render(){let{viewModel:e,messages:i,_disabled:t,_playing:c}=this,r=a`<calcite-action .active=${c} alignment=center .disabled=${t} .icon=${c?"pause-f":"play-f"} @click=${c?()=>e.pause():()=>e.play()} scale=s .text=${c?i.pause:i.play}></calcite-action>`,d=a`<calcite-action alignment=center .disabled=${t} icon=reverse-f @click=${()=>e.seekBackward()} scale=s .text=${i.reverse}></calcite-action>`,g=a`<calcite-action alignment=center .disabled=${t} icon=forward-f @click=${()=>e.seekForward()} scale=s .text=${i.forward}></calcite-action>`,p=a`<calcite-action alignment=center .disabled=${t} icon=beginning-f @click=${()=>e.seekToBeginning()} scale=s .text=${i.beginning}></calcite-action>`,m=a`<calcite-action alignment=center .disabled=${t} icon=end-f @click=${()=>e.seekToEnding()} scale=s .text=${i.end}></calcite-action>`;return a`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[p,d,r,g,m]}</calcite-action-bar>`}};o("arcgis-video-player-actions-group",s);return s},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as c}from"./VFSJP5BE.js";import{a as s}from"./STPE5PQL.js";import{F as h}from"./FRPYCBJN.js";export default $arcgis.t(([l,{signal:m}])=>{var f=n=>p(n),i=class extends h{#e=m(void 0);#o=void 0;#t=!1;constructor(e){super(e);let{el:t}=e,r=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this.#e.value,set:o=>{if(this.exports===o)return;let a=t.view;this.#e.value=o,this.exports=o,this.component.requestUpdate("view",a),this.#s()},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>r?t.view=r:0)}hostConnected(){this.component.manager.hasDestroy&&(this.#o??=l.when(()=>this.#e.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.onDestroy(()=>this.#o?.remove())),this.component.manager.loadedCalled&&s(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem??=t,this.#t=!0,this.#s(),e.isConnected&&s(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.#e.value?.ui?.remove(this.component.el.childElem)}hostUpdate(e){e.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&s(this.component),e.has("referenceElement")&&s(this.component)}#s(){!this.#t||this.#e.value==null||(this.#t=!1,this.component.arcgisReady.emit())}},p=c(i);return{a:f,b:i}},"core/reactiveUtils","applications/Components/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import b from"./VXCEBOS2.js";import a from"./ORUNU6U6.js";import{a as f}from"./VFSJP5BE.js";import{A as v,m as d}from"./FRPYCBJN.js";export default $arcgis.t(([{watch:E},{b:b},{c:w,d:u,e:y}])=>{var k=(h,e)=>t=>x(t,h),m=class extends w{#o=new Map;#e;#t;constructor(e,t){super(e,t),new b(e);let s=this,o=s.instance,i=o.viewModel,r=o.visibleElements,c=new Proxy(this.exports,{get(n,l,p){return l==="viewModel"?i:l==="visibleElements"?r:Reflect.get(n,l,p)}});if(s.#t=o,s.instance=c,s.exports=c,i){let n={component:e,get exports(){return s.instance.viewModel}};y(s).set("viewModel","viewModel"),e.addController(n),i=u(e,new WeakRef(n),d(e)-1,i,s.#o)}s.instance.visibleElements&&(r=s.#s(o))}hostConnected(){this.instance=this.#t,super.hostConnected()}hostLoad(){this.#e=E(()=>this.component.el.view,e=>{let t=this.instance;!("view"in t)&&typeof t.viewModel=="object"?t.viewModel.view=e:t.view=e,!("map"in t)&&typeof t.viewModel=="object"?t.viewModel.map=e?.map:t.map=e?.map},{sync:!0,initial:!0})}hostUpdate(e){e.has("closed")&&(this.instance.visible=!this.component.closed)}hostLoaded(){let{el:e}=this.component;e.childElem??=document.createElement("div"),this.instance.container=e.childElem,this.component.closed!==void 0&&this.onLifecycle(()=>E(()=>this.instance.visible,t=>this.component.closed=!t,{initial:!0}))}#s(e){return new Proxy(e.visibleElements,{get:(t,s)=>{if(typeof s=="symbol"||s in Promise.prototype)return t[s];let o=[s],i=this.#n(o);return v(this.component,r=>{let c=r;this.component[c]=!1;let n=e.visibleElements??{},l;for(let a of o.slice(0,-1))if(typeof n[a]=="object"&&n[a]!==null)n=n[a];else{l=!!n[a];break}l===void 0&&(l=!!(n[o.slice(-1)[0]]??!0));let p=c.startsWith("hide")||c.startsWith("show")?c.startsWith("hide"):l;this.onUpdate(a=>{if(a.has(c)){let M=this.component[c];this.#i(o,M,p)}})},i)}})}#n(e){let t=new Proxy({},{get:(s,o)=>{let i=Reflect.get(s,o);return typeof o=="symbol"||o in Promise.prototype?i:(e.push(o),t)}});return t}#i(e,t,s){let o=this.instance.visibleElements??{};for(let r of e.slice(0,-1))(typeof o[r]!="object"||o[r]===null)&&(o[r]={}),o=o[r];let i=!!(s?!t:t);o[e.at(-1)]=i}hostDestroy(){this.#e?.remove(),super.hostDestroy()}},x=f(m);return k},"core/reactiveUtils",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{R as o,W as n,t as s,u as t}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{R as o,W as n,t as s,u as t}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([d,{watch:m}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[m(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:i,value:c})=>t`<calcite-list-item .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,v=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?v:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);return a},"Color","core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import c from"./ILHLEL7R.js";import{a as f}from"./XIZGUX3S.js";import{a as r}from"./6I6JVCPA.js";import b from"./VXCEBOS2.js";import a from"./ORUNU6U6.js";import{f as w}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as g,G as p,R as m,S as o,U as v,W as u,a as d,t as h,u as e}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([T,,{a:s},M])=>{var $=h`@layer{arcgis-track{display:block}}`,D={base:"esri-track"},O=M(T),a=class extends m{constructor(){super(...arguments),this.messages=f(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.rotationDisabled=this.viewModel.rotationEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=s(()=>this.viewModel,"track"),this.arcgisError=s(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=w()("state"),this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:1,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,rotationDisabled:5,scale:9,state:3,tracking:4}}static{this.shadowRootOptions=p}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",l=this._localizeError(this.viewModel?.error),c=(b?n?.stopTracking:n?.startTracking)??"",k=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${o(d(D.base,r.widget))}>${!k&&e`<calcite-button class=${o(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${c} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${c??v}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);return a},"widgets/Track/TrackViewModel",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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as f}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as f}from"./XIZGUX3S.js";import{a as m}from"./6I6JVCPA.js";import b from"./ORUNU6U6.js";import{d as v,f as x}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as p,G as _,R as g,S as a,U as c,W as u,a as r,t as h,u as n}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{when:z,watch:D},{a:$}])=>{var w=h`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},b=class extends g{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=$(this),this._direction=v(),this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:s}=this;return e?this._direction==="rtl"?s==="start"?"chevrons-left":"chevrons-right":s==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),s=this._renderExpander(),l=this._renderName(),d=this._renderBadge(),o=[s,l,d];return this.expandDirection==="start"&&o.reverse(),n`<div aria-label=${this.label??c} class=${a(e)}>${o}</div>`}_renderExpander(){let e=this._getIcon();return n`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return n`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",s="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,d=this._timeZone===s,o=n`<calcite-label class=${a(r(t.label,(!this.expanded||!d)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=n`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||d)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[o,y]}};u("arcgis-time-zone-label",b);return b},"core/reactiveUtils",b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import{a as r}from"./RR5IN5TC.js";import{a as i}from"./A3SVXOAL.js";import"./7OJLYFHT.js";import"./VFSJP5BE.js";import{R as n,S as o,W as l,t as s,u as t}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{watch:c}])=>{var h=s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,p="arcgis-print",d={advancedOptionsContainer:`${p}__advanced-options-container`},a=class extends n{constructor(){super(...arguments),this._handles=r("disconnect")}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(c(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length},{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${o(d.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?i("author-info",t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`):null}_renderCopyrightSection(){return this._showCopyrightInput?i("copyright-text",t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`):null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label></div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>`:null}};l("arcgis-print-layout-advanced-options",a);return a},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import e from"./P6DN5AVM.js";import c from"./VXCEBOS2.js";import b from"./ORUNU6U6.js";import{f as d}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import{c as r,i as g}from"./STPE5PQL.js";import{D as s,G as o,R as h,W as a,t as n}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([c,w,,{a:i},m])=>{var p=n`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`,b=m(w),l=class extends h{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attachmentsColumns=this.widget.attachmentsColumns,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumn=this.widget.actionColumn,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allColumns=this.widget.allColumns,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.allVisibleColumns=this.widget.allVisibleColumns,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.attachmentsViewOptions=this.widget.attachmentsViewOptions,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnPerformanceModeDisabled=this.widget.columnPerformanceModeEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.definitionExpression=this.widget.definitionExpression,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.fieldColumns=this.widget.fieldColumns,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.groupColumns=this.widget.groupColumns,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideLayerDropdownIcons=this.widget.visibleElements.layerDropdownIcons,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.multipleSortPriority=this.widget.multipleSortPriority,this.navigationScale=this.widget.navigationScale,this.noDataMessage=this.widget.noDataMessage,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.relationshipColumns=this.widget.relationshipColumns,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.supportsAddAttachments=this.widget.supportsAddAttachments,this.supportsAttachments=this.widget.supportsAttachments,this.supportsDeleteAttachments=this.widget.supportsDeleteAttachments,this.supportsResizeAttachments=this.widget.supportsResizeAttachments,this.supportsUpdateAttachments=this.widget.supportsUpdateAttachments,this.syncTemplateOnChangesDisabled=this.widget.syncTemplateOnChangesEnabled,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.visibleColumns=this.widget.visibleColumns,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=d()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=s(),this.arcgisSelectionChange=s()}static{this.properties={attachmentsColumns:0,attributeTableTemplate:0,actionColumn:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allColumns:0,allRelatedTablesVisible:4,allVisibleColumns:0,attachmentsEnabled:5,attachmentsViewOptions:0,autoDestroyDisabled:5,autoRefreshDisabled:5,columnPerformanceModeDisabled:5,columnReorderingDisabled:5,columns:0,definitionExpression:1,description:1,editingEnabled:5,effectiveSize:8,fieldColumns:0,filterBySelectionEnabled:5,filterGeometry:0,groupColumns:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideLayerDropdownIcons:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,multipleSortPriority:1,navigationScale:1,noDataMessage:1,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,relationshipColumns:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,supportsAddAttachments:4,supportsAttachments:4,supportsDeleteAttachments:4,supportsResizeAttachments:4,supportsUpdateAttachments:4,syncTemplateOnChangesDisabled:5,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1,visibleColumns:0}}static{this.shadowRootOptions=o}static{this.styles=p}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(r(this.layerItemId)?this.layer=null:this.layerItemId&&c.fromPortalItem({portalItem:{id:this.layerItemId}}).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?c.fromArcGISServerUrl({url:t}).then(u=>{this.layer=u}).catch(console.error):this.layer=null}}loaded(){g(this)?.classList.add("arcgis-feature-table")}};a("arcgis-feature-table",l);return l},"layers/Layer","widgets/FeatureTable",b,c,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import d from"./P6DN5AVM.js";import c from"./VXCEBOS2.js";import b from"./ORUNU6U6.js";import{f as r}from"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as e,G as s,R as o,W as a}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{watch:h},w,,,l])=>{var d=l(w),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.extentToValidate=this.widget.extentToValidate,this.icon=this.widget.icon,this.label=this.widget.label,this.position="top-right",this.state=this.viewModel.state,this.utilityNetwork=this.widget.utilityNetwork,this.arcgisPropertyChange=r()("state"),this.arcgisReady=e()}static{this.properties={view:16,autoDestroyDisabled:5,extentToValidate:1,icon:1,label:1,position:1,referenceElement:1,state:3,utilityNetwork:0}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}async loaded(){await this._loadUtilityNetwork(),this.manager.onLifecycle(()=>[h(()=>this.view,()=>{this._loadUtilityNetwork()})])}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let i=this.view.map.utilityNetworks?.getItemAt(0);await i?.load(),this.utilityNetwork=i}}};a("arcgis-utility-network-validate-topology",t);return t},"core/reactiveUtils","widgets/UtilityNetworkValidateTopology",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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.60 */
|
|
4
|
+
import"./FA2S25XN.js";import{b as B}from"./MEIEVEME.js";import d from"./ILHLEL7R.js";import{a as L}from"./XIZGUX3S.js";import{a as _}from"./6I6JVCPA.js";import b from"./VXCEBOS2.js";import a from"./ORUNU6U6.js";import"./7OJLYFHT.js";import"./VFSJP5BE.js";import"./STPE5PQL.js";import{D as w,G as C,R as y,S as r,T as p,W as g,a as c,u}from"./FRPYCBJN.js";import"./N53227AG.js";export default $arcgis.t(([{getDefaultUnitForView:R},{watch:U},{formatNumber:D},S,,,M])=>{function x($=0,t=0){return{x:$,y:t}}var a="esri-scale-bar",e={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=M(S),f=class extends y{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=C}get unit(){return this._unit??this._defaultUnit}set unit(t){this._unit=t}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>U(()=>({defaultUnit:this.viewModel.view?R(this.viewModel.view):void 0,stationary:this.viewModel.view?.stationary,center:this.viewModel.view?.center,scale:this.viewModel.view?.scale,zoom:this.viewModel.view?.zoom}),({defaultUnit:t,stationary:i})=>{this._defaultUnit=t??"metric",i&&this.requestUpdate()},{initial:!0}))}_handleContainerRef(t){t!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){let t=this.el;if(!this.viewModel&&!t.childElem)return;let i=t.childElem?.getBoundingClientRect();if(!i)return;let{scaleComputedFrom:l}=this.viewModel,d=i.left+window.pageXOffset,o=i.top+window.pageYOffset,n=x(d,o);(n.x!==l.x||n.y!==l.y)&&(this.viewModel.scaleComputedFrom=n)}_formatDistance(t,i){return D(t,{style:"unit",unit:i,unitDisplay:"short"})}render(){let t=this.viewModel.state==="disabled",i={[_.disabled]:t},l,d;if(!t){let{unit:o,barStyle:n}=this,v=o==="imperial"||o==="dual",b=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":n;if(v){let s=this.viewModel.getScaleBarProperties(m,"imperial");s&&(d=h==="ruler"?this._renderRuler(s):this._renderLine(s,"bottom"))}if(b){let s=this.viewModel.getScaleBarProperties(m,"metric");s&&(l=h==="ruler"?this._renderRuler(s):this._renderLine(s,"top"))}}return u`<div class=${r(c(e.base,_.widget,i))} ${B(this._handleContainerRef)}>${l}${d}</div>`}_renderRuler(t){let{length:i,unit:l,value:d}=t,o=Math.round(i),n=this._formatDistance(d,l);return u`<div class=${r(c(e.barContainer,e.rulerBarContainer))}><div class=${r(e.ruler)} style=${p({width:`${o}px`})}><div class=${r(e.rulerBlock)}></div><div class=${r(e.rulerBlock)}></div><div class=${r(e.rulerBlock)}></div><div class=${r(e.rulerBlock)}></div></div><div class=${r(c(e.labelContainer,e.rulerLabelContainer))}><div class=${r(e.label)}>0</div><div class=${r(e.label)}>${n}</div></div></div>`}_renderLine(t,i){let{length:l,unit:d,value:o}=t,n=Math.round(l),v=this._formatDistance(o,d),b={[e.topLabelContainer]:i==="top",[e.bottomLabelContainer]:i==="bottom"},m=u`<div class=${r(c(e.labelContainer,e.lineLabelContainer,b))}><div class=${r(e.label)}>${v}</div></div>`,h={[e.topLine]:i==="top",[e.bottomLine]:i==="bottom"},s=u`<div class=${r(c(e.line,h))} style=${p({width:`${n}px`})}></div>`;return u`<div class=${r(c(e.barContainer,e.lineBarContainer))}>${[s,m]}</div>`}};g("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,d)
|