@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,9 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type SwipeViewModel from "@arcgis/core/widgets/Swipe/SwipeViewModel.js";
|
|
2
3
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
|
-
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
5
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
7
|
import type { Direction, State } from "@arcgis/core/widgets/Swipe/types.js";
|
|
9
8
|
|
|
@@ -44,7 +43,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
44
43
|
*/
|
|
45
44
|
accessor direction: Direction;
|
|
46
45
|
/**
|
|
47
|
-
* When
|
|
46
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
48
47
|
*
|
|
49
48
|
* @default false
|
|
50
49
|
*/
|
|
@@ -52,10 +51,10 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
52
51
|
/**
|
|
53
52
|
* A collection of layers that will show on the right or bottom side of the Swipe component.
|
|
54
53
|
*
|
|
55
|
-
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/
|
|
54
|
+
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#trailingLayers)
|
|
56
55
|
* @since 5.0
|
|
57
56
|
*/
|
|
58
|
-
accessor endLayers:
|
|
57
|
+
accessor endLayers: SwipeViewModel["trailingLayers"];
|
|
59
58
|
/**
|
|
60
59
|
* When `true`, the divider between the leading and trailing layers will be hidden.
|
|
61
60
|
*
|
|
@@ -85,10 +84,10 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
85
84
|
/**
|
|
86
85
|
* A collection of layers that will show on the left or top side of the Swipe component.
|
|
87
86
|
*
|
|
88
|
-
* @deprecated since 5.0, use [
|
|
89
|
-
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/
|
|
87
|
+
* @deprecated since 5.0, use [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers) instead.
|
|
88
|
+
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#leadingLayers)
|
|
90
89
|
*/
|
|
91
|
-
accessor leadingLayers:
|
|
90
|
+
accessor leadingLayers: SwipeViewModel["leadingLayers"];
|
|
92
91
|
/**
|
|
93
92
|
* Replace localized message strings with your own strings.
|
|
94
93
|
*
|
|
@@ -108,7 +107,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
108
107
|
}>;
|
|
109
108
|
/**
|
|
110
109
|
* The position of the Swipe component. This determines what percentage
|
|
111
|
-
* of the view will be taken up by the [startLayers](
|
|
110
|
+
* of the view will be taken up by the [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers).
|
|
112
111
|
*
|
|
113
112
|
* @default 25
|
|
114
113
|
* @since 5.0
|
|
@@ -123,10 +122,10 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
123
122
|
/**
|
|
124
123
|
* A collection of layers that will show on the left or top side of the Swipe component.
|
|
125
124
|
*
|
|
126
|
-
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/
|
|
125
|
+
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#leadingLayers)
|
|
127
126
|
* @since 5.0
|
|
128
127
|
*/
|
|
129
|
-
accessor startLayers:
|
|
128
|
+
accessor startLayers: SwipeViewModel["leadingLayers"];
|
|
130
129
|
/**
|
|
131
130
|
* The current state of the component.
|
|
132
131
|
*
|
|
@@ -135,19 +134,19 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
135
134
|
get state(): State;
|
|
136
135
|
/**
|
|
137
136
|
* The position of the Swipe component. This determines what percentage
|
|
138
|
-
* of the view will be taken up by the [startLayers](
|
|
137
|
+
* of the view will be taken up by the [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers).
|
|
139
138
|
*
|
|
140
|
-
* @deprecated since 5.0, use [
|
|
139
|
+
* @deprecated since 5.0, use [position](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#position) instead.
|
|
141
140
|
* @default 25
|
|
142
141
|
*/
|
|
143
142
|
accessor swipePosition: number;
|
|
144
143
|
/**
|
|
145
144
|
* A collection of layers that will show on the right or bottom side of the Swipe component.
|
|
146
145
|
*
|
|
147
|
-
* @deprecated since 5.0, use [
|
|
148
|
-
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/
|
|
146
|
+
* @deprecated since 5.0, use [endLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#endLayers) instead.
|
|
147
|
+
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#trailingLayers)
|
|
149
148
|
*/
|
|
150
|
-
accessor trailingLayers:
|
|
149
|
+
accessor trailingLayers: SwipeViewModel["trailingLayers"];
|
|
151
150
|
/**
|
|
152
151
|
* The view associated with the component.
|
|
153
152
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-swipe component will be associated with a map or scene component rather than using the `view` property.
|
|
@@ -3,21 +3,21 @@ import { c as x } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as _, html as d } from "lit";
|
|
4
4
|
import { classes as g } from "@arcgis/toolkit/dom";
|
|
5
5
|
import C from "@arcgis/core/widgets/Swipe/SwipeViewModel.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { usePropertyChange as
|
|
8
|
-
import { createRef as
|
|
6
|
+
import { LitElement as L, createEvent as v, safeClassMap as u, safeStyleMap as w, nothing as D } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { createRef as P, ref as $ } from "lit/directives/ref.js";
|
|
9
9
|
import { u as K } from "../../chunks/useT9n.js";
|
|
10
10
|
import { m as A } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as m } from "../../chunks/globalCss.js";
|
|
12
12
|
import { l as b } from "../../chunks/legacyIcon.js";
|
|
13
13
|
const S = _`:host{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none;--arcgis-internal-swipe-handle-color-background: var(--calcite-color-background);--arcgis-internal-swipe-divider-color-background: var(--calcite-color-background)}.root{width:100%;height:100%;overflow:hidden;user-select:none}.root,.arcgis-ui .root{pointer-events:none!important}.container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.horizontal .container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.vertical .container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.disabled .container{cursor:default;pointer-events:none}.divider{position:absolute;background-color:var(--arcgis-internal-swipe-divider-color-background)}.horizontal .divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.vertical .divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--arcgis-internal-swipe-handle-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-text-3)}.handle-hidden{visibility:hidden}.vertical .handle{rotate:90deg}.handle-icon{position:relative;z-index:2}.handle-icon:before{content:"|||";color:inherit}.horizontal .handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.vertical .handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.container:focus .handle,.container:focus .divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}.container:focus .handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`, k = A(C);
|
|
14
|
-
class z extends
|
|
14
|
+
class z extends L {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._container = null, this._containerRef =
|
|
17
|
-
|
|
18
|
-
const { _container:
|
|
19
|
-
|
|
20
|
-
}, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.direction = this.viewModel.direction, this.disabled = !1, this.
|
|
16
|
+
super(...arguments), this._container = null, this._containerRef = P(), this._swiping = !1, this._positionChanged = !1, this.messages = K({}), this._pointerOffset = 0, this.viewModel = k(this), this._onContainerPointerDown = (e) => {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
const { _container: i } = this;
|
|
19
|
+
i && document.activeElement !== this.el && i.focus(), this._swiping = !0, this._calculatePointerOffset(e);
|
|
20
|
+
}, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.direction = this.viewModel.direction, this.disabled = !1, this.hideDivider = !1, this.hideHandle = !1, this.icon = "compare", this.label = this.messages.componentLabel, this.position = this.viewModel.position, this.state = this.viewModel.state, this.arcgisPropertyChange = M()("state"), this.arcgisReady = v(), this.arcgisSwipeChange = v(), this.arcgisSwipeInput = v();
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.properties = { view: 0, autoDestroyDisabled: 5, direction: 3, disabled: 7, endLayers: 0, hideDivider: 7, hideHandle: 7, icon: 1, label: 1, leadingLayers: 0, messageOverrides: 0, position: 9, startLayers: 0, swipePosition: 9, referenceElement: 1, state: 32, trailingLayers: 0 };
|
|
@@ -25,23 +25,35 @@ class z extends D {
|
|
|
25
25
|
static {
|
|
26
26
|
this.styles = S;
|
|
27
27
|
}
|
|
28
|
+
get endLayers() {
|
|
29
|
+
return this.viewModel.trailingLayers;
|
|
30
|
+
}
|
|
31
|
+
set endLayers(e) {
|
|
32
|
+
this.viewModel.trailingLayers = e;
|
|
33
|
+
}
|
|
28
34
|
get leadingLayers() {
|
|
29
35
|
return this.startLayers;
|
|
30
36
|
}
|
|
31
|
-
set leadingLayers(
|
|
32
|
-
this.startLayers =
|
|
37
|
+
set leadingLayers(e) {
|
|
38
|
+
this.startLayers = e;
|
|
39
|
+
}
|
|
40
|
+
get startLayers() {
|
|
41
|
+
return this.viewModel.leadingLayers;
|
|
42
|
+
}
|
|
43
|
+
set startLayers(e) {
|
|
44
|
+
this.viewModel.leadingLayers = e;
|
|
33
45
|
}
|
|
34
46
|
get swipePosition() {
|
|
35
47
|
return this.position;
|
|
36
48
|
}
|
|
37
|
-
set swipePosition(
|
|
38
|
-
this.position =
|
|
49
|
+
set swipePosition(e) {
|
|
50
|
+
this.position = e;
|
|
39
51
|
}
|
|
40
52
|
get trailingLayers() {
|
|
41
53
|
return this.endLayers;
|
|
42
54
|
}
|
|
43
|
-
set trailingLayers(
|
|
44
|
-
this.endLayers =
|
|
55
|
+
set trailingLayers(e) {
|
|
56
|
+
this.endLayers = e;
|
|
45
57
|
}
|
|
46
58
|
async destroy() {
|
|
47
59
|
await this.manager.destroy();
|
|
@@ -49,50 +61,50 @@ class z extends D {
|
|
|
49
61
|
loaded() {
|
|
50
62
|
this.listenOn(document, "pointermove", this._onContainerPointerMove), this.listenOn(document, "pointerup", this._onContainerPointerUp);
|
|
51
63
|
}
|
|
52
|
-
_calculatePointerOffset(
|
|
53
|
-
const { direction:
|
|
54
|
-
this._pointerOffset =
|
|
64
|
+
_calculatePointerOffset(e) {
|
|
65
|
+
const { direction: i } = this, t = this._containerRef.value, r = (i === "vertical" ? t.clientHeight : t.clientWidth) / 2, o = t.getBoundingClientRect(), n = e.clientX - o.left, c = e.clientY - o.top;
|
|
66
|
+
this._pointerOffset = i === "vertical" ? c - r : n - r;
|
|
55
67
|
}
|
|
56
|
-
_onContainerPointerUp(
|
|
57
|
-
this._swiping && (
|
|
68
|
+
_onContainerPointerUp(e) {
|
|
69
|
+
this._swiping && (e.preventDefault(), this._positionChanged && (this.arcgisSwipeChange.emit(), this._positionChanged = !1), this._swiping = !1);
|
|
58
70
|
}
|
|
59
|
-
_onContainerPointerMove(
|
|
71
|
+
_onContainerPointerMove(e) {
|
|
60
72
|
if (!this._swiping)
|
|
61
73
|
return;
|
|
62
|
-
|
|
63
|
-
const { _pointerOffset:
|
|
74
|
+
e.preventDefault();
|
|
75
|
+
const { _pointerOffset: i, el: t, direction: r } = this, { clientX: o, clientY: n } = e, { top: c, left: s, width: a, height: l } = t.getBoundingClientRect(), f = r === "vertical" ? l : a, h = (r === "vertical" ? n - c - i : o - s - i) / f * 100;
|
|
64
76
|
this.position !== h && (this.position = h, this._positionChanged = !0, this.arcgisSwipeInput.emit());
|
|
65
77
|
}
|
|
66
|
-
_getKeyPosition(
|
|
67
|
-
const { key:
|
|
68
|
-
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"].includes(
|
|
69
|
-
const p =
|
|
78
|
+
_getKeyPosition(e) {
|
|
79
|
+
const { key: i } = e, { position: t } = this, { max: r, min: o, step: n, stepMultiplier: c, direction: s } = this.viewModel, a = n * c;
|
|
80
|
+
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"].includes(i) && (e.preventDefault(), e.stopPropagation()), s === "vertical" ? i === "ArrowDown" || i === "ArrowRight" : i === "ArrowUp" || i === "ArrowRight") {
|
|
81
|
+
const p = e.shiftKey ? a : n;
|
|
70
82
|
return t + p;
|
|
71
83
|
}
|
|
72
|
-
if (s === "vertical" ?
|
|
73
|
-
const p =
|
|
84
|
+
if (s === "vertical" ? i === "ArrowUp" || i === "ArrowLeft" : i === "ArrowDown" || i === "ArrowLeft") {
|
|
85
|
+
const p = e.shiftKey ? a : n;
|
|
74
86
|
return t - p;
|
|
75
87
|
}
|
|
76
|
-
return
|
|
88
|
+
return i === "Home" ? o : i === "End" ? r : (s === "vertical" ? i === "PageDown" : i === "PageUp") ? t + a : (s === "vertical" ? i === "PageUp" : i === "PageDown") ? t - a : null;
|
|
77
89
|
}
|
|
78
|
-
_onContainerKeyDown(
|
|
79
|
-
const
|
|
80
|
-
typeof
|
|
90
|
+
_onContainerKeyDown(e) {
|
|
91
|
+
const i = this._getKeyPosition(e);
|
|
92
|
+
typeof i == "number" && this.position !== i && (this.position = i, this.arcgisSwipeInput.emit(), this.arcgisSwipeChange.emit());
|
|
81
93
|
}
|
|
82
94
|
render() {
|
|
83
|
-
const { state:
|
|
95
|
+
const { state: e, direction: i } = this.viewModel, t = e === "disabled" || this.disabled, r = {
|
|
84
96
|
[m.disabled]: t,
|
|
85
97
|
disabled: t,
|
|
86
|
-
vertical:
|
|
87
|
-
horizontal:
|
|
98
|
+
vertical: i === "vertical",
|
|
99
|
+
horizontal: i === "horizontal"
|
|
88
100
|
};
|
|
89
|
-
return d`<div class=${u(g("root", m.widget, r))}>${
|
|
101
|
+
return d`<div class=${u(g("root", m.widget, r))}>${e === "disabled" ? null : this._renderContainer()}</div>`;
|
|
90
102
|
}
|
|
91
103
|
_renderHandle() {
|
|
92
|
-
const { direction:
|
|
93
|
-
[b.dragHorizontal]:
|
|
94
|
-
[b.dragVertical]:
|
|
95
|
-
}, r = g("handle", !!
|
|
104
|
+
const { direction: e } = this.viewModel, { hideHandle: i } = this, t = {
|
|
105
|
+
[b.dragHorizontal]: e === "vertical",
|
|
106
|
+
[b.dragVertical]: e === "horizontal"
|
|
107
|
+
}, r = g("handle", !!i && "handle-hidden");
|
|
96
108
|
return d`<div class=${u(r)} role=presentation><span aria-hidden=true class=${u(g("handle-icon", t))}></span></div>`;
|
|
97
109
|
}
|
|
98
110
|
_renderDivider() {
|
|
@@ -102,11 +114,11 @@ class z extends D {
|
|
|
102
114
|
return [this._renderDivider(), this._renderHandle()];
|
|
103
115
|
}
|
|
104
116
|
_renderContainer() {
|
|
105
|
-
const { disabled:
|
|
117
|
+
const { disabled: e, viewModel: i } = this, { max: t, min: r, direction: o, position: n } = i, c = this.label ?? this.messages.dragLabel ?? "", s = `${n}%`, a = {
|
|
106
118
|
top: o === "vertical" ? s : void 0,
|
|
107
119
|
left: o === "vertical" ? void 0 : s
|
|
108
120
|
}, l = this._renderContent();
|
|
109
|
-
return
|
|
121
|
+
return e ? d`<div class="container" role=presentation style=${w(a)}>${l}</div>` : d`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${c} .ariaOrientation=${o} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${n}`} .ariaValueText=${s} class="container" @keydown=${this._onContainerKeyDown} role=slider style=${w(a)} tabindex=0 title=${c ?? D} touch-action=none ${$(this._containerRef)}>${l}</div>`;
|
|
110
122
|
}
|
|
111
123
|
}
|
|
112
124
|
x("arcgis-swipe", z);
|
|
@@ -1,25 +1,64 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
4
|
-
import type
|
|
5
|
-
import type
|
|
6
|
-
import type
|
|
7
|
-
import type WebScene from "@arcgis/core/WebScene.js";
|
|
2
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
3
|
+
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
6
|
+
import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem.js";
|
|
8
7
|
import type WebMap from "@arcgis/core/WebMap.js";
|
|
9
|
-
import type
|
|
8
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
10
9
|
import type ListItem from "@arcgis/core/widgets/TableList/ListItem.js";
|
|
10
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
11
|
+
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
12
|
+
import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel.js";
|
|
11
13
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
|
-
import type { ArcgisReferenceElement } from "
|
|
13
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
14
|
-
import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel";
|
|
14
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
15
15
|
import type { FilterPredicate } from "@arcgis/core/widgets/TableList.js";
|
|
16
|
+
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
16
17
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
17
18
|
import type { ListItemModifier, State } from "@arcgis/core/widgets/TableList/types.js";
|
|
19
|
+
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
|
-
* The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/).
|
|
23
|
+
* It is meant to be used with [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) tables.
|
|
24
|
+
*
|
|
25
|
+
* If a map contains feature layer tables, they will display within the component. Tables can also be added to the Map's
|
|
26
|
+
* [tables](https://developers.arcgis.com/javascript/latest/references/core/Map/#tables) collection. Any tables referenced in the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#map)
|
|
27
|
+
* property will display in the component. If unsure of whether the layer is a table, check the feature layer's
|
|
28
|
+
* [isTable](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#isTable) property.
|
|
29
|
+
*
|
|
30
|
+
* The [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/) API provides access to each table, allows
|
|
31
|
+
* the developer to configure actions related to the table, and allows the developer to add content to the item related to the table.
|
|
32
|
+
*
|
|
33
|
+
*
|
|
34
|
+
* **Known Limitations**
|
|
35
|
+
* * The TableList component is not supported with [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
21
36
|
*
|
|
22
37
|
* @since 4.28
|
|
38
|
+
* @example
|
|
39
|
+
* ```js
|
|
40
|
+
*
|
|
41
|
+
* const tableListElement = document.createElement("arcgis-table-list");
|
|
42
|
+
* tableListElement.referenceElement = viewElement;
|
|
43
|
+
* tableListElement.slot = "top-left";
|
|
44
|
+
* viewElement.appendChild(tableListElement);
|
|
45
|
+
*
|
|
46
|
+
* const layer = Layer.fromPortalItem({
|
|
47
|
+
* // Loads a layer (table) from a portal item
|
|
48
|
+
* portalItem: {
|
|
49
|
+
* id: "add portal item id"
|
|
50
|
+
* }
|
|
51
|
+
* });
|
|
52
|
+
*
|
|
53
|
+
* // Wait for the layer to load
|
|
54
|
+
* await layer.load()
|
|
55
|
+
*
|
|
56
|
+
* // Check if the layer is a table
|
|
57
|
+
* if (layer.isTable) {
|
|
58
|
+
* // Add the table to the map's tables collection
|
|
59
|
+
* viewElement.map.tables.add(layer);
|
|
60
|
+
* }
|
|
61
|
+
* ```
|
|
23
62
|
*/
|
|
24
63
|
export abstract class ArcgisTableList extends LitElement {
|
|
25
64
|
/**
|
|
@@ -46,48 +85,63 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
46
85
|
* @default false
|
|
47
86
|
* @since 4.29
|
|
48
87
|
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showCollapseButton)
|
|
49
|
-
* @example
|
|
88
|
+
* @example
|
|
89
|
+
* ```js
|
|
90
|
+
* tableListElement.collapsed = true;
|
|
91
|
+
* ```
|
|
50
92
|
*/
|
|
51
93
|
accessor collapsed: boolean;
|
|
52
94
|
/**
|
|
53
|
-
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/
|
|
54
|
-
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/
|
|
95
|
+
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/) may be reordered within the list by dragging and dropping.
|
|
96
|
+
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minDragEnabledItems).
|
|
55
97
|
*
|
|
56
98
|
* @default false
|
|
57
99
|
* @since 4.29
|
|
58
|
-
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/
|
|
59
|
-
* @example
|
|
100
|
+
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minDragEnabledItems)
|
|
101
|
+
* @example
|
|
102
|
+
* ```js
|
|
103
|
+
* tableListElement.dragEnabled = true;
|
|
104
|
+
* ```
|
|
60
105
|
*/
|
|
61
106
|
accessor dragEnabled: boolean;
|
|
62
107
|
/**
|
|
63
|
-
* Placeholder text used in the filter input if [
|
|
108
|
+
* Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) is true.
|
|
64
109
|
*
|
|
65
110
|
* @default ""
|
|
66
111
|
* @since 4.29
|
|
67
112
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
|
|
68
|
-
* @example
|
|
113
|
+
* @example
|
|
114
|
+
* ```js
|
|
115
|
+
* tableListElement.filterPlaceholder = "Filter layers";
|
|
116
|
+
* ```
|
|
69
117
|
*/
|
|
70
118
|
accessor filterPlaceholder: string;
|
|
71
119
|
/**
|
|
72
|
-
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/
|
|
120
|
+
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/).
|
|
73
121
|
*
|
|
74
122
|
* @since 4.32
|
|
75
|
-
* @example
|
|
123
|
+
* @example
|
|
124
|
+
* ```js
|
|
125
|
+
* tableListElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
126
|
+
* ```
|
|
76
127
|
*/
|
|
77
128
|
accessor filterPredicate: FilterPredicate | null | undefined;
|
|
78
129
|
/**
|
|
79
|
-
* The value of the filter input text string if [
|
|
130
|
+
* The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) is true.
|
|
80
131
|
*
|
|
81
132
|
* @default ""
|
|
82
133
|
* @since 4.29
|
|
83
|
-
* @see [
|
|
134
|
+
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
|
|
84
135
|
* @example
|
|
136
|
+
* ```js
|
|
85
137
|
* reactiveUtils.watch(
|
|
86
|
-
* () =>
|
|
138
|
+
* () => tableListElement.filterText,
|
|
87
139
|
* (filterText) => console.log(filterText)
|
|
88
140
|
* );
|
|
141
|
+
* ```
|
|
89
142
|
*/
|
|
90
143
|
accessor filterText: string;
|
|
144
|
+
accessor headingLevel: HeadingLevel;
|
|
91
145
|
/**
|
|
92
146
|
* Indicates whether the status indicators will be displayed.
|
|
93
147
|
*
|
|
@@ -112,78 +166,61 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
112
166
|
*/
|
|
113
167
|
accessor label: string;
|
|
114
168
|
/**
|
|
115
|
-
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
169
|
+
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/).
|
|
116
170
|
* Each list item can be modified according to its modifiable properties. Actions can be added
|
|
117
|
-
* to list items using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
171
|
+
* to list items using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/#actionsSections)
|
|
118
172
|
* property of the ListItem.
|
|
119
173
|
*
|
|
120
174
|
* @example
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* });
|
|
175
|
+
* ```js
|
|
176
|
+
* tableListElement.listItemCreatedFunction = (event) => {
|
|
177
|
+
* const { item } = event;
|
|
178
|
+
* item.actionsSections = [
|
|
179
|
+
* [
|
|
180
|
+
* {
|
|
181
|
+
* title: "Open in feature table",
|
|
182
|
+
* icon: "table",
|
|
183
|
+
* id: "open-table"
|
|
184
|
+
* }
|
|
185
|
+
* ]
|
|
186
|
+
* ];
|
|
187
|
+
* }
|
|
188
|
+
* ```
|
|
136
189
|
*/
|
|
137
190
|
accessor listItemCreatedFunction: ListItemModifier | null | undefined;
|
|
138
191
|
/**
|
|
139
|
-
* A reference to a [Map](https://developers.arcgis.com/javascript/latest/
|
|
192
|
+
* A reference to a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) containing the tables. Set this property
|
|
140
193
|
* to access the underlying tables within the map.
|
|
141
194
|
*
|
|
142
195
|
* @since 4.34
|
|
143
|
-
* @see [Map#tables](https://developers.arcgis.com/javascript/latest/
|
|
144
|
-
* @see [WebMap#tables](https://developers.arcgis.com/javascript/latest/
|
|
145
|
-
* @example
|
|
146
|
-
* Layer.fromPortalItem({
|
|
147
|
-
* // Loads a layer (table) from a portal item
|
|
148
|
-
* portalItem: { // autocasts new PortalItem()
|
|
149
|
-
* id: "add portal item id"
|
|
150
|
-
* }
|
|
151
|
-
* }).then(function(layer) {
|
|
152
|
-
* // Load the layer
|
|
153
|
-
* layer.load().then(function() {
|
|
154
|
-
* // Check if the layer is a table
|
|
155
|
-
* if (layer.isTable) {
|
|
156
|
-
* map.tables.add(layer);
|
|
157
|
-
* console.log(map.tables);
|
|
158
|
-
* }
|
|
159
|
-
* });
|
|
160
|
-
* });
|
|
161
|
-
*
|
|
162
|
-
* const tableList = new TableList({
|
|
163
|
-
* map: map // map contains tables collection
|
|
164
|
-
* });
|
|
196
|
+
* @see [Map#tables](https://developers.arcgis.com/javascript/latest/references/core/Map/#tables)
|
|
197
|
+
* @see [WebMap#tables](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#tables)
|
|
165
198
|
*/
|
|
166
|
-
accessor map:
|
|
199
|
+
accessor map: WebMap | WebScene | null | undefined;
|
|
167
200
|
/**
|
|
168
|
-
* The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/
|
|
201
|
+
* The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#dragEnabled).
|
|
169
202
|
*
|
|
170
203
|
* @default 2
|
|
171
204
|
* @since 4.29
|
|
172
|
-
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/
|
|
205
|
+
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#dragEnabled)
|
|
173
206
|
* @example
|
|
174
|
-
*
|
|
175
|
-
*
|
|
207
|
+
* ```js
|
|
208
|
+
* tableListElement.dragEnabled = true;
|
|
209
|
+
* tableListElement.minDragEnabledItems = 5;
|
|
210
|
+
* ```
|
|
176
211
|
*/
|
|
177
212
|
accessor minDragEnabledItems: number;
|
|
178
213
|
/**
|
|
179
|
-
* The minimum number of list items required to display the [
|
|
214
|
+
* The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) input box.
|
|
180
215
|
*
|
|
181
216
|
* @default 10
|
|
182
217
|
* @since 4.29
|
|
183
218
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
|
|
184
219
|
* @example
|
|
185
|
-
*
|
|
186
|
-
*
|
|
220
|
+
* ```js
|
|
221
|
+
* tableListElement.showFilter = true;
|
|
222
|
+
* tableListElement.minFilterItems = 5;
|
|
223
|
+
* ```
|
|
187
224
|
*/
|
|
188
225
|
accessor minFilterItems: number;
|
|
189
226
|
/**
|
|
@@ -193,15 +230,15 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
193
230
|
*/
|
|
194
231
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
195
232
|
/**
|
|
196
|
-
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
233
|
+
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/)s representing table list items
|
|
197
234
|
* selected by the user.
|
|
198
235
|
*
|
|
199
|
-
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/
|
|
236
|
+
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectionMode)
|
|
200
237
|
*/
|
|
201
|
-
accessor selectedItems:
|
|
238
|
+
accessor selectedItems: Collection<ListItem>;
|
|
202
239
|
/**
|
|
203
240
|
* Specifies the selection mode.
|
|
204
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
241
|
+
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems) property.
|
|
205
242
|
*
|
|
206
243
|
* | Value | Description |
|
|
207
244
|
* | ----- | ----------- |
|
|
@@ -212,8 +249,11 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
212
249
|
*
|
|
213
250
|
* @default "none"
|
|
214
251
|
* @since 4.29
|
|
215
|
-
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
216
|
-
* @example
|
|
252
|
+
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems)
|
|
253
|
+
* @example
|
|
254
|
+
* ```js
|
|
255
|
+
* tableListElement.selectionMode = "multiple";
|
|
256
|
+
* ```
|
|
217
257
|
*/
|
|
218
258
|
accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
|
|
219
259
|
/**
|
|
@@ -238,21 +278,21 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
238
278
|
*/
|
|
239
279
|
accessor showErrors: boolean;
|
|
240
280
|
/**
|
|
241
|
-
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [TableList#minFilterItems](https://developers.arcgis.com/javascript/latest/
|
|
281
|
+
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [TableList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minFilterItems), allowing users to filter tables by their title.
|
|
242
282
|
*
|
|
243
283
|
* @default false
|
|
244
284
|
* @since 5.0
|
|
245
285
|
*/
|
|
246
286
|
accessor showFilter: boolean;
|
|
247
287
|
/**
|
|
248
|
-
* Indicates whether to display the table list heading. The heading text is "Table List". The heading level can be set with the [TableList#headingLevel](https://developers.arcgis.com/javascript/latest/
|
|
288
|
+
* Indicates whether to display the table list heading. The heading text is "Table List". The heading level can be set with the [TableList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#headingLevel).
|
|
249
289
|
*
|
|
250
290
|
* @default false
|
|
251
291
|
* @since 5.0
|
|
252
292
|
*/
|
|
253
293
|
accessor showHeading: boolean;
|
|
254
294
|
/**
|
|
255
|
-
* Indicates whether temporary table indicators will be displayed for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/
|
|
295
|
+
* Indicates whether temporary table indicators will be displayed for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the table title.
|
|
256
296
|
*
|
|
257
297
|
* @default false
|
|
258
298
|
* @since 5.0
|
|
@@ -266,6 +306,8 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
266
306
|
get state(): State;
|
|
267
307
|
/** The collection of table ListItems displayed within the component. */
|
|
268
308
|
get tableItems(): Collection<TableListListItem>;
|
|
309
|
+
/** @internal */
|
|
310
|
+
accessor tables: ReadonlyCollection<Layer | Sublayer> | null | undefined;
|
|
269
311
|
/**
|
|
270
312
|
* The view associated with the component.
|
|
271
313
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-table-list component will be associated with a map or scene component rather than using the `view` property.
|