@arcgis/map-components 6.0.0-next.4 → 6.0.0-next.41
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/{ZBC5RBCD.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/2BKWAHTD.js +2 -0
- package/dist/cdn/2EXFLJU6.js +2 -0
- package/dist/cdn/2J6WEB6T.js +2 -0
- package/dist/cdn/2JSC2QUL.js +2 -0
- package/dist/cdn/2PRSXEWN.js +2 -0
- package/dist/cdn/2TATEEFZ.js +2 -0
- package/dist/cdn/2X67IX24.js +2 -0
- package/dist/cdn/3AMV4V75.js +2 -0
- package/dist/cdn/3GEL52XF.js +2 -0
- package/dist/cdn/{QKZ552KI.js → 3SMFVQGP.js} +1 -1
- package/dist/cdn/3TKC6DSX.js +2 -0
- package/dist/cdn/3VFPLRD3.js +2 -0
- package/dist/cdn/42QIJYPN.js +2 -0
- package/dist/cdn/{AN7R3DP5.js → 43IGD6V3.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → 446K7RDY.js} +1 -1
- package/dist/cdn/44ZEP4IY.js +2 -0
- package/dist/cdn/46XABBUQ.js +2 -0
- package/dist/cdn/4DRKK3S6.js +2 -0
- package/dist/cdn/4HP7BSCJ.js +2 -0
- package/dist/cdn/4JR57ZIQ.js +2 -0
- package/dist/cdn/4KLQZIOV.js +2 -0
- package/dist/cdn/{QT7GRA34.js → 4LFTK2G2.js} +1 -1
- package/dist/cdn/{DUMHDAYP.js → 4O6ZYILT.js} +1 -1
- package/dist/cdn/4OOG2D4K.js +2 -0
- package/dist/cdn/4PM34QMT.js +2 -0
- package/dist/cdn/4U6DCBKV.js +2 -0
- package/dist/cdn/5CXJJCRX.js +2 -0
- package/dist/cdn/5GEEJRIV.js +2 -0
- package/dist/cdn/5IWCWL2Q.js +2 -0
- package/dist/cdn/5VK56DPB.js +2 -0
- package/dist/cdn/{ABOTJ6RE.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/{VTCE3YQW.js → 5YPWQQGI.js} +1 -1
- package/dist/cdn/625O4F4L.js +2 -0
- package/dist/cdn/64Z2GM4G.js +2 -0
- package/dist/cdn/6BT6RP22.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → 6DNLVSRG.js} +1 -1
- package/dist/cdn/6GFNMSM4.js +2 -0
- package/dist/cdn/6H3MIUBS.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6QZ7MAGX.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6WT5CUW4.js +2 -0
- package/dist/cdn/7LXH7MOG.js +2 -0
- package/dist/cdn/7P24CQF4.js +2 -0
- package/dist/cdn/7PMJ7HCH.js +2 -0
- package/dist/cdn/A6ANFEOT.js +2 -0
- package/dist/cdn/AGMTGWSW.js +2 -0
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/ANB7YZCR.js +2 -0
- package/dist/cdn/{V2YPYCU6.js → ANL4FWAY.js} +1 -1
- package/dist/cdn/{2SO5S66J.js → AV6RANT4.js} +1 -1
- package/dist/cdn/B5JHLGAR.js +2 -0
- package/dist/cdn/{KBA5OIES.js → BBCJXNKF.js} +1 -1
- package/dist/cdn/BDWZ4IDY.js +2 -0
- package/dist/cdn/BJUFDQGX.js +2 -0
- package/dist/cdn/BMCWYFA5.js +2 -0
- package/dist/cdn/BUJRBKUJ.js +2 -0
- package/dist/cdn/BXBPEOE3.js +2 -0
- package/dist/cdn/BZ7I4EVH.js +2 -0
- package/dist/cdn/C56JAWYF.js +2 -0
- package/dist/cdn/C6YBFPOZ.js +2 -0
- package/dist/cdn/CDZ5APA7.js +2 -0
- package/dist/cdn/CLAUPAZP.js +2 -0
- package/dist/cdn/CN4RPDZZ.js +2 -0
- package/dist/cdn/CNUAMIZQ.js +3 -0
- package/dist/cdn/CRF4QEYX.js +2 -0
- package/dist/cdn/CRJB272X.js +2 -0
- package/dist/cdn/CX23L4OX.js +2 -0
- package/dist/cdn/D3EEDNNQ.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → D73SZKP6.js} +1 -1
- package/dist/cdn/D7RGMUI2.js +2 -0
- package/dist/cdn/DBDYLXR3.js +2 -0
- package/dist/cdn/DENZ276N.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DJTPCTD2.js +2 -0
- package/dist/cdn/{WBBTZNZU.js → DP2UXNPJ.js} +1 -1
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DVH35LZL.js +2 -0
- package/dist/cdn/DVLTVCIH.js +2 -0
- package/dist/cdn/DXPNJHEM.js +2 -0
- package/dist/cdn/DYKRS7YX.js +2 -0
- package/dist/cdn/{HPWF3IQV.js → E3RBRDUV.js} +1 -1
- package/dist/cdn/EG2L67V5.js +2 -0
- package/dist/cdn/ELK22XFC.js +2 -0
- package/dist/cdn/EMOYKTQL.js +2 -0
- package/dist/cdn/EPPCGUBI.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → EZFBYRI4.js} +1 -1
- package/dist/cdn/F5JWLUNT.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → F5X65A3N.js} +1 -1
- package/dist/cdn/{RRSU6QD4.js → F6OOD4XH.js} +1 -1
- package/dist/cdn/FK6XIGNL.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → FK7DDNOY.js} +1 -1
- package/dist/cdn/FPE4MRJJ.js +2 -0
- package/dist/cdn/FTRRLFYT.js +2 -0
- package/dist/cdn/FY7P5YLX.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → G4CULX2V.js} +1 -1
- package/dist/cdn/G7UA3GCV.js +2 -0
- package/dist/cdn/GA75N36P.js +2 -0
- package/dist/cdn/GDE46UIN.js +2 -0
- package/dist/cdn/GEZIZQV6.js +2 -0
- package/dist/cdn/{V62TVP3T.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/GGS33TQP.js +2 -0
- package/dist/cdn/{OUC5HWPQ.js → GKMKHUYO.js} +1 -1
- package/dist/cdn/GMXEWGVF.js +2 -0
- package/dist/cdn/GOMR7D5M.js +2 -0
- package/dist/cdn/GQDEVRKG.js +2 -0
- package/dist/cdn/GRZJXRZ5.js +2 -0
- package/dist/cdn/{65MI3MW2.js → GTQOMGD7.js} +1 -1
- package/dist/cdn/GZOFHTYL.js +2 -0
- package/dist/cdn/H3BORJ4D.js +2 -0
- package/dist/cdn/H7KPXXYG.js +2 -0
- package/dist/cdn/HKKNU4CX.js +2 -0
- package/dist/cdn/HOMM5T7F.js +2 -0
- package/dist/cdn/HR7ZYFTI.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → HTUN6GST.js} +1 -1
- package/dist/cdn/HU2SSY4B.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → HU6UTBYZ.js} +1 -1
- package/dist/cdn/HUZLTULW.js +2 -0
- package/dist/cdn/HXQ26YHC.js +2 -0
- package/dist/cdn/I7XTEFQP.js +2 -0
- package/dist/cdn/ICVPF3HG.js +2 -0
- package/dist/cdn/{FHHVGI4H.js → IGJX57YC.js} +1 -1
- package/dist/cdn/IH2T7XRU.js +2 -0
- package/dist/cdn/IH7XQCY4.js +2 -0
- package/dist/cdn/IRDDLVT2.js +2 -0
- package/dist/cdn/IW3P4TGM.js +4 -0
- package/dist/cdn/{4HNRKSQ2.js → IZFEOYED.js} +1 -1
- package/dist/cdn/J2UKNBRU.js +2 -0
- package/dist/cdn/J4Q5N5D6.js +2 -0
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{ET4UP4EQ.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JFE63ANJ.js +2 -0
- package/dist/cdn/JILA7S66.js +2 -0
- package/dist/cdn/JPQ5ELDQ.js +2 -0
- package/dist/cdn/JWCEHGEZ.js +2 -0
- package/dist/cdn/K2FK6DOL.js +2 -0
- package/dist/cdn/KBRYRH7T.js +2 -0
- package/dist/cdn/KKSTZRNG.js +2 -0
- package/dist/cdn/KLSIUZNN.js +2 -0
- package/dist/cdn/KMT6GH2D.js +2 -0
- package/dist/cdn/KWY77UEE.js +2 -0
- package/dist/cdn/{52CUDGKY.js → KWYTKFIZ.js} +1 -1
- package/dist/cdn/{S6BPBG7D.js → L2L5W4AL.js} +1 -1
- package/dist/cdn/L3G6WFXY.js +2 -0
- package/dist/cdn/L6B4S7NV.js +2 -0
- package/dist/cdn/LDNST76E.js +2 -0
- package/dist/cdn/LGBJIOTW.js +2 -0
- package/dist/cdn/LHH3PS5H.js +2 -0
- package/dist/cdn/{SIFBGT4D.js → LI3NOBHV.js} +1 -1
- package/dist/cdn/LQYTLVCL.js +2 -0
- package/dist/cdn/LU7T7KSQ.js +2 -0
- package/dist/cdn/LUXHFHRT.js +2 -0
- package/dist/cdn/LWX6L3JT.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/{YDZZPLVB.js → LZUAJU6O.js} +1 -1
- package/dist/cdn/M4PV743P.js +2 -0
- package/dist/cdn/{OAYNZFL2.js → M4RV2DCP.js} +1 -1
- package/dist/cdn/M5YUKXZG.js +2 -0
- package/dist/cdn/MG2HQ3FT.js +2 -0
- package/dist/cdn/MGERV5RP.js +2 -0
- package/dist/cdn/MVTCAJTE.js +2 -0
- package/dist/cdn/MVVX32NQ.js +2 -0
- package/dist/cdn/N4HZLXED.js +2 -0
- package/dist/cdn/NC7HMCQS.js +2 -0
- package/dist/cdn/NCI2IL35.js +2 -0
- package/dist/cdn/NF426VVG.js +2 -0
- package/dist/cdn/NITCLRB6.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → NN4HL3RN.js} +1 -1
- package/dist/cdn/NPWUWO5D.js +2 -0
- package/dist/cdn/NTEKRSNB.js +2 -0
- package/dist/cdn/NYIKMTKG.js +2 -0
- package/dist/cdn/NZQCJQ4Q.js +2 -0
- package/dist/cdn/O2RCWKKW.js +2 -0
- package/dist/cdn/OAZQQASF.js +2 -0
- package/dist/cdn/OJDGKV5X.js +2 -0
- package/dist/cdn/OMDFAKMT.js +2 -0
- package/dist/cdn/{P2I63WVL.js → OT4D3TVG.js} +1 -1
- package/dist/cdn/OWJ5ENXR.js +2 -0
- package/dist/cdn/OZ7HDVE2.js +2 -0
- package/dist/cdn/PQ4HZRQ5.js +2 -0
- package/dist/cdn/PSBSMEOS.js +2 -0
- package/dist/cdn/PTJOLAFO.js +2 -0
- package/dist/cdn/PTS3BVGQ.js +2 -0
- package/dist/cdn/PWG3JEER.js +2 -0
- package/dist/cdn/PWMO74B5.js +2 -0
- package/dist/cdn/PXRN3VUN.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/QHO5AMUP.js +2 -0
- package/dist/cdn/QNQOBXLM.js +2 -0
- package/dist/cdn/QVI5ZINK.js +2 -0
- package/dist/cdn/RC7AEIEI.js +2 -0
- package/dist/cdn/RCJ3GROZ.js +2 -0
- package/dist/cdn/RIWLSAPB.js +2 -0
- package/dist/cdn/RLG3UWIL.js +2 -0
- package/dist/cdn/RX7LVZ5V.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → SAI7K4OO.js} +1 -1
- package/dist/cdn/SC4BF7H6.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → SKV3CQSZ.js} +1 -1
- package/dist/cdn/SMEVSYDK.js +2 -0
- package/dist/cdn/{MICLX7QW.js → SMMOQFAB.js} +1 -1
- package/dist/cdn/SN6VSKBM.js +2 -0
- package/dist/cdn/SPJZCPH4.js +2 -0
- package/dist/cdn/{M6YVO33A.js → SQH7I4MS.js} +1 -1
- package/dist/cdn/SRPQR7CY.js +2 -0
- package/dist/cdn/ST5CGV6Q.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → SUGD5PEJ.js} +1 -1
- package/dist/cdn/T2BFHU2Z.js +2 -0
- package/dist/cdn/T2JBUILX.js +2 -0
- package/dist/cdn/TCY4IVTP.js +2 -0
- package/dist/cdn/TEEHMUMV.js +2 -0
- package/dist/cdn/THHQJGUB.js +2 -0
- package/dist/cdn/TII37L6V.js +2 -0
- package/dist/cdn/TJHVEY7T.js +2 -0
- package/dist/cdn/TLZBUTWJ.js +2 -0
- package/dist/cdn/{XKCB2DEP.js → TRRAIBBM.js} +1 -1
- package/dist/cdn/TXVB6WRV.js +2 -0
- package/dist/cdn/U2UY53UR.js +2 -0
- package/dist/cdn/U2XP3I7M.js +2 -0
- package/dist/cdn/U53HTVZS.js +2 -0
- package/dist/cdn/U6BOSBYA.js +2 -0
- package/dist/cdn/U6UL7OKY.js +2 -0
- package/dist/cdn/UI3RWIDZ.js +2 -0
- package/dist/cdn/UIDNNWPD.js +2 -0
- package/dist/cdn/UJBFSJDF.js +2 -0
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/V345T5CR.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → V6CCL3L6.js} +1 -1
- package/dist/cdn/VQURMPYV.js +2 -0
- package/dist/cdn/VRUG5L4Z.js +2 -0
- package/dist/cdn/VVLJLOSE.js +2 -0
- package/dist/cdn/VZUPHB6L.js +2 -0
- package/dist/cdn/WNXQHRKE.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → WRB2DEQ6.js} +1 -1
- package/dist/cdn/{FQSHLYKX.js → WV3Q2QUS.js} +1 -1
- package/dist/cdn/WVRIR3PK.js +2 -0
- package/dist/cdn/WYQAN63T.js +2 -0
- package/dist/cdn/X64WORSC.js +2 -0
- package/dist/cdn/XFQWANZ4.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → XMYFUC6S.js} +1 -1
- package/dist/cdn/{N3DTZRST.js → XQRLK3FO.js} +1 -1
- package/dist/cdn/{OAMA6SL3.js → XRQKJFNJ.js} +1 -1
- package/dist/cdn/XWGAKGVP.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → XXDJKZSO.js} +1 -1
- package/dist/cdn/Y4GL4RZF.js +2 -0
- package/dist/cdn/Y5BPYGSY.js +2 -0
- package/dist/cdn/Y6MM3GUE.js +2 -0
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{26URLKXD.js → Y6ZJNJZ7.js} +1 -1
- package/dist/cdn/Y6ZUXP3Q.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → YDDOSD2C.js} +1 -1
- package/dist/cdn/YE6AOCCR.js +2 -0
- package/dist/cdn/YEPFWDQQ.js +2 -0
- package/dist/cdn/{PIDNZKSJ.js → YEPGUNSV.js} +1 -1
- package/dist/cdn/YGBYB3BZ.js +2 -0
- package/dist/cdn/{XP74F2F6.js → YGD6HMAF.js} +1 -1
- package/dist/cdn/YIN7QUD2.js +2 -0
- package/dist/cdn/YVXXZIP7.js +2 -0
- package/dist/cdn/YWKKRBFW.js +2 -0
- package/dist/cdn/Z6JIKBXL.js +2 -0
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{3ONY25MG.js → ZRBE5FVD.js} +1 -1
- package/dist/cdn/ZRT4RJ62.js +2 -0
- package/dist/cdn/ZSO62SMG.js +2 -0
- package/dist/cdn/{IAWXCNTX.js → ZXE7NGIY.js} +1 -1
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/chart-utils.js +12 -12
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-next.js +49 -4
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/print-exports-panel-item-popover.js +1 -1
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/useArcgisViewReadyError.js +226 -156
- package/dist/chunks/useViewModel.js +7 -7
- package/dist/chunks/utils.js +17 -17
- package/dist/chunks/utils5.js +2 -2
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +12 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
- package/dist/components/{arcgis-feature-form-field → arcgis-attachment-detail-view}/customElement.d.ts +72 -28
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +24 -24
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +7 -4
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +125 -122
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +10 -7
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +87 -86
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +6 -5
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +38 -38
- package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
- package/dist/components/arcgis-daylight/customElement.js +136 -132
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +14 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +53 -58
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-editor/customElement.d.ts +44 -22
- package/dist/components/arcgis-editor/customElement.js +17 -12
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +17 -9
- package/dist/components/arcgis-elevation-profile/customElement.js +95 -97
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
- package/dist/components/arcgis-expand/customElement.d.ts +49 -2
- package/dist/components/arcgis-expand/customElement.js +47 -47
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +57 -54
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
- package/dist/components/arcgis-feature-content/customElement.js +4 -4
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +47 -47
- package/dist/components/arcgis-feature-fields/customElement.js +16 -16
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
- package/dist/components/arcgis-feature-media/customElement.js +263 -216
- package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +23 -16
- package/dist/components/arcgis-feature-relationship/customElement.js +97 -98
- package/dist/components/arcgis-feature-table/customElement.d.ts +83 -64
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +6 -6
- package/dist/components/arcgis-features/customElement.js +19 -18
- package/dist/components/arcgis-features-next/customElement.d.ts +14 -8
- package/dist/components/arcgis-features-next/customElement.js +190 -150
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +41 -41
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-grid-controls/customElement.d.ts +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-labeled-switch/customElement.js +5 -5
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +8 -7
- package/dist/components/arcgis-layer-list-next/customElement.js +146 -135
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +62 -62
- package/dist/components/arcgis-legend/customElement.d.ts +3 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +17 -5
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +41 -26
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +65 -53
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +4 -4
- package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +18 -11
- package/dist/components/arcgis-popup/customElement.js +199 -183
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
- 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 +5 -5
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-out-spatial-reference-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 +8 -8
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +11 -11
- package/dist/components/arcgis-scene/customElement.d.ts +69 -33
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +17 -6
- package/dist/components/arcgis-search/customElement.js +3 -0
- package/dist/components/arcgis-selection-list/customElement.d.ts +14 -2
- package/dist/components/arcgis-selection-list/customElement.js +11 -11
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +24 -6
- package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +31 -12
- package/dist/components/arcgis-shadow-cast/customElement.js +88 -69
- package/dist/components/arcgis-shadow-cast/index.js +1 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +387 -50
- package/dist/components/arcgis-sketch/customElement.js +444 -248
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +16 -8
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +8 -29
- package/dist/components/arcgis-swipe/customElement.js +247 -65
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +4 -1
- package/dist/components/arcgis-table-list-next/customElement.js +65 -63
- package/dist/components/arcgis-time-bar/customElement.d.ts +486 -409
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar/types.d.ts +36 -15
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +196 -174
- package/dist/components/arcgis-time-bar-slider/customElement.js +62 -63
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -7
- package/dist/components/arcgis-time-slider/customElement.js +10 -9
- package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
- package/dist/components/arcgis-track/customElement.d.ts +19 -10
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
- package/dist/components/arcgis-utility-network-picker/customElement.js +33 -32
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +107 -19
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +34 -27
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +61 -17
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +85 -81
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +147 -12
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +32 -39
- package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +1 -2
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +126 -30
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +88 -81
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +63 -9
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +8 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +243 -14
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +124 -110
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +0 -1
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +177 -23
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +167 -129
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +170 -32
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -125
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +159 -2
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.d.ts +19 -1
- package/dist/components/arcgis-video/customElement.js +7 -4
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +37 -6
- package/dist/components/arcgis-video-player/customElement.js +110 -102
- package/dist/components/arcgis-video-player/index.js +4 -4
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-video-player-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
- package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
- package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
- package/dist/components/arcgis-video-player-slider/index.js +1 -0
- package/dist/components/arcgis-view-popover/customElement.d.ts +65 -33
- package/dist/components/arcgis-view-popover/customElement.js +196 -108
- package/dist/components/arcgis-view-popover/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +34 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +64 -64
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +22 -24
- package/dist/loader.js +24 -24
- package/dist/types/lumina.d.ts +31 -45
- package/dist/types/preact.d.ts +32 -48
- package/dist/types/react.d.ts +33 -51
- package/dist/types/stencil.d.ts +31 -45
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/2UKSCGYU.js +0 -2
- package/dist/cdn/3C6FN5WT.js +0 -2
- package/dist/cdn/3GHQZCMV.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/53OXTCE6.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5DY7GHBN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/5RAIBYCT.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/6VO7G2UX.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BJWJ6E3L.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BQBWXR6P.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CF54A7MK.js +0 -2
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DY2EOHFD.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E54VGGFM.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EMXGW73P.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/F5IHFPKA.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/FPPWXIBA.js +0 -2
- package/dist/cdn/FSBLGH6E.js +0 -2
- package/dist/cdn/FZAQZSRA.js +0 -2
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GNSNEUMI.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/H4LMELM2.js +0 -2
- package/dist/cdn/H7NR6B6S.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/J3FRSWZD.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/LOOJWRCW.js +0 -2
- package/dist/cdn/LU22VNJ7.js +0 -2
- package/dist/cdn/LY6LSUSY.js +0 -2
- package/dist/cdn/LZVMUNZC.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MBGCAZPS.js +0 -4
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NDCZFJEK.js +0 -3
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NWFGMNGG.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OAMPGCZF.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBHNO4J7.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PWHXRRFU.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QCVMDYJD.js +0 -2
- package/dist/cdn/QEPANMVK.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TKILR2SM.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/VDEMMP33.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VOBRCUIE.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WO26ZR5Z.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WS46QSWM.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z6AVJWLP.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZAUG5MSY.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- package/dist/cdn/ZO7TUIUE.js +0 -2
- package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
- package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
- package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
- package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
- package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
- package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
- package/dist/components/arcgis-sketch/support.d.ts +0 -17
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +0 -5
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -75
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
- package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
- package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
- package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
- /package/dist/cdn/{LW4IDPBB.js → 2P5AJORF.js} +0 -0
- /package/dist/cdn/{M4D5WUVD.js → 4LWSF6AI.js} +0 -0
- /package/dist/cdn/{I4AEBGQM.js → 5GGAWGSN.js} +0 -0
- /package/dist/cdn/{RUW7CDCH.js → 5GTPIPN7.js} +0 -0
- /package/dist/cdn/{5WKEDXRT.js → 62HMPABL.js} +0 -0
- /package/dist/cdn/{Y37UMTGV.js → 7YT5W57B.js} +0 -0
- /package/dist/cdn/{WEOKELJE.js → AKTIOEYM.js} +0 -0
- /package/dist/cdn/{VKRAWBPC.js → AYQJ2LTV.js} +0 -0
- /package/dist/cdn/{REGHMH6D.js → CHMBPPHS.js} +0 -0
- /package/dist/cdn/{UHI54OG6.js → DLUFAV4S.js} +0 -0
- /package/dist/cdn/{7FGOCFTQ.js → DPEWQQEB.js} +0 -0
- /package/dist/cdn/{36ZT6IRE.js → ECA47Z37.js} +0 -0
- /package/dist/cdn/{IBN4TKBI.js → FJMXBIN5.js} +0 -0
- /package/dist/cdn/{OCQXPA57.js → G4IKO2R6.js} +0 -0
- /package/dist/cdn/{22I5XGTS.js → GCPR7XFU.js} +0 -0
- /package/dist/cdn/{QVAB57VJ.js → IAYL44LK.js} +0 -0
- /package/dist/cdn/{QNBNH7ME.js → IRFIHD5X.js} +0 -0
- /package/dist/cdn/{4657ONKJ.js → KOMTNQPT.js} +0 -0
- /package/dist/cdn/{CUVRESLH.js → LS4U4GD5.js} +0 -0
- /package/dist/cdn/{GUZCA62E.js → LVIYMA67.js} +0 -0
- /package/dist/cdn/{HJVHORPG.js → MEISDI2H.js} +0 -0
- /package/dist/cdn/{YHPASRFL.js → N2YWWQOS.js} +0 -0
- /package/dist/cdn/{DNE47HSP.js → NVKOZL7X.js} +0 -0
- /package/dist/cdn/{24MLXKMZ.js → NVN2CATF.js} +0 -0
- /package/dist/cdn/{4O6FFXUV.js → OFBWNR54.js} +0 -0
- /package/dist/cdn/{A7SZYQDH.js → OLSESBZ7.js} +0 -0
- /package/dist/cdn/{54GFXFK4.js → PWZHB6VD.js} +0 -0
- /package/dist/cdn/{XULIO6Y3.js → QWMDZDQA.js} +0 -0
- /package/dist/cdn/{ONFKLY6Q.js → RTDY3HLR.js} +0 -0
- /package/dist/cdn/{LUTUHOKB.js → SFDCS6A2.js} +0 -0
- /package/dist/cdn/{OX3WBUBR.js → SLNXNVPI.js} +0 -0
- /package/dist/cdn/{75UV3NKU.js → SLQPDAGN.js} +0 -0
- /package/dist/cdn/{R2D2TXL4.js → T34W3GKP.js} +0 -0
- /package/dist/cdn/{C5XAFXEL.js → TP2KQRW6.js} +0 -0
- /package/dist/cdn/{EH4CBZNF.js → UDXDE3LW.js} +0 -0
- /package/dist/cdn/{JZHZCJTJ.js → XCSF7KJK.js} +0 -0
- /package/dist/cdn/{NWRWQZGL.js → XGWYQ7FU.js} +0 -0
- /package/dist/cdn/{OCFIQBYK.js → XQ2WXTW7.js} +0 -0
- /package/dist/cdn/{PS3KSP2J.js → ZCL4XHIZ.js} +0 -0
- /package/dist/cdn/{42G6XTIG.js → ZHYXFOYU.js} +0 -0
- /package/dist/cdn/{PY5VGH7F.js → ZNIMZP5R.js} +0 -0
- /package/dist/cdn/{R2P5JM7G.js → ZSKO7HLH.js} +0 -0
- /package/dist/components/{arcgis-feature-form-field-number → arcgis-attachment-detail-view}/index.d.ts +0 -0
- /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
|
@@ -1,40 +1,31 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { substitute as
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
import { reEmitEvent as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { watch as
|
|
11
|
-
import { u as
|
|
12
|
-
import { m as
|
|
13
|
-
import { V as
|
|
14
|
-
import { createRef as
|
|
15
|
-
import
|
|
16
|
-
import { S as
|
|
17
|
-
import { getOrCreateMapValue as
|
|
18
|
-
import { LayoutPriorities as
|
|
19
|
-
import
|
|
20
|
-
import { property as
|
|
21
|
-
import { ignoreAbortErrors as
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import { AsyncDirective as
|
|
26
|
-
import { directive as
|
|
27
|
-
import { r as
|
|
28
|
-
|
|
29
|
-
"bottom-end",
|
|
30
|
-
"bottom-start",
|
|
31
|
-
"bottom-left",
|
|
32
|
-
"bottom-right",
|
|
33
|
-
"top-end",
|
|
34
|
-
"top-start",
|
|
35
|
-
"top-left",
|
|
36
|
-
"top-right"
|
|
37
|
-
], me = new Set(ge);
|
|
2
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as q, noChange as z, html as b } from "lit";
|
|
4
|
+
import { substitute as j } from "@arcgis/core/intl.js";
|
|
5
|
+
import { GenericController as J, usePropertyChange as Q, useWatchAttributes as X } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { reEmitEvent as T } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
7
|
+
import Y from "@arcgis/core/layers/GraphicsLayer.js";
|
|
8
|
+
import Z from "@arcgis/core/symbols/TextSymbol.js";
|
|
9
|
+
import { LitElement as ee, createEvent as te, nothing as I } from "@arcgis/lumina";
|
|
10
|
+
import { watch as v, on as ie, whenOnce as oe } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import { u as se } from "../../chunks/useT9n.js";
|
|
12
|
+
import { m as ne } from "../../chunks/useViewModel.js";
|
|
13
|
+
import { V as M } from "../../chunks/visible-element.js";
|
|
14
|
+
import { createRef as L, ref as k } from "lit/directives/ref.js";
|
|
15
|
+
import le from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
16
|
+
import { S as re } from "../../chunks/resources.js";
|
|
17
|
+
import { getOrCreateMapValue as F, createReactiveMap as ae } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
18
|
+
import { LayoutPriorities as E } from "@arcgis/common-components";
|
|
19
|
+
import ce from "@arcgis/core/core/Accessor.js";
|
|
20
|
+
import { property as g, subclass as he } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
21
|
+
import { ignoreAbortErrors as _ } from "@arcgis/core/core/promiseUtils.js";
|
|
22
|
+
import de from "@arcgis/core/widgets/Sketch/VisibleElements.js";
|
|
23
|
+
import pe from "@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js";
|
|
24
|
+
import { c as ge } from "../../chunks/loader-utils.js";
|
|
25
|
+
import { AsyncDirective as ue } from "lit/async-directive.js";
|
|
26
|
+
import { directive as me, PartType as ve } from "lit/directive.js";
|
|
27
|
+
import { r as fe } from "../../chunks/async-utils.js";
|
|
28
|
+
import { observeAncestorsMutation as ye } from "@arcgis/toolkit/dom";
|
|
38
29
|
function D(i, e) {
|
|
39
30
|
let t = e;
|
|
40
31
|
for (const o of i.split(".")) {
|
|
@@ -44,7 +35,7 @@ function D(i, e) {
|
|
|
44
35
|
}
|
|
45
36
|
return typeof t == "string" ? t : void 0;
|
|
46
37
|
}
|
|
47
|
-
const
|
|
38
|
+
const be = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}:host([data-intrinsic-toolbar-sizing]){min-inline-size:0;min-block-size:0;max-inline-size:100%;max-block-size:100%;arcgis-toolbar-stack[layout=vertical]{block-size:100%}}:host([data-intrinsic-toolbar-sizing][layout="vertical"]){display:grid;grid-template-columns:minmax(min-content,1fr);grid-template-rows:minmax(0,1fr);inline-size:fit-content;block-size:100%;.toolbar-container{block-size:auto}.toolbar-container,arcgis-view-popover{grid-area:1 / 1}}:host([data-intrinsic-toolbar-sizing][layout="vertical"][toolbar-kind="floating"]){block-size:auto}`, Ce = {
|
|
48
39
|
point: "pin",
|
|
49
40
|
polyline: "line",
|
|
50
41
|
polygon: "polygon",
|
|
@@ -55,77 +46,48 @@ const ve = H`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px
|
|
|
55
46
|
freehandPolygon: "freehand-area",
|
|
56
47
|
freehandPolyline: "freehand",
|
|
57
48
|
text: "text"
|
|
58
|
-
},
|
|
49
|
+
}, Se = {
|
|
59
50
|
selectionTools: {
|
|
60
|
-
defaultPriority:
|
|
51
|
+
defaultPriority: E.Default,
|
|
61
52
|
groupKind: "split-button",
|
|
62
53
|
overflowLabel: "selection"
|
|
63
54
|
},
|
|
64
55
|
selectionSet: {
|
|
65
|
-
defaultPriority:
|
|
56
|
+
defaultPriority: E.High,
|
|
66
57
|
groupKind: "actions"
|
|
67
58
|
},
|
|
68
59
|
createTools: {
|
|
69
|
-
defaultPriority:
|
|
60
|
+
defaultPriority: E.High,
|
|
70
61
|
groupKind: "more-button",
|
|
71
62
|
overflowLabel: "drawing"
|
|
72
63
|
},
|
|
73
64
|
undoRedo: {
|
|
74
|
-
defaultPriority:
|
|
65
|
+
defaultPriority: E.Medium,
|
|
75
66
|
groupKind: "split-button",
|
|
76
|
-
overflowLabel: "action"
|
|
67
|
+
overflowLabel: "action",
|
|
68
|
+
preferEndSlot: !0
|
|
77
69
|
},
|
|
78
70
|
settings: {
|
|
79
|
-
defaultPriority:
|
|
71
|
+
defaultPriority: E.Max,
|
|
80
72
|
groupKind: "more-button",
|
|
81
|
-
overflowLabel: "action"
|
|
73
|
+
overflowLabel: "action",
|
|
74
|
+
preferEndSlot: !0
|
|
82
75
|
},
|
|
83
76
|
geometrySimplification: {
|
|
84
|
-
defaultPriority:
|
|
85
|
-
groupKind: "actions"
|
|
86
|
-
|
|
87
|
-
}, Ce = 500, be = 1e3;
|
|
88
|
-
function Te({
|
|
89
|
-
getLoading: i,
|
|
90
|
-
setEffectiveLoading: e
|
|
91
|
-
}) {
|
|
92
|
-
let t, o;
|
|
93
|
-
function s() {
|
|
94
|
-
clearTimeout(o), o = void 0;
|
|
95
|
-
}
|
|
96
|
-
function r(n) {
|
|
97
|
-
t = n ? Date.now() : void 0, e(n);
|
|
77
|
+
defaultPriority: E.Default,
|
|
78
|
+
groupKind: "actions",
|
|
79
|
+
preferEndSlot: !0
|
|
98
80
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
o = setTimeout(() => {
|
|
105
|
-
s(), r(p);
|
|
106
|
-
}, n);
|
|
107
|
-
}
|
|
108
|
-
r(i());
|
|
109
|
-
const u = m(
|
|
110
|
-
i,
|
|
111
|
-
(n) => {
|
|
112
|
-
s(), n ? h(Ce, !0) : h(t == null ? 0 : be - (Date.now() - t), !1);
|
|
113
|
-
},
|
|
114
|
-
{ sync: !0 }
|
|
115
|
-
);
|
|
116
|
-
return ce(() => {
|
|
117
|
-
u.remove(), s();
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
var we = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, a = (i, e, t, o) => {
|
|
121
|
-
for (var s = o > 1 ? void 0 : o ? Se(e, t) : e, r = i.length - 1, h; r >= 0; r--)
|
|
122
|
-
(h = i[r]) && (s = (o ? h(e, t, s) : h(s)) || s);
|
|
81
|
+
};
|
|
82
|
+
var we = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, p = (i, e, t, o) => {
|
|
83
|
+
for (var s = o > 1 ? void 0 : o ? Te(e, t) : e, n = i.length - 1, d; n >= 0; n--)
|
|
84
|
+
(d = i[n]) && (s = (o ? d(e, t, s) : d(s)) || s);
|
|
123
85
|
return o && s && we(e, t, s), s;
|
|
124
86
|
};
|
|
125
|
-
let
|
|
87
|
+
let c = class extends ce {
|
|
126
88
|
//#region Lifecycle
|
|
127
89
|
constructor(i) {
|
|
128
|
-
super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new
|
|
90
|
+
super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new de(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
|
|
129
91
|
"point",
|
|
130
92
|
"polyline",
|
|
131
93
|
"freehandPolyline",
|
|
@@ -136,21 +98,21 @@ let l = class extends ne {
|
|
|
136
98
|
];
|
|
137
99
|
}
|
|
138
100
|
initialize() {
|
|
139
|
-
this.selectionViewModel ??= new
|
|
140
|
-
|
|
101
|
+
this.selectionViewModel ??= new pe({ persistSelection: !1 }), this.addHandles([
|
|
102
|
+
v(
|
|
141
103
|
() => this.sketchViewModel,
|
|
142
104
|
(i, e) => {
|
|
143
105
|
i !== e && this._effectiveRenderStateCache.clear();
|
|
144
106
|
},
|
|
145
107
|
{ sync: !0 }
|
|
146
108
|
),
|
|
147
|
-
|
|
109
|
+
ge({
|
|
148
110
|
getLoading: () => this.sketchViewModel?.geometrySimplificationInProgress ?? !1,
|
|
149
111
|
setEffectiveLoading: (i) => {
|
|
150
112
|
this._effectiveGeometrySimplificationInProgress = i;
|
|
151
113
|
}
|
|
152
114
|
}),
|
|
153
|
-
|
|
115
|
+
v(
|
|
154
116
|
() => this.view,
|
|
155
117
|
(i) => {
|
|
156
118
|
this.selectionViewModel.view = i;
|
|
@@ -158,30 +120,37 @@ let l = class extends ne {
|
|
|
158
120
|
{ initial: !0, sync: !0 }
|
|
159
121
|
),
|
|
160
122
|
// Ensure the SelectionViewModel always has the latest layer
|
|
161
|
-
|
|
123
|
+
v(
|
|
162
124
|
() => this.sketchViewModel?.layer,
|
|
163
125
|
(i) => this.selectionViewModel.sources = i ? [i] : [],
|
|
164
126
|
{ initial: !0, sync: !0 }
|
|
165
127
|
),
|
|
166
128
|
this.selectionViewModel.on("complete", ({ selection: i }) => {
|
|
167
|
-
|
|
129
|
+
const { sketchViewModel: e } = this;
|
|
130
|
+
if (i.length && e) {
|
|
131
|
+
const { defaultUpdateOptions: t } = e, { tool: o } = t;
|
|
132
|
+
this.update(i, {
|
|
133
|
+
...t,
|
|
134
|
+
tool: i.length > 1 && o === "reshape" ? "transform" : o
|
|
135
|
+
});
|
|
136
|
+
}
|
|
168
137
|
}),
|
|
169
138
|
// Cancel active tool when selection activates
|
|
170
|
-
|
|
139
|
+
v(
|
|
171
140
|
() => this.selectionViewModel.activeOperation,
|
|
172
141
|
(i) => {
|
|
173
142
|
i && (this.sketchViewModel?.cancel(), this._activeCustomToolOptions = void 0);
|
|
174
143
|
},
|
|
175
144
|
{ sync: !0 }
|
|
176
145
|
),
|
|
177
|
-
|
|
146
|
+
ie(
|
|
178
147
|
() => this.sketchViewModel,
|
|
179
148
|
"create",
|
|
180
149
|
(i) => {
|
|
181
150
|
i.state === "complete" && this.sketchViewModel?.creationMode !== "continuous" && (this._activeCustomToolOptions = void 0);
|
|
182
151
|
}
|
|
183
152
|
),
|
|
184
|
-
|
|
153
|
+
v(
|
|
185
154
|
() => this.visibleElements.settingsMenu,
|
|
186
155
|
(i) => {
|
|
187
156
|
i || (this.settingsPopoverOpen = !1);
|
|
@@ -237,27 +206,27 @@ let l = class extends ne {
|
|
|
237
206
|
const { sketchViewModel: i } = this;
|
|
238
207
|
if (!i)
|
|
239
208
|
return [];
|
|
240
|
-
const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool,
|
|
241
|
-
active:
|
|
209
|
+
const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, n = this._activeCustomToolOptions, d = n || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], l = i.rootPlugins, r = d?.map((a) => ({
|
|
210
|
+
active: a === n,
|
|
242
211
|
disabled: t,
|
|
243
|
-
icon:
|
|
244
|
-
labelKey:
|
|
245
|
-
onClick:
|
|
212
|
+
icon: a.icon,
|
|
213
|
+
labelKey: a.label,
|
|
214
|
+
onClick: a === n ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(a.toolName, a.createOptions, a)
|
|
246
215
|
})) ?? [];
|
|
247
|
-
if (
|
|
248
|
-
return [...this._pluginsToActions(
|
|
216
|
+
if (n && l)
|
|
217
|
+
return [...this._pluginsToActions(l), ...r];
|
|
249
218
|
if (e?.length && this.view?.type !== "3d")
|
|
250
|
-
return [...this._pluginsToActions(e), ...
|
|
251
|
-
const
|
|
219
|
+
return [...this._pluginsToActions(e), ...r];
|
|
220
|
+
const h = this.view?.type === "3d";
|
|
252
221
|
return [
|
|
253
|
-
...this.availableCreateTools?.filter((
|
|
254
|
-
active:
|
|
222
|
+
...this.availableCreateTools?.filter((a) => h && a === "multipoint" ? !1 : a === "mesh" ? !0 : o[a])?.map((a) => ({
|
|
223
|
+
active: a === s,
|
|
255
224
|
disabled: t,
|
|
256
|
-
icon:
|
|
257
|
-
labelKey: `draw.${
|
|
258
|
-
onClick:
|
|
225
|
+
icon: Ce[a],
|
|
226
|
+
labelKey: `draw.${a}`,
|
|
227
|
+
onClick: a === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(a)
|
|
259
228
|
})) ?? [],
|
|
260
|
-
...
|
|
229
|
+
...r
|
|
261
230
|
];
|
|
262
231
|
}
|
|
263
232
|
get _shouldShowBackButton() {
|
|
@@ -305,30 +274,30 @@ let l = class extends ne {
|
|
|
305
274
|
return t === "polygon" && o === "freehand" && e?.includes("freehandPolygon") ? "freehandPolygon" : t === "polyline" && o === "freehand" && e?.includes("freehandPolyline") ? "freehandPolyline" : t ?? void 0;
|
|
306
275
|
}
|
|
307
276
|
get _selectionCommands() {
|
|
308
|
-
const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled",
|
|
309
|
-
this.sketchViewModel?.updateOnGraphicClick !== !1 &&
|
|
277
|
+
const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", n = [];
|
|
278
|
+
this.sketchViewModel?.updateOnGraphicClick !== !1 && n.push({
|
|
310
279
|
active: i === "ready" && this._activeSelectionTool == null,
|
|
311
280
|
disabled: s,
|
|
312
281
|
icon: "cursor",
|
|
313
282
|
labelKey: "selectFeature",
|
|
314
283
|
onClick: () => this._activateDefaultSelectionTool()
|
|
315
284
|
});
|
|
316
|
-
const
|
|
317
|
-
|
|
285
|
+
const d = e.selectionTools;
|
|
286
|
+
d["rectangle-selection"] && n.push({
|
|
318
287
|
active: t === "rectangle-selection",
|
|
319
288
|
disabled: s,
|
|
320
289
|
icon: "cursor-marquee",
|
|
321
290
|
labelKey: "rectangleSelection",
|
|
322
291
|
onClick: () => this._activateSelectionTool("rectangle-selection")
|
|
323
|
-
}),
|
|
292
|
+
}), d["lasso-selection"] && n.push({
|
|
324
293
|
active: t === "lasso-selection",
|
|
325
294
|
disabled: s,
|
|
326
295
|
icon: "lasso-select",
|
|
327
296
|
labelKey: "lassoSelection",
|
|
328
297
|
onClick: () => this._activateSelectionTool("lasso-selection")
|
|
329
298
|
});
|
|
330
|
-
const
|
|
331
|
-
return
|
|
299
|
+
const l = o?.get("selection-toolbar");
|
|
300
|
+
return l && n.push(...this._customActionsToSketchActions(l)), n;
|
|
332
301
|
}
|
|
333
302
|
get _selectionSetActions() {
|
|
334
303
|
const i = this.sketchViewModel?.updateGraphics.length ?? 0;
|
|
@@ -440,7 +409,7 @@ let l = class extends ne {
|
|
|
440
409
|
await this._executeWhenReady(async () => {
|
|
441
410
|
this.cancelAll();
|
|
442
411
|
const t = this.sketchViewModel;
|
|
443
|
-
t && await
|
|
412
|
+
t && await _(t.create(i, e));
|
|
444
413
|
});
|
|
445
414
|
}
|
|
446
415
|
/**
|
|
@@ -451,9 +420,9 @@ let l = class extends ne {
|
|
|
451
420
|
const e = new AbortController();
|
|
452
421
|
this._pendingCommandAbortController = e;
|
|
453
422
|
try {
|
|
454
|
-
await
|
|
423
|
+
await _(
|
|
455
424
|
(async () => {
|
|
456
|
-
this.sketchViewModel?.geometrySimplificationInProgress && await
|
|
425
|
+
this.sketchViewModel?.geometrySimplificationInProgress && await oe(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
|
|
457
426
|
})()
|
|
458
427
|
);
|
|
459
428
|
} finally {
|
|
@@ -475,7 +444,7 @@ let l = class extends ne {
|
|
|
475
444
|
if (e?.length) {
|
|
476
445
|
const o = /* @__PURE__ */ new Map();
|
|
477
446
|
for (const s of e)
|
|
478
|
-
|
|
447
|
+
F(o, s.position, () => []).push(s);
|
|
479
448
|
this._customActions = o;
|
|
480
449
|
} else
|
|
481
450
|
this._customActions = void 0;
|
|
@@ -492,7 +461,7 @@ let l = class extends ne {
|
|
|
492
461
|
async update(i, e) {
|
|
493
462
|
await this._executeWhenReady(async () => {
|
|
494
463
|
const t = this.sketchViewModel;
|
|
495
|
-
t && await
|
|
464
|
+
t && await _(t.update(i, e));
|
|
496
465
|
});
|
|
497
466
|
}
|
|
498
467
|
// #endregion
|
|
@@ -523,10 +492,10 @@ let l = class extends ne {
|
|
|
523
492
|
const t = this.sketchViewModel;
|
|
524
493
|
if (t) {
|
|
525
494
|
if (e) {
|
|
526
|
-
t.cancel(),
|
|
495
|
+
t.cancel(), _(t.create(i));
|
|
527
496
|
return;
|
|
528
497
|
}
|
|
529
|
-
t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) :
|
|
498
|
+
t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : _(t.create(i));
|
|
530
499
|
}
|
|
531
500
|
});
|
|
532
501
|
}
|
|
@@ -534,7 +503,7 @@ let l = class extends ne {
|
|
|
534
503
|
this._executeWhenReady(() => {
|
|
535
504
|
this._cancelSupportingOperations();
|
|
536
505
|
const o = this.sketchViewModel;
|
|
537
|
-
o && (this._activeCustomToolOptions = t,
|
|
506
|
+
o && (this._activeCustomToolOptions = t, _(o.create(i, e)));
|
|
538
507
|
});
|
|
539
508
|
}
|
|
540
509
|
_activateSelectionTool(i) {
|
|
@@ -601,97 +570,97 @@ let l = class extends ne {
|
|
|
601
570
|
}
|
|
602
571
|
// #endregion
|
|
603
572
|
};
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
],
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
],
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
],
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
],
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
],
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
],
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
],
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
],
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
],
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
],
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
],
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
],
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
],
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
],
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
],
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
],
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
],
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
],
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
],
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
],
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
],
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
],
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
],
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
],
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
],
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
],
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
],
|
|
685
|
-
class
|
|
573
|
+
p([
|
|
574
|
+
g()
|
|
575
|
+
], c.prototype, "_isEffectiveRenderStateFrozen", 1);
|
|
576
|
+
p([
|
|
577
|
+
g()
|
|
578
|
+
], c.prototype, "_effectiveGeometrySimplificationInProgress", 2);
|
|
579
|
+
p([
|
|
580
|
+
g()
|
|
581
|
+
], c.prototype, "_state", 1);
|
|
582
|
+
p([
|
|
583
|
+
g()
|
|
584
|
+
], c.prototype, "_customToolOptions", 2);
|
|
585
|
+
p([
|
|
586
|
+
g()
|
|
587
|
+
], c.prototype, "_activeCustomToolOptions", 2);
|
|
588
|
+
p([
|
|
589
|
+
g()
|
|
590
|
+
], c.prototype, "_customActions", 2);
|
|
591
|
+
p([
|
|
592
|
+
g()
|
|
593
|
+
], c.prototype, "selectionViewModel", 2);
|
|
594
|
+
p([
|
|
595
|
+
g()
|
|
596
|
+
], c.prototype, "_activeSelectionTool", 1);
|
|
597
|
+
p([
|
|
598
|
+
g()
|
|
599
|
+
], c.prototype, "_activePluginUniqueIds", 1);
|
|
600
|
+
p([
|
|
601
|
+
g()
|
|
602
|
+
], c.prototype, "_createToolActions", 1);
|
|
603
|
+
p([
|
|
604
|
+
g()
|
|
605
|
+
], c.prototype, "_shouldShowBackButton", 1);
|
|
606
|
+
p([
|
|
607
|
+
g()
|
|
608
|
+
], c.prototype, "_selectionToolActions", 1);
|
|
609
|
+
p([
|
|
610
|
+
g()
|
|
611
|
+
], c.prototype, "_settingsActions", 1);
|
|
612
|
+
p([
|
|
613
|
+
g()
|
|
614
|
+
], c.prototype, "_activeTool", 1);
|
|
615
|
+
p([
|
|
616
|
+
g()
|
|
617
|
+
], c.prototype, "_selectionCommands", 1);
|
|
618
|
+
p([
|
|
619
|
+
g()
|
|
620
|
+
], c.prototype, "_selectionSetActions", 1);
|
|
621
|
+
p([
|
|
622
|
+
g()
|
|
623
|
+
], c.prototype, "_undoRedoActions", 1);
|
|
624
|
+
p([
|
|
625
|
+
g()
|
|
626
|
+
], c.prototype, "sketchViewModel", 2);
|
|
627
|
+
p([
|
|
628
|
+
g()
|
|
629
|
+
], c.prototype, "visibleElements", 2);
|
|
630
|
+
p([
|
|
631
|
+
g()
|
|
632
|
+
], c.prototype, "view", 2);
|
|
633
|
+
p([
|
|
634
|
+
g()
|
|
635
|
+
], c.prototype, "settingsPopoverOpen", 2);
|
|
636
|
+
p([
|
|
637
|
+
g()
|
|
638
|
+
], c.prototype, "availableCreateTools", 2);
|
|
639
|
+
p([
|
|
640
|
+
g()
|
|
641
|
+
], c.prototype, "state", 1);
|
|
642
|
+
p([
|
|
643
|
+
g()
|
|
644
|
+
], c.prototype, "activeTool", 1);
|
|
645
|
+
p([
|
|
646
|
+
g()
|
|
647
|
+
], c.prototype, "activePluginIds", 1);
|
|
648
|
+
p([
|
|
649
|
+
g()
|
|
650
|
+
], c.prototype, "groupedActions", 1);
|
|
651
|
+
c = p([
|
|
652
|
+
he("components.sketch.SketchComponentViewModel")
|
|
653
|
+
], c);
|
|
654
|
+
class Ee extends ue {
|
|
686
655
|
#t;
|
|
687
656
|
#e = !1;
|
|
688
657
|
#i;
|
|
689
658
|
constructor(e) {
|
|
690
|
-
if (super(e), e.type !==
|
|
659
|
+
if (super(e), e.type !== ve.ELEMENT)
|
|
691
660
|
throw new Error("nodeHooks() can only be used on elements");
|
|
692
661
|
}
|
|
693
662
|
render(e) {
|
|
694
|
-
return
|
|
663
|
+
return z;
|
|
695
664
|
}
|
|
696
665
|
update(e, [t]) {
|
|
697
666
|
const o = e.element;
|
|
@@ -700,60 +669,260 @@ class _e extends de {
|
|
|
700
669
|
const s = this.#e ? t.afterUpdate : t.afterCreate;
|
|
701
670
|
return this.#t = o, this.#e = !0, this.#i = t, queueMicrotask(() => {
|
|
702
671
|
o.isConnected && s?.(o);
|
|
703
|
-
}),
|
|
672
|
+
}), z;
|
|
704
673
|
}
|
|
705
674
|
disconnected() {
|
|
706
675
|
const e = this.#t, t = this.#i?.afterRemoved;
|
|
707
676
|
!e || !t || queueMicrotask(() => {
|
|
708
|
-
e.isConnected ||
|
|
677
|
+
e.isConnected || fe(() => t(e), { timeout: 16 });
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
const B = me(Ee), _e = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene"]), Me = 8;
|
|
682
|
+
class ke extends J {
|
|
683
|
+
constructor(e) {
|
|
684
|
+
super(e), this.#t = new MutationObserver(() => this.#c()), this.#e = new ResizeObserver(() => this.#v()), this.#i = new ResizeObserver(([t]) => {
|
|
685
|
+
if (!t)
|
|
686
|
+
return;
|
|
687
|
+
const o = this.component.layout === "horizontal" ? t.contentRect.height : t.contentRect.width;
|
|
688
|
+
o !== this.#s && (this.#s = o, this.#v());
|
|
689
|
+
}), this.#h = [], this.ref = (t) => {
|
|
690
|
+
this.#o !== t && (this.#o = t, this.#r = void 0, this.#a = void 0, this.#c());
|
|
691
|
+
}, this.#u = () => this.#c(), this.exports = void 0, e.listenOn(window, "resize", () => this.#g()), this.onConnected(() => this.#g()), this.onUpdated(() => {
|
|
692
|
+
(this.#d !== this.component.layout || this.#f !== this.component.toolbarKind) && this.#c();
|
|
693
|
+
}), this.onDisconnected(() => this.#C()), this.onLifecycle(
|
|
694
|
+
() => v(
|
|
695
|
+
() => this.component.view?.attributionHeight,
|
|
696
|
+
() => {
|
|
697
|
+
this.#g();
|
|
698
|
+
},
|
|
699
|
+
{ initial: !0 }
|
|
700
|
+
)
|
|
701
|
+
);
|
|
702
|
+
}
|
|
703
|
+
#t;
|
|
704
|
+
#e;
|
|
705
|
+
#i;
|
|
706
|
+
/** Same as #toolbarStack, but specifically used to track resize observations. */
|
|
707
|
+
#l;
|
|
708
|
+
/** Last observed height for horizontal layout, or width for vertical layout. */
|
|
709
|
+
#s;
|
|
710
|
+
#n;
|
|
711
|
+
#h;
|
|
712
|
+
#m;
|
|
713
|
+
#o;
|
|
714
|
+
/** Last style-write inputs, used to avoid repeating equivalent writes from observer notifications. */
|
|
715
|
+
#r;
|
|
716
|
+
#a;
|
|
717
|
+
/** Layout for which the current context was synchronized; distinct from the last applied style layout. */
|
|
718
|
+
#d;
|
|
719
|
+
#f;
|
|
720
|
+
/** Re-uses the same direction observation helper as useDirection; that API has onLifecycle-based cleanup API. */
|
|
721
|
+
#p;
|
|
722
|
+
#g() {
|
|
723
|
+
queueMicrotask(() => {
|
|
724
|
+
this.component.el.isConnected && this.#c();
|
|
725
|
+
});
|
|
726
|
+
}
|
|
727
|
+
#c() {
|
|
728
|
+
this.#f = this.component.toolbarKind;
|
|
729
|
+
const e = this.#y();
|
|
730
|
+
if (this.component.el.toggleAttribute("data-intrinsic-toolbar-sizing", !e), !e) {
|
|
731
|
+
this.#b(), this.#C();
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
this.#S(e.toolbar), this.#w(e), this.#T(e), this.#v(e);
|
|
735
|
+
}
|
|
736
|
+
#y() {
|
|
737
|
+
const e = this.component.el, t = e.parentElement, o = this.#o, s = e.assignedSlot;
|
|
738
|
+
if (!t || !_e.has(t.localName) || !o || !s?.parentElement)
|
|
739
|
+
return;
|
|
740
|
+
const n = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", d = K(e.slot, n);
|
|
741
|
+
if (!d)
|
|
742
|
+
return;
|
|
743
|
+
const l = Array.from(t.children).filter(
|
|
744
|
+
(r) => r instanceof HTMLElement && r.localName !== "arcgis-sketch"
|
|
745
|
+
);
|
|
746
|
+
return {
|
|
747
|
+
assignedSlot: s,
|
|
748
|
+
content: l,
|
|
749
|
+
direction: n,
|
|
750
|
+
parent: t,
|
|
751
|
+
position: d,
|
|
752
|
+
toolbar: o
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
#u;
|
|
756
|
+
/**
|
|
757
|
+
* Keep track of the cross-axis size changes to ensure layout solution remains up-to-date.
|
|
758
|
+
*/
|
|
759
|
+
#S(e) {
|
|
760
|
+
this.#d !== this.component.layout && (this.#s = void 0, this.#d = this.component.layout), this.#l !== e && (this.#i.disconnect(), this.#l = e, this.#s = void 0, this.#i.observe(e));
|
|
761
|
+
}
|
|
762
|
+
#w(e) {
|
|
763
|
+
const t = e.assignedSlot;
|
|
764
|
+
this.#n !== t && (this.#n?.removeEventListener("slotchange", this.#u), this.#n = t, t.addEventListener("slotchange", this.#u)), this.#m !== e.parent && (this.#t.disconnect(), this.#p?.(), this.#m = e.parent, this.#p = ye(e.parent, ["dir"], () => {
|
|
765
|
+
this.#g();
|
|
766
|
+
}), this.#t.observe(e.parent, {
|
|
767
|
+
childList: !0,
|
|
768
|
+
subtree: !1
|
|
769
|
+
}));
|
|
770
|
+
}
|
|
771
|
+
#T(e) {
|
|
772
|
+
const t = [e.parent, ...e.content];
|
|
773
|
+
Le(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
|
|
774
|
+
}
|
|
775
|
+
#v(e = this.#y()) {
|
|
776
|
+
if (!e) {
|
|
777
|
+
this.#b();
|
|
778
|
+
return;
|
|
779
|
+
}
|
|
780
|
+
const t = this.component.layout, o = e.parent.getBoundingClientRect(), s = Pe({
|
|
781
|
+
content: Ae(e),
|
|
782
|
+
gap: Me,
|
|
783
|
+
layout: t,
|
|
784
|
+
position: e.position,
|
|
785
|
+
sameSlotReserve: Oe(e.assignedSlot, this.component.el, t, e.assignedSlot),
|
|
786
|
+
toolbarBounds: e.toolbar.getBoundingClientRect(),
|
|
787
|
+
viewBounds: o
|
|
709
788
|
});
|
|
789
|
+
let n = s;
|
|
790
|
+
if (e.toolbar.toolbarKind === "floating") {
|
|
791
|
+
const d = getComputedStyle(e.assignedSlot.parentElement.parentElement), l = Math.max(Number.parseFloat(d.marginLeft), Number.parseFloat(d.marginRight)), r = t === "horizontal" ? window.innerWidth : window.innerHeight, h = t === "horizontal" ? o.width : o.height, u = t === "vertical" ? this.component.view?.attributionHeight ?? 0 : 0;
|
|
792
|
+
n = Math.max(
|
|
793
|
+
0,
|
|
794
|
+
Math.min(s, h - 2 * l - u, r - 2 * l)
|
|
795
|
+
);
|
|
796
|
+
}
|
|
797
|
+
this.#E(e.toolbar, t, s, n);
|
|
798
|
+
}
|
|
799
|
+
#E(e, t, o, s) {
|
|
800
|
+
o === this.#r && s === e.allocatedLength && t === this.#a || (this.#r = o, this.#a = t, e.allocatedLength = s, t === "horizontal" ? (e.style.height = "", e.style.maxHeight = "", e.style.maxWidth = `${o}px`, e.style.width = "fit-content") : (e.style.height = "fit-content", e.style.maxHeight = `${o}px`, e.style.maxWidth = "", e.style.width = ""));
|
|
710
801
|
}
|
|
802
|
+
/** Remove controller-owned inline sizing when the stack leaves a supported view slot. */
|
|
803
|
+
#b() {
|
|
804
|
+
this.#o && (this.#o.style.maxHeight = "", this.#o.style.maxWidth = "", this.#o.style.height = "", this.#o.style.width = "", this.#o.allocatedLength = void 0, this.#r = void 0, this.#a = void 0);
|
|
805
|
+
}
|
|
806
|
+
/** Release subscriptions and cached measurements before disconnecting or entering a new context. */
|
|
807
|
+
#C() {
|
|
808
|
+
this.#t.disconnect(), this.#p?.(), this.#p = void 0, this.#e.disconnect(), this.#i.disconnect(), this.#l = void 0, this.#s = void 0, this.#h = [], this.#n?.removeEventListener("slotchange", this.#u), this.#n = void 0, this.#r = void 0, this.#a = void 0, this.#d = void 0, this.#m = void 0;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
function Pe({
|
|
812
|
+
content: i,
|
|
813
|
+
gap: e,
|
|
814
|
+
layout: t,
|
|
815
|
+
position: o,
|
|
816
|
+
sameSlotReserve: s,
|
|
817
|
+
toolbarBounds: n,
|
|
818
|
+
viewBounds: d
|
|
819
|
+
}) {
|
|
820
|
+
const l = O(d, t), r = O(n, t), h = W(o, t), u = h ? r.start - l.start : l.end - r.end;
|
|
821
|
+
let a = 0, f = !1;
|
|
822
|
+
for (const C of i) {
|
|
823
|
+
if (W(C.position, t) === h)
|
|
824
|
+
continue;
|
|
825
|
+
const y = O(C.bounds, t);
|
|
826
|
+
if (!(y.crossStart < r.crossEnd && y.crossEnd > r.crossStart))
|
|
827
|
+
continue;
|
|
828
|
+
const w = h ? l.end - y.start : y.end - l.start;
|
|
829
|
+
a = Math.max(a, w), f = !0;
|
|
830
|
+
}
|
|
831
|
+
const m = f ? e : 0;
|
|
832
|
+
return Math.max(0, l.length - Math.max(0, u) - s - a - m);
|
|
833
|
+
}
|
|
834
|
+
function O(i, e) {
|
|
835
|
+
return e === "horizontal" ? { start: i.left, end: i.right, length: i.width, crossStart: i.top, crossEnd: i.bottom } : { start: i.top, end: i.bottom, length: i.height, crossStart: i.left, crossEnd: i.right };
|
|
836
|
+
}
|
|
837
|
+
function W(i, e) {
|
|
838
|
+
return e === "horizontal" ? i.endsWith("left") : i.startsWith("top");
|
|
839
|
+
}
|
|
840
|
+
function Ae(i) {
|
|
841
|
+
return i.content.flatMap((e) => {
|
|
842
|
+
if (e.assignedSlot === i.assignedSlot)
|
|
843
|
+
return [];
|
|
844
|
+
const t = K(e.slot, i.direction);
|
|
845
|
+
return t ? [{ bounds: e.getBoundingClientRect(), position: t }] : [];
|
|
846
|
+
});
|
|
847
|
+
}
|
|
848
|
+
function Le(i, e) {
|
|
849
|
+
return i.length === e.length && i.every((t, o) => t === e[o]);
|
|
711
850
|
}
|
|
712
|
-
|
|
851
|
+
function Oe(i, e, t, o) {
|
|
852
|
+
const s = getComputedStyle(o), n = s.flexDirection;
|
|
853
|
+
if (!(t === "horizontal" ? n.startsWith("row") : n.startsWith("column")))
|
|
854
|
+
return 0;
|
|
855
|
+
const l = i.assignedElements().filter((m) => m instanceof HTMLElement), r = l.indexOf(e);
|
|
856
|
+
if (r < 0)
|
|
857
|
+
return 0;
|
|
858
|
+
const h = getComputedStyle(e), u = n === "row" ? Number.parseFloat(h.marginRight) : n === "row-reverse" ? Number.parseFloat(h.marginLeft) : n === "column" ? Number.parseFloat(h.marginBottom) : Number.parseFloat(h.marginTop), a = l.slice(r + 1), f = Number.parseFloat(t === "horizontal" ? s.columnGap : s.rowGap);
|
|
859
|
+
return a.reduce((m, C) => {
|
|
860
|
+
const y = C.getBoundingClientRect(), S = getComputedStyle(C), w = t === "horizontal" ? y.width + Number.parseFloat(S.marginLeft) + Number.parseFloat(S.marginRight) : y.height + Number.parseFloat(S.marginTop) + Number.parseFloat(S.marginBottom);
|
|
861
|
+
return m + w + f;
|
|
862
|
+
}, u);
|
|
863
|
+
}
|
|
864
|
+
function K(i, e) {
|
|
865
|
+
const [t, o] = i.split("-");
|
|
866
|
+
if (t !== "bottom" && t !== "top")
|
|
867
|
+
return;
|
|
868
|
+
const s = o === "start" ? e === "ltr" ? "left" : "right" : o === "end" ? e === "ltr" ? "right" : "left" : o;
|
|
869
|
+
return s === "left" || s === "right" ? `${t}-${s}` : void 0;
|
|
870
|
+
}
|
|
871
|
+
const Ge = [
|
|
872
|
+
"bottom-end",
|
|
873
|
+
"bottom-start",
|
|
874
|
+
"bottom-left",
|
|
875
|
+
"bottom-right",
|
|
876
|
+
"top-end",
|
|
877
|
+
"top-start",
|
|
878
|
+
"top-left",
|
|
879
|
+
"top-right"
|
|
880
|
+
], Re = new Set(Ge), Ve = ne((i) => new le({
|
|
713
881
|
...i,
|
|
714
882
|
cancelUpdateOnClickAway: !0,
|
|
715
883
|
creationMode: "continuous",
|
|
716
|
-
textSymbol: new
|
|
884
|
+
textSymbol: new Z({ text: "text" }),
|
|
717
885
|
useLegacyCreateTools: !1
|
|
718
886
|
}));
|
|
719
|
-
class
|
|
887
|
+
class $e extends ee {
|
|
720
888
|
constructor() {
|
|
721
|
-
super(), this.#t = new
|
|
889
|
+
super(), this.#t = new c(), this.#l = L(), this.#s = new ke(this), this.#n = L(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
|
|
722
890
|
componentViewModel: this.#t
|
|
723
|
-
}, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap =
|
|
891
|
+
}, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = ae(), this.viewModel = Ve(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.createGraphic = this.viewModel.createGraphic, this.creationMode = this.viewModel.creationMode, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.viewModel.defaultUpdateOptions, this.geometrySimplificationInProgress = this.viewModel.geometrySimplificationInProgress, this.icon = "pencil", this.label = this._messages?.componentLabel, this.labelOptions = this.viewModel.labelOptions, this.layer = this.viewModel.layer, this.layout = "horizontal", this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.activeFillSymbol = this.viewModel.activeFillSymbol, this.activeLineSymbol = this.viewModel.activeLineSymbol, this.activeVertexSymbol = this.viewModel.activeVertexSymbol, this.activeCreateToolDrawMode = this.viewModel.activeCreateToolDrawMode, this.visualScale = "m", this.snappingOptions = this.viewModel.snappingOptions, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = "floating", this.tooltipOptions = this.viewModel.tooltipOptions, this.useViewOptions = this.viewModel.useViewOptions, this.valueOptions = this.viewModel.valueOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateOnGraphicClickDisabled = this.viewModel.updateOnGraphicClick, this.updateGraphics = this.viewModel.updateGraphics, this.activeTooltip = this.viewModel.activeTooltip, this.arcgisCreate = T(() => this.viewModel, "create"), this.arcgisDelete = T(() => this.viewModel, "delete"), this.arcgisDuplicate = T(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = Q()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = te(), this.arcgisRedo = T(() => this.viewModel, "redo"), this.arcgisUndo = T(() => this.viewModel, "undo"), this.arcgisUpdate = T(() => this.viewModel, "update"), X(["slot"], () => {
|
|
724
892
|
this.requestUpdate();
|
|
725
893
|
}), this.manager.onLifecycle(() => [
|
|
726
|
-
|
|
894
|
+
v(() => this.el.view?.map, (e, t) => {
|
|
727
895
|
const o = this._defaultGraphicsLayer;
|
|
728
896
|
o && (t?.allLayers.includes(o) && t.remove(o), o && !e?.allLayers.includes(o) && e?.add(o));
|
|
729
897
|
}),
|
|
730
|
-
|
|
898
|
+
v(() => this.el.view, (e) => {
|
|
731
899
|
this.viewModel.view = e, this.#t.view = e ?? void 0;
|
|
732
900
|
}, { initial: !0 }),
|
|
733
|
-
|
|
901
|
+
v(() => this.viewModel, (e) => {
|
|
734
902
|
this.#t.sketchViewModel = e, this.viewModel.pluginManager.sketch = this;
|
|
735
903
|
}, { initial: !0 }),
|
|
736
|
-
|
|
904
|
+
v(() => this.#t.state, (e, t) => {
|
|
737
905
|
this.requestUpdate("state", t);
|
|
738
906
|
}, { initial: !0 }),
|
|
739
|
-
|
|
907
|
+
v(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
|
|
740
908
|
]), this.manager.onDestroy(() => {
|
|
741
909
|
this._defaultGraphicsLayer && this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.el.view?.map?.remove(this._defaultGraphicsLayer), this._defaultGraphicsLayer?.destroy(), this._defaultGraphicsLayer = null, this.#t.destroy();
|
|
742
910
|
});
|
|
743
911
|
}
|
|
744
912
|
static {
|
|
745
|
-
this.properties = { _groupLayoutPriorityOverrides: 16, _contextualToolLocation: 16, _refMap: 16, viewModel: 0, view: 0, activeTool: 32, autoDestroyDisabled: 5, visibleElements: 0, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, geometrySimplificationInProgress: 36, hideCreateToolsCircle: 5, hideCreateToolsMultipoint: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSinglePluginBackButton: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideSnappingControlsElementsGridEnabledToggle: 5, hideSnappingControlsElementsGridControls: 5, hideSnappingControlsElementsGridControlsElementsColorSelection: 5, hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: 5, hideSnappingControlsElementsGridControlsElementsLineIntervalInput: 5, hideSnappingControlsElementsGridControlsElementsNumericInputs: 5, hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: 5, hideSnappingControlsElementsGridControlsElementsPlacementButtons: 5, hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout:
|
|
913
|
+
this.properties = { _groupLayoutPriorityOverrides: 16, _contextualToolLocation: 16, _refMap: 16, viewModel: 0, view: 0, activeTool: 32, autoDestroyDisabled: 5, visibleElements: 0, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, geometrySimplificationInProgress: 36, hideCreateToolsCircle: 5, hideCreateToolsMultipoint: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSinglePluginBackButton: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideSnappingControlsElementsGridEnabledToggle: 5, hideSnappingControlsElementsGridControls: 5, hideSnappingControlsElementsGridControlsElementsColorSelection: 5, hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: 5, hideSnappingControlsElementsGridControlsElementsLineIntervalInput: 5, hideSnappingControlsElementsGridControlsElementsNumericInputs: 5, hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: 5, hideSnappingControlsElementsGridControlsElementsPlacementButtons: 5, hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 3, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, activeFillSymbol: 0, activeLineSymbol: 0, activeVertexSymbol: 0, activeCreateToolDrawMode: 1, referenceElement: 1, relativePosition: 1, scale: 1, visualScale: 1, showSnappingControlsElementsHeader: 5, showCreateToolsFreehandPolygon: 5, showCreateToolsFreehandPolyline: 5, showCreateToolsText: 5, hideGeometrySimplificationActivityIndicator: 5, snappingOptions: 0, state: 32, textSymbol: 0, toolbarKind: 3, tooltipOptions: 0, useViewOptions: 5, valueOptions: 0, useLegacyCreateTools: 5, updateOnGraphicClickDisabled: 5, cancelUpdateOnClickAwayDisabled: 5, updateGraphics: 32, activeTooltip: 0 };
|
|
746
914
|
}
|
|
747
915
|
static {
|
|
748
|
-
this.styles =
|
|
916
|
+
this.styles = be;
|
|
749
917
|
}
|
|
750
918
|
#t;
|
|
751
919
|
get #e() {
|
|
752
920
|
return this.#t.visibleElements;
|
|
753
921
|
}
|
|
754
922
|
#i;
|
|
755
|
-
#
|
|
923
|
+
#l;
|
|
756
924
|
#s;
|
|
925
|
+
#n;
|
|
757
926
|
get activeTool() {
|
|
758
927
|
return this.#t.activeTool;
|
|
759
928
|
}
|
|
@@ -950,8 +1119,8 @@ class Me extends Q {
|
|
|
950
1119
|
this.#e.undoRedoMenu = !e;
|
|
951
1120
|
}
|
|
952
1121
|
get relativePosition() {
|
|
953
|
-
const e = this.el.slot;
|
|
954
|
-
return this.#i ?? (
|
|
1122
|
+
const e = this.el.slot || this.el.closest("arcgis-expand")?.slot || "";
|
|
1123
|
+
return this.#i ?? (Re.has(e) ? e : re.topRight);
|
|
955
1124
|
}
|
|
956
1125
|
set relativePosition(e) {
|
|
957
1126
|
this.#i = e;
|
|
@@ -1001,6 +1170,12 @@ class Me extends Q {
|
|
|
1001
1170
|
set cancelUpdateOnClickAwayDisabled(e) {
|
|
1002
1171
|
this.viewModel.cancelUpdateOnClickAway = !e;
|
|
1003
1172
|
}
|
|
1173
|
+
async addGraphic(e) {
|
|
1174
|
+
this.viewModel.addGraphic(e);
|
|
1175
|
+
}
|
|
1176
|
+
async addGraphics(e) {
|
|
1177
|
+
this.viewModel.addGraphics(e);
|
|
1178
|
+
}
|
|
1004
1179
|
async cancel() {
|
|
1005
1180
|
this.#t.cancelAll();
|
|
1006
1181
|
}
|
|
@@ -1022,9 +1197,24 @@ class Me extends Q {
|
|
|
1022
1197
|
async duplicate() {
|
|
1023
1198
|
this.viewModel.duplicate();
|
|
1024
1199
|
}
|
|
1200
|
+
async hasGraphic(e) {
|
|
1201
|
+
return this.viewModel.hasGraphic(e);
|
|
1202
|
+
}
|
|
1203
|
+
async removeAllGraphics() {
|
|
1204
|
+
this.viewModel.removeAllGraphics();
|
|
1205
|
+
}
|
|
1206
|
+
async removeGraphic(e) {
|
|
1207
|
+
this.viewModel.removeGraphic(e);
|
|
1208
|
+
}
|
|
1209
|
+
async removeGraphics(e) {
|
|
1210
|
+
this.viewModel.removeGraphics(e);
|
|
1211
|
+
}
|
|
1025
1212
|
async redo() {
|
|
1026
1213
|
this.viewModel.redo();
|
|
1027
1214
|
}
|
|
1215
|
+
async canRedo() {
|
|
1216
|
+
return this.viewModel.canRedo();
|
|
1217
|
+
}
|
|
1028
1218
|
async setContextualToolLocation(e) {
|
|
1029
1219
|
this._contextualToolLocation = e;
|
|
1030
1220
|
}
|
|
@@ -1037,56 +1227,62 @@ class Me extends Q {
|
|
|
1037
1227
|
async triggerUpdate(e, t) {
|
|
1038
1228
|
await this.#t.update(e, t);
|
|
1039
1229
|
}
|
|
1230
|
+
async place(e) {
|
|
1231
|
+
this.viewModel.place(e);
|
|
1232
|
+
}
|
|
1040
1233
|
async undo() {
|
|
1041
1234
|
this.#t.sketchViewModel?.undo();
|
|
1042
1235
|
}
|
|
1236
|
+
async canUndo() {
|
|
1237
|
+
return this.viewModel.canUndo();
|
|
1238
|
+
}
|
|
1043
1239
|
connectedCallback() {
|
|
1044
|
-
super.connectedCallback(), this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer?.destroyed && (this._defaultGraphicsLayer = null), this._defaultGraphicsLayer ??= new
|
|
1240
|
+
super.connectedCallback(), this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer?.destroyed && (this._defaultGraphicsLayer = null), this._defaultGraphicsLayer ??= new Y({ title: "Sketch Layer" }), this.layer = this._defaultGraphicsLayer, this.view?.map?.add(this.layer), this.viewModel.layer = this._defaultGraphicsLayer);
|
|
1045
1241
|
}
|
|
1046
1242
|
disconnectedCallback() {
|
|
1047
|
-
this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), super.disconnectedCallback();
|
|
1243
|
+
this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), this.cancel(), super.disconnectedCallback();
|
|
1048
1244
|
}
|
|
1049
1245
|
render() {
|
|
1050
|
-
const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind:
|
|
1051
|
-
return
|
|
1246
|
+
const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: n, relativePosition: d, _contextualToolLocation: l } = this, r = t.find(({ name: u }) => u === "selectionSet"), h = t.filter(({ name: u }) => u !== "selectionSet");
|
|
1247
|
+
return b`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${n} .relativePosition=${d} .scale=${o} tooltip-appearance=calcite ${k(this.#s.ref)}><arcgis-toolbar ${k(this.#l)}>${M({ hidden: !r?.visible || l !== "inline", children: this._renderActionGroup(r) })}${h.map((u) => this._renderActionGroup(u))}${M({ hidden: !r?.visible || l !== "inline-end", children: this._renderActionGroup(r) })}</arcgis-toolbar>${M({ hidden: !r?.visible || l !== "separate", children: b`<arcgis-toolbar>${this._renderActionGroup(r)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${M({ hidden: this.hideSettingsMenu, children: b`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} .heading=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#l.value?.barElement} @arcgisPropertyChange=${(u) => this.#t.settingsPopoverOpen = u.target.open ?? !1}>${this._renderSettings()}</arcgis-view-popover>` })}`;
|
|
1052
1248
|
}
|
|
1053
1249
|
_renderSettings() {
|
|
1054
|
-
const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader:
|
|
1055
|
-
return
|
|
1056
|
-
|
|
1057
|
-
const { labelsEnabled:
|
|
1058
|
-
switch (
|
|
1250
|
+
const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: n, useViewOptions: d, view: l, viewModel: r } = this;
|
|
1251
|
+
return b`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${d || s} .directionMode=${r.valueOptions.directionMode} .labelsEnabled=${r.labelOptions.enabled} .tooltipsEnabled=${r.tooltipOptions.enabled} @arcgisPropertyChange=${(h) => {
|
|
1252
|
+
h.stopPropagation();
|
|
1253
|
+
const { labelsEnabled: u, tooltipsEnabled: a, directionMode: f } = h.currentTarget, m = this.viewModel;
|
|
1254
|
+
switch (h.detail.name) {
|
|
1059
1255
|
case "labelsEnabled":
|
|
1060
|
-
|
|
1256
|
+
m.labelOptions.enabled = u;
|
|
1061
1257
|
break;
|
|
1062
1258
|
case "directionMode":
|
|
1063
|
-
|
|
1259
|
+
m.valueOptions.directionMode = f;
|
|
1064
1260
|
break;
|
|
1065
1261
|
case "tooltipsEnabled":
|
|
1066
|
-
|
|
1262
|
+
m.tooltipOptions.enabled = a;
|
|
1067
1263
|
break;
|
|
1068
1264
|
}
|
|
1069
|
-
}}></arcgis-sketch-tooltip-controls>${!
|
|
1265
|
+
}}></arcgis-sketch-tooltip-controls>${!d && !o ? b`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${l} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${r.snappingOptions} .showHeader=${n} @arcgisPropertyChange=${(h) => h.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
|
|
1070
1266
|
}
|
|
1071
1267
|
_renderActionGroup({ visible: e, commands: t, name: o }) {
|
|
1072
1268
|
if (!e || !t.length)
|
|
1073
1269
|
return;
|
|
1074
|
-
const { defaultPriority: s, groupKind:
|
|
1075
|
-
switch (
|
|
1270
|
+
const { defaultPriority: s, groupKind: n, overflowLabel: d, preferEndSlot: l } = Se[o], h = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, u = t.map((f) => this._renderCommand(f)), a = D(`more.${d}`, this._messages);
|
|
1271
|
+
switch (n) {
|
|
1076
1272
|
case "more-button":
|
|
1077
|
-
return
|
|
1273
|
+
return b`<arcgis-toolbar-group .priority=${h} .preferEndSlot=${l}><arcgis-toolbar-more-button .overflowActionLabel=${a} .priority=${h}>${u}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
|
|
1078
1274
|
case "split-button":
|
|
1079
|
-
return
|
|
1275
|
+
return b`<arcgis-toolbar-group .priority=${h} .preferEndSlot=${l}><arcgis-toolbar-split-button .overflowActionLabel=${a} .priority=${h}>${u}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
|
|
1080
1276
|
case "actions":
|
|
1081
|
-
return
|
|
1277
|
+
return b`<arcgis-toolbar-group .priority=${h} .preferEndSlot=${l}>${u}</arcgis-toolbar-group>`;
|
|
1082
1278
|
}
|
|
1083
1279
|
}
|
|
1084
|
-
_renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance:
|
|
1085
|
-
const { _messages:
|
|
1086
|
-
return
|
|
1280
|
+
_renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: n, icon: d, disabled: l, id: r, kind: h, labelKey: u, labelParameters: a, loading: f, tooltipKey: m, iconFlipRTL: C, onClick: y, refKey: S, textEnabled: w, renderAsAction: U }) {
|
|
1281
|
+
const { _messages: G, _refMap: H, layout: R } = this, P = D(u, G), A = P === void 0 ? u : a ? j(P, a) : P, V = G?.[m] ?? A, $ = S ? F(H, S, L) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
|
|
1282
|
+
return U ? b`<arcgis-toolbar-action .active=${e} .appearance=${n} .disabled=${l} .icon=${d} .iconFlipRtl=${C} id=${r ?? I} .kind=${h} .loading=${f} .labelText=${R === "horizontal" ? A : ""} .textEnabled=${w} .tooltipText=${R === "horizontal" && w ? "" : V} @arcgisToolbarItemSelected=${y} ${B(x)} ${k($)}></arcgis-toolbar-action>` : b`<arcgis-toolbar-item .active=${e} .disabled=${l} .icon=${d} id=${r ?? I} .iconFlipRtl=${C} .labelText=${A} .tooltipText=${V} @arcgisItemSelected=${y} ${B(x)} ${k($)}></arcgis-toolbar-item>`;
|
|
1087
1283
|
}
|
|
1088
1284
|
}
|
|
1089
|
-
|
|
1285
|
+
N("arcgis-sketch", $e);
|
|
1090
1286
|
export {
|
|
1091
|
-
|
|
1287
|
+
$e as ArcgisSketch
|
|
1092
1288
|
};
|