@arcgis/map-components 5.1.0-next.26 → 5.1.0-next.27
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/{FHVJILOP.js → 227WPY6O.js} +1 -1
- package/dist/cdn/{F3NCON5F.js → 22YBLZZ5.js} +1 -1
- package/dist/cdn/{IDBLPYXK.js → 23HX6BD2.js} +1 -1
- package/dist/cdn/{SJJ4MLVA.js → 2AHOSQID.js} +1 -1
- package/dist/cdn/{MYJWBY4N.js → 2CHBGF6N.js} +1 -1
- package/dist/cdn/{NS6A57H7.js → 2CZVQJFN.js} +1 -1
- package/dist/cdn/{7OJESD5U.js → 2D47DQA5.js} +1 -1
- package/dist/cdn/{HFWMJJFD.js → 2E5U7E4Y.js} +1 -1
- package/dist/cdn/{LGF6DK5V.js → 2HRXVQNT.js} +1 -1
- package/dist/cdn/{LMI2OZRD.js → 2NW3IA4C.js} +1 -1
- package/dist/cdn/{NIEHEX74.js → 34K7KDP3.js} +1 -1
- package/dist/cdn/{EHWPP2OD.js → 34Z77QHJ.js} +1 -1
- package/dist/cdn/{5KNN577Y.js → 3NTRW2I5.js} +1 -1
- package/dist/cdn/{Y7BSBKHO.js → 3ON5H2G5.js} +1 -1
- package/dist/cdn/{7D64YYLS.js → 3W3MBD25.js} +1 -1
- package/dist/cdn/{DV3AMXLQ.js → 42IKCJ2T.js} +1 -1
- package/dist/cdn/{WQZ44Y3Z.js → 44APAUMM.js} +1 -1
- package/dist/cdn/{7W7RNWBM.js → 4J3CK2QK.js} +1 -1
- package/dist/cdn/{KG3JO6AR.js → 4MNQPYT6.js} +1 -1
- package/dist/cdn/{ZZ7EY45U.js → 4WKSSPS5.js} +1 -1
- package/dist/cdn/{Q4HJ76OE.js → 4YQZ3XVG.js} +1 -1
- package/dist/cdn/{PTGYG2U4.js → 54WDNPKC.js} +1 -1
- package/dist/cdn/{MQNRWUJV.js → 5KRCPR2U.js} +1 -1
- package/dist/cdn/{MSGBVT7B.js → 5ZHD4P65.js} +1 -1
- package/dist/cdn/{QH2WUE6T.js → 6M6VT4H6.js} +1 -1
- package/dist/cdn/{N2VUYFEK.js → 6UNF7T5E.js} +1 -1
- package/dist/cdn/{64XTP54A.js → 7FS3KABY.js} +1 -1
- package/dist/cdn/{IIGVQFLD.js → 7LEGZD2O.js} +1 -1
- package/dist/cdn/{AEQFRO7B.js → 7LYFC7SC.js} +1 -1
- package/dist/cdn/{ICCQCKZB.js → 7RUBJPVS.js} +1 -1
- package/dist/cdn/{YKFPLV7U.js → 7SZFENQP.js} +1 -1
- package/dist/cdn/{DUSCPURL.js → 7VRU553O.js} +1 -1
- package/dist/cdn/{FOZBLOPX.js → 7WKBNAQD.js} +1 -1
- package/dist/cdn/{2ELWNWRV.js → 7XJ2H56Y.js} +1 -1
- package/dist/cdn/{JTUDL7ZD.js → AA6JMN5J.js} +1 -1
- package/dist/cdn/{EAV2N3XM.js → AH4HKYPE.js} +1 -1
- package/dist/cdn/{BQUMWB3P.js → AR47FOKN.js} +1 -1
- package/dist/cdn/{VTWJOYZO.js → ATBESYRQ.js} +1 -1
- package/dist/cdn/{KB6ZC3F2.js → AZNCJT62.js} +1 -1
- package/dist/cdn/{ZSUULNWA.js → B2G5OTNZ.js} +1 -1
- package/dist/cdn/{AHAR3YRD.js → B4GFOGFO.js} +1 -1
- package/dist/cdn/{4Q2WOBXH.js → BHB3PSCU.js} +1 -1
- package/dist/cdn/{PX7OQ23D.js → BJEDYTXQ.js} +1 -1
- package/dist/cdn/{TCB332AR.js → BTIV4UDX.js} +1 -1
- package/dist/cdn/{VRC4A6UI.js → CDVHDTSM.js} +1 -1
- package/dist/cdn/{RTXZGZRC.js → CDVPXUWH.js} +1 -1
- package/dist/cdn/{ZENXKKZU.js → CGXRBQGQ.js} +1 -1
- package/dist/cdn/{XE7L75G7.js → DJMRUJ7O.js} +1 -1
- package/dist/cdn/{BSZYRTSR.js → DVMAHZFP.js} +1 -1
- package/dist/cdn/{M6NRIDED.js → DW3K3W57.js} +1 -1
- package/dist/cdn/E3ATQTQG.js +2 -0
- package/dist/cdn/{IOZAX7QH.js → EAQLT2UN.js} +1 -1
- package/dist/cdn/{QAGNYSNU.js → EPII4PE5.js} +1 -1
- package/dist/cdn/{7E3PHG6R.js → EQPYSPT5.js} +1 -1
- package/dist/cdn/{BX4XQZE3.js → ET6WL43W.js} +1 -1
- package/dist/cdn/{23TQHX3R.js → EUFSNMR4.js} +1 -1
- package/dist/cdn/{U4FOROQE.js → EY7SYUYY.js} +1 -1
- package/dist/cdn/{JYFXOUAR.js → EYX4XXBU.js} +1 -1
- package/dist/cdn/{NBS2JRKZ.js → G3DJLLNR.js} +1 -1
- package/dist/cdn/{TJXR3SIG.js → G44JDQZ4.js} +1 -1
- package/dist/cdn/{EXSFSEK3.js → GIICS6MH.js} +1 -1
- package/dist/cdn/{IGCGKXVQ.js → GKZICLQB.js} +1 -1
- package/dist/cdn/{YWYMFFO5.js → GST63XCD.js} +1 -1
- package/dist/cdn/{DTLIZIOI.js → H337G76Z.js} +1 -1
- package/dist/cdn/{5EZ4KU4A.js → HA465EKI.js} +1 -1
- package/dist/cdn/{YPGLFMTV.js → IEC2UOVC.js} +1 -1
- package/dist/cdn/{5JF5N6II.js → IEOFMCCO.js} +1 -1
- package/dist/cdn/{667Y5WZS.js → INULU27Q.js} +1 -1
- package/dist/cdn/{5YYDQKYB.js → IP6MMWXP.js} +1 -1
- package/dist/cdn/{SUUWINLA.js → ITTHJAUG.js} +1 -1
- package/dist/cdn/{DCF4XOHG.js → J5H3B35H.js} +1 -1
- package/dist/cdn/{XEKVZSQD.js → J756LIIM.js} +1 -1
- package/dist/cdn/{N7SXGVEK.js → JF4W5UZ7.js} +1 -1
- package/dist/cdn/{5DS4JPW6.js → JIZ6BEMO.js} +1 -1
- package/dist/cdn/{4HVMKKUC.js → JODAZMW3.js} +1 -1
- package/dist/cdn/{ZKB2DJMQ.js → JWTRJAFZ.js} +1 -1
- package/dist/cdn/{CHQK4O2O.js → JYDGMTWJ.js} +1 -1
- package/dist/cdn/{LQA4IF5M.js → K6T4CJK7.js} +1 -1
- package/dist/cdn/{XLAV73BO.js → KEKWNLTW.js} +1 -1
- package/dist/cdn/{P7GCX7CN.js → KUFUPG4B.js} +1 -1
- package/dist/cdn/{PAFLJ4T6.js → KUFW2OOW.js} +1 -1
- package/dist/cdn/{QPCLA4EJ.js → KUUX4Y7X.js} +1 -1
- package/dist/cdn/{MIK35PDX.js → KV2UORZN.js} +1 -1
- package/dist/cdn/{VW43RPYP.js → KVIUDTBB.js} +1 -1
- package/dist/cdn/{NCUVQ62D.js → KX25AEKF.js} +1 -1
- package/dist/cdn/KX5PBTVM.js +2 -0
- package/dist/cdn/{NGFJVQMO.js → KYJD5CQL.js} +1 -1
- package/dist/cdn/{JEG2YAUH.js → L6D5F5SD.js} +1 -1
- package/dist/cdn/{TPA4RUZY.js → LGEWMTBM.js} +1 -1
- package/dist/cdn/{7DAFL3QP.js → LGO4NCZM.js} +1 -1
- package/dist/cdn/{FSTB6YQB.js → LO6QWIYR.js} +1 -1
- package/dist/cdn/{UB6YWPE6.js → LY5GZCVF.js} +1 -1
- package/dist/cdn/{CYHPOGKU.js → M67RIQAG.js} +1 -1
- package/dist/cdn/{TO4AP4NZ.js → M6ZVATVW.js} +1 -1
- package/dist/cdn/{L4QA437J.js → MBIE3GJO.js} +1 -1
- package/dist/cdn/{46PYSV4C.js → MD2KA2VE.js} +1 -1
- package/dist/cdn/{YLAOXZXB.js → MFQWNYVF.js} +1 -1
- package/dist/cdn/{ZO5DJCAZ.js → MGI5SXEX.js} +1 -1
- package/dist/cdn/{YIABICX7.js → MHVCLFTY.js} +1 -1
- package/dist/cdn/{5JHCBJB4.js → MLTG7WO5.js} +1 -1
- package/dist/cdn/{CP3VD55W.js → MR5JAWKH.js} +1 -1
- package/dist/cdn/{LGCAKLVB.js → MX7LKRXI.js} +1 -1
- package/dist/cdn/{OI6PBJPY.js → MYATZCJP.js} +1 -1
- package/dist/cdn/{2LOKXZGA.js → NBA6VGFB.js} +1 -1
- package/dist/cdn/{HNDFLEFC.js → NQ53C2SG.js} +1 -1
- package/dist/cdn/{S5XIZMAX.js → NWQEVQPN.js} +1 -1
- package/dist/cdn/{O3GU57ZF.js → ODGZ4RGD.js} +1 -1
- package/dist/cdn/{ISVOJLBX.js → OIFWL2YB.js} +1 -1
- package/dist/cdn/{ITX6LJ6O.js → ONRBFGY5.js} +1 -1
- package/dist/cdn/{Z4BYNRYD.js → OPATO46Y.js} +1 -1
- package/dist/cdn/{AODIPCQO.js → OZICG5FF.js} +1 -1
- package/dist/cdn/{S2L4RRRK.js → P4DS6L6N.js} +1 -1
- package/dist/cdn/{PJ3PYFJ4.js → P5MTPM2I.js} +1 -1
- package/dist/cdn/{NKRZ2VLU.js → P6I2HVEZ.js} +1 -1
- package/dist/cdn/{UENUQ4KE.js → PI6KXXB5.js} +1 -1
- package/dist/cdn/{74J22H6S.js → PL6H7VTE.js} +1 -1
- package/dist/cdn/{K3C4REJ2.js → PPOG4NAA.js} +1 -1
- package/dist/cdn/{46LACOKN.js → PUJPVTUS.js} +1 -1
- package/dist/cdn/PY4FXGEA.js +2 -0
- package/dist/cdn/{5YQWN4HC.js → QAXSOHDW.js} +1 -1
- package/dist/cdn/{PEIVXKOI.js → QB7F6BBW.js} +1 -1
- package/dist/cdn/{B752UU56.js → QCCYKLEL.js} +1 -1
- package/dist/cdn/{T6LJGCEK.js → QDHEAX7N.js} +1 -1
- package/dist/cdn/{C3D6DL63.js → QIXAQV3Y.js} +1 -1
- package/dist/cdn/{GU3IZVNE.js → QRIK2V22.js} +1 -1
- package/dist/cdn/{RTWFIBP2.js → QUBU7FFY.js} +1 -1
- package/dist/cdn/{RO7BCT67.js → R7YMIGPE.js} +1 -1
- package/dist/cdn/{Z7KZKGZH.js → RB4ZCMX4.js} +1 -1
- package/dist/cdn/{R3UMLKV7.js → RCZV4CQN.js} +1 -1
- package/dist/cdn/{HIALRIA5.js → RG3A222F.js} +1 -1
- package/dist/cdn/{HVP4D5QA.js → RG4S7JVP.js} +1 -1
- package/dist/cdn/{27PMZPVO.js → RVGCVXBV.js} +1 -1
- package/dist/cdn/{RSXH2YEV.js → SEPRRGUF.js} +1 -1
- package/dist/cdn/{SRSSON6V.js → SJUWADQP.js} +1 -1
- package/dist/cdn/{AGWQDLNI.js → SKEB63NG.js} +1 -1
- package/dist/cdn/{APV3AYJF.js → SMHB2XNO.js} +1 -1
- package/dist/cdn/{ZNKRUHBB.js → SUZEU5HH.js} +2 -2
- package/dist/cdn/SY5BLQ77.js +2 -0
- package/dist/cdn/{NVPDQFVK.js → T4WQQ7MP.js} +1 -1
- package/dist/cdn/{JPC5EARH.js → T5F57ZKY.js} +1 -1
- package/dist/cdn/{KC37LMMM.js → TBB5FDQB.js} +1 -1
- package/dist/cdn/{LA4NAQGV.js → TLUXYPPY.js} +1 -1
- package/dist/cdn/{FOJRNP3B.js → TMXAN3O2.js} +1 -1
- package/dist/cdn/TTZN7HIT.js +2 -0
- package/dist/cdn/{DQRCKBRU.js → TZHRLKZR.js} +1 -1
- package/dist/cdn/{YP2LBGBB.js → TZXIPFOD.js} +1 -1
- package/dist/cdn/{FKLSUEE4.js → U3CQZ6CI.js} +1 -1
- package/dist/cdn/{3YF5ELCV.js → U557VRFM.js} +1 -1
- package/dist/cdn/{HCWAOP6D.js → U5PXE2DX.js} +1 -1
- package/dist/cdn/{GPUGICGT.js → U7GSOBVS.js} +1 -1
- package/dist/cdn/{XILIHQ2Y.js → UCWDM6D2.js} +1 -1
- package/dist/cdn/{EV3HXCIH.js → UEF6TPIT.js} +1 -1
- package/dist/cdn/{5FZ74RGF.js → UKG6DYFF.js} +1 -1
- package/dist/cdn/{7FXNEMXE.js → UMYVF65X.js} +1 -1
- package/dist/cdn/{4LG73L7E.js → US4GUOT3.js} +1 -1
- package/dist/cdn/{FXW2QMCP.js → UXYBJXLL.js} +1 -1
- package/dist/cdn/{Q4Z6YWQ4.js → UZFDHLQM.js} +1 -1
- package/dist/cdn/{UMQX5AKE.js → V5WAYR44.js} +1 -1
- package/dist/cdn/{OPPTQDUJ.js → VGP43HGK.js} +1 -1
- package/dist/cdn/{FGPK4XM4.js → VGR7AU6K.js} +1 -1
- package/dist/cdn/{IWN6U37Z.js → VH3WALH4.js} +1 -1
- package/dist/cdn/{5HUNDZSE.js → VNCC2KP5.js} +1 -1
- package/dist/cdn/{5OZFNWAD.js → VQ4QWOQY.js} +1 -1
- package/dist/cdn/{QJPNEXAO.js → VWHIK5GL.js} +1 -1
- package/dist/cdn/{NJN3I6EV.js → W5TN3LOU.js} +1 -1
- package/dist/cdn/{C5QG2S6I.js → WJ4JHHNJ.js} +1 -1
- package/dist/cdn/{VQ5WECKT.js → X7IBOHSI.js} +1 -1
- package/dist/cdn/{7BPH252S.js → XDDOM7RA.js} +1 -1
- package/dist/cdn/{XUQOEMSH.js → XIUUCICM.js} +1 -1
- package/dist/cdn/{CB36GREW.js → XP7ST6TO.js} +1 -1
- package/dist/cdn/{WMSKSUGI.js → XUESBDWT.js} +1 -1
- package/dist/cdn/{BMITVMTW.js → XV2NVNDJ.js} +1 -1
- package/dist/cdn/{G7OKKTPN.js → YOOYHZ7L.js} +1 -1
- package/dist/cdn/{3RWP2MFY.js → YQMPW2VC.js} +1 -1
- package/dist/cdn/{OOITGE5V.js → YRUX64GE.js} +1 -1
- package/dist/cdn/{GK27I2Y5.js → YSPFHM7A.js} +1 -1
- package/dist/cdn/{U77W27GO.js → YTOLDZ6E.js} +1 -1
- package/dist/cdn/{S4DXV4PM.js → YXYHUSBB.js} +1 -1
- package/dist/cdn/{G44PNNZ4.js → ZBANIHB3.js} +1 -1
- package/dist/cdn/{Q5LEXBSY.js → ZOAOTITT.js} +1 -1
- package/dist/cdn/{XAM2764P.js → ZW733SWS.js} +1 -1
- package/dist/cdn/{UIQHTGAK.js → ZXEQN6RW.js} +1 -1
- package/dist/cdn/ZZAD2X6F.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/slots.js +9 -9
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +59 -58
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +17 -16
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +8 -0
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/4Y6EXK2P.js +0 -2
- package/dist/cdn/DS6FJ2ZR.js +0 -2
- package/dist/cdn/K3WRWVQH.js +0 -2
- package/dist/cdn/X7YUOD3X.js +0 -2
- package/dist/cdn/XL5VSTUT.js +0 -2
- package/dist/cdn/YSACVRKP.js +0 -2
- /package/dist/cdn/{BDUD457O.js → R5KGKAEB.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as N } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as E, html as
|
|
4
|
-
import { keyed as
|
|
3
|
+
import { css as E, html as n } from "lit";
|
|
4
|
+
import { keyed as _ } from "lit/directives/keyed.js";
|
|
5
5
|
import O from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
7
7
|
import { classes as b } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { m as R } from "../../chunks/useViewModel.js";
|
|
10
|
-
import { LitElement as P, createEvent as C, renderElement as
|
|
11
|
-
import { substitute as u, formatNumber as
|
|
10
|
+
import { LitElement as P, createEvent as C, renderElement as S, nothing as d, safeClassMap as $ } from "@arcgis/lumina";
|
|
11
|
+
import { substitute as u, formatNumber as F } from "@arcgis/core/intl.js";
|
|
12
12
|
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
-
import { t as
|
|
13
|
+
import { t as H, z, b as U } from "../../chunks/action-utils.js";
|
|
14
14
|
import { stripHTML as A } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
15
15
|
import x from "@arcgis/core/core/Collection.js";
|
|
16
16
|
import { a as Z } from "../../chunks/feature-utils.js";
|
|
17
17
|
import { renderingSanitizer as y } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
18
18
|
import { initializeProjection as j } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
19
|
-
import { createRef as
|
|
19
|
+
import { createRef as M, ref as v } from "lit/directives/ref.js";
|
|
20
20
|
const G = E`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`;
|
|
21
21
|
function K(c) {
|
|
22
22
|
switch (c?.type) {
|
|
@@ -33,7 +33,7 @@ function K(c) {
|
|
|
33
33
|
return null;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
const m =
|
|
36
|
+
const m = U.clone();
|
|
37
37
|
function W(c) {
|
|
38
38
|
return c?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
39
39
|
}
|
|
@@ -44,7 +44,7 @@ class q extends P {
|
|
|
44
44
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
45
45
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
46
46
|
root: window.document
|
|
47
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode =
|
|
47
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = M(), this._featureMenuViewportNode = M(), this._actionBarMenuNode = M(), this._flowContainerNode = M(), this.messages = B(), this._selectedFeatureComponent = M(), this._cancelOpenRelatedFeature = () => {
|
|
48
48
|
const { _openRelatedFeatureAbortController: e } = this;
|
|
49
49
|
e && e.abort(), this._openRelatedFeatureAbortController = null;
|
|
50
50
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.visible, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
@@ -139,8 +139,8 @@ class q extends P {
|
|
|
139
139
|
const i = new AbortController(), { signal: s } = i;
|
|
140
140
|
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
141
141
|
return;
|
|
142
|
-
const
|
|
143
|
-
this.location =
|
|
142
|
+
const o = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
|
|
143
|
+
this.location = o.location, this.promises = o.pendingFeatures;
|
|
144
144
|
}
|
|
145
145
|
async next() {
|
|
146
146
|
return this.viewModel.next();
|
|
@@ -153,7 +153,7 @@ class q extends P {
|
|
|
153
153
|
}
|
|
154
154
|
async triggerAction(e) {
|
|
155
155
|
if (!e.disabled)
|
|
156
|
-
return e?.type === "toggle" && (e.value = !e.value), await
|
|
156
|
+
return e?.type === "toggle" && (e.value = !e.value), await H(e, this.viewModel);
|
|
157
157
|
}
|
|
158
158
|
loaded() {
|
|
159
159
|
this.manager.onLifecycle(() => [
|
|
@@ -189,8 +189,8 @@ class q extends P {
|
|
|
189
189
|
const s = i?.graphic;
|
|
190
190
|
if (!s)
|
|
191
191
|
return;
|
|
192
|
-
const
|
|
193
|
-
t.set(a, [...
|
|
192
|
+
const o = Z(s), a = W(o) ? o : null, l = t.get(a) ?? [];
|
|
193
|
+
t.set(a, [...l, i]);
|
|
194
194
|
}), t;
|
|
195
195
|
}
|
|
196
196
|
_handleCollapseToggle() {
|
|
@@ -204,8 +204,8 @@ class q extends P {
|
|
|
204
204
|
if (s == null || i == null)
|
|
205
205
|
return;
|
|
206
206
|
this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
|
|
207
|
-
const
|
|
208
|
-
|
|
207
|
+
const o = K(s);
|
|
208
|
+
o != null && (this.location = o), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
209
209
|
}
|
|
210
210
|
_handlePaginationMenuButton() {
|
|
211
211
|
this._updateFeatureMenu();
|
|
@@ -248,8 +248,8 @@ class q extends P {
|
|
|
248
248
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
249
249
|
}
|
|
250
250
|
_getActionTitle(e) {
|
|
251
|
-
const { messages: t, selectedFeature: i } = this, { id: s } = e,
|
|
252
|
-
return
|
|
251
|
+
const { messages: t, selectedFeature: i } = this, { id: s } = e, o = i?.attributes, a = e.title ?? "", l = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
252
|
+
return l && o ? u(l, o) : l ?? "";
|
|
253
253
|
}
|
|
254
254
|
_onMainKeydown(e) {
|
|
255
255
|
const { key: t } = e;
|
|
@@ -298,10 +298,10 @@ class q extends P {
|
|
|
298
298
|
}
|
|
299
299
|
async _createSpinner() {
|
|
300
300
|
const e = this.referenceElement;
|
|
301
|
-
e && (await this._destroySpinner(e), this._spinnerEl =
|
|
301
|
+
e && (await this._destroySpinner(e), this._spinnerEl = S(n`<arcgis-spinner auto-destroy-disabled .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
|
-
return
|
|
304
|
+
return n`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
305
305
|
}
|
|
306
306
|
_renderFeatureNavigation() {
|
|
307
307
|
return [
|
|
@@ -310,92 +310,93 @@ class q extends P {
|
|
|
310
310
|
];
|
|
311
311
|
}
|
|
312
312
|
_renderHeader() {
|
|
313
|
-
return this.featureNavigationTop && this._featureNavigationVisible ?
|
|
313
|
+
return this.featureNavigationTop && this._featureNavigationVisible ? n`<div class="header">${this._renderFeatureNavigation()}</div>` : null;
|
|
314
314
|
}
|
|
315
315
|
_renderFooter() {
|
|
316
|
-
return !this.featureNavigationTop && this._featureNavigationVisible ?
|
|
316
|
+
return !this.featureNavigationTop && this._featureNavigationVisible ? n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
317
317
|
}
|
|
318
318
|
_renderFeaturePaginationText() {
|
|
319
319
|
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
|
|
320
|
-
return
|
|
321
|
-
index:
|
|
322
|
-
total:
|
|
320
|
+
return n`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
321
|
+
index: F(s + 1),
|
|
322
|
+
total: F(i)
|
|
323
323
|
})}</div>`;
|
|
324
324
|
}
|
|
325
325
|
_renderFeatureMenuButton() {
|
|
326
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount:
|
|
327
|
-
return
|
|
328
|
-
index:
|
|
329
|
-
total:
|
|
326
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: o } = t;
|
|
327
|
+
return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${o > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
328
|
+
index: F(s + 1),
|
|
329
|
+
total: F(i)
|
|
330
330
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
331
331
|
}
|
|
332
332
|
_renderPagination() {
|
|
333
333
|
const { previous: e, next: t } = this.messages;
|
|
334
|
-
return
|
|
334
|
+
return n`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
335
335
|
}
|
|
336
336
|
_renderFeatureMenuItem(e) {
|
|
337
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel,
|
|
338
|
-
return
|
|
337
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, o = e === i, a = s.indexOf(e);
|
|
338
|
+
return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${o} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
339
339
|
}
|
|
340
340
|
_renderFeatureMenu() {
|
|
341
341
|
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
342
|
-
return t.featureViewModels.length ?
|
|
343
|
-
const a = i.get(
|
|
344
|
-
return !this.hideFeatureListLayerTitle &&
|
|
342
|
+
return t.featureViewModels.length ? n`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (o) => {
|
|
343
|
+
const a = i.get(o)?.map((r) => this._renderFeatureMenuItem(r)), l = o ? o.title ?? this.messages.untitled : null;
|
|
344
|
+
return !this.hideFeatureListLayerTitle && l !== null ? _(o ?? "map-graphics", n`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
345
345
|
})}</calcite-list>` : null;
|
|
346
346
|
}
|
|
347
347
|
_renderHeaderAction(e) {
|
|
348
348
|
const t = e.title || "";
|
|
349
|
-
return e.visible ?
|
|
349
|
+
return e.visible ? n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? d}></calcite-action>` : null;
|
|
350
350
|
}
|
|
351
351
|
_renderHeaderActions() {
|
|
352
352
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
353
353
|
}
|
|
354
354
|
_renderContentFeature() {
|
|
355
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop:
|
|
356
|
-
if (
|
|
355
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: o, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
356
|
+
if (l === "list" && !r)
|
|
357
357
|
return null;
|
|
358
|
-
const
|
|
359
|
-
return
|
|
358
|
+
const w = a.length === 0 && (l === "list" ? !!r : !p);
|
|
359
|
+
return n`<calcite-flow-item class=${$(b({
|
|
360
360
|
"content-feature": !0,
|
|
361
361
|
"flow-item-collapsed": i
|
|
362
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${
|
|
362
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${o ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${w} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
363
363
|
}
|
|
364
364
|
_renderFeatureMenuContainer() {
|
|
365
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode:
|
|
366
|
-
if (
|
|
365
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: o, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: w, featureViewModels: T, pendingPromisesCount: I } = e, k = i ?? s.selectFeature;
|
|
366
|
+
if (o === "feature" && !a)
|
|
367
367
|
return null;
|
|
368
|
-
const
|
|
369
|
-
return
|
|
368
|
+
const V = o === "list" ? !l : a;
|
|
369
|
+
return n`<calcite-flow-item class=${$(b({
|
|
370
370
|
"flow-item-collapsed": p
|
|
371
|
-
}))} .closable=${
|
|
372
|
-
total:
|
|
373
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${
|
|
374
|
-
|
|
375
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${
|
|
371
|
+
}))} .closable=${o === "list" && !t} .closed=${!w} .collapsed=${o === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${o === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
372
|
+
total: T.length
|
|
373
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(D) => {
|
|
374
|
+
D.preventDefault(), this._handleFeatureMenuBack();
|
|
375
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${o === "list" ? this._renderHeaderActions() : null}${I > 0 ? n`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${o === "feature" ? n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
376
376
|
}
|
|
377
377
|
_renderFlowItem(e, t) {
|
|
378
|
-
const { messages: i, hideCloseButton: s, active:
|
|
379
|
-
return
|
|
380
|
-
|
|
381
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${
|
|
378
|
+
const { messages: i, hideCloseButton: s, active: o } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m), g = l && a;
|
|
379
|
+
return n`<calcite-flow-item .closable=${!s} .closed=${!o} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(w) => {
|
|
380
|
+
w.preventDefault(), this._handleDrillInBackClick();
|
|
381
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? n`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${g ? n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => z(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
382
382
|
}
|
|
383
383
|
_renderContentContainer() {
|
|
384
|
-
const e = this.flowItems?.toArray(), t = e?.map((s,
|
|
385
|
-
return
|
|
384
|
+
const e = this.flowItems?.toArray(), t = e?.map((s, o) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && o === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
385
|
+
return n`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
386
386
|
}
|
|
387
387
|
_renderActionBar() {
|
|
388
|
-
|
|
388
|
+
const t = this.viewModel.selectedFeatureViewModel?.isFeatureFromTable && !this.location ? this.viewModel.allActions.filter((i) => i.id !== m.id) : this.viewModel.allActions;
|
|
389
|
+
return !this._isCollapsed && !this.hideActionBar && t.length ? n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${v(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
|
|
389
390
|
}
|
|
390
391
|
_renderActions() {
|
|
391
392
|
return this.viewModel.allActions.toArray().map((e) => {
|
|
392
393
|
const t = this._getActionTitle(e);
|
|
393
|
-
return
|
|
394
|
+
return n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t ?? ""} title=${t ?? d} .hidden=${!e.visible} @click=${() => this._triggerAction(e)}></calcite-action>`;
|
|
394
395
|
});
|
|
395
396
|
}
|
|
396
397
|
_renderContent() {
|
|
397
398
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
398
|
-
return t ?
|
|
399
|
+
return t ? _(t, n`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? _(e, n`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
399
400
|
}
|
|
400
401
|
}
|
|
401
402
|
N("arcgis-features", q);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as s } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as r, html as a } from "lit";
|
|
4
4
|
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as c, createEvent as o,
|
|
5
|
+
import { LitElement as c, createEvent as o, nothing as l, safeClassMap as h } from "@arcgis/lumina";
|
|
6
6
|
import { usePropertyChange as g } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { classes as m } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { u as v } from "../../chunks/useT9n.js";
|
|
@@ -66,7 +66,7 @@ class f extends c {
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
const { messages: t, icon: e } = this, i = this.state === "going-home";
|
|
69
|
-
return a`<div class=${
|
|
69
|
+
return a`<div class=${h(m("root", u.arcgisButton))}><calcite-button .disabled=${this.state === "disabled"} .iconStart=${i ? void 0 : e ?? void 0} kind=neutral .label=${t.componentLabel} @click=${this._go} .scale=${this.visualScale} .loading=${i} title=${(i ? t.cancel : t.title) ?? l}></calcite-button></div>`;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
s("arcgis-home", f);
|
|
@@ -4,7 +4,7 @@ import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import _ from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
6
|
import { LitElement as V, createEvent as c, safeClassMap as p } from "@arcgis/lumina";
|
|
7
|
-
import { reCreateAccessor as A,
|
|
7
|
+
import { reCreateAccessor as A, reEmitEvent as e, makeAccessorController as f } from "@arcgis/lumina/controllers/accessor";
|
|
8
8
|
import { createRef as v, ref as m } from "lit/directives/ref.js";
|
|
9
9
|
import { s as I } from "../../chunks/esri-main.js";
|
|
10
10
|
import { s as E, C as u } from "../../chunks/slots.js";
|
|
@@ -26,9 +26,9 @@ import oe from "@arcgis/core/portal/Portal.js";
|
|
|
26
26
|
import { project as ie } from "@arcgis/core/rest/geometryService.js";
|
|
27
27
|
import re from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
import { log as O } from "@arcgis/toolkit/log";
|
|
29
|
-
import { g as
|
|
29
|
+
import { g as P } from "../../chunks/globalCss.js";
|
|
30
30
|
const ae = z`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`;
|
|
31
|
-
let
|
|
31
|
+
let E = !1;
|
|
32
32
|
const se = {
|
|
33
33
|
maximumAge: 0,
|
|
34
34
|
timeout: 15e3,
|
|
@@ -40,7 +40,7 @@ function ne(t) {
|
|
|
40
40
|
}
|
|
41
41
|
function ce(t) {
|
|
42
42
|
const e = window.isSecureContext;
|
|
43
|
-
return e ||
|
|
43
|
+
return e || E || (E = !0, O("warn", t, "Geolocation requires a secure origin.")), e;
|
|
44
44
|
}
|
|
45
45
|
function le(t) {
|
|
46
46
|
return ne(t) && ce(t);
|
|
@@ -404,18 +404,19 @@ p([
|
|
|
404
404
|
c = p([
|
|
405
405
|
M("map-components.geolocation.GeolocationPositioning")
|
|
406
406
|
], c);
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
const Pe = c;
|
|
408
|
+
var Ee = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, d = (t, e, o, r) => {
|
|
409
|
+
for (var i = r > 1 ? void 0 : r ? Se(e, o) : e, a = t.length - 1, s; a >= 0; a--)
|
|
409
410
|
(s = t[a]) && (i = (r ? s(e, o, i) : s(i)) || i);
|
|
410
411
|
return r && i && Ee(e, o, i), i;
|
|
411
412
|
};
|
|
412
|
-
const
|
|
413
|
+
const Me = new X({
|
|
413
414
|
icon: "trash",
|
|
414
415
|
id: "remove-selected-feature",
|
|
415
416
|
title: "{messages.remove}",
|
|
416
417
|
className: "esri-icon-trash"
|
|
417
418
|
});
|
|
418
|
-
function
|
|
419
|
+
function Ce(t) {
|
|
419
420
|
return new W({
|
|
420
421
|
title: t.currentLocation,
|
|
421
422
|
fieldInfos: [
|
|
@@ -483,7 +484,7 @@ function Me(t) {
|
|
|
483
484
|
}
|
|
484
485
|
}
|
|
485
486
|
],
|
|
486
|
-
actions: [
|
|
487
|
+
actions: [Me.clone()],
|
|
487
488
|
content: [
|
|
488
489
|
{
|
|
489
490
|
type: "fields"
|
|
@@ -491,7 +492,7 @@ function Me(t) {
|
|
|
491
492
|
]
|
|
492
493
|
});
|
|
493
494
|
}
|
|
494
|
-
let l = class extends
|
|
495
|
+
let l = class extends Pe {
|
|
495
496
|
//#region Lifecycle
|
|
496
497
|
constructor(t) {
|
|
497
498
|
super(t), this.popupEnabled = !0, this.locate = this.locate.bind(this);
|
|
@@ -541,7 +542,7 @@ let l = class extends c {
|
|
|
541
542
|
_updatePopupTemplate(t) {
|
|
542
543
|
if (!this.popupEnabled)
|
|
543
544
|
return;
|
|
544
|
-
const e =
|
|
545
|
+
const e = Ce(this.messages), o = t !== this.graphic;
|
|
545
546
|
this.destroyed || o || (t.popupTemplate = e);
|
|
546
547
|
}
|
|
547
548
|
//#endregion
|
|
@@ -567,10 +568,10 @@ d([
|
|
|
567
568
|
l = d([
|
|
568
569
|
M("map-components.locate.LocateViewModel")
|
|
569
570
|
], l);
|
|
570
|
-
const S = "gps-off",
|
|
571
|
-
class
|
|
571
|
+
const S = "gps-off", Te = B(l);
|
|
572
|
+
class Oe extends k {
|
|
572
573
|
constructor() {
|
|
573
|
-
super(), this.locateButtonElement = H(), this.messages = V(), this.viewModel =
|
|
574
|
+
super(), this.locateButtonElement = H(), this.messages = V(), this.viewModel = Te(this), this.hideErrorTooltip = () => {
|
|
574
575
|
this.isErrorTooltipOpen = !1;
|
|
575
576
|
}, this.isErrorTooltipOpen = !1, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = S, this.popupDisabled = this.viewModel.popupEnabled, this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.visualScale = "m", this.arcgisError = f(), this.arcgisPropertyChange = F()("state"), this.arcgisReady = f(), this.arcgisSuccess = f(), this.listenOn(document, "click", this.hideErrorTooltip);
|
|
576
577
|
}
|
|
@@ -612,10 +613,10 @@ class Te extends k {
|
|
|
612
613
|
}
|
|
613
614
|
render() {
|
|
614
615
|
const { viewModel: e, icon: o } = this, { state: r } = e, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", m = J === void 0 ? S : void 0, h = this._localizeError(this.viewModel?.error);
|
|
615
|
-
return g`<div class=${w(j("root",
|
|
616
|
+
return g`<div class=${w(j("root", P.arcgisButton))}>${!s && g`<calcite-button class=${w(P.widgetButton)} .disabled=${r === "disabled"} .loading=${i} .iconStart=${i ? void 0 : o ?? m} kind=neutral .label=${a} @click=${this._locate} .scale=${this.visualScale} title=${a ?? Q} ${K(this.locateButtonElement)}></calcite-button>` || ""}${h ? g`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${h}</calcite-tooltip>` : null}</div>`;
|
|
616
617
|
}
|
|
617
618
|
}
|
|
618
|
-
G("arcgis-locate",
|
|
619
|
+
G("arcgis-locate", Oe);
|
|
619
620
|
export {
|
|
620
|
-
|
|
621
|
+
Oe as ArcgisLocate
|
|
621
622
|
};
|
|
@@ -5,7 +5,7 @@ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
5
5
|
import l from "@arcgis/core/views/MapView.js";
|
|
6
6
|
import v from "@arcgis/core/WebMap.js";
|
|
7
7
|
import { LitElement as m, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { reEmitEvent as e, reCreateAccessor as u, makeAccessorController as p } from "@arcgis/lumina/controllers/accessor";
|
|
9
9
|
import { createRef as o, ref as h } from "lit/directives/ref.js";
|
|
10
10
|
import { s as g } from "../../chunks/esri-main.js";
|
|
11
11
|
import { s as d, C as w } from "../../chunks/slots.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as d } from "../../chunks/runtime.js";
|
|
3
3
|
import { when as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import { LitElement as g, createEvent as h,
|
|
4
|
+
import { LitElement as g, createEvent as h, nothing as r, safeClassMap as p } from "@arcgis/lumina";
|
|
5
5
|
import { usePropertyChange as u } from "@arcgis/lumina/controllers";
|
|
6
6
|
import { css as v, html as m } from "lit";
|
|
7
7
|
import { u as f } from "../../chunks/useT9n.js";
|
|
@@ -468,7 +468,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
468
468
|
/**
|
|
469
469
|
* Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
|
|
470
470
|
*
|
|
471
|
-
* When setting the
|
|
471
|
+
* When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
|
|
472
472
|
*
|
|
473
473
|
* @default false
|
|
474
474
|
* @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as g, html as
|
|
3
|
+
import { css as g, html as h } from "lit";
|
|
4
4
|
import { useDirection as u } from "@arcgis/lumina/controllers";
|
|
5
|
-
import { LitElement as S, createEvent as m, nothing as
|
|
5
|
+
import { LitElement as S, createEvent as m, nothing as a } from "@arcgis/lumina";
|
|
6
6
|
import { u as b } from "../../chunks/useT9n.js";
|
|
7
7
|
import { m as w } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { property as d, subclass as y } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
@@ -12,8 +12,8 @@ import { ignoreAbortErrors as x } from "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import { on as I, watch as _ } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
13
|
const E = g`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.root{--internal-attribution-height: 16px;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);align-self:flex-end;margin-block:auto calc(var(--calcite-spacing-fixed-xl) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-fixed-xl)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}`;
|
|
14
14
|
var M = Object.defineProperty, A = Object.getOwnPropertyDescriptor, r = (e, t, i, l) => {
|
|
15
|
-
for (var n = l > 1 ? void 0 : l ? A(t, i) : t,
|
|
16
|
-
(o = e[
|
|
15
|
+
for (var n = l > 1 ? void 0 : l ? A(t, i) : t, c = e.length - 1, o; c >= 0; c--)
|
|
16
|
+
(o = e[c]) && (n = (l ? o(t, i, n) : o(n)) || n);
|
|
17
17
|
return l && n && M(t, i, n), n;
|
|
18
18
|
};
|
|
19
19
|
let s = class extends f {
|
|
@@ -160,11 +160,11 @@ class P extends S {
|
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
162
|
const t = this.viewModel.lastSlideSelected && !this.viewModel.hasOnlyOneSlide, i = this._direction === "rtl", l = i ? "chevron-right" : "chevron-left", n = i ? "chevron-left" : "chevron-right";
|
|
163
|
-
return this.viewModel.visibleSlides.length === 0 ?
|
|
163
|
+
return this.viewModel.visibleSlides.length === 0 ? h`<div></div>` : h`<div class="root"><calcite-button appearance=transparent icon-start=${l ?? a} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected || !this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? a} @click=${() => this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${(t ? "reset" : n) ?? a} kind=neutral .scale=${this.scale} .label=${t ? this._messages.restart : this._messages.next} title=${(t ? this._messages.restart : this._messages.next) ?? a} @click=${() => this.viewModel.navigateInPresentation(1)}></calcite-button></div>`;
|
|
164
164
|
}
|
|
165
165
|
_renderSlideCounter() {
|
|
166
166
|
const t = this.viewModel.slideIndex + 1, i = this._messages?.slideNavAriaText?.replace("${index}", t.toString()).replace("${numberOfSlides}", this.viewModel.visibleSlides.length.toString());
|
|
167
|
-
return this.viewModel.slideSelected ?
|
|
167
|
+
return this.viewModel.slideSelected ? h`<p role=banner aria-label=${i ?? a} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${t}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>` : h`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
v("arcgis-presentation", P);
|
|
@@ -7,7 +7,7 @@ import v from "@arcgis/core/geometry/Point.js";
|
|
|
7
7
|
import g from "@arcgis/core/views/SceneView.js";
|
|
8
8
|
import u from "@arcgis/core/WebScene.js";
|
|
9
9
|
import { LitElement as d, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
|
|
10
|
-
import {
|
|
10
|
+
import { reEmitEvent as t, reCreateAccessor as y, makeAccessorController as w } from "@arcgis/lumina/controllers/accessor";
|
|
11
11
|
import { createRef as o, ref as h } from "lit/directives/ref.js";
|
|
12
12
|
import { U as f, u as b, a as V } from "../../chunks/useArcgisViewReadyError.js";
|
|
13
13
|
import { s as C } from "../../chunks/esri-main.js";
|
|
@@ -359,6 +359,14 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
359
359
|
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
360
360
|
*/
|
|
361
361
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* Determines the size of component elements.
|
|
364
|
+
*
|
|
365
|
+
* @deprecated since 5.0, use `element.visualScale` instead.
|
|
366
|
+
* @default "m"
|
|
367
|
+
* @since 4.32
|
|
368
|
+
*/
|
|
369
|
+
accessor scale: Button["scale"];
|
|
362
370
|
/**
|
|
363
371
|
* Indicates whether to display the freehandPolygon tool.
|
|
364
372
|
*
|
|
@@ -14,7 +14,7 @@ class m extends n {
|
|
|
14
14
|
super(), this._visualScale = "m", this.widget = b(this), this.viewModel = this.widget.viewModel, this._defaultGraphicsLayer = null, this.view = this.widget.view, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsMultipoint = this.widget.visibleElements.createTools.multipoint, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideSelectionCountLabel = this.widget.visibleElements.selectionCountLabel, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.showCreateToolsFreehandPolygon = this.widget.visibleElements.createTools.freehandPolygon, this.showCreateToolsFreehandPolyline = this.widget.visibleElements.createTools.freehandPolyline, this.showCreateToolsText = this.widget.visibleElements.createTools.text, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = this.widget.toolbarKind, this.tooltipOptions = this.widget.tooltipOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = o(() => this.widget, "create"), this.arcgisDelete = o(() => this.widget, "delete"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = c(), this.arcgisRedo = o(() => this.widget, "redo"), this.arcgisUndo = o(() => this.widget, "undo"), this.arcgisUpdate = o(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.properties = { view: 0, activeTool: 35, autoDestroyDisabled: 5, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, 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, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, referenceElement: 1, visualScale: 1, showSnappingControlsElementsHeader: 5, showCreateToolsFreehandPolygon: 5, showCreateToolsFreehandPolyline: 5, showCreateToolsText: 5, snappingOptions: 0, state: 32, textSymbol: 0, toolbarKind: 1, tooltipOptions: 0, useLegacyCreateTools: 5, updateGraphics: 32 };
|
|
17
|
+
this.properties = { view: 0, activeTool: 35, autoDestroyDisabled: 5, availableCreateTools: 0, createGraphic: 32, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, 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, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, referenceElement: 1, scale: 1, visualScale: 1, showSnappingControlsElementsHeader: 5, showCreateToolsFreehandPolygon: 5, showCreateToolsFreehandPolyline: 5, showCreateToolsText: 5, snappingOptions: 0, state: 32, textSymbol: 0, toolbarKind: 1, tooltipOptions: 0, useLegacyCreateTools: 5, updateGraphics: 32 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.styles = h;
|
|
@@ -3,7 +3,7 @@ import { c as u } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as d, html as h } from "lit";
|
|
4
4
|
import { ignoreAbortErrors as f } from "@arcgis/core/core/promiseUtils.js";
|
|
5
5
|
import { when as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as y, createEvent as r,
|
|
6
|
+
import { LitElement as y, createEvent as r, nothing as c, safeClassMap as b } from "@arcgis/lumina";
|
|
7
7
|
import { usePropertyChange as p } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { u as z } from "../../chunks/useT9n.js";
|
|
9
9
|
import { u as v } from "../../chunks/useView.js";
|