@arcgis/map-components 4.34.0-next.2 → 4.34.0-next.21
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/2DIKFW7K.js +4 -0
- package/dist/cdn/{VRX7IRTW.js → 2FYM5HUD.js} +2 -2
- package/dist/cdn/{O57FJWKG.js → 3DS726OD.js} +2 -2
- package/dist/cdn/{IE47QEIE.js → 3KEZHG7W.js} +2 -2
- package/dist/cdn/3MMOB4OK.js +4 -0
- package/dist/cdn/{BOWV4BI5.js → 424JEX3C.js} +2 -2
- package/dist/cdn/{YTQ5WKUI.js → 43PD534X.js} +2 -2
- package/dist/cdn/4BAEO7AP.js +4 -0
- package/dist/cdn/{JXL7WD2E.js → 4JOU6IR7.js} +2 -2
- package/dist/cdn/{M6KBDQ4B.js → 53L3YUOX.js} +2 -2
- package/dist/cdn/{5APGWHKF.js → 5F6GXQGE.js} +2 -2
- package/dist/cdn/{DKMOPJ25.js → 5NKRC3D7.js} +2 -2
- package/dist/cdn/{M67BOC6R.js → 5REOJGCZ.js} +2 -2
- package/dist/cdn/{WIZ7RQYM.js → 5RL5K3OT.js} +2 -2
- package/dist/cdn/{LQXNDSAI.js → 5SEOV35O.js} +2 -2
- package/dist/cdn/{CUYQCXUJ.js → 5ZRRIWMB.js} +2 -2
- package/dist/cdn/{RKKLVIKS.js → 642ZLA6X.js} +2 -2
- package/dist/cdn/{6ESK4QPA.js → 66QYKE2Z.js} +2 -2
- package/dist/cdn/{FG2UUN5Y.js → 6FZFDLZE.js} +2 -2
- package/dist/cdn/{HSYMUXB2.js → 6JHKCUPI.js} +2 -2
- package/dist/cdn/{LLSIG464.js → 6JJ56G4C.js} +2 -2
- package/dist/cdn/{FVCCBN6R.js → 7LRZIJD4.js} +2 -2
- package/dist/cdn/{76V2F3M5.js → 7OYYQFDC.js} +2 -2
- package/dist/cdn/{QGDMGHZ3.js → A23355Z6.js} +2 -2
- package/dist/cdn/{V4FN65Z4.js → AAR2FOAL.js} +2 -2
- package/dist/cdn/{VIU4ZSIY.js → BGMADJYI.js} +2 -2
- package/dist/cdn/{A5THM6EA.js → BNVGHHPA.js} +2 -2
- package/dist/cdn/{LRCALZS4.js → BPLHLHQI.js} +2 -2
- package/dist/cdn/{VMDVUG52.js → BUMNG3LD.js} +1 -1
- package/dist/cdn/{AACC3FYE.js → BX4E7VS7.js} +1 -1
- package/dist/cdn/{3TIDM52T.js → C24AID7J.js} +2 -2
- package/dist/cdn/{YXIBBCVA.js → CB5UF2XM.js} +2 -2
- package/dist/cdn/{U7HB3CPN.js → CB7JLC5X.js} +2 -2
- package/dist/cdn/{ESEGUX5O.js → CLRYXHEP.js} +2 -2
- package/dist/cdn/{T7VRSGAE.js → CLW2LXNE.js} +2 -2
- package/dist/cdn/{DHZBSCQC.js → CNIJHZ6G.js} +2 -2
- package/dist/cdn/{FQM7ZIUE.js → CS43UYS3.js} +2 -2
- package/dist/cdn/DEYMBEU3.js +4 -0
- package/dist/cdn/{T356JENG.js → DFZCDEDC.js} +2 -2
- package/dist/cdn/{O24P7Q3C.js → DHJGGWH3.js} +2 -2
- package/dist/cdn/{LIRUDJLH.js → DRQJRZPI.js} +2 -2
- package/dist/cdn/{TEM46PXT.js → DZPKP76T.js} +2 -2
- package/dist/cdn/{MQJ7XLGK.js → EBWTFJHE.js} +2 -2
- package/dist/cdn/{RAN4WBBO.js → EF63U2JV.js} +2 -2
- package/dist/cdn/{PNN554XV.js → EQ7EDIWI.js} +2 -2
- package/dist/cdn/{3E5JGS7I.js → ETD3XMI3.js} +2 -2
- package/dist/cdn/{3ZGNCN4N.js → EVNA5MC3.js} +2 -2
- package/dist/cdn/{YL5UD5QK.js → F3GJKUFE.js} +2 -2
- package/dist/cdn/{N762OEGT.js → FKPX7WM5.js} +2 -2
- package/dist/cdn/{LG2VTIMN.js → FQDORCBB.js} +2 -2
- package/dist/cdn/{AX6ZNG7O.js → FRGNCM64.js} +2 -2
- package/dist/cdn/{AXKSXWQK.js → FRZCSSHL.js} +2 -2
- package/dist/cdn/{2HMQBLGX.js → G2R2TI3S.js} +2 -2
- package/dist/cdn/{4P26B2AA.js → GJ5VNK7J.js} +2 -2
- package/dist/cdn/{WBS3PEXG.js → H6CCKH3K.js} +2 -2
- package/dist/cdn/{JSU4NS5T.js → HN67NNCU.js} +2 -2
- package/dist/cdn/{R6KUTRWE.js → HU437PBD.js} +2 -2
- package/dist/cdn/{LQPNE6GS.js → I6SJPORS.js} +2 -2
- package/dist/cdn/{X5HMIK3S.js → IJ7MA37M.js} +2 -2
- package/dist/cdn/{R42MVK6T.js → J7JF3XPD.js} +2 -2
- package/dist/cdn/{6QZWTGCD.js → JBL7IRTU.js} +2 -2
- package/dist/cdn/JPLKNPQA.js +4 -0
- package/dist/cdn/{Z4ZNKWSQ.js → JRDM5MDJ.js} +2 -2
- package/dist/cdn/{6KAI6YXC.js → JZCLD3KO.js} +2 -2
- package/dist/cdn/{E6EE4TT7.js → K7HCPE2N.js} +1 -1
- package/dist/cdn/{ZV44DXHW.js → KKGH2C3Z.js} +2 -2
- package/dist/cdn/{E77FQK43.js → L4DKFMF5.js} +2 -2
- package/dist/cdn/{47WXI5OV.js → LIYKJGIW.js} +2 -2
- package/dist/cdn/{42ZLP4TO.js → MV7VWEYM.js} +2 -2
- package/dist/cdn/{IBKAQQBC.js → N4ZIWHV3.js} +2 -2
- package/dist/cdn/{R63E5IDP.js → NPNSCUQO.js} +2 -2
- package/dist/cdn/{OBPKMGHI.js → O356CRDT.js} +2 -2
- package/dist/cdn/{X7Q6FQWN.js → OEXDVI45.js} +2 -2
- package/dist/cdn/{JPZTEH2M.js → OMHCZ2JB.js} +2 -2
- package/dist/cdn/{D6KJDF5I.js → OTNIXMGB.js} +2 -2
- package/dist/cdn/{5IGCHT4A.js → OTUHRWHR.js} +2 -2
- package/dist/cdn/{Z5VECA2W.js → OU5G2DJR.js} +2 -2
- package/dist/cdn/{ARSEOYQC.js → OVOEHU54.js} +2 -2
- package/dist/cdn/{BGVGYLIS.js → P7L7BDYD.js} +2 -2
- package/dist/cdn/PHWCCAQ2.js +4 -0
- package/dist/cdn/PSDSRTPJ.js +4 -0
- package/dist/cdn/{BTB5CEYG.js → PTDXUPZF.js} +2 -2
- package/dist/cdn/{BL6FEQUL.js → PW2HC2NU.js} +1 -1
- package/dist/cdn/{UJWLDNQL.js → PZ4RMX6S.js} +2 -2
- package/dist/cdn/{QDLWV3GL.js → Q73PVO5W.js} +2 -2
- package/dist/cdn/{7CVQJHEU.js → QAA6DTB4.js} +2 -2
- package/dist/cdn/{L3FVC43E.js → QEHF2KLL.js} +2 -2
- package/dist/cdn/{FPQAF5U2.js → QQB4P4ZC.js} +2 -2
- package/dist/cdn/{NBZE6Q5O.js → QRMDO65V.js} +1 -1
- package/dist/cdn/{HDHYECZP.js → QUJG3MRO.js} +1 -1
- package/dist/cdn/{YM2YPJK6.js → QZYW5VJZ.js} +2 -2
- package/dist/cdn/{OPRL4XLU.js → RN5XSBBC.js} +2 -2
- package/dist/cdn/{2Z4KRGOJ.js → RYHE2Z3B.js} +1 -1
- package/dist/cdn/{PVCZG5NR.js → SRAVTPGX.js} +2 -2
- package/dist/cdn/{DH3QB5M5.js → SSM2TMFU.js} +2 -2
- package/dist/cdn/T27TN2ZA.js +4 -0
- package/dist/cdn/{QTUCLDNK.js → TCVH3XKB.js} +1 -1
- package/dist/cdn/{QS6PLBTH.js → TJECRHFL.js} +2 -2
- package/dist/cdn/{ZF2Y2DMS.js → TR2YSPHO.js} +2 -2
- package/dist/cdn/{LE6LUZKM.js → TZVXJLRY.js} +2 -2
- package/dist/cdn/{YF5TCRIS.js → UCBVSKFA.js} +2 -2
- package/dist/cdn/{WXDH6ABX.js → UCT65SQB.js} +2 -2
- package/dist/cdn/UEZ5YQ3H.js +4 -0
- package/dist/cdn/{BBUM7LXZ.js → UWRMR7WR.js} +2 -2
- package/dist/cdn/{QWVS3J6Z.js → VF6QOAJ5.js} +2 -2
- package/dist/cdn/{54LBYLM4.js → VS4AYNWU.js} +2 -2
- package/dist/cdn/{2DFTJYET.js → WABX3KLG.js} +2 -2
- package/dist/cdn/{6YEXM7GA.js → WGIICTQ3.js} +2 -2
- package/dist/cdn/{HRAFJUBY.js → WRQSDQRN.js} +2 -2
- package/dist/cdn/{Y6UM5JRX.js → XBYMLIMK.js} +2 -2
- package/dist/cdn/{YXTLBEV3.js → XCTEMILF.js} +2 -2
- package/dist/cdn/{2ITL25LA.js → XGYPWURU.js} +2 -2
- package/dist/cdn/{DXPQND6H.js → XI675RK3.js} +2 -2
- package/dist/cdn/XYQWQY4J.js +4 -0
- package/dist/cdn/{TV675TMD.js → YWYJIIEX.js} +2 -2
- package/dist/cdn/{MSGRPQLQ.js → Z5F4NJ2I.js} +2 -2
- package/dist/cdn/ZCA755OW.js +4 -0
- package/dist/cdn/{FMX5JKGL.js → ZI53EUJK.js} +2 -2
- package/dist/cdn/{OSL33XSZ.js → ZU62IMDO.js} +2 -2
- package/dist/cdn/{V2GGQDQV.js → ZV376OBS.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -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.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +5 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +5 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +2 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-content/customElement.js +92 -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-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +11 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +5 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +18 -12
- 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.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +6 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -12
- package/dist/components/arcgis-link-chart/customElement.d.ts +24 -7
- package/dist/components/arcgis-link-chart/customElement.js +14 -5
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +8 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +5 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +27 -9
- package/dist/components/arcgis-map/customElement.js +25 -14
- 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 +5 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +52 -34
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +29 -9
- package/dist/components/arcgis-scene/customElement.js +23 -12
- package/dist/components/arcgis-search/customElement.d.ts +40 -15
- 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.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +8 -3
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -2
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- 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 +6 -2
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +5 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +9 -5
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +20 -9
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +18 -5
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- 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/customElement.d.ts +5 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +5 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +746 -233
- package/dist/docs/docs.json +666 -223
- package/dist/docs/vscode.html-custom-data.json +71 -32
- package/dist/docs/web-types.json +188 -100
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +17 -11
- package/dist/types/preact.d.ts +18 -11
- package/dist/types/react.d.ts +19 -11
- package/dist/types/stencil.d.ts +17 -11
- package/dist/utils/feature-utils.d.ts +10 -0
- package/package.json +3 -3
- package/dist/cdn/4B65IRU5.js +0 -4
- package/dist/cdn/4WJ66SFY.js +0 -4
- package/dist/cdn/6X652SXL.js +0 -4
- package/dist/cdn/DNMZ4O6N.js +0 -4
- package/dist/cdn/HP3N5VUA.js +0 -4
- package/dist/cdn/NR7JLVJV.js +0 -4
- package/dist/cdn/NTUHH5NA.js +0 -4
- package/dist/cdn/OZTG4AFE.js +0 -4
- package/dist/cdn/XLHDAUF2.js +0 -4
- package/dist/cdn/ZB452APZ.js +0 -4
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { default as DirectLineMeasurementAnalysis } from '@arcgis/core/analysis/DirectLineMeasurementAnalysis';
|
|
4
3
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Use } from '@arcgis/lumina/controllers';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
@@ -15,7 +14,8 @@ declare const useViewModel: (component: LitElement & Pick<DirectLineMeasurement3
|
|
|
15
14
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/)
|
|
16
15
|
*/
|
|
17
16
|
export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
18
|
-
|
|
17
|
+
/** Analysis data object. */
|
|
18
|
+
analysis: __esri.DirectLineMeasurementAnalysis;
|
|
19
19
|
/**
|
|
20
20
|
* If true, the component will not be destroyed automatically when it is
|
|
21
21
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -15,7 +15,7 @@ import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
|
15
15
|
import { g as c, m } from "../../chunks/measurementUtils.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.21 */
|
|
19
19
|
const z = $`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
|
|
20
20
|
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, r = (e, t, s, a) => {
|
|
21
21
|
for (var n = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|
|
@@ -134,10 +134,10 @@ i = r([
|
|
|
134
134
|
const x = "arcgis-direct-line-measurement-3d", T = { base: x }, R = U(i);
|
|
135
135
|
class h extends v {
|
|
136
136
|
constructor() {
|
|
137
|
-
super(...arguments), this.viewModel = R(this), this.messages = O({ name: "directline-measurement-3d", blocking: !0 }), this.autoDestroyDisabled = !1, this.icon = "measure-line", this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = M()("analysis", "state"), this.arcgisReady = f();
|
|
137
|
+
super(...arguments), this.viewModel = R(this), this.messages = O({ name: "directline-measurement-3d", blocking: !0 }), this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-line", this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = M()("analysis", "state"), this.arcgisReady = f();
|
|
138
138
|
}
|
|
139
139
|
static {
|
|
140
|
-
this.properties = { analysis:
|
|
140
|
+
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 1, unit: 1, unitOptions: 0 };
|
|
141
141
|
}
|
|
142
142
|
static {
|
|
143
143
|
this.shadowRootOptions = w;
|
|
@@ -145,9 +145,6 @@ class h extends v {
|
|
|
145
145
|
static {
|
|
146
146
|
this.styles = z;
|
|
147
147
|
}
|
|
148
|
-
get analysis() {
|
|
149
|
-
return this.viewModel.analysis;
|
|
150
|
-
}
|
|
151
148
|
async clear() {
|
|
152
149
|
this.viewModel.clear();
|
|
153
150
|
}
|
|
@@ -54,7 +54,11 @@ export declare class ArcgisDirectionalPad extends LitElement {
|
|
|
54
54
|
icon?: string;
|
|
55
55
|
/** The component's default label. */
|
|
56
56
|
label?: string;
|
|
57
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Replace localized message strings with your own strings.
|
|
59
|
+
*
|
|
60
|
+
* _**Note**: Individual message keys may change between releases._
|
|
61
|
+
*/
|
|
58
62
|
messageOverrides?: typeof this.messages._overrides;
|
|
59
63
|
/** @default "bottom-left" */
|
|
60
64
|
position: __esri.UIPosition;
|
|
@@ -14,7 +14,7 @@ import { g as h } from "../../chunks/globalCss.js";
|
|
|
14
14
|
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
17
|
-
v4.34.0-next.
|
|
17
|
+
v4.34.0-next.21 */
|
|
18
18
|
const u = [-45, 0, 45, -90, 90, -135, 180, 135], S = {
|
|
19
19
|
0: { label: "north", iconName: "chevron-up" },
|
|
20
20
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
@@ -9,7 +9,7 @@ import { e as u } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.21 */
|
|
13
13
|
const c = y`@layer{arcgis-directions{display:block}}`, g = m(d), i = "map-components:arcgis-directions";
|
|
14
14
|
class p extends n {
|
|
15
15
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const c = r`@layer{arcgis-distance-measurement-2d{display:block}}`, h = n(e);
|
|
11
11
|
class d extends i {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const g = r`@layer{arcgis-editor{display:block}}`, d = n(s);
|
|
11
11
|
class h extends o {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const r = l`@layer{arcgis-elevation-profile{display:block}}`, a = n(e);
|
|
11
11
|
class d extends s {
|
|
12
12
|
constructor() {
|
|
@@ -27,7 +27,7 @@ declare const useExpandWidget: (component: LitElement & Pick<Expand, "icon" | "l
|
|
|
27
27
|
destroy: () => Promise<void>;
|
|
28
28
|
}) => Expand;
|
|
29
29
|
/**
|
|
30
|
-
* The Expand component acts as a clickable button for
|
|
30
|
+
* The Expand component acts as a clickable button for displaying interactive content, most commonly other components.
|
|
31
31
|
*
|
|
32
32
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-expand/)
|
|
33
33
|
*/
|
|
@@ -97,6 +97,7 @@ export declare class ArcgisExpand extends LitElement {
|
|
|
97
97
|
/**
|
|
98
98
|
* Disables focus trapping within the expand component.
|
|
99
99
|
*
|
|
100
|
+
* @since 4.33
|
|
100
101
|
* @default false
|
|
101
102
|
*/
|
|
102
103
|
focusTrapDisabled: boolean;
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
9
9
|
const d = n`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`, c = a(e);
|
|
10
10
|
class l extends s {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const r = l`@layer{arcgis-feature{display:block}}`, c = h(n);
|
|
11
11
|
class m extends a {
|
|
12
12
|
constructor() {
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
6
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-content/) */
|
|
7
|
+
export declare class ArcgisFeatureContent extends LitElement {
|
|
8
|
+
creator?: __esri.PopupTemplateContentCreator;
|
|
9
|
+
destroyer?: __esri.PopupTemplateContentCreator;
|
|
10
|
+
graphic?: __esri.Graphic;
|
|
11
|
+
/**
|
|
12
|
+
* If true, the component will not be destroyed automatically when it is
|
|
13
|
+
* disconnected from the document. This is useful when you want to move the
|
|
14
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
15
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-content/#destroy) method when you are done to
|
|
16
|
+
* prevent memory leaks.
|
|
17
|
+
*
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
autoDestroyDisabled: boolean;
|
|
21
|
+
/** Permanently destroy the component. */
|
|
22
|
+
destroy(): Promise<void>;
|
|
23
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
24
|
+
readonly arcgisReady: TargetedEvent<this, void>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
|
+
import { ref as f } from "lit-html/directives/ref.js";
|
|
4
|
+
import { LitElement as d, createEvent as h, noShadowRoot as u, safeClassMap as n } from "@arcgis/lumina";
|
|
5
|
+
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
6
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.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.21 */
|
|
10
|
+
const v = m`@layer{arcgis-feature-content{.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)}}}`, _ = /^(?:mailto:|tel:)/u;
|
|
11
|
+
function y(a = "") {
|
|
12
|
+
if (a)
|
|
13
|
+
return !_.test(a.trim().toLowerCase());
|
|
14
|
+
}
|
|
15
|
+
async function c({
|
|
16
|
+
type: a,
|
|
17
|
+
value: t,
|
|
18
|
+
event: e
|
|
19
|
+
}) {
|
|
20
|
+
try {
|
|
21
|
+
return typeof t == "function" ? t(e) : await t;
|
|
22
|
+
} catch (r) {
|
|
23
|
+
console.error(`[arcgis-feature] An error occurred when calling the "${a}" function`, {
|
|
24
|
+
error: r,
|
|
25
|
+
graphic: e.graphic,
|
|
26
|
+
value: t
|
|
27
|
+
});
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
const o = "arcgis-feature-content", s = {
|
|
32
|
+
base: o,
|
|
33
|
+
loaderContainer: `${o}__loader-container`
|
|
34
|
+
};
|
|
35
|
+
class w extends d {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments), this.autoDestroyDisabled = !1, this.arcgisReady = h();
|
|
38
|
+
}
|
|
39
|
+
static {
|
|
40
|
+
this.properties = { _loadingPromise: 16, _created: 16, creator: 0, destroyer: 0, graphic: 0, autoDestroyDisabled: 5 };
|
|
41
|
+
}
|
|
42
|
+
static {
|
|
43
|
+
this.styles = v;
|
|
44
|
+
}
|
|
45
|
+
static {
|
|
46
|
+
this.shadowRootOptions = u;
|
|
47
|
+
}
|
|
48
|
+
async destroy() {
|
|
49
|
+
await this.manager.destroy();
|
|
50
|
+
}
|
|
51
|
+
loaded() {
|
|
52
|
+
this.manager.onLifecycle(() => p(() => this.creator, (t) => {
|
|
53
|
+
this._destroyContent(), this._createContent(t);
|
|
54
|
+
}, { initial: !0 }));
|
|
55
|
+
}
|
|
56
|
+
async _createContent(t) {
|
|
57
|
+
const { graphic: e } = this;
|
|
58
|
+
if (!e || !t)
|
|
59
|
+
return;
|
|
60
|
+
const r = c({
|
|
61
|
+
type: "content",
|
|
62
|
+
value: t,
|
|
63
|
+
event: { graphic: e }
|
|
64
|
+
});
|
|
65
|
+
this._loadingPromise = r;
|
|
66
|
+
const l = await r;
|
|
67
|
+
r === this._loadingPromise && (this._loadingPromise = void 0, this._created = l);
|
|
68
|
+
}
|
|
69
|
+
_destroyContent() {
|
|
70
|
+
const { _created: t, graphic: e, destroyer: r } = this;
|
|
71
|
+
t && e && (c({ type: "content", value: r, event: { graphic: e } }), this._created = null);
|
|
72
|
+
}
|
|
73
|
+
_addTargetToAnchors(t) {
|
|
74
|
+
Array.from(t.querySelectorAll("a")).forEach((e) => {
|
|
75
|
+
y(e.href) && !e.hasAttribute("target") && e.setAttribute("target", "_blank");
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
render() {
|
|
79
|
+
return i`<div class=${n(s.base)}>${this._loadingPromise ? this._renderLoading() : this._renderCreated()}</div>`;
|
|
80
|
+
}
|
|
81
|
+
_renderLoading() {
|
|
82
|
+
return i`<div class=${n(s.loaderContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
83
|
+
}
|
|
84
|
+
_renderCreated() {
|
|
85
|
+
const { _created: t } = this;
|
|
86
|
+
return t instanceof HTMLElement ? t : typeof t == "string" ? i`<div .innerHTML=${t ?? ""} ${f(this._addTargetToAnchors)}></div>` : null;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
g("arcgis-feature-content", w);
|
|
90
|
+
export {
|
|
91
|
+
w as ArcgisFeatureContent
|
|
92
|
+
};
|
|
@@ -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.21 */
|
|
11
11
|
const l = m`@layer{arcgis-feature-form{display:block}}`, g = h(s);
|
|
12
12
|
class n extends r {
|
|
13
13
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.21 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
|
|
14
14
|
class b extends d {
|
|
15
15
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } 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.21 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.21 */
|
|
12
12
|
const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
|
|
13
13
|
class w extends r {
|
|
14
14
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
9
9
|
const h = r`@layer{arcgis-floor-filter{display:block}}`, n = a(i);
|
|
10
10
|
class c extends s {
|
|
11
11
|
constructor() {
|
|
@@ -10,6 +10,12 @@ import { default as LinkChartView } from '@arcgis/core/views/LinkChartView.js';
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The Fullscreen component allows users to toggle the map or scene to fullscreen mode.
|
|
13
|
+
* Use the escape key (`esc`) to exit fullscreen mode.
|
|
14
|
+
*
|
|
15
|
+
* **Known limitations**
|
|
16
|
+
*
|
|
17
|
+
* * The Fullscreen widget only works with browsers that implement the [Fullscreen](https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API) API.
|
|
18
|
+
* Thus, iOS Safari is not supported.
|
|
13
19
|
*
|
|
14
20
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-fullscreen/)
|
|
15
21
|
*/
|
|
@@ -18,7 +24,11 @@ export declare class ArcgisFullscreen extends LitElement {
|
|
|
18
24
|
element?: HTMLElement;
|
|
19
25
|
/** The component's default label. */
|
|
20
26
|
label?: string;
|
|
21
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Replace localized message strings with your own strings.
|
|
29
|
+
*
|
|
30
|
+
* _**Note**: Individual message keys may change between releases._
|
|
31
|
+
*/
|
|
22
32
|
messageOverrides?: typeof this.messages._overrides;
|
|
23
33
|
/** @default "top-left" */
|
|
24
34
|
position: __esri.UIPosition;
|
|
@@ -9,7 +9,7 @@ import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
|
9
9
|
import { u as h } from "../../chunks/useView.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.21 */
|
|
13
13
|
const g = p`arcgis-fullscreen{display:block}`, E = {
|
|
14
14
|
base: "esri-fullscreen"
|
|
15
15
|
};
|
|
@@ -211,7 +211,11 @@ export declare class ArcgisGridControls extends LitElement {
|
|
|
211
211
|
* @default false
|
|
212
212
|
*/
|
|
213
213
|
autoDestroyDisabled: boolean;
|
|
214
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Replace localized message strings with your own strings.
|
|
216
|
+
*
|
|
217
|
+
* _**Note**: Individual message keys may change between releases._
|
|
218
|
+
*/
|
|
215
219
|
messageOverrides?: typeof this._messages._overrides;
|
|
216
220
|
/** The component's default label. */
|
|
217
221
|
label?: string;
|
|
@@ -15,7 +15,7 @@ import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import L from "@arcgis/core/widgets/support/GridControls/GridControlsViewModel.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.21 */
|
|
19
19
|
function B(s) {
|
|
20
20
|
if (s == null || Number.isNaN(s))
|
|
21
21
|
return 0;
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const h = d`@layer{arcgis-histogram-range-slider{display:block}}`, l = n(s);
|
|
11
11
|
class g extends a {
|
|
12
12
|
constructor() {
|
|
@@ -42,7 +42,11 @@ export declare class ArcgisHome extends LitElement {
|
|
|
42
42
|
icon?: string;
|
|
43
43
|
/** The component's default label. */
|
|
44
44
|
label?: string;
|
|
45
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Replace localized message strings with your own strings.
|
|
47
|
+
*
|
|
48
|
+
* _**Note**: Individual message keys may change between releases._
|
|
49
|
+
*/
|
|
46
50
|
messageOverrides?: typeof this.messages._overrides;
|
|
47
51
|
/** @default "top-left" */
|
|
48
52
|
position: __esri.UIPosition;
|
|
@@ -56,30 +60,30 @@ export declare class ArcgisHome extends LitElement {
|
|
|
56
60
|
*/
|
|
57
61
|
readonly state: "ready" | "disabled" | "going-home";
|
|
58
62
|
/**
|
|
59
|
-
* The esri
|
|
60
|
-
*
|
|
63
|
+
* The [Viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html)
|
|
64
|
+
* to go to when going "home".
|
|
65
|
+
* The initial value is determined in a few different ways:
|
|
61
66
|
*
|
|
62
|
-
* If no
|
|
63
|
-
*
|
|
64
|
-
* value of the esri/Viewpoint is determined when the esri/views/View became ready.
|
|
65
|
-
* If the esri/views/View is ready and the esri/Viewpoint is defined by the user, the initial viewpoint value is the user-defined esri/Viewpoint.
|
|
67
|
+
* If no referenceElement is provided, the value is `null`.
|
|
68
|
+
* Once the referenceElement is ready, the initial viewpoint value is the user-defined [Viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html).
|
|
66
69
|
*
|
|
67
70
|
* @example
|
|
68
|
-
*
|
|
71
|
+
* ```js
|
|
72
|
+
* // Create viewpoint centered on extent of a polygon geometry
|
|
73
|
+
*
|
|
69
74
|
* let vp = new Viewpoint({
|
|
70
75
|
* targetGeometry: geom.extent
|
|
71
76
|
* });
|
|
72
77
|
*
|
|
73
|
-
* // Sets the
|
|
78
|
+
* // Sets the Home's viewpoint to that Viewpoint
|
|
74
79
|
* home.viewpoint = vp;
|
|
80
|
+
* ```
|
|
75
81
|
* @default null
|
|
76
82
|
*/
|
|
77
83
|
viewpoint: nullish | __esri.Viewpoint;
|
|
78
84
|
/**
|
|
79
85
|
* This function provides the ability to interrupt and cancel the process
|
|
80
86
|
* of navigating the view back to the view's initial extent.
|
|
81
|
-
*
|
|
82
|
-
* @since 4.9
|
|
83
87
|
*/
|
|
84
88
|
cancelGo(): Promise<void>;
|
|
85
89
|
/** Permanently destroy the component. */
|
|
@@ -93,9 +97,11 @@ export declare class ArcgisHome extends LitElement {
|
|
|
93
97
|
* Fires when the go() method is called.
|
|
94
98
|
*
|
|
95
99
|
* @example
|
|
96
|
-
*
|
|
100
|
+
* ```js
|
|
101
|
+
* home.addEventListener("arcgisGo", (event) => {
|
|
97
102
|
* console.log("updating viewpoint");
|
|
98
103
|
* });
|
|
104
|
+
* ```
|
|
99
105
|
*/
|
|
100
106
|
readonly arcgisGo: TargetedEvent<this, __esri.HomeViewModelGoEvent>;
|
|
101
107
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -11,7 +11,7 @@ import { g as a } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
14
|
+
v4.34.0-next.21 */
|
|
15
15
|
const b = u`@layer{arcgis-home{display:block}}`, y = {
|
|
16
16
|
base: "esri-home"
|
|
17
17
|
}, M = f(d);
|
|
@@ -6,7 +6,7 @@ import { LitElement as m, createEvent as b, safeClassMap as c } from "@arcgis/lu
|
|
|
6
6
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const g = f`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`, e = {
|
|
11
11
|
label: "label",
|
|
12
12
|
labelContent: "label-content",
|
|
@@ -8,7 +8,7 @@ import { s as n } from "../../chunks/layer-list.js";
|
|
|
8
8
|
import { c as g } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.21 */
|
|
12
12
|
const c = d(a);
|
|
13
13
|
class m extends r {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
|
|
|
10
10
|
import { u as x } from "../../chunks/useT9n.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.21 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import { default as LineOfSightAnalysis } from '@arcgis/core/analysis/LineOfSightAnalysis.js';
|
|
5
4
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
6
|
import { default as LineOfSightViewModel } from './LineOfSightViewModel';
|
|
@@ -31,7 +30,7 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
31
30
|
* The [line of sight analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)
|
|
32
31
|
* object being created by the component.
|
|
33
32
|
*/
|
|
34
|
-
|
|
33
|
+
analysis: __esri.LineOfSightAnalysis;
|
|
35
34
|
/**
|
|
36
35
|
* If true, the component will not be destroyed automatically when it is
|
|
37
36
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -52,7 +51,11 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
52
51
|
icon?: HTMLCalciteIconElement["icon"];
|
|
53
52
|
/** The component's default label. */
|
|
54
53
|
label?: string;
|
|
55
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Replace localized message strings with your own strings.
|
|
56
|
+
*
|
|
57
|
+
* _**Note**: Individual message keys may change between releases._
|
|
58
|
+
*/
|
|
56
59
|
messageOverrides?: typeof this._messages._overrides;
|
|
57
60
|
/** @default "bottom-left" */
|
|
58
61
|
position: __esri.UIPosition;
|
|
@@ -11,7 +11,7 @@ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
|
11
11
|
import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
14
|
+
v4.34.0-next.21 */
|
|
15
15
|
const C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
|
|
16
16
|
base: a,
|
|
17
17
|
actions: `${a}__actions`,
|
|
@@ -22,8 +22,8 @@ const C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__con
|
|
|
22
22
|
newAnalysisButton: `${a}__new-analysis-button`
|
|
23
23
|
};
|
|
24
24
|
var S = Object.defineProperty, D = Object.getOwnPropertyDescriptor, u = (t, e, i, o) => {
|
|
25
|
-
for (var s = o > 1 ? void 0 : o ? D(e, i) : e, d = t.length - 1,
|
|
26
|
-
(
|
|
25
|
+
for (var s = o > 1 ? void 0 : o ? D(e, i) : e, d = t.length - 1, h; d >= 0; d--)
|
|
26
|
+
(h = t[d]) && (s = (o ? h(e, i, s) : h(s)) || s);
|
|
27
27
|
return o && s && S(e, i, s), s;
|
|
28
28
|
};
|
|
29
29
|
let c = class extends M {
|
|
@@ -52,10 +52,10 @@ c = u([
|
|
|
52
52
|
const L = b(c);
|
|
53
53
|
class V extends y {
|
|
54
54
|
constructor() {
|
|
55
|
-
super(...arguments), this.viewModel = L(this), this._messages = $({ blocking: !0 }), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = m()("analysis", "state"), this.arcgisReady = v();
|
|
55
|
+
super(...arguments), this.viewModel = L(this), this._messages = $({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = m()("analysis", "state"), this.arcgisReady = v();
|
|
56
56
|
}
|
|
57
57
|
static {
|
|
58
|
-
this.properties = { analysis:
|
|
58
|
+
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 32, _supported: 16 };
|
|
59
59
|
}
|
|
60
60
|
static {
|
|
61
61
|
this.shadowRootOptions = _;
|
|
@@ -63,9 +63,6 @@ class V extends y {
|
|
|
63
63
|
static {
|
|
64
64
|
this.styles = C;
|
|
65
65
|
}
|
|
66
|
-
get analysis() {
|
|
67
|
-
return this.viewModel.analysis;
|
|
68
|
-
}
|
|
69
66
|
get state() {
|
|
70
67
|
return this.viewModel.state;
|
|
71
68
|
}
|
|
@@ -98,16 +95,16 @@ class V extends y {
|
|
|
98
95
|
if (!this._supported)
|
|
99
96
|
return l`<div class=${n(r.error)}><p>${this._messages.unsupported}</p></div>`;
|
|
100
97
|
const e = this.viewModel.state, i = e === "creating";
|
|
101
|
-
return l`<div class=${n(r.container)}>${i ? l`<div class=${n(r.hint)}><p class=${n(r.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${n(r.actions)}>${e === "creating" ?
|
|
98
|
+
return l`<div class=${n(r.container)}>${i ? l`<div class=${n(r.hint)}><p class=${n(r.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${n(r.actions)}>${e === "creating" ? p({ onClick: () => {
|
|
102
99
|
this.stop();
|
|
103
|
-
}, children: this._messages.done }) : null}${e === "created" ?
|
|
100
|
+
}, children: this._messages.done }) : null}${e === "created" ? p({ onClick: () => {
|
|
104
101
|
this.continue();
|
|
105
|
-
}, children: this._messages.continueAnalysis }) : null}${
|
|
102
|
+
}, children: this._messages.continueAnalysis }) : null}${p({ className: r.newAnalysisButton, onClick: () => {
|
|
106
103
|
this.start();
|
|
107
104
|
}, primary: !0, disabled: e === "disabled", children: this._messages.newAnalysis })}</div></div>`;
|
|
108
105
|
}
|
|
109
106
|
}
|
|
110
|
-
function
|
|
107
|
+
function p({ className: t, onClick: e, primary: i, disabled: o, children: s }) {
|
|
111
108
|
return l`<calcite-button .appearance=${i ? "solid" : "outline-fill"} class=${n(t)} .disabled=${o} @click=${e}>${s}</calcite-button>`;
|
|
112
109
|
}
|
|
113
110
|
f("arcgis-line-of-sight", V);
|