@arcgis/map-components 5.1.0-next.6 → 5.1.0-next.61
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/README.md +2 -2
- package/dist/cdn/277YGNPQ.js +2 -0
- package/dist/cdn/2H4TOIDN.js +2 -0
- package/dist/cdn/2OYSX637.js +2 -0
- package/dist/cdn/2QO5XYXC.js +2 -0
- package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → 2TP43ZJT.js} +1 -1
- package/dist/cdn/34N6NVCA.js +2 -0
- package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
- package/dist/cdn/3GY55TR6.js +2 -0
- package/dist/cdn/3IMMSP7K.js +2 -0
- package/dist/cdn/{24PK3ZLX.js → 3LHUEYZM.js} +1 -1
- package/dist/cdn/3QUBDSPU.js +2 -0
- package/dist/cdn/{JTEJ2NHE.js → 3RCS4AK2.js} +1 -1
- package/dist/cdn/3TSFQO2E.js +2 -0
- package/dist/cdn/{FQJMTGXO.js → 3VBTMG7C.js} +1 -1
- package/dist/cdn/3WY7V7O6.js +2 -0
- package/dist/cdn/{D6VUTTEH.js → 43C5DIH5.js} +1 -1
- package/dist/cdn/4JJPFWBJ.js +2 -0
- package/dist/cdn/4WXHSJS4.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → 4Y32ZA4A.js} +1 -1
- package/dist/cdn/54VXNFQ4.js +2 -0
- package/dist/cdn/55JQXQSW.js +2 -0
- package/dist/cdn/{5V7HEV2R.js → 5ABSWG4I.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
- package/dist/cdn/5JNFAIJ6.js +2 -0
- package/dist/cdn/5RELUUK7.js +2 -0
- package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
- package/dist/cdn/5VYGY5I2.js +2 -0
- package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
- package/dist/cdn/64LRQ74J.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
- package/dist/cdn/{BSRIYDMN.js → 6FU5MMYZ.js} +1 -1
- package/dist/cdn/{YA6FUJR2.js → 6HLZ37OL.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → 6IFFBFYE.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → 6V5OS3F6.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
- package/dist/cdn/762NGL33.js +2 -0
- package/dist/cdn/76LZPCRF.js +2 -0
- package/dist/cdn/76MRQR3N.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
- package/dist/cdn/7BWFZ4B2.js +2 -0
- package/dist/cdn/{7357JBTM.js → 7EJRQZ4J.js} +1 -1
- package/dist/cdn/7IOKJUW4.js +2 -0
- package/dist/cdn/{CMWIMRU2.js → 7JI6J4N6.js} +1 -1
- package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
- package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → 7QLMRDBI.js} +1 -1
- package/dist/cdn/7RXSOZQ7.js +2 -0
- package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
- package/dist/cdn/7YSD6HNU.js +2 -0
- package/dist/cdn/A2QPYUE5.js +2 -0
- package/dist/cdn/AO4UV75O.js +2 -0
- package/dist/cdn/ASV42UM4.js +2 -0
- package/dist/cdn/{5PJEJPFY.js → B3MJD74A.js} +1 -1
- package/dist/cdn/BA3BDAAS.js +2 -0
- package/dist/cdn/{AJBY2TVM.js → BFIXVV5U.js} +1 -1
- package/dist/cdn/BIJOBOZ4.js +2 -0
- package/dist/cdn/BVQJEN6O.js +2 -0
- package/dist/cdn/{PI6UQWTD.js → C2T4S7R6.js} +1 -1
- package/dist/cdn/C3MEDREM.js +2 -0
- package/dist/cdn/C4TTO7TK.js +2 -0
- package/dist/cdn/CGKNN7O3.js +2 -0
- package/dist/cdn/CRI4IX6X.js +2 -0
- package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
- package/dist/cdn/CVBW7J23.js +2 -0
- package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
- package/dist/cdn/{XEYK67J5.js → CYX7ZCTI.js} +1 -1
- package/dist/cdn/CZP57LZN.js +2 -0
- package/dist/cdn/{DUT3D6UH.js → D3ID2M4K.js} +1 -1
- package/dist/cdn/D4WLKVXQ.js +2 -0
- package/dist/cdn/DBZ3TUNH.js +2 -0
- package/dist/cdn/DOAUTR3P.js +2 -0
- package/dist/cdn/DQH27QCF.js +2 -0
- package/dist/cdn/DSN53CZZ.js +2 -0
- package/dist/cdn/DWTMIKGK.js +2 -0
- package/dist/cdn/EIZD6RWP.js +2 -0
- package/dist/cdn/EQ7PMY6V.js +2 -0
- package/dist/cdn/{4YQLL44L.js → EYEWDNE5.js} +1 -1
- package/dist/cdn/F234D4MB.js +2 -0
- package/dist/cdn/F37IC6GS.js +2 -0
- package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
- package/dist/cdn/FIG6WRQB.js +2 -0
- package/dist/cdn/FPIFCILH.js +2 -0
- package/dist/cdn/FWXI6DGS.js +2 -0
- package/dist/cdn/GCFS62KM.js +2 -0
- package/dist/cdn/{6XJFSJGE.js → GGFRRU24.js} +1 -1
- package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
- package/dist/cdn/GTGN4N7C.js +2 -0
- package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
- package/dist/cdn/GW3E4WBW.js +2 -0
- package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
- package/dist/cdn/HTWBRXGA.js +2 -0
- package/dist/cdn/HW4WLKS3.js +2 -0
- package/dist/cdn/HX43LUFZ.js +2 -0
- package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
- package/dist/cdn/I76WQDAB.js +2 -0
- package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
- package/dist/cdn/J2NNVVQJ.js +2 -0
- package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
- package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
- package/dist/cdn/JEBIHMOV.js +2 -0
- package/dist/cdn/JVFREF7G.js +4 -0
- package/dist/cdn/JYMO2RQW.js +2 -0
- package/dist/cdn/JZZSQAW2.js +2 -0
- package/dist/cdn/K4WPBHLB.js +2 -0
- package/dist/cdn/KMHTPOUS.js +3 -0
- package/dist/cdn/KMPRGO2N.js +2 -0
- package/dist/cdn/KSGWOMMH.js +2 -0
- package/dist/cdn/KVUEQOKK.js +2 -0
- package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → LF6Z577I.js} +1 -1
- package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
- package/dist/cdn/LMYZFAFF.js +2 -0
- package/dist/cdn/LUAKM4MG.js +2 -0
- package/dist/cdn/{MQ6HO6LA.js → M2EZHNOA.js} +1 -1
- package/dist/cdn/{TCG6VGIB.js → M3SO3XES.js} +1 -1
- package/dist/cdn/MDRC374Z.js +4 -0
- package/dist/cdn/{4PWBNKOA.js → MI222VBR.js} +1 -1
- package/dist/cdn/MP4O7I6K.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
- package/dist/cdn/MRBYVJ5U.js +2 -0
- package/dist/cdn/MX7NGEWP.js +2 -0
- package/dist/cdn/N3KVIOWL.js +2 -0
- package/dist/cdn/NJWMNFLG.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → NTQDM7T6.js} +1 -1
- package/dist/cdn/ODQ4JQEF.js +2 -0
- package/dist/cdn/OGLMIUHI.js +2 -0
- package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
- package/dist/cdn/OK7S4W2T.js +2 -0
- package/dist/cdn/OM6N42EA.js +2 -0
- package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
- package/dist/cdn/OY3SJG2A.js +2 -0
- package/dist/cdn/P2ABZVPJ.js +2 -0
- package/dist/cdn/PBTWS5ZO.js +2 -0
- package/dist/cdn/PLPEGT56.js +2 -0
- package/dist/cdn/{LSF66JVY.js → PM4BDQTV.js} +1 -1
- package/dist/cdn/PMSDTN4F.js +2 -0
- package/dist/cdn/{GKW3DDEQ.js → PZD2JLT5.js} +1 -1
- package/dist/cdn/QG6R7I4M.js +2 -0
- package/dist/cdn/QHIBDCFD.js +2 -0
- package/dist/cdn/QPPSIZAB.js +2 -0
- package/dist/cdn/QVKAKMZA.js +2 -0
- package/dist/cdn/{LVSNYSCO.js → QVQPUYUA.js} +1 -1
- package/dist/cdn/QWJMM65P.js +2 -0
- package/dist/cdn/R2ZIHQ6C.js +2 -0
- package/dist/cdn/R3NYK6BO.js +2 -0
- package/dist/cdn/R4GEB2D7.js +2 -0
- package/dist/cdn/{P4PTEXIJ.js → RCWAURXQ.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → RFFRNLP2.js} +1 -1
- package/dist/cdn/RH62B2NE.js +2 -0
- package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
- package/dist/cdn/RWKDHERX.js +2 -0
- package/dist/cdn/RWZCNZXX.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/S676CANE.js +2 -0
- package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → SYWVHWVX.js} +1 -1
- package/dist/cdn/TBWM3VXL.js +2 -0
- package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
- package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
- package/dist/cdn/TGSCLA2C.js +2 -0
- package/dist/cdn/TNCVNE6F.js +2 -0
- package/dist/cdn/TWV3S4Z7.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → U3OC5CUW.js} +1 -1
- package/dist/cdn/{INS77MCT.js → U4CA3PYG.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → UO4R7CWA.js} +1 -1
- package/dist/cdn/UOEUBKDF.js +2 -0
- package/dist/cdn/UVO7OQB6.js +2 -0
- package/dist/cdn/UX2LYYGS.js +2 -0
- package/dist/cdn/V3QXCAYX.js +2 -0
- package/dist/cdn/V4KC76CR.js +2 -0
- package/dist/cdn/VEYOGGAN.js +2 -0
- package/dist/cdn/VHLUJNCP.js +2 -0
- package/dist/cdn/VY2CZNYM.js +2 -0
- package/dist/cdn/W3ELN5AQ.js +2 -0
- package/dist/cdn/{KYOYYCFY.js → W3EWLBL6.js} +1 -1
- package/dist/cdn/W73LTDPZ.js +2 -0
- package/dist/cdn/{GHFKQEFW.js → WE5C2IC6.js} +1 -1
- package/dist/cdn/WNDNGPC6.js +2 -0
- package/dist/cdn/WP44MHA5.js +2 -0
- package/dist/cdn/WU4OO2CE.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → X5KTEF4Q.js} +1 -1
- package/dist/cdn/XCN5IIIA.js +2 -0
- package/dist/cdn/{GYTQDFSL.js → XCSLXGGT.js} +1 -1
- package/dist/cdn/XEXCDGSR.js +2 -0
- package/dist/cdn/{4IC3NWKK.js → XIBJIKAX.js} +1 -1
- package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
- package/dist/cdn/XPZYTUFI.js +2 -0
- package/dist/cdn/XQW7SSDL.js +2 -0
- package/dist/cdn/XSRRD3ET.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
- package/dist/cdn/Y56BNGW6.js +2 -0
- package/dist/cdn/{SPACZLHW.js → YJJZFGLZ.js} +1 -1
- package/dist/cdn/YM46E2DT.js +2 -0
- package/dist/cdn/YMG6MCNY.js +2 -0
- package/dist/cdn/YWIQ2K5S.js +2 -0
- package/dist/cdn/YXIRQ6K2.js +2 -0
- package/dist/cdn/YXUK3MCB.js +2 -0
- package/dist/cdn/YZLPEORC.js +2 -0
- package/dist/cdn/Z4AZUIMN.js +2 -0
- package/dist/cdn/Z57TNQ4S.js +2 -0
- package/dist/cdn/ZKF65A44.js +2 -0
- package/dist/cdn/ZTERN4BN.js +2 -0
- package/dist/cdn/ZUMTQ5P7.js +2 -0
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- package/dist/cdn/assets/layer-list-new/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/action-utils.js +4 -4
- package/dist/chunks/component-utils.js +42 -36
- package/dist/chunks/css.js +25 -0
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +10 -12
- package/dist/chunks/globalCss.js +1 -0
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-list-utils.js +112 -0
- package/dist/chunks/layer-utils.js +44 -28
- package/dist/chunks/measurementUtils.js +12 -12
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/useArcgisViewReadyError.js +11 -11
- package/dist/chunks/useViewModel.js +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
- package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +17 -12
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +127 -73
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +212 -206
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +60 -14
- package/dist/components/arcgis-directions/customElement.js +31 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +79 -18
- package/dist/components/arcgis-editor/customElement.js +23 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/customElement.js +5 -11
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +28 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +19 -15
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +172 -199
- package/dist/components/arcgis-feature-relationship/customElement.js +14 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
- package/dist/components/arcgis-feature-table/customElement.js +46 -30
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.d.ts +44 -35
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +84 -93
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +92 -110
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-home/customElement.js +16 -14
- package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
- package/dist/components/arcgis-layer-list/customElement.js +15 -15
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +35 -0
- package/dist/components/arcgis-layer-list-item-indicator/index.js +2 -0
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +74 -0
- package/dist/components/arcgis-layer-list-item-panel/index.js +2 -0
- package/dist/components/arcgis-layer-list-new/customElement.d.ts +302 -0
- package/dist/components/arcgis-layer-list-new/customElement.js +249 -0
- package/dist/components/arcgis-layer-list-new/index.js +10 -0
- package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +139 -0
- package/dist/components/{arcgis-layer-list-item → arcgis-layer-list-new/layer-list-item}/index.js +6 -5
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-locate/customElement.js +24 -23
- package/dist/components/arcgis-map/customElement.d.ts +189 -181
- package/dist/components/arcgis-map/customElement.js +4 -4
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-measurement-content/customElement.js +18 -14
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +92 -74
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +42 -32
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -177
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +55 -59
- package/dist/components/arcgis-search/customElement.js +13 -12
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
- package/dist/components/arcgis-sketch/customElement.d.ts +82 -33
- package/dist/components/arcgis-sketch/customElement.js +14 -14
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +11 -10
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
- package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
- package/dist/components/arcgis-swipe/customElement.js +55 -43
- package/dist/components/arcgis-table-list/customElement.d.ts +122 -80
- package/dist/components/arcgis-table-list/customElement.js +11 -11
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
- package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +119 -75
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +200 -195
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +120 -98
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -11
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -1
- 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 +17 -35
- package/dist/loader.js +38 -36
- package/dist/types/lumina.d.ts +41 -55
- package/dist/types/preact.d.ts +43 -60
- package/dist/types/react.d.ts +45 -65
- package/dist/types/stencil.d.ts +41 -55
- package/dist/utils/action-utils.d.ts +1 -3
- package/dist/utils/layer-list-utils.d.ts +12 -0
- package/package.json +7 -7
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2BJHF4JK.js +0 -2
- package/dist/cdn/2K45WUVH.js +0 -2
- package/dist/cdn/3NKCXSOG.js +0 -2
- package/dist/cdn/3WJ4CTLO.js +0 -2
- package/dist/cdn/3WKKQ4VO.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/4URF7CKU.js +0 -2
- package/dist/cdn/5FZLG5YS.js +0 -2
- package/dist/cdn/5RBOHMMK.js +0 -2
- package/dist/cdn/6NR6EZZI.js +0 -2
- package/dist/cdn/6Q52PYPA.js +0 -2
- package/dist/cdn/6V543DNR.js +0 -2
- package/dist/cdn/6ZNO34O5.js +0 -2
- package/dist/cdn/77ERVO5S.js +0 -2
- package/dist/cdn/7CBBWB77.js +0 -2
- package/dist/cdn/7WLTT4K3.js +0 -2
- package/dist/cdn/7ZCMIKP6.js +0 -2
- package/dist/cdn/B2WEYYED.js +0 -2
- package/dist/cdn/BAPY2HFP.js +0 -2
- package/dist/cdn/BB5CXHDQ.js +0 -2
- package/dist/cdn/BEXRPBHT.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BM2JTRBY.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/BQMLNDT6.js +0 -2
- package/dist/cdn/C2PSJPHR.js +0 -2
- package/dist/cdn/C67HCGCO.js +0 -2
- package/dist/cdn/CCJHB4A2.js +0 -2
- package/dist/cdn/CEJGZMGB.js +0 -2
- package/dist/cdn/CIUAWIL5.js +0 -4
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CNMF4MVD.js +0 -2
- package/dist/cdn/CQ2L75M3.js +0 -2
- package/dist/cdn/CUWONRT5.js +0 -2
- package/dist/cdn/CXOYV56L.js +0 -2
- package/dist/cdn/D7DDJ2QZ.js +0 -3
- package/dist/cdn/DLFGSUYT.js +0 -2
- package/dist/cdn/DWW7KAMQ.js +0 -2
- package/dist/cdn/E4YMNWRJ.js +0 -2
- package/dist/cdn/EJZTSGNS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EPQN4FJS.js +0 -2
- package/dist/cdn/EQKQCYUY.js +0 -2
- package/dist/cdn/ET6YD3C7.js +0 -2
- package/dist/cdn/EVC4MXIZ.js +0 -2
- package/dist/cdn/EYW7YQF6.js +0 -2
- package/dist/cdn/FANKLSAT.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FFDRV5ZO.js +0 -2
- package/dist/cdn/FOMIDTAN.js +0 -2
- package/dist/cdn/FTBTVD7U.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/G7PHEWBZ.js +0 -2
- package/dist/cdn/GHA2ANJZ.js +0 -2
- package/dist/cdn/GLNRLEZE.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/GS43BIES.js +0 -2
- package/dist/cdn/GUAI5SHN.js +0 -2
- package/dist/cdn/GYDNEXYU.js +0 -2
- package/dist/cdn/HGNP2J3R.js +0 -2
- package/dist/cdn/HVI2FE73.js +0 -2
- package/dist/cdn/I2WEEE2E.js +0 -2
- package/dist/cdn/ILPNFQWH.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/J7ZNOOZ4.js +0 -2
- package/dist/cdn/JC4DYMKT.js +0 -2
- package/dist/cdn/JCV26SSG.js +0 -2
- package/dist/cdn/JLIZWDU5.js +0 -2
- package/dist/cdn/JMHCIJG4.js +0 -2
- package/dist/cdn/KBY7C6QM.js +0 -2
- package/dist/cdn/KE3XRRXO.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KNJ7PME5.js +0 -2
- package/dist/cdn/KRCRJUYG.js +0 -2
- package/dist/cdn/L6LZYPWJ.js +0 -2
- package/dist/cdn/L7NIKN24.js +0 -2
- package/dist/cdn/LLNNQ2ED.js +0 -2
- package/dist/cdn/LMV6L2OF.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/LZ3PMD7Z.js +0 -2
- package/dist/cdn/LZ7PMWXR.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/N76CLHYJ.js +0 -2
- package/dist/cdn/OF4IOSNA.js +0 -2
- package/dist/cdn/OJNMPOYD.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/OXHLBFME.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PESPV6VP.js +0 -2
- package/dist/cdn/PFYZ7JRB.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/POEZXWTT.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/QXUY4FOY.js +0 -2
- package/dist/cdn/RVFNEP2J.js +0 -2
- package/dist/cdn/RXFUZXUX.js +0 -2
- package/dist/cdn/S52VES4H.js +0 -2
- package/dist/cdn/SD7FABOK.js +0 -2
- package/dist/cdn/SFM3XWUA.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/SSZMOOL6.js +0 -2
- package/dist/cdn/SZNBYDQI.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U5HXLA7K.js +0 -2
- package/dist/cdn/UZ7KLWGC.js +0 -2
- package/dist/cdn/V3M37NHT.js +0 -2
- package/dist/cdn/VGFC3ME5.js +0 -2
- package/dist/cdn/VGTTCLO3.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- package/dist/cdn/VYHDFNKP.js +0 -2
- package/dist/cdn/WICYZB2Q.js +0 -2
- package/dist/cdn/XWAT4IT2.js +0 -2
- package/dist/cdn/XXDOZQ6Q.js +0 -2
- package/dist/cdn/Y7HDE5NQ.js +0 -2
- package/dist/cdn/YEDAGZUF.js +0 -2
- package/dist/cdn/YHRPRHZA.js +0 -2
- package/dist/cdn/YMDVBOE7.js +0 -2
- package/dist/cdn/YMPJFJHK.js +0 -2
- package/dist/cdn/YSDQ5VNK.js +0 -2
- package/dist/cdn/Z6VVHLCW.js +0 -2
- package/dist/cdn/ZHINQNZ2.js +0 -2
- package/dist/cdn/ZIX3WE2Q.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/chunks/layer-list.js +0 -6
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +0 -287
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
- /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /package/dist/components/{arcgis-building-level-item → arcgis-layer-list-new}/index.d.ts +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SizeVariable from "@arcgis/core/renderers/visualVariables/SizeVariable";
|
|
2
|
+
import type SizeVariable from "@arcgis/core/renderers/visualVariables/SizeVariable.js";
|
|
3
3
|
import type SizeStop from "@arcgis/core/renderers/visualVariables/support/SizeStop.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/size";
|
|
6
|
-
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
|
|
7
|
-
import type { IconName } from "
|
|
8
|
-
import type {
|
|
9
|
-
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
|
|
5
|
+
import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/size.js";
|
|
6
|
+
import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
7
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
|
+
import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
|
|
10
9
|
import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
|
|
11
10
|
import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
|
|
12
11
|
import type { SizeSliderStyle } from "@arcgis/core/widgets/smartMapping/SizeSlider.js";
|
|
@@ -17,24 +16,24 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
17
16
|
* >
|
|
18
17
|
* > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
|
|
19
18
|
* >
|
|
20
|
-
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point,
|
|
19
|
+
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
|
|
21
20
|
*
|
|
22
21
|
* The Size Slider component is intended for authoring and exploring data-driven visualizations in any
|
|
23
|
-
* layer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* layer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/).
|
|
24
23
|
*
|
|
25
24
|
* See the image below for a summary of the configurable options available on this slider.
|
|
26
25
|
*
|
|
27
|
-
* 
|
|
28
27
|
*
|
|
29
|
-
* The [updateFromRendererResult()](
|
|
30
|
-
* [max](
|
|
28
|
+
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
29
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
31
30
|
* intervals, and the slider's histogram after the renderer has been created from the result of the
|
|
32
|
-
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
31
|
+
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer) method.
|
|
33
32
|
*
|
|
34
33
|
* ```js
|
|
35
34
|
* const sizeRendererCreator = await import("@arcgis/core/smartMapping/renderers/size.js");
|
|
36
35
|
* const viewElement = document.querySelector("arcgis-map")!;
|
|
37
|
-
* const sizeSlider = document.querySelector("arcgis-slider-size")!;
|
|
36
|
+
* const sizeSlider = document.querySelector("arcgis-slider-size-legacy")!;
|
|
38
37
|
*
|
|
39
38
|
* const featureLayer = new FeatureLayer({
|
|
40
39
|
* url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Major_Cities_/FeatureServer/0",
|
|
@@ -61,7 +60,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
61
60
|
* sizeSlider.updateFromRendererResult(rendererResult, histogramResult);
|
|
62
61
|
* ```
|
|
63
62
|
*
|
|
64
|
-
* This slider should be used to update a [size visual variable](https://developers.arcgis.com/javascript/latest/
|
|
63
|
+
* This slider should be used to update a [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
65
64
|
* in a layer's renderer. It is the responsibility of the app developer
|
|
66
65
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
67
66
|
*
|
|
@@ -88,8 +87,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
88
87
|
* ```
|
|
89
88
|
*
|
|
90
89
|
* @since 5.0
|
|
91
|
-
* @see [
|
|
92
|
-
* @see [sizeRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html)
|
|
90
|
+
* @see [sizeRendererCreator](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/)
|
|
93
91
|
*/
|
|
94
92
|
export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
95
93
|
/**
|
|
@@ -104,10 +102,8 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
104
102
|
accessor autoDestroyDisabled: boolean;
|
|
105
103
|
/**
|
|
106
104
|
* The histogram associated with the data represented on the slider. The bins are typically
|
|
107
|
-
* generated using the [histogram](https://developers.arcgis.com/javascript/latest/
|
|
105
|
+
* generated using the [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/) statistics function.
|
|
108
106
|
*
|
|
109
|
-
* @see [histogram](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html)
|
|
110
|
-
* @see [Histogram](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-histogram/)
|
|
111
107
|
* @example
|
|
112
108
|
* ```js
|
|
113
109
|
* const histogramResult = await histogram({
|
|
@@ -116,10 +112,11 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
116
112
|
* numBins: 30,
|
|
117
113
|
* });
|
|
118
114
|
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
115
|
+
* slider.histogramConfig = {
|
|
116
|
+
* bins: histogramResult.bins
|
|
117
|
+
* };
|
|
118
|
+
* ```
|
|
119
|
+
* @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
123
120
|
*/
|
|
124
121
|
accessor histogramConfig: HistogramConfig | null | undefined;
|
|
125
122
|
/**
|
|
@@ -130,33 +127,34 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
130
127
|
*/
|
|
131
128
|
accessor icon: IconName;
|
|
132
129
|
/**
|
|
133
|
-
* A function used to format user inputs. As opposed to [labelFormatFunction](
|
|
130
|
+
* A function used to format user inputs. As opposed to [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#labelFormatFunction), which formats
|
|
134
131
|
* thumb labels, the `inputFormatFunction` formats thumb values in the input element when the user begins
|
|
135
132
|
* to edit them.
|
|
136
133
|
*
|
|
137
134
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
138
135
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
139
136
|
*
|
|
140
|
-
* 
|
|
141
138
|
*
|
|
142
139
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
143
140
|
* `inputFormatFunction` for consistent formatting.
|
|
144
141
|
*
|
|
145
|
-
* 
|
|
146
143
|
*
|
|
147
144
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
148
|
-
* [inputParseFunction](
|
|
149
|
-
* you specify an `inputFormatFunction`, you should set the [labelFormatFunction](
|
|
145
|
+
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
146
|
+
* you specify an `inputFormatFunction`, you should set the [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#labelFormatFunction) to the same value
|
|
150
147
|
* for consistency between labels and inputs.
|
|
151
148
|
*
|
|
152
149
|
* This property overrides the default input formatter, which formats by calling `toString()` on the input value.
|
|
150
|
+
*
|
|
153
151
|
*
|
|
154
|
-
* @see [inputParseFunction](
|
|
152
|
+
* @see [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputParseFunction)
|
|
155
153
|
* @example
|
|
156
154
|
* ```js
|
|
157
155
|
* // Formats the slider input to abbreviated numbers with units
|
|
158
156
|
* // e.g. a thumb at position 1500 will render with an input label of 1.5k
|
|
159
|
-
*
|
|
157
|
+
* slider.inputFormatFunction = (value: number): string => {
|
|
160
158
|
* if (value >= 1000000) {
|
|
161
159
|
* return (value / 1000000).toPrecision(3) + "m";
|
|
162
160
|
* }
|
|
@@ -168,24 +166,24 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
168
166
|
* }
|
|
169
167
|
* return value.toFixed(0);
|
|
170
168
|
* };
|
|
171
|
-
*
|
|
169
|
+
* ```
|
|
172
170
|
*/
|
|
173
171
|
accessor inputFormatFunction: LabelFormatFunction | null | undefined;
|
|
174
172
|
/**
|
|
175
|
-
* Function used to parse slider inputs formatted by the [inputFormatFunction](
|
|
173
|
+
* Function used to parse slider inputs formatted by the [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputFormatFunction).
|
|
176
174
|
* This property must be set if an `inputFormatFunction` is set. Otherwise the slider values will
|
|
177
175
|
* likely not update to their expected positions.
|
|
178
176
|
*
|
|
179
177
|
* Overrides the default input parses, which is a parsed floating point number.
|
|
180
178
|
*
|
|
181
|
-
* @see [inputFormatFunction](
|
|
179
|
+
* @see [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputFormatFunction)
|
|
182
180
|
* @example
|
|
183
181
|
* ```js
|
|
184
182
|
* // Parses the slider input (a string value) to a number value understandable to the slider
|
|
185
183
|
* // This assumes the slider was already configured with an inputFormatFunction
|
|
186
184
|
* // For example, if the input is 1.5k this function will parse
|
|
187
185
|
* // it to a value of 1500
|
|
188
|
-
*
|
|
186
|
+
* colorSlider.inputParseFunction = (value: string): number => {
|
|
189
187
|
* const charLength = value.length;
|
|
190
188
|
* const valuePrefix = parseFloat(value.substring(0, charLength - 1));
|
|
191
189
|
* const finalChar = value.substring(charLength - 1);
|
|
@@ -201,25 +199,23 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
201
199
|
* }
|
|
202
200
|
* return parseFloat(value);
|
|
203
201
|
* };
|
|
204
|
-
*
|
|
202
|
+
* ```
|
|
205
203
|
*/
|
|
206
204
|
accessor inputParseFunction: InputParseFunction | null | undefined;
|
|
207
205
|
/**
|
|
208
|
-
* A function used to format labels on the thumbs, min, max, and average
|
|
209
|
-
* values. Overrides the default label formatter.
|
|
210
|
-
* This function also supports date formatting.
|
|
206
|
+
* A function used to format labels on the thumbs, min, max, and average values. Overrides the default label formatter. This function also supports date formatting.
|
|
211
207
|
*
|
|
212
208
|
* @example
|
|
213
209
|
* ```js
|
|
214
210
|
* // For thumb values, rounds each label to whole numbers
|
|
215
|
-
*
|
|
211
|
+
* slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
|
|
216
212
|
* return (type === "value") ? value.toFixed(0) : value.toString();
|
|
217
213
|
* };
|
|
218
|
-
*
|
|
214
|
+
* ```
|
|
219
215
|
*/
|
|
220
216
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
221
217
|
/**
|
|
222
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
218
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method,
|
|
223
219
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
224
220
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
225
221
|
*
|
|
@@ -230,7 +226,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
230
226
|
*/
|
|
231
227
|
accessor max: number;
|
|
232
228
|
/**
|
|
233
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
229
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method,
|
|
234
230
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
235
231
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
236
232
|
*
|
|
@@ -244,13 +240,13 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
244
240
|
* Defines how slider thumb values should be rounded. This number indicates the number
|
|
245
241
|
* of decimal places slider thumb _values_ should round to when they have been moved.
|
|
246
242
|
*
|
|
247
|
-
* Keep in mind this property rounds thumb
|
|
248
|
-
* for formatting purposes.
|
|
243
|
+
* Keep in mind this property rounds thumb values and shouldn't be used exclusively for formatting purposes.
|
|
249
244
|
*
|
|
250
245
|
* @default 4
|
|
251
246
|
* @example
|
|
252
247
|
* ```js
|
|
253
|
-
*
|
|
248
|
+
* // Rounds slider thumb values to 7 decimal places
|
|
249
|
+
* slider.precision = 7;
|
|
254
250
|
* ```
|
|
255
251
|
*/
|
|
256
252
|
accessor precision: number;
|
|
@@ -261,10 +257,10 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
261
257
|
*/
|
|
262
258
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
263
259
|
/**
|
|
264
|
-
* Exposes various properties of the slider that can be styled. The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
260
|
+
* Exposes various properties of the slider that can be styled. The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|
|
265
261
|
* method can be used to match the `trackFillColor` to the current layer symbology.
|
|
266
262
|
*
|
|
267
|
-
* @see [Color](https://developers.arcgis.com/javascript/latest/
|
|
263
|
+
* @see [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)
|
|
268
264
|
* @example
|
|
269
265
|
* ```js
|
|
270
266
|
* sizeSlider.sliderStyle = {
|
|
@@ -275,11 +271,11 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
275
271
|
*/
|
|
276
272
|
accessor sliderStyle: SizeSliderStyle;
|
|
277
273
|
/** The current state of the component. */
|
|
278
|
-
|
|
274
|
+
get state(): SmartMappingSliderBaseState;
|
|
279
275
|
/**
|
|
280
|
-
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/
|
|
276
|
+
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) to link to the slider.
|
|
281
277
|
*
|
|
282
|
-
* @see [updateVisualVariable()](
|
|
278
|
+
* @see [updateVisualVariable()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateVisualVariable)
|
|
283
279
|
* @example
|
|
284
280
|
* ```js
|
|
285
281
|
* sizeSlider.stops = [
|
|
@@ -292,81 +288,69 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
292
288
|
*/
|
|
293
289
|
accessor stops: Array<SizeStop>;
|
|
294
290
|
/**
|
|
295
|
-
* Zooms the slider track to the bounds provided in this property.
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* rendered at their typical positions on the slider. However, the
|
|
299
|
-
* slider track itself is zoomed so that thumbs cannot be moved above or
|
|
300
|
-
* below the provided min and max zoomed values.
|
|
291
|
+
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#min) and
|
|
292
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
|
|
293
|
+
* slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
|
|
301
294
|
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* top thumb cannot be moved past the zoom max of `31` even though the slider
|
|
305
|
-
* max is `200`.
|
|
295
|
+
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
296
|
+
* top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
|
|
306
297
|
*
|
|
307
|
-
*
|
|
298
|
+
* 
|
|
308
299
|
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
* is up to the developer to provide a UI option for end users to
|
|
312
|
-
* enable zooming on the slider.
|
|
300
|
+
* To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
|
|
301
|
+
* is up to the developer to provide a UI option for end users to enable zooming on the slider.
|
|
313
302
|
*
|
|
314
|
-
*
|
|
315
|
-
* datasets where the histogram renders only one or two bars because of outliers.
|
|
303
|
+
* Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
|
|
316
304
|
*
|
|
317
|
-
*
|
|
305
|
+
* 
|
|
318
306
|
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
* and make the slider more useful to the end user.
|
|
307
|
+
* You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
|
|
308
|
+
* and make the slider more useful to the end user.
|
|
322
309
|
*
|
|
323
310
|
* @example
|
|
324
311
|
* ```js
|
|
325
|
-
* // zooms the slider so thumbs can only be moved
|
|
326
|
-
* //
|
|
327
|
-
*
|
|
328
|
-
* sizeSlider.zoomOptions = {
|
|
312
|
+
* // zooms the slider so thumbs can only be moved to positions between
|
|
313
|
+
* // values of 10 and 25 while maintaining the slider's absolute min and max values
|
|
314
|
+
* slider.zoomOptions = {
|
|
329
315
|
* min: 10,
|
|
330
316
|
* max: 25
|
|
331
317
|
* };
|
|
332
|
-
*
|
|
318
|
+
* ```
|
|
333
319
|
* @example
|
|
334
320
|
* ```js
|
|
335
321
|
* // disables zooming on the slider
|
|
336
|
-
*
|
|
337
|
-
*
|
|
322
|
+
* slider.zoomOptions = null;
|
|
323
|
+
* ```
|
|
338
324
|
* @example
|
|
339
325
|
* ```js
|
|
340
|
-
* // zooms the slider so thumbs can only be moved
|
|
341
|
-
* //
|
|
342
|
-
*
|
|
343
|
-
* sizeSlider.zoomOptions = {
|
|
326
|
+
* // zooms the slider so thumbs can only be moved to positions above
|
|
327
|
+
* // value of 10 while maintaining the slider's absolute min value
|
|
328
|
+
* slider.zoomOptions = {
|
|
344
329
|
* min: 10
|
|
345
330
|
* };
|
|
346
|
-
*
|
|
331
|
+
* ```
|
|
347
332
|
* @example
|
|
348
333
|
* ```js
|
|
349
|
-
* // zooms the slider so thumbs can only be moved
|
|
350
|
-
* //
|
|
351
|
-
*
|
|
352
|
-
* sizeSlider.zoomOptions = {
|
|
334
|
+
* // zooms the slider so thumbs can only be moved to positions below
|
|
335
|
+
* // value of 25 while maintaining the slider's absolute max value
|
|
336
|
+
* slider.zoomOptions = {
|
|
353
337
|
* max: 25
|
|
354
338
|
* };
|
|
355
|
-
*
|
|
339
|
+
* ```
|
|
356
340
|
*/
|
|
357
341
|
accessor zoomOptions: ZoomOptions | null | undefined;
|
|
358
342
|
/** Permanently destroy the component. */
|
|
359
343
|
destroy(): Promise<void>;
|
|
360
344
|
/**
|
|
361
345
|
* A convenience function used to update the properties of a SizeSlider component instance from the
|
|
362
|
-
* [result](https://developers.arcgis.com/javascript/latest/
|
|
363
|
-
* the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
346
|
+
* [result](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#ContinuousRendererResult) of
|
|
347
|
+
* the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|
|
364
348
|
* method. This method is used to configure an empty SizeSlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.
|
|
365
349
|
* Note that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.
|
|
366
350
|
*
|
|
367
|
-
* @param rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/
|
|
351
|
+
* @param rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|
|
368
352
|
* method.
|
|
369
|
-
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/
|
|
353
|
+
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/#histogram)
|
|
370
354
|
* method.
|
|
371
355
|
* @example
|
|
372
356
|
* ```js
|
|
@@ -384,17 +368,17 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
384
368
|
*/
|
|
385
369
|
updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void;
|
|
386
370
|
/**
|
|
387
|
-
* A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/
|
|
388
|
-
* to match the values of the [stops](
|
|
371
|
+
* A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
372
|
+
* to match the values of the [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#stops) on the slider.
|
|
389
373
|
* The slider stops are automatically updated internally when the user drags a thumb slider.
|
|
390
374
|
*
|
|
391
375
|
* This is particularly useful for Size visual variables that have a set
|
|
392
|
-
* [minDataValue](https://developers.arcgis.com/javascript/latest/
|
|
393
|
-
* [maxDataValue](https://developers.arcgis.com/javascript/latest/
|
|
376
|
+
* [minDataValue](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/#minDataValue) and
|
|
377
|
+
* [maxDataValue](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/#minDataValue).
|
|
394
378
|
* This method will properly reconstruct the variable to set on the renderer so it matches the stops on the slider.
|
|
395
379
|
*
|
|
396
380
|
* @param sizeVariable - The size visual variable
|
|
397
|
-
* from the renderer to update to the set [stops](
|
|
381
|
+
* from the renderer to update to the set [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#stops) on the slider.
|
|
398
382
|
* @returns Returns the updated visual variable
|
|
399
383
|
* to set back on the renderer.
|
|
400
384
|
* @example
|
|
@@ -12,7 +12,7 @@ class _ extends l {
|
|
|
12
12
|
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = d()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "stops", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
4
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
6
5
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
7
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
7
|
import type { SnappingControlsViewModelState } from "@arcgis/core/widgets/support/SnappingControls/SnappingControlsViewModel.js";
|
|
@@ -18,29 +17,77 @@ export abstract class ArcgisSnappingControls extends LitElement {
|
|
|
18
17
|
* @default false
|
|
19
18
|
*/
|
|
20
19
|
accessor autoDestroyDisabled: boolean;
|
|
21
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Controls display of the "Enable snapping" toggle.
|
|
22
|
+
*
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
22
25
|
accessor hideEnabledToggle: boolean;
|
|
23
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Controls display of the "Feature to feature" toggle. This controls feature snapping.
|
|
28
|
+
*
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
24
31
|
accessor hideFeatureEnabledToggle: boolean;
|
|
25
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Controls display of the [arcgis-grid-controls](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/).
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
26
37
|
accessor hideGridControls: boolean;
|
|
27
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Controls display of the buttons to change the color of the grid.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
28
43
|
accessor hideGridControlsElementsColorSelection: boolean;
|
|
29
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Controls display of the toggle that modifies [dynamicScaling](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#dynamicScaling).
|
|
46
|
+
*
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
30
49
|
accessor hideGridControlsElementsDynamicScaleToggle: boolean;
|
|
31
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Controls display of the line interval input. The input sets the interval between major grid lines.
|
|
52
|
+
*
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
32
55
|
accessor hideGridControlsElementsLineIntervalInput: boolean;
|
|
33
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* Controls display of the numeric inputs that allow for setting grid spacing and rotation
|
|
58
|
+
*
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
34
61
|
accessor hideGridControlsElementsNumericInputs: boolean;
|
|
35
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Controls display of the out of scale warning. This warning is displayed when the grid is not shown because it would be too small at the current scale and dynamic scaling is disabled.
|
|
64
|
+
*
|
|
65
|
+
* @default false
|
|
66
|
+
*/
|
|
36
67
|
accessor hideGridControlsElementsOutOfScaleWarning: boolean;
|
|
37
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Controls display of the grid placement buttons. These buttons allow the user to start interactive configuration of the grid.
|
|
70
|
+
*
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
38
73
|
accessor hideGridControlsElementsPlacementButtons: boolean;
|
|
39
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Controls display of the "Rotate grid with map" toggle. This toggle controls whether the grid rotates with the map.
|
|
76
|
+
*
|
|
77
|
+
* @default false
|
|
78
|
+
*/
|
|
40
79
|
accessor hideGridControlsElementsRotateWithMapToggle: boolean;
|
|
41
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Controls display of the "Snapping layers" dropdown. The list displays the available layers to configure snapping.
|
|
82
|
+
*
|
|
83
|
+
* @default false
|
|
84
|
+
*/
|
|
42
85
|
accessor hideLayerList: boolean;
|
|
43
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Controls display of the “Geometry guides” toggle. This toggle controls the self-snapping configuration which handles showing right-angle and parallel line indicators while constructing or modifying geometries.
|
|
88
|
+
*
|
|
89
|
+
* @default false
|
|
90
|
+
*/
|
|
44
91
|
accessor hideSelfEnabledToggle: boolean;
|
|
45
92
|
/**
|
|
46
93
|
* Icon which represents the component.
|
|
@@ -64,10 +111,23 @@ export abstract class ArcgisSnappingControls extends LitElement {
|
|
|
64
111
|
* @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)
|
|
65
112
|
*/
|
|
66
113
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
67
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Controls display of the "Enable grid" toggle. This toggle controls whether the grid is displayed.
|
|
116
|
+
*
|
|
117
|
+
* @default false
|
|
118
|
+
*/
|
|
68
119
|
accessor showGridControlsElementsGridEnabledToggle: boolean;
|
|
69
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Controls display of the header
|
|
122
|
+
*
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
70
125
|
accessor showHeader: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/)
|
|
128
|
+
* that will be controlled by this component if the snapping toggle is enabled for display.
|
|
129
|
+
* If SnappingOptions are provided, grid display will be automatically enabled or disabled to match snapping state.
|
|
130
|
+
*/
|
|
71
131
|
accessor snappingOptions: SnappingOptions;
|
|
72
132
|
/**
|
|
73
133
|
* The current state of the component.
|
|
@@ -4,11 +4,11 @@ import { usePropertyChange as i } from "@arcgis/lumina/controllers";
|
|
|
4
4
|
import t from "@arcgis/core/widgets/support/SnappingControls.js";
|
|
5
5
|
import { LitElement as r, createEvent as o } from "@arcgis/lumina";
|
|
6
6
|
import { m as n } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as
|
|
8
|
-
const s = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-snapping-controls{flex-flow:column wrap;display:flex}.esri-snapping-controls__container{flex-direction:column;flex:auto;display:flex}.esri-snapping-controls__container :only-child{border-block-end:none}.esri-snapping-controls__panel{width:320px}.esri-snapping-controls__item{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);cursor:pointer;background-color:var(--calcite-color-foreground-1);border-radius:var(--calcite-corner-radius-sm);justify-content:space-between;margin:var(--calcite-spacing-xxs) 0;padding:var(--calcite-spacing-xxs);transition:border-color .125s ease-in-out;display:flex;box-shadow:0 var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-snapping-controls__item-action-icon{flex:0 0 var(--calcite-spacing-md);width:var(--calcite-spacing-md);height:var(--calcite-spacing-md);margin-top:calc(var(--calcite-spacing-xxs) / 4);font-size:var(--calcite-font-size-md);display:inline-block}.esri-snapping-controls__action-toggle{opacity:1;cursor:pointer;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);flex-flow:row-reverse;justify-content:space-between;align-items:flex-start;width:100%;margin:0;padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);transition:opacity .25s ease-in-out .25s,background-color .25s ease-in-out;display:flex}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-title{margin-left:0}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-2);border-radius:var(--calcite-corner-radius-pill);flex:0 0 calc(var(--calcite-spacing-md) + var(--calcite-spacing-xs));width:var(--calcite-spacing-md);height:var(--calcite-spacing-md);padding:0;transition:background-color .125s ease-in-out;position:relative;overflow:hidden;box-shadow:0 0 0 var(--calcite-border-width-sm) var(--calcite-color-border-1)}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon:before{content:"";background-color:var(--calcite-color-text-3);border-radius:100%;width:var(--calcite-spacing-xs);height:var(--calcite-spacing-xs);margin:calc(var(--calcite-spacing-xxs) / 2);transition:background-color .125s ease-in-out,left .125s ease-in-out;display:block;position:absolute;top:0;left:0;box-shadow:0 0 0 var(--calcite-border-width-sm) var(--calcite-color-foreground-1)}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-brand);box-shadow:0 0 0 var(--calcite-border-width-sm) var(--calcite-color-brand)}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon:before{background-color:var(--calcite-color-foreground-1);left:var(--calcite-spacing-xs)}.esri-snapping-controls__nested-container{flex-direction:column;gap:var(--calcite-spacing-sm);display:flex}.esri-snapping-controls__nested-container:not(:empty){padding-top:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-list-item-spacing-indent)}`, l = n(t);
|
|
7
|
+
import { css as l } from "lit";
|
|
8
|
+
const s = l`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}calcite-block>.esri-grid-controls{background:0 0;padding:0}.esri-grid-controls{-webkit-user-select:none;user-select:none;padding:var(--arcgis-internal-padding);flex-flow:column wrap;display:flex;calcite-label.esri-labeled-switch__label{margin-block-end:var(--calcite-spacing-sm, .5rem)}}.esri-grid-controls__switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1)}.esri-grid-controls__container{gap:var(--calcite-spacing-sm);flex-direction:column;flex:auto;display:flex}.esri-grid-controls__tilegroup{column-gap:var(--calcite-spacing-sm);align-items:start;display:flex;flex-wrap:wrap}.esri-grid-controls__tile__content{row-gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2);flex-direction:column;align-items:center;display:flex}.esri-grid-controls__tile__content calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}.esri-grid-controls__tile{position:relative}.esri-grid-controls__tile:focus-within{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.esri-grid-controls__tile--disabled{opacity:var(--calcite-opacity-disabled)}.esri-grid-controls__tile input[type=radio]{appearance:none;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;position:absolute;inset:0}.esri-grid-controls__tile input[type=radio]:checked+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}.esri-grid-controls__tile input[type=radio]+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid transparent}.esri-grid-controls__numeric-inputs__container{gap:var(--calcite-spacing-sm);grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.esri-grid-controls__inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}.esri-labeled-switch__label{--calcite-label-margin-bottom: 0}.esri-labeled-switch__label-content{text-wrap:balance;flex:1;align-items:center;gap:7px;display:flex}.esri-labeled-switch__label-content>div{flex-grow:1}.esri-labeled-switch__icon{margin-top:-1px}.esri-labeled-switch__icon_info{color:var(--calcite-color-status-info)}.esri-labeled-switch__icon_warning{color:var(--calcite-color-status-warning)}.esri-labeled-switch__tooltip{text-wrap:wrap}.esri-sketch-tooltip-controls__block{border-block-end:none;margin:0}.esri-sketch-tooltip-controls__block-content{flex-direction:column;gap:6px;display:flex}.esri-sketch-tooltip-controls calcite-label:last-child{--calcite-label-margin-bottom: 0}.esri-snapping-controls__toggle-block{min-width:100%;margin:0}.esri-snapping-controls__layer-list-block{border-bottom:none;min-width:225px}.esri-snapping-controls__layer-list-block[open]{margin-block:0}.esri-snapping-controls__layer-list{overflow:auto}.esri-snapping-controls__layer-list__filter{margin-bottom:10px}.esri-snapping-controls__layer-list__button{margin-bottom:6px}.esri-snapping-controls__layer-list__item calcite-accordion-item calcite-icon,.esri-snapping-controls__layer-list__item calcite-action calcite-icon{margin-inline-start:0}.esri-snapping-controls__layer-list__item calcite-icon{color:var(--calcite-color-brand);margin-inline-start:var(--calcite-list-item-spacing-indent, 1em)}.esri-snapping-controls{flex-flow:column wrap;display:flex}.esri-snapping-controls__container{flex-direction:column;flex:auto;display:flex}.esri-snapping-controls__container :only-child{border-block-end:none}.esri-snapping-controls__panel{width:320px}.esri-snapping-controls__item{border:1px solid #adadad4d;cursor:pointer;background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-border-1);border-radius:2px;justify-content:space-between;margin:3px 0;padding:3px;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px #adadad4d}.esri-snapping-controls__item-action-icon{flex:0 0 16px;width:16px;height:16px;margin-top:.1em;font-size:var(--calcite-font-size-md);display:inline-block}.esri-snapping-controls__action-toggle{opacity:1;cursor:pointer;border:1px solid var(--calcite-color-border-1);flex-flow:row-reverse;justify-content:space-between;align-items:flex-start;width:100%;margin:0;padding:6px 15px;font-size:var(--calcite-font-size-sm);transition:opacity .25s ease-in-out .25s,background-color .25s ease-in-out;display:flex}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-title{margin-left:0}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);border-radius:16px;flex:0 0 28px;width:16px;height:16px;padding:0;transition:background-color .125s ease-in-out;position:relative;overflow:hidden;box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon:before{content:"";background-color:var(--calcite-color-foreground-2);border-radius:100%;width:12px;height:12px;margin:2px;transition:background-color .125s ease-in-out,left .125s ease-in-out;display:block;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #242424}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon:before{background-color:var(--calcite-color-foreground-3);left:12px}.esri-snapping-controls__nested-container{flex-direction:column;gap:6px;display:flex}.esri-snapping-controls__nested-container:not(:empty){padding-top:6px;padding-inline-start:1em}`, a = n(t);
|
|
9
9
|
class c extends r {
|
|
10
10
|
constructor() {
|
|
11
|
-
super(...arguments), this.widget =
|
|
11
|
+
super(...arguments), this.widget = a(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.hideEnabledToggle = this.widget.visibleElements.enabledToggle, this.hideFeatureEnabledToggle = this.widget.visibleElements.featureEnabledToggle, this.hideGridControls = this.widget.visibleElements.gridControls, this.hideGridControlsElementsColorSelection = this.widget.visibleElements.gridControlsElements.colorSelection, this.hideGridControlsElementsDynamicScaleToggle = this.widget.visibleElements.gridControlsElements.dynamicScaleToggle, this.hideGridControlsElementsLineIntervalInput = this.widget.visibleElements.gridControlsElements.lineIntervalInput, this.hideGridControlsElementsNumericInputs = this.widget.visibleElements.gridControlsElements.numericInputs, this.hideGridControlsElementsOutOfScaleWarning = this.widget.visibleElements.gridControlsElements.outOfScaleWarning, this.hideGridControlsElementsPlacementButtons = this.widget.visibleElements.gridControlsElements.placementButtons, this.hideGridControlsElementsRotateWithMapToggle = this.widget.visibleElements.gridControlsElements.rotateWithMapToggle, this.showHeader = this.widget.visibleElements.header, this.showGridControlsElementsGridEnabledToggle = this.widget.visibleElements.gridControlsElements.gridEnabledToggle, this.hideLayerList = this.widget.visibleElements.layerList, this.hideSelfEnabledToggle = this.widget.visibleElements.selfEnabledToggle, this.icon = this.widget.icon, this.label = this.widget.label, this.snappingOptions = this.widget.snappingOptions, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("snappingOptions", "state"), this.arcgisReady = o();
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
14
|
this.properties = { view: 0, autoDestroyDisabled: 5, hideEnabledToggle: 5, hideFeatureEnabledToggle: 5, hideGridControls: 5, hideGridControlsElementsColorSelection: 5, hideGridControlsElementsDynamicScaleToggle: 5, hideGridControlsElementsLineIntervalInput: 5, hideGridControlsElementsNumericInputs: 5, hideGridControlsElementsOutOfScaleWarning: 5, hideGridControlsElementsPlacementButtons: 5, hideGridControlsElementsRotateWithMapToggle: 5, showHeader: 5, showGridControlsElementsGridEnabledToggle: 5, hideLayerList: 5, hideSelfEnabledToggle: 5, icon: 1, label: 1, referenceElement: 1, snappingOptions: 0, state: 35 };
|