@arcgis/map-components 4.34.0-next.4 → 4.34.0-next.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{23HVPN5Y.js → 2UDXY4MN.js} +1 -1
- package/dist/cdn/2VR67Z3K.js +4 -0
- package/dist/cdn/2XWFBJVL.js +4 -0
- package/dist/cdn/35ZIOQQU.js +4 -0
- package/dist/cdn/3CMPSWM5.js +4 -0
- package/dist/cdn/3EIK5WHG.js +4 -0
- package/dist/cdn/3HZT6XVE.js +4 -0
- package/dist/cdn/3INPB7QO.js +4 -0
- package/dist/cdn/3OYYII23.js +4 -0
- package/dist/cdn/{HKQYPN7I.js → 3R3BNUDT.js} +1 -1
- package/dist/cdn/3TXWS2ZG.js +4 -0
- package/dist/cdn/3X5WBNC5.js +4 -0
- package/dist/cdn/4CAZ4YN6.js +4 -0
- package/dist/cdn/4DO5HSJS.js +4 -0
- package/dist/cdn/4JVQSFLO.js +4 -0
- package/dist/cdn/4LU4NHDW.js +4 -0
- package/dist/cdn/{PAOQYXUG.js → 4WTYINOC.js} +1 -1
- package/dist/cdn/4ZLXB4ID.js +4 -0
- package/dist/cdn/5BU55WZU.js +4 -0
- package/dist/cdn/5E7HRZM6.js +4 -0
- package/dist/cdn/5FOZWVJH.js +4 -0
- package/dist/cdn/5T3XY7FC.js +4 -0
- package/dist/cdn/5WN22XHI.js +4 -0
- package/dist/cdn/664AGPKD.js +4 -0
- package/dist/cdn/6AJRKLLW.js +4 -0
- package/dist/cdn/6DTA43I2.js +4 -0
- package/dist/cdn/6EPWCQW3.js +4 -0
- package/dist/cdn/6WPSHYF2.js +4 -0
- package/dist/cdn/6XJQPHV3.js +4 -0
- package/dist/cdn/72N4XQM2.js +4 -0
- package/dist/cdn/73YDCK2S.js +4 -0
- package/dist/cdn/75KKANDX.js +4 -0
- package/dist/cdn/7CLQFHSR.js +4 -0
- package/dist/cdn/{3L3QQBXT.js → 7ER33GUI.js} +2 -2
- package/dist/cdn/7JHFI5FS.js +4 -0
- package/dist/cdn/7LSGCSTQ.js +4 -0
- package/dist/cdn/7MZT7NFP.js +4 -0
- package/dist/cdn/7VXGTDMK.js +4 -0
- package/dist/cdn/7YKFFIK7.js +4 -0
- package/dist/cdn/A3EXITBZ.js +4 -0
- package/dist/cdn/AFOZNJ4E.js +4 -0
- package/dist/cdn/AOXBC6NA.js +4 -0
- package/dist/cdn/AW7WB4DU.js +4 -0
- package/dist/cdn/AX5FGZME.js +4 -0
- package/dist/cdn/{QQSFIVFC.js → AZRQKR2P.js} +2 -2
- package/dist/cdn/B2I4NJEE.js +4 -0
- package/dist/cdn/B4YE5QY5.js +4 -0
- package/dist/cdn/BBWMZC7D.js +4 -0
- package/dist/cdn/CHEI45BY.js +4 -0
- package/dist/cdn/CIMZHST2.js +4 -0
- package/dist/cdn/CNGKT2UO.js +4 -0
- package/dist/cdn/CYAINZUB.js +4 -0
- package/dist/cdn/D7TRQNWK.js +4 -0
- package/dist/cdn/DA2Y7T63.js +4 -0
- package/dist/cdn/DA6DRPI5.js +4 -0
- package/dist/cdn/DJKGGXCW.js +6 -0
- package/dist/cdn/DNZ4LRZH.js +4 -0
- package/dist/cdn/DPCVH67U.js +4 -0
- package/dist/cdn/DWHJOHXY.js +4 -0
- package/dist/cdn/DZJ5LB3Q.js +4 -0
- package/dist/cdn/E4NSKGOI.js +4 -0
- package/dist/cdn/EBEMDNAY.js +4 -0
- package/dist/cdn/EGLKANZ7.js +4 -0
- package/dist/cdn/{ZNYIHOBS.js → ETVD7G6G.js} +2 -2
- package/dist/cdn/F7RMV6MY.js +4 -0
- package/dist/cdn/FD6BBDHF.js +4 -0
- package/dist/cdn/FJ3M47TG.js +4 -0
- package/dist/cdn/FN2GYH2R.js +4 -0
- package/dist/cdn/FQJX4D6Q.js +4 -0
- package/dist/cdn/FUSBYL4L.js +4 -0
- package/dist/cdn/FUTUEVD3.js +4 -0
- package/dist/cdn/{6MFND45L.js → G2G46TZD.js} +2 -2
- package/dist/cdn/G33AS2KY.js +4 -0
- package/dist/cdn/GASE4CKR.js +4 -0
- package/dist/cdn/GFCDQPJ5.js +4 -0
- package/dist/cdn/GKCBGOTF.js +4 -0
- package/dist/cdn/GKOPVJFH.js +4 -0
- package/dist/cdn/{Z56QLV5B.js → GZXNA7M5.js} +2 -2
- package/dist/cdn/H4IEDURF.js +4 -0
- package/dist/cdn/{W47LCTBG.js → HAURYBJV.js} +2 -2
- package/dist/cdn/HJ7BEQFG.js +4 -0
- package/dist/cdn/HVP5QW5F.js +4 -0
- package/dist/cdn/I3OP44VC.js +4 -0
- package/dist/cdn/I4TEOS2H.js +4 -0
- package/dist/cdn/I5PCQQGA.js +4 -0
- package/dist/cdn/ICMQSPY3.js +4 -0
- package/dist/cdn/IE5A52FU.js +4 -0
- package/dist/cdn/IFMTECAC.js +4 -0
- package/dist/cdn/{LEPO6MP3.js → IK3CRJX4.js} +2 -2
- package/dist/cdn/ILP6YGEK.js +4 -0
- package/dist/cdn/IOE3MPKA.js +4 -0
- package/dist/cdn/IUHLHZ7V.js +4 -0
- package/dist/cdn/IW5RK467.js +4 -0
- package/dist/cdn/IYOFUQUG.js +4 -0
- package/dist/cdn/J6NTHOXW.js +4 -0
- package/dist/cdn/{SUW77QCI.js → JSXX3VJ6.js} +2 -2
- package/dist/cdn/JYLQHDC3.js +4 -0
- package/dist/cdn/{TD2GCLNS.js → JYVXGIJ3.js} +1 -1
- package/dist/cdn/{4HGMI6ZO.js → K4XH4BGG.js} +2 -2
- package/dist/cdn/KDQB6MSO.js +4 -0
- package/dist/cdn/KPTSIZWZ.js +4 -0
- package/dist/cdn/KSWN2B4O.js +4 -0
- package/dist/cdn/L6KLOOFP.js +4 -0
- package/dist/cdn/LEH3VVWU.js +4 -0
- package/dist/cdn/LOFBOD63.js +4 -0
- package/dist/cdn/LUNI6CJ7.js +4 -0
- package/dist/cdn/M5FIAZAD.js +4 -0
- package/dist/cdn/MQG2Q7BI.js +4 -0
- package/dist/cdn/MQG4RXFK.js +4 -0
- package/dist/cdn/{SBFO6UJ3.js → MQWBAGUQ.js} +2 -2
- package/dist/cdn/MXW4JAUN.js +4 -0
- package/dist/cdn/NA5WRK7O.js +5 -0
- package/dist/cdn/{6Q2QPWAU.js → NE3JRRA3.js} +2 -2
- package/dist/cdn/NERILTZ7.js +4 -0
- package/dist/cdn/NF7PYZVJ.js +4 -0
- package/dist/cdn/NIHRUDKM.js +4 -0
- package/dist/cdn/NMCB5AZ7.js +4 -0
- package/dist/cdn/NQPSTS4Y.js +4 -0
- package/dist/cdn/NRO7A7OH.js +4 -0
- package/dist/cdn/NSMQAOLJ.js +4 -0
- package/dist/cdn/NTJILV6C.js +4 -0
- package/dist/cdn/O2XNE7FL.js +4 -0
- package/dist/cdn/OAEKUWIN.js +4 -0
- package/dist/cdn/OGGNGPY4.js +4 -0
- package/dist/cdn/OH6KDHZC.js +4 -0
- package/dist/cdn/ONYSDVKX.js +4 -0
- package/dist/cdn/OOERMGNR.js +4 -0
- package/dist/cdn/OPKXSYXW.js +4 -0
- package/dist/cdn/P2WA5TTX.js +4 -0
- package/dist/cdn/P7UFLFS6.js +4 -0
- package/dist/cdn/PCJ55Y5X.js +4 -0
- package/dist/cdn/PVFHHS23.js +4 -0
- package/dist/cdn/Q2DCIWAB.js +4 -0
- package/dist/cdn/Q2HWP2QP.js +4 -0
- package/dist/cdn/Q65H2SUQ.js +4 -0
- package/dist/cdn/QGHIRHF5.js +4 -0
- package/dist/cdn/QHBAL3TU.js +4 -0
- package/dist/cdn/QOIVTH5D.js +4 -0
- package/dist/cdn/{VCDM3JXH.js → QROQA7DH.js} +1 -1
- package/dist/cdn/QUAMQSS3.js +4 -0
- package/dist/cdn/QXYBUBL7.js +4 -0
- package/dist/cdn/R35K5X4W.js +4 -0
- package/dist/cdn/R7KCK5G3.js +4 -0
- package/dist/cdn/RARW7Z5H.js +4 -0
- package/dist/cdn/RKHU3QFD.js +4 -0
- package/dist/cdn/RNLVJZQW.js +4 -0
- package/dist/cdn/SARZYQFP.js +4 -0
- package/dist/cdn/SFHOV6OU.js +4 -0
- package/dist/cdn/SW33NOJE.js +4 -0
- package/dist/cdn/T2FZDDKK.js +4 -0
- package/dist/cdn/T5RXZR4E.js +4 -0
- package/dist/cdn/TDVNPKHB.js +4 -0
- package/dist/cdn/{7LVS3WYQ.js → TOGHIEGN.js} +1 -1
- package/dist/cdn/TPAQZIYW.js +4 -0
- package/dist/cdn/TTGXE7VS.js +4 -0
- package/dist/cdn/U2GBTPHJ.js +4 -0
- package/dist/cdn/U65LPYJK.js +4 -0
- package/dist/cdn/UBKHMNGJ.js +4 -0
- package/dist/cdn/UH2DOHHW.js +4 -0
- package/dist/cdn/UKAGFOIP.js +4 -0
- package/dist/cdn/UVOZQLJR.js +4 -0
- package/dist/cdn/VIBPWP3S.js +4 -0
- package/dist/cdn/{AIBT7DAE.js → VJBEGEGY.js} +2 -2
- package/dist/cdn/VM6K7KSN.js +4 -0
- package/dist/cdn/VUPEXRX7.js +4 -0
- package/dist/cdn/WBBX5OYI.js +4 -0
- package/dist/cdn/WBWFCEVU.js +4 -0
- package/dist/cdn/WJVJAIPU.js +4 -0
- package/dist/cdn/WN7GCWQ3.js +4 -0
- package/dist/cdn/WWFEEACC.js +4 -0
- package/dist/cdn/WYYICMMI.js +4 -0
- package/dist/cdn/X53GS5I3.js +4 -0
- package/dist/cdn/X7W62SF6.js +4 -0
- package/dist/cdn/XSW4AHOF.js +4 -0
- package/dist/cdn/XVGH4BB2.js +4 -0
- package/dist/cdn/YIHP4IHU.js +4 -0
- package/dist/cdn/YXY4GEES.js +4 -0
- package/dist/cdn/{VEN3DMN6.js → Z65FIHDB.js} +1 -1
- package/dist/cdn/Z72YM6XT.js +4 -0
- package/dist/cdn/ZE7F7KD2.js +4 -0
- package/dist/cdn/ZK7C7C2J.js +4 -0
- package/dist/cdn/ZQ2TTZKB.js +4 -0
- package/dist/cdn/ZWHVONCF.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +145 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -3
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +10 -9
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +31 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +66 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +43 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +19 -0
- package/dist/components/arcgis-feature-expression/customElement.js +242 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +143 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -2
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +577 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +33 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +10 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +19 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +45 -45
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +54 -40
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- package/dist/components/arcgis-search/customElement.js +39 -36
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +33 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +39 -39
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +15 -8
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.d.ts +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +36 -29
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +3 -3
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1544 -516
- package/dist/docs/docs.json +1469 -737
- package/dist/docs/vscode.html-custom-data.json +208 -108
- package/dist/docs/web-types.json +472 -239
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -17
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +19 -13
- package/dist/types/preact.d.ts +19 -13
- package/dist/types/react.d.ts +19 -13
- package/dist/types/stencil.d.ts +19 -13
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +5 -4
- package/dist/cdn/24QCAR23.js +0 -4
- package/dist/cdn/2F3VHU6V.js +0 -4
- package/dist/cdn/2ZMNNXHS.js +0 -4
- package/dist/cdn/3PFMM57M.js +0 -4
- package/dist/cdn/4F36IAZ7.js +0 -4
- package/dist/cdn/4NG4JOQP.js +0 -4
- package/dist/cdn/55FCKHUW.js +0 -4
- package/dist/cdn/5DWV4QYU.js +0 -4
- package/dist/cdn/637V7MBM.js +0 -4
- package/dist/cdn/6LL6GANH.js +0 -4
- package/dist/cdn/6MJTJDVW.js +0 -4
- package/dist/cdn/6RDZEEQ3.js +0 -4
- package/dist/cdn/6ROCC4GF.js +0 -4
- package/dist/cdn/6RSZZWDZ.js +0 -4
- package/dist/cdn/7GYK2I76.js +0 -4
- package/dist/cdn/7IET7A5H.js +0 -4
- package/dist/cdn/7ODPBN7V.js +0 -4
- package/dist/cdn/7QQAGBLE.js +0 -4
- package/dist/cdn/7ZAX32TI.js +0 -4
- package/dist/cdn/A4ULRWZG.js +0 -4
- package/dist/cdn/AC5U3NYZ.js +0 -4
- package/dist/cdn/ANZO55OT.js +0 -4
- package/dist/cdn/BQ4U6UMN.js +0 -4
- package/dist/cdn/BUCVAAEN.js +0 -4
- package/dist/cdn/CMBNVRX4.js +0 -4
- package/dist/cdn/D6MGY4ZG.js +0 -4
- package/dist/cdn/DOURUCK4.js +0 -4
- package/dist/cdn/DUCTZYWY.js +0 -4
- package/dist/cdn/EAIBQGHI.js +0 -4
- package/dist/cdn/EFGCTCBU.js +0 -4
- package/dist/cdn/F7S6WPMH.js +0 -4
- package/dist/cdn/FJLEVPNO.js +0 -4
- package/dist/cdn/FKAPKNBK.js +0 -4
- package/dist/cdn/FMUBO2SM.js +0 -4
- package/dist/cdn/FP272N3B.js +0 -4
- package/dist/cdn/FR5GZWQ6.js +0 -4
- package/dist/cdn/FTMB44PL.js +0 -4
- package/dist/cdn/FUVKUX3F.js +0 -4
- package/dist/cdn/G4CXV4NF.js +0 -4
- package/dist/cdn/GFL63DN7.js +0 -4
- package/dist/cdn/GL7SUTZC.js +0 -4
- package/dist/cdn/GLFXDT4O.js +0 -4
- package/dist/cdn/GR4O6BEU.js +0 -4
- package/dist/cdn/GUHP2PZF.js +0 -4
- package/dist/cdn/GZPGD27B.js +0 -6
- package/dist/cdn/HUV7GHIN.js +0 -4
- package/dist/cdn/IAXNFEPP.js +0 -4
- package/dist/cdn/IGWPHMX5.js +0 -4
- package/dist/cdn/ILGO5YVA.js +0 -4
- package/dist/cdn/IZNGYRHV.js +0 -4
- package/dist/cdn/J7QN3PZF.js +0 -4
- package/dist/cdn/JVVOVQFU.js +0 -4
- package/dist/cdn/KGHAGZY4.js +0 -4
- package/dist/cdn/KO6DPIWR.js +0 -4
- package/dist/cdn/L4YRXMVR.js +0 -4
- package/dist/cdn/L7ML76QM.js +0 -4
- package/dist/cdn/L7PXJ66C.js +0 -4
- package/dist/cdn/LHISUI6W.js +0 -4
- package/dist/cdn/LHKNQO6E.js +0 -4
- package/dist/cdn/LQ2SBKQY.js +0 -4
- package/dist/cdn/LVUAE6PC.js +0 -4
- package/dist/cdn/M4TXLEZN.js +0 -4
- package/dist/cdn/MF2DQEZU.js +0 -4
- package/dist/cdn/NCM6TOGJ.js +0 -4
- package/dist/cdn/NKEZIJO5.js +0 -4
- package/dist/cdn/NRVD3YPY.js +0 -4
- package/dist/cdn/OJUNMDUD.js +0 -4
- package/dist/cdn/OMDERSQZ.js +0 -4
- package/dist/cdn/PTTXNCL2.js +0 -4
- package/dist/cdn/PZKQVM4A.js +0 -4
- package/dist/cdn/Q5C26WCX.js +0 -4
- package/dist/cdn/Q77K3LVO.js +0 -4
- package/dist/cdn/QF4MHKQN.js +0 -4
- package/dist/cdn/QFFUI3FI.js +0 -4
- package/dist/cdn/QKFIJZ6Y.js +0 -4
- package/dist/cdn/QMATOY57.js +0 -4
- package/dist/cdn/QNDB6SQ6.js +0 -4
- package/dist/cdn/QNUXQPPT.js +0 -4
- package/dist/cdn/QYOYVCWC.js +0 -4
- package/dist/cdn/R5VIFHLX.js +0 -4
- package/dist/cdn/RBYK77JC.js +0 -4
- package/dist/cdn/SBVPQITU.js +0 -4
- package/dist/cdn/SOUISCIY.js +0 -4
- package/dist/cdn/SR67U4DI.js +0 -4
- package/dist/cdn/TMP2IYQ2.js +0 -4
- package/dist/cdn/TXQ2JI7T.js +0 -4
- package/dist/cdn/UC5VZITI.js +0 -4
- package/dist/cdn/UFNFAWDA.js +0 -4
- package/dist/cdn/UMZJE6UL.js +0 -4
- package/dist/cdn/VDTUN3EA.js +0 -4
- package/dist/cdn/VI4PPH6M.js +0 -4
- package/dist/cdn/VNUITTUC.js +0 -4
- package/dist/cdn/VRCJUC36.js +0 -4
- package/dist/cdn/WF5UHW5E.js +0 -4
- package/dist/cdn/WTF7JDXK.js +0 -4
- package/dist/cdn/Y7WJXUDZ.js +0 -4
- package/dist/cdn/YDINXYCI.js +0 -4
- package/dist/cdn/YKZKDYG3.js +0 -4
- package/dist/cdn/YPWZFYOY.js +0 -4
- package/dist/cdn/YU37LD7Q.js +0 -4
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as r } from "lit-html";
|
|
3
|
+
import { ref as g } from "lit-html/directives/ref.js";
|
|
4
|
+
import { LitElement as f, noShadowRoot as d, safeClassMap as i } from "@arcgis/lumina";
|
|
5
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
6
|
+
import { j as n, h as u } from "../../chunks/feature-utils.js";
|
|
7
|
+
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
+
v4.34.0-next.41 */
|
|
11
|
+
const p = h`@layer{arcgis-feature-content{display:block}.arcgis-feature-content__loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.arcgis-feature-content{font-size:var(--calcite-font-size-md)}.arcgis-feature-content h1,.arcgis-feature-content h2,.arcgis-feature-content h3,.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{margin:var(--calcite-spacing-sm) 0;line-height:normal;letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.arcgis-feature-content h1{font-size:var(--calcite-font-size-xxl)}.arcgis-feature-content h2{font-size:var(--calcite-font-size-xl)}.arcgis-feature-content h3{font-size:var(--calcite-font-size-lg)}.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{font-size:var(--calcite-font-size)}.arcgis-widget__heading.arcgis-feature-element-info__title{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-lg);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-content p{margin:0 0 var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular)}.arcgis-feature-content p:last-child{margin-block-end:0}.arcgis-feature-content img{max-width:100%;max-height:100%;image-orientation:from-image}.arcgis-feature-content video{max-width:100%;max-height:100%}.arcgis-feature-content figure{margin:0;padding:0}.arcgis-feature-content figcaption{display:block;margin:var(--calcite-spacing-xs) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.arcgis-feature-content ul,.arcgis-feature-content ol{margin-block:var(--calcite-spacing-sm)}.arcgis-feature-content ul:first-child,.arcgis-feature-content ol:first-child{margin-block-start:0}.arcgis-feature-content a,.arcgis-feature-content a:hover,.arcgis-feature-content a:focus{color:var(--calcite-color-text-link)}}`, c = "arcgis-feature-content", o = {
|
|
12
|
+
base: c,
|
|
13
|
+
loaderContainer: `${c}__loader-container`
|
|
14
|
+
};
|
|
15
|
+
class v extends f {
|
|
16
|
+
static {
|
|
17
|
+
this.properties = { _loadingPromise: 16, _created: 16, creator: 1, destroyer: 0, graphic: 0 };
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.styles = p;
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.shadowRootOptions = d;
|
|
24
|
+
}
|
|
25
|
+
loaded() {
|
|
26
|
+
this.manager.onLifecycle(() => m(() => this.creator, (t) => {
|
|
27
|
+
this._destroyContent(), this._createContent(t);
|
|
28
|
+
}, { initial: !0 }));
|
|
29
|
+
}
|
|
30
|
+
async _createContent(t) {
|
|
31
|
+
const { graphic: e } = this;
|
|
32
|
+
if (!e || !t)
|
|
33
|
+
return;
|
|
34
|
+
const a = n({
|
|
35
|
+
type: "content",
|
|
36
|
+
value: t,
|
|
37
|
+
event: { graphic: e }
|
|
38
|
+
});
|
|
39
|
+
this._loadingPromise = a;
|
|
40
|
+
const s = await a;
|
|
41
|
+
a === this._loadingPromise && (this._loadingPromise = void 0, this._created = s);
|
|
42
|
+
}
|
|
43
|
+
_destroyContent() {
|
|
44
|
+
const { _created: t, graphic: e, destroyer: a } = this;
|
|
45
|
+
t && e && (n({ type: "content", value: a, event: { graphic: e } }), this._created = null);
|
|
46
|
+
}
|
|
47
|
+
_addTargetToAnchors(t) {
|
|
48
|
+
Array.from(t.querySelectorAll("a")).forEach((e) => {
|
|
49
|
+
u(e.href) && !e.hasAttribute("target") && e.setAttribute("target", "_blank");
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return r`<div class=${i(o.base)}>${this._loadingPromise ? this._renderLoading() : this._renderCreated()}</div>`;
|
|
54
|
+
}
|
|
55
|
+
_renderLoading() {
|
|
56
|
+
return r`<div class=${i(o.loaderContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
57
|
+
}
|
|
58
|
+
_renderCreated() {
|
|
59
|
+
const { _created: t } = this;
|
|
60
|
+
return t instanceof HTMLElement ? t : typeof t == "string" ? r`<div .innerHTML=${t ?? ""} ${g(this._addTargetToAnchors)}></div>` : null;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
l("arcgis-feature-content", v);
|
|
64
|
+
export {
|
|
65
|
+
v as ArcgisFeatureContent
|
|
66
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="../../index.d.ts" />
|
|
2
|
+
import { HeadingLevel } from '../../support/heading';
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
|
|
5
|
+
/** @private */
|
|
6
|
+
export declare class ArcgisFeatureElementInfo extends LitElement {
|
|
7
|
+
description?: string;
|
|
8
|
+
/** @default 2 */
|
|
9
|
+
headingLevel: HeadingLevel;
|
|
10
|
+
heading?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as r } from "lit-html";
|
|
3
|
+
import { H as a } from "../../chunks/heading.js";
|
|
4
|
+
import { LitElement as o, noShadowRoot as c, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { renderingSanitizer as l } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
6
|
+
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
7
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
+
v4.34.0-next.41 */
|
|
10
|
+
const g = d`@layer{arcgis-feature-element-info{display:block}.arcgis-feature-element-info__heading{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-sm);font-size:var(--calcite-font-line-height-fixed-base);font-weight:var(--calcite-font-weight-regular)}}`, t = "arcgis-feature-element-info", i = {
|
|
11
|
+
base: t,
|
|
12
|
+
heading: `${t}__heading`,
|
|
13
|
+
description: `${t}__description`
|
|
14
|
+
};
|
|
15
|
+
class m extends o {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments), this.headingLevel = 2;
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.properties = { description: 1, headingLevel: 9, heading: 1 };
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.styles = g;
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
this.shadowRootOptions = c;
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return r`<div class=${s(i.base)}>${this._renderHeading()}${this._renderDescription()}</div>`;
|
|
30
|
+
}
|
|
31
|
+
_renderHeading() {
|
|
32
|
+
const { heading: e } = this;
|
|
33
|
+
return e ? a({ class: i.heading, level: this.headingLevel, excludeGlobalCss: !0, children: e }) : null;
|
|
34
|
+
}
|
|
35
|
+
_renderDescription() {
|
|
36
|
+
const { description: e } = this;
|
|
37
|
+
return e ? r`<div class=${s(i.description)} .innerHTML=${l.sanitize(e) ?? ""}></div>` : null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
n("arcgis-feature-element-info", m);
|
|
41
|
+
export {
|
|
42
|
+
m as ArcgisFeatureElementInfo
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference types="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { HeadingLevel } from '../../support/heading';
|
|
5
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
6
|
+
|
|
7
|
+
/** @private */
|
|
8
|
+
export declare class ArcgisFeatureExpression extends LitElement {
|
|
9
|
+
expressionInfo?: __esri.ElementExpressionInfo;
|
|
10
|
+
graphic?: __esri.Graphic;
|
|
11
|
+
/** @default 2 */
|
|
12
|
+
headingLevel: HeadingLevel;
|
|
13
|
+
interceptor?: __esri.RequestInterceptor;
|
|
14
|
+
location?: __esri.Point;
|
|
15
|
+
messages?: ArcgisFeature["messages"];
|
|
16
|
+
spatialReference?: __esri.SpatialReference;
|
|
17
|
+
map?: __esri.Map;
|
|
18
|
+
view?: __esri.View;
|
|
19
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { c as X } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as v } from "lit-html";
|
|
3
|
+
import { LitElement as D, noShadowRoot as H, safeClassMap as O } from "@arcgis/lumina";
|
|
4
|
+
import { watch as V, when as q } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { a as $ } from "../../chunks/maybe.js";
|
|
6
|
+
import { c as w, t as k } from "../../chunks/async-utils.js";
|
|
7
|
+
import z from "@arcgis/core/popup/content/MediaContent.js";
|
|
8
|
+
import K from "@arcgis/core/popup/content/FieldsContent.js";
|
|
9
|
+
import Q from "@arcgis/core/popup/content/TextContent.js";
|
|
10
|
+
import { compileExpression as Y } from "@arcgis/core/applications/Components/arcadeFeatureUtils.js";
|
|
11
|
+
import { css as Z } from "@lit/reactive-element/css-tag.js";
|
|
12
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
+
v4.34.0-next.41 */
|
|
15
|
+
var ee = typeof global == "object" && global && global.Object === Object && global, te = typeof self == "object" && self && self.Object === Object && self, F = ee || te || Function("return this")(), b = F.Symbol, J = Object.prototype, ne = J.hasOwnProperty, ie = J.toString, T = b ? b.toStringTag : void 0;
|
|
16
|
+
function re(e) {
|
|
17
|
+
var t = ne.call(e, T), n = e[T];
|
|
18
|
+
try {
|
|
19
|
+
e[T] = void 0;
|
|
20
|
+
var i = !0;
|
|
21
|
+
} catch {
|
|
22
|
+
}
|
|
23
|
+
var r = ie.call(e);
|
|
24
|
+
return i && (t ? e[T] = n : delete e[T]), r;
|
|
25
|
+
}
|
|
26
|
+
var ae = Object.prototype, se = ae.toString;
|
|
27
|
+
function oe(e) {
|
|
28
|
+
return se.call(e);
|
|
29
|
+
}
|
|
30
|
+
var ce = "[object Null]", le = "[object Undefined]", C = b ? b.toStringTag : void 0;
|
|
31
|
+
function fe(e) {
|
|
32
|
+
return e == null ? e === void 0 ? le : ce : C && C in Object(e) ? re(e) : oe(e);
|
|
33
|
+
}
|
|
34
|
+
function ue(e) {
|
|
35
|
+
return e != null && typeof e == "object";
|
|
36
|
+
}
|
|
37
|
+
var de = "[object Symbol]";
|
|
38
|
+
function me(e) {
|
|
39
|
+
return typeof e == "symbol" || ue(e) && fe(e) == de;
|
|
40
|
+
}
|
|
41
|
+
var he = /\s/;
|
|
42
|
+
function pe(e) {
|
|
43
|
+
for (var t = e.length; t-- && he.test(e.charAt(t)); )
|
|
44
|
+
;
|
|
45
|
+
return t;
|
|
46
|
+
}
|
|
47
|
+
var ge = /^\s+/;
|
|
48
|
+
function ve(e) {
|
|
49
|
+
return e && e.slice(0, pe(e) + 1).replace(ge, "");
|
|
50
|
+
}
|
|
51
|
+
function _(e) {
|
|
52
|
+
var t = typeof e;
|
|
53
|
+
return e != null && (t == "object" || t == "function");
|
|
54
|
+
}
|
|
55
|
+
var L = NaN, Te = /^[-+]0x[0-9a-f]+$/i, ye = /^0b[01]+$/i, be = /^0o[0-7]+$/i, _e = parseInt;
|
|
56
|
+
function A(e) {
|
|
57
|
+
if (typeof e == "number")
|
|
58
|
+
return e;
|
|
59
|
+
if (me(e))
|
|
60
|
+
return L;
|
|
61
|
+
if (_(e)) {
|
|
62
|
+
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
63
|
+
e = _(t) ? t + "" : t;
|
|
64
|
+
}
|
|
65
|
+
if (typeof e != "string")
|
|
66
|
+
return e === 0 ? e : +e;
|
|
67
|
+
e = ve(e);
|
|
68
|
+
var n = ye.test(e);
|
|
69
|
+
return n || be.test(e) ? _e(e.slice(2), n ? 2 : 8) : Te.test(e) ? L : +e;
|
|
70
|
+
}
|
|
71
|
+
var S = function() {
|
|
72
|
+
return F.Date.now();
|
|
73
|
+
}, xe = "Expected a function", $e = Math.max, ke = Math.min;
|
|
74
|
+
function Se(e, t, n) {
|
|
75
|
+
var i, r, s, l, o, d, f = 0, p = !1, u = !1, h = !0;
|
|
76
|
+
if (typeof e != "function")
|
|
77
|
+
throw new TypeError(xe);
|
|
78
|
+
t = A(t) || 0, _(n) && (p = !!n.leading, u = "maxWait" in n, s = u ? $e(A(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
|
|
79
|
+
function c(a) {
|
|
80
|
+
var m = i, g = r;
|
|
81
|
+
return i = r = void 0, f = a, l = e.apply(g, m), l;
|
|
82
|
+
}
|
|
83
|
+
function P(a) {
|
|
84
|
+
return f = a, o = setTimeout(y, t), p ? c(a) : l;
|
|
85
|
+
}
|
|
86
|
+
function B(a) {
|
|
87
|
+
var m = a - d, g = a - f, I = t - m;
|
|
88
|
+
return u ? ke(I, s - g) : I;
|
|
89
|
+
}
|
|
90
|
+
function j(a) {
|
|
91
|
+
var m = a - d, g = a - f;
|
|
92
|
+
return d === void 0 || m >= t || m < 0 || u && g >= s;
|
|
93
|
+
}
|
|
94
|
+
function y() {
|
|
95
|
+
var a = S();
|
|
96
|
+
if (j(a))
|
|
97
|
+
return E(a);
|
|
98
|
+
o = setTimeout(y, B(a));
|
|
99
|
+
}
|
|
100
|
+
function E(a) {
|
|
101
|
+
return o = void 0, h && i ? c(a) : (i = r = void 0, l);
|
|
102
|
+
}
|
|
103
|
+
function U() {
|
|
104
|
+
o !== void 0 && clearTimeout(o), f = 0, i = d = r = o = void 0;
|
|
105
|
+
}
|
|
106
|
+
function G() {
|
|
107
|
+
return o === void 0 ? l : E(S());
|
|
108
|
+
}
|
|
109
|
+
function x() {
|
|
110
|
+
var a = S(), m = j(a);
|
|
111
|
+
if (i = arguments, r = this, d = a, m) {
|
|
112
|
+
if (o === void 0)
|
|
113
|
+
return P(d);
|
|
114
|
+
if (u)
|
|
115
|
+
return clearTimeout(o), o = setTimeout(y, t), c(d);
|
|
116
|
+
}
|
|
117
|
+
return o === void 0 && (o = setTimeout(y, t)), l;
|
|
118
|
+
}
|
|
119
|
+
return x.cancel = U, x.flush = G, x;
|
|
120
|
+
}
|
|
121
|
+
var je = "Expected a function";
|
|
122
|
+
function R(e, t, n) {
|
|
123
|
+
var i = !0, r = !0;
|
|
124
|
+
if (typeof e != "function")
|
|
125
|
+
throw new TypeError(je);
|
|
126
|
+
return _(n) && (i = "leading" in n ? !!n.leading : i, r = "trailing" in n ? !!n.trailing : r), Se(e, t, {
|
|
127
|
+
leading: i,
|
|
128
|
+
maxWait: t,
|
|
129
|
+
trailing: r
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
const Ee = Z`@layer{arcgis-feature-expression{display:block}.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}}`, N = 1, M = "arcgis-feature", W = {
|
|
133
|
+
// widget
|
|
134
|
+
base: `${M}-expression`,
|
|
135
|
+
// loading
|
|
136
|
+
loadingSpinnerContainer: `${M}__loading-container`
|
|
137
|
+
};
|
|
138
|
+
class Ie extends D {
|
|
139
|
+
constructor() {
|
|
140
|
+
super(...arguments), this._compileThrottled = R(this._startCompile, N), this._evaluateThrottled = R(this._startEvaluate, N), this.headingLevel = 2;
|
|
141
|
+
}
|
|
142
|
+
static {
|
|
143
|
+
this.properties = { _compileTask: 16, _evaluateTask: 16, expressionInfo: 0, graphic: 0, headingLevel: 9, interceptor: 0, location: 0, messages: 0, spatialReference: 0, map: 0, view: 0 };
|
|
144
|
+
}
|
|
145
|
+
static {
|
|
146
|
+
this.styles = Ee;
|
|
147
|
+
}
|
|
148
|
+
static {
|
|
149
|
+
this.shadowRootOptions = H;
|
|
150
|
+
}
|
|
151
|
+
loaded() {
|
|
152
|
+
this.manager.onLifecycle(() => [
|
|
153
|
+
V(() => [this.expressionInfo, this.graphic], () => this._compileThrottled(), { initial: !0 }),
|
|
154
|
+
q(() => {
|
|
155
|
+
if (!this._compileTask?.finished)
|
|
156
|
+
return null;
|
|
157
|
+
const t = this._compileTask.value, n = t?.dependencies, { view: i } = this;
|
|
158
|
+
return [
|
|
159
|
+
t,
|
|
160
|
+
this.spatialReference,
|
|
161
|
+
this.map,
|
|
162
|
+
i,
|
|
163
|
+
n?.has("view-scale") && i && "scale" in i ? i.scale : null,
|
|
164
|
+
n?.has("view-time-extent") ? i?.timeExtent?.start : null,
|
|
165
|
+
n?.has("view-time-extent") ? i?.timeExtent?.end : null
|
|
166
|
+
];
|
|
167
|
+
}, ([t]) => this._evaluateThrottled(t)),
|
|
168
|
+
{
|
|
169
|
+
remove: () => this._cancelThrottles()
|
|
170
|
+
}
|
|
171
|
+
]);
|
|
172
|
+
}
|
|
173
|
+
_cancelThrottles() {
|
|
174
|
+
this._compileThrottled.cancel(), this._evaluateThrottled.cancel();
|
|
175
|
+
}
|
|
176
|
+
_startCompile() {
|
|
177
|
+
this._evaluateTask = $(this._evaluateTask), this._compileTask = $(this._compileTask), this._compileTask = w(async (t) => {
|
|
178
|
+
const { expressionInfo: n, graphic: i } = this, r = n?.expression;
|
|
179
|
+
if (!r || !i)
|
|
180
|
+
return null;
|
|
181
|
+
const s = await Y({
|
|
182
|
+
expression: r,
|
|
183
|
+
graphic: i
|
|
184
|
+
});
|
|
185
|
+
return k(t), s;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
_startEvaluate(t) {
|
|
189
|
+
this._evaluateTask = $(this._evaluateTask), this._evaluateTask = w(async (n) => {
|
|
190
|
+
const { graphic: i } = this;
|
|
191
|
+
if (!t || !i)
|
|
192
|
+
return null;
|
|
193
|
+
const { interceptor: r, spatialReference: s, map: l, location: o, view: d } = this, f = await t.evaluate({
|
|
194
|
+
graphic: i,
|
|
195
|
+
interceptor: r,
|
|
196
|
+
location: o,
|
|
197
|
+
map: l,
|
|
198
|
+
options: { signal: n },
|
|
199
|
+
spatialReference: s,
|
|
200
|
+
view: d
|
|
201
|
+
});
|
|
202
|
+
k(n);
|
|
203
|
+
const p = f && "castAsJsonAsync" in f && typeof f.castAsJsonAsync == "function" ? f : null;
|
|
204
|
+
if (!p)
|
|
205
|
+
return null;
|
|
206
|
+
const u = await p.castAsJsonAsync(n);
|
|
207
|
+
k(n);
|
|
208
|
+
const h = u?.type, c = h === "media" ? z.fromJSON(u) : h === "text" ? Q.fromJSON(u) : h === "fields" ? K.fromJSON(u) : null;
|
|
209
|
+
return !c || c.type === "media" && !c.mediaInfos || c.type === "fields" && !c.fieldInfos || c.type === "text" && !c.text ? null : c;
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
render() {
|
|
213
|
+
const t = !this._compileTask?.finished || !this._evaluateTask?.finished;
|
|
214
|
+
return v`<div class=${O(W.base)}>${t ? this._renderLoading() : this._evaluateTask?.value ? this._renderContent() : null}</div>`;
|
|
215
|
+
}
|
|
216
|
+
_renderContent() {
|
|
217
|
+
const t = this._evaluateTask?.value, n = t?.type;
|
|
218
|
+
if (!n)
|
|
219
|
+
return null;
|
|
220
|
+
if (n === "text") {
|
|
221
|
+
const { text: i } = t;
|
|
222
|
+
return v`<arcgis-feature-content .creator=${i} .graphic=${this.graphic}></arcgis-feature-content>`;
|
|
223
|
+
} else if (n === "media") {
|
|
224
|
+
const { title: i, description: r, mediaInfos: s } = t;
|
|
225
|
+
if (!s?.length)
|
|
226
|
+
return null;
|
|
227
|
+
const l = t.attributes;
|
|
228
|
+
return v`<arcgis-feature-media .heading=${i ?? ""} .values=${l} .formattedValues=${l} .description=${r ?? ""} .mediaInfos=${s} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`;
|
|
229
|
+
} else if (n === "fields") {
|
|
230
|
+
const { title: i, description: r, fieldInfos: s } = t;
|
|
231
|
+
return s?.length ? v`<arcgis-feature-fields .fieldInfos=${s} .heading=${i ?? ""} .description=${r ?? ""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>` : null;
|
|
232
|
+
}
|
|
233
|
+
return null;
|
|
234
|
+
}
|
|
235
|
+
_renderLoading() {
|
|
236
|
+
return v`<div class=${O(W.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
X("arcgis-feature-expression", Ie);
|
|
240
|
+
export {
|
|
241
|
+
Ie as ArcgisFeatureExpression
|
|
242
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference types="../../index.d.ts" />
|
|
3
|
+
import { HeadingLevel } from '../../support/heading';
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
6
|
+
|
|
7
|
+
/** @private */
|
|
8
|
+
export declare class ArcgisFeatureFields extends LitElement {
|
|
9
|
+
values?: HashMap<number | string>;
|
|
10
|
+
description?: string;
|
|
11
|
+
expressionInfos?: __esri.ExpressionInfo[];
|
|
12
|
+
fieldInfos?: __esri.FieldInfo[];
|
|
13
|
+
heading?: string;
|
|
14
|
+
/** @default 2 */
|
|
15
|
+
headingLevel: HeadingLevel;
|
|
16
|
+
messages?: ArcgisFeature["messages"];
|
|
17
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as n } from "lit-html";
|
|
3
|
+
import { addLTRMark as b } from "@arcgis/components-utils";
|
|
4
|
+
import { LitElement as h, noShadowRoot as $, safeClassMap as c } from "@arcgis/lumina";
|
|
5
|
+
import { replace as d } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
6
|
+
import { e as v } from "../../chunks/feature-utils.js";
|
|
7
|
+
import { renderingSanitizer as f } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
8
|
+
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
9
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
+
v4.34.0-next.41 */
|
|
12
|
+
const I = [
|
|
13
|
+
{
|
|
14
|
+
pattern: /^\s*(https?:\/\/([^\s]+))\s*$/iu,
|
|
15
|
+
target: "_blank",
|
|
16
|
+
label: "{messages.view}"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
pattern: /^\s*(tel:([^\s]+))\s*$/iu,
|
|
20
|
+
label: "{hierPart}"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
pattern: /^\s*(mailto:([^\s]+))\s*$/iu,
|
|
24
|
+
label: "{hierPart}"
|
|
25
|
+
},
|
|
26
|
+
// ArcGIS Apps
|
|
27
|
+
{
|
|
28
|
+
pattern: /^\s*(arcgis-appstudio-player:\/\/([^\s]+))\s*$/iu,
|
|
29
|
+
label: "{messages.openInApp}",
|
|
30
|
+
appName: "App Studio Player"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
pattern: /^\s*(arcgis-collector:\/\/([^\s]+))\s*$/iu,
|
|
34
|
+
label: "{messages.openInApp}",
|
|
35
|
+
appName: "Collector"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
pattern: /^\s*(arcgis-explorer:\/\/([^\s]+))\s*$/iu,
|
|
39
|
+
label: "{messages.openInApp}",
|
|
40
|
+
appName: "Explorer"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
pattern: /^\s*(arcgis-navigator:\/\/([^\s]+))\s*$/iu,
|
|
44
|
+
label: "{messages.openInApp}",
|
|
45
|
+
appName: "Navigator"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
pattern: /^\s*(arcgis-survey123:\/\/([^\s]+))\s*$/iu,
|
|
49
|
+
label: "{messages.openInApp}",
|
|
50
|
+
appName: "Survey123"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
pattern: /^\s*(arcgis-trek2there:\/\/([^\s]+))\s*$/iu,
|
|
54
|
+
label: "{messages.openInApp}",
|
|
55
|
+
appName: "Trek2There"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
pattern: /^\s*(arcgis-workforce:\/\/([^\s]+))\s*$/iu,
|
|
59
|
+
label: "{messages.openInApp}",
|
|
60
|
+
appName: "Workforce"
|
|
61
|
+
},
|
|
62
|
+
// Third-Party Apps
|
|
63
|
+
{
|
|
64
|
+
pattern: /^\s*(iform:\/\/([^\s]+))\s*$/iu,
|
|
65
|
+
label: "{messages.openInApp}",
|
|
66
|
+
appName: "iForm"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
pattern: /^\s*(flow:\/\/([^\s]+))\s*$/iu,
|
|
70
|
+
label: "{messages.openInApp}",
|
|
71
|
+
appName: "FlowFinity"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
pattern: /^\s*(lfmobile:\/\/([^\s]+))\s*$/iu,
|
|
75
|
+
label: "{messages.openInApp}",
|
|
76
|
+
appName: "Laserfische"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
pattern: /^\s*(mspbi:\/\/([^\s]+))\s*$/iu,
|
|
80
|
+
label: "{messages.openInApp}",
|
|
81
|
+
appName: "Microsoft Power Bi"
|
|
82
|
+
}
|
|
83
|
+
];
|
|
84
|
+
function w(p, t) {
|
|
85
|
+
const e = I.find((l) => l.pattern.test(t));
|
|
86
|
+
if (!e)
|
|
87
|
+
return t;
|
|
88
|
+
const r = t.match(e.pattern)?.[2], s = d(
|
|
89
|
+
d(e.label, {
|
|
90
|
+
messages: p,
|
|
91
|
+
hierPart: r
|
|
92
|
+
}),
|
|
93
|
+
{
|
|
94
|
+
appName: e.appName
|
|
95
|
+
}
|
|
96
|
+
), i = e.target ? ` target="${e.target}"` : "", o = e.target === "_blank" ? ' rel="noreferrer"' : "";
|
|
97
|
+
return encodeURI(t).replace(e.pattern, `<a${i} href="$1"${o}>${s}</a>`);
|
|
98
|
+
}
|
|
99
|
+
const F = _`@layer{arcgis-feature-fields{display:block}.arcgis-feature-fields__table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.arcgis-feature-fields__table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.arcgis-feature-fields__table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.arcgis-feature-fields__table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.arcgis-feature-fields__table tr a{color:var(--calcite-color-text-link)}.arcgis-feature-fields__table tr a:hover,.arcgis-feature-fields__table tr a:focus{color:var(--calcite-color-brand-hover)}.arcgis-feature-fields__table tr td,.arcgis-feature-fields__table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-fields__table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.arcgis-feature-fields__table tr td{width:50%}}`, g = "arcgis-feature-fields", m = {
|
|
100
|
+
base: g,
|
|
101
|
+
table: `${g}__table`
|
|
102
|
+
};
|
|
103
|
+
class N extends h {
|
|
104
|
+
constructor() {
|
|
105
|
+
super(...arguments), this.headingLevel = 2;
|
|
106
|
+
}
|
|
107
|
+
static {
|
|
108
|
+
this.properties = { values: 0, description: 1, expressionInfos: 0, fieldInfos: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
109
|
+
}
|
|
110
|
+
static {
|
|
111
|
+
this.styles = F;
|
|
112
|
+
}
|
|
113
|
+
static {
|
|
114
|
+
this.shadowRootOptions = $;
|
|
115
|
+
}
|
|
116
|
+
get formattedFieldInfos() {
|
|
117
|
+
const { expressionInfos: t, fieldInfos: e } = this, a = [];
|
|
118
|
+
return e?.forEach((r) => {
|
|
119
|
+
if (!("visible" in r ? r.visible : !0))
|
|
120
|
+
return;
|
|
121
|
+
const i = r.clone();
|
|
122
|
+
i.label = v(i, t), a.push(i);
|
|
123
|
+
}), a;
|
|
124
|
+
}
|
|
125
|
+
render() {
|
|
126
|
+
return n`<div class=${c(m.base)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderFields()}</div>`;
|
|
127
|
+
}
|
|
128
|
+
_renderFieldInfo(t) {
|
|
129
|
+
const { values: e } = this, a = t.fieldName || "", r = t.label || a, s = e ? e[a] == null ? "" : e[a] : "", i = !!t.format?.dateFormat, o = {
|
|
130
|
+
openInApp: this.messages?.openInApp ?? "",
|
|
131
|
+
view: this.messages?.view ?? ""
|
|
132
|
+
}, l = typeof s == "number" && !i ? b(`${s}`) : typeof s == "string" ? w(o, s) : `${s}`;
|
|
133
|
+
return n`<tr><th .innerHTML=${f.sanitize(r) ?? ""}></th><td .innerHTML=${f.sanitize(l) ?? ""}></td></tr>`;
|
|
134
|
+
}
|
|
135
|
+
_renderFields() {
|
|
136
|
+
const { formattedFieldInfos: t } = this;
|
|
137
|
+
return t?.length ? n`<table class=${c(m.table)}><caption>${this.messages?.fieldsSummary}</caption><tbody>${t.map((e) => this._renderFieldInfo(e))}</tbody></table>` : null;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
u("arcgis-feature-fields", N);
|
|
141
|
+
export {
|
|
142
|
+
N as ArcgisFeatureFields
|
|
143
|
+
};
|
|
@@ -80,9 +80,14 @@ export declare class ArcgisFeatureForm extends LitElement {
|
|
|
80
80
|
*
|
|
81
81
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#layer)
|
|
82
82
|
*/
|
|
83
|
-
layer: nullish | __esri.FeatureLayer | __esri.SceneLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | __esri.SubtypeSublayer;
|
|
83
|
+
layer: nullish | __esri.FeatureLayer | __esri.SceneLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | __esri.SubtypeSublayer | __esri.KnowledgeGraphSublayer;
|
|
84
84
|
/** @default "bottom-left" */
|
|
85
85
|
position: __esri.UIPosition;
|
|
86
|
+
/**
|
|
87
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
88
|
+
*
|
|
89
|
+
* @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)
|
|
90
|
+
*/
|
|
86
91
|
referenceElement?: ArcgisReferenceElement | string;
|
|
87
92
|
/**
|
|
88
93
|
* The widget's state.
|
|
@@ -97,7 +102,7 @@ export declare class ArcgisFeatureForm extends LitElement {
|
|
|
97
102
|
*
|
|
98
103
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#timeZone)
|
|
99
104
|
*/
|
|
100
|
-
timeZone: string;
|
|
105
|
+
timeZone: string | nullish;
|
|
101
106
|
/** Permanently destroy the component. */
|
|
102
107
|
destroy(): Promise<void>;
|
|
103
108
|
/** Returns all of the field values, regardless of update status. */
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.41 */
|
|
11
11
|
const l = m`@layer{arcgis-feature-form{display:block}}`, g = h(s);
|
|
12
12
|
class n extends r {
|
|
13
13
|
constructor() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const esriChartColorSet: import('@amcharts/amcharts5/index.js').Color[];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference types="../../index.d.ts" />
|
|
3
|
+
import { Nil } from '@arcgis/components-utils';
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { HeadingLevel } from '../../support/heading';
|
|
6
|
+
import { RelatedInfo } from '../../utils/related-feature-utils';
|
|
7
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
8
|
+
|
|
9
|
+
type MediaInfo = __esri.BarChartMediaInfo | __esri.ColumnChartMediaInfo | __esri.ImageMediaInfo | __esri.LineChartMediaInfo | __esri.PieChartMediaInfo;
|
|
10
|
+
/** @private */
|
|
11
|
+
export declare class ArcgisFeatureMedia extends LitElement {
|
|
12
|
+
messages?: ArcgisFeature["messages"];
|
|
13
|
+
values?: HashMap<number | string>;
|
|
14
|
+
/** @default 0 */
|
|
15
|
+
activeMediaInfoIndex: number;
|
|
16
|
+
/** @default false */
|
|
17
|
+
chartAnimationDisabled: boolean;
|
|
18
|
+
get activeMediaInfo(): MediaInfo | Nil;
|
|
19
|
+
get formattedMediaInfos(): MediaInfo[];
|
|
20
|
+
description?: string;
|
|
21
|
+
fieldInfoMap?: Map<string, __esri.FieldInfo>;
|
|
22
|
+
layer?: __esri.Layer;
|
|
23
|
+
mediaInfos?: MediaInfo[];
|
|
24
|
+
popupTemplate?: __esri.PopupTemplate;
|
|
25
|
+
relatedInfos?: Map<string, RelatedInfo>;
|
|
26
|
+
formattedValues?: HashMap<number | string>;
|
|
27
|
+
expressionValues?: HashMap<number | string>;
|
|
28
|
+
heading?: string;
|
|
29
|
+
/** @default false */
|
|
30
|
+
isAggregate: boolean;
|
|
31
|
+
get formattedMediaInfoCount(): number;
|
|
32
|
+
/** @default 2 */
|
|
33
|
+
headingLevel: HeadingLevel;
|
|
34
|
+
next(): void;
|
|
35
|
+
previous(): void;
|
|
36
|
+
setActiveMedia(mediaInfoIndex: number): void;
|
|
37
|
+
}
|
|
38
|
+
export {};
|